Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
[emacs.git] / lisp / ChangeLog
blobed1a708a29d43d5c770aa9fe9b3f4c0ed081b592
1 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
4         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5         Disregard autoload-excludes.
6         (update-directory-autoloads): Obey autoload-excludes here instead.
7         But don't store its contents in no-autoloads and remove entries that
8         refer to excludes files.
10 2009-12-10  Glenn Morris  <rgm@gnu.org>
12         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13         (expand-mail-aliases): Define for compiler.
15         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
16         Define for compiler.
18         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
19         appropriate for the mail-user-agent in use.
21 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
23         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
25 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
27         Fix short log parsing and fontification.
28         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
29         Fix fontification for the [merge] label.
31 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
33         Drop some properties to avoid surprises.
34         * htmlfontify.el (hfy-ignored-properties): New defcustom.
35         (hfy-fontify-buffer): Use it.
37 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
39         Minor cleanup.
40         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
41         Adjust all callers.
42         (ffap-locate-file): Remove unused arg `dir-ok' and make other
43         args compulsory.  Adjust callers.
44         (ffap-gopher-at-point): Remove unused var `name'.
46         Get rid of the ELCFILES abomination.
47         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
48         (compile-elcfiles): New phony target.
49         (compile-main): Compute ELCFILES dynamically.
50         (compile-clean): New target to remove left-over elc files.
51         (compile, all): Use it.
53 2009-12-09  Kenichi Handa  <handa@etlken>
55         * international/mule-diag.el: Require help-mode instead of help-fns.
57 2009-12-09  Kenichi Handa  <handa@m17n.org>
59         * international/mule-cmds.el (ucs-names): Supply a sufficiently
60         fine ranges instead of pre-calculating accurate ranges.
61         Iterate with bigger gc-cons-threshold.
63 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
65         Add support for stashing a snapshot of the current tree.
66         * vc-git.el (vc-git-stash-snapshot): New function.
67         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
69 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
71         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
72         instead of `(beginning|end)-of-line'.
74 2009-12-08  Glenn Morris  <rgm@gnu.org>
76         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
78         * Makefile.in (ELCFILES): Regenerate.
80 2009-12-07  Juri Linkov  <juri@jurta.org>
82         Don't lazy-highlight the comint output in history Isearch mode.
84         * comint.el (comint-history-isearch-search): Instead of
85         `comint-line-beginning-position', use `comint-after-pmark-p'
86         to check if point if before the process mark, and go to
87         `process-mark' in this case.
89 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
91         * textmodes/tex-mode.el (latex-complete)
92         (latex-indent-or-complete): Remove.
93         (latex-mode): Set completion-at-point-functions instead.
95         Provide a standard completion command and hook it into TAB.
96         * minibuffer.el (completion-at-point-functions): New var.
97         (completion-at-point): New command.
98         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
99         * progmodes/python.el (python-mode-map): Use completion-at-point.
100         (python-completion-at-point): Rename from python-partial-symbol and
101         adjust for use in completion-at-point-functions.
102         (python-mode): Setup completion-at-point for Python completion.
103         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
104         extracted from lisp-complete-symbol.
105         (lisp-complete-symbol): Use it.
106         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
107         setup completion-at-point for Elisp completion.
108         (emacs-lisp-mode-map, lisp-interaction-mode-map):
109         Use completion-at-point.
110         * ielm.el (ielm-map): Use completion-at-point.
111         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
112         * progmodes/sym-comp.el: Move to...
113         * obsolete/sym-comp.el: Move from progmodes.
115 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
117         Prevent save-buffer in Rmail buffers from using the coding-system
118         of the current message, and from clobbering the encoding mnemonics
119         in the mode line (Bug#4623).
121         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
122         flag, too.
123         (rmail-message-encoding): New variable.
124         (rmail-write-region-annotate): Record the encoding of the current
125         message in rmail-message-encoding.
126         (rmail-after-save-hook): New function, restores the encoding of
127         the current message after the message collection is saved.
129 2009-12-07  Juri Linkov  <juri@jurta.org>
131         * progmodes/grep.el (grep-read-files): Use `completing-read'
132         instead of `read-string'.  Set its `collection' arg to
133         `read-file-name-internal'.  (Bug#4301)
135 2009-12-07  Juri Linkov  <juri@jurta.org>
137         Correctly restore original Isearch point.  (Bug#4994)
139         * isearch.el (isearch-mode): Move `isearch-push-state' after
140         `(run-hooks 'isearch-mode-hook)'.
141         (isearch-cancel): When `isearch-push-state-function' is defined,
142         let-bind `isearch-cmds' to the first state (the last element of
143         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
144         function and restores the original point).  Otherwise, move point
145         to `isearch-opoint'.
147 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
149         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
150         chars that don't have names, so the table can be built much faster at
151         run-time.
153 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
155         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
156         change.  Suggested by David Kastrup.
158         * simple.el (compose-mail): Check for incompatibilities and warn.
159         (compose-mail-user-agent-warnings): New option.
161 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
163         Support showing a single log entry from vc-annotate.
164         * vc.el (print-log): Add a new argument: START-REVISION.
165         (vc-print-log-internal): Add a new optional argument and
166         pass it to the backend.
167         (vc-print-log, vc-print-root-log): Adjust callers.
168         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
169         buffer already displays the requested log entry, use it.
170         Otherwise display only the log entry in question.
171         * vc-svn.el (vc-svn-print-log):
172         * vc-mtn.el (vc-mtn-print-log):
173         * vc-hg.el (vc-hg-state):
174         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
175         (vc-git-show-log-entry): Return t on success.
176         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
177         (vc-bzr-show-log-entry): Return t on success.
178         * vc-rcs.el (vc-rcs-print-log):
179         * vc-sccs.el (vc-sccs-print-log):
180         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
182 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
184         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer): Add
185         menus to the meta mode.  (Bug#5043)
187 2009-12-07  Michael Kifer <kifer@cs.stonybrook.edu>
189         * ediff-init.el (ediff-event-key): Use event-to-character instead of
190         event-key.
192         * ediff.el (ediff-buffers-internal): Add unwind-protect.
194 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
196         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
197         Berbain <raphael.berbain@gmail.com>.
199         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
200         characters.
201         (tramp-initial-end-of-output): New defconst.
202         (tramp-methods, tramp-find-shell)
203         (tramp-open-connection-setup-interactive-shell)
204         (tramp-maybe-open-connection): Use it.
205         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
206         existence of `#' and `$'.
208         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
209         `tramp-initial-end-of-output'.
211 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
213         Get the background mode from the terminal for xterm, and set
214         faces accordingly.
215         * term/xterm.el (xterm-set-background-mode): New function.
216         (terminal-init-xterm): Use it in case xterm supports background
217         color queries.  Recompute faces after getting the background
218         color.
220 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
222         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
223         number comment back on its own line, for easier parsing.
225 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
227         Make it work for non-file buffers (bug#5102).
228         * doc-view.el (doc-view-current-cache-dir):
229         Use doc-view-buffer-file-name rather than buffer-file-name.
230         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
232 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
234         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
235         author field is too short.
237 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
239         * vc-git.el (vc-git-print-log): Handle a limit argument.
240         Display the short log in graph form and with labels.
241         (vc-git-log-view-mode): Handle labels.
243         Make vc-revert change VC state from 'added to 'unregistered.
244         * vc-git.el (vc-git-revert): Call git reset first.
246 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
248         * net/newst-backend.el, net/newst-plainview.el:
249         * net/newst-reader.el, net/newst-ticker.el:
250         * net/newst-treeview.el, net/newsticker.el:
251         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
253 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
255         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
257         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
258         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
259         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
260         Update annotation regexp.
262         * simple.el (beginning-of-visual-line): Constrain to field
263         boundaries (Bug#5106).
265 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
267         * xml.el (xml-substitute-numeric-entities): Move
268         newsticker--decode-numeric-entities in newst-backend.el to
269         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
270         * net/newst-backend.el (newsticker--parse-generic-feed)
271         (newsticker--parse-generic-items)
272         (newsticker--decode-numeric-entities): Move
273         newsticker--decode-numeric-entities in newst-backend.el to
274         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
276 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
278         * progmodes/js.el (js--js-not): Add null to the list of values.
280 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
282         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
284 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
286         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
287         delimiter if it is at the end of the current line.
288         (bibtex-generate-url-list): Fix docstring.
290 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
292         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
293         minibuffer's content with itself.
294         Fold the confirm-after-completion case into the `confirm' case.
295         (completion-pcm-word-delimiters): Add : and / to the delimiters.
297 2009-12-06  Kevin Ryde  <user42@zip.com.au>
299         * ffap.el (ffap-rfc-path): Make this a defcustom since
300         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
302         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
303         manuals, similar to existing setup for help-mode.  (Bug#3913.)
305 2009-12-05  Juri Linkov  <juri@jurta.org>
307         Save and restore dired buffer's point positions too.  (Bug#4880)
309         * dired.el (dired-save-positions): Return in the first element
310         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
311         Doc fix.
312         (dired-restore-positions): First restore buffer's position.
313         While restoring window's positions, check if window still displays
314         the original buffer.
316 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
318         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
319         if possible.
321         * cedet/semantic/ia.el (semantic-ia-complete-symbol):
322         Make argument optional.
324         * shell.el (shell): Require ansi-color (Bug#5113).
326         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
328         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
330 2009-12-05  Alan Mackenzie  <acm@muc.de>
332         * progmodes/cc-mode.el (c-before-hack-hook)
333         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
334         `c-file-style' to work again.  This reversion restores the current
335         software to its state in Emacs 23.1.  (Bug#4146)
337 2009-12-05  Kevin Ryde  <user42@zip.com.au>
339         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
340         comment-start-skip to comment-end-skip as comment (Bug#4781).
342 2009-12-05  Juri Linkov  <juri@jurta.org>
344         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
345         for virtual nodes.  (Bug#4147)
346         (Info-find-node-2): Set `Info-current-node-virtual' to nil
347         when moving from a virtual node.
348         (Info-mode-menu): Add `Info-virtual-index' to the menu.
349         (Info-mode): Add `Info-virtual-index' to the docstring.
351 2009-12-05  Eric Ludlam  <zappo@gnu.org>
353         * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
354         Describe project macro symbols.
356         * cedet/semantic/complete.el (semantic-complete-do-completion):
357         Don't call semantic-collector-current-exact-match.
359         * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
360         ede-objects as targets.
362         * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
363         a target's object list even if compiler vars are already in the
364         Makefile.
366         * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
367         list of headers producing necessary macros.
369 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
371         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
372         track of the buffer position of the end of a BibTeX entry as this
373         position may change during reformatting.
374         (bibtex-format-entry): Remove whitespace before processing
375         numerical fields so that we recognize the latter properly.
376         (bibtex-reformat): Do not use push which changes the global value
377         of bibtex-entry-format.
378         (bibtex-field-braces-alist, bibtex-field-strings-alist)
379         (bibtex-field-re-init): Replace only space characters by regexp
380         for whitespace.
381         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
382         (bibtex-initialize): Also update bibtex-strings.
383         (bibtex-kill-field): Preserve white space at end of entry.
384         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
385         Update bibtex-reference-keys.
387 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
389         * minibuffer.el (completion-pcm--merge-try): Also consider placing
390         point after a star, if that's the only place where modifications can
391         make progress.
393 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
395         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
396         in docstrings.
398 2009-12-04  Juri Linkov  <juri@jurta.org>
400         * proced.el (proced): Call `(proced-update t)' to update process
401         information instead of only running proced-post-display-hook.
402         (proced-send-signal): Add a leading space to the buffer name
403         " *Marked Processes*" to make this buffer ephemeral.
405 2009-12-04  Juri Linkov  <juri@jurta.org>
407         * dired.el (dired-auto-revert-buffer): New defcustom.
408         (dired-internal-noselect): Use it.
410 2009-12-04  Juri Linkov  <juri@jurta.org>
412         Change roles of modes and functions in image-mode.el (Bug#5062).
414         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
415         in `auto-mode-alist'.
416         (image-mode-previous-major-mode): New variable.
417         (image-minor-mode-map): Rename from `image-mode-text-map'.
418         (image-mode): Move graceful error-handling code from
419         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
420         (image-minor-mode): Remove all image-handling code.
421         Replace `image-mode-text-map' with `image-minor-mode-map'.
422         Check for `image-type' in mode-line format string.
423         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
424         (image-mode-as-text): New function with most code from
425         `image-mode-maybe'.
426         (image-toggle-display-text): Move code that removes image
427         properties from `image-toggle-display' to here.
428         (image-toggle-display-image): New function with code that adds
429         image properties copied from `image-toggle-display'.
430         (image-toggle-display): Remove most code with leaving only code
431         that toggles between `image-mode-as-text' and `image-mode'.
433 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
435         * net/newst-treeview.el
436         (newsticker--treeview-list-highlight-start): Restored call to
437         save-excursion: Selected item was stuck.
438         (newsticker--treeview-list-select): New.
439         (newsticker--treeview-item-show-text)
440         (newsticker--treeview-item-show)
441         (newsticker--treeview-item-update): Use new
442         newsticker-treeview-item-mode.
443         (newsticker-treeview-update): Keep current item.
444         (newsticker-treeview-next-new-or-immortal-item): Doc change.
445         (newsticker--treeview-first-feed): Doc change.
446         (newsticker-treeview-list-menu)
447         (newsticker-treeview-item-menu): Added menu entries.
448         (newsticker-treeview-item-mode): New.
450         * net/newst-backend.el (newsticker-customize): delete other
451         windows.
453 2009-12-04  Sam Steingold  <sds@gnu.org>
455         * log-view.el (log-view-mode-map): "q" calls quit-window,
456         like in all the other non-self-insert buffers.
458 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
460         Minor cleanup.
461         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
462         key decoding rather than do it manually via last-input-event +
463         ascii-character.
464         (term-exec): Use delete-and-extract-region.
465         (term-handle-ansi-terminal-messages): Remove unused var `end'.
466         (term-process-pager): Remove unused var `i'.
467         (term-dynamic-simple-complete): Make obsolete.
468         (serial-update-config-menu): Remove unused vars `y' and `str'.
469         (term-update-mode-line): Remove unused var `temp'.
471 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
473         Limit the number of log entries displayed by default.
474         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
475         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
476         using a prefix argument.
478 2009-12-03  Glenn Morris  <rgm@gnu.org>
480         * progmodes/idlwave.el (class): Restore still useful declaration.
482 2009-12-03  Alan Mackenzie  <acm@muc.de>
484         Enhance `c-parse-state' to run efficiently in "brace deserts".
486         * progmodes/cc-mode.el (c-basic-common-init):
487         Call c-state-cache-init.
488         (c-neutralize-syntax-in-and-mark-CPP):  Rename from
489         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
490         placing `category' properties value 'c-cpp-delimiter at its boundaries.
492         * progmodes/cc-langs.el (c-before-font-lock-function):
493         c-extend-and-neutralize-syntax-in-CPP has been renamed
494         c-neutralize-syntax-in-and-mark-CPP.
496         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
497         with `category' properties now, not `syntax-table' ones.
499         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
500         enhanced (but slower) version of c-end-of-macro that won't land
501         inside a literal or on another awkward character.
502         (c-state-cache-too-far, c-state-cache-start)
503         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
504         (c-state-nonlit-pos-cache-limit, c-state-point-min)
505         (c-state-point-min-lit-type, c-state-point-min-lit-start)
506         (c-state-min-scan-pos, c-state-brace-pair-desert)
507         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
508         buffer local variables.
509         (c-state-literal-at, c-state-lit-beg)
510         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
511         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
512         (c-state-cache-top-paren, c-state-cache-after-top-paren)
513         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
514         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
515         (c-renarrow-state-cache)
516         (c-append-lower-brace-pair-to-state-cache)
517         (c-state-push-any-brace-pair, c-append-to-state-cache)
518         (c-remove-stale-state-cache)
519         (c-remove-stale-state-cache-backwards, c-state-cache-init)
520         (c-invalidate-state-cache-1, c-parse-state-1)
521         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
522         (c-parse-state): Enhance and refactor.
523         (c-debug-parse-state): Amend to deal with all the new variables.
525         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
526         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
527         modify to use category text properties rather than syntax-table ones.
528         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
529         to switch off/on the syntactic paren property of C++ template
530         delimiters using the category property.
531         (c-with-<->-as-parens-suppressed): Macro to invoke code with
532         template delims suppressed.
533         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
534         New constant/macros which apply category properties to the start
535         and end of preprocessor constructs.
536         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
537         "comment out" the syntactic value of characters in preprocessor
538         constructs.
539         (c-with-cpps-commented-out)
540         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
541         with characters in all or all but one preprocessor constructs
542         "commented out".
544 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
546         * proced.el (proced-filter-alist): Use regexp-quote.
548 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
550         Cleanup.
551         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
552         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
553         arguments.  Expand `default-directory'.
555         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
556         the benefit of returning an expanded localname.
557         (tramp-tramp-file-p): Handle the case NAME is not a string.
559 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
561         Add support for bzr shelve/unshelve.
562         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
563         (vc-bzr-extra-menu-map): New variables.
564         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
565         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
566         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
567         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
568         (vc-bzr-dir-extra-headers): Display shelves.
570         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
572 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
574         * textmodes/bibtex.el (bibtex-complete-internal):
575         Use completion-in-region.
576         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
578 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
580         Support applying stashes.  Improve UI.
581         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
582         (vc-git-stash-apply, vc-git-stash-pop)
583         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
584         (vc-git-stash-menu): New functions.
585         (vc-git-stash-menu-map): New variable.
586         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
588 2009-12-03  Glenn Morris  <rgm@gnu.org>
590         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
591         (vc-print-log-internal): Fix previous change.
592         (vc-revert): Correct pluralization.
594 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
596         * progmodes/make-mode.el (makefile-special-targets-list): No need for
597         it to be an alist any more.
598         (makefile-complete): Use completion-in-region.
600         * progmodes/octave-mod.el (octave-complete-symbol):
601         Use completion-in-region.
603         Misc cleanup.
604         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
605         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
606         (idlwave-complete-class): Don't quote lambda.
607         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
608         (idlwave-mode-map): Move initialization into declaration.
609         (idlwave-action-and-binding): Use backquotes.
610         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
611         Simplify.
612         (idlwave-is-pointer-dereference): Remove unused var `pos'.
613         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
614         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
615         `parts', and `all-parts'.
616         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
617         (idlwave-convert-xml-system-routine-info): Remove unused string
618         `version-string'.
619         (idlwave-display-user-catalog-widget): Use dolist.
620         (idlwave-scanning-lib): Declare dynamically-scoped var.
621         (idlwave-scan-library-catalogs): Remove unused var `flags'.
622         (completion-highlight-first-word-only): Declare to silence bytecomp.
623         (idlwave-popup-select): Tighten scope of `resp'.
624         (idlwave-find-struct-tag): Remove unused var `beg'.
625         (idlwave-after-load-rinfo-hook): Declare.
626         (idlwave-sintern-class-info): Remove unused var `taglist'.
627         (idlwave-find-class-definition): Remove unused var `list'.
628         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
629         (idlwave-what-module-find-class): Remove unused var `classes'.
631 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
633         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
635 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
637         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
638         buffers visited.  Remove redundant current-buffer-saving.
640 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
642         Use completion-in-buffer and remove uses of dynamic scoping.
643         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
644         (pascal-buffer-to-use, pascal-flag): Don't declare.
645         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
646         (pascal-get-completion-decl, pascal-keyword-completion):
647         Add `pascal-str' argument, save-excursion,
648         return the found completions, and don't filter with pascal-pred.
649         (pascal-completion-cache): New var.
650         (pascal-completion): Don't switch buffer any more (it was never
651         necessary).  Don't save-excursion any more (it's done by the called
652         subroutines).  Use a cache to avoid redundant computations.
653         Use complete-with-action rather than pascal-completion-response and
654         let it apply the predicate as well.
655         (pascal-complete-word): Use completion-in-buffer when
656         pascal-toggle-completions is nil.
657         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
658         not used any more.
659         (pascal-comp-defun): Don't change buffer any more.
660         Use complete-with-action rather than pascal-completion-response and
661         let it apply the predicate as well.
662         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
663         when neded.
665 2009-12-02  Kenichi Handa  <handa@m17n.org>
667         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
668         shape for all Indic scripts.
670 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
672         Use completion-in-buffer.
673         * wid-edit.el (widget-field-text-end): New function.
674         (widget-field-value-get): Use it.
675         (widget-string-complete, widget-file-complete)
676         (widget-color-complete): Use it and completion-in-region.
677         (widget-complete): Don't narrow the buffer.
679 2009-12-02  Glenn Morris  <rgm@gnu.org>
681         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
682         (rmail-select-summary): Use rmail-pop-to-buffer.
683         * mail/rmailsum.el: Replace all pop-to-buffer calls with
684         rmail-pop-to-buffer, to prevent horizontal splits.
686         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
687         save-excursion with save-current-buffer.
688         Widen before searching.  (Bug#5093)
689         (diary-list-sexp-entries): Remove superfluous save-excursion.
691 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
693         * woman.el (woman-make-bufname): Handle man-pages with "." in the
694         name.  (Bug#5038)
696 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
698         * ido.el (ido-file-internal): Handle filenames at point that do
699         not have a directory part.  (Bug#5049)
701 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
703         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
704         (mpc-songs-jump-to, mpc-resume): Doc fixes.
706 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
708         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
709         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
710         any more.
712 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
714         * comint.el (comint-insert-input): Ignore clicks to the right of
715         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
717         * vc.el (vc-print-log-internal): Don't wait for the process to
718         terminate before setting up the major mode.
720         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
721         in case.
723         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
724         the last element.
726         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
728 2009-12-01  Glenn Morris  <rgm@gnu.org>
730         * window.el (window--display-buffer-2): Fix previous changes.
732 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
734         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
736 2009-12-01  Glenn Morris  <rgm@gnu.org>
738         * Makefile.in (ELCFILES): Add mpc.elc.
740 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
742         * mpc.el: New file.
744 2009-12-01  Glenn Morris  <rgm@gnu.org>
746         * window.el (window-to-use): Define for compiler.
748         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
749         consistent with others (no final period).
751         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
752         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
754 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
756         Make vc-print-log buttons work.
757         * log-view.el (log-view-mode-map): Inherit from from widget-keymap.
759 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
761         * savehist.el (savehist-autosave-interval): Allow setting to nil
762         through customize.  (Bug#5056)
764 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
766         Fix references to jit-lock properties.
767         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
768         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
769         (perl-font-lock-special-syntactic-constructs):
770         Quote jit-lock-defer-multiline property.
772 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
774         * vc-git.el (vc-git-registered): Call vc-git-root only once.
776 2009-11-30  Juri Linkov  <juri@jurta.org>
778         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
779         value `buffer' of `multi-isearch-next-buffer-current-function'.
780         Use `(current-buffer)' when `buffer' is nil.
781         (multi-isearch-next-buffer-from-list): Don't fallback to
782         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
784 2009-11-30  Juri Linkov  <juri@jurta.org>
786         * misearch.el (multi-isearch-read-buffers): Move canonicalization
787         of buffers with `get-buffer' to `multi-isearch-buffers'.
788         (multi-isearch-buffers, multi-isearch-buffers-regexp):
789         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
790         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
791         FILES with `expand-file-name' converting relative file names
792         to absolute.  Doc fix.  (Bug#4727)
794 2009-11-30  Juri Linkov  <juri@jurta.org>
796         * misearch.el (multi-isearch-read-buffers)
797         (multi-isearch-read-matching-buffers): New functions.
798         (multi-isearch-buffers, multi-isearch-buffers-regexp):
799         Use them in the `interactive' spec.  Doc fix.
800         (multi-isearch-read-files, multi-isearch-read-matching-files):
801         New functions.
802         (multi-isearch-files, multi-isearch-files-regexp):
803         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
805 2009-11-30  Juri Linkov  <juri@jurta.org>
807         * doc-view.el (doc-view-continuous):
808         Rename from `doc-view-continuous-mode'.
809         (doc-view-menu): Move "Toggle display" to the top.
810         Add submenu "Continuous" with radio buttons "Off"/"On"
811         and "Save as Default".
812         (doc-view-scroll-up-or-next-page)
813         (doc-view-scroll-down-or-previous-page)
814         (doc-view-next-line-or-next-page)
815         (doc-view-previous-line-or-previous-page): Rename
816         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
818 2009-11-30  Juri Linkov  <juri@jurta.org>
820         * comint.el (comint-mode-map): Rebind `M-r' from
821         `comint-previous-matching-input' to
822         `comint-history-isearch-backward-regexp'.
823         Unbind `M-s' to allow global key binding `M-s'.
824         Add menu items for `comint-history-isearch-backward' and
825         `comint-history-isearch-backward-regexp'.  (Bug#3746)
827 2009-11-30  Juri Linkov  <juri@jurta.org>
829         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
830         For def=recenter, replace `recenter' with `recenter-top-bottom'
831         that is called with `this-command' and `last-command' let-bound
832         to `recenter-top-bottom'.  When the last `def' was not `recenter',
833         set `recenter-last-op' to nil.  (Bug#4981)
835 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
837         Minor cleanup and simplification.
838         * filecache.el (file-cache-add-directory)
839         (file-cache-add-directory-recursively)
840         (file-cache-add-from-file-cache-buffer)
841         (file-cache-delete-file-regexp, file-cache-delete-directory)
842         (file-cache-files-matching-internal, file-cache-display): Use dolist.
843         (file-cache-temp-minibuffer-message): Delete function.
844         (file-cache-minibuffer-complete): Use minibuffer-message instead.
846         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
847         Don't signal an error when bumping into EOB in tr, s, or y.
849 2009-11-29  Juri Linkov  <juri@jurta.org>
851         * startup.el (fancy-about-text): Fix wording of Guided Tour.
852         (Bug#4960)
854         * descr-text.el (describe-char-unidata-list): Use lowercase name
855         for "Unicode name" like in other tags.
857 2009-11-29  Juri Linkov  <juri@jurta.org>
859         * ediff-util.el (ediff-minibuffer-with-setup-hook):
860         New compatibility macro.
861         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
863 2009-11-29  Juri Linkov  <juri@jurta.org>
865         Add defcustom to define the cycling order of `recenter-top-bottom'.
866         (Bug#4981)
868         * window.el (recenter-last-op): Doc fix.
869         (recenter-positions): New defcustom.
870         (recenter-top-bottom): Rewrite to use `recenter-positions'.
871         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
873 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
875         Improve integration of Tramp and ange-ftp in eshell.
877         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
878         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
879         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
881         * eshell/esh-util.el (top): Require also Tramp when compiling.
882         (eshell-directory-files-and-attributes): Check for FTP remote
883         connection.
884         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
885         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
886         (eshell-file-attributes): Handle ".".  Return `entry'.
888         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
889         (ange-ftp-directory-files-and-attributes)
890         (ange-ftp-real-directory-files-and-attributes): New defuns.
892         * net/tramp.el (tramp-maybe-open-connection): Open the remote
893         shell with "exec" when possible.  This prevents trailing prompts
894         in `start-file-process'.
896 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
898         Try and remove assumptions about point-min==1.
899         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
900         (rng-compute-mode-line-string): Show the validation percentage in
901         terms of the narrowed text, not the widened text.
902         (rng-do-some-validation): Don't catch internal errors when debugging.
903         (rng-first-error): Simplify.
904         (rng-after-change-function): Remove work around.  AFAIK the bug has
905         been fixed a while ago.
907         * image-mode.el (image-minor-mode): Exit more gracefully when the image
908         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
910         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
912         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
913         `cd' doesn't always do it for us (bug#5067).
915         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
916         on 2009-10-25 as part of some other change (bug#5067).
918 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
920         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
921         `suspicious'.
922         (byte-compile-warnings): Use byte-compile-warning-types.
923         (byte-compile-save-excursion): Warn about use of set-buffer right
924         after save-excursion.
926         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
927         the excursion as well.
929 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
931         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
932         providing a Tramp related implementation of "su" and "sudo".
933         (eshell-unix-initialize): Add "su" and "sudo".
935 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
937         * net/socks.el (socks-send-command): Convert binary request to
938         unibyte before sending.  This fixes mishandling of some port
939         numbers such as 129.
941 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
943         * help.el (describe-bindings-internal): Remove `interactive'.
945         * man.el (Man-completion-table): Trim a terminating "(".
946         Remove the space between name page a section.
947         Add the command's description on the `help-echo' property.
948         Remove `process-connection-type' binding since it's unused by
949         call-process.
950         Provide completion for the "<section> <name>" format as well.
951         (Man-default-man-entry): Remove spurious var shadowing the argument.
953 2009-11-26  Kevin Ryde  <user42@zip.com.au>
955         * log-view.el: Add "Keywords: tools", since its other keywords
956         aren't in finder-known-keywords, and following vc.el.
958         * sha1.el (sha1-string-external): default-directory "/" in case
959         otherwise non-existent.  process-connection-type pipe for touch of
960         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
962 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
964         Misc coding convention cleanups.
965         * htmlfontify.el (hfy-init-kludge-hook): Rename from
966         hfy-init-kludge-hooks.
967         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
968         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
969         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
970         and push.
971         (hfy-slant, hfy-weight): Use tables rather than code.
972         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
973         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
974         (hfy-face-attr-for-class): Initialize `face-spec' directly.
975         (hfy-face-to-css): Remove `nconc' with single arg.
976         (hfy-p-to-face-lennart): Use `or'.
977         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
978         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
979         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
980         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
981         (hfy-force-fontification): Use run-hooks.
983 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
985         Various minor fixes.
986         * htmlfontify.el (hfy-default-header): Add toggle_invis since
987         Javascript belongs in the header, not the body.
988         (hfy-javascript): Remove.
989         (hfy-fontify-buffer): Don't insert it any more.
990         (hfy-face-at): Handle (face0 face1 face2) style face properties.
991         Fix bug in invis handling when there were no invis props in a chunk.
993 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
995         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
997 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
999         * finder.el (finder-mode-map): Add a menu.
1001 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
1003         * verilog-mode.el (verilog-at-struct-p): Support "signed" and
1004         "unsigned" structs.
1006         (verilog-leap-to-head, verilog-backward-token): Handle "disable
1007         fork" statement better.
1009 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
1011         * verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
1012         (verilog-delete-empty-auto-pair, verilog-library-filenames):
1013         Fix AUTOINSERTLISP to support insert-file.  Reported by Clay Douglass.
1015         (verilog-auto-inst, verilog-auto-star-safe)
1016         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
1017         Fix removing "// Interfaces" when saving .* expansions.  Reported by
1018         Pierre-David Pfister.
1020 2009-11-26  Glenn Morris  <rgm@gnu.org>
1022         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
1023         the scope.
1025 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
1027         * vc-annotate.el (vc-annotate-revision-previous-to-line):
1028         Really use previous revision.
1030 2009-11-25  Kevin Ryde  <user42@zip.com.au>
1032         * man.el (Man-completion-table): default-directory "/" in case
1033         doesn't otherwise exist.  process-environment COLUMNS=999 so as
1034         not to truncate long names.  process-connection-type pipe to avoid
1035         any chance of hitting the pseudo-tty TIOCGWINSZ.
1036         (man): completion-ignore-case t for friendliness and since man
1037         itself is case-insensitive on the command line.
1038         Further to Bug#3717.
1040         * arc-mode.el: Add "Keywords: files", so the details in its
1041         commentary can be reached from finder-by-keyword.
1042         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
1043         editing mode, but it's comms related and sgml-mode.el has "comm"
1044         on that basis too.
1045         * textmodes/bibtex-style.el: Add "Keywords: tex".
1046         * international/isearch-x.el, international/ja-dic-cnv.el:
1047         * international/ja-dic-utl.el, international/kkc.el:
1048         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
1050 2009-11-25  Juri Linkov  <juri@jurta.org>
1052         * man.el (Man-completion-table): Modify regexp to include
1053         section names to completion strings.  (Bug#3717)
1055 2009-11-25  Juri Linkov  <juri@jurta.org>
1057         Search recursively in gzipped files.  (Bug#4982)
1059         * progmodes/grep.el (grep-highlight-matches): Add new options
1060         `always' and `auto'.  Doc fix.
1061         (grep-process-setup): Check `grep-highlight-matches' for
1062         `auto-detect' to determine the need to compute grep defaults.
1063         Move Windows/DOS specific --colors settings handling
1064         to `grep-compute-defaults'.  Check `grep-highlight-matches'
1065         to get the value of "--color=".
1066         (grep-compute-defaults): Compute `grep-highlight-matches' when it
1067         has the value `auto-detect'.  Move Windows/DOS specific settings
1068         from `grep-process-setup'.
1069         (zrgrep): New command with alias `rzgrep'.
1071 2009-11-25  Juri Linkov  <juri@jurta.org>
1073         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
1074         to nil instead of switching off view-mode.  (Bug#4896)
1076 2009-11-25  Juri Linkov  <juri@jurta.org>
1078         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
1080         * mwheel.el (mwheel-scroll-up-function)
1081         (mwheel-scroll-down-function): New defvars.
1082         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
1083         `scroll-up', and `mwheel-scroll-down-function' instead of
1084         `scroll-down'.
1086         * doc-view.el (doc-view-scroll-up-or-next-page)
1087         (doc-view-scroll-down-or-previous-page): Add optional ARG.
1088         Use this ARG in the call to image-scroll-up/image-scroll-down.
1089         Change `interactive' spec to "P".  Goto next/previous page only
1090         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
1091         SPC/DEL case).  Doc fix.
1092         (doc-view-next-line-or-next-page)
1093         (doc-view-previous-line-or-previous-page): Rename arg to ARG
1094         for consistency.
1095         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
1096         `doc-view-scroll-up-or-next-page', and buffer-local
1097         `mwheel-scroll-down-function' to
1098         `doc-view-scroll-down-or-previous-page'.
1100 2009-11-25  Juri Linkov  <juri@jurta.org>
1102         Provide additional default values (directories at other Dired
1103         windows) via M-n in the minibuffer of some Dired commands.
1105         * dired-aux.el (dired-diff, dired-compare-directories)
1106         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
1107         `minibuffer-default' in `minibuffer-with-setup-hook'.
1108         (dired-dwim-target-directory): Find a window that displays Dired
1109         buffer instead of failing when the next window is not Dired.
1110         Use `get-window-with-predicate' to find for the next Dired window.
1111         (dired-dwim-target-defaults): New function.
1113         * ediff-util.el (ediff-read-file-name):
1114         Use `dired-dwim-target-defaults' to set `minibuffer-default'
1115         in `minibuffer-with-setup-hook'.
1117 2009-11-25  Juri Linkov  <juri@jurta.org>
1119         Provide additional default values (file name at point or at the
1120         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
1122         * minibuffer.el (read-file-name-defaults): New function.
1123         (read-file-name): Reset `minibuffer-default' to nil when
1124         it duplicates initial input `insdef'.
1125         Bind `minibuffer-default-add-function' to lambda that
1126         calls `read-file-name-defaults' in `minibuffer-selected-window'.
1127         (minibuffer-insert-file-name-at-point): New command.
1129         * files.el (file-name-at-point-functions): New defcustom.
1130         (find-file-default): Remove defvar.
1131         (find-file-read-args): Don't use `find-file-default'.
1132         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1133         to `read-file-name'.
1134         (find-file-literally): Use `read-file-name' with
1135         `confirm-nonexistent-file-or-buffer'.
1137         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
1139         * dired.el (dired-read-dir-and-switches):
1140         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1141         to `read-file-name'.
1142         (dired-file-name-at-point): New function.
1143         (dired-mode): Add hook `dired-file-name-at-point' to
1144         `file-name-at-point-functions'.
1146 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1148         Really make the *Completions* window soft-dedicated (bug#5030).
1149         * window.el (window--display-buffer-2): Add `dedicated' argument.
1150         (display-buffer): Pass it when needed so the dedicated flag is set
1151         after calling set-window-buffer, which would otherwise reset it.
1153 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1155         * progmodes/meta-mode.el (meta-complete-symbol):
1156         * progmodes/etags.el (complete-tag):
1157         * mail/mailabbrev.el (mail-abbrev-complete-alias):
1158         Use completion-in-region.
1160         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
1161         (dabbrev-completion): Use completion-in-region.
1162         (dabbrev--abbrev-at-point): Simplify regexp.
1164         * abbrev.el (abbrev--before-point): Use word-motion functions
1165         if :regexp is not specified (bug#5031).
1167         * subr.el (string-prefix-p): New function.
1169         * man.el (Man-completion-cache): New var.
1170         (Man-completion-table): Use it.
1172         * vc.el (vc-print-log-internal): Make `limit' optional for better
1173         compatibility (e.g. with vc-annotate.el).
1175 2009-11-24  Kevin Ryde  <user42@zip.com.au>
1177         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
1178         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
1180         * emacs-lisp/elint.el (elint-add-required-env): Better error message
1181         when .el source file not found or other error.
1183 2009-11-24  Markus Triska  <markus.triska@gmx.at>
1185         * linum.el (linum-update-window): Ignore intangible (bug#4996).
1187 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1189         Handle the [back] button properly (bug#4979).
1190         * descr-text.el (describe-text-properties): Add a `buffer' argument.
1191         Use help-setup-xref, help-buffer, and with-help-window.
1192         (describe-char): Add `buffer' argument.
1193         Pass proper command to help-setup-xref.  Don't meddle with
1194         help-xref-stack-item directly.
1195         (describe-text-category): Use with-help-window and help-buffer.
1197         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
1198         for the displayed buffer (bug#4887).
1200         * man.el (Man-completion-table): New function.
1201         (man): Use it.
1203 2009-11-24  David Reitter  <david.reitter@gmail.com>
1205         * vc-git.el (vc-git-registered): Use checkout directory (where
1206         .git is) rather than the file's directory and a relative path spec
1207         to work around a bug in git.
1209 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
1211         Improve handling of processes on remote hosts.
1213         * eshell/esh-util.el (eshell-path-env): New defvar.
1214         (eshell-parse-colon-path): New defun.
1215         (eshell-file-attributes): Use `eshell-parse-colon-path'.
1217         * eshell/esh-ext.el (eshell-search-path):
1218         Use `eshell-parse-colon-path'.
1219         (eshell-remote-command): Remove argument HANDLER.
1220         (eshell-external-command): Check for FTP remote connection.
1222         * eshell/esh-proc.el (eshell-gather-process-output):
1223         Use `file-truename', in order to start also symlinked files.
1224         Apply `start-file-process' instead of `start-process'.
1225         Shorten `command' to the local file name part.
1227         * eshell/em-cmpl.el (eshell-complete-commands-list):
1228         Use `eshell-parse-colon-path'.
1230         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
1232         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
1233         to `eshell-directory-change-hook'.
1235 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
1237         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
1238         because it could be enabled automatically if view-read-only is non-nil.
1240 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
1242         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
1243         made on 2009-11-22.
1245 2009-11-24  Glenn Morris  <rgm@gnu.org>
1247         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
1248         deleted variable bookmark-bmenu-bookmark-column.
1250         * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
1251         Move after definition of global-semantic-idle-tag-highlight-mode.
1253 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1255         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
1257 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
1259         * net/browse-url.el (browse-url-filename-alist): On Windows, add
1260         two slashes to the "file:" prefix.
1261         (browse-url-file-url): De-munge Cygwin filenames before passing
1262         them to Windows browser.
1263         (browse-url-default-windows-browser): Use call-process.
1265 2009-11-23  Juri Linkov  <juri@jurta.org>
1267         Implement DocView Continuous mode.  (Bug#4896)
1268         * doc-view.el (doc-view-continuous-mode): New defcustom.
1269         (doc-view-mode-map): Bind C-n/<down> to
1270         `doc-view-next-line-or-next-page', C-p/<up> to
1271         `doc-view-previous-line-or-previous-page'.
1272         (doc-view-next-line-or-next-page)
1273         (doc-view-previous-line-or-previous-page): New commands.
1275 2009-11-23  Juri Linkov  <juri@jurta.org>
1277         Implement Isearch in comint input history.  (Bug#3746)
1278         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
1279         `isearch-mode-hook'.
1280         (comint-history-isearch): New defcustom.
1281         (comint-history-isearch-backward)
1282         (comint-history-isearch-backward-regexp): New commands.
1283         (comint-history-isearch-message-overlay): New buffer-local variable.
1284         (comint-history-isearch-setup, comint-history-isearch-end)
1285         (comint-goto-input, comint-history-isearch-search)
1286         (comint-history-isearch-message, comint-history-isearch-wrap)
1287         (comint-history-isearch-push-state)
1288         (comint-history-isearch-pop-state): New functions.
1290 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
1292         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
1293         return.
1294         (tramp-handle-make-symbolic-link)
1295         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
1296         Quote file names.
1297         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
1298         (tramp-handle-process-file): Use it.
1300 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1302         * window.el (move-to-window-line-last-op): Remove.
1303         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
1305 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
1307         Make M-r mirror the new cycling behavior of C-l.
1308         * window.el (move-to-window-line-last-op): New var.
1309         (move-to-window-line-top-bottom): New command.
1310         (global-map): Bind M-r move-to-window-line-top-bottom.
1312 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
1314         * dired-x.el (dired-guess-shell-alist-default):
1315         Support xz format.  (Bug#4953)
1317 2009-11-22  Chong Yidong  <cyd@stupidchicken.com>
1319         * cedet/srecode/map.el (srecode-get-maps):
1320         * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
1321         * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
1322         * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
1323         (semantic-toggle-decoration-style):
1324         * cedet/semantic/decorate/include.el
1325         (semantic-decoration-include-describe)
1326         (semantic-decoration-unknown-include-describe)
1327         (semantic-decoration-unparsed-include-describe)
1328         (semantic-decoration-all-include-summary):
1329         * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
1330         * cedet/semantic/analyze/complete.el
1331         (semantic-analyze-possible-completions):
1332         * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
1333         (semantic-show-unmatched-syntax-mode)
1334         (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
1335         (semantic-highlight-func-mode):
1336         * cedet/semantic/util.el (semantic-describe-buffer):
1337         * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
1338         (semantic-symref-find-tags-by-name)
1339         (semantic-symref-find-tags-by-regexp)
1340         (semantic-symref-find-tags-by-completion)
1341         (semantic-symref-find-file-references-by-name)
1342         (semantic-symref-find-text):
1343         * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
1344         (senator-yank-tag):
1345         * cedet/semantic/scope.el (semantic-calculate-scope):
1346         * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1347         * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
1348         (define-semantic-idle-service):
1349         * cedet/semantic/complete.el (semantic-complete-analyze-inline)
1350         (semantic-complete-analyze-inline-idle):
1351         * cedet/semantic/analyze.el (semantic-analyze-current-context):
1352         * cedet/mode-local.el (describe-mode-local-bindings)
1353         (describe-mode-local-bindings-in-mode):
1354         * cedet/ede/make.el (ede-make-check-version):
1355         * cedet/ede/locate.el (ede-enable-locate-on-project):
1356         * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
1357         (cedet-idutils-version-check):
1358         * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
1359         (cedet-gnu-global-version-check):
1360         * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
1361         (cedet-cscope-version-check): Use called-interactively-p instead
1362         of interactive-p.
1364         * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
1365         Use semantic-format-tag-prototype.
1367 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
1369         * emulation/viper-cmd.el: Use viper-last-command-char instead of
1370         last-command-char/last-command-event.
1371         (viper-prefix-arg-value): Do correct conversion of event-char for
1372         XEmacs.
1374         * emulation/viper-util.el, emulation/viper.el:
1375         Use viper-last-command-char instead of
1376         last-command-char/last-command-event.
1378         * ediff-init.el, ediff-mult.el, ediff-util.el:
1379         Replace last-command-char and last-command-event
1380         with (ediff-last-command-char) everywhere.
1382         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
1383         created in fundamental mode.
1385         * ediff.el (ediff-version): Revert the change of interactive-p to
1386         called-interactively-p.
1388 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
1390         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
1391         generation from word-movement command names.
1393 2009-11-21  Chong Yidong  <cyd@stupidchicken.com>
1395         * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
1396         (semantic-complete-jump-local, semantic-complete-jump):
1397         Improve prompt string.
1399 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1401         * cus-start.el (all): Add native condition for font-use-system-font.
1403 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
1405         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
1406         Correct the patch from 2009-11-18.  (Bug#3910)
1408 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
1410         * progmodes/subword.el: Rename from lisp/subword.el.
1412         * subword.el: Rename to progmodes/subword.el.
1414         * Makefile.in (ELCFILES): Adapt to subword.el move.
1416 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1417             Stefan Monnier  <monnier@iro.umontreal.ca>
1419         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
1420         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
1421         (bookmark-bmenu-show-filenames): Use push.
1422         (bookmark-bmenu-hide-filenames): Use local var instead of
1423         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
1424         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
1425         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
1426         filenames now that the bookmark names are always available.
1428 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1430         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
1431         (bookmark-search-pattern): Move and leave unbound.
1432         (bookmark-bmenu-mode-map): Change binding.
1433         (bookmark-read-search-input): Simplify.
1434         Don't use text-char-description.  Don't error on non-char events.
1435         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
1436         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
1437         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
1438         Use a local var for the timer.
1439         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
1440         (i.e. bookmark-bmenu-search).
1442 2009-11-21  Glenn Morris  <rgm@gnu.org>
1444         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
1446 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
1448         * net/browse-url.el (browse-url-default-windows-browser):
1449         Use cygstart for cygwin.
1451 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
1453         * bookmark.el: Formatting and doc fixes only:
1454         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
1455         (bookmark-bmenu-search): Wrap to fit within 80 columns.
1456           Minor grammar and punctuation fixes in doc string.
1457         (bookmark-read-search-input): Adjust to fit within 80 columns.
1459 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1461         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1462         (c-backward-into-nomenclature): Adapt to subword renaming.
1464         * subword.el (subword-forward, subword-backward, subword-mark)
1465         (subword-kill, subword-backward-kill, subword-transpose)
1466         (subword-downcase, subword-upcase, subword-capitalize)
1467         (subword-forward-internal, subword-backward-internal):
1468         Rename from forward-subword, backward-subword, mark-subword,
1469         kill-subword, backward-kill-subword, transpose-subwords,
1470         downcase-subword, upcase-subword, capitalize-subword,
1471         forward-subword-internal, backward-subword-internal.
1473 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1475         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
1476         New options.
1477         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
1478         New vars.
1479         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
1480         (bookmark-bmenu-filter-alist-by-regexp)
1481         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
1482         (bookmark-bmenu-search): New command.
1483         (bookmark-bmenu-mode-map): Bind it.
1485 2009-11-20  Chong Yidong  <cyd@stupidchicken.com>
1487         * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
1489         * cedet/semantic/idle.el (define-semantic-idle-service)
1490         (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
1492 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1494         * progmodes/cc-cmds.el: declare-functioned forward-subword and
1495         backward-subword to quit the byte-compiler.
1497         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
1499         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
1501         * progmodes/cc-cmds.el (c-update-modeline)
1502         (c-forward-into-nomenclature, c-backward-into-nomenclature):
1503         Refer to subword.el functions instead of cc-subword.el.
1505         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
1506         subword.el functions instead of cc-subword.el.
1508         * progmodes/cc-subword.el: Rename to subword.el.
1509         * subword.el: Rename from progmodes/cc-subword.el.
1510         (subword-mode-map): Rename from c-subword-mode-map.
1511         (subword-mode): Rename from c-subword-mode.
1512         (global-subword-mode): New global minor mode.
1513         (forward-subword): Rename from c-forward-subword.
1514         (backward-subword): Rename from c-backward-subword.
1515         (mark-subword): Rename from c-mark-subword.
1516         (kill-subword): Rename from c-kill-subword.
1517         (backward-kill-subword): Rename from c-backward-kill-subword.
1518         (transpose-subwords): Rename from c-tranpose-subword.
1519         (downcase-subword): Rename from c-downcase-subword.
1520         (capitalize-subword): Rename from c-capitalize-subword.
1521         (forward-subword-internal): Rename from c-forward-subword-internal.
1522         (backward-subword-internal): Rename from c-backward-subword-internal.
1524 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
1526         * vc.el (vc-deduce-fileset): Allow non-state changing operations
1527         from a dired buffer.
1528         (vc-dired-deduce-fileset): New function.
1529         (vc-root-diff, vc-print-root-log): Use it.
1531         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
1532         nil LIMIT argument to vc-print-log-internal.
1534 2009-11-20  Glenn Morris  <rgm@gnu.org>
1536         * Makefile.in (ELCFILES): Regenerate.
1538 2009-11-20  Chong Yidong  <cyd@stupidchicken.com>
1540         * cedet/cedet.el (cedet-menu-map): Re-order menu items.
1542         * cedet/semantic.el: Enable idle-mode menu items only if
1543         global-semantic-idle-scheduler-mode is enabled.
1544         (semantic-default-submodes): Doc fix.
1546         * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
1547         When turning off, disable other idle modes.
1549 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
1551         * calc/calc.el (calc-set-mode-line):
1552         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1553         (math-format-number): Rename `math-format-complement-signed' to
1554         `math-format-twos-complement'.
1556         * calc/calc-bin.el (math-format-twos-complement): Rename from
1557         math-format-complement-signed.
1558         (calc-radix): Rename `calc-complement-signed-mode' to
1559         `calc-twos-complement-mode'.
1560         (calc-octal-radix, calc-hex-radix): Add an argument for
1561         two's complement.
1563         * calc/calc-embed.el (calc-embedded-mode-vars):
1564         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1566         * calc/calc-ext.el (calc-init-extensions):
1567         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1568         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
1570         * calc/calc-units.el (math-build-units-table-buffer):
1571         Let `calc-twos-complement-mode' be nil.
1573         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
1574         entries.
1576         * calc/calc-vec.el (calcFunc-vunpack):
1577         * calc/calc-aent.el (calc-do-calc-eval):
1578         * calc/calc-forms.el (math-format-date):
1579         * calc/calc-graph.el (calc-graph-plot):
1580         * calc/calc-math.el (math-use-emacs-fn):
1581         * calc/calccomp.el (math-compose-expr):
1582         Let `calc-twos-complement-mode' be nil.
1584 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1586         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
1587         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
1588         * minibuffer.el (completion-in-region-functions): New hook.
1589         (completion-in-region): New function.
1590         * emacs-lisp/lisp.el (lisp-complete-symbol):
1591         * pcomplete.el (pcomplete-std-complete): Use it.
1593 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1595         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
1596         (latex-complete-alist): New vars.
1597         (latex-string-prefix-p, latex-complete-bibtex-keys)
1598         (latex-complete-envnames, latex-complete-refkeys)
1599         (latex-complete-data): New functions.
1600         (latex-complete, latex-indent-or-complete): New commands.
1602         * window.el (display-buffer-mark-dedicated): New var.
1603         (display-buffer): Obey it.
1604         * minibuffer.el (minibuffer-completion-help): Use it.
1606         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
1608         * filecache.el (file-cache-add-file): Use push and cons.
1609         (file-cache-delete-file-regexp): Use push.
1610         (file-cache-complete): Use completion-in-region.
1612         * simple.el (with-wrapper-hook): Fix thinko.
1614         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
1615         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
1616         Use with-current-buffer and string-to-number.
1617         (hfy-fallback-colour-values): Use assoc-string.
1618         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
1619         (hfy-face-at): Remove unused var `found-face'.
1620         (hfy-compile-stylesheet): Remove unused var `css'.
1621         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
1622         and `orig-buffer'.
1623         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
1624         Use with-current-buffer.
1625         (hfy-text-p): Use expand-file-name and fewer setq.
1627 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
1629         * htmlfontify.el, hfy-cmap.el: New files.
1631 2009-11-19  Juri Linkov  <juri@jurta.org>
1633         * minibuffer.el (completions-format): New defcustom.
1634         (completion--insert-strings): Implement vertical format.
1636         * simple.el (switch-to-completions): Move point to the first
1637         completion when point was at the beginning of the buffer.
1639 2009-11-19  Juri Linkov  <juri@jurta.org>
1641         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
1643         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
1645 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
1647         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
1648         (mail-signature): Change default to t.
1649         (mail-from-style): Deprecate `system-default' value.
1650         (mail-insert-from-field): For default value of mail-from-style,
1651         default to `angles' unless `angles' needs quoting and `parens'
1652         does not.
1653         (mail-citation-prefix-regexp): Use citation regexp from
1654         message-mode.
1656 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
1658         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
1659         Set variables for computing the prompt for reading password.
1661 2009-11-19  Glenn Morris  <rgm@gnu.org>
1663         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
1665         * textmodes/flyspell.el (sgml-lexical-context): Declare.
1667         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
1668         (newsticker-treeview-listwindow-height): Fix custom type.
1670 2009-11-19  Kenichi Handa  <handa@m17n.org>
1672         * descr-text.el (describe-char-padded-string): Compose with TAB
1673         only if there's a font for CH.
1674         (describe-char): Fix the condition for detecting a trivial composition.
1676 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
1678         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
1679         more accurate version of the regexp.  (Bug#3910)
1681 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
1683         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
1685 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
1687         * font-setting.el (font-use-system-font): Declare for byte-compiler.
1688         (font-setting-change-default-font): Fix typo in docstring.
1690 2009-11-18  Alan Mackenzie  <acm@muc.de>
1692         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
1694 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
1696         * font-setting.el (font-use-system-font): Move ...
1698         * cus-start.el (all): ... to here.
1700 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
1702         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
1703         Don't set `ad-return-value' if `ad-do-it' doesn't.
1705         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
1706         modification time.
1708 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
1710         * menu-bar.el: Put "Use system font" in Option-menu.
1711         (menu-bar-options-save): Add font-use-system-font.
1713         * loadup.el: If feature system-font-setting or font-render-setting is
1714         there, load font-setting.
1716         * Makefile.in (ELCFILES): Add font-settings.el.
1717         * font-setting.el: New file.
1719 2009-11-17  Glenn Morris  <rgm@gnu.org>
1721         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
1723         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
1724         Preserve point in the list buffer.  (Bug#4939)
1725         Use point-at-eol.
1726         (newsticker--treeview-list-update-highlight)
1727         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
1729 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
1731         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
1732         Remove.
1734         * calc/calc-ext.el (calc-init-extensions): Remove references to
1735         symclip.
1737         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
1739         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
1740         * calc/calc-help.el (calc-b-prefix-help): Remove references to
1741         `calc-symclip'.
1743 2009-11-16  Kevin Ryde  <user42@zip.com.au>
1745         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
1746         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
1748         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
1749         (lm-keywords-list): Allow comma-only separator like "foo,bar".
1750         Ignore trailing spaces by omit-nulls to split-string (fixing
1751         regression from Emacs 21 due to the incompatible split-string
1752         change).  (Bug #4928.)
1754 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
1756         * vc.el (vc-log-show-limit): Default to 2000.
1757         (vc-print-log-internal): Insert buttons to request more entries
1758         when limiting the output.
1760         * vc-sccs.el (vc-sccs-print-log):
1761         * vc-rcs.el (vc-rcs-print-log):
1762         * vc-cvs.el (vc-cvs-print-log):
1763         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
1764         LIMIT is non-nil.
1766 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
1768         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
1769         error when `tramp-gvfs-dbus-event-vector' is set.
1770         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
1772 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1774         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
1776 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
1778         * net/dbus.el (dbus-unregister-service): New defun.
1779         (dbus-register-property): Register the handlers of
1780         "org.freedesktop.DBus.Properties" for SERVICE.
1781         (dbus-property-handler): Fix docstring.
1783 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1785         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
1786         Quote doc string reference in defvaralias as it is not in special form.
1787         (byte-compile-output-docform): Doc fix.
1789 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
1791         * calc/calc.el (math-2-word-size, math-half-2-word-size)
1792         (calc-complement-signed-mode): New variables.
1793         (calc-set-mode-line): Add indicator for twos-complements.
1794         (math-format-number): Format twos-complement notation.
1796         * calc/calc-bin.el (calc-word-size): Reset the variables
1797         `math-2-word-size' and `math-half-2-word-size'.
1798         (math-format-complement-signed, math-symclip, calcFunc-symclip)
1799         (calc-symclip): New functions.
1801         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
1803         * calc/calc-embed.el (calc-embedded-mode-vars):
1804         Add `calc-complement-signed-mode' to the list of modes.
1806         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
1807         (calc-b-oper-keys): Add `calc-symclip' to list.
1809         * calc/calc-ext.el (math-read-number-fancy): Read complement
1810         signed numbers.
1811         (calc-init-extensions): Add binding for `calc-symclip'.
1812         Add autoload for `calcFunc-symclip' and `calc-symclip'.
1814         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
1815         `calc-symclip'.
1816         (calc-modes-menu): Add item for twos complement mode.
1818         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
1820 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
1822         * register.el (jump-to-register, insert-register): Handle Semantic
1823         tags.  From commented-out advice in semantic/senator.el.
1825 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
1827         * vc.el (vc-log-show-limit): New variable.
1828         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
1829         when using a prefix argument.
1830         (vc-print-log-internal): Add new argument LIMIT.
1832         * vc-svn.el (vc-svn-print-log):
1833         * vc-mtn.el (vc-mtn-print-log):
1834         * vc-hg.el (vc-hg-print-log):
1835         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
1836         pass it to the log command when set.  Make the BUFFER argument
1837         non-optional.
1839         * vc-sccs.el (vc-sccs-print-log):
1840         * vc-rcs.el (vc-rcs-print-log):
1841         * vc-git.el (vc-git-print-log):
1842         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
1843         ignore it.  Make the BUFFER argument non-optional
1845         * bindings.el (mode-line-buffer-identification): Do not purecopy.
1847 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
1849         * dired.el (dired-mode-map): Move encryption items to "Operate"
1850         menu (Bug#4703).
1852         * strokes.el (strokes-update-window-configuration): Make strokes
1853         buffer current before erasing (Bug#4906).
1855         * cedet/semantic/idle.el (semantic-idle-summary-mode)
1856         (semantic-idle-summary-mode): Define using define-minor-mode
1857         instead of define-semantic-idle-service.
1858         (semantic-idle-summary-mode): New function.
1859         (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
1860         that mouse motion does not reset the echo area.
1862 2009-11-15  Juri Linkov  <juri@jurta.org>
1864         * simple.el (set-mark-default-inactive): Add :type, :group
1865         and :version.  (Bug#4876)
1867 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
1869         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
1870         (archive-unique-fname): ... here.  (Bug#4929)
1872 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1874         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
1875         with a real fix.
1877         * novice.el (disabled-command-function): Add useful args.
1878         Setup the help buffer so that [back] works.
1879         Remove redundant call to help-mode.
1880         (disabled-command-function): Use `case'.
1881         (en/disable-command): New function extracted from enable-command.
1882         (enable-command, disable-command): Use it.
1884 2009-11-14  Glenn Morris  <rgm@gnu.org>
1886         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
1887         constants.  (Bug#4913)
1889         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
1891 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
1893         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
1894         defined in C that have no doc-strings.  (Bug#1063)
1896 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
1898         * cus-edit.el (data, files):
1899         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
1901 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
1903         * simple.el (shell-command): Doc fix (Bug#4891).
1905         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
1907 2009-11-14  Glenn Morris  <rgm@gnu.org>
1909         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
1910         statements for vc-diff, emerge-quit, and rmail-cease-edit.
1911         If they are already loaded, eval-after-load will do the right thing.
1913         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
1914         compiling.
1916         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
1918         * simple.el (x-selection-owner-p): Declare.
1919         (read-mail-command): Use custom radio type rather than choice.
1920         (completion-no-auto-exit): Doc fix.
1922         * custom.el (defgroup):
1923         * epg-config.el (epg): Doc fixes.
1925 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
1927         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
1928         * international/ccl.el (define-ccl-program): Do not purecopy the
1929         docstring, defconst does it anyway.
1931 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1933         * add-log.el (add-change-log-entry): Avoid displaying the changelog
1934         a second time.
1936         * x-dnd.el (x-dnd-maybe-call-test-function):
1937         * window.el (split-window-vertically):
1938         * whitespace.el (whitespace-help-on):
1939         * vc-rcs.el (vc-rcs-consult-headers):
1940         * userlock.el (ask-user-about-lock-help)
1941         (ask-user-about-supersession-help):
1942         * type-break.el (type-break-force-mode-line-update):
1943         * time-stamp.el (time-stamp-conv-warn):
1944         * terminal.el (te-set-output-log, te-more-break, te-filter)
1945         (te-sentinel,terminal-emulator):
1946         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
1947         (term-write-input-ring, term-check-source, term-start-output-log):
1948         (term-display-buffer-line, term-dynamic-list-completions):
1949         (term-ansi-make-term, serial-term):
1950         * subr.el (selective-display):
1951         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1952         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
1953         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
1954         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
1955         (speedbar-remove-localized-speedbar-support)
1956         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
1957         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
1958         (speedbar-buffers-line-directory):
1959         * simple.el (shell-command-on-region, append-to-buffer)
1960         (prepend-to-buffer):
1961         * shadowfile.el (shadow-save-todo-file):
1962         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
1963         (scroll-bar-maybe-set-window-start):
1964         * sb-image.el (speedbar-image-dump):
1965         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
1966         (load-save-place-alist-from-file):
1967         * ps-samp.el (ps-print-message-from-summary):
1968         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
1969         (ps-background-image, ps-begin-job, ps-do-despool):
1970         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
1971         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
1972         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
1973         (pr-call-process, pr-file-list, pr-interface-save):
1974         * novice.el (disabled-command-function)
1975         (enable-command, disable-command):
1976         * mouse.el (mouse-buffer-menu-alist):
1977         * mouse-copy.el (mouse-kill-preserving-secondary):
1978         * macros.el (kbd-macro-query):
1979         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
1980         * informat.el (batch-info-validate):
1981         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
1982         * hippie-exp.el (try-expand-dabbrev-visible):
1983         * help-mode.el (help-make-xrefs):
1984         * help-fns.el (describe-variable):
1985         * generic-x.el (bat-generic-mode-run-as-comint):
1986         * finder.el (finder-mouse-select):
1987         * find-dired.el (find-dired-sentinel):
1988         * filesets.el (filesets-file-close):
1989         * files.el (list-directory):
1990         * faces.el (list-faces-display, describe-face):
1991         * facemenu.el (list-colors-display):
1992         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
1993         * epg.el (epg--process-filter, epg-cancel):
1994         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
1995         (epa--read-signature-type):
1996         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
1997         (emerge-file-names):
1998         * ehelp.el (electric-helpify):
1999         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
2000         * ediff-vers.el (rcs-ediff-view-revision):
2001         * ediff-util.el (ediff-setup):
2002         * ediff-mult.el (ediff-append-custom-diff):
2003         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
2004         (ediff-wordify):
2005         * echistory.el (Electric-command-history-redo-expression):
2006         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2007         * disp-table.el (describe-display-table):
2008         * dired.el (dired-find-buffer-nocreate):
2009         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
2010         * dabbrev.el (dabbrev--same-major-mode-p):
2011         * chistory.el (list-command-history):
2012         * apropos.el (apropos-documentation):
2013         * allout.el (allout-obtain-passphrase):
2014         (allout-copy-exposed-to-buffer):
2015         (allout-verify-passphrase): Use with-current-buffer.
2017 2009-11-13  Glenn Morris  <rgm@gnu.org>
2019         * Makefile.in (ELCFILES): Regenerate.
2021 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
2023         * net/dbus.el (dbus-registered-objects-table): Rename from
2024         `dbus-registered-functions-table', because it contains also properties.
2025         (dbus-unregister-object): Unregister also properties.
2026         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2027         Use a timeout of 500 msec, in order to not block.
2028         (dbus-register-property, dbus-property-handler): New defuns.
2030 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2032         * simple.el (minibuffer-default-add-completions): Drop deprecated
2033         4th arg.
2035 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
2037         * textmodes/artist.el (artist-mouse-choose-operation):
2038         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
2039         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
2040         (artist-compute-up-event-key): New function.
2041         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
2043 2009-11-13  Kenichi Handa  <handa@m17n.org>
2045         * language/japan-util.el: Make sure that the value of jisx0208
2046         property is jisx0208 character.
2048 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
2050         * international/mule.el (auto-coding-regexp-alist): Only purecopy
2051         car or each item, not the whole list.
2053 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2055         * minibuffer.el (minibuffer-completion-help):
2056         Use minibuffer-hide-completions.
2058 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
2060         * dired.el (dired-save-positions, dired-restore-positions): New funs.
2061         (dired-revert): Use them (bug#4880).
2063 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
2065         * tooltip.el (tooltip-frame-parameters): Undo previous change.
2067 2009-11-12  Juri Linkov  <juri@jurta.org>
2069         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
2070         New functions.
2071         (find-file-literally-at-point): Alias of `ffap-literally'.
2073 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
2075         * textmodes/ispell.el (ispell-skip-region-alist):
2076         * textmodes/css-mode.el (auto-mode-alist):
2077         * progmodes/compile.el (auto-mode-alist):
2078         * international/mule.el (ctext-non-standard-encodings-alist)
2079         (ctext-non-standard-encodings-regexp):
2080         * simple.el (shell-command-switch, text-read-only):
2081         * replace.el (occur-mode-map):
2082         * paths.el (rmail-file-name):
2083         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
2084         * find-file.el (ff-special-constructs):
2085         * files.el (file-name-handler-alist):
2086         * composite.el: Purecopy strings.
2088         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
2090 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
2092         * widget.el (define-widget): Purecopy the docstring.
2093         * international/mule-cmds.el (charset): Do not purecopy the
2094         docstring here, define-widget does it.
2096         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
2097         * textmodes/bibtex-style.el (auto-mode-alist):
2098         * progmodes/inf-lisp.el (inferior-lisp-prompt):
2099         * progmodes/compile.el (compile-command):
2100         * language/korea-util.el (default-korean-keyboard):
2101         * international/mule-conf.el (file-coding-system-alist):
2102         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
2103         * tooltip.el (tooltip-frame-parameters):
2104         * newcomment.el (comment-end, comment-padding):
2105         * dired.el (dired-trivial-filenames):
2106         * comint.el (comint-file-name-prefix): Purecopy initial values.
2108 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
2110         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
2111         (tramp-advice-minibuffer-electric-tilde): Unload advices via
2112         `tramp-unload'.
2113         (tramp-advice-make-auto-save-file-name)
2114         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
2115         after removing the advice.
2117 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
2119         * progmodes/grep.el (grep-regexp-alist):
2120         * international/mule-cmds.el (iso-2022-control-alist):
2121         * emacs-lisp/timer.el (timer-duration-words):
2122         * subr.el (version-separator, version-regexp-alist):
2123         * minibuffer.el (completion-styles-alist):
2124         * faces.el (face-attribute-name-alist, list-faces-sample-text):
2125         Change defvars to defconsts.
2127         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
2128         * loadup.el ("international/mule-conf"): Load the byte compiled version.
2129         * international/mule-conf.el: Allow to be byte compiled.
2131         * international/mule.el (define-charset): Purecopy props.
2132         (load-with-code-conversion): Purecopy doc string and file name.
2133         (put-charset-property): Purecopy strings.
2134         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
2136         * international/mule-cmds.el (register-input-method): Purecopy arguments.
2137         (define-char-code-property): Correctly purecopy the table.
2139         * international/ccl.el (define-ccl-program): Purecopy the docstring.
2141         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
2143         * subr.el (add-hook): Purecopy strings.
2144         (eval-after-load): Purecopy load-history-regexp and the form.
2146         * custom.el (custom-declare-group): Purecopy load-file-name.
2148         * subr.el (menu-bar-separator): New defconst.
2149         * net/eudc.el (eudc-tools-menu):
2150         * international/mule-cmds.el (set-coding-system-map)
2151         (mule-menu-keymap):
2152         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2153         * vc-hooks.el (vc-menu-map):
2154         * replace.el (occur-mode-map):
2155         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
2156         (menu-bar-edit-menu, menu-bar-goto-menu)
2157         (menu-bar-custom-menu, menu-bar-showhide-menu)
2158         (menu-bar-options-menu, menu-bar-tools-menu)
2159         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
2160         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2161         (menu-bar-help-menu):
2162         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
2163         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
2165         * term/x-win.el (x-gtk-stock-map):
2166         * progmodes/vera-mode.el (auto-mode-alist):
2167         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2168         (inferior-lisp-program, inferior-lisp-load-command):
2169         * progmodes/hideshow.el (hs-special-modes-alist):
2170         * progmodes/gud.el (same-window-regexps):
2171         * progmodes/grep.el (grep-program, find-program, xargs-program):
2172         * net/telnet.el (same-window-regexps):
2173         * net/rlogin.el (same-window-regexps):
2174         * language/ethiopic.el (font-ccl-encoder-alist):
2175         * vc-sccs.el (vc-sccs-master-templates):
2176         * vc-rcs.el (vc-rcs-master-templates):
2177         * subr.el (cl-assertion-failed):
2178         * simple.el (next-error-overlay-arrow-position):
2179         * lpr.el (lpr-command):
2180         * locate.el (locate-ls-subdir-switches):
2181         * info.el (same-window-regexps, info)
2182         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
2183         * image-mode.el (image-mode, auto-mode-alist):
2184         * hippie-exp.el (hippie-expand-ignore-buffers):
2185         * format.el (format-alist):
2186         * find-dired.el (find-ls-subdir-switches, find-grep-options)
2187         (find-name-arg):
2188         * facemenu.el (facemenu-keybindings):
2189         * dired.el (dired-listing-switches, dired-chown-program):
2190         * diff.el (diff-switches, diff-command):
2191         * cus-edit.el (same-window-regexps):
2192         * bindings.el (mode-line-mule-info)
2193         (mode-line-buffer-identification): Purecopy strings.
2195 2009-11-11  Juri Linkov  <juri@jurta.org>
2197         * simple.el (dired-get-filename)<declare-function>:
2198         Tell the byte-compiler about dired-get-filename.
2199         (shell-command): In Dired mode, get filename from the current line
2200         as the default value.
2202 2009-11-10  Glenn Morris  <rgm@gnu.org>
2204         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
2205         * calendar/holidays.el, progmodes/cperl-mode.el:
2206         Update x-popup-menu declarations.
2208         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
2209         (list-load-path-shadows): Use dolist.
2210         (list-load-path-shadows): Use with-current-buffer.
2212 2009-11-10  Juri Linkov  <juri@jurta.org>
2214         * minibuffer.el (read-file-name): Support a list of default values
2215         in `default-filename'.  Use the first file name where only one
2216         element is required.  Doc fix.
2218 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
2220         * net/dbus.el (dbus-unregister-object): Release service, if no
2221         other method is registered for it.
2223 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
2225         * bookmark.el (bookmark-completing-read): Sort bookmark names if
2226         bookmark-sort-flag is non-nil (Bug#4653).
2228 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
2230         * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
2231         the progress reporter entirely.
2233         * emulation/cua-base.el: Add CUA property to some CC mode commands
2234         (Bug#4100).
2236 2009-11-08  Kevin Ryde  <user42@zip.com.au>
2238         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
2239         at end of sentence (Bug#4818).
2241 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
2243         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2244         Handle "see declaration of" MSFT statements (Bug#4100).
2246 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
2248         * net/tramp.el (tramp-advice-make-auto-save-file-name)
2249         (tramp-advice-file-expand-wildcards): Unload via
2250         `ad-remove-advice'.
2252         * net/trampver.el: Update release number.
2254 2009-11-08  Kevin Ryde  <user42@zip.com.au>
2256         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
2257         `ad-do-it'.
2259 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
2261         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
2262         in order to keep context in SELinux.
2264 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
2266         * dired-aux.el (dired-query): Place cursor in echo area and allow
2267         C-g.
2269         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
2270         menu item if not on a directory (Bug#4701).
2272 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
2274         Sync with Tramp 2.1.17.
2276         * net/tramp.el (tramp-handle-copy-directory): Don't use
2277         `file-remote-p' (due to compatibility).
2279         * net/tramp-compat.el (tramp-compat-copy-directory)
2280         (tramp-compat-delete-directory): New defuns.
2282         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
2283         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
2284         `tramp-compat-delete-directory'.
2286         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2287         (tramp-smb-handle-delete-directory ): Use
2288         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
2290         * net/trampver.el: Update release number.
2292 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
2294         * tar-mode.el (tar-copy): Call write-region on the right buffer
2295         (Bug#4857).
2297         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
2298         by hand, if necessary (Bug#4878).
2300 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
2302         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
2303         align size column (Bug#4839).
2305         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
2306         statement.
2308 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
2310         * progmodes/ld-script.el (auto-mode-alist):
2311         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
2313         * cus-face.el (custom-declare-face): Purecopy face spec.
2315 2009-11-06  Kenichi Handa  <handa@m17n.org>
2317         * international/uni-bidi.el: Re-generated.
2318         * international/uni-category.el: Re-generated.
2319         * international/uni-combining.el: Re-generated.
2320         * international/uni-mirrored.el: Re-generated.
2322 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
2324         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
2325         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
2326         (tex-start-options, slitex-run-command, latex-run-command)
2327         (tex-run-command, tex-directory):
2328         * textmodes/ispell.el (ispell-html-skip-alists)
2329         (ispell-tex-skip-alists, ispell-tex-skip-alists):
2330         * textmodes/fill.el (adaptive-fill-first-line-regexp):
2331         (adaptive-fill-regexp):
2332         * textmodes/dns-mode.el (auto-mode-alist):
2333         * progmodes/python.el (interpreter-mode-alist):
2334         * progmodes/etags.el (tags-compression-info-list):
2335         * progmodes/etags.el (tags-file-name):
2336         * net/browse-url.el (browse-url-galeon-program)
2337         (browse-url-firefox-program):
2338         * mail/sendmail.el (mail-signature-file)
2339         (mail-citation-prefix-regexp):
2340         * international/mule-conf.el (eight-bit):
2341         * international/latexenc.el (latex-inputenc-coding-alist):
2342         * international/fontset.el (x-pixel-size-width-font-regexp):
2343         * emacs-lisp/warnings.el (warning-type-format):
2344         * emacs-lisp/trace.el (trace-buffer):
2345         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
2346         (emacs-lisp-mode-map):
2347         * calendar/holidays.el (holiday-solar-holidays)
2348         (holiday-bahai-holidays, holiday-islamic-holidays)
2349         (holiday-christian-holidays, holiday-hebrew-holidays)
2350         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
2351         (hebrew-holidays-1, holiday-oriental-holidays)
2352         (holiday-general-holidays):
2353         * x-dnd.el (x-dnd-known-types):
2354         * tool-bar.el (tool-bar):
2355         * startup.el (site-run-file):
2356         * shell.el (shell-dumb-shell-regexp):
2357         * rfn-eshadow.el (file-name-shadow-tty-properties)
2358         (file-name-shadow-properties):
2359         * paths.el (remote-shell-program, news-directory):
2360         * mouse.el ([C-down-mouse-3]):
2361         * menu-bar.el (menu-bar-tools-menu):
2362         * jka-cmpr-hook.el (jka-compr-load-suffixes)
2363         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
2364         (jka-compr-compression-info-list):
2365         * isearch.el (search-whitespace-regexp):
2366         * image-file.el (image-file-name-extensions):
2367         * find-dired.el (find-ls-option):
2368         * files.el (directory-listing-before-filename-regexp)
2369         (directory-free-space-args, insert-directory-program)
2370         (list-directory-brief-switches, magic-fallback-mode-alist)
2371         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
2372         (automount-dir-prefix):
2373         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
2374         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
2375         (face-font-registry-alternatives, face-font-registry-alternatives)
2376         (face-font-family-alternatives):
2377         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
2378         (facemenu-foreground-menu, facemenu-face-menu):
2379         * epa-hook.el (epa-file-name-regexp):
2380         * dnd.el (dnd-protocol-alist):
2381         * textmodes/rst.el (auto-mode-alist):
2382         * button.el (default-button): Purecopy strings.
2384 2009-11-06  Glenn Morris  <rgm@gnu.org>
2386         * Makefile.in (ELCFILES): Update.
2388 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2390         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
2391         * emacs-lisp/levents.el: Move to obsolete/levents.el.
2393         * nxml/xsd-regexp.el (xsdre-gen-categories):
2394         * nxml/xmltok.el (xmltok-parse-entity):
2395         * nxml/rng-parse.el (rng-parse-validate-file):
2396         * nxml/rng-maint.el (rng-format-manual)
2397         (rng-manual-output-force-new-line):
2398         * nxml/rng-loc.el (rng-save-schema-location-1):
2399         * nxml/rng-cmpct.el (rng-c-parse-file):
2400         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2401         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
2403 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
2405         * verilog-mode.el (verilog-getopt-file, verilog-set-define):
2406         Remove extra save-excursions and make-variable-buffer-local's.
2407         Suggested by Stefan Monnier.
2409         (verilog-getopt-file, verilog-module-inside-filename-p)
2410         (verilog-set-define): Merge GNU 1.35 and repair changes from
2411         switching to using with-current-buffer.
2413         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
2414         being treated as a number and confusing AUTORESET.
2415         Reported by Dan Dever.
2417         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
2418         Add verilog-auto-ignore-concat to fix backward compatibility with
2419         older verilog-modes.  Reported by Dan Katz.
2421         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
2422         containing closing anchors "...$".
2424         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
2425         Reported by Wade Smith.
2427         (verilog-batch-execute-func) Comment on function usage.
2429 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
2431         * verilog-mode.el (verilog-label-re): Fix regular expression for
2432         labels.
2434         (verilog-label-re, verilog-calc-1): Support proper indent of named
2435         asserts.
2437         (verilog-backward-token, verilog-basic-complete-re)
2438         (verilog-beg-of-statement, verilog-indent-re): Support proper
2439         indent of the assert statement at the beginning of a block of text.
2441         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
2442         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
2443         tokens as begins.
2445 2009-11-05  Glenn Morris  <rgm@gnu.org>
2447         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
2448         Emacs 19.  (Bug#1531)
2449         (byte-compile-fix-header): Update for the above change.
2450         Drop test for epoch::version.
2452         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
2453         * cus-dep.el (custom-make-dependencies):
2454         * finder.el (finder-compile-keywords):
2455         Use autoload-rubric's feature argument.
2457         * calendar/diary-lib.el (top-level): Make load behave more like require.
2459         * vc-git.el (vc-git-stash-map): Move definition before use.
2461 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
2463         * custom.el (custom-declare-group): Purecopy standard-value.
2464         (custom-declare-group): Purecopy custom-prefix.
2466         * international/mule.el (load-with-code-conversion):
2467         Call do-after-load-evaluation unconditionally.
2469         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
2471 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2473         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
2475 2009-11-04  Glenn Morris  <rgm@gnu.org>
2477         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
2478         (byte-compile-compatibility): Remove option.
2479         (byte-compile-close-variables, byte-compile-fix-header)
2480         (byte-compile-insert-header, byte-compile-output-docform)
2481         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
2482         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
2483         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
2484         (byte-compile-insert, byte-compile-defun):
2485         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
2486         (byte-defop-compiler19): Remove.
2487         Without byte-compile-compatibility, the 'emacs19-opcode property is not
2488         used by anything.  Replace all calls with byte-defop-compiler.
2490 2009-11-04  Juri Linkov  <juri@jurta.org>
2492         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
2493         (menu-bar-options-menu): Don't quote the `prop' arg of
2494         `menu-bar-make-mm-toggle'.
2496 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
2498         * calendar/calendar.el (cal-loaddefs):
2499         * calendar/diary-lib.el (diary-loaddefs):
2500         * calendar/holidays.el (hol-loaddefs):
2501         * eshell/esh-module.el (esh-groups): Load rather than require.
2503 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2505         * calendar/todo-mode.el (todo-add-category): Don't hardcode
2506         point-min==1.
2507         (todo-top-priorities): Only display-buffer when called interactively.
2508         (todo-item-start): Don't save excursion point.
2509         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
2510         (todo-insert-item-here, todo-file-item, todo-remove-item):
2511         Adjust uses of todo-item-start and todo-item-end.
2513         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
2514         (autoload-rubric): Don't use any more.
2515         * cedet/semantic/fw.el (semantic/loaddefs):
2516         * cedet/srecode.el (srecode/loaddefs):
2517         * cedet/ede.el (ede/loaddefs): Load rather than require.
2518         * cedet/ede/cpp-root.el:
2519         * cedet/ede/emacs.el:
2520         * cedet/ede/files.el:
2521         * cedet/ede/linux.el:
2522         * cedet/ede/locate.el:
2523         * cedet/ede/make.el:
2524         * cedet/ede/shell.el:
2525         * cedet/ede/speedbar.el:
2526         * cedet/ede/system.el:
2527         * cedet/ede/util.el:
2528         * cedet/semantic/analyze.el:
2529         * cedet/semantic/bovine.el:
2530         * cedet/semantic/complete.el:
2531         * cedet/semantic/ctxt.el:
2532         * cedet/semantic/db-file.el:
2533         * cedet/semantic/db-find.el:
2534         * cedet/semantic/db-global.el:
2535         * cedet/semantic/db-mode.el:
2536         * cedet/semantic/db-typecache.el:
2537         * cedet/semantic/db.el:
2538         * cedet/semantic/debug.el:
2539         * cedet/semantic/dep.el:
2540         * cedet/semantic/doc.el:
2541         * cedet/semantic/edit.el:
2542         * cedet/semantic/find.el:
2543         * cedet/semantic/format.el:
2544         * cedet/semantic/html.el:
2545         * cedet/semantic/ia-sb.el:
2546         * cedet/semantic/ia.el:
2547         * cedet/semantic/idle.el:
2548         * cedet/semantic/lex-spp.el:
2549         * cedet/semantic/lex.el:
2550         * cedet/semantic/mru-bookmark.el:
2551         * cedet/semantic/scope.el:
2552         * cedet/semantic/senator.el:
2553         * cedet/semantic/sort.el:
2554         * cedet/semantic/symref.el:
2555         * cedet/semantic/tag-file.el:
2556         * cedet/semantic/tag-ls.el:
2557         * cedet/semantic/tag-write.el:
2558         * cedet/semantic/tag.el:
2559         * cedet/semantic/util-modes.el:
2560         * cedet/semantic/analyze/complete.el:
2561         * cedet/semantic/analyze/refs.el:
2562         * cedet/semantic/bovine/c.el:
2563         * cedet/semantic/bovine/gcc.el:
2564         * cedet/semantic/bovine/make.el:
2565         * cedet/semantic/bovine/scm.el:
2566         * cedet/semantic/decorate/include.el:
2567         * cedet/semantic/decorate/mode.el:
2568         * cedet/semantic/symref/cscope.el:
2569         * cedet/semantic/symref/global.el:
2570         * cedet/semantic/symref/grep.el:
2571         * cedet/semantic/symref/idutils.el:
2572         * cedet/semantic/symref/list.el:
2573         * cedet/semantic/wisent/java-tags.el:
2574         * cedet/semantic/wisent/javascript.el:
2575         * cedet/srecode/compile.el:
2576         * cedet/srecode/cpp.el:
2577         * cedet/srecode/document.el:
2578         * cedet/srecode/el.el:
2579         * cedet/srecode/expandproto.el:
2580         * cedet/srecode/getset.el:
2581         * cedet/srecode/insert.el:
2582         * cedet/srecode/java.el:
2583         * cedet/srecode/map.el:
2584         * cedet/srecode/mode.el:
2585         * cedet/srecode/template.el:
2586         * cedet/srecode/texi.el: Remove the file-local setting of
2587         generated-autoload-feature.
2589         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
2590         and only put a prop if it is non-nil.
2592 2009-11-03  Juri Linkov  <juri@jurta.org>
2594         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
2595         (menu-bar-options-menu): Fix list quoting (Bug#4429).
2597         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
2598         and "Menu" to make top-level menu item visually one unit (like
2599         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
2600         multi-word menu items).  Fix :help string for quit-window.
2602 2009-11-03  Glenn Morris  <rgm@gnu.org>
2604         * cedet/mode-local.el (with-mode-local): Doc fix.
2606         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2607         (byte-compile-file-form-define-abbrev-table)
2608         (byte-compile-file-form-custom-declare-variable)
2609         (byte-compile-variable-ref, byte-compile-defvar):
2610         Whether or not a warning is enabled should only affect whether we issue
2611         the warning, not whether or not we collect the relevant data.
2612         Eg warnings can be turned on and off throughout the course of a file.
2614         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
2615         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
2617 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2619         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
2620         * play/mpuz.el (mpuz-create-buffer):
2621         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
2622         (lm-print-y,s,noise, lm-print-w0, lm-init):
2623         * play/gomoku.el (gomoku-prompt-for-move):
2624         * play/fortune.el (fortune-in-buffer):
2625         * play/dissociate.el (dissociated-press):
2626         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
2627         (decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
2628         * mail/supercite.el (sc-eref-show):
2629         * mail/smtpmail.el (smtpmail-send-it):
2630         * mail/rmailsum.el (rmail-summary-next-labeled-message)
2631         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
2632         (rmail-summary-undelete-many, rmail-summary-rmail-update)
2633         (rmail-summary-goto-msg, rmail-summary-expunge)
2634         (rmail-summary-get-new-mail, rmail-summary-search-backward)
2635         (rmail-summary-add-label, rmail-summary-output-menu)
2636         (rmail-summary-output-body):
2637         * mail/rfc822.el (rfc822-addresses):
2638         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
2639         * mail/mailpost.el (post-mail-send-it):
2640         * mail/hashcash.el (hashcash-generate-payment):
2641         * mail/feedmail.el (feedmail-run-the-queue)
2642         (feedmail-queue-send-edit-prompt-help-first)
2643         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
2644         (feedmail-deduce-address-list):
2645         * eshell/esh-ext.el (eshell-remote-command):
2646         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
2647         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
2648         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
2649         (viper-save-string-in-file, viper-valid-marker):
2650         * emulation/viper-keym.el (viper-toggle-key):
2651         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
2652         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
2653         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
2654         * emulation/viper-cmd.el (viper-exec-form-in-vi)
2655         (viper-exec-form-in-emacs, viper-brac-function):
2656         * emulation/viper.el (viper-delocalize-var):
2657         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
2658         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
2659         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
2660         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
2661         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
2662         * emulation/edt.el (edt-electric-helpify):
2663         * emulation/cua-rect.el (cua--rectangle-aux-replace):
2664         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
2665         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
2666         (cua-indent-to-global-mark-column):
2667         * calendar/diary-lib.el (calendar-mark-1):
2668         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
2669         Use with-current-buffer.
2670         * emulation/viper.el (viper-delocalize-var): Use dolist.
2672 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
2674         * comint.el (comint-replace-by-expanded-history-before-point):
2675         Replace !! with the previous input string literally (Bug#1795).
2677 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
2679         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
2680         to be made up of whitespace.
2682 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
2684         * minibuffer.el (read-file-name): Don't use file dialogs for
2685         remote directories (Bug#99).
2687 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
2689         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
2691 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2693         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
2694         instead of deleting the window or frame.
2696 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
2698         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
2699         Support face colors.
2701         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
2702         New function.  Support face colors (Bug#1168).
2703         (tex-common-initialization): Use it.
2705         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
2706         mode allows it (Bug#1168).
2708 2009-10-31  Juri Linkov  <juri@jurta.org>
2710         * facemenu.el (list-colors-display): Don't mark buffer as
2711         modified (Bug#3948).
2713 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
2715         * international/mule-diag.el (list-character-sets-1): Minor
2716         message fix (Bug#3526).
2718         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
2719         face property (Bug#4834).
2720         (etags-list-tags, etags-tags-apropos-additional)
2721         (etags-tags-apropos, tags-select-tags-table): Add follow-link
2722         property.
2724         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
2725         items.
2727         * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2728         items.
2730         * cedet/ede.el (ede-minor-mode):
2731         * cedet/semantic.el (semantic-mode): Toggle menu separators.
2733 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2735         * textmodes/two-column.el (2C-split):
2736         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
2737         * textmodes/tex-mode.el (tex-set-buffer-directory):
2738         * textmodes/spell.el (spell-region, spell-string):
2739         * textmodes/reftex.el (reftex-erase-buffer):
2740         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
2741         * textmodes/reftex-toc.el (reftex-toc-promote-action):
2742         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
2743         (reftex-select-item):
2744         * textmodes/reftex-ref.el (reftex-label-info-update)
2745         (reftex-offer-label-menu):
2746         * textmodes/reftex-index.el (reftex-index-change-entry)
2747         (reftex-index-phrases-info):
2748         * textmodes/reftex-global.el (reftex-create-tags-file)
2749         (reftex-save-all-document-buffers, reftex-ensure-write-access):
2750         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
2751         (reftex-view-crossref-from-bibtex):
2752         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
2753         (reftex-extract-bib-entries-from-thebibliography)
2754         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
2755         * textmodes/refbib.el (r2b-capitalize-title):
2756         (r2b-convert-buffer, r2b-help):
2757         * textmodes/page-ext.el (pages-directory)
2758         (pages-directory-goto-with-mouse):
2759         * textmodes/bibtex.el (bibtex-validate-globally):
2760         * textmodes/bib-mode.el (bib-capitalize-title):
2761         * textmodes/artist.el (artist-clear-buffer, artist-system):
2762         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
2763         (local-set-scheme-interaction-buffer, xscheme-process-filter)
2764         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
2765         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
2766         (xscheme-send-control-g-interrupt, xscheme-start-process)
2767         (xscheme-process-sentinel, xscheme-cd):
2768         * progmodes/verilog-mode.el (verilog-read-always-signals)
2769         (verilog-set-define, verilog-getopt-file)
2770         (verilog-module-inside-filename-p):
2771         * progmodes/sh-script.el:
2772         * progmodes/python.el (python-pdbtrack-get-source-buffer)
2773         (python-pdbtrack-grub-for-buffer, python-execute-file):
2774         * progmodes/octave-inf.el (inferior-octave):
2775         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
2776         (idlwave-shell-compile-helper-routines, idlwave-set-local)
2777         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
2778         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
2779         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
2780         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
2781         (idlwave-shell-filter, idlwave-shell-examine-highlight)
2782         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
2783         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
2784         (idlwave-shell-examine-display, idlwave-shell-run-region)
2785         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
2786         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
2787         * progmodes/idlw-help.el (idlwave-help-get-special-help)
2788         (idlwave-help-get-help-buffer):
2789         * progmodes/gud.el (gud-basic-call, gud-find-class)
2790         (gud-tooltip-activate-mouse-motions-if-enabled):
2791         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2792         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
2793         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
2794         (ebrowse-tags-next-file):
2795         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
2796         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
2797         (ebnf-eps-finish-and-write):
2798         * progmodes/cpp.el (cpp-edit-save):
2799         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
2800         * progmodes/cc-defs.el (c-emacs-features):
2801         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
2802         (antlr-directory-dependencies):
2803         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
2804         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
2805         (ada-find-any-references, ada-make-filename-from-adaname)
2806         (ada-make-body-gnatstub):
2807         * obsolete/rnews.el (news-list-news-groups):
2808         * obsolete/resume.el (resume-suspend-hook,resume-write-buffer-to-file):
2809         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
2810         * net/rcirc.el (rcirc-debug):
2811         * net/newst-treeview.el (newsticker--treeview-list-add-item)
2812         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
2813         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
2814         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
2815         (newsticker--treeview-tree-update-tag,newsticker--treeview-buffer-init)
2816         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
2817         (newsticker--treeview-list-clear-highlight)
2818         (newsticker--treeview-list-update-highlight)
2819         (newsticker--treeview-list-highlight-start)
2820         (newsticker--treeview-tree-update-highlight)
2821         (newsticker--treeview-get-selected-item)
2822         (newsticker-treeview-mark-list-items-old)
2823         (newsticker--treeview-set-current-node):
2824         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2825         * net/newst-backend.el (newsticker--get-news-by-funcall)
2826         (newsticker--get-news-by-wget, newsticker--image-get)
2827         (newsticker--image-sentinel):
2828         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
2829         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
2830         (eudc-ph-close-session):
2831         * net/eudc.el (eudc-save-options):
2832         * language/thai-word.el (thai-update-word-table):
2833         * language/japan-util.el (japanese-string-conversion):
2834         * international/titdic-cnv.el (tsang-quick-converter)
2835         (ziranma-converter, ctlau-converter):
2836         * international/mule-cmds.el (describe-language-environment):
2837         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
2838         (skkdic-convert-postfix, skkdic-convert-prefix):
2839         (skkdic-convert-okuri-nasi, skkdic-convert):
2840         * emacs-lisp/re-builder.el (reb-update-overlays):
2841         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
2842         * emacs-lisp/gulp.el (gulp-send-requests):
2843         * emacs-lisp/find-gc.el (trace-call-tree):
2844         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
2845         (eieio-describe-generic):
2846         * emacs-lisp/eieio-base.el (eieio-persistent-read):
2847         * emacs-lisp/edebug.el (edebug-outside-excursion):
2848         * emacs-lisp/debug.el (debugger-make-xrefs):
2849         * emacs-lisp/cust-print.el (custom-prin1-to-string):
2850         * emacs-lisp/chart.el (chart-new-buffer):
2851         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
2852         Use with-current-buffer.
2853         * textmodes/artist.el (artist-system): Don't call
2854         copy-sequence on a fresh string.
2855         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
2857 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
2859         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
2860         is no item to edit.  (Bug#4820)
2861         (todo-top-priorities): Restore point and restore narrowing in Todo
2862         buffer.  (Bug#4820)
2864 2009-10-31  Glenn Morris  <rgm@gnu.org>
2866         * net/ange-ftp.el (top-level): Don't require dired when compiling.
2867         (comint-last-output-start, comint-last-input-start)
2868         (comint-last-input-end): Don't defvar when compiling.
2869         (ange-ftp-process-file): Use bound-and-true-p.
2871         * pcmpl-rpm.el (top-level): Move provide statement to end.
2872         (pcmpl-rpm): Remove unused custom group.
2874         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
2876         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
2878         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
2879         (byte-compile-warnings): Add `constants' as an option.
2880         (byte-compile-callargs-warn, byte-compile-arglist-warn)
2881         (display-call-tree): Update for byte-compile-fdefinition possibly
2882         returning `(macro lambda ...)'.  (Bug#4778)
2883         (byte-compile-variable-ref, byte-compile-setq-default):
2884         Respect `constants' member of byte-compile-warnings.
2886         * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
2887         Use mapc rather than mapcar because the return value is never used.
2889         * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
2890         * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
2891         * cedet/semantic/html.el:
2892         Suppress harmless warnings about setting up semantic-imenu (not
2893         part of Emacs) variables.
2895 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2897         * vc-bzr.el (vc-bzr-revision-keywords): New var.
2898         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
2899         to "submit:".
2901         * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
2902         * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2903         * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
2904         * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
2905         * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
2906         * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2907         (semantic-analyzer-debug-global-symbol)
2908         (semantic-analyzer-debug-missing-innertype)
2909         (semantic-analyzer-debug-insert-include-summary):
2910         * cedet/semantic/util.el (semantic-file-tag-table):
2911         (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2912         (semantic-recursive-find-nonterminal-by-name):
2913         * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2914         * cedet/semantic/tag-file.el (semantic-prototype-file):
2915         * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
2916         * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
2917         * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2918         * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
2919         (semantic-idle-summary-maybe-highlight):
2920         * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
2921         (semantic-ia-sb-tag-info):
2922         * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
2923         * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
2924         * cedet/semantic/ede-grammar.el (project-compile-target):
2925         (ede-proj-makefile-insert-variables):
2926         * cedet/semantic/debug.el (semantic-debug-set-parser-location):
2927         (semantic-debug-set-source-location, semantic-debug-interface-layout)
2928         (semantic-debug-mode, semantic-debug):
2929         * cedet/semantic/db.el (semanticdb-needs-refresh-p):
2930         * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2931         * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
2932         * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
2933         (semanticdb-find-translate-path-includes--internal)
2934         (semanticdb-reset-log, semanticdb-find-log-activity):
2935         * cedet/semantic/db-file.el (object-write):
2936         * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
2937         * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2938         (semanticdb-create-ebrowse-database):
2939         * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
2940         * cedet/semantic/complete.el (semantic-displayor-focus-request)
2941         (semantic-collector-calculate-completions-raw)
2942         (semantic-complete-read-tag-analyzer):
2943         * cedet/semantic/analyze.el (semantic-analyze-pulse):
2944         * cedet/ede/util.el (ede-update-version-in-source):
2945         * cedet/ede/proj.el (project-delete-target):
2946         * cedet/ede/proj-elisp.el (ede-update-version-in-source)
2947         (ede-proj-flush-autoconf):
2948         * cedet/ede/pconf.el (ede-proj-configure-synchronize)
2949         (ede-proj-configure-synchronize):
2950         * cedet/ede/locate.el (ede-locate-file-in-project-impl):
2951         * cedet/ede/linux.el (ede-linux-version):
2952         * cedet/ede/emacs.el (ede-emacs-version):
2953         * cedet/ede/dired.el (ede-dired-add-to-target):
2954         * cedet/ede.el (ede-buffer-header-file, ede-find-target)
2955         (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2956         (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2957         * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
2958         (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2959         (cedet-idutils-version-check):
2960         * cedet/cedet-global.el (cedet-gnu-global-call):
2961         (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2962         (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2963         * cedet/cedet-cscope.el (cedet-cscope-call)
2964         (cedet-cscope-expand-filename, cedet-cscope-version-check):
2965         Use with-current-buffer.
2966         * cedet/ede.el (ede-make-project-local-variable)
2967         (ede-set-project-variables, ede-set): Use dolist.
2969 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
2971         * textmodes/ispell.el (ispell-skip-region-alist):
2972         * international/mule-conf.el (eight-bit):
2973         * international/fontset.el (font-encoding-alist):
2974         * startup.el (pure-space-overflow-message):
2975         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
2976         * paths.el (gnus-nntp-service, rmail-spool-directory)
2977         (term-file-prefix):
2978         * files.el (save-some-buffers-action-alist):
2979         * cmuscheme.el (same-window-buffer-names):
2980         * ielm.el (same-window-buffer-names):
2981         * shell.el (same-window-buffer-names):
2982         * mail/sendmail.el (same-window-buffer-names):
2983         * progmodes/inf-lisp.el (same-window-buffer-names):
2984         * bindings.el (mode-line-client)
2985         (mode-line-column-line-number-mode-map):
2986         * language/tibetan.el (tibetan-precomposition-rule-regexp)
2987         (tibetan-precomposed-regexp): Purecopy string arguments.
2989 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2991         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
2992         (calcDigit-nondigit):
2993         * calc/calc-yank.el (calc-copy-to-buffer):
2994         * calc/calc-units.el (calc-invalidate-units-table):
2995         * calc/calc-trail.el (calc-trail-yank):
2996         * calc/calc-store.el (calc-insert-variables):
2997         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
2998         * calc/calc-prog.el (calc-read-parse-table):
2999         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
3000         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
3001         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
3002         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
3003         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
3004         (calc-graph-name, calc-graph-find-command, calc-graph-view)
3005         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
3006         * calc/calc-ext.el (calc-realign):
3007         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
3008         (calc-embedded-finish-edit, calc-embedded-make-info)
3009         (calc-embedded-finish-command, calc-embedded-stack-change):
3010         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
3012         * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
3013         (overload-docstring-extension): Use that info.
3014         * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
3015         * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
3016         * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
3017         (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
3018         (semantic-nonterminal-full-name): Add the new `when' info.
3019         * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
3020         `assert'.
3022         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
3023         shell-dynamic-complete-filename in preference to
3024         comint-dynamic-complete-filename.
3026         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
3027         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3028         Don't consider whether the display supports colors.
3029         (bookmark-import-new-list): Use dolist.
3030         (bookmark-bmenu-mode-map): Move initialization into declaration.
3031         (bookmark-bmenu-list): Use dolist, simplify.
3032         (bookmark-show-all-annotations): Use save-selected-window and dolist.
3033         (menu-bar-final-items): Use push.
3035 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
3037         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
3038         it works on remote files.
3039         (vc-hg-diff): Don't pass any `--cwd' argument.
3041 2009-10-27  Kevin Ryde  <user42@zip.com.au>
3043         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3044         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
3045         (Further to Bug#3921).
3047 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
3049         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
3050         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
3051         calling `tramp-imap-put-file'.  Add file size to the call.
3052         (tramp-imap-get-file-entries): Compute also user name, file size,
3053         and date.
3054         (tramp-imap-handle-insert-directory): Insert uid and gid.
3055         (tramp-imap-handle-file-attributes): Transform uid and gid
3056         according to `id-format'.
3057         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
3058         size in header X-Size.
3060 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
3062         * simple.el (transpose-subr): Give clearer error when the mark
3063         is not set.  (Bug#4807)
3065 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
3067         * net/tramp.el (tramp-perl-file-truename): New defconst.
3068         Perl code contributed by yary <not.com@gmail.com> (tiny change).
3069         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
3070         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
3071         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
3073         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3074         Ignore `dired-call-process'.
3075         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
3077 2009-10-26  Julian Scheid  <julians37@gmail.com>
3079         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
3080         (tramp-get-remote-readlink): New defun.
3081         (tramp-handle-file-truename): Use it.
3082         (tramp-handle-file-exists-p): Check file-attributes cache, assume
3083         file exists if cache value present.
3084         (tramp-check-cached-permissions) New defun.
3085         (tramp-handle-file-readable-p): Use it.
3086         (tramp-handle-file-writable-p): Likewise.
3087         (tramp-handle-file-executable-p): Likewise.
3088         (tramp-handle-file-name-all-completions): Try using Perl to get
3089         partial completions.  When perl not available, combine `cd' and
3090         `ls' into single remote operation and use shell expansion to get
3091         partial remote directory contents.  Set `file-exists-p' cache for
3092         directory and any files returned by ls.  Change cache handling to
3093         support partial directory contents.  Use error message emitted by
3094         remote `cd' or Perl code for local tramp-error.
3095         (tramp-do-copy-or-rename-file-directly): Avoid separate
3096         tramp-send-command-and-check call.
3097         (tramp-handle-process-file): Merge three remote ops into one.
3098         Do not flush all caches when `process-file-side-effects' is set.
3099         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
3100         file-attributes shows uid/gid to be set already.
3102 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
3104         * textmodes/tex-mode.el (tex-dvi-view-command)
3105         (tex-show-queue-command, tex-open-quote):
3106         * progmodes/ruby-mode.el (auto-mode-alist)
3107         (interpreter-mode-alist): Purecopy strings.
3109         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
3111         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
3112         string for the hook, keymap and abbrev table.
3114         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
3116         * x-dnd.el (x-dnd-xdnd-to-action):
3117         * startup.el (fancy-startup-text, fancy-about-text): Change to
3118         defconst from defvar.
3120         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
3122         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
3123         Purecopy initialization strings.
3125         * mail/sendmail.el (mail-header-separator)
3126         (mail-personal-alias-file):
3127         * mail/rmail.el (rmail-default-dont-reply-to-names)
3128         (rmail-ignored-headers, rmail-retry-ignored-headers)
3129         (rmail-highlighted-headers, rmail-secondary-file-directory)
3130         (rmail-secondary-file-regexp):
3131         * files.el (null-device, file-name-invalid-regexp)
3132         (locate-dominating-stop-dir-regexp)
3133         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
3134         (interpreter-mode-alist): Use mapcar instead of mapc.
3136         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
3138         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
3139         (completion-ignored-extensions):
3140         (debug-ignored-errors): Purecopy strings.
3142 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3144         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
3145         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
3146         (pcomplete--here): Use push.
3148         * subr.el (all-completions): Declare the 4th arg obsolete.
3150 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3152         * pcomplete.el (pcomplete-unquote-argument-function): New var.
3153         (pcomplete-unquote-argument): New function.
3154         (pcomplete--common-suffix): Always pay attention to case.
3155         (pcomplete--table-subvert): Quote and unquote the text.
3156         (pcomplete--common-quoted-suffix): New function.
3157         (pcomplete-std-complete): Use it and pcomplete-begin.
3159         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
3160         we're inside a dedicated or minibuffer window.
3162 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3164         * cedet/semantic/fw.el (semantic-alias-obsolete)
3165         (semantic-varalias-obsolete): Make the `when' arg mandatory.
3166         (define-mode-overload-implementation):
3167         * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
3168         * cedet/semantic/wisent.el (wisent-lex-make-token-table):
3169         * cedet/semantic/util.el (semantic-file-token-stream)
3170         (semantic-something-to-stream):
3171         * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
3172         (semantic-expand-nonterminal):
3173         * cedet/semantic/tag-file.el (semantic-find-nonterminal)
3174         (semantic-find-dependency, semantic-find-nonterminal)
3175         (semantic-find-dependency):
3176         * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
3177         (semantic-flex-text, semantic-flex-make-keyword-table)
3178         (semantic-flex-keyword-p, semantic-flex-keyword-put)
3179         (semantic-flex-keyword-get, semantic-flex-map-keywords)
3180         (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
3181         * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
3182         * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
3183         (semantic-after-idle-scheduler-reparse-hooks):
3184         * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
3185         * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
3186         * cedet/semantic.el (semantic-toplevel-bovine-table)
3187         (semantic-toplevel-bovine-cache)
3188         (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
3189         (semantic-init-mode-hooks, semantic-init-db-hooks)
3190         (semantic-bovination-working-type): Provide the `when' arg.
3192 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
3194         * bookmark.el: Update documentation, especially documentation
3195         of `bookmark-alist' and of the bookmark file format.
3196         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
3198 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
3200         * mail/emacsbug.el (report-emacs-bug): Clarify that the
3201         keybindings apply to the mail buffer (Bug#4003).  Shrink help
3202         window to buffer.
3204         * whitespace.el (whitespace-mode, whitespace-newline-mode)
3205         (global-whitespace-mode, global-whitespace-newline-mode)
3206         (whitespace-toggle-options, global-whitespace-toggle-options):
3207         Doc fix (Bug#3660).
3209         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
3210         of xmltok-start before the end tag was inserted (Bug#2840).
3212         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
3213         patterns that are preceded by an open-paren (Bug#1320).
3215 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
3217         * files.el (delete-directory): Delete symlinks to directories with
3218         delete-file (Bug#4739).
3220 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
3222         * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
3223         * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
3224         argument to make-obsolete.
3226         * cedet/semantic/fw.el (semantic-alias-obsolete)
3227         (semantic-varalias-obsolete): Add optional WHEN argument.
3229 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
3231         * vc.el (vc-backend-for-registration): Rename from
3232         vc-get-backend-for-registration.  Update callers.
3234         * international/mule-cmds.el (set-language-info-alist):
3235         Purecopy lang-env.
3236         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
3237         (charset): Purecopy the name.
3238         (define-char-code-property): Purecopy string arguments.
3240         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3241         Purecopy string arguments.
3243         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3244         * ediff-hook.el (menu-bar-ediff-menu):
3245         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
3246         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
3248 2009-10-24  Glenn Morris  <rgm@gnu.org>
3250         * comint.el (comint-dynamic-list-completions):
3251         * term.el (term-dynamic-list-completions): Use choose-completion rather
3252         than obsolete alias mouse-choose-completion.
3254         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
3255         file-cache-choose-completion.
3256         (file-cache-choose-completion): Handle an optional event argument.
3257         (file-cache-mouse-choose-completion): Make it an obsolete alias.
3259         * progmodes/octave-mod.el (octave-complete-symbol):
3260         Use choose-completion if mouse-choose-completion is ever removed.
3262         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
3263         use.
3265         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
3266         compiler.
3268         * vc-hooks.el (vc-responsible-backend): Fix declaration.
3270 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3272         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
3273         Ignore `pred' now that we receive one.
3274         Handle test-completion specially.
3276 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
3278         * vc.el (vc-responsible-backend): Throw an error if not backend is
3279         found.  Remove the REGISTER argument.  Move the code dealing with
3280         REGISTER ...
3281         (vc-get-backend-for-registration): ... here.  New function.
3282         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
3283         of vc-responsible-backend, pass the file name instead of the
3284         directory name.
3286 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3288         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
3289         New funs.
3290         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
3291         (pcomplete-comint-setup): Don't modify a global var via
3292         accidental side-effects.
3293         (pcomplete-shell-setup): Adjust call accordingly.
3294         (pcomplete-parse-comint-arguments): Use push.
3296 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
3298         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3299         Allow uncapitalized info node names (Bug#3921).
3301         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
3302         to the DEBUG file (Bug#3781).
3304 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
3306         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
3307         dictionary entry (Bug#4579).
3309 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
3311         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
3312         from `rfn-eshadow-update-overlay-hook' when unloading.
3313         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
3314         "rsyncc".  Adjust doc string.
3315         (tramp-temp-buffer-file-name) New buffer-local defvar.
3316         (tramp-handle-insert-file-contents, tramp-handle-write-region):
3317         Keep temporary file when indicated by method ("rsync" and
3318         "rsyncc").
3319         (tramp-handle-write-region): Handle APPEND.
3320         (tramp-delete-temp-file-function): New defun.  Added to
3321         `kill-buffer-hook'.
3323 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
3325         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
3327 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
3329         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
3330         (color-name-rgb-alist, tty-standard-colors)
3331         (tty-color-mode-alist): Change to defconst.
3333         * simple.el (mark-inactive): Purecopy message.
3335         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
3336         (global-map, yank-menu):
3337         * textmodes/ispell.el (ispell-menu-map):
3338         * net/eudc.el (eudc-tools-menu):
3339         * international/mule-cmds.el (describe-language-environment-map)
3340         (setup-language-environment-map, set-coding-system-map)
3341         (mule-menu-keymap):
3342         * vc-hooks.el (vc-menu-entry, vc-menu-map):
3343         * replace.el (occur-mode-map):
3344         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
3346 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
3348         * calc/calc.el (math-read-number, math-read-number-simple): Use
3349         `save-match-data'.
3351 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3353         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
3354         rather than fiddling with global-map bindings, since it should only
3355         affect per-terminal settings.
3356         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
3358         * minibuffer.el (completion-table-with-terminator): Allow to specify
3359         the terminator-regexp.
3361         * simple.el (switch-to-completions): Look for *Completions* in other
3362         frames as well.
3364         * pcomplete.el: Allow the use of completion-tables.
3365         (pcomplete-std-complete): New command.
3366         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
3367         (pcomplete--here): Use a function for `form' rather than an expression,
3368         so it can be byte-compiled.
3369         (pcomplete-here, pcomplete-here*): Adjust accordingly.
3370         Add edebug declaration.
3371         (pcomplete-show-completions): Remove unused var `curbuf'.
3372         (pcomplete-do-complete, pcomplete-stub):
3373         Don't assume `completions' is a list of strings any more.
3375 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
3377         * find-dired.el (find-name-arg): Fix typo in docstring.
3379 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3381         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
3382         (pcmpl-linux-fs-types): Same, and update to new modules layout.
3384         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
3385         pcomplete-entries.
3387         * comint.el (comint-read-input-ring, comint-write-input-ring)
3388         (comint-substitute-in-file-name)
3389         (comint-dynamic-complete-as-filename)
3390         (comint-dynamic-simple-complete)
3391         (comint-dynamic-list-filename-completions)
3392         (comint-dynamic-list-completions)
3393         (comint-redirect-results-list-from-process): Minor simplifications.
3395 2009-10-21  Kevin Ryde  <user42@zip.com.au>
3397         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
3398         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
3399         the first form.  And insert a blank line after ";;; Code" since
3400         that's usual style.  (Bug#4612)
3402         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
3404 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3406         * minibuffer.el (completion-table-with-terminator): Properly implement
3407         boundaries, in case `terminator' appears in the suffix.
3408         (completion--embedded-envvar-table): Don't return boundaries if
3409         there's no valid completion.  Simplify.
3410         (completion-file-name-table): New completion table extracted from
3411         completion--file-name-table.
3412         (completion--file-name-table): Use it.
3413         (read-file-name-predicate): Declare obsolete.
3414         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
3415         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
3416         completion-file-name-table, and use the `pred' argument.
3417         * files.el (locate-file-completion-table): Use the `pred' arg rather
3418         than read-file-name-predicate.
3419         (abbreviate-file-name): Use \` rather than ^ for BOS.
3421 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
3423         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
3424         vc-responsible-backend to register, it causes problems.
3426 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3428         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
3430 2009-10-21  Eric Ludlam  <zappo@gnu.org>
3432         * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
3433         (semantic-c-debug-mode-init-pch): New functions.
3434         (semantic-c-debug-mode-init-last-mode): New var.
3435         (semantic-c-parse-lexical-token): Use them.
3437         * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
3438         When extracting the argument list, limit only by point-max.
3440 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
3442         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
3443         (tramp-smb-handle-file-attributes): Use it.
3444         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
3445         (tramp-smb-handle-insert-directory): Use `mapc' rather than
3446         `mapcar'.  Use `tramp-smb-get-stat-capability'.
3447         Add `dired-filename' text properties.
3448         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
3449         (tramp-smb-maybe-open-connection): Simplify check for smbclient
3450         version.
3452 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3454         * subr.el (read-key-delay): Reduce to 0.01.
3455         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
3456         (bug#4751).
3458 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3460         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
3462         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
3463         (Info-menu): Remove unused vars `last' and `completions'.
3464         (Info-index-nodes): Remove unused var `node'.
3466         * info.el (Info-complete-menu-item): Use complete-with-action.
3468 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
3470         Make vc-annotate work through copies and renames.
3471         * vc-annotate.el (vc-annotate-extract-revision-at-line):
3472         Return the file name too.
3473         (vc-annotate-revision-at-line)
3474         (vc-annotate-find-revision-at-line)
3475         (vc-annotate-revision-previous-to-line)
3476         (vc-annotate-show-log-revision-at-line): Update to get the file
3477         name from vc-annotate-extract-revision-at-line.
3478         (vc-annotate-show-diff-revision-at-line-internal): Change the
3479         argument to mean whether to show a file diff or not.  Get the file
3480         name from vc-annotate-extract-revision-at-line.
3481         (vc-annotate-show-diff-revision-at-line):
3482         Update vc-annotate-show-diff-revision-at-line call.
3483         (vc-annotate-warp-revision): Add an optional file argument.
3485         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
3486         (vc-git-annotate-extract-revision-at-line): Also return the file
3487         name if found.
3489         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
3490         command.  Remove unused code.
3491         (vc-hg-annotate-re): Update to match --follow output.
3492         (vc-hg-annotate-extract-revision-at-line): Also return the file
3493         name if found.
3495         * vc.el: Update annotate-extract-revision-at-line documentation.
3497 2009-10-18  Kevin Ryde  <user42@zip.com.au>
3499         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
3500         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
3502         * net/browse-url.el (browse-url): Identify alist with "consp and
3503         not functionp" and let all other things go down the `apply' leg,
3504         as suggested by Stefan.  (Further to bug#4531.)
3506 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
3508         * minibuffer.el (read-file-name): Check for repeat before putting
3509         a default argument in file-name-history (Bug#4657).
3511         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
3512         read syntax (Bug#4737).
3514         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
3516 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3518         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
3519         (html-tag-alist, html-tag-help): Add descriptions for undocumented
3520         entries and make note of obsolete tags.
3522 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3524         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
3526 2009-10-18  Glenn Morris  <rgm@gnu.org>
3528         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
3529         grep, so that binary files (eg international/uni-bidi.el) can match.
3530         Remove test for "UnicodeData" files, since it is hopefully unnecessary
3531         now, and in any case the file header format has changed.
3533 2009-10-17  Glenn Morris  <rgm@gnu.org>
3535         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
3536         (flyspell-get-word, flyspell-large-region)
3537         (flyspell-auto-correct-previous-word): Doc/error message fixes.
3539 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
3541         * Makefile.in (ELCFILES): Add ede/shell.
3543 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
3545         * term/common-win.el (x-colors): Purecopy it.
3547 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3549         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
3550         permissive for when the buffer is empty.
3551         (tar-header-block-tokenize): Decode the username and groupname.
3552         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
3554 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
3556         * cedet/srecode/srt.el:
3557         * cedet/srecode/compile.el:
3558         * cedet/semantic/mru-bookmark.el:
3559         * cedet/semantic/debug.el:
3560         * cedet/semantic/complete.el:
3561         * cedet/semantic/analyze.el: Require CL when compiling.
3563 2009-10-17  Eric Ludlam  <zappo@gnu.org>
3565         * cedet/semantic/scope.el
3566         (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
3567         tmpscope so that the regular scope will continue to work.
3569         * cedet/semantic/idle.el (semantic-idle-tag-highlight):
3570         Use semantic-idle-summary-highlight-face as the highlighting.
3572         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
3573         contains multibyte characters, choose first applicable coding
3574         system automatically.
3576         * cedet/ede/project-am.el (project-run-target): New method.
3577         (project-run-target): New method.
3579         * cedet/ede.el (ede-target): Add run target menu item.
3580         (ede-project, ede-minor-keymap): Add ede-run-target binding.
3581         (ede-run-target): New function.
3582         (ede-target::project-run-target): New method.
3584         * cedet/ede/proj.el (project-run-target): New method.
3586         * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
3587         (ede-g++-libtool-shared-compiler): Remove SHELL.  Remove COMMANDS.
3588         Add :rules.
3589         (ede-proj-target-makefile-shared-object): Only libtool compilers
3590         now available.  Add linkers for libtool.
3591         (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
3592         (ede-proj-makefile-target-name): Always use .la extension.
3594         * cedet/ede/proj-prog.el (project-run-target): New method.
3596         * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
3597         (ede-g++-linker): Change Change link lines.
3599         * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
3600         When searching for old variables, go to the end of the buffer and
3601         search backward from there.
3602         (ede-proj-makefile-automake-insert-subdirs)
3603         (ede-proj-makefile-automake-insert-extradist): New methods.
3604         (ede-proj-makefile-create): Use them.
3606         * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
3607         Force FILE to expand to the current target.  Use file-exists-p to
3608         check that it exists.
3610         * cedet/ede/linux.el (ede-linux-version): Don't call "head".
3611         (ede-linux-load): Wrap dir in file-name-as-directory.
3612         Set :version slot.
3614         * cedet/ede/files.el (ede-get-locator-object): When enabling
3615         locate, do so on "top".
3617         * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
3618         file-name-as-directory during compare.
3619         (ede-emacs-version): Return Emacs/XEmacs differentiator.
3620         Get version number from different places.  Don't call egrep.
3621         (ede-emacs-load): Set :version slot.  Call file-name-as-directory
3622         to set the directory.
3624         * cedet/ede/shell.el: New file.
3626         * cedet/inversion.el (inversion-decoders): Allow for stray . in
3627         alpha/beta variants.
3629 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3631         * international/mule-cmds.el (select-safe-coding-system): If the file
3632         has a coding cookie, use it regardless of any other setting (bug#4712).
3634 2009-10-17  Glenn Morris  <rgm@gnu.org>
3636         * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
3637         All errors should have messages.
3639         * foldout.el (foldout-mouse-swallow-events):
3640         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
3642         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
3643         (dired-keep-marker-copy, dired-keep-marker-hardlink)
3644         (dired-keep-marker-symlink, dired-dwim-target)
3645         (dired-copy-preserve-time): Do not autoload these defcustoms.
3647         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
3648         messages from messing up the file coding.  (Bug#4623)
3650 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
3652         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
3653         if no match is found for the current dictionary.  (Bug#4578)
3655         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
3656         optional, since that is how it is documented, and this is often called
3657         with a nil argument.  (Bug#4577)
3658         (flyspell-external-point-words, flyspell-auto-correct-word)
3659         (flyspell-correct-word-before-point, flyspell-word-search-forward)
3660         (flyspell-word-search-backward): Remove nil argument in calls to
3661         flyspell-get-word, since it is not needed now.
3663 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
3665         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
3667 2009-10-16  Glenn Morris  <rgm@gnu.org>
3669         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
3671 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
3673         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
3674         (ange-ftp-file-size): New function.
3675         (ange-ftp-file-attributes): Use it.
3677 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
3679         * net/tramp-smb.el (tramp-smb-version): New defvar.
3680         (tramp-smb-maybe-open-connection): Use it, in order to avoid
3681         repeated checks.
3683 2009-10-16  Glenn Morris  <rgm@gnu.org>
3685         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3686         Maybe copy some custom properties from old to new name.  (Bug#4706)
3688 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
3690         * subr.el (error, sit-for, start-process-shell-command)
3691         (start-file-process-shell-command): Set the calling convention
3692         after the function definition.
3694 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3696         * subr.el (error, sit-for, start-process-shell-command)
3697         (start-file-process-shell-command): Use the new
3698         set-advertised-calling-convention feature.
3700 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
3702         * international/ucs-normalize.el (ucs-normalize-version):
3703         Change to 1.2.
3704         (check-range): Adjust for Unicode 5.2.
3706 2009-10-15  Juri Linkov  <juri@jurta.org>
3708         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
3709         to the `menu-item' format.
3711 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
3713         * net/tramp.el (tramp-replace-environment-variables): Do not fail
3714         if the environment variable does not exist.
3716         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3717         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
3718         parameter.
3719         (tramp-smb-handle-add-name-to-file)
3720         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
3721         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
3722         (tramp-smb-handle-file-attributes)
3723         (tramp-smb-do-file-attributes-with-stat)
3724         (tramp-smb-handle-file-local-copy)
3725         (tramp-smb-handle-insert-directory)
3726         (tramp-smb-handle-make-directory)
3727         (tramp-smb-handle-make-directory-internal)
3728         (tramp-smb-handle-make-symbolic-link)
3729         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
3730         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
3731         (tramp-smb-maybe-open-connection): Apply the changed parameters.
3732         (tramp-smb-read-file-entry): Read Disk names in compressed format.
3733         Handle long file names.
3734         (tramp-smb-get-cifs-capabilities): Check, whether the connection
3735         process is running.
3736         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
3737         Read share names with "-g" option.
3739 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
3741         * net/rcirc.el (rcirc-view-log-file): New command.
3742         (rcirc-track-minor-mode-map): Remove C-c ` binding.
3743         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
3744         specified.
3746 2009-10-15  Glenn Morris  <rgm@gnu.org>
3748         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
3749         from the second command-line argument.
3750         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
3751         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
3752         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
3753         w32-batch-update-autoloads.
3754         * emacs-lisp/autoload.el (autoload-make-program): New variable.
3755         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
3757         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
3758         the headers cannot be located.  Simplify, subtracting superflous
3759         save-excursions.
3761 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3763         Replace completion-base-size by completion-base-position to fix bugs
3764         such as (bug#4699).
3765         * simple.el (completion-base-position): New var.
3766         (completion-base-size): Mark as obsolete.
3767         (choose-completion): Make it work for mouse events as well.
3768         Pass the new base-position to choose-completion-string.
3769         (choose-completion-guess-base-position): New function, extracted from
3770         choose-completion-delete-max-match.
3771         (choose-completion-delete-max-match): Use it.  Make obsolete.
3772         (choose-completion-string): Use the new base-position info.
3773         (completion-root-regexp): Delete.
3774         (completion-setup-function): Preserve completion-base-position.
3775         Eliminate obsolete base-size manipulation.
3776         * minibuffer.el (display-completion-list): Don't mess with base-size.
3777         (minibuffer-completion-help): Set completion-base-position instead.
3778         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
3779         choose-completion.
3780         * textmodes/bibtex.el (bibtex-complete):
3781         * emacs-lisp/crm.el (crm--choose-completion-string):
3782         Adjust to new calling convention.
3783         * complete.el (partial-completion-mode): Use minibufferp to avoid
3784         bumping into incompatible change to choose-completion-string-functions.
3785         * ido.el (ido-choose-completion-string): Make its calling convention
3786         more permissive.
3787         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
3788         base-size manipulation.
3789         (comint-dynamic-list-input-ring): Use dotimes and push.
3790         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
3791         fundamental-mode.  Use `or'.
3793 2009-10-14  Juri Linkov  <juri@jurta.org>
3795         * misearch.el (multi-isearch-next-buffer-from-list)
3796         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
3798 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3800         * Makefile.in (compile-onefile): Load `bytecomp' rather than
3801         `bytecomp.el'.
3803         * minibuffer.el (completion-pcm--merge-completions): Make sure the
3804         string we return is all made up of text from the completions rather
3805         than part from the completions and part from the input (bug#4219).
3807         * ido.el (ido-everywhere): Use define-minor-mode.
3809         * buff-menu.el (list-buffers, ctl-x-map):
3810         Mark the entry points with ;;;###autoload cookies.
3812 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
3814         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
3815         correctly in the detached head case.
3816         (vc-git-print-log): Remove unused binding.
3818         * vc.el (vc-responsible-backend): When a directory is passed for
3819         for registration create a VC repository if no backend is
3820         responsible for the directory argument.
3821         (vc-deduce-fileset): Tell vc-responsible-backend to register.
3823         * vc.el: Move comments about RCS and SCCS ...
3824         * vc-rcs.el:
3825         * vc-sccs.el: ... here, respectively.
3827 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3829         * minibuffer.el (completion--file-name-table): Return nil if there's
3830         no file completion, even if substitute-in-file-name changed
3831         the string (bug#4708).
3833 2009-10-13  Juri Linkov  <juri@jurta.org>
3835         * files-x.el (read-file-local-variable-value): Don't filter out
3836         minor modes from mode name completion (bug#4664).
3838 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
3840         * international/mule-cmds.el (ucs-names): Remove exclusion of
3841         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
3843 2009-10-13  Kenichi Handa  <handa@m17n.org>
3845         * international/uni-name.el: Regenerated.
3847 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
3849         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
3850         should be automatically buffer-local, but isn't.)
3852 2009-10-12  Sam Steingold  <sds@gnu.org>
3854         * progmodes/compile.el (compilation-next-error-function): Fix the
3855         timestamps if the buffer has been visited before.
3856         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
3857         non-anchored patterns, like the perl one (bug#3928).
3859 2009-10-12  Glenn Morris  <rgm@gnu.org>
3861         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
3862         Let-bind `size'.
3864 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
3866         * proced.el (proced-unload-function): New function.
3868         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
3869         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
3870         Doc fix.
3872         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
3874 2009-10-11  Juri Linkov  <juri@jurta.org>
3876         * files-x.el (read-file-local-variable-value):
3877         Provide default value only for bound variables (bug#4664).
3879 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
3881         * net/tramp.el (tramp-local-host-p): Function shall return nil for
3882         connection methods like smb.
3884         * net/tramp-cache.el (tramp-flush-connection-property): The hash
3885         can be empty.
3887         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3888         (tramp-smb-file-name-handler-alist): Add handlers for
3889         `add-name-to-file', `make-symbolic-link'.
3890         (tramp-smb-handle-add-name-to-file)
3891         (tramp-smb-do-file-attributes-with-stat)
3892         (tramp-smb-handle-make-symbolic-link)
3893         (tramp-smb-get-cifs-capabilities): New defuns.
3894         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
3895         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
3896         (tramp-smb-handle-file-local-copy)
3897         (tramp-smb-handle-make-directory-internal)
3898         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
3899         The file name syntax depends on cifs capabilities.
3900         (tramp-smb-handle-file-attributes):
3901         Call `tramp-smb-do-file-attributes-with-stat' if possible.
3902         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
3903         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
3905 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
3907         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
3908         (eieio-defclass): Apply deftype handler and setf-method properties
3909         directly.
3910         (eieio-add-new-slot): Avoid union function from cl library.
3911         (eieio--typep): New function.
3912         (eieio-perform-slot-validation): Use it.
3914 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
3916         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
3917         Update documentation to refer to the variables documented in r1.135.
3918         (Bug#4188)
3920 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
3922         * bookmark.el (Info-suffix-list): Remove this unused variable.
3923         (bookmark-current-point): Remove this obsolete variable.
3924         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
3925         Adjust for removal of bookmark-current-point.
3927         (bookmarks-already-loaded, bookmark-current-buffer)
3928         (bookmark-yank-point): Document.  (Bug#4188)
3930 2009-10-10  Glenn Morris  <rgm@gnu.org>
3932         * frame.el (frame-height): Doc fix.
3934         * calendar/calendar.el (calendar-split-width-threshold): New option.
3935         (calendar-basic-setup): Use calendar-split-width-threshold.
3937 2009-10-10  Sascha Wilde  <wilde@sha-bang.de>
3939         * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
3940         Use .la for Automake.
3942 2009-10-09  Chong Yidong  <cyd@stupidchicken.com>
3944         * cedet/ede/pconf.el (ede-proj-configure-synchronize):
3945         Use "autoreconf -i".  Suggested by Andreas Schwab.
3947 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
3949         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
3950         Ideographic Supplement" range (U+1F200..U+1F2FF).
3952 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
3954         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
3955         since the list will have been rebuilt anyway.  (Bug#4349)
3957 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
3959         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
3960         (bookmark-bmenu-execute-deletions): Don't save here, as
3961         bookmark-delete will now do so if necessary.
3962         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
3963         (Bug#4348)
3965 2009-10-09  Glenn Morris  <rgm@gnu.org>
3967         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
3969 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
3971         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
3972         (bookmark-jump-other-window): Just invoke bookmark-jump with new
3973         argument now, so the two function's behaviors will match.  (Bug#3645)
3975 2009-10-08  Chong Yidong  <cyd@stupidchicken.com>
3977         * cedet/ede/proj.el (project-make-dist, project-compile-project):
3978         Fix filename test.
3979         (ede-proj-dist-makefile): Use expand-file-name instead of concat
3980         to expand file names.
3982 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
3984         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
3985         (tramp-file-name-real-host, tramp-file-name-port):
3986         Apply `save-match-data'.
3988         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
3989         case both directories are remote.
3990         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
3991         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
3993 2009-10-08  Chong Yidong  <cyd@stupidchicken.com>
3995         * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
3996         (ede-proj-target-makefile-objectcode): Use it.
3998         * cedet/ede/source.el (ede-want-any-source-files-p)
3999         (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
4000         Return search result.  This error was introduced while merging.
4002 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
4004         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
4006 2009-10-07  Glenn Morris  <rgm@gnu.org>
4008         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
4009         of concat.
4011 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4013         * files-x.el (read-file-local-variable): Include some
4014         non-user-variables in the completion table (bug#4664).
4016 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
4018         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
4019         message.
4021         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4022         (tramp-smb-file-name-handler-alist): Add handler for
4023         `copy-directory', `expand-file-name', `set-file-modes'.
4024         (tramp-smb-handle-copy-directory)
4025         (tramp-smb-handle-expand-file-name)
4026         (tramp-smb-handle-set-file-modes): New defuns.
4027         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
4028         (tramp-smb-handle-file-attributes): Simplify check for retrieving
4029         entry.
4030         (tramp-smb-handle-insert-directory): Don't flush the cache.
4031         (tramp-smb-maybe-open-connection): Check for samba client and
4032         server versions.
4034 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
4036         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
4037         to not error out of search for "^lisp=" fails.
4039 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
4041         * makefile.w32-in (WINS_UPDATES): New macro.
4042         (custom-deps, finder-data, autoloads): Use it.
4044 2009-10-07  Glenn Morris  <rgm@gnu.org>
4046         * Makefile.in (autoloads): Revert previous change.
4047         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
4048         the list of preloaded files passed on the command-line, get
4049         it from src/Makefile.
4051         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
4052         show the original buffer rather than a random one.
4054 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
4056         * help.el (describe-no-warranty): Place point in a slightly better
4057         position in the GPLv3 text.
4059 2009-10-06  Sam Steingold  <sds@gnu.org>
4061         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
4062         the comm attribute is present before calling regexp-quote.
4064 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
4066         * play/animate.el (animate-string): For good effect, make sure
4067         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
4069         * play/animate.el (animate-sequence, animate-birthday-present):
4070         * misc.el (butterfly): Don't set `indent-tabs-mode'.
4072 2009-10-06  Glenn Morris  <rgm@gnu.org>
4074         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
4076         * emacs-lisp/autoload.el (autoload-excludes): New variable.
4077         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
4078         (batch-update-autoloads): Process a string value of autoload-excludes,
4079         set during the build process.
4080         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
4082         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
4083         inside with-parsed...  macro so that `v' is defined.
4085         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
4086         * progmodes/fortran.el (fortran-end-of-block)
4087         (fortran-beginning-of-block):
4088         Also push mark in the macro case.
4090         * emerge.el (emerge-show-file-name):
4091         * calc/calc.el (calc-quit):
4092         * calc/calc-misc.el (calc-big-or-small):
4093         * calc/calc-graph.el (calc-graph-view):
4094         * calc/calc-ext.el (calc-reset):
4095         * calendar/calendar.el (calendar-basic-setup):
4096         Use window-full-height-p.
4098         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
4099         header we don't understand, don't insert another.  (Bug#4624)
4100         If changing mime charset, insert the new one in the right place.
4102 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
4104         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4105         (cal-tex-cursor-month): Correctly increment the end date for diary and
4106         holiday listing.  (Bug#4626)
4108 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4110         * help-fns.el (describe-function-1): Don't burp if the function is not
4111         a symbol.
4113 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
4115         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
4116         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
4117         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
4118         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
4120         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
4121         (eieio-default-superclass): Reflow docstrings.
4122         (this, class-option-assoc, defclass, eieio-class-un-autoload)
4123         (eieio-unbind-method-implementations, defmethod)
4124         (eieio-validate-slot-value, eieio-validate-class-slot-value)
4125         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
4126         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
4127         (eieio-slot-originating-class-p, eieio-slot-name-index)
4128         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
4129         (constructor, initialize-instance, no-next-method, object-print)
4130         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
4131         Fix typos in docstrings.
4132         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
4133         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
4134         (next-method-p): Doc fixes.
4135         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
4136         Fix typos in error messages.
4137         (eieio-defmethod): Fix typo in description of generic method.
4139         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
4140         (eieio-persistent-save-interactive, slot-missing):
4141         Fix typos in docstrings.
4142         (eieio-instance-inheritor-slot-boundp): Doc fix.
4144         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
4145         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
4147         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
4148         (eieio-custom-object-apply-reset):
4149         Fix typos in docstrings and error messages.
4151         * emacs-lisp/eieio-datadebug.el (data-debug-show):
4152         Fix typo in docstring.
4154         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
4155         (eieio-browse-tree): Doc fix.
4156         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
4157         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
4158         Fix typos in docstrings.
4160         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
4161         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
4162         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
4163         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
4164         Reflow docstrings.
4166 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
4168         * vc-hg.el (log-view-vc-backend): Declare for compiler.
4169         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
4170         Set log-view-vc-backend so that diff can work.
4172         * log-view.el (log-view-diff): Use vc-diff-internal instead of
4173         vc-version-diff.
4174         (vc-diff-internal): Autoload this instead of vc-version-diff.
4176 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
4178         * simple.el (eval-expression): Doc fix.
4180         * progmodes/cwarn.el (cwarn-mode): Doc fix.
4182 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
4184         * files.el (directory-files-no-dot-files-regexp): New defconst.
4185         (delete-directory): Use it.
4186         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
4188         * net/tramp.el (tramp-verbose): Fix docstring.
4189         (tramp-methods): Add recursive option to `tramp-copy-args'.
4190         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
4191         "scp1_old", "scp2_old", "rsync", "rsyncc".
4192         (tramp-default-method): Check also for `auth-source-user-or-password'.
4193         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
4194         Add handler for `copy-directory'.
4195         (tramp-handle-copy-directory): New defun.
4196         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
4197         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
4198         Optimize sent command.
4200 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4202         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
4203         window if necessary.
4205         * calendar/calendar.el (calendar-basic-setup): Don't call
4206         switch-to-buffer in a dedicated window.
4208 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
4210         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
4211           don't do anything related to relocating, just return nil.
4212         (bookmark-error-no-filename): New error.
4213         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
4214           bookmark has no file.  Don't even attempt to handle things that
4215           are not files; the whole point of custom handlers is to keep that
4216           knowledge elsewhere anyway.  Tighten some comments.
4217         (bookmark-file-or-variation-thereof): Remove now-unused function.
4218         (bookmark-location): Doc string fix.
4219         (Bug#4250)
4221 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
4223         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
4224         don't use a file dialog, because they usually don't know how to read
4225         a directory target from the user.  (Bug#4230)
4226         Also, make sure the prompt can display directories as well as files.
4228 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
4230         * bookmark.el (bookmark-set, bookmark-buffer-name):
4231         Improve doc strings.  (Bug#1193)
4233 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
4235         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
4236         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
4237         (bookmark-get-annotation, bookmark-set-annotation)
4238         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
4239         (bookmark-set-position, bookmark-get-front-context-string)
4240         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
4241         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
4242         (bookmark-jump-other-window, bookmark-handle-bookmark)
4243         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
4244         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
4245         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
4246            Improve doc strings to say whether bookmark can be a string or
4247            a record or both, and make other consistency and clarity fixes.
4248         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
4249         (bookmark-default-annotation-text, bookmark-yank-word)
4250         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
4251         (bookmark-import-new-list, bookmark-maybe-rename)
4252         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
4253         (bookmark-bmenu-bookmark): Give these doc strings.
4254         (bookmark-bmenu-check-position): Give this a doc string, but also
4255            add a FIXME comment about how the function may be pointless.
4256         (bookmark-default-handler): Rework doc string and change a
4257            parameter name, to clarify that this takes a bookmark record
4258            not a bookmark name.
4259         (bookmark-set): Change a parameter name to indicate its meaning,
4260            and improve the doc string a bit.
4261         (Bug#4188)
4263 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
4265         * bookmark.el (bookmark-alist): Document the new `handler' element
4266         in the param alist.
4267         (bookmark-make-record-function): Adjust documentation for above.
4268         (Bug#4193)
4270 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
4272         * info.el (Info-bookmark-make-record): Document this function.
4273         (Info-bookmark-jump): Document with a doc string, not just a comment.
4274         (Bug#4203)
4276 2009-10-04  Chong Yidong  <cyd@stupidchicken.com>
4278         * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
4279         (semantic-new-buffer-fcn): Call parser setup functions here.
4280         (semantic-mode): Don't call parser setup functions here, it's done
4281         in semantic-new-buffer-fcn now.
4282         (semantic-mode): Parse all existing buffers when enabled.
4284         * cedet/srecode/compile.el (srecode-compile-file):
4285         Call semantic-new-buffer-fcn if the buffer has not been parsed.
4287 2009-10-04  Chong Yidong  <cyd@stupidchicken.com>
4289         * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
4291         * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
4292         (proj-comp-insert-variable-once): New macro, renamed from
4293         ede-pmake-insert-variable-once in ede/pmake.edl.
4294         (ede-proj-makefile-insert-variables): Use it.
4296 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
4298         * files.el (copy-directory): New defun.
4300         * dired-aux.el (dired-copy-file-recursive): Use it.
4302 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
4304         * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4305         (makefile-end-of-command):
4306         * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4307         (semantic-end-of-context): Fix previous change.  Doc fixes.
4309 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
4311         * files-x.el (modify-dir-local-variable)
4312         (copy-dir-locals-to-file-locals-prop-line):
4313         * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4314         (makefile-end-of-command):
4315         * cedet/semantic/lex.el (semantic-lex-token):
4316         * cedet/semantic/analyze/fcn.el
4317         (semantic-analyze-dereference-metatype-1):
4318         * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
4319         (semantic-lex-cpp-undef):
4320         * cedet/semantic/wisent/wisent.el (wisent-skip-block):
4321         * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4322         (semantic-end-of-context): Fix typos in docstrings.
4324         * recentf.el (recentf-unload-function): New function.
4326 2009-10-04  Chong Yidong  <cyd@stupidchicken.com>
4328         * cedet/ede.el (ede-project-placeholder-cache-file):
4329         * cedet/semantic/db-file.el (semanticdb-default-save-directory):
4330         * cedet/srecode/map.el (srecode-map-save-file):
4331         Use locate-user-emacs-file.  Suggested by Juanma Barranquero.
4333 2009-10-04  Glenn Morris  <rgm@gnu.org>
4335         * window.el (window-full-height-p): Add doc string.
4337 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
4339         * window.el (window-full-height-p): New function.  (Bug#4543)
4341 2009-10-03  Chong Yidong  <cyd@stupidchicken.com>
4343         * cedet/srecode/insert.el: Require srecode/args.
4345         * cedet/srecode/args.el: Require srecode/dictionary instead of
4346         srecode/insert.
4348         * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
4350         * files.el (auto-mode-alist): Add .srt and Project.ede.
4352         * cedet/semantic.el (semantic-mode):
4353         Handle srecode-template-mode-hook as well.
4354         (semantic-mode): Use js-mode-hook for Javascript hook.
4356         * cedet/srecode/template.el: Remove hook variable.
4358         * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
4360         * cedet/ede.el (ede-target-forms-menu): Don't enable if no
4361         projects exist.
4362         (ede-project-placeholder-cache-file): Default to a file in
4363         user-emacs-directory.
4365         * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
4366         templates in data-directory.
4367         (srecode-map-save-file): Default to a file in user-emacs-directory.
4369         * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
4370         directory.
4372 2009-09-30  Eric Ludlam  <zappo@gnu.org>
4374         * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
4375         Doc fix.
4377         * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
4378         Only insert each variable once.
4380         * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
4381         (ede-pmake-insert-variable-shared): Use it.
4383         * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
4384         for lexical table iff table is nil.
4386 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
4388         * vc.el: Remove commented out code.
4389         (vc-derived-from-dir-mode): Remove, unused.
4390         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
4392 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
4394         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4395         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
4396         there could be recursive loading when `default-directory' is a
4397         remote file name.  (Bug#4614)
4399 2009-10-03  Glenn Morris  <rgm@gnu.org>
4401         * calendar/calendar.el (calendar-basic-setup): Handle the case where
4402         the frame is wide.
4403         (calendar-generate-window): Test for shrinkability rather than width.
4405         * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
4406         declaration, currently false.
4408         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
4409         reusing existing buffers, in case we happen to visit two files with the
4410         same basename.  (Bug#4593)
4412 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
4414         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
4415         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
4416         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
4417         subdirs of cedet as well.
4418         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
4420 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4422         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
4423         Obey advertised-signature-table.
4425         * help-fns.el (help-function-arglist): Don't check
4426         advertised-signature-table.
4427         (describe-function-1): Do it here instead so it also applies to subrs.
4429 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
4431         * simple.el (start-file-process): Say in the doc-string, that file
4432         handlers might not support pty association, if PROGRAM is nil.
4434         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
4435         HOST and USER are strings.  They are nil, when there are
4436         incomplete entries in ~/.netrc, for example.
4437         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
4438         root directory ("device busy" error otherwise).
4440         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
4441         Flush file properties of created directory.
4443 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
4445         * makefile.w32-in (WINS_BASIC): Remove cedet.
4446         (WINS_CEDET): Add cedet.
4447         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
4449 2009-10-02  Kevin Ryde  <user42@zip.com.au>
4451         * net/browse-url.el (browse-url): Pass any symbol in
4452         browse-url-browser-function to `apply', since if you've mistakenly put
4453         an unbound symbol then the error is clearer.  (Bug#4531)
4455 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
4457         * allout.el (allout-init, allout-back-to-current-heading)
4458         (allout-beginning-of-current-entry, allout-ascend-to-depth)
4459         (allout-ascend, allout-up-current-level, allout-end-of-level)
4460         (allout-previous-visible-heading, allout-forward-current-level)
4461         (allout-backward-current-level, allout-show-children):
4462         * apropos.el (apropos-describe-plist):
4463         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
4464         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
4465         * completion.el (add-completion, add-permanent-completion):
4466         * descr-text.el (describe-text-category, describe-char):
4467         * desktop.el (desktop-lazy-abort):
4468         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
4469         * dired.el (dired-build-subdir-alist):
4470         * ediff.el (ediff-version):
4471         * elide-head.el (elide-head, elide-head-show):
4472         * emerge.el (emerge-version):
4473         * env.el (getenv):
4474         * face-remap.el (variable-pitch-mode):
4475         * faces.el (describe-face):
4476         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
4477         (dired-at-point):
4478         * files.el (find-file-existing, auto-save-mode):
4479         * font-lock.el (font-lock-fontify-buffer):
4480         * help-fns.el (describe-function, describe-variable)
4481         (describe-syntax, describe-categories):
4482         * help.el (view-lossage, describe-bindings, describe-key)
4483         (describe-mode):
4484         * hexl.el (hexl-current-address):
4485         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
4486         * info.el (Info-goto-emacs-key-command-node):
4487         * log-edit.el (log-edit-insert-cvs-template)
4488         (log-edit-insert-cvs-rcstemplate):
4489         * menu-bar.el (menu-bar-mode):
4490         * mouse.el (mouse-appearance-menu):
4491         * newcomment.el (comment-indent-new-line):
4492         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
4493         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
4494         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt, )
4495         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
4496         * recentf.el (recentf-mode):
4497         * savehist.el (savehist-mode, savehist-save):
4498         * shadowfile.el (shadow-copy-files):
4499         * simple.el (kill-ring-save, next-line, previous-line)
4500         (normal-erase-is-backspace-mode):
4501         * strokes.el (strokes-update-window-configuration)
4502         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
4503         (strokes-xpm-for-stroke):
4504         * time.el (emacs-uptime, emacs-init-time):
4505         * tutorial.el (tutorial--describe-nonstandard-key)
4506         (tutorial--detailed-help):
4507         * type-break.el (type-break-mode)
4508         (type-break-mode-line-message-mode, type-break-query-mode)
4509         (type-break-guesstimate-keystroke-threshold):
4510         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
4511         * version.el (emacs-version):
4512         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
4513         * winner.el (winner-mode):
4514         * calendar/timeclock.el (timeclock-in, timeclock-out)
4515         (timeclock-status-string, timeclock-change)
4516         (timeclock-workday-remaining-string)
4517         (timeclock-workday-elapsed-string)
4518         (timeclock-when-to-leave-string):
4519         * calendar/todo-mode.el (todo-add-category):
4520         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
4521         * emacs-lisp/autoload.el (update-file-autoloads):
4522         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
4523         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
4524         (checkdoc-message-text, checkdoc-defun):
4525         * emacs-lisp/debug.el (debugger-list-functions):
4526         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4527         * emacs-lisp/eieio-opt.el (eieio-describe-class)
4528         (eieio-describe-generic):
4529         * emacs-lisp/lisp-mnt.el (lm-synopsis):
4530         * emacs-lisp/shadow.el (list-load-path-shadows):
4531         * emulation/cua-base.el (cua-mode):
4532         * emulation/edt.el (edt-set-scroll-margins):
4533         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
4534         (tpu-toggle-regexp, tpu-toggle-search-direction)
4535         (tpu-toggle-rectangle, tpu-toggle-control-keys):
4536         * emulation/tpu-extras.el (tpu-set-scroll-margins):
4537         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4538         (viper-set-parsing-style-toggling-macro)
4539         (viper-set-emacs-state-searchstyle-macros):
4540         * emulation/viper.el (viper-set-hooks):
4541         * eshell/esh-mode.el (eshell-truncate-buffer):
4542         * international/mule-cmds.el (prefer-coding-system)
4543         (describe-input-method, describe-language-environment):
4544         * international/mule-diag.el (list-character-sets)
4545         (describe-character-set, describe-coding-system)
4546         (describe-fontset, list-fontsets, list-input-methods):
4547         * mail/sendmail.el (mail-signature):
4548         * net/ange-ftp.el (ange-ftp-copy-file):
4549         * net/browse-url.el (browse-url):
4550         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
4551         * net/quickurl.el (quickurl-add-url):
4552         * net/rcirc.el (names, topic):
4553         * net/xesam.el (xesam-mode):
4554         * play/5x5.el (5x5-new-game):
4555         * play/yow.el (apropos-zippy):
4556         * progmodes/ada-mode.el (ada-mode-version):
4557         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
4558         (f90-end-of-block)
4559         (f90-beginning-of-block):
4560         * progmodes/fortran.el (fortran-end-of-block)
4561         (fortran-beginning-of-block):
4562         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
4563         * progmodes/python.el (python-describe-symbol, python-shell):
4564         * term/ns-win.el (ns-print-buffer):
4565         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
4566         * textmodes/flyspell.el (flyspell-mode-on):
4567         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
4568         (pages-directory-for-addresses):
4569         * textmodes/table.el (table-recognize-cell)
4570         (table-query-dimension, table-generate-source)
4571         (table-insert-sequence, table--warn-incompatibility):
4572         * textmodes/tex-mode.el (tex-validate-buffer):
4573         * textmodes/texinfmt.el (texinfmt-version)
4574         (texinfo-format-buffer):
4575         Use `called-interactively-p' instead of `interactive-p'.
4577 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
4579         * image-mode.el (image-toggle-display):
4580         * emacs-lisp/elp.el (elp-instrument-function):
4581         * emacs-lisp/advice.el (ad-make-advised-definition):
4582         * emacs-lisp/easy-mmode.el (define-minor-mode):
4583         * net/browse-url.el (browse-url-maybe-new-window):
4584         * progmodes/sh-script.el (sh-learn-buffer-indent):
4585         Pass new argument 'any to `called-interactively-p'.
4587 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
4589         * international/uni-bidi.el:
4590         * international/uni-category.el:
4591         * international/uni-combining.el:
4592         * international/uni-comment.el:
4593         * international/uni-decimal.el:
4594         * international/uni-decomposition.el:
4595         * international/uni-digit.el:
4596         * international/uni-lowercase.el:
4597         * international/uni-mirrored.el:
4598         * international/uni-name.el:
4599         * international/uni-numeric.el:
4600         * international/uni-old-name.el:
4601         * international/uni-titlecase.el:
4602         * international/uni-uppercase.el:
4603         Regenerate from Unicode 5.2.0 data.
4605 2009-10-01  Glenn Morris  <rgm@gnu.org>
4607         * Makefile.in (ELCFILES): Regenerate.
4609 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4611         * subr.el (interactive-p): Mark obsolete.
4612         (called-interactively-p): Make the optional-ness of `kind' obsolete.
4613         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
4614         advertised-signature-table for subroutines as well.
4616         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
4617         (set-advertised-calling-convention): New function.
4618         (make-obsolete, define-obsolete-function-alias)
4619         (make-obsolete-variable, define-obsolete-variable-alias):
4620         Make the optional-ness of `when' obsolete.
4621         (define-obsolete-face-alias): Make `when' non-optional.
4622         * help-fns.el (help-function-arglist):
4623         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
4624         Use advertised-signature-table.
4626 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
4628         * files.el (delete-directory): New defun.  The original function
4629         in fileio.c has been renamed to `delete-directory-internal'.
4631         * dired.el (dired-delete-file): Call `delete-directory' with
4632         RECURSIVE parameter.
4634         * net/ange-ftp.el (ange-ftp-delete-directory ): Add optional
4635         parameter RECURSIVE.  Implementation is missing.
4637         * net/tramp.el (tramp-handle-make-directory): Flush upper
4638         directory's file properties.
4639         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
4640         (tramp-handle-dired-recursive-delete-directory): Flush directory
4641         properties after the remove command only.
4643         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
4644         Handle optional parameter RECURSIVE.
4646         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
4647         Handle optional parameter RECURSIVE.
4649         * net/tramp-smb.el (tramp-smb-errors): Add error message for
4650         connection timeout.
4651         (tramp-smb-handle-delete-directory): Handle optional parameter
4652         RECURSIVE.
4654 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4656         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
4657         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
4658         (byte-compile-defmacro): Use backquotes.
4660         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
4662         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
4663         has no associated file.
4664         (vc-resynch-buffer): Use vc-dir-buffers.
4666 2009-10-01  Glenn Morris  <rgm@gnu.org>
4668         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
4669         (chart-file-count):
4670         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
4671         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
4672         * emacs-lisp/eieio-opt.el (eieio-describe-class):
4673         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
4674         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
4675         (eieio-copy-parents-into-subclass, make-instance, class-children)
4676         (eieio-generic-form):
4677         * cedet/cedet-files.el (cedet-directory-name-to-file-name):
4678         * cedet/cedet-idutils.el (cedet-idutils-search)
4679         (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
4680         (cedet-idutils-version-check):
4681         * cedet/cedet.el (cedet-version):
4682         * cedet/data-debug.el (data-debug-insert-overlay-button)
4683         (data-debug-insert-overlay-list-button)
4684         (data-debug-insert-buffer-button)
4685         (data-debug-insert-buffer-list-button)
4686         (data-debug-insert-process-button, data-debug-insert-ring-button)
4687         (data-debug-insert-widget, data-debug-insert-stuff-list-button)
4688         (data-debug-insert-stuff-vector-button)
4689         (data-debug-insert-symbol-button, data-debug-insert-string)
4690         (data-debug-insert-number, data-debug-insert-lambda-expression)
4691         (data-debug-insert-nil, data-debug-insert-simple-thing)
4692         (data-debug-insert-custom, data-debug-edebug-expr):
4693         * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
4694         (global-ede-mode-map, ede-new, ede-debug-target)
4695         (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
4696         * cedet/semantic.el (semantic-minimum-working-buffer-size)
4697         (semantic-fetch-tags, semantic-submode-list)
4698         (semantic-default-submodes):
4699         * cedet/ede/source.el (ede-source-match):
4700         * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
4701         (project-am-package-info):
4702         * cedet/ede/proj.el (ede-proj-target, project-new-target):
4703         * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
4704         * cedet/ede/proj-comp.el (ede-current-build-list):
4705         * cedet/ede/makefile-edit.el (makefile-move-to-macro):
4706         * cedet/ede/files.el (ede-toplevel-project-or-nil):
4707         * cedet/ede/cpp-root.el (initialize-instance):
4708         * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
4709         (autoconf-parameter-strip, autoconf-insert-new-macro):
4710         * cedet/semantic/wisent.el (wisent-lex-eoi):
4711         * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
4712         (semantic-show-parser-state-mode):
4713         * cedet/semantic/texi.el (semantic-texi-environment-regexp):
4714         * cedet/semantic/tag.el (semantic-tag-new-variable)
4715         (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
4716         (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
4717         (semantic--tag-deep-copy-tag-list)
4718         (semantic-tag-components-with-overlays-default):
4719         * cedet/semantic/symref.el (semantic-symref-find-text):
4720         * cedet/semantic/senator.el (senator-yank-tag)
4721         (senator-transpose-tags-up):
4722         * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
4723         (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
4724         * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
4725         * cedet/semantic/lex.el (semantic-lex-comment-regex)
4726         (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
4727         (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
4728         * cedet/semantic/lex-spp.el
4729         (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
4730         (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
4731         * cedet/semantic/idle.el
4732         (semantic-idle-summary-current-symbol-info-brutish)
4733         (semantic-idle-summary-current-symbol-info-default):
4734         * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
4735         (semantic--grammar-macro-compl-dict):
4736         * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
4737         * cedet/semantic/format.el (semantic-format-tag-custom-list)
4738         (semantic-format-tag-canonical-name-default):
4739         * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
4740         (semantic-find-tags-for-completion)
4741         (semantic-find-tags-by-scope-protection-default)
4742         (semantic-deep-find-tags-for-completion):
4743         * cedet/semantic/edit.el
4744         (semantic-edits-incremental-reparse-failed-hook)
4745         (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
4746         (semantic-edits-splice-remove, semantic-edits-splice-replace):
4747         * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
4748         * cedet/semantic/dep.el (semantic-dependency-include-path):
4749         * cedet/semantic/db.el (semanticdb-default-find-index-class)
4750         (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
4751         (semanticdb-project-roots):
4752         * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
4753         (semanticdb-find-adebug-insert-scanned-tag-cons)
4754         (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
4755         (semanticdb-brute-deep-find-tags-for-completion):
4756         * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
4757         * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
4758         (semantic-end-of-context-default)
4759         (semantic-ctxt-current-function-default)
4760         (semantic-ctxt-scoped-types-default):
4761         * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
4762         (semantic-complete-inline-tag-engine)
4763         (semantic-complete-inline-custom-type)
4764         (semantic-complete-read-tag-analyzer):
4765         * cedet/semantic/chart.el (semantic-chart-tags-by-class)
4766         (semantic-chart-database-size):
4767         * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
4768         (semantic-analyze-current-context):
4769         * cedet/semantic/symref/list.el (semantic-symref)
4770         (semantic-symref-hide-buffer, semantic-symref-symbol):
4771         * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
4772         * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
4773         * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
4774         * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
4775         (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
4776         (semantic-c-dereference-template):
4777         * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
4778         (semantic--analyze-refs-full-lookup-with-parents)
4779         (semantic--analyze-refs-full-lookup-simple):
4780         * cedet/semantic/analyze/complete.el
4781         (semantic-analyze-possible-completions):
4782         * cedet/srecode/table.el (srecode-mode-table-new):
4783         * cedet/srecode/srt.el (srecode-read-variable-name):
4784         * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
4785         * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
4786         (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
4787         * cedet/srecode/map.el (srecode-current-map):
4788         * cedet/srecode/insert.el (srecode-insert)
4789         (srecode-insert-variable-secondname-handler, srecode-insert-method)
4790         (srecode-template-inserter-point-override)
4791         (srecode-insert-include-lookup):
4792         * cedet/srecode/getset.el (srecode-auto-choose-class):
4793         * cedet/srecode/extract.el (srecode-inserter-extract):
4794         * cedet/srecode/document.el
4795         (srecode-document-autocomment-return-last-alist)
4796         (srecode-document-autocomment-param-type-alist)
4797         (srecode-document-insert-function-comment)
4798         (srecode-document-insert-variable-one-line-comment)
4799         (srecode-document-function-name-comment):
4800         * cedet/srecode/dictionary.el (srecode-create-dictionary)
4801         (srecode-compound-toString):
4802         * cedet/srecode/compile.el (srecode-flush-active-templates):
4803         * cedet/srecode/args.el (srecode-semantic-handle-:blank):
4804         Doc/message fixes.
4806         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
4807         match-data.  (Bug#4555).
4809         * cedet/semantic/bovine/gcc.el
4810         (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
4811         (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
4813         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
4814         rather than parsing it as a regexp.  This relaxes the layout
4815         requirements and makes errors easier to detect.
4816         (check-declare-verify): Check file is regular.
4817         (check-declare-directory): Doc fix.
4818         * subr.el (declare-function): Doc fix.
4820         * ibuffer.el (ibuffer-format-qualifier):
4821         * isearch.el (hi-lock-regexp-okay):
4822         * calc/calc.el (math-zerop):
4823         * mail/uce.el (rmail-msgbeg, rmail-msgend):
4824         * term/w32-win.el (setup-default-fontset, set-fontset-font):
4825         Remove unused declarations.
4827 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
4829         * cedet/semantic/wisent/javat-wy.el
4830         (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
4832 2009-09-30  Juanma Barranquero  <lekktu@gmail.com>
4834         * cedet/srecode/expandproto.el: Fix provide statement.
4836 2009-09-30  Eric Ludlam  <zappo@gnu.org>
4838         * emacs-lisp/eieio.el (boolean-p): Delete.
4840 2009-09-30  Sascha Wilde  <wilde@sha-bang.de>
4842         * cedet/ede/srecode.el: Fix provide statement.
4844 2009-09-30  Glenn Morris  <rgm@gnu.org>
4846         * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
4847         * cedet/ede/proj-aux.el (ede-aux-source):
4848         * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
4849         (ede-misc-source):
4850         * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
4851         (semantic-mrub-switch-tags): Fix doc typos.
4853         * cedet/semantic/db-global.el (data-debug-new-buffer)
4854         (data-debug-insert-thing): Remove unneeded declarations (one broken).
4855         (semanticdb-enable-gnu-global-databases): Fix prompt typo.
4857         * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
4859         * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
4860         use of CL function `remove-if-not'.
4862         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
4864         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
4865         filename is not a string.
4867 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
4869         * files.el (safe-local-eval-forms): Fix typo.
4871 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4873         * vc-hooks.el (vc-dir-buffers): New var.
4874         (vc-state-refresh): New function.
4875         (vc-state): Use it.
4876         (vc-after-save): Always ask the backend to recompute the new state.
4877         Always call vc-dir if necessary, using vc-dir-buffers.
4878         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
4879         Use vc-dir-buffers.
4880         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
4881         (vc-dir-prepare-status-buffer, vc-dir-update)
4882         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
4883         Don't call expand-file-name on default-directory.
4885 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
4887         * speedbar.el (speedbar-item-delete):
4888         * calc/calc-prog.el (calc-kbd-if):
4889         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
4891         * epa.el (epa-key-list-mode-map):
4892         * hi-lock.el (hi-lock-menu): Fix typos in menus.
4894         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
4895         (hs-show-hook): Fix typo in docstring.
4897 2009-09-29  Glenn Morris  <rgm@gnu.org>
4899         * cedet/semantic/symref/idutils.el:
4900         * cedet/semantic/symref/list.el: Relicense under GPLv3+.
4902         * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
4904         * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
4905         * cedet/semantic/tag-file.el (semanticdb-table-child-p):
4906         * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
4907         Mark declarations not understood by check-declare.
4909         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
4910         file-name-nondirectory call preventing location of cedet files.
4911         (check-declare-verify): Use literal search rather than re-search.
4912         Add basic defmethod and defclass, and define-overloadable-function.
4914         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
4915         Use tramp-compat-file-attributes rather than nonexistent
4916         tramp-compat-handle-file-attributes.
4918         * Makefile.in (lisptagsfiles4): New.
4919         (AUTOGENEL): Add cedet loaddefs files.
4920         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
4921         (update-elclist, compile-always, backup-compiled-files)
4922         (bootstrap-clean): Add yet another directory level.
4923         (update-elclist): Use LC_COLLATE rather than COLLATE.
4924         (ELCFILES): Update, via `make update-elclist'.
4926 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
4928         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
4929         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
4930         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
4932 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
4934         * Makefile.in (lisptagsfiles3): Define.
4935         (TAGS, TAGS-LISP): Use it.
4936         (update-elclist): Add third directory level to look for elc files.
4937         (compile-always): Likewise.
4938         (backup-compiled-files): Likewise.
4939         (bootstrap-clean): Likewise.
4940         (ELCFILES): Update.
4942 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
4944         * Makefile.in (ELCFILES): Add CEDET files.
4946 2009-09-28  Eric Ludlam  <zappo@gnu.org>
4948         CEDET (development tools) package merged.
4950         * cedet/*.el:
4951         * cedet/ede/*.el:
4952         * cedet/semantic/*.el:
4953         * cedet/srecode/*.el: New files.
4955 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
4957         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
4959         * net/tramp.el (top): Require tramp-imap.
4961         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
4962         Use `tramp-compat-handle-file-attributes'.
4964 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
4966         * net/tramp-imap.el: New package.
4968 2009-09-28  Eric Ludlam  <zappo@gnu.org>
4970         * emacs-lisp/chart.el:
4971         * emacs-lisp/eieio-base.el:
4972         * emacs-lisp/eieio-comp.el:
4973         * emacs-lisp/eieio-custom.el:
4974         * emacs-lisp/eieio-datadebug.el:
4975         * emacs-lisp/eieio-opt.el:
4976         * emacs-lisp/eieio-speedbar.el:
4977         * emacs-lisp/eieio.el: New files.
4979         * cedet/cedet-cscope.el:
4980         * cedet/cedet-files.el:
4981         * cedet/cedet-global.el:
4982         * cedet/cedet-idutils.el:
4983         * cedet/data-debug.el:
4984         * cedet/inversion.el:
4985         * cedet/mode-local.el:
4986         * cedet/pulse.el: New files.
4988 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4990         * whitespace.el (whitespace-trailing-regexp)
4991         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4992         Fix doc string.
4994 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
4996         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
4997         menu.
4999         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
5000         menu-bar-ediff-menu.
5002         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
5003         define-overloadable-function.
5005         * progmodes/autoconf.el: Provide autoconf as well, so that this
5006         file can be `require'd.
5008         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
5010         * emacs-lisp/autoload.el (generated-autoload-feature)
5011         (generated-autoload-load-name): New vars.
5012         (autoload-rubric, autoload-generate-file-autoloads): Use them.
5013         (make-autoload): Recognize define-overloadable-function and
5014         defclass forms (for EIEIO).
5016         * Makefile.in (update-subdirs): Exclude cedet directory.
5018 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
5020         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
5022         * faces.el: Default light-background background for region face to
5023         ns_selection_color under NS.
5025 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
5027         * net/imap-hash.el: New library, see NEWS.
5029         * Makefile.in (ELCFILES): Add imap-hash.el.
5031 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5033         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
5034         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
5035         * help-macro.el (make-help-screen): Avoid using an ambiguous function
5036         definition where the docstring could be taken for the return value.
5038 2009-09-26  Glenn Morris  <rgm@gnu.org>
5040         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
5041         Add option to only show images below a certain size.
5042         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
5043         save-excursion calls.
5045 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
5047         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
5048         subdirectories) and eieio.
5050 2009-09-26  Alan Mackenzie  <acm@muc.de>
5052         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
5053         buggy bracketing.  (Bug#4289)
5055         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
5056         character constants (as case labels).  (Bug#4289)
5058 2009-09-25  Juri Linkov  <juri@jurta.org>
5060         * files.el (safe-local-eval-forms): Allow time-stamp in
5061         before-save-hook (Bug#4554).
5063 2009-09-25  Drew Adams  <drew.adams@oracle.com>
5065         * menu-bar.el (list-buffers-directory): Doc fix.
5067 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5069         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
5070         Try and avoid copying twice the same paragraph.
5071         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
5072         Remove save-excursion.
5073         (log-edit-changelog-entry): Do it here instead.
5075 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
5077         * bs.el (bs--get-file-name): Use `list-buffers-directory'
5078         when available, instead of hardcoding mode names.  Doc fix.
5080         * menu-bar.el (list-buffers-directory): Add docstring.
5081         Make automatically buffer-local.
5083         * dired.el (dired-mode):
5084         * files.el (cd-absolute):
5085         * pcvs.el (cvs-temp-buffer):
5086         * pcvs-util.el (cvs-get-buffer-create):
5087         * shell.el (shell-mode):
5088         * vc-dir.el (vc-dir-mode):
5089         Don't make `list-buffers-directory' buffer local.
5091 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
5093         * comint.el (comint-exec, comint-run, make-comint):
5094         Doc fixes (Bug#4542).
5096 2009-09-25  Glenn Morris  <rgm@gnu.org>
5098         * mail/rmailmm.el (rmail-mime): New custom group.
5099         Move all defcustoms in this file into this group.
5100         (rmail-mime-media-type-handlers-alist): Revert previous change.
5101         (rmail-mime-show-images): New option.
5102         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
5103         references to it, since it wasn't actually used for anything.
5104         (rmail-mime-insert-image): New function.
5105         (rmail-mime-image): Use rmail-mime-insert-image.
5106         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
5107         obey the value of `rmail-mime-show-images' option.  Print the size of
5108         attachments.
5110 2009-09-25  David Engster  <deng@randomsample.de>
5112         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
5114 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5116         * whitespace.el: Does not highlight trailing spaces While point is
5117         at end of line.  Does not highligt spaces at beginning of buffer
5118         while point is at beginning of buffer.  Does not highlight spaces
5119         at end of buffer while point is at end of buffer.  (Bug#4177)
5120         New version 12.0.
5121         (whitespace-display-mappings): Adjust initialization.
5122         (whitespace-point, whitespace-font-lock-refontify): New vars.
5123         (whitespace-color-on, whitespace-color-off): Adjust code.
5124         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5125         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
5126         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
5128 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
5130         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
5132         * textmodes/sgml-mode.el: Remove xml-mode alias.
5134         * files.el (auto-mode-alist, conf-mode-maybe)
5135         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
5137 2009-09-24  Alan Mackenzie  <acm@muc.de>
5139         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
5140         c-forward-conditionals, but it doesn't move point and doesn't set
5141         the mark.
5142         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
5143         (c-down-conditional-with-else, c-backward-conditional)
5144         (c-forward-conditional): Refactor to use c-scan-conditionals.
5146 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
5148         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
5149         (help-default-arg-highlight): Remove.
5150         (help-highlight-arg): New function.
5151         (help-do-arg-highlight): Use it.
5152         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
5154 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5156         * term.el (term-set-scroll-region, term-handle-ansi-escape):
5157         Undo last change, which didn't fix the problem and introduced others.
5159 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
5161         * progmodes/gdb-mi.el: Don't require speedbar.
5162         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
5164 2009-09-24  Glenn Morris  <rgm@gnu.org>
5166         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
5168         * term/ns-win.el (ns-reg-to-script): Define for compiler.
5170         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
5171         there is no newline after the final mime boundary.  (Bug#4539)
5172         Move markers on insertion so that any buttons inserted don't end up in
5173         the next part of a multipart message.
5174         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
5175         (rmail-mime-bulk-handler): Optionally handle images.
5176         (rmail-mime-image): New button action.
5177         (rmail-mime-image-handler): New function.
5178         (rmail-mime-mode): New mode.
5179         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
5181 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5183         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
5184         than just dropping elements from it (bug#4504).
5186         * term.el (term-set-scroll-region): Don't move cursor any more.
5187         (term-handle-ansi-escape): Call term-goto here instead.
5188         Suggested by Ivan Kanis <apple@kanis.eu>.
5190         * term.el: Require CL.
5191         (term-ansi-reset): New function.
5192         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
5193         (term-handle-colors-array): Simplify.
5195 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
5197         * allout.el (allout-overlay-interior-modification-handler)
5198         (allout-obtain-passphrase):
5199         * epa-file.el (epa-file-write-region):
5200         * ps-print.el (ps-begin-job):
5201         * vc-hooks.el (vc-toggle-read-only):
5202         * vc-rcs.el (vc-rcs-rollback):
5203         * vc-sccs.el (vc-sccs-rollback):
5204         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
5205         (vc-version-diff, vc-revert, vc-rollback):
5206         * wdired.el (wdired-check-kill-buffer):
5207         * emacs-lisp/authors.el (authors):
5208         * net/socks.el (socks-open-connection):
5209         * net/zeroconf.el (zeroconf-service-add-hook):
5210         * obsolete/vc-mcvs.el (vc-mcvs-register):
5211         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
5212         (gdb-select-frame):
5213         * progmodes/grep.el (lgrep, rgrep):
5214         * progmodes/idlw-help.el (idlwave-help-check-locations)
5215         (idlwave-help-html-link, idlwave-help-assistant-open-link):
5216         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5217         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
5218         (reftex-toc-rename-label): Fix typos in error messages.
5220         * dired-aux.el (dired-do-shell-command): Reflow docstring.
5221         (dired-copy-how-to-fn): Doc fix.
5222         (dired-files-attributes, dired-read-shell-command):
5223         Fix typos in docstrings.
5225         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
5226         (dired-x-find-file-other-window): Reflow docstrings.
5227         (dired-omit-marker-char, dired-read-shell-command)
5228         (dired-x-submit-report): Fix typos in docstrings.
5230         * shell.el (shell-mode-hook):
5231         * view.el (View-scroll-line-forward):
5232         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
5233         Fix typos in docstrings.
5235         * net/dig.el (dig-invoke): Fix typo in docstring.
5236         (query-dig): Reflow docstring.
5238         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
5239         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
5240         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
5241         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
5242         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
5243         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
5244         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
5245         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
5246         (idlwave-completion-map, idlwave-current-indent)
5247         (idlwave-custom-ampersand-surround, idlwave-customize)
5248         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
5249         (idlwave-define-abbrev, idlwave-determine-class-special)
5250         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
5251         (idlwave-end-block-reg, idlwave-end-of-statement)
5252         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
5253         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
5254         (idlwave-explicit-class-listed, idlwave-file-header)
5255         (idlwave-fill-paragraph, idlwave-find-class-definition)
5256         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
5257         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
5258         (idlwave-in-quote, idlwave-indent-action-table)
5259         (idlwave-indent-expand-table, idlwave-indent-line)
5260         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
5261         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
5262         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
5263         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
5264         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
5265         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
5266         (idlwave-outlawed-buffers, idlwave-popup-select)
5267         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
5268         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
5269         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
5270         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
5271         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
5272         (idlwave-statement-type, idlwave-struct-skip)
5273         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
5274         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
5275         (idlwave-what-module-find-class): Fix typos in docstrings.
5276         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
5277         (idlwave-calculate-cont-indent, idlwave-expand-equal)
5278         (idlwave-find-module, idlwave-find-structure-definition)
5279         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
5280         (idlwave-list-load-path-shadows, idlwave-next-statement)
5281         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
5282         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
5283         (idlwave-template): Reflow docstrings.
5285         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
5286         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
5287         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
5288         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
5289         (idlwave-shell-display-line, idlwave-shell-display-wframe)
5290         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
5291         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
5292         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
5293         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
5294         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
5295         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
5296         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
5297         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
5298         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
5299         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
5300         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
5301         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
5302         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
5303         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
5304         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
5305         Fix typos in docstrings.
5306         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
5307         (idlwave-shell-hide-output, idlwave-shell-mode)
5308         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
5309         Reflow docstrings.
5311         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
5313 2009-09-24  Ivan Kanis  <apple@kanis.eu>
5315         * term.el (term-bold-attribute): New var.
5316         (term-handle-colors-array): Use it.
5318 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
5320         * progmodes/gdb-mi.el (gdb-version): New variable.
5321         (gdb-non-stop-handler): Set gdb-version.
5322         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
5323         Condition "--thread" option on gdb-version.
5324         (gdb-invalidate-threads): Remove unused argument.
5326 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5328         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
5329         to looking-back to avoid ridiculous slow down in large files (bug#4511).
5331 2009-09-23  Glenn Morris  <rgm@gnu.org>
5333         * mail/rmail.el (rmail-reply): Don't try to add a References header when
5334         replying to mail without References or Message-Id.  (Bug#4525)
5336 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
5338         * term/ns-win.el (ns-reg-to-script): New variable.
5340 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
5342         * epg.el (epg-wait-for-status): Preserve existing 'error results.
5344 2009-09-22  Sam Steingold  <sds@gnu.org>
5346         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
5347         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
5348         to 1 because hg returns status 1 when nothing is found.
5349         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
5351 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5353         * textmodes/fill.el: Convert to utf-8 encoding.
5354         (fill-french-nobreak-p): Remove redundant » and « inherited from our
5355         pre-unicode days.
5357         * add-log.el (change-log-fill-forward-paragraph): New function.
5358         (change-log-mode): Use it so fill-region DTRT.
5359         Set fill-indent-according-to-mode here rather than in
5360         change-log-fill-paragraph.
5361         (change-log-fill-paragraph): Remove.
5363 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
5365         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
5366         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
5368 2009-09-22  Glenn Morris  <rgm@gnu.org>
5370         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
5371         the scroll-bar scroll the calendar window rather than the buffer.
5373         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
5374         commands that move point (as opposed to scrolling).
5376         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
5378         * emacs-lisp/elint.el (elint): New custom group.
5379         (elint-log-buffer): Make it a defcustom.
5380         (elint-scan-preloaded, elint-ignored-warnings)
5381         (elint-directory-skip-re): New options.
5382         (elint-builtin-variables): Doc fix.
5383         (elint-preloaded-env): New variable.
5384         (elint-unknown-builtin-args): Add an entry for encode-time.
5385         (elint-extra-errors): Make it a variable rather than a constant.
5386         (elint-preloaded-skip-re): New constant.
5387         (elint-directory): Skip files matching elint-directory-skip-re.
5388         (elint-features): New variable, local to linted buffers.
5389         (elint-update-env): Initialize elint-features.  Possibly add
5390         elint-preloaded-env to the buffer's environment.
5391         (elint-get-top-forms): Bind elint-current-pos, for log messages.
5392         Skip quoted forms.
5393         (elint-init-form): New function, extracted from elint-init-env.
5394         Make non-list forms a warning rather than an error.
5395         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
5396         easy-menu-define, put that adds an error-condition, and provide.
5397         When requiring cl, also require cl-macs.  Really require cl, to handle
5398         some cl macros.  Store required libraries in the list elint-features,
5399         so as not to re-load them.  Treat cc-require like require.
5400         (elint-init-env): Call elint-init-form to do the work.
5401         Handle eval-and-compile and such like.
5402         (elint-add-required-env): Do not clear messages.
5403         (elint-special-forms): Add handlers for function, defalias, if, when,
5404         unless, and, or.
5405         (elint-form): Add optional argument to ignore elint-special-forms,
5406         useful to prevent recursive calls from handlers.  Doc fix.
5407         Respect elint-ignored-warnings.
5408         (elint-form): Respect elint-ignored-warnings.
5409         (elint-bound-variable, elint-bound-function): New variables.
5410         (elint-unbound-variable): Respect elint-bound-variable.
5411         (elint-get-args): Respect elint-bound-function.
5412         (elint-check-cond-form): Add some simple handling for (f)boundp and
5413         featurep tests.
5414         (elint-check-defalias-form): New handler.
5415         (elint-check-let-form): Make an empty let a warning rather than an
5416         error.
5417         (elint-check-setq-form): Make an empty setq a warning rather than an
5418         error.  Respect elint-ignored-warnings.
5419         (elint-check-defvar-form): Accept null doc-strings.
5420         (elint-check-conditional-form): New handler.  Does some simple-minded
5421         checking of featurep and (f)boundp tests.
5422         (elint-put-function-args): New function.
5423         (elint-initialize): Use elint-scan-doc-file rather than
5424         elint-find-builtin-variables.  Use elint-put-function-args.
5425         Possibly scan preloaded-file-list.
5426         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
5427         extend to handle functions as well.
5429 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
5431         * linum.el (linum-delete-overlays, linum-update-window):
5432         Do not modify the right margin.  (Bug#3971)
5434 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
5436         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
5437         nxml-mode instead of xml-mode.
5439 2009-09-21  Kevin Ryde  <user42@zip.com.au>
5441         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
5443 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5445         * net/dig.el (dig-mode): Use define-derived-mode.
5447 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
5449         * vc-dispatcher.el (vc-do-command): Return the process object in
5450         the asynchronous case.  Use when instead of if.  Do not run
5451         vc-exec-after to display a message if not enabled.  (Bug#4463)
5453         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
5454         properties to the stash strings.
5455         (vc-git-stash-list): Return a list of strings.
5456         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
5457         (vc-git-stash-show-at-point): New functions.
5458         (vc-git-stash-map): New keymap.
5460         * register.el (ctl-x-r-map): Define the keys here instead of
5461         using autoload.
5463 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
5465         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
5466         list, to workaround performance problem (bug#4485).
5468 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
5470         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
5472 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
5474         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
5475         Document that this option is not recommended to use.
5477 2009-09-19  Glenn Morris  <rgm@gnu.org>
5479         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
5480         variable `var'.
5482         * calc/calc-alg.el (var):
5483         * calc/calcalg2.el (var): Define for compiler.
5485 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
5487         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
5488         Doc fix (Bug#3932).
5490         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
5492         * time-stamp.el (time-stamp-month-dd-yyyy)
5493         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
5494         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
5495         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
5496         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
5497         Remove functions that have been obsolete since 1995 (Bug#4436).
5499         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
5500         indent buffer only if called interactively (Bug#4452).
5502 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
5503             Eli Zaretskii  <eliz@gnu.org>
5505         This fixes bug#4197 (merged to bug#865, though not identical).
5506         * server.el (server-auth-dir): Add docstring note about FAT32.
5507         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
5508         but warn against using them.
5510 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
5512         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
5513         older GDB where there is no has_more field.
5515 2009-09-19  Glenn Morris  <rgm@gnu.org>
5517         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
5519 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
5521         * files.el (auto-mode-alist): Change default for XML files to nXML
5522         mode (Bug#4169).
5524 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
5526         * server.el (server-ensure-safe-dir): Pass 'integer
5527         to `file-attributes', as suggested.
5529 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5531         * dired-aux.el (dired-query-alist): Remove spurious backslash.
5532         (dired-query): Use read-key.
5534 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
5536         * cus-start.el (ns-use-qd-smoothing): Remove.
5538 2009-09-18  Glenn Morris  <rgm@gnu.org>
5540         * allout.el (top-level): Remove unnecessary progn.
5542         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
5544         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
5545         definition of abbrev table.
5547         * speedbar.el (speedbar-track-mouse):
5548         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
5549         * net/eudc.el (eudc-expand-inline):
5550         * net/newst-backend.el (newsticker--cache-read-feed):
5551         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
5552         condition-case handlers.
5554 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
5556         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
5557         (gdb-var-list): Add an element for has_more field.
5558         (gdb-non-stop-handler): Enable pretty printing for STL containers.
5559         (gdb-var-create-handler, gdb-var-list-children-handler-1)
5560         (gdb-var-update-handler-1): Parse output of dynamic variable
5561         objects (STL containers).
5562         (gdb-var-delete-1): Pass var1 as an explicit second argument.
5563         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
5565         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
5566         gdb-var-list.
5567         (gud-speedbar-buttons): Make node expandable if expression "has more"
5568         children.
5570 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
5572         * startup.el (emacs-quick-startup): Remove variable and all uses.
5573         (command-line): Set `inhibit-x-resources' instead.
5574         (command-line-1): Use `inhibit-x-resources' instead.
5576 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
5578         * subr.el: Fix last change to avoid using the `unless' macro,
5579         which breaks bootstrapping.
5581 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5583         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
5584         extended definitions, in case we reload subr.el after having
5585         loaded CL.
5586         (eval-next-after-load): Mark as obsolete.
5588 2009-09-17  Juri Linkov  <juri@jurta.org>
5590         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
5591         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
5592         (menu-bar-showhide-menu, menu-bar-tools-menu)
5593         (menu-bar-describe-menu, menu-bar-help-menu)
5594         (minibuffer-local-completion-map, minibuffer-local-map):
5595         Fix list quoting.
5597 2009-09-17  Glenn Morris  <rgm@gnu.org>
5599         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
5600         arguments, whether or not it has a handler.
5602         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
5604         * simple.el (hard-newline): Give it a doc-string.
5606         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5607         (lisp-mode-syntax-table): Give them doc-strings.
5609 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
5611         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
5612         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
5613         (menu-bar-options-menu, menu-bar-showhide-menu)
5614         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
5615         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
5616         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
5617         (menu-bar-options-menu, menu-bar-tools-menu)
5618         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
5619         (menu-bar-help-menu):
5620         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
5621         string arguments.
5623         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
5624         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
5625         calls for the menu names and :help.
5627 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5629         * mouse.el (minor-mode-menu-from-indicator): Pay attention
5630         to :minor-mode-function (bug#4455).
5632 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5634         * startup.el (command-line): Initialize the window-system after
5635         processing the command-line.
5637         * textmodes/page.el (what-page): Make sure we don't inf-loop if
5638         page-delimiter matches the empty string.
5640 2009-09-16  Glenn Morris  <rgm@gnu.org>
5642         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
5643         byte-compile-not-obsolete-var.  It's a list now.
5644         (byte-compile-not-obsolete-funcs): New variable.
5645         (byte-compile-warn-obsolete): Don't warn about functions if they are in
5646         byte-compile-not-obsolete-funcs.
5647         (byte-compile-variable-ref, byte-compile-defvar): Update for
5648         byte-compile-not-obsolete-vars name-change and list nature.
5649         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
5650         and variables behind (f)boundp tests.
5651         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
5653 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
5655         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
5657 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5659         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
5660         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
5661         Don't autoload.
5663 2009-09-15  Stephen Eglen  <stephen@gnu.org>
5665         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
5666         the virtual-buffers, use the name of the buffer specified by
5667         find-file-noselect, as the match may be a symlink.  (This was a
5668         problem if the target and the symlink had different names.)
5670 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5672         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
5674         * desktop.el (desktop-path): Check user-emacs-directory.
5676         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
5678         * loadup.el: Use after-load-functions to GC after loading each file.
5679         Remove the explicit GC calls that used to be sprinkled around.
5681         * subr.el (after-load-functions): New hook.
5682         (do-after-load-evaluation): Run it.  Use string-match-p to detect
5683         `obsolete' packages, rather than painfully extracting the relevant
5684         directory name.
5686 2009-09-15  Glenn Morris  <rgm@gnu.org>
5688         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
5689         free variable `doc'.
5691         * dired.el (dired-mode-map): Add menu entry for async shell command.
5693         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
5694         variables, also consider the .elc files, since the .el files are
5695         normally gzipped (subsequent code locates the .el.gz from the .elc).
5697         * calc/calc-prog.el (arglist): Define for compiler.
5699         * calendar/diary-lib.el (diary-display-function): Change the default to
5700         fancy display.
5701         (body): Define for compiler.
5703         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
5704         (byte-compile-file-form, byte-compile-lambda)
5705         (byte-compile-top-level-body, byte-compile-form)
5706         (byte-compile-variable-ref, byte-compile-setq)
5707         (byte-compile-setq-default, byte-compile-body)
5708         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
5709         (batch-byte-compile): Give some more local variables with common names
5710         a "bytecomp-" prefix to avoid masking warnings about free variables.
5712         * startup.el (command-line-1): Give local variables with common names a
5713         distinguishing prefix, so as not to hide free variable warnings during
5714         bootstrap.
5716         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
5717         clever and add a suffix to make a unique name, just let the user decide
5718         whether or not to overwrite it.  If the input is a directory, write the
5719         default filename to that directory.  (Bug#4388)
5720         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
5721         is a filename-as-a-directory.
5723 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5725         * textmodes/page.el (what-page): Don't move to beginning of line.
5726         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
5728 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
5730         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
5732 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
5734         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
5735         * help.el (help-for-help-internal): Add purecopy calls for text.
5737         * vc.el (top): print-log method now takes an optional SHORTLOG
5738         argument.  Add a new method: root.
5739         (vc-root-diff, vc-print-root-log): New functions.
5740         (vc-log-short-style): New variable.
5741         (vc-print-log-internal): Add support for showing short logs.
5743         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
5744         vc-print-root-log and vc-print-root-diff.
5746         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
5747         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
5748         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
5749         short logs.
5751         * vc-cvs.el (vc-cvs-print-log):
5752         * vc-mtn.el (vc-mtn-print-log):
5753         * vc-rcs.el (vc-rcs-print-log):
5754         * vc-sccs.el (vc-sccs-print-log):
5755         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
5756         that is ignored for now.
5758         * vc-mtn.el (vc-mtn-annotate-command):
5759         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
5761 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5763         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
5764         to function-key-map, and give them ascii-character property.
5765         * term/x-win.el (x-alternatives-map):
5766         * term/ns-win.el (ns-alternatives-map):
5767         * term/internal.el (msdos-key-remapping-map):
5768         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
5770 2009-09-14  Glenn Morris  <rgm@gnu.org>
5772         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
5773         temp-buffers (2009-09-12).
5775 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5777         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
5778         the new read-key function.
5780 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
5782         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
5783         is defined (Bug#4405).
5785 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
5787         * recentf.el (recentf-cleanup): Use a hash table to find
5788         duplicates (Bug#4407).
5790 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
5792         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
5793         kp-0 to ascii equivalents (Bug#4325).
5795 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
5797         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
5799         * eshell/em-hist.el:
5800         * eshell/em-dirs.el (eshell-complete-user-reference):
5801         Declare pcomplete functions and variables to avoid compiler warnings.
5803 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
5805         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
5806         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
5807         * eshell/em-alias.el (eshell-aliases-file):
5808         * eshell/em-hist.el (eshell-history-file-name):
5809         Use expand-file-name instead of concat to make file names (Bug#4308).
5811 2009-09-13  Glenn Morris  <rgm@gnu.org>
5813         * ediff-merg.el (ediff-do-merge):
5814         * filesets.el (filesets-run-cmd):
5815         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
5816         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
5817         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
5818         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
5819         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
5820         Replace empty `let's with `progn'.
5822 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5824         * mail/sendmail.el (send-mail-function):
5825         * tooltip.el (tooltip-mode):
5826         * simple.el (transient-mark-mode):
5827         * rfn-eshadow.el (file-name-shadow-mode):
5828         * frame.el (blink-cursor-mode):
5829         * font-core.el (global-font-lock-mode):
5830         * files.el (temporary-file-directory)
5831         (small-temporary-file-directory, auto-save-file-name-transforms):
5832         * epa-hook.el (auto-encryption-mode):
5833         * composite.el (global-auto-composition-mode):
5834         Use custom-initialize-delay.
5835         * startup.el (command-line): Don't explicitly call
5836         custom-reevaluate-setting for all the above vars.
5837         * custom.el (custom-initialize-safe-set)
5838         (custom-initialize-safe-default): Delete.
5840 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5842         * term/x-win.el (x-initialize-window-system):
5843         * term/w32-win.el (w32-initialize-window-system):
5844         * term/ns-win.el (ns-initialize-window-system): Don't call
5845         mouse-wheel-mode since it's enabled globally by default already.
5847         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
5848         actually define the variable, but only silences the byte-compiler.
5849         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
5850         before looking it up.
5851         (mouse-wheel-scroll-amount): Also reset the bindings if this value
5852         is changed.
5854 2009-09-12  Glenn Morris  <rgm@gnu.org>
5856         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
5857         1000.
5858         (elint-add-required-env): Don't beep on error.
5859         (elint-forms): In case of error, return ENV unchanged.
5860         (elint-init-env): Skip non-list forms.
5861         (elint-log): Handle unknown file positions.
5863 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
5865         * epg.el (epg-make-context): Add autoload cookie.
5866         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
5867         (epg-decrypt-string, epg-start-verify, epg-verify-file)
5868         (epg-verify-string, epg-start-sign, epg-sign-file)
5869         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
5870         (epg-encrypt-string, epg-start-export-keys)
5871         (epg-export-keys-to-file, epg-export-keys-to-string)
5872         (epg-start-import-keys, epg-import-keys-from-file)
5873         (epg-import-keys-from-string, epg-start-receive-keys)
5874         (epg-receive-keys, epg-import-keys-from-server)
5875         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
5876         (epg-sign-keys, epg-start-generate-key)
5877         (epg-generate-key-from-file, epg-generate-key-from-string):
5878         Remove autoload cookie.
5880 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
5882         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
5883         reevaluation of trash-directory.
5885         * mwheel.el: Fix last change.
5886         (mouse-wheel-mode): New defvar.
5887         (mouse-wheel-mode): Remove autoload cookie.
5889 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5891         * mwheel.el (mwheel-installed-bindings): New var.
5892         (mouse-wheel-mode): Use it, so as to make sure we really remove all
5893         the bindings we set last time.  Use custom-initialize-delay.
5894         * loadup.el: Load mwheel after term/*-win.el.
5895         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
5896         and mouse-wheel-up-event now that their first evaluation is done
5897         sufficiently late to be correct.
5899         * startup.el (tutorial-directory): Make it a defcustom.
5900         Use custom-initialize-delay rather than eval-at-startup to set it.
5901         * image.el (image-load-path): Make it a defcustom.
5902         Use custom-initialize-delay rather than eval-at-startup to set it.
5903         * subr.el (eval-at-startup): Remove.
5904         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
5906         * subr.el (do-after-load-evaluation): Warn the user after loading an
5907         obsolete package.
5909 2009-09-12  Glenn Morris  <rgm@gnu.org>
5911         * proced.el (proced-mark-alt): Remove alias.
5912         (proced-mode-map): Remove proced-mark-alt.
5914         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
5915         Elint file and directory.  Remove initialization entry.
5917         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
5918         commands.
5919         (elint-current-buffer): Set mode-line-process.
5920         (elint-init-env): Handle define-derived-mode.
5921         Fix declare-function with unspecified arglist.  Guard against odd
5922         defalias statements (eg iso-insert's 8859-1-map).
5923         (elint-add-required-env): Use a temp buffer.
5924         (elint-form): Just print the function/macro name, not the whole form.
5925         Return env unchanged if we fail to parse a macro.
5926         (elint-forms): Guard against parse errors.
5927         (elint-output): New function, to handle batch mode.
5928         (elint-log-message): Add optional argument.  Use elint-output.
5929         (elint-set-mode-line): New function.
5931 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
5933         * emacs-lisp/elp.el (elp-not-profilable): Add more
5934         functions (Bug#4233).
5936 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
5938         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
5939         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
5941 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
5943         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
5944         (gdb-var-list-children): Use json parsing.
5946 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
5948         * progmodes/js.el (js--proper-indentation): Handle the case where
5949         char-before is null.  Reported by Deniz Dogan.
5951 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
5953         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
5955 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
5957         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
5958         (epg-digest-algorithm-alist): Add SHA224.
5959         (epg-context-set-passphrase-callback)
5960         (epg-context-set-progress-callback): Add description about
5961         callback function.
5963 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5965         * custom.el (custom-delayed-init-variables): New var.
5966         (custom-initialize-delay): New function.
5967         * startup.el (command-line): "Re"evaluate all vars in
5968         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
5969         explicitly any more.
5970         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
5971         to avoid creating a ~/.emacs.d at build-time (bug#4347).
5973         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
5975 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
5977         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
5978         (gdb-var-update-handler): Use json parsing.
5980 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
5982         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
5983         decode annotated text, regardless of language environment.  (Bug#2741)
5985 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5987         * Makefile.in (autoloads): Make rmail.el writable as well.
5989 2009-09-11  Glenn Morris  <rgm@gnu.org>
5991         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
5992         loaddefs.el.
5993         * dired.el: Regenerate with extracted autoloads.
5994         * Makefile.in (autoloads): Make dired.el writable.
5996         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
5997         * ibuffer.el: Regenerate with extracted autoloads.
5998         * Makefile.in (autoloads): Make ibuffer.el writable.
6000         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
6001         * version.el (emacs-copyright, emacs-major-version)
6002         (emacs-minor-version): Reformat doc-strings for make-docfile.
6004         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
6005         functions and variables, since they must be stuff specific to some other
6006         platform.
6007         (apropos-print): Make mouse-click message less specific about button.
6009         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
6010         that records where a macro was defined.
6011         * help-fns.el (describe-function-1): Mention if a function has a
6012         compiler-macro.
6013         * help-mode.el (help-function-cmacro): New button.
6015         * locate.el (top-level): Always require dired.
6016         (locate-mode-map): Initialize inside the defvar.
6018         * net/ange-ftp.el (dired-compress-file): Declare.
6019         (ange-ftp-dired-compress-file): Add doc string.
6021         * term/ns-win.el (x-display-name, x-setup-function-keys):
6022         Unify doc-strings with X versions.
6024 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6026         * emulation/crisp.el (crisp-mode-map): Move initialization
6027         into declaration.
6028         (crisp-mode): Use define-minor-mode.
6030         * progmodes/xscheme.el (xscheme-evaluation-commands):
6031         Put a :advertised-binding property rather than using
6032         advertised-xscheme-send-previous-expression.
6033         (advertised-xscheme-send-previous-expression): Declare obsolete.
6034         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
6035         `advertised-undo'.
6036         (crisp-mode): Add corresponding bindings to
6037         undo's :advertised-binding instead.
6038         * dired.el (dired-mode-map): Put a :advertised-binding property rather
6039         than using dired-advertised-find-file.
6040         (dired-advertised-find-file):
6041         * simple.el (advertised-undo):
6042         * wid-edit.el (advertised-widget-backward): Declare obsolete.
6043         (widget-keymap): Put a :advertised-binding property rather
6044         than using advertised-widget-backward.
6045         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
6046         than using advertised-undo.
6047         * tutorial.el (tutorial--default-keys): Adjust accordingly.
6049 2009-09-10  Simon South  <ssouth@slowcomputing.org>
6051         * progmodes/delphi.el (delphi-tab): Indent region when Transient
6052         Mark mode is enabled and region is active; otherwise indent or
6053         insert TAB as usual.
6054         (delphi-mode): Update description of TAB-key binding.
6056 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6058         * subr.el (define-key-rebound-commands): Mark obsolete.
6059         * startup.el (precompute-menubar-bindings): Remove.
6060         (normal-top-level): Remove obsolete code that tried to precompute
6061         menubar bindings.
6062         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
6063         define-key-rebound-commands and precompute-menubar-bindings.
6065 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
6067         * net/imap.el (imap-interactive-login): Better messages.
6068         (imap-open): Fix bug with renamed buffer on reconnect.
6069         (imap-authenticate): Add buffer-local imap-last-authenticator variable
6070         for easier debugging and cleaner code.  On successful (guessed based on
6071         server capabilities) secondary authentication, set imap-state
6072         correctly.
6073         (imap-last-authenticator): Define imap-last-authenticator as a variable
6074         to avoid warnings.
6076 2009-09-10  Glenn Morris  <rgm@gnu.org>
6078         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
6080         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
6081         (byte-compile-file-form-autoload): Don't warn about unknown functions
6082         where the autoload statement comes after the use.
6083         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
6084         that any handlers inside the body (eg require) are in turn respected.
6086         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
6087         effects.
6089         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
6090         and syntax and abbrev tables basic docs, if they don't have any.
6092         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
6094         * international/mule-cmds.el (top-level): Require cl when compiling.
6095         (view-hello-file): Use default-value rather than
6096         default-enable-multibyte-characters.
6098         * progmodes/fortran.el: Move all safe and risky properties into the
6099         defcustoms.
6101         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
6102         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
6103         * mail/undigest.el:
6104         Put autoloads in rmail.el rather than loaddefs.el.
6105         * mail/rmail.el: Regenerate with extracted autoloads.
6107         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
6108         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
6110 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
6112         Reported in thread for Bug#4375.
6113         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
6114         "-data-evaluate-expression" instead of print.
6115         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
6116         (gdb-tooltip-print): Parse output from above MI command.
6117         (gdb): Revert 2009-08-11 change.  User should detach inferior
6118         manually.
6120         Remove the word "separate" from IO functions as inferior
6121         output is now never displayed in the GUD buffer.
6123 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
6125         * startup.el (command-line-normalize-file-name): On Windows and
6126         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
6128 2009-09-10  Juri Linkov  <juri@jurta.org>
6130         * isearch.el (isearch-text-char-description): Propertize escape
6131         character sequences with the `escape-glyph' face.  (Bug#4344)
6133         * simple.el (shell-command): Set asynchronous process filter to
6134         `comint-output-filter'.  (Bug#4343)
6136         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
6137         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
6138         the list.  Move "asm" to the bottom.
6139         (grep-find-ignored-directories): Add `choice' with nil value
6140         to empty the list easily.
6141         (grep-find-ignored-files): New option.
6142         (grep-files-history): Set to nil by default instead of '("ch" "el").
6143         (grep-compute-defaults): Add "<X>" to `grep-template'.
6144         (grep-read-files): Bind new local variables `default-alias' and
6145         `default-extension'.  Use a list of default values for the file prompt.
6146         (lgrep): Add `--exclude=' command line options composed from
6147         `grep-find-ignored-files'.
6148         (rgrep): Add `-name' command line options composed from
6149         `grep-find-ignored-files'.  (Bug#4301)
6151 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6153         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
6154         (bug#4368).
6156 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
6158         * calendar/time-date.el (autoload):
6159         Expand define-obsolete-function-alias into defalias and make-obsolete
6160         for old Emacsen that Gnus supports.
6161         (with-no-warnings): Define it for old Emacsen.
6162         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
6163         is available.
6164         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
6165         float-time is available; suppress compile warning for time-to-seconds.
6167 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
6169         * net/imap.el (imap-message-map): Docstring fix.
6171 2009-09-09  Glenn Morris  <rgm@gnu.org>
6173         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
6174         line numbers too.  (Bug#4374)
6176 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6178         * smerge-mode.el (smerge-remove-props, smerge-refine):
6179         Use with-silent-modifications (bug#4342).
6181         * subr.el (with-silent-modifications): New macro.
6183 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
6185         * files.el (top-level): Require `cl' when compiling.
6187 2009-09-07  Glenn Morris  <rgm@gnu.org>
6189         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
6191         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
6192         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
6194 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
6196         * vc-git.el (vc-git-annotate-command): Use separator to parse
6197         arguments correctly.
6199 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
6201         * proced.el (proced-mode): Doc fix.
6203 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
6205         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
6206         lstat fails.
6207         (tramp-do-file-attributes-with-ls): Check for file existence at
6208         remote end.
6209         (tramp-do-file-attributes-with-stat): Likewise.
6210         (tramp-convert-file-attributes): Return nil when attr is nil.
6212 2009-09-05  Glenn Morris  <rgm@gnu.org>
6214         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
6215         properties to this button.
6216         (diary-fancy-display): Don't extend the button to the final newline.
6217         (diary-fancy-display-mode): Continue to define "q" as a local key.
6219         * calendar/cal-china.el (holiday-chinese): Make it slightly more
6220         efficient.
6222         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
6224         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
6225         (byte-compile-dest-file-function): New option.
6226         (byte-compile-dest-file): Doc fix.
6227         Obey byte-compile-dest-file-function.
6228         (byte-compile-cl-file-p): New function.
6229         (byte-compile-eval): Only suppress noruntime warnings about cl functions
6230         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
6231         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
6232         than for file being previously loaded.
6233         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
6234         (byte-compile-file-form-require): Handle the case where requiring a file
6235         indirectly causes CL to be loaded.
6237 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
6239         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
6240         before killing the old buffer, since by the time `kill-buffer' is
6241         run so many buffer variables have been set to nil that it may not
6242         behave as expected.  (Bug#4061)
6244 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
6246         * files.el (find-alternate-file): If the old buffer is modified
6247         and visiting a file, behave similarly to `kill-buffer' when
6248         killing it, thus reverting to the pre-1.878 behavior; see
6249         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
6250         for discussion.  Also, consult `buffer-file-name' as a variable
6251         not as a function, for consistency with the rest of the code.
6253 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
6255         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
6256         also when adding a new directory.
6258         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
6259         defun.
6261 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6263         * files.el (locate-file-completion-table): Make it provide boundary
6264         information, so partial-completion works better.
6266 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
6268         * mail/footnote.el (Footnote-text-under-cursor):
6269         Check footnote-text-marker-alist before using it (bug#4324).
6271 2009-09-04  Glenn Morris  <rgm@gnu.org>
6273         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
6274         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
6275         * play/solitaire.el, play/tetris.el:
6276         Remove leading * from defcustom and defface docs.
6278         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
6279         necessary.
6280         (diary-fancy-overriding-map): New variable.
6281         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
6282         Use view-mode.
6284         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
6285         goto-line.
6287 2009-09-03  Glenn Morris  <rgm@gnu.org>
6289         * arc-mode.el (archive-mode):
6290         * dos-fns.el (set-default-process-coding-system):
6291         * man.el (Man-getpage-in-background):
6292         * menu-bar.el (menu-bar-describe-menu):
6293         * server.el (server-process-filter):
6294         * startup.el (command-line):
6295         * tar-mode.el (tar-header-block-tokenize, tar-extract):
6296         * w32-fns.el (set-default-process-coding-system):
6297         * x-dnd.el (x-dnd-handle-file-name):
6298         * international/mule-cmds.el (mule-menu-keymap)
6299         (set-default-coding-systems, language-info-alist, set-language-info)
6300         (set-language-environment, standard-display-european-internal)
6301         (set-locale-environment):
6302         * international/mule-diag.el (mule-diag):
6303         * mail/emacsbug.el (report-emacs-bug):
6304         * mail/rmail.el (rmail-mode):
6305         * mail/sendmail.el (mail-setup):
6306         Use default-value rather than default-enable-multibyte-characters.
6308         * progmodes/f90.el: Move all safe properties into the defcustoms.
6309         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
6311         * calendar/appt.el (appt-check):
6312         * calendar/diary-lib.el (diary-set-header, diary-live-p)
6313         (diary-check-diary-file, diary-list-entries)
6314         (diary-include-other-diary-files, diary-simple-display)
6315         (diary-fancy-display, diary-print-entries)
6316         (diary-mark-included-diary-files, diary-make-entry):
6317         Don't call substitute-in-file-name on diary-file.
6319 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
6320             Stefan Monnier  <monnier@iro.umontreal.ca>
6322         * mail/footnote.el (footnote-prefix): Make it a defcustom.
6323         (footnote-mode-map): Move initialization into the declaration.
6324         (footnote-minor-mode-map): Define it rather than changing global-map.
6325         (footnote-mode): Use define-minor-mode.
6327 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
6329         * net/tramp.el (tramp-handle-file-attributes-with-ls)
6330         (tramp-do-file-attributes-with-perl)
6331         (tramp-do-file-attributes-with-stat): Rename from
6332         `tramp-handle-file-attributes-with-*'.
6333         (tramp-handle-file-attributes): Use them.
6334         (tramp-do-directory-files-and-attributes-with-perl)
6335         (tramp-do-directory-files-and-attributes-with-stat): Rename from
6336         `tramp-handle-directory-files-and-attributes-with-*'.
6337         (tramp-handle-directory-files-and-attributes): Use them.
6338         (tramp-method-out-of-band-p): Additional parameter SIZE.
6339         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
6340         (tramp-handle-write-region): Use it.
6341         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
6342         (tramp-handle-vc-registered): Check, whether the first run did
6343         return files to be tested.
6344         (tramp-advice-make-auto-save-file-name): Do not call directly
6345         `tramp-handle-make-auto-save-file-name', because this would bypass
6346         the locking mechanism.
6348         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
6349         (file-remote-p, process-file, start-file-process, set-file-times)
6350         (tramp-compat-file-attributes): Compatibility functions shall not
6351         call directly `tramp-handle-*', because this would bypass the
6352         locking mechanism.
6353         (tramp-compat-number-sequence): New defun.
6355 2009-09-02  Glenn Morris  <rgm@gnu.org>
6357         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
6358         alias for float-time.
6359         (time-to-number-of-days): In Emacs, use float-time.
6360         * net/newst-backend.el (time-add): Suppress warnings from compat
6361         function.
6362         * time.el (emacs-uptime, emacs-init-time):
6363         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
6364         Use float-time rather than time-to-seconds.
6366         * minibuffer.el (completion-initials-expand): Fix typo.
6368         * faces.el (modeline, modeline-inactive, modeline-highlight)
6369         (modeline-buffer-id):
6370         * info.el (info-menu-5): Mark these face aliases as obsolete.
6372 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
6374         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
6375         space ...
6376         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
6377         no "--thread" option.
6378         (gdb-stopped): Don't print "Switched to thread" message when it is
6379         unchanged.
6381 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6383         * minibuffer.el (completion-try-completion)
6384         (completion-all-completions): Remove ill-defined (and
6385         mistakenly installed and luckily never used nor documented)
6386         `completion-styles' property.
6387         (completion-initials-expand, completion-initials-all-completions)
6388         (completion-initials-try-completion): New functions.
6389         (completion-styles-alist): Add doc to each entry.
6390         Add new `initials' entry.
6392 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
6394         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
6395         MI command -var-evaluate-expression.
6396         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
6397         and tweak for case of string child.
6398         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
6400 2009-09-01  Glenn Morris  <rgm@gnu.org>
6402         * add-log.el (change-log-date-face, change-log-name-face)
6403         (change-log-email-face, change-log-file-face, change-log-list-face)
6404         (change-log-conditionals-face, change-log-function-face)
6405         (change-log-acknowledgement-face):
6406         * cus-edit.el (custom-invalid-face, custom-rogue-face)
6407         (custom-modified-face, custom-set-face, custom-changed-face)
6408         (custom-saved-face, custom-button-face, custom-button-pressed-face)
6409         (custom-documentation-face, custom-state-face, custom-comment-face)
6410         (custom-comment-tag-face, custom-variable-tag-face)
6411         (custom-variable-button-face, custom-face-tag-face)
6412         (custom-group-tag-face-1, custom-group-tag-face):
6413         * diff-mode.el (diff-header-face, diff-file-header-face)
6414         (diff-index-face, diff-hunk-header-face, diff-removed-face)
6415         (diff-added-face, diff-changed-face, diff-function-face)
6416         (diff-context-face, diff-nonexistent-face):
6417         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
6418         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
6419         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
6420         (Info-title-4-face):
6421         * isearch.el (isearch-lazy-highlight-face):
6422         * log-view.el (log-view-file-face, log-view-message-face):
6423         * paren.el (show-paren-match-face, show-paren-mismatch-face):
6424         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
6425         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
6426         (cvs-msg-face):
6427         * smerge-mode.el (smerge-mine-face, smerge-other-face)
6428         (smerge-base-face, smerge-markers-face):
6429         * wid-edit.el (widget-documentation-face, widget-button-face)
6430         (widget-field-face, widget-single-line-field-face)
6431         (widget-inactive-face, widget-button-pressed-face):
6432         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
6433         (woman-addition-face):
6434         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
6435         (eshell-ls-executable-face, eshell-ls-readonly-face)
6436         (eshell-ls-unreadable-face, eshell-ls-special-face)
6437         (eshell-ls-missing-face, eshell-ls-archive-face)
6438         (eshell-ls-backup-face, eshell-ls-product-face)
6439         (eshell-ls-clutter-face):
6440         * eshell/em-prompt.el (eshell-prompt-face):
6441         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
6442         * obsolete/old-whitespace.el (whitespace-highlight-face):
6443         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
6444         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
6445         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
6446         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
6447         (antlr-font-lock-literal-face):
6448         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
6449         (ebrowse-root-class-face, ebrowse-file-name-face)
6450         (ebrowse-default-face, ebrowse-member-attribute-face)
6451         (ebrowse-member-class-face, ebrowse-progress-face):
6452         * progmodes/make-mode.el (makefile-space-face):
6453         * progmodes/sh-script.el (sh-heredoc-face):
6454         * textmodes/flyspell.el (flyspell-incorrect-face)
6455         (flyspell-duplicate-face):
6456         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
6457         * textmodes/texinfo.el (texinfo-heading-face):
6458         Mark face aliases with "-face" suffix as obsolete.
6460         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
6461         compiler.
6463         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
6464         (eudc-bob-sound-menu): Use defvar rather than defconst, since
6465         easy-menu-define wants to modify these.
6467         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
6469         * net/browse-url.el (browse-url-file-url):
6470         * term/internal.el (dos-codepage-setup):
6471         Use default-value rather than default-enable-multibyte-characters.
6473         * progmodes/etags.el (etags-goto-tag-location):
6474         * progmodes/flymake.el (flymake-highlight-line)
6475         (flymake-goto-file-and-line, flymake-goto-line):
6476         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
6477         (gdb-goto-breakpoint):
6478         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
6479         * progmodes/python.el (python-find-function)
6480         (python-pdbtrack-track-stack-file):
6481         * progmodes/verilog-mode.el (verilog-surelint-off):
6482         * term/ns-win.el (ns-open-file-select-line):
6483         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
6484         Use forward-line rather than goto-line.
6486         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
6487         * textmodes/reftex-index.el (reftex-display-index):
6488         * textmodes/reftex-ref.el (reftex-offer-label-menu):
6489         * textmodes/reftex-toc.el (reftex-toc):
6490         Remove unnecessary bindings of default-major-mode (all are followed by
6491         major-mode check and possible mode switch).
6493 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
6495         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6496         Handle watchpoints (bug#4282).
6497         (def-gdb-thread-buffer-command): Enable thread to be selected by
6498         clicking without selecting threads buffer first.
6499         (gdb-current-context-command): Use selected frame so that "up",
6500         "down" etc work in the GUD buffer.
6501         (gdb-update): Find selected frame before rendering stack buffer.
6502         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
6504 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6506         * progmodes/sym-comp.el (displayed-completions): Remove.
6507         (symbol-complete): Use minibuffer-complete.
6509 2009-08-31  Glenn Morris  <rgm@gnu.org>
6511         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
6513         * apropos.el (apropos-symbols-internal):
6514         Handle (obsolete) face aliases.
6516         * faces.el (describe-face): Adjust the output format to be more like
6517         describe-variable, and to mention (obsolete) face aliases.
6518         Adjust the whitespace so that help-setup-xref works.
6520         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
6521         * calendar/diary-lib.el (diary-button-face):
6522         Mark these face aliases as obsolete.
6524         * calendar/calendar.el (calendar-today): Doc fix.
6526 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
6528         * progmodes/gdb-mi.el (gdb-control-all-threads)
6529         (gdb-control-current-thread): Force tool bar update.
6530         (gdb-non-stop-handler): New function.
6531         (gdb-init-1): Use it to test if non-stop mode is supported.
6532         Remove unused gdbmi buffer type.
6534 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6536         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
6537         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
6539 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
6541         * comint.el (comint-exec-1): Check command is non-null first.
6542         Part of gdb-mi.el change (2009-08-28).
6544 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6546         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
6548 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
6550         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
6551         instead of `dolist' to avoid a recursive require when bootstrapping.
6553 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6555         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
6557         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
6559         * net/imap.el (imap-send-command): Simplify.
6560         (imap-wait-for-tag): point-max -> buffer-size.
6562         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
6564         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
6565         with constant argument.
6567         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
6569         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
6571         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
6572         Change default, since most of our files don't have a history.
6573         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
6574         the user.
6576         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6577         Add comint-run.
6579         * calc/calc.el: Improve commenting convention.
6580         (calc-digit-map, toplevel): Simplify.
6582         * comint.el (comint-insert-input): Be careful to only set point if we
6583         don't delegate to some other command.
6585         * proced.el (proced-signal-list): Make it an alist.
6586         (proced-grammar-alist): Capitalize names.
6587         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
6588         Disable undo manually and make it read-only.
6589         Use completion-annotate-function.
6591         * minibuffer.el (minibuffer-message): If the current buffer is not
6592         a minibuffer, insert the message in the echo area rather than at the
6593         end of the buffer.
6594         (completion-annotate-function): New variable.
6595         (minibuffer-completion-help): Use it.
6596         (completion--embedded-envvar-table): Environment vars are
6597         always case-sensitive.
6599 2009-08-30  Glenn Morris  <rgm@gnu.org>
6601         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
6602         from fortran-current-defun.
6603         (fortran-beginning-of-subprogram): Be more precise about finding the
6604         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
6605         (fortran-end-of-subprogram): Simplify.
6606         (fortran-current-defun): Use fortran-start-prog-re.
6608 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
6610         * subr.el (do-after-load-evaluation): Simplify.
6612 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
6614         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
6616         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
6617         (vc-rcs-print-log): Use it.
6619         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
6621 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6623         * paths.el (abbrev-file-name): Move to abbrev.el.
6624         * abbrev.el (abbrev-file-name): Move from paths.el.
6625         Obey user-emacs-directory.
6626         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
6627         user-emacs-directory.
6628         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
6629         abbrev-file-name and calc-settings-file any more.
6630         * startup.el (command-line): Recompute abbrev-file-name and
6631         abbreviated-home-dir.
6632         (normal-no-mouse-startup-screen): Improve the generic code and get rid
6633         of the special code for when C-h bindings haven't been changed.
6634         (display-startup-echo-area-message): Use with-current-buffer.
6635         (command-line-1): Use a list of strings, rather than a list of lists
6636         of strings for longopts.
6638         * files.el (get-free-disk-space): Use / for default-directory.
6640         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
6641         Use with-current-buffer.
6643         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
6644         Recognize immutable variables like most-positive-fixnum.
6645         (byte-compile-setq-default): Check and warn if trying to assign
6646         to an immutable variable, or a non-variable.
6648         * progmodes/cc-vars.el (c-comment-continuation-stars):
6649         * progmodes/cc-engine.el (c-looking-at-bos):
6650         * progmodes/cc-cmds.el (c-toggle-auto-state)
6651         (c-forward-into-nomenclature, c-backward-into-nomenclature)
6652         (c-comment-line-break-function): Add version of obsolescence.
6654 2009-08-28  Juri Linkov  <juri@jurta.org>
6656         * files.el (magic-fallback-mode-alist): Add ZIP magic number
6657         associated with `archive-mode'.
6659         * image.el (image-type-header-regexps): Use only JPEG magic number
6660         to determine JPEG images, and don't use `image-jpeg-p' because
6661         Emacs can display non-JFIF non-Exif JPEG images.
6663 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
6665         * arc-mode.el (archive-mode):
6666         * emacs-lisp/re-builder.el (re-builder-unload-function):
6667         Protect against the default value of `major-mode' being nil.
6669 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
6671         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
6672         Fix typos in docstrings.
6674         * progmodes/js.el (js--macro-decl-re): Doc fix.
6675         (js--plain-method-re, js--split-name): Refloc docstring.
6676         (js--class-styles, js--make-merged-item, js--splice-into-items):
6677         Fix typos in docstrings; reflow docstrings.
6678         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
6679         (js--variable-decl-matcher, js--inside-pitem-p)
6680         (js--parse-state-at-point, js--get-all-known-symbols)
6681         (js--symbol-history, js-find-symbol, js--js-references)
6682         (js--moz-interactor, js--js-encode-value, js--read-tab):
6683         Fix typos in docstrings.
6685 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6687         * textmodes/reftex.el (reftex-get-file-buffer-force):
6688         * progmodes/verilog-mode.el (verilog-batch-execute-func):
6689         * emulation/viper.el (viper-go-away, viper-set-hooks):
6690         * emacs-lisp/re-builder.el (re-builder-unload-function):
6691         * emacs-lisp/bytecomp.el (byte-compile-file):
6692         * ses.el (ses-unload-function):
6693         * hexl.el (hexl-find-file):
6694         * files.el (normal-mode):
6695         * ehelp.el (with-electric-help):
6696         * autoinsert.el (auto-insert-alist):
6697         * arc-mode.el (archive-mode):
6698         Use (default-value 'major-mode) instead of default-major-mode.
6700         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
6701         * international/mule.el (load-with-code-conversion):
6702         * emacs-lisp/debug.el (debug):
6703         * ediff-vers.el (ediff-rcs-get-output-buffer):
6704         * dired.el (dired-internal-noselect): Don't let-bind
6705         default-major-mode around code that doesn't use it.
6706         E.g. buffer creation via get-buffer-create doesn't use it.
6708 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
6710         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
6711         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
6712         when writing the temp file.  Otherwise, epa-file gets confused.
6713         (tramp-register-file-name-handlers): Make it a defun.  Move also
6714         `epa-file-handler' to the front of `file-name-handler-alist'.
6716 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6718         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
6719         start right after a ^M.
6720         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
6721         (tramp-completion-file-name-regexp-separate)
6722         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
6723         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
6724         Don't modify last-coding-system-used by accident.
6725         (tramp-completion-file-name-handler): Apply the checks here,
6726         instead during registration.
6727         (tramp-register-file-name-handlers) Renamed from
6728         `tramp-register-file-name-handler'.  Register both
6729         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
6730         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
6732 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
6734         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
6735         Remove variable ...
6736         (gdb-init-1, gdb-display-separate-io-buffer)
6737         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
6738         references to it.
6739         (gdb-inferior-io-mode): Use make-comint-in-buffer.
6740         (gdb-inferior-filter): Use comint-output-filter to stop
6741         echoing and remove ^M characters.
6743 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6745         * emulation/viper-init.el (viper-restore-cursor-type):
6746         * emulation/cua-base.el (cua--update-indications):
6747         Replace default-cursor-type with (default-value 'cursor-type).
6749         * mail/sendmail.el (mail-recover-1):
6750         * international/mule-diag.el (describe-current-coding-system-briefly)
6751         (describe-current-coding-system):
6752         * international/mule-cmds.el (select-safe-coding-system)
6753         (select-message-coding-system)
6754         (set-language-environment-coding-systems, set-locale-environment):
6755         * hexl.el (hexl-insert-multibyte-char):
6756         * dos-w32.el (find-buffer-file-type-coding-system):
6757         * simple.el (what-cursor-position):
6758         Replace uses of default-buffer-file-coding-system
6759         with (default-value 'buffer-file-coding-system).
6761         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
6762         Replace uses of default-cursor-in-non-selected-windows
6763         with (default-value 'cursor-in-non-selected-windows).
6764         Use with-current-buffer.
6766         * mail/feedmail.el: Use CL macros.
6767         (feedmail-run-the-queue, feedmail-send-it-immediately):
6768         * dos-w32.el (find-buffer-file-type): Replace uses of
6769         default-buffer-file-type with (default-value 'buffer-file-type).
6771 2009-08-28  Glenn Morris  <rgm@gnu.org>
6773         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
6774         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
6775         Use default-value of major-mode rather than default-major-mode.
6777 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6779         * Makefile.in (update-elcfiles): Report left over elc files.
6781         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
6782         expand-file-name and with-current-buffer.
6783         (mail-get-names, mail-directory): Use with-current-buffer.
6785         * vc.el (vc-read-revision): New function.
6786         (vc-version-diff, vc-merge): Use it.
6788 2009-08-27  Sam Steingold  <sds@gnu.org>
6790         * simple.el (kill-do-not-save-duplicates): New user option.
6791         (kill-new): When it is non-nil, and the new string is the same as
6792         the latest kill, set replace to t to avoid duplicates in kill-ring.
6794 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
6796         * net/tramp.el (tramp-handle-process-file): Do not flush all
6797         caches when `process-file-side-effects' is set.
6798         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
6799         instead of `tramp-find-file-exists-command'.
6800         Unset `process-file-side-effects'.
6802 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
6804         * net/tramp.el (tramp-methods): New method "rsyncc".
6805         (top): Add completion function for "rsyncc".
6806         (tramp-message-show-message): New defvar.
6807         (tramp-message, tramp-error): Use it.
6808         (tramp-do-copy-or-rename-file-directly): Extend check for direct
6809         remote copying.
6810         (tramp-do-copy-or-rename-file-out-of-band): Handle new
6811         `tramp-methods' entry `copy-env' of "rsyncc".
6812         (tramp-vc-registered-read-file-names): New defconst.
6813         (tramp-vc-registered-file-names): New defvar.
6814         (tramp-handle-vc-registered): Implement optimization strategy.
6815         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
6816         (tramp-vc-file-name-handler): New defun.
6817         (tramp-get-ls-command, tramp-get-test-command)
6818         (tramp-get-file-exists-command, tramp-get-remote-ln)
6819         (tramp-get-remote-perl, tramp-get-remote-stat)
6820         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
6822         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
6823         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
6824         timestamps.
6825         (tramp-get-file-property): Check for timestamps in
6826         `tramp-cache-inhibit-cache'.
6827         (tramp-set-file-property): Write timestamp.
6829 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
6831         * language/japan-util.el (japanese-symbol-table): Add entries for
6832         cp932-2-byte.
6834         * international/characters.el: Add category `j' to cp932-2-byte.
6836 2009-08-27  Kenichi Handa  <handa@m17n.org>
6838         * international/fontset.el (build-default-fontset-data): New macro.
6839         (setup-default-fontset): Use build-default-fontset-data for CJK,
6840         tibetan, ethiopic, and ipa.
6842 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6844         * cus-start.el (default-major-mode): Customize `major-mode' instead.
6845         (enable-multibyte-characters): Not customizable any more.
6847         * subr.el (default-mode-line-format, default-header-line-format)
6848         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
6849         (default-direction-reversed, default-truncate-lines)
6850         (default-left-margin, default-tab-width, default-case-fold-search)
6851         (default-left-margin-width, default-right-margin-width)
6852         (default-left-fringe-width, default-right-fringe-width)
6853         (default-fringes-outside-margins, default-scroll-bar-width)
6854         (default-vertical-scroll-bar, default-indicate-empty-lines)
6855         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
6856         (default-fringe-cursor-alist, default-scroll-up-aggressively)
6857         (default-scroll-down-aggressively, default-fill-column)
6858         (default-cursor-type, default-buffer-file-type)
6859         (default-cursor-in-non-selected-windows)
6860         (default-buffer-file-coding-system, default-major-mode)
6861         (default-enable-multibyte-characters): Mark as obsolete.
6863 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
6865         * vc-dir.el (vc-dir-update): Remove debug helper.
6867         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
6869 2009-08-26  Sam Steingold  <sds@gnu.org>
6871         * simple.el (save-interprogram-paste-before-kill): New user option.
6872         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
6873         save the interprogram-paste into kill-ring before overriding it
6874         with the Emacs kill.
6876 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
6878         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
6879         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
6880         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
6881         and move to vc-rcs.el.
6882         (vc-default-next-revision): Rename to vc-rcs-next-revision and
6883         move to vc-rcs.el.
6884         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
6885         (vc-rcs-update-changelog): Remove.
6886         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
6887         and move to vc-rcs.el.
6889         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
6890         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
6891         renaming.
6892         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
6893         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
6894         vc.el, renamed to be RCS specific.
6896         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
6897         New functions.
6898         (vc-cvs-update-changelog): Move here from vc.el.
6900         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
6901         New functions.
6903 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6905         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
6907 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
6909         * vc-git.el (vc-git-register): Use "git add" for directories.
6910         (vc-git-stash, vc-git-stash-show): New functions.
6911         (vc-git-extra-menu-map): Bind them.
6913         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
6914         directory correctly in case the item is a directory itself.
6916         * vc.el: Document the desired behavior for reverted files in the
6917         `added' state.
6918         (vc-default-prettify-state-info): Remove function, unused.
6920         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
6922 2009-08-26  Glenn Morris  <rgm@gnu.org>
6924         * bindings.el (standard-mode-line-format): Reposition dashes in
6925         which-func entry.  (Bug#4217)
6927         * files.el (enable-local-variables, enable-local-eval)
6928         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
6929         the defcustoms.
6930         (auto-mode-alist, ignored-local-variables)
6931         (save-some-buffers-action-alist): Move risky declarations to the
6932         definitions.
6933         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
6934         (font-lock-defaults, format-alist, imenu--index-alist)
6935         (imenu-generic-expression, input-method-alist, minor-mode-alist)
6936         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
6937         (mode-line-modified, mode-line-mule-info, mode-line-position)
6938         (mode-line-process, mode-line-remote, outline-level)
6939         (parse-time-rules, rmail-output-file-alist)
6940         (special-display-buffer-names, vc-mode):
6941         Move risky declarations to the relevant files.
6942         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
6943         (mode-line-modified, mode-line-process, mode-line-position)
6944         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
6945         * font-core.el (font-lock-defaults):
6946         * format.el (format-alist):
6947         * vc-hooks.el (vc-mode):
6948         * window.el (special-display-buffer-names):
6949         * international/mule-cmds.el (input-method-alist):
6950         Define riskiness here (dumped file) rather than in files.el.
6951         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
6952         * imenu.el (imenu-generic-expression, imenu--index-alist):
6953         * outline.el (outline-level):
6954         * time.el (display-time-string):
6955         * calendar/parse-time.el (parse-time-rules):
6956         * mail/rmailout.el (rmail-output-file-alist):
6957         Autoload riskiness here, rather than placing in files.el.
6959 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
6961         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
6963 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
6965         * simple.el (process-file-side-effects): New defvar.
6967         * dired-aux.el (dired-show-file-type):
6968         * vc.el (vc-diff-internal):
6969         * vc-arch.el (vc-arch-diff):
6970         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
6971         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
6972         * vc-git.el (vc-git-registered, vc-git-working-revision)
6973         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
6974         (vc-git--empty-db-p):
6975         * vc-hooks.el (vc-user-login-name):
6976         * vc-svn.el (vc-svn-registered, vc-svn-state)
6977         (vc-svn-dir-extra-headers, vc-svn-find-revision):
6978         * progmodes/grep.el (grep-probe): Let-bind
6979         `process-file-side-effects' with nil.
6981         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
6983         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
6984         daemon.  Replace ping by checking for running service for bluez
6985         and zeroconf.  (Bug#4239)
6987 2009-08-25  Kevin Ryde  <user42@zip.com.au>
6989         * net/dig.el (dig): Add autoload cookie.
6991 2009-08-25  Glenn Morris  <rgm@gnu.org>
6993         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
6994         load-history for absolute file-names.
6995         (byte-compile-file-form-require): Warn about use of the cl package.
6997         * format.el (format-alist): Doc fix.
6999         * play/bubbles.el (top-level): Don't require cl at run-time.
7001         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
7002         run-time cl).
7004 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
7006         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
7007         from cl package.
7008         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
7010 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
7012         * calc/calc-alg.el (math-trig-rewrite)
7013         (math-hyperbolic-trig-rewrite): New functions.
7014         (calc-simplify): Simplify trig functions when asked.
7016 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7018         * diff-mode.el (diff-find-source-location): Avoid goto-line.
7020 2009-08-24  Kenichi Handa  <handa@m17n.org>
7022         * language/ind-util.el (mapthread): Delete it.
7023         (combinatorial): New function.
7024         (indian--puthash-cv): Use combinatorial instead of mapthread.
7026 2009-08-22  Kevin Ryde  <user42@zip.com.au>
7028         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
7029         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
7030         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
7031         Clarify docstring that the value is strings not symbols.
7032         (checkdoc-list-of-strings-p): New function.
7034 2009-08-22  Glenn Morris  <rgm@gnu.org>
7036         * files.el (auto-mode-alist):
7037         * hippie-exp.el (he-concat-directory-file-name):
7038         * lpr.el (lpr-windows-system, printer-name):
7039         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
7040         * ps-print.el (ps-windows-system):
7041         * startup.el (command-line):
7042         * emulation/viper-ex.el (viper-glob-function):
7043         * international/mule-cmds.el (set-language-environment-coding-systems):
7044         * net/ange-ftp.el (ange-ftp-write-region):
7045         * obsolete/fast-lock.el (fast-lock-cache-name):
7046         Remove code for defunct system-types emx, macos, mswindows, next-mach,
7047         unisoft-unix, vax-vms, win32, w32.
7049         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
7050         given name if the pattern is not more specific.
7052         * calendar/lunar.el (lunar-phase-names): New option.
7053         (lunar-phase): Doc fix.
7054         (lunar-cycles-per-year): New constant.
7055         (lunar-index): New function.
7056         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
7057         (lunar-phase-name): Use lunar-phase-names.
7058         (calendar-lunar-phases): Use format.
7059         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
7061         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
7062         Copy imenu-example--name-and-position function here for own use.
7063         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
7065         * bs.el (bs--redisplay):
7066         * cus-edit.el (custom-redraw):
7067         * ibuffer.el (ibuffer-bury-buffer):
7068         * server.el (server-goto-line-column):
7069         * startup.el (command-line-1):
7070         * strokes.el (strokes-xpm-for-stroke):
7071         * term.el (term-display-buffer-line):
7072         * view.el (View-goto-line):
7073         * calc/calc.el (calc-do, calc-trail-buffer):
7074         * play/gamegrid.el (gamegrid-add-score-insecure):
7075         * progmodes/ada-mode.el (ada-compile-goto-error):
7076         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
7077         (ebrowse-select-1st-to-9nth):
7078         * progmodes/cperl-mode.el (cperl-time-fontification):
7079         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
7080         * progmodes/gud.el (gud-display-line):
7081         (idlwave-shell-display-line):
7082         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
7083         * progmodes/make-mode.el (makefile-browser-toggle):
7084         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
7085         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
7086         * textmodes/picture.el (picture-draw-rectangle):
7087         * textmodes/reftex-index.el (reftex-index-goto-letter):
7088         (reftex-select-jump-to-previous):
7089         * textmodes/reftex-sel.el (reftex-find-start-point)
7090         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
7091         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
7092         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
7093         * textmodes/tex-mode.el (tex-compilation-parse-errors):
7094         * textmodes/two-column.el (2C-associated-buffer):
7095         Use forward-line rather than goto-line.
7097         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
7098         goto-line.
7100         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
7101         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
7102         (quick-check-list-to-regexp): Declare.
7104         * progmodes/make-mode.el (makefile-browser-insert-selection):
7105         Use goto-char rather than goto-line.
7107         * progmodes/prolog.el (compilation-error-regexp-alist)
7108         (compilation-forget-errors): Declare.
7110 2009-08-22  Juri Linkov  <juri@jurta.org>
7112         * progmodes/grep.el (lgrep, rgrep): At the beginning
7113         set `dir' to `default-directory' unless `dir' is a non-nil
7114         readable directory.  (Bug#4052)
7115         (lgrep, rgrep): Change a weird way to report an error
7116         from using `read-string' to using `error'.
7117         Instead of using interactive arguments in the function body,
7118         add new argument `confirm'.
7120 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7122         * textmodes/remember.el (remember-buffer):
7123         * progmodes/cperl-mode.el (cperl-vc-header-alist):
7124         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
7125         (icalendar-extract-ical-from-buffer):
7126         * net/newst-treeview.el (newsticker-groups-filename):
7127         * net/newst-backend.el (newsticker-cache-filename):
7128         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
7129         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
7130         (speedbar-add-ignored-path-regexp, speedbar-line-path)
7131         (speedbar-buffers-line-path, speedbar-path-line)
7132         (speedbar-buffers-line-path):
7133         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
7134         (epg-sign-keys):
7135         * epa.el (epa-display-verify-result):
7136         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
7138 2009-08-21  Glenn Morris  <rgm@gnu.org>
7140         * progmodes/js.el (inferior-moz-process): Fix declaration.
7142         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
7144         * obsolete/rnewspost.el (news-mail-reply):
7145         Use goto-char rather than goto-line.
7147         * term/ns-win.el (ns-open-file-select-line):
7148         Use line-beginning-position rather than goto-line.
7150         * apropos.el (apropos-command):
7151         * ehelp.el (electric-helpify):
7152         * printing.el (pr-show-setup):
7153         * strokes.el (strokes-help):
7154         * tutorial.el (tutorial--describe-nonstandard-key)
7155         (tutorial--detailed-help):
7156         * woman.el (woman-mini-help, woman-display-extended-fonts):
7157         * calc/calc-help.el (calc-describe-key):
7158         * emulation/edt.el (edt-electric-helpify):
7159         * international/mule-diag.el (mule-diag):
7160         * play/yow.el (apropos-zippy):
7161         * progmodes/python.el (python-describe-symbol):
7162         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
7163         * textmodes/table.el (*table--cell-describe-mode)
7164         (*table--cell-describe-bindings):
7165         Use help-print-return-message rather than the now obsolete alias.
7167         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
7168         (calendar-cursor-to-visible-date):
7169         * play/5x5.el (5x5-position-cursor):
7170         * play/decipher.el (decipher):
7171         * play/gomoku.el (gomoku-goto-xy):
7172         * play/landmark.el (lm-goto-xy):
7173         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
7174         (mpuz-paint-digit):
7175         Use forward-line, not goto-line.
7177         * mail/rmail.el (rmail-obsolete): Delete custom group.
7178         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
7179         (rmail-remote-password, rmail-remote-password-required):
7180         Remove unneeded :set-after and :set properties.
7182 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
7184         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
7186 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
7188         * loadup.el: Remove leftover macos code.
7190         * vc-git.el (vc-git-annotate-command): Run asynchronously.
7191         Explicitly pass the date format to git blame so that user local
7192         so that the output format can be parsed.
7194 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
7196         * net/dbus.el (top): Don't check for (getenv
7197         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
7199 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
7201         * log-edit.el (log-edit-strip-single-file-name): New var.
7202         (log-edit-insert-changelog): Use it.  Bug#3571
7204 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7206         * subr.el (read-passwd): Use read-key so keypad keys work as well.
7207         Bug#3287
7209         * help.el (help-print-return-message): Rename from
7210         print-help-return-message.
7212         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
7213         cvs-mode-map parent hack.
7214         (log-view-mode): Derive from special-mode.
7216         * linum.el (linum-mode): window-size-change-functions is redundant.
7217         Adapt to new window-configuration-change-hook behavior.
7218         (linum-after-size, linum-after-config): Remove.
7220         * imenu.el (imenu-example--name-and-position)
7221         (imenu-example--lisp-extract-index-name)
7222         (imenu-example--create-lisp-index, imenu-example--create-c-index):
7223         Mark as obsolete.
7225         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
7226         (inferior-prolog-mode): Use it.
7227         (inferior-prolog-load-file): Reset list of errors.
7229 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
7231         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
7233         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
7235 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
7237         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
7238         is running already.
7240 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7242         * subr.el (listify-key-sequence-1): Use normal syntax since those
7243         integers are nowadays always represented by the same (positive) number
7244         on all platforms.
7245         (read-key-empty-map): New const.
7246         (read-key-delay): New var.
7247         (read-key): New function.
7248         (force-mode-line-update): Use with-current-buffer.
7249         (locate-user-emacs-file): Don't forget to abbreviate the file name.
7250         (start-process-shell-command, start-file-process-shell-command):
7251         Discourage the use of command-args.
7253 2009-08-19  Glenn Morris  <rgm@gnu.org>
7255         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
7257 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7259         * simple.el (choose-completion-string): Don't rely on
7260         minibuffer-completing-file-name and ad-hoc checks to decide whether
7261         to continue completion or not.
7263         * minibuffer.el (minibuffer-hide-completions): New function.
7264         (completion--do-completion): Use it.
7265         (completions-annotations): New face.
7266         (completion--insert-strings): Use it.
7267         (completion-pcm--delim-wild-regex): Add docstring.
7268         (completion-pcm--string->pattern): Add support for 0-width delimiters
7269         in completion-pcm--delim-wild-regex.
7271 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7273         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
7274         Remove unused var `buffer-modified-p'.
7276         * minibuffer.el (completion--do-completion): Move point for the #b001
7277         case as well (bug#4176).
7278         (minibuffer-complete, minibuffer-complete-word): Don't move point.
7280 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
7282         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
7283         and :session buses.
7285 2009-08-18  Kenichi Handa  <handa@m17n.org>
7287         * international/ucs-normalize.el (ucs-normalize-version):
7288         Change to 1.1.
7289         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
7290         (utf-8-hfs): Make it perform normalization on encoding too.
7292         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
7293         (sentence-end-without-space): Delete duplicated chars.
7294         (sentence-end-base): Likewise.
7296         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
7297         (html-mode): Delete duplicated chars from sentence-end-base.
7299         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
7300         (texinfo-mode): Delete duplicated chars from sentence-end-base.
7302 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
7304         * files.el (hack-one-local-variable): If the mode function is for
7305         a minor mode, pass it an argument (Bug#4148).
7307 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
7309         * net/tramp.el (tramp-register-completion-file-name-handler):
7310         Check also for (member 'partial-completion completion-styles).
7312 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
7314         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
7315         abbrev (Bug#3943).
7317 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
7319         * progmodes/cperl-mode.el: Merge upstream 6.2.
7320         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
7321         (cperl-forward-re): Check cperl-brace-recursing.
7322         (cperl-highlight-charclass): New function.
7323         (cperl-find-pods-heres): Use it.
7324         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
7325         (cperl-beautify-regexp-piece): Fix column calculation.
7326         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
7327         (cperl-beautify-level): Don't process entire regexp.
7328         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
7329         calling man.
7330         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
7331         (cperl-init-faces): Build a list in the normal way.
7333 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
7335         * calendar/parse-time.el (parse-time-string-chars): Save match
7336         data.
7338 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7340         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
7341         (sql-product): Use it.
7342         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
7343         (sql-set-product): Add completion.
7344         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
7345         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
7346         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
7347         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
7348         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
7349         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
7350         (sql-highlight-db2-keywords): Remove.
7351         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7352         (sql-highlight-product): Use derived-mode-p.
7353         (sql-set-sqli-buffer): Use with-current-buffer.
7354         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
7355         Simplify.
7357         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
7359         * term.el: Fix commenting convention, turn comments into docstrings.
7361 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
7363         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
7365 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
7367         * calendar/parse-time.el (parse-time-string-chars): Compute using
7368         character classes, to handle non-ascii characters (Bug#3190).
7370 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
7372         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
7373         another heredoc if the user adds another < (Bug#3226).
7375         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
7376         Don't initialize based on window-system (Bug#4124).
7378         * facemenu.el (facemenu-read-color): Use a completion function
7379         that accepts any defined color, such as RGB triplets (Bug#3677).
7381         * files.el (get-free-disk-space): Change fallback default
7382         directory to /.  Expand DIR argument before switching to fallback.
7383         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
7385 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
7387         * files.el (load-library): Doc fix.
7389 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
7391         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
7392         (viper-if-string): Redefine C-s in the minibuffer to insert the last
7393         incremental search string.
7395         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
7396         XEmacs.
7398         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
7399         (ediff-merge-region-is-non-clash)
7400         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
7401         Also check if the job is really a merge job.
7403         * ediff.el (ediff-current-file): New function.
7405 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
7407         * progmodes/js.el: Edit docstrings throughout to follow Emacs
7408         conventions.
7409         (js-insert-and-indent): Delete function.
7410         (js-mode-map): Don't bind keys to js-insert-and-indent.
7411         (js-beginning-of-defun): Rename from js--beginning-of-defun.
7412         (js-end-of-defun): Rename from js--end-of-defun.
7413         (js-auto-indent-flag): Delete variable.
7415 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
7417         * progmodes/js.el: Remove proclaim statement.
7418         Defvar which-func-imenu-joiner-function to silence compiler.
7420         * files.el (auto-mode-alist): Use js-mode for .js files.
7422         * progmodes/js2-mode.el: Remove file.
7424         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
7426         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
7428         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
7430 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
7431             Karl Landstrom  <karl.landstrom@brgeight.se>
7433         * progmodes/js.el: New file.
7435 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
7437         * timezone.el (timezone-parse-date): Add ability to understand ISO
7438         basic format (minimal separators) dates in addition to the
7439         already-supported extended format dates.
7441 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
7443         * international/ucs-normalize.el: Add a `coding' file variable.
7445         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
7447 2009-08-14  Sam Steingold  <sds@gnu.org>
7449         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7451 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
7453         * faces.el (help-argument-name): Define it here instead of
7454         help-fns.el, because in daemon mode help-fns.el may be loaded when
7455         faces are still uninitialized (Bug#1078).
7457         * help-fns.el (help-argument-name): Move defface to faces.el.
7459 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
7461         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
7462         create buffer with a pty but no process so that GDB can make the
7463         inferior the controlling process.
7465 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
7467         * international/ucs-normalize.el: New file.
7469 2009-08-13  Richard Stallman  <rms@gnu.org>
7471         * mail/rmail.el (rmail-get-attr-names):
7472         Accept an attribute header that is too short.
7474         * mail/rmail.el (rmail-forget-messages):
7475         Ignore nil elt in rmail-message-vector.  Use dotimes.
7477         * progmodes/compile.el (compilation-goto-locus):
7478         Use next-error-move-function.
7480         * simple.el (next-error-move-function): New variable.
7482 2009-08-12  Juri Linkov  <juri@jurta.org>
7484         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
7485         always non-nil.  (Bug#4052)
7487         * replace.el (read-regexp): Return empty string when
7488         `default-value' is nil.
7489         (keep-lines-read-args): Don't use empty string as the
7490         default value for `read-regexp'.  (Bug#2495)
7492 2009-08-12  Juri Linkov  <juri@jurta.org>
7494         * international/mule-cmds.el (ucs-insert): Change arguments
7495         from `arg' to `character', `count', `inherit' to be the same
7496         as in `insert-char'.  Doc fix.  (Bug#4039)
7498         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
7500 2009-08-12  Juri Linkov  <juri@jurta.org>
7502         * files-x.el: New file.
7504         * files.el: Move code that deals with adding/deleting
7505         file/directory-local variables to files-x.el.
7507         * Makefile.in (ELCFILES): Add files-x.elc.
7509 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
7511         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
7512         to use `goto-line'.
7513         (gdb-place-breakpoints, gdb-get-location): Rewritten without
7514         `goto-line'.
7515         (gdb-invalidate-disassembly): Do not refresh upon receiving
7516         'update signal.  Instead, update all disassembly buffers only after
7517         threads list.
7518         (gdb): Send -target-detach when buffer is killed (Bug#3794).
7519         (gdb-starting): Moved -data-list-register-names...
7520         (gdb-stopped): ...here so it's sent when first thread stops.
7521         (gdb-registers-handler-custom): Do nothing if register names are
7522         unknown yet.
7524         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
7525         from `gdb-mi.el' to avoid extra tangling.
7527         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
7528         change which breaks `gud-def' definitions used in `gdb'.
7529         (gdb-update-gud-running): No extra fuss for updating frame number.
7531 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7533         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
7534         (describe-language-environment-map, setup-language-environment-map)
7535         (set-coding-system-map): Move initialization into declaration.
7536         (set-language-info-alist): Last arg to define-key-after can be skipped.
7538         * international/quail.el (quail-completion-1): Simplify.
7539         (quail-define-rules): Use slightly more compact code.
7540         (quail-insert-decode-map): Propertize keys, compact columns.
7542         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7543         Add goto-line.
7545 2009-08-10  Miles Bader  <miles@gnu.org>
7547         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
7548         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
7549         (js2-instance-member, js2-private-member, js2-private-function-call)
7550         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
7551         (js2-magic-paren, js2-external-variable):
7552         Remove "-face" suffix from face names.
7553         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
7554         (js2-highlight-undeclared-vars, js2-peek-token)
7555         (js2-parse-function-params, js2-mode-show-errors)
7556         (js2-mode-show-warnings, js2-make-magic-delimiter)
7557         (js2-mode-highlight-magic-parens): Update to use new face names.
7559 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
7561         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
7562         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
7564 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
7566         * subr.el: Provide hashtable-print-readable.
7568         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
7569         hs-c-like-adjust-block-beginning.
7570         (hs-hide-block-at-point): Stop hiding at the beginning of
7571         hs-block-end-regexp (Bug#700).
7573 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
7575         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
7576         a macro.
7577         (gdb-registers-handler-custom): Do not fail when register names
7578         are unavailable.
7580 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
7582         * progmodes/gdb-mi.el (gdb-control-all-threads)
7583         (gdb-control-current-thread): Interactive setters for
7584         `gdb-gud-control-all-threads' to use in menu.
7585         (gdb-show-run-p): Show «Go» when process is not active.
7586         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
7587         gud/thread.xpm and gud/all.xpm.
7589 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
7591         * net/net-utils.el (net-utils-font-lock-keywords): New var.
7592         (nslookup-font-lock-keywords): Make it a variable.
7593         (net-utils-mode): New mode for viewing diagnostic network output.
7594         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
7595         (net-utils-run-simple): New function.
7596         (ifconfig, iwconfig, netstat, arp, route): Use it.
7598 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
7600         * progmodes/gdb-mi.el (gdb-read-memory-custom)
7601         (gdb-memory-set-address, def-gdb-set-positive-number)
7602         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
7603         after changing settings.
7604         (gdb-invalidate-disassembly): Update when first shown.
7605         (gdb-edit-locals-value): Fixed.
7606         (gdb-registers-handler-custom): Print registers in right order and
7607         allow changing register values (only for current thread yet).
7608         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
7609         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
7610         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
7611         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
7612         info in mode name.
7613         (gdb-registers-mode-map): TAB to switch to locals.
7615 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
7617         * mail/rmail.el (rmail-add-mbox-headers)
7618         (rmail-set-message-counters-counter): Search for
7619         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
7621 2009-08-08  Glenn Morris  <rgm@gnu.org>
7623         * Makefile.in (ELCFILES): Update.
7625 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
7627         * mail/sendmail.el (mail-yank-original): Set
7628         buffer-file-coding-system from the one used by the message whose
7629         text is yanked.
7631         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
7632         to "windows" when "pgnuplot" is used.
7633         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
7634         call accept-process-output if "pgnuplot" is used.
7635         (calc-graph-init): Don't send -display and -geometry to
7636         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
7637         running "pgnuplot -V" with shell-command-to-string.
7639         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
7640         the default.
7642 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
7644         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
7645         org/org-latex.elc.
7647 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
7649         * vc-dispatcher.el (vc-resynch-window): Update comment.
7651         * term.el (term-handle-ansi-escape): Add comments with the
7652         terminfo capabilities implemented.
7654 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
7656         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
7657         (gdb-var-create-handler): Rewritten using JSON parser.
7658         (gdb-propertize-header): Moved earlier.
7659         (gdb-set-header): Removed to avoid duplication.
7660         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
7661         Refresh disassembly buffers only after threads list have been
7662         update.
7663         (gdb-threads-header, gdb-registers-header): Per-buffer header line
7664         variables.
7666 2009-08-04  Juri Linkov  <juri@jurta.org>
7668         * files.el: Commands to add/delete file/directory-local variables.
7669         (read-file-local-variable, read-file-local-variable-value)
7670         (read-file-local-variable-mode, modify-file-local-variable)
7671         (modify-file-local-variable-prop-line)
7672         (modify-dir-local-variable): New functions.
7673         (add-file-local-variable, delete-file-local-variable)
7674         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
7675         (add-dir-local-variable, delete-dir-local-variable)
7676         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
7677         (copy-dir-locals-to-file-locals-prop-line): New commands.
7679 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
7681         * abbrev.el (insert-abbrev-table-description): Prettify output.
7682         Suggested by Karl Chen.
7684 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
7686         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
7687         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
7688         (gdb-overlay-arrow-position, gdb-thread-position)
7689         (gdb-disassembly-position): Declare variables.
7690         (gdb-wait-for-pending): Function now.
7691         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
7692         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
7693         compilation goes smoothly.
7694         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
7695         (gdb-non-stop-setting): New customization setting which replaces
7696         `gdb-non-stop' so changing it doesn't break active GDB session.
7697         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
7698         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
7699         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
7700         (gdb-show-threads-by-default): New customization options.
7701         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
7702         routines.
7703         (gdb-get-buffer-create): Send buffers update signal when they are
7704         created.
7705         (gdb-invalidate-locals, gdb-invalidate-registers)
7706         (gdb-invalidate-breakpoints)
7707         (gdb-invalidate-threads, gdb-invalidate-disassembly)
7708         (gdb-invalidate-memory): Accept update signal.
7709         (gdb-current-context-command): Use --frame option.
7710         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
7711         Implement `gdb-frame-number' selection logic.
7712         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
7713         whether to show GUD toolbar buttons.
7714         (gdb-thread-exited): Unselect current thread when it exits.
7715         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
7716         (gdb-mark-line): Routine which sets overlay arrow or inverses
7717         video on fringeless displays.
7718         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
7719         to build aligned columns of data in GDB buffers and set text
7720         properties line-by-line.
7721         (gdb-invalidate-breakpoints)
7722         (gdb-breakpoints-list-handler-custom)
7723         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
7724         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
7725         (gdb-registers-handler-custom): Align data columns.
7726         (gdb-locals-handler-custom): Now prints data like in variable
7727         declarations.
7728         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
7729         Removed confusing buttons.
7730         (gdb-invalidate-threads): Append --frame.
7731         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
7732         between breakpoints/threads buffers.
7733         (gdb-set-window-buffer): Now can ignore dedicated windows.
7734         (gdb-propertize-header): Use `gdb-set-window-buffer'.
7735         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
7736         (def-gdb-thread-buffer-gud-command): Replaces
7737         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
7738         for fine thread control.
7739         (gdb-preempt-existing-or-display-buffer): New function used to
7740         display bound buffers without breaking window layout.
7741         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
7742         (gdb-select-frame): New version of `gdb-frames-select' which now
7743         sets `gdb-frame-number' so commands may use --frame option instead
7744         of inner debugger state.
7745         (gdb-frame-handler): Do not set `gdb-frame-number'.
7746         (gdb-threads-mode-map): Select threads with mouse.
7748         * progmodes/gud.el (gdb-gud-context-call): Declare function to
7749         avoid compilation warning.
7750         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
7751         `gdb-show-stop-p`.
7753         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
7754         Argument `key' renamed to `buffer-type'.
7755         (gdb-current-context-buffer-name): Do not add thread info to
7756         buffer name when no thread is selected.
7757         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
7758         command (bug 3794).
7759         (gdb-thread-selected): Handle `=thread-selected' notification.
7760         (gdb-wait-for-pending): New macro to deal with congestion problems.
7761         (gdb-breakpoints-list-handler-custom): Don't fail on pending
7762         breakpoints.
7763         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
7764         This fixes problem similar to one described in bug 3947.
7765         (gud-menu-map): More menu items.
7766         (gdb-init-1): Reset `gdb-thread-number' to nil.
7768         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
7769         non-stop settings.
7771         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
7772         (gdb-current-context-command): Do not append --thread if
7773         `gdb-thread-number' is nil.
7774         (gdb-running-threads-count, gdb-stopped-threads-count): New
7775         variables.
7776         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
7777         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
7778         customization options.
7779         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
7780         GUD commands.
7781         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
7782         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
7783         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
7784         set `gdb-thread-number' and update `gud-running' properly.
7785         (gdb-running): Update threads list when new threads appear.
7786         (gdb-stopped): Support non-stop operation and new thread switching
7787         logic.
7788         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
7789         (gdb-json-partial-output): New set of JSON routines.
7790         (def-gdb-auto-update-trigger): New `signal-list' optional
7791         argument.
7792         (gdb-thread-list-handler-custom): Update `gud-running',
7793         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
7794         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
7795         (gdb-continue-thread, gdb-step-thread): New commands for fine
7796         thread execution control.
7797         (gud-menu-map): New menu items to switch non-stop options.
7798         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
7799         (gdb-send): Mimic RET properly (bug 3794).
7801         * progmodes/gdb-mi.el (gdb-rules-name-maker)
7802         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
7803         gdb-buffer-rules.
7804         (def-gdb-auto-update-handler): New nopreserve optional argument.
7805         (gdb-stack-list-frames-custom): Print stack from top to bottom.
7807         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
7808         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
7809         (gdb-parent-mode): New mode to derive other GDB modes from.
7810         (gdb-display-disassembly-for-thread)
7811         (gdb-frame-disassembly-for-thread): New commands for threads
7812         buffer.
7814         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
7815         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
7816         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
7817         (gdb-update): We now store all GDB buffers in a list so that they
7818         can be updated by traversing a list instead of calling invalidate
7819         triggers explicitly.
7820         (def-gdb-trigger-and-handler): New macro to define trigger-handler
7821         pair for GDB buffer.
7822         (gdb-stack-buffer-name): Add thread information.
7823         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
7824         handle pending triggers.
7825         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
7826         (def-gdb-thread-buffer-simple-command)
7827         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
7828         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
7829         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
7830         New commands which show buffers bound to thread.
7831         (gdb-stack-list-locals-regexp): Removed unused regexp.
7833         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
7834         (gdb-locals-buffer-name, gdb-registers-buffer-name)
7835         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
7836         to (gud-comint-buffer) in *-buffer-name functions
7837         because (gdb-get-target-string) already does that.
7838         (gdb-locals-handler-custom, gdb-registers-handler-custom)
7839         (gdb-changed-registers-handler): Rewritten without regexps.
7841         * progmodes/gdb-mi.el: Basic thread selection support.
7842         (gdb-thread-number): New variable.
7843         (gdb-current-context-command): New macro which adds --thread
7844         option to command.
7845         (gdb-threads-mode-map): Select thread with SPC.
7846         (gdb-thread-list-handler-custom): Mark current thread with overlay
7847         arrow.  Synchronize GDB thread and Emacs thread.
7848         (gdb-select-thread): New command which selects current thread.
7849         (gdb-invalidate-frames, gdb-invalidate-locals)
7850         (gdb-invalidate-registers): Use --thread option.
7852 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
7854         * net/tramp.el (top): Make check for tramp-gvfs loading more
7855         robust.  (Bug#3977)
7856         (tramp-handle-insert-file-contents): `unwind-protect' must be
7857         inside `with-parsed-tramp-file-name'.
7859         * net/tramp-gvfs.el (top): Remove superfluous message when loading
7860         fails.
7862 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
7864         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
7865         directory if CLASSPATH is not set.
7867 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
7869         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
7870         New defconst.
7871         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
7873 2009-08-02  Kevin Ryde  <user42@zip.com.au>
7875         * net/newst-backend.el (newsticker--raw-url-list-defaults):
7876         Update freshmeat link.  Delete newsforge.com as it seems gone.
7878 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
7880         * select.el (x-set-selection): Doc fix (Bug#4021).
7882         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
7884         * help-fns.el (describe-variable): Treat list return values from
7885         dir-locals-find-file properly (Bug#4005).
7887 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
7889         * net/tramp.el (tramp-debug-message): Print also microseconds.
7891 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
7893         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
7894         or END is non-nil.
7895         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
7896         (tramp-get-debug-buffer): Change `outline-regexp' according to new
7897         format.
7899         * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
7900         (tramp-get-file-property): Use it.
7902         * autorevert.el (auto-revert-handler): Allow
7903         `auto-revert-tail-mode' for remote files.
7905 2009-08-02  Jason Rumney  <jasonr@gnu.org>
7907         * minibuffer.el (read-file-name): Treat confirm options to
7908         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
7910 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
7912         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
7913         (font-lock-variable-name-face, font-lock-constant-face): Darken
7914         the colors for light backgrounds.
7916 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
7918         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
7919         month names.  (Bug#3987)
7921 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
7923         * simple.el (line-move-finish): Pass whole number to
7924         line-move-to-column.
7925         (line-move-visual): Perform hscroll to the recorded position.
7927 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
7929         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
7931 2009-07-29  Alan Mackenzie  <acm@muc.de>
7933         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
7935 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
7937         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
7938         (gdb-place-breakpoints): Use full path when setting breakpoints.
7940 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
7942         * calc/calc.el (calc-mode-map): Add keybinding for
7943         `calc-transpose-lines'.
7945 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
7947         * calc/calc-misc.el (calc-transpose-lines): New function.
7949 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
7951         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
7952         Simplify check for out-of-band methods.
7953         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
7954         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
7956 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
7958         * vc-git.el (vc-git-checkin): Fix typo.
7960 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
7962         * progmodes/js2-mode.el: New file.
7964 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
7966         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
7967         (gud-menu-map): Adjust tooltip accordingly.
7969 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
7971         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
7972         (vc-bzr-log-view-mode): Adjust log-view-file-re.
7974         * add-log.el (change-log-mode-map): Add a menu.
7976 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
7978         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
7979         function returns nil.
7980         (dbus-handle-event): Handle special return value :ignore.
7981         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
7983 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
7985         * view.el (view-mode-enable): Don't define Helper-return-blurb if
7986         it's not needed.
7988 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
7990         Fix Bug#3888:
7992         * w32-vars.el (x-select-enable-clipboard): Doc fix.
7994         * term/pc-win.el (x-display-name, x-colors)
7995         (x-select-enable-clipboard, x-select-text): Doc fix.
7997         * term/common-win.el (x-display-name, x-colors): Doc fix.
7999         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
8000         (xw-defined-colors): Doc fix.
8002         * w32-fns.el (x-select-text, x-setup-function-keys)
8003         (x-get-selection, x-set-selection): Doc fix.
8005         * term/x-win.el (x-select-text, x-setup-function-keys)
8006         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
8008         * select.el (x-set-selection): Doc fix.
8010 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
8012         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
8013         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
8014         "IsNSSSupportAvailable" method is not available.  Reported by
8015         Steve Youngs <steve@sxemacs.org>.
8017 2009-07-24  Kenichi Handa  <handa@m17n.org>
8019         * international/characters.el: Fix setting of category ?C, ?|, ?K,
8020         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
8021         (build-unicode-category-table): Fix range checks.
8023 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
8025         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
8026         the buffer we try to sync is current when calling
8027         vc-resynch-buffer.
8029         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
8030         not show up to date files.
8032 2009-07-24  Glenn Morris  <rgm@gnu.org>
8034         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
8035         Add autoload cookies.  If necessary, initialize.
8036         (elint-log): Handle non-file buffers.
8037         (elint-initialize): Add optional argument to reinitialize.
8038         (elint-find-builtin-variables): Save excursion.
8040 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
8042         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8043         for Lint.
8045 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
8047         * vc.el (vc-print-log-internal): New function, split out from ...
8048         (vc-print-log): ... here.
8049         (vc-dir-move-to-goal-column): Declare.
8051         * vc-git.el (vc-git-add-signoff): New variable.
8052         (vc-git-checkin): Use it.
8053         (vc-git-toggle-signoff): New function.
8054         (vc-git-extra-menu-map): Bind it to menu.
8055         (vc-git--run-command-string): Accept a nil FILE argument.
8056         (vc-git-stash-list): New function.
8057         (vc-git-dir-extra-headers): Use it.
8059 2009-07-23  Glenn Morris  <rgm@gnu.org>
8061         * help-fns.el (describe-variable): Describe ignored and risky local
8062         variables in a similar way to that in which we describe safe ones.
8064         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
8065         (byte-compile-output-file-form, byte-compile-output-docform)
8066         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
8067         Give some more local variables with common names a "bytecomp-" prefix,
8068         so as not to shadow things during compilation.
8069         * emacs-lisp/cl-macs.el (load-time-value)
8070         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
8071         `outbuffer' to `bytecomp-outbuffer'.
8073         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
8074         since the next two variables cover them automatically now.
8075         (elint-builtin-variables, elint-autoloaded-variables): New.
8076         (elint-unknown-builtin-args): Remove all members, since they can be
8077         parsed automatically now.
8078         (elint-extra-errors): New.
8079         (elint-env-add-env, elint-env-add-macro): Use cadr.
8080         (elint-current-buffer): Use or.  Change final message.
8081         (elint-get-top-forms): Use line-end-position.
8082         (elint-init-env): Use cadr.  Handle autoload, declare-function,
8083         and defalias.
8084         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
8085         (regexp-assoc): Remove unused function.
8086         (elint-top-form): Set elint-current-pos, to record the start of the
8087         top-level form, for compilation-mode.
8088         (elint-form): Trap errors in macro expansion.  Use dolist.
8089         (elint-unbound-variable): Use elint-builtin-variables and
8090         elint-autoloaded-variables.
8091         (elint-get-args): Use cadr, or.
8092         (elint-check-cond-form): Use dolist, cadr.
8093         (elint-check-condition-case-form): Doc fix.  Use cadr.
8094         Use elint-extra-errors.
8095         (elint-log): New function.
8096         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
8097         Distinguish errors and warnings.
8098         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
8099         Use a bytecomp-style format.
8100         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
8101         (elint-get-log-buffer): Use compilation mode.  Disable undo.
8102         Don't truncate lines.
8103         (elint-initialize): Set builtin and autoloaded variable lists.
8104         Only process elint-unknown-builtin-args if non-nil.
8105         (elint-find-builtin-variables, elint-find-autoloaded-variables):
8106         New functions.
8107         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
8109 2009-07-22  Kevin Ryde  <user42@zip.com.au>
8111         * net/newst-backend.el (newsticker--parse-atom-1.0)
8112         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
8113         (newsticker--parse-rss-1.0):
8114         * progmodes/idlwave.el (idlwave-mode):
8115         * progmodes/idlw-shell.el (idlwave-shell-mode):
8116         * progmodes/vera-mode.el (vera-mode):
8117         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
8118         * progmodes/vhdl-mode.el (vhdl-mode):
8119         * textmodes/table.el (table-generate-source)
8120         (table--warn-incompatibility):
8121         Hyperlink urls in docstrings with URL `...'.
8123 2009-07-22  Glenn Morris  <rgm@gnu.org>
8125         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
8126         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
8127         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
8128         Remove leading * from defcustom docs.
8130         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
8132         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
8133         defcustom doc.
8134         (list-load-path-shadows): Optionally, just return shadows as a string.
8136         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
8138 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
8140         * mail/rmailedit.el (rmail-edit-mode): Use
8141         auto-save-include-big-deletions.
8143         * mail/rmail.el (rmail-variables): Use
8144         auto-save-include-big-deletions.
8146         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
8147         changes.
8149 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
8151         * calc/calc.el (calc-undo-length): New variable.
8152         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
8154 2009-07-21  Richard Stallman  <rms@gnu.org>
8156         * files.el (auto-save-mode): Handle buffer-save-size = -2
8157         for toggling mode.
8159 2009-07-21  Glenn Morris  <rgm@gnu.org>
8161         * textmodes/ispell.el (ispell-looking-back): Update declaration.
8163         * calendar/todo-mode.el (calendar-current-date): Update declaration.
8165         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
8166         silence compiler.  Instead...
8167         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
8168         (ps-print-ensure-fontified): Update for above function name changes.
8170         * printing.el (pr-mh-get-msg-num, pr-mh-show)
8171         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
8172         silence compiler.  Instead...
8173         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
8174         (mh-show-buffer): Only define for compiler.
8175         (pr-mh-current-message): Update for above function name changes.
8177         * files.el (abort-if-file-too-large): Explicitly pass `filename'
8178         as an argument.
8179         (find-file-noselect, insert-file-1): Update for above change.
8181         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
8183         * mail/mailclient.el (mailclient-send-it): Fix message.
8185         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
8186         (edebug-eval): Check cl-debug-env is bound.
8187         (print-level, print-circle): Don't redefine built-in variables.
8189         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
8190         (custom-print-vectors): Remove old comments from doc.
8192         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
8193         (emerge-version): Make the variable an obsolete alias for the
8194         emacs-version variable.  Make the function obsolete.
8195         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
8196         Emerge options, rather than merging in into the main Options menu.
8197         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
8198         and auto advance modes.  Disable edit/fast items when not relevant.
8200 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
8202         * term/vt420.el (terminal-init-vt420): Fix typo.
8204 2009-07-20  Sam Steingold  <sds@gnu.org>
8206         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
8207         variable (removed from compile.el on 2004-03-11).
8209 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
8211         * files.el (hack-local-variables-filter): Fix last change.
8213 2009-07-19  Juri Linkov  <juri@jurta.org>
8215         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
8216         (dir-local-variables-alist): New buffer-local variable.
8217         (hack-local-variables-filter): If variable is not dir-local,
8218         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
8219         because file-local overrides dir-local.
8220         (c-postprocess-file-styles)<declare-function>:
8221         Remove obsolete declaration.
8222         (hack-dir-local-variables): Add dir-local variable/value pair to
8223         `dir-local-variables-alist' and remove duplicates.  Doc fix.
8225         * help-fns.el (describe-variable): Add information about
8226         file-local and dir-local variables.
8228 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
8230         * files.el (hack-local-variables-filter): Rewrite.
8232 2009-07-19  Glenn Morris  <rgm@gnu.org>
8234         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
8235         Silence compiler by only defining on XEmacs.
8237         * international/mule.el (auto-coding-regexp-alist): Only match
8238         BABYL... at the start of buffer, not of lines.  (Bug#3790)
8240         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
8241         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
8242         (cal-menu-context-mouse-menu): Doc fix.
8244         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
8246         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
8248 2009-07-18  Juri Linkov  <juri@jurta.org>
8250         * info.el: Virtual Info keyword finder.
8251         (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
8252         (Info-finder-file): New variable.
8253         (Info-finder-find-file): New function.
8254         (finder-known-keywords, finder-package-info)
8255         (find-library-name, lm-commentary): Use defvar and
8256         declare-function to silence compiler warnings.
8257         (Info-finder-find-node): New function.
8258         (info-finder): New command.
8260         * subr.el (process-kill-buffer-query-function): New function.
8261         (add-hook)<kill-buffer-query-functions>: Add hook
8262         `process-kill-buffer-query-function'.
8264 2009-07-18  Alan Mackenzie  <acm@muc.de>
8266         * progmodes/cc-mode.el (c-before-hack-hook)
8267         (c-postprocess-file-styles): Give invocation of `c-set-style'
8268         DONT-OVERRIDE parameter of t.  Already set style variables will
8269         thus not be overridden by style settings given by `c-file-syle'.
8271         * files.el (hack-local-variables-filter): Remove entries with
8272         duplicate keys from `file-local-variables-alist'.
8274 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
8276         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
8277         x-set-selection if display-selections-p returns nil for the
8278         current frame.
8280 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
8282         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
8284 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
8286         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
8287         Accept nil in addition to a regexp.
8288         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
8289         Accept nil in addition to a regexp.
8290         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
8291         buffers that have an associated file.  Handle nil values of
8292         desktop-buffers-not-to-save and desktop-files-not-to-save.
8293         (Bug#3833)
8295         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8296         (x-disown-selection-internal): New functions.
8298 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
8300         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
8301         warning.
8302         (gdb-breakpoints-header): Move forward to avoid compiler warning.
8303         (gdb-make-header-line-mouse-map): Remove duplicate definition.
8305 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
8307         * simple.el (set-mark): Revert last change.
8309 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
8311         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
8312         rendering of pngs is not possible instead of messaging a long
8313         description.
8315 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
8317         * w32-fns.el (x-selection-owner-p): New function.
8319         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
8320         (mouse-yank-at-click, mouse-yank-primary): If
8321         select-active-regions is non-nil, deactivate the mark before
8322         insertion.
8324         * simple.el (deactivate-mark, set-mark): Only save selection if we
8325         own it.
8327 2009-07-17  Kenichi Handa  <handa@m17n.org>
8329         * case-table.el (describe-buffer-case-table): Fix for the case
8330         that KEY is a cons.
8332 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
8334         * vc-rcs.el (vc-rcs-find-file-hook):
8335         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
8337 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
8339         * net/tramp.el (tramp-wait-for-output): Handle the case when
8340         commands do not return a newline but a null byte before the shell
8341         prompt.  (Bug#3858)
8343 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8345         * term/ns-win.el (ns-set-alpha): Don't declare.
8346         (ns-set-background-alpha): Remove function.
8348 2009-07-16  Kevin Ryde  <user42@zip.com.au>
8350         * emacs-lisp/copyright.el (copyright-update): Save match-data across
8351         y-or-n-p, for safety.
8353 2009-07-16  Richard Stallman  <rms@gnu.org>
8355         * files.el (auto-save-mode): If buffer-saved-size is -2,
8356         don't clobber it.
8358         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
8359         (rmail-retry-ignored-headers): Add more uninteresting fields.
8361 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
8363         * net/rcirc.el (rcirc): Use history variables.
8364         (rcirc-server-name-history, rcirc-nick-name-history)
8365         (rcirc-server-port-history): New variables.
8367 2009-07-15  Kenichi Handa  <handa@m17n.org>
8369         * international/mule-cmds.el (set-language-environment-charset):
8370         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
8371         ignore them.
8373         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
8374         Delete unibyte-display.
8376 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
8378         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
8380 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
8382         * simple.el (deactivate-mark): Optional argument FORCE.
8383         (set-mark): Use deactivate-mark.
8385         * info.el (Info-search): No need to check transient-mark-mode
8386         before calling deactivate-mark.
8388         * select.el (x-set-selection): Doc fix.
8389         (x-valid-simple-selection-p): Allow buffer values.
8390         (xselect--selection-bounds): Handle buffer values.  Suggested by
8391         David De La Harpe Golden.
8393         * mouse.el (mouse-set-region, mouse-drag-track): Call
8394         copy-region-as-kill before setting the mark, to let
8395         select-active-regions work.
8397 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
8399         * simple.el (deactivate-mark): If select-active-regions is
8400         non-nil, copy the selection data into a string.
8401         (activate-mark): If select-active-regions is non-nil, set the
8402         selection to the current buffer.
8403         (set-mark): Update selection if select-active-regions is non-nil.
8405         * select.el (x-valid-simple-selection-p): Allow buffer values.
8407 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8409         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
8410         and more featureful message-mode.
8412 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
8414         * select.el (x-set-selection): Doc fix.
8415         (x-valid-simple-selection-p): Disallow selection data consisting
8416         of a list or cons of integers, since that is not used.
8417         (xselect--selection-bounds, xselect--int-to-cons): New functions.
8418         (xselect-convert-to-string, xselect-convert-to-length)
8419         (xselect-convert-to-filename, xselect-convert-to-charpos)
8420         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
8422 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
8424         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
8425         output in -break-info command (Emacs bug #3794).
8427 2009-07-14  Glenn Morris  <rgm@gnu.org>
8429         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
8430         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
8431         (edebug-print-length, edebug-print-level, edebug-print-circle)
8432         (edebug-sit-for-seconds, edebug-view-outside)
8433         (edebug-bounce-point, edebug-set-global-break-condition)
8434         (edebug-Go-nonstop-mode, edebug-trace-mode)
8435         (edebug-Trace-fast-mode, edebug-continue-mode)
8436         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
8437         (edebug-visit-eval-list): Doc fixes.
8439         * subr.el (def-edebug-spec): Doc fix.
8441 2009-07-14  Kenichi Handa  <handa@m17n.org>
8443         * international/characters.el: Fix setting of category ?C.
8445 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
8447         * term/ns-win.el (x-select-font): defalias x-select-font to
8448         ns-popup-font-panel instead of generate-fontset-menu.
8450 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
8452         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
8454 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
8456         * arc-mode.el (archive-find-type): Allow for a PK00 string before
8457         the PK\003\004 header (Bug#3770).
8459 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
8461         * pcomplete.el (pcomplete-comint-setup): Check for
8462         shell-dynamic-complete-filename too.
8464 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
8466         * simple.el (temporary-goal-column): Change the value for
8467         line-move-visual to a cons cell.
8468         (line-move-visual): Record or set the window hscroll, if
8469         necessary (Bug#3494).
8470         (line-move-1): Handle cons value of temporary-goal-column.
8472 2009-07-11  Kenichi Handa  <handa@m17n.org>
8474         * international/mule-diag.el (describe-character-set): Don't show
8475         width.
8477 2009-07-10  Sam Steingold  <sds@gnu.org>
8479         * progmodes/compile.el (compilation-mode-font-lock-keywords):
8480         Omake sometimes indents the errors it prints, so allow all
8481         regexps to start with spaces.
8483 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
8485         * cus-edit.el (customize-changed-options-previous-release):
8486         Bump value to 22.1.  (Bug#3804)
8488 2009-07-08  Sam Steingold  <sds@gnu.org>
8490         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
8491         to be a cons cell (test . ignored-directory) to selectively ignore
8492         some directories depending on the location of the search.
8494 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
8496         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
8497         remote user is root, on the local host.
8498         (tramp-local-host-p): Either the local user or the remote user
8499         must be root.  (Bug#3771)
8501 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
8503         * progmodes/gdb-mi.el (gdb): Remove description of
8504         gdb-use-separate-io-buffer.
8505         (menu): Don't allow toggling of or enable
8506         gdb-use-separate-io-buffer from menubar.
8508 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
8510         * mail/unrmail.el (unrmail): Make sure the message ends with two
8511         newlines (Bug#3769).
8513 2009-07-08  Glenn Morris  <rgm@gnu.org>
8515         * calendar/calendar.el (calendar-current-date): Rework previous change.
8517 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
8519         * calendar/calendar.el (calendar-current-date):
8520         Add an optional argument giving an offset from today.
8522 2009-07-08  Glenn Morris  <rgm@gnu.org>
8524         * tutorial.el (tutorial--describe-nonstandard-key):
8525         Adjust the message for when a key has been unbound.
8526         (help-with-tutorial): Hide the arch-tag.
8528 2009-07-08  Kenichi Handa  <handa@m17n.org>
8530         * international/fontset.el (setup-default-fontset): For each
8531         script, append (not set) font-specs.
8533         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
8534         docstring.
8536 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
8538         * progmodes/gdb-mi.el (gdb-init-1): Move sending
8539         -data-list-register-names to ...
8540         (gdb-starting): ... here because GDB 7.0 requires execution to
8541         have started when using this MI command.
8542         (gdb-set-header): New function to distinguish select and
8543         unselected tabs in gdb buffers.
8544         (gdb-propertize-header): New macro that uses gdb-set-header.
8545         (gdb-breakpoints-header, gdb-locals-header): Use it.
8546         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
8548 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
8550         * Makefile.in (ELCFILES): Remove fadr.elc.
8552 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
8554         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
8555         may contain frame information, so `string-match' should be used.
8556         (gdb-update): Disassembly is invalidated through
8557         `gdb-get-selected-frame'.
8558         (gdb-pad-string): New function to pad string with spaces.
8559         (gdb-invalidate-disassembly): Invalidate only if the buffer
8560         exists.
8561         (gdb-disassembly-handler-custom): Column alignment.
8562         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
8563         placing new ones.
8564         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
8565         end of line, too.
8566         (gdb-frame-handler): Match convention to for disassembly buffer
8567         mode name.
8568         (gdb-stack-list-frames-handler): Rewritten without regexps.
8569         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
8570         not highlight breakpoints without line information.
8571         (gdb-input): Add trailing newline to command.
8573         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
8574         buffer properly.
8575         (gdb-breakpoints-list-handler-custom): Replacement for
8576         `gdb-break-list-handler'.  Using real parser instead of regexps
8577         now.
8578         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
8579         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
8580         to place breakpoints.
8581         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
8582         functions.
8583         (gdb-disassembly-handler-custom): Show overlay arrow.
8584         (gdb-disassembly-place-breakpoints): Show breakpoints in
8585         disassembly buffer.
8586         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
8587         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
8588         instead of parsing breakpoints buffer.  Fixed old menu references
8589         in `gud-menu-map'.
8591         * fadr.el: Remove.
8593         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
8594         (gdb-memory-address): New variable which holds top address of
8595         memory page shown in memory buffer.
8596         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
8597         customization variables.
8598         New functions:
8599         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
8600         display the memory buffer.
8601         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
8602         buffer display parameters.
8603         (def-gdb-memory-format, gdb-memory-format-binary)
8604         (gdb-memory-format-octal, gdb-memory-format-unsigned)
8605         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
8606         Functions for setting memory buffer format.
8607         (gdb-memory-unit-word, gdb-memory-unit-halfword)
8608         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
8609         unit size used in memory buffer.
8610         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
8611         to next/previous page of memory buffer.
8612         Now using (bindat-get-field) instead of fadr functions.
8614 2009-07-07  Sam Steingold  <sds@gnu.org>
8616         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
8617         non-top-level files.
8619 2009-07-07  Kenichi Handa  <handa@m17n.org>
8621         * international/mule-cmds.el (reset-language-environment): Put
8622         the highset priority to the charset iso-8859-1.
8624 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
8626         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
8627         to the end of the line when locating the block (Bug#700).
8629 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
8631         * net/tramp.el (tramp-handle-write-region): Flush file properties
8632         in case of short track.
8634 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
8636         * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
8637         representation of verilog error regular expressions to work with
8638         Emacs-22's new format.
8639         (verilog-error-regexp-xemacs-alist): Coded custom representation
8640         of verilog error regular expressions to work with XEmacs format.
8641         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
8642         error recognition into XEmacs.
8643         (verilog-error-regexp-add-emacs): Hook routine to install verilog
8644         error recognition into Emacs-22.
8646 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
8648         * woman.el: Remove stand-alone closing parentheses.
8649         (woman-file-name, woman2-format-paragraphs)
8650         (woman-leave-blank-lines): Code cleanup.
8651         (woman-use-own-frame): Change default to nil.
8652         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
8653         defaults to inherit from default faces.
8654         (woman2-process-escapes): Consume the newline after a stand-alone
8655         filler character (Bug#3651).
8657 2009-07-06  Glenn Morris  <rgm@gnu.org>
8659         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
8660         (top-level): Move provide to the end.
8661         (ffap): Remove defunct URL from custom group.
8663         * subr.el (eval-after-load): Doc fix.
8665 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
8667         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
8668         `calc-embedded-word' is called twice.
8670 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8672         * files.el (find-alternate-file-other-window, find-alternate-file):
8673         Obey confirm-nonexistent-file-or-buffer.
8675 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
8677         * dired-aux.el (dired-show-file-type): Handle remote files.
8679 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
8681         * desktop.el (desktop-globals-to-save):
8682         Add file-name-history (Bug#2750).
8684 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
8686         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
8688 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
8690         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
8691         property on entire argument since this is what eshell-lisp-command
8692         expects.
8694 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
8696         * net/tramp-gvfs.el (tramp-gvfs-methods)
8697         (tramp-gvfs-zeroconf-domain)
8698         (tramp-bluez-discover-devices-timeout): Add version flag.
8699         (tramp-gvfs-handler-mounted-unmounted)
8700         (tramp-gvfs-connection-mounted-p): Polish handling of
8701         incompatibilities between GVFS 0.2 and 1.0.
8703 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
8705         * cus-start.el (all): Add make-pointer-invisible.
8707 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
8709         * calc-math.el (math-use-emacs-fn): Make sure that the number is
8710         formatted correctly.
8712 2009-07-02  Juri Linkov  <juri@jurta.org>
8714         * info.el: Virtual Info files and nodes.
8715         (Info-virtual-files, Info-virtual-nodes): New variables.
8716         (Info-current-node-virtual): New variable.
8717         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
8718         New functions.
8719         (Info-file-supports-index-cookies): Use Info-virtual-file-p
8720         to check for a virtual file instead of checking a fixed list
8721         of node names.
8722         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
8723         instead of ad-hoc processing of "dir" and (apropos history toc).
8724         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
8725         instead of ad-hoc processing of "dir" and (apropos history toc).
8726         Reread a file when moving from a virtual node.
8727         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
8728         (Info-directory-toc-nodes, Info-directory-find-file)
8729         (Info-directory-find-node): New functions.
8730         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
8731         (Info-history): Move part of code to
8732         `Info-history-find-node'.
8733         (Info-history-toc-nodes, Info-history-find-file)
8734         (Info-history-find-node): New functions.
8735         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
8736         (Info-toc): Move part of code to `Info-toc-find-node'.
8737         (Info-toc-find-node): New function.
8738         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
8739         the current Info file name to references because now the node
8740         "*TOC*" belongs to the same Info manual.
8741         (Info-toc-build): Rename from `Info-build-toc'.
8742         (Info-toc-nodes): Rename input argument `file' to `filename'.
8743         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
8744         instead of ad-hoc processing of ("dir" apropos history toc).
8745         (Info-index-nodes): Use Info-virtual-file-p
8746         to check for a virtual file instead of checking a fixed list
8747         of node names.
8748         (Info-index-node): Add check for `Info-current-node-virtual'.
8749         Raise `save-match-data' higher up the tree to contain
8750         `search-forward' too (bug fix).
8751         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
8752         (Info-virtual-index-nodes): New variable.
8753         (Info-virtual-index-find-node, Info-virtual-index): New functions.
8754         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
8755         (Info-apropos-file, Info-apropos-nodes): New variables.
8756         (Info-apropos-toc-nodes, Info-apropos-find-file)
8757         (Info-apropos-find-node, Info-apropos-matches): New functions.
8758         (info-apropos): Move part of code to `Info-apropos-find-node' and
8759         `Info-apropos-matches'.
8760         (Info-mode-map): Bind "I" to `Info-virtual-index'.
8761         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
8762         for a virtual file instead of checking a fixed list of node names.
8764         * simple.el (async-shell-command): New command.
8766         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
8768         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
8769         instead of `mount-info'.
8771 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
8773         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
8774         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
8776 2009-07-02  Kenichi Handa  <handa@m17n.org>
8778         * international/mule.el (set-keyboard-coding-system): Force *-unix
8779         coding-system to avoid eol conversion.
8781 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
8783         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8784         Add handler for `process-file', `shell-command' and
8785         `start-file-process'.
8786         (tramp-gvfs-handle-shell-command)
8787         (tramp-gvfs-handle-start-file-process)
8788         (tramp-gvfs-handle-process-file): New defuns.
8789         (tramp-synce-list-devices): Simplify check for existence of property.
8791 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
8793         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
8795 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
8797         * language/korean.el (set-language-info-alist): Add korean-cp949,
8798         cp949 to spec.
8800 2009-07-01  Kenichi Handa  <handa@m17n.org>
8802         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
8804         * international/encoded-kb.el: Deleted.
8806         * international/mule.el (set-keyboard-coding-system): Perform the
8807         necessary setup here instead of calling encoded-kbd-setup-display.
8809 2009-07-01  Glenn Morris  <rgm@gnu.org>
8811         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
8813 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
8815         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
8817 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
8819         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
8820         Handle also the 'rename case, when setting file modes.  (Bug#3712)
8821         (tramp-default-file-modes) Remove execute permissions.
8823         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
8824         (top): Add a default for "synce" in `tramp-default-user-alist'.
8825         Add completion function for "synce" method.
8826         (tramp-hal-service, tramp-hal-path-manager)
8827         (tramp-hal-interface-manager, tramp-hal-interface-device):
8828         New defconst.
8829         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
8830         (tramp-synce-list-devices, tramp-synce-parse-device-names):
8831         New defuns.
8833         * net/trampver.el: Update release number.
8835 2009-06-30  Kenichi Handa  <handa@m17n.org>
8837         * international/fontset.el (setup-default-fontset): Add CJK fonts
8838         for symbols and the other miscellaneous characters.
8840         * language/korea-util.el (setup-korean-environment-internal):
8841         Make char-width-table suitable for Korean environments.
8842         (exit-korean-environment): Cancel above.
8844         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8845         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
8846         setup-funcion to make char-widht-table suitable for respective
8847         environments, and an exit-function to cancel that.
8849         * language/japan-util.el (setup-japanese-environment-internal):
8850         Call use-cjk-char-width-table with arg `ja_JP'.
8852         * international/characters.el (cjk-char-width-table): Delete it.
8853         (cjk-char-width-table-list): New variable.
8854         (use-cjk-char-width-table): New arg local-name.
8855         (use-default-char-width-table): Fix for the case that Emacs is
8856         already using the default char-width-table.
8858 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
8860         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
8861         modes mandatory.  (Bug#3712)
8863 2009-06-29  Alan Mackenzie  <acm@muc.de>
8865         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
8866         correction between the visible width of TABs and their number of bytes.
8868 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
8870         * server.el (server-buffer-done): Prevent kill-buffer from
8871         prompting by clearing the buffer modification flag (Bug#3696).
8873 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
8875         * verilog-mode.el (verilog-beg-of-statement)
8876         (verilog-endcomment-reason-re): Support unique case and priority case.
8877         (verilog-basic-complete-re): Support localparam lineup.
8878         (verilog-beg-of-statement-1): Fix for robustness, unique case.
8879         (verilog-set-auto-endcomments): Fix for unique case, always_comb
8880         commenting.
8881         (verilog-leap-to-case-head): Now support *nested* unique &
8882         priority case statements.
8883         (verilog-auto-lineup): Make just declarations the default (as it
8884         had been).
8885         (verilog-leap-to-case-head): Support priority/unique case statements.
8886         (verilog-auto-lineup): Rework to give users radio buttons to
8887         select the various styles of automatic lineup.
8888         (verilog-error-regexp-alist): Rework to support the XEmacs style
8889         of error regular expressions from compilers, lint tools &
8890         simulators.  Note that GNU Emacs has made it impossible for a mode
8891         to load such things.
8892         (electric-verilog-terminate-line, verilog-indent-declaration)
8893         (verilog-auto-wiure): Rework for radio button selection of
8894         auto-lineup selection of specification of auto lineup.
8895         (verilog-beg-of-statement-1): Redesign to support proper operation
8896         in additional code, based on testing with auto-lineup.
8897         (verilog-calculate-indent, assignments & declarations)
8898         (verilog-backward-token): Enhance to support auto-lineup of
8899         assignments & declarations.
8900         (verilog-in-directive-p, verilog-at-struct-p): New function for
8901         easy test of whether we are.
8902         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
8903         to support safe execution at almost anyline.
8904         (verilog-calc-1): Properly support indenting deep inside generate
8905         blocks.
8906         (verilog-init-font) Remove definition & use of verilog-init-font,
8907         as it is redundant with font-lock-defaults.
8908         (verilog-mode): Alter the definition of verilog-font-lock-defaults
8909         to avoid circular calls if syntax-ppss is a function (as is the
8910         case now in 22.x GNU Emacs) as that function would sometimes call
8911         itself, leading to (nearly) infinite recursion.
8912         (verilog-ovm-begin-re, verilog-ovm-end-re)
8913         (verilog-ovm-statement-re, verilog-leap-to-head)
8914         (verilog-backward-token): Add support for OVM macros.  Some are
8915         complete statements, and others open and close scopes like begin
8916         and end.
8917         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
8918         (verilog-defun-level-generate-only-re): Really fix the defun-list
8919         compilation issue.
8920         (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
8921         coverpoint, constraint and cross statements.
8922         (verilog-defun-level-list, verilog-generate-defun-level-list)
8923         (verilog-all-defun-level-list): Redo these specifications - it is
8924         too hard to support eval-when compile aggregation of lists also
8925         built at when-compile time.
8926         (verilog-defun-level-list): Place defconsts of variables used in
8927         building regular expressions which are built in eval-when-compile
8928         bodies in the same eval-when-compile body to facilitate compile
8929         without load.
8930         (verilog-beg-block-re-ordered): Support indenting
8931         virtual/protected tasks and functions.
8932         (verilog-defun-level-list, verilog-in-generate-region-p)
8933         (verilog-backward-ws&directives, verilog-calc-1): Speed up
8934         indentation of some module items (generate items).
8935         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
8936         across virtual/protected tasks and functions.
8938 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
8940         * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
8941         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
8942         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
8943         in concatenations.  Reported by Yishay Belkind.
8944         (verilog-auto-ascii-enum): Support one-hot state machines in
8945         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
8946         (verilog-auto-inst, verilog-auto-inst-port): Include interface
8947         modport in AUTOINST and add vl-modport for users.  Reported by
8948         David Rogoff.
8949         (verilog-auto-inout-module, verilog-auto-inst)
8950         (verilog-decls-get-interfaces, verilog-insert-definition)
8951         (verilog-insert-one-definition, verilog-read-decls)
8952         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
8953         (verilog-sig-modport, verilog-signals-combine-bus)
8954         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
8955         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
8956         Suggested by David Rogoff.
8957         (verilog-repair-open-comma): Fix non-insertion of comma when
8958         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
8959         (verilog-make-width-expression): Simplify [A-1:0] expression
8960         widths to just {A{1'b0}}.
8961         (verilog-mode): Cleanup checkdoc warnings.
8962         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
8963         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
8964         inputs/outputs or data type.  Suggested by Vasu Kandadi.
8965         (next-error-last-buffer): Fix byte-compiler warning.
8966         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
8967         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
8968         or shell command text during AUTO expansion.  Suggested by Tad Truex.
8969         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
8970         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
8971         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
8972         in AUTOINOUT.  Reported by Matthew Lovell.
8973         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
8974         causing use of <= assignments.  Reported by Alex Reed.
8975         (verilog-read-decls): Fix triand, trior, wand, wor to be
8976         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
8977         (verilog-extended-complete-re): Support import "DPI-C" functions.
8978         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
8979         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
8980         (verilog-insert-date, verilog-insert-year)
8981         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
8982         Windows systems.  Reported by Michael Potts.
8983         (verilog-read-module-name): Fix AUTOINST when the child module
8984         declaration's name is a tick define.  Reported by Elliot Mednick.
8985         (verilog-read-decls): Fix V2K parameter bit subscripts getting
8986         passed to next parameter's definition.  Reported by Bruce T.
8987         (verilog-read-decls): Fix detecting "parameter int" when using
8988         AUTOINSTPARAM.  Reported by Bruce T.
8989         (verilog-goto-defun): Fix goto not finding modules unless first
8990         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
8991         (verilog-mode): Expand -f flag arguments on entry to mode so
8992         verilog-goto-defun will work.  Reported by Lawrence Butcher.
8993         (verilog-getopt): Expand environment variables in -f file
8994         arguments.  Suggested by Lawrence Butcher.
8995         (verilog-set-define): Fix "Symbol's value as variable is void"
8996         when reading enumerations.
8997         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
8998         Suggested by Stephen Peltan.
8999         (verilog-read-defines): Fix reading of enumerations in include
9000         files.  Reported by Steve Peltan.
9002 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
9004         * files.el (trash-directory): Fix defcustom type.
9006 2009-06-28  Juri Linkov  <juri@jurta.org>
9008         * help-fns.el (describe-function-1): Correctly locate adviced
9009         functions in hyperlink (Bug#2438).
9011 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
9013         * files.el (trash-directory): Change default to nil.
9014         (move-file-to-trash): If trash-directory is nil and
9015         system-move-file-to-trash is unbound, perform freedesktop-style
9016         trashing.
9018 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
9020         * files.el (move-file-to-trash): Add freedesktop trash
9021         support (Bug#973).
9023 2009-06-28  Glenn Morris  <rgm@gnu.org>
9025         * autorevert.el (global-auto-revert-non-file-buffers)
9026         (global-auto-revert-mode): Doc fixes.
9028 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
9030         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
9032 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
9034         * faces.el (x-handle-named-frame-geometry): Ensure that we have
9035         opened an X connection before calling x-get-resource (Bug#3194).
9037         * play/doctor.el: Remove reference to obsolete website.
9038         (make-doctor-variables): Correct grammar mistake (Bug#2633).
9040 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
9042         Remove find-file-not-found-hook VC method.  (Bug#2757)
9043         * vc-hooks.el (vc-file-not-found-hook)
9044         (vc-default-find-file-not-found-hook): Remove functions.
9045         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
9046         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
9047         * vc.el:
9048         * vc-hg.el:
9049         * vc-git.el: Do not mention find-file-not-found-hook VC method.
9051 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9053         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
9054           compatibility function for `looking-back'.
9056         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9057         Use `ispell-looking-back'.
9059 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
9061         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
9062         rather than `filename'.
9064 2009-06-23  Miles Bader  <miles@gnu.org>
9066         * face-remap.el (text-scale-set): New function.
9068 2009-06-23  Glenn Morris  <rgm@gnu.org>
9070         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
9072         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
9074         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
9076         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
9078         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
9079         Simplify Persian conditionals.
9081         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
9082         variable `filename'.
9084         * comint.el (comint-insert-input): Doc fix.
9086         * Makefile.in (ELCFILES): Fix typo in previous change.
9088 2009-06-23  Miles Bader  <miles@gnu.org>
9090         * cus-start.el: Add entry for `recenter-redisplay'.
9092 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
9094         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
9095         Add an optional argument for the backend, use it instead of
9096         calling vc-backend.
9097         (vc-mode-line): Add an optional argument for the backend.
9098         Pass the backend to vc-state and vc-working-revision.  Move code for
9099         special handling for vc-state being a buffer to ...
9101         * vc-rcs.el (vc-rcs-find-file-hook):
9102         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
9104         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
9105         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
9106         vc-stay-local-p and vc-mode-line calls.
9108         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
9109         (vc-cvs-diff, vc-cvs-annotate-command)
9110         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
9111         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
9112         vc-mode-line calls.
9114         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
9115         direct comparison.
9116         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
9117         backend when calling vc-mode-line.
9118         (vc-register): Do not create a closure for calling the vc register
9119         function, call it directly.
9121 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
9123         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
9124         to make it obvious item can be clicked.
9126         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
9128 2009-06-23  Kenichi Handa  <handa@m17n.org>
9130         * language/korea-util.el (korean-key-bindings): Change the binding
9131         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
9132         same command.
9134 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
9136         Sync with Tramp 2.1.16.
9138         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
9140         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
9141         when a loading of a package fails.  Completion function for rsync
9142         is `tramp-completion-function-alist-ssh'.
9143         (all): Replace all calls of `split-string' and
9144         `tramp-split-string' by `tramp-compat-split-string'.
9145         (tramp-default-method): Use `tramp-compat-process-running-p'.
9146         (tramp-default-proxies-alist): Allow also Lisp forms.
9147         (tramp-remote-path): Add choice "Private Directories".
9148         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
9149         (tramp-domain-regexp): Allow also "-", "_" and ".".
9150         (tramp-end-of-output): Remove newlines, and add "$" at the end.
9151         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
9152         (tramp-debug-message): Insert header line in debug buffer.
9153         (tramp-handle-directory-files-and-attributes-with-stat):
9154         Care about filenames with spaces, or starting with "-".
9155         (tramp-handle-dired-uncache): New defun.
9156         (tramp-handle-insert-directory): Don't flush the directory from
9157         cache, this is handled by `dired-uncache' now.
9158         (tramp-handle-insert-file-contents): Improve error handling.
9159         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9160         Quote `tramp-end-of-output'.
9161         (tramp-action-password): Improve trace message.
9162         (tramp-check-for-regexp): Both echoes must be present, before removing.
9163         (tramp-open-connection-setup-interactive-shell): Trace coding system.
9164         (tramp-compute-multi-hops): Eval cons cells of
9165         `tramp-default-proxies-alist'.
9166         (tramp-maybe-open-connection): Use the same command pattern for
9167         first hop and further hops.
9168         (tramp-wait-for-output): Remove handling of newlines.
9169         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
9170         (tramp-split-string): Remove function.  It is handled in
9171         tramp-compat now.
9173         * net/tramp-cmds.el (tramp-bug):
9174         Recommend `tramp-cleanup-all-connections' in the bug mail.
9176         * net/tramp-compat.el (tramp-compat-split-string)
9177         (tramp-compat-process-running-p): New defuns.
9179         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
9180         for `dired-uncache'.
9182         * net/tramp-gvfs.el: New package.
9184         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9185         Add handler for `dired-uncache'.
9186         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
9188         * net/trampver.el: Update release number.  Make version check fit
9189         for SXEmacs 22.
9191 2009-06-22  Jim Meyering  <meyering@redhat.com>
9193         Automatically handle .xz suffix (XZ-compressed files), too.
9194         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
9195         XZ is the successor to LZMA: <http://tukaani.org/xz/>
9197 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
9198             Nick Roberts  <nickrob@snap.net.nz>
9200         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
9201         repository (http://sphinx.net.ru/hg/gdb-mi/).
9203 2009-06-22  Glenn Morris  <rgm@gnu.org>
9205         * files.el (dir-locals-collect-mode-variables): Allow for any number of
9206         `mode' and `eval' entries.  (Bug#3430)
9208         * Makefile.in (ELCFILES): Add fadr.elc.
9210         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
9211         differing behavior of \n and ^ in strings.  (Bug#3385)
9213         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
9215         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
9216         property.
9217         (lisp-indent-function): Make it a defcustom.
9219 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
9221         * progmodes/gdb-ui.el: Replace with ...
9222         * progmodes/gdb-mi.el: ... this file.
9223         * progmodes/gud.el: Modify for gdb-mi.el.
9225 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
9227         * fadr.el: New file.
9229 See ChangeLog.14 for earlier changes.
9231 ;; Local Variables:
9232 ;; coding: utf-8
9233 ;; End:
9235     Copyright (C) 2009  Free Software Foundation, Inc.
9237   This file is part of GNU Emacs.
9239   GNU Emacs is free software: you can redistribute it and/or modify
9240   it under the terms of the GNU General Public License as published by
9241   the Free Software Foundation, either version 3 of the License, or
9242   (at your option) any later version.
9244   GNU Emacs is distributed in the hope that it will be useful,
9245   but WITHOUT ANY WARRANTY; without even the implied warranty of
9246   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9247   GNU General Public License for more details.
9249   You should have received a copy of the GNU General Public License
9250   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
9252 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1