1 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
4 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
6 (ffap-locate-file): Remove unused arg `dir-ok' and make other
7 args compulsory. Adjust callers.
8 (ffap-gopher-at-point): Remove unused var `name'.
10 Get rid of the ELCFILES abomination.
11 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12 (compile-elcfiles): New phony target.
13 (compile-main): Compute ELCFILES dynamically.
14 (compile-clean): New target to remove left-over elc files.
15 (compile, all): Use it.
17 2009-12-09 Kenichi Handa <handa@etlken>
19 * international/mule-diag.el: Require help-mode instead of help-fns.
21 2009-12-09 Kenichi Handa <handa@m17n.org>
23 * international/mule-cmds.el (ucs-names): Supply a sufficiently
24 fine ranges instead of pre-calculating accurate ranges.
25 Iterate with bigger gc-cons-threshold.
27 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
29 Add support for stashing a snapshot of the current tree.
30 * vc-git.el (vc-git-stash-snapshot): New function.
31 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
33 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
35 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
36 instead of `(beginning|end)-of-line'.
38 2009-12-08 Glenn Morris <rgm@gnu.org>
40 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
42 * Makefile.in (ELCFILES): Regenerate.
44 2009-12-07 Juri Linkov <juri@jurta.org>
46 Don't lazy-highlight the comint output in history Isearch mode.
48 * comint.el (comint-history-isearch-search): Instead of
49 `comint-line-beginning-position', use `comint-after-pmark-p'
50 to check if point if before the process mark, and go to
51 `process-mark' in this case.
53 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
55 * textmodes/tex-mode.el (latex-complete)
56 (latex-indent-or-complete): Remove.
57 (latex-mode): Set completion-at-point-functions instead.
59 Provide a standard completion command and hook it into TAB.
60 * minibuffer.el (completion-at-point-functions): New var.
61 (completion-at-point): New command.
62 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
63 * progmodes/python.el (python-mode-map): Use completion-at-point.
64 (python-completion-at-point): Rename from python-partial-symbol and
65 adjust for use in completion-at-point-functions.
66 (python-mode): Setup completion-at-point for Python completion.
67 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
68 extracted from lisp-complete-symbol.
69 (lisp-complete-symbol): Use it.
70 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
71 setup completion-at-point for Elisp completion.
72 (emacs-lisp-mode-map, lisp-interaction-mode-map):
73 Use completion-at-point.
74 * ielm.el (ielm-map): Use completion-at-point.
75 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
76 * progmodes/sym-comp.el: Move to...
77 * obsolete/sym-comp.el: Move from progmodes.
79 2009-12-07 Eli Zaretskii <eliz@gnu.org>
81 Prevent save-buffer in Rmail buffers from using the coding-system
82 of the current message, and from clobbering the encoding mnemonics
83 in the mode line (Bug#4623).
85 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
87 (rmail-message-encoding): New variable.
88 (rmail-write-region-annotate): Record the encoding of the current
89 message in rmail-message-encoding.
90 (rmail-after-save-hook): New function, restores the encoding of
91 the current message after the message collection is saved.
93 2009-12-07 Juri Linkov <juri@jurta.org>
95 * progmodes/grep.el (grep-read-files): Use `completing-read'
96 instead of `read-string'. Set its `collection' arg to
97 `read-file-name-internal'. (Bug#4301)
99 2009-12-07 Juri Linkov <juri@jurta.org>
101 Correctly restore original Isearch point. (Bug#4994)
103 * isearch.el (isearch-mode): Move `isearch-push-state' after
104 `(run-hooks 'isearch-mode-hook)'.
105 (isearch-cancel): When `isearch-push-state-function' is defined,
106 let-bind `isearch-cmds' to the first state (the last element of
107 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
108 function and restores the original point). Otherwise, move point
111 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
113 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
114 chars that don't have names, so the table can be built much faster at
117 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
119 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
120 change. Suggested by David Kastrup.
122 * simple.el (compose-mail): Check for incompatibilities and warn.
123 (compose-mail-user-agent-warnings): New option.
125 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
127 Support showing a single log entry from vc-annotate.
128 * vc.el (print-log): Add a new argument: START-REVISION.
129 (vc-print-log-internal): Add a new optional argument and
130 pass it to the backend.
131 (vc-print-log, vc-print-root-log): Adjust callers.
132 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
133 buffer already displays the requested log entry, use it.
134 Otherwise display only the log entry in question.
135 * vc-svn.el (vc-svn-print-log):
136 * vc-mtn.el (vc-mtn-print-log):
137 * vc-hg.el (vc-hg-state):
138 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
139 (vc-git-show-log-entry): Return t on success.
140 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
141 (vc-bzr-show-log-entry): Return t on success.
142 * vc-rcs.el (vc-rcs-print-log):
143 * vc-sccs.el (vc-sccs-print-log):
144 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
146 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
148 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer): Add
149 menus to the meta mode. (Bug#5043)
151 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
153 * ediff-init.el (ediff-event-key): Use event-to-character instead of
156 * ediff.el (ediff-buffers-internal): Add unwind-protect.
158 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
160 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
161 Berbain <raphael.berbain@gmail.com>.
163 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
165 (tramp-initial-end-of-output): New defconst.
166 (tramp-methods, tramp-find-shell)
167 (tramp-open-connection-setup-interactive-shell)
168 (tramp-maybe-open-connection): Use it.
169 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
170 existence of `#' and `$'.
172 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
173 `tramp-initial-end-of-output'.
175 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
177 Get the background mode from the terminal for xterm, and set
179 * term/xterm.el (xterm-set-background-mode): New function.
180 (terminal-init-xterm): Use it in case xterm supports background
181 color queries. Recompute faces after getting the background
184 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
186 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
187 number comment back on its own line, for easier parsing.
189 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
191 Make it work for non-file buffers (bug#5102).
192 * doc-view.el (doc-view-current-cache-dir):
193 Use doc-view-buffer-file-name rather than buffer-file-name.
194 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
196 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
198 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
199 author field is too short.
201 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
203 * vc-git.el (vc-git-print-log): Handle a limit argument.
204 Display the short log in graph form and with labels.
205 (vc-git-log-view-mode): Handle labels.
207 Make vc-revert change VC state from 'added to 'unregistered.
208 * vc-git.el (vc-git-revert): Call git reset first.
210 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
212 * net/newst-backend.el :
213 * net/newst-plainview.el:
214 * net/newst-reader.el:
215 * net/newst-ticker.el:
216 * net/newst-treeview.el:
217 * net/newsticker.el: Require/provide newst-... (instead of
218 newsticker-...). (Bug#5096)
220 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
222 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
224 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
225 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
226 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
227 Update annotation regexp.
229 * simple.el (beginning-of-visual-line): Constrain to field
230 boundaries (Bug#5106).
232 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
234 * xml.el (xml-substitute-numeric-entities): Moved
235 newsticker--decode-numeric-entities in newst-backend.el to
236 xml-substitute-numeric-entities in xml.el. (Bug#5008)
238 * net/newst-backend.el (newsticker--parse-generic-feed)
239 (newsticker--parse-generic-items)
240 (newsticker--decode-numeric-entities): Moved
241 newsticker--decode-numeric-entities in newst-backend.el to
242 xml-substitute-numeric-entities in xml.el. (Bug#5008)
244 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
246 * progmodes/js.el (js--js-not): Add null to the list of values.
248 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
250 * ansi-color.el (ansi-color-for-comint-mode): Add :version
253 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
255 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
256 delimiter if it is at the end of the current line.
257 (bibtex-generate-url-list): Fix docstring.
259 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
261 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
262 minibuffer's content with itself.
263 Fold the confirm-after-completion case into the `confirm' case.
264 (completion-pcm-word-delimiters): Add : and / to the delimiters.
266 2009-12-06 Kevin Ryde <user42@zip.com.au>
268 * ffap.el (ffap-rfc-path): Make this a defcustom since
269 `ffap-rfc-directories' is also a defcustom. (My Bug#4514.)
271 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
272 manuals, similar to existing setup for help-mode. (My bug#3913.)
274 2009-12-05 Juri Linkov <juri@jurta.org>
276 Save and restore dired buffer's point positions too. (Bug#4880)
278 * dired.el (dired-save-positions): Return in the first element
279 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
281 (dired-restore-positions): First restore buffer's position.
282 While restoring window's positions, check if window still displays
285 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
287 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
290 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
291 Make argument optional.
293 * shell.el (shell): Require ansi-color (Bug#5113).
295 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
297 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
299 2009-12-05 Alan Mackenzie <acm@muc.de>
301 * progmodes/cc-mode.el (c-before-hack-hook)
302 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
303 `c-file-style' to work again. This reversion restores the current
304 software to its state in Emacs 23.1. (Bug#4146)
306 2009-12-05 Kevin Ryde <user42@zip.com.au>
308 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
309 comment-start-skip to comment-end-skip as comment (Bug#4781).
311 2009-12-05 Juri Linkov <juri@jurta.org>
313 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
314 for virtual nodes. (Bug#4147)
315 (Info-find-node-2): Set `Info-current-node-virtual' to nil
316 when moving from a virtual node.
317 (Info-mode-menu): Add `Info-virtual-index' to the menu.
318 (Info-mode): Add `Info-virtual-index' to the docstring.
320 2009-12-05 Eric Ludlam <zappo@gnu.org>
322 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
323 Describe project macro symbols.
325 * cedet/semantic/complete.el (semantic-complete-do-completion):
326 Don't call semantic-collector-current-exact-match.
328 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
329 ede-objects as targets.
331 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
332 a target's object list even if compiler vars are already in the
335 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
336 list of headers producing necessary macros.
338 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
340 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
341 track of the buffer position of the end of a BibTeX entry as this
342 position may change during reformatting.
343 (bibtex-format-entry): Remove whitespace before processing
344 numerical fields so that we recognize the latter properly.
345 (bibtex-reformat): Do not use push which changes the global value
346 of bibtex-entry-format.
347 (bibtex-field-braces-alist, bibtex-field-strings-alist)
348 (bibtex-field-re-init): Replace only space characters by regexp
350 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
351 (bibtex-initialize): Also update bibtex-strings.
352 (bibtex-kill-field): Preserve white space at end of entry.
353 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
354 Update bibtex-reference-keys.
356 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
358 * minibuffer.el (completion-pcm--merge-try): Also consider placing
359 point after a star, if that's the only place where modifications can
362 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
364 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
367 2009-12-04 Juri Linkov <juri@jurta.org>
369 * proced.el (proced): Call `(proced-update t)' to update process
370 information instead of only running proced-post-display-hook.
371 (proced-send-signal): Add a leading space to the buffer name
372 " *Marked Processes*" to make this buffer ephemeral.
374 2009-12-04 Juri Linkov <juri@jurta.org>
376 * dired.el (dired-auto-revert-buffer): New defcustom.
377 (dired-internal-noselect): Use it.
379 2009-12-04 Juri Linkov <juri@jurta.org>
381 Change roles of modes and functions in image-mode.el (Bug#5062).
383 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
384 in `auto-mode-alist'.
385 (image-mode-previous-major-mode): New variable.
386 (image-minor-mode-map): Rename from `image-mode-text-map'.
387 (image-mode): Move graceful error-handling code from
388 `image-minor-mode' to here. On errors call `image-mode-as-text'.
389 (image-minor-mode): Remove all image-handling code.
390 Replace `image-mode-text-map' with `image-minor-mode-map'.
391 Check for `image-type' in mode-line format string.
392 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
393 (image-mode-as-text): New function with most code from
395 (image-toggle-display-text): Move code that removes image
396 properties from `image-toggle-display' to here.
397 (image-toggle-display-image): New function with code that adds
398 image properties copied from `image-toggle-display'.
399 (image-toggle-display): Remove most code with leaving only code
400 that toggles between `image-mode-as-text' and `image-mode'.
402 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
404 * net/newst-treeview.el
405 (newsticker--treeview-list-highlight-start): Restored call to
406 save-excursion: Selected item was stuck.
407 (newsticker--treeview-list-select): New.
408 (newsticker--treeview-item-show-text)
409 (newsticker--treeview-item-show)
410 (newsticker--treeview-item-update): Use new
411 newsticker-treeview-item-mode.
412 (newsticker-treeview-update): Keep current item.
413 (newsticker-treeview-next-new-or-immortal-item): Doc change.
414 (newsticker--treeview-first-feed): Doc change.
415 (newsticker-treeview-list-menu)
416 (newsticker-treeview-item-menu): Added menu entries.
417 (newsticker-treeview-item-mode): New.
419 * net/newst-backend.el (newsticker-customize): delete other
422 2009-12-04 Sam Steingold <sds@gnu.org>
424 * log-view.el (log-view-mode-map): "q" calls quit-window,
425 like in all the other non-self-insert buffers.
427 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
430 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
431 key decoding rather than do it manually via last-input-event +
433 (term-exec): Use delete-and-extract-region.
434 (term-handle-ansi-terminal-messages): Remove unused var `end'.
435 (term-process-pager): Remove unused var `i'.
436 (term-dynamic-simple-complete): Make obsolete.
437 (serial-update-config-menu): Remove unused vars `y' and `str'.
438 (term-update-mode-line): Remove unused var `temp'.
440 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
442 Limit the number of log entries displayed by default.
443 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
444 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
445 using a prefix argument.
447 2009-12-03 Glenn Morris <rgm@gnu.org>
449 * progmodes/idlwave.el (class): Restore still useful declaration.
451 2009-12-03 Alan Mackenzie <acm@muc.de>
453 Enhance `c-parse-state' to run efficiently in "brace deserts".
455 * progmodes/cc-mode.el (c-basic-common-init):
456 Call c-state-cache-init.
457 (c-neutralize-syntax-in-and-mark-CPP): Rename from
458 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
459 placing `category' properties value 'c-cpp-delimiter at its boundaries.
461 * progmodes/cc-langs.el (c-before-font-lock-function):
462 c-extend-and-neutralize-syntax-in-CPP has been renamed
463 c-neutralize-syntax-in-and-mark-CPP.
465 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
466 with `category' properties now, not `syntax-table' ones.
468 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
469 enhanced (but slower) version of c-end-of-macro that won't land
470 inside a literal or on another awkward character.
471 (c-state-cache-too-far, c-state-cache-start)
472 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
473 (c-state-nonlit-pos-cache-limit, c-state-point-min)
474 (c-state-point-min-lit-type, c-state-point-min-lit-start)
475 (c-state-min-scan-pos, c-state-brace-pair-desert)
476 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
477 buffer local variables.
478 (c-state-literal-at, c-state-lit-beg)
479 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
480 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
481 (c-state-cache-top-paren, c-state-cache-after-top-paren)
482 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
483 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
484 (c-renarrow-state-cache)
485 (c-append-lower-brace-pair-to-state-cache)
486 (c-state-push-any-brace-pair, c-append-to-state-cache)
487 (c-remove-stale-state-cache)
488 (c-remove-stale-state-cache-backwards, c-state-cache-init)
489 (c-invalidate-state-cache-1, c-parse-state-1)
490 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
491 (c-parse-state): Enhance and refactor.
492 (c-debug-parse-state): Amend to deal with all the new variables.
494 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
495 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
496 modify to use category text properties rather than syntax-table ones.
497 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
498 to switch off/on the syntactic paren property of C++ template
499 delimiters using the category property.
500 (c-with-<->-as-parens-suppressed): Macro to invoke code with
501 template delims suppressed.
502 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
503 New constant/macros which apply category properties to the start
504 and end of preprocessor constructs.
505 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
506 "comment out" the syntactic value of characters in preprocessor
508 (c-with-cpps-commented-out)
509 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
510 with characters in all or all but one preprocessor constructs
513 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
515 * proced.el (proced-filter-alist): Use regexp-quote.
517 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
520 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
521 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
522 arguments. Expand `default-directory'.
524 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
525 the benefit of returning an expanded localname.
526 (tramp-tramp-file-p): Handle the case NAME is not a string.
528 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
530 Add support for bzr shelve/unshelve.
531 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
532 (vc-bzr-extra-menu-map): New variables.
533 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
534 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
535 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
536 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
537 (vc-bzr-dir-extra-headers): Display shelves.
539 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
541 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
543 * textmodes/bibtex.el (bibtex-complete-internal):
544 Use completion-in-region.
545 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
547 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
549 Support applying stashes. Improve UI.
550 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
551 (vc-git-stash-apply, vc-git-stash-pop)
552 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
553 (vc-git-stash-menu): New functions.
554 (vc-git-stash-menu-map): New variable.
555 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
557 2009-12-03 Glenn Morris <rgm@gnu.org>
559 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
560 (vc-print-log-internal): Fix previous change.
561 (vc-revert): Correct pluralization.
563 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
565 * progmodes/make-mode.el (makefile-special-targets-list): No need for
566 it to be an alist any more.
567 (makefile-complete): Use completion-in-region.
569 * progmodes/octave-mod.el (octave-complete-symbol):
570 Use completion-in-region.
573 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
574 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
575 (idlwave-complete-class): Don't quote lambda.
576 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
577 (idlwave-mode-map): Move initialization into declaration.
578 (idlwave-action-and-binding): Use backquotes.
579 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
581 (idlwave-is-pointer-dereference): Remove unused var `pos'.
582 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
583 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
584 `parts', and `all-parts'.
585 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
586 (idlwave-convert-xml-system-routine-info): Remove unused string
588 (idlwave-display-user-catalog-widget): Use dolist.
589 (idlwave-scanning-lib): Declare dynamically-scoped var.
590 (idlwave-scan-library-catalogs): Remove unused var `flags'.
591 (completion-highlight-first-word-only): Declare to silence bytecomp.
592 (idlwave-popup-select): Tighten scope of `resp'.
593 (idlwave-find-struct-tag): Remove unused var `beg'.
594 (idlwave-after-load-rinfo-hook): Declare.
595 (idlwave-sintern-class-info): Remove unused var `taglist'.
596 (idlwave-find-class-definition): Remove unused var `list'.
597 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
598 (idlwave-what-module-find-class): Remove unused var `classes'.
600 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
602 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
604 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
606 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
607 buffers visited. Remove redundant current-buffer-saving.
609 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
611 Use completion-in-buffer and remove uses of dynamic scoping.
612 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
613 (pascal-buffer-to-use, pascal-flag): Don't declare.
614 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
615 (pascal-get-completion-decl, pascal-keyword-completion):
616 Add `pascal-str' argument, save-excursion,
617 return the found completions, and don't filter with pascal-pred.
618 (pascal-completion-cache): New var.
619 (pascal-completion): Don't switch buffer any more (it was never
620 necessary). Don't save-excursion any more (it's done by the called
621 subroutines). Use a cache to avoid redundant computations.
622 Use complete-with-action rather than pascal-completion-response and
623 let it apply the predicate as well.
624 (pascal-complete-word): Use completion-in-buffer when
625 pascal-toggle-completions is nil.
626 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
628 (pascal-comp-defun): Don't change buffer any more.
629 Use complete-with-action rather than pascal-completion-response and
630 let it apply the predicate as well.
631 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
634 2009-12-02 Kenichi Handa <handa@m17n.org>
636 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
637 shape for all Indic scripts.
639 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
641 Use completion-in-buffer.
642 * wid-edit.el (widget-field-text-end): New function.
643 (widget-field-value-get): Use it.
644 (widget-string-complete, widget-file-complete)
645 (widget-color-complete): Use it and completion-in-region.
646 (widget-complete): Don't narrow the buffer.
648 2009-12-02 Glenn Morris <rgm@gnu.org>
650 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
651 (rmail-select-summary): Use rmail-pop-to-buffer.
652 * mail/rmailsum.el: Replace all pop-to-buffer calls with
653 rmail-pop-to-buffer, to prevent horizontal splits.
655 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
656 save-excursion with save-current-buffer.
657 Widen before searching. (Bug#5093)
658 (diary-list-sexp-entries): Remove superfluous save-excursion.
660 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
662 * woman.el (woman-make-bufname): Handle man-pages with "." in the
665 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
667 * ido.el (ido-file-internal): Handle filenames at point that do
668 not have a directory part. (Bug#5049)
670 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
672 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
673 (mpc-songs-jump-to, mpc-resume): Doc fixes.
675 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
677 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
678 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
681 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
683 * comint.el (comint-insert-input): Ignore clicks to the right of
684 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
686 * vc.el (vc-print-log-internal): Don't wait for the process to
687 terminate before setting up the major mode.
689 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
692 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
695 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
697 2009-12-01 Glenn Morris <rgm@gnu.org>
699 * window.el (window--display-buffer-2): Fix previous changes.
701 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
703 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
705 2009-12-01 Glenn Morris <rgm@gnu.org>
707 * Makefile.in (ELCFILES): Add mpc.elc.
709 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
713 2009-12-01 Glenn Morris <rgm@gnu.org>
715 * window.el (window-to-use): Define for compiler.
717 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
718 consistent with others (no final period).
720 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
721 (rmail-mime-show): Downcase the encoding. (Bug#5070)
723 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
725 Make vc-print-log buttons work.
726 * log-view.el (log-view-mode-map): Inherit from from widget-keymap.
728 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
730 * savehist.el (savehist-autosave-interval): Allow setting to nil
731 through customize. (Bug#5056)
733 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
735 Fix references to jit-lock properties.
736 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
737 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
738 (perl-font-lock-special-syntactic-constructs):
739 Quote jit-lock-defer-multiline property.
741 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
743 * vc-git.el (vc-git-registered): Call vc-git-root only once.
745 2009-11-30 Juri Linkov <juri@jurta.org>
747 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
748 value `buffer' of `multi-isearch-next-buffer-current-function'.
749 Use `(current-buffer)' when `buffer' is nil.
750 (multi-isearch-next-buffer-from-list): Don't fallback to
751 `(current-buffer)' when `buffer' is nil. (Bug#4947)
753 2009-11-30 Juri Linkov <juri@jurta.org>
755 * misearch.el (multi-isearch-read-buffers): Move canonicalization
756 of buffers with `get-buffer' to `multi-isearch-buffers'.
757 (multi-isearch-buffers, multi-isearch-buffers-regexp):
758 Canonicalize BUFFERS with `get-buffer'. Doc fix.
759 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
760 FILES with `expand-file-name' converting relative file names
761 to absolute. Doc fix. (Bug#4727)
763 2009-11-30 Juri Linkov <juri@jurta.org>
765 * misearch.el (multi-isearch-read-buffers)
766 (multi-isearch-read-matching-buffers): New functions.
767 (multi-isearch-buffers, multi-isearch-buffers-regexp):
768 Use them in the `interactive' spec. Doc fix.
769 (multi-isearch-read-files, multi-isearch-read-matching-files):
771 (multi-isearch-files, multi-isearch-files-regexp):
772 Use them in the `interactive' spec. Doc fix. (Bug#4725)
774 2009-11-30 Juri Linkov <juri@jurta.org>
776 * doc-view.el (doc-view-continuous):
777 Rename from `doc-view-continuous-mode'.
778 (doc-view-menu): Move "Toggle display" to the top.
779 Add submenu "Continuous" with radio buttons "Off"/"On"
780 and "Save as Default".
781 (doc-view-scroll-up-or-next-page)
782 (doc-view-scroll-down-or-previous-page)
783 (doc-view-next-line-or-next-page)
784 (doc-view-previous-line-or-previous-page): Rename
785 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
787 2009-11-30 Juri Linkov <juri@jurta.org>
789 * comint.el (comint-mode-map): Rebind `M-r' from
790 `comint-previous-matching-input' to
791 `comint-history-isearch-backward-regexp'.
792 Unbind `M-s' to allow global key binding `M-s'.
793 Add menu items for `comint-history-isearch-backward' and
794 `comint-history-isearch-backward-regexp'. (Bug#3746)
796 2009-11-30 Juri Linkov <juri@jurta.org>
798 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
799 For def=recenter, replace `recenter' with `recenter-top-bottom'
800 that is called with `this-command' and `last-command' let-bound
801 to `recenter-top-bottom'. When the last `def' was not `recenter',
802 set `recenter-last-op' to nil. (Bug#4981)
804 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
806 Minor cleanup and simplification.
807 * filecache.el (file-cache-add-directory)
808 (file-cache-add-directory-recursively)
809 (file-cache-add-from-file-cache-buffer)
810 (file-cache-delete-file-regexp, file-cache-delete-directory)
811 (file-cache-files-matching-internal, file-cache-display): Use dolist.
812 (file-cache-temp-minibuffer-message): Delete function.
813 (file-cache-minibuffer-complete): Use minibuffer-message instead.
815 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
816 Don't signal an error when bumping into EOB in tr, s, or y.
818 2009-11-29 Juri Linkov <juri@jurta.org>
820 * startup.el (fancy-about-text): Fix wording of Guided Tour.
823 * descr-text.el (describe-char-unidata-list): Use lowercase name
824 for "Unicode name" like in other tags.
826 2009-11-29 Juri Linkov <juri@jurta.org>
828 * ediff-util.el (ediff-minibuffer-with-setup-hook):
829 New compatibility macro.
830 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
832 2009-11-29 Juri Linkov <juri@jurta.org>
834 Add defcustom to define the cycling order of `recenter-top-bottom'.
837 * window.el (recenter-last-op): Doc fix.
838 (recenter-positions): New defcustom.
839 (recenter-top-bottom): Rewrite to use `recenter-positions'.
840 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
842 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
844 Improve integration of Tramp and ange-ftp in eshell.
846 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
847 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
848 (eshell/sudo): Flatten args. Let-bind `default-directory'.
850 * eshell/esh-util.el (top): Require also Tramp when compiling.
851 (eshell-directory-files-and-attributes): Check for FTP remote
853 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
854 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
855 (eshell-file-attributes): Handle ".". Return `entry'.
857 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
858 (ange-ftp-directory-files-and-attributes)
859 (ange-ftp-real-directory-files-and-attributes): New defuns.
861 * net/tramp.el (tramp-maybe-open-connection): Open the remote
862 shell with "exec" when possible. This prevents trailing prompts
863 in `start-file-process'.
865 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
867 Try and remove assumptions about point-min==1.
868 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
869 (rng-compute-mode-line-string): Show the validation percentage in
870 terms of the narrowed text, not the widened text.
871 (rng-do-some-validation): Don't catch internal errors when debugging.
872 (rng-first-error): Simplify.
873 (rng-after-change-function): Remove work around. AFAIK the bug has
874 been fixed a while ago.
876 * image-mode.el (image-minor-mode): Exit more gracefully when the image
877 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
879 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
881 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
882 `cd' doesn't always do it for us (bug#5067).
884 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
885 on 2009-10-25 as part of some other change (bug#5067).
887 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
889 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
891 (byte-compile-warnings): Use byte-compile-warning-types.
892 (byte-compile-save-excursion): Warn about use of set-buffer right
893 after save-excursion.
895 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
896 the excursion as well.
898 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
900 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
901 providing a Tramp related implementation of "su" and "sudo".
902 (eshell-unix-initialize): Add "su" and "sudo".
904 2009-11-27 Daiki Ueno <ueno@unixuser.org>
906 * net/socks.el (socks-send-command): Convert binary request to
907 unibyte before sending. This fixes mishandling of some port
910 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
912 * help.el (describe-bindings-internal): Remove `interactive'.
914 * man.el (Man-completion-table): Trim a terminating "(".
915 Remove the space between name page a section.
916 Add the command's description on the `help-echo' property.
917 Remove `process-connection-type' binding since it's unused by
919 Provide completion for the "<section> <name>" format as well.
920 (Man-default-man-entry): Remove spurious var shadowing the argument.
922 2009-11-26 Kevin Ryde <user42@zip.com.au>
924 * log-view.el: Add "Keywords: tools", since its other keywords
925 aren't in finder-known-keywords, and following vc.el.
927 * sha1.el (sha1-string-external): default-directory "/" in case
928 otherwise non-existent. process-connection-type pipe for touch of
929 efficiency recommended by elisp manual. (An aside in Bug#3911.)
931 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
933 Misc coding convention cleanups.
934 * htmlfontify.el (hfy-init-kludge-hook): Rename from
935 hfy-init-kludge-hooks.
936 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
937 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
938 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
940 (hfy-slant, hfy-weight): Use tables rather than code.
941 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
942 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
943 (hfy-face-attr-for-class): Initialize `face-spec' directly.
944 (hfy-face-to-css): Remove `nconc' with single arg.
945 (hfy-p-to-face-lennart): Use `or'.
946 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
947 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
948 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
949 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
950 (hfy-force-fontification): Use run-hooks.
952 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
955 * htmlfontify.el (hfy-default-header): Add toggle_invis since
956 Javascript belongs in the header, not the body.
957 (hfy-javascript): Remove.
958 (hfy-fontify-buffer): Don't insert it any more.
959 (hfy-face-at): Handle (face0 face1 face2) style face properties.
960 Fix bug in invis handling when there were no invis props in a chunk.
962 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
964 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
966 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
968 * finder.el (finder-mode-map): Add a menu.
970 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
972 * verilog-mode.el (verilog-at-struct-p): Support "signed" and
975 (verilog-leap-to-head, verilog-backward-token): Handle "disable
976 fork" statement better.
978 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
980 * verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
981 (verilog-delete-empty-auto-pair, verilog-library-filenames):
982 Fix AUTOINSERTLISP to support insert-file. Reported by Clay Douglass.
984 (verilog-auto-inst, verilog-auto-star-safe)
985 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
986 Fix removing "// Interfaces" when saving .* expansions. Reported by
987 Pierre-David Pfister.
989 2009-11-26 Glenn Morris <rgm@gnu.org>
991 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
994 2009-11-25 Johan Bockgård <bojohan@gnu.org>
996 * vc-annotate.el (vc-annotate-revision-previous-to-line):
997 Really use previous revision.
999 2009-11-25 Kevin Ryde <user42@zip.com.au>
1001 * man.el (Man-completion-table): default-directory "/" in case
1002 doesn't otherwise exist. process-environment COLUMNS=999 so as
1003 not to truncate long names. process-connection-type pipe to avoid
1004 any chance of hitting the pseudo-tty TIOCGWINSZ.
1005 (man): completion-ignore-case t for friendliness and since man
1006 itself is case-insensitive on the command line.
1007 Further to Bug#3717.
1009 * arc-mode.el: Add "Keywords: files", so the details in its
1010 commentary can be reached from finder-by-keyword.
1011 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
1012 editing mode, but it's comms related and sgml-mode.el has "comm"
1014 * textmodes/bibtex-style.el: Add "Keywords: tex".
1015 * international/isearch-x.el, international/ja-dic-cnv.el:
1016 * international/ja-dic-utl.el, international/kkc.el:
1017 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
1019 2009-11-25 Juri Linkov <juri@jurta.org>
1021 * man.el (Man-completion-table): Modify regexp to include
1022 section names to completion strings. (Bug#3717)
1024 2009-11-25 Juri Linkov <juri@jurta.org>
1026 Search recursively in gzipped files. (Bug#4982)
1028 * progmodes/grep.el (grep-highlight-matches): Add new options
1029 `always' and `auto'. Doc fix.
1030 (grep-process-setup): Check `grep-highlight-matches' for
1031 `auto-detect' to determine the need to compute grep defaults.
1032 Move Windows/DOS specific --colors settings handling
1033 to `grep-compute-defaults'. Check `grep-highlight-matches'
1034 to get the value of "--color=".
1035 (grep-compute-defaults): Compute `grep-highlight-matches' when it
1036 has the value `auto-detect'. Move Windows/DOS specific settings
1037 from `grep-process-setup'.
1038 (zrgrep): New command with alias `rzgrep'.
1040 2009-11-25 Juri Linkov <juri@jurta.org>
1042 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
1043 to nil instead of switching off view-mode. (Bug#4896)
1045 2009-11-25 Juri Linkov <juri@jurta.org>
1047 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
1049 * mwheel.el (mwheel-scroll-up-function)
1050 (mwheel-scroll-down-function): New defvars.
1051 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
1052 `scroll-up', and `mwheel-scroll-down-function' instead of
1055 * doc-view.el (doc-view-scroll-up-or-next-page)
1056 (doc-view-scroll-down-or-previous-page): Add optional ARG.
1057 Use this ARG in the call to image-scroll-up/image-scroll-down.
1058 Change `interactive' spec to "P". Goto next/previous page only
1059 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
1060 SPC/DEL case). Doc fix.
1061 (doc-view-next-line-or-next-page)
1062 (doc-view-previous-line-or-previous-page): Rename arg to ARG
1064 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
1065 `doc-view-scroll-up-or-next-page', and buffer-local
1066 `mwheel-scroll-down-function' to
1067 `doc-view-scroll-down-or-previous-page'.
1069 2009-11-25 Juri Linkov <juri@jurta.org>
1071 Provide additional default values (directories at other Dired
1072 windows) via M-n in the minibuffer of some Dired commands.
1074 * dired-aux.el (dired-diff, dired-compare-directories)
1075 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
1076 `minibuffer-default' in `minibuffer-with-setup-hook'.
1077 (dired-dwim-target-directory): Find a window that displays Dired
1078 buffer instead of failing when the next window is not Dired.
1079 Use `get-window-with-predicate' to find for the next Dired window.
1080 (dired-dwim-target-defaults): New function.
1082 * ediff-util.el (ediff-read-file-name):
1083 Use `dired-dwim-target-defaults' to set `minibuffer-default'
1084 in `minibuffer-with-setup-hook'.
1086 2009-11-25 Juri Linkov <juri@jurta.org>
1088 Provide additional default values (file name at point or at the
1089 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
1091 * minibuffer.el (read-file-name-defaults): New function.
1092 (read-file-name): Reset `minibuffer-default' to nil when
1093 it duplicates initial input `insdef'.
1094 Bind `minibuffer-default-add-function' to lambda that
1095 calls `read-file-name-defaults' in `minibuffer-selected-window'.
1096 (minibuffer-insert-file-name-at-point): New command.
1098 * files.el (file-name-at-point-functions): New defcustom.
1099 (find-file-default): Remove defvar.
1100 (find-file-read-args): Don't use `find-file-default'.
1101 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1102 to `read-file-name'.
1103 (find-file-literally): Use `read-file-name' with
1104 `confirm-nonexistent-file-or-buffer'.
1106 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
1108 * dired.el (dired-read-dir-and-switches):
1109 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1110 to `read-file-name'.
1111 (dired-file-name-at-point): New function.
1112 (dired-mode): Add hook `dired-file-name-at-point' to
1113 `file-name-at-point-functions'.
1115 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1117 Really make the *Completions* window soft-dedicated (bug#5030).
1118 * window.el (window--display-buffer-2): Add `dedicated' argument.
1119 (display-buffer): Pass it when needed so the dedicated flag is set
1120 after calling set-window-buffer, which would otherwise reset it.
1122 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1124 * progmodes/meta-mode.el (meta-complete-symbol):
1125 * progmodes/etags.el (complete-tag):
1126 * mail/mailabbrev.el (mail-abbrev-complete-alias):
1127 Use completion-in-region.
1129 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
1130 (dabbrev-completion): Use completion-in-region.
1131 (dabbrev--abbrev-at-point): Simplify regexp.
1133 * abbrev.el (abbrev--before-point): Use word-motion functions
1134 if :regexp is not specified (bug#5031).
1136 * subr.el (string-prefix-p): New function.
1138 * man.el (Man-completion-cache): New var.
1139 (Man-completion-table): Use it.
1141 * vc.el (vc-print-log-internal): Make `limit' optional for better
1142 compatibility (e.g. with vc-annotate.el).
1144 2009-11-24 Kevin Ryde <user42@zip.com.au>
1146 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
1147 Build value with regexp-opt instead of explicit joining loop. (My
1150 * emacs-lisp/elint.el (elint-add-required-env): Better error message
1151 when .el source file not found or other error.
1153 2009-11-24 Markus Triska <markus.triska@gmx.at>
1155 * linum.el (linum-update-window): Ignore intangible (bug#4996).
1157 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1159 Handle the [back] button properly (bug#4979).
1160 * descr-text.el (describe-text-properties): Add a `buffer' argument.
1161 Use help-setup-xref, help-buffer, and with-help-window.
1162 (describe-char): Add `buffer' argument.
1163 Pass proper command to help-setup-xref. Don't meddle with
1164 help-xref-stack-item directly.
1165 (describe-text-category): Use with-help-window and help-buffer.
1167 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
1168 for the displayed buffer (bug#4887).
1170 * man.el (Man-completion-table): New function.
1173 2009-11-24 David Reitter <david.reitter@gmail.com>
1175 * vc-git.el (vc-git-registered): Use checkout directory (where
1176 .git is) rather than the file's directory and a relative path spec
1177 to work around a bug in git.
1179 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
1181 Improve handling of processes on remote hosts.
1183 * eshell/esh-util.el (eshell-path-env): New defvar.
1184 (eshell-parse-colon-path): New defun.
1185 (eshell-file-attributes): Use `eshell-parse-colon-path'.
1187 * eshell/esh-ext.el (eshell-search-path):
1188 Use `eshell-parse-colon-path'.
1189 (eshell-remote-command): Remove argument HANDLER.
1190 (eshell-external-command): Check for FTP remote connection.
1192 * eshell/esh-proc.el (eshell-gather-process-output):
1193 Use `file-truename', in order to start also symlinked files.
1194 Apply `start-file-process' instead of `start-process'.
1195 Shorten `command' to the local file name part.
1197 * eshell/em-cmpl.el (eshell-complete-commands-list):
1198 Use `eshell-parse-colon-path'.
1200 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
1202 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
1203 to `eshell-directory-change-hook'.
1205 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
1207 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
1208 because it could be enabled automatically if view-read-only is non-nil.
1210 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
1212 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
1215 2009-11-24 Glenn Morris <rgm@gnu.org>
1217 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
1218 deleted variable bookmark-bmenu-bookmark-column.
1220 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
1221 Move after definition of global-semantic-idle-tag-highlight-mode.
1223 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1225 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
1227 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
1229 * net/browse-url.el (browse-url-filename-alist): On Windows, add
1230 two slashes to the "file:" prefix.
1231 (browse-url-file-url): De-munge Cygwin filenames before passing
1232 them to Windows browser.
1233 (browse-url-default-windows-browser): Use call-process.
1235 2009-11-23 Juri Linkov <juri@jurta.org>
1237 Implement DocView Continuous mode. (Bug#4896)
1238 * doc-view.el (doc-view-continuous-mode): New defcustom.
1239 (doc-view-mode-map): Bind C-n/<down> to
1240 `doc-view-next-line-or-next-page', C-p/<up> to
1241 `doc-view-previous-line-or-previous-page'.
1242 (doc-view-next-line-or-next-page)
1243 (doc-view-previous-line-or-previous-page): New commands.
1245 2009-11-23 Juri Linkov <juri@jurta.org>
1247 Implement Isearch in comint input history. (Bug#3746)
1248 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
1249 `isearch-mode-hook'.
1250 (comint-history-isearch): New defcustom.
1251 (comint-history-isearch-backward)
1252 (comint-history-isearch-backward-regexp): New commands.
1253 (comint-history-isearch-message-overlay): New buffer-local variable.
1254 (comint-history-isearch-setup, comint-history-isearch-end)
1255 (comint-goto-input, comint-history-isearch-search)
1256 (comint-history-isearch-message, comint-history-isearch-wrap)
1257 (comint-history-isearch-push-state)
1258 (comint-history-isearch-pop-state): New functions.
1260 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
1262 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
1264 (tramp-handle-make-symbolic-link)
1265 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
1267 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
1268 (tramp-handle-process-file): Use it.
1270 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1272 * window.el (move-to-window-line-last-op): Remove.
1273 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
1275 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
1277 Make M-r mirror the new cycling behavior of C-l.
1278 * window.el (move-to-window-line-last-op): New var.
1279 (move-to-window-line-top-bottom): New command.
1280 (global-map): Bind M-r move-to-window-line-top-bottom.
1282 2009-11-23 Sven Joachim <svenjoac@gmx.de>
1284 * dired-x.el (dired-guess-shell-alist-default):
1285 Support xz format. (Bug#4953)
1287 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
1289 * cedet/srecode/map.el (srecode-get-maps):
1290 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
1291 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
1292 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
1293 (semantic-toggle-decoration-style):
1294 * cedet/semantic/decorate/include.el
1295 (semantic-decoration-include-describe)
1296 (semantic-decoration-unknown-include-describe)
1297 (semantic-decoration-unparsed-include-describe)
1298 (semantic-decoration-all-include-summary):
1299 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
1300 * cedet/semantic/analyze/complete.el
1301 (semantic-analyze-possible-completions):
1302 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
1303 (semantic-show-unmatched-syntax-mode)
1304 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
1305 (semantic-highlight-func-mode):
1306 * cedet/semantic/util.el (semantic-describe-buffer):
1307 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
1308 (semantic-symref-find-tags-by-name)
1309 (semantic-symref-find-tags-by-regexp)
1310 (semantic-symref-find-tags-by-completion)
1311 (semantic-symref-find-file-references-by-name)
1312 (semantic-symref-find-text):
1313 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
1315 * cedet/semantic/scope.el (semantic-calculate-scope):
1316 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1317 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
1318 (define-semantic-idle-service):
1319 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
1320 (semantic-complete-analyze-inline-idle):
1321 * cedet/semantic/analyze.el (semantic-analyze-current-context):
1322 * cedet/mode-local.el (describe-mode-local-bindings)
1323 (describe-mode-local-bindings-in-mode):
1324 * cedet/ede/make.el (ede-make-check-version):
1325 * cedet/ede/locate.el (ede-enable-locate-on-project):
1326 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
1327 (cedet-idutils-version-check):
1328 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
1329 (cedet-gnu-global-version-check):
1330 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
1331 (cedet-cscope-version-check): Use called-interactively-p instead
1334 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
1335 Use semantic-format-tag-prototype.
1337 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
1339 * emulation/viper-cmd.el: Use viper-last-command-char instead of
1340 last-command-char/last-command-event.
1341 (viper-prefix-arg-value): Do correct conversion of event-char for
1344 * emulation/viper-util.el, emulation/viper.el:
1345 Use viper-last-command-char instead of
1346 last-command-char/last-command-event.
1348 * ediff-init.el, ediff-mult.el, ediff-util.el:
1349 Replace last-command-char and last-command-event
1350 with (ediff-last-command-char) everywhere.
1352 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
1353 created in fundamental mode.
1355 * ediff.el (ediff-version): Revert the change of interactive-p to
1356 called-interactively-p.
1358 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
1360 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
1361 generation from word-movement command names.
1363 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
1365 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
1366 (semantic-complete-jump-local, semantic-complete-jump):
1367 Improve prompt string.
1369 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
1371 * cus-start.el (all): Add native condition for font-use-system-font.
1373 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
1375 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
1376 Correct the patch from 2009-11-18. (Bug#3910)
1378 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
1380 * progmodes/subword.el: Rename from lisp/subword.el.
1382 * subword.el: Rename to progmodes/subword.el.
1384 * Makefile.in (ELCFILES): Adapt to subword.el move.
1386 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1387 Stefan Monnier <monnier@iro.umontreal.ca>
1389 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
1390 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
1391 (bookmark-bmenu-show-filenames): Use push.
1392 (bookmark-bmenu-hide-filenames): Use local var instead of
1393 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
1394 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
1395 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
1396 filenames now that the bookmark names are always available.
1398 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1400 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
1401 (bookmark-search-pattern): Move and leave unbound.
1402 (bookmark-bmenu-mode-map): Change binding.
1403 (bookmark-read-search-input): Simplify.
1404 Don't use text-char-description. Don't error on non-char events.
1405 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
1406 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
1407 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
1408 Use a local var for the timer.
1409 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
1410 (i.e. bookmark-bmenu-search).
1412 2009-11-21 Glenn Morris <rgm@gnu.org>
1414 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
1416 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
1418 * net/browse-url.el (browse-url-default-windows-browser):
1419 Use cygstart for cygwin.
1421 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
1423 * bookmark.el: Formatting and doc fixes only:
1424 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
1425 (bookmark-bmenu-search): Wrap to fit within 80 columns.
1426 Minor grammar and punctuation fixes in doc string.
1427 (bookmark-read-search-input): Adjust to fit within 80 columns.
1429 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
1431 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1432 (c-backward-into-nomenclature): Adapt to subword renaming.
1434 * subword.el (subword-forward, subword-backward, subword-mark)
1435 (subword-kill, subword-backward-kill, subword-transpose)
1436 (subword-downcase, subword-upcase, subword-capitalize)
1437 (subword-forward-internal, subword-backward-internal):
1438 Rename from forward-subword, backward-subword, mark-subword,
1439 kill-subword, backward-kill-subword, transpose-subwords,
1440 downcase-subword, upcase-subword, capitalize-subword,
1441 forward-subword-internal, backward-subword-internal.
1443 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1445 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
1447 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
1449 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
1450 (bookmark-bmenu-filter-alist-by-regexp)
1451 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
1452 (bookmark-bmenu-search): New command.
1453 (bookmark-bmenu-mode-map): Bind it.
1455 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1457 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
1459 * cedet/semantic/idle.el (define-semantic-idle-service)
1460 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
1462 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
1464 * progmodes/cc-cmds.el: declare-functioned forward-subword and
1465 backward-subword to quit the byte-compiler.
1467 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
1469 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
1471 * progmodes/cc-cmds.el (c-update-modeline)
1472 (c-forward-into-nomenclature, c-backward-into-nomenclature):
1473 Refer to subword.el functions instead of cc-subword.el.
1475 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
1476 subword.el functions instead of cc-subword.el.
1478 * progmodes/cc-subword.el: Rename to subword.el.
1479 * subword.el: Rename from progmodes/cc-subword.el.
1480 (subword-mode-map): Rename from c-subword-mode-map.
1481 (subword-mode): Rename from c-subword-mode.
1482 (global-subword-mode): New global minor mode.
1483 (forward-subword): Rename from c-forward-subword.
1484 (backward-subword): Rename from c-backward-subword.
1485 (mark-subword): Rename from c-mark-subword.
1486 (kill-subword): Rename from c-kill-subword.
1487 (backward-kill-subword): Rename from c-backward-kill-subword.
1488 (transpose-subwords): Rename from c-tranpose-subword.
1489 (downcase-subword): Rename from c-downcase-subword.
1490 (capitalize-subword): Rename from c-capitalize-subword.
1491 (forward-subword-internal): Rename from c-forward-subword-internal.
1492 (backward-subword-internal): Rename from c-backward-subword-internal.
1494 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
1496 * vc.el (vc-deduce-fileset): Allow non-state changing operations
1497 from a dired buffer.
1498 (vc-dired-deduce-fileset): New function.
1499 (vc-root-diff, vc-print-root-log): Use it.
1501 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
1502 nil LIMIT argument to vc-print-log-internal.
1504 2009-11-20 Glenn Morris <rgm@gnu.org>
1506 * Makefile.in (ELCFILES): Regenerate.
1508 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1510 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
1512 * cedet/semantic.el: Enable idle-mode menu items only if
1513 global-semantic-idle-scheduler-mode is enabled.
1514 (semantic-default-submodes): Doc fix.
1516 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
1517 When turning off, disable other idle modes.
1519 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
1521 * calc/calc.el (calc-set-mode-line):
1522 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1523 (math-format-number): Rename `math-format-complement-signed' to
1524 `math-format-twos-complement'.
1526 * calc/calc-bin.el (math-format-twos-complement): Rename from
1527 math-format-complement-signed.
1528 (calc-radix): Rename `calc-complement-signed-mode' to
1529 `calc-twos-complement-mode'.
1530 (calc-octal-radix, calc-hex-radix): Add an argument for
1533 * calc/calc-embed.el (calc-embedded-mode-vars):
1534 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1536 * calc/calc-ext.el (calc-init-extensions):
1537 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1538 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
1540 * calc/calc-units.el (math-build-units-table-buffer):
1541 Let `calc-twos-complement-mode' be nil.
1543 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
1546 * calc/calc-vec.el (calcFunc-vunpack):
1547 * calc/calc-aent.el (calc-do-calc-eval):
1548 * calc/calc-forms.el (math-format-date):
1549 * calc/calc-graph.el (calc-graph-plot):
1550 * calc/calc-math.el (math-use-emacs-fn):
1551 * calc/calccomp.el (math-compose-expr):
1552 Let `calc-twos-complement-mode' be nil.
1554 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1556 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
1557 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
1558 * minibuffer.el (completion-in-region-functions): New hook.
1559 (completion-in-region): New function.
1560 * emacs-lisp/lisp.el (lisp-complete-symbol):
1561 * pcomplete.el (pcomplete-std-complete): Use it.
1563 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1565 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
1566 (latex-complete-alist): New vars.
1567 (latex-string-prefix-p, latex-complete-bibtex-keys)
1568 (latex-complete-envnames, latex-complete-refkeys)
1569 (latex-complete-data): New functions.
1570 (latex-complete, latex-indent-or-complete): New commands.
1572 * window.el (display-buffer-mark-dedicated): New var.
1573 (display-buffer): Obey it.
1574 * minibuffer.el (minibuffer-completion-help): Use it.
1576 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
1578 * filecache.el (file-cache-add-file): Use push and cons.
1579 (file-cache-delete-file-regexp): Use push.
1580 (file-cache-complete): Use completion-in-region.
1582 * simple.el (with-wrapper-hook): Fix thinko.
1584 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
1585 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
1586 Use with-current-buffer and string-to-number.
1587 (hfy-fallback-colour-values): Use assoc-string.
1588 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
1589 (hfy-face-at): Remove unused var `found-face'.
1590 (hfy-compile-stylesheet): Remove unused var `css'.
1591 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
1593 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
1594 Use with-current-buffer.
1595 (hfy-text-p): Use expand-file-name and fewer setq.
1597 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
1599 * htmlfontify.el, hfy-cmap.el: New files.
1601 2009-11-19 Juri Linkov <juri@jurta.org>
1603 * minibuffer.el (completions-format): New defcustom.
1604 (completion--insert-strings): Implement vertical format.
1606 * simple.el (switch-to-completions): Move point to the first
1607 completion when point was at the beginning of the buffer.
1609 2009-11-19 Juri Linkov <juri@jurta.org>
1611 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
1613 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
1615 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
1617 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
1618 (mail-signature): Change default to t.
1619 (mail-from-style): Deprecate `system-default' value.
1620 (mail-insert-from-field): For default value of mail-from-style,
1621 default to `angles' unless `angles' needs quoting and `parens'
1623 (mail-citation-prefix-regexp): Use citation regexp from
1626 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
1628 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
1629 Set variables for computing the prompt for reading password.
1631 2009-11-19 Glenn Morris <rgm@gnu.org>
1633 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
1635 * textmodes/flyspell.el (sgml-lexical-context): Declare.
1637 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
1638 (newsticker-treeview-listwindow-height): Fix custom type.
1640 2009-11-19 Kenichi Handa <handa@m17n.org>
1642 * descr-text.el (describe-char-padded-string): Compose with TAB
1643 only if there's a font for CH.
1644 (describe-char): Fix the condition for detecting a trivial composition.
1646 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
1648 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
1649 more accurate version of the regexp. (Bug#3910)
1651 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
1653 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
1655 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
1657 * font-setting.el (font-use-system-font): Declare for byte-compiler.
1658 (font-setting-change-default-font): Fix typo in docstring.
1660 2009-11-18 Alan Mackenzie <acm@muc.de>
1662 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
1664 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
1666 * font-setting.el (font-use-system-font): Move ...
1668 * cus-start.el (all): ... to here.
1670 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
1672 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
1673 Don't set `ad-return-value' if `ad-do-it' doesn't.
1675 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
1678 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
1680 * menu-bar.el: Put "Use system font" in Option-menu.
1681 (menu-bar-options-save): Add font-use-system-font.
1683 * loadup.el: If feature system-font-setting or font-render-setting is
1684 there, load font-setting.
1686 * Makefile.in (ELCFILES): Add font-settings.el.
1687 * font-setting.el: New file.
1689 2009-11-17 Glenn Morris <rgm@gnu.org>
1691 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
1693 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
1694 Preserve point in the list buffer. (Bug#4939)
1696 (newsticker--treeview-list-update-highlight)
1697 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
1699 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
1701 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
1704 * calc/calc-ext.el (calc-init-extensions): Remove references to
1707 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
1709 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
1710 * calc/calc-help.el (calc-b-prefix-help): Remove references to
1713 2009-11-16 Kevin Ryde <user42@zip.com.au>
1715 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
1716 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
1718 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
1719 (lm-keywords-list): Allow comma-only separator like "foo,bar".
1720 Ignore trailing spaces by omit-nulls to split-string (fixing
1721 regression from Emacs 21 due to the incompatible split-string
1722 change). (Bug #4928.)
1724 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
1726 * vc.el (vc-log-show-limit): Default to 2000.
1727 (vc-print-log-internal): Insert buttons to request more entries
1728 when limiting the output.
1730 * vc-sccs.el (vc-sccs-print-log):
1731 * vc-rcs.el (vc-rcs-print-log):
1732 * vc-cvs.el (vc-cvs-print-log):
1733 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
1736 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
1738 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
1739 error when `tramp-gvfs-dbus-event-vector' is set.
1740 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
1742 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1744 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
1746 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
1748 * net/dbus.el (dbus-unregister-service): New defun.
1749 (dbus-register-property): Register the handlers of
1750 "org.freedesktop.DBus.Properties" for SERVICE.
1751 (dbus-property-handler): Fix docstring.
1753 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1755 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
1756 Quote doc string reference in defvaralias as it is not in special form.
1757 (byte-compile-output-docform): Doc fix.
1759 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
1761 * calc/calc.el (math-2-word-size, math-half-2-word-size)
1762 (calc-complement-signed-mode): New variables.
1763 (calc-set-mode-line): Add indicator for twos-complements.
1764 (math-format-number): Format twos-complement notation.
1766 * calc/calc-bin.el (calc-word-size): Reset the variables
1767 `math-2-word-size' and `math-half-2-word-size'.
1768 (math-format-complement-signed, math-symclip, calcFunc-symclip)
1769 (calc-symclip): New functions.
1771 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
1773 * calc/calc-embed.el (calc-embedded-mode-vars):
1774 Add `calc-complement-signed-mode' to the list of modes.
1776 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
1777 (calc-b-oper-keys): Add `calc-symclip' to list.
1779 * calc/calc-ext.el (math-read-number-fancy): Read complement
1781 (calc-init-extensions): Add binding for `calc-symclip'.
1782 Add autoload for `calcFunc-symclip' and `calc-symclip'.
1784 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
1786 (calc-modes-menu): Add item for twos complement mode.
1788 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
1790 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
1792 * register.el (jump-to-register, insert-register): Handle Semantic
1793 tags. From commented-out advice in semantic/senator.el.
1795 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
1797 * vc.el (vc-log-show-limit): New variable.
1798 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
1799 when using a prefix argument.
1800 (vc-print-log-internal): Add new argument LIMIT.
1802 * vc-svn.el (vc-svn-print-log):
1803 * vc-mtn.el (vc-mtn-print-log):
1804 * vc-hg.el (vc-hg-print-log):
1805 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
1806 pass it to the log command when set. Make the BUFFER argument
1809 * vc-sccs.el (vc-sccs-print-log):
1810 * vc-rcs.el (vc-rcs-print-log):
1811 * vc-git.el (vc-git-print-log):
1812 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
1813 ignore it. Make the BUFFER argument non-optional
1815 * bindings.el (mode-line-buffer-identification): Do not purecopy.
1817 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
1819 * dired.el (dired-mode-map): Move encryption items to "Operate"
1822 * strokes.el (strokes-update-window-configuration): Make strokes
1823 buffer current before erasing (Bug#4906).
1825 * cedet/semantic/idle.el (semantic-idle-summary-mode)
1826 (semantic-idle-summary-mode): Define using define-minor-mode
1827 instead of define-semantic-idle-service.
1828 (semantic-idle-summary-mode): New function.
1829 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
1830 that mouse motion does not reset the echo area.
1832 2009-11-15 Juri Linkov <juri@jurta.org>
1834 * simple.el (set-mark-default-inactive): Add :type, :group
1835 and :version. (Bug#4876)
1837 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
1839 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
1840 (archive-unique-fname): ... here. (Bug#4929)
1842 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1844 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
1847 * novice.el (disabled-command-function): Add useful args.
1848 Setup the help buffer so that [back] works.
1849 Remove redundant call to help-mode.
1850 (disabled-command-function): Use `case'.
1851 (en/disable-command): New function extracted from enable-command.
1852 (enable-command, disable-command): Use it.
1854 2009-11-14 Glenn Morris <rgm@gnu.org>
1856 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
1857 constants. (Bug#4913)
1859 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
1861 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1863 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
1864 defined in C that have no doc-strings. (Bug#1063)
1866 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
1868 * cus-edit.el (data, files):
1869 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
1871 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
1873 * simple.el (shell-command): Doc fix (Bug#4891).
1875 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
1877 2009-11-14 Glenn Morris <rgm@gnu.org>
1879 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
1880 statements for vc-diff, emerge-quit, and rmail-cease-edit.
1881 If they are already loaded, eval-after-load will do the right thing.
1883 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
1886 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
1888 * simple.el (x-selection-owner-p): Declare.
1889 (read-mail-command): Use custom radio type rather than choice.
1890 (completion-no-auto-exit): Doc fix.
1892 * custom.el (defgroup):
1893 * epg-config.el (epg): Doc fixes.
1895 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
1897 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
1898 * international/ccl.el (define-ccl-program): Do not purecopy the
1899 docstring, defconst does it anyway.
1901 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1903 * add-log.el (add-change-log-entry): Avoid displaying the changelog
1906 * x-dnd.el (x-dnd-maybe-call-test-function):
1907 * window.el (split-window-vertically):
1908 * whitespace.el (whitespace-help-on):
1909 * vc-rcs.el (vc-rcs-consult-headers):
1910 * userlock.el (ask-user-about-lock-help)
1911 (ask-user-about-supersession-help):
1912 * type-break.el (type-break-force-mode-line-update):
1913 * time-stamp.el (time-stamp-conv-warn):
1914 * terminal.el (te-set-output-log, te-more-break, te-filter)
1915 (te-sentinel,terminal-emulator):
1916 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
1917 (term-write-input-ring, term-check-source, term-start-output-log):
1918 (term-display-buffer-line, term-dynamic-list-completions):
1919 (term-ansi-make-term, serial-term):
1920 * subr.el (selective-display):
1921 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1922 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
1923 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
1924 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
1925 (speedbar-remove-localized-speedbar-support)
1926 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
1927 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
1928 (speedbar-buffers-line-directory):
1929 * simple.el (shell-command-on-region, append-to-buffer)
1930 (prepend-to-buffer):
1931 * shadowfile.el (shadow-save-todo-file):
1932 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
1933 (scroll-bar-maybe-set-window-start):
1934 * sb-image.el (speedbar-image-dump):
1935 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
1936 (load-save-place-alist-from-file):
1937 * ps-samp.el (ps-print-message-from-summary):
1938 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
1939 (ps-background-image, ps-begin-job, ps-do-despool):
1940 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
1941 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
1942 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
1943 (pr-call-process, pr-file-list, pr-interface-save):
1944 * novice.el (disabled-command-function)
1945 (enable-command, disable-command):
1946 * mouse.el (mouse-buffer-menu-alist):
1947 * mouse-copy.el (mouse-kill-preserving-secondary):
1948 * macros.el (kbd-macro-query):
1949 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
1950 * informat.el (batch-info-validate):
1951 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
1952 * hippie-exp.el (try-expand-dabbrev-visible):
1953 * help-mode.el (help-make-xrefs):
1954 * help-fns.el (describe-variable):
1955 * generic-x.el (bat-generic-mode-run-as-comint):
1956 * finder.el (finder-mouse-select):
1957 * find-dired.el (find-dired-sentinel):
1958 * filesets.el (filesets-file-close):
1959 * files.el (list-directory):
1960 * faces.el (list-faces-display, describe-face):
1961 * facemenu.el (list-colors-display):
1962 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
1963 * epg.el (epg--process-filter, epg-cancel):
1964 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
1965 (epa--read-signature-type):
1966 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
1967 (emerge-file-names):
1968 * ehelp.el (electric-helpify):
1969 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
1970 * ediff-vers.el (rcs-ediff-view-revision):
1971 * ediff-util.el (ediff-setup):
1972 * ediff-mult.el (ediff-append-custom-diff):
1973 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
1975 * echistory.el (Electric-command-history-redo-expression):
1976 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1977 * disp-table.el (describe-display-table):
1978 * dired.el (dired-find-buffer-nocreate):
1979 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
1980 * dabbrev.el (dabbrev--same-major-mode-p):
1981 * chistory.el (list-command-history):
1982 * apropos.el (apropos-documentation):
1983 * allout.el (allout-obtain-passphrase):
1984 (allout-copy-exposed-to-buffer):
1985 (allout-verify-passphrase): Use with-current-buffer.
1987 2009-11-13 Glenn Morris <rgm@gnu.org>
1989 * Makefile.in (ELCFILES): Regenerate.
1991 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
1993 * net/dbus.el (dbus-registered-objects-table): Rename from
1994 `dbus-registered-functions-table', because it contains also properties.
1995 (dbus-unregister-object): Unregister also properties.
1996 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1997 Use a timeout of 500 msec, in order to not block.
1998 (dbus-register-property, dbus-property-handler): New defuns.
2000 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2002 * simple.el (minibuffer-default-add-completions): Drop deprecated
2005 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
2007 * textmodes/artist.el (artist-mouse-choose-operation):
2008 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
2009 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
2010 (artist-compute-up-event-key): New function.
2011 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
2013 2009-11-13 Kenichi Handa <handa@m17n.org>
2015 * language/japan-util.el: Make sure that the value of jisx0208
2016 property is jisx0208 character.
2018 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
2020 * international/mule.el (auto-coding-regexp-alist): Only purecopy
2021 car or each item, not the whole list.
2023 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2025 * minibuffer.el (minibuffer-completion-help):
2026 Use minibuffer-hide-completions.
2028 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
2030 * dired.el (dired-save-positions, dired-restore-positions): New funs.
2031 (dired-revert): Use them (bug#4880).
2033 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2035 * tooltip.el (tooltip-frame-parameters): Undo previous change.
2037 2009-11-12 Juri Linkov <juri@jurta.org>
2039 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
2041 (find-file-literally-at-point): Alias of `ffap-literally'.
2043 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2045 * textmodes/ispell.el (ispell-skip-region-alist):
2046 * textmodes/css-mode.el (auto-mode-alist):
2047 * progmodes/compile.el (auto-mode-alist):
2048 * international/mule.el (ctext-non-standard-encodings-alist)
2049 (ctext-non-standard-encodings-regexp):
2050 * simple.el (shell-command-switch, text-read-only):
2051 * replace.el (occur-mode-map):
2052 * paths.el (rmail-file-name):
2053 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
2054 * find-file.el (ff-special-constructs):
2055 * files.el (file-name-handler-alist):
2056 * composite.el: Purecopy strings.
2058 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
2060 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2062 * widget.el (define-widget): Purecopy the docstring.
2063 * international/mule-cmds.el (charset): Do not purecopy the
2064 docstring here, define-widget does it.
2066 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
2067 * textmodes/bibtex-style.el (auto-mode-alist):
2068 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2069 * progmodes/compile.el (compile-command):
2070 * language/korea-util.el (default-korean-keyboard):
2071 * international/mule-conf.el (file-coding-system-alist):
2072 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
2073 * tooltip.el (tooltip-frame-parameters):
2074 * newcomment.el (comment-end, comment-padding):
2075 * dired.el (dired-trivial-filenames):
2076 * comint.el (comint-file-name-prefix): Purecopy initial values.
2078 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
2080 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
2081 (tramp-advice-minibuffer-electric-tilde): Unload advices via
2083 (tramp-advice-make-auto-save-file-name)
2084 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
2085 after removing the advice.
2087 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2089 * progmodes/grep.el (grep-regexp-alist):
2090 * international/mule-cmds.el (iso-2022-control-alist):
2091 * emacs-lisp/timer.el (timer-duration-words):
2092 * subr.el (version-separator, version-regexp-alist):
2093 * minibuffer.el (completion-styles-alist):
2094 * faces.el (face-attribute-name-alist, list-faces-sample-text):
2095 Change defvars to defconsts.
2097 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
2098 * loadup.el ("international/mule-conf"): Load the byte compiled version.
2099 * international/mule-conf.el: Allow to be byte compiled.
2101 * international/mule.el (define-charset): Purecopy props.
2102 (load-with-code-conversion): Purecopy doc string and file name.
2103 (put-charset-property): Purecopy strings.
2104 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
2106 * international/mule-cmds.el (register-input-method): Purecopy arguments.
2107 (define-char-code-property): Correctly purecopy the table.
2109 * international/ccl.el (define-ccl-program): Purecopy the docstring.
2111 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
2113 * subr.el (add-hook): Purecopy strings.
2114 (eval-after-load): Purecopy load-history-regexp and the form.
2116 * custom.el (custom-declare-group): Purecopy load-file-name.
2118 * subr.el (menu-bar-separator): New defconst.
2119 * net/eudc.el (eudc-tools-menu):
2120 * international/mule-cmds.el (set-coding-system-map)
2122 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2123 * vc-hooks.el (vc-menu-map):
2124 * replace.el (occur-mode-map):
2125 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
2126 (menu-bar-edit-menu, menu-bar-goto-menu)
2127 (menu-bar-custom-menu, menu-bar-showhide-menu)
2128 (menu-bar-options-menu, menu-bar-tools-menu)
2129 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
2130 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2131 (menu-bar-help-menu):
2132 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
2133 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
2135 * term/x-win.el (x-gtk-stock-map):
2136 * progmodes/vera-mode.el (auto-mode-alist):
2137 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2138 (inferior-lisp-program, inferior-lisp-load-command):
2139 * progmodes/hideshow.el (hs-special-modes-alist):
2140 * progmodes/gud.el (same-window-regexps):
2141 * progmodes/grep.el (grep-program, find-program, xargs-program):
2142 * net/telnet.el (same-window-regexps):
2143 * net/rlogin.el (same-window-regexps):
2144 * language/ethiopic.el (font-ccl-encoder-alist):
2145 * vc-sccs.el (vc-sccs-master-templates):
2146 * vc-rcs.el (vc-rcs-master-templates):
2147 * subr.el (cl-assertion-failed):
2148 * simple.el (next-error-overlay-arrow-position):
2149 * lpr.el (lpr-command):
2150 * locate.el (locate-ls-subdir-switches):
2151 * info.el (same-window-regexps, info)
2152 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
2153 * image-mode.el (image-mode, auto-mode-alist):
2154 * hippie-exp.el (hippie-expand-ignore-buffers):
2155 * format.el (format-alist):
2156 * find-dired.el (find-ls-subdir-switches, find-grep-options)
2158 * facemenu.el (facemenu-keybindings):
2159 * dired.el (dired-listing-switches, dired-chown-program):
2160 * diff.el (diff-switches, diff-command):
2161 * cus-edit.el (same-window-regexps):
2162 * bindings.el (mode-line-mule-info)
2163 (mode-line-buffer-identification): Purecopy strings.
2165 2009-11-11 Juri Linkov <juri@jurta.org>
2167 * simple.el (dired-get-filename)<declare-function>:
2168 Tell the byte-compiler about dired-get-filename.
2169 (shell-command): In Dired mode, get filename from the current line
2170 as the default value.
2172 2009-11-10 Glenn Morris <rgm@gnu.org>
2174 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
2175 * calendar/holidays.el, progmodes/cperl-mode.el:
2176 Update x-popup-menu declarations.
2178 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
2179 (list-load-path-shadows): Use dolist.
2180 (list-load-path-shadows): Use with-current-buffer.
2182 2009-11-10 Juri Linkov <juri@jurta.org>
2184 * minibuffer.el (read-file-name): Support a list of default values
2185 in `default-filename'. Use the first file name where only one
2186 element is required. Doc fix.
2188 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
2190 * net/dbus.el (dbus-unregister-object): Release service, if no
2191 other method is registered for it.
2193 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
2195 * bookmark.el (bookmark-completing-read): Sort bookmark names if
2196 bookmark-sort-flag is non-nil (Bug#4653).
2198 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2200 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
2201 the progress reporter entirely.
2203 * emulation/cua-base.el: Add CUA property to some CC mode commands
2206 2009-11-08 Kevin Ryde <user42@zip.com.au>
2208 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
2209 at end of sentence (Bug#4818).
2211 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
2213 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2214 Handle "see declaration of" MSFT statements (Bug#4100).
2216 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
2218 * net/tramp.el (tramp-advice-make-auto-save-file-name)
2219 (tramp-advice-file-expand-wildcards): Unload via
2222 * net/trampver.el: Update release number.
2224 2009-11-08 Kevin Ryde <user42@zip.com.au>
2226 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
2229 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
2231 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
2232 in order to keep context in SELinux.
2234 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2236 * dired-aux.el (dired-query): Place cursor in echo area and allow
2239 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
2240 menu item if not on a directory (Bug#4701).
2242 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
2244 Sync with Tramp 2.1.17.
2246 * net/tramp.el (tramp-handle-copy-directory): Don't use
2247 `file-remote-p' (due to compatibility).
2249 * net/tramp-compat.el (tramp-compat-copy-directory)
2250 (tramp-compat-delete-directory): New defuns.
2252 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
2253 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
2254 `tramp-compat-delete-directory'.
2256 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2257 (tramp-smb-handle-delete-directory ): Use
2258 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
2260 * net/trampver.el: Update release number.
2262 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
2264 * tar-mode.el (tar-copy): Call write-region on the right buffer
2267 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
2268 by hand, if necessary (Bug#4878).
2270 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
2272 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
2273 align size column (Bug#4839).
2275 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
2278 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
2280 * progmodes/ld-script.el (auto-mode-alist):
2281 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
2283 * cus-face.el (custom-declare-face): Purecopy face spec.
2285 2009-11-06 Kenichi Handa <handa@m17n.org>
2287 * international/uni-bidi.el: Re-generated.
2288 * international/uni-category.el: Re-generated.
2289 * international/uni-combining.el: Re-generated.
2290 * international/uni-mirrored.el: Re-generated.
2292 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
2294 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
2295 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
2296 (tex-start-options, slitex-run-command, latex-run-command)
2297 (tex-run-command, tex-directory):
2298 * textmodes/ispell.el (ispell-html-skip-alists)
2299 (ispell-tex-skip-alists, ispell-tex-skip-alists):
2300 * textmodes/fill.el (adaptive-fill-first-line-regexp):
2301 (adaptive-fill-regexp):
2302 * textmodes/dns-mode.el (auto-mode-alist):
2303 * progmodes/python.el (interpreter-mode-alist):
2304 * progmodes/etags.el (tags-compression-info-list):
2305 * progmodes/etags.el (tags-file-name):
2306 * net/browse-url.el (browse-url-galeon-program)
2307 (browse-url-firefox-program):
2308 * mail/sendmail.el (mail-signature-file)
2309 (mail-citation-prefix-regexp):
2310 * international/mule-conf.el (eight-bit):
2311 * international/latexenc.el (latex-inputenc-coding-alist):
2312 * international/fontset.el (x-pixel-size-width-font-regexp):
2313 * emacs-lisp/warnings.el (warning-type-format):
2314 * emacs-lisp/trace.el (trace-buffer):
2315 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
2316 (emacs-lisp-mode-map):
2317 * calendar/holidays.el (holiday-solar-holidays)
2318 (holiday-bahai-holidays, holiday-islamic-holidays)
2319 (holiday-christian-holidays, holiday-hebrew-holidays)
2320 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
2321 (hebrew-holidays-1, holiday-oriental-holidays)
2322 (holiday-general-holidays):
2323 * x-dnd.el (x-dnd-known-types):
2324 * tool-bar.el (tool-bar):
2325 * startup.el (site-run-file):
2326 * shell.el (shell-dumb-shell-regexp):
2327 * rfn-eshadow.el (file-name-shadow-tty-properties)
2328 (file-name-shadow-properties):
2329 * paths.el (remote-shell-program, news-directory):
2330 * mouse.el ([C-down-mouse-3]):
2331 * menu-bar.el (menu-bar-tools-menu):
2332 * jka-cmpr-hook.el (jka-compr-load-suffixes)
2333 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
2334 (jka-compr-compression-info-list):
2335 * isearch.el (search-whitespace-regexp):
2336 * image-file.el (image-file-name-extensions):
2337 * find-dired.el (find-ls-option):
2338 * files.el (directory-listing-before-filename-regexp)
2339 (directory-free-space-args, insert-directory-program)
2340 (list-directory-brief-switches, magic-fallback-mode-alist)
2341 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
2342 (automount-dir-prefix):
2343 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
2344 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
2345 (face-font-registry-alternatives, face-font-registry-alternatives)
2346 (face-font-family-alternatives):
2347 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
2348 (facemenu-foreground-menu, facemenu-face-menu):
2349 * epa-hook.el (epa-file-name-regexp):
2350 * dnd.el (dnd-protocol-alist):
2351 * textmodes/rst.el (auto-mode-alist):
2352 * button.el (default-button): Purecopy strings.
2354 2009-11-06 Glenn Morris <rgm@gnu.org>
2356 * Makefile.in (ELCFILES): Update.
2358 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2360 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
2361 * emacs-lisp/levents.el: Move to obsolete/levents.el.
2363 * nxml/xsd-regexp.el (xsdre-gen-categories):
2364 * nxml/xmltok.el (xmltok-parse-entity):
2365 * nxml/rng-parse.el (rng-parse-validate-file):
2366 * nxml/rng-maint.el (rng-format-manual)
2367 (rng-manual-output-force-new-line):
2368 * nxml/rng-loc.el (rng-save-schema-location-1):
2369 * nxml/rng-cmpct.el (rng-c-parse-file):
2370 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2371 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
2373 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
2375 * verilog-mode.el (verilog-getopt-file, verilog-set-define):
2376 Remove extra save-excursions and make-variable-buffer-local's.
2377 Suggested by Stefan Monnier.
2379 (verilog-getopt-file, verilog-module-inside-filename-p)
2380 (verilog-set-define): Merge GNU 1.35 and repair changes from
2381 switching to using with-current-buffer.
2383 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
2384 being treated as a number and confusing AUTORESET.
2385 Reported by Dan Dever.
2387 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
2388 Add verilog-auto-ignore-concat to fix backward compatibility with
2389 older verilog-modes. Reported by Dan Katz.
2391 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
2392 containing closing anchors "...$".
2394 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
2395 Reported by Wade Smith.
2397 (verilog-batch-execute-func) Comment on function usage.
2399 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
2401 * verilog-mode.el (verilog-label-re): Fix regular expression for
2404 (verilog-label-re, verilog-calc-1): Support proper indent of named
2407 (verilog-backward-token, verilog-basic-complete-re)
2408 (verilog-beg-of-statement, verilog-indent-re): Support proper
2409 indent of the assert statement at the beginning of a block of text.
2411 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
2412 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
2415 2009-11-05 Glenn Morris <rgm@gnu.org>
2417 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
2418 Emacs 19. (Bug#1531)
2419 (byte-compile-fix-header): Update for the above change.
2420 Drop test for epoch::version.
2422 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
2423 * cus-dep.el (custom-make-dependencies):
2424 * finder.el (finder-compile-keywords):
2425 Use autoload-rubric's feature argument.
2427 * calendar/diary-lib.el (top-level): Make load behave more like require.
2429 * vc-git.el (vc-git-stash-map): Move definition before use.
2431 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
2433 * custom.el (custom-declare-group): Purecopy standard-value.
2434 (custom-declare-group): Purecopy custom-prefix.
2436 * international/mule.el (load-with-code-conversion):
2437 Call do-after-load-evaluation unconditionally.
2439 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
2441 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2443 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
2445 2009-11-04 Glenn Morris <rgm@gnu.org>
2447 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
2448 (byte-compile-compatibility): Remove option.
2449 (byte-compile-close-variables, byte-compile-fix-header)
2450 (byte-compile-insert-header, byte-compile-output-docform)
2451 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
2452 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
2453 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
2454 (byte-compile-insert, byte-compile-defun):
2455 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
2456 (byte-defop-compiler19): Remove.
2457 Without byte-compile-compatibility, the 'emacs19-opcode property is not
2458 used by anything. Replace all calls with byte-defop-compiler.
2460 2009-11-04 Juri Linkov <juri@jurta.org>
2462 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
2463 (menu-bar-options-menu): Don't quote the `prop' arg of
2464 `menu-bar-make-mm-toggle'.
2466 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
2468 * calendar/calendar.el (cal-loaddefs):
2469 * calendar/diary-lib.el (diary-loaddefs):
2470 * calendar/holidays.el (hol-loaddefs):
2471 * eshell/esh-module.el (esh-groups): Load rather than require.
2473 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2475 * calendar/todo-mode.el (todo-add-category): Don't hardcode
2477 (todo-top-priorities): Only display-buffer when called interactively.
2478 (todo-item-start): Don't save excursion point.
2479 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
2480 (todo-insert-item-here, todo-file-item, todo-remove-item):
2481 Adjust uses of todo-item-start and todo-item-end.
2483 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
2484 (autoload-rubric): Don't use any more.
2485 * cedet/semantic/fw.el (semantic/loaddefs):
2486 * cedet/srecode.el (srecode/loaddefs):
2487 * cedet/ede.el (ede/loaddefs): Load rather than require.
2488 * cedet/ede/cpp-root.el:
2489 * cedet/ede/emacs.el:
2490 * cedet/ede/files.el:
2491 * cedet/ede/linux.el:
2492 * cedet/ede/locate.el:
2493 * cedet/ede/make.el:
2494 * cedet/ede/shell.el:
2495 * cedet/ede/speedbar.el:
2496 * cedet/ede/system.el:
2497 * cedet/ede/util.el:
2498 * cedet/semantic/analyze.el:
2499 * cedet/semantic/bovine.el:
2500 * cedet/semantic/complete.el:
2501 * cedet/semantic/ctxt.el:
2502 * cedet/semantic/db-file.el:
2503 * cedet/semantic/db-find.el:
2504 * cedet/semantic/db-global.el:
2505 * cedet/semantic/db-mode.el:
2506 * cedet/semantic/db-typecache.el:
2507 * cedet/semantic/db.el:
2508 * cedet/semantic/debug.el:
2509 * cedet/semantic/dep.el:
2510 * cedet/semantic/doc.el:
2511 * cedet/semantic/edit.el:
2512 * cedet/semantic/find.el:
2513 * cedet/semantic/format.el:
2514 * cedet/semantic/html.el:
2515 * cedet/semantic/ia-sb.el:
2516 * cedet/semantic/ia.el:
2517 * cedet/semantic/idle.el:
2518 * cedet/semantic/lex-spp.el:
2519 * cedet/semantic/lex.el:
2520 * cedet/semantic/mru-bookmark.el:
2521 * cedet/semantic/scope.el:
2522 * cedet/semantic/senator.el:
2523 * cedet/semantic/sort.el:
2524 * cedet/semantic/symref.el:
2525 * cedet/semantic/tag-file.el:
2526 * cedet/semantic/tag-ls.el:
2527 * cedet/semantic/tag-write.el:
2528 * cedet/semantic/tag.el:
2529 * cedet/semantic/util-modes.el:
2530 * cedet/semantic/analyze/complete.el:
2531 * cedet/semantic/analyze/refs.el:
2532 * cedet/semantic/bovine/c.el:
2533 * cedet/semantic/bovine/gcc.el:
2534 * cedet/semantic/bovine/make.el:
2535 * cedet/semantic/bovine/scm.el:
2536 * cedet/semantic/decorate/include.el:
2537 * cedet/semantic/decorate/mode.el:
2538 * cedet/semantic/symref/cscope.el:
2539 * cedet/semantic/symref/global.el:
2540 * cedet/semantic/symref/grep.el:
2541 * cedet/semantic/symref/idutils.el:
2542 * cedet/semantic/symref/list.el:
2543 * cedet/semantic/wisent/java-tags.el:
2544 * cedet/semantic/wisent/javascript.el:
2545 * cedet/srecode/compile.el:
2546 * cedet/srecode/cpp.el:
2547 * cedet/srecode/document.el:
2548 * cedet/srecode/el.el:
2549 * cedet/srecode/expandproto.el:
2550 * cedet/srecode/getset.el:
2551 * cedet/srecode/insert.el:
2552 * cedet/srecode/java.el:
2553 * cedet/srecode/map.el:
2554 * cedet/srecode/mode.el:
2555 * cedet/srecode/template.el:
2556 * cedet/srecode/texi.el: Remove the file-local setting of
2557 generated-autoload-feature.
2559 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
2560 and only put a prop if it is non-nil.
2562 2009-11-03 Juri Linkov <juri@jurta.org>
2564 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
2565 (menu-bar-options-menu): Fix list quoting (Bug#4429).
2567 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
2568 and "Menu" to make top-level menu item visually one unit (like
2569 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
2570 multi-word menu items). Fix :help string for quit-window.
2572 2009-11-03 Glenn Morris <rgm@gnu.org>
2574 * cedet/mode-local.el (with-mode-local): Doc fix.
2576 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2577 (byte-compile-file-form-define-abbrev-table)
2578 (byte-compile-file-form-custom-declare-variable)
2579 (byte-compile-variable-ref, byte-compile-defvar):
2580 Whether or not a warning is enabled should only affect whether we issue
2581 the warning, not whether or not we collect the relevant data.
2582 Eg warnings can be turned on and off throughout the course of a file.
2584 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
2585 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
2587 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2589 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
2590 * play/mpuz.el (mpuz-create-buffer):
2591 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
2592 (lm-print-y,s,noise, lm-print-w0, lm-init):
2593 * play/gomoku.el (gomoku-prompt-for-move):
2594 * play/fortune.el (fortune-in-buffer):
2595 * play/dissociate.el (dissociated-press):
2596 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
2597 (decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
2598 * mail/supercite.el (sc-eref-show):
2599 * mail/smtpmail.el (smtpmail-send-it):
2600 * mail/rmailsum.el (rmail-summary-next-labeled-message)
2601 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
2602 (rmail-summary-undelete-many, rmail-summary-rmail-update)
2603 (rmail-summary-goto-msg, rmail-summary-expunge)
2604 (rmail-summary-get-new-mail, rmail-summary-search-backward)
2605 (rmail-summary-add-label, rmail-summary-output-menu)
2606 (rmail-summary-output-body):
2607 * mail/rfc822.el (rfc822-addresses):
2608 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
2609 * mail/mailpost.el (post-mail-send-it):
2610 * mail/hashcash.el (hashcash-generate-payment):
2611 * mail/feedmail.el (feedmail-run-the-queue)
2612 (feedmail-queue-send-edit-prompt-help-first)
2613 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
2614 (feedmail-deduce-address-list):
2615 * eshell/esh-ext.el (eshell-remote-command):
2616 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
2617 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
2618 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
2619 (viper-save-string-in-file, viper-valid-marker):
2620 * emulation/viper-keym.el (viper-toggle-key):
2621 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
2622 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
2623 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
2624 * emulation/viper-cmd.el (viper-exec-form-in-vi)
2625 (viper-exec-form-in-emacs, viper-brac-function):
2626 * emulation/viper.el (viper-delocalize-var):
2627 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
2628 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
2629 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
2630 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
2631 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
2632 * emulation/edt.el (edt-electric-helpify):
2633 * emulation/cua-rect.el (cua--rectangle-aux-replace):
2634 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
2635 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
2636 (cua-indent-to-global-mark-column):
2637 * calendar/diary-lib.el (calendar-mark-1):
2638 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
2639 Use with-current-buffer.
2640 * emulation/viper.el (viper-delocalize-var): Use dolist.
2642 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
2644 * comint.el (comint-replace-by-expanded-history-before-point):
2645 Replace !! with the previous input string literally (Bug#1795).
2647 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
2649 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
2650 to be made up of whitespace.
2652 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
2654 * minibuffer.el (read-file-name): Don't use file dialogs for
2655 remote directories (Bug#99).
2657 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
2659 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
2661 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
2663 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
2664 instead of deleting the window or frame.
2666 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2668 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
2669 Support face colors.
2671 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
2672 New function. Support face colors (Bug#1168).
2673 (tex-common-initialization): Use it.
2675 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
2676 mode allows it (Bug#1168).
2678 2009-10-31 Juri Linkov <juri@jurta.org>
2680 * facemenu.el (list-colors-display): Don't mark buffer as
2681 modified (Bug#3948).
2683 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2685 * international/mule-diag.el (list-character-sets-1): Minor
2686 message fix (Bug#3526).
2688 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
2689 face property (Bug#4834).
2690 (etags-list-tags, etags-tags-apropos-additional)
2691 (etags-tags-apropos, tags-select-tags-table): Add follow-link
2694 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
2697 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2700 * cedet/ede.el (ede-minor-mode):
2701 * cedet/semantic.el (semantic-mode): Toggle menu separators.
2703 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2705 * textmodes/two-column.el (2C-split):
2706 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
2707 * textmodes/tex-mode.el (tex-set-buffer-directory):
2708 * textmodes/spell.el (spell-region, spell-string):
2709 * textmodes/reftex.el (reftex-erase-buffer):
2710 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
2711 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2712 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
2713 (reftex-select-item):
2714 * textmodes/reftex-ref.el (reftex-label-info-update)
2715 (reftex-offer-label-menu):
2716 * textmodes/reftex-index.el (reftex-index-change-entry)
2717 (reftex-index-phrases-info):
2718 * textmodes/reftex-global.el (reftex-create-tags-file)
2719 (reftex-save-all-document-buffers, reftex-ensure-write-access):
2720 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
2721 (reftex-view-crossref-from-bibtex):
2722 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
2723 (reftex-extract-bib-entries-from-thebibliography)
2724 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
2725 * textmodes/refbib.el (r2b-capitalize-title):
2726 (r2b-convert-buffer, r2b-help):
2727 * textmodes/page-ext.el (pages-directory)
2728 (pages-directory-goto-with-mouse):
2729 * textmodes/bibtex.el (bibtex-validate-globally):
2730 * textmodes/bib-mode.el (bib-capitalize-title):
2731 * textmodes/artist.el (artist-clear-buffer, artist-system):
2732 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
2733 (local-set-scheme-interaction-buffer, xscheme-process-filter)
2734 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
2735 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
2736 (xscheme-send-control-g-interrupt, xscheme-start-process)
2737 (xscheme-process-sentinel, xscheme-cd):
2738 * progmodes/verilog-mode.el (verilog-read-always-signals)
2739 (verilog-set-define, verilog-getopt-file)
2740 (verilog-module-inside-filename-p):
2741 * progmodes/sh-script.el:
2742 * progmodes/python.el (python-pdbtrack-get-source-buffer)
2743 (python-pdbtrack-grub-for-buffer, python-execute-file):
2744 * progmodes/octave-inf.el (inferior-octave):
2745 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
2746 (idlwave-shell-compile-helper-routines, idlwave-set-local)
2747 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
2748 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
2749 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
2750 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
2751 (idlwave-shell-filter, idlwave-shell-examine-highlight)
2752 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
2753 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
2754 (idlwave-shell-examine-display, idlwave-shell-run-region)
2755 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
2756 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
2757 * progmodes/idlw-help.el (idlwave-help-get-special-help)
2758 (idlwave-help-get-help-buffer):
2759 * progmodes/gud.el (gud-basic-call, gud-find-class)
2760 (gud-tooltip-activate-mouse-motions-if-enabled):
2761 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2762 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
2763 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
2764 (ebrowse-tags-next-file):
2765 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
2766 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
2767 (ebnf-eps-finish-and-write):
2768 * progmodes/cpp.el (cpp-edit-save):
2769 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
2770 * progmodes/cc-defs.el (c-emacs-features):
2771 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
2772 (antlr-directory-dependencies):
2773 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
2774 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
2775 (ada-find-any-references, ada-make-filename-from-adaname)
2776 (ada-make-body-gnatstub):
2777 * obsolete/rnews.el (news-list-news-groups):
2778 * obsolete/resume.el (resume-suspend-hook,resume-write-buffer-to-file):
2779 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
2780 * net/rcirc.el (rcirc-debug):
2781 * net/newst-treeview.el (newsticker--treeview-list-add-item)
2782 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
2783 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
2784 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
2785 (newsticker--treeview-tree-update-tag,newsticker--treeview-buffer-init)
2786 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
2787 (newsticker--treeview-list-clear-highlight)
2788 (newsticker--treeview-list-update-highlight)
2789 (newsticker--treeview-list-highlight-start)
2790 (newsticker--treeview-tree-update-highlight)
2791 (newsticker--treeview-get-selected-item)
2792 (newsticker-treeview-mark-list-items-old)
2793 (newsticker--treeview-set-current-node):
2794 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2795 * net/newst-backend.el (newsticker--get-news-by-funcall)
2796 (newsticker--get-news-by-wget, newsticker--image-get)
2797 (newsticker--image-sentinel):
2798 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
2799 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
2800 (eudc-ph-close-session):
2801 * net/eudc.el (eudc-save-options):
2802 * language/thai-word.el (thai-update-word-table):
2803 * language/japan-util.el (japanese-string-conversion):
2804 * international/titdic-cnv.el (tsang-quick-converter)
2805 (ziranma-converter, ctlau-converter):
2806 * international/mule-cmds.el (describe-language-environment):
2807 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
2808 (skkdic-convert-postfix, skkdic-convert-prefix):
2809 (skkdic-convert-okuri-nasi, skkdic-convert):
2810 * emacs-lisp/re-builder.el (reb-update-overlays):
2811 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
2812 * emacs-lisp/gulp.el (gulp-send-requests):
2813 * emacs-lisp/find-gc.el (trace-call-tree):
2814 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
2815 (eieio-describe-generic):
2816 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2817 * emacs-lisp/edebug.el (edebug-outside-excursion):
2818 * emacs-lisp/debug.el (debugger-make-xrefs):
2819 * emacs-lisp/cust-print.el (custom-prin1-to-string):
2820 * emacs-lisp/chart.el (chart-new-buffer):
2821 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
2822 Use with-current-buffer.
2823 * textmodes/artist.el (artist-system): Don't call
2824 copy-sequence on a fresh string.
2825 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
2827 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
2829 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
2830 is no item to edit. (Bug#4820)
2831 (todo-top-priorities): Restore point and restore narrowing in Todo
2834 2009-10-31 Glenn Morris <rgm@gnu.org>
2836 * net/ange-ftp.el (top-level): Don't require dired when compiling.
2837 (comint-last-output-start, comint-last-input-start)
2838 (comint-last-input-end): Don't defvar when compiling.
2839 (ange-ftp-process-file): Use bound-and-true-p.
2841 * pcmpl-rpm.el (top-level): Move provide statement to end.
2842 (pcmpl-rpm): Remove unused custom group.
2844 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
2846 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
2848 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
2849 (byte-compile-warnings): Add `constants' as an option.
2850 (byte-compile-callargs-warn, byte-compile-arglist-warn)
2851 (display-call-tree): Update for byte-compile-fdefinition possibly
2852 returning `(macro lambda ...)'. (Bug#4778)
2853 (byte-compile-variable-ref, byte-compile-setq-default):
2854 Respect `constants' member of byte-compile-warnings.
2856 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
2857 Use mapc rather than mapcar because the return value is never used.
2859 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
2860 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
2861 * cedet/semantic/html.el:
2862 Suppress harmless warnings about setting up semantic-imenu (not
2863 part of Emacs) variables.
2865 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2867 * vc-bzr.el (vc-bzr-revision-keywords): New var.
2868 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
2871 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
2872 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2873 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
2874 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
2875 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
2876 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2877 (semantic-analyzer-debug-global-symbol)
2878 (semantic-analyzer-debug-missing-innertype)
2879 (semantic-analyzer-debug-insert-include-summary):
2880 * cedet/semantic/util.el (semantic-file-tag-table):
2881 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2882 (semantic-recursive-find-nonterminal-by-name):
2883 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2884 * cedet/semantic/tag-file.el (semantic-prototype-file):
2885 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
2886 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
2887 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2888 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
2889 (semantic-idle-summary-maybe-highlight):
2890 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
2891 (semantic-ia-sb-tag-info):
2892 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
2893 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
2894 * cedet/semantic/ede-grammar.el (project-compile-target):
2895 (ede-proj-makefile-insert-variables):
2896 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
2897 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2898 (semantic-debug-mode, semantic-debug):
2899 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
2900 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2901 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
2902 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
2903 (semanticdb-find-translate-path-includes--internal)
2904 (semanticdb-reset-log, semanticdb-find-log-activity):
2905 * cedet/semantic/db-file.el (object-write):
2906 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
2907 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2908 (semanticdb-create-ebrowse-database):
2909 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
2910 * cedet/semantic/complete.el (semantic-displayor-focus-request)
2911 (semantic-collector-calculate-completions-raw)
2912 (semantic-complete-read-tag-analyzer):
2913 * cedet/semantic/analyze.el (semantic-analyze-pulse):
2914 * cedet/ede/util.el (ede-update-version-in-source):
2915 * cedet/ede/proj.el (project-delete-target):
2916 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
2917 (ede-proj-flush-autoconf):
2918 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
2919 (ede-proj-configure-synchronize):
2920 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
2921 * cedet/ede/linux.el (ede-linux-version):
2922 * cedet/ede/emacs.el (ede-emacs-version):
2923 * cedet/ede/dired.el (ede-dired-add-to-target):
2924 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
2925 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2926 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2927 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
2928 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2929 (cedet-idutils-version-check):
2930 * cedet/cedet-global.el (cedet-gnu-global-call):
2931 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2932 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2933 * cedet/cedet-cscope.el (cedet-cscope-call)
2934 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2935 Use with-current-buffer.
2936 * cedet/ede.el (ede-make-project-local-variable)
2937 (ede-set-project-variables, ede-set): Use dolist.
2939 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
2941 * textmodes/ispell.el (ispell-skip-region-alist):
2942 * international/mule-conf.el (eight-bit):
2943 * international/fontset.el (font-encoding-alist):
2944 * startup.el (pure-space-overflow-message):
2945 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
2946 * paths.el (gnus-nntp-service, rmail-spool-directory)
2948 * files.el (save-some-buffers-action-alist):
2949 * cmuscheme.el (same-window-buffer-names):
2950 * ielm.el (same-window-buffer-names):
2951 * shell.el (same-window-buffer-names):
2952 * mail/sendmail.el (same-window-buffer-names):
2953 * progmodes/inf-lisp.el (same-window-buffer-names):
2954 * bindings.el (mode-line-client)
2955 (mode-line-column-line-number-mode-map):
2956 * language/tibetan.el (tibetan-precomposition-rule-regexp)
2957 (tibetan-precomposed-regexp): Purecopy string arguments.
2959 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2961 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
2962 (calcDigit-nondigit):
2963 * calc/calc-yank.el (calc-copy-to-buffer):
2964 * calc/calc-units.el (calc-invalidate-units-table):
2965 * calc/calc-trail.el (calc-trail-yank):
2966 * calc/calc-store.el (calc-insert-variables):
2967 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
2968 * calc/calc-prog.el (calc-read-parse-table):
2969 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
2970 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
2971 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
2972 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
2973 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
2974 (calc-graph-name, calc-graph-find-command, calc-graph-view)
2975 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
2976 * calc/calc-ext.el (calc-realign):
2977 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
2978 (calc-embedded-finish-edit, calc-embedded-make-info)
2979 (calc-embedded-finish-command, calc-embedded-stack-change):
2980 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
2982 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
2983 (overload-docstring-extension): Use that info.
2984 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2985 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
2986 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
2987 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2988 (semantic-nonterminal-full-name): Add the new `when' info.
2989 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
2992 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
2993 shell-dynamic-complete-filename in preference to
2994 comint-dynamic-complete-filename.
2996 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
2997 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2998 Don't consider whether the display supports colors.
2999 (bookmark-import-new-list): Use dolist.
3000 (bookmark-bmenu-mode-map): Move initialization into declaration.
3001 (bookmark-bmenu-list): Use dolist, simplify.
3002 (bookmark-show-all-annotations): Use save-selected-window and dolist.
3003 (menu-bar-final-items): Use push.
3005 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
3007 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
3008 it works on remote files.
3009 (vc-hg-diff): Don't pass any `--cwd' argument.
3011 2009-10-27 Kevin Ryde <user42@zip.com.au>
3013 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3014 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
3015 (Further to Bug#3921).
3017 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
3019 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
3020 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
3021 calling `tramp-imap-put-file'. Add file size to the call.
3022 (tramp-imap-get-file-entries): Compute also user name, file size,
3024 (tramp-imap-handle-insert-directory): Insert uid and gid.
3025 (tramp-imap-handle-file-attributes): Transform uid and gid
3026 according to `id-format'.
3027 (tramp-imap-put-file): New optional parameter SIZE. Encode file
3028 size in header X-Size.
3030 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
3032 * simple.el (transpose-subr): Give clearer error when the mark
3033 is not set. (Bug#4807)
3035 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
3037 * net/tramp.el (tramp-perl-file-truename): New defconst.
3038 Perl code contributed by yary <not.com@gmail.com> (tiny change).
3039 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
3040 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
3041 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
3043 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3044 Ignore `dired-call-process'.
3045 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
3047 2009-10-26 Julian Scheid <julians37@gmail.com>
3049 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
3050 (tramp-get-remote-readlink): New defun.
3051 (tramp-handle-file-truename): Use it.
3052 (tramp-handle-file-exists-p): Check file-attributes cache, assume
3053 file exists if cache value present.
3054 (tramp-check-cached-permissions) New defun.
3055 (tramp-handle-file-readable-p): Use it.
3056 (tramp-handle-file-writable-p): Likewise.
3057 (tramp-handle-file-executable-p): Likewise.
3058 (tramp-handle-file-name-all-completions): Try using Perl to get
3059 partial completions. When perl not available, combine `cd' and
3060 `ls' into single remote operation and use shell expansion to get
3061 partial remote directory contents. Set `file-exists-p' cache for
3062 directory and any files returned by ls. Change cache handling to
3063 support partial directory contents. Use error message emitted by
3064 remote `cd' or Perl code for local tramp-error.
3065 (tramp-do-copy-or-rename-file-directly): Avoid separate
3066 tramp-send-command-and-check call.
3067 (tramp-handle-process-file): Merge three remote ops into one.
3068 Do not flush all caches when `process-file-side-effects' is set.
3069 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
3070 file-attributes shows uid/gid to be set already.
3072 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
3074 * textmodes/tex-mode.el (tex-dvi-view-command)
3075 (tex-show-queue-command, tex-open-quote):
3076 * progmodes/ruby-mode.el (auto-mode-alist)
3077 (interpreter-mode-alist): Purecopy strings.
3079 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
3081 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
3082 string for the hook, keymap and abbrev table.
3084 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
3086 * x-dnd.el (x-dnd-xdnd-to-action):
3087 * startup.el (fancy-startup-text, fancy-about-text): Change to
3088 defconst from defvar.
3090 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
3092 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
3093 Purecopy initialization strings.
3095 * mail/sendmail.el (mail-header-separator)
3096 (mail-personal-alias-file):
3097 * mail/rmail.el (rmail-default-dont-reply-to-names)
3098 (rmail-ignored-headers, rmail-retry-ignored-headers)
3099 (rmail-highlighted-headers, rmail-secondary-file-directory)
3100 (rmail-secondary-file-regexp):
3101 * files.el (null-device, file-name-invalid-regexp)
3102 (locate-dominating-stop-dir-regexp)
3103 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
3104 (interpreter-mode-alist): Use mapcar instead of mapc.
3106 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
3108 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
3109 (completion-ignored-extensions):
3110 (debug-ignored-errors): Purecopy strings.
3112 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3114 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
3115 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
3116 (pcomplete--here): Use push.
3118 * subr.el (all-completions): Declare the 4th arg obsolete.
3120 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3122 * pcomplete.el (pcomplete-unquote-argument-function): New var.
3123 (pcomplete-unquote-argument): New function.
3124 (pcomplete--common-suffix): Always pay attention to case.
3125 (pcomplete--table-subvert): Quote and unquote the text.
3126 (pcomplete--common-quoted-suffix): New function.
3127 (pcomplete-std-complete): Use it and pcomplete-begin.
3129 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
3130 we're inside a dedicated or minibuffer window.
3132 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3134 * cedet/semantic/fw.el (semantic-alias-obsolete)
3135 (semantic-varalias-obsolete): Make the `when' arg mandatory.
3136 (define-mode-overload-implementation):
3137 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
3138 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
3139 * cedet/semantic/util.el (semantic-file-token-stream)
3140 (semantic-something-to-stream):
3141 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
3142 (semantic-expand-nonterminal):
3143 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
3144 (semantic-find-dependency, semantic-find-nonterminal)
3145 (semantic-find-dependency):
3146 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
3147 (semantic-flex-text, semantic-flex-make-keyword-table)
3148 (semantic-flex-keyword-p, semantic-flex-keyword-put)
3149 (semantic-flex-keyword-get, semantic-flex-map-keywords)
3150 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
3151 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
3152 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
3153 (semantic-after-idle-scheduler-reparse-hooks):
3154 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
3155 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
3156 * cedet/semantic.el (semantic-toplevel-bovine-table)
3157 (semantic-toplevel-bovine-cache)
3158 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
3159 (semantic-init-mode-hooks, semantic-init-db-hooks)
3160 (semantic-bovination-working-type): Provide the `when' arg.
3162 2009-10-24 Karl Fogel <kfogel@red-bean.com>
3164 * bookmark.el: Update documentation, especially documentation
3165 of `bookmark-alist' and of the bookmark file format.
3166 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
3168 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
3170 * mail/emacsbug.el (report-emacs-bug): Clarify that the
3171 keybindings apply to the mail buffer (Bug#4003). Shrink help
3174 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3175 (global-whitespace-mode, global-whitespace-newline-mode)
3176 (whitespace-toggle-options, global-whitespace-toggle-options):
3179 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
3180 of xmltok-start before the end tag was inserted (Bug#2840).
3182 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
3183 patterns that are preceded by an open-paren (Bug#1320).
3185 2009-10-24 Sven Joachim <svenjoac@gmx.de>
3187 * files.el (delete-directory): Delete symlinks to directories with
3188 delete-file (Bug#4739).
3190 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
3192 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
3193 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
3194 argument to make-obsolete.
3196 * cedet/semantic/fw.el (semantic-alias-obsolete)
3197 (semantic-varalias-obsolete): Add optional WHEN argument.
3199 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
3201 * vc.el (vc-backend-for-registration): Rename from
3202 vc-get-backend-for-registration. Update callers.
3204 * international/mule-cmds.el (set-language-info-alist):
3206 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
3207 (charset): Purecopy the name.
3208 (define-char-code-property): Purecopy string arguments.
3210 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3211 Purecopy string arguments.
3213 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3214 * ediff-hook.el (menu-bar-ediff-menu):
3215 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
3216 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
3218 2009-10-24 Glenn Morris <rgm@gnu.org>
3220 * comint.el (comint-dynamic-list-completions):
3221 * term.el (term-dynamic-list-completions): Use choose-completion rather
3222 than obsolete alias mouse-choose-completion.
3224 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
3225 file-cache-choose-completion.
3226 (file-cache-choose-completion): Handle an optional event argument.
3227 (file-cache-mouse-choose-completion): Make it an obsolete alias.
3229 * progmodes/octave-mod.el (octave-complete-symbol):
3230 Use choose-completion if mouse-choose-completion is ever removed.
3232 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
3235 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
3238 * vc-hooks.el (vc-responsible-backend): Fix declaration.
3240 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3242 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
3243 Ignore `pred' now that we receive one.
3244 Handle test-completion specially.
3246 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
3248 * vc.el (vc-responsible-backend): Throw an error if not backend is
3249 found. Remove the REGISTER argument. Move the code dealing with
3251 (vc-get-backend-for-registration): ... here. New function.
3252 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
3253 of vc-responsible-backend, pass the file name instead of the
3256 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3258 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
3260 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
3261 (pcomplete-comint-setup): Don't modify a global var via
3262 accidental side-effects.
3263 (pcomplete-shell-setup): Adjust call accordingly.
3264 (pcomplete-parse-comint-arguments): Use push.
3266 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
3268 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3269 Allow uncapitalized info node names (Bug#3921).
3271 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
3272 to the DEBUG file (Bug#3781).
3274 2009-10-23 Jari Aalto <jari.aalto@cante.net>
3276 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
3277 dictionary entry (Bug#4579).
3279 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
3281 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
3282 from `rfn-eshadow-update-overlay-hook' when unloading.
3283 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
3284 "rsyncc". Adjust doc string.
3285 (tramp-temp-buffer-file-name) New buffer-local defvar.
3286 (tramp-handle-insert-file-contents, tramp-handle-write-region):
3287 Keep temporary file when indicated by method ("rsync" and
3289 (tramp-handle-write-region): Handle APPEND.
3290 (tramp-delete-temp-file-function): New defun. Added to
3293 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
3295 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
3297 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
3299 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
3300 (color-name-rgb-alist, tty-standard-colors)
3301 (tty-color-mode-alist): Change to defconst.
3303 * simple.el (mark-inactive): Purecopy message.
3305 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
3306 (global-map, yank-menu):
3307 * textmodes/ispell.el (ispell-menu-map):
3308 * net/eudc.el (eudc-tools-menu):
3309 * international/mule-cmds.el (describe-language-environment-map)
3310 (setup-language-environment-map, set-coding-system-map)
3312 * vc-hooks.el (vc-menu-entry, vc-menu-map):
3313 * replace.el (occur-mode-map):
3314 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
3316 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
3318 * calc/calc.el (math-read-number, math-read-number-simple): Use
3321 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3323 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
3324 rather than fiddling with global-map bindings, since it should only
3325 affect per-terminal settings.
3326 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
3328 * minibuffer.el (completion-table-with-terminator): Allow to specify
3329 the terminator-regexp.
3331 * simple.el (switch-to-completions): Look for *Completions* in other
3334 * pcomplete.el: Allow the use of completion-tables.
3335 (pcomplete-std-complete): New command.
3336 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
3337 (pcomplete--here): Use a function for `form' rather than an expression,
3338 so it can be byte-compiled.
3339 (pcomplete-here, pcomplete-here*): Adjust accordingly.
3340 Add edebug declaration.
3341 (pcomplete-show-completions): Remove unused var `curbuf'.
3342 (pcomplete-do-complete, pcomplete-stub):
3343 Don't assume `completions' is a list of strings any more.
3345 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
3347 * find-dired.el (find-name-arg): Fix typo in docstring.
3349 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3351 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
3352 (pcmpl-linux-fs-types): Same, and update to new modules layout.
3354 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
3357 * comint.el (comint-read-input-ring, comint-write-input-ring)
3358 (comint-substitute-in-file-name)
3359 (comint-dynamic-complete-as-filename)
3360 (comint-dynamic-simple-complete)
3361 (comint-dynamic-list-filename-completions)
3362 (comint-dynamic-list-completions)
3363 (comint-redirect-results-list-from-process): Minor simplifications.
3365 2009-10-21 Kevin Ryde <user42@zip.com.au>
3367 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
3368 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
3369 the first form. And insert a blank line after ";;; Code" since
3370 that's usual style. (My Bug#4612.)
3372 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
3374 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3376 * minibuffer.el (completion-table-with-terminator): Properly implement
3377 boundaries, in case `terminator' appears in the suffix.
3378 (completion--embedded-envvar-table): Don't return boundaries if
3379 there's no valid completion. Simplify.
3380 (completion-file-name-table): New completion table extracted from
3381 completion--file-name-table.
3382 (completion--file-name-table): Use it.
3383 (read-file-name-predicate): Declare obsolete.
3384 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
3385 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
3386 completion-file-name-table, and use the `pred' argument.
3387 * files.el (locate-file-completion-table): Use the `pred' arg rather
3388 than read-file-name-predicate.
3389 (abbreviate-file-name): Use \` rather than ^ for BOS.
3391 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
3393 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
3394 vc-responsible-backend to register, it causes problems.
3396 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3398 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
3400 2009-10-21 Eric Ludlam <zappo@gnu.org>
3402 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
3403 (semantic-c-debug-mode-init-pch): New functions.
3404 (semantic-c-debug-mode-init-last-mode): New var.
3405 (semantic-c-parse-lexical-token): Use them.
3407 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
3408 When extracting the argument list, limit only by point-max.
3410 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
3412 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
3413 (tramp-smb-handle-file-attributes): Use it.
3414 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
3415 (tramp-smb-handle-insert-directory): Use `mapc' rather than
3416 `mapcar'. Use `tramp-smb-get-stat-capability'.
3417 Add `dired-filename' text properties.
3418 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
3419 (tramp-smb-maybe-open-connection): Simplify check for smbclient
3422 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3424 * subr.el (read-key-delay): Reduce to 0.01.
3425 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
3428 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3430 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
3432 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
3433 (Info-menu): Remove unused vars `last' and `completions'.
3434 (Info-index-nodes): Remove unused var `node'.
3436 * info.el (Info-complete-menu-item): Use complete-with-action.
3438 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
3440 Make vc-annotate work through copies and renames.
3441 * vc-annotate.el (vc-annotate-extract-revision-at-line):
3442 Return the file name too.
3443 (vc-annotate-revision-at-line)
3444 (vc-annotate-find-revision-at-line)
3445 (vc-annotate-revision-previous-to-line)
3446 (vc-annotate-show-log-revision-at-line): Update to get the file
3447 name from vc-annotate-extract-revision-at-line.
3448 (vc-annotate-show-diff-revision-at-line-internal): Change the
3449 argument to mean whether to show a file diff or not. Get the file
3450 name from vc-annotate-extract-revision-at-line.
3451 (vc-annotate-show-diff-revision-at-line):
3452 Update vc-annotate-show-diff-revision-at-line call.
3453 (vc-annotate-warp-revision): Add an optional file argument.
3455 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
3456 (vc-git-annotate-extract-revision-at-line): Also return the file
3459 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
3460 command. Remove unused code.
3461 (vc-hg-annotate-re): Update to match --follow output.
3462 (vc-hg-annotate-extract-revision-at-line): Also return the file
3465 * vc.el: Update annotate-extract-revision-at-line documentation.
3467 2009-10-18 Kevin Ryde <user42@zip.com.au>
3469 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
3470 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
3472 * net/browse-url.el (browse-url): Identify alist with "consp and
3473 not functionp" and let all other things go down the `apply' leg,
3474 as suggested by Stefan. (Further to bug#4531.)
3476 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
3478 * minibuffer.el (read-file-name): Check for repeat before putting
3479 a default argument in file-name-history (Bug#4657).
3481 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
3482 read syntax (Bug#4737).
3484 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
3486 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3488 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
3489 (html-tag-alist, html-tag-help): Add descriptions for undocumented
3490 entries and make note of obsolete tags.
3492 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3494 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
3496 2009-10-18 Glenn Morris <rgm@gnu.org>
3498 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
3499 grep, so that binary files (eg international/uni-bidi.el) can match.
3500 Remove test for "UnicodeData" files, since it is hopefully unnecessary
3501 now, and in any case the file header format has changed.
3503 2009-10-17 Glenn Morris <rgm@gnu.org>
3505 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
3506 (flyspell-get-word, flyspell-large-region)
3507 (flyspell-auto-correct-previous-word): Doc/error message fixes.
3509 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
3511 * Makefile.in (ELCFILES): Add ede/shell.
3513 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
3515 * term/common-win.el (x-colors): Purecopy it.
3517 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3519 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
3520 permissive for when the buffer is empty.
3521 (tar-header-block-tokenize): Decode the username and groupname.
3522 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
3524 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
3526 * cedet/srecode/srt.el:
3527 * cedet/srecode/compile.el:
3528 * cedet/semantic/mru-bookmark.el:
3529 * cedet/semantic/debug.el:
3530 * cedet/semantic/complete.el:
3531 * cedet/semantic/analyze.el: Require CL when compiling.
3533 2009-10-17 Eric Ludlam <zappo@gnu.org>
3535 * cedet/semantic/scope.el
3536 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
3537 tmpscope so that the regular scope will continue to work.
3539 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
3540 Use semantic-idle-summary-highlight-face as the highlighting.
3542 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
3543 contains multibyte characters, choose first applicable coding
3544 system automatically.
3546 * cedet/ede/project-am.el (project-run-target): New method.
3547 (project-run-target): New method.
3549 * cedet/ede.el (ede-target): Add run target menu item.
3550 (ede-project, ede-minor-keymap): Add ede-run-target binding.
3551 (ede-run-target): New function.
3552 (ede-target::project-run-target): New method.
3554 * cedet/ede/proj.el (project-run-target): New method.
3556 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
3557 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
3559 (ede-proj-target-makefile-shared-object): Only libtool compilers
3560 now available. Add linkers for libtool.
3561 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
3562 (ede-proj-makefile-target-name): Always use .la extension.
3564 * cedet/ede/proj-prog.el (project-run-target): New method.
3566 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
3567 (ede-g++-linker): Change Change link lines.
3569 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
3570 When searching for old variables, go to the end of the buffer and
3571 search backward from there.
3572 (ede-proj-makefile-automake-insert-subdirs)
3573 (ede-proj-makefile-automake-insert-extradist): New methods.
3574 (ede-proj-makefile-create): Use them.
3576 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
3577 Force FILE to expand to the current target. Use file-exists-p to
3578 check that it exists.
3580 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
3581 (ede-linux-load): Wrap dir in file-name-as-directory.
3584 * cedet/ede/files.el (ede-get-locator-object): When enabling
3585 locate, do so on "top".
3587 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
3588 file-name-as-directory during compare.
3589 (ede-emacs-version): Return Emacs/XEmacs differentiator.
3590 Get version number from different places. Don't call egrep.
3591 (ede-emacs-load): Set :version slot. Call file-name-as-directory
3592 to set the directory.
3594 * cedet/ede/shell.el: New file.
3596 * cedet/inversion.el (inversion-decoders): Allow for stray . in
3597 alpha/beta variants.
3599 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3601 * international/mule-cmds.el (select-safe-coding-system): If the file
3602 has a coding cookie, use it regardless of any other setting (bug#4712).
3604 2009-10-17 Glenn Morris <rgm@gnu.org>
3606 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
3607 All errors should have messages.
3609 * foldout.el (foldout-mouse-swallow-events):
3610 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
3612 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
3613 (dired-keep-marker-copy, dired-keep-marker-hardlink)
3614 (dired-keep-marker-symlink, dired-dwim-target)
3615 (dired-copy-preserve-time): Do not autoload these defcustoms.
3617 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
3618 messages from messing up the file coding. (Bug#4623)
3620 2009-10-17 Jari Aalto <jari.aalto@cante.net>
3622 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
3623 if no match is found for the current dictionary. (Bug#4578)
3625 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
3626 optional, since that is how it is documented, and this is often called
3627 with a nil argument. (Bug#4577)
3628 (flyspell-external-point-words, flyspell-auto-correct-word)
3629 (flyspell-correct-word-before-point, flyspell-word-search-forward)
3630 (flyspell-word-search-backward): Remove nil argument in calls to
3631 flyspell-get-word, since it is not needed now.
3633 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
3635 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
3637 2009-10-16 Glenn Morris <rgm@gnu.org>
3639 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
3641 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3643 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
3644 (ange-ftp-file-size): New function.
3645 (ange-ftp-file-attributes): Use it.
3647 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
3649 * net/tramp-smb.el (tramp-smb-version): New defvar.
3650 (tramp-smb-maybe-open-connection): Use it, in order to avoid
3653 2009-10-16 Glenn Morris <rgm@gnu.org>
3655 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3656 Maybe copy some custom properties from old to new name. (Bug#4706)
3658 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
3660 * subr.el (error, sit-for, start-process-shell-command)
3661 (start-file-process-shell-command): Set the calling convention
3662 after the function definition.
3664 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
3666 * subr.el (error, sit-for, start-process-shell-command)
3667 (start-file-process-shell-command): Use the new
3668 set-advertised-calling-convention feature.
3670 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
3672 * international/ucs-normalize.el (ucs-normalize-version):
3674 (check-range): Adjust for Unicode 5.2.
3676 2009-10-15 Juri Linkov <juri@jurta.org>
3678 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
3679 to the `menu-item' format.
3681 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
3683 * net/tramp.el (tramp-replace-environment-variables): Do not fail
3684 if the environment variable does not exist.
3686 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3687 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
3689 (tramp-smb-handle-add-name-to-file)
3690 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
3691 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
3692 (tramp-smb-handle-file-attributes)
3693 (tramp-smb-do-file-attributes-with-stat)
3694 (tramp-smb-handle-file-local-copy)
3695 (tramp-smb-handle-insert-directory)
3696 (tramp-smb-handle-make-directory)
3697 (tramp-smb-handle-make-directory-internal)
3698 (tramp-smb-handle-make-symbolic-link)
3699 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
3700 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
3701 (tramp-smb-maybe-open-connection): Apply the changed parameters.
3702 (tramp-smb-read-file-entry): Read Disk names in compressed format.
3703 Handle long file names.
3704 (tramp-smb-get-cifs-capabilities): Check, whether the connection
3706 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
3707 Read share names with "-g" option.
3709 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
3711 * net/rcirc.el (rcirc-view-log-file): New command.
3712 (rcirc-track-minor-mode-map): Remove C-c ` binding.
3713 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
3716 2009-10-15 Glenn Morris <rgm@gnu.org>
3718 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
3719 from the second command-line argument.
3720 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
3721 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
3722 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
3723 w32-batch-update-autoloads.
3724 * emacs-lisp/autoload.el (autoload-make-program): New variable.
3725 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
3727 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
3728 the headers cannot be located. Simplify, subtracting superflous
3731 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3733 Replace completion-base-size by completion-base-position to fix bugs
3735 * simple.el (completion-base-position): New var.
3736 (completion-base-size): Mark as obsolete.
3737 (choose-completion): Make it work for mouse events as well.
3738 Pass the new base-position to choose-completion-string.
3739 (choose-completion-guess-base-position): New function, extracted from
3740 choose-completion-delete-max-match.
3741 (choose-completion-delete-max-match): Use it. Make obsolete.
3742 (choose-completion-string): Use the new base-position info.
3743 (completion-root-regexp): Delete.
3744 (completion-setup-function): Preserve completion-base-position.
3745 Eliminate obsolete base-size manipulation.
3746 * minibuffer.el (display-completion-list): Don't mess with base-size.
3747 (minibuffer-completion-help): Set completion-base-position instead.
3748 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
3750 * textmodes/bibtex.el (bibtex-complete):
3751 * emacs-lisp/crm.el (crm--choose-completion-string):
3752 Adjust to new calling convention.
3753 * complete.el (partial-completion-mode): Use minibufferp to avoid
3754 bumping into incompatible change to choose-completion-string-functions.
3755 * ido.el (ido-choose-completion-string): Make its calling convention
3757 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
3758 base-size manipulation.
3759 (comint-dynamic-list-input-ring): Use dotimes and push.
3760 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
3761 fundamental-mode. Use `or'.
3763 2009-10-14 Juri Linkov <juri@jurta.org>
3765 * misearch.el (multi-isearch-next-buffer-from-list)
3766 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
3768 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3770 * Makefile.in (compile-onefile): Load `bytecomp' rather than
3773 * minibuffer.el (completion-pcm--merge-completions): Make sure the
3774 string we return is all made up of text from the completions rather
3775 than part from the completions and part from the input (bug#4219).
3777 * ido.el (ido-everywhere): Use define-minor-mode.
3779 * buff-menu.el (list-buffers, ctl-x-map):
3780 Mark the entry points with ;;;###autoload cookies.
3782 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
3784 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
3785 correctly in the detached head case.
3786 (vc-git-print-log): Remove unused binding.
3788 * vc.el (vc-responsible-backend): When a directory is passed for
3789 for registration create a VC repository if no backend is
3790 responsible for the directory argument.
3791 (vc-deduce-fileset): Tell vc-responsible-backend to register.
3793 * vc.el: Move comments about RCS and SCCS ...
3795 * vc-sccs.el: ... here, respectively.
3797 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3799 * minibuffer.el (completion--file-name-table): Return nil if there's
3800 no file completion, even if substitute-in-file-name changed
3801 the string (bug#4708).
3803 2009-10-13 Juri Linkov <juri@jurta.org>
3805 * files-x.el (read-file-local-variable-value): Don't filter out
3806 minor modes from mode name completion (bug#4664).
3808 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
3810 * international/mule-cmds.el (ucs-names): Remove exclusion of
3811 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
3813 2009-10-13 Kenichi Handa <handa@m17n.org>
3815 * international/uni-name.el: Regenerated.
3817 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
3819 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
3820 should be automatically buffer-local, but isn't.)
3822 2009-10-12 Sam Steingold <sds@gnu.org>
3824 * progmodes/compile.el (compilation-next-error-function): Fix the
3825 timestamps if the buffer has been visited before.
3826 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
3827 non-anchored patterns, like the perl one (bug#3928).
3829 2009-10-12 Glenn Morris <rgm@gnu.org>
3831 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
3834 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
3836 * proced.el (proced-unload-function): New function.
3838 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
3839 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
3842 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
3844 2009-10-11 Juri Linkov <juri@jurta.org>
3846 * files-x.el (read-file-local-variable-value):
3847 Provide default value only for bound variables (bug#4664).
3849 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
3851 * net/tramp.el (tramp-local-host-p): Function shall return nil for
3852 connection methods like smb.
3854 * net/tramp-cache.el (tramp-flush-connection-property): The hash
3857 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3858 (tramp-smb-file-name-handler-alist): Add handlers for
3859 `add-name-to-file', `make-symbolic-link'.
3860 (tramp-smb-handle-add-name-to-file)
3861 (tramp-smb-do-file-attributes-with-stat)
3862 (tramp-smb-handle-make-symbolic-link)
3863 (tramp-smb-get-cifs-capabilities): New defuns.
3864 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
3865 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
3866 (tramp-smb-handle-file-local-copy)
3867 (tramp-smb-handle-make-directory-internal)
3868 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
3869 The file name syntax depends on cifs capabilities.
3870 (tramp-smb-handle-file-attributes):
3871 Call `tramp-smb-do-file-attributes-with-stat' if possible.
3872 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
3873 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
3875 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
3877 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
3878 (eieio-defclass): Apply deftype handler and setf-method properties
3880 (eieio-add-new-slot): Avoid union function from cl library.
3881 (eieio--typep): New function.
3882 (eieio-perform-slot-validation): Use it.
3884 2009-10-10 Karl Fogel <kfogel@red-bean.com>
3886 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
3887 Update documentation to refer to the variables documented in r1.135.
3890 2009-10-10 Karl Fogel <kfogel@red-bean.com>
3892 * bookmark.el (Info-suffix-list): Remove this unused variable.
3893 (bookmark-current-point): Remove this obsolete variable.
3894 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
3895 Adjust for removal of bookmark-current-point.
3897 (bookmarks-already-loaded, bookmark-current-buffer)
3898 (bookmark-yank-point): Document. (Bug#4188)
3900 2009-10-10 Glenn Morris <rgm@gnu.org>
3902 * frame.el (frame-height): Doc fix.
3904 * calendar/calendar.el (calendar-split-width-threshold): New option.
3905 (calendar-basic-setup): Use calendar-split-width-threshold.
3907 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
3909 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
3910 Use .la for Automake.
3912 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
3914 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
3915 Use "autoreconf -i". Suggested by Andreas Schwab.
3917 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
3919 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
3920 Ideographic Supplement" range (U+1F200..U+1F2FF).
3922 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3924 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
3925 since the list will have been rebuilt anyway. (Bug#4349)
3927 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3929 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
3930 (bookmark-bmenu-execute-deletions): Don't save here, as
3931 bookmark-delete will now do so if necessary.
3932 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
3935 2009-10-09 Glenn Morris <rgm@gnu.org>
3937 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
3939 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3941 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
3942 (bookmark-jump-other-window): Just invoke bookmark-jump with new
3943 argument now, so the two function's behaviors will match. (Bug#3645)
3945 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
3947 * cedet/ede/proj.el (project-make-dist, project-compile-project):
3949 (ede-proj-dist-makefile): Use expand-file-name instead of concat
3950 to expand file names.
3952 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
3954 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
3955 (tramp-file-name-real-host, tramp-file-name-port):
3956 Apply `save-match-data'.
3958 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
3959 case both directories are remote.
3960 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
3961 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
3963 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
3965 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
3966 (ede-proj-target-makefile-objectcode): Use it.
3968 * cedet/ede/source.el (ede-want-any-source-files-p)
3969 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
3970 Return search result. This error was introduced while merging.
3972 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
3974 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
3976 2009-10-07 Glenn Morris <rgm@gnu.org>
3978 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
3981 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3983 * files-x.el (read-file-local-variable): Include some
3984 non-user-variables in the completion table (bug#4664).
3986 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
3988 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
3991 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3992 (tramp-smb-file-name-handler-alist): Add handler for
3993 `copy-directory', `expand-file-name', `set-file-modes'.
3994 (tramp-smb-handle-copy-directory)
3995 (tramp-smb-handle-expand-file-name)
3996 (tramp-smb-handle-set-file-modes): New defuns.
3997 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
3998 (tramp-smb-handle-file-attributes): Simplify check for retrieving
4000 (tramp-smb-handle-insert-directory): Don't flush the cache.
4001 (tramp-smb-maybe-open-connection): Check for samba client and
4004 2009-10-07 Eli Zaretskii <eliz@gnu.org>
4006 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
4007 to not error out of search for "^lisp=" fails.
4009 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4011 * makefile.w32-in (WINS_UPDATES): New macro.
4012 (custom-deps, finder-data, autoloads): Use it.
4014 2009-10-07 Glenn Morris <rgm@gnu.org>
4016 * Makefile.in (autoloads): Revert previous change.
4017 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
4018 the list of preloaded files passed on the command-line, get
4019 it from src/Makefile.
4021 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
4022 show the original buffer rather than a random one.
4024 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
4026 * help.el (describe-no-warranty): Place point in a slightly better
4027 position in the GPLv3 text.
4029 2009-10-06 Sam Steingold <sds@gnu.org>
4031 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
4032 the comm attribute is present before calling regexp-quote.
4034 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
4036 * play/animate.el (animate-string): For good effect, make sure
4037 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
4039 * play/animate.el (animate-sequence, animate-birthday-present):
4040 * misc.el (butterfly): Don't set `indent-tabs-mode'.
4042 2009-10-06 Glenn Morris <rgm@gnu.org>
4044 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
4046 * emacs-lisp/autoload.el (autoload-excludes): New variable.
4047 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
4048 (batch-update-autoloads): Process a string value of autoload-excludes,
4049 set during the build process.
4050 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
4052 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
4053 inside with-parsed... macro so that `v' is defined.
4055 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
4056 * progmodes/fortran.el (fortran-end-of-block)
4057 (fortran-beginning-of-block):
4058 Also push mark in the macro case.
4060 * emerge.el (emerge-show-file-name):
4061 * calc/calc.el (calc-quit):
4062 * calc/calc-misc.el (calc-big-or-small):
4063 * calc/calc-graph.el (calc-graph-view):
4064 * calc/calc-ext.el (calc-reset):
4065 * calendar/calendar.el (calendar-basic-setup):
4066 Use window-full-height-p.
4068 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
4069 header we don't understand, don't insert another. (Bug#4624)
4070 If changing mime charset, insert the new one in the right place.
4072 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
4074 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4075 (cal-tex-cursor-month): Correctly increment the end date for diary and
4076 holiday listing. (Bug#4626)
4078 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4080 * help-fns.el (describe-function-1): Don't burp if the function is not
4083 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
4085 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
4086 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
4087 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
4088 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
4090 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
4091 (eieio-default-superclass): Reflow docstrings.
4092 (this, class-option-assoc, defclass, eieio-class-un-autoload)
4093 (eieio-unbind-method-implementations, defmethod)
4094 (eieio-validate-slot-value, eieio-validate-class-slot-value)
4095 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
4096 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
4097 (eieio-slot-originating-class-p, eieio-slot-name-index)
4098 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
4099 (constructor, initialize-instance, no-next-method, object-print)
4100 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
4101 Fix typos in docstrings.
4102 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
4103 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
4104 (next-method-p): Doc fixes.
4105 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
4106 Fix typos in error messages.
4107 (eieio-defmethod): Fix typo in description of generic method.
4109 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
4110 (eieio-persistent-save-interactive, slot-missing):
4111 Fix typos in docstrings.
4112 (eieio-instance-inheritor-slot-boundp): Doc fix.
4114 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
4115 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
4117 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
4118 (eieio-custom-object-apply-reset):
4119 Fix typos in docstrings and error messages.
4121 * emacs-lisp/eieio-datadebug.el (data-debug-show):
4122 Fix typo in docstring.
4124 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
4125 (eieio-browse-tree): Doc fix.
4126 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
4127 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
4128 Fix typos in docstrings.
4130 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
4131 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
4132 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
4133 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
4136 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
4138 * vc-hg.el (log-view-vc-backend): Declare for compiler.
4139 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
4140 Set log-view-vc-backend so that diff can work.
4142 * log-view.el (log-view-diff): Use vc-diff-internal instead of
4144 (vc-diff-internal): Autoload this instead of vc-version-diff.
4146 2009-10-05 Eli Zaretskii <eliz@gnu.org>
4148 * simple.el (eval-expression): Doc fix.
4150 * progmodes/cwarn.el (cwarn-mode): Doc fix.
4152 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
4154 * files.el (directory-files-no-dot-files-regexp): New defconst.
4155 (delete-directory): Use it.
4156 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
4158 * net/tramp.el (tramp-verbose): Fix docstring.
4159 (tramp-methods): Add recursive option to `tramp-copy-args'.
4160 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
4161 "scp1_old", "scp2_old", "rsync", "rsyncc".
4162 (tramp-default-method): Check also for `auth-source-user-or-password'.
4163 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
4164 Add handler for `copy-directory'.
4165 (tramp-handle-copy-directory): New defun.
4166 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
4167 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
4168 Optimize sent command.
4170 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
4173 window if necessary.
4175 * calendar/calendar.el (calendar-basic-setup): Don't call
4176 switch-to-buffer in a dedicated window.
4178 2009-10-05 Karl Fogel <kfogel@red-bean.com>
4180 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
4181 don't do anything related to relocating, just return nil.
4182 (bookmark-error-no-filename): New error.
4183 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
4184 bookmark has no file. Don't even attempt to handle things that
4185 are not files; the whole point of custom handlers is to keep that
4186 knowledge elsewhere anyway. Tighten some comments.
4187 (bookmark-file-or-variation-thereof): Remove now-unused function.
4188 (bookmark-location): Doc string fix.
4191 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4193 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
4194 don't use a file dialog, because they usually don't know how to read
4195 a directory target from the user. (Bug#4230)
4196 Also, make sure the prompt can display directories as well as files.
4198 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4200 * bookmark.el (bookmark-set, bookmark-buffer-name):
4201 Improve doc strings. (Bug#1193)
4203 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4205 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
4206 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
4207 (bookmark-get-annotation, bookmark-set-annotation)
4208 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
4209 (bookmark-set-position, bookmark-get-front-context-string)
4210 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
4211 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
4212 (bookmark-jump-other-window, bookmark-handle-bookmark)
4213 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
4214 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
4215 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
4216 Improve doc strings to say whether bookmark can be a string or
4217 a record or both, and make other consistency and clarity fixes.
4218 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
4219 (bookmark-default-annotation-text, bookmark-yank-word)
4220 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
4221 (bookmark-import-new-list, bookmark-maybe-rename)
4222 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
4223 (bookmark-bmenu-bookmark): Give these doc strings.
4224 (bookmark-bmenu-check-position): Give this a doc string, but also
4225 add a FIXME comment about how the function may be pointless.
4226 (bookmark-default-handler): Rework doc string and change a
4227 parameter name, to clarify that this takes a bookmark record
4228 not a bookmark name.
4229 (bookmark-set): Change a parameter name to indicate its meaning,
4230 and improve the doc string a bit.
4233 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4235 * bookmark.el (bookmark-alist): Document the new `handler' element
4237 (bookmark-make-record-function): Adjust documentation for above.
4240 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4242 * info.el (Info-bookmark-make-record): Document this function.
4243 (Info-bookmark-jump): Document with a doc string, not just a comment.
4246 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4248 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
4249 (semantic-new-buffer-fcn): Call parser setup functions here.
4250 (semantic-mode): Don't call parser setup functions here, it's done
4251 in semantic-new-buffer-fcn now.
4252 (semantic-mode): Parse all existing buffers when enabled.
4254 * cedet/srecode/compile.el (srecode-compile-file):
4255 Call semantic-new-buffer-fcn if the buffer has not been parsed.
4257 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4259 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
4261 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
4262 (proj-comp-insert-variable-once): New macro, renamed from
4263 ede-pmake-insert-variable-once in ede/pmake.edl.
4264 (ede-proj-makefile-insert-variables): Use it.
4266 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
4268 * files.el (copy-directory): New defun.
4270 * dired-aux.el (dired-copy-file-recursive): Use it.
4272 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
4274 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4275 (makefile-end-of-command):
4276 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4277 (semantic-end-of-context): Fix previous change. Doc fixes.
4279 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
4281 * files-x.el (modify-dir-local-variable)
4282 (copy-dir-locals-to-file-locals-prop-line):
4283 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4284 (makefile-end-of-command):
4285 * cedet/semantic/lex.el (semantic-lex-token):
4286 * cedet/semantic/analyze/fcn.el
4287 (semantic-analyze-dereference-metatype-1):
4288 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
4289 (semantic-lex-cpp-undef):
4290 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
4291 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4292 (semantic-end-of-context): Fix typos in docstrings.
4294 * recentf.el (recentf-unload-function): New function.
4296 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4298 * cedet/ede.el (ede-project-placeholder-cache-file):
4299 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
4300 * cedet/srecode/map.el (srecode-map-save-file):
4301 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
4303 2009-10-04 Glenn Morris <rgm@gnu.org>
4305 * window.el (window-full-height-p): Add doc string.
4307 2009-10-04 Martin Rudalics <rudalics@gmx.at>
4309 * window.el (window-full-height-p): New function. (Bug#4543)
4311 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
4313 * cedet/srecode/insert.el: Require srecode/args.
4315 * cedet/srecode/args.el: Require srecode/dictionary instead of
4318 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
4320 * files.el (auto-mode-alist): Add .srt and Project.ede.
4322 * cedet/semantic.el (semantic-mode):
4323 Handle srecode-template-mode-hook as well.
4324 (semantic-mode): Use js-mode-hook for Javascript hook.
4326 * cedet/srecode/template.el: Remove hook variable.
4328 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
4330 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
4332 (ede-project-placeholder-cache-file): Default to a file in
4333 user-emacs-directory.
4335 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
4336 templates in data-directory.
4337 (srecode-map-save-file): Default to a file in user-emacs-directory.
4339 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
4342 2009-09-30 Eric Ludlam <zappo@gnu.org>
4344 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
4347 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
4348 Only insert each variable once.
4350 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
4351 (ede-pmake-insert-variable-shared): Use it.
4353 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
4354 for lexical table iff table is nil.
4356 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4358 * vc.el: Remove commented out code.
4359 (vc-derived-from-dir-mode): Remove, unused.
4360 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
4362 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
4364 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4365 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
4366 there could be recursive loading when `default-directory' is a
4367 remote file name. (Bug#4614)
4369 2009-10-03 Glenn Morris <rgm@gnu.org>
4371 * calendar/calendar.el (calendar-basic-setup): Handle the case where
4373 (calendar-generate-window): Test for shrinkability rather than width.
4375 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
4376 declaration, currently false.
4378 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
4379 reusing existing buffers, in case we happen to visit two files with the
4380 same basename. (Bug#4593)
4382 2009-10-02 Eli Zaretskii <eliz@gnu.org>
4384 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
4385 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
4386 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
4387 subdirs of cedet as well.
4388 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
4390 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
4393 Obey advertised-signature-table.
4395 * help-fns.el (help-function-arglist): Don't check
4396 advertised-signature-table.
4397 (describe-function-1): Do it here instead so it also applies to subrs.
4399 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
4401 * simple.el (start-file-process): Say in the doc-string, that file
4402 handlers might not support pty association, if PROGRAM is nil.
4404 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
4405 HOST and USER are strings. They are nil, when there are
4406 incomplete entries in ~/.netrc, for example.
4407 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
4408 root directory ("device busy" error otherwise).
4410 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
4411 Flush file properties of created directory.
4413 2009-10-02 Eli Zaretskii <eliz@gnu.org>
4415 * makefile.w32-in (WINS_BASIC): Remove cedet.
4416 (WINS_CEDET): Add cedet.
4417 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
4419 2009-10-02 Kevin Ryde <user42@zip.com.au>
4421 * net/browse-url.el (browse-url): Pass any symbol in
4422 browse-url-browser-function to `apply', since if you've mistakenly put
4423 an unbound symbol then the error is clearer. (Bug#4531)
4425 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
4427 * allout.el (allout-init, allout-back-to-current-heading)
4428 (allout-beginning-of-current-entry, allout-ascend-to-depth)
4429 (allout-ascend, allout-up-current-level, allout-end-of-level)
4430 (allout-previous-visible-heading, allout-forward-current-level)
4431 (allout-backward-current-level, allout-show-children):
4432 * apropos.el (apropos-describe-plist):
4433 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
4434 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
4435 * completion.el (add-completion, add-permanent-completion):
4436 * descr-text.el (describe-text-category, describe-char):
4437 * desktop.el (desktop-lazy-abort):
4438 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
4439 * dired.el (dired-build-subdir-alist):
4440 * ediff.el (ediff-version):
4441 * elide-head.el (elide-head, elide-head-show):
4442 * emerge.el (emerge-version):
4444 * face-remap.el (variable-pitch-mode):
4445 * faces.el (describe-face):
4446 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
4448 * files.el (find-file-existing, auto-save-mode):
4449 * font-lock.el (font-lock-fontify-buffer):
4450 * help-fns.el (describe-function, describe-variable)
4451 (describe-syntax, describe-categories):
4452 * help.el (view-lossage, describe-bindings, describe-key)
4454 * hexl.el (hexl-current-address):
4455 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
4456 * info.el (Info-goto-emacs-key-command-node):
4457 * log-edit.el (log-edit-insert-cvs-template)
4458 (log-edit-insert-cvs-rcstemplate):
4459 * menu-bar.el (menu-bar-mode):
4460 * mouse.el (mouse-appearance-menu):
4461 * newcomment.el (comment-indent-new-line):
4462 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
4463 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
4464 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt, )
4465 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
4466 * recentf.el (recentf-mode):
4467 * savehist.el (savehist-mode, savehist-save):
4468 * shadowfile.el (shadow-copy-files):
4469 * simple.el (kill-ring-save, next-line, previous-line)
4470 (normal-erase-is-backspace-mode):
4471 * strokes.el (strokes-update-window-configuration)
4472 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
4473 (strokes-xpm-for-stroke):
4474 * time.el (emacs-uptime, emacs-init-time):
4475 * tutorial.el (tutorial--describe-nonstandard-key)
4476 (tutorial--detailed-help):
4477 * type-break.el (type-break-mode)
4478 (type-break-mode-line-message-mode, type-break-query-mode)
4479 (type-break-guesstimate-keystroke-threshold):
4480 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
4481 * version.el (emacs-version):
4482 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
4483 * winner.el (winner-mode):
4484 * calendar/timeclock.el (timeclock-in, timeclock-out)
4485 (timeclock-status-string, timeclock-change)
4486 (timeclock-workday-remaining-string)
4487 (timeclock-workday-elapsed-string)
4488 (timeclock-when-to-leave-string):
4489 * calendar/todo-mode.el (todo-add-category):
4490 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
4491 * emacs-lisp/autoload.el (update-file-autoloads):
4492 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
4493 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
4494 (checkdoc-message-text, checkdoc-defun):
4495 * emacs-lisp/debug.el (debugger-list-functions):
4496 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4497 * emacs-lisp/eieio-opt.el (eieio-describe-class)
4498 (eieio-describe-generic):
4499 * emacs-lisp/lisp-mnt.el (lm-synopsis):
4500 * emacs-lisp/shadow.el (list-load-path-shadows):
4501 * emulation/cua-base.el (cua-mode):
4502 * emulation/edt.el (edt-set-scroll-margins):
4503 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
4504 (tpu-toggle-regexp, tpu-toggle-search-direction)
4505 (tpu-toggle-rectangle, tpu-toggle-control-keys):
4506 * emulation/tpu-extras.el (tpu-set-scroll-margins):
4507 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4508 (viper-set-parsing-style-toggling-macro)
4509 (viper-set-emacs-state-searchstyle-macros):
4510 * emulation/viper.el (viper-set-hooks):
4511 * eshell/esh-mode.el (eshell-truncate-buffer):
4512 * international/mule-cmds.el (prefer-coding-system)
4513 (describe-input-method, describe-language-environment):
4514 * international/mule-diag.el (list-character-sets)
4515 (describe-character-set, describe-coding-system)
4516 (describe-fontset, list-fontsets, list-input-methods):
4517 * mail/sendmail.el (mail-signature):
4518 * net/ange-ftp.el (ange-ftp-copy-file):
4519 * net/browse-url.el (browse-url):
4520 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
4521 * net/quickurl.el (quickurl-add-url):
4522 * net/rcirc.el (names, topic):
4523 * net/xesam.el (xesam-mode):
4524 * play/5x5.el (5x5-new-game):
4525 * play/yow.el (apropos-zippy):
4526 * progmodes/ada-mode.el (ada-mode-version):
4527 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
4529 (f90-beginning-of-block):
4530 * progmodes/fortran.el (fortran-end-of-block)
4531 (fortran-beginning-of-block):
4532 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
4533 * progmodes/python.el (python-describe-symbol, python-shell):
4534 * term/ns-win.el (ns-print-buffer):
4535 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
4536 * textmodes/flyspell.el (flyspell-mode-on):
4537 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
4538 (pages-directory-for-addresses):
4539 * textmodes/table.el (table-recognize-cell)
4540 (table-query-dimension, table-generate-source)
4541 (table-insert-sequence, table--warn-incompatibility):
4542 * textmodes/tex-mode.el (tex-validate-buffer):
4543 * textmodes/texinfmt.el (texinfmt-version)
4544 (texinfo-format-buffer):
4545 Use `called-interactively-p' instead of `interactive-p'.
4547 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
4549 * image-mode.el (image-toggle-display):
4550 * emacs-lisp/elp.el (elp-instrument-function):
4551 * emacs-lisp/advice.el (ad-make-advised-definition):
4552 * emacs-lisp/easy-mmode.el (define-minor-mode):
4553 * net/browse-url.el (browse-url-maybe-new-window):
4554 * progmodes/sh-script.el (sh-learn-buffer-indent):
4555 Pass new argument 'any to `called-interactively-p'.
4557 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
4559 * international/uni-bidi.el:
4560 * international/uni-category.el:
4561 * international/uni-combining.el:
4562 * international/uni-comment.el:
4563 * international/uni-decimal.el:
4564 * international/uni-decomposition.el:
4565 * international/uni-digit.el:
4566 * international/uni-lowercase.el:
4567 * international/uni-mirrored.el:
4568 * international/uni-name.el:
4569 * international/uni-numeric.el:
4570 * international/uni-old-name.el:
4571 * international/uni-titlecase.el:
4572 * international/uni-uppercase.el:
4573 Regenerate from Unicode 5.2.0 data.
4575 2009-10-01 Glenn Morris <rgm@gnu.org>
4577 * Makefile.in (ELCFILES): Regenerate.
4579 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4581 * subr.el (interactive-p): Mark obsolete.
4582 (called-interactively-p): Make the optional-ness of `kind' obsolete.
4583 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
4584 advertised-signature-table for subroutines as well.
4586 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
4587 (set-advertised-calling-convention): New function.
4588 (make-obsolete, define-obsolete-function-alias)
4589 (make-obsolete-variable, define-obsolete-variable-alias):
4590 Make the optional-ness of `when' obsolete.
4591 (define-obsolete-face-alias): Make `when' non-optional.
4592 * help-fns.el (help-function-arglist):
4593 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
4594 Use advertised-signature-table.
4596 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
4598 * files.el (delete-directory): New defun. The original function
4599 in fileio.c has been renamed to `delete-directory-internal'.
4601 * dired.el (dired-delete-file): Call `delete-directory' with
4602 RECURSIVE parameter.
4604 * net/ange-ftp.el (ange-ftp-delete-directory ): Add optional
4605 parameter RECURSIVE. Implementation is missing.
4607 * net/tramp.el (tramp-handle-make-directory): Flush upper
4608 directory's file properties.
4609 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
4610 (tramp-handle-dired-recursive-delete-directory): Flush directory
4611 properties after the remove command only.
4613 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
4614 Handle optional parameter RECURSIVE.
4616 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
4617 Handle optional parameter RECURSIVE.
4619 * net/tramp-smb.el (tramp-smb-errors): Add error message for
4621 (tramp-smb-handle-delete-directory): Handle optional parameter
4624 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4626 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
4627 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
4628 (byte-compile-defmacro): Use backquotes.
4630 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
4632 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
4633 has no associated file.
4634 (vc-resynch-buffer): Use vc-dir-buffers.
4636 2009-10-01 Glenn Morris <rgm@gnu.org>
4638 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
4640 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
4641 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
4642 * emacs-lisp/eieio-opt.el (eieio-describe-class):
4643 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
4644 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
4645 (eieio-copy-parents-into-subclass, make-instance, class-children)
4646 (eieio-generic-form):
4647 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
4648 * cedet/cedet-idutils.el (cedet-idutils-search)
4649 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
4650 (cedet-idutils-version-check):
4651 * cedet/cedet.el (cedet-version):
4652 * cedet/data-debug.el (data-debug-insert-overlay-button)
4653 (data-debug-insert-overlay-list-button)
4654 (data-debug-insert-buffer-button)
4655 (data-debug-insert-buffer-list-button)
4656 (data-debug-insert-process-button, data-debug-insert-ring-button)
4657 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
4658 (data-debug-insert-stuff-vector-button)
4659 (data-debug-insert-symbol-button, data-debug-insert-string)
4660 (data-debug-insert-number, data-debug-insert-lambda-expression)
4661 (data-debug-insert-nil, data-debug-insert-simple-thing)
4662 (data-debug-insert-custom, data-debug-edebug-expr):
4663 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
4664 (global-ede-mode-map, ede-new, ede-debug-target)
4665 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
4666 * cedet/semantic.el (semantic-minimum-working-buffer-size)
4667 (semantic-fetch-tags, semantic-submode-list)
4668 (semantic-default-submodes):
4669 * cedet/ede/source.el (ede-source-match):
4670 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
4671 (project-am-package-info):
4672 * cedet/ede/proj.el (ede-proj-target, project-new-target):
4673 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
4674 * cedet/ede/proj-comp.el (ede-current-build-list):
4675 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
4676 * cedet/ede/files.el (ede-toplevel-project-or-nil):
4677 * cedet/ede/cpp-root.el (initialize-instance):
4678 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
4679 (autoconf-parameter-strip, autoconf-insert-new-macro):
4680 * cedet/semantic/wisent.el (wisent-lex-eoi):
4681 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
4682 (semantic-show-parser-state-mode):
4683 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
4684 * cedet/semantic/tag.el (semantic-tag-new-variable)
4685 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
4686 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
4687 (semantic--tag-deep-copy-tag-list)
4688 (semantic-tag-components-with-overlays-default):
4689 * cedet/semantic/symref.el (semantic-symref-find-text):
4690 * cedet/semantic/senator.el (senator-yank-tag)
4691 (senator-transpose-tags-up):
4692 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
4693 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
4694 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
4695 * cedet/semantic/lex.el (semantic-lex-comment-regex)
4696 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
4697 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
4698 * cedet/semantic/lex-spp.el
4699 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
4700 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
4701 * cedet/semantic/idle.el
4702 (semantic-idle-summary-current-symbol-info-brutish)
4703 (semantic-idle-summary-current-symbol-info-default):
4704 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
4705 (semantic--grammar-macro-compl-dict):
4706 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
4707 * cedet/semantic/format.el (semantic-format-tag-custom-list)
4708 (semantic-format-tag-canonical-name-default):
4709 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
4710 (semantic-find-tags-for-completion)
4711 (semantic-find-tags-by-scope-protection-default)
4712 (semantic-deep-find-tags-for-completion):
4713 * cedet/semantic/edit.el
4714 (semantic-edits-incremental-reparse-failed-hook)
4715 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
4716 (semantic-edits-splice-remove, semantic-edits-splice-replace):
4717 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
4718 * cedet/semantic/dep.el (semantic-dependency-include-path):
4719 * cedet/semantic/db.el (semanticdb-default-find-index-class)
4720 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
4721 (semanticdb-project-roots):
4722 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
4723 (semanticdb-find-adebug-insert-scanned-tag-cons)
4724 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
4725 (semanticdb-brute-deep-find-tags-for-completion):
4726 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
4727 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
4728 (semantic-end-of-context-default)
4729 (semantic-ctxt-current-function-default)
4730 (semantic-ctxt-scoped-types-default):
4731 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
4732 (semantic-complete-inline-tag-engine)
4733 (semantic-complete-inline-custom-type)
4734 (semantic-complete-read-tag-analyzer):
4735 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
4736 (semantic-chart-database-size):
4737 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
4738 (semantic-analyze-current-context):
4739 * cedet/semantic/symref/list.el (semantic-symref)
4740 (semantic-symref-hide-buffer, semantic-symref-symbol):
4741 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
4742 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
4743 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
4744 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
4745 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
4746 (semantic-c-dereference-template):
4747 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
4748 (semantic--analyze-refs-full-lookup-with-parents)
4749 (semantic--analyze-refs-full-lookup-simple):
4750 * cedet/semantic/analyze/complete.el
4751 (semantic-analyze-possible-completions):
4752 * cedet/srecode/table.el (srecode-mode-table-new):
4753 * cedet/srecode/srt.el (srecode-read-variable-name):
4754 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
4755 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
4756 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
4757 * cedet/srecode/map.el (srecode-current-map):
4758 * cedet/srecode/insert.el (srecode-insert)
4759 (srecode-insert-variable-secondname-handler, srecode-insert-method)
4760 (srecode-template-inserter-point-override)
4761 (srecode-insert-include-lookup):
4762 * cedet/srecode/getset.el (srecode-auto-choose-class):
4763 * cedet/srecode/extract.el (srecode-inserter-extract):
4764 * cedet/srecode/document.el
4765 (srecode-document-autocomment-return-last-alist)
4766 (srecode-document-autocomment-param-type-alist)
4767 (srecode-document-insert-function-comment)
4768 (srecode-document-insert-variable-one-line-comment)
4769 (srecode-document-function-name-comment):
4770 * cedet/srecode/dictionary.el (srecode-create-dictionary)
4771 (srecode-compound-toString):
4772 * cedet/srecode/compile.el (srecode-flush-active-templates):
4773 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
4776 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
4777 match-data. (Bug#4555).
4779 * cedet/semantic/bovine/gcc.el
4780 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
4781 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
4783 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
4784 rather than parsing it as a regexp. This relaxes the layout
4785 requirements and makes errors easier to detect.
4786 (check-declare-verify): Check file is regular.
4787 (check-declare-directory): Doc fix.
4788 * subr.el (declare-function): Doc fix.
4790 * ibuffer.el (ibuffer-format-qualifier):
4791 * isearch.el (hi-lock-regexp-okay):
4792 * calc/calc.el (math-zerop):
4793 * mail/uce.el (rmail-msgbeg, rmail-msgend):
4794 * term/w32-win.el (setup-default-fontset, set-fontset-font):
4795 Remove unused declarations.
4797 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
4799 * cedet/semantic/wisent/javat-wy.el
4800 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
4802 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
4804 * cedet/srecode/expandproto.el: Fix provide statement.
4806 2009-09-30 Eric Ludlam <zappo@gnu.org>
4808 * emacs-lisp/eieio.el (boolean-p): Delete.
4810 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
4812 * cedet/ede/srecode.el: Fix provide statement.
4814 2009-09-30 Glenn Morris <rgm@gnu.org>
4816 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
4817 * cedet/ede/proj-aux.el (ede-aux-source):
4818 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
4820 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
4821 (semantic-mrub-switch-tags): Fix doc typos.
4823 * cedet/semantic/db-global.el (data-debug-new-buffer)
4824 (data-debug-insert-thing): Remove unneeded declarations (one broken).
4825 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
4827 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
4829 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
4830 use of CL function `remove-if-not'.
4832 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
4834 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
4835 filename is not a string.
4837 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
4839 * files.el (safe-local-eval-forms): Fix typo.
4841 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
4843 * vc-hooks.el (vc-dir-buffers): New var.
4844 (vc-state-refresh): New function.
4846 (vc-after-save): Always ask the backend to recompute the new state.
4847 Always call vc-dir if necessary, using vc-dir-buffers.
4848 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
4850 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
4851 (vc-dir-prepare-status-buffer, vc-dir-update)
4852 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
4853 Don't call expand-file-name on default-directory.
4855 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
4857 * speedbar.el (speedbar-item-delete):
4858 * calc/calc-prog.el (calc-kbd-if):
4859 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
4861 * epa.el (epa-key-list-mode-map):
4862 * hi-lock.el (hi-lock-menu): Fix typos in menus.
4864 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
4865 (hs-show-hook): Fix typo in docstring.
4867 2009-09-29 Glenn Morris <rgm@gnu.org>
4869 * cedet/semantic/symref/idutils.el:
4870 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
4872 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
4874 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
4875 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
4876 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
4877 Mark declarations not understood by check-declare.
4879 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
4880 file-name-nondirectory call preventing location of cedet files.
4881 (check-declare-verify): Use literal search rather than re-search.
4882 Add basic defmethod and defclass, and define-overloadable-function.
4884 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
4885 Use tramp-compat-file-attributes rather than nonexistent
4886 tramp-compat-handle-file-attributes.
4888 * Makefile.in (lisptagsfiles4): New.
4889 (AUTOGENEL): Add cedet loaddefs files.
4890 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
4891 (update-elclist, compile-always, backup-compiled-files)
4892 (bootstrap-clean): Add yet another directory level.
4893 (update-elclist): Use LC_COLLATE rather than COLLATE.
4894 (ELCFILES): Update, via `make update-elclist'.
4896 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
4898 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
4899 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
4900 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
4902 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
4904 * Makefile.in (lisptagsfiles3): Define.
4905 (TAGS, TAGS-LISP): Use it.
4906 (update-elclist): Add third directory level to look for elc files.
4907 (compile-always): Likewise.
4908 (backup-compiled-files): Likewise.
4909 (bootstrap-clean): Likewise.
4912 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
4914 * Makefile.in (ELCFILES): Add CEDET files.
4916 2009-09-28 Eric Ludlam <zappo@gnu.org>
4918 CEDET (development tools) package merged.
4922 * cedet/semantic/*.el:
4923 * cedet/srecode/*.el: New files.
4925 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
4927 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
4929 * net/tramp.el (top): Require tramp-imap.
4931 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
4932 Use `tramp-compat-handle-file-attributes'.
4934 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
4936 * net/tramp-imap.el: New package.
4938 2009-09-28 Eric Ludlam <zappo@gnu.org>
4940 * emacs-lisp/chart.el:
4941 * emacs-lisp/eieio-base.el:
4942 * emacs-lisp/eieio-comp.el:
4943 * emacs-lisp/eieio-custom.el:
4944 * emacs-lisp/eieio-datadebug.el:
4945 * emacs-lisp/eieio-opt.el:
4946 * emacs-lisp/eieio-speedbar.el:
4947 * emacs-lisp/eieio.el: New files.
4949 * cedet/cedet-cscope.el:
4950 * cedet/cedet-files.el:
4951 * cedet/cedet-global.el:
4952 * cedet/cedet-idutils.el:
4953 * cedet/data-debug.el:
4954 * cedet/inversion.el:
4955 * cedet/mode-local.el:
4956 * cedet/pulse.el: New files.
4958 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4960 * whitespace.el (whitespace-trailing-regexp)
4961 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4964 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
4966 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
4969 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
4970 menu-bar-ediff-menu.
4972 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
4973 define-overloadable-function.
4975 * progmodes/autoconf.el: Provide autoconf as well, so that this
4976 file can be `require'd.
4978 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
4980 * emacs-lisp/autoload.el (generated-autoload-feature)
4981 (generated-autoload-load-name): New vars.
4982 (autoload-rubric, autoload-generate-file-autoloads): Use them.
4983 (make-autoload): Recognize define-overloadable-function and
4984 defclass forms (for EIEIO).
4986 * Makefile.in (update-subdirs): Exclude cedet directory.
4988 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
4990 * term/ns-win.el: Don't set the region face background. (Bug#4381)
4992 * faces.el: Default light-background background for region face to
4993 ns_selection_color under NS.
4995 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4997 * net/imap-hash.el: New library, see NEWS.
4999 * Makefile.in (ELCFILES): Add imap-hash.el.
5001 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5003 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
5004 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
5005 * help-macro.el (make-help-screen): Avoid using an ambiguous function
5006 definition where the docstring could be taken for the return value.
5008 2009-09-26 Glenn Morris <rgm@gnu.org>
5010 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
5011 Add option to only show images below a certain size.
5012 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
5013 save-excursion calls.
5015 2009-09-26 Eli Zaretskii <eliz@gnu.org>
5017 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
5018 subdirectories) and eieio.
5020 2009-09-26 Alan Mackenzie <acm@muc.de>
5022 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
5023 buggy bracketing. (Bug#4289)
5025 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
5026 character constants (as case labels). (Bug#4289)
5028 2009-09-25 Juri Linkov <juri@jurta.org>
5030 * files.el (safe-local-eval-forms): Allow time-stamp in
5031 before-save-hook (Bug#4554).
5033 2009-09-25 Drew Adams <drew.adams@oracle.com>
5035 * menu-bar.el (list-buffers-directory): Doc fix.
5037 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5039 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
5040 Try and avoid copying twice the same paragraph.
5041 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
5042 Remove save-excursion.
5043 (log-edit-changelog-entry): Do it here instead.
5045 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
5047 * bs.el (bs--get-file-name): Use `list-buffers-directory'
5048 when available, instead of hardcoding mode names. Doc fix.
5050 * menu-bar.el (list-buffers-directory): Add docstring.
5051 Make automatically buffer-local.
5053 * dired.el (dired-mode):
5054 * files.el (cd-absolute):
5055 * pcvs.el (cvs-temp-buffer):
5056 * pcvs-util.el (cvs-get-buffer-create):
5057 * shell.el (shell-mode):
5058 * vc-dir.el (vc-dir-mode):
5059 Don't make `list-buffers-directory' buffer local.
5061 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
5063 * comint.el (comint-exec, comint-run, make-comint):
5064 Doc fixes (Bug#4542).
5066 2009-09-25 Glenn Morris <rgm@gnu.org>
5068 * mail/rmailmm.el (rmail-mime): New custom group.
5069 Move all defcustoms in this file into this group.
5070 (rmail-mime-media-type-handlers-alist): Revert previous change.
5071 (rmail-mime-show-images): New option.
5072 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
5073 references to it, since it wasn't actually used for anything.
5074 (rmail-mime-insert-image): New function.
5075 (rmail-mime-image): Use rmail-mime-insert-image.
5076 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
5077 obey the value of `rmail-mime-show-images' option. Print the size of
5080 2009-09-25 David Engster <deng@randomsample.de>
5082 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
5084 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5086 * whitespace.el: Does not highlight trailing spaces While point is
5087 at end of line. Does not highligt spaces at beginning of buffer
5088 while point is at beginning of buffer. Does not highlight spaces
5089 at end of buffer while point is at end of buffer. (Bug#4177)
5091 (whitespace-display-mappings): Adjust initialization.
5092 (whitespace-point, whitespace-font-lock-refontify): New vars.
5093 (whitespace-color-on, whitespace-color-off): Adjust code.
5094 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5095 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
5096 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
5098 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
5100 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
5102 * textmodes/sgml-mode.el: Remove xml-mode alias.
5104 * files.el (auto-mode-alist, conf-mode-maybe)
5105 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
5107 2009-09-24 Alan Mackenzie <acm@muc.de>
5109 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
5110 c-forward-conditionals, but it doesn't move point and doesn't set
5112 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
5113 (c-down-conditional-with-else, c-backward-conditional)
5114 (c-forward-conditional): Refactor to use c-scan-conditionals.
5116 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
5118 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
5119 (help-default-arg-highlight): Remove.
5120 (help-highlight-arg): New function.
5121 (help-do-arg-highlight): Use it.
5122 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
5124 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5126 * term.el (term-set-scroll-region, term-handle-ansi-escape):
5127 Undo last change, which didn't fix the problem and introduced others.
5129 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
5131 * progmodes/gdb-mi.el: Don't require speedbar.
5132 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
5134 2009-09-24 Glenn Morris <rgm@gnu.org>
5136 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
5138 * term/ns-win.el (ns-reg-to-script): Define for compiler.
5140 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
5141 there is no newline after the final mime boundary. (Bug#4539)
5142 Move markers on insertion so that any buttons inserted don't end up in
5143 the next part of a multipart message.
5144 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
5145 (rmail-mime-bulk-handler): Optionally handle images.
5146 (rmail-mime-image): New button action.
5147 (rmail-mime-image-handler): New function.
5148 (rmail-mime-mode): New mode.
5149 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
5151 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5153 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
5154 than just dropping elements from it (bug#4504).
5156 * term.el (term-set-scroll-region): Don't move cursor any more.
5157 (term-handle-ansi-escape): Call term-goto here instead.
5158 Suggested by Ivan Kanis <apple@kanis.eu>.
5160 * term.el: Require CL.
5161 (term-ansi-reset): New function.
5162 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
5163 (term-handle-colors-array): Simplify.
5165 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
5167 * allout.el (allout-overlay-interior-modification-handler)
5168 (allout-obtain-passphrase):
5169 * epa-file.el (epa-file-write-region):
5170 * ps-print.el (ps-begin-job):
5171 * vc-hooks.el (vc-toggle-read-only):
5172 * vc-rcs.el (vc-rcs-rollback):
5173 * vc-sccs.el (vc-sccs-rollback):
5174 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
5175 (vc-version-diff, vc-revert, vc-rollback):
5176 * wdired.el (wdired-check-kill-buffer):
5177 * emacs-lisp/authors.el (authors):
5178 * net/socks.el (socks-open-connection):
5179 * net/zeroconf.el (zeroconf-service-add-hook):
5180 * obsolete/vc-mcvs.el (vc-mcvs-register):
5181 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
5183 * progmodes/grep.el (lgrep, rgrep):
5184 * progmodes/idlw-help.el (idlwave-help-check-locations)
5185 (idlwave-help-html-link, idlwave-help-assistant-open-link):
5186 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5187 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
5188 (reftex-toc-rename-label): Fix typos in error messages.
5190 * dired-aux.el (dired-do-shell-command): Reflow docstring.
5191 (dired-copy-how-to-fn): Doc fix.
5192 (dired-files-attributes, dired-read-shell-command):
5193 Fix typos in docstrings.
5195 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
5196 (dired-x-find-file-other-window): Reflow docstrings.
5197 (dired-omit-marker-char, dired-read-shell-command)
5198 (dired-x-submit-report): Fix typos in docstrings.
5200 * shell.el (shell-mode-hook):
5201 * view.el (View-scroll-line-forward):
5202 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
5203 Fix typos in docstrings.
5205 * net/dig.el (dig-invoke): Fix typo in docstring.
5206 (query-dig): Reflow docstring.
5208 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
5209 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
5210 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
5211 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
5212 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
5213 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
5214 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
5215 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
5216 (idlwave-completion-map, idlwave-current-indent)
5217 (idlwave-custom-ampersand-surround, idlwave-customize)
5218 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
5219 (idlwave-define-abbrev, idlwave-determine-class-special)
5220 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
5221 (idlwave-end-block-reg, idlwave-end-of-statement)
5222 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
5223 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
5224 (idlwave-explicit-class-listed, idlwave-file-header)
5225 (idlwave-fill-paragraph, idlwave-find-class-definition)
5226 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
5227 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
5228 (idlwave-in-quote, idlwave-indent-action-table)
5229 (idlwave-indent-expand-table, idlwave-indent-line)
5230 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
5231 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
5232 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
5233 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
5234 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
5235 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
5236 (idlwave-outlawed-buffers, idlwave-popup-select)
5237 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
5238 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
5239 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
5240 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
5241 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
5242 (idlwave-statement-type, idlwave-struct-skip)
5243 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
5244 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
5245 (idlwave-what-module-find-class): Fix typos in docstrings.
5246 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
5247 (idlwave-calculate-cont-indent, idlwave-expand-equal)
5248 (idlwave-find-module, idlwave-find-structure-definition)
5249 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
5250 (idlwave-list-load-path-shadows, idlwave-next-statement)
5251 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
5252 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
5253 (idlwave-template): Reflow docstrings.
5255 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
5256 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
5257 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
5258 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
5259 (idlwave-shell-display-line, idlwave-shell-display-wframe)
5260 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
5261 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
5262 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
5263 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
5264 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
5265 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
5266 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
5267 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
5268 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
5269 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
5270 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
5271 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
5272 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
5273 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
5274 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
5275 Fix typos in docstrings.
5276 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
5277 (idlwave-shell-hide-output, idlwave-shell-mode)
5278 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
5281 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
5283 2009-09-24 Ivan Kanis <apple@kanis.eu>
5285 * term.el (term-bold-attribute): New var.
5286 (term-handle-colors-array): Use it.
5288 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
5290 * progmodes/gdb-mi.el (gdb-version): New variable.
5291 (gdb-non-stop-handler): Set gdb-version.
5292 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
5293 Condition "--thread" option on gdb-version.
5294 (gdb-invalidate-threads): Remove unused argument.
5296 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5298 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
5299 to looking-back to avoid ridiculous slow down in large files (bug#4511).
5301 2009-09-23 Glenn Morris <rgm@gnu.org>
5303 * mail/rmail.el (rmail-reply): Don't try to add a References header when
5304 replying to mail without References or Message-Id. (Bug#4525)
5306 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
5308 * term/ns-win.el (ns-reg-to-script): New variable.
5310 2009-09-23 Daiki Ueno <ueno@unixuser.org>
5312 * epg.el (epg-wait-for-status): Preserve existing 'error results.
5314 2009-09-22 Sam Steingold <sds@gnu.org>
5316 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
5317 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
5318 to 1 because hg returns status 1 when nothing is found.
5319 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
5321 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5323 * textmodes/fill.el: Convert to utf-8 encoding.
5324 (fill-french-nobreak-p): Remove redundant » and « inherited from our
5327 * add-log.el (change-log-fill-forward-paragraph): New function.
5328 (change-log-mode): Use it so fill-region DTRT.
5329 Set fill-indent-according-to-mode here rather than in
5330 change-log-fill-paragraph.
5331 (change-log-fill-paragraph): Remove.
5333 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
5335 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
5336 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
5338 2009-09-22 Glenn Morris <rgm@gnu.org>
5340 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
5341 the scroll-bar scroll the calendar window rather than the buffer.
5343 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
5344 commands that move point (as opposed to scrolling).
5346 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
5348 * emacs-lisp/elint.el (elint): New custom group.
5349 (elint-log-buffer): Make it a defcustom.
5350 (elint-scan-preloaded, elint-ignored-warnings)
5351 (elint-directory-skip-re): New options.
5352 (elint-builtin-variables): Doc fix.
5353 (elint-preloaded-env): New variable.
5354 (elint-unknown-builtin-args): Add an entry for encode-time.
5355 (elint-extra-errors): Make it a variable rather than a constant.
5356 (elint-preloaded-skip-re): New constant.
5357 (elint-directory): Skip files matching elint-directory-skip-re.
5358 (elint-features): New variable, local to linted buffers.
5359 (elint-update-env): Initialize elint-features. Possibly add
5360 elint-preloaded-env to the buffer's environment.
5361 (elint-get-top-forms): Bind elint-current-pos, for log messages.
5363 (elint-init-form): New function, extracted from elint-init-env.
5364 Make non-list forms a warning rather than an error.
5365 Add the mode-map for define-derived-mode. Handle define-minor-mode,
5366 easy-menu-define, put that adds an error-condition, and provide.
5367 When requiring cl, also require cl-macs. Really require cl, to handle
5368 some cl macros. Store required libraries in the list elint-features,
5369 so as not to re-load them. Treat cc-require like require.
5370 (elint-init-env): Call elint-init-form to do the work.
5371 Handle eval-and-compile and such like.
5372 (elint-add-required-env): Do not clear messages.
5373 (elint-special-forms): Add handlers for function, defalias, if, when,
5375 (elint-form): Add optional argument to ignore elint-special-forms,
5376 useful to prevent recursive calls from handlers. Doc fix.
5377 Respect elint-ignored-warnings.
5378 (elint-form): Respect elint-ignored-warnings.
5379 (elint-bound-variable, elint-bound-function): New variables.
5380 (elint-unbound-variable): Respect elint-bound-variable.
5381 (elint-get-args): Respect elint-bound-function.
5382 (elint-check-cond-form): Add some simple handling for (f)boundp and
5384 (elint-check-defalias-form): New handler.
5385 (elint-check-let-form): Make an empty let a warning rather than an
5387 (elint-check-setq-form): Make an empty setq a warning rather than an
5388 error. Respect elint-ignored-warnings.
5389 (elint-check-defvar-form): Accept null doc-strings.
5390 (elint-check-conditional-form): New handler. Does some simple-minded
5391 checking of featurep and (f)boundp tests.
5392 (elint-put-function-args): New function.
5393 (elint-initialize): Use elint-scan-doc-file rather than
5394 elint-find-builtin-variables. Use elint-put-function-args.
5395 Possibly scan preloaded-file-list.
5396 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
5397 extend to handle functions as well.
5399 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
5401 * linum.el (linum-delete-overlays, linum-update-window):
5402 Do not modify the right margin. (Bug#3971)
5404 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
5406 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
5407 nxml-mode instead of xml-mode.
5409 2009-09-21 Kevin Ryde <user42@zip.com.au>
5411 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
5413 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5415 * net/dig.el (dig-mode): Use define-derived-mode.
5417 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
5419 * vc-dispatcher.el (vc-do-command): Return the process object in
5420 the asynchronous case. Use when instead of if. Do not run
5421 vc-exec-after to display a message if not enabled. (Bug#4463)
5423 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
5424 properties to the stash strings.
5425 (vc-git-stash-list): Return a list of strings.
5426 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
5427 (vc-git-stash-show-at-point): New functions.
5428 (vc-git-stash-map): New keymap.
5430 * register.el (ctl-x-r-map): Define the keys here instead of
5433 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
5435 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
5436 list, to workaround performance problem (bug#4485).
5438 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
5440 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
5442 2009-09-20 Daiki Ueno <ueno@unixuser.org>
5444 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
5445 Document that this option is not recommended to use.
5447 2009-09-19 Glenn Morris <rgm@gnu.org>
5449 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
5452 * calc/calc-alg.el (var):
5453 * calc/calcalg2.el (var): Define for compiler.
5455 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
5457 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
5460 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
5462 * time-stamp.el (time-stamp-month-dd-yyyy)
5463 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
5464 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
5465 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
5466 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
5467 Remove functions that have been obsolete since 1995 (Bug#4436).
5469 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
5470 indent buffer only if called interactively (Bug#4452).
5472 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
5473 Eli Zaretskii <eliz@gnu.org>
5475 This fixes bug#4197 (merged to bug#865, though not identical).
5476 * server.el (server-auth-dir): Add docstring note about FAT32.
5477 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
5478 but warn against using them.
5480 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
5482 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
5483 older GDB where there is no has_more field.
5485 2009-09-19 Glenn Morris <rgm@gnu.org>
5487 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
5489 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
5491 * files.el (auto-mode-alist): Change default for XML files to nXML
5494 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
5496 * server.el (server-ensure-safe-dir): Pass 'integer
5497 to `file-attributes', as suggested.
5499 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5501 * dired-aux.el (dired-query-alist): Remove spurious backslash.
5502 (dired-query): Use read-key.
5504 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
5506 * cus-start.el (ns-use-qd-smoothing): Remove.
5508 2009-09-18 Glenn Morris <rgm@gnu.org>
5510 * allout.el (top-level): Remove unnecessary progn.
5512 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
5514 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
5515 definition of abbrev table.
5517 * speedbar.el (speedbar-track-mouse):
5518 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
5519 * net/eudc.el (eudc-expand-inline):
5520 * net/newst-backend.el (newsticker--cache-read-feed):
5521 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
5522 condition-case handlers.
5524 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
5526 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
5527 (gdb-var-list): Add an element for has_more field.
5528 (gdb-non-stop-handler): Enable pretty printing for STL containers.
5529 (gdb-var-create-handler, gdb-var-list-children-handler-1)
5530 (gdb-var-update-handler-1): Parse output of dynamic variable
5531 objects (STL containers).
5532 (gdb-var-delete-1): Pass var1 as an explicit second argument.
5533 (gdb-get-field): Delete alias. Use bindat-get-field directly.
5535 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
5537 (gud-speedbar-buttons): Make node expandable if expression "has more"
5540 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
5542 * startup.el (emacs-quick-startup): Remove variable and all uses.
5543 (command-line): Set `inhibit-x-resources' instead.
5544 (command-line-1): Use `inhibit-x-resources' instead.
5546 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
5548 * subr.el: Fix last change to avoid using the `unless' macro,
5549 which breaks bootstrapping.
5551 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5553 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
5554 extended definitions, in case we reload subr.el after having
5556 (eval-next-after-load): Mark as obsolete.
5558 2009-09-17 Juri Linkov <juri@jurta.org>
5560 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
5561 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
5562 (menu-bar-showhide-menu, menu-bar-tools-menu)
5563 (menu-bar-describe-menu, menu-bar-help-menu)
5564 (minibuffer-local-completion-map, minibuffer-local-map):
5567 2009-09-17 Glenn Morris <rgm@gnu.org>
5569 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
5570 arguments, whether or not it has a handler.
5572 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
5574 * simple.el (hard-newline): Give it a doc-string.
5576 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5577 (lisp-mode-syntax-table): Give them doc-strings.
5579 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
5581 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
5582 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
5583 (menu-bar-options-menu, menu-bar-showhide-menu)
5584 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
5585 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
5586 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
5587 (menu-bar-options-menu, menu-bar-tools-menu)
5588 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
5589 (menu-bar-help-menu):
5590 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
5593 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
5594 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
5595 calls for the menu names and :help.
5597 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5599 * mouse.el (minor-mode-menu-from-indicator): Pay attention
5600 to :minor-mode-function (bug#4455).
5602 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5604 * startup.el (command-line): Initialize the window-system after
5605 processing the command-line.
5607 * textmodes/page.el (what-page): Make sure we don't inf-loop if
5608 page-delimiter matches the empty string.
5610 2009-09-16 Glenn Morris <rgm@gnu.org>
5612 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
5613 byte-compile-not-obsolete-var. It's a list now.
5614 (byte-compile-not-obsolete-funcs): New variable.
5615 (byte-compile-warn-obsolete): Don't warn about functions if they are in
5616 byte-compile-not-obsolete-funcs.
5617 (byte-compile-variable-ref, byte-compile-defvar): Update for
5618 byte-compile-not-obsolete-vars name-change and list nature.
5619 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
5620 and variables behind (f)boundp tests.
5621 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
5623 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
5625 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
5627 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5629 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
5630 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
5633 2009-09-15 Stephen Eglen <stephen@gnu.org>
5635 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
5636 the virtual-buffers, use the name of the buffer specified by
5637 find-file-noselect, as the match may be a symlink. (This was a
5638 problem if the target and the symlink had different names.)
5640 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
5644 * desktop.el (desktop-path): Check user-emacs-directory.
5646 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
5648 * loadup.el: Use after-load-functions to GC after loading each file.
5649 Remove the explicit GC calls that used to be sprinkled around.
5651 * subr.el (after-load-functions): New hook.
5652 (do-after-load-evaluation): Run it. Use string-match-p to detect
5653 `obsolete' packages, rather than painfully extracting the relevant
5656 2009-09-15 Glenn Morris <rgm@gnu.org>
5658 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
5659 free variable `doc'.
5661 * dired.el (dired-mode-map): Add menu entry for async shell command.
5663 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
5664 variables, also consider the .elc files, since the .el files are
5665 normally gzipped (subsequent code locates the .el.gz from the .elc).
5667 * calc/calc-prog.el (arglist): Define for compiler.
5669 * calendar/diary-lib.el (diary-display-function): Change the default to
5671 (body): Define for compiler.
5673 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
5674 (byte-compile-file-form, byte-compile-lambda)
5675 (byte-compile-top-level-body, byte-compile-form)
5676 (byte-compile-variable-ref, byte-compile-setq)
5677 (byte-compile-setq-default, byte-compile-body)
5678 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
5679 (batch-byte-compile): Give some more local variables with common names
5680 a "bytecomp-" prefix to avoid masking warnings about free variables.
5682 * startup.el (command-line-1): Give local variables with common names a
5683 distinguishing prefix, so as not to hide free variable warnings during
5686 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
5687 clever and add a suffix to make a unique name, just let the user decide
5688 whether or not to overwrite it. If the input is a directory, write the
5689 default filename to that directory. (Bug#4388)
5690 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
5691 is a filename-as-a-directory.
5693 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5695 * textmodes/page.el (what-page): Don't move to beginning of line.
5696 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
5698 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
5700 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
5702 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
5704 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
5705 * help.el (help-for-help-internal): Add purecopy calls for text.
5707 * vc.el (top): print-log method now takes an optional SHORTLOG
5708 argument. Add a new method: root.
5709 (vc-root-diff, vc-print-root-log): New functions.
5710 (vc-log-short-style): New variable.
5711 (vc-print-log-internal): Add support for showing short logs.
5713 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
5714 vc-print-root-log and vc-print-root-diff.
5716 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
5717 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
5718 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
5721 * vc-cvs.el (vc-cvs-print-log):
5722 * vc-mtn.el (vc-mtn-print-log):
5723 * vc-rcs.el (vc-rcs-print-log):
5724 * vc-sccs.el (vc-sccs-print-log):
5725 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
5726 that is ignored for now.
5728 * vc-mtn.el (vc-mtn-annotate-command):
5729 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
5731 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5733 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
5734 to function-key-map, and give them ascii-character property.
5735 * term/x-win.el (x-alternatives-map):
5736 * term/ns-win.el (ns-alternatives-map):
5737 * term/internal.el (msdos-key-remapping-map):
5738 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
5740 2009-09-14 Glenn Morris <rgm@gnu.org>
5742 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
5743 temp-buffers (2009-09-12).
5745 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5747 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
5748 the new read-key function.
5750 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
5752 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
5753 is defined (Bug#4405).
5755 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
5757 * recentf.el (recentf-cleanup): Use a hash table to find
5758 duplicates (Bug#4407).
5760 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
5762 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
5763 kp-0 to ascii equivalents (Bug#4325).
5765 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
5767 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
5769 * eshell/em-hist.el:
5770 * eshell/em-dirs.el (eshell-complete-user-reference):
5771 Declare pcomplete functions and variables to avoid compiler warnings.
5773 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
5775 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
5776 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
5777 * eshell/em-alias.el (eshell-aliases-file):
5778 * eshell/em-hist.el (eshell-history-file-name):
5779 Use expand-file-name instead of concat to make file names (Bug#4308).
5781 2009-09-13 Glenn Morris <rgm@gnu.org>
5783 * ediff-merg.el (ediff-do-merge):
5784 * filesets.el (filesets-run-cmd):
5785 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
5786 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
5787 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
5788 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
5789 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
5790 Replace empty `let's with `progn'.
5792 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5794 * mail/sendmail.el (send-mail-function):
5795 * tooltip.el (tooltip-mode):
5796 * simple.el (transient-mark-mode):
5797 * rfn-eshadow.el (file-name-shadow-mode):
5798 * frame.el (blink-cursor-mode):
5799 * font-core.el (global-font-lock-mode):
5800 * files.el (temporary-file-directory)
5801 (small-temporary-file-directory, auto-save-file-name-transforms):
5802 * epa-hook.el (auto-encryption-mode):
5803 * composite.el (global-auto-composition-mode):
5804 Use custom-initialize-delay.
5805 * startup.el (command-line): Don't explicitly call
5806 custom-reevaluate-setting for all the above vars.
5807 * custom.el (custom-initialize-safe-set)
5808 (custom-initialize-safe-default): Delete.
5810 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5812 * term/x-win.el (x-initialize-window-system):
5813 * term/w32-win.el (w32-initialize-window-system):
5814 * term/ns-win.el (ns-initialize-window-system): Don't call
5815 mouse-wheel-mode since it's enabled globally by default already.
5817 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
5818 actually define the variable, but only silences the byte-compiler.
5819 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
5820 before looking it up.
5821 (mouse-wheel-scroll-amount): Also reset the bindings if this value
5824 2009-09-12 Glenn Morris <rgm@gnu.org>
5826 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
5828 (elint-add-required-env): Don't beep on error.
5829 (elint-forms): In case of error, return ENV unchanged.
5830 (elint-init-env): Skip non-list forms.
5831 (elint-log): Handle unknown file positions.
5833 2009-09-12 Daiki Ueno <ueno@unixuser.org>
5835 * epg.el (epg-make-context): Add autoload cookie.
5836 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
5837 (epg-decrypt-string, epg-start-verify, epg-verify-file)
5838 (epg-verify-string, epg-start-sign, epg-sign-file)
5839 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
5840 (epg-encrypt-string, epg-start-export-keys)
5841 (epg-export-keys-to-file, epg-export-keys-to-string)
5842 (epg-start-import-keys, epg-import-keys-from-file)
5843 (epg-import-keys-from-string, epg-start-receive-keys)
5844 (epg-receive-keys, epg-import-keys-from-server)
5845 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
5846 (epg-sign-keys, epg-start-generate-key)
5847 (epg-generate-key-from-file, epg-generate-key-from-string):
5848 Remove autoload cookie.
5850 2009-09-12 Eli Zaretskii <eliz@gnu.org>
5852 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
5853 reevaluation of trash-directory.
5855 * mwheel.el: Fix last change.
5856 (mouse-wheel-mode): New defvar.
5857 (mouse-wheel-mode): Remove autoload cookie.
5859 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5861 * mwheel.el (mwheel-installed-bindings): New var.
5862 (mouse-wheel-mode): Use it, so as to make sure we really remove all
5863 the bindings we set last time. Use custom-initialize-delay.
5864 * loadup.el: Load mwheel after term/*-win.el.
5865 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
5866 and mouse-wheel-up-event now that their first evaluation is done
5867 sufficiently late to be correct.
5869 * startup.el (tutorial-directory): Make it a defcustom.
5870 Use custom-initialize-delay rather than eval-at-startup to set it.
5871 * image.el (image-load-path): Make it a defcustom.
5872 Use custom-initialize-delay rather than eval-at-startup to set it.
5873 * subr.el (eval-at-startup): Remove.
5874 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
5876 * subr.el (do-after-load-evaluation): Warn the user after loading an
5879 2009-09-12 Glenn Morris <rgm@gnu.org>
5881 * proced.el (proced-mark-alt): Remove alias.
5882 (proced-mode-map): Remove proced-mark-alt.
5884 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
5885 Elint file and directory. Remove initialization entry.
5887 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
5889 (elint-current-buffer): Set mode-line-process.
5890 (elint-init-env): Handle define-derived-mode.
5891 Fix declare-function with unspecified arglist. Guard against odd
5892 defalias statements (eg iso-insert's 8859-1-map).
5893 (elint-add-required-env): Use a temp buffer.
5894 (elint-form): Just print the function/macro name, not the whole form.
5895 Return env unchanged if we fail to parse a macro.
5896 (elint-forms): Guard against parse errors.
5897 (elint-output): New function, to handle batch mode.
5898 (elint-log-message): Add optional argument. Use elint-output.
5899 (elint-set-mode-line): New function.
5901 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
5903 * emacs-lisp/elp.el (elp-not-profilable): Add more
5904 functions (Bug#4233).
5906 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
5908 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
5909 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
5911 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
5913 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
5914 (gdb-var-list-children): Use json parsing.
5916 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
5918 * progmodes/js.el (js--proper-indentation): Handle the case where
5919 char-before is null. Reported by Deniz Dogan.
5921 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
5923 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
5925 2009-09-11 Daiki Ueno <ueno@unixuser.org>
5927 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
5928 (epg-digest-algorithm-alist): Add SHA224.
5929 (epg-context-set-passphrase-callback)
5930 (epg-context-set-progress-callback): Add description about
5933 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5935 * custom.el (custom-delayed-init-variables): New var.
5936 (custom-initialize-delay): New function.
5937 * startup.el (command-line): "Re"evaluate all vars in
5938 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
5939 explicitly any more.
5940 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
5941 to avoid creating a ~/.emacs.d at build-time (bug#4347).
5943 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
5945 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
5947 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
5948 (gdb-var-update-handler): Use json parsing.
5950 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
5952 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
5953 decode annotated text, regardless of language environment. (Bug#2741)
5955 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5957 * Makefile.in (autoloads): Make rmail.el writable as well.
5959 2009-09-11 Glenn Morris <rgm@gnu.org>
5961 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
5963 * dired.el: Regenerate with extracted autoloads.
5964 * Makefile.in (autoloads): Make dired.el writable.
5966 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
5967 * ibuffer.el: Regenerate with extracted autoloads.
5968 * Makefile.in (autoloads): Make ibuffer.el writable.
5970 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
5971 * version.el (emacs-copyright, emacs-major-version)
5972 (emacs-minor-version): Reformat doc-strings for make-docfile.
5974 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
5975 functions and variables, since they must be stuff specific to some other
5977 (apropos-print): Make mouse-click message less specific about button.
5979 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
5980 that records where a macro was defined.
5981 * help-fns.el (describe-function-1): Mention if a function has a
5983 * help-mode.el (help-function-cmacro): New button.
5985 * locate.el (top-level): Always require dired.
5986 (locate-mode-map): Initialize inside the defvar.
5988 * net/ange-ftp.el (dired-compress-file): Declare.
5989 (ange-ftp-dired-compress-file): Add doc string.
5991 * term/ns-win.el (x-display-name, x-setup-function-keys):
5992 Unify doc-strings with X versions.
5994 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5996 * emulation/crisp.el (crisp-mode-map): Move initialization
5998 (crisp-mode): Use define-minor-mode.
6000 * progmodes/xscheme.el (xscheme-evaluation-commands):
6001 Put a :advertised-binding property rather than using
6002 advertised-xscheme-send-previous-expression.
6003 (advertised-xscheme-send-previous-expression): Declare obsolete.
6004 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
6006 (crisp-mode): Add corresponding bindings to
6007 undo's :advertised-binding instead.
6008 * dired.el (dired-mode-map): Put a :advertised-binding property rather
6009 than using dired-advertised-find-file.
6010 (dired-advertised-find-file):
6011 * simple.el (advertised-undo):
6012 * wid-edit.el (advertised-widget-backward): Declare obsolete.
6013 (widget-keymap): Put a :advertised-binding property rather
6014 than using advertised-widget-backward.
6015 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
6016 than using advertised-undo.
6017 * tutorial.el (tutorial--default-keys): Adjust accordingly.
6019 2009-09-10 Simon South <ssouth@slowcomputing.org>
6021 * progmodes/delphi.el (delphi-tab): Indent region when Transient
6022 Mark mode is enabled and region is active; otherwise indent or
6023 insert TAB as usual.
6024 (delphi-mode): Update description of TAB-key binding.
6026 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6028 * subr.el (define-key-rebound-commands): Mark obsolete.
6029 * startup.el (precompute-menubar-bindings): Remove.
6030 (normal-top-level): Remove obsolete code that tried to precompute
6032 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
6033 define-key-rebound-commands and precompute-menubar-bindings.
6035 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
6037 * net/imap.el (imap-interactive-login): Better messages.
6038 (imap-open): Fix bug with renamed buffer on reconnect.
6039 (imap-authenticate): Add buffer-local imap-last-authenticator variable
6040 for easier debugging and cleaner code. On successful (guessed based on
6041 server capabilities) secondary authentication, set imap-state
6043 (imap-last-authenticator): Define imap-last-authenticator as a variable
6046 2009-09-10 Glenn Morris <rgm@gnu.org>
6048 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
6050 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
6051 (byte-compile-file-form-autoload): Don't warn about unknown functions
6052 where the autoload statement comes after the use.
6053 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
6054 that any handlers inside the body (eg require) are in turn respected.
6056 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
6059 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
6060 and syntax and abbrev tables basic docs, if they don't have any.
6062 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
6064 * international/mule-cmds.el (top-level): Require cl when compiling.
6065 (view-hello-file): Use default-value rather than
6066 default-enable-multibyte-characters.
6068 * progmodes/fortran.el: Move all safe and risky properties into the
6071 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
6072 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
6074 Put autoloads in rmail.el rather than loaddefs.el.
6075 * mail/rmail.el: Regenerate with extracted autoloads.
6077 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
6078 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
6080 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
6082 Reported in thread for Bug#4375.
6083 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
6084 "-data-evaluate-expression" instead of print.
6085 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
6086 (gdb-tooltip-print): Parse output from above MI command.
6087 (gdb): Revert 2009-08-11 change. User should detach inferior
6090 Remove the word "separate" from IO functions as inferior
6091 output is now never displayed in the GUD buffer.
6093 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
6095 * startup.el (command-line-normalize-file-name): On Windows and
6096 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
6098 2009-09-10 Juri Linkov <juri@jurta.org>
6100 * isearch.el (isearch-text-char-description): Propertize escape
6101 character sequences with the `escape-glyph' face. (Bug#4344)
6103 * simple.el (shell-command): Set asynchronous process filter to
6104 `comint-output-filter'. (Bug#4343)
6106 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
6107 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
6108 the list. Move "asm" to the bottom.
6109 (grep-find-ignored-directories): Add `choice' with nil value
6110 to empty the list easily.
6111 (grep-find-ignored-files): New option.
6112 (grep-files-history): Set to nil by default instead of '("ch" "el").
6113 (grep-compute-defaults): Add "<X>" to `grep-template'.
6114 (grep-read-files): Bind new local variables `default-alias' and
6115 `default-extension'. Use a list of default values for the file prompt.
6116 (lgrep): Add `--exclude=' command line options composed from
6117 `grep-find-ignored-files'.
6118 (rgrep): Add `-name' command line options composed from
6119 `grep-find-ignored-files'. (Bug#4301)
6121 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
6126 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
6128 * calendar/time-date.el (autoload):
6129 Expand define-obsolete-function-alias into defalias and make-obsolete
6130 for old Emacsen that Gnus supports.
6131 (with-no-warnings): Define it for old Emacsen.
6132 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
6134 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
6135 float-time is available; suppress compile warning for time-to-seconds.
6137 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
6139 * net/imap.el (imap-message-map): Docstring fix.
6141 2009-09-09 Glenn Morris <rgm@gnu.org>
6143 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
6144 line numbers too. (Bug#4374)
6146 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6148 * smerge-mode.el (smerge-remove-props, smerge-refine):
6149 Use with-silent-modifications (bug#4342).
6151 * subr.el (with-silent-modifications): New macro.
6153 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
6155 * files.el (top-level): Require `cl' when compiling.
6157 2009-09-07 Glenn Morris <rgm@gnu.org>
6159 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
6161 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
6162 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
6164 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
6166 * vc-git.el (vc-git-annotate-command): Use separator to parse
6167 arguments correctly.
6169 2009-09-06 Eli Zaretskii <eliz@gnu.org>
6171 * proced.el (proced-mode): Doc fix.
6173 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
6175 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
6177 (tramp-do-file-attributes-with-ls): Check for file existence at
6179 (tramp-do-file-attributes-with-stat): Likewise.
6180 (tramp-convert-file-attributes): Return nil when attr is nil.
6182 2009-09-05 Glenn Morris <rgm@gnu.org>
6184 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
6185 properties to this button.
6186 (diary-fancy-display): Don't extend the button to the final newline.
6187 (diary-fancy-display-mode): Continue to define "q" as a local key.
6189 * calendar/cal-china.el (holiday-chinese): Make it slightly more
6192 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
6194 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
6195 (byte-compile-dest-file-function): New option.
6196 (byte-compile-dest-file): Doc fix.
6197 Obey byte-compile-dest-file-function.
6198 (byte-compile-cl-file-p): New function.
6199 (byte-compile-eval): Only suppress noruntime warnings about cl functions
6200 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
6201 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
6202 than for file being previously loaded.
6203 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
6204 (byte-compile-file-form-require): Handle the case where requiring a file
6205 indirectly causes CL to be loaded.
6207 2009-09-05 Karl Fogel <kfogel@red-bean.com>
6209 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
6210 before killing the old buffer, since by the time `kill-buffer' is
6211 run so many buffer variables have been set to nil that it may not
6212 behave as expected. (Bug#4061)
6214 2009-09-05 Karl Fogel <kfogel@red-bean.com>
6216 * files.el (find-alternate-file): If the old buffer is modified
6217 and visiting a file, behave similarly to `kill-buffer' when
6218 killing it, thus reverting to the pre-1.878 behavior; see
6219 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
6220 for discussion. Also, consult `buffer-file-name' as a variable
6221 not as a function, for consistency with the rest of the code.
6223 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
6225 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
6226 also when adding a new directory.
6228 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
6231 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6233 * files.el (locate-file-completion-table): Make it provide boundary
6234 information, so partial-completion works better.
6236 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
6238 * mail/footnote.el (Footnote-text-under-cursor):
6239 Check footnote-text-marker-alist before using it (bug#4324).
6241 2009-09-04 Glenn Morris <rgm@gnu.org>
6243 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
6244 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
6245 * play/solitaire.el, play/tetris.el:
6246 Remove leading * from defcustom and defface docs.
6248 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
6250 (diary-fancy-overriding-map): New variable.
6251 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
6254 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
6257 2009-09-03 Glenn Morris <rgm@gnu.org>
6259 * arc-mode.el (archive-mode):
6260 * dos-fns.el (set-default-process-coding-system):
6261 * man.el (Man-getpage-in-background):
6262 * menu-bar.el (menu-bar-describe-menu):
6263 * server.el (server-process-filter):
6264 * startup.el (command-line):
6265 * tar-mode.el (tar-header-block-tokenize, tar-extract):
6266 * w32-fns.el (set-default-process-coding-system):
6267 * x-dnd.el (x-dnd-handle-file-name):
6268 * international/mule-cmds.el (mule-menu-keymap)
6269 (set-default-coding-systems, language-info-alist, set-language-info)
6270 (set-language-environment, standard-display-european-internal)
6271 (set-locale-environment):
6272 * international/mule-diag.el (mule-diag):
6273 * mail/emacsbug.el (report-emacs-bug):
6274 * mail/rmail.el (rmail-mode):
6275 * mail/sendmail.el (mail-setup):
6276 Use default-value rather than default-enable-multibyte-characters.
6278 * progmodes/f90.el: Move all safe properties into the defcustoms.
6279 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
6281 * calendar/appt.el (appt-check):
6282 * calendar/diary-lib.el (diary-set-header, diary-live-p)
6283 (diary-check-diary-file, diary-list-entries)
6284 (diary-include-other-diary-files, diary-simple-display)
6285 (diary-fancy-display, diary-print-entries)
6286 (diary-mark-included-diary-files, diary-make-entry):
6287 Don't call substitute-in-file-name on diary-file.
6289 2009-09-03 Eduard Wiebe <usenet@pusto.de>
6290 Stefan Monnier <monnier@iro.umontreal.ca>
6292 * mail/footnote.el (footnote-prefix): Make it a defcustom.
6293 (footnote-mode-map): Move initialization into the declaration.
6294 (footnote-minor-mode-map): Define it rather than changing global-map.
6295 (footnote-mode): Use define-minor-mode.
6297 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
6299 * net/tramp.el (tramp-handle-file-attributes-with-ls)
6300 (tramp-do-file-attributes-with-perl)
6301 (tramp-do-file-attributes-with-stat): Rename from
6302 `tramp-handle-file-attributes-with-*'.
6303 (tramp-handle-file-attributes): Use them.
6304 (tramp-do-directory-files-and-attributes-with-perl)
6305 (tramp-do-directory-files-and-attributes-with-stat): Rename from
6306 `tramp-handle-directory-files-and-attributes-with-*'.
6307 (tramp-handle-directory-files-and-attributes): Use them.
6308 (tramp-method-out-of-band-p): Additional parameter SIZE.
6309 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
6310 (tramp-handle-write-region): Use it.
6311 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
6312 (tramp-handle-vc-registered): Check, whether the first run did
6313 return files to be tested.
6314 (tramp-advice-make-auto-save-file-name): Do not call directly
6315 `tramp-handle-make-auto-save-file-name', because this would bypass
6316 the locking mechanism.
6318 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
6319 (file-remote-p, process-file, start-file-process, set-file-times)
6320 (tramp-compat-file-attributes): Compatibility functions shall not
6321 call directly `tramp-handle-*', because this would bypass the
6323 (tramp-compat-number-sequence): New defun.
6325 2009-09-02 Glenn Morris <rgm@gnu.org>
6327 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
6328 alias for float-time.
6329 (time-to-number-of-days): In Emacs, use float-time.
6330 * net/newst-backend.el (time-add): Suppress warnings from compat
6332 * time.el (emacs-uptime, emacs-init-time):
6333 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
6334 Use float-time rather than time-to-seconds.
6336 * minibuffer.el (completion-initials-expand): Fix typo.
6338 * faces.el (modeline, modeline-inactive, modeline-highlight)
6339 (modeline-buffer-id):
6340 * info.el (info-menu-5): Mark these face aliases as obsolete.
6342 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
6344 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
6346 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
6347 no "--thread" option.
6348 (gdb-stopped): Don't print "Switched to thread" message when it is
6351 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6353 * minibuffer.el (completion-try-completion)
6354 (completion-all-completions): Remove ill-defined (and
6355 mistakenly installed and luckily never used nor documented)
6356 `completion-styles' property.
6357 (completion-initials-expand, completion-initials-all-completions)
6358 (completion-initials-try-completion): New functions.
6359 (completion-styles-alist): Add doc to each entry.
6360 Add new `initials' entry.
6362 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
6364 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
6365 MI command -var-evaluate-expression.
6366 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
6367 and tweak for case of string child.
6368 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
6370 2009-09-01 Glenn Morris <rgm@gnu.org>
6372 * add-log.el (change-log-date-face, change-log-name-face)
6373 (change-log-email-face, change-log-file-face, change-log-list-face)
6374 (change-log-conditionals-face, change-log-function-face)
6375 (change-log-acknowledgement-face):
6376 * cus-edit.el (custom-invalid-face, custom-rogue-face)
6377 (custom-modified-face, custom-set-face, custom-changed-face)
6378 (custom-saved-face, custom-button-face, custom-button-pressed-face)
6379 (custom-documentation-face, custom-state-face, custom-comment-face)
6380 (custom-comment-tag-face, custom-variable-tag-face)
6381 (custom-variable-button-face, custom-face-tag-face)
6382 (custom-group-tag-face-1, custom-group-tag-face):
6383 * diff-mode.el (diff-header-face, diff-file-header-face)
6384 (diff-index-face, diff-hunk-header-face, diff-removed-face)
6385 (diff-added-face, diff-changed-face, diff-function-face)
6386 (diff-context-face, diff-nonexistent-face):
6387 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
6388 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
6389 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
6390 (Info-title-4-face):
6391 * isearch.el (isearch-lazy-highlight-face):
6392 * log-view.el (log-view-file-face, log-view-message-face):
6393 * paren.el (show-paren-match-face, show-paren-mismatch-face):
6394 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
6395 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
6397 * smerge-mode.el (smerge-mine-face, smerge-other-face)
6398 (smerge-base-face, smerge-markers-face):
6399 * wid-edit.el (widget-documentation-face, widget-button-face)
6400 (widget-field-face, widget-single-line-field-face)
6401 (widget-inactive-face, widget-button-pressed-face):
6402 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
6403 (woman-addition-face):
6404 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
6405 (eshell-ls-executable-face, eshell-ls-readonly-face)
6406 (eshell-ls-unreadable-face, eshell-ls-special-face)
6407 (eshell-ls-missing-face, eshell-ls-archive-face)
6408 (eshell-ls-backup-face, eshell-ls-product-face)
6409 (eshell-ls-clutter-face):
6410 * eshell/em-prompt.el (eshell-prompt-face):
6411 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
6412 * obsolete/old-whitespace.el (whitespace-highlight-face):
6413 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
6414 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
6415 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
6416 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
6417 (antlr-font-lock-literal-face):
6418 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
6419 (ebrowse-root-class-face, ebrowse-file-name-face)
6420 (ebrowse-default-face, ebrowse-member-attribute-face)
6421 (ebrowse-member-class-face, ebrowse-progress-face):
6422 * progmodes/make-mode.el (makefile-space-face):
6423 * progmodes/sh-script.el (sh-heredoc-face):
6424 * textmodes/flyspell.el (flyspell-incorrect-face)
6425 (flyspell-duplicate-face):
6426 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
6427 * textmodes/texinfo.el (texinfo-heading-face):
6428 Mark face aliases with "-face" suffix as obsolete.
6430 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
6433 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
6434 (eudc-bob-sound-menu): Use defvar rather than defconst, since
6435 easy-menu-define wants to modify these.
6437 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
6439 * net/browse-url.el (browse-url-file-url):
6440 * term/internal.el (dos-codepage-setup):
6441 Use default-value rather than default-enable-multibyte-characters.
6443 * progmodes/etags.el (etags-goto-tag-location):
6444 * progmodes/flymake.el (flymake-highlight-line)
6445 (flymake-goto-file-and-line, flymake-goto-line):
6446 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
6447 (gdb-goto-breakpoint):
6448 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
6449 * progmodes/python.el (python-find-function)
6450 (python-pdbtrack-track-stack-file):
6451 * progmodes/verilog-mode.el (verilog-surelint-off):
6452 * term/ns-win.el (ns-open-file-select-line):
6453 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
6454 Use forward-line rather than goto-line.
6456 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
6457 * textmodes/reftex-index.el (reftex-display-index):
6458 * textmodes/reftex-ref.el (reftex-offer-label-menu):
6459 * textmodes/reftex-toc.el (reftex-toc):
6460 Remove unnecessary bindings of default-major-mode (all are followed by
6461 major-mode check and possible mode switch).
6463 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
6465 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6466 Handle watchpoints (bug#4282).
6467 (def-gdb-thread-buffer-command): Enable thread to be selected by
6468 clicking without selecting threads buffer first.
6469 (gdb-current-context-command): Use selected frame so that "up",
6470 "down" etc work in the GUD buffer.
6471 (gdb-update): Find selected frame before rendering stack buffer.
6472 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
6474 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6476 * progmodes/sym-comp.el (displayed-completions): Remove.
6477 (symbol-complete): Use minibuffer-complete.
6479 2009-08-31 Glenn Morris <rgm@gnu.org>
6481 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
6483 * apropos.el (apropos-symbols-internal):
6484 Handle (obsolete) face aliases.
6486 * faces.el (describe-face): Adjust the output format to be more like
6487 describe-variable, and to mention (obsolete) face aliases.
6488 Adjust the whitespace so that help-setup-xref works.
6490 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
6491 * calendar/diary-lib.el (diary-button-face):
6492 Mark these face aliases as obsolete.
6494 * calendar/calendar.el (calendar-today): Doc fix.
6496 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
6498 * progmodes/gdb-mi.el (gdb-control-all-threads)
6499 (gdb-control-current-thread): Force tool bar update.
6500 (gdb-non-stop-handler): New function.
6501 (gdb-init-1): Use it to test if non-stop mode is supported.
6502 Remove unused gdbmi buffer type.
6504 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6506 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
6507 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
6509 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
6511 * comint.el (comint-exec-1): Check command is non-null first.
6512 Part of gdb-mi.el change (2009-08-28).
6514 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6516 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
6518 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
6520 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
6521 instead of `dolist' to avoid a recursive require when bootstrapping.
6523 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6525 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
6527 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
6529 * net/imap.el (imap-send-command): Simplify.
6530 (imap-wait-for-tag): point-max -> buffer-size.
6532 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
6534 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
6535 with constant argument.
6537 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
6539 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
6541 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
6542 Change default, since most of our files don't have a history.
6543 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
6546 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6549 * calc/calc.el: Improve commenting convention.
6550 (calc-digit-map, toplevel): Simplify.
6552 * comint.el (comint-insert-input): Be careful to only set point if we
6553 don't delegate to some other command.
6555 * proced.el (proced-signal-list): Make it an alist.
6556 (proced-grammar-alist): Capitalize names.
6557 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
6558 Disable undo manually and make it read-only.
6559 Use completion-annotate-function.
6561 * minibuffer.el (minibuffer-message): If the current buffer is not
6562 a minibuffer, insert the message in the echo area rather than at the
6564 (completion-annotate-function): New variable.
6565 (minibuffer-completion-help): Use it.
6566 (completion--embedded-envvar-table): Environment vars are
6567 always case-sensitive.
6569 2009-08-30 Glenn Morris <rgm@gnu.org>
6571 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
6572 from fortran-current-defun.
6573 (fortran-beginning-of-subprogram): Be more precise about finding the
6574 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
6575 (fortran-end-of-subprogram): Simplify.
6576 (fortran-current-defun): Use fortran-start-prog-re.
6578 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
6580 * subr.el (do-after-load-evaluation): Simplify.
6582 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
6584 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
6586 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
6587 (vc-rcs-print-log): Use it.
6589 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
6591 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6593 * paths.el (abbrev-file-name): Move to abbrev.el.
6594 * abbrev.el (abbrev-file-name): Move from paths.el.
6595 Obey user-emacs-directory.
6596 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
6597 user-emacs-directory.
6598 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
6599 abbrev-file-name and calc-settings-file any more.
6600 * startup.el (command-line): Recompute abbrev-file-name and
6601 abbreviated-home-dir.
6602 (normal-no-mouse-startup-screen): Improve the generic code and get rid
6603 of the special code for when C-h bindings haven't been changed.
6604 (display-startup-echo-area-message): Use with-current-buffer.
6605 (command-line-1): Use a list of strings, rather than a list of lists
6606 of strings for longopts.
6608 * files.el (get-free-disk-space): Use / for default-directory.
6610 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
6611 Use with-current-buffer.
6613 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
6614 Recognize immutable variables like most-positive-fixnum.
6615 (byte-compile-setq-default): Check and warn if trying to assign
6616 to an immutable variable, or a non-variable.
6618 * progmodes/cc-vars.el (c-comment-continuation-stars):
6619 * progmodes/cc-engine.el (c-looking-at-bos):
6620 * progmodes/cc-cmds.el (c-toggle-auto-state)
6621 (c-forward-into-nomenclature, c-backward-into-nomenclature)
6622 (c-comment-line-break-function): Add version of obsolescence.
6624 2009-08-28 Juri Linkov <juri@jurta.org>
6626 * files.el (magic-fallback-mode-alist): Add ZIP magic number
6627 associated with `archive-mode'.
6629 * image.el (image-type-header-regexps): Use only JPEG magic number
6630 to determine JPEG images, and don't use `image-jpeg-p' because
6631 Emacs can display non-JFIF non-Exif JPEG images.
6633 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
6635 * arc-mode.el (archive-mode):
6636 * emacs-lisp/re-builder.el (re-builder-unload-function):
6637 Protect against the default value of `major-mode' being nil.
6639 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
6641 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
6642 Fix typos in docstrings.
6644 * progmodes/js.el (js--macro-decl-re): Doc fix.
6645 (js--plain-method-re, js--split-name): Refloc docstring.
6646 (js--class-styles, js--make-merged-item, js--splice-into-items):
6647 Fix typos in docstrings; reflow docstrings.
6648 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
6649 (js--variable-decl-matcher, js--inside-pitem-p)
6650 (js--parse-state-at-point, js--get-all-known-symbols)
6651 (js--symbol-history, js-find-symbol, js--js-references)
6652 (js--moz-interactor, js--js-encode-value, js--read-tab):
6653 Fix typos in docstrings.
6655 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6657 * textmodes/reftex.el (reftex-get-file-buffer-force):
6658 * progmodes/verilog-mode.el (verilog-batch-execute-func):
6659 * emulation/viper.el (viper-go-away, viper-set-hooks):
6660 * emacs-lisp/re-builder.el (re-builder-unload-function):
6661 * emacs-lisp/bytecomp.el (byte-compile-file):
6662 * ses.el (ses-unload-function):
6663 * hexl.el (hexl-find-file):
6664 * files.el (normal-mode):
6665 * ehelp.el (with-electric-help):
6666 * autoinsert.el (auto-insert-alist):
6667 * arc-mode.el (archive-mode):
6668 Use (default-value 'major-mode) instead of default-major-mode.
6670 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
6671 * international/mule.el (load-with-code-conversion):
6672 * emacs-lisp/debug.el (debug):
6673 * ediff-vers.el (ediff-rcs-get-output-buffer):
6674 * dired.el (dired-internal-noselect): Don't let-bind
6675 default-major-mode around code that doesn't use it.
6676 E.g. buffer creation via get-buffer-create doesn't use it.
6678 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
6680 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
6681 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
6682 when writing the temp file. Otherwise, epa-file gets confused.
6683 (tramp-register-file-name-handlers): Make it a defun. Move also
6684 `epa-file-handler' to the front of `file-name-handler-alist'.
6686 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6688 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
6689 start right after a ^M.
6690 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
6691 (tramp-completion-file-name-regexp-separate)
6692 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
6693 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
6694 Don't modify last-coding-system-used by accident.
6695 (tramp-completion-file-name-handler): Apply the checks here,
6696 instead during registration.
6697 (tramp-register-file-name-handlers) Renamed from
6698 `tramp-register-file-name-handler'. Register both
6699 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
6700 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
6702 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
6704 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
6706 (gdb-init-1, gdb-display-separate-io-buffer)
6707 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
6709 (gdb-inferior-io-mode): Use make-comint-in-buffer.
6710 (gdb-inferior-filter): Use comint-output-filter to stop
6711 echoing and remove ^M characters.
6713 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6715 * emulation/viper-init.el (viper-restore-cursor-type):
6716 * emulation/cua-base.el (cua--update-indications):
6717 Replace default-cursor-type with (default-value 'cursor-type).
6719 * mail/sendmail.el (mail-recover-1):
6720 * international/mule-diag.el (describe-current-coding-system-briefly)
6721 (describe-current-coding-system):
6722 * international/mule-cmds.el (select-safe-coding-system)
6723 (select-message-coding-system)
6724 (set-language-environment-coding-systems, set-locale-environment):
6725 * hexl.el (hexl-insert-multibyte-char):
6726 * dos-w32.el (find-buffer-file-type-coding-system):
6727 * simple.el (what-cursor-position):
6728 Replace uses of default-buffer-file-coding-system
6729 with (default-value 'buffer-file-coding-system).
6731 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
6732 Replace uses of default-cursor-in-non-selected-windows
6733 with (default-value 'cursor-in-non-selected-windows).
6734 Use with-current-buffer.
6736 * mail/feedmail.el: Use CL macros.
6737 (feedmail-run-the-queue, feedmail-send-it-immediately):
6738 * dos-w32.el (find-buffer-file-type): Replace uses of
6739 default-buffer-file-type with (default-value 'buffer-file-type).
6741 2009-08-28 Glenn Morris <rgm@gnu.org>
6743 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
6744 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
6745 Use default-value of major-mode rather than default-major-mode.
6747 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6749 * Makefile.in (update-elcfiles): Report left over elc files.
6751 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
6752 expand-file-name and with-current-buffer.
6753 (mail-get-names, mail-directory): Use with-current-buffer.
6755 * vc.el (vc-read-revision): New function.
6756 (vc-version-diff, vc-merge): Use it.
6758 2009-08-27 Sam Steingold <sds@gnu.org>
6760 * simple.el (kill-do-not-save-duplicates): New user option.
6761 (kill-new): When it is non-nil, and the new string is the same as
6762 the latest kill, set replace to t to avoid duplicates in kill-ring.
6764 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
6766 * net/tramp.el (tramp-handle-process-file): Do not flush all
6767 caches when `process-file-side-effects' is set.
6768 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
6769 instead of `tramp-find-file-exists-command'.
6770 Unset `process-file-side-effects'.
6772 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
6774 * net/tramp.el (tramp-methods): New method "rsyncc".
6775 (top): Add completion function for "rsyncc".
6776 (tramp-message-show-message): New defvar.
6777 (tramp-message, tramp-error): Use it.
6778 (tramp-do-copy-or-rename-file-directly): Extend check for direct
6780 (tramp-do-copy-or-rename-file-out-of-band): Handle new
6781 `tramp-methods' entry `copy-env' of "rsyncc".
6782 (tramp-vc-registered-read-file-names): New defconst.
6783 (tramp-vc-registered-file-names): New defvar.
6784 (tramp-handle-vc-registered): Implement optimization strategy.
6785 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
6786 (tramp-vc-file-name-handler): New defun.
6787 (tramp-get-ls-command, tramp-get-test-command)
6788 (tramp-get-file-exists-command, tramp-get-remote-ln)
6789 (tramp-get-remote-perl, tramp-get-remote-stat)
6790 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
6792 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
6793 (tramp-cache-inhibit-cache): Extend doc string. It allows also
6795 (tramp-get-file-property): Check for timestamps in
6796 `tramp-cache-inhibit-cache'.
6797 (tramp-set-file-property): Write timestamp.
6799 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
6801 * language/japan-util.el (japanese-symbol-table): Add entries for
6804 * international/characters.el: Add category `j' to cp932-2-byte.
6806 2009-08-27 Kenichi Handa <handa@m17n.org>
6808 * international/fontset.el (build-default-fontset-data): New macro.
6809 (setup-default-fontset): Use build-default-fontset-data for CJK,
6810 tibetan, ethiopic, and ipa.
6812 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6814 * cus-start.el (default-major-mode): Customize `major-mode' instead.
6815 (enable-multibyte-characters): Not customizable any more.
6817 * subr.el (default-mode-line-format, default-header-line-format)
6818 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
6819 (default-direction-reversed, default-truncate-lines)
6820 (default-left-margin, default-tab-width, default-case-fold-search)
6821 (default-left-margin-width, default-right-margin-width)
6822 (default-left-fringe-width, default-right-fringe-width)
6823 (default-fringes-outside-margins, default-scroll-bar-width)
6824 (default-vertical-scroll-bar, default-indicate-empty-lines)
6825 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
6826 (default-fringe-cursor-alist, default-scroll-up-aggressively)
6827 (default-scroll-down-aggressively, default-fill-column)
6828 (default-cursor-type, default-buffer-file-type)
6829 (default-cursor-in-non-selected-windows)
6830 (default-buffer-file-coding-system, default-major-mode)
6831 (default-enable-multibyte-characters): Mark as obsolete.
6833 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
6835 * vc-dir.el (vc-dir-update): Remove debug helper.
6837 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
6839 2009-08-26 Sam Steingold <sds@gnu.org>
6841 * simple.el (save-interprogram-paste-before-kill): New user option.
6842 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
6843 save the interprogram-paste into kill-ring before overriding it
6844 with the Emacs kill.
6846 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
6848 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
6849 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
6850 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
6851 and move to vc-rcs.el.
6852 (vc-default-next-revision): Rename to vc-rcs-next-revision and
6854 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
6855 (vc-rcs-update-changelog): Remove.
6856 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
6857 and move to vc-rcs.el.
6859 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
6860 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
6862 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
6863 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
6864 vc.el, renamed to be RCS specific.
6866 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
6868 (vc-cvs-update-changelog): Move here from vc.el.
6870 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
6873 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
6875 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
6877 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
6879 * vc-git.el (vc-git-register): Use "git add" for directories.
6880 (vc-git-stash, vc-git-stash-show): New functions.
6881 (vc-git-extra-menu-map): Bind them.
6883 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
6884 directory correctly in case the item is a directory itself.
6886 * vc.el: Document the desired behavior for reverted files in the
6888 (vc-default-prettify-state-info): Remove function, unused.
6890 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
6892 2009-08-26 Glenn Morris <rgm@gnu.org>
6894 * bindings.el (standard-mode-line-format): Reposition dashes in
6895 which-func entry. (Bug#4217)
6897 * files.el (enable-local-variables, enable-local-eval)
6898 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
6900 (auto-mode-alist, ignored-local-variables)
6901 (save-some-buffers-action-alist): Move risky declarations to the
6903 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
6904 (font-lock-defaults, format-alist, imenu--index-alist)
6905 (imenu-generic-expression, input-method-alist, minor-mode-alist)
6906 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
6907 (mode-line-modified, mode-line-mule-info, mode-line-position)
6908 (mode-line-process, mode-line-remote, outline-level)
6909 (parse-time-rules, rmail-output-file-alist)
6910 (special-display-buffer-names, vc-mode):
6911 Move risky declarations to the relevant files.
6912 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
6913 (mode-line-modified, mode-line-process, mode-line-position)
6914 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
6915 * font-core.el (font-lock-defaults):
6916 * format.el (format-alist):
6917 * vc-hooks.el (vc-mode):
6918 * window.el (special-display-buffer-names):
6919 * international/mule-cmds.el (input-method-alist):
6920 Define riskiness here (dumped file) rather than in files.el.
6921 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
6922 * imenu.el (imenu-generic-expression, imenu--index-alist):
6923 * outline.el (outline-level):
6924 * time.el (display-time-string):
6925 * calendar/parse-time.el (parse-time-rules):
6926 * mail/rmailout.el (rmail-output-file-alist):
6927 Autoload riskiness here, rather than placing in files.el.
6929 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
6931 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
6933 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
6935 * simple.el (process-file-side-effects): New defvar.
6937 * dired-aux.el (dired-show-file-type):
6938 * vc.el (vc-diff-internal):
6939 * vc-arch.el (vc-arch-diff):
6940 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
6941 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
6942 * vc-git.el (vc-git-registered, vc-git-working-revision)
6943 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
6944 (vc-git--empty-db-p):
6945 * vc-hooks.el (vc-user-login-name):
6946 * vc-svn.el (vc-svn-registered, vc-svn-state)
6947 (vc-svn-dir-extra-headers, vc-svn-find-revision):
6948 * progmodes/grep.el (grep-probe): Let-bind
6949 `process-file-side-effects' with nil.
6951 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
6953 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
6954 daemon. Replace ping by checking for running service for bluez
6955 and zeroconf. (Bug#4239)
6957 2009-08-25 Kevin Ryde <user42@zip.com.au>
6959 * net/dig.el (dig): Add autoload cookie.
6961 2009-08-25 Glenn Morris <rgm@gnu.org>
6963 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
6964 load-history for absolute file-names.
6965 (byte-compile-file-form-require): Warn about use of the cl package.
6967 * format.el (format-alist): Doc fix.
6969 * play/bubbles.el (top-level): Don't require cl at run-time.
6971 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
6974 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
6976 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
6978 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
6980 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
6982 * calc/calc-alg.el (math-trig-rewrite)
6983 (math-hyperbolic-trig-rewrite): New functions.
6984 (calc-simplify): Simplify trig functions when asked.
6986 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6988 * diff-mode.el (diff-find-source-location): Avoid goto-line.
6990 2009-08-24 Kenichi Handa <handa@m17n.org>
6992 * language/ind-util.el (mapthread): Delete it.
6993 (combinatorial): New function.
6994 (indian--puthash-cv): Use combinatorial instead of mapthread.
6996 2009-08-22 Kevin Ryde <user42@zip.com.au>
6998 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
6999 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
7000 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
7001 Clarify docstring that the value is strings not symbols.
7002 (checkdoc-list-of-strings-p): New function.
7004 2009-08-22 Glenn Morris <rgm@gnu.org>
7006 * files.el (auto-mode-alist):
7007 * hippie-exp.el (he-concat-directory-file-name):
7008 * lpr.el (lpr-windows-system, printer-name):
7009 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
7010 * ps-print.el (ps-windows-system):
7011 * startup.el (command-line):
7012 * emulation/viper-ex.el (viper-glob-function):
7013 * international/mule-cmds.el (set-language-environment-coding-systems):
7014 * net/ange-ftp.el (ange-ftp-write-region):
7015 * obsolete/fast-lock.el (fast-lock-cache-name):
7016 Remove code for defunct system-types emx, macos, mswindows, next-mach,
7017 unisoft-unix, vax-vms, win32, w32.
7019 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
7020 given name if the pattern is not more specific.
7022 * calendar/lunar.el (lunar-phase-names): New option.
7023 (lunar-phase): Doc fix.
7024 (lunar-cycles-per-year): New constant.
7025 (lunar-index): New function.
7026 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
7027 (lunar-phase-name): Use lunar-phase-names.
7028 (calendar-lunar-phases): Use format.
7029 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
7031 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
7032 Copy imenu-example--name-and-position function here for own use.
7033 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
7035 * bs.el (bs--redisplay):
7036 * cus-edit.el (custom-redraw):
7037 * ibuffer.el (ibuffer-bury-buffer):
7038 * server.el (server-goto-line-column):
7039 * startup.el (command-line-1):
7040 * strokes.el (strokes-xpm-for-stroke):
7041 * term.el (term-display-buffer-line):
7042 * view.el (View-goto-line):
7043 * calc/calc.el (calc-do, calc-trail-buffer):
7044 * play/gamegrid.el (gamegrid-add-score-insecure):
7045 * progmodes/ada-mode.el (ada-compile-goto-error):
7046 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
7047 (ebrowse-select-1st-to-9nth):
7048 * progmodes/cperl-mode.el (cperl-time-fontification):
7049 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
7050 * progmodes/gud.el (gud-display-line):
7051 (idlwave-shell-display-line):
7052 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
7053 * progmodes/make-mode.el (makefile-browser-toggle):
7054 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
7055 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
7056 * textmodes/picture.el (picture-draw-rectangle):
7057 * textmodes/reftex-index.el (reftex-index-goto-letter):
7058 (reftex-select-jump-to-previous):
7059 * textmodes/reftex-sel.el (reftex-find-start-point)
7060 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
7061 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
7062 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
7063 * textmodes/tex-mode.el (tex-compilation-parse-errors):
7064 * textmodes/two-column.el (2C-associated-buffer):
7065 Use forward-line rather than goto-line.
7067 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
7070 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
7071 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
7072 (quick-check-list-to-regexp): Declare.
7074 * progmodes/make-mode.el (makefile-browser-insert-selection):
7075 Use goto-char rather than goto-line.
7077 * progmodes/prolog.el (compilation-error-regexp-alist)
7078 (compilation-forget-errors): Declare.
7080 2009-08-22 Juri Linkov <juri@jurta.org>
7082 * progmodes/grep.el (lgrep, rgrep): At the beginning
7083 set `dir' to `default-directory' unless `dir' is a non-nil
7084 readable directory. (Bug#4052)
7085 (lgrep, rgrep): Change a weird way to report an error
7086 from using `read-string' to using `error'.
7087 Instead of using interactive arguments in the function body,
7088 add new argument `confirm'.
7090 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7092 * textmodes/remember.el (remember-buffer):
7093 * progmodes/cperl-mode.el (cperl-vc-header-alist):
7094 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
7095 (icalendar-extract-ical-from-buffer):
7096 * net/newst-treeview.el (newsticker-groups-filename):
7097 * net/newst-backend.el (newsticker-cache-filename):
7098 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
7099 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
7100 (speedbar-add-ignored-path-regexp, speedbar-line-path)
7101 (speedbar-buffers-line-path, speedbar-path-line)
7102 (speedbar-buffers-line-path):
7103 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
7105 * epa.el (epa-display-verify-result):
7106 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
7108 2009-08-21 Glenn Morris <rgm@gnu.org>
7110 * progmodes/js.el (inferior-moz-process): Fix declaration.
7112 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
7114 * obsolete/rnewspost.el (news-mail-reply):
7115 Use goto-char rather than goto-line.
7117 * term/ns-win.el (ns-open-file-select-line):
7118 Use line-beginning-position rather than goto-line.
7120 * apropos.el (apropos-command):
7121 * ehelp.el (electric-helpify):
7122 * printing.el (pr-show-setup):
7123 * strokes.el (strokes-help):
7124 * tutorial.el (tutorial--describe-nonstandard-key)
7125 (tutorial--detailed-help):
7126 * woman.el (woman-mini-help, woman-display-extended-fonts):
7127 * calc/calc-help.el (calc-describe-key):
7128 * emulation/edt.el (edt-electric-helpify):
7129 * international/mule-diag.el (mule-diag):
7130 * play/yow.el (apropos-zippy):
7131 * progmodes/python.el (python-describe-symbol):
7132 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
7133 * textmodes/table.el (*table--cell-describe-mode)
7134 (*table--cell-describe-bindings):
7135 Use help-print-return-message rather than the now obsolete alias.
7137 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
7138 (calendar-cursor-to-visible-date):
7139 * play/5x5.el (5x5-position-cursor):
7140 * play/decipher.el (decipher):
7141 * play/gomoku.el (gomoku-goto-xy):
7142 * play/landmark.el (lm-goto-xy):
7143 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
7145 Use forward-line, not goto-line.
7147 * mail/rmail.el (rmail-obsolete): Delete custom group.
7148 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
7149 (rmail-remote-password, rmail-remote-password-required):
7150 Remove unneeded :set-after and :set properties.
7152 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
7154 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
7156 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
7158 * loadup.el: Remove leftover macos code.
7160 * vc-git.el (vc-git-annotate-command): Run asynchronously.
7161 Explicitly pass the date format to git blame so that user local
7162 so that the output format can be parsed.
7164 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
7166 * net/dbus.el (top): Don't check for (getenv
7167 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
7169 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
7171 * log-edit.el (log-edit-strip-single-file-name): New var.
7172 (log-edit-insert-changelog): Use it. Bug#3571
7174 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7176 * subr.el (read-passwd): Use read-key so keypad keys work as well.
7179 * help.el (help-print-return-message): Rename from
7180 print-help-return-message.
7182 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
7183 cvs-mode-map parent hack.
7184 (log-view-mode): Derive from special-mode.
7186 * linum.el (linum-mode): window-size-change-functions is redundant.
7187 Adapt to new window-configuration-change-hook behavior.
7188 (linum-after-size, linum-after-config): Remove.
7190 * imenu.el (imenu-example--name-and-position)
7191 (imenu-example--lisp-extract-index-name)
7192 (imenu-example--create-lisp-index, imenu-example--create-c-index):
7195 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
7196 (inferior-prolog-mode): Use it.
7197 (inferior-prolog-load-file): Reset list of errors.
7199 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
7201 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
7203 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
7205 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
7207 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
7210 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7212 * subr.el (listify-key-sequence-1): Use normal syntax since those
7213 integers are nowadays always represented by the same (positive) number
7215 (read-key-empty-map): New const.
7216 (read-key-delay): New var.
7217 (read-key): New function.
7218 (force-mode-line-update): Use with-current-buffer.
7219 (locate-user-emacs-file): Don't forget to abbreviate the file name.
7220 (start-process-shell-command, start-file-process-shell-command):
7221 Discourage the use of command-args.
7223 2009-08-19 Glenn Morris <rgm@gnu.org>
7225 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
7227 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7229 * simple.el (choose-completion-string): Don't rely on
7230 minibuffer-completing-file-name and ad-hoc checks to decide whether
7231 to continue completion or not.
7233 * minibuffer.el (minibuffer-hide-completions): New function.
7234 (completion--do-completion): Use it.
7235 (completions-annotations): New face.
7236 (completion--insert-strings): Use it.
7237 (completion-pcm--delim-wild-regex): Add docstring.
7238 (completion-pcm--string->pattern): Add support for 0-width delimiters
7239 in completion-pcm--delim-wild-regex.
7241 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7243 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
7244 Remove unused var `buffer-modified-p'.
7246 * minibuffer.el (completion--do-completion): Move point for the #b001
7247 case as well (bug#4176).
7248 (minibuffer-complete, minibuffer-complete-word): Don't move point.
7250 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
7252 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
7255 2009-08-18 Kenichi Handa <handa@m17n.org>
7257 * international/ucs-normalize.el (ucs-normalize-version):
7259 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
7260 (utf-8-hfs): Make it perform normalization on encoding too.
7262 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
7263 (sentence-end-without-space): Delete duplicated chars.
7264 (sentence-end-base): Likewise.
7266 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
7267 (html-mode): Delete duplicated chars from sentence-end-base.
7269 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
7270 (texinfo-mode): Delete duplicated chars from sentence-end-base.
7272 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
7274 * files.el (hack-one-local-variable): If the mode function is for
7275 a minor mode, pass it an argument (Bug#4148).
7277 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
7279 * net/tramp.el (tramp-register-completion-file-name-handler):
7280 Check also for (member 'partial-completion completion-styles).
7282 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7284 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
7287 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
7289 * progmodes/cperl-mode.el: Merge upstream 6.2.
7290 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
7291 (cperl-forward-re): Check cperl-brace-recursing.
7292 (cperl-highlight-charclass): New function.
7293 (cperl-find-pods-heres): Use it.
7294 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
7295 (cperl-beautify-regexp-piece): Fix column calculation.
7296 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
7297 (cperl-beautify-level): Don't process entire regexp.
7298 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
7300 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
7301 (cperl-init-faces): Build a list in the normal way.
7303 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7305 * calendar/parse-time.el (parse-time-string-chars): Save match
7308 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
7310 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
7311 (sql-product): Use it.
7312 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
7313 (sql-set-product): Add completion.
7314 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
7315 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
7316 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
7317 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
7318 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
7319 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
7320 (sql-highlight-db2-keywords): Remove.
7321 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7322 (sql-highlight-product): Use derived-mode-p.
7323 (sql-set-sqli-buffer): Use with-current-buffer.
7324 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
7327 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
7329 * term.el: Fix commenting convention, turn comments into docstrings.
7331 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
7333 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
7335 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
7337 * calendar/parse-time.el (parse-time-string-chars): Compute using
7338 character classes, to handle non-ascii characters (Bug#3190).
7340 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7342 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
7343 another heredoc if the user adds another < (Bug#3226).
7345 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
7346 Don't initialize based on window-system (Bug#4124).
7348 * facemenu.el (facemenu-read-color): Use a completion function
7349 that accepts any defined color, such as RGB triplets (Bug#3677).
7351 * files.el (get-free-disk-space): Change fallback default
7352 directory to /. Expand DIR argument before switching to fallback.
7353 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
7355 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
7357 * files.el (load-library): Doc fix.
7359 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
7361 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
7362 (viper-if-string): Redefine C-s in the minibuffer to insert the last
7363 incremental search string.
7365 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
7368 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
7369 (ediff-merge-region-is-non-clash)
7370 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
7371 Also check if the job is really a merge job.
7373 * ediff.el (ediff-current-file): New function.
7375 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
7377 * progmodes/js.el: Edit docstrings throughout to follow Emacs
7379 (js-insert-and-indent): Delete function.
7380 (js-mode-map): Don't bind keys to js-insert-and-indent.
7381 (js-beginning-of-defun): Rename from js--beginning-of-defun.
7382 (js-end-of-defun): Rename from js--end-of-defun.
7383 (js-auto-indent-flag): Delete variable.
7385 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
7387 * progmodes/js.el: Remove proclaim statement.
7388 Defvar which-func-imenu-joiner-function to silence compiler.
7390 * files.el (auto-mode-alist): Use js-mode for .js files.
7392 * progmodes/js2-mode.el: Remove file.
7394 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
7396 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
7398 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
7400 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
7401 Karl Landstrom <karl.landstrom@brgeight.se>
7403 * progmodes/js.el: New file.
7405 2009-08-14 Mark A. Hershberger <mah@everybody.org>
7407 * timezone.el (timezone-parse-date): Add ability to understand ISO
7408 basic format (minimal separators) dates in addition to the
7409 already-supported extended format dates.
7411 2009-08-14 Eli Zaretskii <eliz@gnu.org>
7413 * international/ucs-normalize.el: Add a `coding' file variable.
7415 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
7417 2009-08-14 Sam Steingold <sds@gnu.org>
7419 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7421 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
7423 * faces.el (help-argument-name): Define it here instead of
7424 help-fns.el, because in daemon mode help-fns.el may be loaded when
7425 faces are still uninitialized (Bug#1078).
7427 * help-fns.el (help-argument-name): Move defface to faces.el.
7429 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
7431 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
7432 create buffer with a pty but no process so that GDB can make the
7433 inferior the controlling process.
7435 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
7437 * international/ucs-normalize.el: New file.
7439 2009-08-13 Richard Stallman <rms@gnu.org>
7441 * mail/rmail.el (rmail-get-attr-names):
7442 Accept an attribute header that is too short.
7444 * mail/rmail.el (rmail-forget-messages):
7445 Ignore nil elt in rmail-message-vector. Use dotimes.
7447 * progmodes/compile.el (compilation-goto-locus):
7448 Use next-error-move-function.
7450 * simple.el (next-error-move-function): New variable.
7452 2009-08-12 Juri Linkov <juri@jurta.org>
7454 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
7455 always non-nil. (Bug#4052)
7457 * replace.el (read-regexp): Return empty string when
7458 `default-value' is nil.
7459 (keep-lines-read-args): Don't use empty string as the
7460 default value for `read-regexp'. (Bug#2495)
7462 2009-08-12 Juri Linkov <juri@jurta.org>
7464 * international/mule-cmds.el (ucs-insert): Change arguments
7465 from `arg' to `character', `count', `inherit' to be the same
7466 as in `insert-char'. Doc fix. (Bug#4039)
7468 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
7470 2009-08-12 Juri Linkov <juri@jurta.org>
7472 * files-x.el: New file.
7474 * files.el: Move code that deals with adding/deleting
7475 file/directory-local variables to files-x.el.
7477 * Makefile.in (ELCFILES): Add files-x.elc.
7479 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
7481 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
7483 (gdb-place-breakpoints, gdb-get-location): Rewritten without
7485 (gdb-invalidate-disassembly): Do not refresh upon receiving
7486 'update signal. Instead, update all disassembly buffers only after
7488 (gdb): Send -target-detach when buffer is killed (Bug#3794).
7489 (gdb-starting): Moved -data-list-register-names...
7490 (gdb-stopped): ...here so it's sent when first thread stops.
7491 (gdb-registers-handler-custom): Do nothing if register names are
7494 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
7495 from `gdb-mi.el' to avoid extra tangling.
7497 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
7498 change which breaks `gud-def' definitions used in `gdb'.
7499 (gdb-update-gud-running): No extra fuss for updating frame number.
7501 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7503 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
7504 (describe-language-environment-map, setup-language-environment-map)
7505 (set-coding-system-map): Move initialization into declaration.
7506 (set-language-info-alist): Last arg to define-key-after can be skipped.
7508 * international/quail.el (quail-completion-1): Simplify.
7509 (quail-define-rules): Use slightly more compact code.
7510 (quail-insert-decode-map): Propertize keys, compact columns.
7512 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7515 2009-08-10 Miles Bader <miles@gnu.org>
7517 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
7518 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
7519 (js2-instance-member, js2-private-member, js2-private-function-call)
7520 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
7521 (js2-magic-paren, js2-external-variable):
7522 Remove "-face" suffix from face names.
7523 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
7524 (js2-highlight-undeclared-vars, js2-peek-token)
7525 (js2-parse-function-params, js2-mode-show-errors)
7526 (js2-mode-show-warnings, js2-make-magic-delimiter)
7527 (js2-mode-highlight-magic-parens): Update to use new face names.
7529 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
7531 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
7532 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
7534 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
7536 * subr.el: Provide hashtable-print-readable.
7538 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
7539 hs-c-like-adjust-block-beginning.
7540 (hs-hide-block-at-point): Stop hiding at the beginning of
7541 hs-block-end-regexp (Bug#700).
7543 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
7545 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
7547 (gdb-registers-handler-custom): Do not fail when register names
7550 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
7552 * progmodes/gdb-mi.el (gdb-control-all-threads)
7553 (gdb-control-current-thread): Interactive setters for
7554 `gdb-gud-control-all-threads' to use in menu.
7555 (gdb-show-run-p): Show «Go» when process is not active.
7556 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
7557 gud/thread.xpm and gud/all.xpm.
7559 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
7561 * net/net-utils.el (net-utils-font-lock-keywords): New var.
7562 (nslookup-font-lock-keywords): Make it a variable.
7563 (net-utils-mode): New mode for viewing diagnostic network output.
7564 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
7565 (net-utils-run-simple): New function.
7566 (ifconfig, iwconfig, netstat, arp, route): Use it.
7568 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
7570 * progmodes/gdb-mi.el (gdb-read-memory-custom)
7571 (gdb-memory-set-address, def-gdb-set-positive-number)
7572 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
7573 after changing settings.
7574 (gdb-invalidate-disassembly): Update when first shown.
7575 (gdb-edit-locals-value): Fixed.
7576 (gdb-registers-handler-custom): Print registers in right order and
7577 allow changing register values (only for current thread yet).
7578 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
7579 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
7580 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
7581 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
7583 (gdb-registers-mode-map): TAB to switch to locals.
7585 2009-08-08 Eli Zaretskii <eliz@gnu.org>
7587 * mail/rmail.el (rmail-add-mbox-headers)
7588 (rmail-set-message-counters-counter): Search for
7589 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
7591 2009-08-08 Glenn Morris <rgm@gnu.org>
7593 * Makefile.in (ELCFILES): Update.
7595 2009-08-07 Eli Zaretskii <eliz@gnu.org>
7597 * mail/sendmail.el (mail-yank-original): Set
7598 buffer-file-coding-system from the one used by the message whose
7601 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
7602 to "windows" when "pgnuplot" is used.
7603 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
7604 call accept-process-output if "pgnuplot" is used.
7605 (calc-graph-init): Don't send -display and -geometry to
7606 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
7607 running "pgnuplot -V" with shell-command-to-string.
7609 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
7612 2009-08-07 Eli Zaretskii <eliz@gnu.org>
7614 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
7617 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
7619 * vc-dispatcher.el (vc-resynch-window): Update comment.
7621 * term.el (term-handle-ansi-escape): Add comments with the
7622 terminfo capabilities implemented.
7624 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
7626 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
7627 (gdb-var-create-handler): Rewritten using JSON parser.
7628 (gdb-propertize-header): Moved earlier.
7629 (gdb-set-header): Removed to avoid duplication.
7630 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
7631 Refresh disassembly buffers only after threads list have been
7633 (gdb-threads-header, gdb-registers-header): Per-buffer header line
7636 2009-08-04 Juri Linkov <juri@jurta.org>
7638 * files.el: Commands to add/delete file/directory-local variables.
7639 (read-file-local-variable, read-file-local-variable-value)
7640 (read-file-local-variable-mode, modify-file-local-variable)
7641 (modify-file-local-variable-prop-line)
7642 (modify-dir-local-variable): New functions.
7643 (add-file-local-variable, delete-file-local-variable)
7644 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
7645 (add-dir-local-variable, delete-dir-local-variable)
7646 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
7647 (copy-dir-locals-to-file-locals-prop-line): New commands.
7649 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
7651 * abbrev.el (insert-abbrev-table-description): Prettify output.
7652 Suggested by Karl Chen.
7654 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
7656 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
7657 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
7658 (gdb-overlay-arrow-position, gdb-thread-position)
7659 (gdb-disassembly-position): Declare variables.
7660 (gdb-wait-for-pending): Function now.
7661 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
7662 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
7663 compilation goes smoothly.
7664 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
7665 (gdb-non-stop-setting): New customization setting which replaces
7666 `gdb-non-stop' so changing it doesn't break active GDB session.
7667 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
7668 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
7669 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
7670 (gdb-show-threads-by-default): New customization options.
7671 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
7673 (gdb-get-buffer-create): Send buffers update signal when they are
7675 (gdb-invalidate-locals, gdb-invalidate-registers)
7676 (gdb-invalidate-breakpoints)
7677 (gdb-invalidate-threads, gdb-invalidate-disassembly)
7678 (gdb-invalidate-memory): Accept update signal.
7679 (gdb-current-context-command): Use --frame option.
7680 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
7681 Implement `gdb-frame-number' selection logic.
7682 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
7683 whether to show GUD toolbar buttons.
7684 (gdb-thread-exited): Unselect current thread when it exits.
7685 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
7686 (gdb-mark-line): Routine which sets overlay arrow or inverses
7687 video on fringeless displays.
7688 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
7689 to build aligned columns of data in GDB buffers and set text
7690 properties line-by-line.
7691 (gdb-invalidate-breakpoints)
7692 (gdb-breakpoints-list-handler-custom)
7693 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
7694 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
7695 (gdb-registers-handler-custom): Align data columns.
7696 (gdb-locals-handler-custom): Now prints data like in variable
7698 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
7699 Removed confusing buttons.
7700 (gdb-invalidate-threads): Append --frame.
7701 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
7702 between breakpoints/threads buffers.
7703 (gdb-set-window-buffer): Now can ignore dedicated windows.
7704 (gdb-propertize-header): Use `gdb-set-window-buffer'.
7705 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
7706 (def-gdb-thread-buffer-gud-command): Replaces
7707 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
7708 for fine thread control.
7709 (gdb-preempt-existing-or-display-buffer): New function used to
7710 display bound buffers without breaking window layout.
7711 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
7712 (gdb-select-frame): New version of `gdb-frames-select' which now
7713 sets `gdb-frame-number' so commands may use --frame option instead
7714 of inner debugger state.
7715 (gdb-frame-handler): Do not set `gdb-frame-number'.
7716 (gdb-threads-mode-map): Select threads with mouse.
7718 * progmodes/gud.el (gdb-gud-context-call): Declare function to
7719 avoid compilation warning.
7720 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
7723 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
7724 Argument `key' renamed to `buffer-type'.
7725 (gdb-current-context-buffer-name): Do not add thread info to
7726 buffer name when no thread is selected.
7727 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
7729 (gdb-thread-selected): Handle `=thread-selected' notification.
7730 (gdb-wait-for-pending): New macro to deal with congestion problems.
7731 (gdb-breakpoints-list-handler-custom): Don't fail on pending
7733 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
7734 This fixes problem similar to one described in bug 3947.
7735 (gud-menu-map): More menu items.
7736 (gdb-init-1): Reset `gdb-thread-number' to nil.
7738 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
7741 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
7742 (gdb-current-context-command): Do not append --thread if
7743 `gdb-thread-number' is nil.
7744 (gdb-running-threads-count, gdb-stopped-threads-count): New
7746 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
7747 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
7748 customization options.
7749 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
7751 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
7752 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
7753 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
7754 set `gdb-thread-number' and update `gud-running' properly.
7755 (gdb-running): Update threads list when new threads appear.
7756 (gdb-stopped): Support non-stop operation and new thread switching
7758 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
7759 (gdb-json-partial-output): New set of JSON routines.
7760 (def-gdb-auto-update-trigger): New `signal-list' optional
7762 (gdb-thread-list-handler-custom): Update `gud-running',
7763 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
7764 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
7765 (gdb-continue-thread, gdb-step-thread): New commands for fine
7766 thread execution control.
7767 (gud-menu-map): New menu items to switch non-stop options.
7768 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
7769 (gdb-send): Mimic RET properly (bug 3794).
7771 * progmodes/gdb-mi.el (gdb-rules-name-maker)
7772 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
7774 (def-gdb-auto-update-handler): New nopreserve optional argument.
7775 (gdb-stack-list-frames-custom): Print stack from top to bottom.
7777 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
7778 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
7779 (gdb-parent-mode): New mode to derive other GDB modes from.
7780 (gdb-display-disassembly-for-thread)
7781 (gdb-frame-disassembly-for-thread): New commands for threads
7784 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
7785 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
7786 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
7787 (gdb-update): We now store all GDB buffers in a list so that they
7788 can be updated by traversing a list instead of calling invalidate
7789 triggers explicitly.
7790 (def-gdb-trigger-and-handler): New macro to define trigger-handler
7791 pair for GDB buffer.
7792 (gdb-stack-buffer-name): Add thread information.
7793 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
7794 handle pending triggers.
7795 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
7796 (def-gdb-thread-buffer-simple-command)
7797 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
7798 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
7799 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
7800 New commands which show buffers bound to thread.
7801 (gdb-stack-list-locals-regexp): Removed unused regexp.
7803 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
7804 (gdb-locals-buffer-name, gdb-registers-buffer-name)
7805 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
7806 to (gud-comint-buffer) in *-buffer-name functions
7807 because (gdb-get-target-string) already does that.
7808 (gdb-locals-handler-custom, gdb-registers-handler-custom)
7809 (gdb-changed-registers-handler): Rewritten without regexps.
7811 * progmodes/gdb-mi.el: Basic thread selection support.
7812 (gdb-thread-number): New variable.
7813 (gdb-current-context-command): New macro which adds --thread
7815 (gdb-threads-mode-map): Select thread with SPC.
7816 (gdb-thread-list-handler-custom): Mark current thread with overlay
7817 arrow. Synchronize GDB thread and Emacs thread.
7818 (gdb-select-thread): New command which selects current thread.
7819 (gdb-invalidate-frames, gdb-invalidate-locals)
7820 (gdb-invalidate-registers): Use --thread option.
7822 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
7824 * net/tramp.el (top): Make check for tramp-gvfs loading more
7826 (tramp-handle-insert-file-contents): `unwind-protect' must be
7827 inside `with-parsed-tramp-file-name'.
7829 * net/tramp-gvfs.el (top): Remove superfluous message when loading
7832 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
7834 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
7835 directory if CLASSPATH is not set.
7837 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
7839 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
7841 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
7843 2009-08-02 Kevin Ryde <user42@zip.com.au>
7845 * net/newst-backend.el (newsticker--raw-url-list-defaults):
7846 Update freshmeat link. Delete newsforge.com as it seems gone.
7848 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
7850 * select.el (x-set-selection): Doc fix (Bug#4021).
7852 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
7854 * help-fns.el (describe-variable): Treat list return values from
7855 dir-locals-find-file properly (Bug#4005).
7857 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
7859 * net/tramp.el (tramp-debug-message): Print also microseconds.
7861 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
7863 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
7865 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
7866 (tramp-get-debug-buffer): Change `outline-regexp' according to new
7869 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
7870 (tramp-get-file-property): Use it.
7872 * autorevert.el (auto-revert-handler): Allow
7873 `auto-revert-tail-mode' for remote files.
7875 2009-08-02 Jason Rumney <jasonr@gnu.org>
7877 * minibuffer.el (read-file-name): Treat confirm options to
7878 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
7880 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
7882 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
7883 (font-lock-variable-name-face, font-lock-constant-face): Darken
7884 the colors for light backgrounds.
7886 2009-08-01 Eli Zaretskii <eliz@gnu.org>
7888 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
7889 month names. (Bug#3987)
7891 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
7893 * simple.el (line-move-finish): Pass whole number to
7894 line-move-to-column.
7895 (line-move-visual): Perform hscroll to the recorded position.
7897 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
7899 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
7901 2009-07-29 Alan Mackenzie <acm@muc.de>
7903 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
7905 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
7907 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
7908 (gdb-place-breakpoints): Use full path when setting breakpoints.
7910 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7912 * calc/calc.el (calc-mode-map): Add keybinding for
7913 `calc-transpose-lines'.
7915 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
7917 * calc/calc-misc.el (calc-transpose-lines): New function.
7919 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
7921 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
7922 Simplify check for out-of-band methods.
7923 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
7924 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
7926 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
7928 * vc-git.el (vc-git-checkin): Fix typo.
7930 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
7932 * progmodes/js2-mode.el: New file.
7934 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
7936 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
7937 (gud-menu-map): Adjust tooltip accordingly.
7939 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
7941 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
7942 (vc-bzr-log-view-mode): Adjust log-view-file-re.
7944 * add-log.el (change-log-mode-map): Add a menu.
7946 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
7948 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
7949 function returns nil.
7950 (dbus-handle-event): Handle special return value :ignore.
7951 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
7953 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
7955 * view.el (view-mode-enable): Don't define Helper-return-blurb if
7958 2009-07-25 Eli Zaretskii <eliz@gnu.org>
7962 * w32-vars.el (x-select-enable-clipboard): Doc fix.
7964 * term/pc-win.el (x-display-name, x-colors)
7965 (x-select-enable-clipboard, x-select-text): Doc fix.
7967 * term/common-win.el (x-display-name, x-colors): Doc fix.
7969 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
7970 (xw-defined-colors): Doc fix.
7972 * w32-fns.el (x-select-text, x-setup-function-keys)
7973 (x-get-selection, x-set-selection): Doc fix.
7975 * term/x-win.el (x-select-text, x-setup-function-keys)
7976 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
7978 * select.el (x-set-selection): Doc fix.
7980 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
7982 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
7983 instead of "IsNSSSupportAvailable". Avahi ought to work also when
7984 "IsNSSSupportAvailable" method is not available. Reported by
7985 Steve Youngs <steve@sxemacs.org>.
7987 2009-07-24 Kenichi Handa <handa@m17n.org>
7989 * international/characters.el: Fix setting of category ?C, ?|, ?K,
7990 and ?H. Fix setting of case for Latin Extended and Greek Extended.
7991 (build-unicode-category-table): Fix range checks.
7993 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
7995 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
7996 the buffer we try to sync is current when calling
7999 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
8000 not show up to date files.
8002 2009-07-24 Glenn Morris <rgm@gnu.org>
8004 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
8005 Add autoload cookies. If necessary, initialize.
8006 (elint-log): Handle non-file buffers.
8007 (elint-initialize): Add optional argument to reinitialize.
8008 (elint-find-builtin-variables): Save excursion.
8010 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
8012 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8015 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
8017 * vc.el (vc-print-log-internal): New function, split out from ...
8018 (vc-print-log): ... here.
8019 (vc-dir-move-to-goal-column): Declare.
8021 * vc-git.el (vc-git-add-signoff): New variable.
8022 (vc-git-checkin): Use it.
8023 (vc-git-toggle-signoff): New function.
8024 (vc-git-extra-menu-map): Bind it to menu.
8025 (vc-git--run-command-string): Accept a nil FILE argument.
8026 (vc-git-stash-list): New function.
8027 (vc-git-dir-extra-headers): Use it.
8029 2009-07-23 Glenn Morris <rgm@gnu.org>
8031 * help-fns.el (describe-variable): Describe ignored and risky local
8032 variables in a similar way to that in which we describe safe ones.
8034 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
8035 (byte-compile-output-file-form, byte-compile-output-docform)
8036 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
8037 Give some more local variables with common names a "bytecomp-" prefix,
8038 so as not to shadow things during compilation.
8039 * emacs-lisp/cl-macs.el (load-time-value)
8040 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
8041 `outbuffer' to `bytecomp-outbuffer'.
8043 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
8044 since the next two variables cover them automatically now.
8045 (elint-builtin-variables, elint-autoloaded-variables): New.
8046 (elint-unknown-builtin-args): Remove all members, since they can be
8047 parsed automatically now.
8048 (elint-extra-errors): New.
8049 (elint-env-add-env, elint-env-add-macro): Use cadr.
8050 (elint-current-buffer): Use or. Change final message.
8051 (elint-get-top-forms): Use line-end-position.
8052 (elint-init-env): Use cadr. Handle autoload, declare-function,
8054 (elint-add-required-env): Doc fix. Use or. Standardize error.
8055 (regexp-assoc): Remove unused function.
8056 (elint-top-form): Set elint-current-pos, to record the start of the
8057 top-level form, for compilation-mode.
8058 (elint-form): Trap errors in macro expansion. Use dolist.
8059 (elint-unbound-variable): Use elint-builtin-variables and
8060 elint-autoloaded-variables.
8061 (elint-get-args): Use cadr, or.
8062 (elint-check-cond-form): Use dolist, cadr.
8063 (elint-check-condition-case-form): Doc fix. Use cadr.
8064 Use elint-extra-errors.
8065 (elint-log): New function.
8066 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
8067 Distinguish errors and warnings.
8068 (elint-log-message): Use with-current-buffer. Inhibit read-only.
8069 Use a bytecomp-style format.
8070 (elint-clear-log): Preserve default-directory. Inhibit read-only.
8071 (elint-get-log-buffer): Use compilation mode. Disable undo.
8072 Don't truncate lines.
8073 (elint-initialize): Set builtin and autoloaded variable lists.
8074 Only process elint-unknown-builtin-args if non-nil.
8075 (elint-find-builtin-variables, elint-find-autoloaded-variables):
8077 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
8079 2009-07-22 Kevin Ryde <user42@zip.com.au>
8081 * net/newst-backend.el (newsticker--parse-atom-1.0)
8082 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
8083 (newsticker--parse-rss-1.0):
8084 * progmodes/idlwave.el (idlwave-mode):
8085 * progmodes/idlw-shell.el (idlwave-shell-mode):
8086 * progmodes/vera-mode.el (vera-mode):
8087 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
8088 * progmodes/vhdl-mode.el (vhdl-mode):
8089 * textmodes/table.el (table-generate-source)
8090 (table--warn-incompatibility):
8091 Hyperlink urls in docstrings with URL `...'.
8093 2009-07-22 Glenn Morris <rgm@gnu.org>
8095 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
8096 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
8097 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
8098 Remove leading * from defcustom docs.
8100 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
8102 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
8104 (list-load-path-shadows): Optionally, just return shadows as a string.
8106 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
8108 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
8110 * mail/rmailedit.el (rmail-edit-mode): Use
8111 auto-save-include-big-deletions.
8113 * mail/rmail.el (rmail-variables): Use
8114 auto-save-include-big-deletions.
8116 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
8119 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
8121 * calc/calc.el (calc-undo-length): New variable.
8122 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
8124 2009-07-21 Richard Stallman <rms@gnu.org>
8126 * files.el (auto-save-mode): Handle buffer-save-size = -2
8129 2009-07-21 Glenn Morris <rgm@gnu.org>
8131 * textmodes/ispell.el (ispell-looking-back): Update declaration.
8133 * calendar/todo-mode.el (calendar-current-date): Update declaration.
8135 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
8136 silence compiler. Instead...
8137 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
8138 (ps-print-ensure-fontified): Update for above function name changes.
8140 * printing.el (pr-mh-get-msg-num, pr-mh-show)
8141 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
8142 silence compiler. Instead...
8143 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
8144 (mh-show-buffer): Only define for compiler.
8145 (pr-mh-current-message): Update for above function name changes.
8147 * files.el (abort-if-file-too-large): Explicitly pass `filename'
8149 (find-file-noselect, insert-file-1): Update for above change.
8151 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
8153 * mail/mailclient.el (mailclient-send-it): Fix message.
8155 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
8156 (edebug-eval): Check cl-debug-env is bound.
8157 (print-level, print-circle): Don't redefine built-in variables.
8159 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
8160 (custom-print-vectors): Remove old comments from doc.
8162 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
8163 (emerge-version): Make the variable an obsolete alias for the
8164 emacs-version variable. Make the function obsolete.
8165 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
8166 Emerge options, rather than merging in into the main Options menu.
8167 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
8168 and auto advance modes. Disable edit/fast items when not relevant.
8170 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
8172 * term/vt420.el (terminal-init-vt420): Fix typo.
8174 2009-07-20 Sam Steingold <sds@gnu.org>
8176 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
8177 variable (removed from compile.el on 2004-03-11).
8179 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
8181 * files.el (hack-local-variables-filter): Fix last change.
8183 2009-07-19 Juri Linkov <juri@jurta.org>
8185 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
8186 (dir-local-variables-alist): New buffer-local variable.
8187 (hack-local-variables-filter): If variable is not dir-local,
8188 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
8189 because file-local overrides dir-local.
8190 (c-postprocess-file-styles)<declare-function>:
8191 Remove obsolete declaration.
8192 (hack-dir-local-variables): Add dir-local variable/value pair to
8193 `dir-local-variables-alist' and remove duplicates. Doc fix.
8195 * help-fns.el (describe-variable): Add information about
8196 file-local and dir-local variables.
8198 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
8200 * files.el (hack-local-variables-filter): Rewrite.
8202 2009-07-19 Glenn Morris <rgm@gnu.org>
8204 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
8205 Silence compiler by only defining on XEmacs.
8207 * international/mule.el (auto-coding-regexp-alist): Only match
8208 BABYL... at the start of buffer, not of lines. (Bug#3790)
8210 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
8211 non-calendar buffers (Bug#3862). Restore "not on a date" message.
8212 (cal-menu-context-mouse-menu): Doc fix.
8214 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
8216 * simple.el (mail-user-agent): Doc fix. Set :version tag.
8218 2009-07-18 Juri Linkov <juri@jurta.org>
8220 * info.el: Virtual Info keyword finder.
8221 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
8222 (Info-finder-file): New variable.
8223 (Info-finder-find-file): New function.
8224 (finder-known-keywords, finder-package-info)
8225 (find-library-name, lm-commentary): Use defvar and
8226 declare-function to silence compiler warnings.
8227 (Info-finder-find-node): New function.
8228 (info-finder): New command.
8230 * subr.el (process-kill-buffer-query-function): New function.
8231 (add-hook)<kill-buffer-query-functions>: Add hook
8232 `process-kill-buffer-query-function'.
8234 2009-07-18 Alan Mackenzie <acm@muc.de>
8236 * progmodes/cc-mode.el (c-before-hack-hook)
8237 (c-postprocess-file-styles): Give invocation of `c-set-style'
8238 DONT-OVERRIDE parameter of t. Already set style variables will
8239 thus not be overridden by style settings given by `c-file-syle'.
8241 * files.el (hack-local-variables-filter): Remove entries with
8242 duplicate keys from `file-local-variables-alist'.
8244 2009-07-18 Eli Zaretskii <eliz@gnu.org>
8246 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
8247 x-set-selection if display-selections-p returns nil for the
8250 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
8252 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
8254 2009-07-18 Eli Zaretskii <eliz@gnu.org>
8256 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
8257 Accept nil in addition to a regexp.
8258 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
8259 Accept nil in addition to a regexp.
8260 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
8261 buffers that have an associated file. Handle nil values of
8262 desktop-buffers-not-to-save and desktop-files-not-to-save.
8265 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8266 (x-disown-selection-internal): New functions.
8268 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
8270 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
8272 (gdb-breakpoints-header): Move forward to avoid compiler warning.
8273 (gdb-make-header-line-mouse-map): Remove duplicate definition.
8275 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
8277 * simple.el (set-mark): Revert last change.
8279 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
8281 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
8282 rendering of pngs is not possible instead of messaging a long
8285 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
8287 * w32-fns.el (x-selection-owner-p): New function.
8289 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
8290 (mouse-yank-at-click, mouse-yank-primary): If
8291 select-active-regions is non-nil, deactivate the mark before
8294 * simple.el (deactivate-mark, set-mark): Only save selection if we
8297 2009-07-17 Kenichi Handa <handa@m17n.org>
8299 * case-table.el (describe-buffer-case-table): Fix for the case
8302 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
8304 * vc-rcs.el (vc-rcs-find-file-hook):
8305 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
8307 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
8309 * net/tramp.el (tramp-wait-for-output): Handle the case when
8310 commands do not return a newline but a null byte before the shell
8313 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8315 * term/ns-win.el (ns-set-alpha): Don't declare.
8316 (ns-set-background-alpha): Remove function.
8318 2009-07-16 Kevin Ryde <user42@zip.com.au>
8320 * emacs-lisp/copyright.el (copyright-update): Save match-data across
8321 y-or-n-p, for safety.
8323 2009-07-16 Richard Stallman <rms@gnu.org>
8325 * files.el (auto-save-mode): If buffer-saved-size is -2,
8328 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
8329 (rmail-retry-ignored-headers): Add more uninteresting fields.
8331 2009-07-15 Jari Aalto <jari.aalto@cante.net>
8333 * net/rcirc.el (rcirc): Use history variables.
8334 (rcirc-server-name-history, rcirc-nick-name-history)
8335 (rcirc-server-port-history): New variables.
8337 2009-07-15 Kenichi Handa <handa@m17n.org>
8339 * international/mule-cmds.el (set-language-environment-charset):
8340 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
8343 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
8344 Delete unibyte-display.
8346 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
8348 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
8350 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
8352 * simple.el (deactivate-mark): Optional argument FORCE.
8353 (set-mark): Use deactivate-mark.
8355 * info.el (Info-search): No need to check transient-mark-mode
8356 before calling deactivate-mark.
8358 * select.el (x-set-selection): Doc fix.
8359 (x-valid-simple-selection-p): Allow buffer values.
8360 (xselect--selection-bounds): Handle buffer values. Suggested by
8361 David De La Harpe Golden.
8363 * mouse.el (mouse-set-region, mouse-drag-track): Call
8364 copy-region-as-kill before setting the mark, to let
8365 select-active-regions work.
8367 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
8369 * simple.el (deactivate-mark): If select-active-regions is
8370 non-nil, copy the selection data into a string.
8371 (activate-mark): If select-active-regions is non-nil, set the
8372 selection to the current buffer.
8373 (set-mark): Update selection if select-active-regions is non-nil.
8375 * select.el (x-valid-simple-selection-p): Allow buffer values.
8377 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
8379 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
8380 and more featureful message-mode.
8382 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
8384 * select.el (x-set-selection): Doc fix.
8385 (x-valid-simple-selection-p): Disallow selection data consisting
8386 of a list or cons of integers, since that is not used.
8387 (xselect--selection-bounds, xselect--int-to-cons): New functions.
8388 (xselect-convert-to-string, xselect-convert-to-length)
8389 (xselect-convert-to-filename, xselect-convert-to-charpos)
8390 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
8392 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
8394 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
8395 output in -break-info command (Emacs bug #3794).
8397 2009-07-14 Glenn Morris <rgm@gnu.org>
8399 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
8400 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
8401 (edebug-print-length, edebug-print-level, edebug-print-circle)
8402 (edebug-sit-for-seconds, edebug-view-outside)
8403 (edebug-bounce-point, edebug-set-global-break-condition)
8404 (edebug-Go-nonstop-mode, edebug-trace-mode)
8405 (edebug-Trace-fast-mode, edebug-continue-mode)
8406 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
8407 (edebug-visit-eval-list): Doc fixes.
8409 * subr.el (def-edebug-spec): Doc fix.
8411 2009-07-14 Kenichi Handa <handa@m17n.org>
8413 * international/characters.el: Fix setting of category ?C.
8415 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
8417 * term/ns-win.el (x-select-font): defalias x-select-font to
8418 ns-popup-font-panel instead of generate-fontset-menu.
8420 2009-07-12 Eli Zaretskii <eliz@gnu.org>
8422 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
8424 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
8426 * arc-mode.el (archive-find-type): Allow for a PK00 string before
8427 the PK\003\004 header (Bug#3770).
8429 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
8431 * pcomplete.el (pcomplete-comint-setup): Check for
8432 shell-dynamic-complete-filename too.
8434 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
8436 * simple.el (temporary-goal-column): Change the value for
8437 line-move-visual to a cons cell.
8438 (line-move-visual): Record or set the window hscroll, if
8439 necessary (Bug#3494).
8440 (line-move-1): Handle cons value of temporary-goal-column.
8442 2009-07-11 Kenichi Handa <handa@m17n.org>
8444 * international/mule-diag.el (describe-character-set): Don't show
8447 2009-07-10 Sam Steingold <sds@gnu.org>
8449 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8450 Omake sometimes indents the errors it prints, so allow all
8451 regexps to start with spaces.
8453 2009-07-10 Eli Zaretskii <eliz@gnu.org>
8455 * cus-edit.el (customize-changed-options-previous-release):
8456 Bump value to 22.1. (Bug#3804)
8458 2009-07-08 Sam Steingold <sds@gnu.org>
8460 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
8461 to be a cons cell (test . ignored-directory) to selectively ignore
8462 some directories depending on the location of the search.
8464 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
8466 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
8467 remote user is root, on the local host.
8468 (tramp-local-host-p): Either the local user or the remote user
8469 must be root. (Bug#3771)
8471 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
8473 * progmodes/gdb-mi.el (gdb): Remove description of
8474 gdb-use-separate-io-buffer.
8475 (menu): Don't allow toggling of or enable
8476 gdb-use-separate-io-buffer from menubar.
8478 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
8480 * mail/unrmail.el (unrmail): Make sure the message ends with two
8481 newlines (Bug#3769).
8483 2009-07-08 Glenn Morris <rgm@gnu.org>
8485 * calendar/calendar.el (calendar-current-date): Rework previous change.
8487 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
8489 * calendar/calendar.el (calendar-current-date):
8490 Add an optional argument giving an offset from today.
8492 2009-07-08 Glenn Morris <rgm@gnu.org>
8494 * tutorial.el (tutorial--describe-nonstandard-key):
8495 Adjust the message for when a key has been unbound.
8496 (help-with-tutorial): Hide the arch-tag.
8498 2009-07-08 Kenichi Handa <handa@m17n.org>
8500 * international/fontset.el (setup-default-fontset): For each
8501 script, append (not set) font-specs.
8503 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
8506 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
8508 * progmodes/gdb-mi.el (gdb-init-1): Move sending
8509 -data-list-register-names to ...
8510 (gdb-starting): ... here because GDB 7.0 requires execution to
8511 have started when using this MI command.
8512 (gdb-set-header): New function to distinguish select and
8513 unselected tabs in gdb buffers.
8514 (gdb-propertize-header): New macro that uses gdb-set-header.
8515 (gdb-breakpoints-header, gdb-locals-header): Use it.
8516 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
8518 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
8520 * Makefile.in (ELCFILES): Remove fadr.elc.
8522 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
8524 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
8525 may contain frame information, so `string-match' should be used.
8526 (gdb-update): Disassembly is invalidated through
8527 `gdb-get-selected-frame'.
8528 (gdb-pad-string): New function to pad string with spaces.
8529 (gdb-invalidate-disassembly): Invalidate only if the buffer
8531 (gdb-disassembly-handler-custom): Column alignment.
8532 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
8534 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
8536 (gdb-frame-handler): Match convention to for disassembly buffer
8538 (gdb-stack-list-frames-handler): Rewritten without regexps.
8539 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
8540 not highlight breakpoints without line information.
8541 (gdb-input): Add trailing newline to command.
8543 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
8545 (gdb-breakpoints-list-handler-custom): Replacement for
8546 `gdb-break-list-handler'. Using real parser instead of regexps
8548 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
8549 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
8550 to place breakpoints.
8551 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
8553 (gdb-disassembly-handler-custom): Show overlay arrow.
8554 (gdb-disassembly-place-breakpoints): Show breakpoints in
8556 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
8557 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
8558 instead of parsing breakpoints buffer. Fixed old menu references
8563 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
8564 (gdb-memory-address): New variable which holds top address of
8565 memory page shown in memory buffer.
8566 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
8567 customization variables.
8569 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
8570 display the memory buffer.
8571 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
8572 buffer display parameters.
8573 (def-gdb-memory-format, gdb-memory-format-binary)
8574 (gdb-memory-format-octal, gdb-memory-format-unsigned)
8575 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
8576 Functions for setting memory buffer format.
8577 (gdb-memory-unit-word, gdb-memory-unit-halfword)
8578 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
8579 unit size used in memory buffer.
8580 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
8581 to next/previous page of memory buffer.
8582 Now using (bindat-get-field) instead of fadr functions.
8584 2009-07-07 Sam Steingold <sds@gnu.org>
8586 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
8587 non-top-level files.
8589 2009-07-07 Kenichi Handa <handa@m17n.org>
8591 * international/mule-cmds.el (reset-language-environment): Put
8592 the highset priority to the charset iso-8859-1.
8594 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
8596 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
8597 to the end of the line when locating the block (Bug#700).
8599 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
8601 * net/tramp.el (tramp-handle-write-region): Flush file properties
8602 in case of short track.
8604 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
8606 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
8607 representation of verilog error regular expressions to work with
8608 Emacs-22's new format.
8609 (verilog-error-regexp-xemacs-alist): Coded custom representation
8610 of verilog error regular expressions to work with XEmacs format.
8611 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
8612 error recognition into XEmacs.
8613 (verilog-error-regexp-add-emacs): Hook routine to install verilog
8614 error recognition into Emacs-22.
8616 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
8618 * woman.el: Remove stand-alone closing parentheses.
8619 (woman-file-name, woman2-format-paragraphs)
8620 (woman-leave-blank-lines): Code cleanup.
8621 (woman-use-own-frame): Change default to nil.
8622 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
8623 defaults to inherit from default faces.
8624 (woman2-process-escapes): Consume the newline after a stand-alone
8625 filler character (Bug#3651).
8627 2009-07-06 Glenn Morris <rgm@gnu.org>
8629 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
8630 (top-level): Move provide to the end.
8631 (ffap): Remove defunct URL from custom group.
8633 * subr.el (eval-after-load): Doc fix.
8635 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
8637 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
8638 `calc-embedded-word' is called twice.
8640 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8642 * files.el (find-alternate-file-other-window, find-alternate-file):
8643 Obey confirm-nonexistent-file-or-buffer.
8645 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
8647 * dired-aux.el (dired-show-file-type): Handle remote files.
8649 2009-07-05 Jari Aalto <jari.aalto@cante.net>
8651 * desktop.el (desktop-globals-to-save):
8652 Add file-name-history (Bug#2750).
8654 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
8656 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
8658 2009-07-04 Johan Bockgård <bojohan@gnu.org>
8660 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
8661 property on entire argument since this is what eshell-lisp-command
8664 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
8666 * net/tramp-gvfs.el (tramp-gvfs-methods)
8667 (tramp-gvfs-zeroconf-domain)
8668 (tramp-bluez-discover-devices-timeout): Add version flag.
8669 (tramp-gvfs-handler-mounted-unmounted)
8670 (tramp-gvfs-connection-mounted-p): Polish handling of
8671 incompatibilities between GVFS 0.2 and 1.0.
8673 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
8675 * cus-start.el (all): Add make-pointer-invisible.
8677 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
8679 * calc-math.el (math-use-emacs-fn): Make sure that the number is
8680 formatted correctly.
8682 2009-07-02 Juri Linkov <juri@jurta.org>
8684 * info.el: Virtual Info files and nodes.
8685 (Info-virtual-files, Info-virtual-nodes): New variables.
8686 (Info-current-node-virtual): New variable.
8687 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
8689 (Info-file-supports-index-cookies): Use Info-virtual-file-p
8690 to check for a virtual file instead of checking a fixed list
8692 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
8693 instead of ad-hoc processing of "dir" and (apropos history toc).
8694 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
8695 instead of ad-hoc processing of "dir" and (apropos history toc).
8696 Reread a file when moving from a virtual node.
8697 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
8698 (Info-directory-toc-nodes, Info-directory-find-file)
8699 (Info-directory-find-node): New functions.
8700 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
8701 (Info-history): Move part of code to
8702 `Info-history-find-node'.
8703 (Info-history-toc-nodes, Info-history-find-file)
8704 (Info-history-find-node): New functions.
8705 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
8706 (Info-toc): Move part of code to `Info-toc-find-node'.
8707 (Info-toc-find-node): New function.
8708 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
8709 the current Info file name to references because now the node
8710 "*TOC*" belongs to the same Info manual.
8711 (Info-toc-build): Rename from `Info-build-toc'.
8712 (Info-toc-nodes): Rename input argument `file' to `filename'.
8713 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
8714 instead of ad-hoc processing of ("dir" apropos history toc).
8715 (Info-index-nodes): Use Info-virtual-file-p
8716 to check for a virtual file instead of checking a fixed list
8718 (Info-index-node): Add check for `Info-current-node-virtual'.
8719 Raise `save-match-data' higher up the tree to contain
8720 `search-forward' too (bug fix).
8721 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
8722 (Info-virtual-index-nodes): New variable.
8723 (Info-virtual-index-find-node, Info-virtual-index): New functions.
8724 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
8725 (Info-apropos-file, Info-apropos-nodes): New variables.
8726 (Info-apropos-toc-nodes, Info-apropos-find-file)
8727 (Info-apropos-find-node, Info-apropos-matches): New functions.
8728 (info-apropos): Move part of code to `Info-apropos-find-node' and
8729 `Info-apropos-matches'.
8730 (Info-mode-map): Bind "I" to `Info-virtual-index'.
8731 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
8732 for a virtual file instead of checking a fixed list of node names.
8734 * simple.el (async-shell-command): New command.
8736 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
8738 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
8739 instead of `mount-info'.
8741 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
8743 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
8744 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
8746 2009-07-02 Kenichi Handa <handa@m17n.org>
8748 * international/mule.el (set-keyboard-coding-system): Force *-unix
8749 coding-system to avoid eol conversion.
8751 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
8753 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8754 Add handler for `process-file', `shell-command' and
8755 `start-file-process'.
8756 (tramp-gvfs-handle-shell-command)
8757 (tramp-gvfs-handle-start-file-process)
8758 (tramp-gvfs-handle-process-file): New defuns.
8759 (tramp-synce-list-devices): Simplify check for existence of property.
8761 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
8763 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
8765 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
8767 * language/korean.el (set-language-info-alist): Add korean-cp949,
8770 2009-07-01 Kenichi Handa <handa@m17n.org>
8772 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
8774 * international/encoded-kb.el: Deleted.
8776 * international/mule.el (set-keyboard-coding-system): Perform the
8777 necessary setup here instead of calling encoded-kbd-setup-display.
8779 2009-07-01 Glenn Morris <rgm@gnu.org>
8781 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
8783 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
8785 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
8787 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
8789 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
8790 Handle also the 'rename case, when setting file modes. (Bug#3712)
8791 (tramp-default-file-modes) Remove execute permissions.
8793 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
8794 (top): Add a default for "synce" in `tramp-default-user-alist'.
8795 Add completion function for "synce" method.
8796 (tramp-hal-service, tramp-hal-path-manager)
8797 (tramp-hal-interface-manager, tramp-hal-interface-device):
8799 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
8800 (tramp-synce-list-devices, tramp-synce-parse-device-names):
8803 * net/trampver.el: Update release number.
8805 2009-06-30 Kenichi Handa <handa@m17n.org>
8807 * international/fontset.el (setup-default-fontset): Add CJK fonts
8808 for symbols and the other miscellaneous characters.
8810 * language/korea-util.el (setup-korean-environment-internal):
8811 Make char-width-table suitable for Korean environments.
8812 (exit-korean-environment): Cancel above.
8814 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8815 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
8816 setup-funcion to make char-widht-table suitable for respective
8817 environments, and an exit-function to cancel that.
8819 * language/japan-util.el (setup-japanese-environment-internal):
8820 Call use-cjk-char-width-table with arg `ja_JP'.
8822 * international/characters.el (cjk-char-width-table): Delete it.
8823 (cjk-char-width-table-list): New variable.
8824 (use-cjk-char-width-table): New arg local-name.
8825 (use-default-char-width-table): Fix for the case that Emacs is
8826 already using the default char-width-table.
8828 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
8830 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
8831 modes mandatory. (Bug#3712)
8833 2009-06-29 Alan Mackenzie <acm@muc.de>
8835 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
8836 correction between the visible width of TABs and their number of bytes.
8838 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
8840 * server.el (server-buffer-done): Prevent kill-buffer from
8841 prompting by clearing the buffer modification flag (Bug#3696).
8843 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
8845 * verilog-mode.el (verilog-beg-of-statement)
8846 (verilog-endcomment-reason-re): Support unique case and priority case.
8847 (verilog-basic-complete-re): Support localparam lineup.
8848 (verilog-beg-of-statement-1): Fix for robustness, unique case.
8849 (verilog-set-auto-endcomments): Fix for unique case, always_comb
8851 (verilog-leap-to-case-head): Now support *nested* unique &
8852 priority case statements.
8853 (verilog-auto-lineup): Make just declarations the default (as it
8855 (verilog-leap-to-case-head): Support priority/unique case statements.
8856 (verilog-auto-lineup): Rework to give users radio buttons to
8857 select the various styles of automatic lineup.
8858 (verilog-error-regexp-alist): Rework to support the XEmacs style
8859 of error regular expressions from compilers, lint tools &
8860 simulators. Note that GNU Emacs has made it impossible for a mode
8861 to load such things.
8862 (electric-verilog-terminate-line, verilog-indent-declaration)
8863 (verilog-auto-wiure): Rework for radio button selection of
8864 auto-lineup selection of specification of auto lineup.
8865 (verilog-beg-of-statement-1): Redesign to support proper operation
8866 in additional code, based on testing with auto-lineup.
8867 (verilog-calculate-indent, assignments & declarations)
8868 (verilog-backward-token): Enhance to support auto-lineup of
8869 assignments & declarations.
8870 (verilog-in-directive-p, verilog-at-struct-p): New function for
8871 easy test of whether we are.
8872 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
8873 to support safe execution at almost anyline.
8874 (verilog-calc-1): Properly support indenting deep inside generate
8876 (verilog-init-font) Remove definition & use of verilog-init-font,
8877 as it is redundant with font-lock-defaults.
8878 (verilog-mode): Alter the definition of verilog-font-lock-defaults
8879 to avoid circular calls if syntax-ppss is a function (as is the
8880 case now in 22.x GNU Emacs) as that function would sometimes call
8881 itself, leading to (nearly) infinite recursion.
8882 (verilog-ovm-begin-re, verilog-ovm-end-re)
8883 (verilog-ovm-statement-re, verilog-leap-to-head)
8884 (verilog-backward-token): Add support for OVM macros. Some are
8885 complete statements, and others open and close scopes like begin
8887 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
8888 (verilog-defun-level-generate-only-re): Really fix the defun-list
8890 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
8891 coverpoint, constraint and cross statements.
8892 (verilog-defun-level-list, verilog-generate-defun-level-list)
8893 (verilog-all-defun-level-list): Redo these specifications - it is
8894 too hard to support eval-when compile aggregation of lists also
8895 built at when-compile time.
8896 (verilog-defun-level-list): Place defconsts of variables used in
8897 building regular expressions which are built in eval-when-compile
8898 bodies in the same eval-when-compile body to facilitate compile
8900 (verilog-beg-block-re-ordered): Support indenting
8901 virtual/protected tasks and functions.
8902 (verilog-defun-level-list, verilog-in-generate-region-p)
8903 (verilog-backward-ws&directives, verilog-calc-1): Speed up
8904 indentation of some module items (generate items).
8905 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
8906 across virtual/protected tasks and functions.
8908 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
8910 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
8911 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
8912 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
8913 in concatenations. Reported by Yishay Belkind.
8914 (verilog-auto-ascii-enum): Support one-hot state machines in
8915 AUTOASCIIENUM. Suggested by Lloyd Gomez.
8916 (verilog-auto-inst, verilog-auto-inst-port): Include interface
8917 modport in AUTOINST and add vl-modport for users. Reported by
8919 (verilog-auto-inout-module, verilog-auto-inst)
8920 (verilog-decls-get-interfaces, verilog-insert-definition)
8921 (verilog-insert-one-definition, verilog-read-decls)
8922 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
8923 (verilog-sig-modport, verilog-signals-combine-bus)
8924 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
8925 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
8926 Suggested by David Rogoff.
8927 (verilog-repair-open-comma): Fix non-insertion of comma when
8928 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
8929 (verilog-make-width-expression): Simplify [A-1:0] expression
8930 widths to just {A{1'b0}}.
8931 (verilog-mode): Cleanup checkdoc warnings.
8932 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
8933 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
8934 inputs/outputs or data type. Suggested by Vasu Kandadi.
8935 (next-error-last-buffer): Fix byte-compiler warning.
8936 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
8937 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
8938 or shell command text during AUTO expansion. Suggested by Tad Truex.
8939 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
8940 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
8941 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
8942 in AUTOINOUT. Reported by Matthew Lovell.
8943 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
8944 causing use of <= assignments. Reported by Alex Reed.
8945 (verilog-read-decls): Fix triand, trior, wand, wor to be
8946 recognized by AUTOWIRE. Reported by Spencer Isaacson.
8947 (verilog-extended-complete-re): Support import "DPI-C" functions.
8948 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
8949 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
8950 (verilog-insert-date, verilog-insert-year)
8951 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
8952 Windows systems. Reported by Michael Potts.
8953 (verilog-read-module-name): Fix AUTOINST when the child module
8954 declaration's name is a tick define. Reported by Elliot Mednick.
8955 (verilog-read-decls): Fix V2K parameter bit subscripts getting
8956 passed to next parameter's definition. Reported by Bruce T.
8957 (verilog-read-decls): Fix detecting "parameter int" when using
8958 AUTOINSTPARAM. Reported by Bruce T.
8959 (verilog-goto-defun): Fix goto not finding modules unless first
8960 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
8961 (verilog-mode): Expand -f flag arguments on entry to mode so
8962 verilog-goto-defun will work. Reported by Lawrence Butcher.
8963 (verilog-getopt): Expand environment variables in -f file
8964 arguments. Suggested by Lawrence Butcher.
8965 (verilog-set-define): Fix "Symbol's value as variable is void"
8966 when reading enumerations.
8967 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
8968 Suggested by Stephen Peltan.
8969 (verilog-read-defines): Fix reading of enumerations in include
8970 files. Reported by Steve Peltan.
8972 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
8974 * files.el (trash-directory): Fix defcustom type.
8976 2009-06-28 Juri Linkov <juri@jurta.org>
8978 * help-fns.el (describe-function-1): Correctly locate adviced
8979 functions in hyperlink (Bug#2438).
8981 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
8983 * files.el (trash-directory): Change default to nil.
8984 (move-file-to-trash): If trash-directory is nil and
8985 system-move-file-to-trash is unbound, perform freedesktop-style
8988 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
8990 * files.el (move-file-to-trash): Add freedesktop trash
8993 2009-06-28 Glenn Morris <rgm@gnu.org>
8995 * autorevert.el (global-auto-revert-non-file-buffers)
8996 (global-auto-revert-mode): Doc fixes.
8998 2009-06-27 Johan Bockgård <bojohan@gnu.org>
9000 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
9002 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
9004 * faces.el (x-handle-named-frame-geometry): Ensure that we have
9005 opened an X connection before calling x-get-resource (Bug#3194).
9007 * play/doctor.el: Remove reference to obsolete website.
9008 (make-doctor-variables): Correct grammar mistake (Bug#2633).
9010 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
9012 Remove find-file-not-found-hook VC method. (Bug#2757)
9013 * vc-hooks.el (vc-file-not-found-hook)
9014 (vc-default-find-file-not-found-hook): Remove functions.
9015 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
9016 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
9019 * vc-git.el: Do not mention find-file-not-found-hook VC method.
9021 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9023 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
9024 compatibility function for `looking-back'.
9026 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9027 Use `ispell-looking-back'.
9029 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
9031 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
9032 rather than `filename'.
9034 2009-06-23 Miles Bader <miles@gnu.org>
9036 * face-remap.el (text-scale-set): New function.
9038 2009-06-23 Glenn Morris <rgm@gnu.org>
9040 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
9042 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
9044 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
9046 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
9048 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
9049 Simplify Persian conditionals.
9051 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
9052 variable `filename'.
9054 * comint.el (comint-insert-input): Doc fix.
9056 * Makefile.in (ELCFILES): Fix typo in previous change.
9058 2009-06-23 Miles Bader <miles@gnu.org>
9060 * cus-start.el: Add entry for `recenter-redisplay'.
9062 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
9064 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
9065 Add an optional argument for the backend, use it instead of
9067 (vc-mode-line): Add an optional argument for the backend.
9068 Pass the backend to vc-state and vc-working-revision. Move code for
9069 special handling for vc-state being a buffer to ...
9071 * vc-rcs.el (vc-rcs-find-file-hook):
9072 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
9074 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
9075 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
9076 vc-stay-local-p and vc-mode-line calls.
9078 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
9079 (vc-cvs-diff, vc-cvs-annotate-command)
9080 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
9081 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
9084 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
9086 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
9087 backend when calling vc-mode-line.
9088 (vc-register): Do not create a closure for calling the vc register
9089 function, call it directly.
9091 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
9093 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
9094 to make it obvious item can be clicked.
9096 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
9098 2009-06-23 Kenichi Handa <handa@m17n.org>
9100 * language/korea-util.el (korean-key-bindings): Change the binding
9101 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
9104 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
9106 Sync with Tramp 2.1.16.
9108 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
9110 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
9111 when a loading of a package fails. Completion function for rsync
9112 is `tramp-completion-function-alist-ssh'.
9113 (all): Replace all calls of `split-string' and
9114 `tramp-split-string' by `tramp-compat-split-string'.
9115 (tramp-default-method): Use `tramp-compat-process-running-p'.
9116 (tramp-default-proxies-alist): Allow also Lisp forms.
9117 (tramp-remote-path): Add choice "Private Directories".
9118 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
9119 (tramp-domain-regexp): Allow also "-", "_" and ".".
9120 (tramp-end-of-output): Remove newlines, and add "$" at the end.
9121 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
9122 (tramp-debug-message): Insert header line in debug buffer.
9123 (tramp-handle-directory-files-and-attributes-with-stat):
9124 Care about filenames with spaces, or starting with "-".
9125 (tramp-handle-dired-uncache): New defun.
9126 (tramp-handle-insert-directory): Don't flush the directory from
9127 cache, this is handled by `dired-uncache' now.
9128 (tramp-handle-insert-file-contents): Improve error handling.
9129 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9130 Quote `tramp-end-of-output'.
9131 (tramp-action-password): Improve trace message.
9132 (tramp-check-for-regexp): Both echoes must be present, before removing.
9133 (tramp-open-connection-setup-interactive-shell): Trace coding system.
9134 (tramp-compute-multi-hops): Eval cons cells of
9135 `tramp-default-proxies-alist'.
9136 (tramp-maybe-open-connection): Use the same command pattern for
9137 first hop and further hops.
9138 (tramp-wait-for-output): Remove handling of newlines.
9139 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
9140 (tramp-split-string): Remove function. It is handled in
9143 * net/tramp-cmds.el (tramp-bug):
9144 Recommend `tramp-cleanup-all-connections' in the bug mail.
9146 * net/tramp-compat.el (tramp-compat-split-string)
9147 (tramp-compat-process-running-p): New defuns.
9149 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
9150 for `dired-uncache'.
9152 * net/tramp-gvfs.el: New package.
9154 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9155 Add handler for `dired-uncache'.
9156 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
9158 * net/trampver.el: Update release number. Make version check fit
9161 2009-06-22 Jim Meyering <meyering@redhat.com>
9163 Automatically handle .xz suffix (XZ-compressed files), too.
9164 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
9165 XZ is the successor to LZMA: <http://tukaani.org/xz/>
9167 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
9168 Nick Roberts <nickrob@snap.net.nz>
9170 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
9171 repository (http://sphinx.net.ru/hg/gdb-mi/).
9173 2009-06-22 Glenn Morris <rgm@gnu.org>
9175 * files.el (dir-locals-collect-mode-variables): Allow for any number of
9176 `mode' and `eval' entries. (Bug#3430)
9178 * Makefile.in (ELCFILES): Add fadr.elc.
9180 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
9181 differing behavior of \n and ^ in strings. (Bug#3385)
9183 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
9185 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
9187 (lisp-indent-function): Make it a defcustom.
9189 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
9191 * progmodes/gdb-ui.el: Replace with ...
9192 * progmodes/gdb-mi.el: ... this file.
9193 * progmodes/gud.el: Modify for gdb-mi.el.
9195 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
9197 * fadr.el: New file.
9199 See ChangeLog.14 for earlier changes.
9205 Copyright (C) 2009 Free Software Foundation, Inc.
9207 This file is part of GNU Emacs.
9209 GNU Emacs is free software: you can redistribute it and/or modify
9210 it under the terms of the GNU General Public License as published by
9211 the Free Software Foundation, either version 3 of the License, or
9212 (at your option) any later version.
9214 GNU Emacs is distributed in the hope that it will be useful,
9215 but WITHOUT ANY WARRANTY; without even the implied warranty of
9216 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9217 GNU General Public License for more details.
9219 You should have received a copy of the GNU General Public License
9220 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
9222 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1