1 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
3 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
5 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7 * textmodes/bibtex.el (bibtex-complete-internal):
8 Use completion-in-region.
9 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13 Support applying stashes. Improve UI.
14 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15 (vc-git-stash-apply, vc-git-stash-pop)
16 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
17 (vc-git-stash-menu): New functions.
18 (vc-git-stash-menu-map): New variable.
19 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
21 2009-12-03 Glenn Morris <rgm@gnu.org>
23 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
24 (vc-print-log-internal): Fix previous change.
25 (vc-revert): Correct pluralization.
27 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
29 * progmodes/make-mode.el (makefile-special-targets-list): No need for
30 it to be an alist any more.
31 (makefile-complete): Use completion-in-region.
33 * progmodes/octave-mod.el (octave-complete-symbol):
34 Use completion-in-region.
37 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
38 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
39 (idlwave-complete-class): Don't quote lambda.
40 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
41 (idlwave-mode-map): Move initialization into declaration.
42 (idlwave-action-and-binding): Use backquotes.
43 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
45 (idlwave-is-pointer-dereference): Remove unused var `pos'.
46 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
47 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
48 `parts', and `all-parts'.
49 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
50 (idlwave-convert-xml-system-routine-info): Remove unused string
52 (idlwave-display-user-catalog-widget): Use dolist.
53 (idlwave-scanning-lib): Declare dynamically-scoped var.
54 (idlwave-scan-library-catalogs): Remove unused var `flags'.
55 (completion-highlight-first-word-only): Declare to silence bytecomp.
56 (idlwave-popup-select): Tighten scope of `resp'.
57 (idlwave-find-struct-tag): Remove unused var `beg'.
58 (idlwave-after-load-rinfo-hook): Declare.
59 (idlwave-sintern-class-info): Remove unused var `taglist'.
60 (idlwave-find-class-definition): Remove unused var `list'.
61 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
62 (idlwave-what-module-find-class): Remove unused var `classes'.
64 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
66 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
68 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
70 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
71 buffers visited. Remove redundant current-buffer-saving.
73 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
75 Use completion-in-buffer and remove uses of dynamic scoping.
76 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
77 (pascal-buffer-to-use, pascal-flag): Don't declare.
78 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
79 (pascal-get-completion-decl, pascal-keyword-completion):
80 Add `pascal-str' argument, save-excursion,
81 return the found completions, and don't filter with pascal-pred.
82 (pascal-completion-cache): New var.
83 (pascal-completion): Don't switch buffer any more (it was never
84 necessary). Don't save-excursion any more (it's done by the called
85 subroutines). Use a cache to avoid redundant computations.
86 Use complete-with-action rather than pascal-completion-response and
87 let it apply the predicate as well.
88 (pascal-complete-word): Use completion-in-buffer when
89 pascal-toggle-completions is nil.
90 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
92 (pascal-comp-defun): Don't change buffer any more.
93 Use complete-with-action rather than pascal-completion-response and
94 let it apply the predicate as well.
95 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
98 2009-12-02 Kenichi Handa <handa@m17n.org>
100 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
101 shape for all Indic scripts.
103 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
105 Use completion-in-buffer.
106 * wid-edit.el (widget-field-text-end): New function.
107 (widget-field-value-get): Use it.
108 (widget-string-complete, widget-file-complete)
109 (widget-color-complete): Use it and completion-in-region.
110 (widget-complete): Don't narrow the buffer.
112 2009-12-02 Glenn Morris <rgm@gnu.org>
114 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
115 (rmail-select-summary): Use rmail-pop-to-buffer.
116 * mail/rmailsum.el: Replace all pop-to-buffer calls with
117 rmail-pop-to-buffer, to prevent horizontal splits.
119 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
120 save-excursion with save-current-buffer.
121 Widen before searching. (Bug#5093)
122 (diary-list-sexp-entries): Remove superfluous save-excursion.
124 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
126 * woman.el (woman-make-bufname): Handle man-pages with "." in the
129 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
131 * ido.el (ido-file-internal): Handle filenames at point that do
132 not have a directory part. (Bug#5049)
134 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
136 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
137 (mpc-songs-jump-to, mpc-resume): Doc fixes.
139 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
141 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
142 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
145 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
147 * comint.el (comint-insert-input): Ignore clicks to the right of
148 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
150 * vc.el (vc-print-log-internal): Don't wait for the process to
151 terminate before setting up the major mode.
153 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
156 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
159 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
161 2009-12-01 Glenn Morris <rgm@gnu.org>
163 * window.el (window--display-buffer-2): Fix previous changes.
165 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
167 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
169 2009-12-01 Glenn Morris <rgm@gnu.org>
171 * Makefile.in (ELCFILES): Add mpc.elc.
173 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
177 2009-12-01 Glenn Morris <rgm@gnu.org>
179 * window.el (window-to-use): Define for compiler.
181 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
182 consistent with others (no final period).
184 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
185 (rmail-mime-show): Downcase the encoding. (Bug#5070)
187 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
189 Make vc-print-log buttons work.
190 * log-view.el (log-view-mode-map): Inherit from from widget-keymap.
192 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
194 * savehist.el (savehist-autosave-interval): Allow setting to nil
195 through customize. (Bug#5056)
197 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
199 Fix references to jit-lock properties.
200 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
201 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
202 (perl-font-lock-special-syntactic-constructs):
203 Quote jit-lock-defer-multiline property.
205 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
207 * vc-git.el (vc-git-registered): Call vc-git-root only once.
209 2009-11-30 Juri Linkov <juri@jurta.org>
211 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
212 value `buffer' of `multi-isearch-next-buffer-current-function'.
213 Use `(current-buffer)' when `buffer' is nil.
214 (multi-isearch-next-buffer-from-list): Don't fallback to
215 `(current-buffer)' when `buffer' is nil. (Bug#4947)
217 2009-11-30 Juri Linkov <juri@jurta.org>
219 * misearch.el (multi-isearch-read-buffers): Move canonicalization
220 of buffers with `get-buffer' to `multi-isearch-buffers'.
221 (multi-isearch-buffers, multi-isearch-buffers-regexp):
222 Canonicalize BUFFERS with `get-buffer'. Doc fix.
223 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
224 FILES with `expand-file-name' converting relative file names
225 to absolute. Doc fix. (Bug#4727)
227 2009-11-30 Juri Linkov <juri@jurta.org>
229 * misearch.el (multi-isearch-read-buffers)
230 (multi-isearch-read-matching-buffers): New functions.
231 (multi-isearch-buffers, multi-isearch-buffers-regexp):
232 Use them in the `interactive' spec. Doc fix.
233 (multi-isearch-read-files, multi-isearch-read-matching-files):
235 (multi-isearch-files, multi-isearch-files-regexp):
236 Use them in the `interactive' spec. Doc fix. (Bug#4725)
238 2009-11-30 Juri Linkov <juri@jurta.org>
240 * doc-view.el (doc-view-continuous):
241 Rename from `doc-view-continuous-mode'.
242 (doc-view-menu): Move "Toggle display" to the top.
243 Add submenu "Continuous" with radio buttons "Off"/"On"
244 and "Save as Default".
245 (doc-view-scroll-up-or-next-page)
246 (doc-view-scroll-down-or-previous-page)
247 (doc-view-next-line-or-next-page)
248 (doc-view-previous-line-or-previous-page): Rename
249 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
251 2009-11-30 Juri Linkov <juri@jurta.org>
253 * comint.el (comint-mode-map): Rebind `M-r' from
254 `comint-previous-matching-input' to
255 `comint-history-isearch-backward-regexp'.
256 Unbind `M-s' to allow global key binding `M-s'.
257 Add menu items for `comint-history-isearch-backward' and
258 `comint-history-isearch-backward-regexp'. (Bug#3746)
260 2009-11-30 Juri Linkov <juri@jurta.org>
262 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
263 For def=recenter, replace `recenter' with `recenter-top-bottom'
264 that is called with `this-command' and `last-command' let-bound
265 to `recenter-top-bottom'. When the last `def' was not `recenter',
266 set `recenter-last-op' to nil. (Bug#4981)
268 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
270 Minor cleanup and simplification.
271 * filecache.el (file-cache-add-directory)
272 (file-cache-add-directory-recursively)
273 (file-cache-add-from-file-cache-buffer)
274 (file-cache-delete-file-regexp, file-cache-delete-directory)
275 (file-cache-files-matching-internal, file-cache-display): Use dolist.
276 (file-cache-temp-minibuffer-message): Delete function.
277 (file-cache-minibuffer-complete): Use minibuffer-message instead.
279 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
280 Don't signal an error when bumping into EOB in tr, s, or y.
282 2009-11-29 Juri Linkov <juri@jurta.org>
284 * startup.el (fancy-about-text): Fix wording of Guided Tour.
287 * descr-text.el (describe-char-unidata-list): Use lowercase name
288 for "Unicode name" like in other tags.
290 2009-11-29 Juri Linkov <juri@jurta.org>
292 * ediff-util.el (ediff-minibuffer-with-setup-hook):
293 New compatibility macro.
294 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
296 2009-11-29 Juri Linkov <juri@jurta.org>
298 Add defcustom to define the cycling order of `recenter-top-bottom'.
301 * window.el (recenter-last-op): Doc fix.
302 (recenter-positions): New defcustom.
303 (recenter-top-bottom): Rewrite to use `recenter-positions'.
304 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
306 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
308 Improve integration of Tramp and ange-ftp in eshell.
310 * eshell/em-unix (eshell/whoami): Make it a defun but a defalias.
311 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
312 (eshell/sudo): Flatten args. Let-bind `default-directory'.
314 * eshell/esh-util.el (top): Require also Tramp when compiling.
315 (eshell-directory-files-and-attributes): Check for FTP remote
317 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
318 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
319 (eshell-file-attributes): Handle ".". Return `entry'.
321 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
322 (ange-ftp-directory-files-and-attributes)
323 (ange-ftp-real-directory-files-and-attributes): New defuns.
325 * net/tramp.el (tramp-maybe-open-connection): Open the remote
326 shell with "exec" when possible. This prevents trailing prompts
327 in `start-file-process'.
329 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
331 Try and remove assumptions about point-min==1.
332 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
333 (rng-compute-mode-line-string): Show the validation percentage in
334 terms of the narrowed text, not the widened text.
335 (rng-do-some-validation): Don't catch internal errors when debugging.
336 (rng-first-error): Simplify.
337 (rng-after-change-function): Remove work around. AFAIK the bug has
338 been fixed a while ago.
340 * image-mode.el (image-minor-mode): Exit more gracefully when the image
341 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
343 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
345 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
346 `cd' doesn't always do it for us (bug#5067).
348 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
349 on 2009-10-25 as part of some other change (bug#5067).
351 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
353 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
355 (byte-compile-warnings): Use byte-compile-warning-types.
356 (byte-compile-save-excursion): Warn about use of set-buffer right
357 after save-excursion.
359 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
360 the excursion as well.
362 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
364 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
365 providing a Tramp related implementation of "su" and "sudo".
366 (eshell-unix-initialize): Add "su" and "sudo".
368 2009-11-27 Daiki Ueno <ueno@unixuser.org>
370 * net/socks.el (socks-send-command): Convert binary request to
371 unibyte before sending. This fixes mishandling of some port
374 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
376 * help.el (describe-bindings-internal): Remove `interactive'.
378 * man.el (Man-completion-table): Trim a terminating "(".
379 Remove the space between name page a section.
380 Add the command's description on the `help-echo' property.
381 Remove `process-connection-type' binding since it's unused by
383 Provide completion for the "<section> <name>" format as well.
384 (Man-default-man-entry): Remove spurious var shadowing the argument.
386 2009-11-26 Kevin Ryde <user42@zip.com.au>
388 * log-view.el: Add "Keywords: tools", since its other keywords
389 aren't in finder-known-keywords, and following vc.el.
391 * sha1.el (sha1-string-external): default-directory "/" in case
392 otherwise non-existent. process-connection-type pipe for touch of
393 efficiency recommended by elisp manual. (An aside in Bug#3911.)
395 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
397 Misc coding convention cleanups.
398 * htmlfontify.el (hfy-init-kludge-hook): Rename from
399 hfy-init-kludge-hooks.
400 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
401 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
402 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
404 (hfy-slant, hfy-weight): Use tables rather than code.
405 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
406 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
407 (hfy-face-attr-for-class): Initialize `face-spec' directly.
408 (hfy-face-to-css): Remove `nconc' with single arg.
409 (hfy-p-to-face-lennart): Use `or'.
410 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
411 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
412 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
413 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
414 (hfy-force-fontification): Use run-hooks.
416 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
419 * htmlfontify.el (hfy-default-header): Add toggle_invis since
420 Javascript belongs in the header, not the body.
421 (hfy-javascript): Remove.
422 (hfy-fontify-buffer): Don't insert it any more.
423 (hfy-face-at): Handle (face0 face1 face2) style face properties.
424 Fix bug in invis handling when there were no invis props in a chunk.
426 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
428 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
430 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
432 * finder.el (finder-mode-map): Add a menu.
434 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
436 * verilog-mode.el (verilog-at-struct-p): Support "signed" and
439 (verilog-leap-to-head, verilog-backward-token): Handle "disable
440 fork" statement better.
442 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
444 * verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
445 (verilog-delete-empty-auto-pair, verilog-library-filenames):
446 Fix AUTOINSERTLISP to support insert-file. Reported by Clay Douglass.
448 (verilog-auto-inst, verilog-auto-star-safe)
449 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
450 Fix removing "// Interfaces" when saving .* expansions. Reported by
451 Pierre-David Pfister.
453 2009-11-26 Glenn Morris <rgm@gnu.org>
455 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
458 2009-11-25 Johan Bockgård <bojohan@gnu.org>
460 * vc-annotate.el (vc-annotate-revision-previous-to-line):
461 Really use previous revision.
463 2009-11-25 Kevin Ryde <user42@zip.com.au>
465 * man.el (Man-completion-table): default-directory "/" in case
466 doesn't otherwise exist. process-environment COLUMNS=999 so as
467 not to truncate long names. process-connection-type pipe to avoid
468 any chance of hitting the pseudo-tty TIOCGWINSZ.
469 (man): completion-ignore-case t for friendliness and since man
470 itself is case-insensitive on the command line.
473 * arc-mode.el: Add "Keywords: files", so the details in its
474 commentary can be reached from finder-by-keyword.
475 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
476 editing mode, but it's comms related and sgml-mode.el has "comm"
478 * textmodes/bibtex-style.el: Add "Keywords: tex".
479 * international/isearch-x.el, international/ja-dic-cnv.el:
480 * international/ja-dic-utl.el, international/kkc.el:
481 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
483 2009-11-25 Juri Linkov <juri@jurta.org>
485 * man.el (Man-completion-table): Modify regexp to include
486 section names to completion strings. (Bug#3717)
488 2009-11-25 Juri Linkov <juri@jurta.org>
490 Search recursively in gzipped files. (Bug#4982)
492 * progmodes/grep.el (grep-highlight-matches): Add new options
493 `always' and `auto'. Doc fix.
494 (grep-process-setup): Check `grep-highlight-matches' for
495 `auto-detect' to determine the need to compute grep defaults.
496 Move Windows/DOS specific --colors settings handling
497 to `grep-compute-defaults'. Check `grep-highlight-matches'
498 to get the value of "--color=".
499 (grep-compute-defaults): Compute `grep-highlight-matches' when it
500 has the value `auto-detect'. Move Windows/DOS specific settings
501 from `grep-process-setup'.
502 (zrgrep): New command with alias `rzgrep'.
504 2009-11-25 Juri Linkov <juri@jurta.org>
506 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
507 to nil instead of switching off view-mode. (Bug#4896)
509 2009-11-25 Juri Linkov <juri@jurta.org>
511 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
513 * mwheel.el (mwheel-scroll-up-function)
514 (mwheel-scroll-down-function): New defvars.
515 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
516 `scroll-up', and `mwheel-scroll-down-function' instead of
519 * doc-view.el (doc-view-scroll-up-or-next-page)
520 (doc-view-scroll-down-or-previous-page): Add optional ARG.
521 Use this ARG in the call to image-scroll-up/image-scroll-down.
522 Change `interactive' spec to "P". Goto next/previous page only
523 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
524 SPC/DEL case). Doc fix.
525 (doc-view-next-line-or-next-page)
526 (doc-view-previous-line-or-previous-page): Rename arg to ARG
528 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
529 `doc-view-scroll-up-or-next-page', and buffer-local
530 `mwheel-scroll-down-function' to
531 `doc-view-scroll-down-or-previous-page'.
533 2009-11-25 Juri Linkov <juri@jurta.org>
535 Provide additional default values (directories at other Dired
536 windows) via M-n in the minibuffer of some Dired commands.
538 * dired-aux.el (dired-diff, dired-compare-directories)
539 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
540 `minibuffer-default' in `minibuffer-with-setup-hook'.
541 (dired-dwim-target-directory): Find a window that displays Dired
542 buffer instead of failing when the next window is not Dired.
543 Use `get-window-with-predicate' to find for the next Dired window.
544 (dired-dwim-target-defaults): New function.
546 * ediff-util.el (ediff-read-file-name):
547 Use `dired-dwim-target-defaults' to set `minibuffer-default'
548 in `minibuffer-with-setup-hook'.
550 2009-11-25 Juri Linkov <juri@jurta.org>
552 Provide additional default values (file name at point or at the
553 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
555 * minibuffer.el (read-file-name-defaults): New function.
556 (read-file-name): Reset `minibuffer-default' to nil when
557 it duplicates initial input `insdef'.
558 Bind `minibuffer-default-add-function' to lambda that
559 calls `read-file-name-defaults' in `minibuffer-selected-window'.
560 (minibuffer-insert-file-name-at-point): New command.
562 * files.el (file-name-at-point-functions): New defcustom.
563 (find-file-default): Remove defvar.
564 (find-file-read-args): Don't use `find-file-default'.
565 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
567 (find-file-literally): Use `read-file-name' with
568 `confirm-nonexistent-file-or-buffer'.
570 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
572 * dired.el (dired-read-dir-and-switches):
573 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
575 (dired-file-name-at-point): New function.
576 (dired-mode): Add hook `dired-file-name-at-point' to
577 `file-name-at-point-functions'.
579 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
581 Really make the *Completions* window soft-dedicated (bug#5030).
582 * window.el (window--display-buffer-2): Add `dedicated' argument.
583 (display-buffer): Pass it when needed so the dedicated flag is set
584 after calling set-window-buffer, which would otherwise reset it.
586 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
588 * progmodes/meta-mode.el (meta-complete-symbol):
589 * progmodes/etags.el (complete-tag):
590 * mail/mailabbrev.el (mail-abbrev-complete-alias):
591 Use completion-in-region.
593 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
594 (dabbrev-completion): Use completion-in-region.
595 (dabbrev--abbrev-at-point): Simplify regexp.
597 * abbrev.el (abbrev--before-point): Use word-motion functions
598 if :regexp is not specified (bug#5031).
600 * subr.el (string-prefix-p): New function.
602 * man.el (Man-completion-cache): New var.
603 (Man-completion-table): Use it.
605 * vc.el (vc-print-log-internal): Make `limit' optional for better
606 compatibility (e.g. with vc-annotate.el).
608 2009-11-24 Kevin Ryde <user42@zip.com.au>
610 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
611 Build value with regexp-opt instead of explicit joining loop. (My
614 * emacs-lisp/elint.el (elint-add-required-env): Better error message
615 when .el source file not found or other error.
617 2009-11-24 Markus Triska <markus.triska@gmx.at>
619 * linum.el (linum-update-window): Ignore intangible (bug#4996).
621 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
623 Handle the [back] button properly (bug#4979).
624 * descr-text.el (describe-text-properties): Add a `buffer' argument.
625 Use help-setup-xref, help-buffer, and with-help-window.
626 (describe-char): Add `buffer' argument.
627 Pass proper command to help-setup-xref. Don't meddle with
628 help-xref-stack-item directly.
629 (describe-text-category): Use with-help-window and help-buffer.
631 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
632 for the displayed buffer (bug#4887).
634 * man.el (Man-completion-table): New function.
637 2009-11-24 David Reitter <david.reitter@gmail.com>
639 * vc-git.el (vc-git-registered): Use checkout directory (where
640 .git is) rather than the file's directory and a relative path spec
641 to work around a bug in git.
643 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
645 Improve handling of processes on remote hosts.
647 * eshell/esh-util.el (eshell-path-env): New defvar.
648 (eshell-parse-colon-path): New defun.
649 (eshell-file-attributes): Use `eshell-parse-colon-path'.
651 * eshell/esh-ext.el (eshell-search-path):
652 Use `eshell-parse-colon-path'.
653 (eshell-remote-command): Remove argument HANDLER.
654 (eshell-external-command): Check for FTP remote connection.
656 * eshell/esh-proc.el (eshell-gather-process-output):
657 Use `file-truename', in order to start also symlinked files.
658 Apply `start-file-process' instead of `start-process'.
659 Shorten `command' to the local file name part.
661 * eshell/em-cmpl.el (eshell-complete-commands-list):
662 Use `eshell-parse-colon-path'.
664 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
666 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
667 to `eshell-directory-change-hook'.
669 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
671 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
672 because it could be enabled automatically if view-read-only is non-nil.
674 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
676 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
679 2009-11-24 Glenn Morris <rgm@gnu.org>
681 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
682 deleted variable bookmark-bmenu-bookmark-column.
684 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
685 Move after definition of global-semantic-idle-tag-highlight-mode.
687 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
689 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
691 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
693 * net/browse-url.el (browse-url-filename-alist): On Windows, add
694 two slashes to the "file:" prefix.
695 (browse-url-file-url): De-munge Cygwin filenames before passing
696 them to Windows browser.
697 (browse-url-default-windows-browser): Use call-process.
699 2009-11-23 Juri Linkov <juri@jurta.org>
701 Implement DocView Continuous mode. (Bug#4896)
702 * doc-view.el (doc-view-continuous-mode): New defcustom.
703 (doc-view-mode-map): Bind C-n/<down> to
704 `doc-view-next-line-or-next-page', C-p/<up> to
705 `doc-view-previous-line-or-previous-page'.
706 (doc-view-next-line-or-next-page)
707 (doc-view-previous-line-or-previous-page): New commands.
709 2009-11-23 Juri Linkov <juri@jurta.org>
711 Implement Isearch in comint input history. (Bug#3746)
712 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
714 (comint-history-isearch): New defcustom.
715 (comint-history-isearch-backward)
716 (comint-history-isearch-backward-regexp): New commands.
717 (comint-history-isearch-message-overlay): New buffer-local variable.
718 (comint-history-isearch-setup, comint-history-isearch-end)
719 (comint-goto-input, comint-history-isearch-search)
720 (comint-history-isearch-message, comint-history-isearch-wrap)
721 (comint-history-isearch-push-state)
722 (comint-history-isearch-pop-state): New functions.
724 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
726 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
728 (tramp-handle-make-symbolic-link)
729 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
731 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
732 (tramp-handle-process-file): Use it.
734 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
736 * window.el (move-to-window-line-last-op): Remove.
737 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
739 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
741 Make M-r mirror the new cycling behavior of C-l.
742 * window.el (move-to-window-line-last-op): New var.
743 (move-to-window-line-top-bottom): New command.
744 (global-map): Bind M-r move-to-window-line-top-bottom.
746 2009-11-23 Sven Joachim <svenjoac@gmx.de>
748 * dired-x.el (dired-guess-shell-alist-default):
749 Support xz format. (Bug#4953)
751 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
753 * cedet/srecode/map.el (srecode-get-maps):
754 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
755 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
756 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
757 (semantic-toggle-decoration-style):
758 * cedet/semantic/decorate/include.el
759 (semantic-decoration-include-describe)
760 (semantic-decoration-unknown-include-describe)
761 (semantic-decoration-unparsed-include-describe)
762 (semantic-decoration-all-include-summary):
763 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
764 * cedet/semantic/analyze/complete.el
765 (semantic-analyze-possible-completions):
766 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
767 (semantic-show-unmatched-syntax-mode)
768 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
769 (semantic-highlight-func-mode):
770 * cedet/semantic/util.el (semantic-describe-buffer):
771 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
772 (semantic-symref-find-tags-by-name)
773 (semantic-symref-find-tags-by-regexp)
774 (semantic-symref-find-tags-by-completion)
775 (semantic-symref-find-file-references-by-name)
776 (semantic-symref-find-text):
777 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
779 * cedet/semantic/scope.el (semantic-calculate-scope):
780 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
781 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
782 (define-semantic-idle-service):
783 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
784 (semantic-complete-analyze-inline-idle):
785 * cedet/semantic/analyze.el (semantic-analyze-current-context):
786 * cedet/mode-local.el (describe-mode-local-bindings)
787 (describe-mode-local-bindings-in-mode):
788 * cedet/ede/make.el (ede-make-check-version):
789 * cedet/ede/locate.el (ede-enable-locate-on-project):
790 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
791 (cedet-idutils-version-check):
792 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
793 (cedet-gnu-global-version-check):
794 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
795 (cedet-cscope-version-check): Use called-interactively-p instead
798 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
799 Use semantic-format-tag-prototype.
801 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
803 * emulation/viper-cmd.el: Use viper-last-command-char instead of
804 last-command-char/last-command-event.
805 (viper-prefix-arg-value): Do correct conversion of event-char for
808 * emulation/viper-util.el, emulation/viper.el:
809 Use viper-last-command-char instead of
810 last-command-char/last-command-event.
812 * ediff-init.el, ediff-mult.el, ediff-util.el:
813 Replace last-command-char and last-command-event
814 with (ediff-last-command-char) everywhere.
816 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
817 created in fundamental mode.
819 * ediff.el (ediff-version): Revert the change of interactive-p to
820 called-interactively-p.
822 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
824 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
825 generation from word-movement command names.
827 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
829 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
830 (semantic-complete-jump-local, semantic-complete-jump):
831 Improve prompt string.
833 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
835 * cus-start.el (all): Add native condition for font-use-system-font.
837 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
839 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
840 Correct the patch from 2009-11-18. (Bug#3910)
842 2009-11-21 Alan Mackenzie <acm@muc.de>
844 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
845 Update to deal with modern Java constructs.
847 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
849 * progmodes/subword.el: Rename from lisp/subword.el.
851 * subword.el: Rename to progmodes/subword.el.
853 * Makefile.in (ELCFILES): Adapt to subword.el move.
855 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
856 Stefan Monnier <monnier@iro.umontreal.ca>
858 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
859 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
860 (bookmark-bmenu-show-filenames): Use push.
861 (bookmark-bmenu-hide-filenames): Use local var instead of
862 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
863 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
864 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
865 filenames now that the bookmark names are always available.
867 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
869 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
870 (bookmark-search-pattern): Move and leave unbound.
871 (bookmark-bmenu-mode-map): Change binding.
872 (bookmark-read-search-input): Simplify.
873 Don't use text-char-description. Don't error on non-char events.
874 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
875 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
876 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
877 Use a local var for the timer.
878 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
879 (i.e. bookmark-bmenu-search).
881 2009-11-21 Glenn Morris <rgm@gnu.org>
883 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
885 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
887 * net/browse-url.el (browse-url-default-windows-browser):
888 Use cygstart for cygwin.
890 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
892 * bookmark.el Formatting and doc fixes only:
893 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
894 (bookmark-bmenu-search): Wrap to fit within 80 columns.
895 Minor grammar and punctuation fixes in doc string.
896 (bookmark-read-search-input): Adjust to fit within 80 columns.
898 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
900 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
901 (c-backward-into-nomenclature): Adapt to subword renaming.
903 * subword.el (subword-forward, subword-backward, subword-mark)
904 (subword-kill, subword-backward-kill, subword-transpose)
905 (subword-downcase, subword-upcase, subword-capitalize)
906 (subword-forward-internal, subword-backward-internal):
907 Rename from forward-subword, backward-subword, mark-subword,
908 kill-subword, backward-kill-subword, transpose-subwords,
909 downcase-subword, upcase-subword, capitalize-subword,
910 forward-subword-internal, backward-subword-internal.
912 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
914 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
916 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
918 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
919 (bookmark-bmenu-filter-alist-by-regexp)
920 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
921 (bookmark-bmenu-search): New command.
922 (bookmark-bmenu-mode-map): Bind it.
924 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
926 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
928 * cedet/semantic/idle.el (define-semantic-idle-service)
929 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
931 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
933 * progmodes/cc-cmds.el: declare-functioned forward-subword and
934 backward-subword to quit the byte-compiler.
936 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
938 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
940 * progmodes/cc-cmds.el (c-update-modeline)
941 (c-forward-into-nomenclature, c-backward-into-nomenclature):
942 Refer to subword.el functions instead of cc-subword.el.
944 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
945 subword.el functions instead of cc-subword.el.
947 * progmodes/cc-subword.el: Rename to subword.el.
948 * subword.el: Rename from progmodes/cc-subword.el.
949 (subword-mode-map): Rename from c-subword-mode-map.
950 (subword-mode): Rename from c-subword-mode.
951 (global-subword-mode): New global minor mode.
952 (forward-subword): Rename from c-forward-subword.
953 (backward-subword): Rename from c-backward-subword.
954 (mark-subword): Rename from c-mark-subword.
955 (kill-subword): Rename from c-kill-subword.
956 (backward-kill-subword): Rename from c-backward-kill-subword.
957 (transpose-subwords): Rename from c-tranpose-subword.
958 (downcase-subword): Rename from c-downcase-subword.
959 (capitalize-subword): Rename from c-capitalize-subword.
960 (forward-subword-internal): Rename from c-forward-subword-internal.
961 (backward-subword-internal): Rename from c-backward-subword-internal.
963 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
965 * vc.el (vc-deduce-fileset): Allow non-state changing operations
967 (vc-dired-deduce-fileset): New function.
968 (vc-root-diff, vc-print-root-log): Use it.
970 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
971 nil LIMIT argument to vc-print-log-internal.
973 2009-11-20 Glenn Morris <rgm@gnu.org>
975 * Makefile.in (ELCFILES): Regenerate.
977 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
979 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
981 * cedet/semantic.el: Enable idle-mode menu items only if
982 global-semantic-idle-scheduler-mode is enabled.
983 (semantic-default-submodes): Doc fix.
985 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
986 When turning off, disable other idle modes.
988 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
990 * calc/calc.el (calc-set-mode-line):
991 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
992 (math-format-number): Rename `math-format-complement-signed' to
993 `math-format-twos-complement'.
995 * calc/calc-bin.el (math-format-twos-complement): Rename from
996 math-format-complement-signed.
997 (calc-radix): Rename `calc-complement-signed-mode' to
998 `calc-twos-complement-mode'.
999 (calc-octal-radix, calc-hex-radix): Add an argument for
1002 * calc/calc-embed.el (calc-embedded-mode-vars):
1003 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1005 * calc/calc-ext.el (calc-init-extensions):
1006 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1007 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
1009 * calc/calc-units.el (math-build-units-table-buffer):
1010 Let `calc-twos-complement-mode' be nil.
1012 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
1015 * calc/calc-vec.el (calcFunc-vunpack):
1016 * calc/calc-aent.el (calc-do-calc-eval):
1017 * calc/calc-forms.el (math-format-date):
1018 * calc/calc-graph.el (calc-graph-plot):
1019 * calc/calc-math.el (math-use-emacs-fn):
1020 * calc/calccomp.el (math-compose-expr):
1021 Let `calc-twos-complement-mode' be nil.
1023 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1025 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
1026 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
1027 * minibuffer.el (completion-in-region-functions): New hook.
1028 (completion-in-region): New function.
1029 * emacs-lisp/lisp.el (lisp-complete-symbol):
1030 * pcomplete.el (pcomplete-std-complete): Use it.
1032 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1034 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
1035 (latex-complete-alist): New vars.
1036 (latex-string-prefix-p, latex-complete-bibtex-keys)
1037 (latex-complete-envnames, latex-complete-refkeys)
1038 (latex-complete-data): New functions.
1039 (latex-complete, latex-indent-or-complete): New commands.
1041 * window.el (display-buffer-mark-dedicated): New var.
1042 (display-buffer): Obey it.
1043 * minibuffer.el (minibuffer-completion-help): Use it.
1045 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
1047 * filecache.el (file-cache-add-file): Use push and cons.
1048 (file-cache-delete-file-regexp): Use push.
1049 (file-cache-complete): Use completion-in-region.
1051 * simple.el (with-wrapper-hook): Fix thinko.
1053 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
1054 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
1055 Use with-current-buffer and string-to-number.
1056 (hfy-fallback-colour-values): Use assoc-string.
1057 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
1058 (hfy-face-at): Remove unused var `found-face'.
1059 (hfy-compile-stylesheet): Remove unused var `css'.
1060 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
1062 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
1063 Use with-current-buffer.
1064 (hfy-text-p): Use expand-file-name and fewer setq.
1066 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
1068 * htmlfontify.el, hfy-cmap.el: New files.
1070 2009-11-19 Juri Linkov <juri@jurta.org>
1072 * minibuffer.el (completions-format): New defcustom.
1073 (completion--insert-strings): Implement vertical format.
1075 * simple.el (switch-to-completions): Move point to the first
1076 completion when point was at the beginning of the buffer.
1078 2009-11-19 Juri Linkov <juri@jurta.org>
1080 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
1082 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
1084 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
1086 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
1087 (mail-signature): Change default to t.
1088 (mail-from-style): Deprecate `system-default' value.
1089 (mail-insert-from-field): For default value of mail-from-style,
1090 default to `angles' unless `angles' needs quoting and `parens'
1092 (mail-citation-prefix-regexp): Use citation regexp from
1095 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
1097 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
1098 Set variables for computing the prompt for reading password.
1100 2009-11-19 Glenn Morris <rgm@gnu.org>
1102 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
1104 * textmodes/flyspell.el (sgml-lexical-context): Declare.
1106 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
1107 (newsticker-treeview-listwindow-height): Fix custom type.
1109 2009-11-19 Kenichi Handa <handa@m17n.org>
1111 * descr-text.el (describe-char-padded-string): Compose with TAB
1112 only if there's a font for CH.
1113 (describe-char): Fix the condition for detecting a trivial composition.
1115 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
1117 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
1118 more accurate version of the regexp. (Bug#3910)
1120 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
1122 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
1124 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
1126 * font-setting.el (font-use-system-font): Declare for byte-compiler.
1127 (font-setting-change-default-font): Fix typo in docstring.
1129 2009-11-18 Alan Mackenzie <acm@muc.de>
1131 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
1133 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
1135 * font-setting.el (font-use-system-font): Move ...
1137 * cus-start.el (all): ... to here.
1139 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
1141 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
1142 Don't set `ad-return-value' if `ad-do-it' doesn't.
1144 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
1147 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
1149 * menu-bar.el: Put "Use system font" in Option-menu.
1150 (menu-bar-options-save): Add font-use-system-font.
1152 * loadup.el: If feature system-font-setting or font-render-setting is
1153 there, load font-setting.
1155 * Makefile.in (ELCFILES): Add font-settings.el.
1156 * font-setting.el: New file.
1158 2009-11-17 Glenn Morris <rgm@gnu.org>
1160 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
1162 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
1163 Preserve point in the list buffer. (Bug#4939)
1165 (newsticker--treeview-list-update-highlight)
1166 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
1168 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
1170 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
1173 * calc/calc-ext.el (calc-init-extensions): Remove references to
1176 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
1178 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
1179 * calc/calc-help.el (calc-b-prefix-help): Remove references to
1182 2009-11-16 Kevin Ryde <user42@zip.com.au>
1184 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
1185 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
1187 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
1188 (lm-keywords-list): Allow comma-only separator like "foo,bar".
1189 Ignore trailing spaces by omit-nulls to split-string (fixing
1190 regression from Emacs 21 due to the incompatible split-string
1191 change). (Bug #4928.)
1193 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
1195 * vc.el (vc-log-show-limit): Default to 2000.
1196 (vc-print-log-internal): Insert buttons to request more entries
1197 when limiting the output.
1199 * vc-sccs.el (vc-sccs-print-log):
1200 * vc-rcs.el (vc-rcs-print-log):
1201 * vc-cvs.el (vc-cvs-print-log):
1202 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
1205 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
1207 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
1208 error when `tramp-gvfs-dbus-event-vector' is set.
1209 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
1211 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1213 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
1215 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
1217 * net/dbus.el (dbus-unregister-service): New defun.
1218 (dbus-register-property): Register the handlers of
1219 "org.freedesktop.DBus.Properties" for SERVICE.
1220 (dbus-property-handler): Fix docstring.
1222 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1224 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
1225 Quote doc string reference in defvaralias as it is not in special form.
1226 (byte-compile-output-docform): Doc fix.
1228 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
1230 * calc/calc.el (math-2-word-size, math-half-2-word-size)
1231 (calc-complement-signed-mode): New variables.
1232 (calc-set-mode-line): Add indicator for twos-complements.
1233 (math-format-number): Format twos-complement notation.
1235 * calc/calc-bin.el (calc-word-size): Reset the variables
1236 `math-2-word-size' and `math-half-2-word-size'.
1237 (math-format-complement-signed, math-symclip, calcFunc-symclip)
1238 (calc-symclip): New functions.
1240 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
1242 * calc/calc-embed.el (calc-embedded-mode-vars):
1243 Add `calc-complement-signed-mode' to the list of modes.
1245 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
1246 (calc-b-oper-keys): Add `calc-symclip' to list.
1248 * calc/calc-ext.el (math-read-number-fancy): Read complement
1250 (calc-init-extensions): Add binding for `calc-symclip'.
1251 Add autoload for `calcFunc-symclip' and `calc-symclip'.
1253 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
1255 (calc-modes-menu): Add item for twos complement mode.
1257 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
1259 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
1261 * register.el (jump-to-register, insert-register): Handle Semantic
1262 tags. From commented-out advice in semantic/senator.el.
1264 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
1266 * vc.el (vc-log-show-limit): New variable.
1267 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
1268 when using a prefix argument.
1269 (vc-print-log-internal): Add new argument LIMIT.
1271 * vc-svn.el (vc-svn-print-log):
1272 * vc-mtn.el (vc-mtn-print-log):
1273 * vc-hg.el (vc-hg-print-log):
1274 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
1275 pass it to the log command when set. Make the BUFFER argument
1278 * vc-sccs.el (vc-sccs-print-log):
1279 * vc-rcs.el (vc-rcs-print-log):
1280 * vc-git.el (vc-git-print-log):
1281 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
1282 ignore it. Make the BUFFER argument non-optional
1284 * bindings.el (mode-line-buffer-identification): Do not purecopy.
1286 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
1288 * dired.el (dired-mode-map): Move encryption items to "Operate"
1291 * strokes.el (strokes-update-window-configuration): Make strokes
1292 buffer current before erasing (Bug#4906).
1294 * cedet/semantic/idle.el (semantic-idle-summary-mode)
1295 (semantic-idle-summary-mode): Define using define-minor-mode
1296 instead of define-semantic-idle-service.
1297 (semantic-idle-summary-mode): New function.
1298 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
1299 that mouse motion does not reset the echo area.
1301 2009-11-15 Juri Linkov <juri@jurta.org>
1303 * simple.el (set-mark-default-inactive): Add :type, :group
1304 and :version. (Bug#4876)
1306 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
1308 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
1309 (archive-unique-fname): ... here. (Bug#4929)
1311 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1313 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
1316 * novice.el (disabled-command-function): Add useful args.
1317 Setup the help buffer so that [back] works.
1318 Remove redundant call to help-mode.
1319 (disabled-command-function): Use `case'.
1320 (en/disable-command): New function extracted from enable-command.
1321 (enable-command, disable-command): Use it.
1323 2009-11-14 Glenn Morris <rgm@gnu.org>
1325 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
1326 constants. (Bug#4913)
1328 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
1330 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1332 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
1333 defined in C that have no doc-strings. (Bug#1063)
1335 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
1337 * cus-edit.el (data, files):
1338 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
1340 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
1342 * simple.el (shell-command): Doc fix (Bug#4891).
1344 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
1346 2009-11-14 Glenn Morris <rgm@gnu.org>
1348 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
1349 statements for vc-diff, emerge-quit, and rmail-cease-edit.
1350 If they are already loaded, eval-after-load will do the right thing.
1352 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
1355 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
1357 * simple.el (x-selection-owner-p): Declare.
1358 (read-mail-command): Use custom radio type rather than choice.
1359 (completion-no-auto-exit): Doc fix.
1361 * custom.el (defgroup):
1362 * epg-config.el (epg): Doc fixes.
1364 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
1366 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
1367 * international/ccl.el (define-ccl-program): Do not purecopy the
1368 docstring, defconst does it anyway.
1370 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1372 * add-log.el (add-change-log-entry): Avoid displaying the changelog
1375 * x-dnd.el (x-dnd-maybe-call-test-function):
1376 * window.el (split-window-vertically):
1377 * whitespace.el (whitespace-help-on):
1378 * vc-rcs.el (vc-rcs-consult-headers):
1379 * userlock.el (ask-user-about-lock-help)
1380 (ask-user-about-supersession-help):
1381 * type-break.el (type-break-force-mode-line-update):
1382 * time-stamp.el (time-stamp-conv-warn):
1383 * terminal.el (te-set-output-log, te-more-break, te-filter)
1384 (te-sentinel,terminal-emulator):
1385 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
1386 (term-write-input-ring, term-check-source, term-start-output-log):
1387 (term-display-buffer-line, term-dynamic-list-completions):
1388 (term-ansi-make-term, serial-term):
1389 * subr.el (selective-display):
1390 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1391 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
1392 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
1393 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
1394 (speedbar-remove-localized-speedbar-support)
1395 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
1396 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
1397 (speedbar-buffers-line-directory):
1398 * simple.el (shell-command-on-region, append-to-buffer)
1399 (prepend-to-buffer):
1400 * shadowfile.el (shadow-save-todo-file):
1401 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
1402 (scroll-bar-maybe-set-window-start):
1403 * sb-image.el (speedbar-image-dump):
1404 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
1405 (load-save-place-alist-from-file):
1406 * ps-samp.el (ps-print-message-from-summary):
1407 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
1408 (ps-background-image, ps-begin-job, ps-do-despool):
1409 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
1410 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
1411 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
1412 (pr-call-process, pr-file-list, pr-interface-save):
1413 * novice.el (disabled-command-function)
1414 (enable-command, disable-command):
1415 * mouse.el (mouse-buffer-menu-alist):
1416 * mouse-copy.el (mouse-kill-preserving-secondary):
1417 * macros.el (kbd-macro-query):
1418 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
1419 * informat.el (batch-info-validate):
1420 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
1421 * hippie-exp.el (try-expand-dabbrev-visible):
1422 * help-mode.el (help-make-xrefs):
1423 * help-fns.el (describe-variable):
1424 * generic-x.el (bat-generic-mode-run-as-comint):
1425 * finder.el (finder-mouse-select):
1426 * find-dired.el (find-dired-sentinel):
1427 * filesets.el (filesets-file-close):
1428 * files.el (list-directory):
1429 * faces.el (list-faces-display, describe-face):
1430 * facemenu.el (list-colors-display):
1431 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
1432 * epg.el (epg--process-filter, epg-cancel):
1433 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
1434 (epa--read-signature-type):
1435 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
1436 (emerge-file-names):
1437 * ehelp.el (electric-helpify):
1438 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
1439 * ediff-vers.el (rcs-ediff-view-revision):
1440 * ediff-util.el (ediff-setup):
1441 * ediff-mult.el (ediff-append-custom-diff):
1442 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
1444 * echistory.el (Electric-command-history-redo-expression):
1445 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1446 * disp-table.el (describe-display-table):
1447 * dired.el (dired-find-buffer-nocreate):
1448 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
1449 * dabbrev.el (dabbrev--same-major-mode-p):
1450 * chistory.el (list-command-history):
1451 * apropos.el (apropos-documentation):
1452 * allout.el (allout-obtain-passphrase):
1453 (allout-copy-exposed-to-buffer):
1454 (allout-verify-passphrase): Use with-current-buffer.
1456 2009-11-13 Glenn Morris <rgm@gnu.org>
1458 * Makefile.in (ELCFILES): Regenerate.
1460 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
1462 * net/dbus.el (dbus-registered-objects-table): Rename from
1463 `dbus-registered-functions-table', because it contains also properties.
1464 (dbus-unregister-object): Unregister also properties.
1465 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1466 Use a timeout of 500 msec, in order to not block.
1467 (dbus-register-property, dbus-property-handler): New defuns.
1469 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1471 * simple.el (minibuffer-default-add-completions): Drop deprecated
1474 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
1476 * textmodes/artist.el (artist-mouse-choose-operation):
1477 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
1478 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
1479 (artist-compute-up-event-key): New function.
1480 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
1482 2009-11-13 Kenichi Handa <handa@m17n.org>
1484 * language/japan-util.el: Make sure that the value of jisx0208
1485 property is jisx0208 character.
1487 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
1489 * international/mule.el (auto-coding-regexp-alist): Only purecopy
1490 car or each item, not the whole list.
1492 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1494 * minibuffer.el (minibuffer-completion-help):
1495 Use minibuffer-hide-completions.
1497 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
1499 * dired.el (dired-save-positions, dired-restore-positions): New funs.
1500 (dired-revert): Use them (bug#4880).
1502 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
1504 * tooltip.el (tooltip-frame-parameters): Undo previous change.
1506 2009-11-12 Juri Linkov <juri@jurta.org>
1508 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
1510 (find-file-literally-at-point): Alias of `ffap-literally'.
1512 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
1514 * textmodes/ispell.el (ispell-skip-region-alist):
1515 * textmodes/css-mode.el (auto-mode-alist):
1516 * progmodes/compile.el (auto-mode-alist):
1517 * international/mule.el (ctext-non-standard-encodings-alist)
1518 (ctext-non-standard-encodings-regexp):
1519 * simple.el (shell-command-switch, text-read-only):
1520 * replace.el (occur-mode-map):
1521 * paths.el (rmail-file-name):
1522 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
1523 * find-file.el (ff-special-constructs):
1524 * files.el (file-name-handler-alist):
1525 * composite.el: Purecopy strings.
1527 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
1529 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
1531 * widget.el (define-widget): Purecopy the docstring.
1532 * international/mule-cmds.el (charset): Do not purecopy the
1533 docstring here, define-widget does it.
1535 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
1536 * textmodes/bibtex-style.el (auto-mode-alist):
1537 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1538 * progmodes/compile.el (compile-command):
1539 * language/korea-util.el (default-korean-keyboard):
1540 * international/mule-conf.el (file-coding-system-alist):
1541 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
1542 * tooltip.el (tooltip-frame-parameters):
1543 * newcomment.el (comment-end, comment-padding):
1544 * dired.el (dired-trivial-filenames):
1545 * comint.el (comint-file-name-prefix): Purecopy initial values.
1547 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
1549 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
1550 (tramp-advice-minibuffer-electric-tilde): Unload advices via
1552 (tramp-advice-make-auto-save-file-name)
1553 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
1554 after removing the advice.
1556 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
1558 * progmodes/grep.el (grep-regexp-alist):
1559 * international/mule-cmds.el (iso-2022-control-alist):
1560 * emacs-lisp/timer.el (timer-duration-words):
1561 * subr.el (version-separator, version-regexp-alist):
1562 * minibuffer.el (completion-styles-alist):
1563 * faces.el (face-attribute-name-alist, list-faces-sample-text):
1564 Change defvars to defconsts.
1566 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
1567 * loadup.el ("international/mule-conf"): Load the byte compiled version.
1568 * international/mule-conf.el: Allow to be byte compiled.
1570 * international/mule.el (define-charset): Purecopy props.
1571 (load-with-code-conversion): Purecopy doc string and file name.
1572 (put-charset-property): Purecopy strings.
1573 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
1575 * international/mule-cmds.el (register-input-method): Purecopy arguments.
1576 (define-char-code-property): Correctly purecopy the table.
1578 * international/ccl.el (define-ccl-program): Purecopy the docstring.
1580 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
1582 * subr.el (add-hook): Purecopy strings.
1583 (eval-after-load): Purecopy load-history-regexp and the form.
1585 * custom.el (custom-declare-group): Purecopy load-file-name.
1587 * subr.el (menu-bar-separator): New defconst.
1588 * net/eudc.el (eudc-tools-menu):
1589 * international/mule-cmds.el (set-coding-system-map)
1591 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1592 * vc-hooks.el (vc-menu-map):
1593 * replace.el (occur-mode-map):
1594 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
1595 (menu-bar-edit-menu, menu-bar-goto-menu)
1596 (menu-bar-custom-menu, menu-bar-showhide-menu)
1597 (menu-bar-options-menu, menu-bar-tools-menu)
1598 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
1599 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1600 (menu-bar-help-menu):
1601 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
1602 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
1604 * term/x-win.el (x-gtk-stock-map):
1605 * progmodes/vera-mode.el (auto-mode-alist):
1606 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1607 (inferior-lisp-program, inferior-lisp-load-command):
1608 * progmodes/hideshow.el (hs-special-modes-alist):
1609 * progmodes/gud.el (same-window-regexps):
1610 * progmodes/grep.el (grep-program, find-program, xargs-program):
1611 * net/telnet.el (same-window-regexps):
1612 * net/rlogin.el (same-window-regexps):
1613 * language/ethiopic.el (font-ccl-encoder-alist):
1614 * vc-sccs.el (vc-sccs-master-templates):
1615 * vc-rcs.el (vc-rcs-master-templates):
1616 * subr.el (cl-assertion-failed):
1617 * simple.el (next-error-overlay-arrow-position):
1618 * lpr.el (lpr-command):
1619 * locate.el (locate-ls-subdir-switches):
1620 * info.el (same-window-regexps, info)
1621 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
1622 * image-mode.el (image-mode, auto-mode-alist):
1623 * hippie-exp.el (hippie-expand-ignore-buffers):
1624 * format.el (format-alist):
1625 * find-dired.el (find-ls-subdir-switches, find-grep-options)
1627 * facemenu.el (facemenu-keybindings):
1628 * dired.el (dired-listing-switches, dired-chown-program):
1629 * diff.el (diff-switches, diff-command):
1630 * cus-edit.el (same-window-regexps):
1631 * bindings.el (mode-line-mule-info)
1632 (mode-line-buffer-identification): Purecopy strings.
1634 2009-11-11 Juri Linkov <juri@jurta.org>
1636 * simple.el (dired-get-filename)<declare-function>:
1637 Tell the byte-compiler about dired-get-filename.
1638 (shell-command): In Dired mode, get filename from the current line
1639 as the default value.
1641 2009-11-10 Glenn Morris <rgm@gnu.org>
1643 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
1644 * calendar/holidays.el, progmodes/cperl-mode.el:
1645 Update x-popup-menu declarations.
1647 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
1648 (list-load-path-shadows): Use dolist.
1649 (list-load-path-shadows): Use with-current-buffer.
1651 2009-11-10 Juri Linkov <juri@jurta.org>
1653 * minibuffer.el (read-file-name): Support a list of default values
1654 in `default-filename'. Use the first file name where only one
1655 element is required. Doc fix.
1657 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
1659 * net/dbus.el (dbus-unregister-object): Release service, if no
1660 other method is registered for it.
1662 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
1664 * bookmark.el (bookmark-completing-read): Sort bookmark names if
1665 bookmark-sort-flag is non-nil (Bug#4653).
1667 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
1669 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
1670 the progress reporter entirely.
1672 * emulation/cua-base.el: Add CUA property to some CC mode commands
1675 2009-11-08 Kevin Ryde <user42@zip.com.au>
1677 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
1678 at end of sentence (Bug#4818).
1680 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
1682 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1683 Handle "see declaration of" MSFT statements (Bug#4100).
1685 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
1687 * net/tramp.el (tramp-advice-make-auto-save-file-name)
1688 (tramp-advice-file-expand-wildcards): Unload via
1691 * net/trampver.el: Update release number.
1693 2009-11-08 Kevin Ryde <user42@zip.com.au>
1695 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
1698 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
1700 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
1701 in order to keep context in SELinux.
1703 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
1705 * dired-aux.el (dired-query): Place cursor in echo area and allow
1708 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
1709 menu item if not on a directory (Bug#4701).
1711 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
1713 Sync with Tramp 2.1.17.
1715 * net/tramp.el (tramp-handle-copy-directory): Don't use
1716 `file-remote-p' (due to compatibility).
1718 * net/tramp-compat.el (tramp-compat-copy-directory)
1719 (tramp-compat-delete-directory): New defuns.
1721 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
1722 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
1723 `tramp-compat-delete-directory'.
1725 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1726 (tramp-smb-handle-delete-directory ): Use
1727 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
1729 * net/trampver.el: Update release number.
1731 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
1733 * tar-mode.el (tar-copy): Call write-region on the right buffer
1736 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
1737 by hand, if necessary (Bug#4878).
1739 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
1741 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
1742 align size column (Bug#4839).
1744 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
1747 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
1749 * progmodes/ld-script.el (auto-mode-alist):
1750 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
1752 * cus-face.el (custom-declare-face): Purecopy face spec.
1754 2009-11-06 Kenichi Handa <handa@m17n.org>
1756 * international/uni-bidi.el: Re-generated.
1757 * international/uni-category.el: Re-generated.
1758 * international/uni-combining.el: Re-generated.
1759 * international/uni-mirrored.el: Re-generated.
1761 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
1763 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
1764 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
1765 (tex-start-options, slitex-run-command, latex-run-command)
1766 (tex-run-command, tex-directory):
1767 * textmodes/ispell.el (ispell-html-skip-alists)
1768 (ispell-tex-skip-alists, ispell-tex-skip-alists):
1769 * textmodes/fill.el (adaptive-fill-first-line-regexp):
1770 (adaptive-fill-regexp):
1771 * textmodes/dns-mode.el (auto-mode-alist):
1772 * progmodes/python.el (interpreter-mode-alist):
1773 * progmodes/etags.el (tags-compression-info-list):
1774 * progmodes/etags.el (tags-file-name):
1775 * net/browse-url.el (browse-url-galeon-program)
1776 (browse-url-firefox-program):
1777 * mail/sendmail.el (mail-signature-file)
1778 (mail-citation-prefix-regexp):
1779 * international/mule-conf.el (eight-bit):
1780 * international/latexenc.el (latex-inputenc-coding-alist):
1781 * international/fontset.el (x-pixel-size-width-font-regexp):
1782 * emacs-lisp/warnings.el (warning-type-format):
1783 * emacs-lisp/trace.el (trace-buffer):
1784 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
1785 (emacs-lisp-mode-map):
1786 * calendar/holidays.el (holiday-solar-holidays)
1787 (holiday-bahai-holidays, holiday-islamic-holidays)
1788 (holiday-christian-holidays, holiday-hebrew-holidays)
1789 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
1790 (hebrew-holidays-1, holiday-oriental-holidays)
1791 (holiday-general-holidays):
1792 * x-dnd.el (x-dnd-known-types):
1793 * tool-bar.el (tool-bar):
1794 * startup.el (site-run-file):
1795 * shell.el (shell-dumb-shell-regexp):
1796 * rfn-eshadow.el (file-name-shadow-tty-properties)
1797 (file-name-shadow-properties):
1798 * paths.el (remote-shell-program, news-directory):
1799 * mouse.el ([C-down-mouse-3]):
1800 * menu-bar.el (menu-bar-tools-menu):
1801 * jka-cmpr-hook.el (jka-compr-load-suffixes)
1802 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
1803 (jka-compr-compression-info-list):
1804 * isearch.el (search-whitespace-regexp):
1805 * image-file.el (image-file-name-extensions):
1806 * find-dired.el (find-ls-option):
1807 * files.el (directory-listing-before-filename-regexp)
1808 (directory-free-space-args, insert-directory-program)
1809 (list-directory-brief-switches, magic-fallback-mode-alist)
1810 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
1811 (automount-dir-prefix):
1812 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
1813 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
1814 (face-font-registry-alternatives, face-font-registry-alternatives)
1815 (face-font-family-alternatives):
1816 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
1817 (facemenu-foreground-menu, facemenu-face-menu):
1818 * epa-hook.el (epa-file-name-regexp):
1819 * dnd.el (dnd-protocol-alist):
1820 * textmodes/rst.el (auto-mode-alist):
1821 * button.el (default-button): Purecopy strings.
1823 2009-11-06 Glenn Morris <rgm@gnu.org>
1825 * Makefile.in (ELCFILES): Update.
1827 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1829 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
1830 * emacs-lisp/levents.el: Move to obsolete/levents.el.
1832 * nxml/xsd-regexp.el (xsdre-gen-categories):
1833 * nxml/xmltok.el (xmltok-parse-entity):
1834 * nxml/rng-parse.el (rng-parse-validate-file):
1835 * nxml/rng-maint.el (rng-format-manual)
1836 (rng-manual-output-force-new-line):
1837 * nxml/rng-loc.el (rng-save-schema-location-1):
1838 * nxml/rng-cmpct.el (rng-c-parse-file):
1839 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1840 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
1842 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
1844 * verilog-mode.el (verilog-getopt-file, verilog-set-define):
1845 Remove extra save-excursions and make-variable-buffer-local's.
1846 Suggested by Stefan Monnier.
1848 (verilog-getopt-file, verilog-module-inside-filename-p)
1849 (verilog-set-define): Merge GNU 1.35 and repair changes from
1850 switching to using with-current-buffer.
1852 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
1853 being treated as a number and confusing AUTORESET.
1854 Reported by Dan Dever.
1856 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
1857 Add verilog-auto-ignore-concat to fix backward compatibility with
1858 older verilog-modes. Reported by Dan Katz.
1860 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
1861 containing closing anchors "...$".
1863 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
1864 Reported by Wade Smith.
1866 (verilog-batch-execute-func) Comment on function usage.
1868 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
1870 * verilog-mode.el (verilog-label-re): Fix regular expression for
1873 (verilog-label-re, verilog-calc-1): Support proper indent of named
1876 (verilog-backward-token, verilog-basic-complete-re)
1877 (verilog-beg-of-statement, verilog-indent-re): Support proper
1878 indent of the assert statement at the beginning of a block of text.
1880 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
1881 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
1884 2009-11-05 Glenn Morris <rgm@gnu.org>
1886 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
1887 Emacs 19. (Bug#1531)
1888 (byte-compile-fix-header): Update for the above change.
1889 Drop test for epoch::version.
1891 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
1892 * cus-dep.el (custom-make-dependencies):
1893 * finder.el (finder-compile-keywords):
1894 Use autoload-rubric's feature argument.
1896 * calendar/diary-lib.el (top-level): Make load behave more like require.
1898 * vc-git.el (vc-git-stash-map): Move definition before use.
1900 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
1902 * custom.el (custom-declare-group): Purecopy standard-value.
1903 (custom-declare-group): Purecopy custom-prefix.
1905 * international/mule.el (load-with-code-conversion):
1906 Call do-after-load-evaluation unconditionally.
1908 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
1910 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
1914 2009-11-04 Glenn Morris <rgm@gnu.org>
1916 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
1917 (byte-compile-compatibility): Remove option.
1918 (byte-compile-close-variables, byte-compile-fix-header)
1919 (byte-compile-insert-header, byte-compile-output-docform)
1920 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
1921 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
1922 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
1923 (byte-compile-insert, byte-compile-defun):
1924 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
1925 (byte-defop-compiler19): Remove.
1926 Without byte-compile-compatibility, the 'emacs19-opcode property is not
1927 used by anything. Replace all calls with byte-defop-compiler.
1929 2009-11-04 Juri Linkov <juri@jurta.org>
1931 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
1932 (menu-bar-options-menu): Don't quote the `prop' arg of
1933 `menu-bar-make-mm-toggle'.
1935 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
1937 * calendar/calendar.el (cal-loaddefs):
1938 * calendar/diary-lib.el (diary-loaddefs):
1939 * calendar/holidays.el (hol-loaddefs):
1940 * eshell/esh-module.el (esh-groups): Load rather than require.
1942 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1944 * calendar/todo-mode.el (todo-add-category): Don't hardcode
1946 (todo-top-priorities): Only display-buffer when called interactively.
1947 (todo-item-start): Don't save excursion point.
1948 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
1949 (todo-insert-item-here, todo-file-item, todo-remove-item):
1950 Adjust uses of todo-item-start and todo-item-end.
1952 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
1953 (autoload-rubric): Don't use any more.
1954 * cedet/semantic/fw.el (semantic/loaddefs):
1955 * cedet/srecode.el (srecode/loaddefs):
1956 * cedet/ede.el (ede/loaddefs): Load rather than require.
1957 * cedet/ede/cpp-root.el:
1958 * cedet/ede/emacs.el:
1959 * cedet/ede/files.el:
1960 * cedet/ede/linux.el:
1961 * cedet/ede/locate.el:
1962 * cedet/ede/make.el:
1963 * cedet/ede/shell.el:
1964 * cedet/ede/speedbar.el:
1965 * cedet/ede/system.el:
1966 * cedet/ede/util.el:
1967 * cedet/semantic/analyze.el:
1968 * cedet/semantic/bovine.el:
1969 * cedet/semantic/complete.el:
1970 * cedet/semantic/ctxt.el:
1971 * cedet/semantic/db-file.el:
1972 * cedet/semantic/db-find.el:
1973 * cedet/semantic/db-global.el:
1974 * cedet/semantic/db-mode.el:
1975 * cedet/semantic/db-typecache.el:
1976 * cedet/semantic/db.el:
1977 * cedet/semantic/debug.el:
1978 * cedet/semantic/dep.el:
1979 * cedet/semantic/doc.el:
1980 * cedet/semantic/edit.el:
1981 * cedet/semantic/find.el:
1982 * cedet/semantic/format.el:
1983 * cedet/semantic/html.el:
1984 * cedet/semantic/ia-sb.el:
1985 * cedet/semantic/ia.el:
1986 * cedet/semantic/idle.el:
1987 * cedet/semantic/lex-spp.el:
1988 * cedet/semantic/lex.el:
1989 * cedet/semantic/mru-bookmark.el:
1990 * cedet/semantic/scope.el:
1991 * cedet/semantic/senator.el:
1992 * cedet/semantic/sort.el:
1993 * cedet/semantic/symref.el:
1994 * cedet/semantic/tag-file.el:
1995 * cedet/semantic/tag-ls.el:
1996 * cedet/semantic/tag-write.el:
1997 * cedet/semantic/tag.el:
1998 * cedet/semantic/util-modes.el:
1999 * cedet/semantic/analyze/complete.el:
2000 * cedet/semantic/analyze/refs.el:
2001 * cedet/semantic/bovine/c.el:
2002 * cedet/semantic/bovine/gcc.el:
2003 * cedet/semantic/bovine/make.el:
2004 * cedet/semantic/bovine/scm.el:
2005 * cedet/semantic/decorate/include.el:
2006 * cedet/semantic/decorate/mode.el:
2007 * cedet/semantic/symref/cscope.el:
2008 * cedet/semantic/symref/global.el:
2009 * cedet/semantic/symref/grep.el:
2010 * cedet/semantic/symref/idutils.el:
2011 * cedet/semantic/symref/list.el:
2012 * cedet/semantic/wisent/java-tags.el:
2013 * cedet/semantic/wisent/javascript.el:
2014 * cedet/srecode/compile.el:
2015 * cedet/srecode/cpp.el:
2016 * cedet/srecode/document.el:
2017 * cedet/srecode/el.el:
2018 * cedet/srecode/expandproto.el:
2019 * cedet/srecode/getset.el:
2020 * cedet/srecode/insert.el:
2021 * cedet/srecode/java.el:
2022 * cedet/srecode/map.el:
2023 * cedet/srecode/mode.el:
2024 * cedet/srecode/template.el:
2025 * cedet/srecode/texi.el: Remove the file-local setting of
2026 generated-autoload-feature.
2028 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
2029 and only put a prop if it is non-nil.
2031 2009-11-03 Juri Linkov <juri@jurta.org>
2033 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
2034 (menu-bar-options-menu): Fix list quoting (Bug#4429).
2036 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
2037 and "Menu" to make top-level menu item visually one unit (like
2038 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
2039 multi-word menu items). Fix :help string for quit-window.
2041 2009-11-03 Glenn Morris <rgm@gnu.org>
2043 * cedet/mode-local.el (with-mode-local): Doc fix.
2045 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2046 (byte-compile-file-form-define-abbrev-table)
2047 (byte-compile-file-form-custom-declare-variable)
2048 (byte-compile-variable-ref, byte-compile-defvar):
2049 Whether or not a warning is enabled should only affect whether we issue
2050 the warning, not whether or not we collect the relevant data.
2051 Eg warnings can be turned on and off throughout the course of a file.
2053 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
2054 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
2056 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2058 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
2059 * play/mpuz.el (mpuz-create-buffer):
2060 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
2061 (lm-print-y,s,noise, lm-print-w0, lm-init):
2062 * play/gomoku.el (gomoku-prompt-for-move):
2063 * play/fortune.el (fortune-in-buffer):
2064 * play/dissociate.el (dissociated-press):
2065 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
2066 (decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
2067 * mail/supercite.el (sc-eref-show):
2068 * mail/smtpmail.el (smtpmail-send-it):
2069 * mail/rmailsum.el (rmail-summary-next-labeled-message)
2070 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
2071 (rmail-summary-undelete-many, rmail-summary-rmail-update)
2072 (rmail-summary-goto-msg, rmail-summary-expunge)
2073 (rmail-summary-get-new-mail, rmail-summary-search-backward)
2074 (rmail-summary-add-label, rmail-summary-output-menu)
2075 (rmail-summary-output-body):
2076 * mail/rfc822.el (rfc822-addresses):
2077 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
2078 * mail/mailpost.el (post-mail-send-it):
2079 * mail/hashcash.el (hashcash-generate-payment):
2080 * mail/feedmail.el (feedmail-run-the-queue)
2081 (feedmail-queue-send-edit-prompt-help-first)
2082 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
2083 (feedmail-deduce-address-list):
2084 * eshell/esh-ext.el (eshell-remote-command):
2085 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
2086 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
2087 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
2088 (viper-save-string-in-file, viper-valid-marker):
2089 * emulation/viper-keym.el (viper-toggle-key):
2090 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
2091 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
2092 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
2093 * emulation/viper-cmd.el (viper-exec-form-in-vi)
2094 (viper-exec-form-in-emacs, viper-brac-function):
2095 * emulation/viper.el (viper-delocalize-var):
2096 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
2097 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
2098 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
2099 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
2100 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
2101 * emulation/edt.el (edt-electric-helpify):
2102 * emulation/cua-rect.el (cua--rectangle-aux-replace):
2103 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
2104 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
2105 (cua-indent-to-global-mark-column):
2106 * calendar/diary-lib.el (calendar-mark-1):
2107 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
2108 Use with-current-buffer.
2109 * emulation/viper.el (viper-delocalize-var): Use dolist.
2111 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
2113 * comint.el (comint-replace-by-expanded-history-before-point):
2114 Replace !! with the previous input string literally (Bug#1795).
2116 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
2118 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
2119 to be made up of whitespace.
2121 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
2123 * minibuffer.el (read-file-name): Don't use file dialogs for
2124 remote directories (Bug#99).
2126 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
2128 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
2130 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
2132 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
2133 instead of deleting the window or frame.
2135 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2137 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
2138 Support face colors.
2140 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
2141 New function. Support face colors (Bug#1168).
2142 (tex-common-initialization): Use it.
2144 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
2145 mode allows it (Bug#1168).
2147 2009-10-31 Juri Linkov <juri@jurta.org>
2149 * facemenu.el (list-colors-display): Don't mark buffer as
2150 modified (Bug#3948).
2152 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2154 * international/mule-diag.el (list-character-sets-1): Minor
2155 message fix (Bug#3526).
2157 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
2158 face property (Bug#4834).
2159 (etags-list-tags, etags-tags-apropos-additional)
2160 (etags-tags-apropos, tags-select-tags-table): Add follow-link
2163 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
2166 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2169 * cedet/ede.el (ede-minor-mode):
2170 * cedet/semantic.el (semantic-mode): Toggle menu separators.
2172 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2174 * textmodes/two-column.el (2C-split):
2175 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
2176 * textmodes/tex-mode.el (tex-set-buffer-directory):
2177 * textmodes/spell.el (spell-region, spell-string):
2178 * textmodes/reftex.el (reftex-erase-buffer):
2179 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
2180 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2181 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
2182 (reftex-select-item):
2183 * textmodes/reftex-ref.el (reftex-label-info-update)
2184 (reftex-offer-label-menu):
2185 * textmodes/reftex-index.el (reftex-index-change-entry)
2186 (reftex-index-phrases-info):
2187 * textmodes/reftex-global.el (reftex-create-tags-file)
2188 (reftex-save-all-document-buffers, reftex-ensure-write-access):
2189 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
2190 (reftex-view-crossref-from-bibtex):
2191 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
2192 (reftex-extract-bib-entries-from-thebibliography)
2193 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
2194 * textmodes/refbib.el (r2b-capitalize-title):
2195 (r2b-convert-buffer, r2b-help):
2196 * textmodes/page-ext.el (pages-directory)
2197 (pages-directory-goto-with-mouse):
2198 * textmodes/bibtex.el (bibtex-validate-globally):
2199 * textmodes/bib-mode.el (bib-capitalize-title):
2200 * textmodes/artist.el (artist-clear-buffer, artist-system):
2201 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
2202 (local-set-scheme-interaction-buffer, xscheme-process-filter)
2203 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
2204 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
2205 (xscheme-send-control-g-interrupt, xscheme-start-process)
2206 (xscheme-process-sentinel, xscheme-cd):
2207 * progmodes/verilog-mode.el (verilog-read-always-signals)
2208 (verilog-set-define, verilog-getopt-file)
2209 (verilog-module-inside-filename-p):
2210 * progmodes/sh-script.el:
2211 * progmodes/python.el (python-pdbtrack-get-source-buffer)
2212 (python-pdbtrack-grub-for-buffer, python-execute-file):
2213 * progmodes/octave-inf.el (inferior-octave):
2214 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
2215 (idlwave-shell-compile-helper-routines, idlwave-set-local)
2216 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
2217 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
2218 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
2219 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
2220 (idlwave-shell-filter, idlwave-shell-examine-highlight)
2221 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
2222 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
2223 (idlwave-shell-examine-display, idlwave-shell-run-region)
2224 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
2225 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
2226 * progmodes/idlw-help.el (idlwave-help-get-special-help)
2227 (idlwave-help-get-help-buffer):
2228 * progmodes/gud.el (gud-basic-call, gud-find-class)
2229 (gud-tooltip-activate-mouse-motions-if-enabled):
2230 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2231 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
2232 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
2233 (ebrowse-tags-next-file):
2234 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
2235 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
2236 (ebnf-eps-finish-and-write):
2237 * progmodes/cpp.el (cpp-edit-save):
2238 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
2239 * progmodes/cc-defs.el (c-emacs-features):
2240 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
2241 (antlr-directory-dependencies):
2242 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
2243 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
2244 (ada-find-any-references, ada-make-filename-from-adaname)
2245 (ada-make-body-gnatstub):
2246 * obsolete/rnews.el (news-list-news-groups):
2247 * obsolete/resume.el (resume-suspend-hook,resume-write-buffer-to-file):
2248 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
2249 * net/rcirc.el (rcirc-debug):
2250 * net/newst-treeview.el (newsticker--treeview-list-add-item)
2251 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
2252 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
2253 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
2254 (newsticker--treeview-tree-update-tag,newsticker--treeview-buffer-init)
2255 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
2256 (newsticker--treeview-list-clear-highlight)
2257 (newsticker--treeview-list-update-highlight)
2258 (newsticker--treeview-list-highlight-start)
2259 (newsticker--treeview-tree-update-highlight)
2260 (newsticker--treeview-get-selected-item)
2261 (newsticker-treeview-mark-list-items-old)
2262 (newsticker--treeview-set-current-node):
2263 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2264 * net/newst-backend.el (newsticker--get-news-by-funcall)
2265 (newsticker--get-news-by-wget, newsticker--image-get)
2266 (newsticker--image-sentinel):
2267 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
2268 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
2269 (eudc-ph-close-session):
2270 * net/eudc.el (eudc-save-options):
2271 * language/thai-word.el (thai-update-word-table):
2272 * language/japan-util.el (japanese-string-conversion):
2273 * international/titdic-cnv.el (tsang-quick-converter)
2274 (ziranma-converter, ctlau-converter):
2275 * international/mule-cmds.el (describe-language-environment):
2276 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
2277 (skkdic-convert-postfix, skkdic-convert-prefix):
2278 (skkdic-convert-okuri-nasi, skkdic-convert):
2279 * emacs-lisp/re-builder.el (reb-update-overlays):
2280 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
2281 * emacs-lisp/gulp.el (gulp-send-requests):
2282 * emacs-lisp/find-gc.el (trace-call-tree):
2283 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
2284 (eieio-describe-generic):
2285 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2286 * emacs-lisp/edebug.el (edebug-outside-excursion):
2287 * emacs-lisp/debug.el (debugger-make-xrefs):
2288 * emacs-lisp/cust-print.el (custom-prin1-to-string):
2289 * emacs-lisp/chart.el (chart-new-buffer):
2290 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
2291 Use with-current-buffer.
2292 * textmodes/artist.el (artist-system): Don't call
2293 copy-sequence on a fresh string.
2294 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
2296 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
2298 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
2299 is no item to edit. (Bug#4820)
2300 (todo-top-priorities): Restore point and restore narrowing in Todo
2303 2009-10-31 Glenn Morris <rgm@gnu.org>
2305 * net/ange-ftp.el (top-level): Don't require dired when compiling.
2306 (comint-last-output-start, comint-last-input-start)
2307 (comint-last-input-end): Don't defvar when compiling.
2308 (ange-ftp-process-file): Use bound-and-true-p.
2310 * pcmpl-rpm.el (top-level): Move provide statement to end.
2311 (pcmpl-rpm): Remove unused custom group.
2313 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
2315 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
2317 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
2318 (byte-compile-warnings): Add `constants' as an option.
2319 (byte-compile-callargs-warn, byte-compile-arglist-warn)
2320 (display-call-tree): Update for byte-compile-fdefinition possibly
2321 returning `(macro lambda ...)'. (Bug#4778)
2322 (byte-compile-variable-ref, byte-compile-setq-default):
2323 Respect `constants' member of byte-compile-warnings.
2325 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
2326 Use mapc rather than mapcar because the return value is never used.
2328 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
2329 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
2330 * cedet/semantic/html.el:
2331 Suppress harmless warnings about setting up semantic-imenu (not
2332 part of Emacs) variables.
2334 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2336 * vc-bzr.el (vc-bzr-revision-keywords): New var.
2337 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
2340 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
2341 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2342 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
2343 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
2344 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
2345 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2346 (semantic-analyzer-debug-global-symbol)
2347 (semantic-analyzer-debug-missing-innertype)
2348 (semantic-analyzer-debug-insert-include-summary):
2349 * cedet/semantic/util.el (semantic-file-tag-table):
2350 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2351 (semantic-recursive-find-nonterminal-by-name):
2352 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2353 * cedet/semantic/tag-file.el (semantic-prototype-file):
2354 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
2355 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
2356 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2357 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
2358 (semantic-idle-summary-maybe-highlight):
2359 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
2360 (semantic-ia-sb-tag-info):
2361 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
2362 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
2363 * cedet/semantic/ede-grammar.el (project-compile-target):
2364 (ede-proj-makefile-insert-variables):
2365 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
2366 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2367 (semantic-debug-mode, semantic-debug):
2368 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
2369 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2370 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
2371 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
2372 (semanticdb-find-translate-path-includes--internal)
2373 (semanticdb-reset-log, semanticdb-find-log-activity):
2374 * cedet/semantic/db-file.el (object-write):
2375 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
2376 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2377 (semanticdb-create-ebrowse-database):
2378 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
2379 * cedet/semantic/complete.el (semantic-displayor-focus-request)
2380 (semantic-collector-calculate-completions-raw)
2381 (semantic-complete-read-tag-analyzer):
2382 * cedet/semantic/analyze.el (semantic-analyze-pulse):
2383 * cedet/ede/util.el (ede-update-version-in-source):
2384 * cedet/ede/proj.el (project-delete-target):
2385 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
2386 (ede-proj-flush-autoconf):
2387 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
2388 (ede-proj-configure-synchronize):
2389 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
2390 * cedet/ede/linux.el (ede-linux-version):
2391 * cedet/ede/emacs.el (ede-emacs-version):
2392 * cedet/ede/dired.el (ede-dired-add-to-target):
2393 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
2394 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2395 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2396 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
2397 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2398 (cedet-idutils-version-check):
2399 * cedet/cedet-global.el (cedet-gnu-global-call):
2400 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2401 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2402 * cedet/cedet-cscope.el (cedet-cscope-call)
2403 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2404 Use with-current-buffer.
2405 * cedet/ede.el (ede-make-project-local-variable)
2406 (ede-set-project-variables, ede-set): Use dolist.
2408 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
2410 * textmodes/ispell.el (ispell-skip-region-alist):
2411 * international/mule-conf.el (eight-bit):
2412 * international/fontset.el (font-encoding-alist):
2413 * startup.el (pure-space-overflow-message):
2414 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
2415 * paths.el (gnus-nntp-service, rmail-spool-directory)
2417 * files.el (save-some-buffers-action-alist):
2418 * cmuscheme.el (same-window-buffer-names):
2419 * ielm.el (same-window-buffer-names):
2420 * shell.el (same-window-buffer-names):
2421 * mail/sendmail.el (same-window-buffer-names):
2422 * progmodes/inf-lisp.el (same-window-buffer-names):
2423 * bindings.el (mode-line-client)
2424 (mode-line-column-line-number-mode-map):
2425 * language/tibetan.el (tibetan-precomposition-rule-regexp)
2426 (tibetan-precomposed-regexp): Purecopy string arguments.
2428 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2430 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
2431 (calcDigit-nondigit):
2432 * calc/calc-yank.el (calc-copy-to-buffer):
2433 * calc/calc-units.el (calc-invalidate-units-table):
2434 * calc/calc-trail.el (calc-trail-yank):
2435 * calc/calc-store.el (calc-insert-variables):
2436 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
2437 * calc/calc-prog.el (calc-read-parse-table):
2438 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
2439 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
2440 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
2441 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
2442 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
2443 (calc-graph-name, calc-graph-find-command, calc-graph-view)
2444 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
2445 * calc/calc-ext.el (calc-realign):
2446 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
2447 (calc-embedded-finish-edit, calc-embedded-make-info)
2448 (calc-embedded-finish-command, calc-embedded-stack-change):
2449 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
2451 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
2452 (overload-docstring-extension): Use that info.
2453 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2454 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
2455 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
2456 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2457 (semantic-nonterminal-full-name): Add the new `when' info.
2458 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
2461 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
2462 shell-dynamic-complete-filename in preference to
2463 comint-dynamic-complete-filename.
2465 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
2466 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2467 Don't consider whether the display supports colors.
2468 (bookmark-import-new-list): Use dolist.
2469 (bookmark-bmenu-mode-map): Move initialization into declaration.
2470 (bookmark-bmenu-list): Use dolist, simplify.
2471 (bookmark-show-all-annotations): Use save-selected-window and dolist.
2472 (menu-bar-final-items): Use push.
2474 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
2476 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
2477 it works on remote files.
2478 (vc-hg-diff): Don't pass any `--cwd' argument.
2480 2009-10-27 Kevin Ryde <user42@zip.com.au>
2482 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
2483 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
2484 (Further to Bug#3921).
2486 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
2488 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
2489 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
2490 calling `tramp-imap-put-file'. Add file size to the call.
2491 (tramp-imap-get-file-entries): Compute also user name, file size,
2493 (tramp-imap-handle-insert-directory): Insert uid and gid.
2494 (tramp-imap-handle-file-attributes): Transform uid and gid
2495 according to `id-format'.
2496 (tramp-imap-put-file): New optional parameter SIZE. Encode file
2497 size in header X-Size.
2499 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
2501 * simple.el (transpose-subr): Give clearer error when the mark
2502 is not set. (Bug#4807)
2504 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
2506 * net/tramp.el (tramp-perl-file-truename): New defconst.
2507 Perl code contributed by yary <not.com@gmail.com> (tiny change).
2508 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
2509 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
2510 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
2512 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2513 Ignore `dired-call-process'.
2514 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
2516 2009-10-26 Julian Scheid <julians37@gmail.com>
2518 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
2519 (tramp-get-remote-readlink): New defun.
2520 (tramp-handle-file-truename): Use it.
2521 (tramp-handle-file-exists-p): Check file-attributes cache, assume
2522 file exists if cache value present.
2523 (tramp-check-cached-permissions) New defun.
2524 (tramp-handle-file-readable-p): Use it.
2525 (tramp-handle-file-writable-p): Likewise.
2526 (tramp-handle-file-executable-p): Likewise.
2527 (tramp-handle-file-name-all-completions): Try using Perl to get
2528 partial completions. When perl not available, combine `cd' and
2529 `ls' into single remote operation and use shell expansion to get
2530 partial remote directory contents. Set `file-exists-p' cache for
2531 directory and any files returned by ls. Change cache handling to
2532 support partial directory contents. Use error message emitted by
2533 remote `cd' or Perl code for local tramp-error.
2534 (tramp-do-copy-or-rename-file-directly): Avoid separate
2535 tramp-send-command-and-check call.
2536 (tramp-handle-process-file): Merge three remote ops into one.
2537 Do not flush all caches when `process-file-side-effects' is set.
2538 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
2539 file-attributes shows uid/gid to be set already.
2541 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
2543 * textmodes/tex-mode.el (tex-dvi-view-command)
2544 (tex-show-queue-command, tex-open-quote):
2545 * progmodes/ruby-mode.el (auto-mode-alist)
2546 (interpreter-mode-alist): Purecopy strings.
2548 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
2550 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
2551 string for the hook, keymap and abbrev table.
2553 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
2555 * x-dnd.el (x-dnd-xdnd-to-action):
2556 * startup.el (fancy-startup-text, fancy-about-text): Change to
2557 defconst from defvar.
2559 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
2561 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
2562 Purecopy initialization strings.
2564 * mail/sendmail.el (mail-header-separator)
2565 (mail-personal-alias-file):
2566 * mail/rmail.el (rmail-default-dont-reply-to-names)
2567 (rmail-ignored-headers, rmail-retry-ignored-headers)
2568 (rmail-highlighted-headers, rmail-secondary-file-directory)
2569 (rmail-secondary-file-regexp):
2570 * files.el (null-device, file-name-invalid-regexp)
2571 (locate-dominating-stop-dir-regexp)
2572 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
2573 (interpreter-mode-alist): Use mapcar instead of mapc.
2575 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
2577 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
2578 (completion-ignored-extensions):
2579 (debug-ignored-errors): Purecopy strings.
2581 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2583 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
2584 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
2585 (pcomplete--here): Use push.
2587 * subr.el (all-completions): Declare the 4th arg obsolete.
2589 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2591 * pcomplete.el (pcomplete-unquote-argument-function): New var.
2592 (pcomplete-unquote-argument): New function.
2593 (pcomplete--common-suffix): Always pay attention to case.
2594 (pcomplete--table-subvert): Quote and unquote the text.
2595 (pcomplete--common-quoted-suffix): New function.
2596 (pcomplete-std-complete): Use it and pcomplete-begin.
2598 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
2599 we're inside a dedicated or minibuffer window.
2601 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2603 * cedet/semantic/fw.el (semantic-alias-obsolete)
2604 (semantic-varalias-obsolete): Make the `when' arg mandatory.
2605 (define-mode-overload-implementation):
2606 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
2607 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
2608 * cedet/semantic/util.el (semantic-file-token-stream)
2609 (semantic-something-to-stream):
2610 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
2611 (semantic-expand-nonterminal):
2612 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
2613 (semantic-find-dependency, semantic-find-nonterminal)
2614 (semantic-find-dependency):
2615 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
2616 (semantic-flex-text, semantic-flex-make-keyword-table)
2617 (semantic-flex-keyword-p, semantic-flex-keyword-put)
2618 (semantic-flex-keyword-get, semantic-flex-map-keywords)
2619 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
2620 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
2621 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
2622 (semantic-after-idle-scheduler-reparse-hooks):
2623 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
2624 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
2625 * cedet/semantic.el (semantic-toplevel-bovine-table)
2626 (semantic-toplevel-bovine-cache)
2627 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
2628 (semantic-init-mode-hooks, semantic-init-db-hooks)
2629 (semantic-bovination-working-type): Provide the `when' arg.
2631 2009-10-24 Karl Fogel <kfogel@red-bean.com>
2633 * bookmark.el: Update documentation, especially documentation
2634 of `bookmark-alist' and of the bookmark file format.
2635 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
2637 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2639 * mail/emacsbug.el (report-emacs-bug): Clarify that the
2640 keybindings apply to the mail buffer (Bug#4003). Shrink help
2643 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2644 (global-whitespace-mode, global-whitespace-newline-mode)
2645 (whitespace-toggle-options, global-whitespace-toggle-options):
2648 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
2649 of xmltok-start before the end tag was inserted (Bug#2840).
2651 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
2652 patterns that are preceded by an open-paren (Bug#1320).
2654 2009-10-24 Sven Joachim <svenjoac@gmx.de>
2656 * files.el (delete-directory): Delete symlinks to directories with
2657 delete-file (Bug#4739).
2659 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2661 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
2662 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
2663 argument to make-obsolete.
2665 * cedet/semantic/fw.el (semantic-alias-obsolete)
2666 (semantic-varalias-obsolete): Add optional WHEN argument.
2668 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
2670 * vc.el (vc-backend-for-registration): Rename from
2671 vc-get-backend-for-registration. Update callers.
2673 * international/mule-cmds.el (set-language-info-alist):
2675 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
2676 (charset): Purecopy the name.
2677 (define-char-code-property): Purecopy string arguments.
2679 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
2680 Purecopy string arguments.
2682 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2683 * ediff-hook.el (menu-bar-ediff-menu):
2684 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
2685 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
2687 2009-10-24 Glenn Morris <rgm@gnu.org>
2689 * comint.el (comint-dynamic-list-completions):
2690 * term.el (term-dynamic-list-completions): Use choose-completion rather
2691 than obsolete alias mouse-choose-completion.
2693 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
2694 file-cache-choose-completion.
2695 (file-cache-choose-completion): Handle an optional event argument.
2696 (file-cache-mouse-choose-completion): Make it an obsolete alias.
2698 * progmodes/octave-mod.el (octave-complete-symbol):
2699 Use choose-completion if mouse-choose-completion is ever removed.
2701 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
2704 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
2707 * vc-hooks.el (vc-responsible-backend): Fix declaration.
2709 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2711 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
2712 Ignore `pred' now that we receive one.
2713 Handle test-completion specially.
2715 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
2717 * vc.el (vc-responsible-backend): Throw an error if not backend is
2718 found. Remove the REGISTER argument. Move the code dealing with
2720 (vc-get-backend-for-registration): ... here. New function.
2721 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
2722 of vc-responsible-backend, pass the file name instead of the
2725 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
2729 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
2730 (pcomplete-comint-setup): Don't modify a global var via
2731 accidental side-effects.
2732 (pcomplete-shell-setup): Adjust call accordingly.
2733 (pcomplete-parse-comint-arguments): Use push.
2735 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
2737 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
2738 Allow uncapitalized info node names (Bug#3921).
2740 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
2741 to the DEBUG file (Bug#3781).
2743 2009-10-23 Jari Aalto <jari.aalto@cante.net>
2745 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
2746 dictionary entry (Bug#4579).
2748 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
2750 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
2751 from `rfn-eshadow-update-overlay-hook' when unloading.
2752 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
2753 "rsyncc". Adjust doc string.
2754 (tramp-temp-buffer-file-name) New buffer-local defvar.
2755 (tramp-handle-insert-file-contents, tramp-handle-write-region):
2756 Keep temporary file when indicated by method ("rsync" and
2758 (tramp-handle-write-region): Handle APPEND.
2759 (tramp-delete-temp-file-function): New defun. Added to
2762 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
2764 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
2766 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
2768 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
2769 (color-name-rgb-alist, tty-standard-colors)
2770 (tty-color-mode-alist): Change to defconst.
2772 * simple.el (mark-inactive): Purecopy message.
2774 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
2775 (global-map, yank-menu):
2776 * textmodes/ispell.el (ispell-menu-map):
2777 * net/eudc.el (eudc-tools-menu):
2778 * international/mule-cmds.el (describe-language-environment-map)
2779 (setup-language-environment-map, set-coding-system-map)
2781 * vc-hooks.el (vc-menu-entry, vc-menu-map):
2782 * replace.el (occur-mode-map):
2783 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
2785 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
2787 * calc/calc.el (math-read-number, math-read-number-simple): Use
2790 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2792 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
2793 rather than fiddling with global-map bindings, since it should only
2794 affect per-terminal settings.
2795 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
2797 * minibuffer.el (completion-table-with-terminator): Allow to specify
2798 the terminator-regexp.
2800 * simple.el (switch-to-completions): Look for *Completions* in other
2803 * pcomplete.el: Allow the use of completion-tables.
2804 (pcomplete-std-complete): New command.
2805 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
2806 (pcomplete--here): Use a function for `form' rather than an expression,
2807 so it can be byte-compiled.
2808 (pcomplete-here, pcomplete-here*): Adjust accordingly.
2809 Add edebug declaration.
2810 (pcomplete-show-completions): Remove unused var `curbuf'.
2811 (pcomplete-do-complete, pcomplete-stub):
2812 Don't assume `completions' is a list of strings any more.
2814 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
2816 * find-dired.el (find-name-arg): Fix typo in docstring.
2818 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2820 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
2821 (pcmpl-linux-fs-types): Same, and update to new modules layout.
2823 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
2826 * comint.el (comint-read-input-ring, comint-write-input-ring)
2827 (comint-substitute-in-file-name)
2828 (comint-dynamic-complete-as-filename)
2829 (comint-dynamic-simple-complete)
2830 (comint-dynamic-list-filename-completions)
2831 (comint-dynamic-list-completions)
2832 (comint-redirect-results-list-from-process): Minor simplifications.
2834 2009-10-21 Kevin Ryde <user42@zip.com.au>
2836 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
2837 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
2838 the first form. And insert a blank line after ";;; Code" since
2839 that's usual style. (My Bug#4612.)
2841 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
2843 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2845 * minibuffer.el (completion-table-with-terminator): Properly implement
2846 boundaries, in case `terminator' appears in the suffix.
2847 (completion--embedded-envvar-table): Don't return boundaries if
2848 there's no valid completion. Simplify.
2849 (completion-file-name-table): New completion table extracted from
2850 completion--file-name-table.
2851 (completion--file-name-table): Use it.
2852 (read-file-name-predicate): Declare obsolete.
2853 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
2854 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
2855 completion-file-name-table, and use the `pred' argument.
2856 * files.el (locate-file-completion-table): Use the `pred' arg rather
2857 than read-file-name-predicate.
2858 (abbreviate-file-name): Use \` rather than ^ for BOS.
2860 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
2862 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
2863 vc-responsible-backend to register, it causes problems.
2865 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2867 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
2869 2009-10-21 Eric Ludlam <zappo@gnu.org>
2871 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
2872 (semantic-c-debug-mode-init-pch): New functions.
2873 (semantic-c-debug-mode-init-last-mode): New var.
2874 (semantic-c-parse-lexical-token): Use them.
2876 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
2877 When extracting the argument list, limit only by point-max.
2879 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
2881 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
2882 (tramp-smb-handle-file-attributes): Use it.
2883 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
2884 (tramp-smb-handle-insert-directory): Use `mapc' rather than
2885 `mapcar'. Use `tramp-smb-get-stat-capability'.
2886 Add `dired-filename' text properties.
2887 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
2888 (tramp-smb-maybe-open-connection): Simplify check for smbclient
2891 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
2893 * subr.el (read-key-delay): Reduce to 0.01.
2894 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
2897 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2899 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
2901 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
2902 (Info-menu): Remove unused vars `last' and `completions'.
2903 (Info-index-nodes): Remove unused var `node'.
2905 * info.el (Info-complete-menu-item): Use complete-with-action.
2907 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
2909 Make vc-annotate work through copies and renames.
2910 * vc-annotate.el (vc-annotate-extract-revision-at-line):
2911 Return the file name too.
2912 (vc-annotate-revision-at-line)
2913 (vc-annotate-find-revision-at-line)
2914 (vc-annotate-revision-previous-to-line)
2915 (vc-annotate-show-log-revision-at-line): Update to get the file
2916 name from vc-annotate-extract-revision-at-line.
2917 (vc-annotate-show-diff-revision-at-line-internal): Change the
2918 argument to mean whether to show a file diff or not. Get the file
2919 name from vc-annotate-extract-revision-at-line.
2920 (vc-annotate-show-diff-revision-at-line):
2921 Update vc-annotate-show-diff-revision-at-line call.
2922 (vc-annotate-warp-revision): Add an optional file argument.
2924 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
2925 (vc-git-annotate-extract-revision-at-line): Also return the file
2928 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
2929 command. Remove unused code.
2930 (vc-hg-annotate-re): Update to match --follow output.
2931 (vc-hg-annotate-extract-revision-at-line): Also return the file
2934 * vc.el: Update annotate-extract-revision-at-line documentation.
2936 2009-10-18 Kevin Ryde <user42@zip.com.au>
2938 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
2939 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
2941 * net/browse-url.el (browse-url): Identify alist with "consp and
2942 not functionp" and let all other things go down the `apply' leg,
2943 as suggested by Stefan. (Further to bug#4531.)
2945 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
2947 * minibuffer.el (read-file-name): Check for repeat before putting
2948 a default argument in file-name-history (Bug#4657).
2950 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
2951 read syntax (Bug#4737).
2953 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
2955 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2957 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
2958 (html-tag-alist, html-tag-help): Add descriptions for undocumented
2959 entries and make note of obsolete tags.
2961 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2963 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
2965 2009-10-18 Glenn Morris <rgm@gnu.org>
2967 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
2968 grep, so that binary files (eg international/uni-bidi.el) can match.
2969 Remove test for "UnicodeData" files, since it is hopefully unnecessary
2970 now, and in any case the file header format has changed.
2972 2009-10-17 Glenn Morris <rgm@gnu.org>
2974 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
2975 (flyspell-get-word, flyspell-large-region)
2976 (flyspell-auto-correct-previous-word): Doc/error message fixes.
2978 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2980 * Makefile.in (ELCFILES): Add ede/shell.
2982 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
2984 * term/common-win.el (x-colors): Purecopy it.
2986 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2988 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
2989 permissive for when the buffer is empty.
2990 (tar-header-block-tokenize): Decode the username and groupname.
2991 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
2993 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2995 * cedet/srecode/srt.el:
2996 * cedet/srecode/compile.el:
2997 * cedet/semantic/mru-bookmark.el:
2998 * cedet/semantic/debug.el:
2999 * cedet/semantic/complete.el:
3000 * cedet/semantic/analyze.el: Require CL when compiling.
3002 2009-10-17 Eric Ludlam <zappo@gnu.org>
3004 * cedet/semantic/scope.el
3005 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
3006 tmpscope so that the regular scope will continue to work.
3008 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
3009 Use semantic-idle-summary-highlight-face as the highlighting.
3011 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
3012 contains multibyte characters, choose first applicable coding
3013 system automatically.
3015 * cedet/ede/project-am.el (project-run-target): New method.
3016 (project-run-target): New method.
3018 * cedet/ede.el (ede-target): Add run target menu item.
3019 (ede-project, ede-minor-keymap): Add ede-run-target binding.
3020 (ede-run-target): New function.
3021 (ede-target::project-run-target): New method.
3023 * cedet/ede/proj.el (project-run-target): New method.
3025 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
3026 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
3028 (ede-proj-target-makefile-shared-object): Only libtool compilers
3029 now available. Add linkers for libtool.
3030 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
3031 (ede-proj-makefile-target-name): Always use .la extension.
3033 * cedet/ede/proj-prog.el (project-run-target): New method.
3035 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
3036 (ede-g++-linker): Change Change link lines.
3038 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
3039 When searching for old variables, go to the end of the buffer and
3040 search backward from there.
3041 (ede-proj-makefile-automake-insert-subdirs)
3042 (ede-proj-makefile-automake-insert-extradist): New methods.
3043 (ede-proj-makefile-create): Use them.
3045 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
3046 Force FILE to expand to the current target. Use file-exists-p to
3047 check that it exists.
3049 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
3050 (ede-linux-load): Wrap dir in file-name-as-directory.
3053 * cedet/ede/files.el (ede-get-locator-object): When enabling
3054 locate, do so on "top".
3056 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
3057 file-name-as-directory during compare.
3058 (ede-emacs-version): Return Emacs/XEmacs differentiator.
3059 Get version number from different places. Don't call egrep.
3060 (ede-emacs-load): Set :version slot. Call file-name-as-directory
3061 to set the directory.
3063 * cedet/ede/shell.el: New file.
3065 * cedet/inversion.el (inversion-decoders): Allow for stray . in
3066 alpha/beta variants.
3068 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3070 * international/mule-cmds.el (select-safe-coding-system): If the file
3071 has a coding cookie, use it regardless of any other setting (bug#4712).
3073 2009-10-17 Glenn Morris <rgm@gnu.org>
3075 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
3076 All errors should have messages.
3078 * foldout.el (foldout-mouse-swallow-events):
3079 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
3081 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
3082 (dired-keep-marker-copy, dired-keep-marker-hardlink)
3083 (dired-keep-marker-symlink, dired-dwim-target)
3084 (dired-copy-preserve-time): Do not autoload these defcustoms.
3086 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
3087 messages from messing up the file coding. (Bug#4623)
3089 2009-10-17 Jari Aalto <jari.aalto@cante.net>
3091 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
3092 if no match is found for the current dictionary. (Bug#4578)
3094 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
3095 optional, since that is how it is documented, and this is often called
3096 with a nil argument. (Bug#4577)
3097 (flyspell-external-point-words, flyspell-auto-correct-word)
3098 (flyspell-correct-word-before-point, flyspell-word-search-forward)
3099 (flyspell-word-search-backward): Remove nil argument in calls to
3100 flyspell-get-word, since it is not needed now.
3102 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
3104 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
3106 2009-10-16 Glenn Morris <rgm@gnu.org>
3108 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
3110 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3112 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
3113 (ange-ftp-file-size): New function.
3114 (ange-ftp-file-attributes): Use it.
3116 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
3118 * net/tramp-smb.el (tramp-smb-version): New defvar.
3119 (tramp-smb-maybe-open-connection): Use it, in order to avoid
3122 2009-10-16 Glenn Morris <rgm@gnu.org>
3124 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3125 Maybe copy some custom properties from old to new name. (Bug#4706)
3127 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
3129 * subr.el (error, sit-for, start-process-shell-command)
3130 (start-file-process-shell-command): Set the calling convention
3131 after the function definition.
3133 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * subr.el (error, sit-for, start-process-shell-command)
3136 (start-file-process-shell-command): Use the new
3137 set-advertised-calling-convention feature.
3139 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
3141 * international/ucs-normalize.el (ucs-normalize-version):
3143 (check-range): Adjust for Unicode 5.2.
3145 2009-10-15 Juri Linkov <juri@jurta.org>
3147 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
3148 to the `menu-item' format.
3150 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
3152 * net/tramp.el (tramp-replace-environment-variables): Do not fail
3153 if the environment variable does not exist.
3155 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3156 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
3158 (tramp-smb-handle-add-name-to-file)
3159 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
3160 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
3161 (tramp-smb-handle-file-attributes)
3162 (tramp-smb-do-file-attributes-with-stat)
3163 (tramp-smb-handle-file-local-copy)
3164 (tramp-smb-handle-insert-directory)
3165 (tramp-smb-handle-make-directory)
3166 (tramp-smb-handle-make-directory-internal)
3167 (tramp-smb-handle-make-symbolic-link)
3168 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
3169 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
3170 (tramp-smb-maybe-open-connection): Apply the changed parameters.
3171 (tramp-smb-read-file-entry): Read Disk names in compressed format.
3172 Handle long file names.
3173 (tramp-smb-get-cifs-capabilities): Check, whether the connection
3175 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
3176 Read share names with "-g" option.
3178 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
3180 * net/rcirc.el (rcirc-view-log-file): New command.
3181 (rcirc-track-minor-mode-map): Remove C-c ` binding.
3182 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
3185 2009-10-15 Glenn Morris <rgm@gnu.org>
3187 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
3188 from the second command-line argument.
3189 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
3190 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
3191 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
3192 w32-batch-update-autoloads.
3193 * emacs-lisp/autoload.el (autoload-make-program): New variable.
3194 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
3196 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
3197 the headers cannot be located. Simplify, subtracting superflous
3200 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3202 Replace completion-base-size by completion-base-position to fix bugs
3204 * simple.el (completion-base-position): New var.
3205 (completion-base-size): Mark as obsolete.
3206 (choose-completion): Make it work for mouse events as well.
3207 Pass the new base-position to choose-completion-string.
3208 (choose-completion-guess-base-position): New function, extracted from
3209 choose-completion-delete-max-match.
3210 (choose-completion-delete-max-match): Use it. Make obsolete.
3211 (choose-completion-string): Use the new base-position info.
3212 (completion-root-regexp): Delete.
3213 (completion-setup-function): Preserve completion-base-position.
3214 Eliminate obsolete base-size manipulation.
3215 * minibuffer.el (display-completion-list): Don't mess with base-size.
3216 (minibuffer-completion-help): Set completion-base-position instead.
3217 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
3219 * textmodes/bibtex.el (bibtex-complete):
3220 * emacs-lisp/crm.el (crm--choose-completion-string):
3221 Adjust to new calling convention.
3222 * complete.el (partial-completion-mode): Use minibufferp to avoid
3223 bumping into incompatible change to choose-completion-string-functions.
3224 * ido.el (ido-choose-completion-string): Make its calling convention
3226 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
3227 base-size manipulation.
3228 (comint-dynamic-list-input-ring): Use dotimes and push.
3229 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
3230 fundamental-mode. Use `or'.
3232 2009-10-14 Juri Linkov <juri@jurta.org>
3234 * misearch.el (multi-isearch-next-buffer-from-list)
3235 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
3237 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3239 * Makefile.in (compile-onefile): Load `bytecomp' rather than
3242 * minibuffer.el (completion-pcm--merge-completions): Make sure the
3243 string we return is all made up of text from the completions rather
3244 than part from the completions and part from the input (bug#4219).
3246 * ido.el (ido-everywhere): Use define-minor-mode.
3248 * buff-menu.el (list-buffers, ctl-x-map):
3249 Mark the entry points with ;;;###autoload cookies.
3251 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
3253 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
3254 correctly in the detached head case.
3255 (vc-git-print-log): Remove unused binding.
3257 * vc.el (vc-responsible-backend): When a directory is passed for
3258 for registration create a VC repository if no backend is
3259 responsible for the directory argument.
3260 (vc-deduce-fileset): Tell vc-responsible-backend to register.
3262 * vc.el: Move comments about RCS and SCCS ...
3264 * vc-sccs.el: ... here, respectively.
3266 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3268 * minibuffer.el (completion--file-name-table): Return nil if there's
3269 no file completion, even if substitute-in-file-name changed
3270 the string (bug#4708).
3272 2009-10-13 Juri Linkov <juri@jurta.org>
3274 * files-x.el (read-file-local-variable-value): Don't filter out
3275 minor modes from mode name completion (bug#4664).
3277 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
3279 * international/mule-cmds.el (ucs-names): Remove exclusion of
3280 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
3282 2009-10-13 Kenichi Handa <handa@m17n.org>
3284 * international/uni-name.el: Regenerated.
3286 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
3288 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
3289 should be automatically buffer-local, but isn't.)
3291 2009-10-12 Sam Steingold <sds@gnu.org>
3293 * progmodes/compile.el (compilation-next-error-function): Fix the
3294 timestamps if the buffer has been visited before.
3295 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
3296 non-anchored patterns, like the perl one (bug#3928).
3298 2009-10-12 Glenn Morris <rgm@gnu.org>
3300 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
3303 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
3305 * proced.el (proced-unload-function): New function.
3307 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
3308 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
3311 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
3313 2009-10-11 Juri Linkov <juri@jurta.org>
3315 * files-x.el (read-file-local-variable-value):
3316 Provide default value only for bound variables (bug#4664).
3318 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
3320 * net/tramp.el (tramp-local-host-p): Function shall return nil for
3321 connection methods like smb.
3323 * net/tramp-cache.el (tramp-flush-connection-property): The hash
3326 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3327 (tramp-smb-file-name-handler-alist): Add handlers for
3328 `add-name-to-file', `make-symbolic-link'.
3329 (tramp-smb-handle-add-name-to-file)
3330 (tramp-smb-do-file-attributes-with-stat)
3331 (tramp-smb-handle-make-symbolic-link)
3332 (tramp-smb-get-cifs-capabilities): New defuns.
3333 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
3334 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
3335 (tramp-smb-handle-file-local-copy)
3336 (tramp-smb-handle-make-directory-internal)
3337 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
3338 The file name syntax depends on cifs capabilities.
3339 (tramp-smb-handle-file-attributes):
3340 Call `tramp-smb-do-file-attributes-with-stat' if possible.
3341 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
3342 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
3344 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
3346 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
3347 (eieio-defclass): Apply deftype handler and setf-method properties
3349 (eieio-add-new-slot): Avoid union function from cl library.
3350 (eieio--typep): New function.
3351 (eieio-perform-slot-validation): Use it.
3353 2009-10-10 Karl Fogel <kfogel@red-bean.com>
3355 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
3356 Update documentation to refer to the variables documented in r1.135.
3359 2009-10-10 Karl Fogel <kfogel@red-bean.com>
3361 * bookmark.el (Info-suffix-list): Remove this unused variable.
3362 (bookmark-current-point): Remove this obsolete variable.
3363 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
3364 Adjust for removal of bookmark-current-point.
3366 (bookmarks-already-loaded, bookmark-current-buffer)
3367 (bookmark-yank-point): Document. (Bug#4188)
3369 2009-10-10 Glenn Morris <rgm@gnu.org>
3371 * frame.el (frame-height): Doc fix.
3373 * calendar/calendar.el (calendar-split-width-threshold): New option.
3374 (calendar-basic-setup): Use calendar-split-width-threshold.
3376 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
3378 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
3379 Use .la for Automake.
3381 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
3383 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
3384 Use "autoreconf -i". Suggested by Andreas Schwab.
3386 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
3388 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
3389 Ideographic Supplement" range (U+1F200..U+1F2FF).
3391 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3393 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
3394 since the list will have been rebuilt anyway. (Bug#4349)
3396 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3398 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
3399 (bookmark-bmenu-execute-deletions): Don't save here, as
3400 bookmark-delete will now do so if necessary.
3401 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
3404 2009-10-09 Glenn Morris <rgm@gnu.org>
3406 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
3408 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3410 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
3411 (bookmark-jump-other-window): Just invoke bookmark-jump with new
3412 argument now, so the two function's behaviors will match. (Bug#3645)
3414 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
3416 * cedet/ede/proj.el (project-make-dist, project-compile-project):
3418 (ede-proj-dist-makefile): Use expand-file-name instead of concat
3419 to expand file names.
3421 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
3423 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
3424 (tramp-file-name-real-host, tramp-file-name-port):
3425 Apply `save-match-data'.
3427 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
3428 case both directories are remote.
3429 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
3430 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
3432 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
3434 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
3435 (ede-proj-target-makefile-objectcode): Use it.
3437 * cedet/ede/source.el (ede-want-any-source-files-p)
3438 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
3439 Return search result. This error was introduced while merging.
3441 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
3443 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
3445 2009-10-07 Glenn Morris <rgm@gnu.org>
3447 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
3450 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3452 * files-x.el (read-file-local-variable): Include some
3453 non-user-variables in the completion table (bug#4664).
3455 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
3457 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
3460 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3461 (tramp-smb-file-name-handler-alist): Add handler for
3462 `copy-directory', `expand-file-name', `set-file-modes'.
3463 (tramp-smb-handle-copy-directory)
3464 (tramp-smb-handle-expand-file-name)
3465 (tramp-smb-handle-set-file-modes): New defuns.
3466 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
3467 (tramp-smb-handle-file-attributes): Simplify check for retrieving
3469 (tramp-smb-handle-insert-directory): Don't flush the cache.
3470 (tramp-smb-maybe-open-connection): Check for samba client and
3473 2009-10-07 Eli Zaretskii <eliz@gnu.org>
3475 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
3476 to not error out of search for "^lisp=" fails.
3478 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
3480 * makefile.w32-in (WINS_UPDATES): New macro.
3481 (custom-deps, finder-data, autoloads): Use it.
3483 2009-10-07 Glenn Morris <rgm@gnu.org>
3485 * Makefile.in (autoloads): Revert previous change.
3486 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
3487 the list of preloaded files passed on the command-line, get
3488 it from src/Makefile.
3490 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
3491 show the original buffer rather than a random one.
3493 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
3495 * help.el (describe-no-warranty): Place point in a slightly better
3496 position in the GPLv3 text.
3498 2009-10-06 Sam Steingold <sds@gnu.org>
3500 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
3501 the comm attribute is present before calling regexp-quote.
3503 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
3505 * play/animate.el (animate-string): For good effect, make sure
3506 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
3508 * play/animate.el (animate-sequence, animate-birthday-present):
3509 * misc.el (butterfly): Don't set `indent-tabs-mode'.
3511 2009-10-06 Glenn Morris <rgm@gnu.org>
3513 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
3515 * emacs-lisp/autoload.el (autoload-excludes): New variable.
3516 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
3517 (batch-update-autoloads): Process a string value of autoload-excludes,
3518 set during the build process.
3519 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
3521 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
3522 inside with-parsed... macro so that `v' is defined.
3524 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
3525 * progmodes/fortran.el (fortran-end-of-block)
3526 (fortran-beginning-of-block):
3527 Also push mark in the macro case.
3529 * emerge.el (emerge-show-file-name):
3530 * calc/calc.el (calc-quit):
3531 * calc/calc-misc.el (calc-big-or-small):
3532 * calc/calc-graph.el (calc-graph-view):
3533 * calc/calc-ext.el (calc-reset):
3534 * calendar/calendar.el (calendar-basic-setup):
3535 Use window-full-height-p.
3537 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
3538 header we don't understand, don't insert another. (Bug#4624)
3539 If changing mime charset, insert the new one in the right place.
3541 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
3543 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
3544 (cal-tex-cursor-month): Correctly increment the end date for diary and
3545 holiday listing. (Bug#4626)
3547 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3549 * help-fns.el (describe-function-1): Don't burp if the function is not
3552 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
3554 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
3555 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
3556 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
3557 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
3559 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
3560 (eieio-default-superclass): Reflow docstrings.
3561 (this, class-option-assoc, defclass, eieio-class-un-autoload)
3562 (eieio-unbind-method-implementations, defmethod)
3563 (eieio-validate-slot-value, eieio-validate-class-slot-value)
3564 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
3565 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
3566 (eieio-slot-originating-class-p, eieio-slot-name-index)
3567 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
3568 (constructor, initialize-instance, no-next-method, object-print)
3569 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
3570 Fix typos in docstrings.
3571 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
3572 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
3573 (next-method-p): Doc fixes.
3574 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
3575 Fix typos in error messages.
3576 (eieio-defmethod): Fix typo in description of generic method.
3578 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
3579 (eieio-persistent-save-interactive, slot-missing):
3580 Fix typos in docstrings.
3581 (eieio-instance-inheritor-slot-boundp): Doc fix.
3583 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
3584 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
3586 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
3587 (eieio-custom-object-apply-reset):
3588 Fix typos in docstrings and error messages.
3590 * emacs-lisp/eieio-datadebug.el (data-debug-show):
3591 Fix typo in docstring.
3593 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
3594 (eieio-browse-tree): Doc fix.
3595 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
3596 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
3597 Fix typos in docstrings.
3599 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
3600 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
3601 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
3602 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
3605 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
3607 * vc-hg.el (log-view-vc-backend): Declare for compiler.
3608 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
3609 Set log-view-vc-backend so that diff can work.
3611 * log-view.el (log-view-diff): Use vc-diff-internal instead of
3613 (vc-diff-internal): Autoload this instead of vc-version-diff.
3615 2009-10-05 Eli Zaretskii <eliz@gnu.org>
3617 * simple.el (eval-expression): Doc fix.
3619 * progmodes/cwarn.el (cwarn-mode): Doc fix.
3621 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
3623 * files.el (directory-files-no-dot-files-regexp): New defconst.
3624 (delete-directory): Use it.
3625 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
3627 * net/tramp.el (tramp-verbose): Fix docstring.
3628 (tramp-methods): Add recursive option to `tramp-copy-args'.
3629 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
3630 "scp1_old", "scp2_old", "rsync", "rsyncc".
3631 (tramp-default-method): Check also for `auth-source-user-or-password'.
3632 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
3633 Add handler for `copy-directory'.
3634 (tramp-handle-copy-directory): New defun.
3635 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
3636 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
3637 Optimize sent command.
3639 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3641 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
3642 window if necessary.
3644 * calendar/calendar.el (calendar-basic-setup): Don't call
3645 switch-to-buffer in a dedicated window.
3647 2009-10-05 Karl Fogel <kfogel@red-bean.com>
3649 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
3650 don't do anything related to relocating, just return nil.
3651 (bookmark-error-no-filename): New error.
3652 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
3653 bookmark has no file. Don't even attempt to handle things that
3654 are not files; the whole point of custom handlers is to keep that
3655 knowledge elsewhere anyway. Tighten some comments.
3656 (bookmark-file-or-variation-thereof): Remove now-unused function.
3657 (bookmark-location): Doc string fix.
3660 2009-10-04 Karl Fogel <kfogel@red-bean.com>
3662 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
3663 don't use a file dialog, because they usually don't know how to read
3664 a directory target from the user. (Bug#4230)
3665 Also, make sure the prompt can display directories as well as files.
3667 2009-10-04 Karl Fogel <kfogel@red-bean.com>
3669 * bookmark.el (bookmark-set, bookmark-buffer-name):
3670 Improve doc strings. (Bug#1193)
3672 2009-10-04 Karl Fogel <kfogel@red-bean.com>
3674 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
3675 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
3676 (bookmark-get-annotation, bookmark-set-annotation)
3677 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
3678 (bookmark-set-position, bookmark-get-front-context-string)
3679 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
3680 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
3681 (bookmark-jump-other-window, bookmark-handle-bookmark)
3682 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
3683 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
3684 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
3685 Improve doc strings to say whether bookmark can be a string or
3686 a record or both, and make other consistency and clarity fixes.
3687 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
3688 (bookmark-default-annotation-text, bookmark-yank-word)
3689 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
3690 (bookmark-import-new-list, bookmark-maybe-rename)
3691 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
3692 (bookmark-bmenu-bookmark): Give these doc strings.
3693 (bookmark-bmenu-check-position): Give this a doc string, but also
3694 add a FIXME comment about how the function may be pointless.
3695 (bookmark-default-handler): Rework doc string and change a
3696 parameter name, to clarify that this takes a bookmark record
3697 not a bookmark name.
3698 (bookmark-set): Change a parameter name to indicate its meaning,
3699 and improve the doc string a bit.
3702 2009-10-04 Karl Fogel <kfogel@red-bean.com>
3704 * bookmark.el (bookmark-alist): Document the new `handler' element
3706 (bookmark-make-record-function): Adjust documentation for above.
3709 2009-10-04 Karl Fogel <kfogel@red-bean.com>
3711 * info.el (Info-bookmark-make-record): Document this function.
3712 (Info-bookmark-jump): Document with a doc string, not just a comment.
3715 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
3717 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
3718 (semantic-new-buffer-fcn): Call parser setup functions here.
3719 (semantic-mode): Don't call parser setup functions here, it's done
3720 in semantic-new-buffer-fcn now.
3721 (semantic-mode): Parse all existing buffers when enabled.
3723 * cedet/srecode/compile.el (srecode-compile-file):
3724 Call semantic-new-buffer-fcn if the buffer has not been parsed.
3726 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
3728 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
3730 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
3731 (proj-comp-insert-variable-once): New macro, renamed from
3732 ede-pmake-insert-variable-once in ede/pmake.edl.
3733 (ede-proj-makefile-insert-variables): Use it.
3735 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
3737 * files.el (copy-directory): New defun.
3739 * dired-aux.el (dired-copy-file-recursive): Use it.
3741 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
3743 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
3744 (makefile-end-of-command):
3745 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
3746 (semantic-end-of-context): Fix previous change. Doc fixes.
3748 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
3750 * files-x.el (modify-dir-local-variable)
3751 (copy-dir-locals-to-file-locals-prop-line):
3752 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
3753 (makefile-end-of-command):
3754 * cedet/semantic/lex.el (semantic-lex-token):
3755 * cedet/semantic/analyze/fcn.el
3756 (semantic-analyze-dereference-metatype-1):
3757 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
3758 (semantic-lex-cpp-undef):
3759 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
3760 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
3761 (semantic-end-of-context): Fix typos in docstrings.
3763 * recentf.el (recentf-unload-function): New function.
3765 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
3767 * cedet/ede.el (ede-project-placeholder-cache-file):
3768 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
3769 * cedet/srecode/map.el (srecode-map-save-file):
3770 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
3772 2009-10-04 Glenn Morris <rgm@gnu.org>
3774 * window.el (window-full-height-p): Add doc string.
3776 2009-10-04 Martin Rudalics <rudalics@gmx.at>
3778 * window.el (window-full-height-p): New function. (Bug#4543)
3780 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
3782 * cedet/srecode/insert.el: Require srecode/args.
3784 * cedet/srecode/args.el: Require srecode/dictionary instead of
3787 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
3789 * files.el (auto-mode-alist): Add .srt and Project.ede.
3791 * cedet/semantic.el (semantic-mode):
3792 Handle srecode-template-mode-hook as well.
3793 (semantic-mode): Use js-mode-hook for Javascript hook.
3795 * cedet/srecode/template.el: Remove hook variable.
3797 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
3799 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
3801 (ede-project-placeholder-cache-file): Default to a file in
3802 user-emacs-directory.
3804 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
3805 templates in data-directory.
3806 (srecode-map-save-file): Default to a file in user-emacs-directory.
3808 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
3811 2009-09-30 Eric Ludlam <zappo@gnu.org>
3813 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
3816 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
3817 Only insert each variable once.
3819 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
3820 (ede-pmake-insert-variable-shared): Use it.
3822 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
3823 for lexical table iff table is nil.
3825 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3827 * vc.el: Remove commented out code.
3828 (vc-derived-from-dir-mode): Remove, unused.
3829 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
3831 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
3833 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
3834 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
3835 there could be recursive loading when `default-directory' is a
3836 remote file name. (Bug#4614)
3838 2009-10-03 Glenn Morris <rgm@gnu.org>
3840 * calendar/calendar.el (calendar-basic-setup): Handle the case where
3842 (calendar-generate-window): Test for shrinkability rather than width.
3844 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
3845 declaration, currently false.
3847 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
3848 reusing existing buffers, in case we happen to visit two files with the
3849 same basename. (Bug#4593)
3851 2009-10-02 Eli Zaretskii <eliz@gnu.org>
3853 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
3854 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
3855 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
3856 subdirs of cedet as well.
3857 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
3859 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3861 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
3862 Obey advertised-signature-table.
3864 * help-fns.el (help-function-arglist): Don't check
3865 advertised-signature-table.
3866 (describe-function-1): Do it here instead so it also applies to subrs.
3868 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
3870 * simple.el (start-file-process): Say in the doc-string, that file
3871 handlers might not support pty association, if PROGRAM is nil.
3873 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
3874 HOST and USER are strings. They are nil, when there are
3875 incomplete entries in ~/.netrc, for example.
3876 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
3877 root directory ("device busy" error otherwise).
3879 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
3880 Flush file properties of created directory.
3882 2009-10-02 Eli Zaretskii <eliz@gnu.org>
3884 * makefile.w32-in (WINS_BASIC): Remove cedet.
3885 (WINS_CEDET): Add cedet.
3886 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
3888 2009-10-02 Kevin Ryde <user42@zip.com.au>
3890 * net/browse-url.el (browse-url): Pass any symbol in
3891 browse-url-browser-function to `apply', since if you've mistakenly put
3892 an unbound symbol then the error is clearer. (Bug#4531)
3894 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
3896 * allout.el (allout-init, allout-back-to-current-heading)
3897 (allout-beginning-of-current-entry, allout-ascend-to-depth)
3898 (allout-ascend, allout-up-current-level, allout-end-of-level)
3899 (allout-previous-visible-heading, allout-forward-current-level)
3900 (allout-backward-current-level, allout-show-children):
3901 * apropos.el (apropos-describe-plist):
3902 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
3903 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
3904 * completion.el (add-completion, add-permanent-completion):
3905 * descr-text.el (describe-text-category, describe-char):
3906 * desktop.el (desktop-lazy-abort):
3907 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
3908 * dired.el (dired-build-subdir-alist):
3909 * ediff.el (ediff-version):
3910 * elide-head.el (elide-head, elide-head-show):
3911 * emerge.el (emerge-version):
3913 * face-remap.el (variable-pitch-mode):
3914 * faces.el (describe-face):
3915 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
3917 * files.el (find-file-existing, auto-save-mode):
3918 * font-lock.el (font-lock-fontify-buffer):
3919 * help-fns.el (describe-function, describe-variable)
3920 (describe-syntax, describe-categories):
3921 * help.el (view-lossage, describe-bindings, describe-key)
3923 * hexl.el (hexl-current-address):
3924 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
3925 * info.el (Info-goto-emacs-key-command-node):
3926 * log-edit.el (log-edit-insert-cvs-template)
3927 (log-edit-insert-cvs-rcstemplate):
3928 * menu-bar.el (menu-bar-mode):
3929 * mouse.el (mouse-appearance-menu):
3930 * newcomment.el (comment-indent-new-line):
3931 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
3932 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
3933 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt, )
3934 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
3935 * recentf.el (recentf-mode):
3936 * savehist.el (savehist-mode, savehist-save):
3937 * shadowfile.el (shadow-copy-files):
3938 * simple.el (kill-ring-save, next-line, previous-line)
3939 (normal-erase-is-backspace-mode):
3940 * strokes.el (strokes-update-window-configuration)
3941 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
3942 (strokes-xpm-for-stroke):
3943 * time.el (emacs-uptime, emacs-init-time):
3944 * tutorial.el (tutorial--describe-nonstandard-key)
3945 (tutorial--detailed-help):
3946 * type-break.el (type-break-mode)
3947 (type-break-mode-line-message-mode, type-break-query-mode)
3948 (type-break-guesstimate-keystroke-threshold):
3949 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
3950 * version.el (emacs-version):
3951 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
3952 * winner.el (winner-mode):
3953 * calendar/timeclock.el (timeclock-in, timeclock-out)
3954 (timeclock-status-string, timeclock-change)
3955 (timeclock-workday-remaining-string)
3956 (timeclock-workday-elapsed-string)
3957 (timeclock-when-to-leave-string):
3958 * calendar/todo-mode.el (todo-add-category):
3959 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
3960 * emacs-lisp/autoload.el (update-file-autoloads):
3961 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
3962 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
3963 (checkdoc-message-text, checkdoc-defun):
3964 * emacs-lisp/debug.el (debugger-list-functions):
3965 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3966 * emacs-lisp/eieio-opt.el (eieio-describe-class)
3967 (eieio-describe-generic):
3968 * emacs-lisp/lisp-mnt.el (lm-synopsis):
3969 * emacs-lisp/shadow.el (list-load-path-shadows):
3970 * emulation/cua-base.el (cua-mode):
3971 * emulation/edt.el (edt-set-scroll-margins):
3972 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
3973 (tpu-toggle-regexp, tpu-toggle-search-direction)
3974 (tpu-toggle-rectangle, tpu-toggle-control-keys):
3975 * emulation/tpu-extras.el (tpu-set-scroll-margins):
3976 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3977 (viper-set-parsing-style-toggling-macro)
3978 (viper-set-emacs-state-searchstyle-macros):
3979 * emulation/viper.el (viper-set-hooks):
3980 * eshell/esh-mode.el (eshell-truncate-buffer):
3981 * international/mule-cmds.el (prefer-coding-system)
3982 (describe-input-method, describe-language-environment):
3983 * international/mule-diag.el (list-character-sets)
3984 (describe-character-set, describe-coding-system)
3985 (describe-fontset, list-fontsets, list-input-methods):
3986 * mail/sendmail.el (mail-signature):
3987 * net/ange-ftp.el (ange-ftp-copy-file):
3988 * net/browse-url.el (browse-url):
3989 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
3990 * net/quickurl.el (quickurl-add-url):
3991 * net/rcirc.el (names, topic):
3992 * net/xesam.el (xesam-mode):
3993 * play/5x5.el (5x5-new-game):
3994 * play/yow.el (apropos-zippy):
3995 * progmodes/ada-mode.el (ada-mode-version):
3996 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
3998 (f90-beginning-of-block):
3999 * progmodes/fortran.el (fortran-end-of-block)
4000 (fortran-beginning-of-block):
4001 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
4002 * progmodes/python.el (python-describe-symbol, python-shell):
4003 * term/ns-win.el (ns-print-buffer):
4004 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
4005 * textmodes/flyspell.el (flyspell-mode-on):
4006 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
4007 (pages-directory-for-addresses):
4008 * textmodes/table.el (table-recognize-cell)
4009 (table-query-dimension, table-generate-source)
4010 (table-insert-sequence, table--warn-incompatibility):
4011 * textmodes/tex-mode.el (tex-validate-buffer):
4012 * textmodes/texinfmt.el (texinfmt-version)
4013 (texinfo-format-buffer):
4014 Use `called-interactively-p' instead of `interactive-p'.
4016 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
4018 * image-mode.el (image-toggle-display):
4019 * emacs-lisp/elp.el (elp-instrument-function):
4020 * emacs-lisp/advice.el (ad-make-advised-definition):
4021 * emacs-lisp/easy-mmode.el (define-minor-mode):
4022 * net/browse-url.el (browse-url-maybe-new-window):
4023 * progmodes/sh-script.el (sh-learn-buffer-indent):
4024 Pass new argument 'any to `called-interactively-p'.
4026 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
4028 * international/uni-bidi.el:
4029 * international/uni-category.el:
4030 * international/uni-combining.el:
4031 * international/uni-comment.el:
4032 * international/uni-decimal.el:
4033 * international/uni-decomposition.el:
4034 * international/uni-digit.el:
4035 * international/uni-lowercase.el:
4036 * international/uni-mirrored.el:
4037 * international/uni-name.el:
4038 * international/uni-numeric.el:
4039 * international/uni-old-name.el:
4040 * international/uni-titlecase.el:
4041 * international/uni-uppercase.el:
4042 Regenerate from Unicode 5.2.0 data.
4044 2009-10-01 Glenn Morris <rgm@gnu.org>
4046 * Makefile.in (ELCFILES): Regenerate.
4048 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4050 * subr.el (interactive-p): Mark obsolete.
4051 (called-interactively-p): Make the optional-ness of `kind' obsolete.
4052 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
4053 advertised-signature-table for subroutines as well.
4055 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
4056 (set-advertised-calling-convention): New function.
4057 (make-obsolete, define-obsolete-function-alias)
4058 (make-obsolete-variable, define-obsolete-variable-alias):
4059 Make the optional-ness of `when' obsolete.
4060 (define-obsolete-face-alias): Make `when' non-optional.
4061 * help-fns.el (help-function-arglist):
4062 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
4063 Use advertised-signature-table.
4065 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
4067 * files.el (delete-directory): New defun. The original function
4068 in fileio.c has been renamed to `delete-directory-internal'.
4070 * dired.el (dired-delete-file): Call `delete-directory' with
4071 RECURSIVE parameter.
4073 * net/ange-ftp.el (ange-ftp-delete-directory ): Add optional
4074 parameter RECURSIVE. Implementation is missing.
4076 * net/tramp.el (tramp-handle-make-directory): Flush upper
4077 directory's file properties.
4078 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
4079 (tramp-handle-dired-recursive-delete-directory): Flush directory
4080 properties after the remove command only.
4082 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
4083 Handle optional parameter RECURSIVE.
4085 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
4086 Handle optional parameter RECURSIVE.
4088 * net/tramp-smb.el (tramp-smb-errors): Add error message for
4090 (tramp-smb-handle-delete-directory): Handle optional parameter
4093 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4095 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
4096 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
4097 (byte-compile-defmacro): Use backquotes.
4099 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
4101 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
4102 has no associated file.
4103 (vc-resynch-buffer): Use vc-dir-buffers.
4105 2009-10-01 Glenn Morris <rgm@gnu.org>
4107 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
4109 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
4110 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
4111 * emacs-lisp/eieio-opt.el (eieio-describe-class):
4112 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
4113 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
4114 (eieio-copy-parents-into-subclass, make-instance, class-children)
4115 (eieio-generic-form):
4116 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
4117 * cedet/cedet-idutils.el (cedet-idutils-search)
4118 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
4119 (cedet-idutils-version-check):
4120 * cedet/cedet.el (cedet-version):
4121 * cedet/data-debug.el (data-debug-insert-overlay-button)
4122 (data-debug-insert-overlay-list-button)
4123 (data-debug-insert-buffer-button)
4124 (data-debug-insert-buffer-list-button)
4125 (data-debug-insert-process-button, data-debug-insert-ring-button)
4126 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
4127 (data-debug-insert-stuff-vector-button)
4128 (data-debug-insert-symbol-button, data-debug-insert-string)
4129 (data-debug-insert-number, data-debug-insert-lambda-expression)
4130 (data-debug-insert-nil, data-debug-insert-simple-thing)
4131 (data-debug-insert-custom, data-debug-edebug-expr):
4132 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
4133 (global-ede-mode-map, ede-new, ede-debug-target)
4134 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
4135 * cedet/semantic.el (semantic-minimum-working-buffer-size)
4136 (semantic-fetch-tags, semantic-submode-list)
4137 (semantic-default-submodes):
4138 * cedet/ede/source.el (ede-source-match):
4139 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
4140 (project-am-package-info):
4141 * cedet/ede/proj.el (ede-proj-target, project-new-target):
4142 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
4143 * cedet/ede/proj-comp.el (ede-current-build-list):
4144 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
4145 * cedet/ede/files.el (ede-toplevel-project-or-nil):
4146 * cedet/ede/cpp-root.el (initialize-instance):
4147 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
4148 (autoconf-parameter-strip, autoconf-insert-new-macro):
4149 * cedet/semantic/wisent.el (wisent-lex-eoi):
4150 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
4151 (semantic-show-parser-state-mode):
4152 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
4153 * cedet/semantic/tag.el (semantic-tag-new-variable)
4154 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
4155 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
4156 (semantic--tag-deep-copy-tag-list)
4157 (semantic-tag-components-with-overlays-default):
4158 * cedet/semantic/symref.el (semantic-symref-find-text):
4159 * cedet/semantic/senator.el (senator-yank-tag)
4160 (senator-transpose-tags-up):
4161 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
4162 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
4163 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
4164 * cedet/semantic/lex.el (semantic-lex-comment-regex)
4165 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
4166 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
4167 * cedet/semantic/lex-spp.el
4168 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
4169 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
4170 * cedet/semantic/idle.el
4171 (semantic-idle-summary-current-symbol-info-brutish)
4172 (semantic-idle-summary-current-symbol-info-default):
4173 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
4174 (semantic--grammar-macro-compl-dict):
4175 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
4176 * cedet/semantic/format.el (semantic-format-tag-custom-list)
4177 (semantic-format-tag-canonical-name-default):
4178 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
4179 (semantic-find-tags-for-completion)
4180 (semantic-find-tags-by-scope-protection-default)
4181 (semantic-deep-find-tags-for-completion):
4182 * cedet/semantic/edit.el
4183 (semantic-edits-incremental-reparse-failed-hook)
4184 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
4185 (semantic-edits-splice-remove, semantic-edits-splice-replace):
4186 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
4187 * cedet/semantic/dep.el (semantic-dependency-include-path):
4188 * cedet/semantic/db.el (semanticdb-default-find-index-class)
4189 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
4190 (semanticdb-project-roots):
4191 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
4192 (semanticdb-find-adebug-insert-scanned-tag-cons)
4193 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
4194 (semanticdb-brute-deep-find-tags-for-completion):
4195 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
4196 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
4197 (semantic-end-of-context-default)
4198 (semantic-ctxt-current-function-default)
4199 (semantic-ctxt-scoped-types-default):
4200 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
4201 (semantic-complete-inline-tag-engine)
4202 (semantic-complete-inline-custom-type)
4203 (semantic-complete-read-tag-analyzer):
4204 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
4205 (semantic-chart-database-size):
4206 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
4207 (semantic-analyze-current-context):
4208 * cedet/semantic/symref/list.el (semantic-symref)
4209 (semantic-symref-hide-buffer, semantic-symref-symbol):
4210 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
4211 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
4212 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
4213 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
4214 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
4215 (semantic-c-dereference-template):
4216 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
4217 (semantic--analyze-refs-full-lookup-with-parents)
4218 (semantic--analyze-refs-full-lookup-simple):
4219 * cedet/semantic/analyze/complete.el
4220 (semantic-analyze-possible-completions):
4221 * cedet/srecode/table.el (srecode-mode-table-new):
4222 * cedet/srecode/srt.el (srecode-read-variable-name):
4223 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
4224 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
4225 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
4226 * cedet/srecode/map.el (srecode-current-map):
4227 * cedet/srecode/insert.el (srecode-insert)
4228 (srecode-insert-variable-secondname-handler, srecode-insert-method)
4229 (srecode-template-inserter-point-override)
4230 (srecode-insert-include-lookup):
4231 * cedet/srecode/getset.el (srecode-auto-choose-class):
4232 * cedet/srecode/extract.el (srecode-inserter-extract):
4233 * cedet/srecode/document.el
4234 (srecode-document-autocomment-return-last-alist)
4235 (srecode-document-autocomment-param-type-alist)
4236 (srecode-document-insert-function-comment)
4237 (srecode-document-insert-variable-one-line-comment)
4238 (srecode-document-function-name-comment):
4239 * cedet/srecode/dictionary.el (srecode-create-dictionary)
4240 (srecode-compound-toString):
4241 * cedet/srecode/compile.el (srecode-flush-active-templates):
4242 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
4245 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
4246 match-data. (Bug#4555).
4248 * cedet/semantic/bovine/gcc.el
4249 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
4250 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
4252 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
4253 rather than parsing it as a regexp. This relaxes the layout
4254 requirements and makes errors easier to detect.
4255 (check-declare-verify): Check file is regular.
4256 (check-declare-directory): Doc fix.
4257 * subr.el (declare-function): Doc fix.
4259 * ibuffer.el (ibuffer-format-qualifier):
4260 * isearch.el (hi-lock-regexp-okay):
4261 * calc/calc.el (math-zerop):
4262 * mail/uce.el (rmail-msgbeg, rmail-msgend):
4263 * term/w32-win.el (setup-default-fontset, set-fontset-font):
4264 Remove unused declarations.
4266 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
4268 * cedet/semantic/wisent/javat-wy.el
4269 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
4271 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
4273 * cedet/srecode/expandproto.el: Fix provide statement.
4275 2009-09-30 Eric Ludlam <zappo@gnu.org>
4277 * emacs-lisp/eieio.el (boolean-p): Delete.
4279 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
4281 * cedet/ede/srecode.el: Fix provide statement.
4283 2009-09-30 Glenn Morris <rgm@gnu.org>
4285 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
4286 * cedet/ede/proj-aux.el (ede-aux-source):
4287 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
4289 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
4290 (semantic-mrub-switch-tags): Fix doc typos.
4292 * cedet/semantic/db-global.el (data-debug-new-buffer)
4293 (data-debug-insert-thing): Remove unneeded declarations (one broken).
4294 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
4296 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
4298 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
4299 use of CL function `remove-if-not'.
4301 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
4303 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
4304 filename is not a string.
4306 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
4308 * files.el (safe-local-eval-forms): Fix typo.
4310 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
4312 * vc-hooks.el (vc-dir-buffers): New var.
4313 (vc-state-refresh): New function.
4315 (vc-after-save): Always ask the backend to recompute the new state.
4316 Always call vc-dir if necessary, using vc-dir-buffers.
4317 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
4319 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
4320 (vc-dir-prepare-status-buffer, vc-dir-update)
4321 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
4322 Don't call expand-file-name on default-directory.
4324 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
4326 * speedbar.el (speedbar-item-delete):
4327 * calc/calc-prog.el (calc-kbd-if):
4328 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
4330 * epa.el (epa-key-list-mode-map):
4331 * hi-lock.el (hi-lock-menu): Fix typos in menus.
4333 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
4334 (hs-show-hook): Fix typo in docstring.
4336 2009-09-29 Glenn Morris <rgm@gnu.org>
4338 * cedet/semantic/symref/idutils.el:
4339 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
4341 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
4343 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
4344 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
4345 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
4346 Mark declarations not understood by check-declare.
4348 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
4349 file-name-nondirectory call preventing location of cedet files.
4350 (check-declare-verify): Use literal search rather than re-search.
4351 Add basic defmethod and defclass, and define-overloadable-function.
4353 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
4354 Use tramp-compat-file-attributes rather than nonexistent
4355 tramp-compat-handle-file-attributes.
4357 * Makefile.in (lisptagsfiles4): New.
4358 (AUTOGENEL): Add cedet loaddefs files.
4359 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
4360 (update-elclist, compile-always, backup-compiled-files)
4361 (bootstrap-clean): Add yet another directory level.
4362 (update-elclist): Use LC_COLLATE rather than COLLATE.
4363 (ELCFILES): Update, via `make update-elclist'.
4365 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
4367 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
4368 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
4369 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
4371 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
4373 * Makefile.in (lisptagsfiles3): Define.
4374 (TAGS, TAGS-LISP): Use it.
4375 (update-elclist): Add third directory level to look for elc files.
4376 (compile-always): Likewise.
4377 (backup-compiled-files): Likewise.
4378 (bootstrap-clean): Likewise.
4381 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
4383 * Makefile.in (ELCFILES): Add CEDET files.
4385 2009-09-28 Eric Ludlam <zappo@gnu.org>
4387 CEDET (development tools) package merged.
4391 * cedet/semantic/*.el:
4392 * cedet/srecode/*.el: New files.
4394 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
4396 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
4398 * net/tramp.el (top): Require tramp-imap.
4400 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
4401 Use `tramp-compat-handle-file-attributes'.
4403 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
4405 * net/tramp-imap.el: New package.
4407 2009-09-28 Eric Ludlam <zappo@gnu.org>
4409 * emacs-lisp/chart.el:
4410 * emacs-lisp/eieio-base.el:
4411 * emacs-lisp/eieio-comp.el:
4412 * emacs-lisp/eieio-custom.el:
4413 * emacs-lisp/eieio-datadebug.el:
4414 * emacs-lisp/eieio-opt.el:
4415 * emacs-lisp/eieio-speedbar.el:
4416 * emacs-lisp/eieio.el: New files.
4418 * cedet/cedet-cscope.el:
4419 * cedet/cedet-files.el:
4420 * cedet/cedet-global.el:
4421 * cedet/cedet-idutils.el:
4422 * cedet/data-debug.el:
4423 * cedet/inversion.el:
4424 * cedet/mode-local.el:
4425 * cedet/pulse.el: New files.
4427 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4429 * whitespace.el (whitespace-trailing-regexp)
4430 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4433 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
4435 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
4438 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
4439 menu-bar-ediff-menu.
4441 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
4442 define-overloadable-function.
4444 * progmodes/autoconf.el: Provide autoconf as well, so that this
4445 file can be `require'd.
4447 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
4449 * emacs-lisp/autoload.el (generated-autoload-feature)
4450 (generated-autoload-load-name): New vars.
4451 (autoload-rubric, autoload-generate-file-autoloads): Use them.
4452 (make-autoload): Recognize define-overloadable-function and
4453 defclass forms (for EIEIO).
4455 * Makefile.in (update-subdirs): Exclude cedet directory.
4457 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
4459 * term/ns-win.el: Don't set the region face background. (Bug#4381)
4461 * faces.el: Default light-background background for region face to
4462 ns_selection_color under NS.
4464 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4466 * net/imap-hash.el: New library, see NEWS.
4468 * Makefile.in (ELCFILES): Add imap-hash.el.
4470 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4472 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
4473 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
4474 * help-macro.el (make-help-screen): Avoid using an ambiguous function
4475 definition where the docstring could be taken for the return value.
4477 2009-09-26 Glenn Morris <rgm@gnu.org>
4479 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
4480 Add option to only show images below a certain size.
4481 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
4482 save-excursion calls.
4484 2009-09-26 Eli Zaretskii <eliz@gnu.org>
4486 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
4487 subdirectories) and eieio.
4489 2009-09-26 Alan Mackenzie <acm@muc.de>
4491 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
4492 buggy bracketing. (Bug#4289)
4494 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
4495 character constants (as case labels). (Bug#4289)
4497 2009-09-25 Juri Linkov <juri@jurta.org>
4499 * files.el (safe-local-eval-forms): Allow time-stamp in
4500 before-save-hook (Bug#4554).
4502 2009-09-25 Drew Adams <drew.adams@oracle.com>
4504 * menu-bar.el (list-buffers-directory): Doc fix.
4506 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
4508 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
4509 Try and avoid copying twice the same paragraph.
4510 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
4511 Remove save-excursion.
4512 (log-edit-changelog-entry): Do it here instead.
4514 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
4516 * bs.el (bs--get-file-name): Use `list-buffers-directory'
4517 when available, instead of hardcoding mode names. Doc fix.
4519 * menu-bar.el (list-buffers-directory): Add docstring.
4520 Make automatically buffer-local.
4522 * dired.el (dired-mode):
4523 * files.el (cd-absolute):
4524 * pcvs.el (cvs-temp-buffer):
4525 * pcvs-util.el (cvs-get-buffer-create):
4526 * shell.el (shell-mode):
4527 * vc-dir.el (vc-dir-mode):
4528 Don't make `list-buffers-directory' buffer local.
4530 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
4532 * comint.el (comint-exec, comint-run, make-comint):
4533 Doc fixes (Bug#4542).
4535 2009-09-25 Glenn Morris <rgm@gnu.org>
4537 * mail/rmailmm.el (rmail-mime): New custom group.
4538 Move all defcustoms in this file into this group.
4539 (rmail-mime-media-type-handlers-alist): Revert previous change.
4540 (rmail-mime-show-images): New option.
4541 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
4542 references to it, since it wasn't actually used for anything.
4543 (rmail-mime-insert-image): New function.
4544 (rmail-mime-image): Use rmail-mime-insert-image.
4545 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
4546 obey the value of `rmail-mime-show-images' option. Print the size of
4549 2009-09-25 David Engster <deng@randomsample.de>
4551 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
4553 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4555 * whitespace.el: Does not highlight trailing spaces While point is
4556 at end of line. Does not highligt spaces at beginning of buffer
4557 while point is at beginning of buffer. Does not highlight spaces
4558 at end of buffer while point is at end of buffer. (Bug#4177)
4560 (whitespace-display-mappings): Adjust initialization.
4561 (whitespace-point, whitespace-font-lock-refontify): New vars.
4562 (whitespace-color-on, whitespace-color-off): Adjust code.
4563 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
4564 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
4565 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
4567 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
4569 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
4571 * textmodes/sgml-mode.el: Remove xml-mode alias.
4573 * files.el (auto-mode-alist, conf-mode-maybe)
4574 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
4576 2009-09-24 Alan Mackenzie <acm@muc.de>
4578 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
4579 c-forward-conditionals, but it doesn't move point and doesn't set
4581 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
4582 (c-down-conditional-with-else, c-backward-conditional)
4583 (c-forward-conditional): Refactor to use c-scan-conditionals.
4585 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
4587 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
4588 (help-default-arg-highlight): Remove.
4589 (help-highlight-arg): New function.
4590 (help-do-arg-highlight): Use it.
4591 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
4593 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
4595 * term.el (term-set-scroll-region, term-handle-ansi-escape):
4596 Undo last change, which didn't fix the problem and introduced others.
4598 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
4600 * progmodes/gdb-mi.el: Don't require speedbar.
4601 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
4603 2009-09-24 Glenn Morris <rgm@gnu.org>
4605 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
4607 * term/ns-win.el (ns-reg-to-script): Define for compiler.
4609 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
4610 there is no newline after the final mime boundary. (Bug#4539)
4611 Move markers on insertion so that any buttons inserted don't end up in
4612 the next part of a multipart message.
4613 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
4614 (rmail-mime-bulk-handler): Optionally handle images.
4615 (rmail-mime-image): New button action.
4616 (rmail-mime-image-handler): New function.
4617 (rmail-mime-mode): New mode.
4618 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
4620 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
4622 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
4623 than just dropping elements from it (bug#4504).
4625 * term.el (term-set-scroll-region): Don't move cursor any more.
4626 (term-handle-ansi-escape): Call term-goto here instead.
4627 Suggested by Ivan Kanis <apple@kanis.eu>.
4629 * term.el: Require CL.
4630 (term-ansi-reset): New function.
4631 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
4632 (term-handle-colors-array): Simplify.
4634 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
4636 * allout.el (allout-overlay-interior-modification-handler)
4637 (allout-obtain-passphrase):
4638 * epa-file.el (epa-file-write-region):
4639 * ps-print.el (ps-begin-job):
4640 * vc-hooks.el (vc-toggle-read-only):
4641 * vc-rcs.el (vc-rcs-rollback):
4642 * vc-sccs.el (vc-sccs-rollback):
4643 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
4644 (vc-version-diff, vc-revert, vc-rollback):
4645 * wdired.el (wdired-check-kill-buffer):
4646 * emacs-lisp/authors.el (authors):
4647 * net/socks.el (socks-open-connection):
4648 * net/zeroconf.el (zeroconf-service-add-hook):
4649 * obsolete/vc-mcvs.el (vc-mcvs-register):
4650 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
4652 * progmodes/grep.el (lgrep, rgrep):
4653 * progmodes/idlw-help.el (idlwave-help-check-locations)
4654 (idlwave-help-html-link, idlwave-help-assistant-open-link):
4655 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4656 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
4657 (reftex-toc-rename-label): Fix typos in error messages.
4659 * dired-aux.el (dired-do-shell-command): Reflow docstring.
4660 (dired-copy-how-to-fn): Doc fix.
4661 (dired-files-attributes, dired-read-shell-command):
4662 Fix typos in docstrings.
4664 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
4665 (dired-x-find-file-other-window): Reflow docstrings.
4666 (dired-omit-marker-char, dired-read-shell-command)
4667 (dired-x-submit-report): Fix typos in docstrings.
4669 * shell.el (shell-mode-hook):
4670 * view.el (View-scroll-line-forward):
4671 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
4672 Fix typos in docstrings.
4674 * net/dig.el (dig-invoke): Fix typo in docstring.
4675 (query-dig): Reflow docstring.
4677 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
4678 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
4679 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
4680 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
4681 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
4682 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
4683 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
4684 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
4685 (idlwave-completion-map, idlwave-current-indent)
4686 (idlwave-custom-ampersand-surround, idlwave-customize)
4687 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
4688 (idlwave-define-abbrev, idlwave-determine-class-special)
4689 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
4690 (idlwave-end-block-reg, idlwave-end-of-statement)
4691 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
4692 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
4693 (idlwave-explicit-class-listed, idlwave-file-header)
4694 (idlwave-fill-paragraph, idlwave-find-class-definition)
4695 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
4696 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
4697 (idlwave-in-quote, idlwave-indent-action-table)
4698 (idlwave-indent-expand-table, idlwave-indent-line)
4699 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
4700 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
4701 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
4702 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
4703 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
4704 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
4705 (idlwave-outlawed-buffers, idlwave-popup-select)
4706 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
4707 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
4708 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
4709 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
4710 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
4711 (idlwave-statement-type, idlwave-struct-skip)
4712 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
4713 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
4714 (idlwave-what-module-find-class): Fix typos in docstrings.
4715 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
4716 (idlwave-calculate-cont-indent, idlwave-expand-equal)
4717 (idlwave-find-module, idlwave-find-structure-definition)
4718 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
4719 (idlwave-list-load-path-shadows, idlwave-next-statement)
4720 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
4721 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
4722 (idlwave-template): Reflow docstrings.
4724 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
4725 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
4726 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
4727 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
4728 (idlwave-shell-display-line, idlwave-shell-display-wframe)
4729 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
4730 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
4731 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
4732 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
4733 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
4734 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
4735 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
4736 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
4737 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
4738 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
4739 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
4740 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
4741 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
4742 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
4743 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
4744 Fix typos in docstrings.
4745 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
4746 (idlwave-shell-hide-output, idlwave-shell-mode)
4747 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
4750 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
4752 2009-09-24 Ivan Kanis <apple@kanis.eu>
4754 * term.el (term-bold-attribute): New var.
4755 (term-handle-colors-array): Use it.
4757 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
4759 * progmodes/gdb-mi.el (gdb-version): New variable.
4760 (gdb-non-stop-handler): Set gdb-version.
4761 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
4762 Condition "--thread" option on gdb-version.
4763 (gdb-invalidate-threads): Remove unused argument.
4765 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4767 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
4768 to looking-back to avoid ridiculous slow down in large files (bug#4511).
4770 2009-09-23 Glenn Morris <rgm@gnu.org>
4772 * mail/rmail.el (rmail-reply): Don't try to add a References header when
4773 replying to mail without References or Message-Id. (Bug#4525)
4775 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
4777 * term/ns-win.el (ns-reg-to-script): New variable.
4779 2009-09-23 Daiki Ueno <ueno@unixuser.org>
4781 * epg.el (epg-wait-for-status): Preserve existing 'error results.
4783 2009-09-22 Sam Steingold <sds@gnu.org>
4785 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
4786 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
4787 to 1 because hg returns status 1 when nothing is found.
4788 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
4790 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
4792 * textmodes/fill.el: Convert to utf-8 encoding.
4793 (fill-french-nobreak-p): Remove redundant » and « inherited from our
4796 * add-log.el (change-log-fill-forward-paragraph): New function.
4797 (change-log-mode): Use it so fill-region DTRT.
4798 Set fill-indent-according-to-mode here rather than in
4799 change-log-fill-paragraph.
4800 (change-log-fill-paragraph): Remove.
4802 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
4804 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
4805 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
4807 2009-09-22 Glenn Morris <rgm@gnu.org>
4809 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
4810 the scroll-bar scroll the calendar window rather than the buffer.
4812 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
4813 commands that move point (as opposed to scrolling).
4815 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
4817 * emacs-lisp/elint.el (elint): New custom group.
4818 (elint-log-buffer): Make it a defcustom.
4819 (elint-scan-preloaded, elint-ignored-warnings)
4820 (elint-directory-skip-re): New options.
4821 (elint-builtin-variables): Doc fix.
4822 (elint-preloaded-env): New variable.
4823 (elint-unknown-builtin-args): Add an entry for encode-time.
4824 (elint-extra-errors): Make it a variable rather than a constant.
4825 (elint-preloaded-skip-re): New constant.
4826 (elint-directory): Skip files matching elint-directory-skip-re.
4827 (elint-features): New variable, local to linted buffers.
4828 (elint-update-env): Initialize elint-features. Possibly add
4829 elint-preloaded-env to the buffer's environment.
4830 (elint-get-top-forms): Bind elint-current-pos, for log messages.
4832 (elint-init-form): New function, extracted from elint-init-env.
4833 Make non-list forms a warning rather than an error.
4834 Add the mode-map for define-derived-mode. Handle define-minor-mode,
4835 easy-menu-define, put that adds an error-condition, and provide.
4836 When requiring cl, also require cl-macs. Really require cl, to handle
4837 some cl macros. Store required libraries in the list elint-features,
4838 so as not to re-load them. Treat cc-require like require.
4839 (elint-init-env): Call elint-init-form to do the work.
4840 Handle eval-and-compile and such like.
4841 (elint-add-required-env): Do not clear messages.
4842 (elint-special-forms): Add handlers for function, defalias, if, when,
4844 (elint-form): Add optional argument to ignore elint-special-forms,
4845 useful to prevent recursive calls from handlers. Doc fix.
4846 Respect elint-ignored-warnings.
4847 (elint-form): Respect elint-ignored-warnings.
4848 (elint-bound-variable, elint-bound-function): New variables.
4849 (elint-unbound-variable): Respect elint-bound-variable.
4850 (elint-get-args): Respect elint-bound-function.
4851 (elint-check-cond-form): Add some simple handling for (f)boundp and
4853 (elint-check-defalias-form): New handler.
4854 (elint-check-let-form): Make an empty let a warning rather than an
4856 (elint-check-setq-form): Make an empty setq a warning rather than an
4857 error. Respect elint-ignored-warnings.
4858 (elint-check-defvar-form): Accept null doc-strings.
4859 (elint-check-conditional-form): New handler. Does some simple-minded
4860 checking of featurep and (f)boundp tests.
4861 (elint-put-function-args): New function.
4862 (elint-initialize): Use elint-scan-doc-file rather than
4863 elint-find-builtin-variables. Use elint-put-function-args.
4864 Possibly scan preloaded-file-list.
4865 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
4866 extend to handle functions as well.
4868 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
4870 * linum.el (linum-delete-overlays, linum-update-window):
4871 Do not modify the right margin. (Bug#3971)
4873 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
4875 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
4876 nxml-mode instead of xml-mode.
4878 2009-09-21 Kevin Ryde <user42@zip.com.au>
4880 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
4882 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * net/dig.el (dig-mode): Use define-derived-mode.
4886 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
4888 * vc-dispatcher.el (vc-do-command): Return the process object in
4889 the asynchronous case. Use when instead of if. Do not run
4890 vc-exec-after to display a message if not enabled. (Bug#4463)
4892 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
4893 properties to the stash strings.
4894 (vc-git-stash-list): Return a list of strings.
4895 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
4896 (vc-git-stash-show-at-point): New functions.
4897 (vc-git-stash-map): New keymap.
4899 * register.el (ctl-x-r-map): Define the keys here instead of
4902 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
4904 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
4905 list, to workaround performance problem (bug#4485).
4907 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
4909 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
4911 2009-09-20 Daiki Ueno <ueno@unixuser.org>
4913 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
4914 Document that this option is not recommended to use.
4916 2009-09-19 Glenn Morris <rgm@gnu.org>
4918 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
4921 * calc/calc-alg.el (var):
4922 * calc/calcalg2.el (var): Define for compiler.
4924 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
4926 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
4929 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
4931 * time-stamp.el (time-stamp-month-dd-yyyy)
4932 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
4933 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
4934 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
4935 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
4936 Remove functions that have been obsolete since 1995 (Bug#4436).
4938 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
4939 indent buffer only if called interactively (Bug#4452).
4941 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
4942 Eli Zaretskii <eliz@gnu.org>
4944 This fixes bug#4197 (merged to bug#865, though not identical).
4945 * server.el (server-auth-dir): Add docstring note about FAT32.
4946 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
4947 but warn against using them.
4949 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
4951 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
4952 older GDB where there is no has_more field.
4954 2009-09-19 Glenn Morris <rgm@gnu.org>
4956 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
4958 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
4960 * files.el (auto-mode-alist): Change default for XML files to nXML
4963 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
4965 * server.el (server-ensure-safe-dir): Pass 'integer
4966 to `file-attributes', as suggested.
4968 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4970 * dired-aux.el (dired-query-alist): Remove spurious backslash.
4971 (dired-query): Use read-key.
4973 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
4975 * cus-start.el (ns-use-qd-smoothing): Remove.
4977 2009-09-18 Glenn Morris <rgm@gnu.org>
4979 * allout.el (top-level): Remove unnecessary progn.
4981 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
4983 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
4984 definition of abbrev table.
4986 * speedbar.el (speedbar-track-mouse):
4987 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
4988 * net/eudc.el (eudc-expand-inline):
4989 * net/newst-backend.el (newsticker--cache-read-feed):
4990 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
4991 condition-case handlers.
4993 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
4995 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
4996 (gdb-var-list): Add an element for has_more field.
4997 (gdb-non-stop-handler): Enable pretty printing for STL containers.
4998 (gdb-var-create-handler, gdb-var-list-children-handler-1)
4999 (gdb-var-update-handler-1): Parse output of dynamic variable
5000 objects (STL containers).
5001 (gdb-var-delete-1): Pass var1 as an explicit second argument.
5002 (gdb-get-field): Delete alias. Use bindat-get-field directly.
5004 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
5006 (gud-speedbar-buttons): Make node expandable if expression "has more"
5009 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
5011 * startup.el (emacs-quick-startup): Remove variable and all uses.
5012 (command-line): Set `inhibit-x-resources' instead.
5013 (command-line-1): Use `inhibit-x-resources' instead.
5015 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
5017 * subr.el: Fix last change to avoid using the `unless' macro,
5018 which breaks bootstrapping.
5020 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5022 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
5023 extended definitions, in case we reload subr.el after having
5025 (eval-next-after-load): Mark as obsolete.
5027 2009-09-17 Juri Linkov <juri@jurta.org>
5029 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
5030 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
5031 (menu-bar-showhide-menu, menu-bar-tools-menu)
5032 (menu-bar-describe-menu, menu-bar-help-menu)
5033 (minibuffer-local-completion-map, minibuffer-local-map):
5036 2009-09-17 Glenn Morris <rgm@gnu.org>
5038 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
5039 arguments, whether or not it has a handler.
5041 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
5043 * simple.el (hard-newline): Give it a doc-string.
5045 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5046 (lisp-mode-syntax-table): Give them doc-strings.
5048 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
5050 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
5051 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
5052 (menu-bar-options-menu, menu-bar-showhide-menu)
5053 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
5054 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
5055 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
5056 (menu-bar-options-menu, menu-bar-tools-menu)
5057 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
5058 (menu-bar-help-menu):
5059 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
5062 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
5063 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
5064 calls for the menu names and :help.
5066 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5068 * mouse.el (minor-mode-menu-from-indicator): Pay attention
5069 to :minor-mode-function (bug#4455).
5071 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5073 * startup.el (command-line): Initialize the window-system after
5074 processing the command-line.
5076 * textmodes/page.el (what-page): Make sure we don't inf-loop if
5077 page-delimiter matches the empty string.
5079 2009-09-16 Glenn Morris <rgm@gnu.org>
5081 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
5082 byte-compile-not-obsolete-var. It's a list now.
5083 (byte-compile-not-obsolete-funcs): New variable.
5084 (byte-compile-warn-obsolete): Don't warn about functions if they are in
5085 byte-compile-not-obsolete-funcs.
5086 (byte-compile-variable-ref, byte-compile-defvar): Update for
5087 byte-compile-not-obsolete-vars name-change and list nature.
5088 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
5089 and variables behind (f)boundp tests.
5090 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
5092 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
5094 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
5096 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5098 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
5099 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
5102 2009-09-15 Stephen Eglen <stephen@gnu.org>
5104 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
5105 the virtual-buffers, use the name of the buffer specified by
5106 find-file-noselect, as the match may be a symlink. (This was a
5107 problem if the target and the symlink had different names.)
5109 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5111 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
5113 * desktop.el (desktop-path): Check user-emacs-directory.
5115 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
5117 * loadup.el: Use after-load-functions to GC after loading each file.
5118 Remove the explicit GC calls that used to be sprinkled around.
5120 * subr.el (after-load-functions): New hook.
5121 (do-after-load-evaluation): Run it. Use string-match-p to detect
5122 `obsolete' packages, rather than painfully extracting the relevant
5125 2009-09-15 Glenn Morris <rgm@gnu.org>
5127 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
5128 free variable `doc'.
5130 * dired.el (dired-mode-map): Add menu entry for async shell command.
5132 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
5133 variables, also consider the .elc files, since the .el files are
5134 normally gzipped (subsequent code locates the .el.gz from the .elc).
5136 * calc/calc-prog.el (arglist): Define for compiler.
5138 * calendar/diary-lib.el (diary-display-function): Change the default to
5140 (body): Define for compiler.
5142 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
5143 (byte-compile-file-form, byte-compile-lambda)
5144 (byte-compile-top-level-body, byte-compile-form)
5145 (byte-compile-variable-ref, byte-compile-setq)
5146 (byte-compile-setq-default, byte-compile-body)
5147 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
5148 (batch-byte-compile): Give some more local variables with common names
5149 a "bytecomp-" prefix to avoid masking warnings about free variables.
5151 * startup.el (command-line-1): Give local variables with common names a
5152 distinguishing prefix, so as not to hide free variable warnings during
5155 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
5156 clever and add a suffix to make a unique name, just let the user decide
5157 whether or not to overwrite it. If the input is a directory, write the
5158 default filename to that directory. (Bug#4388)
5159 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
5160 is a filename-as-a-directory.
5162 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5164 * textmodes/page.el (what-page): Don't move to beginning of line.
5165 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
5167 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
5169 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
5171 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
5173 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
5174 * help.el (help-for-help-internal): Add purecopy calls for text.
5176 * vc.el (top): print-log method now takes an optional SHORTLOG
5177 argument. Add a new method: root.
5178 (vc-root-diff, vc-print-root-log): New functions.
5179 (vc-log-short-style): New variable.
5180 (vc-print-log-internal): Add support for showing short logs.
5182 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
5183 vc-print-root-log and vc-print-root-diff.
5185 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
5186 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
5187 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
5190 * vc-cvs.el (vc-cvs-print-log):
5191 * vc-mtn.el (vc-mtn-print-log):
5192 * vc-rcs.el (vc-rcs-print-log):
5193 * vc-sccs.el (vc-sccs-print-log):
5194 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
5195 that is ignored for now.
5197 * vc-mtn.el (vc-mtn-annotate-command):
5198 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
5200 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5202 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
5203 to function-key-map, and give them ascii-character property.
5204 * term/x-win.el (x-alternatives-map):
5205 * term/ns-win.el (ns-alternatives-map):
5206 * term/internal.el (msdos-key-remapping-map):
5207 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
5209 2009-09-14 Glenn Morris <rgm@gnu.org>
5211 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
5212 temp-buffers (2009-09-12).
5214 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5216 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
5217 the new read-key function.
5219 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
5221 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
5222 is defined (Bug#4405).
5224 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
5226 * recentf.el (recentf-cleanup): Use a hash table to find
5227 duplicates (Bug#4407).
5229 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
5231 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
5232 kp-0 to ascii equivalents (Bug#4325).
5234 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
5236 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
5238 * eshell/em-hist.el:
5239 * eshell/em-dirs.el (eshell-complete-user-reference):
5240 Declare pcomplete functions and variables to avoid compiler warnings.
5242 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
5244 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
5245 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
5246 * eshell/em-alias.el (eshell-aliases-file):
5247 * eshell/em-hist.el (eshell-history-file-name):
5248 Use expand-file-name instead of concat to make file names (Bug#4308).
5250 2009-09-13 Glenn Morris <rgm@gnu.org>
5252 * ediff-merg.el (ediff-do-merge):
5253 * filesets.el (filesets-run-cmd):
5254 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
5255 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
5256 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
5257 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
5258 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
5259 Replace empty `let's with `progn'.
5261 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5263 * mail/sendmail.el (send-mail-function):
5264 * tooltip.el (tooltip-mode):
5265 * simple.el (transient-mark-mode):
5266 * rfn-eshadow.el (file-name-shadow-mode):
5267 * frame.el (blink-cursor-mode):
5268 * font-core.el (global-font-lock-mode):
5269 * files.el (temporary-file-directory)
5270 (small-temporary-file-directory, auto-save-file-name-transforms):
5271 * epa-hook.el (auto-encryption-mode):
5272 * composite.el (global-auto-composition-mode):
5273 Use custom-initialize-delay.
5274 * startup.el (command-line): Don't explicitly call
5275 custom-reevaluate-setting for all the above vars.
5276 * custom.el (custom-initialize-safe-set)
5277 (custom-initialize-safe-default): Delete.
5279 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5281 * term/x-win.el (x-initialize-window-system):
5282 * term/w32-win.el (w32-initialize-window-system):
5283 * term/ns-win.el (ns-initialize-window-system): Don't call
5284 mouse-wheel-mode since it's enabled globally by default already.
5286 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
5287 actually define the variable, but only silences the byte-compiler.
5288 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
5289 before looking it up.
5290 (mouse-wheel-scroll-amount): Also reset the bindings if this value
5293 2009-09-12 Glenn Morris <rgm@gnu.org>
5295 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
5297 (elint-add-required-env): Don't beep on error.
5298 (elint-forms): In case of error, return ENV unchanged.
5299 (elint-init-env): Skip non-list forms.
5300 (elint-log): Handle unknown file positions.
5302 2009-09-12 Daiki Ueno <ueno@unixuser.org>
5304 * epg.el (epg-make-context): Add autoload cookie.
5305 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
5306 (epg-decrypt-string, epg-start-verify, epg-verify-file)
5307 (epg-verify-string, epg-start-sign, epg-sign-file)
5308 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
5309 (epg-encrypt-string, epg-start-export-keys)
5310 (epg-export-keys-to-file, epg-export-keys-to-string)
5311 (epg-start-import-keys, epg-import-keys-from-file)
5312 (epg-import-keys-from-string, epg-start-receive-keys)
5313 (epg-receive-keys, epg-import-keys-from-server)
5314 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
5315 (epg-sign-keys, epg-start-generate-key)
5316 (epg-generate-key-from-file, epg-generate-key-from-string):
5317 Remove autoload cookie.
5319 2009-09-12 Eli Zaretskii <eliz@gnu.org>
5321 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
5322 reevaluation of trash-directory.
5324 * mwheel.el: Fix last change.
5325 (mouse-wheel-mode): New defvar.
5326 (mouse-wheel-mode): Remove autoload cookie.
5328 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5330 * mwheel.el (mwheel-installed-bindings): New var.
5331 (mouse-wheel-mode): Use it, so as to make sure we really remove all
5332 the bindings we set last time. Use custom-initialize-delay.
5333 * loadup.el: Load mwheel after term/*-win.el.
5334 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
5335 and mouse-wheel-up-event now that their first evaluation is done
5336 sufficiently late to be correct.
5338 * startup.el (tutorial-directory): Make it a defcustom.
5339 Use custom-initialize-delay rather than eval-at-startup to set it.
5340 * image.el (image-load-path): Make it a defcustom.
5341 Use custom-initialize-delay rather than eval-at-startup to set it.
5342 * subr.el (eval-at-startup): Remove.
5343 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
5345 * subr.el (do-after-load-evaluation): Warn the user after loading an
5348 2009-09-12 Glenn Morris <rgm@gnu.org>
5350 * proced.el (proced-mark-alt): Remove alias.
5351 (proced-mode-map): Remove proced-mark-alt.
5353 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
5354 Elint file and directory. Remove initialization entry.
5356 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
5358 (elint-current-buffer): Set mode-line-process.
5359 (elint-init-env): Handle define-derived-mode.
5360 Fix declare-function with unspecified arglist. Guard against odd
5361 defalias statements (eg iso-insert's 8859-1-map).
5362 (elint-add-required-env): Use a temp buffer.
5363 (elint-form): Just print the function/macro name, not the whole form.
5364 Return env unchanged if we fail to parse a macro.
5365 (elint-forms): Guard against parse errors.
5366 (elint-output): New function, to handle batch mode.
5367 (elint-log-message): Add optional argument. Use elint-output.
5368 (elint-set-mode-line): New function.
5370 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
5372 * emacs-lisp/elp.el (elp-not-profilable): Add more
5373 functions (Bug#4233).
5375 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
5377 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
5378 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
5380 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
5382 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
5383 (gdb-var-list-children): Use json parsing.
5385 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
5387 * progmodes/js.el (js--proper-indentation): Handle the case where
5388 char-before is null. Reported by Deniz Dogan.
5390 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
5392 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
5394 2009-09-11 Daiki Ueno <ueno@unixuser.org>
5396 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
5397 (epg-digest-algorithm-alist): Add SHA224.
5398 (epg-context-set-passphrase-callback)
5399 (epg-context-set-progress-callback): Add description about
5402 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5404 * custom.el (custom-delayed-init-variables): New var.
5405 (custom-initialize-delay): New function.
5406 * startup.el (command-line): "Re"evaluate all vars in
5407 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
5408 explicitly any more.
5409 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
5410 to avoid creating a ~/.emacs.d at build-time (bug#4347).
5412 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
5414 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
5416 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
5417 (gdb-var-update-handler): Use json parsing.
5419 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
5421 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
5422 decode annotated text, regardless of language environment. (Bug#2741)
5424 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * Makefile.in (autoloads): Make rmail.el writable as well.
5428 2009-09-11 Glenn Morris <rgm@gnu.org>
5430 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
5432 * dired.el: Regenerate with extracted autoloads.
5433 * Makefile.in (autoloads): Make dired.el writable.
5435 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
5436 * ibuffer.el: Regenerate with extracted autoloads.
5437 * Makefile.in (autoloads): Make ibuffer.el writable.
5439 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
5440 * version.el (emacs-copyright, emacs-major-version)
5441 (emacs-minor-version): Reformat doc-strings for make-docfile.
5443 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
5444 functions and variables, since they must be stuff specific to some other
5446 (apropos-print): Make mouse-click message less specific about button.
5448 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
5449 that records where a macro was defined.
5450 * help-fns.el (describe-function-1): Mention if a function has a
5452 * help-mode.el (help-function-cmacro): New button.
5454 * locate.el (top-level): Always require dired.
5455 (locate-mode-map): Initialize inside the defvar.
5457 * net/ange-ftp.el (dired-compress-file): Declare.
5458 (ange-ftp-dired-compress-file): Add doc string.
5460 * term/ns-win.el (x-display-name, x-setup-function-keys):
5461 Unify doc-strings with X versions.
5463 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5465 * emulation/crisp.el (crisp-mode-map): Move initialization
5467 (crisp-mode): Use define-minor-mode.
5469 * progmodes/xscheme.el (xscheme-evaluation-commands):
5470 Put a :advertised-binding property rather than using
5471 advertised-xscheme-send-previous-expression.
5472 (advertised-xscheme-send-previous-expression): Declare obsolete.
5473 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
5475 (crisp-mode): Add corresponding bindings to
5476 undo's :advertised-binding instead.
5477 * dired.el (dired-mode-map): Put a :advertised-binding property rather
5478 than using dired-advertised-find-file.
5479 (dired-advertised-find-file):
5480 * simple.el (advertised-undo):
5481 * wid-edit.el (advertised-widget-backward): Declare obsolete.
5482 (widget-keymap): Put a :advertised-binding property rather
5483 than using advertised-widget-backward.
5484 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
5485 than using advertised-undo.
5486 * tutorial.el (tutorial--default-keys): Adjust accordingly.
5488 2009-09-10 Simon South <ssouth@slowcomputing.org>
5490 * progmodes/delphi.el (delphi-tab): Indent region when Transient
5491 Mark mode is enabled and region is active; otherwise indent or
5492 insert TAB as usual.
5493 (delphi-mode): Update description of TAB-key binding.
5495 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5497 * subr.el (define-key-rebound-commands): Mark obsolete.
5498 * startup.el (precompute-menubar-bindings): Remove.
5499 (normal-top-level): Remove obsolete code that tried to precompute
5501 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
5502 define-key-rebound-commands and precompute-menubar-bindings.
5504 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
5506 * net/imap.el (imap-interactive-login): Better messages.
5507 (imap-open): Fix bug with renamed buffer on reconnect.
5508 (imap-authenticate): Add buffer-local imap-last-authenticator variable
5509 for easier debugging and cleaner code. On successful (guessed based on
5510 server capabilities) secondary authentication, set imap-state
5512 (imap-last-authenticator): Define imap-last-authenticator as a variable
5515 2009-09-10 Glenn Morris <rgm@gnu.org>
5517 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
5519 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
5520 (byte-compile-file-form-autoload): Don't warn about unknown functions
5521 where the autoload statement comes after the use.
5522 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
5523 that any handlers inside the body (eg require) are in turn respected.
5525 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
5528 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
5529 and syntax and abbrev tables basic docs, if they don't have any.
5531 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
5533 * international/mule-cmds.el (top-level): Require cl when compiling.
5534 (view-hello-file): Use default-value rather than
5535 default-enable-multibyte-characters.
5537 * progmodes/fortran.el: Move all safe and risky properties into the
5540 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
5541 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
5543 Put autoloads in rmail.el rather than loaddefs.el.
5544 * mail/rmail.el: Regenerate with extracted autoloads.
5546 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
5547 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
5549 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
5551 Reported in thread for Bug#4375.
5552 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
5553 "-data-evaluate-expression" instead of print.
5554 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
5555 (gdb-tooltip-print): Parse output from above MI command.
5556 (gdb): Revert 2009-08-11 change. User should detach inferior
5559 Remove the word "separate" from IO functions as inferior
5560 output is now never displayed in the GUD buffer.
5562 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
5564 * startup.el (command-line-normalize-file-name): On Windows and
5565 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
5567 2009-09-10 Juri Linkov <juri@jurta.org>
5569 * isearch.el (isearch-text-char-description): Propertize escape
5570 character sequences with the `escape-glyph' face. (Bug#4344)
5572 * simple.el (shell-command): Set asynchronous process filter to
5573 `comint-output-filter'. (Bug#4343)
5575 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
5576 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
5577 the list. Move "asm" to the bottom.
5578 (grep-find-ignored-directories): Add `choice' with nil value
5579 to empty the list easily.
5580 (grep-find-ignored-files): New option.
5581 (grep-files-history): Set to nil by default instead of '("ch" "el").
5582 (grep-compute-defaults): Add "<X>" to `grep-template'.
5583 (grep-read-files): Bind new local variables `default-alias' and
5584 `default-extension'. Use a list of default values for the file prompt.
5585 (lgrep): Add `--exclude=' command line options composed from
5586 `grep-find-ignored-files'.
5587 (rgrep): Add `-name' command line options composed from
5588 `grep-find-ignored-files'. (Bug#4301)
5590 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
5595 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
5597 * calendar/time-date.el (autoload):
5598 Expand define-obsolete-function-alias into defalias and make-obsolete
5599 for old Emacsen that Gnus supports.
5600 (with-no-warnings): Define it for old Emacsen.
5601 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
5603 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
5604 float-time is available; suppress compile warning for time-to-seconds.
5606 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
5608 * net/imap.el (imap-message-map): Docstring fix.
5610 2009-09-09 Glenn Morris <rgm@gnu.org>
5612 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
5613 line numbers too. (Bug#4374)
5615 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5617 * smerge-mode.el (smerge-remove-props, smerge-refine):
5618 Use with-silent-modifications (bug#4342).
5620 * subr.el (with-silent-modifications): New macro.
5622 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
5624 * files.el (top-level): Require `cl' when compiling.
5626 2009-09-07 Glenn Morris <rgm@gnu.org>
5628 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
5630 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
5631 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
5633 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
5635 * vc-git.el (vc-git-annotate-command): Use separator to parse
5636 arguments correctly.
5638 2009-09-06 Eli Zaretskii <eliz@gnu.org>
5640 * proced.el (proced-mode): Doc fix.
5642 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
5644 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
5646 (tramp-do-file-attributes-with-ls): Check for file existence at
5648 (tramp-do-file-attributes-with-stat): Likewise.
5649 (tramp-convert-file-attributes): Return nil when attr is nil.
5651 2009-09-05 Glenn Morris <rgm@gnu.org>
5653 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
5654 properties to this button.
5655 (diary-fancy-display): Don't extend the button to the final newline.
5656 (diary-fancy-display-mode): Continue to define "q" as a local key.
5658 * calendar/cal-china.el (holiday-chinese): Make it slightly more
5661 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
5663 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
5664 (byte-compile-dest-file-function): New option.
5665 (byte-compile-dest-file): Doc fix.
5666 Obey byte-compile-dest-file-function.
5667 (byte-compile-cl-file-p): New function.
5668 (byte-compile-eval): Only suppress noruntime warnings about cl functions
5669 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
5670 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
5671 than for file being previously loaded.
5672 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
5673 (byte-compile-file-form-require): Handle the case where requiring a file
5674 indirectly causes CL to be loaded.
5676 2009-09-05 Karl Fogel <kfogel@red-bean.com>
5678 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
5679 before killing the old buffer, since by the time `kill-buffer' is
5680 run so many buffer variables have been set to nil that it may not
5681 behave as expected. (Bug#4061)
5683 2009-09-05 Karl Fogel <kfogel@red-bean.com>
5685 * files.el (find-alternate-file): If the old buffer is modified
5686 and visiting a file, behave similarly to `kill-buffer' when
5687 killing it, thus reverting to the pre-1.878 behavior; see
5688 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
5689 for discussion. Also, consult `buffer-file-name' as a variable
5690 not as a function, for consistency with the rest of the code.
5692 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
5694 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
5695 also when adding a new directory.
5697 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
5700 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5702 * files.el (locate-file-completion-table): Make it provide boundary
5703 information, so partial-completion works better.
5705 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
5707 * mail/footnote.el (Footnote-text-under-cursor):
5708 Check footnote-text-marker-alist before using it (bug#4324).
5710 2009-09-04 Glenn Morris <rgm@gnu.org>
5712 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
5713 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
5714 * play/solitaire.el, play/tetris.el:
5715 Remove leading * from defcustom and defface docs.
5717 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
5719 (diary-fancy-overriding-map): New variable.
5720 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
5723 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
5726 2009-09-03 Glenn Morris <rgm@gnu.org>
5728 * arc-mode.el (archive-mode):
5729 * dos-fns.el (set-default-process-coding-system):
5730 * man.el (Man-getpage-in-background):
5731 * menu-bar.el (menu-bar-describe-menu):
5732 * server.el (server-process-filter):
5733 * startup.el (command-line):
5734 * tar-mode.el (tar-header-block-tokenize, tar-extract):
5735 * w32-fns.el (set-default-process-coding-system):
5736 * x-dnd.el (x-dnd-handle-file-name):
5737 * international/mule-cmds.el (mule-menu-keymap)
5738 (set-default-coding-systems, language-info-alist, set-language-info)
5739 (set-language-environment, standard-display-european-internal)
5740 (set-locale-environment):
5741 * international/mule-diag.el (mule-diag):
5742 * mail/emacsbug.el (report-emacs-bug):
5743 * mail/rmail.el (rmail-mode):
5744 * mail/sendmail.el (mail-setup):
5745 Use default-value rather than default-enable-multibyte-characters.
5747 * progmodes/f90.el: Move all safe properties into the defcustoms.
5748 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
5750 * calendar/appt.el (appt-check):
5751 * calendar/diary-lib.el (diary-set-header, diary-live-p)
5752 (diary-check-diary-file, diary-list-entries)
5753 (diary-include-other-diary-files, diary-simple-display)
5754 (diary-fancy-display, diary-print-entries)
5755 (diary-mark-included-diary-files, diary-make-entry):
5756 Don't call substitute-in-file-name on diary-file.
5758 2009-09-03 Eduard Wiebe <usenet@pusto.de>
5759 Stefan Monnier <monnier@iro.umontreal.ca>
5761 * mail/footnote.el (footnote-prefix): Make it a defcustom.
5762 (footnote-mode-map): Move initialization into the declaration.
5763 (footnote-minor-mode-map): Define it rather than changing global-map.
5764 (footnote-mode): Use define-minor-mode.
5766 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
5768 * net/tramp.el (tramp-handle-file-attributes-with-ls)
5769 (tramp-do-file-attributes-with-perl)
5770 (tramp-do-file-attributes-with-stat): Rename from
5771 `tramp-handle-file-attributes-with-*'.
5772 (tramp-handle-file-attributes): Use them.
5773 (tramp-do-directory-files-and-attributes-with-perl)
5774 (tramp-do-directory-files-and-attributes-with-stat): Rename from
5775 `tramp-handle-directory-files-and-attributes-with-*'.
5776 (tramp-handle-directory-files-and-attributes): Use them.
5777 (tramp-method-out-of-band-p): Additional parameter SIZE.
5778 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
5779 (tramp-handle-write-region): Use it.
5780 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
5781 (tramp-handle-vc-registered): Check, whether the first run did
5782 return files to be tested.
5783 (tramp-advice-make-auto-save-file-name): Do not call directly
5784 `tramp-handle-make-auto-save-file-name', because this would bypass
5785 the locking mechanism.
5787 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
5788 (file-remote-p, process-file, start-file-process, set-file-times)
5789 (tramp-compat-file-attributes): Compatibility functions shall not
5790 call directly `tramp-handle-*', because this would bypass the
5792 (tramp-compat-number-sequence): New defun.
5794 2009-09-02 Glenn Morris <rgm@gnu.org>
5796 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
5797 alias for float-time.
5798 (time-to-number-of-days): In Emacs, use float-time.
5799 * net/newst-backend.el (time-add): Suppress warnings from compat
5801 * time.el (emacs-uptime, emacs-init-time):
5802 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
5803 Use float-time rather than time-to-seconds.
5805 * minibuffer.el (completion-initials-expand): Fix typo.
5807 * faces.el (modeline, modeline-inactive, modeline-highlight)
5808 (modeline-buffer-id):
5809 * info.el (info-menu-5): Mark these face aliases as obsolete.
5811 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
5813 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
5815 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
5816 no "--thread" option.
5817 (gdb-stopped): Don't print "Switched to thread" message when it is
5820 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5822 * minibuffer.el (completion-try-completion)
5823 (completion-all-completions): Remove ill-defined (and
5824 mistakenly installed and luckily never used nor documented)
5825 `completion-styles' property.
5826 (completion-initials-expand, completion-initials-all-completions)
5827 (completion-initials-try-completion): New functions.
5828 (completion-styles-alist): Add doc to each entry.
5829 Add new `initials' entry.
5831 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
5833 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
5834 MI command -var-evaluate-expression.
5835 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
5836 and tweak for case of string child.
5837 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
5839 2009-09-01 Glenn Morris <rgm@gnu.org>
5841 * add-log.el (change-log-date-face, change-log-name-face)
5842 (change-log-email-face, change-log-file-face, change-log-list-face)
5843 (change-log-conditionals-face, change-log-function-face)
5844 (change-log-acknowledgement-face):
5845 * cus-edit.el (custom-invalid-face, custom-rogue-face)
5846 (custom-modified-face, custom-set-face, custom-changed-face)
5847 (custom-saved-face, custom-button-face, custom-button-pressed-face)
5848 (custom-documentation-face, custom-state-face, custom-comment-face)
5849 (custom-comment-tag-face, custom-variable-tag-face)
5850 (custom-variable-button-face, custom-face-tag-face)
5851 (custom-group-tag-face-1, custom-group-tag-face):
5852 * diff-mode.el (diff-header-face, diff-file-header-face)
5853 (diff-index-face, diff-hunk-header-face, diff-removed-face)
5854 (diff-added-face, diff-changed-face, diff-function-face)
5855 (diff-context-face, diff-nonexistent-face):
5856 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
5857 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
5858 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
5859 (Info-title-4-face):
5860 * isearch.el (isearch-lazy-highlight-face):
5861 * log-view.el (log-view-file-face, log-view-message-face):
5862 * paren.el (show-paren-match-face, show-paren-mismatch-face):
5863 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
5864 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
5866 * smerge-mode.el (smerge-mine-face, smerge-other-face)
5867 (smerge-base-face, smerge-markers-face):
5868 * wid-edit.el (widget-documentation-face, widget-button-face)
5869 (widget-field-face, widget-single-line-field-face)
5870 (widget-inactive-face, widget-button-pressed-face):
5871 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
5872 (woman-addition-face):
5873 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
5874 (eshell-ls-executable-face, eshell-ls-readonly-face)
5875 (eshell-ls-unreadable-face, eshell-ls-special-face)
5876 (eshell-ls-missing-face, eshell-ls-archive-face)
5877 (eshell-ls-backup-face, eshell-ls-product-face)
5878 (eshell-ls-clutter-face):
5879 * eshell/em-prompt.el (eshell-prompt-face):
5880 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
5881 * obsolete/old-whitespace.el (whitespace-highlight-face):
5882 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
5883 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
5884 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
5885 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
5886 (antlr-font-lock-literal-face):
5887 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
5888 (ebrowse-root-class-face, ebrowse-file-name-face)
5889 (ebrowse-default-face, ebrowse-member-attribute-face)
5890 (ebrowse-member-class-face, ebrowse-progress-face):
5891 * progmodes/make-mode.el (makefile-space-face):
5892 * progmodes/sh-script.el (sh-heredoc-face):
5893 * textmodes/flyspell.el (flyspell-incorrect-face)
5894 (flyspell-duplicate-face):
5895 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
5896 * textmodes/texinfo.el (texinfo-heading-face):
5897 Mark face aliases with "-face" suffix as obsolete.
5899 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
5902 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
5903 (eudc-bob-sound-menu): Use defvar rather than defconst, since
5904 easy-menu-define wants to modify these.
5906 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
5908 * net/browse-url.el (browse-url-file-url):
5909 * term/internal.el (dos-codepage-setup):
5910 Use default-value rather than default-enable-multibyte-characters.
5912 * progmodes/etags.el (etags-goto-tag-location):
5913 * progmodes/flymake.el (flymake-highlight-line)
5914 (flymake-goto-file-and-line, flymake-goto-line):
5915 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
5916 (gdb-goto-breakpoint):
5917 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
5918 * progmodes/python.el (python-find-function)
5919 (python-pdbtrack-track-stack-file):
5920 * progmodes/verilog-mode.el (verilog-surelint-off):
5921 * term/ns-win.el (ns-open-file-select-line):
5922 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5923 Use forward-line rather than goto-line.
5925 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
5926 * textmodes/reftex-index.el (reftex-display-index):
5927 * textmodes/reftex-ref.el (reftex-offer-label-menu):
5928 * textmodes/reftex-toc.el (reftex-toc):
5929 Remove unnecessary bindings of default-major-mode (all are followed by
5930 major-mode check and possible mode switch).
5932 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
5934 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5935 Handle watchpoints (bug#4282).
5936 (def-gdb-thread-buffer-command): Enable thread to be selected by
5937 clicking without selecting threads buffer first.
5938 (gdb-current-context-command): Use selected frame so that "up",
5939 "down" etc work in the GUD buffer.
5940 (gdb-update): Find selected frame before rendering stack buffer.
5941 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
5943 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5945 * progmodes/sym-comp.el (displayed-completions): Remove.
5946 (symbol-complete): Use minibuffer-complete.
5948 2009-08-31 Glenn Morris <rgm@gnu.org>
5950 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
5952 * apropos.el (apropos-symbols-internal):
5953 Handle (obsolete) face aliases.
5955 * faces.el (describe-face): Adjust the output format to be more like
5956 describe-variable, and to mention (obsolete) face aliases.
5957 Adjust the whitespace so that help-setup-xref works.
5959 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
5960 * calendar/diary-lib.el (diary-button-face):
5961 Mark these face aliases as obsolete.
5963 * calendar/calendar.el (calendar-today): Doc fix.
5965 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
5967 * progmodes/gdb-mi.el (gdb-control-all-threads)
5968 (gdb-control-current-thread): Force tool bar update.
5969 (gdb-non-stop-handler): New function.
5970 (gdb-init-1): Use it to test if non-stop mode is supported.
5971 Remove unused gdbmi buffer type.
5973 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5975 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
5976 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
5978 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
5980 * comint.el (comint-exec-1): Check command is non-null first.
5981 Part of gdb-mi.el change (2009-08-28).
5983 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5985 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
5987 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
5989 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
5990 instead of `dolist' to avoid a recursive require when bootstrapping.
5992 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5994 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
5996 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
5998 * net/imap.el (imap-send-command): Simplify.
5999 (imap-wait-for-tag): point-max -> buffer-size.
6001 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
6003 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
6004 with constant argument.
6006 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
6008 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
6010 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
6011 Change default, since most of our files don't have a history.
6012 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
6015 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6018 * calc/calc.el: Improve commenting convention.
6019 (calc-digit-map, toplevel): Simplify.
6021 * comint.el (comint-insert-input): Be careful to only set point if we
6022 don't delegate to some other command.
6024 * proced.el (proced-signal-list): Make it an alist.
6025 (proced-grammar-alist): Capitalize names.
6026 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
6027 Disable undo manually and make it read-only.
6028 Use completion-annotate-function.
6030 * minibuffer.el (minibuffer-message): If the current buffer is not
6031 a minibuffer, insert the message in the echo area rather than at the
6033 (completion-annotate-function): New variable.
6034 (minibuffer-completion-help): Use it.
6035 (completion--embedded-envvar-table): Environment vars are
6036 always case-sensitive.
6038 2009-08-30 Glenn Morris <rgm@gnu.org>
6040 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
6041 from fortran-current-defun.
6042 (fortran-beginning-of-subprogram): Be more precise about finding the
6043 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
6044 (fortran-end-of-subprogram): Simplify.
6045 (fortran-current-defun): Use fortran-start-prog-re.
6047 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
6049 * subr.el (do-after-load-evaluation): Simplify.
6051 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
6053 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
6055 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
6056 (vc-rcs-print-log): Use it.
6058 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
6060 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6062 * paths.el (abbrev-file-name): Move to abbrev.el.
6063 * abbrev.el (abbrev-file-name): Move from paths.el.
6064 Obey user-emacs-directory.
6065 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
6066 user-emacs-directory.
6067 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
6068 abbrev-file-name and calc-settings-file any more.
6069 * startup.el (command-line): Recompute abbrev-file-name and
6070 abbreviated-home-dir.
6071 (normal-no-mouse-startup-screen): Improve the generic code and get rid
6072 of the special code for when C-h bindings haven't been changed.
6073 (display-startup-echo-area-message): Use with-current-buffer.
6074 (command-line-1): Use a list of strings, rather than a list of lists
6075 of strings for longopts.
6077 * files.el (get-free-disk-space): Use / for default-directory.
6079 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
6080 Use with-current-buffer.
6082 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
6083 Recognize immutable variables like most-positive-fixnum.
6084 (byte-compile-setq-default): Check and warn if trying to assign
6085 to an immutable variable, or a non-variable.
6087 * progmodes/cc-vars.el (c-comment-continuation-stars):
6088 * progmodes/cc-engine.el (c-looking-at-bos):
6089 * progmodes/cc-cmds.el (c-toggle-auto-state)
6090 (c-forward-into-nomenclature, c-backward-into-nomenclature)
6091 (c-comment-line-break-function): Add version of obsolescence.
6093 2009-08-28 Juri Linkov <juri@jurta.org>
6095 * files.el (magic-fallback-mode-alist): Add ZIP magic number
6096 associated with `archive-mode'.
6098 * image.el (image-type-header-regexps): Use only JPEG magic number
6099 to determine JPEG images, and don't use `image-jpeg-p' because
6100 Emacs can display non-JFIF non-Exif JPEG images.
6102 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
6104 * arc-mode.el (archive-mode):
6105 * emacs-lisp/re-builder.el (re-builder-unload-function):
6106 Protect against the default value of `major-mode' being nil.
6108 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
6110 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
6111 Fix typos in docstrings.
6113 * progmodes/js.el (js--macro-decl-re): Doc fix.
6114 (js--plain-method-re, js--split-name): Refloc docstring.
6115 (js--class-styles, js--make-merged-item, js--splice-into-items):
6116 Fix typos in docstrings; reflow docstrings.
6117 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
6118 (js--variable-decl-matcher, js--inside-pitem-p)
6119 (js--parse-state-at-point, js--get-all-known-symbols)
6120 (js--symbol-history, js-find-symbol, js--js-references)
6121 (js--moz-interactor, js--js-encode-value, js--read-tab):
6122 Fix typos in docstrings.
6124 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6126 * textmodes/reftex.el (reftex-get-file-buffer-force):
6127 * progmodes/verilog-mode.el (verilog-batch-execute-func):
6128 * emulation/viper.el (viper-go-away, viper-set-hooks):
6129 * emacs-lisp/re-builder.el (re-builder-unload-function):
6130 * emacs-lisp/bytecomp.el (byte-compile-file):
6131 * ses.el (ses-unload-function):
6132 * hexl.el (hexl-find-file):
6133 * files.el (normal-mode):
6134 * ehelp.el (with-electric-help):
6135 * autoinsert.el (auto-insert-alist):
6136 * arc-mode.el (archive-mode):
6137 Use (default-value 'major-mode) instead of default-major-mode.
6139 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
6140 * international/mule.el (load-with-code-conversion):
6141 * emacs-lisp/debug.el (debug):
6142 * ediff-vers.el (ediff-rcs-get-output-buffer):
6143 * dired.el (dired-internal-noselect): Don't let-bind
6144 default-major-mode around code that doesn't use it.
6145 E.g. buffer creation via get-buffer-create doesn't use it.
6147 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
6149 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
6150 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
6151 when writing the temp file. Otherwise, epa-file gets confused.
6152 (tramp-register-file-name-handlers): Make it a defun. Move also
6153 `epa-file-handler' to the front of `file-name-handler-alist'.
6155 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6157 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
6158 start right after a ^M.
6159 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
6160 (tramp-completion-file-name-regexp-separate)
6161 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
6162 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
6163 Don't modify last-coding-system-used by accident.
6164 (tramp-completion-file-name-handler): Apply the checks here,
6165 instead during registration.
6166 (tramp-register-file-name-handlers) Renamed from
6167 `tramp-register-file-name-handler'. Register both
6168 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
6169 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
6171 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
6173 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
6175 (gdb-init-1, gdb-display-separate-io-buffer)
6176 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
6178 (gdb-inferior-io-mode): Use make-comint-in-buffer.
6179 (gdb-inferior-filter): Use comint-output-filter to stop
6180 echoing and remove ^M characters.
6182 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6184 * emulation/viper-init.el (viper-restore-cursor-type):
6185 * emulation/cua-base.el (cua--update-indications):
6186 Replace default-cursor-type with (default-value 'cursor-type).
6188 * mail/sendmail.el (mail-recover-1):
6189 * international/mule-diag.el (describe-current-coding-system-briefly)
6190 (describe-current-coding-system):
6191 * international/mule-cmds.el (select-safe-coding-system)
6192 (select-message-coding-system)
6193 (set-language-environment-coding-systems, set-locale-environment):
6194 * hexl.el (hexl-insert-multibyte-char):
6195 * dos-w32.el (find-buffer-file-type-coding-system):
6196 * simple.el (what-cursor-position):
6197 Replace uses of default-buffer-file-coding-system
6198 with (default-value 'buffer-file-coding-system).
6200 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
6201 Replace uses of default-cursor-in-non-selected-windows
6202 with (default-value 'cursor-in-non-selected-windows).
6203 Use with-current-buffer.
6205 * mail/feedmail.el: Use CL macros.
6206 (feedmail-run-the-queue, feedmail-send-it-immediately):
6207 * dos-w32.el (find-buffer-file-type): Replace uses of
6208 default-buffer-file-type with (default-value 'buffer-file-type).
6210 2009-08-28 Glenn Morris <rgm@gnu.org>
6212 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
6213 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
6214 Use default-value of major-mode rather than default-major-mode.
6216 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * Makefile.in (update-elcfiles): Report left over elc files.
6220 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
6221 expand-file-name and with-current-buffer.
6222 (mail-get-names, mail-directory): Use with-current-buffer.
6224 * vc.el (vc-read-revision): New function.
6225 (vc-version-diff, vc-merge): Use it.
6227 2009-08-27 Sam Steingold <sds@gnu.org>
6229 * simple.el (kill-do-not-save-duplicates): New user option.
6230 (kill-new): When it is non-nil, and the new string is the same as
6231 the latest kill, set replace to t to avoid duplicates in kill-ring.
6233 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
6235 * net/tramp.el (tramp-handle-process-file): Do not flush all
6236 caches when `process-file-side-effects' is set.
6237 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
6238 instead of `tramp-find-file-exists-command'.
6239 Unset `process-file-side-effects'.
6241 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
6243 * net/tramp.el (tramp-methods): New method "rsyncc".
6244 (top): Add completion function for "rsyncc".
6245 (tramp-message-show-message): New defvar.
6246 (tramp-message, tramp-error): Use it.
6247 (tramp-do-copy-or-rename-file-directly): Extend check for direct
6249 (tramp-do-copy-or-rename-file-out-of-band): Handle new
6250 `tramp-methods' entry `copy-env' of "rsyncc".
6251 (tramp-vc-registered-read-file-names): New defconst.
6252 (tramp-vc-registered-file-names): New defvar.
6253 (tramp-handle-vc-registered): Implement optimization strategy.
6254 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
6255 (tramp-vc-file-name-handler): New defun.
6256 (tramp-get-ls-command, tramp-get-test-command)
6257 (tramp-get-file-exists-command, tramp-get-remote-ln)
6258 (tramp-get-remote-perl, tramp-get-remote-stat)
6259 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
6261 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
6262 (tramp-cache-inhibit-cache): Extend doc string. It allows also
6264 (tramp-get-file-property): Check for timestamps in
6265 `tramp-cache-inhibit-cache'.
6266 (tramp-set-file-property): Write timestamp.
6268 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
6270 * language/japan-util.el (japanese-symbol-table): Add entries for
6273 * international/characters.el: Add category `j' to cp932-2-byte.
6275 2009-08-27 Kenichi Handa <handa@m17n.org>
6277 * international/fontset.el (build-default-fontset-data): New macro.
6278 (setup-default-fontset): Use build-default-fontset-data for CJK,
6279 tibetan, ethiopic, and ipa.
6281 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6283 * cus-start.el (default-major-mode): Customize `major-mode' instead.
6284 (enable-multibyte-characters): Not customizable any more.
6286 * subr.el (default-mode-line-format, default-header-line-format)
6287 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
6288 (default-direction-reversed, default-truncate-lines)
6289 (default-left-margin, default-tab-width, default-case-fold-search)
6290 (default-left-margin-width, default-right-margin-width)
6291 (default-left-fringe-width, default-right-fringe-width)
6292 (default-fringes-outside-margins, default-scroll-bar-width)
6293 (default-vertical-scroll-bar, default-indicate-empty-lines)
6294 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
6295 (default-fringe-cursor-alist, default-scroll-up-aggressively)
6296 (default-scroll-down-aggressively, default-fill-column)
6297 (default-cursor-type, default-buffer-file-type)
6298 (default-cursor-in-non-selected-windows)
6299 (default-buffer-file-coding-system, default-major-mode)
6300 (default-enable-multibyte-characters): Mark as obsolete.
6302 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
6304 * vc-dir.el (vc-dir-update): Remove debug helper.
6306 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
6308 2009-08-26 Sam Steingold <sds@gnu.org>
6310 * simple.el (save-interprogram-paste-before-kill): New user option.
6311 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
6312 save the interprogram-paste into kill-ring before overriding it
6313 with the Emacs kill.
6315 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
6317 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
6318 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
6319 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
6320 and move to vc-rcs.el.
6321 (vc-default-next-revision): Rename to vc-rcs-next-revision and
6323 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
6324 (vc-rcs-update-changelog): Remove.
6325 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
6326 and move to vc-rcs.el.
6328 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
6329 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
6331 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
6332 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
6333 vc.el, renamed to be RCS specific.
6335 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
6337 (vc-cvs-update-changelog): Move here from vc.el.
6339 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
6342 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
6344 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
6346 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
6348 * vc-git.el (vc-git-register): Use "git add" for directories.
6349 (vc-git-stash, vc-git-stash-show): New functions.
6350 (vc-git-extra-menu-map): Bind them.
6352 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
6353 directory correctly in case the item is a directory itself.
6355 * vc.el: Document the desired behavior for reverted files in the
6357 (vc-default-prettify-state-info): Remove function, unused.
6359 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
6361 2009-08-26 Glenn Morris <rgm@gnu.org>
6363 * bindings.el (standard-mode-line-format): Reposition dashes in
6364 which-func entry. (Bug#4217)
6366 * files.el (enable-local-variables, enable-local-eval)
6367 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
6369 (auto-mode-alist, ignored-local-variables)
6370 (save-some-buffers-action-alist): Move risky declarations to the
6372 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
6373 (font-lock-defaults, format-alist, imenu--index-alist)
6374 (imenu-generic-expression, input-method-alist, minor-mode-alist)
6375 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
6376 (mode-line-modified, mode-line-mule-info, mode-line-position)
6377 (mode-line-process, mode-line-remote, outline-level)
6378 (parse-time-rules, rmail-output-file-alist)
6379 (special-display-buffer-names, vc-mode):
6380 Move risky declarations to the relevant files.
6381 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
6382 (mode-line-modified, mode-line-process, mode-line-position)
6383 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
6384 * font-core.el (font-lock-defaults):
6385 * format.el (format-alist):
6386 * vc-hooks.el (vc-mode):
6387 * window.el (special-display-buffer-names):
6388 * international/mule-cmds.el (input-method-alist):
6389 Define riskiness here (dumped file) rather than in files.el.
6390 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
6391 * imenu.el (imenu-generic-expression, imenu--index-alist):
6392 * outline.el (outline-level):
6393 * time.el (display-time-string):
6394 * calendar/parse-time.el (parse-time-rules):
6395 * mail/rmailout.el (rmail-output-file-alist):
6396 Autoload riskiness here, rather than placing in files.el.
6398 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
6400 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
6402 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
6404 * simple.el (process-file-side-effects): New defvar.
6406 * dired-aux.el (dired-show-file-type):
6407 * vc.el (vc-diff-internal):
6408 * vc-arch.el (vc-arch-diff):
6409 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
6410 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
6411 * vc-git.el (vc-git-registered, vc-git-working-revision)
6412 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
6413 (vc-git--empty-db-p):
6414 * vc-hooks.el (vc-user-login-name):
6415 * vc-svn.el (vc-svn-registered, vc-svn-state)
6416 (vc-svn-dir-extra-headers, vc-svn-find-revision):
6417 * progmodes/grep.el (grep-probe): Let-bind
6418 `process-file-side-effects' with nil.
6420 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
6422 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
6423 daemon. Replace ping by checking for running service for bluez
6424 and zeroconf. (Bug#4239)
6426 2009-08-25 Kevin Ryde <user42@zip.com.au>
6428 * net/dig.el (dig): Add autoload cookie.
6430 2009-08-25 Glenn Morris <rgm@gnu.org>
6432 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
6433 load-history for absolute file-names.
6434 (byte-compile-file-form-require): Warn about use of the cl package.
6436 * format.el (format-alist): Doc fix.
6438 * play/bubbles.el (top-level): Don't require cl at run-time.
6440 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
6443 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
6445 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
6447 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
6449 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
6451 * calc/calc-alg.el (math-trig-rewrite)
6452 (math-hyperbolic-trig-rewrite): New functions.
6453 (calc-simplify): Simplify trig functions when asked.
6455 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6457 * diff-mode.el (diff-find-source-location): Avoid goto-line.
6459 2009-08-24 Kenichi Handa <handa@m17n.org>
6461 * language/ind-util.el (mapthread): Delete it.
6462 (combinatorial): New function.
6463 (indian--puthash-cv): Use combinatorial instead of mapthread.
6465 2009-08-22 Kevin Ryde <user42@zip.com.au>
6467 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
6468 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
6469 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
6470 Clarify docstring that the value is strings not symbols.
6471 (checkdoc-list-of-strings-p): New function.
6473 2009-08-22 Glenn Morris <rgm@gnu.org>
6475 * files.el (auto-mode-alist):
6476 * hippie-exp.el (he-concat-directory-file-name):
6477 * lpr.el (lpr-windows-system, printer-name):
6478 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
6479 * ps-print.el (ps-windows-system):
6480 * startup.el (command-line):
6481 * emulation/viper-ex.el (viper-glob-function):
6482 * international/mule-cmds.el (set-language-environment-coding-systems):
6483 * net/ange-ftp.el (ange-ftp-write-region):
6484 * obsolete/fast-lock.el (fast-lock-cache-name):
6485 Remove code for defunct system-types emx, macos, mswindows, next-mach,
6486 unisoft-unix, vax-vms, win32, w32.
6488 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
6489 given name if the pattern is not more specific.
6491 * calendar/lunar.el (lunar-phase-names): New option.
6492 (lunar-phase): Doc fix.
6493 (lunar-cycles-per-year): New constant.
6494 (lunar-index): New function.
6495 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
6496 (lunar-phase-name): Use lunar-phase-names.
6497 (calendar-lunar-phases): Use format.
6498 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
6500 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
6501 Copy imenu-example--name-and-position function here for own use.
6502 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
6504 * bs.el (bs--redisplay):
6505 * cus-edit.el (custom-redraw):
6506 * ibuffer.el (ibuffer-bury-buffer):
6507 * server.el (server-goto-line-column):
6508 * startup.el (command-line-1):
6509 * strokes.el (strokes-xpm-for-stroke):
6510 * term.el (term-display-buffer-line):
6511 * view.el (View-goto-line):
6512 * calc/calc.el (calc-do, calc-trail-buffer):
6513 * play/gamegrid.el (gamegrid-add-score-insecure):
6514 * progmodes/ada-mode.el (ada-compile-goto-error):
6515 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
6516 (ebrowse-select-1st-to-9nth):
6517 * progmodes/cperl-mode.el (cperl-time-fontification):
6518 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
6519 * progmodes/gud.el (gud-display-line):
6520 (idlwave-shell-display-line):
6521 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
6522 * progmodes/make-mode.el (makefile-browser-toggle):
6523 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
6524 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
6525 * textmodes/picture.el (picture-draw-rectangle):
6526 * textmodes/reftex-index.el (reftex-index-goto-letter):
6527 (reftex-select-jump-to-previous):
6528 * textmodes/reftex-sel.el (reftex-find-start-point)
6529 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
6530 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
6531 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
6532 * textmodes/tex-mode.el (tex-compilation-parse-errors):
6533 * textmodes/two-column.el (2C-associated-buffer):
6534 Use forward-line rather than goto-line.
6536 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
6539 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
6540 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
6541 (quick-check-list-to-regexp): Declare.
6543 * progmodes/make-mode.el (makefile-browser-insert-selection):
6544 Use goto-char rather than goto-line.
6546 * progmodes/prolog.el (compilation-error-regexp-alist)
6547 (compilation-forget-errors): Declare.
6549 2009-08-22 Juri Linkov <juri@jurta.org>
6551 * progmodes/grep.el (lgrep, rgrep): At the beginning
6552 set `dir' to `default-directory' unless `dir' is a non-nil
6553 readable directory. (Bug#4052)
6554 (lgrep, rgrep): Change a weird way to report an error
6555 from using `read-string' to using `error'.
6556 Instead of using interactive arguments in the function body,
6557 add new argument `confirm'.
6559 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6561 * textmodes/remember.el (remember-buffer):
6562 * progmodes/cperl-mode.el (cperl-vc-header-alist):
6563 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
6564 (icalendar-extract-ical-from-buffer):
6565 * net/newst-treeview.el (newsticker-groups-filename):
6566 * net/newst-backend.el (newsticker-cache-filename):
6567 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
6568 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
6569 (speedbar-add-ignored-path-regexp, speedbar-line-path)
6570 (speedbar-buffers-line-path, speedbar-path-line)
6571 (speedbar-buffers-line-path):
6572 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
6574 * epa.el (epa-display-verify-result):
6575 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
6577 2009-08-21 Glenn Morris <rgm@gnu.org>
6579 * progmodes/js.el (inferior-moz-process): Fix declaration.
6581 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
6583 * obsolete/rnewspost.el (news-mail-reply):
6584 Use goto-char rather than goto-line.
6586 * term/ns-win.el (ns-open-file-select-line):
6587 Use line-beginning-position rather than goto-line.
6589 * apropos.el (apropos-command):
6590 * ehelp.el (electric-helpify):
6591 * printing.el (pr-show-setup):
6592 * strokes.el (strokes-help):
6593 * tutorial.el (tutorial--describe-nonstandard-key)
6594 (tutorial--detailed-help):
6595 * woman.el (woman-mini-help, woman-display-extended-fonts):
6596 * calc/calc-help.el (calc-describe-key):
6597 * emulation/edt.el (edt-electric-helpify):
6598 * international/mule-diag.el (mule-diag):
6599 * play/yow.el (apropos-zippy):
6600 * progmodes/python.el (python-describe-symbol):
6601 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
6602 * textmodes/table.el (*table--cell-describe-mode)
6603 (*table--cell-describe-bindings):
6604 Use help-print-return-message rather than the now obsolete alias.
6606 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
6607 (calendar-cursor-to-visible-date):
6608 * play/5x5.el (5x5-position-cursor):
6609 * play/decipher.el (decipher):
6610 * play/gomoku.el (gomoku-goto-xy):
6611 * play/landmark.el (lm-goto-xy):
6612 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
6614 Use forward-line, not goto-line.
6616 * mail/rmail.el (rmail-obsolete): Delete custom group.
6617 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
6618 (rmail-remote-password, rmail-remote-password-required):
6619 Remove unneeded :set-after and :set properties.
6621 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
6623 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
6625 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
6627 * loadup.el: Remove leftover macos code.
6629 * vc-git.el (vc-git-annotate-command): Run asynchronously.
6630 Explicitly pass the date format to git blame so that user local
6631 so that the output format can be parsed.
6633 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
6635 * net/dbus.el (top): Don't check for (getenv
6636 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
6638 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
6640 * log-edit.el (log-edit-strip-single-file-name): New var.
6641 (log-edit-insert-changelog): Use it. Bug#3571
6643 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6645 * subr.el (read-passwd): Use read-key so keypad keys work as well.
6648 * help.el (help-print-return-message): Rename from
6649 print-help-return-message.
6651 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
6652 cvs-mode-map parent hack.
6653 (log-view-mode): Derive from special-mode.
6655 * linum.el (linum-mode): window-size-change-functions is redundant.
6656 Adapt to new window-configuration-change-hook behavior.
6657 (linum-after-size, linum-after-config): Remove.
6659 * imenu.el (imenu-example--name-and-position)
6660 (imenu-example--lisp-extract-index-name)
6661 (imenu-example--create-lisp-index, imenu-example--create-c-index):
6664 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
6665 (inferior-prolog-mode): Use it.
6666 (inferior-prolog-load-file): Reset list of errors.
6668 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
6670 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
6672 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
6674 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
6676 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
6679 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6681 * subr.el (listify-key-sequence-1): Use normal syntax since those
6682 integers are nowadays always represented by the same (positive) number
6684 (read-key-empty-map): New const.
6685 (read-key-delay): New var.
6686 (read-key): New function.
6687 (force-mode-line-update): Use with-current-buffer.
6688 (locate-user-emacs-file): Don't forget to abbreviate the file name.
6689 (start-process-shell-command, start-file-process-shell-command):
6690 Discourage the use of command-args.
6692 2009-08-19 Glenn Morris <rgm@gnu.org>
6694 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
6696 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6698 * simple.el (choose-completion-string): Don't rely on
6699 minibuffer-completing-file-name and ad-hoc checks to decide whether
6700 to continue completion or not.
6702 * minibuffer.el (minibuffer-hide-completions): New function.
6703 (completion--do-completion): Use it.
6704 (completions-annotations): New face.
6705 (completion--insert-strings): Use it.
6706 (completion-pcm--delim-wild-regex): Add docstring.
6707 (completion-pcm--string->pattern): Add support for 0-width delimiters
6708 in completion-pcm--delim-wild-regex.
6710 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6712 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
6713 Remove unused var `buffer-modified-p'.
6715 * minibuffer.el (completion--do-completion): Move point for the #b001
6716 case as well (bug#4176).
6717 (minibuffer-complete, minibuffer-complete-word): Don't move point.
6719 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
6721 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
6724 2009-08-18 Kenichi Handa <handa@m17n.org>
6726 * international/ucs-normalize.el (ucs-normalize-version):
6728 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
6729 (utf-8-hfs): Make it perform normalization on encoding too.
6731 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
6732 (sentence-end-without-space): Delete duplicated chars.
6733 (sentence-end-base): Likewise.
6735 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
6736 (html-mode): Delete duplicated chars from sentence-end-base.
6738 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
6739 (texinfo-mode): Delete duplicated chars from sentence-end-base.
6741 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
6743 * files.el (hack-one-local-variable): If the mode function is for
6744 a minor mode, pass it an argument (Bug#4148).
6746 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
6748 * net/tramp.el (tramp-register-completion-file-name-handler):
6749 Check also for (member 'partial-completion completion-styles).
6751 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
6753 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
6756 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
6758 * progmodes/cperl-mode.el: Merge upstream 6.2.
6759 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
6760 (cperl-forward-re): Check cperl-brace-recursing.
6761 (cperl-highlight-charclass): New function.
6762 (cperl-find-pods-heres): Use it.
6763 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
6764 (cperl-beautify-regexp-piece): Fix column calculation.
6765 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
6766 (cperl-beautify-level): Don't process entire regexp.
6767 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
6769 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
6770 (cperl-init-faces): Build a list in the normal way.
6772 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
6774 * calendar/parse-time.el (parse-time-string-chars): Save match
6777 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
6779 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
6780 (sql-product): Use it.
6781 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
6782 (sql-set-product): Add completion.
6783 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
6784 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
6785 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
6786 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
6787 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
6788 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
6789 (sql-highlight-db2-keywords): Remove.
6790 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6791 (sql-highlight-product): Use derived-mode-p.
6792 (sql-set-sqli-buffer): Use with-current-buffer.
6793 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
6796 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
6798 * term.el: Fix commenting convention, turn comments into docstrings.
6800 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
6802 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
6804 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
6806 * calendar/parse-time.el (parse-time-string-chars): Compute using
6807 character classes, to handle non-ascii characters (Bug#3190).
6809 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
6811 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
6812 another heredoc if the user adds another < (Bug#3226).
6814 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
6815 Don't initialize based on window-system (Bug#4124).
6817 * facemenu.el (facemenu-read-color): Use a completion function
6818 that accepts any defined color, such as RGB triplets (Bug#3677).
6820 * files.el (get-free-disk-space): Change fallback default
6821 directory to /. Expand DIR argument before switching to fallback.
6822 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
6824 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
6826 * files.el (load-library): Doc fix.
6828 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
6830 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
6831 (viper-if-string): Redefine C-s in the minibuffer to insert the last
6832 incremental search string.
6834 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
6837 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
6838 (ediff-merge-region-is-non-clash)
6839 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
6840 Also check if the job is really a merge job.
6842 * ediff.el (ediff-current-file): New function.
6844 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
6846 * progmodes/js.el: Edit docstrings throughout to follow Emacs
6848 (js-insert-and-indent): Delete function.
6849 (js-mode-map): Don't bind keys to js-insert-and-indent.
6850 (js-beginning-of-defun): Rename from js--beginning-of-defun.
6851 (js-end-of-defun): Rename from js--end-of-defun.
6852 (js-auto-indent-flag): Delete variable.
6854 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
6856 * progmodes/js.el: Remove proclaim statement.
6857 Defvar which-func-imenu-joiner-function to silence compiler.
6859 * files.el (auto-mode-alist): Use js-mode for .js files.
6861 * progmodes/js2-mode.el: Remove file.
6863 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
6865 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
6867 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
6869 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
6870 Karl Landstrom <karl.landstrom@brgeight.se>
6872 * progmodes/js.el: New file.
6874 2009-08-14 Mark A. Hershberger <mah@everybody.org>
6876 * timezone.el (timezone-parse-date): Add ability to understand ISO
6877 basic format (minimal separators) dates in addition to the
6878 already-supported extended format dates.
6880 2009-08-14 Eli Zaretskii <eliz@gnu.org>
6882 * international/ucs-normalize.el: Add a `coding' file variable.
6884 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
6886 2009-08-14 Sam Steingold <sds@gnu.org>
6888 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
6890 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
6892 * faces.el (help-argument-name): Define it here instead of
6893 help-fns.el, because in daemon mode help-fns.el may be loaded when
6894 faces are still uninitialized (Bug#1078).
6896 * help-fns.el (help-argument-name): Move defface to faces.el.
6898 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
6900 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
6901 create buffer with a pty but no process so that GDB can make the
6902 inferior the controlling process.
6904 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
6906 * international/ucs-normalize.el: New file.
6908 2009-08-13 Richard Stallman <rms@gnu.org>
6910 * mail/rmail.el (rmail-get-attr-names):
6911 Accept an attribute header that is too short.
6913 * mail/rmail.el (rmail-forget-messages):
6914 Ignore nil elt in rmail-message-vector. Use dotimes.
6916 * progmodes/compile.el (compilation-goto-locus):
6917 Use next-error-move-function.
6919 * simple.el (next-error-move-function): New variable.
6921 2009-08-12 Juri Linkov <juri@jurta.org>
6923 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
6924 always non-nil. (Bug#4052)
6926 * replace.el (read-regexp): Return empty string when
6927 `default-value' is nil.
6928 (keep-lines-read-args): Don't use empty string as the
6929 default value for `read-regexp'. (Bug#2495)
6931 2009-08-12 Juri Linkov <juri@jurta.org>
6933 * international/mule-cmds.el (ucs-insert): Change arguments
6934 from `arg' to `character', `count', `inherit' to be the same
6935 as in `insert-char'. Doc fix. (Bug#4039)
6937 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
6939 2009-08-12 Juri Linkov <juri@jurta.org>
6941 * files-x.el: New file.
6943 * files.el: Move code that deals with adding/deleting
6944 file/directory-local variables to files-x.el.
6946 * Makefile.in (ELCFILES): Add files-x.elc.
6948 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
6950 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
6952 (gdb-place-breakpoints, gdb-get-location): Rewritten without
6954 (gdb-invalidate-disassembly): Do not refresh upon receiving
6955 'update signal. Instead, update all disassembly buffers only after
6957 (gdb): Send -target-detach when buffer is killed (Bug#3794).
6958 (gdb-starting): Moved -data-list-register-names...
6959 (gdb-stopped): ...here so it's sent when first thread stops.
6960 (gdb-registers-handler-custom): Do nothing if register names are
6963 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
6964 from `gdb-mi.el' to avoid extra tangling.
6966 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
6967 change which breaks `gud-def' definitions used in `gdb'.
6968 (gdb-update-gud-running): No extra fuss for updating frame number.
6970 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6972 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
6973 (describe-language-environment-map, setup-language-environment-map)
6974 (set-coding-system-map): Move initialization into declaration.
6975 (set-language-info-alist): Last arg to define-key-after can be skipped.
6977 * international/quail.el (quail-completion-1): Simplify.
6978 (quail-define-rules): Use slightly more compact code.
6979 (quail-insert-decode-map): Propertize keys, compact columns.
6981 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6984 2009-08-10 Miles Bader <miles@gnu.org>
6986 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
6987 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
6988 (js2-instance-member, js2-private-member, js2-private-function-call)
6989 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
6990 (js2-magic-paren, js2-external-variable):
6991 Remove "-face" suffix from face names.
6992 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
6993 (js2-highlight-undeclared-vars, js2-peek-token)
6994 (js2-parse-function-params, js2-mode-show-errors)
6995 (js2-mode-show-warnings, js2-make-magic-delimiter)
6996 (js2-mode-highlight-magic-parens): Update to use new face names.
6998 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
7000 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
7001 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
7003 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
7005 * subr.el: Provide hashtable-print-readable.
7007 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
7008 hs-c-like-adjust-block-beginning.
7009 (hs-hide-block-at-point): Stop hiding at the beginning of
7010 hs-block-end-regexp (Bug#700).
7012 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
7014 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
7016 (gdb-registers-handler-custom): Do not fail when register names
7019 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
7021 * progmodes/gdb-mi.el (gdb-control-all-threads)
7022 (gdb-control-current-thread): Interactive setters for
7023 `gdb-gud-control-all-threads' to use in menu.
7024 (gdb-show-run-p): Show «Go» when process is not active.
7025 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
7026 gud/thread.xpm and gud/all.xpm.
7028 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
7030 * net/net-utils.el (net-utils-font-lock-keywords): New var.
7031 (nslookup-font-lock-keywords): Make it a variable.
7032 (net-utils-mode): New mode for viewing diagnostic network output.
7033 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
7034 (net-utils-run-simple): New function.
7035 (ifconfig, iwconfig, netstat, arp, route): Use it.
7037 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
7039 * progmodes/gdb-mi.el (gdb-read-memory-custom)
7040 (gdb-memory-set-address, def-gdb-set-positive-number)
7041 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
7042 after changing settings.
7043 (gdb-invalidate-disassembly): Update when first shown.
7044 (gdb-edit-locals-value): Fixed.
7045 (gdb-registers-handler-custom): Print registers in right order and
7046 allow changing register values (only for current thread yet).
7047 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
7048 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
7049 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
7050 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
7052 (gdb-registers-mode-map): TAB to switch to locals.
7054 2009-08-08 Eli Zaretskii <eliz@gnu.org>
7056 * mail/rmail.el (rmail-add-mbox-headers)
7057 (rmail-set-message-counters-counter): Search for
7058 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
7060 2009-08-08 Glenn Morris <rgm@gnu.org>
7062 * Makefile.in (ELCFILES): Update.
7064 2009-08-07 Eli Zaretskii <eliz@gnu.org>
7066 * mail/sendmail.el (mail-yank-original): Set
7067 buffer-file-coding-system from the one used by the message whose
7070 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
7071 to "windows" when "pgnuplot" is used.
7072 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
7073 call accept-process-output if "pgnuplot" is used.
7074 (calc-graph-init): Don't send -display and -geometry to
7075 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
7076 running "pgnuplot -V" with shell-command-to-string.
7078 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
7081 2009-08-07 Eli Zaretskii <eliz@gnu.org>
7083 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
7086 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
7088 * vc-dispatcher.el (vc-resynch-window): Update comment.
7090 * term.el (term-handle-ansi-escape): Add comments with the
7091 terminfo capabilities implemented.
7093 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
7095 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
7096 (gdb-var-create-handler): Rewritten using JSON parser.
7097 (gdb-propertize-header): Moved earlier.
7098 (gdb-set-header): Removed to avoid duplication.
7099 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
7100 Refresh disassembly buffers only after threads list have been
7102 (gdb-threads-header, gdb-registers-header): Per-buffer header line
7105 2009-08-04 Juri Linkov <juri@jurta.org>
7107 * files.el: Commands to add/delete file/directory-local variables.
7108 (read-file-local-variable, read-file-local-variable-value)
7109 (read-file-local-variable-mode, modify-file-local-variable)
7110 (modify-file-local-variable-prop-line)
7111 (modify-dir-local-variable): New functions.
7112 (add-file-local-variable, delete-file-local-variable)
7113 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
7114 (add-dir-local-variable, delete-dir-local-variable)
7115 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
7116 (copy-dir-locals-to-file-locals-prop-line): New commands.
7118 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
7120 * abbrev.el (insert-abbrev-table-description): Prettify output.
7121 Suggested by Karl Chen.
7123 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
7125 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
7126 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
7127 (gdb-overlay-arrow-position, gdb-thread-position)
7128 (gdb-disassembly-position): Declare variables.
7129 (gdb-wait-for-pending): Function now.
7130 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
7131 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
7132 compilation goes smoothly.
7133 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
7134 (gdb-non-stop-setting): New customization setting which replaces
7135 `gdb-non-stop' so changing it doesn't break active GDB session.
7136 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
7137 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
7138 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
7139 (gdb-show-threads-by-default): New customization options.
7140 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
7142 (gdb-get-buffer-create): Send buffers update signal when they are
7144 (gdb-invalidate-locals, gdb-invalidate-registers)
7145 (gdb-invalidate-breakpoints)
7146 (gdb-invalidate-threads, gdb-invalidate-disassembly)
7147 (gdb-invalidate-memory): Accept update signal.
7148 (gdb-current-context-command): Use --frame option.
7149 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
7150 Implement `gdb-frame-number' selection logic.
7151 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
7152 whether to show GUD toolbar buttons.
7153 (gdb-thread-exited): Unselect current thread when it exits.
7154 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
7155 (gdb-mark-line): Routine which sets overlay arrow or inverses
7156 video on fringeless displays.
7157 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
7158 to build aligned columns of data in GDB buffers and set text
7159 properties line-by-line.
7160 (gdb-invalidate-breakpoints)
7161 (gdb-breakpoints-list-handler-custom)
7162 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
7163 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
7164 (gdb-registers-handler-custom): Align data columns.
7165 (gdb-locals-handler-custom): Now prints data like in variable
7167 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
7168 Removed confusing buttons.
7169 (gdb-invalidate-threads): Append --frame.
7170 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
7171 between breakpoints/threads buffers.
7172 (gdb-set-window-buffer): Now can ignore dedicated windows.
7173 (gdb-propertize-header): Use `gdb-set-window-buffer'.
7174 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
7175 (def-gdb-thread-buffer-gud-command): Replaces
7176 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
7177 for fine thread control.
7178 (gdb-preempt-existing-or-display-buffer): New function used to
7179 display bound buffers without breaking window layout.
7180 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
7181 (gdb-select-frame): New version of `gdb-frames-select' which now
7182 sets `gdb-frame-number' so commands may use --frame option instead
7183 of inner debugger state.
7184 (gdb-frame-handler): Do not set `gdb-frame-number'.
7185 (gdb-threads-mode-map): Select threads with mouse.
7187 * progmodes/gud.el (gdb-gud-context-call): Declare function to
7188 avoid compilation warning.
7189 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
7192 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
7193 Argument `key' renamed to `buffer-type'.
7194 (gdb-current-context-buffer-name): Do not add thread info to
7195 buffer name when no thread is selected.
7196 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
7198 (gdb-thread-selected): Handle `=thread-selected' notification.
7199 (gdb-wait-for-pending): New macro to deal with congestion problems.
7200 (gdb-breakpoints-list-handler-custom): Don't fail on pending
7202 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
7203 This fixes problem similar to one described in bug 3947.
7204 (gud-menu-map): More menu items.
7205 (gdb-init-1): Reset `gdb-thread-number' to nil.
7207 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
7210 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
7211 (gdb-current-context-command): Do not append --thread if
7212 `gdb-thread-number' is nil.
7213 (gdb-running-threads-count, gdb-stopped-threads-count): New
7215 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
7216 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
7217 customization options.
7218 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
7220 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
7221 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
7222 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
7223 set `gdb-thread-number' and update `gud-running' properly.
7224 (gdb-running): Update threads list when new threads appear.
7225 (gdb-stopped): Support non-stop operation and new thread switching
7227 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
7228 (gdb-json-partial-output): New set of JSON routines.
7229 (def-gdb-auto-update-trigger): New `signal-list' optional
7231 (gdb-thread-list-handler-custom): Update `gud-running',
7232 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
7233 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
7234 (gdb-continue-thread, gdb-step-thread): New commands for fine
7235 thread execution control.
7236 (gud-menu-map): New menu items to switch non-stop options.
7237 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
7238 (gdb-send): Mimic RET properly (bug 3794).
7240 * progmodes/gdb-mi.el (gdb-rules-name-maker)
7241 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
7243 (def-gdb-auto-update-handler): New nopreserve optional argument.
7244 (gdb-stack-list-frames-custom): Print stack from top to bottom.
7246 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
7247 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
7248 (gdb-parent-mode): New mode to derive other GDB modes from.
7249 (gdb-display-disassembly-for-thread)
7250 (gdb-frame-disassembly-for-thread): New commands for threads
7253 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
7254 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
7255 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
7256 (gdb-update): We now store all GDB buffers in a list so that they
7257 can be updated by traversing a list instead of calling invalidate
7258 triggers explicitly.
7259 (def-gdb-trigger-and-handler): New macro to define trigger-handler
7260 pair for GDB buffer.
7261 (gdb-stack-buffer-name): Add thread information.
7262 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
7263 handle pending triggers.
7264 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
7265 (def-gdb-thread-buffer-simple-command)
7266 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
7267 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
7268 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
7269 New commands which show buffers bound to thread.
7270 (gdb-stack-list-locals-regexp): Removed unused regexp.
7272 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
7273 (gdb-locals-buffer-name, gdb-registers-buffer-name)
7274 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
7275 to (gud-comint-buffer) in *-buffer-name functions
7276 because (gdb-get-target-string) already does that.
7277 (gdb-locals-handler-custom, gdb-registers-handler-custom)
7278 (gdb-changed-registers-handler): Rewritten without regexps.
7280 * progmodes/gdb-mi.el: Basic thread selection support.
7281 (gdb-thread-number): New variable.
7282 (gdb-current-context-command): New macro which adds --thread
7284 (gdb-threads-mode-map): Select thread with SPC.
7285 (gdb-thread-list-handler-custom): Mark current thread with overlay
7286 arrow. Synchronize GDB thread and Emacs thread.
7287 (gdb-select-thread): New command which selects current thread.
7288 (gdb-invalidate-frames, gdb-invalidate-locals)
7289 (gdb-invalidate-registers): Use --thread option.
7291 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
7293 * net/tramp.el (top): Make check for tramp-gvfs loading more
7295 (tramp-handle-insert-file-contents): `unwind-protect' must be
7296 inside `with-parsed-tramp-file-name'.
7298 * net/tramp-gvfs.el (top): Remove superfluous message when loading
7301 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
7303 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
7304 directory if CLASSPATH is not set.
7306 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
7308 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
7310 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
7312 2009-08-02 Kevin Ryde <user42@zip.com.au>
7314 * net/newst-backend.el (newsticker--raw-url-list-defaults):
7315 Update freshmeat link. Delete newsforge.com as it seems gone.
7317 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
7319 * select.el (x-set-selection): Doc fix (Bug#4021).
7321 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
7323 * help-fns.el (describe-variable): Treat list return values from
7324 dir-locals-find-file properly (Bug#4005).
7326 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
7328 * net/tramp.el (tramp-debug-message): Print also microseconds.
7330 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
7332 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
7334 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
7335 (tramp-get-debug-buffer): Change `outline-regexp' according to new
7338 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
7339 (tramp-get-file-property): Use it.
7341 * autorevert.el (auto-revert-handler): Allow
7342 `auto-revert-tail-mode' for remote files.
7344 2009-08-02 Jason Rumney <jasonr@gnu.org>
7346 * minibuffer.el (read-file-name): Treat confirm options to
7347 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
7349 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
7351 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
7352 (font-lock-variable-name-face, font-lock-constant-face): Darken
7353 the colors for light backgrounds.
7355 2009-08-01 Eli Zaretskii <eliz@gnu.org>
7357 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
7358 month names. (Bug#3987)
7360 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
7362 * simple.el (line-move-finish): Pass whole number to
7363 line-move-to-column.
7364 (line-move-visual): Perform hscroll to the recorded position.
7366 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
7368 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
7370 2009-07-29 Alan Mackenzie <acm@muc.de>
7372 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
7374 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
7376 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
7377 (gdb-place-breakpoints): Use full path when setting breakpoints.
7379 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7381 * calc/calc.el (calc-mode-map): Add keybinding for
7382 `calc-transpose-lines'.
7384 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
7386 * calc/calc-misc.el (calc-transpose-lines): New function.
7388 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
7390 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
7391 Simplify check for out-of-band methods.
7392 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
7393 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
7395 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
7397 * vc-git.el (vc-git-checkin): Fix typo.
7399 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
7401 * progmodes/js2-mode.el: New file.
7403 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
7405 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
7406 (gud-menu-map): Adjust tooltip accordingly.
7408 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
7410 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
7411 (vc-bzr-log-view-mode): Adjust log-view-file-re.
7413 * add-log.el (change-log-mode-map): Add a menu.
7415 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
7417 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
7418 function returns nil.
7419 (dbus-handle-event): Handle special return value :ignore.
7420 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
7422 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
7424 * view.el (view-mode-enable): Don't define Helper-return-blurb if
7427 2009-07-25 Eli Zaretskii <eliz@gnu.org>
7431 * w32-vars.el (x-select-enable-clipboard): Doc fix.
7433 * term/pc-win.el (x-display-name, x-colors)
7434 (x-select-enable-clipboard, x-select-text): Doc fix.
7436 * term/common-win.el (x-display-name, x-colors): Doc fix.
7438 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
7439 (xw-defined-colors): Doc fix.
7441 * w32-fns.el (x-select-text, x-setup-function-keys)
7442 (x-get-selection, x-set-selection): Doc fix.
7444 * term/x-win.el (x-select-text, x-setup-function-keys)
7445 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
7447 * select.el (x-set-selection): Doc fix.
7449 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
7451 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
7452 instead of "IsNSSSupportAvailable". Avahi ought to work also when
7453 "IsNSSSupportAvailable" method is not available. Reported by
7454 Steve Youngs <steve@sxemacs.org>.
7456 2009-07-24 Kenichi Handa <handa@m17n.org>
7458 * international/characters.el: Fix setting of category ?C, ?|, ?K,
7459 and ?H. Fix setting of case for Latin Extended and Greek Extended.
7460 (build-unicode-category-table): Fix range checks.
7462 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
7464 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
7465 the buffer we try to sync is current when calling
7468 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
7469 not show up to date files.
7471 2009-07-24 Glenn Morris <rgm@gnu.org>
7473 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
7474 Add autoload cookies. If necessary, initialize.
7475 (elint-log): Handle non-file buffers.
7476 (elint-initialize): Add optional argument to reinitialize.
7477 (elint-find-builtin-variables): Save excursion.
7479 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
7481 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
7484 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
7486 * vc.el (vc-print-log-internal): New function, split out from ...
7487 (vc-print-log): ... here.
7488 (vc-dir-move-to-goal-column): Declare.
7490 * vc-git.el (vc-git-add-signoff): New variable.
7491 (vc-git-checkin): Use it.
7492 (vc-git-toggle-signoff): New function.
7493 (vc-git-extra-menu-map): Bind it to menu.
7494 (vc-git--run-command-string): Accept a nil FILE argument.
7495 (vc-git-stash-list): New function.
7496 (vc-git-dir-extra-headers): Use it.
7498 2009-07-23 Glenn Morris <rgm@gnu.org>
7500 * help-fns.el (describe-variable): Describe ignored and risky local
7501 variables in a similar way to that in which we describe safe ones.
7503 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
7504 (byte-compile-output-file-form, byte-compile-output-docform)
7505 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
7506 Give some more local variables with common names a "bytecomp-" prefix,
7507 so as not to shadow things during compilation.
7508 * emacs-lisp/cl-macs.el (load-time-value)
7509 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
7510 `outbuffer' to `bytecomp-outbuffer'.
7512 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
7513 since the next two variables cover them automatically now.
7514 (elint-builtin-variables, elint-autoloaded-variables): New.
7515 (elint-unknown-builtin-args): Remove all members, since they can be
7516 parsed automatically now.
7517 (elint-extra-errors): New.
7518 (elint-env-add-env, elint-env-add-macro): Use cadr.
7519 (elint-current-buffer): Use or. Change final message.
7520 (elint-get-top-forms): Use line-end-position.
7521 (elint-init-env): Use cadr. Handle autoload, declare-function,
7523 (elint-add-required-env): Doc fix. Use or. Standardize error.
7524 (regexp-assoc): Remove unused function.
7525 (elint-top-form): Set elint-current-pos, to record the start of the
7526 top-level form, for compilation-mode.
7527 (elint-form): Trap errors in macro expansion. Use dolist.
7528 (elint-unbound-variable): Use elint-builtin-variables and
7529 elint-autoloaded-variables.
7530 (elint-get-args): Use cadr, or.
7531 (elint-check-cond-form): Use dolist, cadr.
7532 (elint-check-condition-case-form): Doc fix. Use cadr.
7533 Use elint-extra-errors.
7534 (elint-log): New function.
7535 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
7536 Distinguish errors and warnings.
7537 (elint-log-message): Use with-current-buffer. Inhibit read-only.
7538 Use a bytecomp-style format.
7539 (elint-clear-log): Preserve default-directory. Inhibit read-only.
7540 (elint-get-log-buffer): Use compilation mode. Disable undo.
7541 Don't truncate lines.
7542 (elint-initialize): Set builtin and autoloaded variable lists.
7543 Only process elint-unknown-builtin-args if non-nil.
7544 (elint-find-builtin-variables, elint-find-autoloaded-variables):
7546 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
7548 2009-07-22 Kevin Ryde <user42@zip.com.au>
7550 * net/newst-backend.el (newsticker--parse-atom-1.0)
7551 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
7552 (newsticker--parse-rss-1.0):
7553 * progmodes/idlwave.el (idlwave-mode):
7554 * progmodes/idlw-shell.el (idlwave-shell-mode):
7555 * progmodes/vera-mode.el (vera-mode):
7556 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
7557 * progmodes/vhdl-mode.el (vhdl-mode):
7558 * textmodes/table.el (table-generate-source)
7559 (table--warn-incompatibility):
7560 Hyperlink urls in docstrings with URL `...'.
7562 2009-07-22 Glenn Morris <rgm@gnu.org>
7564 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
7565 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
7566 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
7567 Remove leading * from defcustom docs.
7569 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
7571 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
7573 (list-load-path-shadows): Optionally, just return shadows as a string.
7575 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
7577 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
7579 * mail/rmailedit.el (rmail-edit-mode): Use
7580 auto-save-include-big-deletions.
7582 * mail/rmail.el (rmail-variables): Use
7583 auto-save-include-big-deletions.
7585 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
7588 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
7590 * calc/calc.el (calc-undo-length): New variable.
7591 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
7593 2009-07-21 Richard Stallman <rms@gnu.org>
7595 * files.el (auto-save-mode): Handle buffer-save-size = -2
7598 2009-07-21 Glenn Morris <rgm@gnu.org>
7600 * textmodes/ispell.el (ispell-looking-back): Update declaration.
7602 * calendar/todo-mode.el (calendar-current-date): Update declaration.
7604 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
7605 silence compiler. Instead...
7606 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
7607 (ps-print-ensure-fontified): Update for above function name changes.
7609 * printing.el (pr-mh-get-msg-num, pr-mh-show)
7610 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
7611 silence compiler. Instead...
7612 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
7613 (mh-show-buffer): Only define for compiler.
7614 (pr-mh-current-message): Update for above function name changes.
7616 * files.el (abort-if-file-too-large): Explicitly pass `filename'
7618 (find-file-noselect, insert-file-1): Update for above change.
7620 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
7622 * mail/mailclient.el (mailclient-send-it): Fix message.
7624 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
7625 (edebug-eval): Check cl-debug-env is bound.
7626 (print-level, print-circle): Don't redefine built-in variables.
7628 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
7629 (custom-print-vectors): Remove old comments from doc.
7631 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
7632 (emerge-version): Make the variable an obsolete alias for the
7633 emacs-version variable. Make the function obsolete.
7634 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
7635 Emerge options, rather than merging in into the main Options menu.
7636 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
7637 and auto advance modes. Disable edit/fast items when not relevant.
7639 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
7641 * term/vt420.el (terminal-init-vt420): Fix typo.
7643 2009-07-20 Sam Steingold <sds@gnu.org>
7645 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
7646 variable (removed from compile.el on 2004-03-11).
7648 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
7650 * files.el (hack-local-variables-filter): Fix last change.
7652 2009-07-19 Juri Linkov <juri@jurta.org>
7654 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
7655 (dir-local-variables-alist): New buffer-local variable.
7656 (hack-local-variables-filter): If variable is not dir-local,
7657 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
7658 because file-local overrides dir-local.
7659 (c-postprocess-file-styles)<declare-function>:
7660 Remove obsolete declaration.
7661 (hack-dir-local-variables): Add dir-local variable/value pair to
7662 `dir-local-variables-alist' and remove duplicates. Doc fix.
7664 * help-fns.el (describe-variable): Add information about
7665 file-local and dir-local variables.
7667 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
7669 * files.el (hack-local-variables-filter): Rewrite.
7671 2009-07-19 Glenn Morris <rgm@gnu.org>
7673 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
7674 Silence compiler by only defining on XEmacs.
7676 * international/mule.el (auto-coding-regexp-alist): Only match
7677 BABYL... at the start of buffer, not of lines. (Bug#3790)
7679 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
7680 non-calendar buffers (Bug#3862). Restore "not on a date" message.
7681 (cal-menu-context-mouse-menu): Doc fix.
7683 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
7685 * simple.el (mail-user-agent): Doc fix. Set :version tag.
7687 2009-07-18 Juri Linkov <juri@jurta.org>
7689 * info.el: Virtual Info keyword finder.
7690 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
7691 (Info-finder-file): New variable.
7692 (Info-finder-find-file): New function.
7693 (finder-known-keywords, finder-package-info)
7694 (find-library-name, lm-commentary): Use defvar and
7695 declare-function to silence compiler warnings.
7696 (Info-finder-find-node): New function.
7697 (info-finder): New command.
7699 * subr.el (process-kill-buffer-query-function): New function.
7700 (add-hook)<kill-buffer-query-functions>: Add hook
7701 `process-kill-buffer-query-function'.
7703 2009-07-18 Alan Mackenzie <acm@muc.de>
7705 * progmodes/cc-mode.el (c-before-hack-hook)
7706 (c-postprocess-file-styles): Give invocation of `c-set-style'
7707 DONT-OVERRIDE parameter of t. Already set style variables will
7708 thus not be overridden by style settings given by `c-file-syle'.
7710 * files.el (hack-local-variables-filter): Remove entries with
7711 duplicate keys from `file-local-variables-alist'.
7713 2009-07-18 Eli Zaretskii <eliz@gnu.org>
7715 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
7716 x-set-selection if display-selections-p returns nil for the
7719 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
7721 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
7723 2009-07-18 Eli Zaretskii <eliz@gnu.org>
7725 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
7726 Accept nil in addition to a regexp.
7727 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
7728 Accept nil in addition to a regexp.
7729 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
7730 buffers that have an associated file. Handle nil values of
7731 desktop-buffers-not-to-save and desktop-files-not-to-save.
7734 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7735 (x-disown-selection-internal): New functions.
7737 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
7739 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
7741 (gdb-breakpoints-header): Move forward to avoid compiler warning.
7742 (gdb-make-header-line-mouse-map): Remove duplicate definition.
7744 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
7746 * simple.el (set-mark): Revert last change.
7748 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
7750 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
7751 rendering of pngs is not possible instead of messaging a long
7754 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
7756 * w32-fns.el (x-selection-owner-p): New function.
7758 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
7759 (mouse-yank-at-click, mouse-yank-primary): If
7760 select-active-regions is non-nil, deactivate the mark before
7763 * simple.el (deactivate-mark, set-mark): Only save selection if we
7766 2009-07-17 Kenichi Handa <handa@m17n.org>
7768 * case-table.el (describe-buffer-case-table): Fix for the case
7771 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
7773 * vc-rcs.el (vc-rcs-find-file-hook):
7774 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
7776 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
7778 * net/tramp.el (tramp-wait-for-output): Handle the case when
7779 commands do not return a newline but a null byte before the shell
7782 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7784 * term/ns-win.el (ns-set-alpha): Don't declare.
7785 (ns-set-background-alpha): Remove function.
7787 2009-07-16 Kevin Ryde <user42@zip.com.au>
7789 * emacs-lisp/copyright.el (copyright-update): Save match-data across
7790 y-or-n-p, for safety.
7792 2009-07-16 Richard Stallman <rms@gnu.org>
7794 * files.el (auto-save-mode): If buffer-saved-size is -2,
7797 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
7798 (rmail-retry-ignored-headers): Add more uninteresting fields.
7800 2009-07-15 Jari Aalto <jari.aalto@cante.net>
7802 * net/rcirc.el (rcirc): Use history variables.
7803 (rcirc-server-name-history, rcirc-nick-name-history)
7804 (rcirc-server-port-history): New variables.
7806 2009-07-15 Kenichi Handa <handa@m17n.org>
7808 * international/mule-cmds.el (set-language-environment-charset):
7809 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
7812 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
7813 Delete unibyte-display.
7815 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
7817 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
7819 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
7821 * simple.el (deactivate-mark): Optional argument FORCE.
7822 (set-mark): Use deactivate-mark.
7824 * info.el (Info-search): No need to check transient-mark-mode
7825 before calling deactivate-mark.
7827 * select.el (x-set-selection): Doc fix.
7828 (x-valid-simple-selection-p): Allow buffer values.
7829 (xselect--selection-bounds): Handle buffer values. Suggested by
7830 David De La Harpe Golden.
7832 * mouse.el (mouse-set-region, mouse-drag-track): Call
7833 copy-region-as-kill before setting the mark, to let
7834 select-active-regions work.
7836 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
7838 * simple.el (deactivate-mark): If select-active-regions is
7839 non-nil, copy the selection data into a string.
7840 (activate-mark): If select-active-regions is non-nil, set the
7841 selection to the current buffer.
7842 (set-mark): Update selection if select-active-regions is non-nil.
7844 * select.el (x-valid-simple-selection-p): Allow buffer values.
7846 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
7848 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
7849 and more featureful message-mode.
7851 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
7853 * select.el (x-set-selection): Doc fix.
7854 (x-valid-simple-selection-p): Disallow selection data consisting
7855 of a list or cons of integers, since that is not used.
7856 (xselect--selection-bounds, xselect--int-to-cons): New functions.
7857 (xselect-convert-to-string, xselect-convert-to-length)
7858 (xselect-convert-to-filename, xselect-convert-to-charpos)
7859 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
7861 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
7863 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
7864 output in -break-info command (Emacs bug #3794).
7866 2009-07-14 Glenn Morris <rgm@gnu.org>
7868 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
7869 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
7870 (edebug-print-length, edebug-print-level, edebug-print-circle)
7871 (edebug-sit-for-seconds, edebug-view-outside)
7872 (edebug-bounce-point, edebug-set-global-break-condition)
7873 (edebug-Go-nonstop-mode, edebug-trace-mode)
7874 (edebug-Trace-fast-mode, edebug-continue-mode)
7875 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
7876 (edebug-visit-eval-list): Doc fixes.
7878 * subr.el (def-edebug-spec): Doc fix.
7880 2009-07-14 Kenichi Handa <handa@m17n.org>
7882 * international/characters.el: Fix setting of category ?C.
7884 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
7886 * term/ns-win.el (x-select-font): defalias x-select-font to
7887 ns-popup-font-panel instead of generate-fontset-menu.
7889 2009-07-12 Eli Zaretskii <eliz@gnu.org>
7891 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
7893 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
7895 * arc-mode.el (archive-find-type): Allow for a PK00 string before
7896 the PK\003\004 header (Bug#3770).
7898 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
7900 * pcomplete.el (pcomplete-comint-setup): Check for
7901 shell-dynamic-complete-filename too.
7903 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
7905 * simple.el (temporary-goal-column): Change the value for
7906 line-move-visual to a cons cell.
7907 (line-move-visual): Record or set the window hscroll, if
7908 necessary (Bug#3494).
7909 (line-move-1): Handle cons value of temporary-goal-column.
7911 2009-07-11 Kenichi Handa <handa@m17n.org>
7913 * international/mule-diag.el (describe-character-set): Don't show
7916 2009-07-10 Sam Steingold <sds@gnu.org>
7918 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7919 Omake sometimes indents the errors it prints, so allow all
7920 regexps to start with spaces.
7922 2009-07-10 Eli Zaretskii <eliz@gnu.org>
7924 * cus-edit.el (customize-changed-options-previous-release):
7925 Bump value to 22.1. (Bug#3804)
7927 2009-07-08 Sam Steingold <sds@gnu.org>
7929 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
7930 to be a cons cell (test . ignored-directory) to selectively ignore
7931 some directories depending on the location of the search.
7933 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
7935 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
7936 remote user is root, on the local host.
7937 (tramp-local-host-p): Either the local user or the remote user
7938 must be root. (Bug#3771)
7940 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
7942 * progmodes/gdb-mi.el (gdb): Remove description of
7943 gdb-use-separate-io-buffer.
7944 (menu): Don't allow toggling of or enable
7945 gdb-use-separate-io-buffer from menubar.
7947 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
7949 * mail/unrmail.el (unrmail): Make sure the message ends with two
7950 newlines (Bug#3769).
7952 2009-07-08 Glenn Morris <rgm@gnu.org>
7954 * calendar/calendar.el (calendar-current-date): Rework previous change.
7956 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
7958 * calendar/calendar.el (calendar-current-date):
7959 Add an optional argument giving an offset from today.
7961 2009-07-08 Glenn Morris <rgm@gnu.org>
7963 * tutorial.el (tutorial--describe-nonstandard-key):
7964 Adjust the message for when a key has been unbound.
7965 (help-with-tutorial): Hide the arch-tag.
7967 2009-07-08 Kenichi Handa <handa@m17n.org>
7969 * international/fontset.el (setup-default-fontset): For each
7970 script, append (not set) font-specs.
7972 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
7975 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
7977 * progmodes/gdb-mi.el (gdb-init-1): Move sending
7978 -data-list-register-names to ...
7979 (gdb-starting): ... here because GDB 7.0 requires execution to
7980 have started when using this MI command.
7981 (gdb-set-header): New function to distinguish select and
7982 unselected tabs in gdb buffers.
7983 (gdb-propertize-header): New macro that uses gdb-set-header.
7984 (gdb-breakpoints-header, gdb-locals-header): Use it.
7985 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
7987 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
7989 * Makefile.in (ELCFILES): Remove fadr.elc.
7991 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
7993 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
7994 may contain frame information, so `string-match' should be used.
7995 (gdb-update): Disassembly is invalidated through
7996 `gdb-get-selected-frame'.
7997 (gdb-pad-string): New function to pad string with spaces.
7998 (gdb-invalidate-disassembly): Invalidate only if the buffer
8000 (gdb-disassembly-handler-custom): Column alignment.
8001 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
8003 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
8005 (gdb-frame-handler): Match convention to for disassembly buffer
8007 (gdb-stack-list-frames-handler): Rewritten without regexps.
8008 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
8009 not highlight breakpoints without line information.
8010 (gdb-input): Add trailing newline to command.
8012 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
8014 (gdb-breakpoints-list-handler-custom): Replacement for
8015 `gdb-break-list-handler'. Using real parser instead of regexps
8017 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
8018 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
8019 to place breakpoints.
8020 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
8022 (gdb-disassembly-handler-custom): Show overlay arrow.
8023 (gdb-disassembly-place-breakpoints): Show breakpoints in
8025 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
8026 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
8027 instead of parsing breakpoints buffer. Fixed old menu references
8032 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
8033 (gdb-memory-address): New variable which holds top address of
8034 memory page shown in memory buffer.
8035 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
8036 customization variables.
8038 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
8039 display the memory buffer.
8040 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
8041 buffer display parameters.
8042 (def-gdb-memory-format, gdb-memory-format-binary)
8043 (gdb-memory-format-octal, gdb-memory-format-unsigned)
8044 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
8045 Functions for setting memory buffer format.
8046 (gdb-memory-unit-word, gdb-memory-unit-halfword)
8047 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
8048 unit size used in memory buffer.
8049 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
8050 to next/previous page of memory buffer.
8051 Now using (bindat-get-field) instead of fadr functions.
8053 2009-07-07 Sam Steingold <sds@gnu.org>
8055 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
8056 non-top-level files.
8058 2009-07-07 Kenichi Handa <handa@m17n.org>
8060 * international/mule-cmds.el (reset-language-environment): Put
8061 the highset priority to the charset iso-8859-1.
8063 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
8065 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
8066 to the end of the line when locating the block (Bug#700).
8068 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
8070 * net/tramp.el (tramp-handle-write-region): Flush file properties
8071 in case of short track.
8073 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
8075 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
8076 representation of verilog error regular expressions to work with
8077 Emacs-22's new format.
8078 (verilog-error-regexp-xemacs-alist): Coded custom representation
8079 of verilog error regular expressions to work with XEmacs format.
8080 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
8081 error recognition into XEmacs.
8082 (verilog-error-regexp-add-emacs): Hook routine to install verilog
8083 error recognition into Emacs-22.
8085 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
8087 * woman.el: Remove stand-alone closing parentheses.
8088 (woman-file-name, woman2-format-paragraphs)
8089 (woman-leave-blank-lines): Code cleanup.
8090 (woman-use-own-frame): Change default to nil.
8091 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
8092 defaults to inherit from default faces.
8093 (woman2-process-escapes): Consume the newline after a stand-alone
8094 filler character (Bug#3651).
8096 2009-07-06 Glenn Morris <rgm@gnu.org>
8098 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
8099 (top-level): Move provide to the end.
8100 (ffap): Remove defunct URL from custom group.
8102 * subr.el (eval-after-load): Doc fix.
8104 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
8106 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
8107 `calc-embedded-word' is called twice.
8109 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8111 * files.el (find-alternate-file-other-window, find-alternate-file):
8112 Obey confirm-nonexistent-file-or-buffer.
8114 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
8116 * dired-aux.el (dired-show-file-type): Handle remote files.
8118 2009-07-05 Jari Aalto <jari.aalto@cante.net>
8120 * desktop.el (desktop-globals-to-save):
8121 Add file-name-history (Bug#2750).
8123 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
8125 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
8127 2009-07-04 Johan Bockgård <bojohan@gnu.org>
8129 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
8130 property on entire argument since this is what eshell-lisp-command
8133 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
8135 * net/tramp-gvfs.el (tramp-gvfs-methods)
8136 (tramp-gvfs-zeroconf-domain)
8137 (tramp-bluez-discover-devices-timeout): Add version flag.
8138 (tramp-gvfs-handler-mounted-unmounted)
8139 (tramp-gvfs-connection-mounted-p): Polish handling of
8140 incompatibilities between GVFS 0.2 and 1.0.
8142 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
8144 * cus-start.el (all): Add make-pointer-invisible.
8146 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
8148 * calc-math.el (math-use-emacs-fn): Make sure that the number is
8149 formatted correctly.
8151 2009-07-02 Juri Linkov <juri@jurta.org>
8153 * info.el: Virtual Info files and nodes.
8154 (Info-virtual-files, Info-virtual-nodes): New variables.
8155 (Info-current-node-virtual): New variable.
8156 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
8158 (Info-file-supports-index-cookies): Use Info-virtual-file-p
8159 to check for a virtual file instead of checking a fixed list
8161 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
8162 instead of ad-hoc processing of "dir" and (apropos history toc).
8163 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
8164 instead of ad-hoc processing of "dir" and (apropos history toc).
8165 Reread a file when moving from a virtual node.
8166 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
8167 (Info-directory-toc-nodes, Info-directory-find-file)
8168 (Info-directory-find-node): New functions.
8169 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
8170 (Info-history): Move part of code to
8171 `Info-history-find-node'.
8172 (Info-history-toc-nodes, Info-history-find-file)
8173 (Info-history-find-node): New functions.
8174 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
8175 (Info-toc): Move part of code to `Info-toc-find-node'.
8176 (Info-toc-find-node): New function.
8177 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
8178 the current Info file name to references because now the node
8179 "*TOC*" belongs to the same Info manual.
8180 (Info-toc-build): Rename from `Info-build-toc'.
8181 (Info-toc-nodes): Rename input argument `file' to `filename'.
8182 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
8183 instead of ad-hoc processing of ("dir" apropos history toc).
8184 (Info-index-nodes): Use Info-virtual-file-p
8185 to check for a virtual file instead of checking a fixed list
8187 (Info-index-node): Add check for `Info-current-node-virtual'.
8188 Raise `save-match-data' higher up the tree to contain
8189 `search-forward' too (bug fix).
8190 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
8191 (Info-virtual-index-nodes): New variable.
8192 (Info-virtual-index-find-node, Info-virtual-index): New functions.
8193 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
8194 (Info-apropos-file, Info-apropos-nodes): New variables.
8195 (Info-apropos-toc-nodes, Info-apropos-find-file)
8196 (Info-apropos-find-node, Info-apropos-matches): New functions.
8197 (info-apropos): Move part of code to `Info-apropos-find-node' and
8198 `Info-apropos-matches'.
8199 (Info-mode-map): Bind "I" to `Info-virtual-index'.
8200 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
8201 for a virtual file instead of checking a fixed list of node names.
8203 * simple.el (async-shell-command): New command.
8205 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
8207 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
8208 instead of `mount-info'.
8210 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
8212 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
8213 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
8215 2009-07-02 Kenichi Handa <handa@m17n.org>
8217 * international/mule.el (set-keyboard-coding-system): Force *-unix
8218 coding-system to avoid eol conversion.
8220 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
8222 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8223 Add handler for `process-file', `shell-command' and
8224 `start-file-process'.
8225 (tramp-gvfs-handle-shell-command)
8226 (tramp-gvfs-handle-start-file-process)
8227 (tramp-gvfs-handle-process-file): New defuns.
8228 (tramp-synce-list-devices): Simplify check for existence of property.
8230 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
8232 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
8234 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
8236 * language/korean.el (set-language-info-alist): Add korean-cp949,
8239 2009-07-01 Kenichi Handa <handa@m17n.org>
8241 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
8243 * international/encoded-kb.el: Deleted.
8245 * international/mule.el (set-keyboard-coding-system): Perform the
8246 necessary setup here instead of calling encoded-kbd-setup-display.
8248 2009-07-01 Glenn Morris <rgm@gnu.org>
8250 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
8252 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
8254 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
8256 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
8258 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
8259 Handle also the 'rename case, when setting file modes. (Bug#3712)
8260 (tramp-default-file-modes) Remove execute permissions.
8262 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
8263 (top): Add a default for "synce" in `tramp-default-user-alist'.
8264 Add completion function for "synce" method.
8265 (tramp-hal-service, tramp-hal-path-manager)
8266 (tramp-hal-interface-manager, tramp-hal-interface-device):
8268 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
8269 (tramp-synce-list-devices, tramp-synce-parse-device-names):
8272 * net/trampver.el: Update release number.
8274 2009-06-30 Kenichi Handa <handa@m17n.org>
8276 * international/fontset.el (setup-default-fontset): Add CJK fonts
8277 for symbols and the other miscellaneous characters.
8279 * language/korea-util.el (setup-korean-environment-internal):
8280 Make char-width-table suitable for Korean environments.
8281 (exit-korean-environment): Cancel above.
8283 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8284 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
8285 setup-funcion to make char-widht-table suitable for respective
8286 environments, and an exit-function to cancel that.
8288 * language/japan-util.el (setup-japanese-environment-internal):
8289 Call use-cjk-char-width-table with arg `ja_JP'.
8291 * international/characters.el (cjk-char-width-table): Delete it.
8292 (cjk-char-width-table-list): New variable.
8293 (use-cjk-char-width-table): New arg local-name.
8294 (use-default-char-width-table): Fix for the case that Emacs is
8295 already using the default char-width-table.
8297 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
8299 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
8300 modes mandatory. (Bug#3712)
8302 2009-06-29 Alan Mackenzie <acm@muc.de>
8304 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
8305 correction between the visible width of TABs and their number of bytes.
8307 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
8309 * server.el (server-buffer-done): Prevent kill-buffer from
8310 prompting by clearing the buffer modification flag (Bug#3696).
8312 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
8314 * verilog-mode.el (verilog-beg-of-statement)
8315 (verilog-endcomment-reason-re): Support unique case and priority case.
8316 (verilog-basic-complete-re): Support localparam lineup.
8317 (verilog-beg-of-statement-1): Fix for robustness, unique case.
8318 (verilog-set-auto-endcomments): Fix for unique case, always_comb
8320 (verilog-leap-to-case-head): Now support *nested* unique &
8321 priority case statements.
8322 (verilog-auto-lineup): Make just declarations the default (as it
8324 (verilog-leap-to-case-head): Support priority/unique case statements.
8325 (verilog-auto-lineup): Rework to give users radio buttons to
8326 select the various styles of automatic lineup.
8327 (verilog-error-regexp-alist): Rework to support the XEmacs style
8328 of error regular expressions from compilers, lint tools &
8329 simulators. Note that GNU Emacs has made it impossible for a mode
8330 to load such things.
8331 (electric-verilog-terminate-line, verilog-indent-declaration)
8332 (verilog-auto-wiure): Rework for radio button selection of
8333 auto-lineup selection of specification of auto lineup.
8334 (verilog-beg-of-statement-1): Redesign to support proper operation
8335 in additional code, based on testing with auto-lineup.
8336 (verilog-calculate-indent, assignments & declarations)
8337 (verilog-backward-token): Enhance to support auto-lineup of
8338 assignments & declarations.
8339 (verilog-in-directive-p, verilog-at-struct-p): New function for
8340 easy test of whether we are.
8341 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
8342 to support safe execution at almost anyline.
8343 (verilog-calc-1): Properly support indenting deep inside generate
8345 (verilog-init-font) Remove definition & use of verilog-init-font,
8346 as it is redundant with font-lock-defaults.
8347 (verilog-mode): Alter the definition of verilog-font-lock-defaults
8348 to avoid circular calls if syntax-ppss is a function (as is the
8349 case now in 22.x GNU Emacs) as that function would sometimes call
8350 itself, leading to (nearly) infinite recursion.
8351 (verilog-ovm-begin-re, verilog-ovm-end-re)
8352 (verilog-ovm-statement-re, verilog-leap-to-head)
8353 (verilog-backward-token): Add support for OVM macros. Some are
8354 complete statements, and others open and close scopes like begin
8356 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
8357 (verilog-defun-level-generate-only-re): Really fix the defun-list
8359 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
8360 coverpoint, constraint and cross statements.
8361 (verilog-defun-level-list, verilog-generate-defun-level-list)
8362 (verilog-all-defun-level-list): Redo these specifications - it is
8363 too hard to support eval-when compile aggregation of lists also
8364 built at when-compile time.
8365 (verilog-defun-level-list): Place defconsts of variables used in
8366 building regular expressions which are built in eval-when-compile
8367 bodies in the same eval-when-compile body to facilitate compile
8369 (verilog-beg-block-re-ordered): Support indenting
8370 virtual/protected tasks and functions.
8371 (verilog-defun-level-list, verilog-in-generate-region-p)
8372 (verilog-backward-ws&directives, verilog-calc-1): Speed up
8373 indentation of some module items (generate items).
8374 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
8375 across virtual/protected tasks and functions.
8377 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
8379 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
8380 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
8381 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
8382 in concatenations. Reported by Yishay Belkind.
8383 (verilog-auto-ascii-enum): Support one-hot state machines in
8384 AUTOASCIIENUM. Suggested by Lloyd Gomez.
8385 (verilog-auto-inst, verilog-auto-inst-port): Include interface
8386 modport in AUTOINST and add vl-modport for users. Reported by
8388 (verilog-auto-inout-module, verilog-auto-inst)
8389 (verilog-decls-get-interfaces, verilog-insert-definition)
8390 (verilog-insert-one-definition, verilog-read-decls)
8391 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
8392 (verilog-sig-modport, verilog-signals-combine-bus)
8393 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
8394 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
8395 Suggested by David Rogoff.
8396 (verilog-repair-open-comma): Fix non-insertion of comma when
8397 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
8398 (verilog-make-width-expression): Simplify [A-1:0] expression
8399 widths to just {A{1'b0}}.
8400 (verilog-mode): Cleanup checkdoc warnings.
8401 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
8402 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
8403 inputs/outputs or data type. Suggested by Vasu Kandadi.
8404 (next-error-last-buffer): Fix byte-compiler warning.
8405 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
8406 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
8407 or shell command text during AUTO expansion. Suggested by Tad Truex.
8408 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
8409 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
8410 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
8411 in AUTOINOUT. Reported by Matthew Lovell.
8412 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
8413 causing use of <= assignments. Reported by Alex Reed.
8414 (verilog-read-decls): Fix triand, trior, wand, wor to be
8415 recognized by AUTOWIRE. Reported by Spencer Isaacson.
8416 (verilog-extended-complete-re): Support import "DPI-C" functions.
8417 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
8418 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
8419 (verilog-insert-date, verilog-insert-year)
8420 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
8421 Windows systems. Reported by Michael Potts.
8422 (verilog-read-module-name): Fix AUTOINST when the child module
8423 declaration's name is a tick define. Reported by Elliot Mednick.
8424 (verilog-read-decls): Fix V2K parameter bit subscripts getting
8425 passed to next parameter's definition. Reported by Bruce T.
8426 (verilog-read-decls): Fix detecting "parameter int" when using
8427 AUTOINSTPARAM. Reported by Bruce T.
8428 (verilog-goto-defun): Fix goto not finding modules unless first
8429 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
8430 (verilog-mode): Expand -f flag arguments on entry to mode so
8431 verilog-goto-defun will work. Reported by Lawrence Butcher.
8432 (verilog-getopt): Expand environment variables in -f file
8433 arguments. Suggested by Lawrence Butcher.
8434 (verilog-set-define): Fix "Symbol's value as variable is void"
8435 when reading enumerations.
8436 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
8437 Suggested by Stephen Peltan.
8438 (verilog-read-defines): Fix reading of enumerations in include
8439 files. Reported by Steve Peltan.
8441 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
8443 * files.el (trash-directory): Fix defcustom type.
8445 2009-06-28 Juri Linkov <juri@jurta.org>
8447 * help-fns.el (describe-function-1): Correctly locate adviced
8448 functions in hyperlink (Bug#2438).
8450 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
8452 * files.el (trash-directory): Change default to nil.
8453 (move-file-to-trash): If trash-directory is nil and
8454 system-move-file-to-trash is unbound, perform freedesktop-style
8457 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
8459 * files.el (move-file-to-trash): Add freedesktop trash
8462 2009-06-28 Glenn Morris <rgm@gnu.org>
8464 * autorevert.el (global-auto-revert-non-file-buffers)
8465 (global-auto-revert-mode): Doc fixes.
8467 2009-06-27 Johan Bockgård <bojohan@gnu.org>
8469 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
8471 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
8473 * faces.el (x-handle-named-frame-geometry): Ensure that we have
8474 opened an X connection before calling x-get-resource (Bug#3194).
8476 * play/doctor.el: Remove reference to obsolete website.
8477 (make-doctor-variables): Correct grammar mistake (Bug#2633).
8479 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
8481 Remove find-file-not-found-hook VC method. (Bug#2757)
8482 * vc-hooks.el (vc-file-not-found-hook)
8483 (vc-default-find-file-not-found-hook): Remove functions.
8484 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
8485 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
8488 * vc-git.el: Do not mention find-file-not-found-hook VC method.
8490 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8492 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
8493 compatibility function for `looking-back'.
8495 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
8496 Use `ispell-looking-back'.
8498 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
8500 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
8501 rather than `filename'.
8503 2009-06-23 Miles Bader <miles@gnu.org>
8505 * face-remap.el (text-scale-set): New function.
8507 2009-06-23 Glenn Morris <rgm@gnu.org>
8509 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
8511 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
8513 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
8515 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
8517 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
8518 Simplify Persian conditionals.
8520 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
8521 variable `filename'.
8523 * comint.el (comint-insert-input): Doc fix.
8525 * Makefile.in (ELCFILES): Fix typo in previous change.
8527 2009-06-23 Miles Bader <miles@gnu.org>
8529 * cus-start.el: Add entry for `recenter-redisplay'.
8531 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
8533 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
8534 Add an optional argument for the backend, use it instead of
8536 (vc-mode-line): Add an optional argument for the backend.
8537 Pass the backend to vc-state and vc-working-revision. Move code for
8538 special handling for vc-state being a buffer to ...
8540 * vc-rcs.el (vc-rcs-find-file-hook):
8541 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
8543 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
8544 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
8545 vc-stay-local-p and vc-mode-line calls.
8547 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
8548 (vc-cvs-diff, vc-cvs-annotate-command)
8549 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
8550 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
8553 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
8555 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
8556 backend when calling vc-mode-line.
8557 (vc-register): Do not create a closure for calling the vc register
8558 function, call it directly.
8560 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
8562 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
8563 to make it obvious item can be clicked.
8565 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
8567 2009-06-23 Kenichi Handa <handa@m17n.org>
8569 * language/korea-util.el (korean-key-bindings): Change the binding
8570 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
8573 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
8575 Sync with Tramp 2.1.16.
8577 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
8579 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
8580 when a loading of a package fails. Completion function for rsync
8581 is `tramp-completion-function-alist-ssh'.
8582 (all): Replace all calls of `split-string' and
8583 `tramp-split-string' by `tramp-compat-split-string'.
8584 (tramp-default-method): Use `tramp-compat-process-running-p'.
8585 (tramp-default-proxies-alist): Allow also Lisp forms.
8586 (tramp-remote-path): Add choice "Private Directories".
8587 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
8588 (tramp-domain-regexp): Allow also "-", "_" and ".".
8589 (tramp-end-of-output): Remove newlines, and add "$" at the end.
8590 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
8591 (tramp-debug-message): Insert header line in debug buffer.
8592 (tramp-handle-directory-files-and-attributes-with-stat):
8593 Care about filenames with spaces, or starting with "-".
8594 (tramp-handle-dired-uncache): New defun.
8595 (tramp-handle-insert-directory): Don't flush the directory from
8596 cache, this is handled by `dired-uncache' now.
8597 (tramp-handle-insert-file-contents): Improve error handling.
8598 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8599 Quote `tramp-end-of-output'.
8600 (tramp-action-password): Improve trace message.
8601 (tramp-check-for-regexp): Both echoes must be present, before removing.
8602 (tramp-open-connection-setup-interactive-shell): Trace coding system.
8603 (tramp-compute-multi-hops): Eval cons cells of
8604 `tramp-default-proxies-alist'.
8605 (tramp-maybe-open-connection): Use the same command pattern for
8606 first hop and further hops.
8607 (tramp-wait-for-output): Remove handling of newlines.
8608 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
8609 (tramp-split-string): Remove function. It is handled in
8612 * net/tramp-cmds.el (tramp-bug):
8613 Recommend `tramp-cleanup-all-connections' in the bug mail.
8615 * net/tramp-compat.el (tramp-compat-split-string)
8616 (tramp-compat-process-running-p): New defuns.
8618 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
8619 for `dired-uncache'.
8621 * net/tramp-gvfs.el: New package.
8623 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8624 Add handler for `dired-uncache'.
8625 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
8627 * net/trampver.el: Update release number. Make version check fit
8630 2009-06-22 Jim Meyering <meyering@redhat.com>
8632 Automatically handle .xz suffix (XZ-compressed files), too.
8633 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
8634 XZ is the successor to LZMA: <http://tukaani.org/xz/>
8636 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
8637 Nick Roberts <nickrob@snap.net.nz>
8639 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
8640 repository (http://sphinx.net.ru/hg/gdb-mi/).
8642 2009-06-22 Glenn Morris <rgm@gnu.org>
8644 * files.el (dir-locals-collect-mode-variables): Allow for any number of
8645 `mode' and `eval' entries. (Bug#3430)
8647 * Makefile.in (ELCFILES): Add fadr.elc.
8649 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
8650 differing behavior of \n and ^ in strings. (Bug#3385)
8652 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
8654 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
8656 (lisp-indent-function): Make it a defcustom.
8658 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
8660 * progmodes/gdb-ui.el: Replace with ...
8661 * progmodes/gdb-mi.el: ... this file.
8662 * progmodes/gud.el: Modify for gdb-mi.el.
8664 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
8666 * fadr.el: New file.
8668 See ChangeLog.14 for earlier changes.
8674 Copyright (C) 2009 Free Software Foundation, Inc.
8676 This file is part of GNU Emacs.
8678 GNU Emacs is free software: you can redistribute it and/or modify
8679 it under the terms of the GNU General Public License as published by
8680 the Free Software Foundation, either version 3 of the License, or
8681 (at your option) any later version.
8683 GNU Emacs is distributed in the hope that it will be useful,
8684 but WITHOUT ANY WARRANTY; without even the implied warranty of
8685 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8686 GNU General Public License for more details.
8688 You should have received a copy of the GNU General Public License
8689 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
8691 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1