1 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3 * textmodes/bibtex.el (bibtex-complete-internal):
4 Use completion-in-region.
5 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
7 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9 Support applying stashes. Improve UI.
10 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11 (vc-git-stash-apply, vc-git-stash-pop)
12 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13 (vc-git-stash-menu): New functions.
14 (vc-git-stash-menu-map): New variable.
15 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
17 2009-12-03 Glenn Morris <rgm@gnu.org>
19 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
20 (vc-print-log-internal): Fix previous change.
21 (vc-revert): Correct pluralization.
23 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
25 * progmodes/make-mode.el (makefile-special-targets-list): No need for
26 it to be an alist any more.
27 (makefile-complete): Use completion-in-region.
29 * progmodes/octave-mod.el (octave-complete-symbol):
30 Use completion-in-region.
33 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
34 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
35 (idlwave-complete-class): Don't quote lambda.
36 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
37 (idlwave-mode-map): Move initialization into declaration.
38 (idlwave-action-and-binding): Use backquotes.
39 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
41 (idlwave-is-pointer-dereference): Remove unused var `pos'.
42 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
43 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
44 `parts', and `all-parts'.
45 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
46 (idlwave-convert-xml-system-routine-info): Remove unused string
48 (idlwave-display-user-catalog-widget): Use dolist.
49 (idlwave-scanning-lib): Declare dynamically-scoped var.
50 (idlwave-scan-library-catalogs): Remove unused var `flags'.
51 (completion-highlight-first-word-only): Declare to silence bytecomp.
52 (idlwave-popup-select): Tighten scope of `resp'.
53 (idlwave-find-struct-tag): Remove unused var `beg'.
54 (idlwave-after-load-rinfo-hook): Declare.
55 (idlwave-sintern-class-info): Remove unused var `taglist'.
56 (idlwave-find-class-definition): Remove unused var `list'.
57 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
58 (idlwave-what-module-find-class): Remove unused var `classes'.
60 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
62 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
64 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
66 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
67 buffers visited. Remove redundant current-buffer-saving.
69 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
71 Use completion-in-buffer and remove uses of dynamic scoping.
72 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
73 (pascal-buffer-to-use, pascal-flag): Don't declare.
74 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
75 (pascal-get-completion-decl, pascal-keyword-completion):
76 Add `pascal-str' argument, save-excursion,
77 return the found completions, and don't filter with pascal-pred.
78 (pascal-completion-cache): New var.
79 (pascal-completion): Don't switch buffer any more (it was never
80 necessary). Don't save-excursion any more (it's done by the called
81 subroutines). Use a cache to avoid redundant computations.
82 Use complete-with-action rather than pascal-completion-response and
83 let it apply the predicate as well.
84 (pascal-complete-word): Use completion-in-buffer when
85 pascal-toggle-completions is nil.
86 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
88 (pascal-comp-defun): Don't change buffer any more.
89 Use complete-with-action rather than pascal-completion-response and
90 let it apply the predicate as well.
91 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
94 2009-12-02 Kenichi Handa <handa@m17n.org>
96 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
97 shape for all Indic scripts.
99 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
101 Use completion-in-buffer.
102 * wid-edit.el (widget-field-text-end): New function.
103 (widget-field-value-get): Use it.
104 (widget-string-complete, widget-file-complete)
105 (widget-color-complete): Use it and completion-in-region.
106 (widget-complete): Don't narrow the buffer.
108 2009-12-02 Glenn Morris <rgm@gnu.org>
110 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
111 (rmail-select-summary): Use rmail-pop-to-buffer.
112 * mail/rmailsum.el: Replace all pop-to-buffer calls with
113 rmail-pop-to-buffer, to prevent horizontal splits.
115 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
116 save-excursion with save-current-buffer.
117 Widen before searching. (Bug#5093)
118 (diary-list-sexp-entries): Remove superfluous save-excursion.
120 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
122 * woman.el (woman-make-bufname): Handle man-pages with "." in the
125 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
127 * ido.el (ido-file-internal): Handle filenames at point that do
128 not have a directory part. (Bug#5049)
130 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
132 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
133 (mpc-songs-jump-to, mpc-resume): Doc fixes.
135 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
137 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
138 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
141 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
143 * comint.el (comint-insert-input): Ignore clicks to the right of
144 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
146 * vc.el (vc-print-log-internal): Don't wait for the process to
147 terminate before setting up the major mode.
149 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
152 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
155 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
157 2009-12-01 Glenn Morris <rgm@gnu.org>
159 * window.el (window--display-buffer-2): Fix previous changes.
161 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
163 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
165 2009-12-01 Glenn Morris <rgm@gnu.org>
167 * Makefile.in (ELCFILES): Add mpc.elc.
169 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
173 2009-12-01 Glenn Morris <rgm@gnu.org>
175 * window.el (window-to-use): Define for compiler.
177 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
178 consistent with others (no final period).
180 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
181 (rmail-mime-show): Downcase the encoding. (Bug#5070)
183 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
185 Make vc-print-log buttons work.
186 * log-view.el (log-view-mode-map): Inherit from from widget-keymap.
188 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
190 * savehist.el (savehist-autosave-interval): Allow setting to nil
191 through customize. (Bug#5056)
193 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
195 Fix references to jit-lock properties.
196 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
197 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
198 (perl-font-lock-special-syntactic-constructs):
199 Quote jit-lock-defer-multiline property.
201 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
203 * vc-git.el (vc-git-registered): Call vc-git-root only once.
205 2009-11-30 Juri Linkov <juri@jurta.org>
207 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
208 value `buffer' of `multi-isearch-next-buffer-current-function'.
209 Use `(current-buffer)' when `buffer' is nil.
210 (multi-isearch-next-buffer-from-list): Don't fallback to
211 `(current-buffer)' when `buffer' is nil. (Bug#4947)
213 2009-11-30 Juri Linkov <juri@jurta.org>
215 * misearch.el (multi-isearch-read-buffers): Move canonicalization
216 of buffers with `get-buffer' to `multi-isearch-buffers'.
217 (multi-isearch-buffers, multi-isearch-buffers-regexp):
218 Canonicalize BUFFERS with `get-buffer'. Doc fix.
219 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
220 FILES with `expand-file-name' converting relative file names
221 to absolute. Doc fix. (Bug#4727)
223 2009-11-30 Juri Linkov <juri@jurta.org>
225 * misearch.el (multi-isearch-read-buffers)
226 (multi-isearch-read-matching-buffers): New functions.
227 (multi-isearch-buffers, multi-isearch-buffers-regexp):
228 Use them in the `interactive' spec. Doc fix.
229 (multi-isearch-read-files, multi-isearch-read-matching-files):
231 (multi-isearch-files, multi-isearch-files-regexp):
232 Use them in the `interactive' spec. Doc fix. (Bug#4725)
234 2009-11-30 Juri Linkov <juri@jurta.org>
236 * doc-view.el (doc-view-continuous):
237 Rename from `doc-view-continuous-mode'.
238 (doc-view-menu): Move "Toggle display" to the top.
239 Add submenu "Continuous" with radio buttons "Off"/"On"
240 and "Save as Default".
241 (doc-view-scroll-up-or-next-page)
242 (doc-view-scroll-down-or-previous-page)
243 (doc-view-next-line-or-next-page)
244 (doc-view-previous-line-or-previous-page): Rename
245 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
247 2009-11-30 Juri Linkov <juri@jurta.org>
249 * comint.el (comint-mode-map): Rebind `M-r' from
250 `comint-previous-matching-input' to
251 `comint-history-isearch-backward-regexp'.
252 Unbind `M-s' to allow global key binding `M-s'.
253 Add menu items for `comint-history-isearch-backward' and
254 `comint-history-isearch-backward-regexp'. (Bug#3746)
256 2009-11-30 Juri Linkov <juri@jurta.org>
258 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
259 For def=recenter, replace `recenter' with `recenter-top-bottom'
260 that is called with `this-command' and `last-command' let-bound
261 to `recenter-top-bottom'. When the last `def' was not `recenter',
262 set `recenter-last-op' to nil. (Bug#4981)
264 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
266 Minor cleanup and simplification.
267 * filecache.el (file-cache-add-directory)
268 (file-cache-add-directory-recursively)
269 (file-cache-add-from-file-cache-buffer)
270 (file-cache-delete-file-regexp, file-cache-delete-directory)
271 (file-cache-files-matching-internal, file-cache-display): Use dolist.
272 (file-cache-temp-minibuffer-message): Delete function.
273 (file-cache-minibuffer-complete): Use minibuffer-message instead.
275 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
276 Don't signal an error when bumping into EOB in tr, s, or y.
278 2009-11-29 Juri Linkov <juri@jurta.org>
280 * startup.el (fancy-about-text): Fix wording of Guided Tour.
283 * descr-text.el (describe-char-unidata-list): Use lowercase name
284 for "Unicode name" like in other tags.
286 2009-11-29 Juri Linkov <juri@jurta.org>
288 * ediff-util.el (ediff-minibuffer-with-setup-hook):
289 New compatibility macro.
290 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
292 2009-11-29 Juri Linkov <juri@jurta.org>
294 Add defcustom to define the cycling order of `recenter-top-bottom'.
297 * window.el (recenter-last-op): Doc fix.
298 (recenter-positions): New defcustom.
299 (recenter-top-bottom): Rewrite to use `recenter-positions'.
300 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
302 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
304 Improve integration of Tramp and ange-ftp in eshell.
306 * eshell/em-unix (eshell/whoami): Make it a defun but a defalias.
307 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
308 (eshell/sudo): Flatten args. Let-bind `default-directory'.
310 * eshell/esh-util.el (top): Require also Tramp when compiling.
311 (eshell-directory-files-and-attributes): Check for FTP remote
313 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
314 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
315 (eshell-file-attributes): Handle ".". Return `entry'.
317 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
318 (ange-ftp-directory-files-and-attributes)
319 (ange-ftp-real-directory-files-and-attributes): New defuns.
321 * net/tramp.el (tramp-maybe-open-connection): Open the remote
322 shell with "exec" when possible. This prevents trailing prompts
323 in `start-file-process'.
325 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
327 Try and remove assumptions about point-min==1.
328 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
329 (rng-compute-mode-line-string): Show the validation percentage in
330 terms of the narrowed text, not the widened text.
331 (rng-do-some-validation): Don't catch internal errors when debugging.
332 (rng-first-error): Simplify.
333 (rng-after-change-function): Remove work around. AFAIK the bug has
334 been fixed a while ago.
336 * image-mode.el (image-minor-mode): Exit more gracefully when the image
337 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
339 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
341 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
342 `cd' doesn't always do it for us (bug#5067).
344 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
345 on 2009-10-25 as part of some other change (bug#5067).
347 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
349 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
351 (byte-compile-warnings): Use byte-compile-warning-types.
352 (byte-compile-save-excursion): Warn about use of set-buffer right
353 after save-excursion.
355 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
356 the excursion as well.
358 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
360 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
361 providing a Tramp related implementation of "su" and "sudo".
362 (eshell-unix-initialize): Add "su" and "sudo".
364 2009-11-27 Daiki Ueno <ueno@unixuser.org>
366 * net/socks.el (socks-send-command): Convert binary request to
367 unibyte before sending. This fixes mishandling of some port
370 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
372 * help.el (describe-bindings-internal): Remove `interactive'.
374 * man.el (Man-completion-table): Trim a terminating "(".
375 Remove the space between name page a section.
376 Add the command's description on the `help-echo' property.
377 Remove `process-connection-type' binding since it's unused by
379 Provide completion for the "<section> <name>" format as well.
380 (Man-default-man-entry): Remove spurious var shadowing the argument.
382 2009-11-26 Kevin Ryde <user42@zip.com.au>
384 * log-view.el: Add "Keywords: tools", since its other keywords
385 aren't in finder-known-keywords, and following vc.el.
387 * sha1.el (sha1-string-external): default-directory "/" in case
388 otherwise non-existent. process-connection-type pipe for touch of
389 efficiency recommended by elisp manual. (An aside in Bug#3911.)
391 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
393 Misc coding convention cleanups.
394 * htmlfontify.el (hfy-init-kludge-hook): Rename from
395 hfy-init-kludge-hooks.
396 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
397 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
398 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
400 (hfy-slant, hfy-weight): Use tables rather than code.
401 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
402 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
403 (hfy-face-attr-for-class): Initialize `face-spec' directly.
404 (hfy-face-to-css): Remove `nconc' with single arg.
405 (hfy-p-to-face-lennart): Use `or'.
406 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
407 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
408 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
409 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
410 (hfy-force-fontification): Use run-hooks.
412 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
415 * htmlfontify.el (hfy-default-header): Add toggle_invis since
416 Javascript belongs in the header, not the body.
417 (hfy-javascript): Remove.
418 (hfy-fontify-buffer): Don't insert it any more.
419 (hfy-face-at): Handle (face0 face1 face2) style face properties.
420 Fix bug in invis handling when there were no invis props in a chunk.
422 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
424 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
426 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
428 * finder.el (finder-mode-map): Add a menu.
430 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
432 * verilog-mode.el (verilog-at-struct-p): Support "signed" and
435 (verilog-leap-to-head, verilog-backward-token): Handle "disable
436 fork" statement better.
438 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
440 * verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
441 (verilog-delete-empty-auto-pair, verilog-library-filenames):
442 Fix AUTOINSERTLISP to support insert-file. Reported by Clay Douglass.
444 (verilog-auto-inst, verilog-auto-star-safe)
445 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
446 Fix removing "// Interfaces" when saving .* expansions. Reported by
447 Pierre-David Pfister.
449 2009-11-26 Glenn Morris <rgm@gnu.org>
451 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
454 2009-11-25 Johan Bockgård <bojohan@gnu.org>
456 * vc-annotate.el (vc-annotate-revision-previous-to-line):
457 Really use previous revision.
459 2009-11-25 Kevin Ryde <user42@zip.com.au>
461 * man.el (Man-completion-table): default-directory "/" in case
462 doesn't otherwise exist. process-environment COLUMNS=999 so as
463 not to truncate long names. process-connection-type pipe to avoid
464 any chance of hitting the pseudo-tty TIOCGWINSZ.
465 (man): completion-ignore-case t for friendliness and since man
466 itself is case-insensitive on the command line.
469 * arc-mode.el: Add "Keywords: files", so the details in its
470 commentary can be reached from finder-by-keyword.
471 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
472 editing mode, but it's comms related and sgml-mode.el has "comm"
474 * textmodes/bibtex-style.el: Add "Keywords: tex".
475 * international/isearch-x.el, international/ja-dic-cnv.el:
476 * international/ja-dic-utl.el, international/kkc.el:
477 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
479 2009-11-25 Juri Linkov <juri@jurta.org>
481 * man.el (Man-completion-table): Modify regexp to include
482 section names to completion strings. (Bug#3717)
484 2009-11-25 Juri Linkov <juri@jurta.org>
486 Search recursively in gzipped files. (Bug#4982)
488 * progmodes/grep.el (grep-highlight-matches): Add new options
489 `always' and `auto'. Doc fix.
490 (grep-process-setup): Check `grep-highlight-matches' for
491 `auto-detect' to determine the need to compute grep defaults.
492 Move Windows/DOS specific --colors settings handling
493 to `grep-compute-defaults'. Check `grep-highlight-matches'
494 to get the value of "--color=".
495 (grep-compute-defaults): Compute `grep-highlight-matches' when it
496 has the value `auto-detect'. Move Windows/DOS specific settings
497 from `grep-process-setup'.
498 (zrgrep): New command with alias `rzgrep'.
500 2009-11-25 Juri Linkov <juri@jurta.org>
502 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
503 to nil instead of switching off view-mode. (Bug#4896)
505 2009-11-25 Juri Linkov <juri@jurta.org>
507 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
509 * mwheel.el (mwheel-scroll-up-function)
510 (mwheel-scroll-down-function): New defvars.
511 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
512 `scroll-up', and `mwheel-scroll-down-function' instead of
515 * doc-view.el (doc-view-scroll-up-or-next-page)
516 (doc-view-scroll-down-or-previous-page): Add optional ARG.
517 Use this ARG in the call to image-scroll-up/image-scroll-down.
518 Change `interactive' spec to "P". Goto next/previous page only
519 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
520 SPC/DEL case). Doc fix.
521 (doc-view-next-line-or-next-page)
522 (doc-view-previous-line-or-previous-page): Rename arg to ARG
524 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
525 `doc-view-scroll-up-or-next-page', and buffer-local
526 `mwheel-scroll-down-function' to
527 `doc-view-scroll-down-or-previous-page'.
529 2009-11-25 Juri Linkov <juri@jurta.org>
531 Provide additional default values (directories at other Dired
532 windows) via M-n in the minibuffer of some Dired commands.
534 * dired-aux.el (dired-diff, dired-compare-directories)
535 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
536 `minibuffer-default' in `minibuffer-with-setup-hook'.
537 (dired-dwim-target-directory): Find a window that displays Dired
538 buffer instead of failing when the next window is not Dired.
539 Use `get-window-with-predicate' to find for the next Dired window.
540 (dired-dwim-target-defaults): New function.
542 * ediff-util.el (ediff-read-file-name):
543 Use `dired-dwim-target-defaults' to set `minibuffer-default'
544 in `minibuffer-with-setup-hook'.
546 2009-11-25 Juri Linkov <juri@jurta.org>
548 Provide additional default values (file name at point or at the
549 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
551 * minibuffer.el (read-file-name-defaults): New function.
552 (read-file-name): Reset `minibuffer-default' to nil when
553 it duplicates initial input `insdef'.
554 Bind `minibuffer-default-add-function' to lambda that
555 calls `read-file-name-defaults' in `minibuffer-selected-window'.
556 (minibuffer-insert-file-name-at-point): New command.
558 * files.el (file-name-at-point-functions): New defcustom.
559 (find-file-default): Remove defvar.
560 (find-file-read-args): Don't use `find-file-default'.
561 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
563 (find-file-literally): Use `read-file-name' with
564 `confirm-nonexistent-file-or-buffer'.
566 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
568 * dired.el (dired-read-dir-and-switches):
569 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
571 (dired-file-name-at-point): New function.
572 (dired-mode): Add hook `dired-file-name-at-point' to
573 `file-name-at-point-functions'.
575 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
577 Really make the *Completions* window soft-dedicated (bug#5030).
578 * window.el (window--display-buffer-2): Add `dedicated' argument.
579 (display-buffer): Pass it when needed so the dedicated flag is set
580 after calling set-window-buffer, which would otherwise reset it.
582 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
584 * progmodes/meta-mode.el (meta-complete-symbol):
585 * progmodes/etags.el (complete-tag):
586 * mail/mailabbrev.el (mail-abbrev-complete-alias):
587 Use completion-in-region.
589 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
590 (dabbrev-completion): Use completion-in-region.
591 (dabbrev--abbrev-at-point): Simplify regexp.
593 * abbrev.el (abbrev--before-point): Use word-motion functions
594 if :regexp is not specified (bug#5031).
596 * subr.el (string-prefix-p): New function.
598 * man.el (Man-completion-cache): New var.
599 (Man-completion-table): Use it.
601 * vc.el (vc-print-log-internal): Make `limit' optional for better
602 compatibility (e.g. with vc-annotate.el).
604 2009-11-24 Kevin Ryde <user42@zip.com.au>
606 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
607 Build value with regexp-opt instead of explicit joining loop. (My
610 * emacs-lisp/elint.el (elint-add-required-env): Better error message
611 when .el source file not found or other error.
613 2009-11-24 Markus Triska <markus.triska@gmx.at>
615 * linum.el (linum-update-window): Ignore intangible (bug#4996).
617 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
619 Handle the [back] button properly (bug#4979).
620 * descr-text.el (describe-text-properties): Add a `buffer' argument.
621 Use help-setup-xref, help-buffer, and with-help-window.
622 (describe-char): Add `buffer' argument.
623 Pass proper command to help-setup-xref. Don't meddle with
624 help-xref-stack-item directly.
625 (describe-text-category): Use with-help-window and help-buffer.
627 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
628 for the displayed buffer (bug#4887).
630 * man.el (Man-completion-table): New function.
633 2009-11-24 David Reitter <david.reitter@gmail.com>
635 * vc-git.el (vc-git-registered): Use checkout directory (where
636 .git is) rather than the file's directory and a relative path spec
637 to work around a bug in git.
639 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
641 Improve handling of processes on remote hosts.
643 * eshell/esh-util.el (eshell-path-env): New defvar.
644 (eshell-parse-colon-path): New defun.
645 (eshell-file-attributes): Use `eshell-parse-colon-path'.
647 * eshell/esh-ext.el (eshell-search-path):
648 Use `eshell-parse-colon-path'.
649 (eshell-remote-command): Remove argument HANDLER.
650 (eshell-external-command): Check for FTP remote connection.
652 * eshell/esh-proc.el (eshell-gather-process-output):
653 Use `file-truename', in order to start also symlinked files.
654 Apply `start-file-process' instead of `start-process'.
655 Shorten `command' to the local file name part.
657 * eshell/em-cmpl.el (eshell-complete-commands-list):
658 Use `eshell-parse-colon-path'.
660 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
662 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
663 to `eshell-directory-change-hook'.
665 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
667 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
668 because it could be enabled automatically if view-read-only is non-nil.
670 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
672 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
675 2009-11-24 Glenn Morris <rgm@gnu.org>
677 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
678 deleted variable bookmark-bmenu-bookmark-column.
680 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
681 Move after definition of global-semantic-idle-tag-highlight-mode.
683 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
685 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
687 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
689 * net/browse-url.el (browse-url-filename-alist): On Windows, add
690 two slashes to the "file:" prefix.
691 (browse-url-file-url): De-munge Cygwin filenames before passing
692 them to Windows browser.
693 (browse-url-default-windows-browser): Use call-process.
695 2009-11-23 Juri Linkov <juri@jurta.org>
697 Implement DocView Continuous mode. (Bug#4896)
698 * doc-view.el (doc-view-continuous-mode): New defcustom.
699 (doc-view-mode-map): Bind C-n/<down> to
700 `doc-view-next-line-or-next-page', C-p/<up> to
701 `doc-view-previous-line-or-previous-page'.
702 (doc-view-next-line-or-next-page)
703 (doc-view-previous-line-or-previous-page): New commands.
705 2009-11-23 Juri Linkov <juri@jurta.org>
707 Implement Isearch in comint input history. (Bug#3746)
708 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
710 (comint-history-isearch): New defcustom.
711 (comint-history-isearch-backward)
712 (comint-history-isearch-backward-regexp): New commands.
713 (comint-history-isearch-message-overlay): New buffer-local variable.
714 (comint-history-isearch-setup, comint-history-isearch-end)
715 (comint-goto-input, comint-history-isearch-search)
716 (comint-history-isearch-message, comint-history-isearch-wrap)
717 (comint-history-isearch-push-state)
718 (comint-history-isearch-pop-state): New functions.
720 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
722 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
724 (tramp-handle-make-symbolic-link)
725 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
727 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
728 (tramp-handle-process-file): Use it.
730 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
732 * window.el (move-to-window-line-last-op): Remove.
733 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
735 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
737 Make M-r mirror the new cycling behavior of C-l.
738 * window.el (move-to-window-line-last-op): New var.
739 (move-to-window-line-top-bottom): New command.
740 (global-map): Bind M-r move-to-window-line-top-bottom.
742 2009-11-23 Sven Joachim <svenjoac@gmx.de>
744 * dired-x.el (dired-guess-shell-alist-default):
745 Support xz format. (Bug#4953)
747 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
749 * cedet/srecode/map.el (srecode-get-maps):
750 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
751 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
752 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
753 (semantic-toggle-decoration-style):
754 * cedet/semantic/decorate/include.el
755 (semantic-decoration-include-describe)
756 (semantic-decoration-unknown-include-describe)
757 (semantic-decoration-unparsed-include-describe)
758 (semantic-decoration-all-include-summary):
759 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
760 * cedet/semantic/analyze/complete.el
761 (semantic-analyze-possible-completions):
762 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
763 (semantic-show-unmatched-syntax-mode)
764 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
765 (semantic-highlight-func-mode):
766 * cedet/semantic/util.el (semantic-describe-buffer):
767 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
768 (semantic-symref-find-tags-by-name)
769 (semantic-symref-find-tags-by-regexp)
770 (semantic-symref-find-tags-by-completion)
771 (semantic-symref-find-file-references-by-name)
772 (semantic-symref-find-text):
773 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
775 * cedet/semantic/scope.el (semantic-calculate-scope):
776 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
777 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
778 (define-semantic-idle-service):
779 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
780 (semantic-complete-analyze-inline-idle):
781 * cedet/semantic/analyze.el (semantic-analyze-current-context):
782 * cedet/mode-local.el (describe-mode-local-bindings)
783 (describe-mode-local-bindings-in-mode):
784 * cedet/ede/make.el (ede-make-check-version):
785 * cedet/ede/locate.el (ede-enable-locate-on-project):
786 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
787 (cedet-idutils-version-check):
788 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
789 (cedet-gnu-global-version-check):
790 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
791 (cedet-cscope-version-check): Use called-interactively-p instead
794 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
795 Use semantic-format-tag-prototype.
797 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
799 * emulation/viper-cmd.el: Use viper-last-command-char instead of
800 last-command-char/last-command-event.
801 (viper-prefix-arg-value): Do correct conversion of event-char for
804 * emulation/viper-util.el, emulation/viper.el:
805 Use viper-last-command-char instead of
806 last-command-char/last-command-event.
808 * ediff-init.el, ediff-mult.el, ediff-util.el:
809 Replace last-command-char and last-command-event
810 with (ediff-last-command-char) everywhere.
812 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
813 created in fundamental mode.
815 * ediff.el (ediff-version): Revert the change of interactive-p to
816 called-interactively-p.
818 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
820 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
821 generation from word-movement command names.
823 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
825 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
826 (semantic-complete-jump-local, semantic-complete-jump):
827 Improve prompt string.
829 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
831 * cus-start.el (all): Add native condition for font-use-system-font.
833 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
835 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
836 Correct the patch from 2009-11-18. (Bug#3910)
838 2009-11-21 Alan Mackenzie <acm@muc.de>
840 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
841 Update to deal with modern Java constructs.
843 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
845 * progmodes/subword.el: Rename from lisp/subword.el.
847 * subword.el: Rename to progmodes/subword.el.
849 * Makefile.in (ELCFILES): Adapt to subword.el move.
851 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
852 Stefan Monnier <monnier@iro.umontreal.ca>
854 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
855 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
856 (bookmark-bmenu-show-filenames): Use push.
857 (bookmark-bmenu-hide-filenames): Use local var instead of
858 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
859 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
860 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
861 filenames now that the bookmark names are always available.
863 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
865 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
866 (bookmark-search-pattern): Move and leave unbound.
867 (bookmark-bmenu-mode-map): Change binding.
868 (bookmark-read-search-input): Simplify.
869 Don't use text-char-description. Don't error on non-char events.
870 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
871 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
872 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
873 Use a local var for the timer.
874 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
875 (i.e. bookmark-bmenu-search).
877 2009-11-21 Glenn Morris <rgm@gnu.org>
879 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
881 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
883 * net/browse-url.el (browse-url-default-windows-browser):
884 Use cygstart for cygwin.
886 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
888 * bookmark.el Formatting and doc fixes only:
889 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
890 (bookmark-bmenu-search): Wrap to fit within 80 columns.
891 Minor grammar and punctuation fixes in doc string.
892 (bookmark-read-search-input): Adjust to fit within 80 columns.
894 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
896 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
897 (c-backward-into-nomenclature): Adapt to subword renaming.
899 * subword.el (subword-forward, subword-backward, subword-mark)
900 (subword-kill, subword-backward-kill, subword-transpose)
901 (subword-downcase, subword-upcase, subword-capitalize)
902 (subword-forward-internal, subword-backward-internal):
903 Rename from forward-subword, backward-subword, mark-subword,
904 kill-subword, backward-kill-subword, transpose-subwords,
905 downcase-subword, upcase-subword, capitalize-subword,
906 forward-subword-internal, backward-subword-internal.
908 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
910 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
912 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
914 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
915 (bookmark-bmenu-filter-alist-by-regexp)
916 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
917 (bookmark-bmenu-search): New command.
918 (bookmark-bmenu-mode-map): Bind it.
920 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
922 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
924 * cedet/semantic/idle.el (define-semantic-idle-service)
925 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
927 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
929 * progmodes/cc-cmds.el: declare-functioned forward-subword and
930 backward-subword to quit the byte-compiler.
932 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
934 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
936 * progmodes/cc-cmds.el (c-update-modeline)
937 (c-forward-into-nomenclature, c-backward-into-nomenclature):
938 Refer to subword.el functions instead of cc-subword.el.
940 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
941 subword.el functions instead of cc-subword.el.
943 * progmodes/cc-subword.el: Rename to subword.el.
944 * subword.el: Rename from progmodes/cc-subword.el.
945 (subword-mode-map): Rename from c-subword-mode-map.
946 (subword-mode): Rename from c-subword-mode.
947 (global-subword-mode): New global minor mode.
948 (forward-subword): Rename from c-forward-subword.
949 (backward-subword): Rename from c-backward-subword.
950 (mark-subword): Rename from c-mark-subword.
951 (kill-subword): Rename from c-kill-subword.
952 (backward-kill-subword): Rename from c-backward-kill-subword.
953 (transpose-subwords): Rename from c-tranpose-subword.
954 (downcase-subword): Rename from c-downcase-subword.
955 (capitalize-subword): Rename from c-capitalize-subword.
956 (forward-subword-internal): Rename from c-forward-subword-internal.
957 (backward-subword-internal): Rename from c-backward-subword-internal.
959 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
961 * vc.el (vc-deduce-fileset): Allow non-state changing operations
963 (vc-dired-deduce-fileset): New function.
964 (vc-root-diff, vc-print-root-log): Use it.
966 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
967 nil LIMIT argument to vc-print-log-internal.
969 2009-11-20 Glenn Morris <rgm@gnu.org>
971 * Makefile.in (ELCFILES): Regenerate.
973 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
975 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
977 * cedet/semantic.el: Enable idle-mode menu items only if
978 global-semantic-idle-scheduler-mode is enabled.
979 (semantic-default-submodes): Doc fix.
981 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
982 When turning off, disable other idle modes.
984 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
986 * calc/calc.el (calc-set-mode-line):
987 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
988 (math-format-number): Rename `math-format-complement-signed' to
989 `math-format-twos-complement'.
991 * calc/calc-bin.el (math-format-twos-complement): Rename from
992 math-format-complement-signed.
993 (calc-radix): Rename `calc-complement-signed-mode' to
994 `calc-twos-complement-mode'.
995 (calc-octal-radix, calc-hex-radix): Add an argument for
998 * calc/calc-embed.el (calc-embedded-mode-vars):
999 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1001 * calc/calc-ext.el (calc-init-extensions):
1002 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1003 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
1005 * calc/calc-units.el (math-build-units-table-buffer):
1006 Let `calc-twos-complement-mode' be nil.
1008 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
1011 * calc/calc-vec.el (calcFunc-vunpack):
1012 * calc/calc-aent.el (calc-do-calc-eval):
1013 * calc/calc-forms.el (math-format-date):
1014 * calc/calc-graph.el (calc-graph-plot):
1015 * calc/calc-math.el (math-use-emacs-fn):
1016 * calc/calccomp.el (math-compose-expr):
1017 Let `calc-twos-complement-mode' be nil.
1019 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1021 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
1022 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
1023 * minibuffer.el (completion-in-region-functions): New hook.
1024 (completion-in-region): New function.
1025 * emacs-lisp/lisp.el (lisp-complete-symbol):
1026 * pcomplete.el (pcomplete-std-complete): Use it.
1028 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1030 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
1031 (latex-complete-alist): New vars.
1032 (latex-string-prefix-p, latex-complete-bibtex-keys)
1033 (latex-complete-envnames, latex-complete-refkeys)
1034 (latex-complete-data): New functions.
1035 (latex-complete, latex-indent-or-complete): New commands.
1037 * window.el (display-buffer-mark-dedicated): New var.
1038 (display-buffer): Obey it.
1039 * minibuffer.el (minibuffer-completion-help): Use it.
1041 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
1043 * filecache.el (file-cache-add-file): Use push and cons.
1044 (file-cache-delete-file-regexp): Use push.
1045 (file-cache-complete): Use completion-in-region.
1047 * simple.el (with-wrapper-hook): Fix thinko.
1049 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
1050 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
1051 Use with-current-buffer and string-to-number.
1052 (hfy-fallback-colour-values): Use assoc-string.
1053 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
1054 (hfy-face-at): Remove unused var `found-face'.
1055 (hfy-compile-stylesheet): Remove unused var `css'.
1056 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
1058 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
1059 Use with-current-buffer.
1060 (hfy-text-p): Use expand-file-name and fewer setq.
1062 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
1064 * htmlfontify.el, hfy-cmap.el: New files.
1066 2009-11-19 Juri Linkov <juri@jurta.org>
1068 * minibuffer.el (completions-format): New defcustom.
1069 (completion--insert-strings): Implement vertical format.
1071 * simple.el (switch-to-completions): Move point to the first
1072 completion when point was at the beginning of the buffer.
1074 2009-11-19 Juri Linkov <juri@jurta.org>
1076 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
1078 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
1080 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
1082 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
1083 (mail-signature): Change default to t.
1084 (mail-from-style): Deprecate `system-default' value.
1085 (mail-insert-from-field): For default value of mail-from-style,
1086 default to `angles' unless `angles' needs quoting and `parens'
1088 (mail-citation-prefix-regexp): Use citation regexp from
1091 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
1093 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
1094 Set variables for computing the prompt for reading password.
1096 2009-11-19 Glenn Morris <rgm@gnu.org>
1098 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
1100 * textmodes/flyspell.el (sgml-lexical-context): Declare.
1102 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
1103 (newsticker-treeview-listwindow-height): Fix custom type.
1105 2009-11-19 Kenichi Handa <handa@m17n.org>
1107 * descr-text.el (describe-char-padded-string): Compose with TAB
1108 only if there's a font for CH.
1109 (describe-char): Fix the condition for detecting a trivial composition.
1111 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
1113 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
1114 more accurate version of the regexp. (Bug#3910)
1116 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
1118 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
1120 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
1122 * font-setting.el (font-use-system-font): Declare for byte-compiler.
1123 (font-setting-change-default-font): Fix typo in docstring.
1125 2009-11-18 Alan Mackenzie <acm@muc.de>
1127 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
1129 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
1131 * font-setting.el (font-use-system-font): Move ...
1133 * cus-start.el (all): ... to here.
1135 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
1137 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
1138 Don't set `ad-return-value' if `ad-do-it' doesn't.
1140 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
1143 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
1145 * menu-bar.el: Put "Use system font" in Option-menu.
1146 (menu-bar-options-save): Add font-use-system-font.
1148 * loadup.el: If feature system-font-setting or font-render-setting is
1149 there, load font-setting.
1151 * Makefile.in (ELCFILES): Add font-settings.el.
1152 * font-setting.el: New file.
1154 2009-11-17 Glenn Morris <rgm@gnu.org>
1156 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
1158 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
1159 Preserve point in the list buffer. (Bug#4939)
1161 (newsticker--treeview-list-update-highlight)
1162 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
1164 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
1166 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
1169 * calc/calc-ext.el (calc-init-extensions): Remove references to
1172 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
1174 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
1175 * calc/calc-help.el (calc-b-prefix-help): Remove references to
1178 2009-11-16 Kevin Ryde <user42@zip.com.au>
1180 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
1181 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
1183 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
1184 (lm-keywords-list): Allow comma-only separator like "foo,bar".
1185 Ignore trailing spaces by omit-nulls to split-string (fixing
1186 regression from Emacs 21 due to the incompatible split-string
1187 change). (Bug #4928.)
1189 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
1191 * vc.el (vc-log-show-limit): Default to 2000.
1192 (vc-print-log-internal): Insert buttons to request more entries
1193 when limiting the output.
1195 * vc-sccs.el (vc-sccs-print-log):
1196 * vc-rcs.el (vc-rcs-print-log):
1197 * vc-cvs.el (vc-cvs-print-log):
1198 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
1201 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
1203 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
1204 error when `tramp-gvfs-dbus-event-vector' is set.
1205 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
1207 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1209 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
1211 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
1213 * net/dbus.el (dbus-unregister-service): New defun.
1214 (dbus-register-property): Register the handlers of
1215 "org.freedesktop.DBus.Properties" for SERVICE.
1216 (dbus-property-handler): Fix docstring.
1218 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1220 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
1221 Quote doc string reference in defvaralias as it is not in special form.
1222 (byte-compile-output-docform): Doc fix.
1224 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
1226 * calc/calc.el (math-2-word-size, math-half-2-word-size)
1227 (calc-complement-signed-mode): New variables.
1228 (calc-set-mode-line): Add indicator for twos-complements.
1229 (math-format-number): Format twos-complement notation.
1231 * calc/calc-bin.el (calc-word-size): Reset the variables
1232 `math-2-word-size' and `math-half-2-word-size'.
1233 (math-format-complement-signed, math-symclip, calcFunc-symclip)
1234 (calc-symclip): New functions.
1236 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
1238 * calc/calc-embed.el (calc-embedded-mode-vars):
1239 Add `calc-complement-signed-mode' to the list of modes.
1241 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
1242 (calc-b-oper-keys): Add `calc-symclip' to list.
1244 * calc/calc-ext.el (math-read-number-fancy): Read complement
1246 (calc-init-extensions): Add binding for `calc-symclip'.
1247 Add autoload for `calcFunc-symclip' and `calc-symclip'.
1249 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
1251 (calc-modes-menu): Add item for twos complement mode.
1253 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
1255 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
1257 * register.el (jump-to-register, insert-register): Handle Semantic
1258 tags. From commented-out advice in semantic/senator.el.
1260 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
1262 * vc.el (vc-log-show-limit): New variable.
1263 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
1264 when using a prefix argument.
1265 (vc-print-log-internal): Add new argument LIMIT.
1267 * vc-svn.el (vc-svn-print-log):
1268 * vc-mtn.el (vc-mtn-print-log):
1269 * vc-hg.el (vc-hg-print-log):
1270 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
1271 pass it to the log command when set. Make the BUFFER argument
1274 * vc-sccs.el (vc-sccs-print-log):
1275 * vc-rcs.el (vc-rcs-print-log):
1276 * vc-git.el (vc-git-print-log):
1277 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
1278 ignore it. Make the BUFFER argument non-optional
1280 * bindings.el (mode-line-buffer-identification): Do not purecopy.
1282 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
1284 * dired.el (dired-mode-map): Move encryption items to "Operate"
1287 * strokes.el (strokes-update-window-configuration): Make strokes
1288 buffer current before erasing (Bug#4906).
1290 * cedet/semantic/idle.el (semantic-idle-summary-mode)
1291 (semantic-idle-summary-mode): Define using define-minor-mode
1292 instead of define-semantic-idle-service.
1293 (semantic-idle-summary-mode): New function.
1294 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
1295 that mouse motion does not reset the echo area.
1297 2009-11-15 Juri Linkov <juri@jurta.org>
1299 * simple.el (set-mark-default-inactive): Add :type, :group
1300 and :version. (Bug#4876)
1302 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
1304 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
1305 (archive-unique-fname): ... here. (Bug#4929)
1307 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1309 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
1312 * novice.el (disabled-command-function): Add useful args.
1313 Setup the help buffer so that [back] works.
1314 Remove redundant call to help-mode.
1315 (disabled-command-function): Use `case'.
1316 (en/disable-command): New function extracted from enable-command.
1317 (enable-command, disable-command): Use it.
1319 2009-11-14 Glenn Morris <rgm@gnu.org>
1321 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
1322 constants. (Bug#4913)
1324 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
1326 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1328 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
1329 defined in C that have no doc-strings. (Bug#1063)
1331 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
1333 * cus-edit.el (data, files):
1334 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
1336 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
1338 * simple.el (shell-command): Doc fix (Bug#4891).
1340 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
1342 2009-11-14 Glenn Morris <rgm@gnu.org>
1344 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
1345 statements for vc-diff, emerge-quit, and rmail-cease-edit.
1346 If they are already loaded, eval-after-load will do the right thing.
1348 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
1351 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
1353 * simple.el (x-selection-owner-p): Declare.
1354 (read-mail-command): Use custom radio type rather than choice.
1355 (completion-no-auto-exit): Doc fix.
1357 * custom.el (defgroup):
1358 * epg-config.el (epg): Doc fixes.
1360 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
1362 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
1363 * international/ccl.el (define-ccl-program): Do not purecopy the
1364 docstring, defconst does it anyway.
1366 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1368 * add-log.el (add-change-log-entry): Avoid displaying the changelog
1371 * x-dnd.el (x-dnd-maybe-call-test-function):
1372 * window.el (split-window-vertically):
1373 * whitespace.el (whitespace-help-on):
1374 * vc-rcs.el (vc-rcs-consult-headers):
1375 * userlock.el (ask-user-about-lock-help)
1376 (ask-user-about-supersession-help):
1377 * type-break.el (type-break-force-mode-line-update):
1378 * time-stamp.el (time-stamp-conv-warn):
1379 * terminal.el (te-set-output-log, te-more-break, te-filter)
1380 (te-sentinel,terminal-emulator):
1381 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
1382 (term-write-input-ring, term-check-source, term-start-output-log):
1383 (term-display-buffer-line, term-dynamic-list-completions):
1384 (term-ansi-make-term, serial-term):
1385 * subr.el (selective-display):
1386 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1387 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
1388 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
1389 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
1390 (speedbar-remove-localized-speedbar-support)
1391 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
1392 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
1393 (speedbar-buffers-line-directory):
1394 * simple.el (shell-command-on-region, append-to-buffer)
1395 (prepend-to-buffer):
1396 * shadowfile.el (shadow-save-todo-file):
1397 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
1398 (scroll-bar-maybe-set-window-start):
1399 * sb-image.el (speedbar-image-dump):
1400 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
1401 (load-save-place-alist-from-file):
1402 * ps-samp.el (ps-print-message-from-summary):
1403 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
1404 (ps-background-image, ps-begin-job, ps-do-despool):
1405 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
1406 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
1407 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
1408 (pr-call-process, pr-file-list, pr-interface-save):
1409 * novice.el (disabled-command-function)
1410 (enable-command, disable-command):
1411 * mouse.el (mouse-buffer-menu-alist):
1412 * mouse-copy.el (mouse-kill-preserving-secondary):
1413 * macros.el (kbd-macro-query):
1414 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
1415 * informat.el (batch-info-validate):
1416 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
1417 * hippie-exp.el (try-expand-dabbrev-visible):
1418 * help-mode.el (help-make-xrefs):
1419 * help-fns.el (describe-variable):
1420 * generic-x.el (bat-generic-mode-run-as-comint):
1421 * finder.el (finder-mouse-select):
1422 * find-dired.el (find-dired-sentinel):
1423 * filesets.el (filesets-file-close):
1424 * files.el (list-directory):
1425 * faces.el (list-faces-display, describe-face):
1426 * facemenu.el (list-colors-display):
1427 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
1428 * epg.el (epg--process-filter, epg-cancel):
1429 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
1430 (epa--read-signature-type):
1431 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
1432 (emerge-file-names):
1433 * ehelp.el (electric-helpify):
1434 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
1435 * ediff-vers.el (rcs-ediff-view-revision):
1436 * ediff-util.el (ediff-setup):
1437 * ediff-mult.el (ediff-append-custom-diff):
1438 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
1440 * echistory.el (Electric-command-history-redo-expression):
1441 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1442 * disp-table.el (describe-display-table):
1443 * dired.el (dired-find-buffer-nocreate):
1444 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
1445 * dabbrev.el (dabbrev--same-major-mode-p):
1446 * chistory.el (list-command-history):
1447 * apropos.el (apropos-documentation):
1448 * allout.el (allout-obtain-passphrase):
1449 (allout-copy-exposed-to-buffer):
1450 (allout-verify-passphrase): Use with-current-buffer.
1452 2009-11-13 Glenn Morris <rgm@gnu.org>
1454 * Makefile.in (ELCFILES): Regenerate.
1456 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
1458 * net/dbus.el (dbus-registered-objects-table): Rename from
1459 `dbus-registered-functions-table', because it contains also properties.
1460 (dbus-unregister-object): Unregister also properties.
1461 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1462 Use a timeout of 500 msec, in order to not block.
1463 (dbus-register-property, dbus-property-handler): New defuns.
1465 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1467 * simple.el (minibuffer-default-add-completions): Drop deprecated
1470 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
1472 * textmodes/artist.el (artist-mouse-choose-operation):
1473 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
1474 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
1475 (artist-compute-up-event-key): New function.
1476 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
1478 2009-11-13 Kenichi Handa <handa@m17n.org>
1480 * language/japan-util.el: Make sure that the value of jisx0208
1481 property is jisx0208 character.
1483 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
1485 * international/mule.el (auto-coding-regexp-alist): Only purecopy
1486 car or each item, not the whole list.
1488 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1490 * minibuffer.el (minibuffer-completion-help):
1491 Use minibuffer-hide-completions.
1493 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
1495 * dired.el (dired-save-positions, dired-restore-positions): New funs.
1496 (dired-revert): Use them (bug#4880).
1498 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
1500 * tooltip.el (tooltip-frame-parameters): Undo previous change.
1502 2009-11-12 Juri Linkov <juri@jurta.org>
1504 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
1506 (find-file-literally-at-point): Alias of `ffap-literally'.
1508 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
1510 * textmodes/ispell.el (ispell-skip-region-alist):
1511 * textmodes/css-mode.el (auto-mode-alist):
1512 * progmodes/compile.el (auto-mode-alist):
1513 * international/mule.el (ctext-non-standard-encodings-alist)
1514 (ctext-non-standard-encodings-regexp):
1515 * simple.el (shell-command-switch, text-read-only):
1516 * replace.el (occur-mode-map):
1517 * paths.el (rmail-file-name):
1518 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
1519 * find-file.el (ff-special-constructs):
1520 * files.el (file-name-handler-alist):
1521 * composite.el: Purecopy strings.
1523 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
1525 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
1527 * widget.el (define-widget): Purecopy the docstring.
1528 * international/mule-cmds.el (charset): Do not purecopy the
1529 docstring here, define-widget does it.
1531 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
1532 * textmodes/bibtex-style.el (auto-mode-alist):
1533 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1534 * progmodes/compile.el (compile-command):
1535 * language/korea-util.el (default-korean-keyboard):
1536 * international/mule-conf.el (file-coding-system-alist):
1537 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
1538 * tooltip.el (tooltip-frame-parameters):
1539 * newcomment.el (comment-end, comment-padding):
1540 * dired.el (dired-trivial-filenames):
1541 * comint.el (comint-file-name-prefix): Purecopy initial values.
1543 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
1545 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
1546 (tramp-advice-minibuffer-electric-tilde): Unload advices via
1548 (tramp-advice-make-auto-save-file-name)
1549 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
1550 after removing the advice.
1552 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
1554 * progmodes/grep.el (grep-regexp-alist):
1555 * international/mule-cmds.el (iso-2022-control-alist):
1556 * emacs-lisp/timer.el (timer-duration-words):
1557 * subr.el (version-separator, version-regexp-alist):
1558 * minibuffer.el (completion-styles-alist):
1559 * faces.el (face-attribute-name-alist, list-faces-sample-text):
1560 Change defvars to defconsts.
1562 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
1563 * loadup.el ("international/mule-conf"): Load the byte compiled version.
1564 * international/mule-conf.el: Allow to be byte compiled.
1566 * international/mule.el (define-charset): Purecopy props.
1567 (load-with-code-conversion): Purecopy doc string and file name.
1568 (put-charset-property): Purecopy strings.
1569 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
1571 * international/mule-cmds.el (register-input-method): Purecopy arguments.
1572 (define-char-code-property): Correctly purecopy the table.
1574 * international/ccl.el (define-ccl-program): Purecopy the docstring.
1576 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
1578 * subr.el (add-hook): Purecopy strings.
1579 (eval-after-load): Purecopy load-history-regexp and the form.
1581 * custom.el (custom-declare-group): Purecopy load-file-name.
1583 * subr.el (menu-bar-separator): New defconst.
1584 * net/eudc.el (eudc-tools-menu):
1585 * international/mule-cmds.el (set-coding-system-map)
1587 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1588 * vc-hooks.el (vc-menu-map):
1589 * replace.el (occur-mode-map):
1590 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
1591 (menu-bar-edit-menu, menu-bar-goto-menu)
1592 (menu-bar-custom-menu, menu-bar-showhide-menu)
1593 (menu-bar-options-menu, menu-bar-tools-menu)
1594 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
1595 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1596 (menu-bar-help-menu):
1597 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
1598 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
1600 * term/x-win.el (x-gtk-stock-map):
1601 * progmodes/vera-mode.el (auto-mode-alist):
1602 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1603 (inferior-lisp-program, inferior-lisp-load-command):
1604 * progmodes/hideshow.el (hs-special-modes-alist):
1605 * progmodes/gud.el (same-window-regexps):
1606 * progmodes/grep.el (grep-program, find-program, xargs-program):
1607 * net/telnet.el (same-window-regexps):
1608 * net/rlogin.el (same-window-regexps):
1609 * language/ethiopic.el (font-ccl-encoder-alist):
1610 * vc-sccs.el (vc-sccs-master-templates):
1611 * vc-rcs.el (vc-rcs-master-templates):
1612 * subr.el (cl-assertion-failed):
1613 * simple.el (next-error-overlay-arrow-position):
1614 * lpr.el (lpr-command):
1615 * locate.el (locate-ls-subdir-switches):
1616 * info.el (same-window-regexps, info)
1617 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
1618 * image-mode.el (image-mode, auto-mode-alist):
1619 * hippie-exp.el (hippie-expand-ignore-buffers):
1620 * format.el (format-alist):
1621 * find-dired.el (find-ls-subdir-switches, find-grep-options)
1623 * facemenu.el (facemenu-keybindings):
1624 * dired.el (dired-listing-switches, dired-chown-program):
1625 * diff.el (diff-switches, diff-command):
1626 * cus-edit.el (same-window-regexps):
1627 * bindings.el (mode-line-mule-info)
1628 (mode-line-buffer-identification): Purecopy strings.
1630 2009-11-11 Juri Linkov <juri@jurta.org>
1632 * simple.el (dired-get-filename)<declare-function>:
1633 Tell the byte-compiler about dired-get-filename.
1634 (shell-command): In Dired mode, get filename from the current line
1635 as the default value.
1637 2009-11-10 Glenn Morris <rgm@gnu.org>
1639 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
1640 * calendar/holidays.el, progmodes/cperl-mode.el:
1641 Update x-popup-menu declarations.
1643 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
1644 (list-load-path-shadows): Use dolist.
1645 (list-load-path-shadows): Use with-current-buffer.
1647 2009-11-10 Juri Linkov <juri@jurta.org>
1649 * minibuffer.el (read-file-name): Support a list of default values
1650 in `default-filename'. Use the first file name where only one
1651 element is required. Doc fix.
1653 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
1655 * net/dbus.el (dbus-unregister-object): Release service, if no
1656 other method is registered for it.
1658 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
1660 * bookmark.el (bookmark-completing-read): Sort bookmark names if
1661 bookmark-sort-flag is non-nil (Bug#4653).
1663 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
1665 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
1666 the progress reporter entirely.
1668 * emulation/cua-base.el: Add CUA property to some CC mode commands
1671 2009-11-08 Kevin Ryde <user42@zip.com.au>
1673 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
1674 at end of sentence (Bug#4818).
1676 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
1678 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1679 Handle "see declaration of" MSFT statements (Bug#4100).
1681 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
1683 * net/tramp.el (tramp-advice-make-auto-save-file-name)
1684 (tramp-advice-file-expand-wildcards): Unload via
1687 * net/trampver.el: Update release number.
1689 2009-11-08 Kevin Ryde <user42@zip.com.au>
1691 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
1694 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
1696 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
1697 in order to keep context in SELinux.
1699 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
1701 * dired-aux.el (dired-query): Place cursor in echo area and allow
1704 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
1705 menu item if not on a directory (Bug#4701).
1707 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
1709 Sync with Tramp 2.1.17.
1711 * net/tramp.el (tramp-handle-copy-directory): Don't use
1712 `file-remote-p' (due to compatibility).
1714 * net/tramp-compat.el (tramp-compat-copy-directory)
1715 (tramp-compat-delete-directory): New defuns.
1717 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
1718 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
1719 `tramp-compat-delete-directory'.
1721 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1722 (tramp-smb-handle-delete-directory ): Use
1723 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
1725 * net/trampver.el: Update release number.
1727 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
1729 * tar-mode.el (tar-copy): Call write-region on the right buffer
1732 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
1733 by hand, if necessary (Bug#4878).
1735 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
1737 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
1738 align size column (Bug#4839).
1740 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
1743 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
1745 * progmodes/ld-script.el (auto-mode-alist):
1746 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
1748 * cus-face.el (custom-declare-face): Purecopy face spec.
1750 2009-11-06 Kenichi Handa <handa@m17n.org>
1752 * international/uni-bidi.el: Re-generated.
1753 * international/uni-category.el: Re-generated.
1754 * international/uni-combining.el: Re-generated.
1755 * international/uni-mirrored.el: Re-generated.
1757 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
1759 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
1760 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
1761 (tex-start-options, slitex-run-command, latex-run-command)
1762 (tex-run-command, tex-directory):
1763 * textmodes/ispell.el (ispell-html-skip-alists)
1764 (ispell-tex-skip-alists, ispell-tex-skip-alists):
1765 * textmodes/fill.el (adaptive-fill-first-line-regexp):
1766 (adaptive-fill-regexp):
1767 * textmodes/dns-mode.el (auto-mode-alist):
1768 * progmodes/python.el (interpreter-mode-alist):
1769 * progmodes/etags.el (tags-compression-info-list):
1770 * progmodes/etags.el (tags-file-name):
1771 * net/browse-url.el (browse-url-galeon-program)
1772 (browse-url-firefox-program):
1773 * mail/sendmail.el (mail-signature-file)
1774 (mail-citation-prefix-regexp):
1775 * international/mule-conf.el (eight-bit):
1776 * international/latexenc.el (latex-inputenc-coding-alist):
1777 * international/fontset.el (x-pixel-size-width-font-regexp):
1778 * emacs-lisp/warnings.el (warning-type-format):
1779 * emacs-lisp/trace.el (trace-buffer):
1780 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
1781 (emacs-lisp-mode-map):
1782 * calendar/holidays.el (holiday-solar-holidays)
1783 (holiday-bahai-holidays, holiday-islamic-holidays)
1784 (holiday-christian-holidays, holiday-hebrew-holidays)
1785 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
1786 (hebrew-holidays-1, holiday-oriental-holidays)
1787 (holiday-general-holidays):
1788 * x-dnd.el (x-dnd-known-types):
1789 * tool-bar.el (tool-bar):
1790 * startup.el (site-run-file):
1791 * shell.el (shell-dumb-shell-regexp):
1792 * rfn-eshadow.el (file-name-shadow-tty-properties)
1793 (file-name-shadow-properties):
1794 * paths.el (remote-shell-program, news-directory):
1795 * mouse.el ([C-down-mouse-3]):
1796 * menu-bar.el (menu-bar-tools-menu):
1797 * jka-cmpr-hook.el (jka-compr-load-suffixes)
1798 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
1799 (jka-compr-compression-info-list):
1800 * isearch.el (search-whitespace-regexp):
1801 * image-file.el (image-file-name-extensions):
1802 * find-dired.el (find-ls-option):
1803 * files.el (directory-listing-before-filename-regexp)
1804 (directory-free-space-args, insert-directory-program)
1805 (list-directory-brief-switches, magic-fallback-mode-alist)
1806 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
1807 (automount-dir-prefix):
1808 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
1809 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
1810 (face-font-registry-alternatives, face-font-registry-alternatives)
1811 (face-font-family-alternatives):
1812 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
1813 (facemenu-foreground-menu, facemenu-face-menu):
1814 * epa-hook.el (epa-file-name-regexp):
1815 * dnd.el (dnd-protocol-alist):
1816 * textmodes/rst.el (auto-mode-alist):
1817 * button.el (default-button): Purecopy strings.
1819 2009-11-06 Glenn Morris <rgm@gnu.org>
1821 * Makefile.in (ELCFILES): Update.
1823 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1825 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
1826 * emacs-lisp/levents.el: Move to obsolete/levents.el.
1828 * nxml/xsd-regexp.el (xsdre-gen-categories):
1829 * nxml/xmltok.el (xmltok-parse-entity):
1830 * nxml/rng-parse.el (rng-parse-validate-file):
1831 * nxml/rng-maint.el (rng-format-manual)
1832 (rng-manual-output-force-new-line):
1833 * nxml/rng-loc.el (rng-save-schema-location-1):
1834 * nxml/rng-cmpct.el (rng-c-parse-file):
1835 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1836 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
1838 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
1840 * verilog-mode.el (verilog-getopt-file, verilog-set-define):
1841 Remove extra save-excursions and make-variable-buffer-local's.
1842 Suggested by Stefan Monnier.
1844 (verilog-getopt-file, verilog-module-inside-filename-p)
1845 (verilog-set-define): Merge GNU 1.35 and repair changes from
1846 switching to using with-current-buffer.
1848 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
1849 being treated as a number and confusing AUTORESET.
1850 Reported by Dan Dever.
1852 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
1853 Add verilog-auto-ignore-concat to fix backward compatibility with
1854 older verilog-modes. Reported by Dan Katz.
1856 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
1857 containing closing anchors "...$".
1859 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
1860 Reported by Wade Smith.
1862 (verilog-batch-execute-func) Comment on function usage.
1864 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
1866 * verilog-mode.el (verilog-label-re): Fix regular expression for
1869 (verilog-label-re, verilog-calc-1): Support proper indent of named
1872 (verilog-backward-token, verilog-basic-complete-re)
1873 (verilog-beg-of-statement, verilog-indent-re): Support proper
1874 indent of the assert statement at the beginning of a block of text.
1876 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
1877 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
1880 2009-11-05 Glenn Morris <rgm@gnu.org>
1882 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
1883 Emacs 19. (Bug#1531)
1884 (byte-compile-fix-header): Update for the above change.
1885 Drop test for epoch::version.
1887 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
1888 * cus-dep.el (custom-make-dependencies):
1889 * finder.el (finder-compile-keywords):
1890 Use autoload-rubric's feature argument.
1892 * calendar/diary-lib.el (top-level): Make load behave more like require.
1894 * vc-git.el (vc-git-stash-map): Move definition before use.
1896 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
1898 * custom.el (custom-declare-group): Purecopy standard-value.
1899 (custom-declare-group): Purecopy custom-prefix.
1901 * international/mule.el (load-with-code-conversion):
1902 Call do-after-load-evaluation unconditionally.
1904 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
1906 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
1910 2009-11-04 Glenn Morris <rgm@gnu.org>
1912 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
1913 (byte-compile-compatibility): Remove option.
1914 (byte-compile-close-variables, byte-compile-fix-header)
1915 (byte-compile-insert-header, byte-compile-output-docform)
1916 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
1917 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
1918 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
1919 (byte-compile-insert, byte-compile-defun):
1920 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
1921 (byte-defop-compiler19): Remove.
1922 Without byte-compile-compatibility, the 'emacs19-opcode property is not
1923 used by anything. Replace all calls with byte-defop-compiler.
1925 2009-11-04 Juri Linkov <juri@jurta.org>
1927 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
1928 (menu-bar-options-menu): Don't quote the `prop' arg of
1929 `menu-bar-make-mm-toggle'.
1931 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
1933 * calendar/calendar.el (cal-loaddefs):
1934 * calendar/diary-lib.el (diary-loaddefs):
1935 * calendar/holidays.el (hol-loaddefs):
1936 * eshell/esh-module.el (esh-groups): Load rather than require.
1938 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1940 * calendar/todo-mode.el (todo-add-category): Don't hardcode
1942 (todo-top-priorities): Only display-buffer when called interactively.
1943 (todo-item-start): Don't save excursion point.
1944 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
1945 (todo-insert-item-here, todo-file-item, todo-remove-item):
1946 Adjust uses of todo-item-start and todo-item-end.
1948 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
1949 (autoload-rubric): Don't use any more.
1950 * cedet/semantic/fw.el (semantic/loaddefs):
1951 * cedet/srecode.el (srecode/loaddefs):
1952 * cedet/ede.el (ede/loaddefs): Load rather than require.
1953 * cedet/ede/cpp-root.el:
1954 * cedet/ede/emacs.el:
1955 * cedet/ede/files.el:
1956 * cedet/ede/linux.el:
1957 * cedet/ede/locate.el:
1958 * cedet/ede/make.el:
1959 * cedet/ede/shell.el:
1960 * cedet/ede/speedbar.el:
1961 * cedet/ede/system.el:
1962 * cedet/ede/util.el:
1963 * cedet/semantic/analyze.el:
1964 * cedet/semantic/bovine.el:
1965 * cedet/semantic/complete.el:
1966 * cedet/semantic/ctxt.el:
1967 * cedet/semantic/db-file.el:
1968 * cedet/semantic/db-find.el:
1969 * cedet/semantic/db-global.el:
1970 * cedet/semantic/db-mode.el:
1971 * cedet/semantic/db-typecache.el:
1972 * cedet/semantic/db.el:
1973 * cedet/semantic/debug.el:
1974 * cedet/semantic/dep.el:
1975 * cedet/semantic/doc.el:
1976 * cedet/semantic/edit.el:
1977 * cedet/semantic/find.el:
1978 * cedet/semantic/format.el:
1979 * cedet/semantic/html.el:
1980 * cedet/semantic/ia-sb.el:
1981 * cedet/semantic/ia.el:
1982 * cedet/semantic/idle.el:
1983 * cedet/semantic/lex-spp.el:
1984 * cedet/semantic/lex.el:
1985 * cedet/semantic/mru-bookmark.el:
1986 * cedet/semantic/scope.el:
1987 * cedet/semantic/senator.el:
1988 * cedet/semantic/sort.el:
1989 * cedet/semantic/symref.el:
1990 * cedet/semantic/tag-file.el:
1991 * cedet/semantic/tag-ls.el:
1992 * cedet/semantic/tag-write.el:
1993 * cedet/semantic/tag.el:
1994 * cedet/semantic/util-modes.el:
1995 * cedet/semantic/analyze/complete.el:
1996 * cedet/semantic/analyze/refs.el:
1997 * cedet/semantic/bovine/c.el:
1998 * cedet/semantic/bovine/gcc.el:
1999 * cedet/semantic/bovine/make.el:
2000 * cedet/semantic/bovine/scm.el:
2001 * cedet/semantic/decorate/include.el:
2002 * cedet/semantic/decorate/mode.el:
2003 * cedet/semantic/symref/cscope.el:
2004 * cedet/semantic/symref/global.el:
2005 * cedet/semantic/symref/grep.el:
2006 * cedet/semantic/symref/idutils.el:
2007 * cedet/semantic/symref/list.el:
2008 * cedet/semantic/wisent/java-tags.el:
2009 * cedet/semantic/wisent/javascript.el:
2010 * cedet/srecode/compile.el:
2011 * cedet/srecode/cpp.el:
2012 * cedet/srecode/document.el:
2013 * cedet/srecode/el.el:
2014 * cedet/srecode/expandproto.el:
2015 * cedet/srecode/getset.el:
2016 * cedet/srecode/insert.el:
2017 * cedet/srecode/java.el:
2018 * cedet/srecode/map.el:
2019 * cedet/srecode/mode.el:
2020 * cedet/srecode/template.el:
2021 * cedet/srecode/texi.el: Remove the file-local setting of
2022 generated-autoload-feature.
2024 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
2025 and only put a prop if it is non-nil.
2027 2009-11-03 Juri Linkov <juri@jurta.org>
2029 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
2030 (menu-bar-options-menu): Fix list quoting (Bug#4429).
2032 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
2033 and "Menu" to make top-level menu item visually one unit (like
2034 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
2035 multi-word menu items). Fix :help string for quit-window.
2037 2009-11-03 Glenn Morris <rgm@gnu.org>
2039 * cedet/mode-local.el (with-mode-local): Doc fix.
2041 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2042 (byte-compile-file-form-define-abbrev-table)
2043 (byte-compile-file-form-custom-declare-variable)
2044 (byte-compile-variable-ref, byte-compile-defvar):
2045 Whether or not a warning is enabled should only affect whether we issue
2046 the warning, not whether or not we collect the relevant data.
2047 Eg warnings can be turned on and off throughout the course of a file.
2049 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
2050 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
2052 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
2055 * play/mpuz.el (mpuz-create-buffer):
2056 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
2057 (lm-print-y,s,noise, lm-print-w0, lm-init):
2058 * play/gomoku.el (gomoku-prompt-for-move):
2059 * play/fortune.el (fortune-in-buffer):
2060 * play/dissociate.el (dissociated-press):
2061 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
2062 (decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
2063 * mail/supercite.el (sc-eref-show):
2064 * mail/smtpmail.el (smtpmail-send-it):
2065 * mail/rmailsum.el (rmail-summary-next-labeled-message)
2066 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
2067 (rmail-summary-undelete-many, rmail-summary-rmail-update)
2068 (rmail-summary-goto-msg, rmail-summary-expunge)
2069 (rmail-summary-get-new-mail, rmail-summary-search-backward)
2070 (rmail-summary-add-label, rmail-summary-output-menu)
2071 (rmail-summary-output-body):
2072 * mail/rfc822.el (rfc822-addresses):
2073 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
2074 * mail/mailpost.el (post-mail-send-it):
2075 * mail/hashcash.el (hashcash-generate-payment):
2076 * mail/feedmail.el (feedmail-run-the-queue)
2077 (feedmail-queue-send-edit-prompt-help-first)
2078 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
2079 (feedmail-deduce-address-list):
2080 * eshell/esh-ext.el (eshell-remote-command):
2081 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
2082 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
2083 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
2084 (viper-save-string-in-file, viper-valid-marker):
2085 * emulation/viper-keym.el (viper-toggle-key):
2086 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
2087 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
2088 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
2089 * emulation/viper-cmd.el (viper-exec-form-in-vi)
2090 (viper-exec-form-in-emacs, viper-brac-function):
2091 * emulation/viper.el (viper-delocalize-var):
2092 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
2093 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
2094 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
2095 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
2096 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
2097 * emulation/edt.el (edt-electric-helpify):
2098 * emulation/cua-rect.el (cua--rectangle-aux-replace):
2099 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
2100 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
2101 (cua-indent-to-global-mark-column):
2102 * calendar/diary-lib.el (calendar-mark-1):
2103 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
2104 Use with-current-buffer.
2105 * emulation/viper.el (viper-delocalize-var): Use dolist.
2107 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
2109 * comint.el (comint-replace-by-expanded-history-before-point):
2110 Replace !! with the previous input string literally (Bug#1795).
2112 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
2114 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
2115 to be made up of whitespace.
2117 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
2119 * minibuffer.el (read-file-name): Don't use file dialogs for
2120 remote directories (Bug#99).
2122 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
2124 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
2126 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
2128 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
2129 instead of deleting the window or frame.
2131 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2133 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
2134 Support face colors.
2136 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
2137 New function. Support face colors (Bug#1168).
2138 (tex-common-initialization): Use it.
2140 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
2141 mode allows it (Bug#1168).
2143 2009-10-31 Juri Linkov <juri@jurta.org>
2145 * facemenu.el (list-colors-display): Don't mark buffer as
2146 modified (Bug#3948).
2148 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2150 * international/mule-diag.el (list-character-sets-1): Minor
2151 message fix (Bug#3526).
2153 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
2154 face property (Bug#4834).
2155 (etags-list-tags, etags-tags-apropos-additional)
2156 (etags-tags-apropos, tags-select-tags-table): Add follow-link
2159 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
2162 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2165 * cedet/ede.el (ede-minor-mode):
2166 * cedet/semantic.el (semantic-mode): Toggle menu separators.
2168 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2170 * textmodes/two-column.el (2C-split):
2171 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
2172 * textmodes/tex-mode.el (tex-set-buffer-directory):
2173 * textmodes/spell.el (spell-region, spell-string):
2174 * textmodes/reftex.el (reftex-erase-buffer):
2175 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
2176 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2177 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
2178 (reftex-select-item):
2179 * textmodes/reftex-ref.el (reftex-label-info-update)
2180 (reftex-offer-label-menu):
2181 * textmodes/reftex-index.el (reftex-index-change-entry)
2182 (reftex-index-phrases-info):
2183 * textmodes/reftex-global.el (reftex-create-tags-file)
2184 (reftex-save-all-document-buffers, reftex-ensure-write-access):
2185 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
2186 (reftex-view-crossref-from-bibtex):
2187 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
2188 (reftex-extract-bib-entries-from-thebibliography)
2189 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
2190 * textmodes/refbib.el (r2b-capitalize-title):
2191 (r2b-convert-buffer, r2b-help):
2192 * textmodes/page-ext.el (pages-directory)
2193 (pages-directory-goto-with-mouse):
2194 * textmodes/bibtex.el (bibtex-validate-globally):
2195 * textmodes/bib-mode.el (bib-capitalize-title):
2196 * textmodes/artist.el (artist-clear-buffer, artist-system):
2197 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
2198 (local-set-scheme-interaction-buffer, xscheme-process-filter)
2199 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
2200 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
2201 (xscheme-send-control-g-interrupt, xscheme-start-process)
2202 (xscheme-process-sentinel, xscheme-cd):
2203 * progmodes/verilog-mode.el (verilog-read-always-signals)
2204 (verilog-set-define, verilog-getopt-file)
2205 (verilog-module-inside-filename-p):
2206 * progmodes/sh-script.el:
2207 * progmodes/python.el (python-pdbtrack-get-source-buffer)
2208 (python-pdbtrack-grub-for-buffer, python-execute-file):
2209 * progmodes/octave-inf.el (inferior-octave):
2210 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
2211 (idlwave-shell-compile-helper-routines, idlwave-set-local)
2212 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
2213 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
2214 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
2215 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
2216 (idlwave-shell-filter, idlwave-shell-examine-highlight)
2217 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
2218 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
2219 (idlwave-shell-examine-display, idlwave-shell-run-region)
2220 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
2221 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
2222 * progmodes/idlw-help.el (idlwave-help-get-special-help)
2223 (idlwave-help-get-help-buffer):
2224 * progmodes/gud.el (gud-basic-call, gud-find-class)
2225 (gud-tooltip-activate-mouse-motions-if-enabled):
2226 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2227 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
2228 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
2229 (ebrowse-tags-next-file):
2230 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
2231 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
2232 (ebnf-eps-finish-and-write):
2233 * progmodes/cpp.el (cpp-edit-save):
2234 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
2235 * progmodes/cc-defs.el (c-emacs-features):
2236 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
2237 (antlr-directory-dependencies):
2238 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
2239 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
2240 (ada-find-any-references, ada-make-filename-from-adaname)
2241 (ada-make-body-gnatstub):
2242 * obsolete/rnews.el (news-list-news-groups):
2243 * obsolete/resume.el (resume-suspend-hook,resume-write-buffer-to-file):
2244 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
2245 * net/rcirc.el (rcirc-debug):
2246 * net/newst-treeview.el (newsticker--treeview-list-add-item)
2247 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
2248 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
2249 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
2250 (newsticker--treeview-tree-update-tag,newsticker--treeview-buffer-init)
2251 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
2252 (newsticker--treeview-list-clear-highlight)
2253 (newsticker--treeview-list-update-highlight)
2254 (newsticker--treeview-list-highlight-start)
2255 (newsticker--treeview-tree-update-highlight)
2256 (newsticker--treeview-get-selected-item)
2257 (newsticker-treeview-mark-list-items-old)
2258 (newsticker--treeview-set-current-node):
2259 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2260 * net/newst-backend.el (newsticker--get-news-by-funcall)
2261 (newsticker--get-news-by-wget, newsticker--image-get)
2262 (newsticker--image-sentinel):
2263 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
2264 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
2265 (eudc-ph-close-session):
2266 * net/eudc.el (eudc-save-options):
2267 * language/thai-word.el (thai-update-word-table):
2268 * language/japan-util.el (japanese-string-conversion):
2269 * international/titdic-cnv.el (tsang-quick-converter)
2270 (ziranma-converter, ctlau-converter):
2271 * international/mule-cmds.el (describe-language-environment):
2272 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
2273 (skkdic-convert-postfix, skkdic-convert-prefix):
2274 (skkdic-convert-okuri-nasi, skkdic-convert):
2275 * emacs-lisp/re-builder.el (reb-update-overlays):
2276 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
2277 * emacs-lisp/gulp.el (gulp-send-requests):
2278 * emacs-lisp/find-gc.el (trace-call-tree):
2279 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
2280 (eieio-describe-generic):
2281 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2282 * emacs-lisp/edebug.el (edebug-outside-excursion):
2283 * emacs-lisp/debug.el (debugger-make-xrefs):
2284 * emacs-lisp/cust-print.el (custom-prin1-to-string):
2285 * emacs-lisp/chart.el (chart-new-buffer):
2286 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
2287 Use with-current-buffer.
2288 * textmodes/artist.el (artist-system): Don't call
2289 copy-sequence on a fresh string.
2290 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
2292 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
2294 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
2295 is no item to edit. (Bug#4820)
2296 (todo-top-priorities): Restore point and restore narrowing in Todo
2299 2009-10-31 Glenn Morris <rgm@gnu.org>
2301 * net/ange-ftp.el (top-level): Don't require dired when compiling.
2302 (comint-last-output-start, comint-last-input-start)
2303 (comint-last-input-end): Don't defvar when compiling.
2304 (ange-ftp-process-file): Use bound-and-true-p.
2306 * pcmpl-rpm.el (top-level): Move provide statement to end.
2307 (pcmpl-rpm): Remove unused custom group.
2309 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
2311 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
2313 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
2314 (byte-compile-warnings): Add `constants' as an option.
2315 (byte-compile-callargs-warn, byte-compile-arglist-warn)
2316 (display-call-tree): Update for byte-compile-fdefinition possibly
2317 returning `(macro lambda ...)'. (Bug#4778)
2318 (byte-compile-variable-ref, byte-compile-setq-default):
2319 Respect `constants' member of byte-compile-warnings.
2321 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
2322 Use mapc rather than mapcar because the return value is never used.
2324 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
2325 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
2326 * cedet/semantic/html.el:
2327 Suppress harmless warnings about setting up semantic-imenu (not
2328 part of Emacs) variables.
2330 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2332 * vc-bzr.el (vc-bzr-revision-keywords): New var.
2333 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
2336 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
2337 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2338 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
2339 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
2340 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
2341 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2342 (semantic-analyzer-debug-global-symbol)
2343 (semantic-analyzer-debug-missing-innertype)
2344 (semantic-analyzer-debug-insert-include-summary):
2345 * cedet/semantic/util.el (semantic-file-tag-table):
2346 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2347 (semantic-recursive-find-nonterminal-by-name):
2348 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2349 * cedet/semantic/tag-file.el (semantic-prototype-file):
2350 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
2351 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
2352 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2353 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
2354 (semantic-idle-summary-maybe-highlight):
2355 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
2356 (semantic-ia-sb-tag-info):
2357 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
2358 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
2359 * cedet/semantic/ede-grammar.el (project-compile-target):
2360 (ede-proj-makefile-insert-variables):
2361 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
2362 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2363 (semantic-debug-mode, semantic-debug):
2364 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
2365 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2366 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
2367 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
2368 (semanticdb-find-translate-path-includes--internal)
2369 (semanticdb-reset-log, semanticdb-find-log-activity):
2370 * cedet/semantic/db-file.el (object-write):
2371 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
2372 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2373 (semanticdb-create-ebrowse-database):
2374 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
2375 * cedet/semantic/complete.el (semantic-displayor-focus-request)
2376 (semantic-collector-calculate-completions-raw)
2377 (semantic-complete-read-tag-analyzer):
2378 * cedet/semantic/analyze.el (semantic-analyze-pulse):
2379 * cedet/ede/util.el (ede-update-version-in-source):
2380 * cedet/ede/proj.el (project-delete-target):
2381 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
2382 (ede-proj-flush-autoconf):
2383 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
2384 (ede-proj-configure-synchronize):
2385 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
2386 * cedet/ede/linux.el (ede-linux-version):
2387 * cedet/ede/emacs.el (ede-emacs-version):
2388 * cedet/ede/dired.el (ede-dired-add-to-target):
2389 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
2390 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2391 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2392 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
2393 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2394 (cedet-idutils-version-check):
2395 * cedet/cedet-global.el (cedet-gnu-global-call):
2396 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2397 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2398 * cedet/cedet-cscope.el (cedet-cscope-call)
2399 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2400 Use with-current-buffer.
2401 * cedet/ede.el (ede-make-project-local-variable)
2402 (ede-set-project-variables, ede-set): Use dolist.
2404 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
2406 * textmodes/ispell.el (ispell-skip-region-alist):
2407 * international/mule-conf.el (eight-bit):
2408 * international/fontset.el (font-encoding-alist):
2409 * startup.el (pure-space-overflow-message):
2410 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
2411 * paths.el (gnus-nntp-service, rmail-spool-directory)
2413 * files.el (save-some-buffers-action-alist):
2414 * cmuscheme.el (same-window-buffer-names):
2415 * ielm.el (same-window-buffer-names):
2416 * shell.el (same-window-buffer-names):
2417 * mail/sendmail.el (same-window-buffer-names):
2418 * progmodes/inf-lisp.el (same-window-buffer-names):
2419 * bindings.el (mode-line-client)
2420 (mode-line-column-line-number-mode-map):
2421 * language/tibetan.el (tibetan-precomposition-rule-regexp)
2422 (tibetan-precomposed-regexp): Purecopy string arguments.
2424 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2426 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
2427 (calcDigit-nondigit):
2428 * calc/calc-yank.el (calc-copy-to-buffer):
2429 * calc/calc-units.el (calc-invalidate-units-table):
2430 * calc/calc-trail.el (calc-trail-yank):
2431 * calc/calc-store.el (calc-insert-variables):
2432 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
2433 * calc/calc-prog.el (calc-read-parse-table):
2434 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
2435 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
2436 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
2437 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
2438 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
2439 (calc-graph-name, calc-graph-find-command, calc-graph-view)
2440 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
2441 * calc/calc-ext.el (calc-realign):
2442 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
2443 (calc-embedded-finish-edit, calc-embedded-make-info)
2444 (calc-embedded-finish-command, calc-embedded-stack-change):
2445 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
2447 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
2448 (overload-docstring-extension): Use that info.
2449 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2450 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
2451 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
2452 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2453 (semantic-nonterminal-full-name): Add the new `when' info.
2454 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
2457 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
2458 shell-dynamic-complete-filename in preference to
2459 comint-dynamic-complete-filename.
2461 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
2462 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2463 Don't consider whether the display supports colors.
2464 (bookmark-import-new-list): Use dolist.
2465 (bookmark-bmenu-mode-map): Move initialization into declaration.
2466 (bookmark-bmenu-list): Use dolist, simplify.
2467 (bookmark-show-all-annotations): Use save-selected-window and dolist.
2468 (menu-bar-final-items): Use push.
2470 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
2472 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
2473 it works on remote files.
2474 (vc-hg-diff): Don't pass any `--cwd' argument.
2476 2009-10-27 Kevin Ryde <user42@zip.com.au>
2478 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
2479 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
2480 (Further to Bug#3921).
2482 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
2484 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
2485 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
2486 calling `tramp-imap-put-file'. Add file size to the call.
2487 (tramp-imap-get-file-entries): Compute also user name, file size,
2489 (tramp-imap-handle-insert-directory): Insert uid and gid.
2490 (tramp-imap-handle-file-attributes): Transform uid and gid
2491 according to `id-format'.
2492 (tramp-imap-put-file): New optional parameter SIZE. Encode file
2493 size in header X-Size.
2495 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
2497 * simple.el (transpose-subr): Give clearer error when the mark
2498 is not set. (Bug#4807)
2500 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
2502 * net/tramp.el (tramp-perl-file-truename): New defconst.
2503 Perl code contributed by yary <not.com@gmail.com> (tiny change).
2504 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
2505 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
2506 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
2508 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2509 Ignore `dired-call-process'.
2510 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
2512 2009-10-26 Julian Scheid <julians37@gmail.com>
2514 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
2515 (tramp-get-remote-readlink): New defun.
2516 (tramp-handle-file-truename): Use it.
2517 (tramp-handle-file-exists-p): Check file-attributes cache, assume
2518 file exists if cache value present.
2519 (tramp-check-cached-permissions) New defun.
2520 (tramp-handle-file-readable-p): Use it.
2521 (tramp-handle-file-writable-p): Likewise.
2522 (tramp-handle-file-executable-p): Likewise.
2523 (tramp-handle-file-name-all-completions): Try using Perl to get
2524 partial completions. When perl not available, combine `cd' and
2525 `ls' into single remote operation and use shell expansion to get
2526 partial remote directory contents. Set `file-exists-p' cache for
2527 directory and any files returned by ls. Change cache handling to
2528 support partial directory contents. Use error message emitted by
2529 remote `cd' or Perl code for local tramp-error.
2530 (tramp-do-copy-or-rename-file-directly): Avoid separate
2531 tramp-send-command-and-check call.
2532 (tramp-handle-process-file): Merge three remote ops into one.
2533 Do not flush all caches when `process-file-side-effects' is set.
2534 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
2535 file-attributes shows uid/gid to be set already.
2537 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
2539 * textmodes/tex-mode.el (tex-dvi-view-command)
2540 (tex-show-queue-command, tex-open-quote):
2541 * progmodes/ruby-mode.el (auto-mode-alist)
2542 (interpreter-mode-alist): Purecopy strings.
2544 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
2546 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
2547 string for the hook, keymap and abbrev table.
2549 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
2551 * x-dnd.el (x-dnd-xdnd-to-action):
2552 * startup.el (fancy-startup-text, fancy-about-text): Change to
2553 defconst from defvar.
2555 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
2557 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
2558 Purecopy initialization strings.
2560 * mail/sendmail.el (mail-header-separator)
2561 (mail-personal-alias-file):
2562 * mail/rmail.el (rmail-default-dont-reply-to-names)
2563 (rmail-ignored-headers, rmail-retry-ignored-headers)
2564 (rmail-highlighted-headers, rmail-secondary-file-directory)
2565 (rmail-secondary-file-regexp):
2566 * files.el (null-device, file-name-invalid-regexp)
2567 (locate-dominating-stop-dir-regexp)
2568 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
2569 (interpreter-mode-alist): Use mapcar instead of mapc.
2571 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
2573 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
2574 (completion-ignored-extensions):
2575 (debug-ignored-errors): Purecopy strings.
2577 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2579 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
2580 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
2581 (pcomplete--here): Use push.
2583 * subr.el (all-completions): Declare the 4th arg obsolete.
2585 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * pcomplete.el (pcomplete-unquote-argument-function): New var.
2588 (pcomplete-unquote-argument): New function.
2589 (pcomplete--common-suffix): Always pay attention to case.
2590 (pcomplete--table-subvert): Quote and unquote the text.
2591 (pcomplete--common-quoted-suffix): New function.
2592 (pcomplete-std-complete): Use it and pcomplete-begin.
2594 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
2595 we're inside a dedicated or minibuffer window.
2597 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2599 * cedet/semantic/fw.el (semantic-alias-obsolete)
2600 (semantic-varalias-obsolete): Make the `when' arg mandatory.
2601 (define-mode-overload-implementation):
2602 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
2603 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
2604 * cedet/semantic/util.el (semantic-file-token-stream)
2605 (semantic-something-to-stream):
2606 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
2607 (semantic-expand-nonterminal):
2608 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
2609 (semantic-find-dependency, semantic-find-nonterminal)
2610 (semantic-find-dependency):
2611 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
2612 (semantic-flex-text, semantic-flex-make-keyword-table)
2613 (semantic-flex-keyword-p, semantic-flex-keyword-put)
2614 (semantic-flex-keyword-get, semantic-flex-map-keywords)
2615 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
2616 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
2617 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
2618 (semantic-after-idle-scheduler-reparse-hooks):
2619 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
2620 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
2621 * cedet/semantic.el (semantic-toplevel-bovine-table)
2622 (semantic-toplevel-bovine-cache)
2623 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
2624 (semantic-init-mode-hooks, semantic-init-db-hooks)
2625 (semantic-bovination-working-type): Provide the `when' arg.
2627 2009-10-24 Karl Fogel <kfogel@red-bean.com>
2629 * bookmark.el: Update documentation, especially documentation
2630 of `bookmark-alist' and of the bookmark file format.
2631 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
2633 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2635 * mail/emacsbug.el (report-emacs-bug): Clarify that the
2636 keybindings apply to the mail buffer (Bug#4003). Shrink help
2639 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2640 (global-whitespace-mode, global-whitespace-newline-mode)
2641 (whitespace-toggle-options, global-whitespace-toggle-options):
2644 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
2645 of xmltok-start before the end tag was inserted (Bug#2840).
2647 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
2648 patterns that are preceded by an open-paren (Bug#1320).
2650 2009-10-24 Sven Joachim <svenjoac@gmx.de>
2652 * files.el (delete-directory): Delete symlinks to directories with
2653 delete-file (Bug#4739).
2655 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2657 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
2658 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
2659 argument to make-obsolete.
2661 * cedet/semantic/fw.el (semantic-alias-obsolete)
2662 (semantic-varalias-obsolete): Add optional WHEN argument.
2664 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
2666 * vc.el (vc-backend-for-registration): Rename from
2667 vc-get-backend-for-registration. Update callers.
2669 * international/mule-cmds.el (set-language-info-alist):
2671 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
2672 (charset): Purecopy the name.
2673 (define-char-code-property): Purecopy string arguments.
2675 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
2676 Purecopy string arguments.
2678 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2679 * ediff-hook.el (menu-bar-ediff-menu):
2680 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
2681 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
2683 2009-10-24 Glenn Morris <rgm@gnu.org>
2685 * comint.el (comint-dynamic-list-completions):
2686 * term.el (term-dynamic-list-completions): Use choose-completion rather
2687 than obsolete alias mouse-choose-completion.
2689 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
2690 file-cache-choose-completion.
2691 (file-cache-choose-completion): Handle an optional event argument.
2692 (file-cache-mouse-choose-completion): Make it an obsolete alias.
2694 * progmodes/octave-mod.el (octave-complete-symbol):
2695 Use choose-completion if mouse-choose-completion is ever removed.
2697 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
2700 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
2703 * vc-hooks.el (vc-responsible-backend): Fix declaration.
2705 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2707 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
2708 Ignore `pred' now that we receive one.
2709 Handle test-completion specially.
2711 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
2713 * vc.el (vc-responsible-backend): Throw an error if not backend is
2714 found. Remove the REGISTER argument. Move the code dealing with
2716 (vc-get-backend-for-registration): ... here. New function.
2717 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
2718 of vc-responsible-backend, pass the file name instead of the
2721 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2723 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
2725 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
2726 (pcomplete-comint-setup): Don't modify a global var via
2727 accidental side-effects.
2728 (pcomplete-shell-setup): Adjust call accordingly.
2729 (pcomplete-parse-comint-arguments): Use push.
2731 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
2733 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
2734 Allow uncapitalized info node names (Bug#3921).
2736 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
2737 to the DEBUG file (Bug#3781).
2739 2009-10-23 Jari Aalto <jari.aalto@cante.net>
2741 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
2742 dictionary entry (Bug#4579).
2744 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
2746 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
2747 from `rfn-eshadow-update-overlay-hook' when unloading.
2748 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
2749 "rsyncc". Adjust doc string.
2750 (tramp-temp-buffer-file-name) New buffer-local defvar.
2751 (tramp-handle-insert-file-contents, tramp-handle-write-region):
2752 Keep temporary file when indicated by method ("rsync" and
2754 (tramp-handle-write-region): Handle APPEND.
2755 (tramp-delete-temp-file-function): New defun. Added to
2758 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
2760 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
2762 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
2764 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
2765 (color-name-rgb-alist, tty-standard-colors)
2766 (tty-color-mode-alist): Change to defconst.
2768 * simple.el (mark-inactive): Purecopy message.
2770 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
2771 (global-map, yank-menu):
2772 * textmodes/ispell.el (ispell-menu-map):
2773 * net/eudc.el (eudc-tools-menu):
2774 * international/mule-cmds.el (describe-language-environment-map)
2775 (setup-language-environment-map, set-coding-system-map)
2777 * vc-hooks.el (vc-menu-entry, vc-menu-map):
2778 * replace.el (occur-mode-map):
2779 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
2781 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
2783 * calc/calc.el (math-read-number, math-read-number-simple): Use
2786 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2788 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
2789 rather than fiddling with global-map bindings, since it should only
2790 affect per-terminal settings.
2791 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
2793 * minibuffer.el (completion-table-with-terminator): Allow to specify
2794 the terminator-regexp.
2796 * simple.el (switch-to-completions): Look for *Completions* in other
2799 * pcomplete.el: Allow the use of completion-tables.
2800 (pcomplete-std-complete): New command.
2801 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
2802 (pcomplete--here): Use a function for `form' rather than an expression,
2803 so it can be byte-compiled.
2804 (pcomplete-here, pcomplete-here*): Adjust accordingly.
2805 Add edebug declaration.
2806 (pcomplete-show-completions): Remove unused var `curbuf'.
2807 (pcomplete-do-complete, pcomplete-stub):
2808 Don't assume `completions' is a list of strings any more.
2810 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
2812 * find-dired.el (find-name-arg): Fix typo in docstring.
2814 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
2817 (pcmpl-linux-fs-types): Same, and update to new modules layout.
2819 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
2822 * comint.el (comint-read-input-ring, comint-write-input-ring)
2823 (comint-substitute-in-file-name)
2824 (comint-dynamic-complete-as-filename)
2825 (comint-dynamic-simple-complete)
2826 (comint-dynamic-list-filename-completions)
2827 (comint-dynamic-list-completions)
2828 (comint-redirect-results-list-from-process): Minor simplifications.
2830 2009-10-21 Kevin Ryde <user42@zip.com.au>
2832 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
2833 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
2834 the first form. And insert a blank line after ";;; Code" since
2835 that's usual style. (My Bug#4612.)
2837 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
2839 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2841 * minibuffer.el (completion-table-with-terminator): Properly implement
2842 boundaries, in case `terminator' appears in the suffix.
2843 (completion--embedded-envvar-table): Don't return boundaries if
2844 there's no valid completion. Simplify.
2845 (completion-file-name-table): New completion table extracted from
2846 completion--file-name-table.
2847 (completion--file-name-table): Use it.
2848 (read-file-name-predicate): Declare obsolete.
2849 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
2850 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
2851 completion-file-name-table, and use the `pred' argument.
2852 * files.el (locate-file-completion-table): Use the `pred' arg rather
2853 than read-file-name-predicate.
2854 (abbreviate-file-name): Use \` rather than ^ for BOS.
2856 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
2858 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
2859 vc-responsible-backend to register, it causes problems.
2861 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2863 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
2865 2009-10-21 Eric Ludlam <zappo@gnu.org>
2867 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
2868 (semantic-c-debug-mode-init-pch): New functions.
2869 (semantic-c-debug-mode-init-last-mode): New var.
2870 (semantic-c-parse-lexical-token): Use them.
2872 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
2873 When extracting the argument list, limit only by point-max.
2875 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
2877 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
2878 (tramp-smb-handle-file-attributes): Use it.
2879 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
2880 (tramp-smb-handle-insert-directory): Use `mapc' rather than
2881 `mapcar'. Use `tramp-smb-get-stat-capability'.
2882 Add `dired-filename' text properties.
2883 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
2884 (tramp-smb-maybe-open-connection): Simplify check for smbclient
2887 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
2889 * subr.el (read-key-delay): Reduce to 0.01.
2890 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
2893 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2895 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
2897 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
2898 (Info-menu): Remove unused vars `last' and `completions'.
2899 (Info-index-nodes): Remove unused var `node'.
2901 * info.el (Info-complete-menu-item): Use complete-with-action.
2903 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
2905 Make vc-annotate work through copies and renames.
2906 * vc-annotate.el (vc-annotate-extract-revision-at-line):
2907 Return the file name too.
2908 (vc-annotate-revision-at-line)
2909 (vc-annotate-find-revision-at-line)
2910 (vc-annotate-revision-previous-to-line)
2911 (vc-annotate-show-log-revision-at-line): Update to get the file
2912 name from vc-annotate-extract-revision-at-line.
2913 (vc-annotate-show-diff-revision-at-line-internal): Change the
2914 argument to mean whether to show a file diff or not. Get the file
2915 name from vc-annotate-extract-revision-at-line.
2916 (vc-annotate-show-diff-revision-at-line):
2917 Update vc-annotate-show-diff-revision-at-line call.
2918 (vc-annotate-warp-revision): Add an optional file argument.
2920 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
2921 (vc-git-annotate-extract-revision-at-line): Also return the file
2924 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
2925 command. Remove unused code.
2926 (vc-hg-annotate-re): Update to match --follow output.
2927 (vc-hg-annotate-extract-revision-at-line): Also return the file
2930 * vc.el: Update annotate-extract-revision-at-line documentation.
2932 2009-10-18 Kevin Ryde <user42@zip.com.au>
2934 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
2935 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
2937 * net/browse-url.el (browse-url): Identify alist with "consp and
2938 not functionp" and let all other things go down the `apply' leg,
2939 as suggested by Stefan. (Further to bug#4531.)
2941 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
2943 * minibuffer.el (read-file-name): Check for repeat before putting
2944 a default argument in file-name-history (Bug#4657).
2946 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
2947 read syntax (Bug#4737).
2949 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
2951 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2953 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
2954 (html-tag-alist, html-tag-help): Add descriptions for undocumented
2955 entries and make note of obsolete tags.
2957 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2959 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
2961 2009-10-18 Glenn Morris <rgm@gnu.org>
2963 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
2964 grep, so that binary files (eg international/uni-bidi.el) can match.
2965 Remove test for "UnicodeData" files, since it is hopefully unnecessary
2966 now, and in any case the file header format has changed.
2968 2009-10-17 Glenn Morris <rgm@gnu.org>
2970 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
2971 (flyspell-get-word, flyspell-large-region)
2972 (flyspell-auto-correct-previous-word): Doc/error message fixes.
2974 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2976 * Makefile.in (ELCFILES): Add ede/shell.
2978 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
2980 * term/common-win.el (x-colors): Purecopy it.
2982 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2984 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
2985 permissive for when the buffer is empty.
2986 (tar-header-block-tokenize): Decode the username and groupname.
2987 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
2989 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2991 * cedet/srecode/srt.el:
2992 * cedet/srecode/compile.el:
2993 * cedet/semantic/mru-bookmark.el:
2994 * cedet/semantic/debug.el:
2995 * cedet/semantic/complete.el:
2996 * cedet/semantic/analyze.el: Require CL when compiling.
2998 2009-10-17 Eric Ludlam <zappo@gnu.org>
3000 * cedet/semantic/scope.el
3001 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
3002 tmpscope so that the regular scope will continue to work.
3004 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
3005 Use semantic-idle-summary-highlight-face as the highlighting.
3007 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
3008 contains multibyte characters, choose first applicable coding
3009 system automatically.
3011 * cedet/ede/project-am.el (project-run-target): New method.
3012 (project-run-target): New method.
3014 * cedet/ede.el (ede-target): Add run target menu item.
3015 (ede-project, ede-minor-keymap): Add ede-run-target binding.
3016 (ede-run-target): New function.
3017 (ede-target::project-run-target): New method.
3019 * cedet/ede/proj.el (project-run-target): New method.
3021 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
3022 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
3024 (ede-proj-target-makefile-shared-object): Only libtool compilers
3025 now available. Add linkers for libtool.
3026 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
3027 (ede-proj-makefile-target-name): Always use .la extension.
3029 * cedet/ede/proj-prog.el (project-run-target): New method.
3031 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
3032 (ede-g++-linker): Change Change link lines.
3034 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
3035 When searching for old variables, go to the end of the buffer and
3036 search backward from there.
3037 (ede-proj-makefile-automake-insert-subdirs)
3038 (ede-proj-makefile-automake-insert-extradist): New methods.
3039 (ede-proj-makefile-create): Use them.
3041 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
3042 Force FILE to expand to the current target. Use file-exists-p to
3043 check that it exists.
3045 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
3046 (ede-linux-load): Wrap dir in file-name-as-directory.
3049 * cedet/ede/files.el (ede-get-locator-object): When enabling
3050 locate, do so on "top".
3052 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
3053 file-name-as-directory during compare.
3054 (ede-emacs-version): Return Emacs/XEmacs differentiator.
3055 Get version number from different places. Don't call egrep.
3056 (ede-emacs-load): Set :version slot. Call file-name-as-directory
3057 to set the directory.
3059 * cedet/ede/shell.el: New file.
3061 * cedet/inversion.el (inversion-decoders): Allow for stray . in
3062 alpha/beta variants.
3064 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3066 * international/mule-cmds.el (select-safe-coding-system): If the file
3067 has a coding cookie, use it regardless of any other setting (bug#4712).
3069 2009-10-17 Glenn Morris <rgm@gnu.org>
3071 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
3072 All errors should have messages.
3074 * foldout.el (foldout-mouse-swallow-events):
3075 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
3077 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
3078 (dired-keep-marker-copy, dired-keep-marker-hardlink)
3079 (dired-keep-marker-symlink, dired-dwim-target)
3080 (dired-copy-preserve-time): Do not autoload these defcustoms.
3082 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
3083 messages from messing up the file coding. (Bug#4623)
3085 2009-10-17 Jari Aalto <jari.aalto@cante.net>
3087 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
3088 if no match is found for the current dictionary. (Bug#4578)
3090 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
3091 optional, since that is how it is documented, and this is often called
3092 with a nil argument. (Bug#4577)
3093 (flyspell-external-point-words, flyspell-auto-correct-word)
3094 (flyspell-correct-word-before-point, flyspell-word-search-forward)
3095 (flyspell-word-search-backward): Remove nil argument in calls to
3096 flyspell-get-word, since it is not needed now.
3098 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
3100 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
3102 2009-10-16 Glenn Morris <rgm@gnu.org>
3104 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
3106 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3108 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
3109 (ange-ftp-file-size): New function.
3110 (ange-ftp-file-attributes): Use it.
3112 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
3114 * net/tramp-smb.el (tramp-smb-version): New defvar.
3115 (tramp-smb-maybe-open-connection): Use it, in order to avoid
3118 2009-10-16 Glenn Morris <rgm@gnu.org>
3120 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3121 Maybe copy some custom properties from old to new name. (Bug#4706)
3123 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
3125 * subr.el (error, sit-for, start-process-shell-command)
3126 (start-file-process-shell-command): Set the calling convention
3127 after the function definition.
3129 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
3131 * subr.el (error, sit-for, start-process-shell-command)
3132 (start-file-process-shell-command): Use the new
3133 set-advertised-calling-convention feature.
3135 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
3137 * international/ucs-normalize.el (ucs-normalize-version):
3139 (check-range): Adjust for Unicode 5.2.
3141 2009-10-15 Juri Linkov <juri@jurta.org>
3143 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
3144 to the `menu-item' format.
3146 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
3148 * net/tramp.el (tramp-replace-environment-variables): Do not fail
3149 if the environment variable does not exist.
3151 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3152 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
3154 (tramp-smb-handle-add-name-to-file)
3155 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
3156 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
3157 (tramp-smb-handle-file-attributes)
3158 (tramp-smb-do-file-attributes-with-stat)
3159 (tramp-smb-handle-file-local-copy)
3160 (tramp-smb-handle-insert-directory)
3161 (tramp-smb-handle-make-directory)
3162 (tramp-smb-handle-make-directory-internal)
3163 (tramp-smb-handle-make-symbolic-link)
3164 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
3165 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
3166 (tramp-smb-maybe-open-connection): Apply the changed parameters.
3167 (tramp-smb-read-file-entry): Read Disk names in compressed format.
3168 Handle long file names.
3169 (tramp-smb-get-cifs-capabilities): Check, whether the connection
3171 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
3172 Read share names with "-g" option.
3174 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
3176 * net/rcirc.el (rcirc-view-log-file): New command.
3177 (rcirc-track-minor-mode-map): Remove C-c ` binding.
3178 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
3181 2009-10-15 Glenn Morris <rgm@gnu.org>
3183 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
3184 from the second command-line argument.
3185 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
3186 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
3187 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
3188 w32-batch-update-autoloads.
3189 * emacs-lisp/autoload.el (autoload-make-program): New variable.
3190 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
3192 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
3193 the headers cannot be located. Simplify, subtracting superflous
3196 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3198 Replace completion-base-size by completion-base-position to fix bugs
3200 * simple.el (completion-base-position): New var.
3201 (completion-base-size): Mark as obsolete.
3202 (choose-completion): Make it work for mouse events as well.
3203 Pass the new base-position to choose-completion-string.
3204 (choose-completion-guess-base-position): New function, extracted from
3205 choose-completion-delete-max-match.
3206 (choose-completion-delete-max-match): Use it. Make obsolete.
3207 (choose-completion-string): Use the new base-position info.
3208 (completion-root-regexp): Delete.
3209 (completion-setup-function): Preserve completion-base-position.
3210 Eliminate obsolete base-size manipulation.
3211 * minibuffer.el (display-completion-list): Don't mess with base-size.
3212 (minibuffer-completion-help): Set completion-base-position instead.
3213 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
3215 * textmodes/bibtex.el (bibtex-complete):
3216 * emacs-lisp/crm.el (crm--choose-completion-string):
3217 Adjust to new calling convention.
3218 * complete.el (partial-completion-mode): Use minibufferp to avoid
3219 bumping into incompatible change to choose-completion-string-functions.
3220 * ido.el (ido-choose-completion-string): Make its calling convention
3222 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
3223 base-size manipulation.
3224 (comint-dynamic-list-input-ring): Use dotimes and push.
3225 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
3226 fundamental-mode. Use `or'.
3228 2009-10-14 Juri Linkov <juri@jurta.org>
3230 * misearch.el (multi-isearch-next-buffer-from-list)
3231 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
3233 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3235 * Makefile.in (compile-onefile): Load `bytecomp' rather than
3238 * minibuffer.el (completion-pcm--merge-completions): Make sure the
3239 string we return is all made up of text from the completions rather
3240 than part from the completions and part from the input (bug#4219).
3242 * ido.el (ido-everywhere): Use define-minor-mode.
3244 * buff-menu.el (list-buffers, ctl-x-map):
3245 Mark the entry points with ;;;###autoload cookies.
3247 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
3249 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
3250 correctly in the detached head case.
3251 (vc-git-print-log): Remove unused binding.
3253 * vc.el (vc-responsible-backend): When a directory is passed for
3254 for registration create a VC repository if no backend is
3255 responsible for the directory argument.
3256 (vc-deduce-fileset): Tell vc-responsible-backend to register.
3258 * vc.el: Move comments about RCS and SCCS ...
3260 * vc-sccs.el: ... here, respectively.
3262 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3264 * minibuffer.el (completion--file-name-table): Return nil if there's
3265 no file completion, even if substitute-in-file-name changed
3266 the string (bug#4708).
3268 2009-10-13 Juri Linkov <juri@jurta.org>
3270 * files-x.el (read-file-local-variable-value): Don't filter out
3271 minor modes from mode name completion (bug#4664).
3273 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
3275 * international/mule-cmds.el (ucs-names): Remove exclusion of
3276 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
3278 2009-10-13 Kenichi Handa <handa@m17n.org>
3280 * international/uni-name.el: Regenerated.
3282 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
3284 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
3285 should be automatically buffer-local, but isn't.)
3287 2009-10-12 Sam Steingold <sds@gnu.org>
3289 * progmodes/compile.el (compilation-next-error-function): Fix the
3290 timestamps if the buffer has been visited before.
3291 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
3292 non-anchored patterns, like the perl one (bug#3928).
3294 2009-10-12 Glenn Morris <rgm@gnu.org>
3296 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
3299 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
3301 * proced.el (proced-unload-function): New function.
3303 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
3304 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
3307 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
3309 2009-10-11 Juri Linkov <juri@jurta.org>
3311 * files-x.el (read-file-local-variable-value):
3312 Provide default value only for bound variables (bug#4664).
3314 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
3316 * net/tramp.el (tramp-local-host-p): Function shall return nil for
3317 connection methods like smb.
3319 * net/tramp-cache.el (tramp-flush-connection-property): The hash
3322 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3323 (tramp-smb-file-name-handler-alist): Add handlers for
3324 `add-name-to-file', `make-symbolic-link'.
3325 (tramp-smb-handle-add-name-to-file)
3326 (tramp-smb-do-file-attributes-with-stat)
3327 (tramp-smb-handle-make-symbolic-link)
3328 (tramp-smb-get-cifs-capabilities): New defuns.
3329 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
3330 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
3331 (tramp-smb-handle-file-local-copy)
3332 (tramp-smb-handle-make-directory-internal)
3333 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
3334 The file name syntax depends on cifs capabilities.
3335 (tramp-smb-handle-file-attributes):
3336 Call `tramp-smb-do-file-attributes-with-stat' if possible.
3337 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
3338 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
3340 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
3342 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
3343 (eieio-defclass): Apply deftype handler and setf-method properties
3345 (eieio-add-new-slot): Avoid union function from cl library.
3346 (eieio--typep): New function.
3347 (eieio-perform-slot-validation): Use it.
3349 2009-10-10 Karl Fogel <kfogel@red-bean.com>
3351 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
3352 Update documentation to refer to the variables documented in r1.135.
3355 2009-10-10 Karl Fogel <kfogel@red-bean.com>
3357 * bookmark.el (Info-suffix-list): Remove this unused variable.
3358 (bookmark-current-point): Remove this obsolete variable.
3359 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
3360 Adjust for removal of bookmark-current-point.
3362 (bookmarks-already-loaded, bookmark-current-buffer)
3363 (bookmark-yank-point): Document. (Bug#4188)
3365 2009-10-10 Glenn Morris <rgm@gnu.org>
3367 * frame.el (frame-height): Doc fix.
3369 * calendar/calendar.el (calendar-split-width-threshold): New option.
3370 (calendar-basic-setup): Use calendar-split-width-threshold.
3372 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
3374 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
3375 Use .la for Automake.
3377 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
3379 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
3380 Use "autoreconf -i". Suggested by Andreas Schwab.
3382 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
3384 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
3385 Ideographic Supplement" range (U+1F200..U+1F2FF).
3387 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3389 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
3390 since the list will have been rebuilt anyway. (Bug#4349)
3392 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3394 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
3395 (bookmark-bmenu-execute-deletions): Don't save here, as
3396 bookmark-delete will now do so if necessary.
3397 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
3400 2009-10-09 Glenn Morris <rgm@gnu.org>
3402 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
3404 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3406 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
3407 (bookmark-jump-other-window): Just invoke bookmark-jump with new
3408 argument now, so the two function's behaviors will match. (Bug#3645)
3410 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
3412 * cedet/ede/proj.el (project-make-dist, project-compile-project):
3414 (ede-proj-dist-makefile): Use expand-file-name instead of concat
3415 to expand file names.
3417 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
3419 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
3420 (tramp-file-name-real-host, tramp-file-name-port):
3421 Apply `save-match-data'.
3423 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
3424 case both directories are remote.
3425 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
3426 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
3428 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
3430 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
3431 (ede-proj-target-makefile-objectcode): Use it.
3433 * cedet/ede/source.el (ede-want-any-source-files-p)
3434 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
3435 Return search result. This error was introduced while merging.
3437 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
3439 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
3441 2009-10-07 Glenn Morris <rgm@gnu.org>
3443 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
3446 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3448 * files-x.el (read-file-local-variable): Include some
3449 non-user-variables in the completion table (bug#4664).
3451 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
3453 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
3456 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3457 (tramp-smb-file-name-handler-alist): Add handler for
3458 `copy-directory', `expand-file-name', `set-file-modes'.
3459 (tramp-smb-handle-copy-directory)
3460 (tramp-smb-handle-expand-file-name)
3461 (tramp-smb-handle-set-file-modes): New defuns.
3462 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
3463 (tramp-smb-handle-file-attributes): Simplify check for retrieving
3465 (tramp-smb-handle-insert-directory): Don't flush the cache.
3466 (tramp-smb-maybe-open-connection): Check for samba client and
3469 2009-10-07 Eli Zaretskii <eliz@gnu.org>
3471 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
3472 to not error out of search for "^lisp=" fails.
3474 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
3476 * makefile.w32-in (WINS_UPDATES): New macro.
3477 (custom-deps, finder-data, autoloads): Use it.
3479 2009-10-07 Glenn Morris <rgm@gnu.org>
3481 * Makefile.in (autoloads): Revert previous change.
3482 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
3483 the list of preloaded files passed on the command-line, get
3484 it from src/Makefile.
3486 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
3487 show the original buffer rather than a random one.
3489 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
3491 * help.el (describe-no-warranty): Place point in a slightly better
3492 position in the GPLv3 text.
3494 2009-10-06 Sam Steingold <sds@gnu.org>
3496 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
3497 the comm attribute is present before calling regexp-quote.
3499 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
3501 * play/animate.el (animate-string): For good effect, make sure
3502 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
3504 * play/animate.el (animate-sequence, animate-birthday-present):
3505 * misc.el (butterfly): Don't set `indent-tabs-mode'.
3507 2009-10-06 Glenn Morris <rgm@gnu.org>
3509 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
3511 * emacs-lisp/autoload.el (autoload-excludes): New variable.
3512 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
3513 (batch-update-autoloads): Process a string value of autoload-excludes,
3514 set during the build process.
3515 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
3517 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
3518 inside with-parsed... macro so that `v' is defined.
3520 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
3521 * progmodes/fortran.el (fortran-end-of-block)
3522 (fortran-beginning-of-block):
3523 Also push mark in the macro case.
3525 * emerge.el (emerge-show-file-name):
3526 * calc/calc.el (calc-quit):
3527 * calc/calc-misc.el (calc-big-or-small):
3528 * calc/calc-graph.el (calc-graph-view):
3529 * calc/calc-ext.el (calc-reset):
3530 * calendar/calendar.el (calendar-basic-setup):
3531 Use window-full-height-p.
3533 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
3534 header we don't understand, don't insert another. (Bug#4624)
3535 If changing mime charset, insert the new one in the right place.
3537 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
3539 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
3540 (cal-tex-cursor-month): Correctly increment the end date for diary and
3541 holiday listing. (Bug#4626)
3543 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3545 * help-fns.el (describe-function-1): Don't burp if the function is not
3548 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
3550 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
3551 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
3552 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
3553 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
3555 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
3556 (eieio-default-superclass): Reflow docstrings.
3557 (this, class-option-assoc, defclass, eieio-class-un-autoload)
3558 (eieio-unbind-method-implementations, defmethod)
3559 (eieio-validate-slot-value, eieio-validate-class-slot-value)
3560 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
3561 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
3562 (eieio-slot-originating-class-p, eieio-slot-name-index)
3563 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
3564 (constructor, initialize-instance, no-next-method, object-print)
3565 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
3566 Fix typos in docstrings.
3567 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
3568 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
3569 (next-method-p): Doc fixes.
3570 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
3571 Fix typos in error messages.
3572 (eieio-defmethod): Fix typo in description of generic method.
3574 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
3575 (eieio-persistent-save-interactive, slot-missing):
3576 Fix typos in docstrings.
3577 (eieio-instance-inheritor-slot-boundp): Doc fix.
3579 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
3580 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
3582 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
3583 (eieio-custom-object-apply-reset):
3584 Fix typos in docstrings and error messages.
3586 * emacs-lisp/eieio-datadebug.el (data-debug-show):
3587 Fix typo in docstring.
3589 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
3590 (eieio-browse-tree): Doc fix.
3591 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
3592 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
3593 Fix typos in docstrings.
3595 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
3596 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
3597 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
3598 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
3601 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
3603 * vc-hg.el (log-view-vc-backend): Declare for compiler.
3604 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
3605 Set log-view-vc-backend so that diff can work.
3607 * log-view.el (log-view-diff): Use vc-diff-internal instead of
3609 (vc-diff-internal): Autoload this instead of vc-version-diff.
3611 2009-10-05 Eli Zaretskii <eliz@gnu.org>
3613 * simple.el (eval-expression): Doc fix.
3615 * progmodes/cwarn.el (cwarn-mode): Doc fix.
3617 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
3619 * files.el (directory-files-no-dot-files-regexp): New defconst.
3620 (delete-directory): Use it.
3621 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
3623 * net/tramp.el (tramp-verbose): Fix docstring.
3624 (tramp-methods): Add recursive option to `tramp-copy-args'.
3625 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
3626 "scp1_old", "scp2_old", "rsync", "rsyncc".
3627 (tramp-default-method): Check also for `auth-source-user-or-password'.
3628 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
3629 Add handler for `copy-directory'.
3630 (tramp-handle-copy-directory): New defun.
3631 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
3632 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
3633 Optimize sent command.
3635 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3637 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
3638 window if necessary.
3640 * calendar/calendar.el (calendar-basic-setup): Don't call
3641 switch-to-buffer in a dedicated window.
3643 2009-10-05 Karl Fogel <kfogel@red-bean.com>
3645 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
3646 don't do anything related to relocating, just return nil.
3647 (bookmark-error-no-filename): New error.
3648 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
3649 bookmark has no file. Don't even attempt to handle things that
3650 are not files; the whole point of custom handlers is to keep that
3651 knowledge elsewhere anyway. Tighten some comments.
3652 (bookmark-file-or-variation-thereof): Remove now-unused function.
3653 (bookmark-location): Doc string fix.
3656 2009-10-04 Karl Fogel <kfogel@red-bean.com>
3658 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
3659 don't use a file dialog, because they usually don't know how to read
3660 a directory target from the user. (Bug#4230)
3661 Also, make sure the prompt can display directories as well as files.
3663 2009-10-04 Karl Fogel <kfogel@red-bean.com>
3665 * bookmark.el (bookmark-set, bookmark-buffer-name):
3666 Improve doc strings. (Bug#1193)
3668 2009-10-04 Karl Fogel <kfogel@red-bean.com>
3670 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
3671 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
3672 (bookmark-get-annotation, bookmark-set-annotation)
3673 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
3674 (bookmark-set-position, bookmark-get-front-context-string)
3675 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
3676 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
3677 (bookmark-jump-other-window, bookmark-handle-bookmark)
3678 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
3679 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
3680 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
3681 Improve doc strings to say whether bookmark can be a string or
3682 a record or both, and make other consistency and clarity fixes.
3683 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
3684 (bookmark-default-annotation-text, bookmark-yank-word)
3685 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
3686 (bookmark-import-new-list, bookmark-maybe-rename)
3687 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
3688 (bookmark-bmenu-bookmark): Give these doc strings.
3689 (bookmark-bmenu-check-position): Give this a doc string, but also
3690 add a FIXME comment about how the function may be pointless.
3691 (bookmark-default-handler): Rework doc string and change a
3692 parameter name, to clarify that this takes a bookmark record
3693 not a bookmark name.
3694 (bookmark-set): Change a parameter name to indicate its meaning,
3695 and improve the doc string a bit.
3698 2009-10-04 Karl Fogel <kfogel@red-bean.com>
3700 * bookmark.el (bookmark-alist): Document the new `handler' element
3702 (bookmark-make-record-function): Adjust documentation for above.
3705 2009-10-04 Karl Fogel <kfogel@red-bean.com>
3707 * info.el (Info-bookmark-make-record): Document this function.
3708 (Info-bookmark-jump): Document with a doc string, not just a comment.
3711 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
3713 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
3714 (semantic-new-buffer-fcn): Call parser setup functions here.
3715 (semantic-mode): Don't call parser setup functions here, it's done
3716 in semantic-new-buffer-fcn now.
3717 (semantic-mode): Parse all existing buffers when enabled.
3719 * cedet/srecode/compile.el (srecode-compile-file):
3720 Call semantic-new-buffer-fcn if the buffer has not been parsed.
3722 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
3724 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
3726 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
3727 (proj-comp-insert-variable-once): New macro, renamed from
3728 ede-pmake-insert-variable-once in ede/pmake.edl.
3729 (ede-proj-makefile-insert-variables): Use it.
3731 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
3733 * files.el (copy-directory): New defun.
3735 * dired-aux.el (dired-copy-file-recursive): Use it.
3737 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
3739 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
3740 (makefile-end-of-command):
3741 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
3742 (semantic-end-of-context): Fix previous change. Doc fixes.
3744 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
3746 * files-x.el (modify-dir-local-variable)
3747 (copy-dir-locals-to-file-locals-prop-line):
3748 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
3749 (makefile-end-of-command):
3750 * cedet/semantic/lex.el (semantic-lex-token):
3751 * cedet/semantic/analyze/fcn.el
3752 (semantic-analyze-dereference-metatype-1):
3753 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
3754 (semantic-lex-cpp-undef):
3755 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
3756 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
3757 (semantic-end-of-context): Fix typos in docstrings.
3759 * recentf.el (recentf-unload-function): New function.
3761 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
3763 * cedet/ede.el (ede-project-placeholder-cache-file):
3764 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
3765 * cedet/srecode/map.el (srecode-map-save-file):
3766 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
3768 2009-10-04 Glenn Morris <rgm@gnu.org>
3770 * window.el (window-full-height-p): Add doc string.
3772 2009-10-04 Martin Rudalics <rudalics@gmx.at>
3774 * window.el (window-full-height-p): New function. (Bug#4543)
3776 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
3778 * cedet/srecode/insert.el: Require srecode/args.
3780 * cedet/srecode/args.el: Require srecode/dictionary instead of
3783 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
3785 * files.el (auto-mode-alist): Add .srt and Project.ede.
3787 * cedet/semantic.el (semantic-mode):
3788 Handle srecode-template-mode-hook as well.
3789 (semantic-mode): Use js-mode-hook for Javascript hook.
3791 * cedet/srecode/template.el: Remove hook variable.
3793 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
3795 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
3797 (ede-project-placeholder-cache-file): Default to a file in
3798 user-emacs-directory.
3800 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
3801 templates in data-directory.
3802 (srecode-map-save-file): Default to a file in user-emacs-directory.
3804 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
3807 2009-09-30 Eric Ludlam <zappo@gnu.org>
3809 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
3812 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
3813 Only insert each variable once.
3815 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
3816 (ede-pmake-insert-variable-shared): Use it.
3818 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
3819 for lexical table iff table is nil.
3821 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3823 * vc.el: Remove commented out code.
3824 (vc-derived-from-dir-mode): Remove, unused.
3825 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
3827 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
3829 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
3830 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
3831 there could be recursive loading when `default-directory' is a
3832 remote file name. (Bug#4614)
3834 2009-10-03 Glenn Morris <rgm@gnu.org>
3836 * calendar/calendar.el (calendar-basic-setup): Handle the case where
3838 (calendar-generate-window): Test for shrinkability rather than width.
3840 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
3841 declaration, currently false.
3843 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
3844 reusing existing buffers, in case we happen to visit two files with the
3845 same basename. (Bug#4593)
3847 2009-10-02 Eli Zaretskii <eliz@gnu.org>
3849 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
3850 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
3851 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
3852 subdirs of cedet as well.
3853 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
3855 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3857 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
3858 Obey advertised-signature-table.
3860 * help-fns.el (help-function-arglist): Don't check
3861 advertised-signature-table.
3862 (describe-function-1): Do it here instead so it also applies to subrs.
3864 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
3866 * simple.el (start-file-process): Say in the doc-string, that file
3867 handlers might not support pty association, if PROGRAM is nil.
3869 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
3870 HOST and USER are strings. They are nil, when there are
3871 incomplete entries in ~/.netrc, for example.
3872 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
3873 root directory ("device busy" error otherwise).
3875 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
3876 Flush file properties of created directory.
3878 2009-10-02 Eli Zaretskii <eliz@gnu.org>
3880 * makefile.w32-in (WINS_BASIC): Remove cedet.
3881 (WINS_CEDET): Add cedet.
3882 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
3884 2009-10-02 Kevin Ryde <user42@zip.com.au>
3886 * net/browse-url.el (browse-url): Pass any symbol in
3887 browse-url-browser-function to `apply', since if you've mistakenly put
3888 an unbound symbol then the error is clearer. (Bug#4531)
3890 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
3892 * allout.el (allout-init, allout-back-to-current-heading)
3893 (allout-beginning-of-current-entry, allout-ascend-to-depth)
3894 (allout-ascend, allout-up-current-level, allout-end-of-level)
3895 (allout-previous-visible-heading, allout-forward-current-level)
3896 (allout-backward-current-level, allout-show-children):
3897 * apropos.el (apropos-describe-plist):
3898 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
3899 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
3900 * completion.el (add-completion, add-permanent-completion):
3901 * descr-text.el (describe-text-category, describe-char):
3902 * desktop.el (desktop-lazy-abort):
3903 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
3904 * dired.el (dired-build-subdir-alist):
3905 * ediff.el (ediff-version):
3906 * elide-head.el (elide-head, elide-head-show):
3907 * emerge.el (emerge-version):
3909 * face-remap.el (variable-pitch-mode):
3910 * faces.el (describe-face):
3911 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
3913 * files.el (find-file-existing, auto-save-mode):
3914 * font-lock.el (font-lock-fontify-buffer):
3915 * help-fns.el (describe-function, describe-variable)
3916 (describe-syntax, describe-categories):
3917 * help.el (view-lossage, describe-bindings, describe-key)
3919 * hexl.el (hexl-current-address):
3920 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
3921 * info.el (Info-goto-emacs-key-command-node):
3922 * log-edit.el (log-edit-insert-cvs-template)
3923 (log-edit-insert-cvs-rcstemplate):
3924 * menu-bar.el (menu-bar-mode):
3925 * mouse.el (mouse-appearance-menu):
3926 * newcomment.el (comment-indent-new-line):
3927 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
3928 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
3929 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt, )
3930 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
3931 * recentf.el (recentf-mode):
3932 * savehist.el (savehist-mode, savehist-save):
3933 * shadowfile.el (shadow-copy-files):
3934 * simple.el (kill-ring-save, next-line, previous-line)
3935 (normal-erase-is-backspace-mode):
3936 * strokes.el (strokes-update-window-configuration)
3937 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
3938 (strokes-xpm-for-stroke):
3939 * time.el (emacs-uptime, emacs-init-time):
3940 * tutorial.el (tutorial--describe-nonstandard-key)
3941 (tutorial--detailed-help):
3942 * type-break.el (type-break-mode)
3943 (type-break-mode-line-message-mode, type-break-query-mode)
3944 (type-break-guesstimate-keystroke-threshold):
3945 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
3946 * version.el (emacs-version):
3947 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
3948 * winner.el (winner-mode):
3949 * calendar/timeclock.el (timeclock-in, timeclock-out)
3950 (timeclock-status-string, timeclock-change)
3951 (timeclock-workday-remaining-string)
3952 (timeclock-workday-elapsed-string)
3953 (timeclock-when-to-leave-string):
3954 * calendar/todo-mode.el (todo-add-category):
3955 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
3956 * emacs-lisp/autoload.el (update-file-autoloads):
3957 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
3958 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
3959 (checkdoc-message-text, checkdoc-defun):
3960 * emacs-lisp/debug.el (debugger-list-functions):
3961 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3962 * emacs-lisp/eieio-opt.el (eieio-describe-class)
3963 (eieio-describe-generic):
3964 * emacs-lisp/lisp-mnt.el (lm-synopsis):
3965 * emacs-lisp/shadow.el (list-load-path-shadows):
3966 * emulation/cua-base.el (cua-mode):
3967 * emulation/edt.el (edt-set-scroll-margins):
3968 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
3969 (tpu-toggle-regexp, tpu-toggle-search-direction)
3970 (tpu-toggle-rectangle, tpu-toggle-control-keys):
3971 * emulation/tpu-extras.el (tpu-set-scroll-margins):
3972 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3973 (viper-set-parsing-style-toggling-macro)
3974 (viper-set-emacs-state-searchstyle-macros):
3975 * emulation/viper.el (viper-set-hooks):
3976 * eshell/esh-mode.el (eshell-truncate-buffer):
3977 * international/mule-cmds.el (prefer-coding-system)
3978 (describe-input-method, describe-language-environment):
3979 * international/mule-diag.el (list-character-sets)
3980 (describe-character-set, describe-coding-system)
3981 (describe-fontset, list-fontsets, list-input-methods):
3982 * mail/sendmail.el (mail-signature):
3983 * net/ange-ftp.el (ange-ftp-copy-file):
3984 * net/browse-url.el (browse-url):
3985 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
3986 * net/quickurl.el (quickurl-add-url):
3987 * net/rcirc.el (names, topic):
3988 * net/xesam.el (xesam-mode):
3989 * play/5x5.el (5x5-new-game):
3990 * play/yow.el (apropos-zippy):
3991 * progmodes/ada-mode.el (ada-mode-version):
3992 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
3994 (f90-beginning-of-block):
3995 * progmodes/fortran.el (fortran-end-of-block)
3996 (fortran-beginning-of-block):
3997 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
3998 * progmodes/python.el (python-describe-symbol, python-shell):
3999 * term/ns-win.el (ns-print-buffer):
4000 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
4001 * textmodes/flyspell.el (flyspell-mode-on):
4002 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
4003 (pages-directory-for-addresses):
4004 * textmodes/table.el (table-recognize-cell)
4005 (table-query-dimension, table-generate-source)
4006 (table-insert-sequence, table--warn-incompatibility):
4007 * textmodes/tex-mode.el (tex-validate-buffer):
4008 * textmodes/texinfmt.el (texinfmt-version)
4009 (texinfo-format-buffer):
4010 Use `called-interactively-p' instead of `interactive-p'.
4012 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
4014 * image-mode.el (image-toggle-display):
4015 * emacs-lisp/elp.el (elp-instrument-function):
4016 * emacs-lisp/advice.el (ad-make-advised-definition):
4017 * emacs-lisp/easy-mmode.el (define-minor-mode):
4018 * net/browse-url.el (browse-url-maybe-new-window):
4019 * progmodes/sh-script.el (sh-learn-buffer-indent):
4020 Pass new argument 'any to `called-interactively-p'.
4022 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
4024 * international/uni-bidi.el:
4025 * international/uni-category.el:
4026 * international/uni-combining.el:
4027 * international/uni-comment.el:
4028 * international/uni-decimal.el:
4029 * international/uni-decomposition.el:
4030 * international/uni-digit.el:
4031 * international/uni-lowercase.el:
4032 * international/uni-mirrored.el:
4033 * international/uni-name.el:
4034 * international/uni-numeric.el:
4035 * international/uni-old-name.el:
4036 * international/uni-titlecase.el:
4037 * international/uni-uppercase.el:
4038 Regenerate from Unicode 5.2.0 data.
4040 2009-10-01 Glenn Morris <rgm@gnu.org>
4042 * Makefile.in (ELCFILES): Regenerate.
4044 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4046 * subr.el (interactive-p): Mark obsolete.
4047 (called-interactively-p): Make the optional-ness of `kind' obsolete.
4048 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
4049 advertised-signature-table for subroutines as well.
4051 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
4052 (set-advertised-calling-convention): New function.
4053 (make-obsolete, define-obsolete-function-alias)
4054 (make-obsolete-variable, define-obsolete-variable-alias):
4055 Make the optional-ness of `when' obsolete.
4056 (define-obsolete-face-alias): Make `when' non-optional.
4057 * help-fns.el (help-function-arglist):
4058 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
4059 Use advertised-signature-table.
4061 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
4063 * files.el (delete-directory): New defun. The original function
4064 in fileio.c has been renamed to `delete-directory-internal'.
4066 * dired.el (dired-delete-file): Call `delete-directory' with
4067 RECURSIVE parameter.
4069 * net/ange-ftp.el (ange-ftp-delete-directory ): Add optional
4070 parameter RECURSIVE. Implementation is missing.
4072 * net/tramp.el (tramp-handle-make-directory): Flush upper
4073 directory's file properties.
4074 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
4075 (tramp-handle-dired-recursive-delete-directory): Flush directory
4076 properties after the remove command only.
4078 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
4079 Handle optional parameter RECURSIVE.
4081 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
4082 Handle optional parameter RECURSIVE.
4084 * net/tramp-smb.el (tramp-smb-errors): Add error message for
4086 (tramp-smb-handle-delete-directory): Handle optional parameter
4089 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4091 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
4092 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
4093 (byte-compile-defmacro): Use backquotes.
4095 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
4097 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
4098 has no associated file.
4099 (vc-resynch-buffer): Use vc-dir-buffers.
4101 2009-10-01 Glenn Morris <rgm@gnu.org>
4103 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
4105 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
4106 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
4107 * emacs-lisp/eieio-opt.el (eieio-describe-class):
4108 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
4109 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
4110 (eieio-copy-parents-into-subclass, make-instance, class-children)
4111 (eieio-generic-form):
4112 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
4113 * cedet/cedet-idutils.el (cedet-idutils-search)
4114 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
4115 (cedet-idutils-version-check):
4116 * cedet/cedet.el (cedet-version):
4117 * cedet/data-debug.el (data-debug-insert-overlay-button)
4118 (data-debug-insert-overlay-list-button)
4119 (data-debug-insert-buffer-button)
4120 (data-debug-insert-buffer-list-button)
4121 (data-debug-insert-process-button, data-debug-insert-ring-button)
4122 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
4123 (data-debug-insert-stuff-vector-button)
4124 (data-debug-insert-symbol-button, data-debug-insert-string)
4125 (data-debug-insert-number, data-debug-insert-lambda-expression)
4126 (data-debug-insert-nil, data-debug-insert-simple-thing)
4127 (data-debug-insert-custom, data-debug-edebug-expr):
4128 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
4129 (global-ede-mode-map, ede-new, ede-debug-target)
4130 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
4131 * cedet/semantic.el (semantic-minimum-working-buffer-size)
4132 (semantic-fetch-tags, semantic-submode-list)
4133 (semantic-default-submodes):
4134 * cedet/ede/source.el (ede-source-match):
4135 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
4136 (project-am-package-info):
4137 * cedet/ede/proj.el (ede-proj-target, project-new-target):
4138 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
4139 * cedet/ede/proj-comp.el (ede-current-build-list):
4140 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
4141 * cedet/ede/files.el (ede-toplevel-project-or-nil):
4142 * cedet/ede/cpp-root.el (initialize-instance):
4143 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
4144 (autoconf-parameter-strip, autoconf-insert-new-macro):
4145 * cedet/semantic/wisent.el (wisent-lex-eoi):
4146 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
4147 (semantic-show-parser-state-mode):
4148 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
4149 * cedet/semantic/tag.el (semantic-tag-new-variable)
4150 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
4151 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
4152 (semantic--tag-deep-copy-tag-list)
4153 (semantic-tag-components-with-overlays-default):
4154 * cedet/semantic/symref.el (semantic-symref-find-text):
4155 * cedet/semantic/senator.el (senator-yank-tag)
4156 (senator-transpose-tags-up):
4157 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
4158 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
4159 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
4160 * cedet/semantic/lex.el (semantic-lex-comment-regex)
4161 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
4162 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
4163 * cedet/semantic/lex-spp.el
4164 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
4165 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
4166 * cedet/semantic/idle.el
4167 (semantic-idle-summary-current-symbol-info-brutish)
4168 (semantic-idle-summary-current-symbol-info-default):
4169 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
4170 (semantic--grammar-macro-compl-dict):
4171 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
4172 * cedet/semantic/format.el (semantic-format-tag-custom-list)
4173 (semantic-format-tag-canonical-name-default):
4174 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
4175 (semantic-find-tags-for-completion)
4176 (semantic-find-tags-by-scope-protection-default)
4177 (semantic-deep-find-tags-for-completion):
4178 * cedet/semantic/edit.el
4179 (semantic-edits-incremental-reparse-failed-hook)
4180 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
4181 (semantic-edits-splice-remove, semantic-edits-splice-replace):
4182 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
4183 * cedet/semantic/dep.el (semantic-dependency-include-path):
4184 * cedet/semantic/db.el (semanticdb-default-find-index-class)
4185 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
4186 (semanticdb-project-roots):
4187 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
4188 (semanticdb-find-adebug-insert-scanned-tag-cons)
4189 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
4190 (semanticdb-brute-deep-find-tags-for-completion):
4191 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
4192 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
4193 (semantic-end-of-context-default)
4194 (semantic-ctxt-current-function-default)
4195 (semantic-ctxt-scoped-types-default):
4196 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
4197 (semantic-complete-inline-tag-engine)
4198 (semantic-complete-inline-custom-type)
4199 (semantic-complete-read-tag-analyzer):
4200 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
4201 (semantic-chart-database-size):
4202 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
4203 (semantic-analyze-current-context):
4204 * cedet/semantic/symref/list.el (semantic-symref)
4205 (semantic-symref-hide-buffer, semantic-symref-symbol):
4206 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
4207 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
4208 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
4209 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
4210 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
4211 (semantic-c-dereference-template):
4212 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
4213 (semantic--analyze-refs-full-lookup-with-parents)
4214 (semantic--analyze-refs-full-lookup-simple):
4215 * cedet/semantic/analyze/complete.el
4216 (semantic-analyze-possible-completions):
4217 * cedet/srecode/table.el (srecode-mode-table-new):
4218 * cedet/srecode/srt.el (srecode-read-variable-name):
4219 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
4220 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
4221 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
4222 * cedet/srecode/map.el (srecode-current-map):
4223 * cedet/srecode/insert.el (srecode-insert)
4224 (srecode-insert-variable-secondname-handler, srecode-insert-method)
4225 (srecode-template-inserter-point-override)
4226 (srecode-insert-include-lookup):
4227 * cedet/srecode/getset.el (srecode-auto-choose-class):
4228 * cedet/srecode/extract.el (srecode-inserter-extract):
4229 * cedet/srecode/document.el
4230 (srecode-document-autocomment-return-last-alist)
4231 (srecode-document-autocomment-param-type-alist)
4232 (srecode-document-insert-function-comment)
4233 (srecode-document-insert-variable-one-line-comment)
4234 (srecode-document-function-name-comment):
4235 * cedet/srecode/dictionary.el (srecode-create-dictionary)
4236 (srecode-compound-toString):
4237 * cedet/srecode/compile.el (srecode-flush-active-templates):
4238 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
4241 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
4242 match-data. (Bug#4555).
4244 * cedet/semantic/bovine/gcc.el
4245 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
4246 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
4248 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
4249 rather than parsing it as a regexp. This relaxes the layout
4250 requirements and makes errors easier to detect.
4251 (check-declare-verify): Check file is regular.
4252 (check-declare-directory): Doc fix.
4253 * subr.el (declare-function): Doc fix.
4255 * ibuffer.el (ibuffer-format-qualifier):
4256 * isearch.el (hi-lock-regexp-okay):
4257 * calc/calc.el (math-zerop):
4258 * mail/uce.el (rmail-msgbeg, rmail-msgend):
4259 * term/w32-win.el (setup-default-fontset, set-fontset-font):
4260 Remove unused declarations.
4262 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
4264 * cedet/semantic/wisent/javat-wy.el
4265 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
4267 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
4269 * cedet/srecode/expandproto.el: Fix provide statement.
4271 2009-09-30 Eric Ludlam <zappo@gnu.org>
4273 * emacs-lisp/eieio.el (boolean-p): Delete.
4275 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
4277 * cedet/ede/srecode.el: Fix provide statement.
4279 2009-09-30 Glenn Morris <rgm@gnu.org>
4281 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
4282 * cedet/ede/proj-aux.el (ede-aux-source):
4283 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
4285 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
4286 (semantic-mrub-switch-tags): Fix doc typos.
4288 * cedet/semantic/db-global.el (data-debug-new-buffer)
4289 (data-debug-insert-thing): Remove unneeded declarations (one broken).
4290 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
4292 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
4294 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
4295 use of CL function `remove-if-not'.
4297 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
4299 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
4300 filename is not a string.
4302 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
4304 * files.el (safe-local-eval-forms): Fix typo.
4306 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
4308 * vc-hooks.el (vc-dir-buffers): New var.
4309 (vc-state-refresh): New function.
4311 (vc-after-save): Always ask the backend to recompute the new state.
4312 Always call vc-dir if necessary, using vc-dir-buffers.
4313 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
4315 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
4316 (vc-dir-prepare-status-buffer, vc-dir-update)
4317 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
4318 Don't call expand-file-name on default-directory.
4320 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
4322 * speedbar.el (speedbar-item-delete):
4323 * calc/calc-prog.el (calc-kbd-if):
4324 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
4326 * epa.el (epa-key-list-mode-map):
4327 * hi-lock.el (hi-lock-menu): Fix typos in menus.
4329 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
4330 (hs-show-hook): Fix typo in docstring.
4332 2009-09-29 Glenn Morris <rgm@gnu.org>
4334 * cedet/semantic/symref/idutils.el:
4335 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
4337 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
4339 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
4340 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
4341 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
4342 Mark declarations not understood by check-declare.
4344 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
4345 file-name-nondirectory call preventing location of cedet files.
4346 (check-declare-verify): Use literal search rather than re-search.
4347 Add basic defmethod and defclass, and define-overloadable-function.
4349 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
4350 Use tramp-compat-file-attributes rather than nonexistent
4351 tramp-compat-handle-file-attributes.
4353 * Makefile.in (lisptagsfiles4): New.
4354 (AUTOGENEL): Add cedet loaddefs files.
4355 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
4356 (update-elclist, compile-always, backup-compiled-files)
4357 (bootstrap-clean): Add yet another directory level.
4358 (update-elclist): Use LC_COLLATE rather than COLLATE.
4359 (ELCFILES): Update, via `make update-elclist'.
4361 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
4363 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
4364 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
4365 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
4367 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
4369 * Makefile.in (lisptagsfiles3): Define.
4370 (TAGS, TAGS-LISP): Use it.
4371 (update-elclist): Add third directory level to look for elc files.
4372 (compile-always): Likewise.
4373 (backup-compiled-files): Likewise.
4374 (bootstrap-clean): Likewise.
4377 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
4379 * Makefile.in (ELCFILES): Add CEDET files.
4381 2009-09-28 Eric Ludlam <zappo@gnu.org>
4383 CEDET (development tools) package merged.
4387 * cedet/semantic/*.el:
4388 * cedet/srecode/*.el: New files.
4390 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
4392 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
4394 * net/tramp.el (top): Require tramp-imap.
4396 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
4397 Use `tramp-compat-handle-file-attributes'.
4399 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
4401 * net/tramp-imap.el: New package.
4403 2009-09-28 Eric Ludlam <zappo@gnu.org>
4405 * emacs-lisp/chart.el:
4406 * emacs-lisp/eieio-base.el:
4407 * emacs-lisp/eieio-comp.el:
4408 * emacs-lisp/eieio-custom.el:
4409 * emacs-lisp/eieio-datadebug.el:
4410 * emacs-lisp/eieio-opt.el:
4411 * emacs-lisp/eieio-speedbar.el:
4412 * emacs-lisp/eieio.el: New files.
4414 * cedet/cedet-cscope.el:
4415 * cedet/cedet-files.el:
4416 * cedet/cedet-global.el:
4417 * cedet/cedet-idutils.el:
4418 * cedet/data-debug.el:
4419 * cedet/inversion.el:
4420 * cedet/mode-local.el:
4421 * cedet/pulse.el: New files.
4423 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4425 * whitespace.el (whitespace-trailing-regexp)
4426 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4429 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
4431 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
4434 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
4435 menu-bar-ediff-menu.
4437 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
4438 define-overloadable-function.
4440 * progmodes/autoconf.el: Provide autoconf as well, so that this
4441 file can be `require'd.
4443 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
4445 * emacs-lisp/autoload.el (generated-autoload-feature)
4446 (generated-autoload-load-name): New vars.
4447 (autoload-rubric, autoload-generate-file-autoloads): Use them.
4448 (make-autoload): Recognize define-overloadable-function and
4449 defclass forms (for EIEIO).
4451 * Makefile.in (update-subdirs): Exclude cedet directory.
4453 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
4455 * term/ns-win.el: Don't set the region face background. (Bug#4381)
4457 * faces.el: Default light-background background for region face to
4458 ns_selection_color under NS.
4460 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4462 * net/imap-hash.el: New library, see NEWS.
4464 * Makefile.in (ELCFILES): Add imap-hash.el.
4466 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
4469 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
4470 * help-macro.el (make-help-screen): Avoid using an ambiguous function
4471 definition where the docstring could be taken for the return value.
4473 2009-09-26 Glenn Morris <rgm@gnu.org>
4475 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
4476 Add option to only show images below a certain size.
4477 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
4478 save-excursion calls.
4480 2009-09-26 Eli Zaretskii <eliz@gnu.org>
4482 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
4483 subdirectories) and eieio.
4485 2009-09-26 Alan Mackenzie <acm@muc.de>
4487 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
4488 buggy bracketing. (Bug#4289)
4490 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
4491 character constants (as case labels). (Bug#4289)
4493 2009-09-25 Juri Linkov <juri@jurta.org>
4495 * files.el (safe-local-eval-forms): Allow time-stamp in
4496 before-save-hook (Bug#4554).
4498 2009-09-25 Drew Adams <drew.adams@oracle.com>
4500 * menu-bar.el (list-buffers-directory): Doc fix.
4502 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
4505 Try and avoid copying twice the same paragraph.
4506 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
4507 Remove save-excursion.
4508 (log-edit-changelog-entry): Do it here instead.
4510 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
4512 * bs.el (bs--get-file-name): Use `list-buffers-directory'
4513 when available, instead of hardcoding mode names. Doc fix.
4515 * menu-bar.el (list-buffers-directory): Add docstring.
4516 Make automatically buffer-local.
4518 * dired.el (dired-mode):
4519 * files.el (cd-absolute):
4520 * pcvs.el (cvs-temp-buffer):
4521 * pcvs-util.el (cvs-get-buffer-create):
4522 * shell.el (shell-mode):
4523 * vc-dir.el (vc-dir-mode):
4524 Don't make `list-buffers-directory' buffer local.
4526 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
4528 * comint.el (comint-exec, comint-run, make-comint):
4529 Doc fixes (Bug#4542).
4531 2009-09-25 Glenn Morris <rgm@gnu.org>
4533 * mail/rmailmm.el (rmail-mime): New custom group.
4534 Move all defcustoms in this file into this group.
4535 (rmail-mime-media-type-handlers-alist): Revert previous change.
4536 (rmail-mime-show-images): New option.
4537 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
4538 references to it, since it wasn't actually used for anything.
4539 (rmail-mime-insert-image): New function.
4540 (rmail-mime-image): Use rmail-mime-insert-image.
4541 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
4542 obey the value of `rmail-mime-show-images' option. Print the size of
4545 2009-09-25 David Engster <deng@randomsample.de>
4547 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
4549 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4551 * whitespace.el: Does not highlight trailing spaces While point is
4552 at end of line. Does not highligt spaces at beginning of buffer
4553 while point is at beginning of buffer. Does not highlight spaces
4554 at end of buffer while point is at end of buffer. (Bug#4177)
4556 (whitespace-display-mappings): Adjust initialization.
4557 (whitespace-point, whitespace-font-lock-refontify): New vars.
4558 (whitespace-color-on, whitespace-color-off): Adjust code.
4559 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
4560 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
4561 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
4563 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
4565 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
4567 * textmodes/sgml-mode.el: Remove xml-mode alias.
4569 * files.el (auto-mode-alist, conf-mode-maybe)
4570 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
4572 2009-09-24 Alan Mackenzie <acm@muc.de>
4574 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
4575 c-forward-conditionals, but it doesn't move point and doesn't set
4577 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
4578 (c-down-conditional-with-else, c-backward-conditional)
4579 (c-forward-conditional): Refactor to use c-scan-conditionals.
4581 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
4583 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
4584 (help-default-arg-highlight): Remove.
4585 (help-highlight-arg): New function.
4586 (help-do-arg-highlight): Use it.
4587 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
4589 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
4591 * term.el (term-set-scroll-region, term-handle-ansi-escape):
4592 Undo last change, which didn't fix the problem and introduced others.
4594 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
4596 * progmodes/gdb-mi.el: Don't require speedbar.
4597 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
4599 2009-09-24 Glenn Morris <rgm@gnu.org>
4601 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
4603 * term/ns-win.el (ns-reg-to-script): Define for compiler.
4605 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
4606 there is no newline after the final mime boundary. (Bug#4539)
4607 Move markers on insertion so that any buttons inserted don't end up in
4608 the next part of a multipart message.
4609 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
4610 (rmail-mime-bulk-handler): Optionally handle images.
4611 (rmail-mime-image): New button action.
4612 (rmail-mime-image-handler): New function.
4613 (rmail-mime-mode): New mode.
4614 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
4616 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
4619 than just dropping elements from it (bug#4504).
4621 * term.el (term-set-scroll-region): Don't move cursor any more.
4622 (term-handle-ansi-escape): Call term-goto here instead.
4623 Suggested by Ivan Kanis <apple@kanis.eu>.
4625 * term.el: Require CL.
4626 (term-ansi-reset): New function.
4627 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
4628 (term-handle-colors-array): Simplify.
4630 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
4632 * allout.el (allout-overlay-interior-modification-handler)
4633 (allout-obtain-passphrase):
4634 * epa-file.el (epa-file-write-region):
4635 * ps-print.el (ps-begin-job):
4636 * vc-hooks.el (vc-toggle-read-only):
4637 * vc-rcs.el (vc-rcs-rollback):
4638 * vc-sccs.el (vc-sccs-rollback):
4639 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
4640 (vc-version-diff, vc-revert, vc-rollback):
4641 * wdired.el (wdired-check-kill-buffer):
4642 * emacs-lisp/authors.el (authors):
4643 * net/socks.el (socks-open-connection):
4644 * net/zeroconf.el (zeroconf-service-add-hook):
4645 * obsolete/vc-mcvs.el (vc-mcvs-register):
4646 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
4648 * progmodes/grep.el (lgrep, rgrep):
4649 * progmodes/idlw-help.el (idlwave-help-check-locations)
4650 (idlwave-help-html-link, idlwave-help-assistant-open-link):
4651 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4652 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
4653 (reftex-toc-rename-label): Fix typos in error messages.
4655 * dired-aux.el (dired-do-shell-command): Reflow docstring.
4656 (dired-copy-how-to-fn): Doc fix.
4657 (dired-files-attributes, dired-read-shell-command):
4658 Fix typos in docstrings.
4660 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
4661 (dired-x-find-file-other-window): Reflow docstrings.
4662 (dired-omit-marker-char, dired-read-shell-command)
4663 (dired-x-submit-report): Fix typos in docstrings.
4665 * shell.el (shell-mode-hook):
4666 * view.el (View-scroll-line-forward):
4667 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
4668 Fix typos in docstrings.
4670 * net/dig.el (dig-invoke): Fix typo in docstring.
4671 (query-dig): Reflow docstring.
4673 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
4674 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
4675 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
4676 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
4677 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
4678 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
4679 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
4680 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
4681 (idlwave-completion-map, idlwave-current-indent)
4682 (idlwave-custom-ampersand-surround, idlwave-customize)
4683 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
4684 (idlwave-define-abbrev, idlwave-determine-class-special)
4685 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
4686 (idlwave-end-block-reg, idlwave-end-of-statement)
4687 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
4688 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
4689 (idlwave-explicit-class-listed, idlwave-file-header)
4690 (idlwave-fill-paragraph, idlwave-find-class-definition)
4691 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
4692 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
4693 (idlwave-in-quote, idlwave-indent-action-table)
4694 (idlwave-indent-expand-table, idlwave-indent-line)
4695 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
4696 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
4697 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
4698 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
4699 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
4700 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
4701 (idlwave-outlawed-buffers, idlwave-popup-select)
4702 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
4703 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
4704 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
4705 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
4706 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
4707 (idlwave-statement-type, idlwave-struct-skip)
4708 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
4709 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
4710 (idlwave-what-module-find-class): Fix typos in docstrings.
4711 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
4712 (idlwave-calculate-cont-indent, idlwave-expand-equal)
4713 (idlwave-find-module, idlwave-find-structure-definition)
4714 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
4715 (idlwave-list-load-path-shadows, idlwave-next-statement)
4716 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
4717 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
4718 (idlwave-template): Reflow docstrings.
4720 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
4721 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
4722 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
4723 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
4724 (idlwave-shell-display-line, idlwave-shell-display-wframe)
4725 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
4726 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
4727 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
4728 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
4729 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
4730 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
4731 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
4732 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
4733 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
4734 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
4735 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
4736 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
4737 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
4738 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
4739 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
4740 Fix typos in docstrings.
4741 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
4742 (idlwave-shell-hide-output, idlwave-shell-mode)
4743 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
4746 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
4748 2009-09-24 Ivan Kanis <apple@kanis.eu>
4750 * term.el (term-bold-attribute): New var.
4751 (term-handle-colors-array): Use it.
4753 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
4755 * progmodes/gdb-mi.el (gdb-version): New variable.
4756 (gdb-non-stop-handler): Set gdb-version.
4757 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
4758 Condition "--thread" option on gdb-version.
4759 (gdb-invalidate-threads): Remove unused argument.
4761 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4763 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
4764 to looking-back to avoid ridiculous slow down in large files (bug#4511).
4766 2009-09-23 Glenn Morris <rgm@gnu.org>
4768 * mail/rmail.el (rmail-reply): Don't try to add a References header when
4769 replying to mail without References or Message-Id. (Bug#4525)
4771 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
4773 * term/ns-win.el (ns-reg-to-script): New variable.
4775 2009-09-23 Daiki Ueno <ueno@unixuser.org>
4777 * epg.el (epg-wait-for-status): Preserve existing 'error results.
4779 2009-09-22 Sam Steingold <sds@gnu.org>
4781 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
4782 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
4783 to 1 because hg returns status 1 when nothing is found.
4784 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
4786 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
4788 * textmodes/fill.el: Convert to utf-8 encoding.
4789 (fill-french-nobreak-p): Remove redundant » and « inherited from our
4792 * add-log.el (change-log-fill-forward-paragraph): New function.
4793 (change-log-mode): Use it so fill-region DTRT.
4794 Set fill-indent-according-to-mode here rather than in
4795 change-log-fill-paragraph.
4796 (change-log-fill-paragraph): Remove.
4798 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
4800 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
4801 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
4803 2009-09-22 Glenn Morris <rgm@gnu.org>
4805 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
4806 the scroll-bar scroll the calendar window rather than the buffer.
4808 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
4809 commands that move point (as opposed to scrolling).
4811 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
4813 * emacs-lisp/elint.el (elint): New custom group.
4814 (elint-log-buffer): Make it a defcustom.
4815 (elint-scan-preloaded, elint-ignored-warnings)
4816 (elint-directory-skip-re): New options.
4817 (elint-builtin-variables): Doc fix.
4818 (elint-preloaded-env): New variable.
4819 (elint-unknown-builtin-args): Add an entry for encode-time.
4820 (elint-extra-errors): Make it a variable rather than a constant.
4821 (elint-preloaded-skip-re): New constant.
4822 (elint-directory): Skip files matching elint-directory-skip-re.
4823 (elint-features): New variable, local to linted buffers.
4824 (elint-update-env): Initialize elint-features. Possibly add
4825 elint-preloaded-env to the buffer's environment.
4826 (elint-get-top-forms): Bind elint-current-pos, for log messages.
4828 (elint-init-form): New function, extracted from elint-init-env.
4829 Make non-list forms a warning rather than an error.
4830 Add the mode-map for define-derived-mode. Handle define-minor-mode,
4831 easy-menu-define, put that adds an error-condition, and provide.
4832 When requiring cl, also require cl-macs. Really require cl, to handle
4833 some cl macros. Store required libraries in the list elint-features,
4834 so as not to re-load them. Treat cc-require like require.
4835 (elint-init-env): Call elint-init-form to do the work.
4836 Handle eval-and-compile and such like.
4837 (elint-add-required-env): Do not clear messages.
4838 (elint-special-forms): Add handlers for function, defalias, if, when,
4840 (elint-form): Add optional argument to ignore elint-special-forms,
4841 useful to prevent recursive calls from handlers. Doc fix.
4842 Respect elint-ignored-warnings.
4843 (elint-form): Respect elint-ignored-warnings.
4844 (elint-bound-variable, elint-bound-function): New variables.
4845 (elint-unbound-variable): Respect elint-bound-variable.
4846 (elint-get-args): Respect elint-bound-function.
4847 (elint-check-cond-form): Add some simple handling for (f)boundp and
4849 (elint-check-defalias-form): New handler.
4850 (elint-check-let-form): Make an empty let a warning rather than an
4852 (elint-check-setq-form): Make an empty setq a warning rather than an
4853 error. Respect elint-ignored-warnings.
4854 (elint-check-defvar-form): Accept null doc-strings.
4855 (elint-check-conditional-form): New handler. Does some simple-minded
4856 checking of featurep and (f)boundp tests.
4857 (elint-put-function-args): New function.
4858 (elint-initialize): Use elint-scan-doc-file rather than
4859 elint-find-builtin-variables. Use elint-put-function-args.
4860 Possibly scan preloaded-file-list.
4861 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
4862 extend to handle functions as well.
4864 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
4866 * linum.el (linum-delete-overlays, linum-update-window):
4867 Do not modify the right margin. (Bug#3971)
4869 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
4871 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
4872 nxml-mode instead of xml-mode.
4874 2009-09-21 Kevin Ryde <user42@zip.com.au>
4876 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
4878 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4880 * net/dig.el (dig-mode): Use define-derived-mode.
4882 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
4884 * vc-dispatcher.el (vc-do-command): Return the process object in
4885 the asynchronous case. Use when instead of if. Do not run
4886 vc-exec-after to display a message if not enabled. (Bug#4463)
4888 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
4889 properties to the stash strings.
4890 (vc-git-stash-list): Return a list of strings.
4891 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
4892 (vc-git-stash-show-at-point): New functions.
4893 (vc-git-stash-map): New keymap.
4895 * register.el (ctl-x-r-map): Define the keys here instead of
4898 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
4900 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
4901 list, to workaround performance problem (bug#4485).
4903 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
4905 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
4907 2009-09-20 Daiki Ueno <ueno@unixuser.org>
4909 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
4910 Document that this option is not recommended to use.
4912 2009-09-19 Glenn Morris <rgm@gnu.org>
4914 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
4917 * calc/calc-alg.el (var):
4918 * calc/calcalg2.el (var): Define for compiler.
4920 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
4922 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
4925 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
4927 * time-stamp.el (time-stamp-month-dd-yyyy)
4928 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
4929 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
4930 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
4931 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
4932 Remove functions that have been obsolete since 1995 (Bug#4436).
4934 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
4935 indent buffer only if called interactively (Bug#4452).
4937 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
4938 Eli Zaretskii <eliz@gnu.org>
4940 This fixes bug#4197 (merged to bug#865, though not identical).
4941 * server.el (server-auth-dir): Add docstring note about FAT32.
4942 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
4943 but warn against using them.
4945 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
4947 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
4948 older GDB where there is no has_more field.
4950 2009-09-19 Glenn Morris <rgm@gnu.org>
4952 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
4954 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
4956 * files.el (auto-mode-alist): Change default for XML files to nXML
4959 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
4961 * server.el (server-ensure-safe-dir): Pass 'integer
4962 to `file-attributes', as suggested.
4964 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4966 * dired-aux.el (dired-query-alist): Remove spurious backslash.
4967 (dired-query): Use read-key.
4969 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
4971 * cus-start.el (ns-use-qd-smoothing): Remove.
4973 2009-09-18 Glenn Morris <rgm@gnu.org>
4975 * allout.el (top-level): Remove unnecessary progn.
4977 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
4979 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
4980 definition of abbrev table.
4982 * speedbar.el (speedbar-track-mouse):
4983 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
4984 * net/eudc.el (eudc-expand-inline):
4985 * net/newst-backend.el (newsticker--cache-read-feed):
4986 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
4987 condition-case handlers.
4989 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
4991 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
4992 (gdb-var-list): Add an element for has_more field.
4993 (gdb-non-stop-handler): Enable pretty printing for STL containers.
4994 (gdb-var-create-handler, gdb-var-list-children-handler-1)
4995 (gdb-var-update-handler-1): Parse output of dynamic variable
4996 objects (STL containers).
4997 (gdb-var-delete-1): Pass var1 as an explicit second argument.
4998 (gdb-get-field): Delete alias. Use bindat-get-field directly.
5000 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
5002 (gud-speedbar-buttons): Make node expandable if expression "has more"
5005 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
5007 * startup.el (emacs-quick-startup): Remove variable and all uses.
5008 (command-line): Set `inhibit-x-resources' instead.
5009 (command-line-1): Use `inhibit-x-resources' instead.
5011 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
5013 * subr.el: Fix last change to avoid using the `unless' macro,
5014 which breaks bootstrapping.
5016 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5018 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
5019 extended definitions, in case we reload subr.el after having
5021 (eval-next-after-load): Mark as obsolete.
5023 2009-09-17 Juri Linkov <juri@jurta.org>
5025 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
5026 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
5027 (menu-bar-showhide-menu, menu-bar-tools-menu)
5028 (menu-bar-describe-menu, menu-bar-help-menu)
5029 (minibuffer-local-completion-map, minibuffer-local-map):
5032 2009-09-17 Glenn Morris <rgm@gnu.org>
5034 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
5035 arguments, whether or not it has a handler.
5037 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
5039 * simple.el (hard-newline): Give it a doc-string.
5041 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5042 (lisp-mode-syntax-table): Give them doc-strings.
5044 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
5046 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
5047 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
5048 (menu-bar-options-menu, menu-bar-showhide-menu)
5049 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
5050 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
5051 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
5052 (menu-bar-options-menu, menu-bar-tools-menu)
5053 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
5054 (menu-bar-help-menu):
5055 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
5058 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
5059 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
5060 calls for the menu names and :help.
5062 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5064 * mouse.el (minor-mode-menu-from-indicator): Pay attention
5065 to :minor-mode-function (bug#4455).
5067 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5069 * startup.el (command-line): Initialize the window-system after
5070 processing the command-line.
5072 * textmodes/page.el (what-page): Make sure we don't inf-loop if
5073 page-delimiter matches the empty string.
5075 2009-09-16 Glenn Morris <rgm@gnu.org>
5077 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
5078 byte-compile-not-obsolete-var. It's a list now.
5079 (byte-compile-not-obsolete-funcs): New variable.
5080 (byte-compile-warn-obsolete): Don't warn about functions if they are in
5081 byte-compile-not-obsolete-funcs.
5082 (byte-compile-variable-ref, byte-compile-defvar): Update for
5083 byte-compile-not-obsolete-vars name-change and list nature.
5084 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
5085 and variables behind (f)boundp tests.
5086 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
5088 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
5090 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
5092 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5094 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
5095 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
5098 2009-09-15 Stephen Eglen <stephen@gnu.org>
5100 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
5101 the virtual-buffers, use the name of the buffer specified by
5102 find-file-noselect, as the match may be a symlink. (This was a
5103 problem if the target and the symlink had different names.)
5105 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5107 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
5109 * desktop.el (desktop-path): Check user-emacs-directory.
5111 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
5113 * loadup.el: Use after-load-functions to GC after loading each file.
5114 Remove the explicit GC calls that used to be sprinkled around.
5116 * subr.el (after-load-functions): New hook.
5117 (do-after-load-evaluation): Run it. Use string-match-p to detect
5118 `obsolete' packages, rather than painfully extracting the relevant
5121 2009-09-15 Glenn Morris <rgm@gnu.org>
5123 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
5124 free variable `doc'.
5126 * dired.el (dired-mode-map): Add menu entry for async shell command.
5128 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
5129 variables, also consider the .elc files, since the .el files are
5130 normally gzipped (subsequent code locates the .el.gz from the .elc).
5132 * calc/calc-prog.el (arglist): Define for compiler.
5134 * calendar/diary-lib.el (diary-display-function): Change the default to
5136 (body): Define for compiler.
5138 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
5139 (byte-compile-file-form, byte-compile-lambda)
5140 (byte-compile-top-level-body, byte-compile-form)
5141 (byte-compile-variable-ref, byte-compile-setq)
5142 (byte-compile-setq-default, byte-compile-body)
5143 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
5144 (batch-byte-compile): Give some more local variables with common names
5145 a "bytecomp-" prefix to avoid masking warnings about free variables.
5147 * startup.el (command-line-1): Give local variables with common names a
5148 distinguishing prefix, so as not to hide free variable warnings during
5151 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
5152 clever and add a suffix to make a unique name, just let the user decide
5153 whether or not to overwrite it. If the input is a directory, write the
5154 default filename to that directory. (Bug#4388)
5155 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
5156 is a filename-as-a-directory.
5158 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5160 * textmodes/page.el (what-page): Don't move to beginning of line.
5161 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
5163 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
5165 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
5167 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
5169 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
5170 * help.el (help-for-help-internal): Add purecopy calls for text.
5172 * vc.el (top): print-log method now takes an optional SHORTLOG
5173 argument. Add a new method: root.
5174 (vc-root-diff, vc-print-root-log): New functions.
5175 (vc-log-short-style): New variable.
5176 (vc-print-log-internal): Add support for showing short logs.
5178 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
5179 vc-print-root-log and vc-print-root-diff.
5181 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
5182 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
5183 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
5186 * vc-cvs.el (vc-cvs-print-log):
5187 * vc-mtn.el (vc-mtn-print-log):
5188 * vc-rcs.el (vc-rcs-print-log):
5189 * vc-sccs.el (vc-sccs-print-log):
5190 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
5191 that is ignored for now.
5193 * vc-mtn.el (vc-mtn-annotate-command):
5194 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
5196 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5198 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
5199 to function-key-map, and give them ascii-character property.
5200 * term/x-win.el (x-alternatives-map):
5201 * term/ns-win.el (ns-alternatives-map):
5202 * term/internal.el (msdos-key-remapping-map):
5203 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
5205 2009-09-14 Glenn Morris <rgm@gnu.org>
5207 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
5208 temp-buffers (2009-09-12).
5210 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5212 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
5213 the new read-key function.
5215 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
5217 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
5218 is defined (Bug#4405).
5220 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
5222 * recentf.el (recentf-cleanup): Use a hash table to find
5223 duplicates (Bug#4407).
5225 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
5227 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
5228 kp-0 to ascii equivalents (Bug#4325).
5230 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
5232 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
5234 * eshell/em-hist.el:
5235 * eshell/em-dirs.el (eshell-complete-user-reference):
5236 Declare pcomplete functions and variables to avoid compiler warnings.
5238 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
5240 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
5241 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
5242 * eshell/em-alias.el (eshell-aliases-file):
5243 * eshell/em-hist.el (eshell-history-file-name):
5244 Use expand-file-name instead of concat to make file names (Bug#4308).
5246 2009-09-13 Glenn Morris <rgm@gnu.org>
5248 * ediff-merg.el (ediff-do-merge):
5249 * filesets.el (filesets-run-cmd):
5250 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
5251 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
5252 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
5253 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
5254 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
5255 Replace empty `let's with `progn'.
5257 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5259 * mail/sendmail.el (send-mail-function):
5260 * tooltip.el (tooltip-mode):
5261 * simple.el (transient-mark-mode):
5262 * rfn-eshadow.el (file-name-shadow-mode):
5263 * frame.el (blink-cursor-mode):
5264 * font-core.el (global-font-lock-mode):
5265 * files.el (temporary-file-directory)
5266 (small-temporary-file-directory, auto-save-file-name-transforms):
5267 * epa-hook.el (auto-encryption-mode):
5268 * composite.el (global-auto-composition-mode):
5269 Use custom-initialize-delay.
5270 * startup.el (command-line): Don't explicitly call
5271 custom-reevaluate-setting for all the above vars.
5272 * custom.el (custom-initialize-safe-set)
5273 (custom-initialize-safe-default): Delete.
5275 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5277 * term/x-win.el (x-initialize-window-system):
5278 * term/w32-win.el (w32-initialize-window-system):
5279 * term/ns-win.el (ns-initialize-window-system): Don't call
5280 mouse-wheel-mode since it's enabled globally by default already.
5282 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
5283 actually define the variable, but only silences the byte-compiler.
5284 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
5285 before looking it up.
5286 (mouse-wheel-scroll-amount): Also reset the bindings if this value
5289 2009-09-12 Glenn Morris <rgm@gnu.org>
5291 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
5293 (elint-add-required-env): Don't beep on error.
5294 (elint-forms): In case of error, return ENV unchanged.
5295 (elint-init-env): Skip non-list forms.
5296 (elint-log): Handle unknown file positions.
5298 2009-09-12 Daiki Ueno <ueno@unixuser.org>
5300 * epg.el (epg-make-context): Add autoload cookie.
5301 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
5302 (epg-decrypt-string, epg-start-verify, epg-verify-file)
5303 (epg-verify-string, epg-start-sign, epg-sign-file)
5304 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
5305 (epg-encrypt-string, epg-start-export-keys)
5306 (epg-export-keys-to-file, epg-export-keys-to-string)
5307 (epg-start-import-keys, epg-import-keys-from-file)
5308 (epg-import-keys-from-string, epg-start-receive-keys)
5309 (epg-receive-keys, epg-import-keys-from-server)
5310 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
5311 (epg-sign-keys, epg-start-generate-key)
5312 (epg-generate-key-from-file, epg-generate-key-from-string):
5313 Remove autoload cookie.
5315 2009-09-12 Eli Zaretskii <eliz@gnu.org>
5317 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
5318 reevaluation of trash-directory.
5320 * mwheel.el: Fix last change.
5321 (mouse-wheel-mode): New defvar.
5322 (mouse-wheel-mode): Remove autoload cookie.
5324 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5326 * mwheel.el (mwheel-installed-bindings): New var.
5327 (mouse-wheel-mode): Use it, so as to make sure we really remove all
5328 the bindings we set last time. Use custom-initialize-delay.
5329 * loadup.el: Load mwheel after term/*-win.el.
5330 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
5331 and mouse-wheel-up-event now that their first evaluation is done
5332 sufficiently late to be correct.
5334 * startup.el (tutorial-directory): Make it a defcustom.
5335 Use custom-initialize-delay rather than eval-at-startup to set it.
5336 * image.el (image-load-path): Make it a defcustom.
5337 Use custom-initialize-delay rather than eval-at-startup to set it.
5338 * subr.el (eval-at-startup): Remove.
5339 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
5341 * subr.el (do-after-load-evaluation): Warn the user after loading an
5344 2009-09-12 Glenn Morris <rgm@gnu.org>
5346 * proced.el (proced-mark-alt): Remove alias.
5347 (proced-mode-map): Remove proced-mark-alt.
5349 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
5350 Elint file and directory. Remove initialization entry.
5352 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
5354 (elint-current-buffer): Set mode-line-process.
5355 (elint-init-env): Handle define-derived-mode.
5356 Fix declare-function with unspecified arglist. Guard against odd
5357 defalias statements (eg iso-insert's 8859-1-map).
5358 (elint-add-required-env): Use a temp buffer.
5359 (elint-form): Just print the function/macro name, not the whole form.
5360 Return env unchanged if we fail to parse a macro.
5361 (elint-forms): Guard against parse errors.
5362 (elint-output): New function, to handle batch mode.
5363 (elint-log-message): Add optional argument. Use elint-output.
5364 (elint-set-mode-line): New function.
5366 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
5368 * emacs-lisp/elp.el (elp-not-profilable): Add more
5369 functions (Bug#4233).
5371 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
5373 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
5374 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
5376 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
5378 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
5379 (gdb-var-list-children): Use json parsing.
5381 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
5383 * progmodes/js.el (js--proper-indentation): Handle the case where
5384 char-before is null. Reported by Deniz Dogan.
5386 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
5388 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
5390 2009-09-11 Daiki Ueno <ueno@unixuser.org>
5392 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
5393 (epg-digest-algorithm-alist): Add SHA224.
5394 (epg-context-set-passphrase-callback)
5395 (epg-context-set-progress-callback): Add description about
5398 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5400 * custom.el (custom-delayed-init-variables): New var.
5401 (custom-initialize-delay): New function.
5402 * startup.el (command-line): "Re"evaluate all vars in
5403 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
5404 explicitly any more.
5405 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
5406 to avoid creating a ~/.emacs.d at build-time (bug#4347).
5408 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
5410 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
5412 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
5413 (gdb-var-update-handler): Use json parsing.
5415 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
5417 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
5418 decode annotated text, regardless of language environment. (Bug#2741)
5420 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5422 * Makefile.in (autoloads): Make rmail.el writable as well.
5424 2009-09-11 Glenn Morris <rgm@gnu.org>
5426 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
5428 * dired.el: Regenerate with extracted autoloads.
5429 * Makefile.in (autoloads): Make dired.el writable.
5431 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
5432 * ibuffer.el: Regenerate with extracted autoloads.
5433 * Makefile.in (autoloads): Make ibuffer.el writable.
5435 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
5436 * version.el (emacs-copyright, emacs-major-version)
5437 (emacs-minor-version): Reformat doc-strings for make-docfile.
5439 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
5440 functions and variables, since they must be stuff specific to some other
5442 (apropos-print): Make mouse-click message less specific about button.
5444 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
5445 that records where a macro was defined.
5446 * help-fns.el (describe-function-1): Mention if a function has a
5448 * help-mode.el (help-function-cmacro): New button.
5450 * locate.el (top-level): Always require dired.
5451 (locate-mode-map): Initialize inside the defvar.
5453 * net/ange-ftp.el (dired-compress-file): Declare.
5454 (ange-ftp-dired-compress-file): Add doc string.
5456 * term/ns-win.el (x-display-name, x-setup-function-keys):
5457 Unify doc-strings with X versions.
5459 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5461 * emulation/crisp.el (crisp-mode-map): Move initialization
5463 (crisp-mode): Use define-minor-mode.
5465 * progmodes/xscheme.el (xscheme-evaluation-commands):
5466 Put a :advertised-binding property rather than using
5467 advertised-xscheme-send-previous-expression.
5468 (advertised-xscheme-send-previous-expression): Declare obsolete.
5469 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
5471 (crisp-mode): Add corresponding bindings to
5472 undo's :advertised-binding instead.
5473 * dired.el (dired-mode-map): Put a :advertised-binding property rather
5474 than using dired-advertised-find-file.
5475 (dired-advertised-find-file):
5476 * simple.el (advertised-undo):
5477 * wid-edit.el (advertised-widget-backward): Declare obsolete.
5478 (widget-keymap): Put a :advertised-binding property rather
5479 than using advertised-widget-backward.
5480 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
5481 than using advertised-undo.
5482 * tutorial.el (tutorial--default-keys): Adjust accordingly.
5484 2009-09-10 Simon South <ssouth@slowcomputing.org>
5486 * progmodes/delphi.el (delphi-tab): Indent region when Transient
5487 Mark mode is enabled and region is active; otherwise indent or
5488 insert TAB as usual.
5489 (delphi-mode): Update description of TAB-key binding.
5491 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5493 * subr.el (define-key-rebound-commands): Mark obsolete.
5494 * startup.el (precompute-menubar-bindings): Remove.
5495 (normal-top-level): Remove obsolete code that tried to precompute
5497 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
5498 define-key-rebound-commands and precompute-menubar-bindings.
5500 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
5502 * net/imap.el (imap-interactive-login): Better messages.
5503 (imap-open): Fix bug with renamed buffer on reconnect.
5504 (imap-authenticate): Add buffer-local imap-last-authenticator variable
5505 for easier debugging and cleaner code. On successful (guessed based on
5506 server capabilities) secondary authentication, set imap-state
5508 (imap-last-authenticator): Define imap-last-authenticator as a variable
5511 2009-09-10 Glenn Morris <rgm@gnu.org>
5513 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
5515 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
5516 (byte-compile-file-form-autoload): Don't warn about unknown functions
5517 where the autoload statement comes after the use.
5518 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
5519 that any handlers inside the body (eg require) are in turn respected.
5521 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
5524 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
5525 and syntax and abbrev tables basic docs, if they don't have any.
5527 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
5529 * international/mule-cmds.el (top-level): Require cl when compiling.
5530 (view-hello-file): Use default-value rather than
5531 default-enable-multibyte-characters.
5533 * progmodes/fortran.el: Move all safe and risky properties into the
5536 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
5537 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
5539 Put autoloads in rmail.el rather than loaddefs.el.
5540 * mail/rmail.el: Regenerate with extracted autoloads.
5542 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
5543 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
5545 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
5547 Reported in thread for Bug#4375.
5548 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
5549 "-data-evaluate-expression" instead of print.
5550 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
5551 (gdb-tooltip-print): Parse output from above MI command.
5552 (gdb): Revert 2009-08-11 change. User should detach inferior
5555 Remove the word "separate" from IO functions as inferior
5556 output is now never displayed in the GUD buffer.
5558 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
5560 * startup.el (command-line-normalize-file-name): On Windows and
5561 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
5563 2009-09-10 Juri Linkov <juri@jurta.org>
5565 * isearch.el (isearch-text-char-description): Propertize escape
5566 character sequences with the `escape-glyph' face. (Bug#4344)
5568 * simple.el (shell-command): Set asynchronous process filter to
5569 `comint-output-filter'. (Bug#4343)
5571 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
5572 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
5573 the list. Move "asm" to the bottom.
5574 (grep-find-ignored-directories): Add `choice' with nil value
5575 to empty the list easily.
5576 (grep-find-ignored-files): New option.
5577 (grep-files-history): Set to nil by default instead of '("ch" "el").
5578 (grep-compute-defaults): Add "<X>" to `grep-template'.
5579 (grep-read-files): Bind new local variables `default-alias' and
5580 `default-extension'. Use a list of default values for the file prompt.
5581 (lgrep): Add `--exclude=' command line options composed from
5582 `grep-find-ignored-files'.
5583 (rgrep): Add `-name' command line options composed from
5584 `grep-find-ignored-files'. (Bug#4301)
5586 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5588 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
5591 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
5593 * calendar/time-date.el (autoload):
5594 Expand define-obsolete-function-alias into defalias and make-obsolete
5595 for old Emacsen that Gnus supports.
5596 (with-no-warnings): Define it for old Emacsen.
5597 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
5599 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
5600 float-time is available; suppress compile warning for time-to-seconds.
5602 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
5604 * net/imap.el (imap-message-map): Docstring fix.
5606 2009-09-09 Glenn Morris <rgm@gnu.org>
5608 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
5609 line numbers too. (Bug#4374)
5611 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5613 * smerge-mode.el (smerge-remove-props, smerge-refine):
5614 Use with-silent-modifications (bug#4342).
5616 * subr.el (with-silent-modifications): New macro.
5618 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
5620 * files.el (top-level): Require `cl' when compiling.
5622 2009-09-07 Glenn Morris <rgm@gnu.org>
5624 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
5626 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
5627 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
5629 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
5631 * vc-git.el (vc-git-annotate-command): Use separator to parse
5632 arguments correctly.
5634 2009-09-06 Eli Zaretskii <eliz@gnu.org>
5636 * proced.el (proced-mode): Doc fix.
5638 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
5640 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
5642 (tramp-do-file-attributes-with-ls): Check for file existence at
5644 (tramp-do-file-attributes-with-stat): Likewise.
5645 (tramp-convert-file-attributes): Return nil when attr is nil.
5647 2009-09-05 Glenn Morris <rgm@gnu.org>
5649 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
5650 properties to this button.
5651 (diary-fancy-display): Don't extend the button to the final newline.
5652 (diary-fancy-display-mode): Continue to define "q" as a local key.
5654 * calendar/cal-china.el (holiday-chinese): Make it slightly more
5657 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
5659 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
5660 (byte-compile-dest-file-function): New option.
5661 (byte-compile-dest-file): Doc fix.
5662 Obey byte-compile-dest-file-function.
5663 (byte-compile-cl-file-p): New function.
5664 (byte-compile-eval): Only suppress noruntime warnings about cl functions
5665 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
5666 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
5667 than for file being previously loaded.
5668 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
5669 (byte-compile-file-form-require): Handle the case where requiring a file
5670 indirectly causes CL to be loaded.
5672 2009-09-05 Karl Fogel <kfogel@red-bean.com>
5674 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
5675 before killing the old buffer, since by the time `kill-buffer' is
5676 run so many buffer variables have been set to nil that it may not
5677 behave as expected. (Bug#4061)
5679 2009-09-05 Karl Fogel <kfogel@red-bean.com>
5681 * files.el (find-alternate-file): If the old buffer is modified
5682 and visiting a file, behave similarly to `kill-buffer' when
5683 killing it, thus reverting to the pre-1.878 behavior; see
5684 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
5685 for discussion. Also, consult `buffer-file-name' as a variable
5686 not as a function, for consistency with the rest of the code.
5688 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
5690 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
5691 also when adding a new directory.
5693 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
5696 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5698 * files.el (locate-file-completion-table): Make it provide boundary
5699 information, so partial-completion works better.
5701 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
5703 * mail/footnote.el (Footnote-text-under-cursor):
5704 Check footnote-text-marker-alist before using it (bug#4324).
5706 2009-09-04 Glenn Morris <rgm@gnu.org>
5708 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
5709 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
5710 * play/solitaire.el, play/tetris.el:
5711 Remove leading * from defcustom and defface docs.
5713 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
5715 (diary-fancy-overriding-map): New variable.
5716 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
5719 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
5722 2009-09-03 Glenn Morris <rgm@gnu.org>
5724 * arc-mode.el (archive-mode):
5725 * dos-fns.el (set-default-process-coding-system):
5726 * man.el (Man-getpage-in-background):
5727 * menu-bar.el (menu-bar-describe-menu):
5728 * server.el (server-process-filter):
5729 * startup.el (command-line):
5730 * tar-mode.el (tar-header-block-tokenize, tar-extract):
5731 * w32-fns.el (set-default-process-coding-system):
5732 * x-dnd.el (x-dnd-handle-file-name):
5733 * international/mule-cmds.el (mule-menu-keymap)
5734 (set-default-coding-systems, language-info-alist, set-language-info)
5735 (set-language-environment, standard-display-european-internal)
5736 (set-locale-environment):
5737 * international/mule-diag.el (mule-diag):
5738 * mail/emacsbug.el (report-emacs-bug):
5739 * mail/rmail.el (rmail-mode):
5740 * mail/sendmail.el (mail-setup):
5741 Use default-value rather than default-enable-multibyte-characters.
5743 * progmodes/f90.el: Move all safe properties into the defcustoms.
5744 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
5746 * calendar/appt.el (appt-check):
5747 * calendar/diary-lib.el (diary-set-header, diary-live-p)
5748 (diary-check-diary-file, diary-list-entries)
5749 (diary-include-other-diary-files, diary-simple-display)
5750 (diary-fancy-display, diary-print-entries)
5751 (diary-mark-included-diary-files, diary-make-entry):
5752 Don't call substitute-in-file-name on diary-file.
5754 2009-09-03 Eduard Wiebe <usenet@pusto.de>
5755 Stefan Monnier <monnier@iro.umontreal.ca>
5757 * mail/footnote.el (footnote-prefix): Make it a defcustom.
5758 (footnote-mode-map): Move initialization into the declaration.
5759 (footnote-minor-mode-map): Define it rather than changing global-map.
5760 (footnote-mode): Use define-minor-mode.
5762 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
5764 * net/tramp.el (tramp-handle-file-attributes-with-ls)
5765 (tramp-do-file-attributes-with-perl)
5766 (tramp-do-file-attributes-with-stat): Rename from
5767 `tramp-handle-file-attributes-with-*'.
5768 (tramp-handle-file-attributes): Use them.
5769 (tramp-do-directory-files-and-attributes-with-perl)
5770 (tramp-do-directory-files-and-attributes-with-stat): Rename from
5771 `tramp-handle-directory-files-and-attributes-with-*'.
5772 (tramp-handle-directory-files-and-attributes): Use them.
5773 (tramp-method-out-of-band-p): Additional parameter SIZE.
5774 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
5775 (tramp-handle-write-region): Use it.
5776 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
5777 (tramp-handle-vc-registered): Check, whether the first run did
5778 return files to be tested.
5779 (tramp-advice-make-auto-save-file-name): Do not call directly
5780 `tramp-handle-make-auto-save-file-name', because this would bypass
5781 the locking mechanism.
5783 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
5784 (file-remote-p, process-file, start-file-process, set-file-times)
5785 (tramp-compat-file-attributes): Compatibility functions shall not
5786 call directly `tramp-handle-*', because this would bypass the
5788 (tramp-compat-number-sequence): New defun.
5790 2009-09-02 Glenn Morris <rgm@gnu.org>
5792 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
5793 alias for float-time.
5794 (time-to-number-of-days): In Emacs, use float-time.
5795 * net/newst-backend.el (time-add): Suppress warnings from compat
5797 * time.el (emacs-uptime, emacs-init-time):
5798 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
5799 Use float-time rather than time-to-seconds.
5801 * minibuffer.el (completion-initials-expand): Fix typo.
5803 * faces.el (modeline, modeline-inactive, modeline-highlight)
5804 (modeline-buffer-id):
5805 * info.el (info-menu-5): Mark these face aliases as obsolete.
5807 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
5809 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
5811 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
5812 no "--thread" option.
5813 (gdb-stopped): Don't print "Switched to thread" message when it is
5816 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5818 * minibuffer.el (completion-try-completion)
5819 (completion-all-completions): Remove ill-defined (and
5820 mistakenly installed and luckily never used nor documented)
5821 `completion-styles' property.
5822 (completion-initials-expand, completion-initials-all-completions)
5823 (completion-initials-try-completion): New functions.
5824 (completion-styles-alist): Add doc to each entry.
5825 Add new `initials' entry.
5827 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
5829 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
5830 MI command -var-evaluate-expression.
5831 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
5832 and tweak for case of string child.
5833 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
5835 2009-09-01 Glenn Morris <rgm@gnu.org>
5837 * add-log.el (change-log-date-face, change-log-name-face)
5838 (change-log-email-face, change-log-file-face, change-log-list-face)
5839 (change-log-conditionals-face, change-log-function-face)
5840 (change-log-acknowledgement-face):
5841 * cus-edit.el (custom-invalid-face, custom-rogue-face)
5842 (custom-modified-face, custom-set-face, custom-changed-face)
5843 (custom-saved-face, custom-button-face, custom-button-pressed-face)
5844 (custom-documentation-face, custom-state-face, custom-comment-face)
5845 (custom-comment-tag-face, custom-variable-tag-face)
5846 (custom-variable-button-face, custom-face-tag-face)
5847 (custom-group-tag-face-1, custom-group-tag-face):
5848 * diff-mode.el (diff-header-face, diff-file-header-face)
5849 (diff-index-face, diff-hunk-header-face, diff-removed-face)
5850 (diff-added-face, diff-changed-face, diff-function-face)
5851 (diff-context-face, diff-nonexistent-face):
5852 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
5853 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
5854 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
5855 (Info-title-4-face):
5856 * isearch.el (isearch-lazy-highlight-face):
5857 * log-view.el (log-view-file-face, log-view-message-face):
5858 * paren.el (show-paren-match-face, show-paren-mismatch-face):
5859 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
5860 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
5862 * smerge-mode.el (smerge-mine-face, smerge-other-face)
5863 (smerge-base-face, smerge-markers-face):
5864 * wid-edit.el (widget-documentation-face, widget-button-face)
5865 (widget-field-face, widget-single-line-field-face)
5866 (widget-inactive-face, widget-button-pressed-face):
5867 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
5868 (woman-addition-face):
5869 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
5870 (eshell-ls-executable-face, eshell-ls-readonly-face)
5871 (eshell-ls-unreadable-face, eshell-ls-special-face)
5872 (eshell-ls-missing-face, eshell-ls-archive-face)
5873 (eshell-ls-backup-face, eshell-ls-product-face)
5874 (eshell-ls-clutter-face):
5875 * eshell/em-prompt.el (eshell-prompt-face):
5876 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
5877 * obsolete/old-whitespace.el (whitespace-highlight-face):
5878 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
5879 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
5880 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
5881 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
5882 (antlr-font-lock-literal-face):
5883 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
5884 (ebrowse-root-class-face, ebrowse-file-name-face)
5885 (ebrowse-default-face, ebrowse-member-attribute-face)
5886 (ebrowse-member-class-face, ebrowse-progress-face):
5887 * progmodes/make-mode.el (makefile-space-face):
5888 * progmodes/sh-script.el (sh-heredoc-face):
5889 * textmodes/flyspell.el (flyspell-incorrect-face)
5890 (flyspell-duplicate-face):
5891 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
5892 * textmodes/texinfo.el (texinfo-heading-face):
5893 Mark face aliases with "-face" suffix as obsolete.
5895 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
5898 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
5899 (eudc-bob-sound-menu): Use defvar rather than defconst, since
5900 easy-menu-define wants to modify these.
5902 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
5904 * net/browse-url.el (browse-url-file-url):
5905 * term/internal.el (dos-codepage-setup):
5906 Use default-value rather than default-enable-multibyte-characters.
5908 * progmodes/etags.el (etags-goto-tag-location):
5909 * progmodes/flymake.el (flymake-highlight-line)
5910 (flymake-goto-file-and-line, flymake-goto-line):
5911 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
5912 (gdb-goto-breakpoint):
5913 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
5914 * progmodes/python.el (python-find-function)
5915 (python-pdbtrack-track-stack-file):
5916 * progmodes/verilog-mode.el (verilog-surelint-off):
5917 * term/ns-win.el (ns-open-file-select-line):
5918 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5919 Use forward-line rather than goto-line.
5921 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
5922 * textmodes/reftex-index.el (reftex-display-index):
5923 * textmodes/reftex-ref.el (reftex-offer-label-menu):
5924 * textmodes/reftex-toc.el (reftex-toc):
5925 Remove unnecessary bindings of default-major-mode (all are followed by
5926 major-mode check and possible mode switch).
5928 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
5930 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5931 Handle watchpoints (bug#4282).
5932 (def-gdb-thread-buffer-command): Enable thread to be selected by
5933 clicking without selecting threads buffer first.
5934 (gdb-current-context-command): Use selected frame so that "up",
5935 "down" etc work in the GUD buffer.
5936 (gdb-update): Find selected frame before rendering stack buffer.
5937 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
5939 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5941 * progmodes/sym-comp.el (displayed-completions): Remove.
5942 (symbol-complete): Use minibuffer-complete.
5944 2009-08-31 Glenn Morris <rgm@gnu.org>
5946 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
5948 * apropos.el (apropos-symbols-internal):
5949 Handle (obsolete) face aliases.
5951 * faces.el (describe-face): Adjust the output format to be more like
5952 describe-variable, and to mention (obsolete) face aliases.
5953 Adjust the whitespace so that help-setup-xref works.
5955 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
5956 * calendar/diary-lib.el (diary-button-face):
5957 Mark these face aliases as obsolete.
5959 * calendar/calendar.el (calendar-today): Doc fix.
5961 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
5963 * progmodes/gdb-mi.el (gdb-control-all-threads)
5964 (gdb-control-current-thread): Force tool bar update.
5965 (gdb-non-stop-handler): New function.
5966 (gdb-init-1): Use it to test if non-stop mode is supported.
5967 Remove unused gdbmi buffer type.
5969 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5971 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
5972 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
5974 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
5976 * comint.el (comint-exec-1): Check command is non-null first.
5977 Part of gdb-mi.el change (2009-08-28).
5979 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5981 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
5983 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
5985 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
5986 instead of `dolist' to avoid a recursive require when bootstrapping.
5988 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5990 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
5992 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
5994 * net/imap.el (imap-send-command): Simplify.
5995 (imap-wait-for-tag): point-max -> buffer-size.
5997 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
5999 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
6000 with constant argument.
6002 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
6004 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
6006 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
6007 Change default, since most of our files don't have a history.
6008 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
6011 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6014 * calc/calc.el: Improve commenting convention.
6015 (calc-digit-map, toplevel): Simplify.
6017 * comint.el (comint-insert-input): Be careful to only set point if we
6018 don't delegate to some other command.
6020 * proced.el (proced-signal-list): Make it an alist.
6021 (proced-grammar-alist): Capitalize names.
6022 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
6023 Disable undo manually and make it read-only.
6024 Use completion-annotate-function.
6026 * minibuffer.el (minibuffer-message): If the current buffer is not
6027 a minibuffer, insert the message in the echo area rather than at the
6029 (completion-annotate-function): New variable.
6030 (minibuffer-completion-help): Use it.
6031 (completion--embedded-envvar-table): Environment vars are
6032 always case-sensitive.
6034 2009-08-30 Glenn Morris <rgm@gnu.org>
6036 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
6037 from fortran-current-defun.
6038 (fortran-beginning-of-subprogram): Be more precise about finding the
6039 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
6040 (fortran-end-of-subprogram): Simplify.
6041 (fortran-current-defun): Use fortran-start-prog-re.
6043 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
6045 * subr.el (do-after-load-evaluation): Simplify.
6047 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
6049 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
6051 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
6052 (vc-rcs-print-log): Use it.
6054 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
6056 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6058 * paths.el (abbrev-file-name): Move to abbrev.el.
6059 * abbrev.el (abbrev-file-name): Move from paths.el.
6060 Obey user-emacs-directory.
6061 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
6062 user-emacs-directory.
6063 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
6064 abbrev-file-name and calc-settings-file any more.
6065 * startup.el (command-line): Recompute abbrev-file-name and
6066 abbreviated-home-dir.
6067 (normal-no-mouse-startup-screen): Improve the generic code and get rid
6068 of the special code for when C-h bindings haven't been changed.
6069 (display-startup-echo-area-message): Use with-current-buffer.
6070 (command-line-1): Use a list of strings, rather than a list of lists
6071 of strings for longopts.
6073 * files.el (get-free-disk-space): Use / for default-directory.
6075 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
6076 Use with-current-buffer.
6078 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
6079 Recognize immutable variables like most-positive-fixnum.
6080 (byte-compile-setq-default): Check and warn if trying to assign
6081 to an immutable variable, or a non-variable.
6083 * progmodes/cc-vars.el (c-comment-continuation-stars):
6084 * progmodes/cc-engine.el (c-looking-at-bos):
6085 * progmodes/cc-cmds.el (c-toggle-auto-state)
6086 (c-forward-into-nomenclature, c-backward-into-nomenclature)
6087 (c-comment-line-break-function): Add version of obsolescence.
6089 2009-08-28 Juri Linkov <juri@jurta.org>
6091 * files.el (magic-fallback-mode-alist): Add ZIP magic number
6092 associated with `archive-mode'.
6094 * image.el (image-type-header-regexps): Use only JPEG magic number
6095 to determine JPEG images, and don't use `image-jpeg-p' because
6096 Emacs can display non-JFIF non-Exif JPEG images.
6098 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
6100 * arc-mode.el (archive-mode):
6101 * emacs-lisp/re-builder.el (re-builder-unload-function):
6102 Protect against the default value of `major-mode' being nil.
6104 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
6106 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
6107 Fix typos in docstrings.
6109 * progmodes/js.el (js--macro-decl-re): Doc fix.
6110 (js--plain-method-re, js--split-name): Refloc docstring.
6111 (js--class-styles, js--make-merged-item, js--splice-into-items):
6112 Fix typos in docstrings; reflow docstrings.
6113 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
6114 (js--variable-decl-matcher, js--inside-pitem-p)
6115 (js--parse-state-at-point, js--get-all-known-symbols)
6116 (js--symbol-history, js-find-symbol, js--js-references)
6117 (js--moz-interactor, js--js-encode-value, js--read-tab):
6118 Fix typos in docstrings.
6120 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6122 * textmodes/reftex.el (reftex-get-file-buffer-force):
6123 * progmodes/verilog-mode.el (verilog-batch-execute-func):
6124 * emulation/viper.el (viper-go-away, viper-set-hooks):
6125 * emacs-lisp/re-builder.el (re-builder-unload-function):
6126 * emacs-lisp/bytecomp.el (byte-compile-file):
6127 * ses.el (ses-unload-function):
6128 * hexl.el (hexl-find-file):
6129 * files.el (normal-mode):
6130 * ehelp.el (with-electric-help):
6131 * autoinsert.el (auto-insert-alist):
6132 * arc-mode.el (archive-mode):
6133 Use (default-value 'major-mode) instead of default-major-mode.
6135 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
6136 * international/mule.el (load-with-code-conversion):
6137 * emacs-lisp/debug.el (debug):
6138 * ediff-vers.el (ediff-rcs-get-output-buffer):
6139 * dired.el (dired-internal-noselect): Don't let-bind
6140 default-major-mode around code that doesn't use it.
6141 E.g. buffer creation via get-buffer-create doesn't use it.
6143 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
6145 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
6146 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
6147 when writing the temp file. Otherwise, epa-file gets confused.
6148 (tramp-register-file-name-handlers): Make it a defun. Move also
6149 `epa-file-handler' to the front of `file-name-handler-alist'.
6151 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6153 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
6154 start right after a ^M.
6155 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
6156 (tramp-completion-file-name-regexp-separate)
6157 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
6158 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
6159 Don't modify last-coding-system-used by accident.
6160 (tramp-completion-file-name-handler): Apply the checks here,
6161 instead during registration.
6162 (tramp-register-file-name-handlers) Renamed from
6163 `tramp-register-file-name-handler'. Register both
6164 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
6165 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
6167 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
6169 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
6171 (gdb-init-1, gdb-display-separate-io-buffer)
6172 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
6174 (gdb-inferior-io-mode): Use make-comint-in-buffer.
6175 (gdb-inferior-filter): Use comint-output-filter to stop
6176 echoing and remove ^M characters.
6178 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * emulation/viper-init.el (viper-restore-cursor-type):
6181 * emulation/cua-base.el (cua--update-indications):
6182 Replace default-cursor-type with (default-value 'cursor-type).
6184 * mail/sendmail.el (mail-recover-1):
6185 * international/mule-diag.el (describe-current-coding-system-briefly)
6186 (describe-current-coding-system):
6187 * international/mule-cmds.el (select-safe-coding-system)
6188 (select-message-coding-system)
6189 (set-language-environment-coding-systems, set-locale-environment):
6190 * hexl.el (hexl-insert-multibyte-char):
6191 * dos-w32.el (find-buffer-file-type-coding-system):
6192 * simple.el (what-cursor-position):
6193 Replace uses of default-buffer-file-coding-system
6194 with (default-value 'buffer-file-coding-system).
6196 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
6197 Replace uses of default-cursor-in-non-selected-windows
6198 with (default-value 'cursor-in-non-selected-windows).
6199 Use with-current-buffer.
6201 * mail/feedmail.el: Use CL macros.
6202 (feedmail-run-the-queue, feedmail-send-it-immediately):
6203 * dos-w32.el (find-buffer-file-type): Replace uses of
6204 default-buffer-file-type with (default-value 'buffer-file-type).
6206 2009-08-28 Glenn Morris <rgm@gnu.org>
6208 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
6209 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
6210 Use default-value of major-mode rather than default-major-mode.
6212 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6214 * Makefile.in (update-elcfiles): Report left over elc files.
6216 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
6217 expand-file-name and with-current-buffer.
6218 (mail-get-names, mail-directory): Use with-current-buffer.
6220 * vc.el (vc-read-revision): New function.
6221 (vc-version-diff, vc-merge): Use it.
6223 2009-08-27 Sam Steingold <sds@gnu.org>
6225 * simple.el (kill-do-not-save-duplicates): New user option.
6226 (kill-new): When it is non-nil, and the new string is the same as
6227 the latest kill, set replace to t to avoid duplicates in kill-ring.
6229 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
6231 * net/tramp.el (tramp-handle-process-file): Do not flush all
6232 caches when `process-file-side-effects' is set.
6233 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
6234 instead of `tramp-find-file-exists-command'.
6235 Unset `process-file-side-effects'.
6237 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
6239 * net/tramp.el (tramp-methods): New method "rsyncc".
6240 (top): Add completion function for "rsyncc".
6241 (tramp-message-show-message): New defvar.
6242 (tramp-message, tramp-error): Use it.
6243 (tramp-do-copy-or-rename-file-directly): Extend check for direct
6245 (tramp-do-copy-or-rename-file-out-of-band): Handle new
6246 `tramp-methods' entry `copy-env' of "rsyncc".
6247 (tramp-vc-registered-read-file-names): New defconst.
6248 (tramp-vc-registered-file-names): New defvar.
6249 (tramp-handle-vc-registered): Implement optimization strategy.
6250 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
6251 (tramp-vc-file-name-handler): New defun.
6252 (tramp-get-ls-command, tramp-get-test-command)
6253 (tramp-get-file-exists-command, tramp-get-remote-ln)
6254 (tramp-get-remote-perl, tramp-get-remote-stat)
6255 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
6257 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
6258 (tramp-cache-inhibit-cache): Extend doc string. It allows also
6260 (tramp-get-file-property): Check for timestamps in
6261 `tramp-cache-inhibit-cache'.
6262 (tramp-set-file-property): Write timestamp.
6264 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
6266 * language/japan-util.el (japanese-symbol-table): Add entries for
6269 * international/characters.el: Add category `j' to cp932-2-byte.
6271 2009-08-27 Kenichi Handa <handa@m17n.org>
6273 * international/fontset.el (build-default-fontset-data): New macro.
6274 (setup-default-fontset): Use build-default-fontset-data for CJK,
6275 tibetan, ethiopic, and ipa.
6277 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6279 * cus-start.el (default-major-mode): Customize `major-mode' instead.
6280 (enable-multibyte-characters): Not customizable any more.
6282 * subr.el (default-mode-line-format, default-header-line-format)
6283 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
6284 (default-direction-reversed, default-truncate-lines)
6285 (default-left-margin, default-tab-width, default-case-fold-search)
6286 (default-left-margin-width, default-right-margin-width)
6287 (default-left-fringe-width, default-right-fringe-width)
6288 (default-fringes-outside-margins, default-scroll-bar-width)
6289 (default-vertical-scroll-bar, default-indicate-empty-lines)
6290 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
6291 (default-fringe-cursor-alist, default-scroll-up-aggressively)
6292 (default-scroll-down-aggressively, default-fill-column)
6293 (default-cursor-type, default-buffer-file-type)
6294 (default-cursor-in-non-selected-windows)
6295 (default-buffer-file-coding-system, default-major-mode)
6296 (default-enable-multibyte-characters): Mark as obsolete.
6298 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
6300 * vc-dir.el (vc-dir-update): Remove debug helper.
6302 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
6304 2009-08-26 Sam Steingold <sds@gnu.org>
6306 * simple.el (save-interprogram-paste-before-kill): New user option.
6307 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
6308 save the interprogram-paste into kill-ring before overriding it
6309 with the Emacs kill.
6311 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
6313 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
6314 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
6315 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
6316 and move to vc-rcs.el.
6317 (vc-default-next-revision): Rename to vc-rcs-next-revision and
6319 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
6320 (vc-rcs-update-changelog): Remove.
6321 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
6322 and move to vc-rcs.el.
6324 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
6325 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
6327 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
6328 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
6329 vc.el, renamed to be RCS specific.
6331 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
6333 (vc-cvs-update-changelog): Move here from vc.el.
6335 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
6338 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
6340 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
6342 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
6344 * vc-git.el (vc-git-register): Use "git add" for directories.
6345 (vc-git-stash, vc-git-stash-show): New functions.
6346 (vc-git-extra-menu-map): Bind them.
6348 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
6349 directory correctly in case the item is a directory itself.
6351 * vc.el: Document the desired behavior for reverted files in the
6353 (vc-default-prettify-state-info): Remove function, unused.
6355 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
6357 2009-08-26 Glenn Morris <rgm@gnu.org>
6359 * bindings.el (standard-mode-line-format): Reposition dashes in
6360 which-func entry. (Bug#4217)
6362 * files.el (enable-local-variables, enable-local-eval)
6363 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
6365 (auto-mode-alist, ignored-local-variables)
6366 (save-some-buffers-action-alist): Move risky declarations to the
6368 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
6369 (font-lock-defaults, format-alist, imenu--index-alist)
6370 (imenu-generic-expression, input-method-alist, minor-mode-alist)
6371 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
6372 (mode-line-modified, mode-line-mule-info, mode-line-position)
6373 (mode-line-process, mode-line-remote, outline-level)
6374 (parse-time-rules, rmail-output-file-alist)
6375 (special-display-buffer-names, vc-mode):
6376 Move risky declarations to the relevant files.
6377 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
6378 (mode-line-modified, mode-line-process, mode-line-position)
6379 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
6380 * font-core.el (font-lock-defaults):
6381 * format.el (format-alist):
6382 * vc-hooks.el (vc-mode):
6383 * window.el (special-display-buffer-names):
6384 * international/mule-cmds.el (input-method-alist):
6385 Define riskiness here (dumped file) rather than in files.el.
6386 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
6387 * imenu.el (imenu-generic-expression, imenu--index-alist):
6388 * outline.el (outline-level):
6389 * time.el (display-time-string):
6390 * calendar/parse-time.el (parse-time-rules):
6391 * mail/rmailout.el (rmail-output-file-alist):
6392 Autoload riskiness here, rather than placing in files.el.
6394 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
6396 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
6398 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
6400 * simple.el (process-file-side-effects): New defvar.
6402 * dired-aux.el (dired-show-file-type):
6403 * vc.el (vc-diff-internal):
6404 * vc-arch.el (vc-arch-diff):
6405 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
6406 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
6407 * vc-git.el (vc-git-registered, vc-git-working-revision)
6408 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
6409 (vc-git--empty-db-p):
6410 * vc-hooks.el (vc-user-login-name):
6411 * vc-svn.el (vc-svn-registered, vc-svn-state)
6412 (vc-svn-dir-extra-headers, vc-svn-find-revision):
6413 * progmodes/grep.el (grep-probe): Let-bind
6414 `process-file-side-effects' with nil.
6416 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
6418 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
6419 daemon. Replace ping by checking for running service for bluez
6420 and zeroconf. (Bug#4239)
6422 2009-08-25 Kevin Ryde <user42@zip.com.au>
6424 * net/dig.el (dig): Add autoload cookie.
6426 2009-08-25 Glenn Morris <rgm@gnu.org>
6428 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
6429 load-history for absolute file-names.
6430 (byte-compile-file-form-require): Warn about use of the cl package.
6432 * format.el (format-alist): Doc fix.
6434 * play/bubbles.el (top-level): Don't require cl at run-time.
6436 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
6439 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
6441 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
6443 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
6445 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
6447 * calc/calc-alg.el (math-trig-rewrite)
6448 (math-hyperbolic-trig-rewrite): New functions.
6449 (calc-simplify): Simplify trig functions when asked.
6451 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6453 * diff-mode.el (diff-find-source-location): Avoid goto-line.
6455 2009-08-24 Kenichi Handa <handa@m17n.org>
6457 * language/ind-util.el (mapthread): Delete it.
6458 (combinatorial): New function.
6459 (indian--puthash-cv): Use combinatorial instead of mapthread.
6461 2009-08-22 Kevin Ryde <user42@zip.com.au>
6463 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
6464 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
6465 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
6466 Clarify docstring that the value is strings not symbols.
6467 (checkdoc-list-of-strings-p): New function.
6469 2009-08-22 Glenn Morris <rgm@gnu.org>
6471 * files.el (auto-mode-alist):
6472 * hippie-exp.el (he-concat-directory-file-name):
6473 * lpr.el (lpr-windows-system, printer-name):
6474 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
6475 * ps-print.el (ps-windows-system):
6476 * startup.el (command-line):
6477 * emulation/viper-ex.el (viper-glob-function):
6478 * international/mule-cmds.el (set-language-environment-coding-systems):
6479 * net/ange-ftp.el (ange-ftp-write-region):
6480 * obsolete/fast-lock.el (fast-lock-cache-name):
6481 Remove code for defunct system-types emx, macos, mswindows, next-mach,
6482 unisoft-unix, vax-vms, win32, w32.
6484 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
6485 given name if the pattern is not more specific.
6487 * calendar/lunar.el (lunar-phase-names): New option.
6488 (lunar-phase): Doc fix.
6489 (lunar-cycles-per-year): New constant.
6490 (lunar-index): New function.
6491 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
6492 (lunar-phase-name): Use lunar-phase-names.
6493 (calendar-lunar-phases): Use format.
6494 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
6496 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
6497 Copy imenu-example--name-and-position function here for own use.
6498 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
6500 * bs.el (bs--redisplay):
6501 * cus-edit.el (custom-redraw):
6502 * ibuffer.el (ibuffer-bury-buffer):
6503 * server.el (server-goto-line-column):
6504 * startup.el (command-line-1):
6505 * strokes.el (strokes-xpm-for-stroke):
6506 * term.el (term-display-buffer-line):
6507 * view.el (View-goto-line):
6508 * calc/calc.el (calc-do, calc-trail-buffer):
6509 * play/gamegrid.el (gamegrid-add-score-insecure):
6510 * progmodes/ada-mode.el (ada-compile-goto-error):
6511 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
6512 (ebrowse-select-1st-to-9nth):
6513 * progmodes/cperl-mode.el (cperl-time-fontification):
6514 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
6515 * progmodes/gud.el (gud-display-line):
6516 (idlwave-shell-display-line):
6517 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
6518 * progmodes/make-mode.el (makefile-browser-toggle):
6519 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
6520 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
6521 * textmodes/picture.el (picture-draw-rectangle):
6522 * textmodes/reftex-index.el (reftex-index-goto-letter):
6523 (reftex-select-jump-to-previous):
6524 * textmodes/reftex-sel.el (reftex-find-start-point)
6525 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
6526 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
6527 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
6528 * textmodes/tex-mode.el (tex-compilation-parse-errors):
6529 * textmodes/two-column.el (2C-associated-buffer):
6530 Use forward-line rather than goto-line.
6532 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
6535 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
6536 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
6537 (quick-check-list-to-regexp): Declare.
6539 * progmodes/make-mode.el (makefile-browser-insert-selection):
6540 Use goto-char rather than goto-line.
6542 * progmodes/prolog.el (compilation-error-regexp-alist)
6543 (compilation-forget-errors): Declare.
6545 2009-08-22 Juri Linkov <juri@jurta.org>
6547 * progmodes/grep.el (lgrep, rgrep): At the beginning
6548 set `dir' to `default-directory' unless `dir' is a non-nil
6549 readable directory. (Bug#4052)
6550 (lgrep, rgrep): Change a weird way to report an error
6551 from using `read-string' to using `error'.
6552 Instead of using interactive arguments in the function body,
6553 add new argument `confirm'.
6555 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * textmodes/remember.el (remember-buffer):
6558 * progmodes/cperl-mode.el (cperl-vc-header-alist):
6559 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
6560 (icalendar-extract-ical-from-buffer):
6561 * net/newst-treeview.el (newsticker-groups-filename):
6562 * net/newst-backend.el (newsticker-cache-filename):
6563 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
6564 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
6565 (speedbar-add-ignored-path-regexp, speedbar-line-path)
6566 (speedbar-buffers-line-path, speedbar-path-line)
6567 (speedbar-buffers-line-path):
6568 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
6570 * epa.el (epa-display-verify-result):
6571 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
6573 2009-08-21 Glenn Morris <rgm@gnu.org>
6575 * progmodes/js.el (inferior-moz-process): Fix declaration.
6577 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
6579 * obsolete/rnewspost.el (news-mail-reply):
6580 Use goto-char rather than goto-line.
6582 * term/ns-win.el (ns-open-file-select-line):
6583 Use line-beginning-position rather than goto-line.
6585 * apropos.el (apropos-command):
6586 * ehelp.el (electric-helpify):
6587 * printing.el (pr-show-setup):
6588 * strokes.el (strokes-help):
6589 * tutorial.el (tutorial--describe-nonstandard-key)
6590 (tutorial--detailed-help):
6591 * woman.el (woman-mini-help, woman-display-extended-fonts):
6592 * calc/calc-help.el (calc-describe-key):
6593 * emulation/edt.el (edt-electric-helpify):
6594 * international/mule-diag.el (mule-diag):
6595 * play/yow.el (apropos-zippy):
6596 * progmodes/python.el (python-describe-symbol):
6597 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
6598 * textmodes/table.el (*table--cell-describe-mode)
6599 (*table--cell-describe-bindings):
6600 Use help-print-return-message rather than the now obsolete alias.
6602 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
6603 (calendar-cursor-to-visible-date):
6604 * play/5x5.el (5x5-position-cursor):
6605 * play/decipher.el (decipher):
6606 * play/gomoku.el (gomoku-goto-xy):
6607 * play/landmark.el (lm-goto-xy):
6608 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
6610 Use forward-line, not goto-line.
6612 * mail/rmail.el (rmail-obsolete): Delete custom group.
6613 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
6614 (rmail-remote-password, rmail-remote-password-required):
6615 Remove unneeded :set-after and :set properties.
6617 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
6619 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
6621 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
6623 * loadup.el: Remove leftover macos code.
6625 * vc-git.el (vc-git-annotate-command): Run asynchronously.
6626 Explicitly pass the date format to git blame so that user local
6627 so that the output format can be parsed.
6629 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
6631 * net/dbus.el (top): Don't check for (getenv
6632 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
6634 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
6636 * log-edit.el (log-edit-strip-single-file-name): New var.
6637 (log-edit-insert-changelog): Use it. Bug#3571
6639 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6641 * subr.el (read-passwd): Use read-key so keypad keys work as well.
6644 * help.el (help-print-return-message): Rename from
6645 print-help-return-message.
6647 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
6648 cvs-mode-map parent hack.
6649 (log-view-mode): Derive from special-mode.
6651 * linum.el (linum-mode): window-size-change-functions is redundant.
6652 Adapt to new window-configuration-change-hook behavior.
6653 (linum-after-size, linum-after-config): Remove.
6655 * imenu.el (imenu-example--name-and-position)
6656 (imenu-example--lisp-extract-index-name)
6657 (imenu-example--create-lisp-index, imenu-example--create-c-index):
6660 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
6661 (inferior-prolog-mode): Use it.
6662 (inferior-prolog-load-file): Reset list of errors.
6664 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
6666 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
6668 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
6670 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
6672 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
6675 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6677 * subr.el (listify-key-sequence-1): Use normal syntax since those
6678 integers are nowadays always represented by the same (positive) number
6680 (read-key-empty-map): New const.
6681 (read-key-delay): New var.
6682 (read-key): New function.
6683 (force-mode-line-update): Use with-current-buffer.
6684 (locate-user-emacs-file): Don't forget to abbreviate the file name.
6685 (start-process-shell-command, start-file-process-shell-command):
6686 Discourage the use of command-args.
6688 2009-08-19 Glenn Morris <rgm@gnu.org>
6690 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
6692 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6694 * simple.el (choose-completion-string): Don't rely on
6695 minibuffer-completing-file-name and ad-hoc checks to decide whether
6696 to continue completion or not.
6698 * minibuffer.el (minibuffer-hide-completions): New function.
6699 (completion--do-completion): Use it.
6700 (completions-annotations): New face.
6701 (completion--insert-strings): Use it.
6702 (completion-pcm--delim-wild-regex): Add docstring.
6703 (completion-pcm--string->pattern): Add support for 0-width delimiters
6704 in completion-pcm--delim-wild-regex.
6706 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6708 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
6709 Remove unused var `buffer-modified-p'.
6711 * minibuffer.el (completion--do-completion): Move point for the #b001
6712 case as well (bug#4176).
6713 (minibuffer-complete, minibuffer-complete-word): Don't move point.
6715 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
6717 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
6720 2009-08-18 Kenichi Handa <handa@m17n.org>
6722 * international/ucs-normalize.el (ucs-normalize-version):
6724 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
6725 (utf-8-hfs): Make it perform normalization on encoding too.
6727 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
6728 (sentence-end-without-space): Delete duplicated chars.
6729 (sentence-end-base): Likewise.
6731 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
6732 (html-mode): Delete duplicated chars from sentence-end-base.
6734 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
6735 (texinfo-mode): Delete duplicated chars from sentence-end-base.
6737 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
6739 * files.el (hack-one-local-variable): If the mode function is for
6740 a minor mode, pass it an argument (Bug#4148).
6742 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
6744 * net/tramp.el (tramp-register-completion-file-name-handler):
6745 Check also for (member 'partial-completion completion-styles).
6747 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
6749 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
6752 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
6754 * progmodes/cperl-mode.el: Merge upstream 6.2.
6755 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
6756 (cperl-forward-re): Check cperl-brace-recursing.
6757 (cperl-highlight-charclass): New function.
6758 (cperl-find-pods-heres): Use it.
6759 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
6760 (cperl-beautify-regexp-piece): Fix column calculation.
6761 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
6762 (cperl-beautify-level): Don't process entire regexp.
6763 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
6765 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
6766 (cperl-init-faces): Build a list in the normal way.
6768 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
6770 * calendar/parse-time.el (parse-time-string-chars): Save match
6773 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
6775 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
6776 (sql-product): Use it.
6777 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
6778 (sql-set-product): Add completion.
6779 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
6780 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
6781 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
6782 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
6783 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
6784 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
6785 (sql-highlight-db2-keywords): Remove.
6786 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6787 (sql-highlight-product): Use derived-mode-p.
6788 (sql-set-sqli-buffer): Use with-current-buffer.
6789 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
6792 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
6794 * term.el: Fix commenting convention, turn comments into docstrings.
6796 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
6798 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
6800 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
6802 * calendar/parse-time.el (parse-time-string-chars): Compute using
6803 character classes, to handle non-ascii characters (Bug#3190).
6805 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
6807 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
6808 another heredoc if the user adds another < (Bug#3226).
6810 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
6811 Don't initialize based on window-system (Bug#4124).
6813 * facemenu.el (facemenu-read-color): Use a completion function
6814 that accepts any defined color, such as RGB triplets (Bug#3677).
6816 * files.el (get-free-disk-space): Change fallback default
6817 directory to /. Expand DIR argument before switching to fallback.
6818 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
6820 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
6822 * files.el (load-library): Doc fix.
6824 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
6826 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
6827 (viper-if-string): Redefine C-s in the minibuffer to insert the last
6828 incremental search string.
6830 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
6833 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
6834 (ediff-merge-region-is-non-clash)
6835 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
6836 Also check if the job is really a merge job.
6838 * ediff.el (ediff-current-file): New function.
6840 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
6842 * progmodes/js.el: Edit docstrings throughout to follow Emacs
6844 (js-insert-and-indent): Delete function.
6845 (js-mode-map): Don't bind keys to js-insert-and-indent.
6846 (js-beginning-of-defun): Rename from js--beginning-of-defun.
6847 (js-end-of-defun): Rename from js--end-of-defun.
6848 (js-auto-indent-flag): Delete variable.
6850 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
6852 * progmodes/js.el: Remove proclaim statement.
6853 Defvar which-func-imenu-joiner-function to silence compiler.
6855 * files.el (auto-mode-alist): Use js-mode for .js files.
6857 * progmodes/js2-mode.el: Remove file.
6859 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
6861 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
6863 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
6865 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
6866 Karl Landstrom <karl.landstrom@brgeight.se>
6868 * progmodes/js.el: New file.
6870 2009-08-14 Mark A. Hershberger <mah@everybody.org>
6872 * timezone.el (timezone-parse-date): Add ability to understand ISO
6873 basic format (minimal separators) dates in addition to the
6874 already-supported extended format dates.
6876 2009-08-14 Eli Zaretskii <eliz@gnu.org>
6878 * international/ucs-normalize.el: Add a `coding' file variable.
6880 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
6882 2009-08-14 Sam Steingold <sds@gnu.org>
6884 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
6886 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
6888 * faces.el (help-argument-name): Define it here instead of
6889 help-fns.el, because in daemon mode help-fns.el may be loaded when
6890 faces are still uninitialized (Bug#1078).
6892 * help-fns.el (help-argument-name): Move defface to faces.el.
6894 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
6896 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
6897 create buffer with a pty but no process so that GDB can make the
6898 inferior the controlling process.
6900 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
6902 * international/ucs-normalize.el: New file.
6904 2009-08-13 Richard Stallman <rms@gnu.org>
6906 * mail/rmail.el (rmail-get-attr-names):
6907 Accept an attribute header that is too short.
6909 * mail/rmail.el (rmail-forget-messages):
6910 Ignore nil elt in rmail-message-vector. Use dotimes.
6912 * progmodes/compile.el (compilation-goto-locus):
6913 Use next-error-move-function.
6915 * simple.el (next-error-move-function): New variable.
6917 2009-08-12 Juri Linkov <juri@jurta.org>
6919 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
6920 always non-nil. (Bug#4052)
6922 * replace.el (read-regexp): Return empty string when
6923 `default-value' is nil.
6924 (keep-lines-read-args): Don't use empty string as the
6925 default value for `read-regexp'. (Bug#2495)
6927 2009-08-12 Juri Linkov <juri@jurta.org>
6929 * international/mule-cmds.el (ucs-insert): Change arguments
6930 from `arg' to `character', `count', `inherit' to be the same
6931 as in `insert-char'. Doc fix. (Bug#4039)
6933 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
6935 2009-08-12 Juri Linkov <juri@jurta.org>
6937 * files-x.el: New file.
6939 * files.el: Move code that deals with adding/deleting
6940 file/directory-local variables to files-x.el.
6942 * Makefile.in (ELCFILES): Add files-x.elc.
6944 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
6946 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
6948 (gdb-place-breakpoints, gdb-get-location): Rewritten without
6950 (gdb-invalidate-disassembly): Do not refresh upon receiving
6951 'update signal. Instead, update all disassembly buffers only after
6953 (gdb): Send -target-detach when buffer is killed (Bug#3794).
6954 (gdb-starting): Moved -data-list-register-names...
6955 (gdb-stopped): ...here so it's sent when first thread stops.
6956 (gdb-registers-handler-custom): Do nothing if register names are
6959 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
6960 from `gdb-mi.el' to avoid extra tangling.
6962 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
6963 change which breaks `gud-def' definitions used in `gdb'.
6964 (gdb-update-gud-running): No extra fuss for updating frame number.
6966 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
6969 (describe-language-environment-map, setup-language-environment-map)
6970 (set-coding-system-map): Move initialization into declaration.
6971 (set-language-info-alist): Last arg to define-key-after can be skipped.
6973 * international/quail.el (quail-completion-1): Simplify.
6974 (quail-define-rules): Use slightly more compact code.
6975 (quail-insert-decode-map): Propertize keys, compact columns.
6977 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6980 2009-08-10 Miles Bader <miles@gnu.org>
6982 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
6983 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
6984 (js2-instance-member, js2-private-member, js2-private-function-call)
6985 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
6986 (js2-magic-paren, js2-external-variable):
6987 Remove "-face" suffix from face names.
6988 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
6989 (js2-highlight-undeclared-vars, js2-peek-token)
6990 (js2-parse-function-params, js2-mode-show-errors)
6991 (js2-mode-show-warnings, js2-make-magic-delimiter)
6992 (js2-mode-highlight-magic-parens): Update to use new face names.
6994 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
6996 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
6997 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
6999 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
7001 * subr.el: Provide hashtable-print-readable.
7003 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
7004 hs-c-like-adjust-block-beginning.
7005 (hs-hide-block-at-point): Stop hiding at the beginning of
7006 hs-block-end-regexp (Bug#700).
7008 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
7010 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
7012 (gdb-registers-handler-custom): Do not fail when register names
7015 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
7017 * progmodes/gdb-mi.el (gdb-control-all-threads)
7018 (gdb-control-current-thread): Interactive setters for
7019 `gdb-gud-control-all-threads' to use in menu.
7020 (gdb-show-run-p): Show «Go» when process is not active.
7021 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
7022 gud/thread.xpm and gud/all.xpm.
7024 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
7026 * net/net-utils.el (net-utils-font-lock-keywords): New var.
7027 (nslookup-font-lock-keywords): Make it a variable.
7028 (net-utils-mode): New mode for viewing diagnostic network output.
7029 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
7030 (net-utils-run-simple): New function.
7031 (ifconfig, iwconfig, netstat, arp, route): Use it.
7033 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
7035 * progmodes/gdb-mi.el (gdb-read-memory-custom)
7036 (gdb-memory-set-address, def-gdb-set-positive-number)
7037 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
7038 after changing settings.
7039 (gdb-invalidate-disassembly): Update when first shown.
7040 (gdb-edit-locals-value): Fixed.
7041 (gdb-registers-handler-custom): Print registers in right order and
7042 allow changing register values (only for current thread yet).
7043 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
7044 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
7045 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
7046 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
7048 (gdb-registers-mode-map): TAB to switch to locals.
7050 2009-08-08 Eli Zaretskii <eliz@gnu.org>
7052 * mail/rmail.el (rmail-add-mbox-headers)
7053 (rmail-set-message-counters-counter): Search for
7054 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
7056 2009-08-08 Glenn Morris <rgm@gnu.org>
7058 * Makefile.in (ELCFILES): Update.
7060 2009-08-07 Eli Zaretskii <eliz@gnu.org>
7062 * mail/sendmail.el (mail-yank-original): Set
7063 buffer-file-coding-system from the one used by the message whose
7066 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
7067 to "windows" when "pgnuplot" is used.
7068 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
7069 call accept-process-output if "pgnuplot" is used.
7070 (calc-graph-init): Don't send -display and -geometry to
7071 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
7072 running "pgnuplot -V" with shell-command-to-string.
7074 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
7077 2009-08-07 Eli Zaretskii <eliz@gnu.org>
7079 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
7082 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
7084 * vc-dispatcher.el (vc-resynch-window): Update comment.
7086 * term.el (term-handle-ansi-escape): Add comments with the
7087 terminfo capabilities implemented.
7089 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
7091 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
7092 (gdb-var-create-handler): Rewritten using JSON parser.
7093 (gdb-propertize-header): Moved earlier.
7094 (gdb-set-header): Removed to avoid duplication.
7095 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
7096 Refresh disassembly buffers only after threads list have been
7098 (gdb-threads-header, gdb-registers-header): Per-buffer header line
7101 2009-08-04 Juri Linkov <juri@jurta.org>
7103 * files.el: Commands to add/delete file/directory-local variables.
7104 (read-file-local-variable, read-file-local-variable-value)
7105 (read-file-local-variable-mode, modify-file-local-variable)
7106 (modify-file-local-variable-prop-line)
7107 (modify-dir-local-variable): New functions.
7108 (add-file-local-variable, delete-file-local-variable)
7109 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
7110 (add-dir-local-variable, delete-dir-local-variable)
7111 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
7112 (copy-dir-locals-to-file-locals-prop-line): New commands.
7114 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
7116 * abbrev.el (insert-abbrev-table-description): Prettify output.
7117 Suggested by Karl Chen.
7119 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
7121 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
7122 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
7123 (gdb-overlay-arrow-position, gdb-thread-position)
7124 (gdb-disassembly-position): Declare variables.
7125 (gdb-wait-for-pending): Function now.
7126 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
7127 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
7128 compilation goes smoothly.
7129 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
7130 (gdb-non-stop-setting): New customization setting which replaces
7131 `gdb-non-stop' so changing it doesn't break active GDB session.
7132 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
7133 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
7134 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
7135 (gdb-show-threads-by-default): New customization options.
7136 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
7138 (gdb-get-buffer-create): Send buffers update signal when they are
7140 (gdb-invalidate-locals, gdb-invalidate-registers)
7141 (gdb-invalidate-breakpoints)
7142 (gdb-invalidate-threads, gdb-invalidate-disassembly)
7143 (gdb-invalidate-memory): Accept update signal.
7144 (gdb-current-context-command): Use --frame option.
7145 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
7146 Implement `gdb-frame-number' selection logic.
7147 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
7148 whether to show GUD toolbar buttons.
7149 (gdb-thread-exited): Unselect current thread when it exits.
7150 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
7151 (gdb-mark-line): Routine which sets overlay arrow or inverses
7152 video on fringeless displays.
7153 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
7154 to build aligned columns of data in GDB buffers and set text
7155 properties line-by-line.
7156 (gdb-invalidate-breakpoints)
7157 (gdb-breakpoints-list-handler-custom)
7158 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
7159 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
7160 (gdb-registers-handler-custom): Align data columns.
7161 (gdb-locals-handler-custom): Now prints data like in variable
7163 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
7164 Removed confusing buttons.
7165 (gdb-invalidate-threads): Append --frame.
7166 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
7167 between breakpoints/threads buffers.
7168 (gdb-set-window-buffer): Now can ignore dedicated windows.
7169 (gdb-propertize-header): Use `gdb-set-window-buffer'.
7170 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
7171 (def-gdb-thread-buffer-gud-command): Replaces
7172 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
7173 for fine thread control.
7174 (gdb-preempt-existing-or-display-buffer): New function used to
7175 display bound buffers without breaking window layout.
7176 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
7177 (gdb-select-frame): New version of `gdb-frames-select' which now
7178 sets `gdb-frame-number' so commands may use --frame option instead
7179 of inner debugger state.
7180 (gdb-frame-handler): Do not set `gdb-frame-number'.
7181 (gdb-threads-mode-map): Select threads with mouse.
7183 * progmodes/gud.el (gdb-gud-context-call): Declare function to
7184 avoid compilation warning.
7185 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
7188 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
7189 Argument `key' renamed to `buffer-type'.
7190 (gdb-current-context-buffer-name): Do not add thread info to
7191 buffer name when no thread is selected.
7192 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
7194 (gdb-thread-selected): Handle `=thread-selected' notification.
7195 (gdb-wait-for-pending): New macro to deal with congestion problems.
7196 (gdb-breakpoints-list-handler-custom): Don't fail on pending
7198 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
7199 This fixes problem similar to one described in bug 3947.
7200 (gud-menu-map): More menu items.
7201 (gdb-init-1): Reset `gdb-thread-number' to nil.
7203 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
7206 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
7207 (gdb-current-context-command): Do not append --thread if
7208 `gdb-thread-number' is nil.
7209 (gdb-running-threads-count, gdb-stopped-threads-count): New
7211 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
7212 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
7213 customization options.
7214 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
7216 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
7217 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
7218 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
7219 set `gdb-thread-number' and update `gud-running' properly.
7220 (gdb-running): Update threads list when new threads appear.
7221 (gdb-stopped): Support non-stop operation and new thread switching
7223 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
7224 (gdb-json-partial-output): New set of JSON routines.
7225 (def-gdb-auto-update-trigger): New `signal-list' optional
7227 (gdb-thread-list-handler-custom): Update `gud-running',
7228 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
7229 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
7230 (gdb-continue-thread, gdb-step-thread): New commands for fine
7231 thread execution control.
7232 (gud-menu-map): New menu items to switch non-stop options.
7233 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
7234 (gdb-send): Mimic RET properly (bug 3794).
7236 * progmodes/gdb-mi.el (gdb-rules-name-maker)
7237 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
7239 (def-gdb-auto-update-handler): New nopreserve optional argument.
7240 (gdb-stack-list-frames-custom): Print stack from top to bottom.
7242 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
7243 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
7244 (gdb-parent-mode): New mode to derive other GDB modes from.
7245 (gdb-display-disassembly-for-thread)
7246 (gdb-frame-disassembly-for-thread): New commands for threads
7249 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
7250 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
7251 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
7252 (gdb-update): We now store all GDB buffers in a list so that they
7253 can be updated by traversing a list instead of calling invalidate
7254 triggers explicitly.
7255 (def-gdb-trigger-and-handler): New macro to define trigger-handler
7256 pair for GDB buffer.
7257 (gdb-stack-buffer-name): Add thread information.
7258 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
7259 handle pending triggers.
7260 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
7261 (def-gdb-thread-buffer-simple-command)
7262 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
7263 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
7264 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
7265 New commands which show buffers bound to thread.
7266 (gdb-stack-list-locals-regexp): Removed unused regexp.
7268 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
7269 (gdb-locals-buffer-name, gdb-registers-buffer-name)
7270 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
7271 to (gud-comint-buffer) in *-buffer-name functions
7272 because (gdb-get-target-string) already does that.
7273 (gdb-locals-handler-custom, gdb-registers-handler-custom)
7274 (gdb-changed-registers-handler): Rewritten without regexps.
7276 * progmodes/gdb-mi.el: Basic thread selection support.
7277 (gdb-thread-number): New variable.
7278 (gdb-current-context-command): New macro which adds --thread
7280 (gdb-threads-mode-map): Select thread with SPC.
7281 (gdb-thread-list-handler-custom): Mark current thread with overlay
7282 arrow. Synchronize GDB thread and Emacs thread.
7283 (gdb-select-thread): New command which selects current thread.
7284 (gdb-invalidate-frames, gdb-invalidate-locals)
7285 (gdb-invalidate-registers): Use --thread option.
7287 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
7289 * net/tramp.el (top): Make check for tramp-gvfs loading more
7291 (tramp-handle-insert-file-contents): `unwind-protect' must be
7292 inside `with-parsed-tramp-file-name'.
7294 * net/tramp-gvfs.el (top): Remove superfluous message when loading
7297 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
7299 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
7300 directory if CLASSPATH is not set.
7302 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
7304 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
7306 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
7308 2009-08-02 Kevin Ryde <user42@zip.com.au>
7310 * net/newst-backend.el (newsticker--raw-url-list-defaults):
7311 Update freshmeat link. Delete newsforge.com as it seems gone.
7313 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
7315 * select.el (x-set-selection): Doc fix (Bug#4021).
7317 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
7319 * help-fns.el (describe-variable): Treat list return values from
7320 dir-locals-find-file properly (Bug#4005).
7322 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
7324 * net/tramp.el (tramp-debug-message): Print also microseconds.
7326 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
7328 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
7330 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
7331 (tramp-get-debug-buffer): Change `outline-regexp' according to new
7334 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
7335 (tramp-get-file-property): Use it.
7337 * autorevert.el (auto-revert-handler): Allow
7338 `auto-revert-tail-mode' for remote files.
7340 2009-08-02 Jason Rumney <jasonr@gnu.org>
7342 * minibuffer.el (read-file-name): Treat confirm options to
7343 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
7345 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
7347 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
7348 (font-lock-variable-name-face, font-lock-constant-face): Darken
7349 the colors for light backgrounds.
7351 2009-08-01 Eli Zaretskii <eliz@gnu.org>
7353 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
7354 month names. (Bug#3987)
7356 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
7358 * simple.el (line-move-finish): Pass whole number to
7359 line-move-to-column.
7360 (line-move-visual): Perform hscroll to the recorded position.
7362 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
7364 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
7366 2009-07-29 Alan Mackenzie <acm@muc.de>
7368 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
7370 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
7372 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
7373 (gdb-place-breakpoints): Use full path when setting breakpoints.
7375 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7377 * calc/calc.el (calc-mode-map): Add keybinding for
7378 `calc-transpose-lines'.
7380 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
7382 * calc/calc-misc.el (calc-transpose-lines): New function.
7384 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
7386 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
7387 Simplify check for out-of-band methods.
7388 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
7389 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
7391 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
7393 * vc-git.el (vc-git-checkin): Fix typo.
7395 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
7397 * progmodes/js2-mode.el: New file.
7399 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
7401 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
7402 (gud-menu-map): Adjust tooltip accordingly.
7404 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
7406 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
7407 (vc-bzr-log-view-mode): Adjust log-view-file-re.
7409 * add-log.el (change-log-mode-map): Add a menu.
7411 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
7413 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
7414 function returns nil.
7415 (dbus-handle-event): Handle special return value :ignore.
7416 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
7418 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
7420 * view.el (view-mode-enable): Don't define Helper-return-blurb if
7423 2009-07-25 Eli Zaretskii <eliz@gnu.org>
7427 * w32-vars.el (x-select-enable-clipboard): Doc fix.
7429 * term/pc-win.el (x-display-name, x-colors)
7430 (x-select-enable-clipboard, x-select-text): Doc fix.
7432 * term/common-win.el (x-display-name, x-colors): Doc fix.
7434 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
7435 (xw-defined-colors): Doc fix.
7437 * w32-fns.el (x-select-text, x-setup-function-keys)
7438 (x-get-selection, x-set-selection): Doc fix.
7440 * term/x-win.el (x-select-text, x-setup-function-keys)
7441 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
7443 * select.el (x-set-selection): Doc fix.
7445 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
7447 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
7448 instead of "IsNSSSupportAvailable". Avahi ought to work also when
7449 "IsNSSSupportAvailable" method is not available. Reported by
7450 Steve Youngs <steve@sxemacs.org>.
7452 2009-07-24 Kenichi Handa <handa@m17n.org>
7454 * international/characters.el: Fix setting of category ?C, ?|, ?K,
7455 and ?H. Fix setting of case for Latin Extended and Greek Extended.
7456 (build-unicode-category-table): Fix range checks.
7458 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
7460 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
7461 the buffer we try to sync is current when calling
7464 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
7465 not show up to date files.
7467 2009-07-24 Glenn Morris <rgm@gnu.org>
7469 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
7470 Add autoload cookies. If necessary, initialize.
7471 (elint-log): Handle non-file buffers.
7472 (elint-initialize): Add optional argument to reinitialize.
7473 (elint-find-builtin-variables): Save excursion.
7475 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
7477 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
7480 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
7482 * vc.el (vc-print-log-internal): New function, split out from ...
7483 (vc-print-log): ... here.
7484 (vc-dir-move-to-goal-column): Declare.
7486 * vc-git.el (vc-git-add-signoff): New variable.
7487 (vc-git-checkin): Use it.
7488 (vc-git-toggle-signoff): New function.
7489 (vc-git-extra-menu-map): Bind it to menu.
7490 (vc-git--run-command-string): Accept a nil FILE argument.
7491 (vc-git-stash-list): New function.
7492 (vc-git-dir-extra-headers): Use it.
7494 2009-07-23 Glenn Morris <rgm@gnu.org>
7496 * help-fns.el (describe-variable): Describe ignored and risky local
7497 variables in a similar way to that in which we describe safe ones.
7499 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
7500 (byte-compile-output-file-form, byte-compile-output-docform)
7501 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
7502 Give some more local variables with common names a "bytecomp-" prefix,
7503 so as not to shadow things during compilation.
7504 * emacs-lisp/cl-macs.el (load-time-value)
7505 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
7506 `outbuffer' to `bytecomp-outbuffer'.
7508 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
7509 since the next two variables cover them automatically now.
7510 (elint-builtin-variables, elint-autoloaded-variables): New.
7511 (elint-unknown-builtin-args): Remove all members, since they can be
7512 parsed automatically now.
7513 (elint-extra-errors): New.
7514 (elint-env-add-env, elint-env-add-macro): Use cadr.
7515 (elint-current-buffer): Use or. Change final message.
7516 (elint-get-top-forms): Use line-end-position.
7517 (elint-init-env): Use cadr. Handle autoload, declare-function,
7519 (elint-add-required-env): Doc fix. Use or. Standardize error.
7520 (regexp-assoc): Remove unused function.
7521 (elint-top-form): Set elint-current-pos, to record the start of the
7522 top-level form, for compilation-mode.
7523 (elint-form): Trap errors in macro expansion. Use dolist.
7524 (elint-unbound-variable): Use elint-builtin-variables and
7525 elint-autoloaded-variables.
7526 (elint-get-args): Use cadr, or.
7527 (elint-check-cond-form): Use dolist, cadr.
7528 (elint-check-condition-case-form): Doc fix. Use cadr.
7529 Use elint-extra-errors.
7530 (elint-log): New function.
7531 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
7532 Distinguish errors and warnings.
7533 (elint-log-message): Use with-current-buffer. Inhibit read-only.
7534 Use a bytecomp-style format.
7535 (elint-clear-log): Preserve default-directory. Inhibit read-only.
7536 (elint-get-log-buffer): Use compilation mode. Disable undo.
7537 Don't truncate lines.
7538 (elint-initialize): Set builtin and autoloaded variable lists.
7539 Only process elint-unknown-builtin-args if non-nil.
7540 (elint-find-builtin-variables, elint-find-autoloaded-variables):
7542 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
7544 2009-07-22 Kevin Ryde <user42@zip.com.au>
7546 * net/newst-backend.el (newsticker--parse-atom-1.0)
7547 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
7548 (newsticker--parse-rss-1.0):
7549 * progmodes/idlwave.el (idlwave-mode):
7550 * progmodes/idlw-shell.el (idlwave-shell-mode):
7551 * progmodes/vera-mode.el (vera-mode):
7552 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
7553 * progmodes/vhdl-mode.el (vhdl-mode):
7554 * textmodes/table.el (table-generate-source)
7555 (table--warn-incompatibility):
7556 Hyperlink urls in docstrings with URL `...'.
7558 2009-07-22 Glenn Morris <rgm@gnu.org>
7560 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
7561 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
7562 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
7563 Remove leading * from defcustom docs.
7565 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
7567 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
7569 (list-load-path-shadows): Optionally, just return shadows as a string.
7571 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
7573 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
7575 * mail/rmailedit.el (rmail-edit-mode): Use
7576 auto-save-include-big-deletions.
7578 * mail/rmail.el (rmail-variables): Use
7579 auto-save-include-big-deletions.
7581 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
7584 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
7586 * calc/calc.el (calc-undo-length): New variable.
7587 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
7589 2009-07-21 Richard Stallman <rms@gnu.org>
7591 * files.el (auto-save-mode): Handle buffer-save-size = -2
7594 2009-07-21 Glenn Morris <rgm@gnu.org>
7596 * textmodes/ispell.el (ispell-looking-back): Update declaration.
7598 * calendar/todo-mode.el (calendar-current-date): Update declaration.
7600 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
7601 silence compiler. Instead...
7602 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
7603 (ps-print-ensure-fontified): Update for above function name changes.
7605 * printing.el (pr-mh-get-msg-num, pr-mh-show)
7606 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
7607 silence compiler. Instead...
7608 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
7609 (mh-show-buffer): Only define for compiler.
7610 (pr-mh-current-message): Update for above function name changes.
7612 * files.el (abort-if-file-too-large): Explicitly pass `filename'
7614 (find-file-noselect, insert-file-1): Update for above change.
7616 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
7618 * mail/mailclient.el (mailclient-send-it): Fix message.
7620 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
7621 (edebug-eval): Check cl-debug-env is bound.
7622 (print-level, print-circle): Don't redefine built-in variables.
7624 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
7625 (custom-print-vectors): Remove old comments from doc.
7627 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
7628 (emerge-version): Make the variable an obsolete alias for the
7629 emacs-version variable. Make the function obsolete.
7630 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
7631 Emerge options, rather than merging in into the main Options menu.
7632 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
7633 and auto advance modes. Disable edit/fast items when not relevant.
7635 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
7637 * term/vt420.el (terminal-init-vt420): Fix typo.
7639 2009-07-20 Sam Steingold <sds@gnu.org>
7641 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
7642 variable (removed from compile.el on 2004-03-11).
7644 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
7646 * files.el (hack-local-variables-filter): Fix last change.
7648 2009-07-19 Juri Linkov <juri@jurta.org>
7650 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
7651 (dir-local-variables-alist): New buffer-local variable.
7652 (hack-local-variables-filter): If variable is not dir-local,
7653 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
7654 because file-local overrides dir-local.
7655 (c-postprocess-file-styles)<declare-function>:
7656 Remove obsolete declaration.
7657 (hack-dir-local-variables): Add dir-local variable/value pair to
7658 `dir-local-variables-alist' and remove duplicates. Doc fix.
7660 * help-fns.el (describe-variable): Add information about
7661 file-local and dir-local variables.
7663 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
7665 * files.el (hack-local-variables-filter): Rewrite.
7667 2009-07-19 Glenn Morris <rgm@gnu.org>
7669 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
7670 Silence compiler by only defining on XEmacs.
7672 * international/mule.el (auto-coding-regexp-alist): Only match
7673 BABYL... at the start of buffer, not of lines. (Bug#3790)
7675 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
7676 non-calendar buffers (Bug#3862). Restore "not on a date" message.
7677 (cal-menu-context-mouse-menu): Doc fix.
7679 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
7681 * simple.el (mail-user-agent): Doc fix. Set :version tag.
7683 2009-07-18 Juri Linkov <juri@jurta.org>
7685 * info.el: Virtual Info keyword finder.
7686 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
7687 (Info-finder-file): New variable.
7688 (Info-finder-find-file): New function.
7689 (finder-known-keywords, finder-package-info)
7690 (find-library-name, lm-commentary): Use defvar and
7691 declare-function to silence compiler warnings.
7692 (Info-finder-find-node): New function.
7693 (info-finder): New command.
7695 * subr.el (process-kill-buffer-query-function): New function.
7696 (add-hook)<kill-buffer-query-functions>: Add hook
7697 `process-kill-buffer-query-function'.
7699 2009-07-18 Alan Mackenzie <acm@muc.de>
7701 * progmodes/cc-mode.el (c-before-hack-hook)
7702 (c-postprocess-file-styles): Give invocation of `c-set-style'
7703 DONT-OVERRIDE parameter of t. Already set style variables will
7704 thus not be overridden by style settings given by `c-file-syle'.
7706 * files.el (hack-local-variables-filter): Remove entries with
7707 duplicate keys from `file-local-variables-alist'.
7709 2009-07-18 Eli Zaretskii <eliz@gnu.org>
7711 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
7712 x-set-selection if display-selections-p returns nil for the
7715 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
7717 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
7719 2009-07-18 Eli Zaretskii <eliz@gnu.org>
7721 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
7722 Accept nil in addition to a regexp.
7723 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
7724 Accept nil in addition to a regexp.
7725 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
7726 buffers that have an associated file. Handle nil values of
7727 desktop-buffers-not-to-save and desktop-files-not-to-save.
7730 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7731 (x-disown-selection-internal): New functions.
7733 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
7735 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
7737 (gdb-breakpoints-header): Move forward to avoid compiler warning.
7738 (gdb-make-header-line-mouse-map): Remove duplicate definition.
7740 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
7742 * simple.el (set-mark): Revert last change.
7744 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
7746 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
7747 rendering of pngs is not possible instead of messaging a long
7750 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
7752 * w32-fns.el (x-selection-owner-p): New function.
7754 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
7755 (mouse-yank-at-click, mouse-yank-primary): If
7756 select-active-regions is non-nil, deactivate the mark before
7759 * simple.el (deactivate-mark, set-mark): Only save selection if we
7762 2009-07-17 Kenichi Handa <handa@m17n.org>
7764 * case-table.el (describe-buffer-case-table): Fix for the case
7767 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
7769 * vc-rcs.el (vc-rcs-find-file-hook):
7770 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
7772 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
7774 * net/tramp.el (tramp-wait-for-output): Handle the case when
7775 commands do not return a newline but a null byte before the shell
7778 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7780 * term/ns-win.el (ns-set-alpha): Don't declare.
7781 (ns-set-background-alpha): Remove function.
7783 2009-07-16 Kevin Ryde <user42@zip.com.au>
7785 * emacs-lisp/copyright.el (copyright-update): Save match-data across
7786 y-or-n-p, for safety.
7788 2009-07-16 Richard Stallman <rms@gnu.org>
7790 * files.el (auto-save-mode): If buffer-saved-size is -2,
7793 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
7794 (rmail-retry-ignored-headers): Add more uninteresting fields.
7796 2009-07-15 Jari Aalto <jari.aalto@cante.net>
7798 * net/rcirc.el (rcirc): Use history variables.
7799 (rcirc-server-name-history, rcirc-nick-name-history)
7800 (rcirc-server-port-history): New variables.
7802 2009-07-15 Kenichi Handa <handa@m17n.org>
7804 * international/mule-cmds.el (set-language-environment-charset):
7805 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
7808 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
7809 Delete unibyte-display.
7811 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
7813 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
7815 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
7817 * simple.el (deactivate-mark): Optional argument FORCE.
7818 (set-mark): Use deactivate-mark.
7820 * info.el (Info-search): No need to check transient-mark-mode
7821 before calling deactivate-mark.
7823 * select.el (x-set-selection): Doc fix.
7824 (x-valid-simple-selection-p): Allow buffer values.
7825 (xselect--selection-bounds): Handle buffer values. Suggested by
7826 David De La Harpe Golden.
7828 * mouse.el (mouse-set-region, mouse-drag-track): Call
7829 copy-region-as-kill before setting the mark, to let
7830 select-active-regions work.
7832 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
7834 * simple.el (deactivate-mark): If select-active-regions is
7835 non-nil, copy the selection data into a string.
7836 (activate-mark): If select-active-regions is non-nil, set the
7837 selection to the current buffer.
7838 (set-mark): Update selection if select-active-regions is non-nil.
7840 * select.el (x-valid-simple-selection-p): Allow buffer values.
7842 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
7844 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
7845 and more featureful message-mode.
7847 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
7849 * select.el (x-set-selection): Doc fix.
7850 (x-valid-simple-selection-p): Disallow selection data consisting
7851 of a list or cons of integers, since that is not used.
7852 (xselect--selection-bounds, xselect--int-to-cons): New functions.
7853 (xselect-convert-to-string, xselect-convert-to-length)
7854 (xselect-convert-to-filename, xselect-convert-to-charpos)
7855 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
7857 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
7859 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
7860 output in -break-info command (Emacs bug #3794).
7862 2009-07-14 Glenn Morris <rgm@gnu.org>
7864 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
7865 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
7866 (edebug-print-length, edebug-print-level, edebug-print-circle)
7867 (edebug-sit-for-seconds, edebug-view-outside)
7868 (edebug-bounce-point, edebug-set-global-break-condition)
7869 (edebug-Go-nonstop-mode, edebug-trace-mode)
7870 (edebug-Trace-fast-mode, edebug-continue-mode)
7871 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
7872 (edebug-visit-eval-list): Doc fixes.
7874 * subr.el (def-edebug-spec): Doc fix.
7876 2009-07-14 Kenichi Handa <handa@m17n.org>
7878 * international/characters.el: Fix setting of category ?C.
7880 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
7882 * term/ns-win.el (x-select-font): defalias x-select-font to
7883 ns-popup-font-panel instead of generate-fontset-menu.
7885 2009-07-12 Eli Zaretskii <eliz@gnu.org>
7887 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
7889 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
7891 * arc-mode.el (archive-find-type): Allow for a PK00 string before
7892 the PK\003\004 header (Bug#3770).
7894 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
7896 * pcomplete.el (pcomplete-comint-setup): Check for
7897 shell-dynamic-complete-filename too.
7899 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
7901 * simple.el (temporary-goal-column): Change the value for
7902 line-move-visual to a cons cell.
7903 (line-move-visual): Record or set the window hscroll, if
7904 necessary (Bug#3494).
7905 (line-move-1): Handle cons value of temporary-goal-column.
7907 2009-07-11 Kenichi Handa <handa@m17n.org>
7909 * international/mule-diag.el (describe-character-set): Don't show
7912 2009-07-10 Sam Steingold <sds@gnu.org>
7914 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7915 Omake sometimes indents the errors it prints, so allow all
7916 regexps to start with spaces.
7918 2009-07-10 Eli Zaretskii <eliz@gnu.org>
7920 * cus-edit.el (customize-changed-options-previous-release):
7921 Bump value to 22.1. (Bug#3804)
7923 2009-07-08 Sam Steingold <sds@gnu.org>
7925 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
7926 to be a cons cell (test . ignored-directory) to selectively ignore
7927 some directories depending on the location of the search.
7929 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
7931 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
7932 remote user is root, on the local host.
7933 (tramp-local-host-p): Either the local user or the remote user
7934 must be root. (Bug#3771)
7936 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
7938 * progmodes/gdb-mi.el (gdb): Remove description of
7939 gdb-use-separate-io-buffer.
7940 (menu): Don't allow toggling of or enable
7941 gdb-use-separate-io-buffer from menubar.
7943 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
7945 * mail/unrmail.el (unrmail): Make sure the message ends with two
7946 newlines (Bug#3769).
7948 2009-07-08 Glenn Morris <rgm@gnu.org>
7950 * calendar/calendar.el (calendar-current-date): Rework previous change.
7952 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
7954 * calendar/calendar.el (calendar-current-date):
7955 Add an optional argument giving an offset from today.
7957 2009-07-08 Glenn Morris <rgm@gnu.org>
7959 * tutorial.el (tutorial--describe-nonstandard-key):
7960 Adjust the message for when a key has been unbound.
7961 (help-with-tutorial): Hide the arch-tag.
7963 2009-07-08 Kenichi Handa <handa@m17n.org>
7965 * international/fontset.el (setup-default-fontset): For each
7966 script, append (not set) font-specs.
7968 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
7971 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
7973 * progmodes/gdb-mi.el (gdb-init-1): Move sending
7974 -data-list-register-names to ...
7975 (gdb-starting): ... here because GDB 7.0 requires execution to
7976 have started when using this MI command.
7977 (gdb-set-header): New function to distinguish select and
7978 unselected tabs in gdb buffers.
7979 (gdb-propertize-header): New macro that uses gdb-set-header.
7980 (gdb-breakpoints-header, gdb-locals-header): Use it.
7981 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
7983 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
7985 * Makefile.in (ELCFILES): Remove fadr.elc.
7987 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
7989 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
7990 may contain frame information, so `string-match' should be used.
7991 (gdb-update): Disassembly is invalidated through
7992 `gdb-get-selected-frame'.
7993 (gdb-pad-string): New function to pad string with spaces.
7994 (gdb-invalidate-disassembly): Invalidate only if the buffer
7996 (gdb-disassembly-handler-custom): Column alignment.
7997 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
7999 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
8001 (gdb-frame-handler): Match convention to for disassembly buffer
8003 (gdb-stack-list-frames-handler): Rewritten without regexps.
8004 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
8005 not highlight breakpoints without line information.
8006 (gdb-input): Add trailing newline to command.
8008 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
8010 (gdb-breakpoints-list-handler-custom): Replacement for
8011 `gdb-break-list-handler'. Using real parser instead of regexps
8013 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
8014 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
8015 to place breakpoints.
8016 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
8018 (gdb-disassembly-handler-custom): Show overlay arrow.
8019 (gdb-disassembly-place-breakpoints): Show breakpoints in
8021 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
8022 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
8023 instead of parsing breakpoints buffer. Fixed old menu references
8028 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
8029 (gdb-memory-address): New variable which holds top address of
8030 memory page shown in memory buffer.
8031 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
8032 customization variables.
8034 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
8035 display the memory buffer.
8036 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
8037 buffer display parameters.
8038 (def-gdb-memory-format, gdb-memory-format-binary)
8039 (gdb-memory-format-octal, gdb-memory-format-unsigned)
8040 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
8041 Functions for setting memory buffer format.
8042 (gdb-memory-unit-word, gdb-memory-unit-halfword)
8043 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
8044 unit size used in memory buffer.
8045 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
8046 to next/previous page of memory buffer.
8047 Now using (bindat-get-field) instead of fadr functions.
8049 2009-07-07 Sam Steingold <sds@gnu.org>
8051 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
8052 non-top-level files.
8054 2009-07-07 Kenichi Handa <handa@m17n.org>
8056 * international/mule-cmds.el (reset-language-environment): Put
8057 the highset priority to the charset iso-8859-1.
8059 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
8061 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
8062 to the end of the line when locating the block (Bug#700).
8064 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
8066 * net/tramp.el (tramp-handle-write-region): Flush file properties
8067 in case of short track.
8069 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
8071 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
8072 representation of verilog error regular expressions to work with
8073 Emacs-22's new format.
8074 (verilog-error-regexp-xemacs-alist): Coded custom representation
8075 of verilog error regular expressions to work with XEmacs format.
8076 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
8077 error recognition into XEmacs.
8078 (verilog-error-regexp-add-emacs): Hook routine to install verilog
8079 error recognition into Emacs-22.
8081 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
8083 * woman.el: Remove stand-alone closing parentheses.
8084 (woman-file-name, woman2-format-paragraphs)
8085 (woman-leave-blank-lines): Code cleanup.
8086 (woman-use-own-frame): Change default to nil.
8087 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
8088 defaults to inherit from default faces.
8089 (woman2-process-escapes): Consume the newline after a stand-alone
8090 filler character (Bug#3651).
8092 2009-07-06 Glenn Morris <rgm@gnu.org>
8094 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
8095 (top-level): Move provide to the end.
8096 (ffap): Remove defunct URL from custom group.
8098 * subr.el (eval-after-load): Doc fix.
8100 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
8102 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
8103 `calc-embedded-word' is called twice.
8105 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8107 * files.el (find-alternate-file-other-window, find-alternate-file):
8108 Obey confirm-nonexistent-file-or-buffer.
8110 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
8112 * dired-aux.el (dired-show-file-type): Handle remote files.
8114 2009-07-05 Jari Aalto <jari.aalto@cante.net>
8116 * desktop.el (desktop-globals-to-save):
8117 Add file-name-history (Bug#2750).
8119 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
8121 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
8123 2009-07-04 Johan Bockgård <bojohan@gnu.org>
8125 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
8126 property on entire argument since this is what eshell-lisp-command
8129 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
8131 * net/tramp-gvfs.el (tramp-gvfs-methods)
8132 (tramp-gvfs-zeroconf-domain)
8133 (tramp-bluez-discover-devices-timeout): Add version flag.
8134 (tramp-gvfs-handler-mounted-unmounted)
8135 (tramp-gvfs-connection-mounted-p): Polish handling of
8136 incompatibilities between GVFS 0.2 and 1.0.
8138 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
8140 * cus-start.el (all): Add make-pointer-invisible.
8142 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
8144 * calc-math.el (math-use-emacs-fn): Make sure that the number is
8145 formatted correctly.
8147 2009-07-02 Juri Linkov <juri@jurta.org>
8149 * info.el: Virtual Info files and nodes.
8150 (Info-virtual-files, Info-virtual-nodes): New variables.
8151 (Info-current-node-virtual): New variable.
8152 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
8154 (Info-file-supports-index-cookies): Use Info-virtual-file-p
8155 to check for a virtual file instead of checking a fixed list
8157 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
8158 instead of ad-hoc processing of "dir" and (apropos history toc).
8159 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
8160 instead of ad-hoc processing of "dir" and (apropos history toc).
8161 Reread a file when moving from a virtual node.
8162 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
8163 (Info-directory-toc-nodes, Info-directory-find-file)
8164 (Info-directory-find-node): New functions.
8165 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
8166 (Info-history): Move part of code to
8167 `Info-history-find-node'.
8168 (Info-history-toc-nodes, Info-history-find-file)
8169 (Info-history-find-node): New functions.
8170 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
8171 (Info-toc): Move part of code to `Info-toc-find-node'.
8172 (Info-toc-find-node): New function.
8173 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
8174 the current Info file name to references because now the node
8175 "*TOC*" belongs to the same Info manual.
8176 (Info-toc-build): Rename from `Info-build-toc'.
8177 (Info-toc-nodes): Rename input argument `file' to `filename'.
8178 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
8179 instead of ad-hoc processing of ("dir" apropos history toc).
8180 (Info-index-nodes): Use Info-virtual-file-p
8181 to check for a virtual file instead of checking a fixed list
8183 (Info-index-node): Add check for `Info-current-node-virtual'.
8184 Raise `save-match-data' higher up the tree to contain
8185 `search-forward' too (bug fix).
8186 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
8187 (Info-virtual-index-nodes): New variable.
8188 (Info-virtual-index-find-node, Info-virtual-index): New functions.
8189 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
8190 (Info-apropos-file, Info-apropos-nodes): New variables.
8191 (Info-apropos-toc-nodes, Info-apropos-find-file)
8192 (Info-apropos-find-node, Info-apropos-matches): New functions.
8193 (info-apropos): Move part of code to `Info-apropos-find-node' and
8194 `Info-apropos-matches'.
8195 (Info-mode-map): Bind "I" to `Info-virtual-index'.
8196 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
8197 for a virtual file instead of checking a fixed list of node names.
8199 * simple.el (async-shell-command): New command.
8201 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
8203 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
8204 instead of `mount-info'.
8206 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
8208 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
8209 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
8211 2009-07-02 Kenichi Handa <handa@m17n.org>
8213 * international/mule.el (set-keyboard-coding-system): Force *-unix
8214 coding-system to avoid eol conversion.
8216 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
8218 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8219 Add handler for `process-file', `shell-command' and
8220 `start-file-process'.
8221 (tramp-gvfs-handle-shell-command)
8222 (tramp-gvfs-handle-start-file-process)
8223 (tramp-gvfs-handle-process-file): New defuns.
8224 (tramp-synce-list-devices): Simplify check for existence of property.
8226 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
8228 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
8230 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
8232 * language/korean.el (set-language-info-alist): Add korean-cp949,
8235 2009-07-01 Kenichi Handa <handa@m17n.org>
8237 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
8239 * international/encoded-kb.el: Deleted.
8241 * international/mule.el (set-keyboard-coding-system): Perform the
8242 necessary setup here instead of calling encoded-kbd-setup-display.
8244 2009-07-01 Glenn Morris <rgm@gnu.org>
8246 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
8248 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
8250 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
8252 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
8254 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
8255 Handle also the 'rename case, when setting file modes. (Bug#3712)
8256 (tramp-default-file-modes) Remove execute permissions.
8258 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
8259 (top): Add a default for "synce" in `tramp-default-user-alist'.
8260 Add completion function for "synce" method.
8261 (tramp-hal-service, tramp-hal-path-manager)
8262 (tramp-hal-interface-manager, tramp-hal-interface-device):
8264 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
8265 (tramp-synce-list-devices, tramp-synce-parse-device-names):
8268 * net/trampver.el: Update release number.
8270 2009-06-30 Kenichi Handa <handa@m17n.org>
8272 * international/fontset.el (setup-default-fontset): Add CJK fonts
8273 for symbols and the other miscellaneous characters.
8275 * language/korea-util.el (setup-korean-environment-internal):
8276 Make char-width-table suitable for Korean environments.
8277 (exit-korean-environment): Cancel above.
8279 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8280 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
8281 setup-funcion to make char-widht-table suitable for respective
8282 environments, and an exit-function to cancel that.
8284 * language/japan-util.el (setup-japanese-environment-internal):
8285 Call use-cjk-char-width-table with arg `ja_JP'.
8287 * international/characters.el (cjk-char-width-table): Delete it.
8288 (cjk-char-width-table-list): New variable.
8289 (use-cjk-char-width-table): New arg local-name.
8290 (use-default-char-width-table): Fix for the case that Emacs is
8291 already using the default char-width-table.
8293 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
8295 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
8296 modes mandatory. (Bug#3712)
8298 2009-06-29 Alan Mackenzie <acm@muc.de>
8300 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
8301 correction between the visible width of TABs and their number of bytes.
8303 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
8305 * server.el (server-buffer-done): Prevent kill-buffer from
8306 prompting by clearing the buffer modification flag (Bug#3696).
8308 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
8310 * verilog-mode.el (verilog-beg-of-statement)
8311 (verilog-endcomment-reason-re): Support unique case and priority case.
8312 (verilog-basic-complete-re): Support localparam lineup.
8313 (verilog-beg-of-statement-1): Fix for robustness, unique case.
8314 (verilog-set-auto-endcomments): Fix for unique case, always_comb
8316 (verilog-leap-to-case-head): Now support *nested* unique &
8317 priority case statements.
8318 (verilog-auto-lineup): Make just declarations the default (as it
8320 (verilog-leap-to-case-head): Support priority/unique case statements.
8321 (verilog-auto-lineup): Rework to give users radio buttons to
8322 select the various styles of automatic lineup.
8323 (verilog-error-regexp-alist): Rework to support the XEmacs style
8324 of error regular expressions from compilers, lint tools &
8325 simulators. Note that GNU Emacs has made it impossible for a mode
8326 to load such things.
8327 (electric-verilog-terminate-line, verilog-indent-declaration)
8328 (verilog-auto-wiure): Rework for radio button selection of
8329 auto-lineup selection of specification of auto lineup.
8330 (verilog-beg-of-statement-1): Redesign to support proper operation
8331 in additional code, based on testing with auto-lineup.
8332 (verilog-calculate-indent, assignments & declarations)
8333 (verilog-backward-token): Enhance to support auto-lineup of
8334 assignments & declarations.
8335 (verilog-in-directive-p, verilog-at-struct-p): New function for
8336 easy test of whether we are.
8337 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
8338 to support safe execution at almost anyline.
8339 (verilog-calc-1): Properly support indenting deep inside generate
8341 (verilog-init-font) Remove definition & use of verilog-init-font,
8342 as it is redundant with font-lock-defaults.
8343 (verilog-mode): Alter the definition of verilog-font-lock-defaults
8344 to avoid circular calls if syntax-ppss is a function (as is the
8345 case now in 22.x GNU Emacs) as that function would sometimes call
8346 itself, leading to (nearly) infinite recursion.
8347 (verilog-ovm-begin-re, verilog-ovm-end-re)
8348 (verilog-ovm-statement-re, verilog-leap-to-head)
8349 (verilog-backward-token): Add support for OVM macros. Some are
8350 complete statements, and others open and close scopes like begin
8352 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
8353 (verilog-defun-level-generate-only-re): Really fix the defun-list
8355 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
8356 coverpoint, constraint and cross statements.
8357 (verilog-defun-level-list, verilog-generate-defun-level-list)
8358 (verilog-all-defun-level-list): Redo these specifications - it is
8359 too hard to support eval-when compile aggregation of lists also
8360 built at when-compile time.
8361 (verilog-defun-level-list): Place defconsts of variables used in
8362 building regular expressions which are built in eval-when-compile
8363 bodies in the same eval-when-compile body to facilitate compile
8365 (verilog-beg-block-re-ordered): Support indenting
8366 virtual/protected tasks and functions.
8367 (verilog-defun-level-list, verilog-in-generate-region-p)
8368 (verilog-backward-ws&directives, verilog-calc-1): Speed up
8369 indentation of some module items (generate items).
8370 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
8371 across virtual/protected tasks and functions.
8373 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
8375 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
8376 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
8377 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
8378 in concatenations. Reported by Yishay Belkind.
8379 (verilog-auto-ascii-enum): Support one-hot state machines in
8380 AUTOASCIIENUM. Suggested by Lloyd Gomez.
8381 (verilog-auto-inst, verilog-auto-inst-port): Include interface
8382 modport in AUTOINST and add vl-modport for users. Reported by
8384 (verilog-auto-inout-module, verilog-auto-inst)
8385 (verilog-decls-get-interfaces, verilog-insert-definition)
8386 (verilog-insert-one-definition, verilog-read-decls)
8387 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
8388 (verilog-sig-modport, verilog-signals-combine-bus)
8389 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
8390 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
8391 Suggested by David Rogoff.
8392 (verilog-repair-open-comma): Fix non-insertion of comma when
8393 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
8394 (verilog-make-width-expression): Simplify [A-1:0] expression
8395 widths to just {A{1'b0}}.
8396 (verilog-mode): Cleanup checkdoc warnings.
8397 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
8398 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
8399 inputs/outputs or data type. Suggested by Vasu Kandadi.
8400 (next-error-last-buffer): Fix byte-compiler warning.
8401 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
8402 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
8403 or shell command text during AUTO expansion. Suggested by Tad Truex.
8404 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
8405 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
8406 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
8407 in AUTOINOUT. Reported by Matthew Lovell.
8408 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
8409 causing use of <= assignments. Reported by Alex Reed.
8410 (verilog-read-decls): Fix triand, trior, wand, wor to be
8411 recognized by AUTOWIRE. Reported by Spencer Isaacson.
8412 (verilog-extended-complete-re): Support import "DPI-C" functions.
8413 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
8414 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
8415 (verilog-insert-date, verilog-insert-year)
8416 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
8417 Windows systems. Reported by Michael Potts.
8418 (verilog-read-module-name): Fix AUTOINST when the child module
8419 declaration's name is a tick define. Reported by Elliot Mednick.
8420 (verilog-read-decls): Fix V2K parameter bit subscripts getting
8421 passed to next parameter's definition. Reported by Bruce T.
8422 (verilog-read-decls): Fix detecting "parameter int" when using
8423 AUTOINSTPARAM. Reported by Bruce T.
8424 (verilog-goto-defun): Fix goto not finding modules unless first
8425 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
8426 (verilog-mode): Expand -f flag arguments on entry to mode so
8427 verilog-goto-defun will work. Reported by Lawrence Butcher.
8428 (verilog-getopt): Expand environment variables in -f file
8429 arguments. Suggested by Lawrence Butcher.
8430 (verilog-set-define): Fix "Symbol's value as variable is void"
8431 when reading enumerations.
8432 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
8433 Suggested by Stephen Peltan.
8434 (verilog-read-defines): Fix reading of enumerations in include
8435 files. Reported by Steve Peltan.
8437 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
8439 * files.el (trash-directory): Fix defcustom type.
8441 2009-06-28 Juri Linkov <juri@jurta.org>
8443 * help-fns.el (describe-function-1): Correctly locate adviced
8444 functions in hyperlink (Bug#2438).
8446 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
8448 * files.el (trash-directory): Change default to nil.
8449 (move-file-to-trash): If trash-directory is nil and
8450 system-move-file-to-trash is unbound, perform freedesktop-style
8453 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
8455 * files.el (move-file-to-trash): Add freedesktop trash
8458 2009-06-28 Glenn Morris <rgm@gnu.org>
8460 * autorevert.el (global-auto-revert-non-file-buffers)
8461 (global-auto-revert-mode): Doc fixes.
8463 2009-06-27 Johan Bockgård <bojohan@gnu.org>
8465 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
8467 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
8469 * faces.el (x-handle-named-frame-geometry): Ensure that we have
8470 opened an X connection before calling x-get-resource (Bug#3194).
8472 * play/doctor.el: Remove reference to obsolete website.
8473 (make-doctor-variables): Correct grammar mistake (Bug#2633).
8475 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
8477 Remove find-file-not-found-hook VC method. (Bug#2757)
8478 * vc-hooks.el (vc-file-not-found-hook)
8479 (vc-default-find-file-not-found-hook): Remove functions.
8480 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
8481 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
8484 * vc-git.el: Do not mention find-file-not-found-hook VC method.
8486 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8488 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
8489 compatibility function for `looking-back'.
8491 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
8492 Use `ispell-looking-back'.
8494 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
8496 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
8497 rather than `filename'.
8499 2009-06-23 Miles Bader <miles@gnu.org>
8501 * face-remap.el (text-scale-set): New function.
8503 2009-06-23 Glenn Morris <rgm@gnu.org>
8505 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
8507 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
8509 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
8511 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
8513 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
8514 Simplify Persian conditionals.
8516 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
8517 variable `filename'.
8519 * comint.el (comint-insert-input): Doc fix.
8521 * Makefile.in (ELCFILES): Fix typo in previous change.
8523 2009-06-23 Miles Bader <miles@gnu.org>
8525 * cus-start.el: Add entry for `recenter-redisplay'.
8527 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
8529 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
8530 Add an optional argument for the backend, use it instead of
8532 (vc-mode-line): Add an optional argument for the backend.
8533 Pass the backend to vc-state and vc-working-revision. Move code for
8534 special handling for vc-state being a buffer to ...
8536 * vc-rcs.el (vc-rcs-find-file-hook):
8537 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
8539 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
8540 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
8541 vc-stay-local-p and vc-mode-line calls.
8543 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
8544 (vc-cvs-diff, vc-cvs-annotate-command)
8545 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
8546 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
8549 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
8551 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
8552 backend when calling vc-mode-line.
8553 (vc-register): Do not create a closure for calling the vc register
8554 function, call it directly.
8556 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
8558 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
8559 to make it obvious item can be clicked.
8561 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
8563 2009-06-23 Kenichi Handa <handa@m17n.org>
8565 * language/korea-util.el (korean-key-bindings): Change the binding
8566 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
8569 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
8571 Sync with Tramp 2.1.16.
8573 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
8575 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
8576 when a loading of a package fails. Completion function for rsync
8577 is `tramp-completion-function-alist-ssh'.
8578 (all): Replace all calls of `split-string' and
8579 `tramp-split-string' by `tramp-compat-split-string'.
8580 (tramp-default-method): Use `tramp-compat-process-running-p'.
8581 (tramp-default-proxies-alist): Allow also Lisp forms.
8582 (tramp-remote-path): Add choice "Private Directories".
8583 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
8584 (tramp-domain-regexp): Allow also "-", "_" and ".".
8585 (tramp-end-of-output): Remove newlines, and add "$" at the end.
8586 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
8587 (tramp-debug-message): Insert header line in debug buffer.
8588 (tramp-handle-directory-files-and-attributes-with-stat):
8589 Care about filenames with spaces, or starting with "-".
8590 (tramp-handle-dired-uncache): New defun.
8591 (tramp-handle-insert-directory): Don't flush the directory from
8592 cache, this is handled by `dired-uncache' now.
8593 (tramp-handle-insert-file-contents): Improve error handling.
8594 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8595 Quote `tramp-end-of-output'.
8596 (tramp-action-password): Improve trace message.
8597 (tramp-check-for-regexp): Both echoes must be present, before removing.
8598 (tramp-open-connection-setup-interactive-shell): Trace coding system.
8599 (tramp-compute-multi-hops): Eval cons cells of
8600 `tramp-default-proxies-alist'.
8601 (tramp-maybe-open-connection): Use the same command pattern for
8602 first hop and further hops.
8603 (tramp-wait-for-output): Remove handling of newlines.
8604 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
8605 (tramp-split-string): Remove function. It is handled in
8608 * net/tramp-cmds.el (tramp-bug):
8609 Recommend `tramp-cleanup-all-connections' in the bug mail.
8611 * net/tramp-compat.el (tramp-compat-split-string)
8612 (tramp-compat-process-running-p): New defuns.
8614 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
8615 for `dired-uncache'.
8617 * net/tramp-gvfs.el: New package.
8619 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8620 Add handler for `dired-uncache'.
8621 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
8623 * net/trampver.el: Update release number. Make version check fit
8626 2009-06-22 Jim Meyering <meyering@redhat.com>
8628 Automatically handle .xz suffix (XZ-compressed files), too.
8629 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
8630 XZ is the successor to LZMA: <http://tukaani.org/xz/>
8632 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
8633 Nick Roberts <nickrob@snap.net.nz>
8635 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
8636 repository (http://sphinx.net.ru/hg/gdb-mi/).
8638 2009-06-22 Glenn Morris <rgm@gnu.org>
8640 * files.el (dir-locals-collect-mode-variables): Allow for any number of
8641 `mode' and `eval' entries. (Bug#3430)
8643 * Makefile.in (ELCFILES): Add fadr.elc.
8645 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
8646 differing behavior of \n and ^ in strings. (Bug#3385)
8648 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
8650 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
8652 (lisp-indent-function): Make it a defcustom.
8654 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
8656 * progmodes/gdb-ui.el: Replace with ...
8657 * progmodes/gdb-mi.el: ... this file.
8658 * progmodes/gud.el: Modify for gdb-mi.el.
8660 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
8662 * fadr.el: New file.
8664 See ChangeLog.14 for earlier changes.
8670 Copyright (C) 2009 Free Software Foundation, Inc.
8672 This file is part of GNU Emacs.
8674 GNU Emacs is free software: you can redistribute it and/or modify
8675 it under the terms of the GNU General Public License as published by
8676 the Free Software Foundation, either version 3 of the License, or
8677 (at your option) any later version.
8679 GNU Emacs is distributed in the hope that it will be useful,
8680 but WITHOUT ANY WARRANTY; without even the implied warranty of
8681 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8682 GNU General Public License for more details.
8684 You should have received a copy of the GNU General Public License
8685 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
8687 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1