1 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
3 * ido.el (ido-init-completion-maps): Remove C-v binding.
4 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
6 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8 * minibuffer.el (tags-completion-at-point-function): New function.
9 (completion-at-point-functions): Use it.
11 * cedet/semantic.el (semantic-completion-at-point-function): New function.
12 (semantic-mode): Use semantic-completion-at-point-function for
13 completion-at-point-functions instead.
15 * progmodes/etags.el (complete-tag): Revert last change.
17 2010-04-29 Alan Mackenzie <acm@muc.de>
19 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
20 off-by-one error (in end of macro position).
22 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
25 firefox is absent. Don't autoload.
26 (browse-url-galeon-program): Don't autoload.
28 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
30 * bindings.el (complete-symbol): Move into minibuffer.el.
32 * minibuffer.el (complete-tag): Move from etags.el. If tags
33 completion cannot be performed, return nil instead of signalling
35 (completion-at-point): Make it an alias for complete-symbol.
36 (complete-symbol): Move from bindings.el, and replace with the
37 body of completion-at-point.
39 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
41 * cedet/semantic.el (semantic-mode): When enabled, add
42 semantic-ia-complete-symbol to completion-at-point-functions.
44 * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil
45 if Semantic is not active.
47 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
49 * net/tramp.el (tramp-remote-selinux-p): New defun.
50 (tramp-handle-file-selinux-context)
51 (tramp-handle-set-file-selinux-context): Use it.
53 2010-04-28 Sam Steingold <sds@gnu.org>
55 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
56 `safe-local-variable' if the value is a string or a symbol with
57 the property `bug-reference-url-format'.
59 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
61 * progmodes/bug-reference.el (bug-reference-url-format): Revert
62 2010-04-27 change due to security risk.
64 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
66 Make it possible to locally disable a globally enabled mode.
67 * simple.el (fundamental-mode): Run fundamental-mode-hook.
68 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
69 rather than kill-all-local-variables so it runs fundamental-mode-hook.
70 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
71 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
72 that subsequent hooks get a chance to disable it.
74 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
76 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
77 Avoid re-enabling a minor mode after the user turned the minor mode
78 off if MODE-enable-in-buffers is run twice (typically once from
79 fundamental-mode's after-change-major-mode-hook and a second time from
80 run-mode-hook's own after-change-major-mode-hook).
82 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
84 2010-04-27 Sam Steingold <sds@gnu.org>
86 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
87 `safe-local-variable' if the value is a string or a function, as
88 documented and implemented on 2010-04-02.
90 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
92 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
95 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
97 * ispell.el (ispell-init-process): Fix personal dictionary condition
98 in default directory check.
99 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
100 Kill ispell process when killing its associated buffer.
102 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
104 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
105 but we aren't using it.
107 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
109 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
110 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
112 2010-04-24 Glenn Morris <rgm@gnu.org>
114 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
115 Ignore VCS-ignore files, and deleted nextstep preferences files.
116 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
117 (authors-ambiguous-files): New list.
118 (authors-valid-file-names): Add some deleted files.
119 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
120 (authors-disambiguate-file-name): New function. (Bug#5501)
121 (authors-canonical-file-name): Doc fix.
122 Don't warn about obsolete files.
123 (authors-canonical-file-name, authors-scan-el):
124 Use authors-disambiguate-file-name.
126 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
127 Add autoload cookies.
128 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
129 (generated-autoload-file): Set file-local value to "htmlfontify.el".
130 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
131 They have definitions / compiler macros in cl.el.
132 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
133 Replace manual autoloads with generated ones.
134 (htmlfontify-unload-rgb-file): Remove autoload.
135 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
137 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
139 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
140 (byte-compile-setq-default): Optimize for the
141 single-var case and don't call byte-compile-form in this case to avoid
142 inf-loop with byte-compile-set-default.
144 * progmodes/compile.el (compilation-start): Abbreviate default directory.
146 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
148 Implement SELINUX backends.
150 * net/tramp.el (tramp-file-name-handler-alist):
151 Add `file-selinux-context' and `set-file-selinux-context'.
152 (tramp-handle-file-selinux-context)
153 (tramp-handle-set-file-selinux-context): New defuns.
154 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
155 Handle PRESERVE-SELINUX-CONTEXT.
157 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
158 Add `file-selinux-context' and `set-file-selinux-context'.
159 (tramp-gvfs-handle-file-selinux-context)
160 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
161 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
163 * net/ange-ftp.el (ange-ftp-copy-file):
164 * net/tramp-fish.el (tramp-fish-handle-copy-file):
165 * net/tramp-imap.el (tramp-imap-handle-copy-file):
166 * net/tramp-smb.el (tramp-smb-handle-copy-file):
167 Add PRESERVE-SELINUX-CONTEXT.
169 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
171 Synchronize with Tramp repository.
173 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
174 (tramp-action-process-alive, tramp-action-out-of-band)
175 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
176 (tramp-exists-file-name-handler): Fix docstring.
177 (with-progress-reporter): New defmacro.
178 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
179 (tramp-maybe-open-connection): Use it.
181 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
183 Detect ssh 'ControlMaster' argument automatically in some cases.
185 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
186 (tramp-default-method): Use it.
188 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
190 * net/tramp.el (tramp-handle-copy-file): Add new optional
191 parameter `preserve-selinux-context'.
192 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
194 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
196 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
197 Ensure, that non remote files are still checked. Oops.
199 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
203 * icomplete.el (icomplete-completions): Use `non-essential'.
205 * net/tramp.el (tramp-connectable-p): New defun.
206 (tramp-handle-expand-file-name)
207 (tramp-completion-handle-file-name-all-completions)
208 (tramp-completion-handle-file-name-completion): Use it.
210 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
212 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
214 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
216 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
218 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
220 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
223 * info.el (info-tool-bar-map): Add labels.
225 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
227 * cus-edit.el (custom-commands): Add labels for tool bar.
228 (custom-buffer-create-internal, Custom-mode): Adjust for
229 labels in custom-commands.
231 * dynamic-setting.el: Renamed from font-setting.el.
233 2010-04-21 John Wiegley <jwiegley@gmail.com>
235 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
236 toggles the use of virtual buffers.
237 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global
239 (ido-toggle-virtual-buffers): New function.
241 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
243 Use `define-derived-mode'; fix window selection; doc fixes.
244 * play/tetris.el (tetris, tetris-update-speed-function)
245 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
246 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
247 (tetris-rotate-next, tetris-end-game, tetris-start-game)
248 (tetris-pause-game): Fix typos in docstrings.
249 (tetris-mode-map, tetris-null-map):
250 Move initialization into declaration.
251 (tetris-mode): Define with `define-derived-mode';
252 set show-trailing-whitespace to nil.
253 (tetris): Prefer window already displaying the "*Tetris*" buffer.
255 2010-04-21 Karel Klíč <kklic@redhat.com>
257 * files.el (backup-buffer): Handle SELinux context, and return it
258 if a backup was made by renaming.
259 (backup-buffer-copy): Set SELinux context to the target file.
260 (basic-save-buffer): Set SELinux context of the newly written file.
261 (basic-save-buffer-1): Now it also returns any SELinux context.
262 (basic-save-buffer-2): Set SELinux context of the newly created file,
264 * net/tramp.el (tramp-file-name-for-operation):
265 Add file-selinux-context.
267 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
269 * vc.el (vc-checkin, vc-modify-change-comment):
270 Adjust to new vc-start/finish-logentry.
271 (vc-find-conflicted-file): New command.
272 (vc-transfer-file): Adjust to new vc-checkin.
273 (vc-next-action): Improve scoping.
275 * vc-hg.el (vc-hg-log-edit-mode): Remove.
276 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
278 * vc-git.el (vc-git-log-edit-mode): Remove.
279 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
280 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
282 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
283 (vc-start-logentry): Remove argument `extra'.
284 (vc-finish-logentry): Remove extra args.
286 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
287 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
288 (vc-bzr-conflicted-files): New function.
290 * log-edit.el (log-edit-extra-flags)
291 (log-edit-before-checkin-process): Remove.
292 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
293 (log-edit-headers-alist): New var.
294 (log-edit-header-contents-regexp): New const.
295 (log-edit-match-to-eoh): New function.
296 (log-edit-font-lock-keywords): Use them.
297 (log-edit): Insert a "Summary:" header as default.
298 (log-edit-mode): Mark font-lock rules as case-insensitive.
299 (log-edit-done): Cleanup headers.
300 (log-view-process-buffer): Remove.
301 (log-edit-extract-headers): New function to replace it.
303 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
305 * subr.el (default-direction-reversed): Remove obsolescence info.
307 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
309 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
312 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
313 I.e. include text after point in the completion region.
314 Also, return nil when we're not after/in a symbol.
316 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
317 default enable-multibyte-characters.
319 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
321 * international/mule.el: Help the user choose a valid coding-system.
322 (read-buffer-file-coding-system): New function.
323 (set-buffer-file-coding-system): Use it. Prompt the user if the
324 coding-system cannot encode all the chars.
326 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
327 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
328 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
329 Don't use *vc-bzr-shelve*.
331 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
333 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables):
334 Don't destroy list before using it.
336 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
338 Fix the version number for added files.
339 * vc-hg.el (vc-hg-working-revision): Check if the file is
340 registered after hg parent fails (Bug#5961).
342 2010-04-19 Glenn Morris <rgm@gnu.org>
344 * htmlfontify.el (htmlfontify-buffer)
345 (htmlfontify-copy-and-link-dir): Autoload entry points.
347 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
349 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
350 name relative to the project root (Bug#5960).
352 2010-04-19 Glenn Morris <rgm@gnu.org>
354 * vc-git.el (vc-git-print-log): Doc fix.
356 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
358 * ido.el (ido-file-internal): Fix 2009-12-02 change.
360 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
362 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
363 default settings (Bug#5928).
365 2010-04-19 Glenn Morris <rgm@gnu.org>
367 * progmodes/fortran.el (fortran-match-and-skip-declaration):
369 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
371 2010-04-19 Kenichi Handa <handa@m17n.org>
373 * language/indian.el (malayalam-composable-pattern): Fix previous
374 change (add U+0D4D "SIGN VIRAMA").
375 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
376 (tamil-composable-pattern): Fix typo in the regexp.
377 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
378 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
379 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
381 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
383 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
384 paragraph-separate (Bug#5821).
386 2010-04-19 Juri Linkov <juri@jurta.org>
388 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
390 * info.el (Info-find-node-2): Comment out code that skips
392 (Info-mouse-follow-link): New command.
393 (Info-link-keymap): New keymap.
394 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
395 Return a string with links instead of inserting breadcrumbs
397 (Info-fontify-node): Comment out code that inserts breadcrumbs.
398 Instead of putting the `invisible' text property over the Info
399 header, make an overlay over the Info header with the `invisible'
400 property and `after-string' set to the string returned by
403 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
405 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
406 Reported by monkey@sandpframing.com.
408 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
410 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
411 (tmm-get-keymap): Add key-binding shortcuts now that they're not
412 available in the "keyseq cache" any more.
414 * custom.el (defcustom): Add edebug spec.
416 2010-04-18 Juri Linkov <juri@jurta.org>
418 Test for special mode-class in view-buffer instead of view-file (bug#5513).
420 * view.el (view-file, view-buffer): Move test for special mode-class
421 from view-file to view-buffer.
423 * tar-mode.el (tar-extract): Turn if's into one cond
426 2010-04-18 Juri Linkov <juri@jurta.org>
428 Add 7z archive format support (bug#5475).
430 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
431 (archive-7z-extract): New defcustom.
432 (archive-find-type): Add magic string for 7z.
433 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
434 If `stderr-file' is non-nil, use `(t stderr-file)' for the
435 `buffer' arg of `call-process'.
436 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
437 call the function `archive-7z-extract' with the variable
438 `archive-7z-extract' let-bound to `archive-zip-extract'.
439 (archive-7z-summarize, archive-7z-extract): New functions.
441 * international/mule.el (auto-coding-alist):
442 * files.el (auto-mode-alist): Add 7z file extension.
444 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
446 * loadup.el: Setup hash-cons for pure data.
448 Fix duplicate entries in cedet's loaddefs.el files.
449 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
450 Should make most file-local generated-autoload-file unnecessary.
451 (print-readably): Silence warnings.
452 (autoload-find-destination): Take load-name as an arg to make sure
453 it's the same as the one that will be in the file.
454 (autoload-generate-file-autoloads): Adjust to above changes.
455 Try to make the dataflow a bit simpler.
457 * cvs-status.el (cvs-refontify): Remove unused.
459 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
461 * calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
463 * calc-bin.el (calc-radix): Have the "O" option turn on
464 twos-complement mode.
466 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
468 * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'.
469 Add `calc-option-prefix-help' to calc-help autoloads.
470 (calc-inverse): Add "Option" to message, as appropriate.
471 (calc-hyperbolic): Add "Option" to message, as appropriate.
472 (calc-option, calc-is-option): New functions.
474 * calc-help.el (calc-full-help): Add `calc-option-help'.
475 (calc-option-prefix-help): New function.
477 * calc-misc.el (calc-help): Add "Option" entry.
479 * calc.el (calc-local-var-list): Add `calc-option-flag'.
480 (calc-option-flag): New variable.
481 (calc-do): Set `calc-option-flag to nil.
482 (calc-set-mode-line): Add "Opt " as appropriate.
484 2010-04-16 Juri Linkov <juri@jurta.org>
486 Move scrolling commands from simple.el to window.el
487 because their primitives are implemented in window.c.
489 * simple.el (scroll-error-top-bottom)
490 (scroll-up-command, scroll-down-command, scroll-up-line)
491 (scroll-down-line, scroll-other-window-down)
492 (beginning-of-buffer-other-window, end-of-buffer-other-window):
493 * window.el (scroll-error-top-bottom)
494 (scroll-up-command, scroll-down-command, scroll-up-line)
495 (scroll-down-line, scroll-other-window-down)
496 (beginning-of-buffer-other-window, end-of-buffer-other-window):
497 Move from simple.el to window.el because their primitives are
498 implemented in window.c.
500 2010-04-16 Juri Linkov <juri@jurta.org>
502 * isearch.el (isearch-lookup-scroll-key): Check both
503 `isearch-scroll' and `scroll-command' properties.
504 (scroll-up, scroll-down): Remove `isearch-scroll' property.
506 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
508 * simple.el (scroll-up-command, scroll-down-command)
509 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
511 2010-04-15 Juri Linkov <juri@jurta.org>
513 * simple.el (scroll-up-command, scroll-down-command)
514 (scroll-up-line, scroll-down-line): Put `scroll-command'
515 property on the these symbols. Remove them from
516 `scroll-preserve-screen-position-commands'.
518 * mwheel.el (mwheel-scroll): Put `scroll-command' and
519 `isearch-scroll' properties on the `mwheel-scroll' symbol.
520 Remove it from `scroll-preserve-screen-position-commands'.
522 * isearch.el (isearch-allow-scroll): Doc fix.
524 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
526 * net/tramp.el (tramp-error-with-buffer): Don't show the
527 connection buffer when we are in completion mode.
528 (tramp-file-name-handler): Catch the error for some operations
529 when we are in completion mode. This gives the user the chance to
530 correct the file name in the minibuffer.
532 2010-04-15 Glenn Morris <rgm@gnu.org>
534 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
536 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
538 Simplify by using `define-derived-mode'.
539 * info.el (Info-mode):
540 * calendar/todo-mode.el (todo-mode):
541 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
542 (gomoku-mode-map): Move initialization into declaration.
544 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
547 * ido.el (ido-file-name-all-completions-1):
548 * minibuffer.el (minibuffer-completion-help):
549 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
551 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
553 * simple.el (non-essential): New var.
555 Add a new field `location' to bookmarks for non-file bookmarks.
556 * bookmark.el (bookmark-location): Use the new field, if present.
557 (bookmark-insert-location): Undo last change, not needed any more.
558 * man.el (Man-bookmark-make-record):
559 * woman.el (woman-bookmark-make-record): Add `location' field.
561 2010-04-14 Juri Linkov <juri@jurta.org>
563 * simple.el (scroll-error-top-bottom): New defcustom.
564 (scroll-up-command, scroll-down-command): Use it. Doc fix.
566 * emulation/pc-select.el (pc-select-override-scroll-error):
567 Obsolete in favor of `scroll-error-top-bottom'.
569 2010-04-14 Juri Linkov <juri@jurta.org>
571 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
572 `scroll-up-command' and `M-v' to `scroll-down-command'.
574 * emulation/cua-rect.el (cua--init-rectangles):
575 * forms.el (forms--change-commands):
576 * image-mode.el (image-mode-map):
577 Remap scroll-down-command and scroll-up-command
578 in addition to scroll-down and scroll-up.
580 2010-04-14 Juri Linkov <juri@jurta.org>
582 * mwheel.el (scroll-preserve-screen-position-commands):
583 Add mwheel-scroll to this list of commands.
585 * simple.el (scroll-preserve-screen-position-commands):
586 Add scroll-up-command, scroll-down-command, scroll-up-line,
587 scroll-down-line to this list of commands.
589 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
591 * obsolete/complete.el: Move from lisp/complete.el.
593 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
595 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
596 to the minor mode function now turns the mode ON unconditionally.
598 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
600 * vc-dir.el (vc-dir-kill-line): New command.
601 (vc-dir-mode-map): Bind it to C-k.
603 * bookmark.el (bookmark-insert-location): Handle a nil filename.
605 * woman.el: Add bookmark declarations to silence the compiler.
606 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
607 step to compatibility between man and woman bookmarks.
608 Adjust for Man-default-bookmark-title renaming.
609 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
611 * man.el: Add bookmark declarations to silence the compiler.
612 (Man-name-local-regexp): Make it match NAME as well.
613 (Man-getpage-in-background): Return the buffer.
614 (Man-notify-when-ready): Use `case'.
615 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
616 Don't hardcode "NAME". Simplify.
617 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
618 Rename from Man-bookmark-make-record.
619 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
620 we have the actual man-args. Use Man-getpage-in-background rather
621 than `man' since the arg is already processed. Let bookmark.el do the
622 window handling. Only wait for the relevant process.
623 Don't forget to autoload.
625 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
627 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
629 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
631 (woman-mode): Setup bookmark support.
633 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
634 (man-bookmark-jump): New functions.
635 (Man-mode): Setup bookmark support.
637 2010-04-10 Jari Aalto <jari.aalto@cante.net>
639 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
640 recognize ssh-keygen prompt (Bug#2817).
642 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
644 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
646 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
648 Synchronize with Tramp repository.
650 * net/tramp.el (tramp-completion-function-alist)
651 (tramp-file-name-regexp, tramp-chunksize)
652 (tramp-local-coding-commands, tramp-remote-coding-commands):
654 (tramp-remote-process-environment): Use `format' instead of `concat'.
655 (tramp-handle-directory-files-and-attributes)
656 (tramp-get-remote-path): Use `copy-tree'.
657 (tramp-handle-file-name-all-completions): Backward/ XEmacs
658 compatibility: Use `completion-ignore-case' if
659 `read-file-name-completion-ignore-case' does not exist.
660 (tramp-do-copy-or-rename-file-directly): Do not use
661 `tramp-handle-file-remote-p'.
662 (tramp-do-copy-or-rename-file-out-of-band):
663 Use `tramp-compat-delete-directory'.
664 (tramp-do-copy-or-rename-file-out-of-band)
665 (tramp-compute-multi-hops, tramp-maybe-open-connection):
666 Use `format-spec-make'.
667 (tramp-find-foreign-file-name-handler)
668 (tramp-advice-make-auto-save-file-name)
669 (tramp-set-auto-save-file-modes): Remove superfluous check for
670 `stringp'. This is done inside `tramp-tramp-file-p'.
671 (tramp-debug-outline-regexp): New defconst.
672 (tramp-get-debug-buffer): Use it.
673 (tramp-check-for-regexp): Use (forward-line 1).
674 (tramp-set-auto-save-file-modes): Adapt version check.
676 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
677 Wrap call of `featurep' for 2nd argument.
678 (tramp-compat-make-temp-file): Simplify fallback implementation.
679 (tramp-compat-copy-tree): Remove function.
680 (tramp-compat-delete-directory): Provide implementation for older
683 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
684 Do not use `tramp-fish-handle-file-attributes.
686 * net/trampver.el: Update release number.
688 2010-04-10 Glenn Morris <rgm@gnu.org>
690 * progmodes/compile.el (compilation-save-buffers-predicate):
691 Add missing :version tag.
693 2010-04-09 Sam Steingold <sds@gnu.org>
695 * progmodes/compile.el (compilation-save-buffers-predicate):
696 Remove the "autoload" cookie.
698 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
699 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
700 and `bug-reference-prog-mode' can be used in hooks directly.
702 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
704 Add --author support to git commit.
705 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
706 (vc-git-log-edit-mode): New minor mode.
707 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
710 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
712 * vc-hooks.el, vc-git.el: Improve documentation comments.
714 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
716 Fix some of the problems in defsubst* (bug#5728).
717 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
718 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
720 2010-04-07 Sam Steingold <sds@gnu.org>
722 * progmodes/compile.el (compilation-save-buffers-predicate):
724 (compile, recompile): Pass it to `save-some-buffers'.
726 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
728 * wid-edit.el (widget-choose): Move cursor to the second line of
729 the buffer (Bug#5695).
731 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
733 Add new VC methods: vc-log-incoming and vc-log-outgoing.
734 * vc.el (vc-print-log-setup-buttons): New function split out from
735 vc-print-log-internal.
736 (vc-log-internal-common): New function, a parametrized version of
737 vc-print-log-internal.
738 (vc-print-log-internal): Just call vc-log-internal-common with the
740 (vc-incoming-outgoing-internal):
741 (vc-log-incoming, vc-log-outgoing): New functions.
742 (vc-log-view-type): New permanent local variable.
744 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
746 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
747 of the dynamic bound vc-short-log.
748 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
750 * vc-git.el (vc-git-log-outgoing): New function.
751 (vc-git-log-view-mode): Use vc-log-view-type instead
752 of the dynamic bound vc-short-log.
754 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
755 of the dynamic bound vc-short-log. Highlight the tag.
756 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
757 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
758 (vc-hg-incoming-mode): Remove.
759 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
761 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
763 Fix default-directory for vc-root-diff.
764 * vc.el (vc-root-diff): Bind default-directory to the root
765 directory for the diff command.
767 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
769 * progmodes/verilog-mode.el (verilog-forward-sexp):
770 (verilog-calc-1): Support "disable fork" and "fork wait" multi
771 word keywords, suggested by Steve Pearlmutter.
772 (verilog-pretty-declarations): Support lineup of declarations in
774 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
775 fix bug for /* / comments
776 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
777 Speed up and simplfy as this is never called with a bound.
778 (verilog-pretty-declarations): Enhance to line up declarations
779 inside a parameter list, suggested by Alan Morgan.
780 (verilog-pretty-expr): Tune assignment regular expression match
781 string for corner cases; also use markers instead of character
782 number as indent changes the later.
784 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
786 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
788 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
789 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
790 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
791 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
794 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
795 1800-2009 keywords, including "global.".
797 2010-04-06 John Wiegley <jwiegley@gmail.com>
799 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
800 appearing in buffer list (if a live buffer name matched a recentf
801 file basename). Should use uniquify to offer a real solution.
803 2010-04-06 John Wiegley <jwiegley@gmail.com>
805 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
806 comment to code, and add a :version tag.
807 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
809 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
811 Enable recentf-mode if using virtual buffers.
812 * ido.el (recentf-list): Declare for byte-compiler.
813 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
814 (ido-make-buffer-list): Simplify.
815 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
817 2010-04-05 Juri Linkov <juri@jurta.org>
819 Scrolling commands which scroll a line instead of full screen.
820 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
822 * simple.el (scroll-up-line, scroll-down-line): New commands.
823 Put property isearch-scroll=t on them.
825 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
828 2010-04-05 Juri Linkov <juri@jurta.org>
830 Scrolling commands which do not signal errors at top/bottom.
831 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
833 * simple.el (scroll-up-command, scroll-down-command): New commands.
834 Put property isearch-scroll=t on them.
836 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
837 `scroll-down-command' and [next] from `scroll-up' to
840 * emulation/cua-base.el: Put property CUA=move on
841 `scroll-up-command' and `scroll-down-command'.
842 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
843 and `scroll-down-command' to `cua-scroll-down'.
845 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
847 * help.el (describe-mode): Return nil.
849 2010-04-04 John Wiegley <jwiegley@gmail.com>
851 * ido.el (ido-use-virtual-buffers): New variable to indicate
852 whether "virtual buffer" support is enabled for IDO.
853 (ido-virtual): Face used to indicate virtual buffers in the list.
854 (ido-buffer-internal): If a buffer is chosen, and no such buffer
855 exists, but a virtual buffer of that name does (which would be why
856 it was in the list), recreate the buffer by reopening the file.
857 (ido-make-buffer-list): If virtual buffers are being used, call
858 `ido-add-virtual-buffers-to-list' before the make list hook.
859 (ido-virtual-buffers): New variable which contains a copy of the
860 current contents of the `recentf-list', albeit pared down for the
861 sake of speed, and with proper faces applied.
862 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
863 create a list of "virtual buffers" to present to the user in
864 addition to the currently open set. Note that this logic could
865 get rather slow if that list is too large. With the default
866 `recentf-max-saved-items' of 200, there is little speed penalty.
868 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
870 * font-lock.el: Require CL when compiling.
871 (font-lock-turn-on-thing-lock): Use `case'.
873 2010-04-03 Eli Zaretskii <eliz@gnu.org>
875 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
878 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
880 * cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members)
881 (semantic-create-imenu-directory-index): Fix typos in docstrings.
882 (semantic-imenu-goto-function): Reflow docstring.
884 2010-04-02 Juri Linkov <juri@jurta.org>
886 * ehelp.el (electric-help-orig-major-mode):
887 New buffer-local variable.
888 (electric-help-mode): Set it to original major-mode. Doc fix.
889 (with-electric-help): Use `electric-help-orig-major-mode' instead
890 of (default-value 'major-mode). Doc fix.
891 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
893 2010-04-02 Sam Steingold <sds@gnu.org>
895 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
896 `vc-hg-command' with a list of flags.
898 * progmodes/bug-reference.el (bug-reference-bug-regexp):
899 Also accept "patch" and "RFE".
900 (bug-reference-fontify): `bug-reference-url-format' can also be a
901 function to be able to handle the bug kind.
902 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
904 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
906 * tmm.el (tmm-get-keymap): Check with symbolp before passing
907 value to fboundp, it may not be a symbol.
909 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
911 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
913 2010-03-31 Juri Linkov <juri@jurta.org>
915 * simple.el (next-line, previous-line): Re-throw a signal
916 with `signal' instead of using `ding'.
917 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
919 2010-03-31 Juri Linkov <juri@jurta.org>
921 * simple.el (keyboard-escape-quit): Raise deselecting the active
922 region higher than exiting the minibuffer.
923 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
925 2010-03-31 Juri Linkov <juri@jurta.org>
927 * image.el (image-animated-p): Use `image-metadata' instead of
928 `image-extension-data'. Get GIF extenstion data from metadata
929 property `extension-data'.
931 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
933 * simple.el (append-to-buffer): Simplify.
935 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
937 * textmodes/artist.el (artist-mode): Fix typo in docstring.
938 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
940 2010-03-31 Kenichi Handa <handa@m17n.org>
942 * language/sinhala.el (composition-function-table): Fix regexp for
943 the new Unicode specification.
945 * language/indian.el (devanagari-composable-pattern)
946 (tamil-composable-pattern, kannada-composable-pattern)
947 (malayalam-composable-pattern): Adjust for the new Unicode
949 (bengali-composable-pattern, gurmukhi-composable-pattern)
950 (gujarati-composable-pattern, oriya-composable-pattern)
951 (telugu-composable-pattern): New variables to cope with the new
952 Unicode specification. Use them in composition-function-table.
954 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
956 Make tmm-menubar work for the Buffers menu again (bug#5726).
957 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
958 vectors rather than cons cells, as used in menu-bar-update-buffers.
960 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
962 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
963 (js-insert-and-indent): Revert 2009-08-15 change, restoring
964 electric punctuation for "{}();,:" (Bug#5586).
966 * mail/sendmail.el (mail-default-directory): Doc fix.
968 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
970 * mail/sendmail.el (mail-default-directory): Doc fix.
972 2010-03-31 Eli Zaretskii <eliz@gnu.org>
974 * subr.el (version-regexp-alist, version-to-list)
975 (version-list-<, version-list-=, version-list-<=)
976 (version-list-not-zero, version<, version<=, version=): Doc fix.
979 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
981 * vc.el (vc-root-diff): Doc fix.
983 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
985 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
987 * simple.el (append-to-buffer): Fix last change.
989 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
991 * simple.el (append-to-buffer): Ensure that point is preserved if
992 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
995 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
997 * files.el (auto-mode-case-fold): Change default to t.
999 2010-03-30 Juri Linkov <juri@jurta.org>
1001 * dired-x.el (dired-omit-mode): Doc fix.
1003 2010-03-30 Juri Linkov <juri@jurta.org>
1005 * replace.el (occur-accumulate-lines): Move occur-engine related
1006 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
1007 to be located after `occur-engine'.
1009 2010-03-30 Juri Linkov <juri@jurta.org>
1011 Make occur handle multi-line matches cleanly with context.
1012 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
1014 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
1015 (occur-engine): Add local variables `ret', `prev-after-lines',
1016 `prev-lines'. Use more arguments for `occur-context-lines'.
1017 Set first elem of its returned list to `data', and the second elem
1018 to `prev-after-lines'. Don't print the separator line.
1019 In the end, print remaining context after-lines.
1020 (occur-context-lines): Add new arguments `begpt', `endpt',
1021 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
1022 after-lines of the previous match with before-lines of the
1023 current match and not overlap them. Return a list with two
1024 values: the output line and the list of context after-lines.
1026 2010-03-30 Juri Linkov <juri@jurta.org>
1028 * replace.el (occur-accumulate-lines): Fix a bug where the first
1029 context line at the beginning of the buffer was missing.
1031 2010-03-30 Eli Zaretskii <eliz@gnu.org>
1033 * files.el: Make bidi-display-reordering safe variable for boolean
1036 2010-03-29 Phil Hagelberg <phil@evri.com>
1037 Chong Yidong <cyd@stupidchicken.com>
1039 * subr.el: Extend progress reporters to perform "spinning".
1040 (progress-reporter-update, progress-reporter-do-update):
1041 Handle non-numeric value arguments.
1042 (progress-reporter--pulse-characters): New var.
1044 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
1046 * progmodes/compile.el (compilation-start): Fix regexp detection
1047 of initial cd command (Bug#5771).
1049 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
1051 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
1053 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
1055 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
1056 * lisp/progmodes/gdb-mi.el: Restore.
1057 * lisp/progmodes/gdb-ui.el: Remove.
1058 * lisp/progmodes/gud.el: Re-accommodate for gdb-mi.el.
1060 2010-03-25 Glenn Morris <rgm@gnu.org>
1062 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
1063 all dired buffers, even tramp ones. (Bug#5755)
1065 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1067 Add "union tags" in mpc.el.
1068 * mpc.el: Remove backward compatibility code.
1069 (mpc-browser-tags): Change default.
1070 (mpc--find-memoize-union-tags): New var.
1071 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
1072 (mpc-cmd-find): Handle the case where the playlist does not exist.
1074 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
1075 (mpc-cmd-add): Use mpc-cmd-flush.
1076 (mpc-tagbrowser-tag-name): New fun.
1077 (mpc-tagbrowser-buf): Use it.
1078 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
1080 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
1084 Use replace-regexp-in-string.
1085 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
1086 (makefile-imake-mode-syntax-table): Move init into defvar.
1087 (makefile-mode): Use define-derived-mode.
1089 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
1090 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
1091 not be present any more.
1093 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1095 * faces.el (set-face-attribute): Fix typo in docstring.
1096 (face-valid-attribute-values): Reflow docstring.
1098 * cedet/srecode/table.el (srecode-template-table): Fix docstring typo.
1100 2010-03-24 Glenn Morris <rgm@gnu.org>
1102 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
1104 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
1106 * indent.el (indent-for-tab-command): Doc fix.
1108 2010-03-24 Alan Mackenzie <acm@muc.de>
1110 * progmodes/cc-engine.el (c-remove-stale-state-cache):
1111 Fix off-by-one error. Fixes bug #5747.
1113 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1115 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
1116 (image-dired-read-comment): Doc fix.
1118 * json.el (json-object-type, json-array-type, json-key-type)
1119 (json-false, json-null, json-read-number):
1120 * minibuffer.el (completion-in-region-functions):
1121 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
1122 (cal-tex-cursor-week):
1123 * emacs-lisp/trace.el (trace-function):
1124 * eshell/em-basic.el (eshell/printnl):
1125 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
1126 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
1127 * obsolete/levents.el (allocate-event, event-key, event-object)
1128 (event-point, event-process, event-timestamp, event-to-character)
1129 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
1130 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
1131 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
1132 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
1133 (reftex-highlight-selection): Fix typos in docstrings.
1135 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1137 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
1139 2010-03-24 Glenn Morris <rgm@gnu.org>
1141 * mail/rmail.el (rmail-highlight-face): Restore option deleted
1142 2008-02-13 without comment; mark it obsolete.
1143 (rmail-highlight-headers): Use rmail-highlight-face once more.
1145 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
1147 * woman.el (woman2-process-escapes): Only consume the newline if
1148 the filler character is on a line by itself (Bug#5729).
1150 2010-03-24 Kenichi Handa <handa@m17n.org>
1152 * language/indian.el (devanagari-composable-pattern): Add more
1155 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
1157 * net/trampver.el: Update release number.
1159 2010-03-24 Glenn Morris <rgm@gnu.org>
1161 * Makefile.in (ELCFILES): Add cedet/semantic/imenu.el.
1163 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
1165 * net/tramp.el (tramp-find-executable):
1166 Use `tramp-get-connection-buffer'. Make the regexp for checking
1167 output of "wc -l" more robust.
1168 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
1169 (tramp-open-connection-setup-interactive-shell): Remove workaround
1170 for OpenSolaris bug, it is not needed anymore.
1172 2010-03-24 Eric M. Ludlam <zappo@gnu.org>
1174 * cedet/semantic/imenu.el: New file, from the CEDET repository
1177 2010-03-24 Glenn Morris <rgm@gnu.org>
1179 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
1181 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
1183 * files.el (auto-mode-alist): Accept more verilog file patterns.
1185 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1187 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
1189 2010-03-24 Glenn Morris <rgm@gnu.org>
1191 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
1192 log-edit-before-checkin-process.
1194 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
1196 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
1198 * vc-dispatcher.el (vc-start-logentry): Doc fix.
1199 (log-view-process-buffer, log-edit-extra-flags): Declare.
1201 * log-edit.el (log-edit-before-checkin-process): Doc fix.
1203 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
1204 Consistently check ede-object is bound throughout.
1206 * cedet/ede/project-am.el (ede-shell-run-something): Declare.
1208 2010-03-23 Sam Steingold <sds@gnu.org>
1210 Fix bug#5620: recalculate all markers on compilation buffer
1211 modifications, not on file modifications.
1212 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
1213 the buffer modification time, for buffers not associated with files.
1214 (compilation-mode): Create it.
1215 (compilation-filter): Update it.
1216 (compilation-next-error-function): Use it instead of
1217 `visited-file-modtime' for timestamp.
1219 2010-03-23 Juri Linkov <juri@jurta.org>
1221 Implement Occur multi-line matches.
1222 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
1224 * replace.el (occur): Doc fix.
1225 (occur-engine): Set `begpt' to the beginning of the first line.
1226 Set `endpt' to the end of the last match line. At first, count
1227 line numbers between `origpt' and `begpt'. Split out code from
1228 `out-line' variable to new let-bindings `match-prefix' and
1229 `match-str'. In `out-line' add non-numeric prefix to all
1230 non-first lines of multi-line matches. Finally, count lines
1231 between `begpt' and `endpt' and add to `lines'.
1233 2010-03-23 Juri Linkov <juri@jurta.org>
1235 * replace.el (occur-accumulate-lines, occur-engine):
1236 Use `occur-engine-line' instead of duplicate code.
1237 (occur-engine-line): New function created from duplicate code
1238 in `occur-accumulate-lines' and `occur-engine'.
1240 * replace.el (occur-engine-line): Add optional arg `keep-props'.
1241 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
1243 2010-03-23 Juri Linkov <juri@jurta.org>
1245 * finder.el: Remove TODO tasks.
1247 * info.el (Info-finder-find-node): Add node "all"
1248 with all package info. Handle a list of multiple keywords
1250 (info-finder): In interactive use with a prefix argument,
1251 use `completing-read-multiple' to read a list of keywords
1254 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1256 Add a new completion style `substring'.
1257 * minibuffer.el (completion-basic--pattern): New function.
1258 (completion-basic-try-completion, completion-basic-all-completions):
1260 (completion-substring--all-completions)
1261 (completion-substring-try-completion)
1262 (completion-substring-all-completions): New functions.
1263 (completion-styles-alist): New style `substring'.
1265 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
1267 Get rid of .elc files after removal of the corresponding .el.
1268 * Makefile.in (compile-clean): New target.
1269 (compile-main): Use it.
1271 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
1273 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
1274 don't do make there. When compiling with separate object dir, there
1275 is no Makefile there.
1277 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
1279 Get rid of the ELCFILES abomination, again.
1280 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
1281 (all, compile): Don't call compile-last.
1282 (compile-main): Build the "elcfiles" list dynamically.
1283 (compile-targets): New (internal) target.
1285 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
1287 * Makefile.in (top_srcdir): Define.
1288 (abs_top_builddir): Define.
1289 (srcdir): Don't append `/..'.
1290 (EMACS): Use ${abs_top_builddir}.
1291 (all, compile, compile-always, compile-last): Don't set emacswd.
1292 (update-subdirs, update-authors): Use $(top_srcdir) instead of
1294 (lisp): Use $(srcdir) instead of @srcdir@.
1296 2010-03-21 Juri Linkov <juri@jurta.org>
1298 Fix message of multi-line occur regexps and multi-buffer header lines.
1299 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
1301 * replace.el (occur-1): Don't display regexp if it is longer
1302 than window-width. Use `query-replace-descr' to display regexp.
1303 (occur-engine): Don't display regexp in the buffer header for
1304 multi-buffer occur. Display a separate header line with total
1305 match count and regexp for multi-buffer occur.
1306 Use `query-replace-descr' to display regexp.
1308 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
1310 * net/secrets.el: Fix parenthesis.
1311 (secrets-enabled): Fix parenthesis.
1313 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1315 Use more relative file and directory names.
1316 * Makefile.in (EMACS): Arrange for it to work when we chdir.
1317 (setwins, setwins_almost, setwins_for_subdirs):
1318 Don't `cd'; output relative names.
1319 (all, compile, compile-always, compile-last): Set emacswd.
1320 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
1321 Just cd to the lisp source dir so we can use relative file names.
1323 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
1325 2010-03-20 Glenn Morris <rgm@gnu.org>
1327 * textmodes/rst.el: Use faces for font-lock customization, and make the
1328 old -face variables obsolete.
1329 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
1330 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
1331 (rst-block-face, rst-external-face, rst-definition-face)
1332 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
1333 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
1335 (rst-font-lock-keywords-function): Update for above changes.
1337 2010-03-20 Juri Linkov <juri@jurta.org>
1340 * obsolete/s-region.el: Move to obsolete.
1342 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
1344 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
1346 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
1348 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
1350 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
1352 Add special markup processing for commit logs.
1353 * log-edit.el (log-edit-extra-flags): New variable.
1354 (log-edit): Add new argument MODE. Use that mode when non-nil
1355 instead of the log-view-mode.
1356 (log-view-process-buffer): New function.
1358 * vc.el: Document that the checkin method takes optional
1359 arguments. Document new backend specific method: log-view-mode.
1360 (vc-default-log-edit-mode): New function.
1361 (vc-checkin): Use a backend specific log-view-mode.
1362 Pass extra arguments to the checkin method.
1363 (vc-modify-change-comment): Pass a dummy extra argument.
1365 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
1367 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
1368 (vc-finish-logentry): Process the log buffer before passing it
1369 down. Pass log-edit-extra-flags.
1371 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
1373 (log-edit-extra-flags, log-edit-before-checkin-process):
1376 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
1378 (log-edit-extra-flags, log-edit-before-checkin-process):
1380 (vc-hg-log-edit-mode): New derived mode.
1382 * vc-arch.el (vc-arch-checkin):
1383 * vc-cvs.el (vc-cvs-checkin):
1384 * vc-git.el (vc-git-checkin):
1385 * vc-mtn.el (vc-mtn-checkin):
1386 * vc-rcs.el (vc-rcs-checkin):
1387 * vc-sccs.el (vc-sccs-checkin):
1388 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
1390 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1392 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
1395 2010-03-19 Glenn Morris <rgm@gnu.org>
1397 * password-cache.el (password-cache, password-cache-expiry): Autoload.
1399 2010-03-18 Glenn Morris <rgm@gnu.org>
1401 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
1403 * replace.el (query-replace-history): Give it a doc string.
1404 (map-query-replace-regexp): Use query-replace-from-history-variable
1405 and query-replace-to-history-variable.
1407 * mail/hashcash.el (declare-function): Remove duplicate definition.
1409 * mail/emacsbug.el (report-emacs-bug-pretest-address):
1410 Make it an obsolete alias for report-emacs-bug-address.
1411 (message-strip-special-text-properties): Declare.
1412 (report-emacs-bug): Remove test for a pretest bug address.
1413 Combine message-mode-specific code.
1415 * mail/supercite.el: Don't require sendmail.
1416 (mh-in-header-p): Declare rather than using with-no-warnings.
1417 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
1418 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
1420 * calendar/cal-french.el: Convert to utf-8.
1422 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
1425 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
1427 * net/secrets.el (secrets-enabled): New variable. Use it instead
1430 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
1432 * net/secrets.el (top): Register the D-Bus signals only when the
1433 service "org.freedesktop.secrets" can be pinged.
1434 Provide subfeature `enabled'.
1436 2010-03-14 Juri Linkov <juri@jurta.org>
1438 Add finder unknown keywords.
1440 * finder.el (finder-unknown-keywords): New function.
1442 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
1443 to create a Finder node with unknown keywords.
1445 2010-03-14 Juri Linkov <juri@jurta.org>
1447 * finder.el (finder-compile-keywords): Replace `princ' with
1448 `prin1' on a list of symbols interned from keyword strings.
1450 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
1451 a comma, then split keywords using a comma and optional whitespace.
1452 Otherwise, split by whitespace.
1460 * progmodes/mixal-mode.el: Fix keywords.
1462 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
1464 * Makefile.in (ELCFILES): Add net/secrets.elc.
1466 * net/secrets.el: New file.
1468 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
1470 * facemenu.el (list-colors-display, list-colors-print): New arg
1471 callback. Use it to allow selecting colors.
1473 * wid-edit.el (widget-image-insert): Insert image prop even if the
1474 current display is non-graphic.
1475 (widget-field-value-set): New fun.
1476 (editable-field): Use it.
1477 (widget-field-value-get): Clean up unused var.
1478 (widget-color-value-create, widget-color--choose-action):
1479 New funs. Allow using list-colors-display to choose color.
1481 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
1483 * cus-edit.el: Resort topmost custom groups.
1484 (custom-buffer-sort-alphabetically): Default to t.
1485 (customize-apropos): Use apropos-parse-pattern.
1486 (custom-search-field): New var.
1487 (custom-buffer-create-internal): Add custom-apropos search field.
1488 (custom-add-parent-links): Don't display parent doc.
1489 (custom-group-value-create): Don't sort top-level custom group.
1490 (custom-magic-value-create): Show visibility button before option name.
1492 (custom-variable-state): New fun, from custom-variable-state-set.
1493 (custom-variable-state-set): Use it.
1494 (custom-group-value-create): Hide options with standard values
1495 using the :hidden-states property. Use progress reporter.
1497 (custom-show): Simplify.
1498 (custom-visibility): Disable images by default.
1499 (custom-variable): New property :hidden-states.
1500 (custom-variable-value-create): Enable images for
1501 custom-visibility widgets. Use :hidden-states property to
1502 determine initial visibility.
1504 * wid-edit.el (widget-image-find): Give images center ascent.
1505 (visibility): Add :on-image and :off-image properties.
1506 (widget-visibility-value-create): Use them.
1508 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
1510 * cus-edit.el (processes): Remove from development group.
1511 (oop, hypermedia): Delete group.
1512 (comm): Promote to top-level group.
1514 * net/browse-url.el (browse-url):
1515 * net/xesam.el (xesam):
1516 * net/tramp.el (tramp):
1517 * net/goto-addr.el (goto-address):
1518 * net/ange-ftp.el (ange-ftp): Put in comm group.
1520 * view.el (view): Remove from editing group.
1522 * uniquify.el (uniquify): Put in files group.
1524 * net/browse-url.el (browse-url):
1525 * ps-print.el (postscript): Put in external group.
1527 * cus-edit.el (outlines):
1528 * textmodes/text-mode.el (text-mode-hook):
1529 * textmodes/table.el (table):
1530 * textmodes/picture.el (picture):
1531 * outline.el (outlines): Put in wp group.
1533 * nxml/nxml-mode.el (nxml): Remove from wp group.
1535 * net/tramp-imap.el (tramp-imap): Put in tramp group.
1537 * mail/metamail.el (metamail): Remove from hypermedia group.
1539 * cus-edit.el (abbrev):
1540 * whitespace.el (whitespace):
1541 * vcursor.el (vcursor):
1542 * reveal.el (reveal):
1543 * hl-line.el (hl-line): Put in convenience group.
1545 * epg-config.el (epg): Put in data group.
1547 * emulation/pc-select.el (pc-select): Put in emulations group.
1549 * calculator.el (calculator): Put in applications group.
1551 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
1553 Add .dir-locals.el support for file-less buffers.
1554 * files.el (hack-local-variables): Split out code to apply local
1555 variable settings ...
1556 (hack-local-variables-apply): ... here. New function.
1557 (hack-dir-local-variables): Use the default directory for when the
1558 buffer does not have an associated file.
1559 (hack-dir-local-variables-non-file-buffer): New function.
1560 * diff-mode.el (diff-mode):
1561 * vc-annotate.el (vc-annotate-mode):
1562 * vc-dir.el (vc-dir-mode):
1563 * log-edit.el (log-edit-mode):
1564 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
1566 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
1568 Add support for shelving snapshots and for showing shelves.
1569 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
1570 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
1572 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
1573 (vc-bzr-extra-menu-map): Map them.
1575 2010-03-11 Glenn Morris <rgm@gnu.org>
1577 * cus-edit.el (customize-changed-options-previous-release):
1580 * image.el (image-animate-max-time): Fix :version tag.
1582 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
1586 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1588 * vc-git.el (vc-git-revision-table): Include remote branches.
1590 2010-03-10 Kim F. Storm <storm@cua.dk>
1593 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
1595 * image.el (image-animate-max-time): New defcustom.
1596 (image-animated-types): New defconst.
1597 (create-animated-image, image-animate-timer)
1598 (image-animate-start, image-animate-stop, image-animate-timeout)
1599 (image-animated-p): New functions.
1601 * image-mode.el (image-toggle-display-image):
1602 Replace `create-image' with `create-animated-image'.
1604 2010-03-09 Miles Bader <miles@gnu.org>
1606 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
1607 instead of "format:"; this ensures that the output is
1610 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
1612 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
1613 that all errors are caught, and that the return value is always a
1616 2010-03-08 Kenichi Handa <handa@m17n.org>
1618 * language/misc-lang.el (windows-1256): New coding system.
1619 (cp1256): New alias of windows-1256 (bug#5690).
1621 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
1623 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
1624 call to rfc822-bad-address. (Bug#5692)
1626 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
1628 * vc-git.el (vc-git-annotate-extract-revision-at-line):
1629 Use vc-git-root as default directory for revision path (Bug#5657).
1631 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
1633 * calculator.el (calculator): Don't bind split-window-keep-point
1636 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * vc-git.el: Re-flow to fit into 80 columns.
1639 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
1640 Remove spurious `quote' element in each case alternative.
1641 (vc-git-show-log-entry): Use prog1.
1642 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
1644 2010-03-06 Glenn Morris <rgm@gnu.org>
1646 * cedet/semantic/grammar.el (semantic-grammar-header-template):
1647 Update template copyright to GPLv3+.
1649 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1651 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
1653 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
1655 * macros.el (insert-kbd-macro): Look up keyboard macro using the
1656 definition, not the name (Bug#5481).
1658 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
1660 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
1661 argument with a local variable. (Bug#5670)
1663 2010-03-02 Juri Linkov <juri@jurta.org>
1665 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
1667 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
1669 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
1670 error when FILENAME and NEWNAME are existing remote directories.
1672 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
1675 2010-03-02 Glenn Morris <rgm@gnu.org>
1677 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
1678 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
1680 2010-03-01 Kenichi Handa <handa@m17n.org>
1682 * language/burmese.el (burmese-composable-pattern): Rename from
1683 myanmar-composable-pattern.
1685 * international/characters.el (script-list):
1686 * international/fontset.el (script-representative-chars):
1687 Change myanmar to burmese.
1688 (otf-script-alist): Likewise.
1689 (setup-default-fontset): Likewise. Re-fix :otf spec.
1691 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
1693 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
1695 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
1697 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
1699 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
1701 * net/tramp.el (tramp-handle-write-region): START can be a string.
1702 Take care in the checks. Reported by Dan Davison
1703 <davison@stats.ox.ac.uk>.
1705 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
1707 * net/dbus.el (dbus-introspect, dbus-get-property)
1708 (dbus-set-property, dbus-get-all-properties):
1709 Use `dbus-call-method' when noninteractive. (Bug#5645)
1711 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
1713 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
1714 * emacs-lisp/elint.el (elint-add-required-env):
1715 * cedet/semantic/db-find.el
1716 (semanticdb-find-translate-path-brutish-default):
1717 * cedet/ede/make.el (ede-make-check-version):
1718 * calendar/icalendar.el (icalendar--add-diary-entry):
1719 * calc/calcalg2.el (math-tracing-integral):
1720 * files.el (recover-session-finish): Use with-current-buffer
1721 instead of save-excursion.
1723 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1725 Fix in-buffer completion when after-change-functions modify the buffer.
1726 * minibuffer.el (completion--replace): New function.
1727 (completion--do-completion): Use it and use relative movement.
1729 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
1731 * international/fontset.el (setup-default-fontset): Fix :otf spec.
1733 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
1735 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
1736 Allow the characters _<> in the stack entry (Bug#5653).
1738 2010-02-26 Kenichi Handa <handa@m17n.org>
1740 * language/burmese.el: Fix entries in composition-function-table.
1741 (myanmar-composable-pattern): New variable.
1743 * international/fontset.el (setup-default-fontset): Add an entry
1746 * international/characters.el (script-list): Add Myanmar
1749 2010-02-26 Glenn Morris <rgm@gnu.org>
1751 * custom.el (custom-initialize-delay): Doc fix.
1753 * mail/sendmail.el (send-mail-function): Autoload the call
1754 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
1756 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
1758 * files.el (hack-local-variables-filter): For eval forms, also
1759 check safe-local-variable-p (Bug#5636).
1761 2010-02-24 Eduard Wiebe <usenet@pusto.de>
1763 * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
1764 and use c(ad)r of cddr (Bug#5640).
1766 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
1768 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
1769 setting the modes by `ignore-errors'. It might fail, for example
1770 if the file is not owned by the user but the group.
1771 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
1773 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
1775 * files.el (directory-listing-before-filename-regexp): Use
1776 stricter matching for iso-style dates, to avoid false matches with
1777 date-like filenames (Bug#5597).
1779 * htmlfontify.el (htmlfontify): Doc fix.
1781 * eshell/eshell.el (eshell): Doc fix.
1783 * startup.el (fancy-about-screen): In mode-line, apply
1784 mode-line-buffer-id face only to the buffer name (Bug#5613).
1786 2010-02-20 Kevin Ryde <user42@zip.com.au>
1788 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1789 In `watcom' anchor regexp to start of line, to avoid slowness
1792 2010-02-20 Eli Zaretskii <eliz@gnu.org>
1794 * subr.el (remove-yank-excluded-properties): Explain in a comment
1795 why `category' property is removed.
1797 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
1799 * isearch.el (isearch-update-post-hook, isearch-update): Revert
1802 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
1804 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
1805 (icalendar--convert-weekly-to-ical)
1806 (icalendar--convert-yearly-to-ical)
1807 (icalendar--convert-block-to-ical)
1808 (icalendar--convert-cyclic-to-ical)
1809 (icalendar--convert-anniversary-to-ical): Take care of time
1810 specifications where hour has 1-digit only (Bug#5549).
1812 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
1814 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
1815 of disassemble output in GDB 7.1.
1817 2010-02-19 Glenn Morris <rgm@gnu.org>
1819 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
1820 property. (Bug#5593)
1822 2010-02-18 Sam Steingold <sds@gnu.org>
1824 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
1826 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1828 Use abbreviated file names in bookmarks (bug#5591).
1829 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
1830 calls to expand-file-name.
1831 (bookmark-relocate): Use abbreviated file names in bookmarks.
1832 (bookmark-load): Use abbreviated file names in messages.
1834 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
1836 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
1837 expand "." and "..". Reported by Thierry Volpiatto
1838 <thierry.volpiatto@gmail.com>.
1840 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
1842 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
1843 permissions of the temporary file to "0600". In case the remote
1844 file has no read permissions for the owner, there might be
1845 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
1847 22010-02-18 Glenn Morris <rgm@gnu.org>
1849 * emacs-lisp/authors.el (authors-renamed-files-alist):
1850 Add entries for INSTALL.CVS.
1852 2010-02-17 Mark A. Hershberger <mah@everybody.org>
1854 * vc-bzr.el: Fix typo in Known Bugs section.
1856 * isearch.el (isearch-update-post-hook): New hook.
1857 (isearch-update): Use the new hook.
1859 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
1861 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
1862 Fix errors in copying directories.
1863 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
1864 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
1865 (tramp-handle-delete-file)
1866 (tramp-handle-dired-recursive-delete-directory)
1867 (tramp-handle-write-region): Flush also the cache for the upper
1870 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
1872 * simple.el (save-interprogram-paste-before-kill): Doc fix.
1874 * cus-edit.el (hardware): Doc fix.
1876 * man.el (man): Add to external custom group.
1878 * delim-col.el (columns): Move to wp custom group.
1880 * doc-view.el (doc-view): Add to data custom group.
1882 * cedet/data-debug.el (data-debug): Move to extensions group.
1884 * cedet/ede.el (ede):
1885 * cedet/srecode.el (srecode):
1886 * cedet/semantic.el (semantic): Put in tools and extensions group.
1888 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
1890 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
1891 by ispell-parse-output (Bug#5575).
1893 2010-02-16 Kenichi Handa <handa@m17n.org>
1895 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
1896 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
1897 (skkdic-convert): Use `euc-japan' coding system for writing.
1899 2010-02-16 Glenn Morris <rgm@gnu.org>
1901 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
1902 tex-main-file before using it. (Bug#5562)
1904 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1906 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
1907 warnings, since it is annoying for the user to see them each time he
1910 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
1912 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
1913 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
1914 instead of PROC for caching "first-password-request". Otherwise,
1915 new processes would not profit from passwords already entered.
1917 * net/tramp-cache.el (tramp-dump-connection-properties):
1918 Don't save "first-password-request" property.
1920 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
1922 * outline.el (outline-head-from-level):
1923 * simple.el (with-wrapper-hook):
1924 * cedet/ede.el (ede-run-target, project-delete-target)
1925 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
1926 (ede-adebug-project, ede-adebug-project-parent)
1927 (ede-adebug-project-root):
1928 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
1929 (elint-defun, elint-buffer-env, elint-top-form-logged)
1930 (elint-unbound-variable):
1931 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
1932 Fix typos in docstrings.
1934 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
1936 * files.el (insert-directory): When WILDCARD-REGEXP and
1937 FULL-DIRECTORY-P are nil, insert the file entry instead of the
1938 whole directory. (Bug#5551)
1940 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
1941 dired's alignment sanity. (Bug#5516)
1943 2010-02-14 Juri Linkov <juri@jurta.org>
1945 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
1946 Remove remaining ^H with their preceding chars. (Bug#5566)
1948 2010-02-13 Glenn Morris <rgm@gnu.org>
1950 * simple.el (transpose-subr): Give it a doc-string.
1952 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
1955 2010-02-12 Juri Linkov <juri@jurta.org>
1957 * arc-mode.el (archive-unique-fname): Make directories for nested
1958 archives. (Bug#5540)
1960 2010-02-12 Juri Linkov <juri@jurta.org>
1962 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
1964 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1966 * subr.el (copy-overlay): Handle deleted overlays.
1968 * man.el (Man-completion-table): Don't signal an error if we can't run
1969 manual-program (bug#4056).
1971 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
1973 * textmodes/artist.el (artist-mt): Fix typos in docstring.
1975 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1977 * info.el (Info-bookmark-jump): Simplify.
1979 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
1980 (bookmark-default-handler): Accept new bookmark field `buffer'.
1982 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
1984 * iswitchb.el (iswitchb-completions): Revert last change.
1986 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
1988 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
1989 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
1990 This prevents file names like "~/" being listed literally.
1992 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
1994 * term/xterm.el (xterm-maybe-set-dark-background-mode):
1995 Remove dead code. (Bug#5546)
1997 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
1999 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
2000 correctly (Bug#5548).
2002 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
2004 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
2005 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
2007 2010-02-08 Kenichi Handa <handa@m17n.org>
2009 * international/mule-util.el (with-coding-priority): Add autoload
2010 cookie for putting `lisp-indent-function'.
2012 2010-02-07 Glenn Morris <rgm@gnu.org>
2014 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
2015 Move F2003 named interfaces from keywords-2 to keywords-1, and
2016 use function-name-face rather than constant-face.
2017 Simplify "abstract interface" regexp.
2019 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
2021 * eshell/esh-util.el (eshell-file-attributes): New optional arg
2022 ID-FORMAT. Pass it to `file-attributes'.
2024 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
2026 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
2028 * faces.el (set-face-attribute): Allow calling
2029 internal-set-lisp-face-attribute with 'unspecified family and
2030 foundry argument (Bug#5536).
2032 2010-02-07 Glenn Morris <rgm@gnu.org>
2034 * progmodes/f90.el (f90-font-lock-keywords-2)
2035 (f90-looking-at-type-like, f90-looking-at-program-block-end):
2036 Handle F2003 named interfaces.
2038 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
2040 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
2041 beg and end before calling c-get-state-before-change-functions.
2043 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
2045 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
2047 2010-02-05 Juri Linkov <juri@jurta.org>
2049 * doc-view.el (doc-view-mode):
2050 * image-mode.el (image-mode): Put property mode-class=special.
2053 2010-02-05 Mark A. Hershberger <mah@everybody.org>
2055 * vc-svn.el (vc-svn-revision-table): New function.
2057 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
2059 * net/ange-ftp.el (ange-ftp-insert-directory):
2060 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
2061 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
2062 Handle also directories. (Bug#5478)
2064 2010-02-05 Glenn Morris <rgm@gnu.org>
2066 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
2068 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
2070 * startup.el (command-line-1): Convert options beginning with a
2071 single dash as well (Bug#5519).
2073 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2075 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
2076 * minibuffer.el (completion-initials-expand): Only check the presence
2077 of delims *within* the boundaries, since otherwise the / delim is
2078 always found for files.
2080 Fix up various corner case problems.
2081 * doc-view.el (doc-view-last-page-number): New function.
2082 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
2083 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
2084 (doc-view-kill-proc): Avoid inf-loop in freak cases.
2085 (doc-view-reconvert-doc): Use the new recursive delete-directory.
2086 (doc-view-convert-current-doc): Don't create the resolution.el file
2088 (doc-view-pdf/ps->png): Do it here instead.
2089 (doc-view-already-converted-p): Check that resolution.el is present.
2090 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
2091 windows that are not yet showing images.
2093 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
2095 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
2096 `dired-uncache' for every elemnt which is an absolute file name.
2098 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
2099 directory, handle its directory component.
2100 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
2101 function is called permanently and creates noise, otherwise.
2103 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
2104 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
2105 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
2107 2010-02-04 David Burger <dburger@google.com> (tiny change)
2109 * macros.el (apply-macro-to-region-lines):
2110 Minor simplification. (Bug#5485)
2112 2010-02-04 Glenn Morris <rgm@gnu.org>
2114 * mail/rmail.el (rmail-show-message-1): Handle malformed
2115 quoted-printable text. (Bug#5441)
2117 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
2119 * simple.el (visual-line-mode): Capitalize lighter.
2121 2010-02-03 John Wiegley <jwiegley@gmail.com>
2123 * iswitchb.el (iswitchb-completions): Add bookmark files to the
2124 list of files considered for "virtual buffer" completions.
2126 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
2128 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
2129 also in case of (and (not full) (not wildcard)). This is needed,
2130 when dired is called with a list of files, which are not in
2131 `default-directory'. (Bug#5478)
2133 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2135 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
2137 2010-02-02 Juri Linkov <juri@jurta.org>
2139 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
2140 from unidiff to allow function-line after @@.
2142 2010-02-02 Juri Linkov <juri@jurta.org>
2144 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
2145 '(RCS SCCS) with inverted condition.
2147 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
2149 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
2152 2010-02-01 Juri Linkov <juri@jurta.org>
2154 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
2155 compare with "pkunzip" and "pkzip" instead of only "pkzip".
2156 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
2157 only when (car archive-zip-extract) is "unzip". (Bug#5475)
2159 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
2162 (doc-view-revert-buffer): New command.
2163 (doc-view-mode-map): Use it.
2165 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
2167 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
2168 pending merge is detected.
2170 2010-01-31 Juri Linkov <juri@jurta.org>
2172 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
2173 beginning of interactive spec like all other grep commands do.
2174 Put "all" in front of "gz". (Bug#5260)
2176 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
2178 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
2180 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
2182 * dirtrack.el (dirtrack): Warn instead of signalling error if the
2183 regexp is incorrect (Bug#5476).
2185 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
2187 * net/tramp.el (tramp-handle-insert-directory): Handle also
2188 symlinks, when FILENAME is not in `default-directory'.
2190 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
2192 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
2193 FILE is not in `default-directory'. (Bug#5478)
2195 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
2196 of SWITCHES. Handle the case, FILENAME is not in
2197 `default-directory'. (Bug#5478)
2198 (tramp-register-file-name-handlers): Add safe-magic property.
2200 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
2202 * arc-mode.el (archive-zip-extract): Quote the argument passed to
2205 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
2207 * progmodes/flymake.el (flymake-allowed-file-name-masks)
2208 (flymake-master-make-header-init): Add other C++ filename masks.
2209 (flymake-find-possible-master-files)
2210 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
2212 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
2214 Fix some busybox annoyances.
2216 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
2217 not responding." string.
2218 (tramp-open-connection-setup-interactive-shell): Dump stty
2219 settings. Enable "neveropen" arg for all `tramp-send-command'
2220 calls. Handle "=" in variable values properly.
2221 (tramp-find-inline-encoding): Raise an error, when no encoding is
2223 (tramp-wait-for-output): Check, whether PROC buffer is available.
2224 Remove spurious " ^H" sequences, sent by busybox.
2225 (tramp-get-ls-command): Suppress coloring, if possible.
2227 2010-01-28 Glenn Morris <rgm@gnu.org>
2229 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
2231 * log-edit.el (log-edit-strip-single-file-name): Add missing
2232 :safe, :group, and :version tags.
2234 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
2236 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
2239 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
2241 * files.el (delete-directory): Handle moving to trash without
2242 first doing recursion (Bug#5436).
2244 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
2246 * vc-hooks.el (vc-path): Mark as obsolete.
2248 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
2250 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
2253 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
2255 (vc-bzr-log-view-mode): Adjust regexp for the above change.
2257 2010-01-25 Mark A. Hershberger <mah@everybody.org>
2259 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
2261 * vc-bzr.el (vc-bzr-revision-table): New function.
2263 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
2265 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
2266 diff-index command. This requires at least git-1.5.5. (Bug#1589).
2268 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
2270 Remove support for adding --signoff on commit.
2271 Future support will use an incompatible generic mechanism.
2272 * vc-git.el (vc-git-add-signoff): Remove variable.
2273 (vc-git-toggle-signoff): Remove function.
2274 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
2276 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
2277 from xterm-set-background-mode. Return t if the background mode
2279 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
2280 earlier, call it again in case the background mode has changed.
2282 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
2284 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
2287 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
2289 * emacs-lisp/assoc.el (aelement): Doc fix.
2290 (aput, adelete, amake): Use lexical-let (Bug#5450).
2292 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
2294 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
2295 is the same as subprogram call, not declaration. (Bug#5435).
2297 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
2299 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
2300 (tramp-smb-maybe-open-connection): Use it.
2302 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
2304 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
2306 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2308 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
2309 just because we see "encoding: 8bit".
2310 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
2312 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
2314 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
2316 2010-01-22 Eli Zaretskii <eliz@gnu.org>
2318 * jka-compr.el (jka-compr-load): If load-file is not in
2319 load-history, try its file-truename version. (bug#5447)
2321 2010-01-21 Alan Mackenzie <acm@muc.de>
2323 Fix a situation where deletion of a cpp construct throws an error.
2324 * progmodes/cc-engine.el (c-invalidate-state-cache): Before
2325 invoking c-with-all-but-one-cpps-commented-out, check that the
2326 special cpp construct is still in the buffer.
2327 (c-parse-state): Record the special cpp with markers, not numbers.
2329 2010-01-21 Kenichi Handa <handa@m17n.org>
2331 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
2332 process last-command-event, as it is now decoded first (Bug#5380).
2334 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
2336 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
2338 2010-01-20 Glenn Morris <rgm@gnu.org>
2340 * indent.el (tab-always-indent): Fix custom-type.
2342 2010-01-19 Alan Mackenzie <acm@muc.de>
2344 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
2345 buffer throws "args out of range".
2346 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
2347 playing the role of delimiter.
2349 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
2351 * progmodes/ada-mode.el: Fix bug#5400.
2352 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
2353 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
2354 changed. Delete RECURSIVE parameter; never used. Improve doc string.
2355 Improve comments in "is" portion. Handle null procedure declaration.
2356 (ada-move-to-end): Improve doc string.
2358 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
2360 * ido.el (ido-cur-list): Initialize to nil.
2361 Remove obsolete information from commentary.
2362 (ido-choice-list): Initialize to nil.
2363 (ido-get-bufname): Reject minibuffers.
2364 (ido-make-buffer-list): If "default" is a nonexistent
2365 buffer, ignore it, as per the function's comment.
2366 (ido-kill-buffer-internal): New function.
2367 (ido-kill-buffer-at-head): Use it.
2368 (ido-visit-buffer): Likewise.
2370 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
2372 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
2374 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
2376 * cedet/ede/locate.el (ede-locate-file-in-project)
2377 (ede-locate-file-in-project-impl): Fix typos in docstrings.
2378 (ede-enable-locate-on-project): Fix typos in error messages.
2380 * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face)
2381 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
2382 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
2383 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
2384 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
2385 Fix typos in menu help.
2387 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
2388 Fix typos in chart titles.
2390 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
2391 * cedet/semantic.el (semantic-require-version, semantic--buffer-cache)
2392 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
2393 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
2394 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
2395 (semantic-parse-stream, semantic-parse-region)
2396 (semantic-parse-region-default, semantic--set-buffer-cache)
2397 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
2398 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
2399 (semantic-default-submodes):
2400 * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse)
2401 (semanticdb-create-ebrowse-database)
2402 (semanticdb-find-tags-for-completion-method)
2403 (semanticdb-find-tags-by-class-method)
2404 (semanticdb-deep-find-tags-by-name-method)
2405 (semanticdb-deep-find-tags-for-completion-method):
2406 * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector)
2407 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
2408 (semanticdb-find-tags-for-completion-method)
2409 (semanticdb-find-tags-by-class-method)
2410 (semanticdb-deep-find-tags-for-completion-method):
2411 * cedet/semantic/db-find.el (semanticdb-find-translate-path)
2412 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
2413 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
2414 (semanticdb-find-tags-by-name-method)
2415 (semanticdb-find-tags-by-name-regexp-method)
2416 (semanticdb-find-tags-for-completion-method)
2417 (semanticdb-find-tags-by-class-method)
2418 (semanticdb-find-tags-external-children-of-type-method)
2419 (semanticdb-find-tags-subclasses-of-type-method)
2420 (semanticdb-deep-find-tags-by-name-method)
2421 (semanticdb-deep-find-tags-by-name-regexp-method)
2422 (semanticdb-deep-find-tags-for-completion-method):
2423 * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook)
2424 (semanticdb-enable-gnu-global-in-buffer)
2425 (semanticdb-find-tags-for-completion-method)
2426 (semanticdb-deep-find-tags-by-name-method)
2427 (semanticdb-deep-find-tags-for-completion-method):
2428 * cedet/semantic/db-javascript.el (semanticdb-javascript-tags)
2429 (javascript-mode, semanticdb-find-translate-path)
2430 (semanticdb-find-tags-for-completion-method)
2431 (semanticdb-find-tags-by-class-method)
2432 (semanticdb-deep-find-tags-by-name-method)
2433 (semanticdb-deep-find-tags-for-completion-method)
2434 (semanticdb-find-tags-external-children-of-type-method):
2435 * cedet/semantic/idle.el (semantic-idle-work-core-handler)
2436 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
2437 (global-semantic-idle-scheduler-mode):
2438 * cedet/srecode/dictionary.el (srecode-field-value)
2439 (srecode-dictionary-add-section-dictionary):
2440 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
2441 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
2442 (describe-class, eieio-describe-generic, describe-generic):
2443 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
2444 (eieio-speedbar-expand):
2445 * emulation/viper-cmd.el (viper-exec-form-in-vi)
2446 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
2447 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
2448 (viper-del-backward-char-in-replace, viper-backward-indent)
2449 (viper-brac-function, viper-register-to-point, viper-submit-report):
2450 * net/tramp.el (tramp-remote-coding-commands):
2451 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
2452 Fix typos in docstrings.
2454 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
2456 * mail/sendmail.el (mail-yank-original): Set the mark if the
2457 specified function for yanking does not do it.
2459 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
2461 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
2463 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
2464 resyncing a directory.
2466 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
2468 * progmodes/ada-mode.el: Fix bug#1920.
2469 (ada-ident-re): Delete ., allow multibyte characters.
2470 (ada-goto-label-re): New; matches goto labels.
2471 (ada-block-label-re): New; matches block labels.
2472 (ada-label-re): New; matches both.
2473 (ada-named-block-re): Deleted; callers changed to use
2474 `ada-block-label-re' instead.
2475 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
2476 Use `ada-block-label-re'.
2477 (ada-indent-on-previous-lines): Improve handling of goto labels.
2478 (ada-get-indent-block-start): Special-case block label.
2479 (ada-get-indent-label): Split into `ada-indent-block-label' and
2480 `ada-indent-goto-label'.
2481 (ada-goto-stmt-start, ada-goto-next-non-ws):
2482 Optionally ignore goto labels.
2483 (ada-goto-next-word): Simplify.
2484 (ada-indent-newline-indent-conditional): Insert newline before
2485 trying to fix indentation; doc fix.
2487 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
2489 * calc/calc.el (calc-command-flags): Give it an initial value.
2491 2010-01-17 Glenn Morris <rgm@gnu.org>
2493 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
2495 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
2497 * cedet/semantic.el (semantic-mode):
2498 * files.el (minibuffer-with-setup-hook):
2499 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
2500 (artist-key-draw-continously, artist-key-do-continously-continously)
2501 (artist-key-set-point-continously, artist-mouse-draw-continously):
2502 Fix typos in docstrings.
2504 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
2506 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
2507 return t (Bug#3898).
2509 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
2511 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
2512 can parse the output of the external commands (Bug#5279).
2514 2010-01-16 Jari Aalto <jari.aalto@cante.net>
2516 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
2518 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
2520 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
2522 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
2524 * startup.el (command-line): Remove unused --icon-type arg.
2525 Handle --display arg, passing it to command-line-1 (Bug#5392).
2527 2010-01-16 Mario Lang <mlang@delysid.org>
2529 * cedet/ede/cpp-root.el (ede-cpp-root-project):
2530 * cedet/ede/files.el (ede-expand-filename):
2531 * cedet/ede/simple.el (ede-simple-project):
2532 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
2533 (semantic-complete-inline-tag-engine):
2534 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
2535 * cedet/semantic/db-global.el (semanticdb-equivalent-mode):
2536 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
2537 * cedet/semantic/db.el (semanticdb-equivalent-mode):
2538 * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
2539 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
2540 * emacs-lisp/chart.el (chart-translate-namezone):
2541 * textmodes/artist.el (artist-compute-popup-menu-table):
2542 Remove duplicated words in doc-strings.
2544 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
2546 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
2547 to mairix-search to suppress threading (Bug#5342).
2549 2010-01-15 Kenichi Handa <handa@m17n.org>
2551 * international/mule-cmds.el (canonicalize-coding-system-name):
2552 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
2554 2010-01-15 Glenn Morris <rgm@gnu.org>
2556 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
2558 * wid-edit.el (widget-keymap): Doc fix.
2560 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
2561 former seems to be more widely accepted by various svn versions.
2563 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
2565 * find-cmd.el (find-constituents):
2566 * vc-arch.el (vc-arch-root):
2567 * window.el (window-body-height, pop-up-frames):
2568 * cedet/semantic/edit.el (semantic-reparse-needed-change-hook)
2569 (semantic-no-reparse-needed-change-hook):
2570 * cedet/srecode/insert.el (srecode-resolve-argument-list)
2571 (srecode-template-inserter-blank, srecode-template-inserter-variable)
2572 (srecode-template-inserter-ask, srecode-template-inserter-width)
2573 (srecode-template-inserter-section-start)
2574 (srecode-template-inserter-section-end, srecode-insert-method):
2575 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
2576 * progmodes/ada-stmt.el (ada-if):
2577 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
2578 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
2579 (ispell-encoding8-command, ispell-aspell-supports-utf8)
2580 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
2582 * progmodes/flymake.el (flymake-post-syntax-check):
2583 Fix typo in error message.
2585 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
2587 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
2588 which is always a string. (Bug#5313)
2590 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
2592 * progmodes/ada-xref.el (ada-default-prj-properties):
2593 Simplify previous change.
2595 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
2597 * progmodes/ada-xref.el (ada-default-prj-properties):
2598 Default ada_project_path to $ADA_PROJECT_PATH.
2600 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
2602 * progmodes/ada-mode.el (ada-create-keymap):
2603 Override `narrow-to-defun' with `ada-narrow-to-defun'.
2605 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
2607 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
2608 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
2609 (ada-get-current-indent, ada-imenu-generic-expression)
2610 (ada-which-function): Check for it.
2612 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
2614 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
2615 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
2617 2010-01-14 Glenn Morris <rgm@gnu.org>
2619 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
2621 2010-01-14 Kenichi Handa <handa@m17n.org>
2623 * composite.el (auto-composition-mode): Make it a buffer local
2624 variable (permanent-local).
2625 (auto-composition-function): Set the default value to
2627 (auto-composition-mode): Make it a simple function, not a minor mode.
2628 (global-auto-composition-mode): Likewise.
2629 (turn-on-auto-composition-if-enabled): Delete it.
2631 2010-01-13 Karl Fogel <kfogel@red-bean.com>
2633 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
2635 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
2637 * files.el (copy-directory): Compute target for recursive
2638 directories with identical names. (Bug#5343)
2640 2010-01-12 Glenn Morris <rgm@gnu.org>
2642 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
2643 it to bug-gnu-emacs rather than emacs-pretest-bug.
2645 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
2647 * cedet/data-debug.el (data-debug): Fix customization group reference.
2649 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
2651 * cedet/semantic/analyze.el (semantic-analyze-push-error)
2652 (semantic-analyze-context, semantic-analyze-context-assignment)
2653 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
2654 * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
2655 (semantic-java-doc-keywords-map):
2656 * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
2657 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
2658 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
2659 (semantic-c-classname, semantic-format-tag-uml-prototype)
2660 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
2661 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
2662 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
2663 (semantic-get-local-variables, semantic-end-of-command)
2664 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
2666 * cedet/semantic/bovine/make.el (makefile-mode):
2667 * cedet/semantic/wisent/python.el (wisent-python-string-re)
2668 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
2669 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
2670 (semantic-lex, semantic-get-local-variables, python-mode):
2671 * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
2672 * cedet/srecode/extract.el (srecode-extract-state-set)
2673 (srecode-extract-method): Fix typos in docstrings.
2675 2010-01-11 Sam Steingold <sds@gnu.org>
2677 * imenu.el (imenu-default-create-index-function): Detect infinite
2678 loops caused by imenu-prev-index-position-function.
2680 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
2682 * htmlfontify.el (htmlfontify-load-rgb-file)
2683 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
2684 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
2685 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
2686 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
2687 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
2688 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
2689 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
2690 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
2691 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
2692 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
2693 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
2694 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
2695 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
2696 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
2697 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
2698 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
2699 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
2700 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
2701 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
2702 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
2703 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
2704 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
2705 backslash-quoting from parentheses, etc.
2707 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
2709 * progmodes/js.el: Autoload javascript-mode alias.
2711 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
2713 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
2714 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
2715 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
2716 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
2717 Fix typos in docstrings.
2718 (ffap-url-regexp): Doc fix.
2719 (ffap-at-mouse): Fix typo in message.
2721 2010-01-11 Glenn Morris <rgm@gnu.org>
2723 * version.el (emacs-copyright): Set copyright year to 2010.
2725 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * format.el (format-annotate-function): Only set
2728 write-region-post-annotation-function after running to-fn so as not to
2729 affect nested write-region calls (bug#5273).
2731 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
2733 * cedet/semantic.el (semantic-new-buffer-setup-functions):
2736 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
2739 2010-01-10 Richard Kim <emacs18@gmail.com>
2741 * cedet/semantic/wisent/python-wy.el:
2742 * cedet/semantic/wisent/python.el: New files.
2744 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
2746 * man.el (Man-goto-section): Signal error if the section is not
2749 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
2751 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
2752 URLs with a leading triple slash in the file: scheme. (Bug#5345)
2754 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
2756 * progmodes/compile.el: Don't treat compile-command as safe if
2757 compilation-read-command might be nil (Bug#4218).
2759 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
2761 * startup.el (command-line-1): Use orig-argi to check for ignored X and
2764 2010-01-08 Kenichi Handa <handa@m17n.org>
2766 * international/fontset.el (build-default-fontset-data):
2767 Exclude characters in scripts kana, hangul, han, or cjk-misc.
2769 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
2771 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
2772 to `create-file-buffer' as it expects, not just a buffer name.
2773 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
2774 to help uniquify. (Bug#3224)
2776 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
2778 * font-setting.el (font-setting-change-default-font): Use user-spec
2781 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
2783 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
2785 2010-01-05 Tom Tromey <tromey@redhat.com>
2787 * progmodes/python.el (python-font-lock-keywords):
2788 Handle qualified decorators (Bug#881).
2790 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
2792 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
2793 in a lightweight checkout.
2795 2010-01-05 Kenichi Handa <handa@m17n.org>
2797 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
2799 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
2801 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
2803 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
2805 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
2806 checkouts. (Bug#618)
2807 (vc-bzr-log-view-mode): Also highlight the author.
2808 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
2809 (vc-bzr-shelve-menu-map):
2810 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
2811 (vc-bzr-shelve-apply): Make prompt more explicit.
2813 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
2815 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
2816 They are valid characters in URL paths (rfc3986), and at least
2817 Firefox does not understand the encoded version (Bug#3166).
2819 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
2821 * progmodes/octave-mod.el (octave-end-keywords)
2822 (octave-block-begin-or-end-regexp, octave-block-match-alist):
2823 Add "end" keyword (Bug#3061).
2824 (octave-end-as-array-index-p): New function.
2825 (calculate-octave-indent): Use it.
2827 2010-01-02 Karl Fogel <kfogel@red-bean.com>
2829 * bookmark.el: Consistently put the text property on the bookmark name.
2830 (bookmark-bmenu-marks-width): Bump back to 2, to include
2832 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
2833 property on the bookmark name, instead of not putting it at all.
2834 (bookmark-bmenu-list): Fix where we put the text property.
2836 2010-01-02 Karl Fogel <kfogel@red-bean.com>
2838 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
2839 for showing buffer modified state (as added in the previous change).
2841 2010-01-02 Karl Fogel <kfogel@red-bean.com>
2843 * bookmark.el: Show modified state of bookmark buffer more accurately.
2844 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
2845 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
2846 (with-buffer-modified-unmodified): New macro.
2847 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
2848 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
2849 Use new macro to preserve the buffer modified state.
2851 2010-01-02 Karl Fogel <kfogel@red-bean.com>
2853 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
2854 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
2855 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
2856 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
2857 (bookmark-bmenu-rename, bookmark-bmenu-locate)
2858 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
2859 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
2861 2010-01-02 Eli Zaretskii <eliz@gnu.org>
2863 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2864 Make the lines in the generated doc string shorter. (Bug#4668)
2866 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
2868 * net/rcirc.el: Add follow-link binding (Bug#4738).
2870 2010-01-02 Eli Zaretskii <eliz@gnu.org>
2872 * Makefile.in (bzr-update): Rename from cvs-update.
2873 (cvs-update): New target for backward compatibility.
2875 * makefile.w32-in (bzr-update): Rename from cvs-update.
2876 (cvs-update): New target for backward compatibility.
2878 2010-01-02 Karl Fogel <kfogel@red-bean.com>
2880 * bookmark.el: Remove gratuitous gratitude.
2882 2010-01-02 Karl Fogel <kfogel@red-bean.com>
2884 * bookmark.el (bookmark-bmenu-any-marks): New function
2885 (bookmark-bmenu-save): Clear buffer modification if no marks.
2887 2010-01-02 Karl Fogel <kfogel@red-bean.com>
2889 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
2890 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
2891 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
2892 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
2894 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
2895 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
2896 To: emacs-devel {_AT_} gnu.org
2897 Subject: bookmark.el bug report
2898 Date: Mon, 28 Dec 2009 14:19:16 +0800
2899 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
2901 2010-01-02 Karl Fogel <kfogel@red-bean.com>
2903 * bookmark.el: Improvements suggested by Drew Adams:
2904 (bookmark-bmenu-ensure-position): New name for
2905 `bookmark-bmenu-check-position'. Just ensure the position,
2906 don't return any meaningful value.
2907 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
2910 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
2912 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
2913 (bookmark-yank-point, bookmark-bmenu-check-position):
2914 Fix typos in docstrings.
2915 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
2916 (bookmark-name-from-full-record, bookmark-get-position)
2917 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
2918 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
2919 Remove useless quoting of parenthesis, etc. in docstrings.
2921 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
2922 (ediff-append-custom-diff): Fix typo in error message.
2923 (ediff-meta-mark-equal-files): Fix typos in messages.
2925 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
2927 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
2928 Fix typo in docstring.
2930 * net/imap-hash.el (imap-hash-make): Doc fix.
2931 (imap-hash-test): Fix typo in error message; reflow docstring.
2932 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
2933 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
2934 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
2935 Fix typos in docstrings.
2936 (imap-hash-open-connection): Fix typo in error message.
2938 * play/gomoku.el (gomoku): Fix typos in docstring.
2940 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
2941 (gdb-jsonify-buffer): Fix typos in docstring.
2942 (gdb-goto-breakpoint): Fix typo in error message.
2943 ("Display Other Windows"): Fix typo in help message.
2944 (gdb-speedbar-expand-node): Fix typo in question.
2946 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
2947 (idlwave-html-system-help-location, idlwave-html-help-location)
2948 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
2949 (idlwave-help-browser-generic-args, idlwave-help-directory)
2950 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
2951 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
2952 (idlwave-online-help, idlwave-help-html-link)
2953 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
2954 Fix typos in docstrings.
2955 (idlwave-help-with-source, idlwave-help-find-routine-definition):
2957 (idlwave-help-assistant-start): Fix typo in error message.
2959 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
2960 (octave-electric-space): Fix typos in docstrings.
2962 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
2964 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
2966 2010-01-01 Juri Linkov <juri@jurta.org>
2968 * comint.el (comint-input-ring-size): Make it a defcustom and
2969 increase the default to 500 (Bug#5148).
2971 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
2973 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
2974 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
2975 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
2977 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
2979 Show working revision correctly for mercurial.
2980 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
2981 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
2983 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
2985 Declare some functions for the byte-compiler.
2986 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
2987 (speedbar-timer-fn, speedbar-change-expand-button-char)
2988 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
2990 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
2992 This changeset reverts GDB Graphical Interface to use annotations.
2993 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
2995 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
2997 Make vc-dir work on subdirectories of the bzr root.
2998 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
2999 file names relative to it.
3000 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
3001 relative directory to vc-bzr-after-dir-status.
3003 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
3005 * font-lock.el (font-lock-refresh-defaults): New function, which
3006 can be used to let font-lock react to external changes in
3007 variables like font-lock-defaults and keywords.
3008 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
3010 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
3012 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
3014 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
3016 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
3018 Supersede color.diff settings in git log (bug#5211).
3020 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
3021 escape chars in its output when the user has color.diff set to `always'.
3022 This fix works on git 1.4.2 and newer (released on 2006-08-13).
3024 2009-12-26 Kevin Ryde <user42@zip.com.au>
3026 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
3027 node. Keep previous "Index" name to work with past coreutils too.
3029 * man.el (man): Revise docstring a bit to show -a and -l as
3030 examples. Add -k description since support for it has otherwise
3031 been a secret. (Further to bug#3717.)
3032 (Man-bgproc-sentinel): When "-k foo" produces no output show error
3033 "no matches" rather than "Can't find manpage", as the latter reads
3034 like -k was interpreted as a page name, which is not so. (Bug#5431)
3036 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
3038 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
3039 switches. Check also for //SUBDIRED// line.
3041 2009-12-25 Kenichi Handa <handa@m17n.org>
3043 * language/indian.el (devanagari-composable-pattern): Fixed to
3044 handle ZWNJ and ZWJ. Use it in composition-function-table for
3046 (malayalam-composable-pattern): Fix previous change.
3048 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3050 * ps-print.el (ps-face-attributes): It was not returning the
3051 attribute face for faces specified as string. Reported by harven
3053 (ps-print-version): New version 7.3.5.
3055 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
3057 * calendar/icalendar.el (icalendar--convert-tz-offset):
3059 (icalendar--convert-tz-offset): Fix the "last-day-problem".
3060 (icalendar--add-diary-entry): Remove the trailing blank that
3061 diary-make-entry inserts.
3063 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
3065 Make `file-expand-wildcards' work for remote files.
3067 * files.el (file-expand-wildcards): In case of remote files, check
3068 only local file name part for wildcards. Provide feature 'files
3069 and subfeature 'remote-wildcards. (Bug#5198)
3071 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
3072 if there is already an established connection.
3073 (tramp-advice-file-expand-wildcards): Remove it.
3075 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
3076 (tramp-advice-file-expand-wildcards): Move from tramp.el.
3077 Activate advice for older GNU Emacs versions. (Bug#5237)
3079 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
3081 Some doc fixes (more needed).
3083 * find-cmd.el (find-constituents): Reflow docstring.
3084 (find-cmd, find-prune, find-command): Fix typos in docstrings.
3085 (find-generic): Doc fix.
3087 2009-12-17 Juri Linkov <juri@jurta.org>
3089 Fix regression from 23.1 to allow multiple modes in Local Variables.
3091 * files.el (hack-local-variables-filter): While ignoring duplicates,
3092 don't take `mode' into account.
3093 (hack-local-variables-filter, hack-dir-local-variables):
3094 Don't remove duplicate `mode' from local-variables-alist (like `eval').
3096 2009-12-17 Juri Linkov <juri@jurta.org>
3098 Make `dired-diff' safer. (Bug#5225)
3100 * dired-aux.el (dired-diff): Signal an error when `file' equals to
3101 `current' or when `file' is a directory of the `current' file.
3103 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
3105 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
3106 unconditionally preloaded files.
3108 2009-12-16 Juri Linkov <juri@jurta.org>
3110 Revert to old 23.1 logic of using the file at the mark as default.
3111 * dired-aux.el (dired-diff): Use the file at the mark as default
3112 if it's not the same as the current file, and the target dir is
3113 the current dir or the mark is active. Add the current file
3114 as the arg of `dired-dwim-target-defaults'. Use the default file
3115 in the prompt. (Bug#5225)
3117 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
3119 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
3120 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
3121 (tramp-check-for-regexp): Check also, when an echoing shell stops
3122 to echo sent commands.
3124 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
3126 * Makefile.in: Revert last change (Bug#5191).
3128 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
3130 * vc-hg.el (vc-hg-print-log): Fix argument order.
3131 (vc-hg-working-revision): Make sure the command is executed in a
3132 known environment so that we can parse the output. (Bug#4417)
3134 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
3136 * progmodes/python.el (python-symbol-completions): Remove text
3137 properties from symbol string before calling python-send-receive.
3139 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
3141 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
3142 when there are values for both file and line. (Bug#5060)
3144 2009-12-14 Juri Linkov <juri@jurta.org>
3146 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
3147 whitespace after the file name of the first line of unified format,
3148 because git-diff doesn't output whitespace and file modification time
3149 after the file name.
3151 2009-12-14 David Kastrup <dak@gnu.org>
3153 * info.el (Info-hide-cookies-node): Before hiding a cookie,
3154 check if it already has the `display' property added by
3155 `Info-display-images-node', and not put the `invisible' property
3158 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
3160 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
3161 (semantic-mru-bookmark-mode): Doc fixes.
3163 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
3166 2009-12-13 Glenn Morris <rgm@gnu.org>
3168 * mail/emacsbug.el (message-sort-headers): Define for compiler.
3169 (report-emacs-bug): In message-mode, sort manually before storing
3170 original report text. (Bug#5178)
3171 Remove superfluous save-excursion.
3173 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
3175 * net/dbus.el (dbus-property-handler): Filter lambda forms out
3176 when responding to "GetAll" properties.
3178 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
3180 * simple.el (compose-mail): Remove mail-setup-with-from from
3181 customization checks.
3183 2009-12-12 Eli Zaretskii <eliz@gnu.org>
3185 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
3186 RAR archives created on Unix systems.
3188 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3190 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
3191 the varalias that was accidentally removed by the 2009-11-19 change
3194 2009-12-12 Kenichi Handa <handa@m17n.org>
3196 * language/indian.el (indian-compose-regexp): New function.
3197 (malayalam-composable-pattern): Fix the pattern.
3198 (composition-function-table): Set malayalam-composable-pattern for
3199 Malayalam characters.
3201 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
3203 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
3204 rather than down-mouse-1, based on follow-link conventions.
3206 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
3209 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
3211 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
3212 (verilog-vmm-statement-re, verilog-ovm-statement-re)
3213 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
3214 (verilog-leap-to-head, verilog-backward-token):
3215 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
3217 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
3219 * progmodes/verilog-mode.el (verilog-auto-lineup)
3220 (verilog-nameable-item-re): Cleanup user-visible spelling and
3221 documentation errors. One reported by Gary Delp.
3222 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
3223 (verilog-read-decls): Fix AUTOWIRE with types declared in a
3224 package, bug195. Reported by Pierre-David Pfister.
3226 2009-12-11 Glenn Morris <rgm@gnu.org>
3228 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
3230 * mail/emacsbug.el: No longer require sendmail.
3231 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
3232 (report-emacs-bug-orig-text): Doc fix.
3233 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
3234 New local variables, to adapt to different mail-user-agents.
3235 (report-emacs-bug): Fix test for a gnu.org address.
3236 Use overlays for emphasis, since font-lock defeats 'face property.
3237 Pretest bugs also end up at the newsgroup these days.
3238 Stop message-mode stripping text properties.
3239 Set and use the new buffer-local variables.
3240 (report-emacs-bug-hook): Add doc-string.
3241 Remove some unnecessary save-excursions and simplify.
3242 Use the appropriate hook and send-command.
3244 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
3245 capitalization of some menu entries.
3247 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3249 * whitespace.el (whitespace-display-char-on): Ensure
3250 `buffer-display-table' is unique when two or more windows are
3251 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
3254 2009-12-10 Eli Zaretskii <eliz@gnu.org>
3256 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
3257 characters in the Attribute field.
3259 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
3261 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
3263 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3265 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
3266 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3267 Disregard autoload-excludes.
3268 (update-directory-autoloads): Obey autoload-excludes here instead.
3269 But don't store its contents in no-autoloads and remove entries that
3270 refer to excludes files.
3272 2009-12-10 Glenn Morris <rgm@gnu.org>
3274 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
3275 (expand-mail-aliases): Define for compiler.
3277 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
3278 Define for compiler.
3280 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
3281 appropriate for the mail-user-agent in use.
3283 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
3285 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
3287 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
3289 Fix short log parsing and fontification.
3290 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
3291 Fix fontification for the [merge] label.
3293 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
3295 Drop some properties to avoid surprises (bug#5002).
3296 * htmlfontify.el (hfy-ignored-properties): New defcustom.
3297 (hfy-fontify-buffer): Use it.
3299 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
3302 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
3304 (ffap-locate-file): Remove unused arg `dir-ok' and make other
3305 args compulsory. Adjust callers.
3306 (ffap-gopher-at-point): Remove unused var `name'.
3308 Get rid of the ELCFILES abomination.
3309 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
3310 (compile-elcfiles): New phony target.
3311 (compile-main): Compute ELCFILES dynamically.
3312 (compile-clean): New target to remove left-over elc files.
3313 (compile, all): Use it.
3315 2009-12-09 Kenichi Handa <handa@etlken>
3317 * international/mule-diag.el: Require help-mode instead of help-fns.
3319 2009-12-09 Kenichi Handa <handa@m17n.org>
3321 * international/mule-cmds.el (ucs-names): Supply sufficiently
3322 fine ranges instead of pre-calculating accurate ranges.
3323 Iterate with bigger gc-cons-threshold.
3325 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
3327 Add support for stashing a snapshot of the current tree.
3328 * vc-git.el (vc-git-stash-snapshot): New function.
3329 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
3331 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
3333 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
3334 instead of `(beginning|end)-of-line'.
3336 2009-12-08 Glenn Morris <rgm@gnu.org>
3338 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
3340 * Makefile.in (ELCFILES): Regenerate.
3342 2009-12-07 Juri Linkov <juri@jurta.org>
3344 Don't lazy-highlight the comint output in history Isearch mode.
3346 * comint.el (comint-history-isearch-search): Instead of
3347 `comint-line-beginning-position', use `comint-after-pmark-p'
3348 to check if point if before the process mark, and go to
3349 `process-mark' in this case.
3351 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3353 * textmodes/tex-mode.el (latex-complete)
3354 (latex-indent-or-complete): Remove.
3355 (latex-mode): Set completion-at-point-functions instead.
3357 Provide a standard completion command and hook it into TAB.
3358 * minibuffer.el (completion-at-point-functions): New var.
3359 (completion-at-point): New command.
3360 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
3361 * progmodes/python.el (python-mode-map): Use completion-at-point.
3362 (python-completion-at-point): Rename from python-partial-symbol and
3363 adjust for use in completion-at-point-functions.
3364 (python-mode): Setup completion-at-point for Python completion.
3365 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
3366 extracted from lisp-complete-symbol.
3367 (lisp-complete-symbol): Use it.
3368 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
3369 setup completion-at-point for Elisp completion.
3370 (emacs-lisp-mode-map, lisp-interaction-mode-map):
3371 Use completion-at-point.
3372 * ielm.el (ielm-map): Use completion-at-point.
3373 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
3374 * progmodes/sym-comp.el: Move to...
3375 * obsolete/sym-comp.el: Move from progmodes.
3377 2009-12-07 Eli Zaretskii <eliz@gnu.org>
3379 Prevent save-buffer in Rmail buffers from using the coding-system
3380 of the current message, and from clobbering the encoding mnemonics
3381 in the mode line (Bug#4623).
3383 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
3385 (rmail-message-encoding): New variable.
3386 (rmail-write-region-annotate): Record the encoding of the current
3387 message in rmail-message-encoding.
3388 (rmail-after-save-hook): New function, restores the encoding of
3389 the current message after the message collection is saved.
3391 2009-12-07 Juri Linkov <juri@jurta.org>
3393 * progmodes/grep.el (grep-read-files): Use `completing-read'
3394 instead of `read-string'. Set its `collection' arg to
3395 `read-file-name-internal'. (Bug#4301)
3397 2009-12-07 Juri Linkov <juri@jurta.org>
3399 Correctly restore original Isearch point. (Bug#4994)
3401 * isearch.el (isearch-mode): Move `isearch-push-state' after
3402 `(run-hooks 'isearch-mode-hook)'.
3403 (isearch-cancel): When `isearch-push-state-function' is defined,
3404 let-bind `isearch-cmds' to the first state (the last element of
3405 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
3406 function and restores the original point). Otherwise, move point
3407 to `isearch-opoint'.
3409 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
3412 chars that don't have names, so the table can be built much faster at
3415 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
3417 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
3418 change. Suggested by David Kastrup.
3420 * simple.el (compose-mail): Check for incompatibilities and warn.
3421 (compose-mail-user-agent-warnings): New option.
3423 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
3425 Support showing a single log entry from vc-annotate.
3426 * vc.el (print-log): Add a new argument: START-REVISION.
3427 (vc-print-log-internal): Add a new optional argument and
3428 pass it to the backend.
3429 (vc-print-log, vc-print-root-log): Adjust callers.
3430 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
3431 buffer already displays the requested log entry, use it.
3432 Otherwise display only the log entry in question.
3433 * vc-svn.el (vc-svn-print-log):
3434 * vc-mtn.el (vc-mtn-print-log):
3435 * vc-hg.el (vc-hg-state):
3436 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
3437 (vc-git-show-log-entry): Return t on success.
3438 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
3439 (vc-bzr-show-log-entry): Return t on success.
3440 * vc-rcs.el (vc-rcs-print-log):
3441 * vc-sccs.el (vc-sccs-print-log):
3442 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
3444 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
3446 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
3447 Add menus to the meta mode. (Bug#5043)
3449 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
3451 * ediff-init.el (ediff-event-key): Use event-to-character instead of
3454 * ediff.el (ediff-buffers-internal): Add unwind-protect.
3456 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
3458 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
3459 Berbain <raphael.berbain@gmail.com>.
3461 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
3463 (tramp-initial-end-of-output): New defconst.
3464 (tramp-methods, tramp-find-shell)
3465 (tramp-open-connection-setup-interactive-shell)
3466 (tramp-maybe-open-connection): Use it.
3467 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
3468 existence of `#' and `$'.
3470 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
3471 `tramp-initial-end-of-output'.
3473 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
3475 Get the background mode from the terminal for xterm, and set
3477 * term/xterm.el (xterm-set-background-mode): New function.
3478 (terminal-init-xterm): Use it in case xterm supports background
3479 color queries. Recompute faces after getting the background
3482 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
3484 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
3485 number comment back on its own line, for easier parsing.
3487 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3489 Make it work for non-file buffers (bug#5102).
3490 * doc-view.el (doc-view-current-cache-dir):
3491 Use doc-view-buffer-file-name rather than buffer-file-name.
3492 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
3494 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
3496 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
3497 author field is too short.
3499 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
3501 * vc-git.el (vc-git-print-log): Handle a limit argument.
3502 Display the short log in graph form and with labels.
3503 (vc-git-log-view-mode): Handle labels.
3505 Make vc-revert change VC state from 'added to 'unregistered.
3506 * vc-git.el (vc-git-revert): Call git reset first.
3508 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
3510 * net/newst-backend.el, net/newst-plainview.el:
3511 * net/newst-reader.el, net/newst-ticker.el:
3512 * net/newst-treeview.el, net/newsticker.el:
3513 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
3515 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
3517 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
3519 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
3520 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
3521 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
3522 Update annotation regexp.
3524 * simple.el (beginning-of-visual-line): Constrain to field
3525 boundaries (Bug#5106).
3527 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
3529 * xml.el (xml-substitute-numeric-entities): Move
3530 newsticker--decode-numeric-entities in newst-backend.el to
3531 xml-substitute-numeric-entities in xml.el. (Bug#5008)
3532 * net/newst-backend.el (newsticker--parse-generic-feed)
3533 (newsticker--parse-generic-items)
3534 (newsticker--decode-numeric-entities): Move
3535 newsticker--decode-numeric-entities in newst-backend.el to
3536 xml-substitute-numeric-entities in xml.el. (Bug#5008)
3538 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
3540 * progmodes/js.el (js--js-not): Add null to the list of values.
3542 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
3544 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
3546 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3548 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
3549 delimiter if it is at the end of the current line.
3550 (bibtex-generate-url-list): Fix docstring.
3552 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3554 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
3555 minibuffer's content with itself.
3556 Fold the confirm-after-completion case into the `confirm' case.
3557 (completion-pcm-word-delimiters): Add : and / to the delimiters.
3559 2009-12-06 Kevin Ryde <user42@zip.com.au>
3561 * ffap.el (ffap-rfc-path): Make this a defcustom since
3562 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
3564 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
3565 manuals, similar to existing setup for help-mode. (Bug#3913.)
3567 2009-12-05 Juri Linkov <juri@jurta.org>
3569 Save and restore dired buffer's point positions too. (Bug#4880)
3571 * dired.el (dired-save-positions): Return in the first element
3572 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
3574 (dired-restore-positions): First restore buffer's position.
3575 While restoring window's positions, check if window still displays
3576 the original buffer.
3578 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
3580 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
3583 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
3584 Make argument optional.
3586 * shell.el (shell): Require ansi-color (Bug#5113).
3588 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
3590 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
3592 2009-12-05 Alan Mackenzie <acm@muc.de>
3594 * progmodes/cc-mode.el (c-before-hack-hook)
3595 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
3596 `c-file-style' to work again. This reversion restores the current
3597 software to its state in Emacs 23.1. (Bug#4146)
3599 2009-12-05 Kevin Ryde <user42@zip.com.au>
3601 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
3602 comment-start-skip to comment-end-skip as comment (Bug#4781).
3604 2009-12-05 Juri Linkov <juri@jurta.org>
3606 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
3607 for virtual nodes. (Bug#4147)
3608 (Info-find-node-2): Set `Info-current-node-virtual' to nil
3609 when moving from a virtual node.
3610 (Info-mode-menu): Add `Info-virtual-index' to the menu.
3611 (Info-mode): Add `Info-virtual-index' to the docstring.
3613 2009-12-05 Eric Ludlam <zappo@gnu.org>
3615 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
3616 Describe project macro symbols.
3618 * cedet/semantic/complete.el (semantic-complete-do-completion):
3619 Don't call semantic-collector-current-exact-match.
3621 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
3622 ede-objects as targets.
3624 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
3625 a target's object list even if compiler vars are already in the
3628 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
3629 list of headers producing necessary macros.
3631 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3633 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
3634 track of the buffer position of the end of a BibTeX entry as this
3635 position may change during reformatting.
3636 (bibtex-format-entry): Remove whitespace before processing
3637 numerical fields so that we recognize the latter properly.
3638 (bibtex-reformat): Do not use push which changes the global value
3639 of bibtex-entry-format.
3640 (bibtex-field-braces-alist, bibtex-field-strings-alist)
3641 (bibtex-field-re-init): Replace only space characters by regexp
3643 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
3644 (bibtex-initialize): Also update bibtex-strings.
3645 (bibtex-kill-field): Preserve white space at end of entry.
3646 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
3647 Update bibtex-reference-keys.
3649 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3651 * minibuffer.el (completion-pcm--merge-try): Also consider placing
3652 point after a star, if that's the only place where modifications can
3655 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
3657 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
3660 2009-12-04 Juri Linkov <juri@jurta.org>
3662 * proced.el (proced): Call `(proced-update t)' to update process
3663 information instead of only running proced-post-display-hook.
3664 (proced-send-signal): Add a leading space to the buffer name
3665 " *Marked Processes*" to make this buffer ephemeral.
3667 2009-12-04 Juri Linkov <juri@jurta.org>
3669 * dired.el (dired-auto-revert-buffer): New defcustom.
3670 (dired-internal-noselect): Use it.
3672 2009-12-04 Juri Linkov <juri@jurta.org>
3674 Change roles of modes and functions in image-mode.el (Bug#5062).
3676 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
3677 in `auto-mode-alist'.
3678 (image-mode-previous-major-mode): New variable.
3679 (image-minor-mode-map): Rename from `image-mode-text-map'.
3680 (image-mode): Move graceful error-handling code from
3681 `image-minor-mode' to here. On errors call `image-mode-as-text'.
3682 (image-minor-mode): Remove all image-handling code.
3683 Replace `image-mode-text-map' with `image-minor-mode-map'.
3684 Check for `image-type' in mode-line format string.
3685 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
3686 (image-mode-as-text): New function with most code from
3688 (image-toggle-display-text): Move code that removes image
3689 properties from `image-toggle-display' to here.
3690 (image-toggle-display-image): New function with code that adds
3691 image properties copied from `image-toggle-display'.
3692 (image-toggle-display): Remove most code with leaving only code
3693 that toggles between `image-mode-as-text' and `image-mode'.
3695 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
3697 * net/newst-treeview.el
3698 (newsticker--treeview-list-highlight-start): Restored call to
3699 save-excursion: Selected item was stuck.
3700 (newsticker--treeview-list-select): New.
3701 (newsticker--treeview-item-show-text)
3702 (newsticker--treeview-item-show)
3703 (newsticker--treeview-item-update): Use new
3704 newsticker-treeview-item-mode.
3705 (newsticker-treeview-update): Keep current item.
3706 (newsticker-treeview-next-new-or-immortal-item): Doc change.
3707 (newsticker--treeview-first-feed): Doc change.
3708 (newsticker-treeview-list-menu)
3709 (newsticker-treeview-item-menu): Added menu entries.
3710 (newsticker-treeview-item-mode): New.
3712 * net/newst-backend.el (newsticker-customize): Delete other
3715 2009-12-04 Sam Steingold <sds@gnu.org>
3717 * log-view.el (log-view-mode-map): "q" calls quit-window,
3718 like in all the other non-self-insert buffers.
3720 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3723 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
3724 key decoding rather than do it manually via last-input-event +
3726 (term-exec): Use delete-and-extract-region.
3727 (term-handle-ansi-terminal-messages): Remove unused var `end'.
3728 (term-process-pager): Remove unused var `i'.
3729 (term-dynamic-simple-complete): Make obsolete.
3730 (serial-update-config-menu): Remove unused vars `y' and `str'.
3731 (term-update-mode-line): Remove unused var `temp'.
3733 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
3735 Limit the number of log entries displayed by default.
3736 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
3737 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
3738 using a prefix argument.
3740 2009-12-03 Glenn Morris <rgm@gnu.org>
3742 * progmodes/idlwave.el (class): Restore still useful declaration.
3744 2009-12-03 Alan Mackenzie <acm@muc.de>
3746 Enhance `c-parse-state' to run efficiently in "brace deserts".
3748 * progmodes/cc-mode.el (c-basic-common-init):
3749 Call c-state-cache-init.
3750 (c-neutralize-syntax-in-and-mark-CPP): Rename from
3751 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
3752 placing `category' properties value 'c-cpp-delimiter at its boundaries.
3754 * progmodes/cc-langs.el (c-before-font-lock-function):
3755 c-extend-and-neutralize-syntax-in-CPP has been renamed
3756 c-neutralize-syntax-in-and-mark-CPP.
3758 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
3759 with `category' properties now, not `syntax-table' ones.
3761 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
3762 enhanced (but slower) version of c-end-of-macro that won't land
3763 inside a literal or on another awkward character.
3764 (c-state-cache-too-far, c-state-cache-start)
3765 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
3766 (c-state-nonlit-pos-cache-limit, c-state-point-min)
3767 (c-state-point-min-lit-type, c-state-point-min-lit-start)
3768 (c-state-min-scan-pos, c-state-brace-pair-desert)
3769 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
3770 buffer local variables.
3771 (c-state-literal-at, c-state-lit-beg)
3772 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
3773 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
3774 (c-state-cache-top-paren, c-state-cache-after-top-paren)
3775 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
3776 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
3777 (c-renarrow-state-cache)
3778 (c-append-lower-brace-pair-to-state-cache)
3779 (c-state-push-any-brace-pair, c-append-to-state-cache)
3780 (c-remove-stale-state-cache)
3781 (c-remove-stale-state-cache-backwards, c-state-cache-init)
3782 (c-invalidate-state-cache-1, c-parse-state-1)
3783 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
3784 (c-parse-state): Enhance and refactor.
3785 (c-debug-parse-state): Amend to deal with all the new variables.
3787 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
3788 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
3789 modify to use category text properties rather than syntax-table ones.
3790 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
3791 to switch off/on the syntactic paren property of C++ template
3792 delimiters using the category property.
3793 (c-with-<->-as-parens-suppressed): Macro to invoke code with
3794 template delims suppressed.
3795 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
3796 New constant/macros which apply category properties to the start
3797 and end of preprocessor constructs.
3798 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
3799 "comment out" the syntactic value of characters in preprocessor
3801 (c-with-cpps-commented-out)
3802 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
3803 with characters in all or all but one preprocessor constructs
3806 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3808 * proced.el (proced-filter-alist): Use regexp-quote.
3810 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
3813 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
3814 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
3815 arguments. Expand `default-directory'.
3817 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
3818 the benefit of returning an expanded localname.
3819 (tramp-tramp-file-p): Handle the case NAME is not a string.
3821 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
3823 Add support for bzr shelve/unshelve.
3824 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
3825 (vc-bzr-extra-menu-map): New variables.
3826 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
3827 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
3828 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
3829 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
3830 (vc-bzr-dir-extra-headers): Display shelves.
3832 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
3834 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3836 * textmodes/bibtex.el (bibtex-complete-internal):
3837 Use completion-in-region.
3838 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
3840 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
3842 Support applying stashes. Improve UI.
3843 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
3844 (vc-git-stash-apply, vc-git-stash-pop)
3845 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
3846 (vc-git-stash-menu): New functions.
3847 (vc-git-stash-menu-map): New variable.
3848 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
3850 2009-12-03 Glenn Morris <rgm@gnu.org>
3852 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
3853 (vc-print-log-internal): Fix previous change.
3854 (vc-revert): Correct pluralization.
3856 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3858 * progmodes/make-mode.el (makefile-special-targets-list): No need for
3859 it to be an alist any more.
3860 (makefile-complete): Use completion-in-region.
3862 * progmodes/octave-mod.el (octave-complete-symbol):
3863 Use completion-in-region.
3866 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
3867 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
3868 (idlwave-complete-class): Don't quote lambda.
3869 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
3870 (idlwave-mode-map): Move initialization into declaration.
3871 (idlwave-action-and-binding): Use backquotes.
3872 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
3874 (idlwave-is-pointer-dereference): Remove unused var `pos'.
3875 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
3876 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
3877 `parts', and `all-parts'.
3878 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
3879 (idlwave-convert-xml-system-routine-info): Remove unused string
3881 (idlwave-display-user-catalog-widget): Use dolist.
3882 (idlwave-scanning-lib): Declare dynamically-scoped var.
3883 (idlwave-scan-library-catalogs): Remove unused var `flags'.
3884 (completion-highlight-first-word-only): Declare to silence bytecomp.
3885 (idlwave-popup-select): Tighten scope of `resp'.
3886 (idlwave-find-struct-tag): Remove unused var `beg'.
3887 (idlwave-after-load-rinfo-hook): Declare.
3888 (idlwave-sintern-class-info): Remove unused var `taglist'.
3889 (idlwave-find-class-definition): Remove unused var `list'.
3890 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
3891 (idlwave-what-module-find-class): Remove unused var `classes'.
3893 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
3895 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
3897 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3899 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
3900 buffers visited. Remove redundant current-buffer-saving.
3902 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3904 Use completion-in-buffer and remove uses of dynamic scoping.
3905 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
3906 (pascal-buffer-to-use, pascal-flag): Don't declare.
3907 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
3908 (pascal-get-completion-decl, pascal-keyword-completion):
3909 Add `pascal-str' argument, save-excursion,
3910 return the found completions, and don't filter with pascal-pred.
3911 (pascal-completion-cache): New var.
3912 (pascal-completion): Don't switch buffer any more (it was never
3913 necessary). Don't save-excursion any more (it's done by the called
3914 subroutines). Use a cache to avoid redundant computations.
3915 Use complete-with-action rather than pascal-completion-response and
3916 let it apply the predicate as well.
3917 (pascal-complete-word): Use completion-in-buffer when
3918 pascal-toggle-completions is nil.
3919 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
3921 (pascal-comp-defun): Don't change buffer any more.
3922 Use complete-with-action rather than pascal-completion-response and
3923 let it apply the predicate as well.
3924 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
3927 2009-12-02 Kenichi Handa <handa@m17n.org>
3929 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
3930 shape for all Indic scripts.
3932 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3934 Use completion-in-buffer.
3935 * wid-edit.el (widget-field-text-end): New function.
3936 (widget-field-value-get): Use it.
3937 (widget-string-complete, widget-file-complete)
3938 (widget-color-complete): Use it and completion-in-region.
3939 (widget-complete): Don't narrow the buffer.
3941 2009-12-02 Glenn Morris <rgm@gnu.org>
3943 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
3944 (rmail-select-summary): Use rmail-pop-to-buffer.
3945 * mail/rmailsum.el: Replace all pop-to-buffer calls with
3946 rmail-pop-to-buffer, to prevent horizontal splits.
3948 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
3949 save-excursion with save-current-buffer.
3950 Widen before searching. (Bug#5093)
3951 (diary-list-sexp-entries): Remove superfluous save-excursion.
3953 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
3955 * woman.el (woman-make-bufname): Handle man-pages with "." in the
3958 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
3960 * ido.el (ido-file-internal): Handle filenames at point that do
3961 not have a directory part. (Bug#5049)
3963 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
3965 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
3966 (mpc-songs-jump-to, mpc-resume): Doc fixes.
3968 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
3970 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
3971 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
3974 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3976 * comint.el (comint-insert-input): Ignore clicks to the right of
3977 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
3979 * vc.el (vc-print-log-internal): Don't wait for the process to
3980 terminate before setting up the major mode.
3982 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
3985 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
3988 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
3990 2009-12-01 Glenn Morris <rgm@gnu.org>
3992 * window.el (window--display-buffer-2): Fix previous changes.
3994 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
3996 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
3998 2009-12-01 Glenn Morris <rgm@gnu.org>
4000 * Makefile.in (ELCFILES): Add mpc.elc.
4002 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4006 2009-12-01 Glenn Morris <rgm@gnu.org>
4008 * window.el (window-to-use): Define for compiler.
4010 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
4011 consistent with others (no final period).
4013 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
4014 (rmail-mime-show): Downcase the encoding. (Bug#5070)
4016 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
4018 Make vc-print-log buttons work.
4019 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
4021 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
4023 * savehist.el (savehist-autosave-interval): Allow setting to nil
4024 through customize. (Bug#5056)
4026 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
4028 Fix references to jit-lock properties.
4029 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4030 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
4031 (perl-font-lock-special-syntactic-constructs):
4032 Quote jit-lock-defer-multiline property.
4034 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
4036 * vc-git.el (vc-git-registered): Call vc-git-root only once.
4038 2009-11-30 Juri Linkov <juri@jurta.org>
4040 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
4041 value `buffer' of `multi-isearch-next-buffer-current-function'.
4042 Use `(current-buffer)' when `buffer' is nil.
4043 (multi-isearch-next-buffer-from-list): Don't fallback to
4044 `(current-buffer)' when `buffer' is nil. (Bug#4947)
4046 2009-11-30 Juri Linkov <juri@jurta.org>
4048 * misearch.el (multi-isearch-read-buffers): Move canonicalization
4049 of buffers with `get-buffer' to `multi-isearch-buffers'.
4050 (multi-isearch-buffers, multi-isearch-buffers-regexp):
4051 Canonicalize BUFFERS with `get-buffer'. Doc fix.
4052 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
4053 FILES with `expand-file-name' converting relative file names
4054 to absolute. Doc fix. (Bug#4727)
4056 2009-11-30 Juri Linkov <juri@jurta.org>
4058 * misearch.el (multi-isearch-read-buffers)
4059 (multi-isearch-read-matching-buffers): New functions.
4060 (multi-isearch-buffers, multi-isearch-buffers-regexp):
4061 Use them in the `interactive' spec. Doc fix.
4062 (multi-isearch-read-files, multi-isearch-read-matching-files):
4064 (multi-isearch-files, multi-isearch-files-regexp):
4065 Use them in the `interactive' spec. Doc fix. (Bug#4725)
4067 2009-11-30 Juri Linkov <juri@jurta.org>
4069 * doc-view.el (doc-view-continuous):
4070 Rename from `doc-view-continuous-mode'.
4071 (doc-view-menu): Move "Toggle display" to the top.
4072 Add submenu "Continuous" with radio buttons "Off"/"On"
4073 and "Save as Default".
4074 (doc-view-scroll-up-or-next-page)
4075 (doc-view-scroll-down-or-previous-page)
4076 (doc-view-next-line-or-next-page)
4077 (doc-view-previous-line-or-previous-page): Rename
4078 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
4080 2009-11-30 Juri Linkov <juri@jurta.org>
4082 * comint.el (comint-mode-map): Rebind `M-r' from
4083 `comint-previous-matching-input' to
4084 `comint-history-isearch-backward-regexp'.
4085 Unbind `M-s' to allow global key binding `M-s'.
4086 Add menu items for `comint-history-isearch-backward' and
4087 `comint-history-isearch-backward-regexp'. (Bug#3746)
4089 2009-11-30 Juri Linkov <juri@jurta.org>
4091 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
4092 For def=recenter, replace `recenter' with `recenter-top-bottom'
4093 that is called with `this-command' and `last-command' let-bound
4094 to `recenter-top-bottom'. When the last `def' was not `recenter',
4095 set `recenter-last-op' to nil. (Bug#4981)
4097 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
4099 Minor cleanup and simplification.
4100 * filecache.el (file-cache-add-directory)
4101 (file-cache-add-directory-recursively)
4102 (file-cache-add-from-file-cache-buffer)
4103 (file-cache-delete-file-regexp, file-cache-delete-directory)
4104 (file-cache-files-matching-internal, file-cache-display): Use dolist.
4105 (file-cache-temp-minibuffer-message): Delete function.
4106 (file-cache-minibuffer-complete): Use minibuffer-message instead.
4108 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
4109 Don't signal an error when bumping into EOB in tr, s, or y.
4111 2009-11-29 Juri Linkov <juri@jurta.org>
4113 * startup.el (fancy-about-text): Fix wording of Guided Tour.
4116 * descr-text.el (describe-char-unidata-list): Use lowercase name
4117 for "Unicode name" like in other tags.
4119 2009-11-29 Juri Linkov <juri@jurta.org>
4121 * ediff-util.el (ediff-minibuffer-with-setup-hook):
4122 New compatibility macro.
4123 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
4125 2009-11-29 Juri Linkov <juri@jurta.org>
4127 Add defcustom to define the cycling order of `recenter-top-bottom'.
4130 * window.el (recenter-last-op): Doc fix.
4131 (recenter-positions): New defcustom.
4132 (recenter-top-bottom): Rewrite to use `recenter-positions'.
4133 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
4135 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
4137 Improve integration of Tramp and ange-ftp in eshell.
4139 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
4140 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
4141 (eshell/sudo): Flatten args. Let-bind `default-directory'.
4143 * eshell/esh-util.el (top): Require also Tramp when compiling.
4144 (eshell-directory-files-and-attributes): Check for FTP remote
4146 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
4147 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
4148 (eshell-file-attributes): Handle ".". Return `entry'.
4150 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
4151 (ange-ftp-directory-files-and-attributes)
4152 (ange-ftp-real-directory-files-and-attributes): New defuns.
4154 * net/tramp.el (tramp-maybe-open-connection): Open the remote
4155 shell with "exec" when possible. This prevents trailing prompts
4156 in `start-file-process'.
4158 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4160 Try and remove assumptions about point-min==1.
4161 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
4162 (rng-compute-mode-line-string): Show the validation percentage in
4163 terms of the narrowed text, not the widened text.
4164 (rng-do-some-validation): Don't catch internal errors when debugging.
4165 (rng-first-error): Simplify.
4166 (rng-after-change-function): Remove work around. AFAIK the bug has
4167 been fixed a while ago.
4169 * image-mode.el (image-minor-mode): Exit more gracefully when the image
4170 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
4172 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
4174 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
4175 `cd' doesn't always do it for us (bug#5067).
4177 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
4178 on 2009-10-25 as part of some other change (bug#5067).
4180 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4182 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4184 (byte-compile-warnings): Use byte-compile-warning-types.
4185 (byte-compile-save-excursion): Warn about use of set-buffer right
4186 after save-excursion.
4188 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
4189 the excursion as well.
4191 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
4193 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
4194 providing a Tramp related implementation of "su" and "sudo".
4195 (eshell-unix-initialize): Add "su" and "sudo".
4197 2009-11-27 Daiki Ueno <ueno@unixuser.org>
4199 * net/socks.el (socks-send-command): Convert binary request to
4200 unibyte before sending. This fixes mishandling of some port
4201 numbers such as 129.
4203 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4205 * help.el (describe-bindings-internal): Remove `interactive'.
4207 * man.el (Man-completion-table): Trim a terminating "(".
4208 Remove the space between name page a section.
4209 Add the command's description on the `help-echo' property.
4210 Remove `process-connection-type' binding since it's unused by
4212 Provide completion for the "<section> <name>" format as well.
4213 (Man-default-man-entry): Remove spurious var shadowing the argument.
4215 2009-11-26 Kevin Ryde <user42@zip.com.au>
4217 * log-view.el: Add "Keywords: tools", since its other keywords
4218 aren't in finder-known-keywords, and following vc.el.
4220 * sha1.el (sha1-string-external): default-directory "/" in case
4221 otherwise non-existent. process-connection-type pipe for touch of
4222 efficiency recommended by elisp manual. (An aside in Bug#3911.)
4224 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4226 Misc coding convention cleanups.
4227 * htmlfontify.el (hfy-init-kludge-hook): Rename from
4228 hfy-init-kludge-hooks.
4229 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
4230 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
4231 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
4233 (hfy-slant, hfy-weight): Use tables rather than code.
4234 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
4235 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
4236 (hfy-face-attr-for-class): Initialize `face-spec' directly.
4237 (hfy-face-to-css): Remove `nconc' with single arg.
4238 (hfy-p-to-face-lennart): Use `or'.
4239 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
4240 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
4241 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
4242 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
4243 (hfy-force-fontification): Use run-hooks.
4245 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
4247 Various minor fixes.
4248 * htmlfontify.el (hfy-default-header): Add toggle_invis since
4249 Javascript belongs in the header, not the body.
4250 (hfy-javascript): Remove.
4251 (hfy-fontify-buffer): Don't insert it any more.
4252 (hfy-face-at): Handle (face0 face1 face2) style face properties.
4253 Fix bug in invis handling when there were no invis props in a chunk.
4255 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
4259 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
4261 * finder.el (finder-mode-map): Add a menu.
4263 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
4265 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
4268 (verilog-leap-to-head, verilog-backward-token): Handle "disable
4269 fork" statement better.
4271 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
4273 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
4274 (verilog-delete-auto, verilog-delete-empty-auto-pair)
4275 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
4276 Reported by Clay Douglass.
4278 (verilog-auto-inst, verilog-auto-star-safe)
4279 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
4280 Fix removing "// Interfaces" when saving .* expansions. Reported by
4281 Pierre-David Pfister.
4283 2009-11-26 Glenn Morris <rgm@gnu.org>
4285 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
4288 2009-11-25 Johan Bockgård <bojohan@gnu.org>
4290 * vc-annotate.el (vc-annotate-revision-previous-to-line):
4291 Really use previous revision.
4293 2009-11-25 Kevin Ryde <user42@zip.com.au>
4295 * man.el (Man-completion-table): default-directory "/" in case
4296 doesn't otherwise exist. process-environment COLUMNS=999 so as
4297 not to truncate long names. process-connection-type pipe to avoid
4298 any chance of hitting the pseudo-tty TIOCGWINSZ.
4299 (man): completion-ignore-case t for friendliness and since man
4300 itself is case-insensitive on the command line.
4301 Further to Bug#3717.
4303 * arc-mode.el: Add "Keywords: files", so the details in its
4304 commentary can be reached from finder-by-keyword.
4305 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
4306 editing mode, but it's comms related and sgml-mode.el has "comm"
4308 * textmodes/bibtex-style.el: Add "Keywords: tex".
4309 * international/isearch-x.el, international/ja-dic-cnv.el:
4310 * international/ja-dic-utl.el, international/kkc.el:
4311 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
4313 2009-11-25 Juri Linkov <juri@jurta.org>
4315 * man.el (Man-completion-table): Modify regexp to include
4316 section names to completion strings. (Bug#3717)
4318 2009-11-25 Juri Linkov <juri@jurta.org>
4320 Search recursively in gzipped files. (Bug#4982)
4322 * progmodes/grep.el (grep-highlight-matches): Add new options
4323 `always' and `auto'. Doc fix.
4324 (grep-process-setup): Check `grep-highlight-matches' for
4325 `auto-detect' to determine the need to compute grep defaults.
4326 Move Windows/DOS specific --colors settings handling
4327 to `grep-compute-defaults'. Check `grep-highlight-matches'
4328 to get the value of "--color=".
4329 (grep-compute-defaults): Compute `grep-highlight-matches' when it
4330 has the value `auto-detect'. Move Windows/DOS specific settings
4331 from `grep-process-setup'.
4332 (zrgrep): New command with alias `rzgrep'.
4334 2009-11-25 Juri Linkov <juri@jurta.org>
4336 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
4337 to nil instead of switching off view-mode. (Bug#4896)
4339 2009-11-25 Juri Linkov <juri@jurta.org>
4341 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
4343 * mwheel.el (mwheel-scroll-up-function)
4344 (mwheel-scroll-down-function): New defvars.
4345 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
4346 `scroll-up', and `mwheel-scroll-down-function' instead of
4349 * doc-view.el (doc-view-scroll-up-or-next-page)
4350 (doc-view-scroll-down-or-previous-page): Add optional ARG.
4351 Use this ARG in the call to image-scroll-up/image-scroll-down.
4352 Change `interactive' spec to "P". Goto next/previous page only
4353 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
4354 SPC/DEL case). Doc fix.
4355 (doc-view-next-line-or-next-page)
4356 (doc-view-previous-line-or-previous-page): Rename arg to ARG
4358 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
4359 `doc-view-scroll-up-or-next-page', and buffer-local
4360 `mwheel-scroll-down-function' to
4361 `doc-view-scroll-down-or-previous-page'.
4363 2009-11-25 Juri Linkov <juri@jurta.org>
4365 Provide additional default values (directories at other Dired
4366 windows) via M-n in the minibuffer of some Dired commands.
4368 * dired-aux.el (dired-diff, dired-compare-directories)
4369 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
4370 `minibuffer-default' in `minibuffer-with-setup-hook'.
4371 (dired-dwim-target-directory): Find a window that displays Dired
4372 buffer instead of failing when the next window is not Dired.
4373 Use `get-window-with-predicate' to find for the next Dired window.
4374 (dired-dwim-target-defaults): New function.
4376 * ediff-util.el (ediff-read-file-name):
4377 Use `dired-dwim-target-defaults' to set `minibuffer-default'
4378 in `minibuffer-with-setup-hook'.
4380 2009-11-25 Juri Linkov <juri@jurta.org>
4382 Provide additional default values (file name at point or at the
4383 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
4385 * minibuffer.el (read-file-name-defaults): New function.
4386 (read-file-name): Reset `minibuffer-default' to nil when
4387 it duplicates initial input `insdef'.
4388 Bind `minibuffer-default-add-function' to lambda that
4389 calls `read-file-name-defaults' in `minibuffer-selected-window'.
4390 (minibuffer-insert-file-name-at-point): New command.
4392 * files.el (file-name-at-point-functions): New defcustom.
4393 (find-file-default): Remove defvar.
4394 (find-file-read-args): Don't use `find-file-default'.
4395 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
4396 to `read-file-name'.
4397 (find-file-literally): Use `read-file-name' with
4398 `confirm-nonexistent-file-or-buffer'.
4400 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
4402 * dired.el (dired-read-dir-and-switches):
4403 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
4404 to `read-file-name'.
4405 (dired-file-name-at-point): New function.
4406 (dired-mode): Add hook `dired-file-name-at-point' to
4407 `file-name-at-point-functions'.
4409 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4411 Really make the *Completions* window soft-dedicated (bug#5030).
4412 * window.el (window--display-buffer-2): Add `dedicated' argument.
4413 (display-buffer): Pass it when needed so the dedicated flag is set
4414 after calling set-window-buffer, which would otherwise reset it.
4416 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4418 * progmodes/meta-mode.el (meta-complete-symbol):
4419 * progmodes/etags.el (complete-tag):
4420 * mail/mailabbrev.el (mail-abbrev-complete-alias):
4421 Use completion-in-region.
4423 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
4424 (dabbrev-completion): Use completion-in-region.
4425 (dabbrev--abbrev-at-point): Simplify regexp.
4427 * abbrev.el (abbrev--before-point): Use word-motion functions
4428 if :regexp is not specified (bug#5031).
4430 * subr.el (string-prefix-p): New function.
4432 * man.el (Man-completion-cache): New var.
4433 (Man-completion-table): Use it.
4435 * vc.el (vc-print-log-internal): Make `limit' optional for better
4436 compatibility (e.g. with vc-annotate.el).
4438 2009-11-24 Kevin Ryde <user42@zip.com.au>
4440 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
4441 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
4443 * emacs-lisp/elint.el (elint-add-required-env): Better error message
4444 when .el source file not found or other error.
4446 2009-11-24 Markus Triska <markus.triska@gmx.at>
4448 * linum.el (linum-update-window): Ignore intangible (bug#4996).
4450 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4452 Handle the [back] button properly (bug#4979).
4453 * descr-text.el (describe-text-properties): Add a `buffer' argument.
4454 Use help-setup-xref, help-buffer, and with-help-window.
4455 (describe-char): Add `buffer' argument.
4456 Pass proper command to help-setup-xref. Don't meddle with
4457 help-xref-stack-item directly.
4458 (describe-text-category): Use with-help-window and help-buffer.
4460 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
4461 for the displayed buffer (bug#4887).
4463 * man.el (Man-completion-table): New function.
4466 2009-11-24 David Reitter <david.reitter@gmail.com>
4468 * vc-git.el (vc-git-registered): Use checkout directory (where
4469 .git is) rather than the file's directory and a relative path spec
4470 to work around a bug in git.
4472 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
4474 Improve handling of processes on remote hosts.
4476 * eshell/esh-util.el (eshell-path-env): New defvar.
4477 (eshell-parse-colon-path): New defun.
4478 (eshell-file-attributes): Use `eshell-parse-colon-path'.
4480 * eshell/esh-ext.el (eshell-search-path):
4481 Use `eshell-parse-colon-path'.
4482 (eshell-remote-command): Remove argument HANDLER.
4483 (eshell-external-command): Check for FTP remote connection.
4485 * eshell/esh-proc.el (eshell-gather-process-output):
4486 Use `file-truename', in order to start also symlinked files.
4487 Apply `start-file-process' instead of `start-process'.
4488 Shorten `command' to the local file name part.
4490 * eshell/em-cmpl.el (eshell-complete-commands-list):
4491 Use `eshell-parse-colon-path'.
4493 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
4495 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
4496 to `eshell-directory-change-hook'.
4498 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
4500 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
4501 because it could be enabled automatically if view-read-only is non-nil.
4503 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
4505 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
4508 2009-11-24 Glenn Morris <rgm@gnu.org>
4510 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
4511 deleted variable bookmark-bmenu-bookmark-column.
4513 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
4514 Move after definition of global-semantic-idle-tag-highlight-mode.
4516 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4518 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
4520 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
4522 * net/browse-url.el (browse-url-filename-alist): On Windows, add
4523 two slashes to the "file:" prefix.
4524 (browse-url-file-url): De-munge Cygwin filenames before passing
4525 them to Windows browser.
4526 (browse-url-default-windows-browser): Use call-process.
4528 2009-11-23 Juri Linkov <juri@jurta.org>
4530 Implement DocView Continuous mode. (Bug#4896)
4531 * doc-view.el (doc-view-continuous-mode): New defcustom.
4532 (doc-view-mode-map): Bind C-n/<down> to
4533 `doc-view-next-line-or-next-page', C-p/<up> to
4534 `doc-view-previous-line-or-previous-page'.
4535 (doc-view-next-line-or-next-page)
4536 (doc-view-previous-line-or-previous-page): New commands.
4538 2009-11-23 Juri Linkov <juri@jurta.org>
4540 Implement Isearch in comint input history. (Bug#3746)
4541 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
4542 `isearch-mode-hook'.
4543 (comint-history-isearch): New defcustom.
4544 (comint-history-isearch-backward)
4545 (comint-history-isearch-backward-regexp): New commands.
4546 (comint-history-isearch-message-overlay): New buffer-local variable.
4547 (comint-history-isearch-setup, comint-history-isearch-end)
4548 (comint-goto-input, comint-history-isearch-search)
4549 (comint-history-isearch-message, comint-history-isearch-wrap)
4550 (comint-history-isearch-push-state)
4551 (comint-history-isearch-pop-state): New functions.
4553 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
4555 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
4557 (tramp-handle-make-symbolic-link)
4558 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
4560 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
4561 (tramp-handle-process-file): Use it.
4563 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * window.el (move-to-window-line-last-op): Remove.
4566 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
4568 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
4570 Make M-r mirror the new cycling behavior of C-l.
4571 * window.el (move-to-window-line-last-op): New var.
4572 (move-to-window-line-top-bottom): New command.
4573 (global-map): Bind M-r move-to-window-line-top-bottom.
4575 2009-11-23 Sven Joachim <svenjoac@gmx.de>
4577 * dired-x.el (dired-guess-shell-alist-default):
4578 Support xz format. (Bug#4953)
4580 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
4582 * cedet/srecode/map.el (srecode-get-maps):
4583 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
4584 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
4585 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
4586 (semantic-toggle-decoration-style):
4587 * cedet/semantic/decorate/include.el
4588 (semantic-decoration-include-describe)
4589 (semantic-decoration-unknown-include-describe)
4590 (semantic-decoration-unparsed-include-describe)
4591 (semantic-decoration-all-include-summary):
4592 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
4593 * cedet/semantic/analyze/complete.el
4594 (semantic-analyze-possible-completions):
4595 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
4596 (semantic-show-unmatched-syntax-mode)
4597 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
4598 (semantic-highlight-func-mode):
4599 * cedet/semantic/util.el (semantic-describe-buffer):
4600 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
4601 (semantic-symref-find-tags-by-name)
4602 (semantic-symref-find-tags-by-regexp)
4603 (semantic-symref-find-tags-by-completion)
4604 (semantic-symref-find-file-references-by-name)
4605 (semantic-symref-find-text):
4606 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
4608 * cedet/semantic/scope.el (semantic-calculate-scope):
4609 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
4610 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
4611 (define-semantic-idle-service):
4612 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
4613 (semantic-complete-analyze-inline-idle):
4614 * cedet/semantic/analyze.el (semantic-analyze-current-context):
4615 * cedet/mode-local.el (describe-mode-local-bindings)
4616 (describe-mode-local-bindings-in-mode):
4617 * cedet/ede/make.el (ede-make-check-version):
4618 * cedet/ede/locate.el (ede-enable-locate-on-project):
4619 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
4620 (cedet-idutils-version-check):
4621 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
4622 (cedet-gnu-global-version-check):
4623 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
4624 (cedet-cscope-version-check): Use called-interactively-p instead
4627 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
4628 Use semantic-format-tag-prototype.
4630 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
4632 * emulation/viper-cmd.el: Use viper-last-command-char instead of
4633 last-command-char/last-command-event.
4634 (viper-prefix-arg-value): Do correct conversion of event-char for
4637 * emulation/viper-util.el, emulation/viper.el:
4638 Use viper-last-command-char instead of
4639 last-command-char/last-command-event.
4641 * ediff-init.el, ediff-mult.el, ediff-util.el:
4642 Replace last-command-char and last-command-event
4643 with (ediff-last-command-char) everywhere.
4645 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
4646 created in fundamental mode.
4648 * ediff.el (ediff-version): Revert the change of interactive-p to
4649 called-interactively-p.
4651 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
4653 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
4654 generation from word-movement command names.
4656 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
4658 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
4659 (semantic-complete-jump-local, semantic-complete-jump):
4660 Improve prompt string.
4662 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
4664 * cus-start.el (all): Add native condition for font-use-system-font.
4666 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
4668 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
4669 Correct the patch from 2009-11-18. (Bug#3910)
4671 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
4673 * progmodes/subword.el: Rename from lisp/subword.el.
4675 * subword.el: Rename to progmodes/subword.el.
4677 * Makefile.in (ELCFILES): Adapt to subword.el move.
4679 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4680 Stefan Monnier <monnier@iro.umontreal.ca>
4682 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
4683 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
4684 (bookmark-bmenu-show-filenames): Use push.
4685 (bookmark-bmenu-hide-filenames): Use local var instead of
4686 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
4687 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
4688 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
4689 filenames now that the bookmark names are always available.
4691 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4693 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
4694 (bookmark-search-pattern): Move and leave unbound.
4695 (bookmark-bmenu-mode-map): Change binding.
4696 (bookmark-read-search-input): Simplify.
4697 Don't use text-char-description. Don't error on non-char events.
4698 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
4699 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
4700 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
4701 Use a local var for the timer.
4702 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
4703 (i.e. bookmark-bmenu-search).
4705 2009-11-21 Glenn Morris <rgm@gnu.org>
4707 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
4709 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
4711 * net/browse-url.el (browse-url-default-windows-browser):
4712 Use cygstart for cygwin.
4714 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
4716 * bookmark.el: Formatting and doc fixes only:
4717 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
4718 (bookmark-bmenu-search): Wrap to fit within 80 columns.
4719 Minor grammar and punctuation fixes in doc string.
4720 (bookmark-read-search-input): Adjust to fit within 80 columns.
4722 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
4724 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4725 (c-backward-into-nomenclature): Adapt to subword renaming.
4727 * subword.el (subword-forward, subword-backward, subword-mark)
4728 (subword-kill, subword-backward-kill, subword-transpose)
4729 (subword-downcase, subword-upcase, subword-capitalize)
4730 (subword-forward-internal, subword-backward-internal):
4731 Rename from forward-subword, backward-subword, mark-subword,
4732 kill-subword, backward-kill-subword, transpose-subwords,
4733 downcase-subword, upcase-subword, capitalize-subword,
4734 forward-subword-internal, backward-subword-internal.
4736 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4738 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
4740 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
4742 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
4743 (bookmark-bmenu-filter-alist-by-regexp)
4744 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
4745 (bookmark-bmenu-search): New command.
4746 (bookmark-bmenu-mode-map): Bind it.
4748 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
4750 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
4752 * cedet/semantic/idle.el (define-semantic-idle-service)
4753 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
4755 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
4757 * progmodes/cc-cmds.el: declare-functioned forward-subword and
4758 backward-subword to quit the byte-compiler.
4760 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
4762 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
4764 * progmodes/cc-cmds.el (c-update-modeline)
4765 (c-forward-into-nomenclature, c-backward-into-nomenclature):
4766 Refer to subword.el functions instead of cc-subword.el.
4768 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
4769 subword.el functions instead of cc-subword.el.
4771 * progmodes/cc-subword.el: Rename to subword.el.
4772 * subword.el: Rename from progmodes/cc-subword.el.
4773 (subword-mode-map): Rename from c-subword-mode-map.
4774 (subword-mode): Rename from c-subword-mode.
4775 (global-subword-mode): New global minor mode.
4776 (forward-subword): Rename from c-forward-subword.
4777 (backward-subword): Rename from c-backward-subword.
4778 (mark-subword): Rename from c-mark-subword.
4779 (kill-subword): Rename from c-kill-subword.
4780 (backward-kill-subword): Rename from c-backward-kill-subword.
4781 (transpose-subwords): Rename from c-tranpose-subword.
4782 (downcase-subword): Rename from c-downcase-subword.
4783 (capitalize-subword): Rename from c-capitalize-subword.
4784 (forward-subword-internal): Rename from c-forward-subword-internal.
4785 (backward-subword-internal): Rename from c-backward-subword-internal.
4787 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
4789 * vc.el (vc-deduce-fileset): Allow non-state changing operations
4790 from a dired buffer.
4791 (vc-dired-deduce-fileset): New function.
4792 (vc-root-diff, vc-print-root-log): Use it.
4794 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
4795 nil LIMIT argument to vc-print-log-internal.
4797 2009-11-20 Glenn Morris <rgm@gnu.org>
4799 * Makefile.in (ELCFILES): Regenerate.
4801 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
4803 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
4805 * cedet/semantic.el: Enable idle-mode menu items only if
4806 global-semantic-idle-scheduler-mode is enabled.
4807 (semantic-default-submodes): Doc fix.
4809 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
4810 When turning off, disable other idle modes.
4812 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
4814 * calc/calc.el (calc-set-mode-line):
4815 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
4816 (math-format-number): Rename `math-format-complement-signed' to
4817 `math-format-twos-complement'.
4819 * calc/calc-bin.el (math-format-twos-complement): Rename from
4820 math-format-complement-signed.
4821 (calc-radix): Rename `calc-complement-signed-mode' to
4822 `calc-twos-complement-mode'.
4823 (calc-octal-radix, calc-hex-radix): Add an argument for
4826 * calc/calc-embed.el (calc-embedded-mode-vars):
4827 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
4829 * calc/calc-ext.el (calc-init-extensions):
4830 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
4831 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
4833 * calc/calc-units.el (math-build-units-table-buffer):
4834 Let `calc-twos-complement-mode' be nil.
4836 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
4839 * calc/calc-vec.el (calcFunc-vunpack):
4840 * calc/calc-aent.el (calc-do-calc-eval):
4841 * calc/calc-forms.el (math-format-date):
4842 * calc/calc-graph.el (calc-graph-plot):
4843 * calc/calc-math.el (math-use-emacs-fn):
4844 * calc/calccomp.el (math-compose-expr):
4845 Let `calc-twos-complement-mode' be nil.
4847 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4849 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
4850 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
4851 * minibuffer.el (completion-in-region-functions): New hook.
4852 (completion-in-region): New function.
4853 * emacs-lisp/lisp.el (lisp-complete-symbol):
4854 * pcomplete.el (pcomplete-std-complete): Use it.
4856 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4858 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
4859 (latex-complete-alist): New vars.
4860 (latex-string-prefix-p, latex-complete-bibtex-keys)
4861 (latex-complete-envnames, latex-complete-refkeys)
4862 (latex-complete-data): New functions.
4863 (latex-complete, latex-indent-or-complete): New commands.
4865 * window.el (display-buffer-mark-dedicated): New var.
4866 (display-buffer): Obey it.
4867 * minibuffer.el (minibuffer-completion-help): Use it.
4869 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
4871 * filecache.el (file-cache-add-file): Use push and cons.
4872 (file-cache-delete-file-regexp): Use push.
4873 (file-cache-complete): Use completion-in-region.
4875 * simple.el (with-wrapper-hook): Fix thinko.
4877 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
4878 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
4879 Use with-current-buffer and string-to-number.
4880 (hfy-fallback-colour-values): Use assoc-string.
4881 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
4882 (hfy-face-at): Remove unused var `found-face'.
4883 (hfy-compile-stylesheet): Remove unused var `css'.
4884 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
4886 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
4887 Use with-current-buffer.
4888 (hfy-text-p): Use expand-file-name and fewer setq.
4890 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
4892 * htmlfontify.el, hfy-cmap.el: New files.
4894 2009-11-19 Juri Linkov <juri@jurta.org>
4896 * minibuffer.el (completions-format): New defcustom.
4897 (completion--insert-strings): Implement vertical format.
4899 * simple.el (switch-to-completions): Move point to the first
4900 completion when point was at the beginning of the buffer.
4902 2009-11-19 Juri Linkov <juri@jurta.org>
4904 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
4906 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
4908 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
4910 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
4911 (mail-signature): Change default to t.
4912 (mail-from-style): Deprecate `system-default' value.
4913 (mail-insert-from-field): For default value of mail-from-style,
4914 default to `angles' unless `angles' needs quoting and `parens'
4916 (mail-citation-prefix-regexp): Use citation regexp from
4919 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
4921 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
4922 Set variables for computing the prompt for reading password.
4924 2009-11-19 Glenn Morris <rgm@gnu.org>
4926 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
4928 * textmodes/flyspell.el (sgml-lexical-context): Declare.
4930 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
4931 (newsticker-treeview-listwindow-height): Fix custom type.
4933 2009-11-19 Kenichi Handa <handa@m17n.org>
4935 * descr-text.el (describe-char-padded-string): Compose with TAB
4936 only if there's a font for CH.
4937 (describe-char): Fix the condition for detecting a trivial composition.
4939 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
4941 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
4942 more accurate version of the regexp. (Bug#3910)
4944 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
4946 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
4948 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
4950 * font-setting.el (font-use-system-font): Declare for byte-compiler.
4951 (font-setting-change-default-font): Fix typo in docstring.
4953 2009-11-18 Alan Mackenzie <acm@muc.de>
4955 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
4957 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
4959 * font-setting.el (font-use-system-font): Move ...
4961 * cus-start.el (all): ... to here.
4963 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
4965 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
4966 Don't set `ad-return-value' if `ad-do-it' doesn't.
4968 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
4971 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
4973 * menu-bar.el: Put "Use system font" in Option-menu.
4974 (menu-bar-options-save): Add font-use-system-font.
4976 * loadup.el: If feature system-font-setting or font-render-setting is
4977 there, load font-setting.
4979 * Makefile.in (ELCFILES): Add font-settings.el.
4980 * font-setting.el: New file.
4982 2009-11-17 Glenn Morris <rgm@gnu.org>
4984 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
4986 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
4987 Preserve point in the list buffer. (Bug#4939)
4989 (newsticker--treeview-list-update-highlight)
4990 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
4992 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
4994 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
4997 * calc/calc-ext.el (calc-init-extensions): Remove references to
5000 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
5002 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
5003 * calc/calc-help.el (calc-b-prefix-help): Remove references to
5006 2009-11-16 Kevin Ryde <user42@zip.com.au>
5008 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
5009 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
5011 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
5012 (lm-keywords-list): Allow comma-only separator like "foo,bar".
5013 Ignore trailing spaces by omit-nulls to split-string (fixing
5014 regression from Emacs 21 due to the incompatible split-string
5015 change). (Bug #4928.)
5017 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
5019 * vc.el (vc-log-show-limit): Default to 2000.
5020 (vc-print-log-internal): Insert buttons to request more entries
5021 when limiting the output.
5023 * vc-sccs.el (vc-sccs-print-log):
5024 * vc-rcs.el (vc-rcs-print-log):
5025 * vc-cvs.el (vc-cvs-print-log):
5026 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
5029 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
5031 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
5032 error when `tramp-gvfs-dbus-event-vector' is set.
5033 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
5035 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5037 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
5039 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
5041 * net/dbus.el (dbus-unregister-service): New defun.
5042 (dbus-register-property): Register the handlers of
5043 "org.freedesktop.DBus.Properties" for SERVICE.
5044 (dbus-property-handler): Fix docstring.
5046 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5048 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
5049 Quote doc string reference in defvaralias as it is not in special form.
5050 (byte-compile-output-docform): Doc fix.
5052 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
5054 * calc/calc.el (math-2-word-size, math-half-2-word-size)
5055 (calc-complement-signed-mode): New variables.
5056 (calc-set-mode-line): Add indicator for twos-complements.
5057 (math-format-number): Format twos-complement notation.
5059 * calc/calc-bin.el (calc-word-size): Reset the variables
5060 `math-2-word-size' and `math-half-2-word-size'.
5061 (math-format-complement-signed, math-symclip, calcFunc-symclip)
5062 (calc-symclip): New functions.
5064 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
5066 * calc/calc-embed.el (calc-embedded-mode-vars):
5067 Add `calc-complement-signed-mode' to the list of modes.
5069 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
5070 (calc-b-oper-keys): Add `calc-symclip' to list.
5072 * calc/calc-ext.el (math-read-number-fancy): Read complement
5074 (calc-init-extensions): Add binding for `calc-symclip'.
5075 Add autoload for `calcFunc-symclip' and `calc-symclip'.
5077 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
5079 (calc-modes-menu): Add item for twos complement mode.
5081 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
5083 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
5085 * register.el (jump-to-register, insert-register): Handle Semantic
5086 tags. From commented-out advice in semantic/senator.el.
5088 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
5090 * vc.el (vc-log-show-limit): New variable.
5091 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
5092 when using a prefix argument.
5093 (vc-print-log-internal): Add new argument LIMIT.
5095 * vc-svn.el (vc-svn-print-log):
5096 * vc-mtn.el (vc-mtn-print-log):
5097 * vc-hg.el (vc-hg-print-log):
5098 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
5099 pass it to the log command when set. Make the BUFFER argument
5102 * vc-sccs.el (vc-sccs-print-log):
5103 * vc-rcs.el (vc-rcs-print-log):
5104 * vc-git.el (vc-git-print-log):
5105 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
5106 ignore it. Make the BUFFER argument non-optional
5108 * bindings.el (mode-line-buffer-identification): Do not purecopy.
5110 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
5112 * dired.el (dired-mode-map): Move encryption items to "Operate"
5115 * strokes.el (strokes-update-window-configuration): Make strokes
5116 buffer current before erasing (Bug#4906).
5118 * cedet/semantic/idle.el (semantic-idle-summary-mode)
5119 (semantic-idle-summary-mode): Define using define-minor-mode
5120 instead of define-semantic-idle-service.
5121 (semantic-idle-summary-mode): New function.
5122 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
5123 that mouse motion does not reset the echo area.
5125 2009-11-15 Juri Linkov <juri@jurta.org>
5127 * simple.el (set-mark-default-inactive): Add :type, :group
5128 and :version. (Bug#4876)
5130 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
5132 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
5133 (archive-unique-fname): ... here. (Bug#4929)
5135 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5137 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
5140 * novice.el (disabled-command-function): Add useful args.
5141 Setup the help buffer so that [back] works.
5142 Remove redundant call to help-mode.
5143 (disabled-command-function): Use `case'.
5144 (en/disable-command): New function extracted from enable-command.
5145 (enable-command, disable-command): Use it.
5147 2009-11-14 Glenn Morris <rgm@gnu.org>
5149 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
5150 constants. (Bug#4913)
5152 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
5154 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5156 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
5157 defined in C that have no doc-strings. (Bug#1063)
5159 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
5161 * cus-edit.el (data, files):
5162 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
5164 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
5166 * simple.el (shell-command): Doc fix (Bug#4891).
5168 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
5170 2009-11-14 Glenn Morris <rgm@gnu.org>
5172 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
5173 statements for vc-diff, emerge-quit, and rmail-cease-edit.
5174 If they are already loaded, eval-after-load will do the right thing.
5176 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
5179 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
5181 * simple.el (x-selection-owner-p): Declare.
5182 (read-mail-command): Use custom radio type rather than choice.
5183 (completion-no-auto-exit): Doc fix.
5185 * custom.el (defgroup):
5186 * epg-config.el (epg): Doc fixes.
5188 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
5190 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
5191 * international/ccl.el (define-ccl-program): Do not purecopy the
5192 docstring, defconst does it anyway.
5194 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5196 * add-log.el (add-change-log-entry): Avoid displaying the changelog
5199 * x-dnd.el (x-dnd-maybe-call-test-function):
5200 * window.el (split-window-vertically):
5201 * whitespace.el (whitespace-help-on):
5202 * vc-rcs.el (vc-rcs-consult-headers):
5203 * userlock.el (ask-user-about-lock-help)
5204 (ask-user-about-supersession-help):
5205 * type-break.el (type-break-force-mode-line-update):
5206 * time-stamp.el (time-stamp-conv-warn):
5207 * terminal.el (te-set-output-log, te-more-break, te-filter)
5208 (te-sentinel, terminal-emulator):
5209 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
5210 (term-write-input-ring, term-check-source, term-start-output-log):
5211 (term-display-buffer-line, term-dynamic-list-completions):
5212 (term-ansi-make-term, serial-term):
5213 * subr.el (selective-display):
5214 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
5215 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
5216 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
5217 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
5218 (speedbar-remove-localized-speedbar-support)
5219 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
5220 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
5221 (speedbar-buffers-line-directory):
5222 * simple.el (shell-command-on-region, append-to-buffer)
5223 (prepend-to-buffer):
5224 * shadowfile.el (shadow-save-todo-file):
5225 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
5226 (scroll-bar-maybe-set-window-start):
5227 * sb-image.el (speedbar-image-dump):
5228 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
5229 (load-save-place-alist-from-file):
5230 * ps-samp.el (ps-print-message-from-summary):
5231 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
5232 (ps-background-image, ps-begin-job, ps-do-despool):
5233 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
5234 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
5235 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
5236 (pr-call-process, pr-file-list, pr-interface-save):
5237 * novice.el (disabled-command-function)
5238 (enable-command, disable-command):
5239 * mouse.el (mouse-buffer-menu-alist):
5240 * mouse-copy.el (mouse-kill-preserving-secondary):
5241 * macros.el (kbd-macro-query):
5242 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
5243 * informat.el (batch-info-validate):
5244 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
5245 * hippie-exp.el (try-expand-dabbrev-visible):
5246 * help-mode.el (help-make-xrefs):
5247 * help-fns.el (describe-variable):
5248 * generic-x.el (bat-generic-mode-run-as-comint):
5249 * finder.el (finder-mouse-select):
5250 * find-dired.el (find-dired-sentinel):
5251 * filesets.el (filesets-file-close):
5252 * files.el (list-directory):
5253 * faces.el (list-faces-display, describe-face):
5254 * facemenu.el (list-colors-display):
5255 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
5256 * epg.el (epg--process-filter, epg-cancel):
5257 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
5258 (epa--read-signature-type):
5259 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
5260 (emerge-file-names):
5261 * ehelp.el (electric-helpify):
5262 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
5263 * ediff-vers.el (rcs-ediff-view-revision):
5264 * ediff-util.el (ediff-setup):
5265 * ediff-mult.el (ediff-append-custom-diff):
5266 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
5268 * echistory.el (Electric-command-history-redo-expression):
5269 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5270 * disp-table.el (describe-display-table):
5271 * dired.el (dired-find-buffer-nocreate):
5272 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
5273 * dabbrev.el (dabbrev--same-major-mode-p):
5274 * chistory.el (list-command-history):
5275 * apropos.el (apropos-documentation):
5276 * allout.el (allout-obtain-passphrase):
5277 (allout-copy-exposed-to-buffer):
5278 (allout-verify-passphrase): Use with-current-buffer.
5280 2009-11-13 Glenn Morris <rgm@gnu.org>
5282 * Makefile.in (ELCFILES): Regenerate.
5284 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
5286 * net/dbus.el (dbus-registered-objects-table): Rename from
5287 `dbus-registered-functions-table', because it contains also properties.
5288 (dbus-unregister-object): Unregister also properties.
5289 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5290 Use a timeout of 500 msec, in order to not block.
5291 (dbus-register-property, dbus-property-handler): New defuns.
5293 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5295 * simple.el (minibuffer-default-add-completions): Drop deprecated
5298 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
5300 * textmodes/artist.el (artist-mouse-choose-operation):
5301 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
5302 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
5303 (artist-compute-up-event-key): New function.
5304 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
5306 2009-11-13 Kenichi Handa <handa@m17n.org>
5308 * language/japan-util.el: Make sure that the value of jisx0208
5309 property is jisx0208 character.
5311 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
5313 * international/mule.el (auto-coding-regexp-alist): Only purecopy
5314 car or each item, not the whole list.
5316 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5318 * minibuffer.el (minibuffer-completion-help):
5319 Use minibuffer-hide-completions.
5321 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
5323 * dired.el (dired-save-positions, dired-restore-positions): New funs.
5324 (dired-revert): Use them (bug#4880).
5326 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
5328 * tooltip.el (tooltip-frame-parameters): Undo previous change.
5330 2009-11-12 Juri Linkov <juri@jurta.org>
5332 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
5334 (find-file-literally-at-point): Alias of `ffap-literally'.
5336 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
5338 * textmodes/ispell.el (ispell-skip-region-alist):
5339 * textmodes/css-mode.el (auto-mode-alist):
5340 * progmodes/compile.el (auto-mode-alist):
5341 * international/mule.el (ctext-non-standard-encodings-alist)
5342 (ctext-non-standard-encodings-regexp):
5343 * simple.el (shell-command-switch, text-read-only):
5344 * replace.el (occur-mode-map):
5345 * paths.el (rmail-file-name):
5346 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
5347 * find-file.el (ff-special-constructs):
5348 * files.el (file-name-handler-alist):
5349 * composite.el: Purecopy strings.
5351 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
5353 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
5355 * widget.el (define-widget): Purecopy the docstring.
5356 * international/mule-cmds.el (charset): Do not purecopy the
5357 docstring here, define-widget does it.
5359 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
5360 * textmodes/bibtex-style.el (auto-mode-alist):
5361 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5362 * progmodes/compile.el (compile-command):
5363 * language/korea-util.el (default-korean-keyboard):
5364 * international/mule-conf.el (file-coding-system-alist):
5365 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
5366 * tooltip.el (tooltip-frame-parameters):
5367 * newcomment.el (comment-end, comment-padding):
5368 * dired.el (dired-trivial-filenames):
5369 * comint.el (comint-file-name-prefix): Purecopy initial values.
5371 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
5373 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
5374 (tramp-advice-minibuffer-electric-tilde): Unload advices via
5376 (tramp-advice-make-auto-save-file-name)
5377 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
5378 after removing the advice.
5380 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
5382 * progmodes/grep.el (grep-regexp-alist):
5383 * international/mule-cmds.el (iso-2022-control-alist):
5384 * emacs-lisp/timer.el (timer-duration-words):
5385 * subr.el (version-separator, version-regexp-alist):
5386 * minibuffer.el (completion-styles-alist):
5387 * faces.el (face-attribute-name-alist, list-faces-sample-text):
5388 Change defvars to defconsts.
5390 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
5391 * loadup.el ("international/mule-conf"): Load the byte compiled version.
5392 * international/mule-conf.el: Allow to be byte compiled.
5394 * international/mule.el (define-charset): Purecopy props.
5395 (load-with-code-conversion): Purecopy doc string and file name.
5396 (put-charset-property): Purecopy strings.
5397 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
5399 * international/mule-cmds.el (register-input-method): Purecopy arguments.
5400 (define-char-code-property): Correctly purecopy the table.
5402 * international/ccl.el (define-ccl-program): Purecopy the docstring.
5404 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
5406 * subr.el (add-hook): Purecopy strings.
5407 (eval-after-load): Purecopy load-history-regexp and the form.
5409 * custom.el (custom-declare-group): Purecopy load-file-name.
5411 * subr.el (menu-bar-separator): New defconst.
5412 * net/eudc.el (eudc-tools-menu):
5413 * international/mule-cmds.el (set-coding-system-map)
5415 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
5416 * vc-hooks.el (vc-menu-map):
5417 * replace.el (occur-mode-map):
5418 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
5419 (menu-bar-edit-menu, menu-bar-goto-menu)
5420 (menu-bar-custom-menu, menu-bar-showhide-menu)
5421 (menu-bar-options-menu, menu-bar-tools-menu)
5422 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
5423 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
5424 (menu-bar-help-menu):
5425 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
5426 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
5428 * term/x-win.el (x-gtk-stock-map):
5429 * progmodes/vera-mode.el (auto-mode-alist):
5430 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5431 (inferior-lisp-program, inferior-lisp-load-command):
5432 * progmodes/hideshow.el (hs-special-modes-alist):
5433 * progmodes/gud.el (same-window-regexps):
5434 * progmodes/grep.el (grep-program, find-program, xargs-program):
5435 * net/telnet.el (same-window-regexps):
5436 * net/rlogin.el (same-window-regexps):
5437 * language/ethiopic.el (font-ccl-encoder-alist):
5438 * vc-sccs.el (vc-sccs-master-templates):
5439 * vc-rcs.el (vc-rcs-master-templates):
5440 * subr.el (cl-assertion-failed):
5441 * simple.el (next-error-overlay-arrow-position):
5442 * lpr.el (lpr-command):
5443 * locate.el (locate-ls-subdir-switches):
5444 * info.el (same-window-regexps, info)
5445 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
5446 * image-mode.el (image-mode, auto-mode-alist):
5447 * hippie-exp.el (hippie-expand-ignore-buffers):
5448 * format.el (format-alist):
5449 * find-dired.el (find-ls-subdir-switches, find-grep-options)
5451 * facemenu.el (facemenu-keybindings):
5452 * dired.el (dired-listing-switches, dired-chown-program):
5453 * diff.el (diff-switches, diff-command):
5454 * cus-edit.el (same-window-regexps):
5455 * bindings.el (mode-line-mule-info)
5456 (mode-line-buffer-identification): Purecopy strings.
5458 2009-11-11 Juri Linkov <juri@jurta.org>
5460 * simple.el (dired-get-filename) <declare-function>:
5461 Tell the byte-compiler about dired-get-filename.
5462 (shell-command): In Dired mode, get filename from the current line
5463 as the default value.
5465 2009-11-10 Glenn Morris <rgm@gnu.org>
5467 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
5468 * calendar/holidays.el, progmodes/cperl-mode.el:
5469 Update x-popup-menu declarations.
5471 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
5472 (list-load-path-shadows): Use dolist.
5473 (list-load-path-shadows): Use with-current-buffer.
5475 2009-11-10 Juri Linkov <juri@jurta.org>
5477 * minibuffer.el (read-file-name): Support a list of default values
5478 in `default-filename'. Use the first file name where only one
5479 element is required. Doc fix.
5481 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
5483 * net/dbus.el (dbus-unregister-object): Release service, if no
5484 other method is registered for it.
5486 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
5488 * bookmark.el (bookmark-completing-read): Sort bookmark names if
5489 bookmark-sort-flag is non-nil (Bug#4653).
5491 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
5493 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
5494 the progress reporter entirely.
5496 * emulation/cua-base.el: Add CUA property to some CC mode commands
5499 2009-11-08 Kevin Ryde <user42@zip.com.au>
5501 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
5502 at end of sentence (Bug#4818).
5504 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
5506 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5507 Handle "see declaration of" MSFT statements (Bug#4100).
5509 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
5511 * net/tramp.el (tramp-advice-make-auto-save-file-name)
5512 (tramp-advice-file-expand-wildcards): Unload via
5515 * net/trampver.el: Update release number.
5517 2009-11-08 Kevin Ryde <user42@zip.com.au>
5519 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
5522 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
5524 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
5525 in order to keep context in SELinux.
5527 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
5529 * dired-aux.el (dired-query): Place cursor in echo area and allow
5532 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
5533 menu item if not on a directory (Bug#4701).
5535 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
5537 Sync with Tramp 2.1.17.
5539 * net/tramp.el (tramp-handle-copy-directory): Don't use
5540 `file-remote-p' (due to compatibility).
5542 * net/tramp-compat.el (tramp-compat-copy-directory)
5543 (tramp-compat-delete-directory): New defuns.
5545 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
5546 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
5547 `tramp-compat-delete-directory'.
5549 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5550 (tramp-smb-handle-delete-directory): Use
5551 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
5553 * net/trampver.el: Update release number.
5555 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
5557 * tar-mode.el (tar-copy): Call write-region on the right buffer
5560 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
5561 by hand, if necessary (Bug#4878).
5563 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
5565 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
5566 align size column (Bug#4839).
5568 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
5571 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
5573 * progmodes/ld-script.el (auto-mode-alist):
5574 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
5576 * cus-face.el (custom-declare-face): Purecopy face spec.
5578 2009-11-06 Kenichi Handa <handa@m17n.org>
5580 * international/uni-bidi.el: Re-generated.
5581 * international/uni-category.el: Re-generated.
5582 * international/uni-combining.el: Re-generated.
5583 * international/uni-mirrored.el: Re-generated.
5585 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
5587 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
5588 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
5589 (tex-start-options, slitex-run-command, latex-run-command)
5590 (tex-run-command, tex-directory):
5591 * textmodes/ispell.el (ispell-html-skip-alists)
5592 (ispell-tex-skip-alists, ispell-tex-skip-alists):
5593 * textmodes/fill.el (adaptive-fill-first-line-regexp):
5594 (adaptive-fill-regexp):
5595 * textmodes/dns-mode.el (auto-mode-alist):
5596 * progmodes/python.el (interpreter-mode-alist):
5597 * progmodes/etags.el (tags-compression-info-list):
5598 * progmodes/etags.el (tags-file-name):
5599 * net/browse-url.el (browse-url-galeon-program)
5600 (browse-url-firefox-program):
5601 * mail/sendmail.el (mail-signature-file)
5602 (mail-citation-prefix-regexp):
5603 * international/mule-conf.el (eight-bit):
5604 * international/latexenc.el (latex-inputenc-coding-alist):
5605 * international/fontset.el (x-pixel-size-width-font-regexp):
5606 * emacs-lisp/warnings.el (warning-type-format):
5607 * emacs-lisp/trace.el (trace-buffer):
5608 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
5609 (emacs-lisp-mode-map):
5610 * calendar/holidays.el (holiday-solar-holidays)
5611 (holiday-bahai-holidays, holiday-islamic-holidays)
5612 (holiday-christian-holidays, holiday-hebrew-holidays)
5613 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
5614 (hebrew-holidays-1, holiday-oriental-holidays)
5615 (holiday-general-holidays):
5616 * x-dnd.el (x-dnd-known-types):
5617 * tool-bar.el (tool-bar):
5618 * startup.el (site-run-file):
5619 * shell.el (shell-dumb-shell-regexp):
5620 * rfn-eshadow.el (file-name-shadow-tty-properties)
5621 (file-name-shadow-properties):
5622 * paths.el (remote-shell-program, news-directory):
5623 * mouse.el ([C-down-mouse-3]):
5624 * menu-bar.el (menu-bar-tools-menu):
5625 * jka-cmpr-hook.el (jka-compr-load-suffixes)
5626 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
5627 (jka-compr-compression-info-list):
5628 * isearch.el (search-whitespace-regexp):
5629 * image-file.el (image-file-name-extensions):
5630 * find-dired.el (find-ls-option):
5631 * files.el (directory-listing-before-filename-regexp)
5632 (directory-free-space-args, insert-directory-program)
5633 (list-directory-brief-switches, magic-fallback-mode-alist)
5634 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
5635 (automount-dir-prefix):
5636 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
5637 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
5638 (face-font-registry-alternatives, face-font-registry-alternatives)
5639 (face-font-family-alternatives):
5640 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
5641 (facemenu-foreground-menu, facemenu-face-menu):
5642 * epa-hook.el (epa-file-name-regexp):
5643 * dnd.el (dnd-protocol-alist):
5644 * textmodes/rst.el (auto-mode-alist):
5645 * button.el (default-button): Purecopy strings.
5647 2009-11-06 Glenn Morris <rgm@gnu.org>
5649 * Makefile.in (ELCFILES): Update.
5651 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5653 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
5654 * emacs-lisp/levents.el: Move to obsolete/levents.el.
5656 * nxml/xsd-regexp.el (xsdre-gen-categories):
5657 * nxml/xmltok.el (xmltok-parse-entity):
5658 * nxml/rng-parse.el (rng-parse-validate-file):
5659 * nxml/rng-maint.el (rng-format-manual)
5660 (rng-manual-output-force-new-line):
5661 * nxml/rng-loc.el (rng-save-schema-location-1):
5662 * nxml/rng-cmpct.el (rng-c-parse-file):
5663 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5664 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
5666 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
5668 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
5669 Remove extra save-excursions and make-variable-buffer-local's.
5670 Suggested by Stefan Monnier.
5672 (verilog-getopt-file, verilog-module-inside-filename-p)
5673 (verilog-set-define): Merge GNU 1.35 and repair changes from
5674 switching to using with-current-buffer.
5676 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
5677 being treated as a number and confusing AUTORESET.
5678 Reported by Dan Dever.
5680 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
5681 Add verilog-auto-ignore-concat to fix backward compatibility with
5682 older verilog-modes. Reported by Dan Katz.
5684 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
5685 containing closing anchors "...$".
5687 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
5688 Reported by Wade Smith.
5690 (verilog-batch-execute-func): Comment on function usage.
5692 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
5694 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
5697 (verilog-label-re, verilog-calc-1): Support proper indent of named
5700 (verilog-backward-token, verilog-basic-complete-re)
5701 (verilog-beg-of-statement, verilog-indent-re): Support proper
5702 indent of the assert statement at the beginning of a block of text.
5704 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
5705 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
5708 2009-11-05 Glenn Morris <rgm@gnu.org>
5710 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
5711 Emacs 19. (Bug#1531)
5712 (byte-compile-fix-header): Update for the above change.
5713 Drop test for epoch::version.
5715 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
5716 * cus-dep.el (custom-make-dependencies):
5717 * finder.el (finder-compile-keywords):
5718 Use autoload-rubric's feature argument.
5720 * calendar/diary-lib.el (top-level): Make load behave more like require.
5722 * vc-git.el (vc-git-stash-map): Move definition before use.
5724 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
5726 * custom.el (custom-declare-group): Purecopy standard-value.
5727 (custom-declare-group): Purecopy custom-prefix.
5729 * international/mule.el (load-with-code-conversion):
5730 Call do-after-load-evaluation unconditionally.
5732 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
5734 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5736 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
5738 2009-11-04 Glenn Morris <rgm@gnu.org>
5740 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
5741 (byte-compile-compatibility): Remove option.
5742 (byte-compile-close-variables, byte-compile-fix-header)
5743 (byte-compile-insert-header, byte-compile-output-docform)
5744 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
5745 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
5746 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
5747 (byte-compile-insert, byte-compile-defun):
5748 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
5749 (byte-defop-compiler19): Remove.
5750 Without byte-compile-compatibility, the 'emacs19-opcode property is not
5751 used by anything. Replace all calls with byte-defop-compiler.
5753 2009-11-04 Juri Linkov <juri@jurta.org>
5755 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
5756 (menu-bar-options-menu): Don't quote the `prop' arg of
5757 `menu-bar-make-mm-toggle'.
5759 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
5761 * calendar/calendar.el (cal-loaddefs):
5762 * calendar/diary-lib.el (diary-loaddefs):
5763 * calendar/holidays.el (hol-loaddefs):
5764 * eshell/esh-module.el (esh-groups): Load rather than require.
5766 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5768 * calendar/todo-mode.el (todo-add-category): Don't hardcode
5770 (todo-top-priorities): Only display-buffer when called interactively.
5771 (todo-item-start): Don't save excursion point.
5772 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
5773 (todo-insert-item-here, todo-file-item, todo-remove-item):
5774 Adjust uses of todo-item-start and todo-item-end.
5776 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
5777 (autoload-rubric): Don't use any more.
5778 * cedet/semantic/fw.el (semantic/loaddefs):
5779 * cedet/srecode.el (srecode/loaddefs):
5780 * cedet/ede.el (ede/loaddefs): Load rather than require.
5781 * cedet/ede/cpp-root.el:
5782 * cedet/ede/emacs.el:
5783 * cedet/ede/files.el:
5784 * cedet/ede/linux.el:
5785 * cedet/ede/locate.el:
5786 * cedet/ede/make.el:
5787 * cedet/ede/shell.el:
5788 * cedet/ede/speedbar.el:
5789 * cedet/ede/system.el:
5790 * cedet/ede/util.el:
5791 * cedet/semantic/analyze.el:
5792 * cedet/semantic/bovine.el:
5793 * cedet/semantic/complete.el:
5794 * cedet/semantic/ctxt.el:
5795 * cedet/semantic/db-file.el:
5796 * cedet/semantic/db-find.el:
5797 * cedet/semantic/db-global.el:
5798 * cedet/semantic/db-mode.el:
5799 * cedet/semantic/db-typecache.el:
5800 * cedet/semantic/db.el:
5801 * cedet/semantic/debug.el:
5802 * cedet/semantic/dep.el:
5803 * cedet/semantic/doc.el:
5804 * cedet/semantic/edit.el:
5805 * cedet/semantic/find.el:
5806 * cedet/semantic/format.el:
5807 * cedet/semantic/html.el:
5808 * cedet/semantic/ia-sb.el:
5809 * cedet/semantic/ia.el:
5810 * cedet/semantic/idle.el:
5811 * cedet/semantic/lex-spp.el:
5812 * cedet/semantic/lex.el:
5813 * cedet/semantic/mru-bookmark.el:
5814 * cedet/semantic/scope.el:
5815 * cedet/semantic/senator.el:
5816 * cedet/semantic/sort.el:
5817 * cedet/semantic/symref.el:
5818 * cedet/semantic/tag-file.el:
5819 * cedet/semantic/tag-ls.el:
5820 * cedet/semantic/tag-write.el:
5821 * cedet/semantic/tag.el:
5822 * cedet/semantic/util-modes.el:
5823 * cedet/semantic/analyze/complete.el:
5824 * cedet/semantic/analyze/refs.el:
5825 * cedet/semantic/bovine/c.el:
5826 * cedet/semantic/bovine/gcc.el:
5827 * cedet/semantic/bovine/make.el:
5828 * cedet/semantic/bovine/scm.el:
5829 * cedet/semantic/decorate/include.el:
5830 * cedet/semantic/decorate/mode.el:
5831 * cedet/semantic/symref/cscope.el:
5832 * cedet/semantic/symref/global.el:
5833 * cedet/semantic/symref/grep.el:
5834 * cedet/semantic/symref/idutils.el:
5835 * cedet/semantic/symref/list.el:
5836 * cedet/semantic/wisent/java-tags.el:
5837 * cedet/semantic/wisent/javascript.el:
5838 * cedet/srecode/compile.el:
5839 * cedet/srecode/cpp.el:
5840 * cedet/srecode/document.el:
5841 * cedet/srecode/el.el:
5842 * cedet/srecode/expandproto.el:
5843 * cedet/srecode/getset.el:
5844 * cedet/srecode/insert.el:
5845 * cedet/srecode/java.el:
5846 * cedet/srecode/map.el:
5847 * cedet/srecode/mode.el:
5848 * cedet/srecode/template.el:
5849 * cedet/srecode/texi.el: Remove the file-local setting of
5850 generated-autoload-feature.
5852 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
5853 and only put a prop if it is non-nil.
5855 2009-11-03 Juri Linkov <juri@jurta.org>
5857 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
5858 (menu-bar-options-menu): Fix list quoting (Bug#4429).
5860 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
5861 and "Menu" to make top-level menu item visually one unit (like
5862 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
5863 multi-word menu items). Fix :help string for quit-window.
5865 2009-11-03 Glenn Morris <rgm@gnu.org>
5867 * cedet/mode-local.el (with-mode-local): Doc fix.
5869 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5870 (byte-compile-file-form-define-abbrev-table)
5871 (byte-compile-file-form-custom-declare-variable)
5872 (byte-compile-variable-ref, byte-compile-defvar):
5873 Whether or not a warning is enabled should only affect whether we issue
5874 the warning, not whether or not we collect the relevant data.
5875 Eg warnings can be turned on and off throughout the course of a file.
5877 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
5878 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
5880 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5882 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
5883 * play/mpuz.el (mpuz-create-buffer):
5884 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
5885 (lm-print-y,s,noise, lm-print-w0, lm-init):
5886 * play/gomoku.el (gomoku-prompt-for-move):
5887 * play/fortune.el (fortune-in-buffer):
5888 * play/dissociate.el (dissociated-press):
5889 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
5890 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
5891 * mail/supercite.el (sc-eref-show):
5892 * mail/smtpmail.el (smtpmail-send-it):
5893 * mail/rmailsum.el (rmail-summary-next-labeled-message)
5894 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
5895 (rmail-summary-undelete-many, rmail-summary-rmail-update)
5896 (rmail-summary-goto-msg, rmail-summary-expunge)
5897 (rmail-summary-get-new-mail, rmail-summary-search-backward)
5898 (rmail-summary-add-label, rmail-summary-output-menu)
5899 (rmail-summary-output-body):
5900 * mail/rfc822.el (rfc822-addresses):
5901 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
5902 * mail/mailpost.el (post-mail-send-it):
5903 * mail/hashcash.el (hashcash-generate-payment):
5904 * mail/feedmail.el (feedmail-run-the-queue)
5905 (feedmail-queue-send-edit-prompt-help-first)
5906 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
5907 (feedmail-deduce-address-list):
5908 * eshell/esh-ext.el (eshell-remote-command):
5909 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
5910 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
5911 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
5912 (viper-save-string-in-file, viper-valid-marker):
5913 * emulation/viper-keym.el (viper-toggle-key):
5914 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
5915 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
5916 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
5917 * emulation/viper-cmd.el (viper-exec-form-in-vi)
5918 (viper-exec-form-in-emacs, viper-brac-function):
5919 * emulation/viper.el (viper-delocalize-var):
5920 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
5921 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
5922 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
5923 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
5924 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
5925 * emulation/edt.el (edt-electric-helpify):
5926 * emulation/cua-rect.el (cua--rectangle-aux-replace):
5927 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
5928 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
5929 (cua-indent-to-global-mark-column):
5930 * calendar/diary-lib.el (calendar-mark-1):
5931 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
5932 Use with-current-buffer.
5933 * emulation/viper.el (viper-delocalize-var): Use dolist.
5935 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
5937 * comint.el (comint-replace-by-expanded-history-before-point):
5938 Replace !! with the previous input string literally (Bug#1795).
5940 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
5942 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
5943 to be made up of whitespace.
5945 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
5947 * minibuffer.el (read-file-name): Don't use file dialogs for
5948 remote directories (Bug#99).
5950 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
5952 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
5954 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
5956 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
5957 instead of deleting the window or frame.
5959 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
5961 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
5962 Support face colors.
5964 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
5965 New function. Support face colors (Bug#1168).
5966 (tex-common-initialization): Use it.
5968 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
5969 mode allows it (Bug#1168).
5971 2009-10-31 Juri Linkov <juri@jurta.org>
5973 * facemenu.el (list-colors-display): Don't mark buffer as
5974 modified (Bug#3948).
5976 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
5978 * international/mule-diag.el (list-character-sets-1): Minor
5979 message fix (Bug#3526).
5981 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
5982 face property (Bug#4834).
5983 (etags-list-tags, etags-tags-apropos-additional)
5984 (etags-tags-apropos, tags-select-tags-table): Add follow-link
5987 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
5990 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
5993 * cedet/ede.el (ede-minor-mode):
5994 * cedet/semantic.el (semantic-mode): Toggle menu separators.
5996 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5998 * textmodes/two-column.el (2C-split):
5999 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
6000 * textmodes/tex-mode.el (tex-set-buffer-directory):
6001 * textmodes/spell.el (spell-region, spell-string):
6002 * textmodes/reftex.el (reftex-erase-buffer):
6003 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
6004 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6005 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
6006 (reftex-select-item):
6007 * textmodes/reftex-ref.el (reftex-label-info-update)
6008 (reftex-offer-label-menu):
6009 * textmodes/reftex-index.el (reftex-index-change-entry)
6010 (reftex-index-phrases-info):
6011 * textmodes/reftex-global.el (reftex-create-tags-file)
6012 (reftex-save-all-document-buffers, reftex-ensure-write-access):
6013 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
6014 (reftex-view-crossref-from-bibtex):
6015 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
6016 (reftex-extract-bib-entries-from-thebibliography)
6017 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
6018 * textmodes/refbib.el (r2b-capitalize-title):
6019 (r2b-convert-buffer, r2b-help):
6020 * textmodes/page-ext.el (pages-directory)
6021 (pages-directory-goto-with-mouse):
6022 * textmodes/bibtex.el (bibtex-validate-globally):
6023 * textmodes/bib-mode.el (bib-capitalize-title):
6024 * textmodes/artist.el (artist-clear-buffer, artist-system):
6025 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
6026 (local-set-scheme-interaction-buffer, xscheme-process-filter)
6027 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
6028 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
6029 (xscheme-send-control-g-interrupt, xscheme-start-process)
6030 (xscheme-process-sentinel, xscheme-cd):
6031 * progmodes/verilog-mode.el (verilog-read-always-signals)
6032 (verilog-set-define, verilog-getopt-file)
6033 (verilog-module-inside-filename-p):
6034 * progmodes/sh-script.el:
6035 * progmodes/python.el (python-pdbtrack-get-source-buffer)
6036 (python-pdbtrack-grub-for-buffer, python-execute-file):
6037 * progmodes/octave-inf.el (inferior-octave):
6038 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6039 (idlwave-shell-compile-helper-routines, idlwave-set-local)
6040 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
6041 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
6042 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
6043 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
6044 (idlwave-shell-filter, idlwave-shell-examine-highlight)
6045 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
6046 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
6047 (idlwave-shell-examine-display, idlwave-shell-run-region)
6048 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
6049 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
6050 * progmodes/idlw-help.el (idlwave-help-get-special-help)
6051 (idlwave-help-get-help-buffer):
6052 * progmodes/gud.el (gud-basic-call, gud-find-class)
6053 (gud-tooltip-activate-mouse-motions-if-enabled):
6054 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6055 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
6056 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
6057 (ebrowse-tags-next-file):
6058 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
6059 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
6060 (ebnf-eps-finish-and-write):
6061 * progmodes/cpp.el (cpp-edit-save):
6062 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
6063 * progmodes/cc-defs.el (c-emacs-features):
6064 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
6065 (antlr-directory-dependencies):
6066 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
6067 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
6068 (ada-find-any-references, ada-make-filename-from-adaname)
6069 (ada-make-body-gnatstub):
6070 * obsolete/rnews.el (news-list-news-groups):
6071 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
6072 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
6073 * net/rcirc.el (rcirc-debug):
6074 * net/newst-treeview.el (newsticker--treeview-list-add-item)
6075 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
6076 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
6077 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
6078 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
6079 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
6080 (newsticker--treeview-list-clear-highlight)
6081 (newsticker--treeview-list-update-highlight)
6082 (newsticker--treeview-list-highlight-start)
6083 (newsticker--treeview-tree-update-highlight)
6084 (newsticker--treeview-get-selected-item)
6085 (newsticker-treeview-mark-list-items-old)
6086 (newsticker--treeview-set-current-node):
6087 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6088 * net/newst-backend.el (newsticker--get-news-by-funcall)
6089 (newsticker--get-news-by-wget, newsticker--image-get)
6090 (newsticker--image-sentinel):
6091 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
6092 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
6093 (eudc-ph-close-session):
6094 * net/eudc.el (eudc-save-options):
6095 * language/thai-word.el (thai-update-word-table):
6096 * language/japan-util.el (japanese-string-conversion):
6097 * international/titdic-cnv.el (tsang-quick-converter)
6098 (ziranma-converter, ctlau-converter):
6099 * international/mule-cmds.el (describe-language-environment):
6100 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
6101 (skkdic-convert-postfix, skkdic-convert-prefix):
6102 (skkdic-convert-okuri-nasi, skkdic-convert):
6103 * emacs-lisp/re-builder.el (reb-update-overlays):
6104 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
6105 * emacs-lisp/gulp.el (gulp-send-requests):
6106 * emacs-lisp/find-gc.el (trace-call-tree):
6107 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
6108 (eieio-describe-generic):
6109 * emacs-lisp/eieio-base.el (eieio-persistent-read):
6110 * emacs-lisp/edebug.el (edebug-outside-excursion):
6111 * emacs-lisp/debug.el (debugger-make-xrefs):
6112 * emacs-lisp/cust-print.el (custom-prin1-to-string):
6113 * emacs-lisp/chart.el (chart-new-buffer):
6114 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
6115 Use with-current-buffer.
6116 * textmodes/artist.el (artist-system): Don't call
6117 copy-sequence on a fresh string.
6118 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
6120 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
6122 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
6123 is no item to edit. (Bug#4820)
6124 (todo-top-priorities): Restore point and restore narrowing in Todo
6127 2009-10-31 Glenn Morris <rgm@gnu.org>
6129 * net/ange-ftp.el (top-level): Don't require dired when compiling.
6130 (comint-last-output-start, comint-last-input-start)
6131 (comint-last-input-end): Don't defvar when compiling.
6132 (ange-ftp-process-file): Use bound-and-true-p.
6134 * pcmpl-rpm.el (top-level): Move provide statement to end.
6135 (pcmpl-rpm): Remove unused custom group.
6137 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
6139 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
6141 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
6142 (byte-compile-warnings): Add `constants' as an option.
6143 (byte-compile-callargs-warn, byte-compile-arglist-warn)
6144 (display-call-tree): Update for byte-compile-fdefinition possibly
6145 returning `(macro lambda ...)'. (Bug#4778)
6146 (byte-compile-variable-ref, byte-compile-setq-default):
6147 Respect `constants' member of byte-compile-warnings.
6149 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
6150 Use mapc rather than mapcar because the return value is never used.
6152 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
6153 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
6154 * cedet/semantic/html.el:
6155 Suppress harmless warnings about setting up semantic-imenu (not
6156 part of Emacs) variables.
6158 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6160 * vc-bzr.el (vc-bzr-revision-keywords): New var.
6161 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
6164 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
6165 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
6166 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
6167 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
6168 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
6169 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
6170 (semantic-analyzer-debug-global-symbol)
6171 (semantic-analyzer-debug-missing-innertype)
6172 (semantic-analyzer-debug-insert-include-summary):
6173 * cedet/semantic/util.el (semantic-file-tag-table):
6174 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
6175 (semantic-recursive-find-nonterminal-by-name):
6176 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
6177 * cedet/semantic/tag-file.el (semantic-prototype-file):
6178 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
6179 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
6180 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
6181 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
6182 (semantic-idle-summary-maybe-highlight):
6183 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
6184 (semantic-ia-sb-tag-info):
6185 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
6186 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
6187 * cedet/semantic/ede-grammar.el (project-compile-target):
6188 (ede-proj-makefile-insert-variables):
6189 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
6190 (semantic-debug-set-source-location, semantic-debug-interface-layout)
6191 (semantic-debug-mode, semantic-debug):
6192 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
6193 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
6194 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
6195 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
6196 (semanticdb-find-translate-path-includes--internal)
6197 (semanticdb-reset-log, semanticdb-find-log-activity):
6198 * cedet/semantic/db-file.el (object-write):
6199 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
6200 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
6201 (semanticdb-create-ebrowse-database):
6202 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
6203 * cedet/semantic/complete.el (semantic-displayor-focus-request)
6204 (semantic-collector-calculate-completions-raw)
6205 (semantic-complete-read-tag-analyzer):
6206 * cedet/semantic/analyze.el (semantic-analyze-pulse):
6207 * cedet/ede/util.el (ede-update-version-in-source):
6208 * cedet/ede/proj.el (project-delete-target):
6209 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
6210 (ede-proj-flush-autoconf):
6211 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
6212 (ede-proj-configure-synchronize):
6213 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
6214 * cedet/ede/linux.el (ede-linux-version):
6215 * cedet/ede/emacs.el (ede-emacs-version):
6216 * cedet/ede/dired.el (ede-dired-add-to-target):
6217 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
6218 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
6219 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
6220 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
6221 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
6222 (cedet-idutils-version-check):
6223 * cedet/cedet-global.el (cedet-gnu-global-call):
6224 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
6225 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
6226 * cedet/cedet-cscope.el (cedet-cscope-call)
6227 (cedet-cscope-expand-filename, cedet-cscope-version-check):
6228 Use with-current-buffer.
6229 * cedet/ede.el (ede-make-project-local-variable)
6230 (ede-set-project-variables, ede-set): Use dolist.
6232 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
6234 * textmodes/ispell.el (ispell-skip-region-alist):
6235 * international/mule-conf.el (eight-bit):
6236 * international/fontset.el (font-encoding-alist):
6237 * startup.el (pure-space-overflow-message):
6238 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
6239 * paths.el (gnus-nntp-service, rmail-spool-directory)
6241 * files.el (save-some-buffers-action-alist):
6242 * cmuscheme.el (same-window-buffer-names):
6243 * ielm.el (same-window-buffer-names):
6244 * shell.el (same-window-buffer-names):
6245 * mail/sendmail.el (same-window-buffer-names):
6246 * progmodes/inf-lisp.el (same-window-buffer-names):
6247 * bindings.el (mode-line-client)
6248 (mode-line-column-line-number-mode-map):
6249 * language/tibetan.el (tibetan-precomposition-rule-regexp)
6250 (tibetan-precomposed-regexp): Purecopy string arguments.
6252 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6254 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
6255 (calcDigit-nondigit):
6256 * calc/calc-yank.el (calc-copy-to-buffer):
6257 * calc/calc-units.el (calc-invalidate-units-table):
6258 * calc/calc-trail.el (calc-trail-yank):
6259 * calc/calc-store.el (calc-insert-variables):
6260 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
6261 * calc/calc-prog.el (calc-read-parse-table):
6262 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
6263 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
6264 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
6265 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
6266 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
6267 (calc-graph-name, calc-graph-find-command, calc-graph-view)
6268 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
6269 * calc/calc-ext.el (calc-realign):
6270 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
6271 (calc-embedded-finish-edit, calc-embedded-make-info)
6272 (calc-embedded-finish-command, calc-embedded-stack-change):
6273 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
6275 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
6276 (overload-docstring-extension): Use that info.
6277 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
6278 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
6279 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
6280 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
6281 (semantic-nonterminal-full-name): Add the new `when' info.
6282 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
6285 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
6286 shell-dynamic-complete-filename in preference to
6287 comint-dynamic-complete-filename.
6289 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
6290 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
6291 Don't consider whether the display supports colors.
6292 (bookmark-import-new-list): Use dolist.
6293 (bookmark-bmenu-mode-map): Move initialization into declaration.
6294 (bookmark-bmenu-list): Use dolist, simplify.
6295 (bookmark-show-all-annotations): Use save-selected-window and dolist.
6296 (menu-bar-final-items): Use push.
6298 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
6300 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
6301 it works on remote files.
6302 (vc-hg-diff): Don't pass any `--cwd' argument.
6304 2009-10-27 Kevin Ryde <user42@zip.com.au>
6306 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
6307 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
6308 (Further to Bug#3921).
6310 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
6312 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
6313 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
6314 calling `tramp-imap-put-file'. Add file size to the call.
6315 (tramp-imap-get-file-entries): Compute also user name, file size,
6317 (tramp-imap-handle-insert-directory): Insert uid and gid.
6318 (tramp-imap-handle-file-attributes): Transform uid and gid
6319 according to `id-format'.
6320 (tramp-imap-put-file): New optional parameter SIZE. Encode file
6321 size in header X-Size.
6323 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
6325 * simple.el (transpose-subr): Give clearer error when the mark
6326 is not set. (Bug#4807)
6328 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
6330 * net/tramp.el (tramp-perl-file-truename): New defconst.
6331 Perl code contributed by yary <not.com@gmail.com> (tiny change).
6332 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
6333 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
6334 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
6336 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6337 Ignore `dired-call-process'.
6338 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
6340 2009-10-26 Julian Scheid <julians37@gmail.com>
6342 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
6343 (tramp-get-remote-readlink): New defun.
6344 (tramp-handle-file-truename): Use it.
6345 (tramp-handle-file-exists-p): Check file-attributes cache, assume
6346 file exists if cache value present.
6347 (tramp-check-cached-permissions): New defun.
6348 (tramp-handle-file-readable-p): Use it.
6349 (tramp-handle-file-writable-p): Likewise.
6350 (tramp-handle-file-executable-p): Likewise.
6351 (tramp-handle-file-name-all-completions): Try using Perl to get
6352 partial completions. When perl not available, combine `cd' and
6353 `ls' into single remote operation and use shell expansion to get
6354 partial remote directory contents. Set `file-exists-p' cache for
6355 directory and any files returned by ls. Change cache handling to
6356 support partial directory contents. Use error message emitted by
6357 remote `cd' or Perl code for local tramp-error.
6358 (tramp-do-copy-or-rename-file-directly): Avoid separate
6359 tramp-send-command-and-check call.
6360 (tramp-handle-process-file): Merge three remote ops into one.
6361 Do not flush all caches when `process-file-side-effects' is set.
6362 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
6363 file-attributes shows uid/gid to be set already.
6365 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
6367 * textmodes/tex-mode.el (tex-dvi-view-command)
6368 (tex-show-queue-command, tex-open-quote):
6369 * progmodes/ruby-mode.el (auto-mode-alist)
6370 (interpreter-mode-alist): Purecopy strings.
6372 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
6374 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
6375 string for the hook, keymap and abbrev table.
6377 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
6379 * x-dnd.el (x-dnd-xdnd-to-action):
6380 * startup.el (fancy-startup-text, fancy-about-text): Change to
6381 defconst from defvar.
6383 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
6385 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
6386 Purecopy initialization strings.
6388 * mail/sendmail.el (mail-header-separator)
6389 (mail-personal-alias-file):
6390 * mail/rmail.el (rmail-default-dont-reply-to-names)
6391 (rmail-ignored-headers, rmail-retry-ignored-headers)
6392 (rmail-highlighted-headers, rmail-secondary-file-directory)
6393 (rmail-secondary-file-regexp):
6394 * files.el (null-device, file-name-invalid-regexp)
6395 (locate-dominating-stop-dir-regexp)
6396 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
6397 (interpreter-mode-alist): Use mapcar instead of mapc.
6399 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
6401 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
6402 (completion-ignored-extensions):
6403 (debug-ignored-errors): Purecopy strings.
6405 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6407 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
6408 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
6409 (pcomplete--here): Use push.
6411 * subr.el (all-completions): Declare the 4th arg obsolete.
6413 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6415 * pcomplete.el (pcomplete-unquote-argument-function): New var.
6416 (pcomplete-unquote-argument): New function.
6417 (pcomplete--common-suffix): Always pay attention to case.
6418 (pcomplete--table-subvert): Quote and unquote the text.
6419 (pcomplete--common-quoted-suffix): New function.
6420 (pcomplete-std-complete): Use it and pcomplete-begin.
6422 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
6423 we're inside a dedicated or minibuffer window.
6425 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6427 * cedet/semantic/fw.el (semantic-alias-obsolete)
6428 (semantic-varalias-obsolete): Make the `when' arg mandatory.
6429 (define-mode-overload-implementation):
6430 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
6431 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
6432 * cedet/semantic/util.el (semantic-file-token-stream)
6433 (semantic-something-to-stream):
6434 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
6435 (semantic-expand-nonterminal):
6436 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
6437 (semantic-find-dependency, semantic-find-nonterminal)
6438 (semantic-find-dependency):
6439 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
6440 (semantic-flex-text, semantic-flex-make-keyword-table)
6441 (semantic-flex-keyword-p, semantic-flex-keyword-put)
6442 (semantic-flex-keyword-get, semantic-flex-map-keywords)
6443 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
6444 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
6445 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
6446 (semantic-after-idle-scheduler-reparse-hooks):
6447 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
6448 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
6449 * cedet/semantic.el (semantic-toplevel-bovine-table)
6450 (semantic-toplevel-bovine-cache)
6451 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
6452 (semantic-init-mode-hooks, semantic-init-db-hooks)
6453 (semantic-bovination-working-type): Provide the `when' arg.
6455 2009-10-24 Karl Fogel <kfogel@red-bean.com>
6457 * bookmark.el: Update documentation, especially documentation
6458 of `bookmark-alist' and of the bookmark file format.
6459 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
6461 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
6463 * mail/emacsbug.el (report-emacs-bug): Clarify that the
6464 keybindings apply to the mail buffer (Bug#4003). Shrink help
6467 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6468 (global-whitespace-mode, global-whitespace-newline-mode)
6469 (whitespace-toggle-options, global-whitespace-toggle-options):
6472 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
6473 of xmltok-start before the end tag was inserted (Bug#2840).
6475 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
6476 patterns that are preceded by an open-paren (Bug#1320).
6478 2009-10-24 Sven Joachim <svenjoac@gmx.de>
6480 * files.el (delete-directory): Delete symlinks to directories with
6481 delete-file (Bug#4739).
6483 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
6485 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
6486 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
6487 argument to make-obsolete.
6489 * cedet/semantic/fw.el (semantic-alias-obsolete)
6490 (semantic-varalias-obsolete): Add optional WHEN argument.
6492 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
6494 * vc.el (vc-backend-for-registration): Rename from
6495 vc-get-backend-for-registration. Update callers.
6497 * international/mule-cmds.el (set-language-info-alist):
6499 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
6500 (charset): Purecopy the name.
6501 (define-char-code-property): Purecopy string arguments.
6503 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6504 Purecopy string arguments.
6506 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
6507 * ediff-hook.el (menu-bar-ediff-menu):
6508 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
6509 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
6511 2009-10-24 Glenn Morris <rgm@gnu.org>
6513 * comint.el (comint-dynamic-list-completions):
6514 * term.el (term-dynamic-list-completions): Use choose-completion rather
6515 than obsolete alias mouse-choose-completion.
6517 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
6518 file-cache-choose-completion.
6519 (file-cache-choose-completion): Handle an optional event argument.
6520 (file-cache-mouse-choose-completion): Make it an obsolete alias.
6522 * progmodes/octave-mod.el (octave-complete-symbol):
6523 Use choose-completion if mouse-choose-completion is ever removed.
6525 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
6528 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
6531 * vc-hooks.el (vc-responsible-backend): Fix declaration.
6533 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6535 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
6536 Ignore `pred' now that we receive one.
6537 Handle test-completion specially.
6539 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
6541 * vc.el (vc-responsible-backend): Throw an error if not backend is
6542 found. Remove the REGISTER argument. Move the code dealing with
6544 (vc-get-backend-for-registration): ... here. New function.
6545 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
6546 of vc-responsible-backend, pass the file name instead of the
6549 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6551 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
6553 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
6554 (pcomplete-comint-setup): Don't modify a global var via
6555 accidental side-effects.
6556 (pcomplete-shell-setup): Adjust call accordingly.
6557 (pcomplete-parse-comint-arguments): Use push.
6559 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
6561 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
6562 Allow uncapitalized info node names (Bug#3921).
6564 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
6565 to the DEBUG file (Bug#3781).
6567 2009-10-23 Jari Aalto <jari.aalto@cante.net>
6569 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
6570 dictionary entry (Bug#4579).
6572 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
6574 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
6575 from `rfn-eshadow-update-overlay-hook' when unloading.
6576 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
6577 "rsyncc". Adjust doc string.
6578 (tramp-temp-buffer-file-name): New buffer-local defvar.
6579 (tramp-handle-insert-file-contents, tramp-handle-write-region):
6580 Keep temporary file when indicated by method ("rsync" and
6582 (tramp-handle-write-region): Handle APPEND.
6583 (tramp-delete-temp-file-function): New defun. Added to
6586 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
6588 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
6590 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
6592 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
6593 (color-name-rgb-alist, tty-standard-colors)
6594 (tty-color-mode-alist): Change to defconst.
6596 * simple.el (mark-inactive): Purecopy message.
6598 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
6599 (global-map, yank-menu):
6600 * textmodes/ispell.el (ispell-menu-map):
6601 * net/eudc.el (eudc-tools-menu):
6602 * international/mule-cmds.el (describe-language-environment-map)
6603 (setup-language-environment-map, set-coding-system-map)
6605 * vc-hooks.el (vc-menu-entry, vc-menu-map):
6606 * replace.el (occur-mode-map):
6607 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
6609 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
6611 * calc/calc.el (math-read-number, math-read-number-simple): Use
6614 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6616 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
6617 rather than fiddling with global-map bindings, since it should only
6618 affect per-terminal settings.
6619 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
6621 * minibuffer.el (completion-table-with-terminator): Allow to specify
6622 the terminator-regexp.
6624 * simple.el (switch-to-completions): Look for *Completions* in other
6627 * pcomplete.el: Allow the use of completion-tables.
6628 (pcomplete-std-complete): New command.
6629 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
6630 (pcomplete--here): Use a function for `form' rather than an expression,
6631 so it can be byte-compiled.
6632 (pcomplete-here, pcomplete-here*): Adjust accordingly.
6633 Add edebug declaration.
6634 (pcomplete-show-completions): Remove unused var `curbuf'.
6635 (pcomplete-do-complete, pcomplete-stub):
6636 Don't assume `completions' is a list of strings any more.
6638 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
6640 * find-dired.el (find-name-arg): Fix typo in docstring.
6642 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6644 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
6645 (pcmpl-linux-fs-types): Same, and update to new modules layout.
6647 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
6650 * comint.el (comint-read-input-ring, comint-write-input-ring)
6651 (comint-substitute-in-file-name)
6652 (comint-dynamic-complete-as-filename)
6653 (comint-dynamic-simple-complete)
6654 (comint-dynamic-list-filename-completions)
6655 (comint-dynamic-list-completions)
6656 (comint-redirect-results-list-from-process): Minor simplifications.
6658 2009-10-21 Kevin Ryde <user42@zip.com.au>
6660 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
6661 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
6662 the first form. And insert a blank line after ";;; Code" since
6663 that's usual style. (Bug#4612)
6665 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
6667 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6669 * minibuffer.el (completion-table-with-terminator): Properly implement
6670 boundaries, in case `terminator' appears in the suffix.
6671 (completion--embedded-envvar-table): Don't return boundaries if
6672 there's no valid completion. Simplify.
6673 (completion-file-name-table): New completion table extracted from
6674 completion--file-name-table.
6675 (completion--file-name-table): Use it.
6676 (read-file-name-predicate): Declare obsolete.
6677 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
6678 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
6679 completion-file-name-table, and use the `pred' argument.
6680 * files.el (locate-file-completion-table): Use the `pred' arg rather
6681 than read-file-name-predicate.
6682 (abbreviate-file-name): Use \` rather than ^ for BOS.
6684 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
6686 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
6687 vc-responsible-backend to register, it causes problems.
6689 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6691 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
6693 2009-10-21 Eric Ludlam <zappo@gnu.org>
6695 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
6696 (semantic-c-debug-mode-init-pch): New functions.
6697 (semantic-c-debug-mode-init-last-mode): New var.
6698 (semantic-c-parse-lexical-token): Use them.
6700 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
6701 When extracting the argument list, limit only by point-max.
6703 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
6705 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
6706 (tramp-smb-handle-file-attributes): Use it.
6707 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
6708 (tramp-smb-handle-insert-directory): Use `mapc' rather than
6709 `mapcar'. Use `tramp-smb-get-stat-capability'.
6710 Add `dired-filename' text properties.
6711 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
6712 (tramp-smb-maybe-open-connection): Simplify check for smbclient
6715 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6717 * subr.el (read-key-delay): Reduce to 0.01.
6718 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
6721 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6723 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
6725 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
6726 (Info-menu): Remove unused vars `last' and `completions'.
6727 (Info-index-nodes): Remove unused var `node'.
6729 * info.el (Info-complete-menu-item): Use complete-with-action.
6731 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
6733 Make vc-annotate work through copies and renames.
6734 * vc-annotate.el (vc-annotate-extract-revision-at-line):
6735 Return the file name too.
6736 (vc-annotate-revision-at-line)
6737 (vc-annotate-find-revision-at-line)
6738 (vc-annotate-revision-previous-to-line)
6739 (vc-annotate-show-log-revision-at-line): Update to get the file
6740 name from vc-annotate-extract-revision-at-line.
6741 (vc-annotate-show-diff-revision-at-line-internal): Change the
6742 argument to mean whether to show a file diff or not. Get the file
6743 name from vc-annotate-extract-revision-at-line.
6744 (vc-annotate-show-diff-revision-at-line):
6745 Update vc-annotate-show-diff-revision-at-line call.
6746 (vc-annotate-warp-revision): Add an optional file argument.
6748 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
6749 (vc-git-annotate-extract-revision-at-line): Also return the file
6752 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
6753 command. Remove unused code.
6754 (vc-hg-annotate-re): Update to match --follow output.
6755 (vc-hg-annotate-extract-revision-at-line): Also return the file
6758 * vc.el: Update annotate-extract-revision-at-line documentation.
6760 2009-10-18 Kevin Ryde <user42@zip.com.au>
6762 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
6763 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
6765 * net/browse-url.el (browse-url): Identify alist with "consp and
6766 not functionp" and let all other things go down the `apply' leg,
6767 as suggested by Stefan. (Further to bug#4531.)
6769 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
6771 * minibuffer.el (read-file-name): Check for repeat before putting
6772 a default argument in file-name-history (Bug#4657).
6774 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
6775 read syntax (Bug#4737).
6777 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
6779 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6781 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
6782 (html-tag-alist, html-tag-help): Add descriptions for undocumented
6783 entries and make note of obsolete tags.
6785 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6787 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
6789 2009-10-18 Glenn Morris <rgm@gnu.org>
6791 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
6792 grep, so that binary files (eg international/uni-bidi.el) can match.
6793 Remove test for "UnicodeData" files, since it is hopefully unnecessary
6794 now, and in any case the file header format has changed.
6796 2009-10-17 Glenn Morris <rgm@gnu.org>
6798 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
6799 (flyspell-get-word, flyspell-large-region)
6800 (flyspell-auto-correct-previous-word): Doc/error message fixes.
6802 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
6804 * Makefile.in (ELCFILES): Add ede/shell.
6806 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
6808 * term/common-win.el (x-colors): Purecopy it.
6810 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6812 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
6813 permissive for when the buffer is empty.
6814 (tar-header-block-tokenize): Decode the username and groupname.
6815 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
6817 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
6819 * cedet/srecode/srt.el:
6820 * cedet/srecode/compile.el:
6821 * cedet/semantic/mru-bookmark.el:
6822 * cedet/semantic/debug.el:
6823 * cedet/semantic/complete.el:
6824 * cedet/semantic/analyze.el: Require CL when compiling.
6826 2009-10-17 Eric Ludlam <zappo@gnu.org>
6828 * cedet/semantic/scope.el
6829 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
6830 tmpscope so that the regular scope will continue to work.
6832 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
6833 Use semantic-idle-summary-highlight-face as the highlighting.
6835 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
6836 contains multibyte characters, choose first applicable coding
6837 system automatically.
6839 * cedet/ede/project-am.el (project-run-target): New method.
6840 (project-run-target): New method.
6842 * cedet/ede.el (ede-target): Add run target menu item.
6843 (ede-project, ede-minor-keymap): Add ede-run-target binding.
6844 (ede-run-target): New function.
6845 (ede-target::project-run-target): New method.
6847 * cedet/ede/proj.el (project-run-target): New method.
6849 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
6850 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
6852 (ede-proj-target-makefile-shared-object): Only libtool compilers
6853 now available. Add linkers for libtool.
6854 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
6855 (ede-proj-makefile-target-name): Always use .la extension.
6857 * cedet/ede/proj-prog.el (project-run-target): New method.
6859 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
6860 (ede-g++-linker): Change Change link lines.
6862 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
6863 When searching for old variables, go to the end of the buffer and
6864 search backward from there.
6865 (ede-proj-makefile-automake-insert-subdirs)
6866 (ede-proj-makefile-automake-insert-extradist): New methods.
6867 (ede-proj-makefile-create): Use them.
6869 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
6870 Force FILE to expand to the current target. Use file-exists-p to
6871 check that it exists.
6873 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
6874 (ede-linux-load): Wrap dir in file-name-as-directory.
6877 * cedet/ede/files.el (ede-get-locator-object): When enabling
6878 locate, do so on "top".
6880 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
6881 file-name-as-directory during compare.
6882 (ede-emacs-version): Return Emacs/XEmacs differentiator.
6883 Get version number from different places. Don't call egrep.
6884 (ede-emacs-load): Set :version slot. Call file-name-as-directory
6885 to set the directory.
6887 * cedet/ede/shell.el: New file.
6889 * cedet/inversion.el (inversion-decoders): Allow for stray . in
6890 alpha/beta variants.
6892 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6894 * international/mule-cmds.el (select-safe-coding-system): If the file
6895 has a coding cookie, use it regardless of any other setting (bug#4712).
6897 2009-10-17 Glenn Morris <rgm@gnu.org>
6899 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
6900 All errors should have messages.
6902 * foldout.el (foldout-mouse-swallow-events):
6903 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
6905 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
6906 (dired-keep-marker-copy, dired-keep-marker-hardlink)
6907 (dired-keep-marker-symlink, dired-dwim-target)
6908 (dired-copy-preserve-time): Do not autoload these defcustoms.
6910 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
6911 messages from messing up the file coding. (Bug#4623)
6913 2009-10-17 Jari Aalto <jari.aalto@cante.net>
6915 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
6916 if no match is found for the current dictionary. (Bug#4578)
6918 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
6919 optional, since that is how it is documented, and this is often called
6920 with a nil argument. (Bug#4577)
6921 (flyspell-external-point-words, flyspell-auto-correct-word)
6922 (flyspell-correct-word-before-point, flyspell-word-search-forward)
6923 (flyspell-word-search-backward): Remove nil argument in calls to
6924 flyspell-get-word, since it is not needed now.
6926 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
6928 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
6930 2009-10-16 Glenn Morris <rgm@gnu.org>
6932 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
6934 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6936 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
6937 (ange-ftp-file-size): New function.
6938 (ange-ftp-file-attributes): Use it.
6940 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
6942 * net/tramp-smb.el (tramp-smb-version): New defvar.
6943 (tramp-smb-maybe-open-connection): Use it, in order to avoid
6946 2009-10-16 Glenn Morris <rgm@gnu.org>
6948 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
6949 Maybe copy some custom properties from old to new name. (Bug#4706)
6951 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
6953 * subr.el (error, sit-for, start-process-shell-command)
6954 (start-file-process-shell-command): Set the calling convention
6955 after the function definition.
6957 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
6959 * subr.el (error, sit-for, start-process-shell-command)
6960 (start-file-process-shell-command): Use the new
6961 set-advertised-calling-convention feature.
6963 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
6965 * international/ucs-normalize.el (ucs-normalize-version):
6967 (check-range): Adjust for Unicode 5.2.
6969 2009-10-15 Juri Linkov <juri@jurta.org>
6971 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
6972 to the `menu-item' format.
6974 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
6976 * net/tramp.el (tramp-replace-environment-variables): Do not fail
6977 if the environment variable does not exist.
6979 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
6980 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
6982 (tramp-smb-handle-add-name-to-file)
6983 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
6984 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
6985 (tramp-smb-handle-file-attributes)
6986 (tramp-smb-do-file-attributes-with-stat)
6987 (tramp-smb-handle-file-local-copy)
6988 (tramp-smb-handle-insert-directory)
6989 (tramp-smb-handle-make-directory)
6990 (tramp-smb-handle-make-directory-internal)
6991 (tramp-smb-handle-make-symbolic-link)
6992 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
6993 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
6994 (tramp-smb-maybe-open-connection): Apply the changed parameters.
6995 (tramp-smb-read-file-entry): Read Disk names in compressed format.
6996 Handle long file names.
6997 (tramp-smb-get-cifs-capabilities): Check, whether the connection
6999 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
7000 Read share names with "-g" option.
7002 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
7004 * net/rcirc.el (rcirc-view-log-file): New command.
7005 (rcirc-track-minor-mode-map): Remove C-c ` binding.
7006 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
7009 2009-10-15 Glenn Morris <rgm@gnu.org>
7011 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
7012 from the second command-line argument.
7013 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
7014 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
7015 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
7016 w32-batch-update-autoloads.
7017 * emacs-lisp/autoload.el (autoload-make-program): New variable.
7018 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
7020 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
7021 the headers cannot be located. Simplify, subtracting superflous
7024 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
7026 Replace completion-base-size by completion-base-position to fix bugs
7028 * simple.el (completion-base-position): New var.
7029 (completion-base-size): Mark as obsolete.
7030 (choose-completion): Make it work for mouse events as well.
7031 Pass the new base-position to choose-completion-string.
7032 (choose-completion-guess-base-position): New function, extracted from
7033 choose-completion-delete-max-match.
7034 (choose-completion-delete-max-match): Use it. Make obsolete.
7035 (choose-completion-string): Use the new base-position info.
7036 (completion-root-regexp): Delete.
7037 (completion-setup-function): Preserve completion-base-position.
7038 Eliminate obsolete base-size manipulation.
7039 * minibuffer.el (display-completion-list): Don't mess with base-size.
7040 (minibuffer-completion-help): Set completion-base-position instead.
7041 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
7043 * textmodes/bibtex.el (bibtex-complete):
7044 * emacs-lisp/crm.el (crm--choose-completion-string):
7045 Adjust to new calling convention.
7046 * complete.el (partial-completion-mode): Use minibufferp to avoid
7047 bumping into incompatible change to choose-completion-string-functions.
7048 * ido.el (ido-choose-completion-string): Make its calling convention
7050 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
7051 base-size manipulation.
7052 (comint-dynamic-list-input-ring): Use dotimes and push.
7053 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
7054 fundamental-mode. Use `or'.
7056 2009-10-14 Juri Linkov <juri@jurta.org>
7058 * misearch.el (multi-isearch-next-buffer-from-list)
7059 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
7061 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7063 * Makefile.in (compile-onefile): Load `bytecomp' rather than
7066 * minibuffer.el (completion-pcm--merge-completions): Make sure the
7067 string we return is all made up of text from the completions rather
7068 than part from the completions and part from the input (bug#4219).
7070 * ido.el (ido-everywhere): Use define-minor-mode.
7072 * buff-menu.el (list-buffers, ctl-x-map):
7073 Mark the entry points with ;;;###autoload cookies.
7075 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
7077 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
7078 correctly in the detached head case.
7079 (vc-git-print-log): Remove unused binding.
7081 * vc.el (vc-responsible-backend): When a directory is passed for
7082 for registration create a VC repository if no backend is
7083 responsible for the directory argument.
7084 (vc-deduce-fileset): Tell vc-responsible-backend to register.
7086 * vc.el: Move comments about RCS and SCCS ...
7088 * vc-sccs.el: ... here, respectively.
7090 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7092 * minibuffer.el (completion--file-name-table): Return nil if there's
7093 no file completion, even if substitute-in-file-name changed
7094 the string (bug#4708).
7096 2009-10-13 Juri Linkov <juri@jurta.org>
7098 * files-x.el (read-file-local-variable-value): Don't filter out
7099 minor modes from mode name completion (bug#4664).
7101 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
7103 * international/mule-cmds.el (ucs-names): Remove exclusion of
7104 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
7106 2009-10-13 Kenichi Handa <handa@m17n.org>
7108 * international/uni-name.el: Regenerated.
7110 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
7112 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
7113 should be automatically buffer-local, but isn't.)
7115 2009-10-12 Sam Steingold <sds@gnu.org>
7117 * progmodes/compile.el (compilation-next-error-function): Fix the
7118 timestamps if the buffer has been visited before.
7119 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
7120 non-anchored patterns, like the perl one (bug#3928).
7122 2009-10-12 Glenn Morris <rgm@gnu.org>
7124 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
7127 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
7129 * proced.el (proced-unload-function): New function.
7131 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
7132 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
7135 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
7137 2009-10-11 Juri Linkov <juri@jurta.org>
7139 * files-x.el (read-file-local-variable-value):
7140 Provide default value only for bound variables (bug#4664).
7142 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
7144 * net/tramp.el (tramp-local-host-p): Function shall return nil for
7145 connection methods like smb.
7147 * net/tramp-cache.el (tramp-flush-connection-property): The hash
7150 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
7151 (tramp-smb-file-name-handler-alist): Add handlers for
7152 `add-name-to-file', `make-symbolic-link'.
7153 (tramp-smb-handle-add-name-to-file)
7154 (tramp-smb-do-file-attributes-with-stat)
7155 (tramp-smb-handle-make-symbolic-link)
7156 (tramp-smb-get-cifs-capabilities): New defuns.
7157 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
7158 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
7159 (tramp-smb-handle-file-local-copy)
7160 (tramp-smb-handle-make-directory-internal)
7161 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7162 The file name syntax depends on cifs capabilities.
7163 (tramp-smb-handle-file-attributes):
7164 Call `tramp-smb-do-file-attributes-with-stat' if possible.
7165 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
7166 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
7168 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
7170 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
7171 (eieio-defclass): Apply deftype handler and setf-method properties
7173 (eieio-add-new-slot): Avoid union function from cl library.
7174 (eieio--typep): New function.
7175 (eieio-perform-slot-validation): Use it.
7177 2009-10-10 Karl Fogel <kfogel@red-bean.com>
7179 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
7180 Update documentation to refer to the variables documented in r1.135.
7183 2009-10-10 Karl Fogel <kfogel@red-bean.com>
7185 * bookmark.el (Info-suffix-list): Remove this unused variable.
7186 (bookmark-current-point): Remove this obsolete variable.
7187 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
7188 Adjust for removal of bookmark-current-point.
7190 (bookmarks-already-loaded, bookmark-current-buffer)
7191 (bookmark-yank-point): Document. (Bug#4188)
7193 2009-10-10 Glenn Morris <rgm@gnu.org>
7195 * frame.el (frame-height): Doc fix.
7197 * calendar/calendar.el (calendar-split-width-threshold): New option.
7198 (calendar-basic-setup): Use calendar-split-width-threshold.
7200 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
7202 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
7203 Use .la for Automake.
7205 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
7207 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
7208 Use "autoreconf -i". Suggested by Andreas Schwab.
7210 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
7212 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
7213 Ideographic Supplement" range (U+1F200..U+1F2FF).
7215 2009-10-09 Karl Fogel <kfogel@red-bean.com>
7217 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
7218 since the list will have been rebuilt anyway. (Bug#4349)
7220 2009-10-09 Karl Fogel <kfogel@red-bean.com>
7222 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
7223 (bookmark-bmenu-execute-deletions): Don't save here, as
7224 bookmark-delete will now do so if necessary.
7225 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
7228 2009-10-09 Glenn Morris <rgm@gnu.org>
7230 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
7232 2009-10-09 Karl Fogel <kfogel@red-bean.com>
7234 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
7235 (bookmark-jump-other-window): Just invoke bookmark-jump with new
7236 argument now, so the two function's behaviors will match. (Bug#3645)
7238 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
7240 * cedet/ede/proj.el (project-make-dist, project-compile-project):
7242 (ede-proj-dist-makefile): Use expand-file-name instead of concat
7243 to expand file names.
7245 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
7247 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
7248 (tramp-file-name-real-host, tramp-file-name-port):
7249 Apply `save-match-data'.
7251 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
7252 case both directories are remote.
7253 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
7254 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
7256 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
7258 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
7259 (ede-proj-target-makefile-objectcode): Use it.
7261 * cedet/ede/source.el (ede-want-any-source-files-p)
7262 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
7263 Return search result. This error was introduced while merging.
7265 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
7267 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
7269 2009-10-07 Glenn Morris <rgm@gnu.org>
7271 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
7274 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * files-x.el (read-file-local-variable): Include some
7277 non-user-variables in the completion table (bug#4664).
7279 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
7281 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
7284 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
7285 (tramp-smb-file-name-handler-alist): Add handler for
7286 `copy-directory', `expand-file-name', `set-file-modes'.
7287 (tramp-smb-handle-copy-directory)
7288 (tramp-smb-handle-expand-file-name)
7289 (tramp-smb-handle-set-file-modes): New defuns.
7290 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
7291 (tramp-smb-handle-file-attributes): Simplify check for retrieving
7293 (tramp-smb-handle-insert-directory): Don't flush the cache.
7294 (tramp-smb-maybe-open-connection): Check for samba client and
7297 2009-10-07 Eli Zaretskii <eliz@gnu.org>
7299 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
7300 to not error out of search for "^lisp=" fails.
7302 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
7304 * makefile.w32-in (WINS_UPDATES): New macro.
7305 (custom-deps, finder-data, autoloads): Use it.
7307 2009-10-07 Glenn Morris <rgm@gnu.org>
7309 * Makefile.in (autoloads): Revert previous change.
7310 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
7311 the list of preloaded files passed on the command-line, get
7312 it from src/Makefile.
7314 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
7315 show the original buffer rather than a random one.
7317 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
7319 * help.el (describe-no-warranty): Place point in a slightly better
7320 position in the GPLv3 text.
7322 2009-10-06 Sam Steingold <sds@gnu.org>
7324 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
7325 the comm attribute is present before calling regexp-quote.
7327 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
7329 * play/animate.el (animate-string): For good effect, make sure
7330 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
7332 * play/animate.el (animate-sequence, animate-birthday-present):
7333 * misc.el (butterfly): Don't set `indent-tabs-mode'.
7335 2009-10-06 Glenn Morris <rgm@gnu.org>
7337 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
7339 * emacs-lisp/autoload.el (autoload-excludes): New variable.
7340 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
7341 (batch-update-autoloads): Process a string value of autoload-excludes,
7342 set during the build process.
7343 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
7345 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
7346 inside with-parsed... macro so that `v' is defined.
7348 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
7349 * progmodes/fortran.el (fortran-end-of-block)
7350 (fortran-beginning-of-block):
7351 Also push mark in the macro case.
7353 * emerge.el (emerge-show-file-name):
7354 * calc/calc.el (calc-quit):
7355 * calc/calc-misc.el (calc-big-or-small):
7356 * calc/calc-graph.el (calc-graph-view):
7357 * calc/calc-ext.el (calc-reset):
7358 * calendar/calendar.el (calendar-basic-setup):
7359 Use window-full-height-p.
7361 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
7362 header we don't understand, don't insert another. (Bug#4624)
7363 If changing mime charset, insert the new one in the right place.
7365 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
7367 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
7368 (cal-tex-cursor-month): Correctly increment the end date for diary and
7369 holiday listing. (Bug#4626)
7371 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7373 * help-fns.el (describe-function-1): Don't burp if the function is not
7376 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
7378 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
7379 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
7380 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
7381 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
7383 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
7384 (eieio-default-superclass): Reflow docstrings.
7385 (this, class-option-assoc, defclass, eieio-class-un-autoload)
7386 (eieio-unbind-method-implementations, defmethod)
7387 (eieio-validate-slot-value, eieio-validate-class-slot-value)
7388 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
7389 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
7390 (eieio-slot-originating-class-p, eieio-slot-name-index)
7391 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
7392 (constructor, initialize-instance, no-next-method, object-print)
7393 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
7394 Fix typos in docstrings.
7395 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
7396 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
7397 (next-method-p): Doc fixes.
7398 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
7399 Fix typos in error messages.
7400 (eieio-defmethod): Fix typo in description of generic method.
7402 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
7403 (eieio-persistent-save-interactive, slot-missing):
7404 Fix typos in docstrings.
7405 (eieio-instance-inheritor-slot-boundp): Doc fix.
7407 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
7408 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
7410 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
7411 (eieio-custom-object-apply-reset):
7412 Fix typos in docstrings and error messages.
7414 * emacs-lisp/eieio-datadebug.el (data-debug-show):
7415 Fix typo in docstring.
7417 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
7418 (eieio-browse-tree): Doc fix.
7419 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
7420 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
7421 Fix typos in docstrings.
7423 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
7424 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
7425 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
7426 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
7429 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
7431 * vc-hg.el (log-view-vc-backend): Declare for compiler.
7432 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
7433 Set log-view-vc-backend so that diff can work.
7435 * log-view.el (log-view-diff): Use vc-diff-internal instead of
7437 (vc-diff-internal): Autoload this instead of vc-version-diff.
7439 2009-10-05 Eli Zaretskii <eliz@gnu.org>
7441 * simple.el (eval-expression): Doc fix.
7443 * progmodes/cwarn.el (cwarn-mode): Doc fix.
7445 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
7447 * files.el (directory-files-no-dot-files-regexp): New defconst.
7448 (delete-directory): Use it.
7449 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
7451 * net/tramp.el (tramp-verbose): Fix docstring.
7452 (tramp-methods): Add recursive option to `tramp-copy-args'.
7453 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
7454 "scp1_old", "scp2_old", "rsync", "rsyncc".
7455 (tramp-default-method): Check also for `auth-source-user-or-password'.
7456 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
7457 Add handler for `copy-directory'.
7458 (tramp-handle-copy-directory): New defun.
7459 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
7460 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
7461 Optimize sent command.
7463 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7465 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
7466 window if necessary.
7468 * calendar/calendar.el (calendar-basic-setup): Don't call
7469 switch-to-buffer in a dedicated window.
7471 2009-10-05 Karl Fogel <kfogel@red-bean.com>
7473 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
7474 don't do anything related to relocating, just return nil.
7475 (bookmark-error-no-filename): New error.
7476 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
7477 bookmark has no file. Don't even attempt to handle things that
7478 are not files; the whole point of custom handlers is to keep that
7479 knowledge elsewhere anyway. Tighten some comments.
7480 (bookmark-file-or-variation-thereof): Remove now-unused function.
7481 (bookmark-location): Doc string fix.
7484 2009-10-04 Karl Fogel <kfogel@red-bean.com>
7486 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
7487 don't use a file dialog, because they usually don't know how to read
7488 a directory target from the user. (Bug#4230)
7489 Also, make sure the prompt can display directories as well as files.
7491 2009-10-04 Karl Fogel <kfogel@red-bean.com>
7493 * bookmark.el (bookmark-set, bookmark-buffer-name):
7494 Improve doc strings. (Bug#1193)
7496 2009-10-04 Karl Fogel <kfogel@red-bean.com>
7498 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
7499 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
7500 (bookmark-get-annotation, bookmark-set-annotation)
7501 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
7502 (bookmark-set-position, bookmark-get-front-context-string)
7503 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
7504 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
7505 (bookmark-jump-other-window, bookmark-handle-bookmark)
7506 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
7507 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
7508 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
7509 Improve doc strings to say whether bookmark can be a string or
7510 a record or both, and make other consistency and clarity fixes.
7511 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
7512 (bookmark-default-annotation-text, bookmark-yank-word)
7513 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
7514 (bookmark-import-new-list, bookmark-maybe-rename)
7515 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
7516 (bookmark-bmenu-bookmark): Give these doc strings.
7517 (bookmark-bmenu-check-position): Give this a doc string, but also
7518 add a FIXME comment about how the function may be pointless.
7519 (bookmark-default-handler): Rework doc string and change a
7520 parameter name, to clarify that this takes a bookmark record
7521 not a bookmark name.
7522 (bookmark-set): Change a parameter name to indicate its meaning,
7523 and improve the doc string a bit.
7526 2009-10-04 Karl Fogel <kfogel@red-bean.com>
7528 * bookmark.el (bookmark-alist): Document the new `handler' element
7530 (bookmark-make-record-function): Adjust documentation for above.
7533 2009-10-04 Karl Fogel <kfogel@red-bean.com>
7535 * info.el (Info-bookmark-make-record): Document this function.
7536 (Info-bookmark-jump): Document with a doc string, not just a comment.
7539 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
7541 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
7542 (semantic-new-buffer-fcn): Call parser setup functions here.
7543 (semantic-mode): Don't call parser setup functions here, it's done
7544 in semantic-new-buffer-fcn now.
7545 (semantic-mode): Parse all existing buffers when enabled.
7547 * cedet/srecode/compile.el (srecode-compile-file):
7548 Call semantic-new-buffer-fcn if the buffer has not been parsed.
7550 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
7552 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
7554 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
7555 (proj-comp-insert-variable-once): New macro, renamed from
7556 ede-pmake-insert-variable-once in ede/pmake.edl.
7557 (ede-proj-makefile-insert-variables): Use it.
7559 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
7561 * files.el (copy-directory): New defun.
7563 * dired-aux.el (dired-copy-file-recursive): Use it.
7565 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
7567 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
7568 (makefile-end-of-command):
7569 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
7570 (semantic-end-of-context): Fix previous change. Doc fixes.
7572 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
7574 * files-x.el (modify-dir-local-variable)
7575 (copy-dir-locals-to-file-locals-prop-line):
7576 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
7577 (makefile-end-of-command):
7578 * cedet/semantic/lex.el (semantic-lex-token):
7579 * cedet/semantic/analyze/fcn.el
7580 (semantic-analyze-dereference-metatype-1):
7581 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
7582 (semantic-lex-cpp-undef):
7583 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
7584 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
7585 (semantic-end-of-context): Fix typos in docstrings.
7587 * recentf.el (recentf-unload-function): New function.
7589 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
7591 * cedet/ede.el (ede-project-placeholder-cache-file):
7592 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
7593 * cedet/srecode/map.el (srecode-map-save-file):
7594 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
7596 2009-10-04 Glenn Morris <rgm@gnu.org>
7598 * window.el (window-full-height-p): Add doc string.
7600 2009-10-04 Martin Rudalics <rudalics@gmx.at>
7602 * window.el (window-full-height-p): New function. (Bug#4543)
7604 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
7606 * cedet/srecode/insert.el: Require srecode/args.
7608 * cedet/srecode/args.el: Require srecode/dictionary instead of
7611 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
7613 * files.el (auto-mode-alist): Add .srt and Project.ede.
7615 * cedet/semantic.el (semantic-mode):
7616 Handle srecode-template-mode-hook as well.
7617 (semantic-mode): Use js-mode-hook for Javascript hook.
7619 * cedet/srecode/template.el: Remove hook variable.
7621 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
7623 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
7625 (ede-project-placeholder-cache-file): Default to a file in
7626 user-emacs-directory.
7628 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
7629 templates in data-directory.
7630 (srecode-map-save-file): Default to a file in user-emacs-directory.
7632 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
7635 2009-09-30 Eric Ludlam <zappo@gnu.org>
7637 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
7640 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
7641 Only insert each variable once.
7643 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
7644 (ede-pmake-insert-variable-shared): Use it.
7646 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
7647 for lexical table iff table is nil.
7649 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
7651 * vc.el: Remove commented out code.
7652 (vc-derived-from-dir-mode): Remove, unused.
7653 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
7655 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
7657 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7658 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
7659 there could be recursive loading when `default-directory' is a
7660 remote file name. (Bug#4614)
7662 2009-10-03 Glenn Morris <rgm@gnu.org>
7664 * calendar/calendar.el (calendar-basic-setup): Handle the case where
7666 (calendar-generate-window): Test for shrinkability rather than width.
7668 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
7669 declaration, currently false.
7671 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
7672 reusing existing buffers, in case we happen to visit two files with the
7673 same basename. (Bug#4593)
7675 2009-10-02 Eli Zaretskii <eliz@gnu.org>
7677 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
7678 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
7679 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
7680 subdirs of cedet as well.
7681 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
7683 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7685 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
7686 Obey advertised-signature-table.
7688 * help-fns.el (help-function-arglist): Don't check
7689 advertised-signature-table.
7690 (describe-function-1): Do it here instead so it also applies to subrs.
7692 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
7694 * simple.el (start-file-process): Say in the doc-string, that file
7695 handlers might not support pty association, if PROGRAM is nil.
7697 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
7698 HOST and USER are strings. They are nil, when there are
7699 incomplete entries in ~/.netrc, for example.
7700 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
7701 root directory ("device busy" error otherwise).
7703 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
7704 Flush file properties of created directory.
7706 2009-10-02 Eli Zaretskii <eliz@gnu.org>
7708 * makefile.w32-in (WINS_BASIC): Remove cedet.
7709 (WINS_CEDET): Add cedet.
7710 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
7712 2009-10-02 Kevin Ryde <user42@zip.com.au>
7714 * net/browse-url.el (browse-url): Pass any symbol in
7715 browse-url-browser-function to `apply', since if you've mistakenly put
7716 an unbound symbol then the error is clearer. (Bug#4531)
7718 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
7720 * allout.el (allout-init, allout-back-to-current-heading)
7721 (allout-beginning-of-current-entry, allout-ascend-to-depth)
7722 (allout-ascend, allout-up-current-level, allout-end-of-level)
7723 (allout-previous-visible-heading, allout-forward-current-level)
7724 (allout-backward-current-level, allout-show-children):
7725 * apropos.el (apropos-describe-plist):
7726 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
7727 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
7728 * completion.el (add-completion, add-permanent-completion):
7729 * descr-text.el (describe-text-category, describe-char):
7730 * desktop.el (desktop-lazy-abort):
7731 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
7732 * dired.el (dired-build-subdir-alist):
7733 * ediff.el (ediff-version):
7734 * elide-head.el (elide-head, elide-head-show):
7735 * emerge.el (emerge-version):
7737 * face-remap.el (variable-pitch-mode):
7738 * faces.el (describe-face):
7739 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
7741 * files.el (find-file-existing, auto-save-mode):
7742 * font-lock.el (font-lock-fontify-buffer):
7743 * help-fns.el (describe-function, describe-variable)
7744 (describe-syntax, describe-categories):
7745 * help.el (view-lossage, describe-bindings, describe-key)
7747 * hexl.el (hexl-current-address):
7748 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
7749 * info.el (Info-goto-emacs-key-command-node):
7750 * log-edit.el (log-edit-insert-cvs-template)
7751 (log-edit-insert-cvs-rcstemplate):
7752 * menu-bar.el (menu-bar-mode):
7753 * mouse.el (mouse-appearance-menu):
7754 * newcomment.el (comment-indent-new-line):
7755 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
7756 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
7757 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
7758 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
7759 * recentf.el (recentf-mode):
7760 * savehist.el (savehist-mode, savehist-save):
7761 * shadowfile.el (shadow-copy-files):
7762 * simple.el (kill-ring-save, next-line, previous-line)
7763 (normal-erase-is-backspace-mode):
7764 * strokes.el (strokes-update-window-configuration)
7765 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
7766 (strokes-xpm-for-stroke):
7767 * time.el (emacs-uptime, emacs-init-time):
7768 * tutorial.el (tutorial--describe-nonstandard-key)
7769 (tutorial--detailed-help):
7770 * type-break.el (type-break-mode)
7771 (type-break-mode-line-message-mode, type-break-query-mode)
7772 (type-break-guesstimate-keystroke-threshold):
7773 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
7774 * version.el (emacs-version):
7775 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
7776 * winner.el (winner-mode):
7777 * calendar/timeclock.el (timeclock-in, timeclock-out)
7778 (timeclock-status-string, timeclock-change)
7779 (timeclock-workday-remaining-string)
7780 (timeclock-workday-elapsed-string)
7781 (timeclock-when-to-leave-string):
7782 * calendar/todo-mode.el (todo-add-category):
7783 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
7784 * emacs-lisp/autoload.el (update-file-autoloads):
7785 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
7786 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
7787 (checkdoc-message-text, checkdoc-defun):
7788 * emacs-lisp/debug.el (debugger-list-functions):
7789 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7790 * emacs-lisp/eieio-opt.el (eieio-describe-class)
7791 (eieio-describe-generic):
7792 * emacs-lisp/lisp-mnt.el (lm-synopsis):
7793 * emacs-lisp/shadow.el (list-load-path-shadows):
7794 * emulation/cua-base.el (cua-mode):
7795 * emulation/edt.el (edt-set-scroll-margins):
7796 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
7797 (tpu-toggle-regexp, tpu-toggle-search-direction)
7798 (tpu-toggle-rectangle, tpu-toggle-control-keys):
7799 * emulation/tpu-extras.el (tpu-set-scroll-margins):
7800 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7801 (viper-set-parsing-style-toggling-macro)
7802 (viper-set-emacs-state-searchstyle-macros):
7803 * emulation/viper.el (viper-set-hooks):
7804 * eshell/esh-mode.el (eshell-truncate-buffer):
7805 * international/mule-cmds.el (prefer-coding-system)
7806 (describe-input-method, describe-language-environment):
7807 * international/mule-diag.el (list-character-sets)
7808 (describe-character-set, describe-coding-system)
7809 (describe-fontset, list-fontsets, list-input-methods):
7810 * mail/sendmail.el (mail-signature):
7811 * net/ange-ftp.el (ange-ftp-copy-file):
7812 * net/browse-url.el (browse-url):
7813 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
7814 * net/quickurl.el (quickurl-add-url):
7815 * net/rcirc.el (names, topic):
7816 * net/xesam.el (xesam-mode):
7817 * play/5x5.el (5x5-new-game):
7818 * play/yow.el (apropos-zippy):
7819 * progmodes/ada-mode.el (ada-mode-version):
7820 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
7822 (f90-beginning-of-block):
7823 * progmodes/fortran.el (fortran-end-of-block)
7824 (fortran-beginning-of-block):
7825 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
7826 * progmodes/python.el (python-describe-symbol, python-shell):
7827 * term/ns-win.el (ns-print-buffer):
7828 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
7829 * textmodes/flyspell.el (flyspell-mode-on):
7830 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
7831 (pages-directory-for-addresses):
7832 * textmodes/table.el (table-recognize-cell)
7833 (table-query-dimension, table-generate-source)
7834 (table-insert-sequence, table--warn-incompatibility):
7835 * textmodes/tex-mode.el (tex-validate-buffer):
7836 * textmodes/texinfmt.el (texinfmt-version)
7837 (texinfo-format-buffer):
7838 Use `called-interactively-p' instead of `interactive-p'.
7840 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
7842 * image-mode.el (image-toggle-display):
7843 * emacs-lisp/elp.el (elp-instrument-function):
7844 * emacs-lisp/advice.el (ad-make-advised-definition):
7845 * emacs-lisp/easy-mmode.el (define-minor-mode):
7846 * net/browse-url.el (browse-url-maybe-new-window):
7847 * progmodes/sh-script.el (sh-learn-buffer-indent):
7848 Pass new argument 'any to `called-interactively-p'.
7850 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
7852 * international/uni-bidi.el:
7853 * international/uni-category.el:
7854 * international/uni-combining.el:
7855 * international/uni-comment.el:
7856 * international/uni-decimal.el:
7857 * international/uni-decomposition.el:
7858 * international/uni-digit.el:
7859 * international/uni-lowercase.el:
7860 * international/uni-mirrored.el:
7861 * international/uni-name.el:
7862 * international/uni-numeric.el:
7863 * international/uni-old-name.el:
7864 * international/uni-titlecase.el:
7865 * international/uni-uppercase.el:
7866 Regenerate from Unicode 5.2.0 data.
7868 2009-10-01 Glenn Morris <rgm@gnu.org>
7870 * Makefile.in (ELCFILES): Regenerate.
7872 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7874 * subr.el (interactive-p): Mark obsolete.
7875 (called-interactively-p): Make the optional-ness of `kind' obsolete.
7876 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
7877 advertised-signature-table for subroutines as well.
7879 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
7880 (set-advertised-calling-convention): New function.
7881 (make-obsolete, define-obsolete-function-alias)
7882 (make-obsolete-variable, define-obsolete-variable-alias):
7883 Make the optional-ness of `when' obsolete.
7884 (define-obsolete-face-alias): Make `when' non-optional.
7885 * help-fns.el (help-function-arglist):
7886 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
7887 Use advertised-signature-table.
7889 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
7891 * files.el (delete-directory): New defun. The original function
7892 in fileio.c has been renamed to `delete-directory-internal'.
7894 * dired.el (dired-delete-file): Call `delete-directory' with
7895 RECURSIVE parameter.
7897 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
7898 parameter RECURSIVE. Implementation is missing.
7900 * net/tramp.el (tramp-handle-make-directory): Flush upper
7901 directory's file properties.
7902 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
7903 (tramp-handle-dired-recursive-delete-directory): Flush directory
7904 properties after the remove command only.
7906 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
7907 Handle optional parameter RECURSIVE.
7909 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
7910 Handle optional parameter RECURSIVE.
7912 * net/tramp-smb.el (tramp-smb-errors): Add error message for
7914 (tramp-smb-handle-delete-directory): Handle optional parameter
7917 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7919 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
7920 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
7921 (byte-compile-defmacro): Use backquotes.
7923 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
7925 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
7926 has no associated file.
7927 (vc-resynch-buffer): Use vc-dir-buffers.
7929 2009-10-01 Glenn Morris <rgm@gnu.org>
7931 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
7933 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
7934 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
7935 * emacs-lisp/eieio-opt.el (eieio-describe-class):
7936 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
7937 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
7938 (eieio-copy-parents-into-subclass, make-instance, class-children)
7939 (eieio-generic-form):
7940 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
7941 * cedet/cedet-idutils.el (cedet-idutils-search)
7942 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
7943 (cedet-idutils-version-check):
7944 * cedet/cedet.el (cedet-version):
7945 * cedet/data-debug.el (data-debug-insert-overlay-button)
7946 (data-debug-insert-overlay-list-button)
7947 (data-debug-insert-buffer-button)
7948 (data-debug-insert-buffer-list-button)
7949 (data-debug-insert-process-button, data-debug-insert-ring-button)
7950 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
7951 (data-debug-insert-stuff-vector-button)
7952 (data-debug-insert-symbol-button, data-debug-insert-string)
7953 (data-debug-insert-number, data-debug-insert-lambda-expression)
7954 (data-debug-insert-nil, data-debug-insert-simple-thing)
7955 (data-debug-insert-custom, data-debug-edebug-expr):
7956 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
7957 (global-ede-mode-map, ede-new, ede-debug-target)
7958 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
7959 * cedet/semantic.el (semantic-minimum-working-buffer-size)
7960 (semantic-fetch-tags, semantic-submode-list)
7961 (semantic-default-submodes):
7962 * cedet/ede/source.el (ede-source-match):
7963 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
7964 (project-am-package-info):
7965 * cedet/ede/proj.el (ede-proj-target, project-new-target):
7966 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
7967 * cedet/ede/proj-comp.el (ede-current-build-list):
7968 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
7969 * cedet/ede/files.el (ede-toplevel-project-or-nil):
7970 * cedet/ede/cpp-root.el (initialize-instance):
7971 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
7972 (autoconf-parameter-strip, autoconf-insert-new-macro):
7973 * cedet/semantic/wisent.el (wisent-lex-eoi):
7974 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
7975 (semantic-show-parser-state-mode):
7976 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
7977 * cedet/semantic/tag.el (semantic-tag-new-variable)
7978 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
7979 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
7980 (semantic--tag-deep-copy-tag-list)
7981 (semantic-tag-components-with-overlays-default):
7982 * cedet/semantic/symref.el (semantic-symref-find-text):
7983 * cedet/semantic/senator.el (senator-yank-tag)
7984 (senator-transpose-tags-up):
7985 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
7986 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
7987 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
7988 * cedet/semantic/lex.el (semantic-lex-comment-regex)
7989 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
7990 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
7991 * cedet/semantic/lex-spp.el
7992 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
7993 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
7994 * cedet/semantic/idle.el
7995 (semantic-idle-summary-current-symbol-info-brutish)
7996 (semantic-idle-summary-current-symbol-info-default):
7997 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
7998 (semantic--grammar-macro-compl-dict):
7999 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
8000 * cedet/semantic/format.el (semantic-format-tag-custom-list)
8001 (semantic-format-tag-canonical-name-default):
8002 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
8003 (semantic-find-tags-for-completion)
8004 (semantic-find-tags-by-scope-protection-default)
8005 (semantic-deep-find-tags-for-completion):
8006 * cedet/semantic/edit.el
8007 (semantic-edits-incremental-reparse-failed-hook)
8008 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
8009 (semantic-edits-splice-remove, semantic-edits-splice-replace):
8010 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
8011 * cedet/semantic/dep.el (semantic-dependency-include-path):
8012 * cedet/semantic/db.el (semanticdb-default-find-index-class)
8013 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
8014 (semanticdb-project-roots):
8015 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
8016 (semanticdb-find-adebug-insert-scanned-tag-cons)
8017 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
8018 (semanticdb-brute-deep-find-tags-for-completion):
8019 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
8020 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
8021 (semantic-end-of-context-default)
8022 (semantic-ctxt-current-function-default)
8023 (semantic-ctxt-scoped-types-default):
8024 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
8025 (semantic-complete-inline-tag-engine)
8026 (semantic-complete-inline-custom-type)
8027 (semantic-complete-read-tag-analyzer):
8028 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
8029 (semantic-chart-database-size):
8030 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
8031 (semantic-analyze-current-context):
8032 * cedet/semantic/symref/list.el (semantic-symref)
8033 (semantic-symref-hide-buffer, semantic-symref-symbol):
8034 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
8035 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
8036 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
8037 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
8038 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
8039 (semantic-c-dereference-template):
8040 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
8041 (semantic--analyze-refs-full-lookup-with-parents)
8042 (semantic--analyze-refs-full-lookup-simple):
8043 * cedet/semantic/analyze/complete.el
8044 (semantic-analyze-possible-completions):
8045 * cedet/srecode/table.el (srecode-mode-table-new):
8046 * cedet/srecode/srt.el (srecode-read-variable-name):
8047 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
8048 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
8049 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
8050 * cedet/srecode/map.el (srecode-current-map):
8051 * cedet/srecode/insert.el (srecode-insert)
8052 (srecode-insert-variable-secondname-handler, srecode-insert-method)
8053 (srecode-template-inserter-point-override)
8054 (srecode-insert-include-lookup):
8055 * cedet/srecode/getset.el (srecode-auto-choose-class):
8056 * cedet/srecode/extract.el (srecode-inserter-extract):
8057 * cedet/srecode/document.el
8058 (srecode-document-autocomment-return-last-alist)
8059 (srecode-document-autocomment-param-type-alist)
8060 (srecode-document-insert-function-comment)
8061 (srecode-document-insert-variable-one-line-comment)
8062 (srecode-document-function-name-comment):
8063 * cedet/srecode/dictionary.el (srecode-create-dictionary)
8064 (srecode-compound-toString):
8065 * cedet/srecode/compile.el (srecode-flush-active-templates):
8066 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
8069 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
8070 match-data. (Bug#4555).
8072 * cedet/semantic/bovine/gcc.el
8073 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
8074 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
8076 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
8077 rather than parsing it as a regexp. This relaxes the layout
8078 requirements and makes errors easier to detect.
8079 (check-declare-verify): Check file is regular.
8080 (check-declare-directory): Doc fix.
8081 * subr.el (declare-function): Doc fix.
8083 * ibuffer.el (ibuffer-format-qualifier):
8084 * isearch.el (hi-lock-regexp-okay):
8085 * calc/calc.el (math-zerop):
8086 * mail/uce.el (rmail-msgbeg, rmail-msgend):
8087 * term/w32-win.el (setup-default-fontset, set-fontset-font):
8088 Remove unused declarations.
8090 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
8092 * cedet/semantic/wisent/javat-wy.el
8093 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
8095 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
8097 * cedet/srecode/expandproto.el: Fix provide statement.
8099 2009-09-30 Eric Ludlam <zappo@gnu.org>
8101 * emacs-lisp/eieio.el (boolean-p): Delete.
8103 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
8105 * cedet/ede/srecode.el: Fix provide statement.
8107 2009-09-30 Glenn Morris <rgm@gnu.org>
8109 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
8110 * cedet/ede/proj-aux.el (ede-aux-source):
8111 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
8113 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
8114 (semantic-mrub-switch-tags): Fix doc typos.
8116 * cedet/semantic/db-global.el (data-debug-new-buffer)
8117 (data-debug-insert-thing): Remove unneeded declarations (one broken).
8118 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
8120 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
8122 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
8123 use of CL function `remove-if-not'.
8125 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
8127 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
8128 filename is not a string.
8130 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
8132 * files.el (safe-local-eval-forms): Fix typo.
8134 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
8136 * vc-hooks.el (vc-dir-buffers): New var.
8137 (vc-state-refresh): New function.
8139 (vc-after-save): Always ask the backend to recompute the new state.
8140 Always call vc-dir if necessary, using vc-dir-buffers.
8141 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
8143 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
8144 (vc-dir-prepare-status-buffer, vc-dir-update)
8145 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
8146 Don't call expand-file-name on default-directory.
8148 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
8150 * speedbar.el (speedbar-item-delete):
8151 * calc/calc-prog.el (calc-kbd-if):
8152 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
8154 * epa.el (epa-key-list-mode-map):
8155 * hi-lock.el (hi-lock-menu): Fix typos in menus.
8157 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
8158 (hs-show-hook): Fix typo in docstring.
8160 2009-09-29 Glenn Morris <rgm@gnu.org>
8162 * cedet/semantic/symref/idutils.el:
8163 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
8165 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
8167 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
8168 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
8169 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
8170 Mark declarations not understood by check-declare.
8172 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
8173 file-name-nondirectory call preventing location of cedet files.
8174 (check-declare-verify): Use literal search rather than re-search.
8175 Add basic defmethod and defclass, and define-overloadable-function.
8177 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
8178 Use tramp-compat-file-attributes rather than nonexistent
8179 tramp-compat-handle-file-attributes.
8181 * Makefile.in (lisptagsfiles4): New.
8182 (AUTOGENEL): Add cedet loaddefs files.
8183 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
8184 (update-elclist, compile-always, backup-compiled-files)
8185 (bootstrap-clean): Add yet another directory level.
8186 (update-elclist): Use LC_COLLATE rather than COLLATE.
8187 (ELCFILES): Update, via `make update-elclist'.
8189 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
8191 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
8192 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
8193 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
8195 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
8197 * Makefile.in (lisptagsfiles3): Define.
8198 (TAGS, TAGS-LISP): Use it.
8199 (update-elclist): Add third directory level to look for elc files.
8200 (compile-always): Likewise.
8201 (backup-compiled-files): Likewise.
8202 (bootstrap-clean): Likewise.
8205 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
8207 * Makefile.in (ELCFILES): Add CEDET files.
8209 2009-09-28 Eric Ludlam <zappo@gnu.org>
8211 CEDET (development tools) package merged.
8215 * cedet/semantic/*.el:
8216 * cedet/srecode/*.el: New files.
8218 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
8220 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
8222 * net/tramp.el (top): Require tramp-imap.
8224 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
8225 Use `tramp-compat-handle-file-attributes'.
8227 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
8229 * net/tramp-imap.el: New package.
8231 2009-09-28 Eric Ludlam <zappo@gnu.org>
8233 * emacs-lisp/chart.el:
8234 * emacs-lisp/eieio-base.el:
8235 * emacs-lisp/eieio-comp.el:
8236 * emacs-lisp/eieio-custom.el:
8237 * emacs-lisp/eieio-datadebug.el:
8238 * emacs-lisp/eieio-opt.el:
8239 * emacs-lisp/eieio-speedbar.el:
8240 * emacs-lisp/eieio.el: New files.
8242 * cedet/cedet-cscope.el:
8243 * cedet/cedet-files.el:
8244 * cedet/cedet-global.el:
8245 * cedet/cedet-idutils.el:
8246 * cedet/data-debug.el:
8247 * cedet/inversion.el:
8248 * cedet/mode-local.el:
8249 * cedet/pulse.el: New files.
8251 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8253 * whitespace.el (whitespace-trailing-regexp)
8254 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8257 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
8259 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
8262 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
8263 menu-bar-ediff-menu.
8265 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
8266 define-overloadable-function.
8268 * progmodes/autoconf.el: Provide autoconf as well, so that this
8269 file can be `require'd.
8271 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
8273 * emacs-lisp/autoload.el (generated-autoload-feature)
8274 (generated-autoload-load-name): New vars.
8275 (autoload-rubric, autoload-generate-file-autoloads): Use them.
8276 (make-autoload): Recognize define-overloadable-function and
8277 defclass forms (for EIEIO).
8279 * Makefile.in (update-subdirs): Exclude cedet directory.
8281 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
8283 * term/ns-win.el: Don't set the region face background. (Bug#4381)
8285 * faces.el: Default light-background background for region face to
8286 ns_selection_color under NS.
8288 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
8290 * net/imap-hash.el: New library, see NEWS.
8292 * Makefile.in (ELCFILES): Add imap-hash.el.
8294 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8296 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
8297 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
8298 * help-macro.el (make-help-screen): Avoid using an ambiguous function
8299 definition where the docstring could be taken for the return value.
8301 2009-09-26 Glenn Morris <rgm@gnu.org>
8303 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
8304 Add option to only show images below a certain size.
8305 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
8306 save-excursion calls.
8308 2009-09-26 Eli Zaretskii <eliz@gnu.org>
8310 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
8311 subdirectories) and eieio.
8313 2009-09-26 Alan Mackenzie <acm@muc.de>
8315 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
8316 buggy bracketing. (Bug#4289)
8318 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
8319 character constants (as case labels). (Bug#4289)
8321 2009-09-25 Juri Linkov <juri@jurta.org>
8323 * files.el (safe-local-eval-forms): Allow time-stamp in
8324 before-save-hook (Bug#4554).
8326 2009-09-25 Drew Adams <drew.adams@oracle.com>
8328 * menu-bar.el (list-buffers-directory): Doc fix.
8330 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
8332 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
8333 Try and avoid copying twice the same paragraph.
8334 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
8335 Remove save-excursion.
8336 (log-edit-changelog-entry): Do it here instead.
8338 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
8340 * bs.el (bs--get-file-name): Use `list-buffers-directory'
8341 when available, instead of hardcoding mode names. Doc fix.
8343 * menu-bar.el (list-buffers-directory): Add docstring.
8344 Make automatically buffer-local.
8346 * dired.el (dired-mode):
8347 * files.el (cd-absolute):
8348 * pcvs.el (cvs-temp-buffer):
8349 * pcvs-util.el (cvs-get-buffer-create):
8350 * shell.el (shell-mode):
8351 * vc-dir.el (vc-dir-mode):
8352 Don't make `list-buffers-directory' buffer local.
8354 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
8356 * comint.el (comint-exec, comint-run, make-comint):
8357 Doc fixes (Bug#4542).
8359 2009-09-25 Glenn Morris <rgm@gnu.org>
8361 * mail/rmailmm.el (rmail-mime): New custom group.
8362 Move all defcustoms in this file into this group.
8363 (rmail-mime-media-type-handlers-alist): Revert previous change.
8364 (rmail-mime-show-images): New option.
8365 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
8366 references to it, since it wasn't actually used for anything.
8367 (rmail-mime-insert-image): New function.
8368 (rmail-mime-image): Use rmail-mime-insert-image.
8369 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
8370 obey the value of `rmail-mime-show-images' option. Print the size of
8373 2009-09-25 David Engster <deng@randomsample.de>
8375 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
8377 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8379 * whitespace.el: Does not highlight trailing spaces While point is
8380 at end of line. Does not highligt spaces at beginning of buffer
8381 while point is at beginning of buffer. Does not highlight spaces
8382 at end of buffer while point is at end of buffer. (Bug#4177)
8384 (whitespace-display-mappings): Adjust initialization.
8385 (whitespace-point, whitespace-font-lock-refontify): New vars.
8386 (whitespace-color-on, whitespace-color-off): Adjust code.
8387 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
8388 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
8389 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
8391 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
8393 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
8395 * textmodes/sgml-mode.el: Remove xml-mode alias.
8397 * files.el (auto-mode-alist, conf-mode-maybe)
8398 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
8400 2009-09-24 Alan Mackenzie <acm@muc.de>
8402 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
8403 c-forward-conditionals, but it doesn't move point and doesn't set
8405 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
8406 (c-down-conditional-with-else, c-backward-conditional)
8407 (c-forward-conditional): Refactor to use c-scan-conditionals.
8409 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
8411 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
8412 (help-default-arg-highlight): Remove.
8413 (help-highlight-arg): New function.
8414 (help-do-arg-highlight): Use it.
8415 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
8417 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
8419 * term.el (term-set-scroll-region, term-handle-ansi-escape):
8420 Undo last change, which didn't fix the problem and introduced others.
8422 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
8424 * progmodes/gdb-mi.el: Don't require speedbar.
8425 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
8427 2009-09-24 Glenn Morris <rgm@gnu.org>
8429 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
8431 * term/ns-win.el (ns-reg-to-script): Define for compiler.
8433 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
8434 there is no newline after the final mime boundary. (Bug#4539)
8435 Move markers on insertion so that any buttons inserted don't end up in
8436 the next part of a multipart message.
8437 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
8438 (rmail-mime-bulk-handler): Optionally handle images.
8439 (rmail-mime-image): New button action.
8440 (rmail-mime-image-handler): New function.
8441 (rmail-mime-mode): New mode.
8442 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
8444 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
8446 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
8447 than just dropping elements from it (bug#4504).
8449 * term.el (term-set-scroll-region): Don't move cursor any more.
8450 (term-handle-ansi-escape): Call term-goto here instead.
8451 Suggested by Ivan Kanis <apple@kanis.eu>.
8453 * term.el: Require CL.
8454 (term-ansi-reset): New function.
8455 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
8456 (term-handle-colors-array): Simplify.
8458 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
8460 * allout.el (allout-overlay-interior-modification-handler)
8461 (allout-obtain-passphrase):
8462 * epa-file.el (epa-file-write-region):
8463 * ps-print.el (ps-begin-job):
8464 * vc-hooks.el (vc-toggle-read-only):
8465 * vc-rcs.el (vc-rcs-rollback):
8466 * vc-sccs.el (vc-sccs-rollback):
8467 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
8468 (vc-version-diff, vc-revert, vc-rollback):
8469 * wdired.el (wdired-check-kill-buffer):
8470 * emacs-lisp/authors.el (authors):
8471 * net/socks.el (socks-open-connection):
8472 * net/zeroconf.el (zeroconf-service-add-hook):
8473 * obsolete/vc-mcvs.el (vc-mcvs-register):
8474 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
8476 * progmodes/grep.el (lgrep, rgrep):
8477 * progmodes/idlw-help.el (idlwave-help-check-locations)
8478 (idlwave-help-html-link, idlwave-help-assistant-open-link):
8479 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8480 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
8481 (reftex-toc-rename-label): Fix typos in error messages.
8483 * dired-aux.el (dired-do-shell-command): Reflow docstring.
8484 (dired-copy-how-to-fn): Doc fix.
8485 (dired-files-attributes, dired-read-shell-command):
8486 Fix typos in docstrings.
8488 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
8489 (dired-x-find-file-other-window): Reflow docstrings.
8490 (dired-omit-marker-char, dired-read-shell-command)
8491 (dired-x-submit-report): Fix typos in docstrings.
8493 * shell.el (shell-mode-hook):
8494 * view.el (View-scroll-line-forward):
8495 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
8496 Fix typos in docstrings.
8498 * net/dig.el (dig-invoke): Fix typo in docstring.
8499 (query-dig): Reflow docstring.
8501 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
8502 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
8503 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
8504 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
8505 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
8506 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
8507 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
8508 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
8509 (idlwave-completion-map, idlwave-current-indent)
8510 (idlwave-custom-ampersand-surround, idlwave-customize)
8511 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
8512 (idlwave-define-abbrev, idlwave-determine-class-special)
8513 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
8514 (idlwave-end-block-reg, idlwave-end-of-statement)
8515 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
8516 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
8517 (idlwave-explicit-class-listed, idlwave-file-header)
8518 (idlwave-fill-paragraph, idlwave-find-class-definition)
8519 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
8520 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
8521 (idlwave-in-quote, idlwave-indent-action-table)
8522 (idlwave-indent-expand-table, idlwave-indent-line)
8523 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
8524 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
8525 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
8526 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
8527 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
8528 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
8529 (idlwave-outlawed-buffers, idlwave-popup-select)
8530 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
8531 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
8532 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
8533 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
8534 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
8535 (idlwave-statement-type, idlwave-struct-skip)
8536 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
8537 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
8538 (idlwave-what-module-find-class): Fix typos in docstrings.
8539 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
8540 (idlwave-calculate-cont-indent, idlwave-expand-equal)
8541 (idlwave-find-module, idlwave-find-structure-definition)
8542 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
8543 (idlwave-list-load-path-shadows, idlwave-next-statement)
8544 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
8545 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
8546 (idlwave-template): Reflow docstrings.
8548 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
8549 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
8550 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
8551 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
8552 (idlwave-shell-display-line, idlwave-shell-display-wframe)
8553 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
8554 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
8555 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
8556 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
8557 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
8558 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
8559 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
8560 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
8561 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
8562 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
8563 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
8564 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
8565 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
8566 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
8567 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
8568 Fix typos in docstrings.
8569 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
8570 (idlwave-shell-hide-output, idlwave-shell-mode)
8571 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
8574 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
8576 2009-09-24 Ivan Kanis <apple@kanis.eu>
8578 * term.el (term-bold-attribute): New var.
8579 (term-handle-colors-array): Use it.
8581 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
8583 * progmodes/gdb-mi.el (gdb-version): New variable.
8584 (gdb-non-stop-handler): Set gdb-version.
8585 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
8586 Condition "--thread" option on gdb-version.
8587 (gdb-invalidate-threads): Remove unused argument.
8589 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8591 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
8592 to looking-back to avoid ridiculous slow down in large files (bug#4511).
8594 2009-09-23 Glenn Morris <rgm@gnu.org>
8596 * mail/rmail.el (rmail-reply): Don't try to add a References header when
8597 replying to mail without References or Message-Id. (Bug#4525)
8599 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
8601 * term/ns-win.el (ns-reg-to-script): New variable.
8603 2009-09-23 Daiki Ueno <ueno@unixuser.org>
8605 * epg.el (epg-wait-for-status): Preserve existing 'error results.
8607 2009-09-22 Sam Steingold <sds@gnu.org>
8609 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
8610 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
8611 to 1 because hg returns status 1 when nothing is found.
8612 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
8614 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
8616 * textmodes/fill.el: Convert to utf-8 encoding.
8617 (fill-french-nobreak-p): Remove redundant » and « inherited from our
8620 * add-log.el (change-log-fill-forward-paragraph): New function.
8621 (change-log-mode): Use it so fill-region DTRT.
8622 Set fill-indent-according-to-mode here rather than in
8623 change-log-fill-paragraph.
8624 (change-log-fill-paragraph): Remove.
8626 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
8628 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
8629 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
8631 2009-09-22 Glenn Morris <rgm@gnu.org>
8633 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
8634 the scroll-bar scroll the calendar window rather than the buffer.
8636 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
8637 commands that move point (as opposed to scrolling).
8639 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
8641 * emacs-lisp/elint.el (elint): New custom group.
8642 (elint-log-buffer): Make it a defcustom.
8643 (elint-scan-preloaded, elint-ignored-warnings)
8644 (elint-directory-skip-re): New options.
8645 (elint-builtin-variables): Doc fix.
8646 (elint-preloaded-env): New variable.
8647 (elint-unknown-builtin-args): Add an entry for encode-time.
8648 (elint-extra-errors): Make it a variable rather than a constant.
8649 (elint-preloaded-skip-re): New constant.
8650 (elint-directory): Skip files matching elint-directory-skip-re.
8651 (elint-features): New variable, local to linted buffers.
8652 (elint-update-env): Initialize elint-features. Possibly add
8653 elint-preloaded-env to the buffer's environment.
8654 (elint-get-top-forms): Bind elint-current-pos, for log messages.
8656 (elint-init-form): New function, extracted from elint-init-env.
8657 Make non-list forms a warning rather than an error.
8658 Add the mode-map for define-derived-mode. Handle define-minor-mode,
8659 easy-menu-define, put that adds an error-condition, and provide.
8660 When requiring cl, also require cl-macs. Really require cl, to handle
8661 some cl macros. Store required libraries in the list elint-features,
8662 so as not to re-load them. Treat cc-require like require.
8663 (elint-init-env): Call elint-init-form to do the work.
8664 Handle eval-and-compile and such like.
8665 (elint-add-required-env): Do not clear messages.
8666 (elint-special-forms): Add handlers for function, defalias, if, when,
8668 (elint-form): Add optional argument to ignore elint-special-forms,
8669 useful to prevent recursive calls from handlers. Doc fix.
8670 Respect elint-ignored-warnings.
8671 (elint-form): Respect elint-ignored-warnings.
8672 (elint-bound-variable, elint-bound-function): New variables.
8673 (elint-unbound-variable): Respect elint-bound-variable.
8674 (elint-get-args): Respect elint-bound-function.
8675 (elint-check-cond-form): Add some simple handling for (f)boundp and
8677 (elint-check-defalias-form): New handler.
8678 (elint-check-let-form): Make an empty let a warning rather than an
8680 (elint-check-setq-form): Make an empty setq a warning rather than an
8681 error. Respect elint-ignored-warnings.
8682 (elint-check-defvar-form): Accept null doc-strings.
8683 (elint-check-conditional-form): New handler. Does some simple-minded
8684 checking of featurep and (f)boundp tests.
8685 (elint-put-function-args): New function.
8686 (elint-initialize): Use elint-scan-doc-file rather than
8687 elint-find-builtin-variables. Use elint-put-function-args.
8688 Possibly scan preloaded-file-list.
8689 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
8690 extend to handle functions as well.
8692 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
8694 * linum.el (linum-delete-overlays, linum-update-window):
8695 Do not modify the right margin. (Bug#3971)
8697 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
8699 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
8700 nxml-mode instead of xml-mode.
8702 2009-09-21 Kevin Ryde <user42@zip.com.au>
8704 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
8706 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8708 * net/dig.el (dig-mode): Use define-derived-mode.
8710 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
8712 * vc-dispatcher.el (vc-do-command): Return the process object in
8713 the asynchronous case. Use when instead of if. Do not run
8714 vc-exec-after to display a message if not enabled. (Bug#4463)
8716 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
8717 properties to the stash strings.
8718 (vc-git-stash-list): Return a list of strings.
8719 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
8720 (vc-git-stash-show-at-point): New functions.
8721 (vc-git-stash-map): New keymap.
8723 * register.el (ctl-x-r-map): Define the keys here instead of
8726 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
8728 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
8729 list, to workaround performance problem (bug#4485).
8731 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
8733 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
8735 2009-09-20 Daiki Ueno <ueno@unixuser.org>
8737 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
8738 Document that this option is not recommended to use.
8740 2009-09-19 Glenn Morris <rgm@gnu.org>
8742 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
8745 * calc/calc-alg.el (var):
8746 * calc/calcalg2.el (var): Define for compiler.
8748 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
8750 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
8753 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
8755 * time-stamp.el (time-stamp-month-dd-yyyy)
8756 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
8757 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
8758 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
8759 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
8760 Remove functions that have been obsolete since 1995 (Bug#4436).
8762 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
8763 indent buffer only if called interactively (Bug#4452).
8765 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
8766 Eli Zaretskii <eliz@gnu.org>
8768 This fixes bug#4197 (merged to bug#865, though not identical).
8769 * server.el (server-auth-dir): Add docstring note about FAT32.
8770 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
8771 but warn against using them.
8773 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
8775 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
8776 older GDB where there is no has_more field.
8778 2009-09-19 Glenn Morris <rgm@gnu.org>
8780 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
8782 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
8784 * files.el (auto-mode-alist): Change default for XML files to nXML
8787 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
8789 * server.el (server-ensure-safe-dir): Pass 'integer
8790 to `file-attributes', as suggested.
8792 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
8794 * dired-aux.el (dired-query-alist): Remove spurious backslash.
8795 (dired-query): Use read-key.
8797 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
8799 * cus-start.el (ns-use-qd-smoothing): Remove.
8801 2009-09-18 Glenn Morris <rgm@gnu.org>
8803 * allout.el (top-level): Remove unnecessary progn.
8805 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
8807 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
8808 definition of abbrev table.
8810 * speedbar.el (speedbar-track-mouse):
8811 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
8812 * net/eudc.el (eudc-expand-inline):
8813 * net/newst-backend.el (newsticker--cache-read-feed):
8814 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
8815 condition-case handlers.
8817 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
8819 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
8820 (gdb-var-list): Add an element for has_more field.
8821 (gdb-non-stop-handler): Enable pretty printing for STL containers.
8822 (gdb-var-create-handler, gdb-var-list-children-handler-1)
8823 (gdb-var-update-handler-1): Parse output of dynamic variable
8824 objects (STL containers).
8825 (gdb-var-delete-1): Pass var1 as an explicit second argument.
8826 (gdb-get-field): Delete alias. Use bindat-get-field directly.
8828 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
8830 (gud-speedbar-buttons): Make node expandable if expression "has more"
8833 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
8835 * startup.el (emacs-quick-startup): Remove variable and all uses.
8836 (command-line): Set `inhibit-x-resources' instead.
8837 (command-line-1): Use `inhibit-x-resources' instead.
8839 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
8841 * subr.el: Fix last change to avoid using the `unless' macro,
8842 which breaks bootstrapping.
8844 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8846 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
8847 extended definitions, in case we reload subr.el after having
8849 (eval-next-after-load): Mark as obsolete.
8851 2009-09-17 Juri Linkov <juri@jurta.org>
8853 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
8854 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
8855 (menu-bar-showhide-menu, menu-bar-tools-menu)
8856 (menu-bar-describe-menu, menu-bar-help-menu)
8857 (minibuffer-local-completion-map, minibuffer-local-map):
8860 2009-09-17 Glenn Morris <rgm@gnu.org>
8862 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
8863 arguments, whether or not it has a handler.
8865 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
8867 * simple.el (hard-newline): Give it a doc-string.
8869 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8870 (lisp-mode-syntax-table): Give them doc-strings.
8872 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
8874 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
8875 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
8876 (menu-bar-options-menu, menu-bar-showhide-menu)
8877 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
8878 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
8879 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
8880 (menu-bar-options-menu, menu-bar-tools-menu)
8881 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
8882 (menu-bar-help-menu):
8883 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
8886 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
8887 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
8888 calls for the menu names and :help.
8890 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8892 * mouse.el (minor-mode-menu-from-indicator): Pay attention
8893 to :minor-mode-function (bug#4455).
8895 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8897 * startup.el (command-line): Initialize the window-system after
8898 processing the command-line.
8900 * textmodes/page.el (what-page): Make sure we don't inf-loop if
8901 page-delimiter matches the empty string.
8903 2009-09-16 Glenn Morris <rgm@gnu.org>
8905 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
8906 byte-compile-not-obsolete-var. It's a list now.
8907 (byte-compile-not-obsolete-funcs): New variable.
8908 (byte-compile-warn-obsolete): Don't warn about functions if they are in
8909 byte-compile-not-obsolete-funcs.
8910 (byte-compile-variable-ref, byte-compile-defvar): Update for
8911 byte-compile-not-obsolete-vars name-change and list nature.
8912 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
8913 and variables behind (f)boundp tests.
8914 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
8916 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
8918 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
8920 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
8922 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
8923 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
8926 2009-09-15 Stephen Eglen <stephen@gnu.org>
8928 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
8929 the virtual-buffers, use the name of the buffer specified by
8930 find-file-noselect, as the match may be a symlink. (This was a
8931 problem if the target and the symlink had different names.)
8933 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
8935 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
8937 * desktop.el (desktop-path): Check user-emacs-directory.
8939 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
8941 * loadup.el: Use after-load-functions to GC after loading each file.
8942 Remove the explicit GC calls that used to be sprinkled around.
8944 * subr.el (after-load-functions): New hook.
8945 (do-after-load-evaluation): Run it. Use string-match-p to detect
8946 `obsolete' packages, rather than painfully extracting the relevant
8949 2009-09-15 Glenn Morris <rgm@gnu.org>
8951 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
8952 free variable `doc'.
8954 * dired.el (dired-mode-map): Add menu entry for async shell command.
8956 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
8957 variables, also consider the .elc files, since the .el files are
8958 normally gzipped (subsequent code locates the .el.gz from the .elc).
8960 * calc/calc-prog.el (arglist): Define for compiler.
8962 * calendar/diary-lib.el (diary-display-function): Change the default to
8964 (body): Define for compiler.
8966 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
8967 (byte-compile-file-form, byte-compile-lambda)
8968 (byte-compile-top-level-body, byte-compile-form)
8969 (byte-compile-variable-ref, byte-compile-setq)
8970 (byte-compile-setq-default, byte-compile-body)
8971 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
8972 (batch-byte-compile): Give some more local variables with common names
8973 a "bytecomp-" prefix to avoid masking warnings about free variables.
8975 * startup.el (command-line-1): Give local variables with common names a
8976 distinguishing prefix, so as not to hide free variable warnings during
8979 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
8980 clever and add a suffix to make a unique name, just let the user decide
8981 whether or not to overwrite it. If the input is a directory, write the
8982 default filename to that directory. (Bug#4388)
8983 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
8984 is a filename-as-a-directory.
8986 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
8988 * textmodes/page.el (what-page): Don't move to beginning of line.
8989 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
8991 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
8993 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
8995 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
8997 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
8998 * help.el (help-for-help-internal): Add purecopy calls for text.
9000 * vc.el (top): print-log method now takes an optional SHORTLOG
9001 argument. Add a new method: root.
9002 (vc-root-diff, vc-print-root-log): New functions.
9003 (vc-log-short-style): New variable.
9004 (vc-print-log-internal): Add support for showing short logs.
9006 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
9007 vc-print-root-log and vc-print-root-diff.
9009 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
9010 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
9011 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
9014 * vc-cvs.el (vc-cvs-print-log):
9015 * vc-mtn.el (vc-mtn-print-log):
9016 * vc-rcs.el (vc-rcs-print-log):
9017 * vc-sccs.el (vc-sccs-print-log):
9018 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
9019 that is ignored for now.
9021 * vc-mtn.el (vc-mtn-annotate-command):
9022 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
9024 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9026 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
9027 to function-key-map, and give them ascii-character property.
9028 * term/x-win.el (x-alternatives-map):
9029 * term/ns-win.el (ns-alternatives-map):
9030 * term/internal.el (msdos-key-remapping-map):
9031 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
9033 2009-09-14 Glenn Morris <rgm@gnu.org>
9035 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
9036 temp-buffers (2009-09-12).
9038 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9040 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
9041 the new read-key function.
9043 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
9045 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
9046 is defined (Bug#4405).
9048 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
9050 * recentf.el (recentf-cleanup): Use a hash table to find
9051 duplicates (Bug#4407).
9053 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
9055 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
9056 kp-0 to ascii equivalents (Bug#4325).
9058 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
9060 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
9062 * eshell/em-hist.el:
9063 * eshell/em-dirs.el (eshell-complete-user-reference):
9064 Declare pcomplete functions and variables to avoid compiler warnings.
9066 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
9068 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
9069 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
9070 * eshell/em-alias.el (eshell-aliases-file):
9071 * eshell/em-hist.el (eshell-history-file-name):
9072 Use expand-file-name instead of concat to make file names (Bug#4308).
9074 2009-09-13 Glenn Morris <rgm@gnu.org>
9076 * ediff-merg.el (ediff-do-merge):
9077 * filesets.el (filesets-run-cmd):
9078 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
9079 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
9080 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
9081 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
9082 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
9083 Replace empty `let's with `progn'.
9085 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9087 * mail/sendmail.el (send-mail-function):
9088 * tooltip.el (tooltip-mode):
9089 * simple.el (transient-mark-mode):
9090 * rfn-eshadow.el (file-name-shadow-mode):
9091 * frame.el (blink-cursor-mode):
9092 * font-core.el (global-font-lock-mode):
9093 * files.el (temporary-file-directory)
9094 (small-temporary-file-directory, auto-save-file-name-transforms):
9095 * epa-hook.el (auto-encryption-mode):
9096 * composite.el (global-auto-composition-mode):
9097 Use custom-initialize-delay.
9098 * startup.el (command-line): Don't explicitly call
9099 custom-reevaluate-setting for all the above vars.
9100 * custom.el (custom-initialize-safe-set)
9101 (custom-initialize-safe-default): Delete.
9103 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9105 * term/x-win.el (x-initialize-window-system):
9106 * term/w32-win.el (w32-initialize-window-system):
9107 * term/ns-win.el (ns-initialize-window-system): Don't call
9108 mouse-wheel-mode since it's enabled globally by default already.
9110 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
9111 actually define the variable, but only silences the byte-compiler.
9112 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
9113 before looking it up.
9114 (mouse-wheel-scroll-amount): Also reset the bindings if this value
9117 2009-09-12 Glenn Morris <rgm@gnu.org>
9119 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
9121 (elint-add-required-env): Don't beep on error.
9122 (elint-forms): In case of error, return ENV unchanged.
9123 (elint-init-env): Skip non-list forms.
9124 (elint-log): Handle unknown file positions.
9126 2009-09-12 Daiki Ueno <ueno@unixuser.org>
9128 * epg.el (epg-make-context): Add autoload cookie.
9129 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
9130 (epg-decrypt-string, epg-start-verify, epg-verify-file)
9131 (epg-verify-string, epg-start-sign, epg-sign-file)
9132 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
9133 (epg-encrypt-string, epg-start-export-keys)
9134 (epg-export-keys-to-file, epg-export-keys-to-string)
9135 (epg-start-import-keys, epg-import-keys-from-file)
9136 (epg-import-keys-from-string, epg-start-receive-keys)
9137 (epg-receive-keys, epg-import-keys-from-server)
9138 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
9139 (epg-sign-keys, epg-start-generate-key)
9140 (epg-generate-key-from-file, epg-generate-key-from-string):
9141 Remove autoload cookie.
9143 2009-09-12 Eli Zaretskii <eliz@gnu.org>
9145 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
9146 reevaluation of trash-directory.
9148 * mwheel.el: Fix last change.
9149 (mouse-wheel-mode): New defvar.
9150 (mouse-wheel-mode): Remove autoload cookie.
9152 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9154 * mwheel.el (mwheel-installed-bindings): New var.
9155 (mouse-wheel-mode): Use it, so as to make sure we really remove all
9156 the bindings we set last time. Use custom-initialize-delay.
9157 * loadup.el: Load mwheel after term/*-win.el.
9158 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
9159 and mouse-wheel-up-event now that their first evaluation is done
9160 sufficiently late to be correct.
9162 * startup.el (tutorial-directory): Make it a defcustom.
9163 Use custom-initialize-delay rather than eval-at-startup to set it.
9164 * image.el (image-load-path): Make it a defcustom.
9165 Use custom-initialize-delay rather than eval-at-startup to set it.
9166 * subr.el (eval-at-startup): Remove.
9167 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
9169 * subr.el (do-after-load-evaluation): Warn the user after loading an
9172 2009-09-12 Glenn Morris <rgm@gnu.org>
9174 * proced.el (proced-mark-alt): Remove alias.
9175 (proced-mode-map): Remove proced-mark-alt.
9177 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
9178 Elint file and directory. Remove initialization entry.
9180 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
9182 (elint-current-buffer): Set mode-line-process.
9183 (elint-init-env): Handle define-derived-mode.
9184 Fix declare-function with unspecified arglist. Guard against odd
9185 defalias statements (eg iso-insert's 8859-1-map).
9186 (elint-add-required-env): Use a temp buffer.
9187 (elint-form): Just print the function/macro name, not the whole form.
9188 Return env unchanged if we fail to parse a macro.
9189 (elint-forms): Guard against parse errors.
9190 (elint-output): New function, to handle batch mode.
9191 (elint-log-message): Add optional argument. Use elint-output.
9192 (elint-set-mode-line): New function.
9194 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
9196 * emacs-lisp/elp.el (elp-not-profilable): Add more
9197 functions (Bug#4233).
9199 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
9201 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
9202 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
9204 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
9206 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
9207 (gdb-var-list-children): Use json parsing.
9209 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
9211 * progmodes/js.el (js--proper-indentation): Handle the case where
9212 char-before is null. Reported by Deniz Dogan.
9214 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
9216 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
9218 2009-09-11 Daiki Ueno <ueno@unixuser.org>
9220 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
9221 (epg-digest-algorithm-alist): Add SHA224.
9222 (epg-context-set-passphrase-callback)
9223 (epg-context-set-progress-callback): Add description about
9226 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9228 * custom.el (custom-delayed-init-variables): New var.
9229 (custom-initialize-delay): New function.
9230 * startup.el (command-line): "Re"evaluate all vars in
9231 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
9232 explicitly any more.
9233 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
9234 to avoid creating a ~/.emacs.d at build-time (bug#4347).
9236 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
9238 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
9240 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
9241 (gdb-var-update-handler): Use json parsing.
9243 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
9245 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
9246 decode annotated text, regardless of language environment. (Bug#2741)
9248 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9250 * Makefile.in (autoloads): Make rmail.el writable as well.
9252 2009-09-11 Glenn Morris <rgm@gnu.org>
9254 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
9256 * dired.el: Regenerate with extracted autoloads.
9257 * Makefile.in (autoloads): Make dired.el writable.
9259 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
9260 * ibuffer.el: Regenerate with extracted autoloads.
9261 * Makefile.in (autoloads): Make ibuffer.el writable.
9263 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
9264 * version.el (emacs-copyright, emacs-major-version)
9265 (emacs-minor-version): Reformat doc-strings for make-docfile.
9267 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
9268 functions and variables, since they must be stuff specific to some other
9270 (apropos-print): Make mouse-click message less specific about button.
9272 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
9273 that records where a macro was defined.
9274 * help-fns.el (describe-function-1): Mention if a function has a
9276 * help-mode.el (help-function-cmacro): New button.
9278 * locate.el (top-level): Always require dired.
9279 (locate-mode-map): Initialize inside the defvar.
9281 * net/ange-ftp.el (dired-compress-file): Declare.
9282 (ange-ftp-dired-compress-file): Add doc string.
9284 * term/ns-win.el (x-display-name, x-setup-function-keys):
9285 Unify doc-strings with X versions.
9287 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9289 * emulation/crisp.el (crisp-mode-map): Move initialization
9291 (crisp-mode): Use define-minor-mode.
9293 * progmodes/xscheme.el (xscheme-evaluation-commands):
9294 Put a :advertised-binding property rather than using
9295 advertised-xscheme-send-previous-expression.
9296 (advertised-xscheme-send-previous-expression): Declare obsolete.
9297 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
9299 (crisp-mode): Add corresponding bindings to
9300 undo's :advertised-binding instead.
9301 * dired.el (dired-mode-map): Put a :advertised-binding property rather
9302 than using dired-advertised-find-file.
9303 (dired-advertised-find-file):
9304 * simple.el (advertised-undo):
9305 * wid-edit.el (advertised-widget-backward): Declare obsolete.
9306 (widget-keymap): Put a :advertised-binding property rather
9307 than using advertised-widget-backward.
9308 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
9309 than using advertised-undo.
9310 * tutorial.el (tutorial--default-keys): Adjust accordingly.
9312 2009-09-10 Simon South <ssouth@slowcomputing.org>
9314 * progmodes/delphi.el (delphi-tab): Indent region when Transient
9315 Mark mode is enabled and region is active; otherwise indent or
9316 insert TAB as usual.
9317 (delphi-mode): Update description of TAB-key binding.
9319 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9321 * subr.el (define-key-rebound-commands): Mark obsolete.
9322 * startup.el (precompute-menubar-bindings): Remove.
9323 (normal-top-level): Remove obsolete code that tried to precompute
9325 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
9326 define-key-rebound-commands and precompute-menubar-bindings.
9328 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
9330 * net/imap.el (imap-interactive-login): Better messages.
9331 (imap-open): Fix bug with renamed buffer on reconnect.
9332 (imap-authenticate): Add buffer-local imap-last-authenticator variable
9333 for easier debugging and cleaner code. On successful (guessed based on
9334 server capabilities) secondary authentication, set imap-state
9336 (imap-last-authenticator): Define imap-last-authenticator as a variable
9339 2009-09-10 Glenn Morris <rgm@gnu.org>
9341 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
9343 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
9344 (byte-compile-file-form-autoload): Don't warn about unknown functions
9345 where the autoload statement comes after the use.
9346 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
9347 that any handlers inside the body (eg require) are in turn respected.
9349 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
9352 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
9353 and syntax and abbrev tables basic docs, if they don't have any.
9355 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
9357 * international/mule-cmds.el (top-level): Require cl when compiling.
9358 (view-hello-file): Use default-value rather than
9359 default-enable-multibyte-characters.
9361 * progmodes/fortran.el: Move all safe and risky properties into the
9364 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
9365 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
9367 Put autoloads in rmail.el rather than loaddefs.el.
9368 * mail/rmail.el: Regenerate with extracted autoloads.
9370 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
9371 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
9373 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
9375 Reported in thread for Bug#4375.
9376 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
9377 "-data-evaluate-expression" instead of print.
9378 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
9379 (gdb-tooltip-print): Parse output from above MI command.
9380 (gdb): Revert 2009-08-11 change. User should detach inferior
9383 Remove the word "separate" from IO functions as inferior
9384 output is now never displayed in the GUD buffer.
9386 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
9388 * startup.el (command-line-normalize-file-name): On Windows and
9389 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
9391 2009-09-10 Juri Linkov <juri@jurta.org>
9393 * isearch.el (isearch-text-char-description): Propertize escape
9394 character sequences with the `escape-glyph' face. (Bug#4344)
9396 * simple.el (shell-command): Set asynchronous process filter to
9397 `comint-output-filter'. (Bug#4343)
9399 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
9400 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
9401 the list. Move "asm" to the bottom.
9402 (grep-find-ignored-directories): Add `choice' with nil value
9403 to empty the list easily.
9404 (grep-find-ignored-files): New option.
9405 (grep-files-history): Set to nil by default instead of '("ch" "el").
9406 (grep-compute-defaults): Add "<X>" to `grep-template'.
9407 (grep-read-files): Bind new local variables `default-alias' and
9408 `default-extension'. Use a list of default values for the file prompt.
9409 (lgrep): Add `--exclude=' command line options composed from
9410 `grep-find-ignored-files'.
9411 (rgrep): Add `-name' command line options composed from
9412 `grep-find-ignored-files'. (Bug#4301)
9414 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9416 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
9419 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
9421 * calendar/time-date.el (autoload):
9422 Expand define-obsolete-function-alias into defalias and make-obsolete
9423 for old Emacsen that Gnus supports.
9424 (with-no-warnings): Define it for old Emacsen.
9425 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
9427 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
9428 float-time is available; suppress compile warning for time-to-seconds.
9430 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
9432 * net/imap.el (imap-message-map): Docstring fix.
9434 2009-09-09 Glenn Morris <rgm@gnu.org>
9436 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
9437 line numbers too. (Bug#4374)
9439 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
9441 * smerge-mode.el (smerge-remove-props, smerge-refine):
9442 Use with-silent-modifications (bug#4342).
9444 * subr.el (with-silent-modifications): New macro.
9446 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
9448 * files.el (top-level): Require `cl' when compiling.
9450 2009-09-07 Glenn Morris <rgm@gnu.org>
9452 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
9454 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
9455 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
9457 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
9459 * vc-git.el (vc-git-annotate-command): Use separator to parse
9460 arguments correctly.
9462 2009-09-06 Eli Zaretskii <eliz@gnu.org>
9464 * proced.el (proced-mode): Doc fix.
9466 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
9468 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
9470 (tramp-do-file-attributes-with-ls): Check for file existence at
9472 (tramp-do-file-attributes-with-stat): Likewise.
9473 (tramp-convert-file-attributes): Return nil when attr is nil.
9475 2009-09-05 Glenn Morris <rgm@gnu.org>
9477 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
9478 properties to this button.
9479 (diary-fancy-display): Don't extend the button to the final newline.
9480 (diary-fancy-display-mode): Continue to define "q" as a local key.
9482 * calendar/cal-china.el (holiday-chinese): Make it slightly more
9485 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
9487 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
9488 (byte-compile-dest-file-function): New option.
9489 (byte-compile-dest-file): Doc fix.
9490 Obey byte-compile-dest-file-function.
9491 (byte-compile-cl-file-p): New function.
9492 (byte-compile-eval): Only suppress noruntime warnings about cl functions
9493 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
9494 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
9495 than for file being previously loaded.
9496 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
9497 (byte-compile-file-form-require): Handle the case where requiring a file
9498 indirectly causes CL to be loaded.
9500 2009-09-05 Karl Fogel <kfogel@red-bean.com>
9502 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
9503 before killing the old buffer, since by the time `kill-buffer' is
9504 run so many buffer variables have been set to nil that it may not
9505 behave as expected. (Bug#4061)
9507 2009-09-05 Karl Fogel <kfogel@red-bean.com>
9509 * files.el (find-alternate-file): If the old buffer is modified
9510 and visiting a file, behave similarly to `kill-buffer' when
9511 killing it, thus reverting to the pre-1.878 behavior; see
9512 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
9513 for discussion. Also, consult `buffer-file-name' as a variable
9514 not as a function, for consistency with the rest of the code.
9516 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
9518 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
9519 also when adding a new directory.
9521 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
9524 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9526 * files.el (locate-file-completion-table): Make it provide boundary
9527 information, so partial-completion works better.
9529 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
9531 * mail/footnote.el (Footnote-text-under-cursor):
9532 Check footnote-text-marker-alist before using it (bug#4324).
9534 2009-09-04 Glenn Morris <rgm@gnu.org>
9536 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
9537 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
9538 * play/solitaire.el, play/tetris.el:
9539 Remove leading * from defcustom and defface docs.
9541 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
9543 (diary-fancy-overriding-map): New variable.
9544 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
9547 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
9550 2009-09-03 Glenn Morris <rgm@gnu.org>
9552 * arc-mode.el (archive-mode):
9553 * dos-fns.el (set-default-process-coding-system):
9554 * man.el (Man-getpage-in-background):
9555 * menu-bar.el (menu-bar-describe-menu):
9556 * server.el (server-process-filter):
9557 * startup.el (command-line):
9558 * tar-mode.el (tar-header-block-tokenize, tar-extract):
9559 * w32-fns.el (set-default-process-coding-system):
9560 * x-dnd.el (x-dnd-handle-file-name):
9561 * international/mule-cmds.el (mule-menu-keymap)
9562 (set-default-coding-systems, language-info-alist, set-language-info)
9563 (set-language-environment, standard-display-european-internal)
9564 (set-locale-environment):
9565 * international/mule-diag.el (mule-diag):
9566 * mail/emacsbug.el (report-emacs-bug):
9567 * mail/rmail.el (rmail-mode):
9568 * mail/sendmail.el (mail-setup):
9569 Use default-value rather than default-enable-multibyte-characters.
9571 * progmodes/f90.el: Move all safe properties into the defcustoms.
9572 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
9574 * calendar/appt.el (appt-check):
9575 * calendar/diary-lib.el (diary-set-header, diary-live-p)
9576 (diary-check-diary-file, diary-list-entries)
9577 (diary-include-other-diary-files, diary-simple-display)
9578 (diary-fancy-display, diary-print-entries)
9579 (diary-mark-included-diary-files, diary-make-entry):
9580 Don't call substitute-in-file-name on diary-file.
9582 2009-09-03 Eduard Wiebe <usenet@pusto.de>
9583 Stefan Monnier <monnier@iro.umontreal.ca>
9585 * mail/footnote.el (footnote-prefix): Make it a defcustom.
9586 (footnote-mode-map): Move initialization into the declaration.
9587 (footnote-minor-mode-map): Define it rather than changing global-map.
9588 (footnote-mode): Use define-minor-mode.
9590 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
9592 * net/tramp.el (tramp-handle-file-attributes-with-ls)
9593 (tramp-do-file-attributes-with-perl)
9594 (tramp-do-file-attributes-with-stat): Rename from
9595 `tramp-handle-file-attributes-with-*'.
9596 (tramp-handle-file-attributes): Use them.
9597 (tramp-do-directory-files-and-attributes-with-perl)
9598 (tramp-do-directory-files-and-attributes-with-stat): Rename from
9599 `tramp-handle-directory-files-and-attributes-with-*'.
9600 (tramp-handle-directory-files-and-attributes): Use them.
9601 (tramp-method-out-of-band-p): Additional parameter SIZE.
9602 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
9603 (tramp-handle-write-region): Use it.
9604 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
9605 (tramp-handle-vc-registered): Check, whether the first run did
9606 return files to be tested.
9607 (tramp-advice-make-auto-save-file-name): Do not call directly
9608 `tramp-handle-make-auto-save-file-name', because this would bypass
9609 the locking mechanism.
9611 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
9612 (file-remote-p, process-file, start-file-process, set-file-times)
9613 (tramp-compat-file-attributes): Compatibility functions shall not
9614 call directly `tramp-handle-*', because this would bypass the
9616 (tramp-compat-number-sequence): New defun.
9618 2009-09-02 Glenn Morris <rgm@gnu.org>
9620 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
9621 alias for float-time.
9622 (time-to-number-of-days): In Emacs, use float-time.
9623 * net/newst-backend.el (time-add): Suppress warnings from compat
9625 * time.el (emacs-uptime, emacs-init-time):
9626 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
9627 Use float-time rather than time-to-seconds.
9629 * minibuffer.el (completion-initials-expand): Fix typo.
9631 * faces.el (modeline, modeline-inactive, modeline-highlight)
9632 (modeline-buffer-id):
9633 * info.el (info-menu-5): Mark these face aliases as obsolete.
9635 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
9637 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
9639 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
9640 no "--thread" option.
9641 (gdb-stopped): Don't print "Switched to thread" message when it is
9644 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9646 * minibuffer.el (completion-try-completion)
9647 (completion-all-completions): Remove ill-defined (and
9648 mistakenly installed and luckily never used nor documented)
9649 `completion-styles' property.
9650 (completion-initials-expand, completion-initials-all-completions)
9651 (completion-initials-try-completion): New functions.
9652 (completion-styles-alist): Add doc to each entry.
9653 Add new `initials' entry.
9655 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
9657 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
9658 MI command -var-evaluate-expression.
9659 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
9660 and tweak for case of string child.
9661 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
9663 2009-09-01 Glenn Morris <rgm@gnu.org>
9665 * add-log.el (change-log-date-face, change-log-name-face)
9666 (change-log-email-face, change-log-file-face, change-log-list-face)
9667 (change-log-conditionals-face, change-log-function-face)
9668 (change-log-acknowledgement-face):
9669 * cus-edit.el (custom-invalid-face, custom-rogue-face)
9670 (custom-modified-face, custom-set-face, custom-changed-face)
9671 (custom-saved-face, custom-button-face, custom-button-pressed-face)
9672 (custom-documentation-face, custom-state-face, custom-comment-face)
9673 (custom-comment-tag-face, custom-variable-tag-face)
9674 (custom-variable-button-face, custom-face-tag-face)
9675 (custom-group-tag-face-1, custom-group-tag-face):
9676 * diff-mode.el (diff-header-face, diff-file-header-face)
9677 (diff-index-face, diff-hunk-header-face, diff-removed-face)
9678 (diff-added-face, diff-changed-face, diff-function-face)
9679 (diff-context-face, diff-nonexistent-face):
9680 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
9681 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
9682 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
9683 (Info-title-4-face):
9684 * isearch.el (isearch-lazy-highlight-face):
9685 * log-view.el (log-view-file-face, log-view-message-face):
9686 * paren.el (show-paren-match-face, show-paren-mismatch-face):
9687 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
9688 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
9690 * smerge-mode.el (smerge-mine-face, smerge-other-face)
9691 (smerge-base-face, smerge-markers-face):
9692 * wid-edit.el (widget-documentation-face, widget-button-face)
9693 (widget-field-face, widget-single-line-field-face)
9694 (widget-inactive-face, widget-button-pressed-face):
9695 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
9696 (woman-addition-face):
9697 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
9698 (eshell-ls-executable-face, eshell-ls-readonly-face)
9699 (eshell-ls-unreadable-face, eshell-ls-special-face)
9700 (eshell-ls-missing-face, eshell-ls-archive-face)
9701 (eshell-ls-backup-face, eshell-ls-product-face)
9702 (eshell-ls-clutter-face):
9703 * eshell/em-prompt.el (eshell-prompt-face):
9704 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
9705 * obsolete/old-whitespace.el (whitespace-highlight-face):
9706 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
9707 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
9708 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
9709 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
9710 (antlr-font-lock-literal-face):
9711 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
9712 (ebrowse-root-class-face, ebrowse-file-name-face)
9713 (ebrowse-default-face, ebrowse-member-attribute-face)
9714 (ebrowse-member-class-face, ebrowse-progress-face):
9715 * progmodes/make-mode.el (makefile-space-face):
9716 * progmodes/sh-script.el (sh-heredoc-face):
9717 * textmodes/flyspell.el (flyspell-incorrect-face)
9718 (flyspell-duplicate-face):
9719 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
9720 * textmodes/texinfo.el (texinfo-heading-face):
9721 Mark face aliases with "-face" suffix as obsolete.
9723 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
9726 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
9727 (eudc-bob-sound-menu): Use defvar rather than defconst, since
9728 easy-menu-define wants to modify these.
9730 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
9732 * net/browse-url.el (browse-url-file-url):
9733 * term/internal.el (dos-codepage-setup):
9734 Use default-value rather than default-enable-multibyte-characters.
9736 * progmodes/etags.el (etags-goto-tag-location):
9737 * progmodes/flymake.el (flymake-highlight-line)
9738 (flymake-goto-file-and-line, flymake-goto-line):
9739 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
9740 (gdb-goto-breakpoint):
9741 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
9742 * progmodes/python.el (python-find-function)
9743 (python-pdbtrack-track-stack-file):
9744 * progmodes/verilog-mode.el (verilog-surelint-off):
9745 * term/ns-win.el (ns-open-file-select-line):
9746 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
9747 Use forward-line rather than goto-line.
9749 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
9750 * textmodes/reftex-index.el (reftex-display-index):
9751 * textmodes/reftex-ref.el (reftex-offer-label-menu):
9752 * textmodes/reftex-toc.el (reftex-toc):
9753 Remove unnecessary bindings of default-major-mode (all are followed by
9754 major-mode check and possible mode switch).
9756 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
9758 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9759 Handle watchpoints (bug#4282).
9760 (def-gdb-thread-buffer-command): Enable thread to be selected by
9761 clicking without selecting threads buffer first.
9762 (gdb-current-context-command): Use selected frame so that "up",
9763 "down" etc work in the GUD buffer.
9764 (gdb-update): Find selected frame before rendering stack buffer.
9765 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
9767 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
9769 * progmodes/sym-comp.el (displayed-completions): Remove.
9770 (symbol-complete): Use minibuffer-complete.
9772 2009-08-31 Glenn Morris <rgm@gnu.org>
9774 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
9776 * apropos.el (apropos-symbols-internal):
9777 Handle (obsolete) face aliases.
9779 * faces.el (describe-face): Adjust the output format to be more like
9780 describe-variable, and to mention (obsolete) face aliases.
9781 Adjust the whitespace so that help-setup-xref works.
9783 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
9784 * calendar/diary-lib.el (diary-button-face):
9785 Mark these face aliases as obsolete.
9787 * calendar/calendar.el (calendar-today): Doc fix.
9789 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
9791 * progmodes/gdb-mi.el (gdb-control-all-threads)
9792 (gdb-control-current-thread): Force tool bar update.
9793 (gdb-non-stop-handler): New function.
9794 (gdb-init-1): Use it to test if non-stop mode is supported.
9795 Remove unused gdbmi buffer type.
9797 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9799 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
9800 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
9802 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
9804 * comint.el (comint-exec-1): Check command is non-null first.
9805 Part of gdb-mi.el change (2009-08-28).
9807 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9809 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
9811 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
9813 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
9814 instead of `dolist' to avoid a recursive require when bootstrapping.
9816 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9818 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
9820 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
9822 * net/imap.el (imap-send-command): Simplify.
9823 (imap-wait-for-tag): point-max -> buffer-size.
9825 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
9827 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
9828 with constant argument.
9830 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
9832 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
9834 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
9835 Change default, since most of our files don't have a history.
9836 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
9839 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9842 * calc/calc.el: Improve commenting convention.
9843 (calc-digit-map, toplevel): Simplify.
9845 * comint.el (comint-insert-input): Be careful to only set point if we
9846 don't delegate to some other command.
9848 * proced.el (proced-signal-list): Make it an alist.
9849 (proced-grammar-alist): Capitalize names.
9850 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
9851 Disable undo manually and make it read-only.
9852 Use completion-annotate-function.
9854 * minibuffer.el (minibuffer-message): If the current buffer is not
9855 a minibuffer, insert the message in the echo area rather than at the
9857 (completion-annotate-function): New variable.
9858 (minibuffer-completion-help): Use it.
9859 (completion--embedded-envvar-table): Environment vars are
9860 always case-sensitive.
9862 2009-08-30 Glenn Morris <rgm@gnu.org>
9864 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
9865 from fortran-current-defun.
9866 (fortran-beginning-of-subprogram): Be more precise about finding the
9867 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
9868 (fortran-end-of-subprogram): Simplify.
9869 (fortran-current-defun): Use fortran-start-prog-re.
9871 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
9873 * subr.el (do-after-load-evaluation): Simplify.
9875 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
9877 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
9879 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
9880 (vc-rcs-print-log): Use it.
9882 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
9884 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9886 * paths.el (abbrev-file-name): Move to abbrev.el.
9887 * abbrev.el (abbrev-file-name): Move from paths.el.
9888 Obey user-emacs-directory.
9889 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
9890 user-emacs-directory.
9891 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
9892 abbrev-file-name and calc-settings-file any more.
9893 * startup.el (command-line): Recompute abbrev-file-name and
9894 abbreviated-home-dir.
9895 (normal-no-mouse-startup-screen): Improve the generic code and get rid
9896 of the special code for when C-h bindings haven't been changed.
9897 (display-startup-echo-area-message): Use with-current-buffer.
9898 (command-line-1): Use a list of strings, rather than a list of lists
9899 of strings for longopts.
9901 * files.el (get-free-disk-space): Use / for default-directory.
9903 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
9904 Use with-current-buffer.
9906 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
9907 Recognize immutable variables like most-positive-fixnum.
9908 (byte-compile-setq-default): Check and warn if trying to assign
9909 to an immutable variable, or a non-variable.
9911 * progmodes/cc-vars.el (c-comment-continuation-stars):
9912 * progmodes/cc-engine.el (c-looking-at-bos):
9913 * progmodes/cc-cmds.el (c-toggle-auto-state)
9914 (c-forward-into-nomenclature, c-backward-into-nomenclature)
9915 (c-comment-line-break-function): Add version of obsolescence.
9917 2009-08-28 Juri Linkov <juri@jurta.org>
9919 * files.el (magic-fallback-mode-alist): Add ZIP magic number
9920 associated with `archive-mode'.
9922 * image.el (image-type-header-regexps): Use only JPEG magic number
9923 to determine JPEG images, and don't use `image-jpeg-p' because
9924 Emacs can display non-JFIF non-Exif JPEG images.
9926 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
9928 * arc-mode.el (archive-mode):
9929 * emacs-lisp/re-builder.el (re-builder-unload-function):
9930 Protect against the default value of `major-mode' being nil.
9932 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
9934 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
9935 Fix typos in docstrings.
9937 * progmodes/js.el (js--macro-decl-re): Doc fix.
9938 (js--plain-method-re, js--split-name): Refloc docstring.
9939 (js--class-styles, js--make-merged-item, js--splice-into-items):
9940 Fix typos in docstrings; reflow docstrings.
9941 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
9942 (js--variable-decl-matcher, js--inside-pitem-p)
9943 (js--parse-state-at-point, js--get-all-known-symbols)
9944 (js--symbol-history, js-find-symbol, js--js-references)
9945 (js--moz-interactor, js--js-encode-value, js--read-tab):
9946 Fix typos in docstrings.
9948 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9950 * textmodes/reftex.el (reftex-get-file-buffer-force):
9951 * progmodes/verilog-mode.el (verilog-batch-execute-func):
9952 * emulation/viper.el (viper-go-away, viper-set-hooks):
9953 * emacs-lisp/re-builder.el (re-builder-unload-function):
9954 * emacs-lisp/bytecomp.el (byte-compile-file):
9955 * ses.el (ses-unload-function):
9956 * hexl.el (hexl-find-file):
9957 * files.el (normal-mode):
9958 * ehelp.el (with-electric-help):
9959 * autoinsert.el (auto-insert-alist):
9960 * arc-mode.el (archive-mode):
9961 Use (default-value 'major-mode) instead of default-major-mode.
9963 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
9964 * international/mule.el (load-with-code-conversion):
9965 * emacs-lisp/debug.el (debug):
9966 * ediff-vers.el (ediff-rcs-get-output-buffer):
9967 * dired.el (dired-internal-noselect): Don't let-bind
9968 default-major-mode around code that doesn't use it.
9969 E.g. buffer creation via get-buffer-create doesn't use it.
9971 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
9973 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
9974 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
9975 when writing the temp file. Otherwise, epa-file gets confused.
9976 (tramp-register-file-name-handlers): Make it a defun. Move also
9977 `epa-file-handler' to the front of `file-name-handler-alist'.
9979 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9981 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
9982 start right after a ^M.
9983 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
9984 (tramp-completion-file-name-regexp-separate)
9985 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
9986 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
9987 Don't modify last-coding-system-used by accident.
9988 (tramp-completion-file-name-handler): Apply the checks here,
9989 instead during registration.
9990 (tramp-register-file-name-handlers): Renamed from
9991 `tramp-register-file-name-handler'. Register both
9992 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
9993 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
9995 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
9997 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
9999 (gdb-init-1, gdb-display-separate-io-buffer)
10000 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
10002 (gdb-inferior-io-mode): Use make-comint-in-buffer.
10003 (gdb-inferior-filter): Use comint-output-filter to stop
10004 echoing and remove ^M characters.
10006 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10008 * emulation/viper-init.el (viper-restore-cursor-type):
10009 * emulation/cua-base.el (cua--update-indications):
10010 Replace default-cursor-type with (default-value 'cursor-type).
10012 * mail/sendmail.el (mail-recover-1):
10013 * international/mule-diag.el (describe-current-coding-system-briefly)
10014 (describe-current-coding-system):
10015 * international/mule-cmds.el (select-safe-coding-system)
10016 (select-message-coding-system)
10017 (set-language-environment-coding-systems, set-locale-environment):
10018 * hexl.el (hexl-insert-multibyte-char):
10019 * dos-w32.el (find-buffer-file-type-coding-system):
10020 * simple.el (what-cursor-position):
10021 Replace uses of default-buffer-file-coding-system
10022 with (default-value 'buffer-file-coding-system).
10024 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
10025 Replace uses of default-cursor-in-non-selected-windows
10026 with (default-value 'cursor-in-non-selected-windows).
10027 Use with-current-buffer.
10029 * mail/feedmail.el: Use CL macros.
10030 (feedmail-run-the-queue, feedmail-send-it-immediately):
10031 * dos-w32.el (find-buffer-file-type): Replace uses of
10032 default-buffer-file-type with (default-value 'buffer-file-type).
10034 2009-08-28 Glenn Morris <rgm@gnu.org>
10036 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
10037 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
10038 Use default-value of major-mode rather than default-major-mode.
10040 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10042 * Makefile.in (update-elcfiles): Report left over elc files.
10044 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
10045 expand-file-name and with-current-buffer.
10046 (mail-get-names, mail-directory): Use with-current-buffer.
10048 * vc.el (vc-read-revision): New function.
10049 (vc-version-diff, vc-merge): Use it.
10051 2009-08-27 Sam Steingold <sds@gnu.org>
10053 * simple.el (kill-do-not-save-duplicates): New user option.
10054 (kill-new): When it is non-nil, and the new string is the same as
10055 the latest kill, set replace to t to avoid duplicates in kill-ring.
10057 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
10059 * net/tramp.el (tramp-handle-process-file): Do not flush all
10060 caches when `process-file-side-effects' is set.
10061 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
10062 instead of `tramp-find-file-exists-command'.
10063 Unset `process-file-side-effects'.
10065 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
10067 * net/tramp.el (tramp-methods): New method "rsyncc".
10068 (top): Add completion function for "rsyncc".
10069 (tramp-message-show-message): New defvar.
10070 (tramp-message, tramp-error): Use it.
10071 (tramp-do-copy-or-rename-file-directly): Extend check for direct
10073 (tramp-do-copy-or-rename-file-out-of-band): Handle new
10074 `tramp-methods' entry `copy-env' of "rsyncc".
10075 (tramp-vc-registered-read-file-names): New defconst.
10076 (tramp-vc-registered-file-names): New defvar.
10077 (tramp-handle-vc-registered): Implement optimization strategy.
10078 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
10079 (tramp-vc-file-name-handler): New defun.
10080 (tramp-get-ls-command, tramp-get-test-command)
10081 (tramp-get-file-exists-command, tramp-get-remote-ln)
10082 (tramp-get-remote-perl, tramp-get-remote-stat)
10083 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
10085 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
10086 (tramp-cache-inhibit-cache): Extend doc string. It allows also
10088 (tramp-get-file-property): Check for timestamps in
10089 `tramp-cache-inhibit-cache'.
10090 (tramp-set-file-property): Write timestamp.
10092 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
10094 * language/japan-util.el (japanese-symbol-table): Add entries for
10097 * international/characters.el: Add category `j' to cp932-2-byte.
10099 2009-08-27 Kenichi Handa <handa@m17n.org>
10101 * international/fontset.el (build-default-fontset-data): New macro.
10102 (setup-default-fontset): Use build-default-fontset-data for CJK,
10103 tibetan, ethiopic, and ipa.
10105 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10107 * cus-start.el (default-major-mode): Customize `major-mode' instead.
10108 (enable-multibyte-characters): Not customizable any more.
10110 * subr.el (default-mode-line-format, default-header-line-format)
10111 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
10112 (default-direction-reversed, default-truncate-lines)
10113 (default-left-margin, default-tab-width, default-case-fold-search)
10114 (default-left-margin-width, default-right-margin-width)
10115 (default-left-fringe-width, default-right-fringe-width)
10116 (default-fringes-outside-margins, default-scroll-bar-width)
10117 (default-vertical-scroll-bar, default-indicate-empty-lines)
10118 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
10119 (default-fringe-cursor-alist, default-scroll-up-aggressively)
10120 (default-scroll-down-aggressively, default-fill-column)
10121 (default-cursor-type, default-buffer-file-type)
10122 (default-cursor-in-non-selected-windows)
10123 (default-buffer-file-coding-system, default-major-mode)
10124 (default-enable-multibyte-characters): Mark as obsolete.
10126 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
10128 * vc-dir.el (vc-dir-update): Remove debug helper.
10130 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
10132 2009-08-26 Sam Steingold <sds@gnu.org>
10134 * simple.el (save-interprogram-paste-before-kill): New user option.
10135 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
10136 save the interprogram-paste into kill-ring before overriding it
10137 with the Emacs kill.
10139 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
10141 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
10142 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
10143 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
10144 and move to vc-rcs.el.
10145 (vc-default-next-revision): Rename to vc-rcs-next-revision and
10147 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
10148 (vc-rcs-update-changelog): Remove.
10149 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
10150 and move to vc-rcs.el.
10152 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
10153 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
10155 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
10156 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
10157 vc.el, renamed to be RCS specific.
10159 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
10161 (vc-cvs-update-changelog): Move here from vc.el.
10163 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
10166 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
10168 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
10170 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
10172 * vc-git.el (vc-git-register): Use "git add" for directories.
10173 (vc-git-stash, vc-git-stash-show): New functions.
10174 (vc-git-extra-menu-map): Bind them.
10176 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
10177 directory correctly in case the item is a directory itself.
10179 * vc.el: Document the desired behavior for reverted files in the
10181 (vc-default-prettify-state-info): Remove function, unused.
10183 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
10185 2009-08-26 Glenn Morris <rgm@gnu.org>
10187 * bindings.el (standard-mode-line-format): Reposition dashes in
10188 which-func entry. (Bug#4217)
10190 * files.el (enable-local-variables, enable-local-eval)
10191 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
10193 (auto-mode-alist, ignored-local-variables)
10194 (save-some-buffers-action-alist): Move risky declarations to the
10196 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
10197 (font-lock-defaults, format-alist, imenu--index-alist)
10198 (imenu-generic-expression, input-method-alist, minor-mode-alist)
10199 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
10200 (mode-line-modified, mode-line-mule-info, mode-line-position)
10201 (mode-line-process, mode-line-remote, outline-level)
10202 (parse-time-rules, rmail-output-file-alist)
10203 (special-display-buffer-names, vc-mode):
10204 Move risky declarations to the relevant files.
10205 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
10206 (mode-line-modified, mode-line-process, mode-line-position)
10207 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
10208 * font-core.el (font-lock-defaults):
10209 * format.el (format-alist):
10210 * vc-hooks.el (vc-mode):
10211 * window.el (special-display-buffer-names):
10212 * international/mule-cmds.el (input-method-alist):
10213 Define riskiness here (dumped file) rather than in files.el.
10214 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
10215 * imenu.el (imenu-generic-expression, imenu--index-alist):
10216 * outline.el (outline-level):
10217 * time.el (display-time-string):
10218 * calendar/parse-time.el (parse-time-rules):
10219 * mail/rmailout.el (rmail-output-file-alist):
10220 Autoload riskiness here, rather than placing in files.el.
10222 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
10224 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
10226 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
10228 * simple.el (process-file-side-effects): New defvar.
10230 * dired-aux.el (dired-show-file-type):
10231 * vc.el (vc-diff-internal):
10232 * vc-arch.el (vc-arch-diff):
10233 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
10234 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
10235 * vc-git.el (vc-git-registered, vc-git-working-revision)
10236 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
10237 (vc-git--empty-db-p):
10238 * vc-hooks.el (vc-user-login-name):
10239 * vc-svn.el (vc-svn-registered, vc-svn-state)
10240 (vc-svn-dir-extra-headers, vc-svn-find-revision):
10241 * progmodes/grep.el (grep-probe): Let-bind
10242 `process-file-side-effects' with nil.
10244 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
10246 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
10247 daemon. Replace ping by checking for running service for bluez
10248 and zeroconf. (Bug#4239)
10250 2009-08-25 Kevin Ryde <user42@zip.com.au>
10252 * net/dig.el (dig): Add autoload cookie.
10254 2009-08-25 Glenn Morris <rgm@gnu.org>
10256 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
10257 load-history for absolute file-names.
10258 (byte-compile-file-form-require): Warn about use of the cl package.
10260 * format.el (format-alist): Doc fix.
10262 * play/bubbles.el (top-level): Don't require cl at run-time.
10264 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
10267 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
10269 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
10271 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
10273 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
10275 * calc/calc-alg.el (math-trig-rewrite)
10276 (math-hyperbolic-trig-rewrite): New functions.
10277 (calc-simplify): Simplify trig functions when asked.
10279 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10281 * diff-mode.el (diff-find-source-location): Avoid goto-line.
10283 2009-08-24 Kenichi Handa <handa@m17n.org>
10285 * language/ind-util.el (mapthread): Delete it.
10286 (combinatorial): New function.
10287 (indian--puthash-cv): Use combinatorial instead of mapthread.
10289 2009-08-22 Kevin Ryde <user42@zip.com.au>
10291 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
10292 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
10293 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
10294 Clarify docstring that the value is strings not symbols.
10295 (checkdoc-list-of-strings-p): New function.
10297 2009-08-22 Glenn Morris <rgm@gnu.org>
10299 * files.el (auto-mode-alist):
10300 * hippie-exp.el (he-concat-directory-file-name):
10301 * lpr.el (lpr-windows-system, printer-name):
10302 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
10303 * ps-print.el (ps-windows-system):
10304 * startup.el (command-line):
10305 * emulation/viper-ex.el (viper-glob-function):
10306 * international/mule-cmds.el (set-language-environment-coding-systems):
10307 * net/ange-ftp.el (ange-ftp-write-region):
10308 * obsolete/fast-lock.el (fast-lock-cache-name):
10309 Remove code for defunct system-types emx, macos, mswindows, next-mach,
10310 unisoft-unix, vax-vms, win32, w32.
10312 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
10313 given name if the pattern is not more specific.
10315 * calendar/lunar.el (lunar-phase-names): New option.
10316 (lunar-phase): Doc fix.
10317 (lunar-cycles-per-year): New constant.
10318 (lunar-index): New function.
10319 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
10320 (lunar-phase-name): Use lunar-phase-names.
10321 (calendar-lunar-phases): Use format.
10322 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
10324 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
10325 Copy imenu-example--name-and-position function here for own use.
10326 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
10328 * bs.el (bs--redisplay):
10329 * cus-edit.el (custom-redraw):
10330 * ibuffer.el (ibuffer-bury-buffer):
10331 * server.el (server-goto-line-column):
10332 * startup.el (command-line-1):
10333 * strokes.el (strokes-xpm-for-stroke):
10334 * term.el (term-display-buffer-line):
10335 * view.el (View-goto-line):
10336 * calc/calc.el (calc-do, calc-trail-buffer):
10337 * play/gamegrid.el (gamegrid-add-score-insecure):
10338 * progmodes/ada-mode.el (ada-compile-goto-error):
10339 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
10340 (ebrowse-select-1st-to-9nth):
10341 * progmodes/cperl-mode.el (cperl-time-fontification):
10342 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
10343 * progmodes/gud.el (gud-display-line):
10344 (idlwave-shell-display-line):
10345 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
10346 * progmodes/make-mode.el (makefile-browser-toggle):
10347 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
10348 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
10349 * textmodes/picture.el (picture-draw-rectangle):
10350 * textmodes/reftex-index.el (reftex-index-goto-letter):
10351 (reftex-select-jump-to-previous):
10352 * textmodes/reftex-sel.el (reftex-find-start-point)
10353 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
10354 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
10355 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
10356 * textmodes/tex-mode.el (tex-compilation-parse-errors):
10357 * textmodes/two-column.el (2C-associated-buffer):
10358 Use forward-line rather than goto-line.
10360 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
10363 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
10364 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
10365 (quick-check-list-to-regexp): Declare.
10367 * progmodes/make-mode.el (makefile-browser-insert-selection):
10368 Use goto-char rather than goto-line.
10370 * progmodes/prolog.el (compilation-error-regexp-alist)
10371 (compilation-forget-errors): Declare.
10373 2009-08-22 Juri Linkov <juri@jurta.org>
10375 * progmodes/grep.el (lgrep, rgrep): At the beginning
10376 set `dir' to `default-directory' unless `dir' is a non-nil
10377 readable directory. (Bug#4052)
10378 (lgrep, rgrep): Change a weird way to report an error
10379 from using `read-string' to using `error'.
10380 Instead of using interactive arguments in the function body,
10381 add new argument `confirm'.
10383 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10385 * textmodes/remember.el (remember-buffer):
10386 * progmodes/cperl-mode.el (cperl-vc-header-alist):
10387 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
10388 (icalendar-extract-ical-from-buffer):
10389 * net/newst-treeview.el (newsticker-groups-filename):
10390 * net/newst-backend.el (newsticker-cache-filename):
10391 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
10392 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
10393 (speedbar-add-ignored-path-regexp, speedbar-line-path)
10394 (speedbar-buffers-line-path, speedbar-path-line)
10395 (speedbar-buffers-line-path):
10396 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
10398 * epa.el (epa-display-verify-result):
10399 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
10401 2009-08-21 Glenn Morris <rgm@gnu.org>
10403 * progmodes/js.el (inferior-moz-process): Fix declaration.
10405 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
10407 * obsolete/rnewspost.el (news-mail-reply):
10408 Use goto-char rather than goto-line.
10410 * term/ns-win.el (ns-open-file-select-line):
10411 Use line-beginning-position rather than goto-line.
10413 * apropos.el (apropos-command):
10414 * ehelp.el (electric-helpify):
10415 * printing.el (pr-show-setup):
10416 * strokes.el (strokes-help):
10417 * tutorial.el (tutorial--describe-nonstandard-key)
10418 (tutorial--detailed-help):
10419 * woman.el (woman-mini-help, woman-display-extended-fonts):
10420 * calc/calc-help.el (calc-describe-key):
10421 * emulation/edt.el (edt-electric-helpify):
10422 * international/mule-diag.el (mule-diag):
10423 * play/yow.el (apropos-zippy):
10424 * progmodes/python.el (python-describe-symbol):
10425 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
10426 * textmodes/table.el (*table--cell-describe-mode)
10427 (*table--cell-describe-bindings):
10428 Use help-print-return-message rather than the now obsolete alias.
10430 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
10431 (calendar-cursor-to-visible-date):
10432 * play/5x5.el (5x5-position-cursor):
10433 * play/decipher.el (decipher):
10434 * play/gomoku.el (gomoku-goto-xy):
10435 * play/landmark.el (lm-goto-xy):
10436 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
10437 (mpuz-paint-digit):
10438 Use forward-line, not goto-line.
10440 * mail/rmail.el (rmail-obsolete): Delete custom group.
10441 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
10442 (rmail-remote-password, rmail-remote-password-required):
10443 Remove unneeded :set-after and :set properties.
10445 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
10447 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
10449 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
10451 * loadup.el: Remove leftover macos code.
10453 * vc-git.el (vc-git-annotate-command): Run asynchronously.
10454 Explicitly pass the date format to git blame so that user local
10455 so that the output format can be parsed.
10457 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
10459 * net/dbus.el (top): Don't check for (getenv
10460 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
10462 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
10464 * log-edit.el (log-edit-strip-single-file-name): New var.
10465 (log-edit-insert-changelog): Use it. Bug#3571
10467 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
10469 * subr.el (read-passwd): Use read-key so keypad keys work as well.
10472 * help.el (help-print-return-message): Rename from
10473 print-help-return-message.
10475 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
10476 cvs-mode-map parent hack.
10477 (log-view-mode): Derive from special-mode.
10479 * linum.el (linum-mode): window-size-change-functions is redundant.
10480 Adapt to new window-configuration-change-hook behavior.
10481 (linum-after-size, linum-after-config): Remove.
10483 * imenu.el (imenu-example--name-and-position)
10484 (imenu-example--lisp-extract-index-name)
10485 (imenu-example--create-lisp-index, imenu-example--create-c-index):
10488 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
10489 (inferior-prolog-mode): Use it.
10490 (inferior-prolog-load-file): Reset list of errors.
10492 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
10494 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
10496 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
10498 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
10500 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
10501 is running already.
10503 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
10505 * subr.el (listify-key-sequence-1): Use normal syntax since those
10506 integers are nowadays always represented by the same (positive) number
10508 (read-key-empty-map): New const.
10509 (read-key-delay): New var.
10510 (read-key): New function.
10511 (force-mode-line-update): Use with-current-buffer.
10512 (locate-user-emacs-file): Don't forget to abbreviate the file name.
10513 (start-process-shell-command, start-file-process-shell-command):
10514 Discourage the use of command-args.
10516 2009-08-19 Glenn Morris <rgm@gnu.org>
10518 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
10520 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
10522 * simple.el (choose-completion-string): Don't rely on
10523 minibuffer-completing-file-name and ad-hoc checks to decide whether
10524 to continue completion or not.
10526 * minibuffer.el (minibuffer-hide-completions): New function.
10527 (completion--do-completion): Use it.
10528 (completions-annotations): New face.
10529 (completion--insert-strings): Use it.
10530 (completion-pcm--delim-wild-regex): Add docstring.
10531 (completion-pcm--string->pattern): Add support for 0-width delimiters
10532 in completion-pcm--delim-wild-regex.
10534 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
10536 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
10537 Remove unused var `buffer-modified-p'.
10539 * minibuffer.el (completion--do-completion): Move point for the #b001
10540 case as well (bug#4176).
10541 (minibuffer-complete, minibuffer-complete-word): Don't move point.
10543 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
10545 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
10546 and :session buses.
10548 2009-08-18 Kenichi Handa <handa@m17n.org>
10550 * international/ucs-normalize.el (ucs-normalize-version):
10552 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
10553 (utf-8-hfs): Make it perform normalization on encoding too.
10555 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
10556 (sentence-end-without-space): Delete duplicated chars.
10557 (sentence-end-base): Likewise.
10559 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
10560 (html-mode): Delete duplicated chars from sentence-end-base.
10562 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
10563 (texinfo-mode): Delete duplicated chars from sentence-end-base.
10565 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
10567 * files.el (hack-one-local-variable): If the mode function is for
10568 a minor mode, pass it an argument (Bug#4148).
10570 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
10572 * net/tramp.el (tramp-register-completion-file-name-handler):
10573 Check also for (member 'partial-completion completion-styles).
10575 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
10577 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
10580 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
10582 * progmodes/cperl-mode.el: Merge upstream 6.2.
10583 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
10584 (cperl-forward-re): Check cperl-brace-recursing.
10585 (cperl-highlight-charclass): New function.
10586 (cperl-find-pods-heres): Use it.
10587 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
10588 (cperl-beautify-regexp-piece): Fix column calculation.
10589 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
10590 (cperl-beautify-level): Don't process entire regexp.
10591 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
10593 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
10594 (cperl-init-faces): Build a list in the normal way.
10596 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
10598 * calendar/parse-time.el (parse-time-string-chars): Save match
10601 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
10603 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
10604 (sql-product): Use it.
10605 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
10606 (sql-set-product): Add completion.
10607 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
10608 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
10609 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
10610 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
10611 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
10612 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
10613 (sql-highlight-db2-keywords): Remove.
10614 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
10615 (sql-highlight-product): Use derived-mode-p.
10616 (sql-set-sqli-buffer): Use with-current-buffer.
10617 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
10620 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
10622 * term.el: Fix commenting convention, turn comments into docstrings.
10624 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
10626 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
10628 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
10630 * calendar/parse-time.el (parse-time-string-chars): Compute using
10631 character classes, to handle non-ascii characters (Bug#3190).
10633 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
10635 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
10636 another heredoc if the user adds another < (Bug#3226).
10638 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
10639 Don't initialize based on window-system (Bug#4124).
10641 * facemenu.el (facemenu-read-color): Use a completion function
10642 that accepts any defined color, such as RGB triplets (Bug#3677).
10644 * files.el (get-free-disk-space): Change fallback default
10645 directory to /. Expand DIR argument before switching to fallback.
10646 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
10648 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
10650 * files.el (load-library): Doc fix.
10652 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
10654 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
10655 (viper-if-string): Redefine C-s in the minibuffer to insert the last
10656 incremental search string.
10658 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
10661 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
10662 (ediff-merge-region-is-non-clash)
10663 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
10664 Also check if the job is really a merge job.
10666 * ediff.el (ediff-current-file): New function.
10668 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
10670 * progmodes/js.el: Edit docstrings throughout to follow Emacs
10672 (js-insert-and-indent): Delete function.
10673 (js-mode-map): Don't bind keys to js-insert-and-indent.
10674 (js-beginning-of-defun): Rename from js--beginning-of-defun.
10675 (js-end-of-defun): Rename from js--end-of-defun.
10676 (js-auto-indent-flag): Delete variable.
10678 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
10680 * progmodes/js.el: Remove proclaim statement.
10681 Defvar which-func-imenu-joiner-function to silence compiler.
10683 * files.el (auto-mode-alist): Use js-mode for .js files.
10685 * progmodes/js2-mode.el: Remove file.
10687 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
10689 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
10691 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
10693 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
10694 Karl Landstrom <karl.landstrom@brgeight.se>
10696 * progmodes/js.el: New file.
10698 2009-08-14 Mark A. Hershberger <mah@everybody.org>
10700 * timezone.el (timezone-parse-date): Add ability to understand ISO
10701 basic format (minimal separators) dates in addition to the
10702 already-supported extended format dates.
10704 2009-08-14 Eli Zaretskii <eliz@gnu.org>
10706 * international/ucs-normalize.el: Add a `coding' file variable.
10708 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
10710 2009-08-14 Sam Steingold <sds@gnu.org>
10712 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10714 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
10716 * faces.el (help-argument-name): Define it here instead of
10717 help-fns.el, because in daemon mode help-fns.el may be loaded when
10718 faces are still uninitialized (Bug#1078).
10720 * help-fns.el (help-argument-name): Move defface to faces.el.
10722 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
10724 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
10725 create buffer with a pty but no process so that GDB can make the
10726 inferior the controlling process.
10728 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
10730 * international/ucs-normalize.el: New file.
10732 2009-08-13 Richard Stallman <rms@gnu.org>
10734 * mail/rmail.el (rmail-get-attr-names):
10735 Accept an attribute header that is too short.
10737 * mail/rmail.el (rmail-forget-messages):
10738 Ignore nil elt in rmail-message-vector. Use dotimes.
10740 * progmodes/compile.el (compilation-goto-locus):
10741 Use next-error-move-function.
10743 * simple.el (next-error-move-function): New variable.
10745 2009-08-12 Juri Linkov <juri@jurta.org>
10747 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
10748 always non-nil. (Bug#4052)
10750 * replace.el (read-regexp): Return empty string when
10751 `default-value' is nil.
10752 (keep-lines-read-args): Don't use empty string as the
10753 default value for `read-regexp'. (Bug#2495)
10755 2009-08-12 Juri Linkov <juri@jurta.org>
10757 * international/mule-cmds.el (ucs-insert): Change arguments
10758 from `arg' to `character', `count', `inherit' to be the same
10759 as in `insert-char'. Doc fix. (Bug#4039)
10761 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
10763 2009-08-12 Juri Linkov <juri@jurta.org>
10765 * files-x.el: New file.
10767 * files.el: Move code that deals with adding/deleting
10768 file/directory-local variables to files-x.el.
10770 * Makefile.in (ELCFILES): Add files-x.elc.
10772 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
10774 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
10775 to use `goto-line'.
10776 (gdb-place-breakpoints, gdb-get-location): Rewritten without
10778 (gdb-invalidate-disassembly): Do not refresh upon receiving
10779 'update signal. Instead, update all disassembly buffers only after
10781 (gdb): Send -target-detach when buffer is killed (Bug#3794).
10782 (gdb-starting): Moved -data-list-register-names...
10783 (gdb-stopped): ...here so it's sent when first thread stops.
10784 (gdb-registers-handler-custom): Do nothing if register names are
10787 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
10788 from `gdb-mi.el' to avoid extra tangling.
10790 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
10791 change which breaks `gud-def' definitions used in `gdb'.
10792 (gdb-update-gud-running): No extra fuss for updating frame number.
10794 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10796 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
10797 (describe-language-environment-map, setup-language-environment-map)
10798 (set-coding-system-map): Move initialization into declaration.
10799 (set-language-info-alist): Last arg to define-key-after can be skipped.
10801 * international/quail.el (quail-completion-1): Simplify.
10802 (quail-define-rules): Use slightly more compact code.
10803 (quail-insert-decode-map): Propertize keys, compact columns.
10805 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10808 2009-08-10 Miles Bader <miles@gnu.org>
10810 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
10811 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
10812 (js2-instance-member, js2-private-member, js2-private-function-call)
10813 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
10814 (js2-magic-paren, js2-external-variable):
10815 Remove "-face" suffix from face names.
10816 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
10817 (js2-highlight-undeclared-vars, js2-peek-token)
10818 (js2-parse-function-params, js2-mode-show-errors)
10819 (js2-mode-show-warnings, js2-make-magic-delimiter)
10820 (js2-mode-highlight-magic-parens): Update to use new face names.
10822 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
10824 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
10825 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
10827 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
10829 * subr.el: Provide hashtable-print-readable.
10831 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
10832 hs-c-like-adjust-block-beginning.
10833 (hs-hide-block-at-point): Stop hiding at the beginning of
10834 hs-block-end-regexp (Bug#700).
10836 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
10838 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
10840 (gdb-registers-handler-custom): Do not fail when register names
10843 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
10845 * progmodes/gdb-mi.el (gdb-control-all-threads)
10846 (gdb-control-current-thread): Interactive setters for
10847 `gdb-gud-control-all-threads' to use in menu.
10848 (gdb-show-run-p): Show «Go» when process is not active.
10849 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
10850 gud/thread.xpm and gud/all.xpm.
10852 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
10854 * net/net-utils.el (net-utils-font-lock-keywords): New var.
10855 (nslookup-font-lock-keywords): Make it a variable.
10856 (net-utils-mode): New mode for viewing diagnostic network output.
10857 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
10858 (net-utils-run-simple): New function.
10859 (ifconfig, iwconfig, netstat, arp, route): Use it.
10861 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
10863 * progmodes/gdb-mi.el (gdb-read-memory-custom)
10864 (gdb-memory-set-address, def-gdb-set-positive-number)
10865 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
10866 after changing settings.
10867 (gdb-invalidate-disassembly): Update when first shown.
10868 (gdb-edit-locals-value): Fixed.
10869 (gdb-registers-handler-custom): Print registers in right order and
10870 allow changing register values (only for current thread yet).
10871 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
10872 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
10873 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
10874 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
10876 (gdb-registers-mode-map): TAB to switch to locals.
10878 2009-08-08 Eli Zaretskii <eliz@gnu.org>
10880 * mail/rmail.el (rmail-add-mbox-headers)
10881 (rmail-set-message-counters-counter): Search for
10882 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
10884 2009-08-08 Glenn Morris <rgm@gnu.org>
10886 * Makefile.in (ELCFILES): Update.
10888 2009-08-07 Eli Zaretskii <eliz@gnu.org>
10890 * mail/sendmail.el (mail-yank-original): Set
10891 buffer-file-coding-system from the one used by the message whose
10894 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
10895 to "windows" when "pgnuplot" is used.
10896 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
10897 call accept-process-output if "pgnuplot" is used.
10898 (calc-graph-init): Don't send -display and -geometry to
10899 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
10900 running "pgnuplot -V" with shell-command-to-string.
10902 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
10905 2009-08-07 Eli Zaretskii <eliz@gnu.org>
10907 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
10910 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
10912 * vc-dispatcher.el (vc-resynch-window): Update comment.
10914 * term.el (term-handle-ansi-escape): Add comments with the
10915 terminfo capabilities implemented.
10917 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
10919 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
10920 (gdb-var-create-handler): Rewritten using JSON parser.
10921 (gdb-propertize-header): Moved earlier.
10922 (gdb-set-header): Removed to avoid duplication.
10923 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
10924 Refresh disassembly buffers only after threads list have been
10926 (gdb-threads-header, gdb-registers-header): Per-buffer header line
10929 2009-08-04 Juri Linkov <juri@jurta.org>
10931 * files.el: Commands to add/delete file/directory-local variables.
10932 (read-file-local-variable, read-file-local-variable-value)
10933 (read-file-local-variable-mode, modify-file-local-variable)
10934 (modify-file-local-variable-prop-line)
10935 (modify-dir-local-variable): New functions.
10936 (add-file-local-variable, delete-file-local-variable)
10937 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
10938 (add-dir-local-variable, delete-dir-local-variable)
10939 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
10940 (copy-dir-locals-to-file-locals-prop-line): New commands.
10942 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
10944 * abbrev.el (insert-abbrev-table-description): Prettify output.
10945 Suggested by Karl Chen.
10947 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
10949 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
10950 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
10951 (gdb-overlay-arrow-position, gdb-thread-position)
10952 (gdb-disassembly-position): Declare variables.
10953 (gdb-wait-for-pending): Function now.
10954 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
10955 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
10956 compilation goes smoothly.
10957 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
10958 (gdb-non-stop-setting): New customization setting which replaces
10959 `gdb-non-stop' so changing it doesn't break active GDB session.
10960 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
10961 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
10962 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
10963 (gdb-show-threads-by-default): New customization options.
10964 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
10966 (gdb-get-buffer-create): Send buffers update signal when they are
10968 (gdb-invalidate-locals, gdb-invalidate-registers)
10969 (gdb-invalidate-breakpoints)
10970 (gdb-invalidate-threads, gdb-invalidate-disassembly)
10971 (gdb-invalidate-memory): Accept update signal.
10972 (gdb-current-context-command): Use --frame option.
10973 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
10974 Implement `gdb-frame-number' selection logic.
10975 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
10976 whether to show GUD toolbar buttons.
10977 (gdb-thread-exited): Unselect current thread when it exits.
10978 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
10979 (gdb-mark-line): Routine which sets overlay arrow or inverses
10980 video on fringeless displays.
10981 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
10982 to build aligned columns of data in GDB buffers and set text
10983 properties line-by-line.
10984 (gdb-invalidate-breakpoints)
10985 (gdb-breakpoints-list-handler-custom)
10986 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
10987 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
10988 (gdb-registers-handler-custom): Align data columns.
10989 (gdb-locals-handler-custom): Now prints data like in variable
10991 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
10992 Removed confusing buttons.
10993 (gdb-invalidate-threads): Append --frame.
10994 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
10995 between breakpoints/threads buffers.
10996 (gdb-set-window-buffer): Now can ignore dedicated windows.
10997 (gdb-propertize-header): Use `gdb-set-window-buffer'.
10998 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
10999 (def-gdb-thread-buffer-gud-command): Replaces
11000 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
11001 for fine thread control.
11002 (gdb-preempt-existing-or-display-buffer): New function used to
11003 display bound buffers without breaking window layout.
11004 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
11005 (gdb-select-frame): New version of `gdb-frames-select' which now
11006 sets `gdb-frame-number' so commands may use --frame option instead
11007 of inner debugger state.
11008 (gdb-frame-handler): Do not set `gdb-frame-number'.
11009 (gdb-threads-mode-map): Select threads with mouse.
11011 * progmodes/gud.el (gdb-gud-context-call): Declare function to
11012 avoid compilation warning.
11013 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
11016 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
11017 Argument `key' renamed to `buffer-type'.
11018 (gdb-current-context-buffer-name): Do not add thread info to
11019 buffer name when no thread is selected.
11020 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
11021 command (bug 3794).
11022 (gdb-thread-selected): Handle `=thread-selected' notification.
11023 (gdb-wait-for-pending): New macro to deal with congestion problems.
11024 (gdb-breakpoints-list-handler-custom): Don't fail on pending
11026 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
11027 This fixes problem similar to one described in bug 3947.
11028 (gud-menu-map): More menu items.
11029 (gdb-init-1): Reset `gdb-thread-number' to nil.
11031 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
11034 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
11035 (gdb-current-context-command): Do not append --thread if
11036 `gdb-thread-number' is nil.
11037 (gdb-running-threads-count, gdb-stopped-threads-count): New
11039 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
11040 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
11041 customization options.
11042 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
11044 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
11045 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
11046 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
11047 set `gdb-thread-number' and update `gud-running' properly.
11048 (gdb-running): Update threads list when new threads appear.
11049 (gdb-stopped): Support non-stop operation and new thread switching
11051 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
11052 (gdb-json-partial-output): New set of JSON routines.
11053 (def-gdb-auto-update-trigger): New `signal-list' optional
11055 (gdb-thread-list-handler-custom): Update `gud-running',
11056 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
11057 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
11058 (gdb-continue-thread, gdb-step-thread): New commands for fine
11059 thread execution control.
11060 (gud-menu-map): New menu items to switch non-stop options.
11061 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
11062 (gdb-send): Mimic RET properly (bug 3794).
11064 * progmodes/gdb-mi.el (gdb-rules-name-maker)
11065 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
11067 (def-gdb-auto-update-handler): New nopreserve optional argument.
11068 (gdb-stack-list-frames-custom): Print stack from top to bottom.
11070 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
11071 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
11072 (gdb-parent-mode): New mode to derive other GDB modes from.
11073 (gdb-display-disassembly-for-thread)
11074 (gdb-frame-disassembly-for-thread): New commands for threads
11077 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
11078 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
11079 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
11080 (gdb-update): We now store all GDB buffers in a list so that they
11081 can be updated by traversing a list instead of calling invalidate
11082 triggers explicitly.
11083 (def-gdb-trigger-and-handler): New macro to define trigger-handler
11084 pair for GDB buffer.
11085 (gdb-stack-buffer-name): Add thread information.
11086 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
11087 handle pending triggers.
11088 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
11089 (def-gdb-thread-buffer-simple-command)
11090 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
11091 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
11092 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
11093 New commands which show buffers bound to thread.
11094 (gdb-stack-list-locals-regexp): Removed unused regexp.
11096 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
11097 (gdb-locals-buffer-name, gdb-registers-buffer-name)
11098 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
11099 to (gud-comint-buffer) in *-buffer-name functions
11100 because (gdb-get-target-string) already does that.
11101 (gdb-locals-handler-custom, gdb-registers-handler-custom)
11102 (gdb-changed-registers-handler): Rewritten without regexps.
11104 * progmodes/gdb-mi.el: Basic thread selection support.
11105 (gdb-thread-number): New variable.
11106 (gdb-current-context-command): New macro which adds --thread
11108 (gdb-threads-mode-map): Select thread with SPC.
11109 (gdb-thread-list-handler-custom): Mark current thread with overlay
11110 arrow. Synchronize GDB thread and Emacs thread.
11111 (gdb-select-thread): New command which selects current thread.
11112 (gdb-invalidate-frames, gdb-invalidate-locals)
11113 (gdb-invalidate-registers): Use --thread option.
11115 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
11117 * net/tramp.el (top): Make check for tramp-gvfs loading more
11119 (tramp-handle-insert-file-contents): `unwind-protect' must be
11120 inside `with-parsed-tramp-file-name'.
11122 * net/tramp-gvfs.el (top): Remove superfluous message when loading
11125 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
11127 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
11128 directory if CLASSPATH is not set.
11130 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
11132 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
11134 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
11136 2009-08-02 Kevin Ryde <user42@zip.com.au>
11138 * net/newst-backend.el (newsticker--raw-url-list-defaults):
11139 Update freshmeat link. Delete newsforge.com as it seems gone.
11141 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
11143 * select.el (x-set-selection): Doc fix (Bug#4021).
11145 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
11147 * help-fns.el (describe-variable): Treat list return values from
11148 dir-locals-find-file properly (Bug#4005).
11150 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
11152 * net/tramp.el (tramp-debug-message): Print also microseconds.
11154 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
11156 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
11158 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
11159 (tramp-get-debug-buffer): Change `outline-regexp' according to new
11162 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
11163 (tramp-get-file-property): Use it.
11165 * autorevert.el (auto-revert-handler): Allow
11166 `auto-revert-tail-mode' for remote files.
11168 2009-08-02 Jason Rumney <jasonr@gnu.org>
11170 * minibuffer.el (read-file-name): Treat confirm options to
11171 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
11173 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
11175 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
11176 (font-lock-variable-name-face, font-lock-constant-face): Darken
11177 the colors for light backgrounds.
11179 2009-08-01 Eli Zaretskii <eliz@gnu.org>
11181 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
11182 month names. (Bug#3987)
11184 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
11186 * simple.el (line-move-finish): Pass whole number to
11187 line-move-to-column.
11188 (line-move-visual): Perform hscroll to the recorded position.
11190 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
11192 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
11194 2009-07-29 Alan Mackenzie <acm@muc.de>
11196 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
11198 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
11200 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
11201 (gdb-place-breakpoints): Use full path when setting breakpoints.
11203 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11205 * calc/calc.el (calc-mode-map): Add keybinding for
11206 `calc-transpose-lines'.
11208 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
11210 * calc/calc-misc.el (calc-transpose-lines): New function.
11212 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
11214 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
11215 Simplify check for out-of-band methods.
11216 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
11217 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
11219 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
11221 * vc-git.el (vc-git-checkin): Fix typo.
11223 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
11225 * progmodes/js2-mode.el: New file.
11227 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
11229 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
11230 (gud-menu-map): Adjust tooltip accordingly.
11232 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
11234 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
11235 (vc-bzr-log-view-mode): Adjust log-view-file-re.
11237 * add-log.el (change-log-mode-map): Add a menu.
11239 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
11241 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
11242 function returns nil.
11243 (dbus-handle-event): Handle special return value :ignore.
11244 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
11246 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
11248 * view.el (view-mode-enable): Don't define Helper-return-blurb if
11251 2009-07-25 Eli Zaretskii <eliz@gnu.org>
11255 * w32-vars.el (x-select-enable-clipboard): Doc fix.
11257 * term/pc-win.el (x-display-name, x-colors)
11258 (x-select-enable-clipboard, x-select-text): Doc fix.
11260 * term/common-win.el (x-display-name, x-colors): Doc fix.
11262 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
11263 (xw-defined-colors): Doc fix.
11265 * w32-fns.el (x-select-text, x-setup-function-keys)
11266 (x-get-selection, x-set-selection): Doc fix.
11268 * term/x-win.el (x-select-text, x-setup-function-keys)
11269 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
11271 * select.el (x-set-selection): Doc fix.
11273 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
11275 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
11276 instead of "IsNSSSupportAvailable". Avahi ought to work also when
11277 "IsNSSSupportAvailable" method is not available. Reported by
11278 Steve Youngs <steve@sxemacs.org>.
11280 2009-07-24 Kenichi Handa <handa@m17n.org>
11282 * international/characters.el: Fix setting of category ?C, ?|, ?K,
11283 and ?H. Fix setting of case for Latin Extended and Greek Extended.
11284 (build-unicode-category-table): Fix range checks.
11286 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
11288 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
11289 the buffer we try to sync is current when calling
11292 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
11293 not show up to date files.
11295 2009-07-24 Glenn Morris <rgm@gnu.org>
11297 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
11298 Add autoload cookies. If necessary, initialize.
11299 (elint-log): Handle non-file buffers.
11300 (elint-initialize): Add optional argument to reinitialize.
11301 (elint-find-builtin-variables): Save excursion.
11303 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
11305 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
11308 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
11310 * vc.el (vc-print-log-internal): New function, split out from ...
11311 (vc-print-log): ... here.
11312 (vc-dir-move-to-goal-column): Declare.
11314 * vc-git.el (vc-git-add-signoff): New variable.
11315 (vc-git-checkin): Use it.
11316 (vc-git-toggle-signoff): New function.
11317 (vc-git-extra-menu-map): Bind it to menu.
11318 (vc-git--run-command-string): Accept a nil FILE argument.
11319 (vc-git-stash-list): New function.
11320 (vc-git-dir-extra-headers): Use it.
11322 2009-07-23 Glenn Morris <rgm@gnu.org>
11324 * help-fns.el (describe-variable): Describe ignored and risky local
11325 variables in a similar way to that in which we describe safe ones.
11327 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
11328 (byte-compile-output-file-form, byte-compile-output-docform)
11329 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
11330 Give some more local variables with common names a "bytecomp-" prefix,
11331 so as not to shadow things during compilation.
11332 * emacs-lisp/cl-macs.el (load-time-value)
11333 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
11334 `outbuffer' to `bytecomp-outbuffer'.
11336 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
11337 since the next two variables cover them automatically now.
11338 (elint-builtin-variables, elint-autoloaded-variables): New.
11339 (elint-unknown-builtin-args): Remove all members, since they can be
11340 parsed automatically now.
11341 (elint-extra-errors): New.
11342 (elint-env-add-env, elint-env-add-macro): Use cadr.
11343 (elint-current-buffer): Use or. Change final message.
11344 (elint-get-top-forms): Use line-end-position.
11345 (elint-init-env): Use cadr. Handle autoload, declare-function,
11347 (elint-add-required-env): Doc fix. Use or. Standardize error.
11348 (regexp-assoc): Remove unused function.
11349 (elint-top-form): Set elint-current-pos, to record the start of the
11350 top-level form, for compilation-mode.
11351 (elint-form): Trap errors in macro expansion. Use dolist.
11352 (elint-unbound-variable): Use elint-builtin-variables and
11353 elint-autoloaded-variables.
11354 (elint-get-args): Use cadr, or.
11355 (elint-check-cond-form): Use dolist, cadr.
11356 (elint-check-condition-case-form): Doc fix. Use cadr.
11357 Use elint-extra-errors.
11358 (elint-log): New function.
11359 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
11360 Distinguish errors and warnings.
11361 (elint-log-message): Use with-current-buffer. Inhibit read-only.
11362 Use a bytecomp-style format.
11363 (elint-clear-log): Preserve default-directory. Inhibit read-only.
11364 (elint-get-log-buffer): Use compilation mode. Disable undo.
11365 Don't truncate lines.
11366 (elint-initialize): Set builtin and autoloaded variable lists.
11367 Only process elint-unknown-builtin-args if non-nil.
11368 (elint-find-builtin-variables, elint-find-autoloaded-variables):
11370 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
11372 2009-07-22 Kevin Ryde <user42@zip.com.au>
11374 * net/newst-backend.el (newsticker--parse-atom-1.0)
11375 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
11376 (newsticker--parse-rss-1.0):
11377 * progmodes/idlwave.el (idlwave-mode):
11378 * progmodes/idlw-shell.el (idlwave-shell-mode):
11379 * progmodes/vera-mode.el (vera-mode):
11380 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
11381 * progmodes/vhdl-mode.el (vhdl-mode):
11382 * textmodes/table.el (table-generate-source)
11383 (table--warn-incompatibility):
11384 Hyperlink urls in docstrings with URL `...'.
11386 2009-07-22 Glenn Morris <rgm@gnu.org>
11388 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
11389 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
11390 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
11391 Remove leading * from defcustom docs.
11393 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
11395 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
11397 (list-load-path-shadows): Optionally, just return shadows as a string.
11399 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
11401 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
11403 * mail/rmailedit.el (rmail-edit-mode): Use
11404 auto-save-include-big-deletions.
11406 * mail/rmail.el (rmail-variables): Use
11407 auto-save-include-big-deletions.
11409 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
11412 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
11414 * calc/calc.el (calc-undo-length): New variable.
11415 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
11417 2009-07-21 Richard Stallman <rms@gnu.org>
11419 * files.el (auto-save-mode): Handle buffer-save-size = -2
11422 2009-07-21 Glenn Morris <rgm@gnu.org>
11424 * textmodes/ispell.el (ispell-looking-back): Update declaration.
11426 * calendar/todo-mode.el (calendar-current-date): Update declaration.
11428 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
11429 silence compiler. Instead...
11430 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
11431 (ps-print-ensure-fontified): Update for above function name changes.
11433 * printing.el (pr-mh-get-msg-num, pr-mh-show)
11434 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
11435 silence compiler. Instead...
11436 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
11437 (mh-show-buffer): Only define for compiler.
11438 (pr-mh-current-message): Update for above function name changes.
11440 * files.el (abort-if-file-too-large): Explicitly pass `filename'
11442 (find-file-noselect, insert-file-1): Update for above change.
11444 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
11446 * mail/mailclient.el (mailclient-send-it): Fix message.
11448 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
11449 (edebug-eval): Check cl-debug-env is bound.
11450 (print-level, print-circle): Don't redefine built-in variables.
11452 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
11453 (custom-print-vectors): Remove old comments from doc.
11455 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
11456 (emerge-version): Make the variable an obsolete alias for the
11457 emacs-version variable. Make the function obsolete.
11458 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
11459 Emerge options, rather than merging in into the main Options menu.
11460 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
11461 and auto advance modes. Disable edit/fast items when not relevant.
11463 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
11465 * term/vt420.el (terminal-init-vt420): Fix typo.
11467 2009-07-20 Sam Steingold <sds@gnu.org>
11469 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
11470 variable (removed from compile.el on 2004-03-11).
11472 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
11474 * files.el (hack-local-variables-filter): Fix last change.
11476 2009-07-19 Juri Linkov <juri@jurta.org>
11478 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
11479 (dir-local-variables-alist): New buffer-local variable.
11480 (hack-local-variables-filter): If variable is not dir-local,
11481 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
11482 because file-local overrides dir-local.
11483 (c-postprocess-file-styles) <declare-function>:
11484 Remove obsolete declaration.
11485 (hack-dir-local-variables): Add dir-local variable/value pair to
11486 `dir-local-variables-alist' and remove duplicates. Doc fix.
11488 * help-fns.el (describe-variable): Add information about
11489 file-local and dir-local variables.
11491 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
11493 * files.el (hack-local-variables-filter): Rewrite.
11495 2009-07-19 Glenn Morris <rgm@gnu.org>
11497 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
11498 Silence compiler by only defining on XEmacs.
11500 * international/mule.el (auto-coding-regexp-alist): Only match
11501 BABYL... at the start of buffer, not of lines. (Bug#3790)
11503 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
11504 non-calendar buffers (Bug#3862). Restore "not on a date" message.
11505 (cal-menu-context-mouse-menu): Doc fix.
11507 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
11509 * simple.el (mail-user-agent): Doc fix. Set :version tag.
11511 2009-07-18 Juri Linkov <juri@jurta.org>
11513 * info.el: Virtual Info keyword finder.
11514 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
11515 (Info-finder-file): New variable.
11516 (Info-finder-find-file): New function.
11517 (finder-known-keywords, finder-package-info)
11518 (find-library-name, lm-commentary): Use defvar and
11519 declare-function to silence compiler warnings.
11520 (Info-finder-find-node): New function.
11521 (info-finder): New command.
11523 * subr.el (process-kill-buffer-query-function): New function.
11524 (add-hook)<kill-buffer-query-functions>: Add hook
11525 `process-kill-buffer-query-function'.
11527 2009-07-18 Alan Mackenzie <acm@muc.de>
11529 * progmodes/cc-mode.el (c-before-hack-hook)
11530 (c-postprocess-file-styles): Give invocation of `c-set-style'
11531 DONT-OVERRIDE parameter of t. Already set style variables will
11532 thus not be overridden by style settings given by `c-file-syle'.
11534 * files.el (hack-local-variables-filter): Remove entries with
11535 duplicate keys from `file-local-variables-alist'.
11537 2009-07-18 Eli Zaretskii <eliz@gnu.org>
11539 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
11540 x-set-selection if display-selections-p returns nil for the
11543 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
11545 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
11547 2009-07-18 Eli Zaretskii <eliz@gnu.org>
11549 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
11550 Accept nil in addition to a regexp.
11551 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
11552 Accept nil in addition to a regexp.
11553 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
11554 buffers that have an associated file. Handle nil values of
11555 desktop-buffers-not-to-save and desktop-files-not-to-save.
11558 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11559 (x-disown-selection-internal): New functions.
11561 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
11563 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
11565 (gdb-breakpoints-header): Move forward to avoid compiler warning.
11566 (gdb-make-header-line-mouse-map): Remove duplicate definition.
11568 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
11570 * simple.el (set-mark): Revert last change.
11572 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
11574 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
11575 rendering of pngs is not possible instead of messaging a long
11578 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
11580 * w32-fns.el (x-selection-owner-p): New function.
11582 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
11583 (mouse-yank-at-click, mouse-yank-primary): If
11584 select-active-regions is non-nil, deactivate the mark before
11587 * simple.el (deactivate-mark, set-mark): Only save selection if we
11590 2009-07-17 Kenichi Handa <handa@m17n.org>
11592 * case-table.el (describe-buffer-case-table): Fix for the case
11593 that KEY is a cons.
11595 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
11597 * vc-rcs.el (vc-rcs-find-file-hook):
11598 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
11600 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
11602 * net/tramp.el (tramp-wait-for-output): Handle the case when
11603 commands do not return a newline but a null byte before the shell
11606 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11608 * term/ns-win.el (ns-set-alpha): Don't declare.
11609 (ns-set-background-alpha): Remove function.
11611 2009-07-16 Kevin Ryde <user42@zip.com.au>
11613 * emacs-lisp/copyright.el (copyright-update): Save match-data across
11614 y-or-n-p, for safety.
11616 2009-07-16 Richard Stallman <rms@gnu.org>
11618 * files.el (auto-save-mode): If buffer-saved-size is -2,
11621 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
11622 (rmail-retry-ignored-headers): Add more uninteresting fields.
11624 2009-07-15 Jari Aalto <jari.aalto@cante.net>
11626 * net/rcirc.el (rcirc): Use history variables.
11627 (rcirc-server-name-history, rcirc-nick-name-history)
11628 (rcirc-server-port-history): New variables.
11630 2009-07-15 Kenichi Handa <handa@m17n.org>
11632 * international/mule-cmds.el (set-language-environment-charset):
11633 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
11636 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
11637 Delete unibyte-display.
11639 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
11641 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
11643 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
11645 * simple.el (deactivate-mark): Optional argument FORCE.
11646 (set-mark): Use deactivate-mark.
11648 * info.el (Info-search): No need to check transient-mark-mode
11649 before calling deactivate-mark.
11651 * select.el (x-set-selection): Doc fix.
11652 (x-valid-simple-selection-p): Allow buffer values.
11653 (xselect--selection-bounds): Handle buffer values. Suggested by
11654 David De La Harpe Golden.
11656 * mouse.el (mouse-set-region, mouse-drag-track): Call
11657 copy-region-as-kill before setting the mark, to let
11658 select-active-regions work.
11660 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
11662 * simple.el (deactivate-mark): If select-active-regions is
11663 non-nil, copy the selection data into a string.
11664 (activate-mark): If select-active-regions is non-nil, set the
11665 selection to the current buffer.
11666 (set-mark): Update selection if select-active-regions is non-nil.
11668 * select.el (x-valid-simple-selection-p): Allow buffer values.
11670 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
11672 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
11673 and more featureful message-mode.
11675 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
11677 * select.el (x-set-selection): Doc fix.
11678 (x-valid-simple-selection-p): Disallow selection data consisting
11679 of a list or cons of integers, since that is not used.
11680 (xselect--selection-bounds, xselect--int-to-cons): New functions.
11681 (xselect-convert-to-string, xselect-convert-to-length)
11682 (xselect-convert-to-filename, xselect-convert-to-charpos)
11683 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
11685 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
11687 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
11688 output in -break-info command (Emacs bug #3794).
11690 2009-07-14 Glenn Morris <rgm@gnu.org>
11692 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
11693 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
11694 (edebug-print-length, edebug-print-level, edebug-print-circle)
11695 (edebug-sit-for-seconds, edebug-view-outside)
11696 (edebug-bounce-point, edebug-set-global-break-condition)
11697 (edebug-Go-nonstop-mode, edebug-trace-mode)
11698 (edebug-Trace-fast-mode, edebug-continue-mode)
11699 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
11700 (edebug-visit-eval-list): Doc fixes.
11702 * subr.el (def-edebug-spec): Doc fix.
11704 2009-07-14 Kenichi Handa <handa@m17n.org>
11706 * international/characters.el: Fix setting of category ?C.
11708 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
11710 * term/ns-win.el (x-select-font): defalias x-select-font to
11711 ns-popup-font-panel instead of generate-fontset-menu.
11713 2009-07-12 Eli Zaretskii <eliz@gnu.org>
11715 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
11717 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
11719 * arc-mode.el (archive-find-type): Allow for a PK00 string before
11720 the PK\003\004 header (Bug#3770).
11722 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
11724 * pcomplete.el (pcomplete-comint-setup): Check for
11725 shell-dynamic-complete-filename too.
11727 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
11729 * simple.el (temporary-goal-column): Change the value for
11730 line-move-visual to a cons cell.
11731 (line-move-visual): Record or set the window hscroll, if
11732 necessary (Bug#3494).
11733 (line-move-1): Handle cons value of temporary-goal-column.
11735 2009-07-11 Kenichi Handa <handa@m17n.org>
11737 * international/mule-diag.el (describe-character-set): Don't show
11740 2009-07-10 Sam Steingold <sds@gnu.org>
11742 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11743 Omake sometimes indents the errors it prints, so allow all
11744 regexps to start with spaces.
11746 2009-07-10 Eli Zaretskii <eliz@gnu.org>
11748 * cus-edit.el (customize-changed-options-previous-release):
11749 Bump value to 22.1. (Bug#3804)
11751 2009-07-08 Sam Steingold <sds@gnu.org>
11753 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
11754 to be a cons cell (test . ignored-directory) to selectively ignore
11755 some directories depending on the location of the search.
11757 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
11759 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
11760 remote user is root, on the local host.
11761 (tramp-local-host-p): Either the local user or the remote user
11762 must be root. (Bug#3771)
11764 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
11766 * progmodes/gdb-mi.el (gdb): Remove description of
11767 gdb-use-separate-io-buffer.
11768 (menu): Don't allow toggling of or enable
11769 gdb-use-separate-io-buffer from menubar.
11771 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
11773 * mail/unrmail.el (unrmail): Make sure the message ends with two
11774 newlines (Bug#3769).
11776 2009-07-08 Glenn Morris <rgm@gnu.org>
11778 * calendar/calendar.el (calendar-current-date): Rework previous change.
11780 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
11782 * calendar/calendar.el (calendar-current-date):
11783 Add an optional argument giving an offset from today.
11785 2009-07-08 Glenn Morris <rgm@gnu.org>
11787 * tutorial.el (tutorial--describe-nonstandard-key):
11788 Adjust the message for when a key has been unbound.
11789 (help-with-tutorial): Hide the arch-tag.
11791 2009-07-08 Kenichi Handa <handa@m17n.org>
11793 * international/fontset.el (setup-default-fontset): For each
11794 script, append (not set) font-specs.
11796 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
11799 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
11801 * progmodes/gdb-mi.el (gdb-init-1): Move sending
11802 -data-list-register-names to ...
11803 (gdb-starting): ... here because GDB 7.0 requires execution to
11804 have started when using this MI command.
11805 (gdb-set-header): New function to distinguish select and
11806 unselected tabs in gdb buffers.
11807 (gdb-propertize-header): New macro that uses gdb-set-header.
11808 (gdb-breakpoints-header, gdb-locals-header): Use it.
11809 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
11811 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
11813 * Makefile.in (ELCFILES): Remove fadr.elc.
11815 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
11817 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
11818 may contain frame information, so `string-match' should be used.
11819 (gdb-update): Disassembly is invalidated through
11820 `gdb-get-selected-frame'.
11821 (gdb-pad-string): New function to pad string with spaces.
11822 (gdb-invalidate-disassembly): Invalidate only if the buffer
11824 (gdb-disassembly-handler-custom): Column alignment.
11825 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
11827 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
11829 (gdb-frame-handler): Match convention to for disassembly buffer
11831 (gdb-stack-list-frames-handler): Rewritten without regexps.
11832 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
11833 not highlight breakpoints without line information.
11834 (gdb-input): Add trailing newline to command.
11836 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
11838 (gdb-breakpoints-list-handler-custom): Replacement for
11839 `gdb-break-list-handler'. Using real parser instead of regexps
11841 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
11842 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
11843 to place breakpoints.
11844 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
11846 (gdb-disassembly-handler-custom): Show overlay arrow.
11847 (gdb-disassembly-place-breakpoints): Show breakpoints in
11848 disassembly buffer.
11849 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
11850 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
11851 instead of parsing breakpoints buffer. Fixed old menu references
11856 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
11857 (gdb-memory-address): New variable which holds top address of
11858 memory page shown in memory buffer.
11859 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
11860 customization variables.
11862 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
11863 display the memory buffer.
11864 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
11865 buffer display parameters.
11866 (def-gdb-memory-format, gdb-memory-format-binary)
11867 (gdb-memory-format-octal, gdb-memory-format-unsigned)
11868 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
11869 Functions for setting memory buffer format.
11870 (gdb-memory-unit-word, gdb-memory-unit-halfword)
11871 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
11872 unit size used in memory buffer.
11873 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
11874 to next/previous page of memory buffer.
11875 Now using (bindat-get-field) instead of fadr functions.
11877 2009-07-07 Sam Steingold <sds@gnu.org>
11879 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
11880 non-top-level files.
11882 2009-07-07 Kenichi Handa <handa@m17n.org>
11884 * international/mule-cmds.el (reset-language-environment): Put
11885 the highset priority to the charset iso-8859-1.
11887 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
11889 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
11890 to the end of the line when locating the block (Bug#700).
11892 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
11894 * net/tramp.el (tramp-handle-write-region): Flush file properties
11895 in case of short track.
11897 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
11899 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
11900 Coded custom representation of verilog error regular expressions
11901 to work with Emacs-22's new format.
11902 (verilog-error-regexp-xemacs-alist): Coded custom representation
11903 of verilog error regular expressions to work with XEmacs format.
11904 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
11905 error recognition into XEmacs.
11906 (verilog-error-regexp-add-emacs): Hook routine to install verilog
11907 error recognition into Emacs-22.
11909 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
11911 * woman.el: Remove stand-alone closing parentheses.
11912 (woman-file-name, woman2-format-paragraphs)
11913 (woman-leave-blank-lines): Code cleanup.
11914 (woman-use-own-frame): Change default to nil.
11915 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
11916 defaults to inherit from default faces.
11917 (woman2-process-escapes): Consume the newline after a stand-alone
11918 filler character (Bug#3651).
11920 2009-07-06 Glenn Morris <rgm@gnu.org>
11922 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
11923 (top-level): Move provide to the end.
11924 (ffap): Remove defunct URL from custom group.
11926 * subr.el (eval-after-load): Doc fix.
11928 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
11930 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
11931 `calc-embedded-word' is called twice.
11933 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11935 * files.el (find-alternate-file-other-window, find-alternate-file):
11936 Obey confirm-nonexistent-file-or-buffer.
11938 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
11940 * dired-aux.el (dired-show-file-type): Handle remote files.
11942 2009-07-05 Jari Aalto <jari.aalto@cante.net>
11944 * desktop.el (desktop-globals-to-save):
11945 Add file-name-history (Bug#2750).
11947 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
11949 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
11951 2009-07-04 Johan Bockgård <bojohan@gnu.org>
11953 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
11954 property on entire argument since this is what eshell-lisp-command
11957 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
11959 * net/tramp-gvfs.el (tramp-gvfs-methods)
11960 (tramp-gvfs-zeroconf-domain)
11961 (tramp-bluez-discover-devices-timeout): Add version flag.
11962 (tramp-gvfs-handler-mounted-unmounted)
11963 (tramp-gvfs-connection-mounted-p): Polish handling of
11964 incompatibilities between GVFS 0.2 and 1.0.
11966 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
11968 * cus-start.el (all): Add make-pointer-invisible.
11970 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
11972 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
11973 formatted correctly.
11975 2009-07-02 Juri Linkov <juri@jurta.org>
11977 * info.el: Virtual Info files and nodes.
11978 (Info-virtual-files, Info-virtual-nodes): New variables.
11979 (Info-current-node-virtual): New variable.
11980 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
11982 (Info-file-supports-index-cookies): Use Info-virtual-file-p
11983 to check for a virtual file instead of checking a fixed list
11985 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
11986 instead of ad-hoc processing of "dir" and (apropos history toc).
11987 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
11988 instead of ad-hoc processing of "dir" and (apropos history toc).
11989 Reread a file when moving from a virtual node.
11990 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
11991 (Info-directory-toc-nodes, Info-directory-find-file)
11992 (Info-directory-find-node): New functions.
11993 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
11994 (Info-history): Move part of code to
11995 `Info-history-find-node'.
11996 (Info-history-toc-nodes, Info-history-find-file)
11997 (Info-history-find-node): New functions.
11998 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
11999 (Info-toc): Move part of code to `Info-toc-find-node'.
12000 (Info-toc-find-node): New function.
12001 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
12002 the current Info file name to references because now the node
12003 "*TOC*" belongs to the same Info manual.
12004 (Info-toc-build): Rename from `Info-build-toc'.
12005 (Info-toc-nodes): Rename input argument `file' to `filename'.
12006 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
12007 instead of ad-hoc processing of ("dir" apropos history toc).
12008 (Info-index-nodes): Use Info-virtual-file-p
12009 to check for a virtual file instead of checking a fixed list
12011 (Info-index-node): Add check for `Info-current-node-virtual'.
12012 Raise `save-match-data' higher up the tree to contain
12013 `search-forward' too (bug fix).
12014 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
12015 (Info-virtual-index-nodes): New variable.
12016 (Info-virtual-index-find-node, Info-virtual-index): New functions.
12017 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
12018 (Info-apropos-file, Info-apropos-nodes): New variables.
12019 (Info-apropos-toc-nodes, Info-apropos-find-file)
12020 (Info-apropos-find-node, Info-apropos-matches): New functions.
12021 (info-apropos): Move part of code to `Info-apropos-find-node' and
12022 `Info-apropos-matches'.
12023 (Info-mode-map): Bind "I" to `Info-virtual-index'.
12024 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
12025 for a virtual file instead of checking a fixed list of node names.
12027 * simple.el (async-shell-command): New command.
12029 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
12031 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
12032 instead of `mount-info'.
12034 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
12036 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
12037 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
12039 2009-07-02 Kenichi Handa <handa@m17n.org>
12041 * international/mule.el (set-keyboard-coding-system): Force *-unix
12042 coding-system to avoid eol conversion.
12044 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
12046 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12047 Add handler for `process-file', `shell-command' and
12048 `start-file-process'.
12049 (tramp-gvfs-handle-shell-command)
12050 (tramp-gvfs-handle-start-file-process)
12051 (tramp-gvfs-handle-process-file): New defuns.
12052 (tramp-synce-list-devices): Simplify check for existence of property.
12054 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
12056 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
12058 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
12060 * language/korean.el (set-language-info-alist): Add korean-cp949,
12063 2009-07-01 Kenichi Handa <handa@m17n.org>
12065 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
12067 * international/encoded-kb.el: Deleted.
12069 * international/mule.el (set-keyboard-coding-system): Perform the
12070 necessary setup here instead of calling encoded-kbd-setup-display.
12072 2009-07-01 Glenn Morris <rgm@gnu.org>
12074 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
12076 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
12078 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
12080 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
12082 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
12083 Handle also the 'rename case, when setting file modes. (Bug#3712)
12084 (tramp-default-file-modes): Remove execute permissions.
12086 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
12087 (top): Add a default for "synce" in `tramp-default-user-alist'.
12088 Add completion function for "synce" method.
12089 (tramp-hal-service, tramp-hal-path-manager)
12090 (tramp-hal-interface-manager, tramp-hal-interface-device):
12092 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
12093 (tramp-synce-list-devices, tramp-synce-parse-device-names):
12096 * net/trampver.el: Update release number.
12098 2009-06-30 Kenichi Handa <handa@m17n.org>
12100 * international/fontset.el (setup-default-fontset): Add CJK fonts
12101 for symbols and the other miscellaneous characters.
12103 * language/korea-util.el (setup-korean-environment-internal):
12104 Make char-width-table suitable for Korean environments.
12105 (exit-korean-environment): Cancel above.
12107 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
12108 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
12109 setup-function to make char-width-table suitable for respective
12110 environments, and an exit-function to cancel that.
12112 * language/japan-util.el (setup-japanese-environment-internal):
12113 Call use-cjk-char-width-table with arg `ja_JP'.
12115 * international/characters.el (cjk-char-width-table): Delete it.
12116 (cjk-char-width-table-list): New variable.
12117 (use-cjk-char-width-table): New arg local-name.
12118 (use-default-char-width-table): Fix for the case that Emacs is
12119 already using the default char-width-table.
12121 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
12123 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
12124 modes mandatory. (Bug#3712)
12126 2009-06-29 Alan Mackenzie <acm@muc.de>
12128 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
12129 correction between the visible width of TABs and their number of bytes.
12131 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
12133 * server.el (server-buffer-done): Prevent kill-buffer from
12134 prompting by clearing the buffer modification flag (Bug#3696).
12136 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
12138 * progmodes/verilog-mode.el (verilog-beg-of-statement)
12139 (verilog-endcomment-reason-re): Support unique case and priority case.
12140 (verilog-basic-complete-re): Support localparam lineup.
12141 (verilog-beg-of-statement-1): Fix for robustness, unique case.
12142 (verilog-set-auto-endcomments): Fix for unique case, always_comb
12144 (verilog-leap-to-case-head): Now support *nested* unique &
12145 priority case statements.
12146 (verilog-auto-lineup): Make just declarations the default (as it
12148 (verilog-leap-to-case-head): Support priority/unique case statements.
12149 (verilog-auto-lineup): Rework to give users radio buttons to
12150 select the various styles of automatic lineup.
12151 (verilog-error-regexp-alist): Rework to support the XEmacs style
12152 of error regular expressions from compilers, lint tools &
12153 simulators. Note that GNU Emacs has made it impossible for a mode
12154 to load such things.
12155 (electric-verilog-terminate-line, verilog-indent-declaration)
12156 (verilog-auto-wiure): Rework for radio button selection of
12157 auto-lineup selection of specification of auto lineup.
12158 (verilog-beg-of-statement-1): Redesign to support proper operation
12159 in additional code, based on testing with auto-lineup.
12160 (verilog-calculate-indent, assignments & declarations)
12161 (verilog-backward-token): Enhance to support auto-lineup of
12162 assignments & declarations.
12163 (verilog-in-directive-p, verilog-at-struct-p): New function for
12164 easy test of whether we are.
12165 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
12166 to support safe execution at almost anyline.
12167 (verilog-calc-1): Properly support indenting deep inside generate
12169 (verilog-init-font): Remove definition & use of verilog-init-font,
12170 as it is redundant with font-lock-defaults.
12171 (verilog-mode): Alter the definition of verilog-font-lock-defaults
12172 to avoid circular calls if syntax-ppss is a function (as is the
12173 case now in 22.x GNU Emacs) as that function would sometimes call
12174 itself, leading to (nearly) infinite recursion.
12175 (verilog-ovm-begin-re, verilog-ovm-end-re)
12176 (verilog-ovm-statement-re, verilog-leap-to-head)
12177 (verilog-backward-token): Add support for OVM macros. Some are
12178 complete statements, and others open and close scopes like begin
12180 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
12181 (verilog-defun-level-generate-only-re): Really fix the defun-list
12183 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
12184 coverpoint, constraint and cross statements.
12185 (verilog-defun-level-list, verilog-generate-defun-level-list)
12186 (verilog-all-defun-level-list): Redo these specifications - it is
12187 too hard to support eval-when compile aggregation of lists also
12188 built at when-compile time.
12189 (verilog-defun-level-list): Place defconsts of variables used in
12190 building regular expressions which are built in eval-when-compile
12191 bodies in the same eval-when-compile body to facilitate compile
12193 (verilog-beg-block-re-ordered): Support indenting
12194 virtual/protected tasks and functions.
12195 (verilog-defun-level-list, verilog-in-generate-region-p)
12196 (verilog-backward-ws&directives, verilog-calc-1): Speed up
12197 indentation of some module items (generate items).
12198 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
12199 across virtual/protected tasks and functions.
12201 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
12203 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
12204 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
12205 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
12206 in concatenations. Reported by Yishay Belkind.
12207 (verilog-auto-ascii-enum): Support one-hot state machines in
12208 AUTOASCIIENUM. Suggested by Lloyd Gomez.
12209 (verilog-auto-inst, verilog-auto-inst-port): Include interface
12210 modport in AUTOINST and add vl-modport for users. Reported by
12212 (verilog-auto-inout-module, verilog-auto-inst)
12213 (verilog-decls-get-interfaces, verilog-insert-definition)
12214 (verilog-insert-one-definition, verilog-read-decls)
12215 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
12216 (verilog-sig-modport, verilog-signals-combine-bus)
12217 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
12218 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
12219 Suggested by David Rogoff.
12220 (verilog-repair-open-comma): Fix non-insertion of comma when
12221 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
12222 (verilog-make-width-expression): Simplify [A-1:0] expression
12223 widths to just {A{1'b0}}.
12224 (verilog-mode): Cleanup checkdoc warnings.
12225 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
12226 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
12227 inputs/outputs or data type. Suggested by Vasu Kandadi.
12228 (next-error-last-buffer): Fix byte-compiler warning.
12229 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
12230 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
12231 or shell command text during AUTO expansion. Suggested by Tad Truex.
12232 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
12233 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
12234 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
12235 in AUTOINOUT. Reported by Matthew Lovell.
12236 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
12237 causing use of <= assignments. Reported by Alex Reed.
12238 (verilog-read-decls): Fix triand, trior, wand, wor to be
12239 recognized by AUTOWIRE. Reported by Spencer Isaacson.
12240 (verilog-extended-complete-re): Support import "DPI-C" functions.
12241 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
12242 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
12243 (verilog-insert-date, verilog-insert-year)
12244 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
12245 Windows systems. Reported by Michael Potts.
12246 (verilog-read-module-name): Fix AUTOINST when the child module
12247 declaration's name is a tick define. Reported by Elliot Mednick.
12248 (verilog-read-decls): Fix V2K parameter bit subscripts getting
12249 passed to next parameter's definition. Reported by Bruce T.
12250 (verilog-read-decls): Fix detecting "parameter int" when using
12251 AUTOINSTPARAM. Reported by Bruce T.
12252 (verilog-goto-defun): Fix goto not finding modules unless first
12253 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
12254 (verilog-mode): Expand -f flag arguments on entry to mode so
12255 verilog-goto-defun will work. Reported by Lawrence Butcher.
12256 (verilog-getopt): Expand environment variables in -f file
12257 arguments. Suggested by Lawrence Butcher.
12258 (verilog-set-define): Fix "Symbol's value as variable is void"
12259 when reading enumerations.
12260 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
12261 Suggested by Stephen Peltan.
12262 (verilog-read-defines): Fix reading of enumerations in include
12263 files. Reported by Steve Peltan.
12265 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
12267 * files.el (trash-directory): Fix defcustom type.
12269 2009-06-28 Juri Linkov <juri@jurta.org>
12271 * help-fns.el (describe-function-1): Correctly locate adviced
12272 functions in hyperlink (Bug#2438).
12274 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
12276 * files.el (trash-directory): Change default to nil.
12277 (move-file-to-trash): If trash-directory is nil and
12278 system-move-file-to-trash is unbound, perform freedesktop-style
12281 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
12283 * files.el (move-file-to-trash): Add freedesktop trash
12286 2009-06-28 Glenn Morris <rgm@gnu.org>
12288 * autorevert.el (global-auto-revert-non-file-buffers)
12289 (global-auto-revert-mode): Doc fixes.
12291 2009-06-27 Johan Bockgård <bojohan@gnu.org>
12293 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
12295 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
12297 * faces.el (x-handle-named-frame-geometry): Ensure that we have
12298 opened an X connection before calling x-get-resource (Bug#3194).
12300 * play/doctor.el: Remove reference to obsolete website.
12301 (make-doctor-variables): Correct grammar mistake (Bug#2633).
12303 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
12305 Remove find-file-not-found-hook VC method. (Bug#2757)
12306 * vc-hooks.el (vc-file-not-found-hook)
12307 (vc-default-find-file-not-found-hook): Remove functions.
12308 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
12309 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
12312 * vc-git.el: Do not mention find-file-not-found-hook VC method.
12314 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
12316 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
12317 compatibility function for `looking-back'.
12319 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12320 Use `ispell-looking-back'.
12322 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
12324 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
12325 rather than `filename'.
12327 2009-06-23 Miles Bader <miles@gnu.org>
12329 * face-remap.el (text-scale-set): New function.
12331 2009-06-23 Glenn Morris <rgm@gnu.org>
12333 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
12335 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
12337 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
12339 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
12341 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
12342 Simplify Persian conditionals.
12344 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
12345 variable `filename'.
12347 * comint.el (comint-insert-input): Doc fix.
12349 * Makefile.in (ELCFILES): Fix typo in previous change.
12351 2009-06-23 Miles Bader <miles@gnu.org>
12353 * cus-start.el: Add entry for `recenter-redisplay'.
12355 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
12357 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
12358 Add an optional argument for the backend, use it instead of
12359 calling vc-backend.
12360 (vc-mode-line): Add an optional argument for the backend.
12361 Pass the backend to vc-state and vc-working-revision. Move code for
12362 special handling for vc-state being a buffer to ...
12364 * vc-rcs.el (vc-rcs-find-file-hook):
12365 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
12367 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
12368 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
12369 vc-stay-local-p and vc-mode-line calls.
12371 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
12372 (vc-cvs-diff, vc-cvs-annotate-command)
12373 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
12374 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
12375 vc-mode-line calls.
12377 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
12379 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
12380 backend when calling vc-mode-line.
12381 (vc-register): Do not create a closure for calling the vc register
12382 function, call it directly.
12384 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
12386 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
12387 to make it obvious item can be clicked.
12389 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
12391 2009-06-23 Kenichi Handa <handa@m17n.org>
12393 * language/korea-util.el (korean-key-bindings): Change the binding
12394 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
12397 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
12399 Sync with Tramp 2.1.16.
12401 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
12403 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
12404 when a loading of a package fails. Completion function for rsync
12405 is `tramp-completion-function-alist-ssh'.
12406 (all): Replace all calls of `split-string' and
12407 `tramp-split-string' by `tramp-compat-split-string'.
12408 (tramp-default-method): Use `tramp-compat-process-running-p'.
12409 (tramp-default-proxies-alist): Allow also Lisp forms.
12410 (tramp-remote-path): Add choice "Private Directories".
12411 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
12412 (tramp-domain-regexp): Allow also "-", "_" and ".".
12413 (tramp-end-of-output): Remove newlines, and add "$" at the end.
12414 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
12415 (tramp-debug-message): Insert header line in debug buffer.
12416 (tramp-handle-directory-files-and-attributes-with-stat):
12417 Care about filenames with spaces, or starting with "-".
12418 (tramp-handle-dired-uncache): New defun.
12419 (tramp-handle-insert-directory): Don't flush the directory from
12420 cache, this is handled by `dired-uncache' now.
12421 (tramp-handle-insert-file-contents): Improve error handling.
12422 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12423 Quote `tramp-end-of-output'.
12424 (tramp-action-password): Improve trace message.
12425 (tramp-check-for-regexp): Both echoes must be present, before removing.
12426 (tramp-open-connection-setup-interactive-shell): Trace coding system.
12427 (tramp-compute-multi-hops): Eval cons cells of
12428 `tramp-default-proxies-alist'.
12429 (tramp-maybe-open-connection): Use the same command pattern for
12430 first hop and further hops.
12431 (tramp-wait-for-output): Remove handling of newlines.
12432 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
12433 (tramp-split-string): Remove function. It is handled in
12436 * net/tramp-cmds.el (tramp-bug):
12437 Recommend `tramp-cleanup-all-connections' in the bug mail.
12439 * net/tramp-compat.el (tramp-compat-split-string)
12440 (tramp-compat-process-running-p): New defuns.
12442 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
12443 for `dired-uncache'.
12445 * net/tramp-gvfs.el: New package.
12447 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12448 Add handler for `dired-uncache'.
12449 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
12451 * net/trampver.el: Update release number. Make version check fit
12454 2009-06-22 Jim Meyering <meyering@redhat.com>
12456 Automatically handle .xz suffix (XZ-compressed files), too.
12457 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
12458 XZ is the successor to LZMA: <http://tukaani.org/xz/>
12460 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
12461 Nick Roberts <nickrob@snap.net.nz>
12463 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
12464 repository (http://sphinx.net.ru/hg/gdb-mi/).
12466 2009-06-22 Glenn Morris <rgm@gnu.org>
12468 * files.el (dir-locals-collect-mode-variables): Allow for any number of
12469 `mode' and `eval' entries. (Bug#3430)
12471 * Makefile.in (ELCFILES): Add fadr.elc.
12473 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
12474 differing behavior of \n and ^ in strings. (Bug#3385)
12476 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
12478 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
12480 (lisp-indent-function): Make it a defcustom.
12482 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
12484 * progmodes/gdb-ui.el: Replace with ...
12485 * progmodes/gdb-mi.el: ... this file.
12486 * progmodes/gud.el: Modify for gdb-mi.el.
12488 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
12490 * fadr.el: New file.
12492 See ChangeLog.14 for earlier changes.
12494 ;; Local Variables:
12498 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
12500 This file is part of GNU Emacs.
12502 GNU Emacs is free software: you can redistribute it and/or modify
12503 it under the terms of the GNU General Public License as published by
12504 the Free Software Foundation, either version 3 of the License, or
12505 (at your option) any later version.
12507 GNU Emacs is distributed in the hope that it will be useful,
12508 but WITHOUT ANY WARRANTY; without even the implied warranty of
12509 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12510 GNU General Public License for more details.
12512 You should have received a copy of the GNU General Public License
12513 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
12515 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1