* lisp/files.el (auto-mode-alist): Use html-mode for *.xhtml.
[emacs.git] / lisp / ChangeLog
bloba63aa192181da46754134b895a8663a6547f468f
1 2010-12-11  Karel Klíč  <kklic@redhat.com>
3         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
5 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7         Derive from prog-mode, use derived-mode-p, and fix up various
8         minor style issues in lisp/progmodes.
10         * progmodes/vhdl-mode.el (vhdl-mode):
11         * progmodes/verilog-mode.el (verilog-mode):
12         * progmodes/vera-mode.el (vera-mode):
13         * progmodes/sql.el (sql-mode):
14         * progmodes/scheme.el (scheme-mode):
15         * progmodes/perl-mode.el (perl-mode):
16         * progmodes/octave-inf.el (inferior-octave-mode):
17         * progmodes/autoconf.el (autoconf-mode):
18         * progmodes/m4-mode.el (m4-mode):
19         * progmodes/inf-lisp.el (inferior-lisp-mode):
20         * progmodes/idlwave.el (idlwave-mode):
21         * progmodes/icon.el (icon-mode):
22         * progmodes/idlw-help.el (idlwave-help-mode):
23         * progmodes/dcl-mode.el (dcl-mode):
24         * progmodes/idlw-shell.el (idlwave-shell-mode):
25         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
26         (ebrowse-member-mode, ebrowse-electric-position-mode):
27         Use define-derived-mode.
29         * progmodes/xscheme.el (exit-scheme-interaction-mode)
30         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
31         (xscheme-debugger-mode-p, xscheme-send-string-1):
32         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
33         (tcl-load-file, tcl-restart-with-file):
34         * progmodes/ps-mode.el (ps-run-running):
35         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
36         * progmodes/js.el (js--get-all-known-symbols):
37         * progmodes/inf-lisp.el (inferior-lisp-proc):
38         * progmodes/idlwave.el (idlwave-beginning-of-statement)
39         (idlwave-template, idlwave-update-buffer-routine-info)
40         (idlwave-update-current-buffer-info)
41         (idlwave-get-routine-info-from-buffers, idlwave-choose)
42         (idlwave-scan-class-info, idlwave-fix-keywords)
43         (idlwave-list-buffer-load-path-shadows):
44         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
45         (idlwave-toolbar-remove):
46         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
47         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
48         (idlwave-shell-menu-def):
49         * progmodes/idlw-complete-structtag.el
50         (idlwave-prepare-structure-tag-completion):
51         * progmodes/gud.el (gud-set-buffer):
52         * progmodes/f90.el (f90-backslash-not-special):
53         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
55         * progmodes/xscheme.el (xscheme-start)
56         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
57         * progmodes/which-func.el (which-function):
58         * progmodes/vhdl-mode.el (vhdl-set-style):
59         * progmodes/verilog-mode.el (verilog-set-compile-command)
60         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
61         (verilog-set-define, verilog-auto-reeval-locals):
62         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
63         * progmodes/simula.el (simula-mode):
64         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
65         * progmodes/python.el (python-check, python-mode):
66         * progmodes/prolog.el (prolog-mode-variables):
67         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
68         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
69         * progmodes/delphi.el (delphi-mode):
70         * progmodes/cc-styles.el (c-setup-paragraph-variables):
71         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
72         (c-font-lock-init): Move make-local-variable to their setq.
74         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
75         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
76         make-local-hook.
77         * progmodes/sh-script.el (sh-require-final-newline): Remove.
78         (sh-set-shell): Don't set require-final-newline since it's already done
79         by prog-mode.
80         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
81         since we never set it.
82         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
83         Use read-string and standard prompt.
84         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
85         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
86         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
87         (meta-common-mode-map): Rename from meta-mode-map.
88         Remove C-m binding, which is a user preference, not mode specific.
89         (meta-common-mode): New major mode; replace meta-common-initialization.
90         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
91         around with font-lock.
92         * progmodes/etags.el (select-tags-table-mode):
93         Derive from special-mode.
94         * progmodes/octave-mod.el (octave-mode):
95         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
96         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
97         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
98         Let define-derived-mode do its job.
99         * progmodes/cpp.el (cpp-edit-mode-map):
100         Move initialization into declaration.
101         (cpp-edit-mode): Use define-derived-mode.
102         (cpp-edit-load): Use derived-mode-p.
103         * progmodes/mixal-mode.el (mixal-mode):
104         * progmodes/f90.el (f90-mode):
105         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
106         require-final-newline since prog-mode does it already.
107         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
108         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
109         * progmodes/antlr-mode.el: Require cc-mode upfront.
110         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
111         the declaration.
112         (antlr-directory-dependencies, antlr-show-makefile-rules):
113         Use derived-mode-p.
114         (antlr-language-option): Don't assume point-min==1.
115         (antlr-mode): Use define-derived-mode.
116         * progmodes/ada-mode.el: Use derived-mode-p.
117         (ada-mode): Use define-derived-mode.
118         Use hack-local-variables-hook.
120 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
122         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
123         (texinfo-mode): Don't disable adaptive-fill-mode.
124         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
125         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
126         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
127         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
128         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
129         (texinfo-insert-@quotation, texinfo-insert-@samp)
130         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
131         (texinfo-insert-@uref): Use define-skeleton.
132         (texinfo-insert-@-with-arg): Delete.
134 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
136         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
137         nil, do quote archive member names.  (Bug#6144)
139 2010-12-10  Glenn Morris  <rgm@gnu.org>
141         * files.el (diff-no-select): Declare.
143         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
144         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
146         * comint.el (comint-input-ring-file-name): Doc fix.
148 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
150         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
151         New functions.
152         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
153         Use them instead of `nil' and `>', respectively.
154         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
155         instead of `nil'.
156         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
157         and menu-bar-positive-p instead of `nil' and `>', respectively.
158         (Bug#1077)
160 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
162         * whitespace.el (whitespace-newline-mode): Code fix.
164 2010-12-09  Glenn Morris  <rgm@gnu.org>
166         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
167         Rename functions without commas, update callers.
169 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
171         * whitespace.el (whitespace-cleanup-region):
172         Clean up spaces before tabs.  (Bug#7582)
174 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
176         * bookmark.el: Adjust parameter names and doc strings to resolve
177         confusion over whether "bookmark" meant a bookmark name or a
178         bookmark record.  Along the way, shorten one function's name for
179         similar reasons.  (Issue #7548)
180         (bookmark-name-from-record): New name for
181         `bookmark-name-from-full-record'.  All callers changed.
182         (bookmark-get-bookmark, bookmark-get-bookmark-record)
183         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
184         (bookmark-get-annotation, bookmark-set-annotation)
185         (bookmark-get-filename, bookmark-set-filename)
186         (bookmark-get-position, bookmark-set-position)
187         (bookmark-get-front-context-string, bookmark-set-front-context-string)
188         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
189         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
190         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
191         Rename `bookmark' parameter to `bookmark-name-or-record', to
192         clearly show its role, and shorten or adjust doc strings accordingly.
193         (bookmark-set-name): Same, and pass the parameter directly to
194         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
195         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
196         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
197         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
198         and in some cases shorten doc string accordingly.
199         (bookmark-rename): Change `old' and `new' parameters to `old-name'
200         and `new-name', and adjust an internal variable to avoid confusion.
201         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
202         parameter in doc string.
204 2010-12-08  Glenn Morris  <rgm@gnu.org>
206         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
207         from gdb's history file.  (Bug#7575)
209         * mail/emacsbug.el (report-emacs-bug):
210         Try to handle some other mail clients.
212 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
214         * files.el (dir-locals-collect-variables): Don't let errors stop us.
215         Use string-prefix-p.
216         (file-name-version-regexp): New var.
217         (file-name-sans-versions):
218         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
219         (jka-compr-get-compression-info): Use dolist.
220         (jka-compr-compression-info-list): Don't bother specifying
221         version/backup regexps.
223 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
225         * simple.el (just-one-space): Make argument n default to 1 if
226         omitted.
228 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
230         * electric.el (electric-indent-post-self-insert-function):
231         Delete trailing newlines even if we don't reindent.
233 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
235         * minibuffer.el (completion-at-point): Remove the `arg'.
236         * bindings.el (complete-symbol): Move back from minibuffer.el.
238 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
240         * simple.el (just-one-space): Delete newlines for negative arg.
242 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
244         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
245         (ansi-color-filter-apply): Simplify.
246         (ansi-color-apply): Use `font-lock-face' rather than `face'.
248 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
250         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
252 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
254         * dired.el (dired-use-ls-dired): Set default to a special
255         "unspecified" value.
256         (dired-insert-directory): When called the first time, check
257         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
259 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
261         * replace.el: Add "collect" feature to occur.
262         (occur-collect-regexp-history): New var.
263         (occur-read-primary-args): Return a replace string for nlines,
264         if needed.
265         (occur): Extend the meaning of nlines.
267 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
269         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
270         (which-func-update-1): Distinguish symbols from strings.
271         (which-function): Stay within 80 columns.
273 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
275         * subr.el (with-demoted-errors): Distinguish symbols from strings.
277         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
278         Improve docstring.
279         (comment-style): Use comment-styles's docs to describe values.
281 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
283         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
284         and ns-show-prefs (Bug#7535).
286         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
287         bindings (Bug#7535).
289 2010-12-03  Glenn Morris  <rgm@gnu.org>
291         * nxml/nxml-mode.el: Require rng-nxml.
292         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
293         Remove declarations.
295         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
296         * nxml/rng-nxml.el, nxml/rng-valid.el:
297         Remove leading `*' from defcustom docs.
299         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
300         (normal-top-level-add-to-load-path, tty-handle-args):
301         Convert comments to basic doc-strings.
303         * net/browse-url.el (browse-url-url-at-point)
304         (browse-url-default-browser): Remove autoload cookies.
306         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
307         Remove more undefined cl functions.
309         * vc/diff.el (diff-sentinel): Make new arguments optional.
310         * ibuf-ext.el (diff-sentinel): Update declaration.
312 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
314         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
315         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
316         (epg-context-set-passphrase-callback): Mention that the callback
317         is not called when used with GnuPG 2.x.
319 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
321         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
322         (tramp-file-name-port): Check also for `tramp-default-port'.
323         (tramp-get-connection-name): New defun.
324         (tramp-get-connection-process): Use it.
325         (tramp-debug-message): Extend function exclude list.
326         (tramp-drop-volume-letter): Fix doc string.
328         * net/tramp-cmds.el: Remove solved todo item.
330         * net/tramp-efs.el:
331         * net/tramp-ftp.el:
332         * net/tramp-gvfs.el:
333         * net/tramp-gw.el:
334         * net/tramp-imap.el:
335         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
336         and `tramp-default-user-alist', respectively.
338         * net/tramp-gw.el (tramp-gw-open-connection):
339         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
341         * net/tramp-imap.el (tramp-imap-make-iht): Use just
342         `tramp-file-name-port'.
344         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
345         and "psftp".  Exchange "%k" marker with options.
346         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
347         Compute size of link target.
348         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
349         `tramp-current-*' up due to gateway methods.  Optimze computing of
350         copy arguments.  Use `tramp-get-connection-name' and
351         `tramp-get-connection-buffer'.  Improve debug messages.
352         (tramp-compute-multi-hops): Remove port determination.
353         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
355         * net/trampver.el: Update release number.
357 2010-12-02  Glenn Morris  <rgm@gnu.org>
359         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
360         Avoid infinite loop over windows.  (Bug#7492)
362         * progmodes/flymake.el (flymake-check-file-limit):
363         Allow nil to mean "no limit".
364         (flymake-check-patch-master-file-buffer): Update for above change.
365         Allow a .tex file-name extension to be optional.
366         (flymake-master-tex-init): Also match \include statements.
368 2010-11-30  Sam Steingold  <sds@gnu.org>
370         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
371         (nxml-parent-document-set): A function to set `nxml-parent-document'.
372         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
373         (nxml-mode-hook): Remove `defcustom' (auto-defined by
374         define-derived-mode').
375         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
376         users who want to call `nxml-parent-document-set'.
378 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
380         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
381         stand-alone lines, since that is handled by log-edit-match-to-eoh
382         (Bug#6465).
384 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
386         * dired.el (dired-get-filename): Replace backslashes with slashes
387         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
388         * locate.el (locate-default-make-command-line): Don't consider
389         drive letter and root directory part of
390         `directory-listing-before-filename-regexp'.  (Bug#7308)
391         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
393 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
395         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
396         of :smie-open/close-alist.
397         (smie-next-sexp): Make it accept a "start token" as argument.
398         (smie-indent-keyword): Be careful not to misidentify tokens that span
399         more than one line, as empty lines.  Add argument `token'.
401 2010-11-27  Kenichi Handa  <handa@m17n.org>
403         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
404         multipart subtypes, insert all as usual.
406         * mail/rmail.el: Require rfc2047.
408 2010-11-27  Kenichi Handa  <handa@m17n.org>
410         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
411         (rmail-mime-entity-disposition)
412         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
413         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
414         (rmail-mime-save): Handle the case that the button's `data' is a
415         MIME entity.
416         (rmail-mime-insert-text): New function.
417         (rmail-mime-insert-image): Handle the case that DATA is a MIME
418         entity.
419         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
420         (rmail-mime-insert-bulk): New function mostly copied from the old
421         rmail-mime-bulk-handler.
422         (rmail-mime-multipart-handler): Just call
423         rmail-mime-process-multipart.
424         (rmail-mime-process-multipart): New funciton mostly copied from
425         the old rmail-mime-multipart-handler.
426         (rmail-mime-show): Just call rmail-mime-process.
427         (rmail-mime-process): New funciton mostly copied from the old
428         rmail-mime-show.
429         (rmail-mime-insert-multipart, rmail-mime-parse)
430         (rmail-mime-insert, rmail-show-mime)
431         (rmail-insert-mime-forwarded-message)
432         (rmail-insert-mime-resent-message): New functions.
433         (rmail-insert-mime-forwarded-message-function): Set to
434         rmail-insert-mime-forwarded-message.
435         (rmail-insert-mime-resent-message-function): Set to
436         rmail-insert-mime-resent-message.
438         * mail/rmailsum.el: Require rfc2047.
439         (rmail-header-summary): Handle multiline Subject: field.
440         (rmail-summary-line-decoder): Change the default to
441         rfc2047-decode-string.
443         * mail/rmail.el (rmail-enable-mime): Change the default to t.
444         (rmail-mime-feature): Change the default to `rmailmm'.
445         (rmail-quit): Delete the specifal code for rmail-enable-mime.
446         (rmail-display-labels): Likewise.
447         (rmail-show-message-1): Check rmail-enable-mime, and use
448         rmail-show-mime-function for a MIME message.  Decode the headers
449         according to RFC2047.
451 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
453         * progmodes/which-func.el (which-func-imenu-joiner-function):
454         Return a string, as expected.
455         (which-function-mode): Make sure we stop any previous timer before
456         starting a new one.
458 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
460         * net/tramp.el (tramp-default-method-alist)
461         (tramp-default-user-alist, tramp-default-proxies-alist):
462         Adapt custom options type.  (Bug#7445)
464 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
466         * progmodes/python.el: Add Ipython support (Bug#5390).
467         (python-shell-prompt-alist)
468         (python-shell-continuation-prompt-alist): New options.
469         (python--set-prompt-regexp): New function.
470         (inferior-python-mode, run-python, python-shell):
471         Require ansi-color.  Use python--set-prompt-regexp to set the comint
472         prompt based on the Python interpreter.
473         (python--prompt-regexp): New var.
474         (python-check-comint-prompt)
475         (python-comint-output-filter-function): Use it.
476         (run-python): Use a pipe (Bug#5694).
478 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
480         * progmodes/python.el (run-python): Doc fix.
481         (python-keep-current-directory-in-path): New var (Bug#7454).
483 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
485         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
486         Prompt user before actually printing.
488 2010-11-27  Glenn Morris  <rgm@gnu.org>
490         * startup.el (package-enable-at-startup, package-initialize):
491         Remove unnecessary declarations.
493 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
495         * international/characters.el (glyphless-char-display-control):
496         Exclude newline and TAB from the c0-control group.
498 2010-11-27  Glenn Morris  <rgm@gnu.org>
500         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
501         (expand-mail-aliases): Remove unnecessary autoload.
503         * allout.el (allout-command-prefix, allout-mode-map): Declare.
505         * shell.el (shell-dir-cookie-re): Move definition before use.
507         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
508         Replace undefined CL functions.
510 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
512         * simple.el (prog-mode): Set bidi-paragraph-direction to
513         left-to-right.
515         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
517 2010-11-26  Glenn Morris  <rgm@gnu.org>
519         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
520         diary-outlook-formats can be sensitive to calendar-date-style.
521         (diary-outlook-formats): Simplify the default setting.
522         (diary-from-outlook-internal): Pass subject and body as arguments.
523         Use dolist rather than dotimes.  Don't save the diary buffer.
524         (diary-from-outlook-gnus, diary-from-outlook-rmail):
525         Pass subject and body as explicit arguments to the -internal function.
527 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
529         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
530         parsing them.  This makes mailto:...?subject=foo\nbar work.
532 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
534         * vc/diff.el (diff): Fix last change.
536 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
538         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
539         (pcase--dontcare-upats): New var.
540         (pcase-let, pcase-let*): Generate better code.
541         Accept the same bodies as `let'.
542         (pcase-dolist): New macro.
543         (pcase--trivial-upat-p): New helper function.
544         (pcase--expand): Strip leading "(let nil" if any.
546 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
548         * mail/mailclient.el (browse-url): Require.
549         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
550         use the external browser function to send the mail (bug#7469).
552         * net/browse-url.el (browse-url-browser-function): Revert the
553         default back to the previous value, since the new value broke
554         mailclient.el.
555         (browse-url-mailto-function): New variable for mailto: URLs.
556         (browse-url): Use the new variable for mailto: URLs.
558 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
560         * eshell/esh-cmd.el (eshell-parse-command):
561         * eshell/esh-arg.el (eshell-parse-arguments):
562         * eshell/em-script.el (eshell-source-file):
563         Use with-silent-modifications.
565 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
567         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
568         for a merge location.
570         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
571         (vc-bzr-merge-branch): Always prompt.
572         (vc-bzr-async-command): Use the full branch filename.
574 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
576         * shell.el (shell): Use current-buffer by default if it's already
577         a shell mode buffer and its process is dead.
578         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
580 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
582         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
583         Mention that the keywords should be comma separated.
585 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
587         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
588         Accept optional prefix arg meaning to prompt for a command.
589         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
590         prefix arg meaning to prompt for a command.
591         (vc-pull): Alias for vc-update.
593         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
594         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
595         (vc-bzr-merge-branch): New functions, implementing merge-branch
596         and pull operations.
598 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
600         * Makefile.in: Fix up last merge.
602         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
603         (diff-sentinel): Get them as arguments instead.
604         (diff-old-file, diff-new-file, diff-extra-args): Remove.
605         (diff-file-local-copy, diff-better-file-name): New funs.
606         (diff-no-select): Rename from diff-into-buffer.
607         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
608         Prefer closures to buffer-local variables.
609         (diff): Adjust accordingly.
610         (diff-buffer-with-file): Move from files.el.
611         * files.el (diff-buffer-with-file): Move to vc/diff.el.
612         (diff-buffer-internal): Remove.
613         (diff-buffer-buffer): Remove.
614         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
615         the buffer name used, and so as not to mess up windows and frames.
617 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
619         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
620         (diff-buffer-internal): New function extracted from diff-buffer-with-file
621         (diff-buffer-with-file): Use it.
622         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
623         (diff): Use it.
625 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
627         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
628         \ref's or \pageref's value as default instead of initial input.
630 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
632         * files.el (backup-by-copying-when-mismatch): The default value is
633         now t.
635         * startup.el (normal-top-level):
636         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
637         `backup-by-copying-when-mismatch'.
639 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
641         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
643 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
645         * progmodes/python.el (python-font-lock-keywords):
646         Highlight top-level augmented assignments (Bug#6445).
648 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
650         * term/ns-win.el (ns-right-control-modifier)
651         (ns-right-command-modifier): Defvar them.
653         * cus-start.el (all): Add ns-right-control-modifier and
654         ns-right-command-modifier (Bug#7458).
656 2010-11-20  Glenn Morris  <rgm@gnu.org>
658         * emacs-lisp/authors.el (authors-ignored-files)
659         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
661 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
663         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
664         (report-emacs-bug-parse-query-results)
665         (report-emacs-bug-create-existing-bugs-buffer): Pass through
666         keywords used for querying the bug database to show them in the
667         existing bugs buffer.
669 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
671         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
673         * info.el (info-tool-bar-map): Add some :vert-only keywords.
675 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
677         * international/characters.el (glyphless-char-display-control):
678         Make it a defcustom, with update-glyphless-char-display as its
679         :set attribute.
680         (top level): Don't call update-glyphless-char-display.
682 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
684         Sync with Tramp 2.2.0.
686         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
687         `file-remote-p' (due to compatibility).
689         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
690         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
692         * net/trampver.el: Update release number.
694 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
696         * faces.el (glyphless-char): Define value for `pc'.
698 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
700         Implemented a bug querying mechanism.
701         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
702         (report-emacs-bug-create-existing-bugs-buffer)
703         (report-emacs-bug-parse-query-results)
704         (report-emacs-bug-query-existing-bugs): New functions.
706 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
708         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
709         a \ref{} or \pageref{} macro, then use its value as initial input.
711 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
713         * calc/calc-units.el (math-build-units-table-buffer):
714         calc/README: Mention that the TeX specific units won't use the
715         `tex' prefix in TeX mode.
716         calc/calc-lang.el (math-variable-table): Don't use the `tex'
717         prefix for units in TeX mode.
719 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
721         * simple.el (kill-new, kill-append, kill-region):
722         * comint.el (comint-kill-region): Make the yank-handler argument
723         obsolete.
725 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
727         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
728         that are both openers (resp. closers) and something else.
729         (smie-grammar): Loosen definition of valid values.
730         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
731         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
732         (smie-indent-after-keyword): Adjust users.
733         (smie-indent-keyword): Don't indent empty lines.
735         * vc-hg.el (vc-hg-program): New var.
736         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
737         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
739 2010-11-18  Glenn Morris  <rgm@gnu.org>
741         * emacs-lisp/autoload.el (autoload-find-destination): The function
742         coding-system-eol-type may return non-numeric values.  (Bug#7414)
744 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
746         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
748 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
750         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
752 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
754         * textmodes/picture.el (picture-mouse-set-point): Don't use
755         posn-col-row; explicitly compute the motion based on the posn at
756         the window-start (Bug#7390).
758 2010-11-18  Glenn Morris  <rgm@gnu.org>
760         * novice.el (disabled-command-function):
761         Fix 2009-11-15 change.  (Bug#7384)
763 2010-11-18  Glenn Morris  <rgm@gnu.org>
765         * calendar/calendar.el (diary-iso-date-forms): Make elements
766         mutually exclusive.  (Bug#7377)
768 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
770         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
771         when filling the remaining "unconstrained" values.
773 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
775         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
776         safety predicate.
778         * files.el (safe-local-variable-p): Gracefully handle errors.
780         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
781         Use smie-indent-virtual when indenting relative to an opener.
782         (smie-rule-separator): Use smie-rule-parent.
783         (smie-indent-keyword): Consult rules, even for openers at bol.
784         (smie-indent-comment-close): Try to align closer's content.
786 2010-11-18  Glenn Morris  <rgm@gnu.org>
788         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
790 2010-11-18  Glenn Morris  <rgm@gnu.org>
792         * printing.el (pr-menu-bind): Doc fix.
794         * speedbar.el (speedbar-toggle-images): Doc fix.
796         * progmodes/python.el (python-shell): Doc fix.
798         * wid-edit.el (widget-field-use-before-change)
799         (widget-use-overlay-change): Doc fixes.
801 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
803         Minor cleanup to improve style.
804         * textmodes/rst.el (rst-update-section): Use point-marker.
805         (rst-get-decoration): Eliminate unneeded assignment.
806         (rst-promote-region, rst-straighten-decorations)
807         (rst-section-tree, rst-adjust): Use point-marker.
808         (rst-toc-mode-mouse-goto): Avoid setq.
809         (rst-shift-region-guts, rst-shift-region-left)
810         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
811         (rst-convert-bullets-to-enumeration): Use copy-marker.
813         * minibuffer.el (completion-fail-discreetly): New var.
814         (completion--do-completion): Use it.
816         * electric.el (electric-pair-pairs): New var.
817         (electric-pair-post-self-insert-function): Use it.
818         (electric-layout-post-self-insert-function): Don't insert a before
819         newline unless it's actually needed.
821 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
823         * progmodes/python.el (run-python): Explain why we remove the current
824         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
826         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
828 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
830         * progmodes/octave-mod.el: Rely on elecric-*-modes.
831         (octave-mode-map): Don't bind ;, SPC, and LF.
832         (octave-auto-indent, octave-auto-newline): Remove.
833         (electric-layout-rules): Declare.
834         (octave-mode): Set electric-layout-rules.
835         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
836         (octave-reindent-then-newline-and-indent, octave-electric-semi)
837         (octave-electric-space): Remove.
839         * electric.el (electric-layout-mode): New minor mode.
840         (electric--after-char-pos): New function.
841         (electric-indent-post-self-insert-function): Use it.
842         (electric-layout-rules): New var.
843         (electric-layout-post-self-insert-function): New function.
844         (electric-indent-mode): Make them interact better.
846 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
848         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
849         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
850         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
852 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
854         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
855         Make sure to check inside the word (Bug#6761).
857 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
859         * startup.el (command-line): If the cursorColor resource is set,
860         change the cursor face-spec (Bug#7392).
862 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
864         The main features of the following allout.el changes are:
865         - implement user customization for the allout key bindings
866         - add a customization control by which the user can inhibit use of
867           a trailing Ctrl-H, so by default it's reserved for use with
868           describe-prefix-bindings
869         - adapt to new version of called-interactively-p, while
870           maintaining backwards compatibility with old version
871         - fix hotspot navigation so i works properly with meta-modified keys
873         * allout.el (allout-keybindings, allout-bind-keys)
874         (allout-keybindings-binding, allout-prefixed-keybindings)
875         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
876         (allout-keybindings-list, allout-mode-map-adjustments)
877         (allout-setup-mode-map): Establish allout-mode keymaps as user
878         customizable settings, and also establish a customizable setting which
879         regulates whether or not a trailing control-h is reserved for use with
880         describe-prefix-bindings - and inhibit it by default, so that control-h
881         *is* reserved for describe-prefix-bindings unless the user changes it.
883         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
884         and accurately between modified and unmodified events, and handle
885         modified events more comprehensively.
887         * allout.el (allout-substring-no-properties):
888         Alias to use or provide version of `substring-no-properties'.
889         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
891         * allout.el (allout-next-single-char-property-change):
892         Alias to use or provide version of `next-single-char-property-change'.
893         (allout-annotate-hidden, allout-hide-by-annotation):
894         Use `allout-next-single-char-property-change'.
896         * allout.el (allout-select-safe-coding-system):
897         Alias to use or provide version of `select-safe-coding-system'.
898         (allout-toggle-subtree-encryption):
899         Use `allout-select-safe-coding-system'.
901         * allout.el (allout-set-buffer-multibyte):
902         Alias to use or provide version of `set-buffer-multibyte'.
903         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
905         * allout.el (allout-called-interactively-p): Macro for using the
906         different versions of called-interactively-p identically, depending on
907         the subroutine's argument signature.
908         (allout-back-to-current-heading, allout-beginning-of-current-entry):
909         Use `(interactive "p")' instead of `(called-interactively-p)'.
911         * allout.el (allout-init, allout-ascend, allout-end-of-level)
912         (allout-previous-visible-heading, allout-forward-current-level)
913         (allout-backward-current-level, allout-show-children):
914         Use `allout-called-interactively-p' instead of `called-interactively-p'.
916         * allout.el (allout-before-change-handler):
917         Exempt edits to the (overlaid) character after the allout outline
918         bullet from edit confirmation prompt.
920         * allout.el (allout-add-resumptions):
921         Ensure that it respects correct buffer for keybindings.
923         * allout.el (allout-beginning-of-line):
924         Use `allout-previous-single-char-property-change' alias for the sake of
925         diverse compatibility.
927         * allout.el (allout-end-of-line):
928         Use `allout-mark-active-p' to encapsulate respect for mark activity.
930 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
932         * frame.el (frame-notice-user-settings): Don't clobber other
933         user-set parameters when calling face-set-after-frame-default in
934         response to background-color parameter (Bug#7373).
936 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
938         * international/characters.el (glyphless-char-display-control):
939         Rename from glyphless-char-control; all users changed.  Doc fix.
940         Signal an error if display method is not one of the recognized
941         symbols.
943 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
945         * net/tramp-compat.el (tramp-compat-line-beginning-position)
946         (tramp-compat-line-end-position): Remove them.
948         * net/tramp.el (tramp-parse-rhosts-group)
949         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
950         (tramp-parse-hosts-group, tramp-parse-passwd-group)
951         (tramp-parse-netrc-group, tramp-parse-putty-group)
952         * net/tramp-cmds.el (tramp-append-tramp-buffers)
953         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
954         (tramp-sh-handle-file-selinux-context)
955         (tramp-sh-handle-file-name-all-completions)
956         (tramp-sh-handle-insert-directory)
957         (tramp-sh-handle-expand-file-name, tramp-find-executable)
958         (tramp-wait-for-output, tramp-send-command-and-read)
959         * net/tramp-smb.el (tramp-smb-read-file-entry)
960         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
962         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
963         `point-at-bol'.
964         (tramp-remote-coding-commands): Add an alternative using "base64
965         -d -i".  This is needed for older base64 versions from GNU
966         coreutils.  Reported by Klaus Reichl
967         <Klaus.Reichl@thalesgroup.com>.
969 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
971         * simple.el (count-words-region): New function.
973 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
975         * shell.el (shell-dir-cookie-re): New custom variable.
976         (shell-dir-cookie-watcher): New function.
978         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
979         and compilation-mode (bug#7350).
981         * vc/smerge-mode.el (smerge-refine): Choose better default part to
982         highlight when one of them is empty.
984         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
985         trailing space.
986         (skeleton-newline): New function.
987         (skeleton-internal-1): Use it.
989         * simple.el (open-line): `newline' may strip trailing space.
991 2010-11-12  Kevin Ryde  <user42@zip.com.au>
993         * international/mule-cmds.el (princ-list): Use mapc.
995 2010-11-12  Glenn Morris  <rgm@gnu.org>
997         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
998         Use it to replace all instances of "*Compile-Log*"
1000 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1002         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1003         indentation specs.
1005 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1007         * progmodes/modula2.el: Use SMIE and skeleton.
1008         (m2-mode-syntax-table): (*..*) can be nested.
1009         Add //...\n.  Fix paren syntax.
1010         (m2-mode-map): Remove LF and TAB bindings.
1011         (m2-indent): Add safety property.
1012         (m2-smie-grammar): New var.
1013         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1014         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1015         (m2-mode): Use define-derived-mode.
1016         (m2-newline, m2-tab): Remove.
1017         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1018         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1019         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1020         (m2-import): Use define-skeleton.
1022 2010-11-11  Glenn Morris  <rgm@gnu.org>
1024         * obsolete/lucid.el: Don't warn about any CL functions in this file.
1026         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1027         (ls-lisp-verbosity): Add custom :set-after property.
1028         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1029         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1030         (ls-lisp-insert-directory): Update caller.
1031         (ls-lisp-set-options): New function.
1032         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1033         Doc fix.
1035         * play/landmark.el (lm-prompt-for-move):
1036         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1038         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1040         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1041         (idlwave-study-twins): Prefix dynamic local variable `name'.
1042         (idlwave-routine-twin-compare): Update for above change.
1044         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1045         Prefix dynamic local variables `name', `kwd', and `link'.
1046         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1047         * progmodes/idlw-complete-structtag.el
1048         (idlwave-complete-structure-tag-help):
1049         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1050         (idlwave-complete-sysvar-tag-help)
1051         (idlwave-complete-class-structure-tag-help):
1052         Update for above name changes.
1054 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1056         * net/browse-url.el (browse-url-browser-function): Change the
1057         default to use `browse-url-mail' on mailto: URLs.
1059 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
1061         * emacs-lisp/package.el (package-read-all-archive-contents):
1062         Reset package-archive-contents to nil before re-reading.
1064 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
1066         * textmodes/flyspell.el (flyspell-word): Do not re-check words
1067         already found as misspellings by (flyspell-large-region), just
1068         do highlighting (bug#7322).
1070 2010-11-10  Glenn Morris  <rgm@gnu.org>
1072         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1074         * emulation/edt.el (edt-with-position): New macro.
1075         (edt-find-forward, edt-find-backward, edt-find-next-forward)
1076         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1077         (edt-paragraph-forward, edt-paragraph-backward): Use it.
1079         * emulation/tpu-extras.el (tpu-with-position): New macro.
1080         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1082         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1084         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1085         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1086         (texinfo-master-menu, texinfo-insert-node-lines)
1087         (texinfo-multiple-files-update):
1088         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1089         Use line-beginning-position.
1091         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1092         No recent Emacs supports system-type `emx'.
1094         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1095         (ada-command-separator, ada-default-prj-properties)
1096         (ada-find-any-references): Update for above name change.
1098         * dirtrack.el (dirtrack-directory-function)
1099         (dirtrack-canonicalize-function):
1100         * filecache.el (file-cache-completion-ignore-case)
1101         (file-cache-case-fold-search, file-cache-ignore-case):
1102         * term.el (serial-port-is-file-p): Cosmetic change.
1104         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1105         Remove non-existent `windows-95' system-type.
1106         * dired.el (dired-chown-program): Remove non-existent `linux'
1107         system-type.
1109         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1110         (ping-program-options): Remove non-existent `linux' system-type.
1112         * startup.el (package-initialize): Update declaration.
1114         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1115         (ls-lisp-handle-switches): Use time-less-p.
1116         (ls-lisp-format-time): Use float-time.
1118         * textmodes/remember.el (remember-time-to-seconds): Remove.
1119         (remember-store-in-mailbox): Use float-time.
1121         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1123         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1124         never a real function.
1125         (with-no-warnings): Remove compat stub, now unused.
1126         (time-less-p): Doc fix.
1127         (time-to-number-of-days): Simplify.
1129         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1130         Remove.
1131         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1132         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1133         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1134         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1135         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1137         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1138         (eshell-shuffle-files, eshell-shorthand-tar-command)
1139         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1140         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1141         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1142         Prefix dynamic local variable `matches'.
1144         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1145         Prefix dynamic local variable `skeleton'.
1147 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1149         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1150         in mail buffer; make yank-action always a command that yanks original
1151         buffer.
1153 2010-11-09  Glenn Morris  <rgm@gnu.org>
1155         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1157 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1159         * minibuffer.el (minibuffer-completion-help): Specify the end of the
1160         completion field (bug#7211).
1162         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1163         Fix handling of backslash escapes.
1164         (python-quote-syntax): Adjust accordingly.
1166 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
1168         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1169         (vc-mtn-workfile-branch): Adjust to new output format.
1171 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1173         * international/mule-cmds.el (princ-list): Mark as obsolete.
1175 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1177         * emacs-lisp/smie.el: New package.
1179 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
1181         * files.el (backup-by-copying-when-mismatch):
1182         Set `permanent-local' property.
1184         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1185         `permanent-local' property for `backup-by-copying-when-mismatch'.
1187 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
1189         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
1191 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
1193         * progmodes/verilog-mode.el (verilog-insert-one-definition)
1194         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1195         AUTOINOUT for SV style multidimensional arrays, bug294.
1196         Reported by Eric Mastromarchi.
1197         (verilog-preprocess): Use with-current-buffer and
1198         font-lock-fontify-buffer to cleanup style issues.
1200 2010-11-09  Glenn Morris  <rgm@gnu.org>
1202         * locate.el (locate, locate-mode): Doc fixes.
1204 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
1206         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1207         user for confirmation.
1208         (server-force-stop): Use it.
1209         (server-start): Use server-force-stop for kill-emacs-hook, to
1210         avoid user interaction while killing Emacs.
1212 2010-11-09  Glenn Morris  <rgm@gnu.org>
1214         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1215         (meta-indent-line): Simplify.
1217         * vc/emerge.el (emerge-line-number-in-buf):
1218         * textmodes/ispell.el (ispell-region):
1219         * textmodes/fill.el (current-fill-column):
1220         * progmodes/xscheme.el (xscheme-send-current-line):
1221         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1222         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1223         * progmodes/sh-script.el (sh-handle-prev-do):
1224         * progmodes/meta-mode.el (meta-indent-line):
1225         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1226         (idlwave-in-quote):
1227         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1228         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1229         * progmodes/fortran.el (fortran-looking-at-if-then):
1230         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1231         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1232         (cperl-find-pods-heres):
1233         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1234         * net/quickurl.el (quickurl-list-insert):
1235         * net/ldap.el (ldap-search-internal):
1236         * net/eudc.el (eudc-expand-inline):
1237         * mail/sendmail.el (sendmail-send-it):
1238         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1239         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1240         (viper-brac-function):
1241         * calc/calc-yank.el (calc-do-grab-region):
1242         * calc/calc-keypd.el (calc-keypad-press):
1243         * term.el (term-move-columns, term-insert-spaces):
1244         * speedbar.el (speedbar-highlight-one-tag-line):
1245         * simple.el (current-word):
1246         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1247         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1248         (Info-scroll-down):
1249         * hippie-exp.el (he-line-beg):
1250         * epa.el (epa--marked-keys):
1251         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1252         (dired-update-file-line, dired-add-entry, dired-remove-entry)
1253         (dired-relist-entry):
1254         * buff-menu.el (Buffer-menu-buffer):
1255         * array.el (current-line):
1256         * allout.el (allout-resolve-xref)
1257         (allout-latex-verbatim-quote-curr-line):
1258         Replace yet more uses of end-of-line etc with line-end-position, etc.
1260 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1262         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1263         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1264         (checkdoc-syntax-table): Initialize in the declaration.
1265         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1266         the mode on unconditionally.
1268         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1269         (extent-end-position, extent-start-position): Remove setf method for
1270         non-existing functions (bug#7319).
1272 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1274         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1275         (smie-precs->prec2): Rename from smie-precs-precedence-table.
1276         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1277         (smie-prec2->grammar): Rename from smie-prec2-levels.
1278         (smie-grammar): Rename from smie-op-levels.
1279         (smie-indent--hanging-p): Rename from smie-hanging-p.
1280         (smie-rule-hanging-p): New alias.
1281         (smie-indent--bolp): Rename from smie-bolp.
1282         (smie-indent--hanging-p): New alias.
1283         (smie--token): New dynamically bound variable.
1284         (smie-indent--parent): New function.
1285         (smie-rule-parent-p): Use it; rename from smie-parent-p.
1286         (smie-rule-next-p): Rename from smie-next-p.
1287         (smie-rule-prev-p): Rename from smie-prev-p.
1288         (smie-rule-sibling-p, smie-rule-parent)
1289         (smie-indent--separator-outdent, smie-rule-separator): New functions.
1290         (smie-rule-separator-outdent): New var.
1291         (smie-indent--rule): Merge with smie-indent--column.
1292         (smie-indent-forward-token, smie-indent-backward-token):
1293         Also recognize close parens.
1294         (smie-indent-keyword): Don't use smie-indent--column any more.
1295         (smie-indent-after-keyword): Ignore closers by default.
1296         (smie-indent-line): Use with-demoted-errors.
1297         * progmodes/octave-mod.el (octave-smie-grammar):
1298         Rename from octave-smie-op-levels.
1299         (octave-smie-rules): Adjust to new behavior.
1300         * progmodes/prolog.el (prolog-smie-grammar):
1301         Rename from prolog-smie-op-levels.
1303 2010-11-07  Glenn Morris  <rgm@gnu.org>
1305         * eshell/esh-util.el (subst-char-in-string)
1306         (directory-files-and-attributes): These compatibility definitions are
1307         not needed on any version of Emacs since at least 21.4.
1309         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1310         (verilog-get-end-of-line): Remove.
1311         (verilog-within-string, verilog-re-search-forward-substr)
1312         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1313         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1314         Use point-at-bol, point-at-eol.
1315         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1316         Remove.
1317         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1318         (electric-pascal-terminate-line, pascal-set-auto-comments)
1319         (pascal-indent-paramlist, pascal-indent-declaration)
1320         (pascal-get-lineup-indent, pascal-func-completion)
1321         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1322         Use point-at-bol, point-at-eol.
1323         * progmodes/flymake.el (flymake-line-beginning-position)
1324         (flymake-line-end-position): Remove.
1325         (flymake-highlight-line): Use point-at-bol, point-at-eol.
1326         * eshell/esh-util.el (line-end-position, line-beginning-position):
1327         Remove compat definitions.
1329         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1330         Use end-of-line N.
1331         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1332         Use line-end-position.
1334         * emacs-lisp/chart.el (chart-zap-chars):
1335         * play/decipher.el (decipher-set-map):
1336         * progmodes/ada-mode.el (ada-get-current-indent)
1337         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1338         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1339         * progmodes/ada-xref.el (ada-initialize-runtime-library)
1340         (ada-get-all-references):
1341         * progmodes/cperl-mode.el (cperl-electric-paren)
1342         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1343         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1344         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1345         (cperl-word-at-point-hard):
1346         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1347         (idlwave-shell-filename-string, idlwave-shell-batch-command)
1348         (idlwave-shell-display-line):
1349         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1350         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1351         * progmodes/js.el (js--re-search-forward-inner)
1352         (js--re-search-backward-inner):
1353         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1354         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1355         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1356         * textmodes/flyspell.el (flyspell-process-localwords):
1357         * textmodes/ispell.el (ispell-buffer-local-parsing)
1358         (ispell-buffer-local-dict, ispell-buffer-local-words):
1359         Use point-at-bol and point-at-eol.
1361         * speedbar.el (speedbar-generic-item-info)
1362         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1363         (speedbar-add-indicator, speedbar-check-vc-this-line)
1364         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1365         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1366         Replace more uses of end-of-line etc with line-end-position.
1368 2010-11-06  Glenn Morris  <rgm@gnu.org>
1370         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1371         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1372         (texinfo-delete-existing-pointers, texinfo-find-pointer)
1373         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1374         (texinfo-multiple-files-update):
1375         * textmodes/table.el (table--probe-cell-left-up)
1376         (table--probe-cell-right-bottom):
1377         * textmodes/picture.el (picture-tab-search):
1378         * textmodes/page-ext.el (pages-copy-header-and-position)
1379         (pages-directory-for-addresses):
1380         * progmodes/vera-mode.el (vera-get-offset):
1381         * progmodes/simula.el (simula-calculate-indent):
1382         * progmodes/python.el (python-pdbtrack-overlay-arrow):
1383         * progmodes/prolog.el (end-of-prolog-clause):
1384         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1385         * progmodes/icon.el (indent-icon-exp):
1386         * progmodes/etags.el (tag-re-match-p):
1387         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1388         * progmodes/ebnf2ps.el (ebnf-begin-file):
1389         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1390         (dcl-save-local-variable):
1391         * play/life.el (life-setup):
1392         * play/gametree.el (gametree-looking-at-ply):
1393         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1394         * mail/sendmail.el (mail-mode-auto-fill):
1395         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1396         * emacs-lisp/edebug.el (edebug-overlay-arrow):
1397         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1398         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1399         (woman-tab-to-tab-stop, WoMan-warn-ignored):
1400         * type-break.el (type-break-file-keystroke-count):
1401         * term.el (term-replace-by-expanded-history-before-point)
1402         (term-skip-prompt, term-extract-string):
1403         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1404         (speedbar-contract-line, speedbar-toggle-line-expansion)
1405         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1406         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1407         * sort.el (sort-skip-fields):
1408         * skeleton.el (skeleton-internal-list):
1409         * simple.el (line-move-finish, line-move-to-column):
1410         * shell.el (shell-forward-command):
1411         * misc.el (copy-from-above-command):
1412         * makesum.el (double-column):
1413         * ebuff-menu.el (electric-buffer-update-highlight):
1414         * dired.el (dired-move-to-end-of-filename):
1415         * dframe.el (dframe-popup-kludge):
1416         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1417         * arc-mode.el (archive-get-lineno):
1418         Use line-end-position and line-beginning-position.
1420         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1421         (idlwave-study-twins): Prefix dynamic local `class'.
1422         (idlwave-routine-twin-compare): Update for above name change.
1424         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1425         Use boundp tests to silence compiler.  Update for changed name of
1426         bytecomp-filename variable.
1428         * emulation/viper-cmd.el (viper-read-string-with-history):
1429         Prefix dynamic local `initial'.
1430         (viper-minibuffer-standard-hook): Update for above name change.
1432         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1433         (elint-init-form): Update for above name change.
1435         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1436         local variables `cbeg' and `cend' a prefix.
1437         (mail-extr-voodoo): Update for above name change.
1439         * textmodes/reftex-toc.el (reftex-toc-do-promote)
1440         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1441         (reftex-toc-promote-action): Doc fix.
1443         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1444         `prompt', `data' a prefix.
1445         (reftex-select-post-command-hook, reftex-select-callback)
1446         (reftex-select-mouse-accept, reftex-select-read-cite):
1447         Update for above name changes.
1449         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1450         `refstyle' to reftex-refstyle.
1451         (reftex-offer-label-menu): Update for above name change.
1452         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1453         `refstyle' name change.
1455         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1456         with with-current-buffer.
1457         (diff, template): Give dynamic local variables a prefix.
1458         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1459         (emerge-line-number-in-buf): Update for above name change.
1460         (emerge-combine-versions-internal): Rename local `template' to
1461         emerge-combine-template.
1462         (emerge-combine-versions-edit): Update for above name change.
1464 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
1466         * textmodes/reftex-cite.el
1467         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1468         entries with whitespace after \bibitem.
1469         (reftex-create-bibtex-file): Match entries containing numbers and
1470         symbol constituents.  Make sure that entries with whitespace at
1471         various places are found.
1473 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
1475         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1477 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
1479         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1481 2010-11-05  Glenn Morris  <rgm@gnu.org>
1483         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1484         (woman2-roff-buffer): Give local variable `request' a prefix.
1485         (woman0-macro): Rename argument `request' in the same way.
1486         (woman-request): New name for `request' dynamic variable.
1487         (woman-unquote, woman-forward-arg): Update for above name change.
1488         (woman1-roff-buffer): Give local variable `unquote' a prefix.
1489         (woman1-unquote): New name for `unquote' dynamic variable.
1490         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1491         (woman-translations): Rename from `translations'.  No longer global.
1492         (woman2-tr, woman-translate): Update for above name change.
1493         (woman-translate): Check for bound variable.
1494         (woman2-roff-buffer): Give local variable `translations' a prefix.
1496         * play/doctor.el: Give all local variables a prefix.  Update callers.
1497         (doc$, doctor-put-meaning): Use backquote.
1499         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1500         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1502         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1503         variables bytes, ptr, op a prefix.
1504         (disassemble-offset): Update for above change.
1506 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1508         * emacs-lisp/package.el (package-unpack): Remove no-op.
1509         (package--builtins, package--dir): Doc fix.
1510         (package-activate-1, package-activate, package-install)
1511         (package-compute-transaction): Fix error message.
1512         (package-delete): Use delete-directory.  Omit system packages.
1513         (package-initialize): Set package-alist to nil first.
1514         (package-menu-mark-delete, package-menu-mark-install): Don't add
1515         symbols that are inconsistent with the package state.
1516         (package-menu-execute): Perform deletions and installations as
1517         single batch operations.
1519 2010-11-03  Glenn Morris  <rgm@gnu.org>
1521         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1522         (props): Remove unnecessary declaration.
1524         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1525         set-process-query-on-exit-flag.
1527         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1528         (reftex-toc-do-promote): Remove unused local `mpos'.
1529         (reftex-toc-restore-region): Make `mpos' local to this function.
1531         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1533         * play/landmark.el (lm-losing-threshold): Correct spelling.
1534         (lm-human-plays): Use new name.
1536         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1537         (gomoku-human-plays): Use new name.
1539         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1540         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1541         (gomoku-score-trans-table, gomoku-winning-threshold)
1542         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1544 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1546         * emacs-lisp/package.el: Don't put built-in packages in
1547         package-alist, to avoid loading inefficiencies.
1548         (package-built-in-p): Make VERSION optional, and treat it as a
1549         minimum acceptable version.
1550         (package-activate): Search separately for built-in packages.
1551         Emit a warning if a dependency fails.
1552         (define-package): Handle most common case, where there is no
1553         obsolete package, first.
1554         (package-compute-transaction): Print required version in error.
1555         (package--initialized): New variable.
1556         (list-packages): Use it.
1557         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
1558         built-in packages in packages-alist; keep it separate.
1559         Set package--initialized.
1560         (describe-package): Avoid activating packages as a side-effect.
1561         Search separately for built-in packages.
1562         (describe-package-1): Handle the case where an elpa package is
1563         simultaneously built-in and available/installed.
1564         (package-installed-p, package--generate-package-list):
1565         Search separately for built-in packages.
1566         (package-load-descriptor): Doc fix.
1568 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1570         * progmodes/perl-mode.el (perl-syntax-propertize-function):
1571         Handle __DATA__ and __END__.
1573 2010-11-02  Noah Friedman  <friedman@splode.com>
1575         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1576         nil, do not ask to recompile files that are not already compiled,
1577         and do not recompile them.
1579 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
1581         * emacs-lisp/package.el (package-initialize): Ensure that
1582         obsoleted built-in packages are not in package-activated-list
1583         during activation.
1584         (describe-package-1): Make the "installed" status override
1585         "built-in".
1587 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1589         * subr.el (version-separator, version-regexp-alist): Remove '*'
1590         from docstring.
1591         (version-list-<=, version<=, version=): Doc fix.
1593 2010-11-01  Kenichi Handa  <handa@m17n.org>
1595         * faces.el (glyphless-char): Inherit underline for tty.
1597 2010-11-01  Kenichi Handa  <handa@m17n.org>
1599         Implement various display methods for glyphless characters.
1601         * international/characters.el (char-acronym-table): New variable.
1602         (glyphless-char-control): New variable.
1603         (update-glyphless-char-display): New funciton.
1605         * faces.el (glyphless-char): New face.
1607 2010-11-01  Glenn Morris  <rgm@gnu.org>
1609         * calendar/holidays.el (general-holidays, oriental-holidays)
1610         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1611         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1612         the definitions of their targets.
1614         * emacs-lisp/smie.el (smie): New custom group.
1615         (smie-blink-matching-inners, smie-indent-basic): Add :group.
1617         * faces.el (xw-defined-colors, x-setup-function-keys):
1618         * mouse-sel.el (x-select-text):
1619         * term/w32console.el (x-setup-function-keys): Update declarations.
1621         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1623         * textmodes/ispell.el (comment-add): Declare.
1625         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1626         Declare.
1628         * info.el (finder-keywords-hash, package-alist): Declare.
1630 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1632         * finder.el (finder-compile-keywords): Don't use intern-soft,
1633         since package names may not yet exist in the obarray.
1635 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1637         * vc/vc-arch.el (vc-arch-checkin):
1638         * vc/vc-cvs.el (vc-cvs-checkin):
1639         * vc/vc-mtn.el (vc-mtn-checkin):
1640         * vc/vc-rcs.el (vc-rcs-checkin):
1641         * vc/vc-sccs.el (vc-sccs-checkin):
1642         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1643         since 2010-04-21 commit by Stefan Monnier.
1645 2010-11-01  Glenn Morris  <rgm@gnu.org>
1647         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1649         * startup.el (package-enable-at-startup, package-initialize):
1650         Silence compiler.
1652         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1653         Silence compiler.
1655 2010-10-31  Julien Danjou  <julien@danjou.info>
1657         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1658         (byte-recompile-directory):
1659         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1660         Use `byte-recompile-file'.
1662 2010-10-31  Glenn Morris  <rgm@gnu.org>
1664         * cus-start.el: Handle standard values via a keyword.
1665         Only set version property if specified.
1666         (cursor-in-non-selected-windows, menu-bar-mode)
1667         (tool-bar-mode, show-trailing-whitespace):
1668         Do not specify standard values.
1669         (transient-mark-mode, temporary-file-directory): Use :standard.
1671 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
1673         * term/x-win.el (x-get-selection-value): New function that gets
1674         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1676 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
1678         * net/tramp.el (tramp-handle-insert-file-contents): For root,
1679         preserve owner and group when editing files.  (Bug#7289)
1681 2010-10-31  Glenn Morris  <rgm@gnu.org>
1683         * speedbar.el (speedbar-mode):
1684         * play/fortune.el (fortune-in-buffer, fortune):
1685         * play/gomoku.el (gomoku-mode):
1686         * play/landmark.el (lm-mode):
1687         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1688         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
1690         * select.el (x-selection): Mark it as an obsolete alias.
1692 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1694         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1695         major-mode (bug#7284).
1697 2010-10-31  Glenn Morris  <rgm@gnu.org>
1699         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1700         rather than just an unused variable that inherits from the real one.
1702 2010-10-31  Alan Mackenzie  <acm@muc.de>
1704         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1705         This fixes bug #7185.
1707 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
1709         * startup.el (command-line): Search for package directories, and
1710         don't load package.el if none are found.
1712         * emacs-lisp/package.el (describe-package, list-packages):
1713         Call package-initialize if it has not been called yet.
1715 2010-10-30  Alan Mackenzie  <acm@muc.de>
1717         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1718         which fontifies the tail of an enum.
1719         (c-basic-matchers-after): Insert a call to the above new function.
1720         This fixes bug #7264.
1722 2010-10-30  Glenn Morris  <rgm@gnu.org>
1724         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1725         tool-bar-mode, transient-mark-mode.  (Bug#7306)
1726         Include the :set property in the dumped Emacs.
1728 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1730         SMIE: change indent rules format, improve smie-setup.
1731         * emacs-lisp/smie.el (smie-precs-precedence-table)
1732         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1733         Mark them pure so the tables gets built at compile time.
1734         (smie-bnf-precedence-table): Store the closer-alist in the table.
1735         (smie-prec2-levels): Preserve the closer-alist.
1736         (smie-blink-matching-open): Be more forgiving in case of indentation.
1737         (smie-hanging-p): Rename from smie-indent--hanging-p.
1738         (smie-bolp): Rename from smie-indent--bolp.
1739         (smie--parent, smie--after): New dynamic vars.
1740         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1741         (smie-indent-rules): Remove.
1742         (smie-indent--offset-rule): Remove fun.
1743         (smie-rules-function): New var.
1744         (smie-indent--rule): New fun.
1745         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1746         (smie-indent-exps): Use it.
1747         (smie-setup): Setup paren blinking; add keyword args for token
1748         functions; extract closer-alist from op-levels.
1749         (smie-indent-debug-log): Remove var.
1750         (smie-indent-debug): Remove fun.
1751         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1752         (prolog-smie-rules): New fun to replace it.
1753         (prolog-mode-variables): Simplify.
1754         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1755         it's setup automatically.
1756         (octave-smie-indent-rules): Remove.
1757         (octave-smie-rules): New fun to replace it.
1758         (octave-mode): Simplify.
1760 2010-10-29  Glenn Morris  <rgm@gnu.org>
1762         * files.el (temporary-file-directory): Remove (already defined in C).
1763         * cus-start.el: Add temporary-file-directory.
1765         * abbrev.el (abbrev-mode):
1766         * composite.el (auto-composition-mode):
1767         * menu-bar.el (menu-bar-mode):
1768         * simple.el (transient-mark-mode):
1769         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1770         that they do not define the associated variables twice.
1771         * simple.el (transient-mark-mode): Remove defvar.
1772         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1773         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1774         Handle multiple groups, and also custom-delayed-init-variables.
1775         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1777 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1779         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1780         (pcase-if): Add one minor optimization.
1781         (pcase-split-equal): Rename from pcase-split-eq.
1782         (pcase-split-member): Rename from pcase-split-memq.
1783         (pcase-u1): Add strings to the member optimization.
1784         Add `guard' variant of predicates.
1785         (pcase-q1): Add string patterns.
1787 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1789         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1791 2010-10-28  Glenn Morris  <rgm@gnu.org>
1793         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1794         Move menu-bar related settings to ../menu-bar.el.
1795         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1796         Move ns-specific settings here from term/ns-win.el.
1798         * simple.el (x-selection-owner-p): Remove unused declaration.
1800 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1802         * minibuffer.el (completion-cycling): New var (bug#7266).
1803         (minibuffer-complete, completion--do-completion):
1804         Use completion--flush-all-sorted-completions.
1805         (minibuffer-complete): Only cycle if completion-cycling is set.
1806         (completion--flush-all-sorted-completions): Unset completion-cycling.
1807         (minibuffer-force-complete): Set completion-cycling.
1808         (completion-all-sorted-completions): Move declaration before first use.
1810 2010-10-28  Leo  <sdl.web@gmail.com>
1812         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1813         which changes the order of matches seen by users (bug#7231).
1815 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
1817         * progmodes/compile.el (compilation-mode-font-lock-keywords):
1818         Don't confuse -omega as "-o mega".
1820 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1822         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1823         (log-edit-author): New dynamic var.
1824         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1825         to return the author if different from committer.
1826         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1828         * play/landmark.el: Adjust commenting convention.
1829         (lm-nil-score): Rename from nil-score.
1830         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1831         (OOOOscore): Move into a let in lm-score-trans-table.
1832         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1834         * electric.el (electric-indent-chars): Autoload.
1835         * progmodes/octave-mod.el (octave-mode):
1836         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1837         (ruby-mode-abbrev-table): Merge initialization and declaration.
1839 2010-10-27  Glenn Morris  <rgm@gnu.org>
1841         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1842         variable.
1844         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1846         * term/ns-win.el: Restore require of cl when compiling.
1847         (menu-bar-final-items): Remove non-existent `windows' menu.
1848         (ns-handle-nxopen): Optionally handle the temp-case.
1849         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1850         (ns-insert-file, ns-find-file): Use `pop'.
1852 2010-10-26  Glenn Morris  <rgm@gnu.org>
1854         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1856 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
1858         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1859         global map.
1860         * term/common-win.el (x-setup-function-keys): Remove most of the
1861         keymappings.  Comment on the remaining ones.
1863 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
1865         * server.el (server-port): New option.  (Bug#854)
1866         (server-start): Use server-port.
1868 2010-10-26  Glenn Morris  <rgm@gnu.org>
1870         * term/ns-win.el (ns-version-string): Remove unused declaration.
1871         (ns-invocation-args): Change to x-invocation-args.
1872         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1873         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1874         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1875         Use x-invocation-args instead of ns-invocation-args.
1876         (ns-initialize-window-system, handle-args-function-alist):
1877         Use x-handle-args instead of ns-handle-args.
1878         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1879         * startup.el (command-line-ns-option-alist): Replace
1880         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1881         ns-handle-iconic with the x- equivalents.
1883         * term/common-win.el (x-select-enable-clipboard):
1884         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1886         * term/ns-win.el: No need to require cl when compiling.
1887         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1888         (xw-defined-colors): Use the common-win definitions.
1889         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1890         (ns-handle-iconic): Make it an alias for x-handle-iconic.
1891         * term/common-win.el (x-select-text, x-alternatives-map)
1892         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1893         * loadup.el [ns]: Load common-win.
1895 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
1897         * epa-mail.el (epa-mail-encrypt): Handle local-part only
1898         recipients; expand mail aliases (Bug#7280).
1900 2010-10-25  Glenn Morris  <rgm@gnu.org>
1902         * term/common-win.el (x-handle-switch): Simplify with pop.
1903         Optionally handle numeric switches.
1904         (x-handle-numeric-switch): Just call x-handle-switch.
1905         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1906         (x-handle-name-switch, x-handle-display, x-handle-args):
1907         Simplify with pop.
1909         * term/ns-win.el: Do not require easymenu.
1910         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1911         <spell>: Move adjustments to menu-bar.el.
1912         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1913         <separator-undo, spell>: Move ns-win's adjustments here.
1914         * loadup.el [ns]: Do not load easymenu.
1916 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1918         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1919         Delete (Bug#7222).
1921         * startup.el (fancy-startup-tail): Instead of using inline images,
1922         refer to image files from etc/.
1924         * wid-edit.el (checkbox): Likewise.
1925         (widget-image-find): Center image specs.
1927 2010-10-24  Glenn Morris  <rgm@gnu.org>
1929         * term/ns-win.el (x-select-text): Doc fix.
1930         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1931         (x-select-text): Move to term/common-win.
1932         * term/w32-win.el (xw-defined-colors): Move to common-win.
1933         * term/x-win.el (xw-defined-colors, x-alternatives-map)
1934         (x-setup-function-keys, x-select-text): Move to common-win.
1935         * term/common-win.el (x-select-text, x-alternatives-map)
1936         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1937         definitions here.
1939 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
1941         * net/mairix.el (mairix-searches-mode-map):
1942         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1944 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
1946         * verilog-mode.el (verilog-directive-re): Make this variable
1947         auto-built for efficiency of execution and updating.
1948         (verilog-extended-complete-re): Support 'pure' fucntion & task
1949         declarations (these have no bodies).
1950         (verilog-beg-of-statement): General cleanup to enable support of
1951         'pure' fucntion & task declarations (these have no bodies).
1952         These efforts together fix Verilog bug210 from veripool; which was also
1953         noticed by Steve Pearlmutter.
1954         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1955         (verilog-directive-nest-re, verilog-set-auto-endcomments):
1956         Support `elsif.  Reported by Shankar Giri.
1957         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1958         attribute handling for lining up declarations and assignments.
1959         (verilog-beg-of-statement-1): Fix issue where continued declaration
1960         is indented differently if it is after a begin..end clock.
1961         (verilog-in-attribute-p, verilog-skip-backward-comments)
1962         (verilog-skip-forward-comment-p): Support proper treatment of
1963         attributes by indent code. Reported by Jeff Steele.
1964         (verilog-in-directive-p): Fix comment to correctly describe function.
1965         (verilog-backward-up-list, verilog-in-struct-region-p)
1966         (verilog-backward-token, verilog-in-struct-p)
1967         (verilog-in-coverage-p, verilog-do-indent)
1968         (verilog-pretty-declarations): Use verilog-backward-up-list as
1969         wrapper around backward-up-list inorder to properly skip comments.
1970         Reported by David Rogoff.
1971         (verilog-property-re, verilog-endcomment-reason-re)
1972         (verilog-beg-of-statement, verilog-set-auto-endcomments)
1973         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1974         of if). Reported by Max Bjurling and
1975         (verilog-calc-1): Fix for clocking block in modport
1976         declaration. Reported by Brian Hunter.
1978 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
1980         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1981         (verilog-gate-keywords, verilog-read-sub-decls)
1982         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1983         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1984         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
1985         (verilog-read-decls): Fix spaces in V2K module parameters causing
1986         mis-identification as interfaces, bug287.
1987         (verilog-read-decls): Fix not treating "parameter string" as a
1988         parameter in AUTOINSTPARAM.
1989         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1990         treating `elsif similar to `endif inside AUTOSENSE.
1991         (verilog-do-indent): Implement correct automatic or static task or
1992         function end comment highlight. Reported by Steve Pearlmutter.
1993         (verilog-font-lock-keywords-2): Fix highlighting of single
1994         character pins, bug264.  Reported by Michael Laajanen.
1995         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1996         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1997         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1998         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
1999         (verilog-pretty-expr): Fix interactive arguments, bug272.
2000         Reported by Mark Johnson.
2001         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2002         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2003         bug269. Suggested by Gary Delp.
2004         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2005         (verilog-preprocessor, verilog-set-compile-command):
2006         Create verilog-preprocess and verilog-preprocessor to show
2007         preprocessed output.
2008         (verilog-get-beg-of-line, verilog-get-end-of-line)
2009         (verilog-modi-file-or-buffer, verilog-modi-name)
2010         (verilog-modi-point, verilog-within-string): Move defmacro's
2011         before first use to avoid warning. Reported by Steve Pearlmutter.
2012         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2013         (verilog-colorize-region, verilog-highlight-buffer)
2014         (verilog-highlight-includes, verilog-highlight-modules)
2015         (verilog-highlight-region, verilog-mode): Rename colorize to
2016         highlight to match other packages.  Disable module highlighting,
2017         as received speed complaints, reenable for experimentation only
2018         using new verilog-highlight-modules.
2019         (verilog-read-decls): Fix regexp stack overflow in very large
2020         AUTO_TEMPLATEs, bug250.
2021         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2022         (verilog-scan): Create verilog-save-buffer-state to standardize
2023         making insignificant changes that shouldn't call hooks.
2024         (verilog-save-no-change-functions, verilog-save-scan-cache)
2025         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2026         Create verilog-save-no-change-functions to wrap verilog-scan
2027         preservation, and fix to work with nested preserved calls.
2028         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2029         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2030         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
2031         (verilog-submit-bug-report): Update variable list to be complete.
2032         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2033         breaking on-the-fly font-locking.
2034         (verilog-colorize-buffer, verilog-colorize-include-files)
2035         (verilog-colorize-include-files-buffer, verilog-colorize-region)
2036         (verilog-load-file-at-mouse, verilog-load-file-at-point)
2037         (verilog-mode, verilog-read-inst-module-matcher): With point on a
2038         AUTOINST cell instance name, middle mouse button now finds-file on
2039         it.  Suggested by Brad Dobbie.
2040         (verilog-alw-get-temps, verilog-auto-reset)
2041         (verilog-auto-sense-sigs, verilog-read-always-signals)
2042         (verilog-read-always-signals-recurse): Fix loop indexes being
2043         AUTORESET. AUTORESET now assumes any variables in the
2044         initialization section of a for() should be ignored.
2045         Reported by Dan Dever.
2046         (verilog-error-font-lock-keywords)
2047         (verilog-error-regexp-emacs-alist)
2048         (verilog-error-regexp-xemacs-alist): Fix error detection of
2049         Cadence HAL, reported by David Asher.  Repair drift between the
2050         three similar error variables.
2051         (verilog-modi-lookup, verilog-modi-lookup-cache)
2052         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2053         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2054         Fix slow verilog-auto expansion on very large files.
2055         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2056         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2057         "{1*2{...".  Broke in last revision.
2058         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2059         submodule connections with replications "{#{a},#{b}}".
2061 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
2063         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2064         Fix typo in docstring.
2066 2010-10-24  Kenichi Handa  <handa@m17n.org>
2068         * face-remap.el (text-scale-adjust): Call read-event with a proper
2069         prompt.
2071 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2073         * emacs-lisp/unsafep.el: Don't mark functions that display
2074         messages as safe.  Suggested by Johan Bockgård.
2076 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2078         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2079         Turn comments into docstrings.
2081         * minibuffer.el (completion--replace): Move point where it belongs
2082         when there's a common suffix (bug#7215).
2084 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2086         Merge read-color and facemenu-read-color (Bug#7242).
2088         * faces.el (read-color): Use the completion code from
2089         facemenu-read-color.  Require match in completion.  Doc fix.
2091         * facemenu.el (facemenu-read-color): Alias for read-color.
2092         (facemenu-set-foreground, facemenu-set-background):
2093         Use read-color.
2095         * frame.el (set-background-color, set-foreground-color)
2096         (set-cursor-color, set-mouse-color, set-border-color):
2097         Use read-color.
2099 2010-10-24  Leo  <sdl.web@gmail.com>
2101         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2102         argument of delete-file and delete-directory (Bug#7011).
2104 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2106         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2107         button-buffer-map.
2109 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
2111         * emacs-lisp/package.el (package--generate-package-list): Make the
2112         *Packages* buffer read-only.
2114 2010-10-24  Alan Mackenzie  <acm@muc.de>
2116         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2117         result of `c-beginning-of-decl-1' between invocations of a lambda
2118         function (Bug #7265).
2120 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
2122         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2123         executable is not available on the system (Bug#7268).
2125 2010-10-24  Glenn Morris  <rgm@gnu.org>
2127         * select.el (selection-coding-system, next-selection-coding-system):
2128         Sync doc with C versions.
2130         * w32-vars.el (x-select-enable-clipboard):
2131         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2132         * term/common-win.el (x-select-enable-clipboard): Move here.
2134         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2135         definition of C variable.
2137         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2138         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2139         Don't redefine things that are defined in C.
2140         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2141         (show-trailing-whitespace, auto-hscroll-mode)
2142         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2143         Set up the appropriate custom properties.
2145 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2147         Bind "C-c ]" to ...
2148         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2149         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2150         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2151         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2153 2010-10-23  Glenn Morris  <rgm@gnu.org>
2155         * textmodes/flyspell.el (flyspell-mode): If there was an error,
2156         say what it was.
2158         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2159         Sync docs with C version.
2161         * term/ns-win.el (xw-defined-colors):
2162         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2164         * term/pc-win.el (x-select-enable-clipboard):
2165         * term/x-win.el (x-select-enable-clipboard):
2166         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2168         * comint.el (comint-password-prompt-regexp): Make it less vague.
2169         Bump version.
2171         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2173         * help.el (finder-by-keyword): Remove unnecessary autoload.
2175 2010-10-22  Glenn Morris  <rgm@gnu.org>
2177         * loadup.el: Unconditionally load float-sup.
2178         * paren.el (show-paren-delay):
2179         * emacs-lisp/float-sup.el:
2180         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2181         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2182         (lazy-lock-stealth-verbose): Assume float support.
2183         * ps-print.el: Assume float support on Emacs.
2184         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2185         Remove non-float branch.
2187         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2188         src/Makefile no longer being pre-processed.
2190 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2192         * emacs-lisp/find-func.el (find-library): Use test-completion.
2194 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2196         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2198 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
2200         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2201         space in stat format string.
2202         (tramp-send-command): Unset $PS1 when using here documents, in
2203         order not to get several prompts.
2204         (tramp-get-inline-coding): Return `nil' in case of errors.
2206 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
2208         * hexl.el (hexl-mode, hexl-mode-exit):
2209         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2210         (hexl-revert-buffer-function): New function.
2211         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2213 2010-10-19  Alan Mackenzie  <acm@muc.de>
2215         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2216         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2217         that these keywords aren't wrongly matched as identifiers.
2219         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2220         setting of c-new-BEG and c-new-END from c-before-change to
2221         c-after-change.  (Bug#7181)
2223 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2225         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2226         Don't mark as safe.
2228         * custom.el (custom-theme-set-variables): Likewise.
2229         (load-theme): Add custom-theme-set-faces and
2230         custom-theme-set-variables to safe-functions while loading.
2231         (custom-enabled-themes): Mark as risky.
2233 2010-10-18  Julien Danjou  <julien@danjou.info>
2235         * bindings.el: Remove end dashes in default mode-line-format.
2237 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2239         * bindings.el (global-map): Bind C-d to delete-char and deletechar
2240         to delete-forward-char.
2242         * simple.el (normal-erase-is-backspace-mode): Remap delete to
2243         deletechar, and hence delete-forward-char.
2245 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2247         * repeat.el (repeat): Use read-key (bug#6256).
2249 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2251         * emacs-lisp/unsafep.el: Don't mark functions that display
2252         messages as safe.  Suggested by Johan Bockgård.
2254 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2256         * minibuffer.el (completion--replace): Move point where it belongs
2257         when there's a common suffix (bug#7215).
2259 2010-10-19  Kenichi Handa  <handa@m17n.org>
2261         * international/characters.el: Add category '|' (word breakable)
2262         to fullwidth characters.
2264 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
2266         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2267         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2268         order to make stat results a float.  Patch by Andreas Schwab
2269         <schwab@linux-m68k.org>.
2271 2010-10-18  Julien Danjou  <julien@danjou.info>
2273         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2274         hidden by `make-pointer-invisible'.
2276 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2278         * files.el (locate-file-completion-table): Strip non-matching elements
2279         before checking length of list (bug#7238).
2281 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
2283         * custom.el (custom-theme-set-variables): Mark as a safe function.
2284         (load-theme): Check forms using unsafep.
2286         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2288 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
2290         * textmodes/ispell.el (ispell-aspell-find-dictionary):
2291         Fix aspell data file searching (bug#7230).
2293 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2295         * cus-theme.el (custom-theme--migrate-settings): New var.
2296         (customize-create-theme): Allow editing the `user' theme.
2297         (custom-theme-add-variable, custom-theme-add-var-1)
2298         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2299         to the front of each variable or face widget.
2300         (custom-theme-write): Save theme settings in the correct order.
2301         Optionally, remove saved settings from user customizations.
2302         (custom-theme-write-variables, custom-theme-write-faces):
2303         Save only the checked widgets.
2304         (customize-themes): Add a link for migrating custom settings.
2306         * custom.el (custom-declare-theme, provide-theme):
2307         Use custom-theme-name-valid-p.
2308         (custom-theme-name-valid-p): Remove checks that are now
2309         unnecessary since themes no longer obey load-path.
2311         * cus-edit.el (custom-variable-value-create): For the simple
2312         style, hide documentation string when hidden.
2314 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2316         * cus-edit.el (custom-variable, custom-face): Combine the
2317         :inhibit-magic and :display-style properties into a single
2318         :custom-style property.
2319         (custom-toggle-hide-variable, custom-toggle-hide-face):
2320         New functions.  If hiding an edited value, save it to :shown-value.
2321         (custom-variable-value-create, custom-face-value-create): Use them.
2322         (custom-magic-reset): Allow magic property to be unset.
2324         * custom.el: Custom themes no longer use load-path.
2325         (custom-theme-load-path): New option.  Change built-in theme
2326         directory to etc/.
2327         (custom-enabled-themes): Add custom-theme-load-path dependency.
2328         (custom-theme--load-path): New function.
2329         (load-theme, custom-available-themes): Use it.
2331         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2332         (customize-themes): Link to custom-theme-load-path variable.
2333         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2334         :custom-style property.
2336         * themes/*.el: Moved to etc/.
2338 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
2340         * textmodes/reftex-cite.el
2341         (reftex-extract-bib-entries-from-thebibliography): Do not move
2342         point when searching for \bibitem entries.  Match entries with
2343         spaces or tabs in front of arguments.
2345 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2347         * cus-theme.el (customize-create-theme): Delete overlays after
2348         erasing.  If given a THEME arg, display only the faces of that arg
2349         instead of custom-theme--listed-faces.
2350         (custom-theme-variable-menu, custom-theme-variable-action)
2351         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2352         (custom-theme-add-variable, custom-theme-add-face): Apply value
2353         from the theme settings, instead of the current value.
2354         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2355         (custom-theme-visit-theme): Allow calling outside theme buffers.
2356         (custom-theme-merge-theme): Don't enable the theme when merging.
2357         (custom-theme-write-variables, custom-theme-write-faces): Use the
2358         :shown-value properties to save buffer values, not global ones.
2359         (customize-themes): Display a warning about user customizations.
2361         * cus-edit.el (custom-variable-value-create)
2362         (custom-face-value-create): Obey new special properties
2363         :shown-value and :inhibit-magic.
2365 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
2367         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2368         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
2369         <dale@codefu.org>.
2371 2010-10-14  Kenichi Handa  <handa@m17n.org>
2373         * mail/rmail.el (rmail-show-message-1): Catch an error of
2374         base64-decode-region and just show an error message (bug#7165).
2376         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
2377         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2378         a font-spec (bug#7197).
2380 2010-10-14  Glenn Morris  <rgm@gnu.org>
2382         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2384 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
2386         * international/mule.el (define-coding-system):
2387         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2388         * composite.el (compose-region): Fix typo in docstring.
2390 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
2392         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2393         only after checking the theme-face property.
2395         * faces.el (face-spec-reset-face): Reset all attributes in one
2396         single call to set-face-attribute.
2397         (face-spec-match-p): Make it a defsubst.
2398         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2399         (x-create-frame-with-faces, tty-create-frame-with-faces)
2400         (tty-set-up-initial-frame-faces): Don't recompute face specs in
2401         frame-set-background-mode, since they are recomputed immediately
2402         afterwards in face-set-after-frame-default.
2403         (face-set-after-frame-default): Minor optimization.
2404         (cursor): Provide non-trivial defface spec.
2406         * custom.el (custom-theme-recalc-face): Simplify.
2408 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
2410         * calc/calc-alg.el (math-var): Rename from `var'.
2411         (math-is-polynomial, math-is-poly-rec): Replace `var'
2412         with `math-var'.
2414         * calc/calcalg2.el (math-var): Rename from `var'.
2415         (calcFunc-table, math-scan-for-limits): Replace `var'
2416         with `math-var'.
2418 2010-10-13  Glenn Morris  <rgm@gnu.org>
2420         * subr.el (last): Deal with dotted lists (reported in bug#7174).
2422 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
2424         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2426 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2428         * net/tls.el (tls-program): Remove spurious %s from openssl.
2429         (tls-starttls-switches): Remove starttls hack.
2430         (open-tls-stream): Ditto.
2431         (tls-find-starttls-argument): Ditto.
2433 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
2435         * image.el (image-library-alist): Declare as obsolete alias.
2436         (image-type-available-p): Use `dynamic-library-alist'.
2438         * term/w32-win.el (dynamic-library-alist):
2439         Use instead of `image-library-alist'.
2441 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
2443         * subr.el (last): Make it faster.  (Bug#7174)
2445 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
2447         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
2449 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2451         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2452         (describe-theme-1): Extract doc from unloaded themes.
2454         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2456         * themes/tango-theme.el:
2457         * themes/tango-dark-theme.el:
2458         * themes/wheatgrass-theme.el: New files.
2460 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2462         * cus-theme.el (describe-theme, customize-themes)
2463         (custom-theme-save): New commands.
2464         (custom-new-theme-mode-map): Bind C-x C-s.
2465         (custom-new-theme-mode): Use custom--initialize-widget-variables.
2466         (customize-create-theme): New optional arg THEME.
2467         (custom-theme-revert): Use it.
2468         (custom-theme-visit-theme): Remove dead code.
2469         (custom-theme-merge-theme): Use custom-available-themes.
2470         (custom-theme-write): Make interactive.
2471         (custom-theme-write): Use custom-theme-name-valid-p.
2472         (describe-theme-1, custom-theme-choose-revert)
2473         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2474         New funs.
2475         (custom-theme-allow-multiple-selections): New option.
2476         (custom-theme-choose-mode): New major mode.
2478         * custom.el (custom-theme-set-variables): Remove dead code.
2479         Obey custom--inhibit-theme-enable.
2480         (custom--inhibit-theme-enable): New var.
2481         (provide-theme): Obey it.
2482         (load-theme): Replace load with manual read/eval, in order to
2483         check for correctness.  Use custom-theme-name-valid-p.
2484         (custom-theme-name-valid-p): New function.
2485         (custom-available-themes): Use it.
2487         * cus-edit.el (custom--initialize-widget-variables): New function.
2488         (Custom-mode): Use it.
2490         * cus-face.el (custom-theme-set-faces): Remove dead code.
2491         Obey custom--inhibit-theme-enable.
2493         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2495 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
2497         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2499 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
2501         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2502         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2503         (mac-right-option-modifier): New alias for ns-right-option-modifier.
2505         * cus-start.el (all): ns-right-alternate-modifier is new.
2507 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2509         * emacs-lisp/lisp.el (lisp-completion-at-point):
2510         Use emacs-lisp-mode-syntax-table for the whole function.
2512 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
2514         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2515         instead of font-lock-mode before adding keywords.
2516         Remove hi-lock-mode off code.  Remove inhibit hack.
2517         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2518         non-nil; removed hook inhibit hack.
2520 2010-10-12  Glenn Morris  <rgm@gnu.org>
2522         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2523         (load-path-shadows-find): ... to this.
2524         (list-load-path-shadows): Update for above change.
2526         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2528 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2530         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2531         Fix comment for declare-function.
2533 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
2535         * custom.el (custom-fix-face-spec): New function; code moved from
2536         custom-face-edit-fix-value.
2537         (custom-push-theme): Use it when checking if a face has been
2538         changed outside customize.
2539         (custom-available-themes): New function.
2540         (load-theme): Use it.
2542         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2544         * custom.el (custom-push-theme): Cleanup (use cond).
2545         (disable-theme): Recompute the saved-face property.
2546         (custom-theme-recalc-face): Follow face alias before setting prop.
2548         * image.el (image-checkbox-checked, image-checkbox-unchecked):
2549         New variables, containing checkbox images.
2551         * startup.el (fancy-startup-tail):
2552         * wid-edit.el (checkbox): Use them.
2554 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
2556         * shell.el (shell-mode-map):
2557         * progmodes/modula2.el (m2-mode-map):
2558         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2559         * play/mpuz.el (mpuz-mode-map):
2560         * play/landmark.el (lm-mode-map):
2561         * play/decipher.el (decipher-mode-map):
2562         * play/5x5.el (5x5-mode-map):
2563         * net/telnet.el (telnet-mode-map):
2564         * net/quickurl.el (quickurl-list-mode-map):
2565         * net/mairix.el (mairix-searches-mode-map):
2566         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2567         * net/dig.el (dig-mode-map):
2568         * mail/mspools.el (mspools-mode-map):
2569         * hexl.el (hexl-mode-map):
2570         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2571         (wordstar-C-o-map, wordstar-C-q-map):
2572         * emacs-lisp/edebug.el (edebug-eval-mode-map):
2573         * emacs-lisp/chart.el (chart-map):
2574         * edmacro.el (edmacro-mode-map):
2575         * erc/erc-list.el (erc-list-menu-mode-map):
2576         * array.el (array-mode-map): Declare and define in one step.
2578         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2580 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
2582         * epa.el (epa-passphrase-callback-function): Display filename
2583         passed as the 3rd arg.
2584         * epa-file.el (epa-file-passphrase-callback-function):
2585         Pass filename to epa-passphrase-callback-function.
2587 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
2589         * cus-edit.el (custom-face-widget-to-spec)
2590         (custom-face-get-current-spec, custom-face-state): New functions.
2591         (custom-face-set, custom-face-mark-to-save)
2592         (custom-face-value-create, custom-face-state-set): Use them.
2594         * cus-theme.el (custom-theme--listed-faces): New var.
2595         (customize-create-theme): Use *Custom Theme* as the buffer name.
2596         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
2597         faces listed in custom-theme--listed-faces.
2598         (custom-theme-revert): New function.
2599         (custom-theme-add-variable, custom-theme-add-face): Insert at the
2600         bottom of the list.
2601         (custom-theme-write): Prompt for theme name if empty.
2602         (custom-theme-write-variables): Use dolist.
2603         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2605 2010-10-09  Alan Mackenzie  <acm@muc.de>
2607         Enhance fontification of declarators to take account of the
2608         presence/absence of "typedef".
2610         * cc-engine.el (c-forward-type): New &optional param
2611         "brace-block-too".
2612         (c-forward-decl-or-cast-1): cdr of return value now indicates the
2613         presence of either or both of a "struct"-like keyword and "typedef".
2615         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2616         fontification of declarators which follow a "}".
2617         (c-font-lock-declarations): Fontify declarators according to the
2618         presence/absence of "typedef".
2620         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2621         for "typedef".
2622         (c-typedef-decl-key): New lang variable built from
2623         c-typedef-decl-kwds.
2625 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2627         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2628         since that's too annoying.  Move the filter groups commands to
2629         TAB/backtab.
2631         * epa.el (epa-passphrase-callback-function): Say what we're
2632         querying the password for.
2634         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2635         behaviour, don't bury the ibuffer buffer when visiting other buffers.
2637 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2639         * cus-edit.el (custom-commands, custom-buffer-create-internal)
2640         (custom-magic-value-create): Pad button tags with spaces.
2641         (custom-face-edit): New variable.
2642         (custom-face-value-create): Determine whether to use the usual
2643         face editor here, instead of using custom-face-selected.
2644         Pass face defaults to custom-face-edit widget.
2645         (custom-face-selected, custom-display-unselected): Delete widgets.
2646         (custom-display-unselected-match): Function removed.
2647         (custom-face-set, custom-face-mark-to-save):
2648         Accept custom-face-edit widgets as the direct widget child.
2650         * wid-edit.el (widget--completing-widget): New var.
2651         (widget-default-complete): Bind it when doing completion.
2652         (widget-string-complete, widget-file-complete): Use it.
2654 2010-10-09  Glenn Morris  <rgm@gnu.org>
2656         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2657         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2658         (holiday-hebrew-misc): Small simplifications.
2660         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2662         * net/browse-url.el: Don't require thingatpt, term, dired,
2663         executable, or w3-auto when compiling.
2664         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2665         Declare.
2666         (browse-url-text-emacs): Require term.
2668 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
2670         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2672 2010-10-08  Glenn Morris  <rgm@gnu.org>
2674         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2676         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2677         (shadows-compare-text-p): Make it an obsolete alias for...
2678         (load-path-shadows-compare-text): ... new name.
2679         (find-emacs-lisp-shadows): Update for above name change.
2680         (load-path-shadows-same-file-or-nonexistent): New name for the old
2681         shadow-same-file-or-nonexistent.
2683 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2685         * minibuffer.el (completion--some, completion--do-completion)
2686         (minibuffer-complete-and-exit, minibuffer-completion-help)
2687         (completion-basic-try-completion)
2688         (completion-basic-all-completions)
2689         (completion-pcm--find-all-completions): Use lexical-let to
2690         avoid some false matches in variable completion (Bug#7056)
2692 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
2694         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
2696 2010-10-08  Leo  <sdl.web@gmail.com>
2698         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2699         return non-nil if the file exists (Bug#7090).
2701 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2703         * minibuffer.el (completion--replace):
2704         Better preserve markers (bug#7138).
2706 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
2708         * server.el (server-process-filter): Doc fix.
2710 2010-10-08  Drew Adams  <drew.adams@oracle.com>
2712         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
2714 2010-10-08  Glenn Morris  <rgm@gnu.org>
2716         * vc/ediff-wind.el (ediff-setup-control-frame):
2717         * vc/ediff-ptch.el (ediff-default-backup-extension):
2718         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2719         (ediff-exec-process): Remove system-types emx, windows-95.
2721         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
2723 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
2725         * cus-edit.el (custom-variable, custom-face): Doc fix.
2726         (custom-face-edit): Add value-create attribute.
2727         (custom-face-edit-value-create)
2728         (custom-face-edit-value-visibility-action): New functions.
2729         Hide unused face attributes by default, and add a visibility toggle.
2730         (custom-face-edit-deactivate): Show empty values with shadow face.
2731         (custom-face-selected): Only use this for face specs with default
2732         attributes.
2733         (custom-face-value-create): Cleanup.
2735         * wid-edit.el (widget-checklist-value-create): Use dolist.
2736         (widget-checklist-match-find): Make second arg optional.
2738 2010-10-07  Glenn Morris  <rgm@gnu.org>
2740         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2741         Prefix things.
2743         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2744         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2745         load-path-shadows-mode, update references.
2746         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2747         Rename variable and button.
2748         (list-load-path-shadows): Update button caller.
2750 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2752         * emacs-lisp/smie.el (smie-bnf-classify): New function.
2753         (smie-bnf-precedence-table): Use it to remember the closers/openers.
2754         (smie-merge-prec2s): Handle those new entries.
2755         (smie-prec2-levels): Only set precedence to nil for actual
2756         openers/closers.
2757         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2758         that is now unnecessary.
2760 2010-10-07  Miles Bader  <miles@gnu.org>
2762         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2764 2010-10-07  Glenn Morris  <rgm@gnu.org>
2766         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2767         (mail-position-on-field): Remove declarations.
2768         (mail-position-on-field): Autoload it.
2769         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2770         and mail-header-end.  Don't require sendmail.
2772         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2773         (shadow-mode): New mode.
2774         (shadow-find-file): New button.
2775         (list-load-path-shadows): Use shadow-mode and buttons.
2777         * iimage.el (iimage-version): Remove.
2778         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2779         Turn into defcustoms.
2780         (iimage-mode-map): Give it a doc string.
2782         * calendar/appt.el (appt-activate): Give a warning rather than an error
2783         if there is no diary-file.
2785 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
2787         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2788         Use `tramp-handle-find-backup-file-name'.
2790 2010-10-06  Glenn Morris  <rgm@gnu.org>
2792         * font-core.el (font-lock-defaults-alist): Remove variable.
2793         (font-lock-mode): Doc fix.
2794         (font-lock-default-function): Do not consult font-lock-defaults-alist.
2795         * font-lock.el (font-lock-refresh-defaults): Doc fix.
2796         (font-lock-set-defaults): Doc fix.
2797         Do not consult font-lock-defaults-alist.
2799         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2801         * emacs-lisp/cl.el: No longer provide cl-19.
2803 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
2805         * net/tramp.el (tramp-handle-directory-files-and-attributes)
2806         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2807         New defuns, taken from tramp-smb.el.
2808         (tramp-coding-system-change-eol-conversion)
2809         (tramp-set-process-query-on-exit-flag): Remove.
2811         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2812         (tramp-compat-coding-system-change-eol-conversion)
2813         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2814         from tramp.el.
2816         * net/tramp-gvfs.el:
2817         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2818         by `tramp-compat-set-process-query-on-exit-flag'.
2820         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2821         Use `tramp-handle-directory-files-and-attributes',
2822         `tramp-handle-file-exists-p' and
2823         `tramp-handle-file-newer-than-file-p'.
2824         (tramp-imap-handle-file-exists-p)
2825         (tramp-imap-handle-file-executable-p)
2826         (tramp-imap-handle-file-readable-p)
2827         (tramp-imap-handle-directory-files-and-attributes)
2828         (tramp-imap-handle-file-newer-than-file-p): Remove.
2830         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2831         by `tramp-compat-set-process-query-on-exit-flag' and
2832         `tramp-coding-system-change-eol-conversion' by
2833         `tramp-compat-coding-system-change-eol-conversion'.
2835         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2836         Use `tramp-handle-directory-files-and-attributes',
2837         `tramp-handle-file-exists-p' and
2838         `tramp-handle-file-newer-than-file-p'.
2839         (tramp-smb-handle-directory-files-and-attributes)
2840         (tramp-smb-handle-file-exists-p)
2841         (tramp-smb-handle-file-newer-than-file-p): Remove.
2842         (tramp-smb-maybe-open-connection):
2843         Replace `tramp-set-process-query-on-exit-flag' by
2844         `tramp-compat-set-process-query-on-exit-flag'.
2846 2010-10-05  Glenn Morris  <rgm@gnu.org>
2848         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2850 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
2852         Continue reorganization of load dependencies.  (Bug#7156)
2854         * net/tramp.el (tramp-handle-file-local-copy-hook)
2855         (tramp-delete-temp-file-function): Move down.
2856         (tramp-exists-file-name-handler): Move up.
2857         (tramp-register-file-name-handlers): Simplify autoload.
2858         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2859         (tramp-handle-directory-files, tramp-handle-dired-uncache)
2860         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2861         (tramp-handle-file-name-completion)
2862         (tramp-handle-file-name-directory)
2863         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2864         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2865         (tramp-handle-find-backup-file-name)
2866         (tramp-handle-insert-file-contents, tramp-handle-load)
2867         (tramp-handle-substitute-in-file-name)
2868         (tramp-handle-unhandled-file-name-directory)
2869         (tramp-mode-string-to-int, tramp-local-host-p)
2870         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2872         * net/tramp-gvfs.el (top):
2873         * net/tramp-smb.el (top): Do not require 'tramp-sh.
2875         * net/tramp-sh.el (all): Move several objects to tramp.el, see
2876         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2878 2010-10-04  Glenn Morris  <rgm@gnu.org>
2880         * calendar/appt.el (appt-add): Ensure reminders are enabled.
2881         (appt-activate): Give status messages.
2883 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
2885         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
2886         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2887         `gnutls-negotiate' (formerly `starttls-negotiate').
2888         Remove trivial wrapper `starttls-open-stream'.
2890 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
2892         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2893         log-outgoing commands.
2894         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2895         to create a buffer local revert-buffer-function variable.
2896         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2897         revert-buffer-function lambda.
2899 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
2901         * net/gnutls.el (starttls-negotiate): Use the plist interface to
2902         `gnutls-boot'.  Make TYPE the only required parameter.
2903         Allow TRUSTFILES and KEYFILES to be lists.
2904         (open-ssl-stream): Use it.
2906 2010-10-03  Glenn Morris  <rgm@gnu.org>
2908         * subr.el (directory-sep-char): Remove obsolete variable.
2909         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2910         it is "necessary".
2912         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2913         * vc/vc.el (vc-static-header-alist): Doc fix.
2914         * vc/vc-cvs.el (vc-cvs-header):
2915         * vc/vc-rcs.el (vc-rcs-header):
2916         * vc/vc-sccs.el (vc-sccs-header):
2917         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2918         * obsolete/vc-mcvs.el (vc-mcvs-header):
2919         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2920         on XEmacs.
2922 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2924         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2925         Remove obsolete use of binary-overwrite-mode (Bug#7001).
2927 2010-10-03  Glenn Morris  <rgm@gnu.org>
2929         * obsolete/x-menu.el: Remove file, obsolete since 21.1
2931         * textmodes/rst.el (rst-font-lock-keywords-function):
2932         Drop Emacs 20 code.
2934         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2936         * printing.el: Drop Emacs 20 code.
2938         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2939         without having used appt.el already).
2941         * subr.el (make-local-hook): Remove function obsolete since 21.1.
2942         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2943         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2944         XEmacs.
2945         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2946         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2948         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2949         (charset-width, find-charset-region, chars-in-region, forward-point)
2950         (encode-coding-string, coding-system-p, ccl-execute-on-string)
2951         (define-ccl-program, multibyte-string-p, string-make-multibyte):
2952         Remove compatibility cruft (none of these are used by ps*.el).
2954 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2956         * subr.el (booleanp): Return t instead of a list (Bug#7086).
2958 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2960         * server.el (server-process-filter, server-return-error):
2961         Give emacsclient time to shut down after receiving an error string.
2963 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
2965         * files.el (remote-file-name-inhibit-cache): New defcustom.
2967         * time.el (display-time-file-nonempty-p):
2968         Use `remote-file-name-inhibit-cache'.
2970         * net/tramp.el (tramp-completion-reread-directory-timeout):
2971         Fix docstring.
2973         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2974         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2975         `remote-file-name-inhibit-cache'.  Check also for an integer
2976         value.  Add/increase counter when `tramp-verbose' >= 10.
2977         (tramp-set-file-property): Add/increase counter when
2978         `tramp-verbose' >= 10.
2980         * net/tramp-cmds.el (tramp-cleanup-all-connections)
2981         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2982         (tramp-bug): Set tramp-autoload cookie.  Report all interned
2983         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
2984         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
2985         characters only in strings.
2987         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2988         to backward compatibility.
2990         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2991         (tramp-handle-file-name-all-completions)
2992         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2993         (tramp-open-connection-setup-interactive-shell):
2994         Call `tramp-cleanup-connection' directly.
2996 2010-10-02  Glenn Morris  <rgm@gnu.org>
2998         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3000         * subr.el (char-bytes): Remove obsolete function.
3002         * isearch.el (isearch-return-char): Remove obsolete function.
3004         * mouse.el: No longer provide mldrag.
3005         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3006         Remove obsolete aliases.
3008         * comint.el (comint-kill-output): Remove obsolete alias.
3010         * composite.el (decompose-composite-char): Remove obsolete function.
3011         * ps-def.el (decompose-composite-char): Remove unused function.
3013         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3015         * outline.el (outline-visible): Remove obsolete function.
3017         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3018         * faces.el (internal-find-face, internal-get-face)
3019         (frame-update-faces, frame-update-face-colors)
3020         (x-frob-font-weight, x-frob-font-slant)
3021         (internal-frob-font-weight, internal-frob-font-slant)
3022         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3023         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3024         (x-make-font-bold-italic): Remove functions and aliases, obsolete
3025         since Emacs 21.1.
3026         * emulation/viper-util.el (viper-get-face):
3027         * obsolete/lucid.el (find-face, get-face): Use facep.
3028         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3029         Remove unused functions.
3030         * vc/ediff-util.el (ediff-submit-report): Doc fix.
3032         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3033         delete tempfile if interrupted during compilation.
3035 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3037         * net/tls.el (tls-starttls-switches): Give up on using starttls with
3038         gnutls-cli.
3039         (tls-program): Add --insecure to be consistent with the defaults from
3040         openssl s_client.  Now all three commands are insecure.
3042 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
3044         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3045         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3046         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3048 2010-10-01  Glenn Morris  <rgm@gnu.org>
3050         * obsolete/sc.el: Remove file.
3052         * files.el (temporary-file-directory): On darwin, also try
3053         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3055 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
3057         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3058         Let's not break compatibility gratuitously, shall we?
3060 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3062         * net/tls.el (tls-starttls-switches): New variable.
3063         (tls-find-starttls-argument): Use it.
3064         (open-tls-stream): Ditto.
3066         * net/netrc.el (netrc-credentials): Return the value of the "default"
3067         entry.
3068         (netrc-machine): Ditto.
3070 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
3072         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3074 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
3076         * server.el (server-start): Don't write pid to the authentication file.
3077         (server-create-tty-frame): Don't send pid.
3078         (server-process-filter): Send pid at the start of every connection.
3080 2010-09-30  Glenn Morris  <rgm@gnu.org>
3082         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3083         (show-all-diary-entries): Remove obsolete function aliases.
3085         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3086         Remove options, obsolete since 22.1.
3087         (appt-display-format, appt-display-message):
3088         Remove backwards-compatibility code.
3089         (appt-check): No longer check appt-issue-message.
3090         (appt-make-list): No longer autoload it.  Doc fix.  No longer
3091         activate the package.
3093 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3095         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3096         (starttls-negotiate): Just call boot, and let the handshake be
3097         triggered from the read loop.
3099 2010-09-29  Glenn Morris  <rgm@gnu.org>
3101         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3102         not displaying the diary.
3103         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3104         * calendar/appt.el (appt-check): No longer need to kill diary.
3106         * calendar/diary-lib.el (diary-list-entries): Move the
3107         "Preparing..." message entirely here.
3108         (diary-simple-display, diary-fancy-display): Move "Preparing..."
3109         messages to diary-list-entries.
3110         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3111         diary-display-function.
3113         * calendar/diary-lib.el (diary-include-other-diary-files):
3114         Trap some recursive includes.
3116         * calendar/appt.el (appt-activate): Check diary file.
3118 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
3120         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3121         construction.
3123         * calendar/time-date.el: No need to require cl for Emacs 21.
3125 2010-09-28  Glenn Morris  <rgm@gnu.org>
3127         * calendar/appt.el (appt-check): Minor simplification.
3129 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
3131         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3132         citation prefix.
3134 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
3136         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3137         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
3139 2010-09-27  Kenichi Handa  <handa@m17n.org>
3141         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3142         "ustar" format.
3144 2010-09-27  Kenichi Handa  <handa@m17n.org>
3146         * international/mule.el (define-coding-system): Docstring fixed.
3148         * international/mule-diag.el (describe-character-set): Use princ
3149         with proper print-length and print-level instead of insert.
3151 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
3153         * window.el (walk-windows): Doc fix (bug#7105).
3155 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3157         * emacs-lisp/float-sup.el (e): Remove.
3159 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
3161         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3162         variable.
3163         (starttls-negotiate): Use it.
3165 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3167         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3168         back.
3170 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3172         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3174 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3176         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3178         * net/netrc.el (netrc-store-data): New function.
3180 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
3182         * net/gnutls.el: GnuTLS glue code to set up a connection.
3184 2010-09-25  Julien Danjou  <julien@danjou.info>
3186         * notifications.el: Call dbus-register-signal only if it is bound.
3188 2010-09-25  Glenn Morris  <rgm@gnu.org>
3190         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3191         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3192         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3193         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3194         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3195         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3196         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3197         * eshell/esh-util.el, eshell/esh-var.el:
3198         Remove leading `*' from docs of faces and defcustoms.
3200 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
3202         * eshell/em-ls.el (eshell-ls-archive-regexp):
3203         * eshell/esh-util.el (eshell-tar-regexp):
3204         * ibuffer.el (ibuffer-compressed-file-name-regexp):
3205         * info.el (Info-suffix-list):
3206         * international/mule.el (auto-coding-alist):
3207         * woman.el (woman-file-regexp, woman-file-compression-regexp):
3208         * progmodes/etags.el (tags-compression-info-list):
3209         Support xz compression.
3211 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
3213         * files.el (get-free-disk-space): Don't assume the "df" output
3214         columns line up (Bug#6995).
3216 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
3218         * finder.el (finder-unknown-keywords):
3219         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3220         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3222 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
3224         * server.el (server-start): Revert part of 2010-08-08 change.  Using
3225         address 127.0.0.1 for local host is now done in Fmake_network_process.
3227 2010-09-24  Glenn Morris  <rgm@gnu.org>
3229         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3230         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3231         * textmodes/css-mode.el, textmodes/dns-mode.el:
3232         Move autoloaded auto-mode-alist entries to files.el.
3233         * files.el (auto-mode-alist): Move entries here.
3235 2010-09-23  Glenn Morris  <rgm@gnu.org>
3237         * isearch.el (isearch-lazy-highlight-cleanup)
3238         (isearch-lazy-highlight-initial-delay)
3239         (isearch-lazy-highlight-interval)
3240         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3241         * net/net-utils.el (ipconfig-program-options):
3242         Move aliases to options before the associated definitions.
3244 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3246         * newcomment.el (comment-normalize-vars): Better test validity of
3247         comment-end-skip.
3249 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3251         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3252         (float-e): New name for `e'.
3253         (degrees-to-radians, radians-to-degrees):
3254         * calendar/solar.el (solar-longitude):
3255         * calculator.el (calculator-registers, calculator-funcall):
3256         * textmodes/artist.el (artist-spray-random-points):
3257         * play/bubbles.el (bubbles--initialize-images): Use new names.
3259 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
3261         Update to CEDET 1.0's version of EIEIO.
3263         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3264         New function.
3265         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3266         (eieio-default-eval-maybe): Eval val instead of unquoting only.
3267         (class-precedence-list): If class is nil, return nil.
3268         (eieio-generic-call): If class of first input arg is nil, don't
3269         look up static methods, and do check for primary methods.
3270         (initialize-instance): See if the default needs to be evaluated
3271         during the constructor.
3272         (eieio-perform-slot-validation-for-default): Don't do the check
3273         for values that will eventually be evaluated.
3274         (eieio-eval-default-p): New function.
3275         (eieio-default-eval-maybe): Use it.
3277 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3279         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3280         method-invocation-order.
3281         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3282         (eieio-class-precedence-dfs): Compute class precedence list using
3283         dfs algorithm.
3284         (eieio-class-precedence-bfs): Compute class precedence list using
3285         bfs algorithm.
3286         (eieio-class-precedence-c3): Compute class precedence list using
3287         c3 algorithm.
3288         (class-precedence-list): New function.
3289         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3290         (inconsistent-class-hierarchy): New error symbol.
3291         (call-next-method): Stow the replacement argument list for future
3292         call-next-method invocations.
3294 2010-09-23  Glenn Morris  <rgm@gnu.org>
3296         * calendar/appt.el (appt-check): If not displaying the diary,
3297         use (diary 1) to only get the entries we need.
3298         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3299         that it is in day order.  (Bug#7019)
3301         * calendar/appt.el (appt-check): Rather than showing the diary,
3302         just turn off invisible display, and only if needed.
3304         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
3306 2010-09-23  Glenn Morris  <rgm@gnu.org>
3308         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3309         (byte-compile-defvar, byte-compile-cl-warn):
3310         Start warnings with lower-case, like the majority.
3312         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3314         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
3316         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3317         * files.el (auto-mode-alist): Move ld-script entries here, further down
3318         the list.
3320         * vc/add-log.el: Don't require timezone when compiling.
3321         (timezone-make-date-sortable): Autoload it.
3322         (change-log-sortable-date-at): Don't require timezone.
3323         Use `ignore-errors'.
3325         * comint.el (comint-use-prompt-regexp-instead-of-fields):
3326         Move alias before definition, so it does not need autoloading.
3328         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3329         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3330         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3331         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3332         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3333         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3334         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3335         * textmodes/tex-mode.el, textmodes/two-column.el:
3336         Remove leading `*' from docs of defcustoms etc.
3338 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
3340         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3342 2010-09-22  Dan Christensen  <jdc@uwo.ca>
3344         * calendar/time-date.el (date-to-time): Try using parse-time-string
3345         first before using the slower timezone-make-date-arpa-standard.
3347 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
3349         * calendar/time-date.el (format-seconds): Comment fix.
3351 2010-09-22  Glenn Morris  <rgm@gnu.org>
3353         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3354         is not automatically buffer-local.
3356 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3358         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3359         (smie-indent-comment): Be more careful with comment-start-skip.
3360         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3361         (smie-indent-functions): Use them.
3363 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
3365         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3367 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
3369         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3370         tool-bar-position.  Don't modify frame parameters here.
3371         (menu-bar-options-save): Add tool-bar-position.
3373         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3375 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3377         * textmodes/reftex-parse.el (reftex-what-macro)
3378         (reftex-context-substring): Let-bind forward-sexp-function to nil
3379         since we don't need/want to treat \begin...\end as a block (bug#7053).
3381         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3383         * simple.el (blink-matching-open): Use syntax-class.
3385         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3386         Set invisibility spec for pascal's outline mode.
3387         (pascal-outline-change): Clean up calling convention.
3388         (pascal-show-all, pascal-hide-other-defuns): Update callers.
3390         * progmodes/prolog.el (prolog-smie-forward-token)
3391         (prolog-smie-backward-token): New functions.
3392         (prolog-mode-variables): Use them to parse "!," correctly.
3393         Set up smie-blink-matching for ".".
3395         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3396         and `end'.
3397         (ispell-region, ispell-process-line): Update users.
3399         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3400         point-min==1.
3402         * textmodes/ispell.el: Fix commenting convention.
3403         (ispell-parse-output): Simplify, use push.
3404         (ispell-region): Use match-string-no-properties.
3405         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3406         (ispell-minor-mode): Use define-minor-mode.
3407         (ispell-message): Remove unused var `skip-regexp'.
3408         (ispell-add-per-file-word-list): Use dynamic let-binding.
3409         Try and use the proper comment marker.
3411         * mail/sendmail.el: Fix commenting convention.
3412         (sendmail-send-it): Use line-beginning-position.
3414         * help-fns.el (describe-variable): Add original value, if applicable.
3416 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
3418         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3420         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3422 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3424         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3425         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3426         (smie-prec2-levels): Use them to better diagnose precedence cycles.
3427         (smie-blink-matching-check): Don't signal a mismatch if car is t.
3428         (smie-blink-matching-open): Rewrite to remove assumptions, so that
3429         something like "." can also be a closer.
3430         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3431         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3432         Rename internal functions to use "--".  Update callers.
3434         * frame.el (make-frame-names-alist): Don't list frames on other displays.
3436         * fringe.el (fringe-styles): New var.
3437         (fringe-mode, fringe-query-style): Use it.
3439 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
3441         * progmodes/sql.el: Version 2.8
3442         (sql-login-params): Update widget structure; changes still needed.
3443         (sql-product-alist): Add :list-all and :list-table features for
3444         SQLite, Postgres and MySQL products.
3445         (sql-redirect): Handle default value.
3446         (sql-execute, sql-execute-feature): New functions.
3447         (sql-read-table-name): New function.
3448         (sql-list-all, sql-list-table): New functions.  User API.
3449         (sql-mode-map, sql-interactive-mode-map): Add key definitions
3450         for above functions.
3451         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3452         for above functions.
3453         (sql-postgres-login-params): Add user and database defaults.
3454         (sql-buffer-live-p): Bug fix.
3455         (sql-product-history): New variable.
3456         (sql-read-product): New function. Use it.
3457         (sql-set-product, sql-product-interactive): Use it.
3458         (sql-connection-history): New variable.
3459         (sql-read-connection): New function.  Use it.
3460         (sql-connect): New function.
3461         (sql-for-each-login): Redesign function interface.
3462         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3463         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
3464         (sql-comint): Check for program.  Existing live buffer.
3465         (sql-comint-postgres): Add port parameter.
3467 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3469         * emacs-lisp/warnings.el: Fix commenting convention.
3470         (display-warning): Use special mode and make the buffer read-only.
3472 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
3474         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3475         empty string when it follows a repeated or optional pattern.
3477 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3479         * indent.el (indent-according-to-mode): Apply syntax-propertize.
3480         (indent-region): Use indent-according-to-mode.
3482 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
3484         * fringe.el (fringe-mode): Doc fix.
3486 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
3488         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3489         refreshing the preview buffer.
3491 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3493         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3494         (latex-syntax-propertize-rules): New consts; replace
3495         tex-font-lock-syntactic-keywords.
3496         (tex-env-mark, latex-env-before-change): New functions.
3497         (latex-electric-env-pair-mode): New minor mode.
3498         (tex-font-lock-verb): Change arguments; do move point.
3499         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3500         representation as a form of comment.
3501         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3502         (doctex-syntax-propertize-rules): New const; replaces
3503         doctex-font-lock-syntactic-keywords.
3504         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3506         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3507         (fortran-make-syntax-propertize-function): New function; replaces
3508         fortran-font-lock-syntactic-keywords.
3509         (fortran-mode): Use it.
3510         (fortran-line-length): Use it.  Improve interactive spec.
3512         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3513         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
3514         when adding surrounding \(..\).
3516         * progmodes/js.el (js-mode): Fix last change (bug#7054).
3518 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3520         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3521         Use with-current-buffer.
3523         * isearch.el (isearch-face): Rename from `isearch'.
3524         (isearch-highlight): Use new name.
3526 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
3528         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3529         5, for `half' width fringes.  (Bug#6933)
3531 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3533         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3534         (byte-compile-defvar): "foo/bar" does not lack a prefix.
3536         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3538 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
3540         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3541         in calculating new frame position.  Add more space between new and
3542         parent on the left (Bug#7048).
3544 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
3546         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3547         defmacro.
3549 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
3551         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3553         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3554         obsolete alias for x-selection-value.
3556         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3558 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
3560         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3561         cookie.
3563 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
3565         * net/tramp-compat.el (tramp-compat-with-temp-message)
3566         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3567         (tramp-compat-process-put): New defuns.
3569         * net/tramp.el (top):
3570         * net/tramp-gvfs.el (top):
3571         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3573         * net/tramp.el (tramp-progress-reporter-update):
3574         Use `tramp-compat-funcall'.
3576         * net/tramp.el (tramp-process-actions):
3577         * net/tramp-gvfs.el (tramp-handle-vc-registered):
3578         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3579         (tramp-get-remote-stat, tramp-get-remote-readlink):
3580         Use `tramp-compat-with-temp-message'.
3582         * net/tramp-sh.el (top): Require 'cl.
3583         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3584         (tramp-open-connection-setup-interactive-shell):
3585         Use `tramp-compat-process-put'.
3587 2010-09-15  Alan Mackenzie  <acm@muc.de>
3589         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3590         indentation.
3591         (c-forward-<>-arglist-recur): Fix an infinite recursion.
3593 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3595         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3596         `lexical' for warnings related to lexical scoping.
3597         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3598         global vars which don't have a prefix and could hence affect lexical
3599         scoping in unrelated files.
3601 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3603         * net/imap.el: Revert back to version
3604         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3605         seem problematic.
3607 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
3609         * obsolete/old-whitespace.el (whitespace-unload-function):
3610         Explicitly pass `obarray' to `unintern' to avoid a warning.
3612 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3614         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3615         Add `when' argument.  Update callers.
3617         * subr.el (unintern): Declare the obarray arg mandatory.
3619 2010-09-14  Glenn Morris  <rgm@gnu.org>
3621         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3622         Doc fixes.
3624         * calendar/diary-lib.el (diary-included-files): New variable.
3625         (diary-list-entries): Maybe initialize diary-included-files.
3626         (diary-include-other-diary-files): Append to diary-included-files.
3627         * calendar/appt.el (appt-update-list): Also check the members of
3628         diary-included-files.  (Bug#6999)
3629         (appt-check): Doc fix.
3631 2010-09-14  David Reitter  <david.reitter@gmail.com>
3633         * simple.el (line-move-visual): Do not truncate goal column to
3634         integer size.  (Bug#7020)
3636 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3638         * repeat.el (repeat): Allow repeating when the last event is a click.
3639         Suggested by Drew Adams (bug#6256).
3641 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
3643         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3644         Replace setting HGRCPATH to "" by some less invasive --config options.
3646 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3648         * font-lock.el (font-lock-beginning-of-syntax-function):
3649         Mark as obsolete.
3651 2010-09-14  Glenn Morris  <rgm@gnu.org>
3653         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3654         and tool-bar modes.  (Bug#6211)
3655         (menu-bar-mode): Move setting of standard-value after the
3656         minor-mode definition, otherwise it seems to have no effect.
3658 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
3660         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3661         Fix typo.  (Bug#6976)
3663 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3665         * whitespace.el: Allow cleaning up blanks without blank
3666         visualization (Bug#6651).  Adjust help window for
3667         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3668         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
3669         (whitespace-style): Add new value 'face.  Adjust docstring.
3670         (whitespace-space, whitespace-hspace, whitespace-tab):
3671         Adjust foreground property face.
3672         (whitespace-line-column): Adjust docstring and type declaration.
3673         (whitespace-style-value-list, whitespace-toggle-option-alist)
3674         (whitespace-help-text): Adjust const initialization.
3675         (whitespace-toggle-options, global-whitespace-toggle-options):
3676         Adjust docstring.
3677         (whitespace-display-window, whitespace-interactive-char)
3678         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3679         (whitespace-help-scroll): New fun.
3681 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
3683         * calendar/time-date.el (format-seconds): Comment fix.
3685 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
3687         * progmodes/sql.el: Version 2.7.
3688         (sql-buffer-live-p): Improve detection.
3689         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3690         (sql-set-sqli-buffer): Use it.
3691         (sql-product-interactive): Run `sql-set-sqli-hook'.
3692         (sql-rename-buffer): Code cleanup.
3693         (sql-redirect, sql-redirect-value): New functions.  More to come.
3695 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
3697         Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
3698         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3699         (TRAMP_SRC): New macro.
3700         ($(lisp)/net/tramp-loaddefs.el): New target.
3702 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
3704         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
3706         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
3708         * net/tramp.el (top): Don't show loading message.  Require just
3709         'tramp-compat, everything else is required there.
3710         Use `ignore-errors' where appropriate.
3711         (tramp-inline-compress-start-size, tramp-copy-size-limit)
3712         (tramp-terminal-type, tramp-end-of-output)
3713         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3714         (tramp-completion-function-alist-ssh)
3715         (tramp-completion-function-alist-telnet)
3716         (tramp-completion-function-alist-su)
3717         (tramp-completion-function-alist-putty, tramp-remote-path)
3718         (tramp-remote-process-environment, tramp-sh-extra-args)
3719         (tramp-actions-before-shell, tramp-uudecode)
3720         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3721         (tramp-perl-file-attributes)
3722         (tramp-perl-directory-files-and-attributes)
3723         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3724         (tramp-perl-encode, tramp-perl-decode)
3725         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3726         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3727         (tramp-handle-make-symbolic-link, tramp-handle-load)
3728         (tramp-handle-file-name-as-directory)
3729         (tramp-handle-file-name-directory)
3730         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3731         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3732         (tramp-do-file-attributes-with-ls)
3733         (tramp-do-file-attributes-with-perl)
3734         (tramp-do-file-attributes-with-stat)
3735         (tramp-handle-set-visited-file-modtime)
3736         (tramp-handle-verify-visited-file-modtime)
3737         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3738         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3739         (tramp-handle-file-selinux-context)
3740         (tramp-handle-set-file-selinux-context)
3741         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3742         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3743         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3744         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3745         (tramp-handle-file-ownership-preserved-p)
3746         (tramp-handle-directory-file-name, tramp-handle-directory-files)
3747         (tramp-handle-directory-files-and-attributes)
3748         (tramp-do-directory-files-and-attributes-with-perl)
3749         (tramp-do-directory-files-and-attributes-with-stat)
3750         (tramp-handle-file-name-all-completions)
3751         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3752         (tramp-handle-copy-file, tramp-handle-copy-directory)
3753         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3754         (tramp-do-copy-or-rename-file-via-buffer)
3755         (tramp-do-copy-or-rename-file-directly)
3756         (tramp-do-copy-or-rename-file-out-of-band)
3757         (tramp-handle-make-directory, tramp-handle-delete-directory)
3758         (tramp-handle-delete-file)
3759         (tramp-handle-dired-recursive-delete-directory)
3760         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3761         (tramp-handle-insert-directory)
3762         (tramp-handle-unhandled-file-name-directory)
3763         (tramp-handle-expand-file-name)
3764         (tramp-handle-substitute-in-file-name)
3765         (tramp-handle-executable-find, tramp-process-sentinel)
3766         (tramp-handle-start-file-process, tramp-handle-process-file)
3767         (tramp-handle-call-process-region, tramp-handle-shell-command)
3768         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3769         (tramp-handle-insert-file-contents)
3770         (tramp-handle-insert-file-contents-literally)
3771         (tramp-handle-find-backup-file-name)
3772         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3773         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3774         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3775         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3776         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3777         (tramp-find-file-exists-command, tramp-open-shell)
3778         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3779         (tramp-open-connection-setup-interactive-shell)
3780         (tramp-local-coding-commands, tramp-remote-coding-commands)
3781         (tramp-find-inline-encoding, tramp-call-local-coding-command)
3782         (tramp-inline-compress-commands, tramp-find-inline-compress)
3783         (tramp-compute-multi-hops, tramp-maybe-open-connection)
3784         (tramp-send-command, tramp-wait-for-output)
3785         (tramp-send-command-and-check, tramp-barf-unless-okay)
3786         (tramp-send-command-and-read, tramp-mode-string-to-int)
3787         (tramp-convert-file-attributes, tramp-check-cached-permissions)
3788         (tramp-file-mode-from-int, tramp-file-mode-permissions)
3789         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3790         (tramp-method-out-of-band-p, tramp-local-host-p)
3791         (tramp-get-remote-path, tramp-get-remote-tmpdir)
3792         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3793         (tramp-get-test-command, tramp-get-test-nt-command)
3794         (tramp-get-file-exists-command, tramp-get-remote-ln)
3795         (tramp-get-remote-perl, tramp-get-remote-stat)
3796         (tramp-get-remote-readlink, tramp-get-remote-trash)
3797         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3798         (tramp-get-local-uid, tramp-get-local-gid)
3799         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3800         tramp-sh.el.
3801         (tramp-methods, tramp-default-method-alist)
3802         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3803         Move initialization to tramp-sh.el.
3804         (tramp-temp-name-prefix): Make it a defconst.
3805         (tramp-dissect-file-name): Don't check anymore for multi-hop
3806         methods.
3807         (tramp-debug-outline-regexp): Add a docstring.
3808         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3809         (tramp-get-debug-buffer): Use it.
3811         * net/tramp-cache.el (top): Set tramp-autoload cookie for
3812         initialization forms.
3813         (tramp-set-connection-property): Don't protect `tramp-message'
3814         call, it isn't necessary any longer.
3815         (tramp-dump-connection-properties): Use `ignore-errors'.
3817         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3818         'password-cache and 'auth-source.
3820         * net/tramp-gvfs.el (top):
3821         * net/tramp-smb.el (top): Require 'tramp-sh.
3823         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3825         * net/tramp-sh.el: New file, derived from tramp.el.
3826         (top): Initialize `tramp-methods', `tramp-default-method-alist',
3827         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3828         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3829         Use `ignore-errors' where appropriate.
3830         (tramp-sh-file-name-handler-alist): Rename from
3831         `tramp-file-name-handler-alist'.
3832         (tramp-send-command-and-check): Return t or nil.  Remove all
3833         `zerop' checks, where called.
3834         (tramp-handle-set-file-modes)
3835         (tramp-do-copy-or-rename-file-directly)
3836         (tramp-handle-delete-directory, tramp-handle-delete-file)
3837         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3838         (tramp-sh-file-name-handler, tramp-send-command-and-check)
3839         (tramp-get-remote-ln): Set tramp-autoload cookie.
3841         * net/tramp-fish.el: Remove file.
3843 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
3845         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3846         buffer-file-name to avoid file-locking.  (Bug#7026)
3848 2010-09-13  Julien Danjou  <julien@danjou.info>
3850         * notifications.el (notifications-notify): Add support for
3851         image-path and sound-name.
3852         (notifications-specification-version): Add this variable.
3854 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3856         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3858 2010-09-12  Leo  <sdl.web@gmail.com>
3860         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3861         (rcirc-completion-start): New variables.
3862         (rcirc-nick-completions): Rename to rcirc-completions.
3863         (rcirc-nick-completion-start-offset): Delete.
3864         (rcirc-completion-at-point): New function for constructing
3865         completion data for both nicks and irc commands.  Add to
3866         completion-at-point-functions in rcirc mode.
3867         (rcirc-complete): Rename from rcirc-nick-complete; use
3868         rcirc-completion-at-point.
3869         (defun-rcirc-command): Update rcirc-client-commands.
3871 2010-09-11  Glenn Morris  <rgm@gnu.org>
3873         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3874         atomically, to avoid parallel build errors.  (Bug#4196)
3876 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
3878         * progmodes/sql.el: Version 2.6
3879         (sql-dialect): Synonym for "sql-product".
3880         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3881         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3882         Set "sql-buffer" to buffer name not buffer object so multiple sql
3883         interactive buffers work properly.  Reverts misguided changes in
3884         earlier work.
3885         (sql-comint): Make sure different buffer name is used if "*SQL*"
3886         buffer is for a different product.
3887         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3888         login param.
3889         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3890         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3891         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3892         Accept new buffer name or prompt for one.
3893         (sql-port): Default to zero.
3894         (sql-comint-mysql): Handle "sql-port" as a numeric.
3895         (sql-port-history): Delete unused variable.
3896         (sql-get-login): Default "sql-port" to a number.
3897         (sql-product-alist): Correct Postgres prompt and terminator regexp.
3898         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3899         "sqlite3" executables.
3900         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3901         (sql-buffer-live-p): New function.
3902         (sql-mode-menu, sql-send-string): Use it.
3903         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3904         syntax pattern.
3905         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3906         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3908 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3910         * net/netrc.el (netrc-credentials): New convenience function.
3912 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3914         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3915         to replace texinfo-font-lock-syntactic-keywords.
3916         (texinfo-mode): Use it.
3918         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3919         Use syntax-propertize-function.
3921         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3922         replace sgml-font-lock-syntactic-keywords.
3923         (sgml-mode): Use it.
3925         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3926         since we don't use it.
3928         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3930         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3931         if available.
3932         (vhdl-fontify-buffer): Adjust.
3934         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3935         replace tcl-font-lock-syntactic-keywords.
3936         (tcl-mode): Use it.
3938         * progmodes/simula.el (simula-syntax-propertize-function): New var to
3939         replace simula-font-lock-syntactic-keywords.
3940         (simula-mode): Use it.
3942         * progmodes/sh-script.el (sh-st-symbol): Remove.
3943         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3944         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3945         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3946         (sh-font-lock-paren): Set syntax-multiline.
3947         (sh-font-lock-syntactic-keywords): Remove.
3948         (sh-syntax-propertize-function): New function to replace it.
3949         (sh-mode): Use it.
3951         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3952         Define while compiling.
3953         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3954         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3955         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3956         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3957         (ruby-here-doc-end-syntax): Only define when
3958         syntax-propertize is not available.
3959         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3960         New functions.
3961         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3962         (electric-indent-chars): Silence bytecompiler.
3963         (ruby-mode): Use prog-mode, syntax-propertize-function, and
3964         electric-indent-chars.
3966         * progmodes/python.el (python-syntax-propertize-function): New var to
3967         replace python-font-lock-syntactic-keywords.
3968         (python-mode): Use it.
3969         (python-quote-syntax): Simplify and adjust to new use.
3971         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3972         replace perl-font-lock-syntactic-keywords.
3973         (perl-syntax-propertize-special-constructs): New fun to replace
3974         perl-font-lock-special-syntactic-constructs.
3975         (perl-font-lock-syntactic-face-function): New fun.
3976         (perl-mode): Use it.
3978         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3979         to replace octave-font-lock-close-quotes.
3980         (octave-syntax-propertize-function): New function to replace
3981         octave-font-lock-syntactic-keywords.
3982         (octave-mode): Use it.
3984         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3985         replaces mixal-font-lock-syntactic-keywords.
3986         (mixal-mode): Use it.
3988         * progmodes/make-mode.el (makefile-syntax-propertize-function):
3989         New var; replaces makefile-font-lock-syntactic-keywords.
3990         (makefile-mode): Use it.
3991         (makefile-imake-mode): Adjust.
3993         * progmodes/js.el (js--regexp-literal): Define while compiling.
3994         (js-syntax-propertize-function): New var; replaces
3995         js-font-lock-syntactic-keywords.
3996         (js-mode): Use it.
3998         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3999         replaces gdb-script-font-lock-syntactic-keywords.
4000         (gdb-script-mode): Use it.
4002         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4003         (fortran--font-lock-syntactic-keywords): New var.
4004         (fortran-line-length): Update syntax-propertize-function and
4005         fortran--font-lock-syntactic-keywords.
4007         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4009         * progmodes/cfengine.el (cfengine-mode):
4010         Use syntax-propertize-function.
4011         (cfengine-font-lock-syntactic-keywords): Remove.
4013         * progmodes/autoconf.el (autoconf-mode):
4014         Use syntax-propertize-function.
4015         (autoconf-font-lock-syntactic-keywords): Remove.
4017         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4018         (ada-after-change-function, ada-initialize-syntax-table-properties)
4019         (ada-handle-syntax-table-properties): Only define when
4020         syntax-propertize is not available.
4021         (ada-mode): Use syntax-propertize-function.
4023         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4024         (font-lock-fontify-syntactic-keywords-region): Move handling of
4025         font-lock-syntactically-fontified to...
4026         (font-lock-default-fontify-region): ...here.
4027         Let syntax-propertize-function take precedence.
4028         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4030         * emacs-lisp/syntax.el (syntax-propertize-function)
4031         (syntax-propertize-chunk-size, syntax-propertize--done)
4032         (syntax-propertize-extend-region-functions): New vars.
4033         (syntax-propertize-wholelines, syntax-propertize-multiline)
4034         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4035         (syntax-propertize): New functions.
4036         (syntax-propertize-rules): New macro.
4037         (syntax-ppss-flush-cache): Set syntax-propertize--done.
4038         (syntax-ppss): Call syntax-propertize.
4040         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4042 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
4044         * textmodes/ispell.el (ispell-init-process): Improve comments.
4045         XEmacs compatibility changes regarding (add-hook) 'local option
4046         and (set-process-query-on-exit-flag).
4048 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
4050         * net/tramp-cache.el (tramp-parse-connection-properties):
4051         Set tramp-autoload cookie.
4053 2010-09-09  Glenn Morris  <rgm@gnu.org>
4055         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4056         (imagemagick-register-types): Doc fix.
4058 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4060         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4062         * progmodes/js.el (require): Require is already "eval-and-compile".
4063         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
4064         (js--re-search-backward): Use js--re-search-forward.
4066         * progmodes/fortran.el (fortran-line-length): Don't recompute
4067         syntactic keywords redundantly a second time.
4069         * progmodes/ada-mode.el: Replace "(set '" with setq.
4070         (ada-mode): Simplify.
4071         (ada-create-case-exception, ada-adjust-case-interactive)
4072         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4073         (ada-search-ignore-string-comment, ada-move-to-start)
4074         (ada-move-to-end): Use with-syntax-table.
4076         * font-lock.el (save-buffer-state): Remove `varlist' arg.
4077         (font-lock-unfontify-region, font-lock-default-fontify-region):
4078         Update usage correspondingly.
4079         (font-lock-fontify-syntactic-keywords-region):
4080         Set parse-sexp-lookup-properties buffer-locally here.
4081         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4083         * simple.el (blink-matching-open): Don't burp if we can't find a match.
4085 2010-09-08  Glenn Morris  <rgm@gnu.org>
4087         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4088         Error if not compiled with -DBYTE_CODE_METER.
4090         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4091         Ignore dir-locals-file.
4093 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4095         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4096         Not a const.
4097         (compilation-error-regexp-alist-alist): Rule out ": " in file names
4098         for the `gnu' messages.
4099         (compilation-set-skip-threshold): New command.
4100         (compilation-start): Use \' rather than $.
4101         (compilation-forget-errors): Use clrhash.
4103 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
4105         * textmodes/ispell.el (ispell-valid-dictionary-list):
4106         Simplify logic.
4108 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
4110         Migrate to Tramp 2.2.  Rearrange load dependencies.
4111         (Bug#1529, Bug#5448, Bug#5705)
4113         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4114         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4115         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4117         * net/tramp.el (top): Remove all other tramp-* loads except
4118         tramp-compat.el.  Remove all changes to tramp-unload-hook for
4119         other tramp-* packages.  Rearrange defun order.  Change calls of
4120         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4121         `tramp-compat-octal-to-decimal' to new function names.
4122         (tramp-terminal-type, tramp-initial-end-of-output)
4123         (tramp-methods, tramp-foreign-file-name-handler-alist)
4124         (tramp-tramp-file-p, tramp-completion-mode-p)
4125         (tramp-send-command-and-check, tramp-get-remote-path)
4126         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4127         (tramp-shell-quote-argument): Set tramp-autoload cookie.
4128         (with-file-property, with-connection-property): Move to
4129         tramp-cache.el.
4130         (tramp-local-call-process, tramp-decimal-to-octal)
4131         (tramp-octal-to-decimal): Move to tramp-compat.el.
4132         (tramp-handle-shell-command): Do not require 'shell.
4133         (tramp-compute-multi-hops): No special handling for tramp-gw-*
4134         symbols.
4135         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4137         * net/tramp-cache.el (top): Require 'tramp.  Add to
4138         `tramp-unload-hook'.
4139         (tramp-cache-data, tramp-get-file-property)
4140         (tramp-set-file-property, tramp-flush-file-property)
4141         (tramp-flush-directory-property, tramp-get-connection-property)
4142         (tramp-set-connection-property, tramp-flush-connection-property)
4143         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4144         cookie.
4145         (with-file-property, with-connection-property): New defuns, moved
4146         from tramp.el.
4147         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4148         macro.
4150         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4151         (tramp-version): Set tramp-autoload cookie.
4153         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
4154         changes to tramp-unload-hook for other tramp-* packages.  Add to
4155         `tramp-unload-hook'.
4156         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4157         (tramp-compat-call-process): New defuns, moved from tramp.el.
4159         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
4160         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4161         Add to `tramp-unload-hook'.  Change call of
4162         `tramp-compat-decimal-to-octal' to new function name.
4163         (tramp-fish-method): Make it a defconst.
4164         (tramp-fish-file-name-p): Make it a defsubst.
4165         (tramp-fish-method, tramp-fish-file-name-handler)
4166         (tramp-fish-file-name-p): Set tramp-autoload cookie.
4168         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4169         `tramp-foreign-file-name-handler-alist'.  Add to
4170         `tramp-unload-hook'.
4171         (tramp-ftp-method): Make it a defconst.
4172         (tramp-ftp-file-name-p): Make it a defsubst.
4173         (tramp-ftp-method, tramp-ftp-file-name-handler)
4174         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4176         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4177         `tramp-foreign-file-name-handler-alist'.  Add to
4178         `tramp-unload-hook'.  Change checks, whether package can be
4179         loaded.
4180         (tramp-gvfs-file-name-p): Make it a defsubst.
4181         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4182         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4183         (tramp-gvfs-handle-file-directory-p): New defun.
4184         (tramp-gvfs-file-name-handler-alist): Use it.
4186         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4187         `tramp-foreign-file-name-handler-alist'.  Add to
4188         `tramp-unload-hook'.
4189         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4190         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4191         defconst.
4192         (tramp-gw-tunnel-method, tramp-gw-socks-method)
4193         (tramp-gw-open-connection): Set tramp-autoload cookie.
4195         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
4196         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4197         Add to `tramp-unload-hook'.  Change checks, whether package can be
4198         loaded.
4199         (tramp-imap-file-name-p): Make it a defsubst.
4200         (tramp-imap-method, tramp-imaps-method)
4201         (tramp-imap-file-name-handler)
4202         (tramp-imap-file-name-p): Set tramp-autoload cookie.
4204         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
4205         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4206         Add to `tramp-unload-hook'.  Change checks, whether package can be
4207         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
4208         function name.
4209         (tramp-smb-tunnel-method): Make it a defconst.
4210         (tramp-smb-file-name-p): Make it a defsubst.
4211         (tramp-smb-method, tramp-smb-file-name-handler)
4212         (tramp-smb-file-name-p): Set tramp-autoload cookie.
4214         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4215         (tramp-uuencode-region): Set tramp-autoload cookie.
4217         * net/trampver.el (top) Add to `tramp-unload-hook'.
4218         (tramp-version, tramp-bug-report-address): Set tramp-autoload
4219         cookie.  Update release number.
4221 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
4223         * textmodes/ispell.el (ispell-start-process): Make sure original
4224         arg list is properly initialized (Bug#6993, Bug#6994).
4226 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4228         * files.el (directory-abbrev-alist): Use \` as default regexp.
4230         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4231         chars like - or ] (bug#6984).
4232         (rx-any-condense-range): Explode 2-char ranges.
4234 2010-09-06  Glenn Morris  <rgm@gnu.org>
4236         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4238 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4240         * textmodes/bibtex.el:
4241         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4243 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4245         * net/imap.el (imap-message-map): Remove optional buffer parameter,
4246         since no callers use it.
4247         (imap-message-get): Ditto.
4248         (imap-message-put): Ditto.
4249         (imap-mailbox-map): Ditto.
4250         (imap-mailbox-put): Ditto.
4251         (imap-mailbox-get): Ditto.
4252         (imap-mailbox-get): Revert last change for this function.
4254 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4256         * net/imap.el (imap-fetch-safe): Remove function, and alter all
4257         callers to use `imap-fetch' instead.  According to the comments, this
4258         should be safe, since all other IMAP clients use the 1:* syntax.
4259         (imap-enable-exchange-bug-workaround): Remove.
4260         (imap-debug): Remove -- doesn't seem very useful.
4262 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4264         * net/imap.el (imap-log): New convenience function used throughout
4265         instead of repeating the same code all over the place.
4267 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
4269         * mouse.el (mouse-save-then-kill): Save region to kill-ring
4270         when mouse-drag-copy-region is non-nil (Bug#6956).
4272 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
4274         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4275         Improve regexps (Bug#6987).
4276         (dired-sort-toggle): Search more robustly for -t flag.
4278         * files.el (get-free-disk-space): Search more robustly for
4279         "available" column.  Suggested by Ehud Karni
4280         <ehud@unix.mvs.co.il>.
4282 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
4284         * international/uni-bidi.el:
4285         * international/uni-category.el:
4286         * international/uni-combining.el:
4287         * international/uni-decimal.el:
4288         * international/uni-mirrored.el:
4289         * international/uni-name.el: Regenerate.
4291 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4293         * electric.el (electric-indent-post-self-insert-function):
4294         Don't reindent with a sloppy indentation function.
4296         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4297         border case in change-log-mode.
4299 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
4301         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4302         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4303         Recognize leading tab in gcc-include regexp.  Ignore names with
4304         leading "from" or "in" in gnu regexp (Bug#6937).
4306 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4308         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4309         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4310         (ispell-start-process): Avoid setq and simplify logic.
4311         (ispell-init-process): Setup kill-buffer-hook locally when needed.
4312         (kill-buffer-hook): Don't use it globally with code that uses
4313         expand-file-name since that may call kill-buffer via
4314         code_conversion_restore.
4316 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
4318         * emacs-lisp/package.el (package-directory-list): Only call
4319         file-name-nondirectory on a string.
4321 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4323         * emacs-lisp/package.el (package--download-one-archive):
4324         Ensure that archive-contents is valid before saving it.
4325         (package-activate-1, package-mark-obsolete, define-package)
4326         (package-compute-transaction, package-list-maybe-add): Use push.
4328 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4330         Use SMIE's blink-paren for octave-mode.
4331         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4332         Backslashes do not escape single-quotes, single-quotes do.
4333         (octave-block-else-regexp, octave-block-end-regexp)
4334         (octave-block-match-alist): Remove.
4335         (octave-smie-bnf-table): New var, with old content.
4336         (octave-smie-op-levels): Use it.
4337         (octave-smie-closer-alist): New var.
4338         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
4339         (octave-blink-matching-block-open): Remove.
4340         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4341         (octave-electric-space): Let self-insert-command run expand-abbrev and
4342         blink parens.
4344         * electric.el (electricity): New group.
4345         (electric-indent-chars): New var.
4346         (electric-indent-post-self-insert-function): New fun.
4347         (electric-indent-mode): New minor mode.
4348         (electric-pair-skip-self): New custom.
4349         (electric-pair-post-self-insert-function): New function.
4350         (electric-pair-mode): New minor mode.
4352         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4353         calcAlg-blink-matching-open.
4354         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4355         (calc-do-alg-entry): Only touch the part of the keymap that varies.
4356         Use the new blink-matching-check-function.
4358         Provide blink-matching support to SMIE.
4359         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4360         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4361         (smie-blink-matching-check, smie-blink-matching-open): New functions.
4363         * simple.el (newline): Fix last change to properly remove itself from
4364         the hook.
4366 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4368         * simple.el (newline): Eliminate optimization.
4369         Use post-self-insert-hook to set hard-newline and things before
4370         running post-self-insert-hook.
4371         (blink-matching-check-mismatch): New function.
4372         (blink-matching-check-function): New variable.
4373         (blink-matching-open): Use them.
4374         Skip back forward over prefix chars skipped by forward-sexp.
4375         Don't check if the parens are backslash escaped.
4376         (blink-paren-post-self-insert-function): Check backslash escaping here.
4378 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4380         * emacs-lisp/package.el (package-menu-mode-map):
4381         Change package-menu-revert bindings to revert-buffer.
4382         (package-menu-mode): Set revert-buffer-function.
4383         (package-menu-revert): Doc fix.
4385 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
4387         * textmodes/ispell.el (ispell-init-process): Use "~/" as
4388         `default-directory' unless using Ispell per-directory personal
4389         dictionaries and not in a mini-buffer under XEmacs.
4390         (kill-buffer-hook): Do not kill ispell process on exit when
4391         `ispell-process-directory' is "~/".  (Bug#6143)
4393 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
4395         * simple.el (kill-new): Call interprogram-cut-function with only
4396         one argument.
4398         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4399         Remove cut buffer from error message.
4401         * term/x-win.el (x-select-text):
4402         * term/pc-win.el (x-selection-value):
4403         * term/ns-win.el (x-selection-value):
4404         * eshell/em-term.el:
4405         * w32-fns.el (x-get-selection-value):
4406         * mouse-sel.el (mouse-sel-set-selection-function):
4407         * frame.el (display-selections-p): Remove cut-buffer in documentation.
4409         * term/x-win.el: Update documentation for x-last-selected-text-*.
4410         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4411         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4412         (x-select-text): Remove argument PUSH, update documentation.
4413         Remove cut-buffer code.
4414         (x-selection-value-internal): Was previously x-selection-value.
4415         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4416         Update documentation, remove cut-buffer code.
4417         Call x-selection-value-internal.
4418         (x-clipboard-yank): Call x-selection-value-internal.
4419         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4421         * term/pc-win.el (x-last-selected-text):
4422         x-cut-buffer-or-selection-value renamed to x-selection-value
4423         (x-select-text): Remove argument PUSH, update documentation.
4425         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4426         x-cut-buffer-or-selection-value renamed to x-selection-value
4427         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4428         (x-select-text): Remove argument PUSH, update documentation.
4430         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4432         * w32-fns.el (x-last-selected-text):
4433         x-cut-buffer-or-selection-value renamed to x-selection-value.
4434         (x-cut-buffer-max): Remove.
4435         (x-select-text): Remove argument PUSH, update documentation.
4437         * simple.el (interprogram-cut-function): Remove mention of PUSH.
4439         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4441         * mouse-sel.el (mouse-sel-get-selection-function):
4442         x-cut-buffer-or-selection-value renamed to x-selection-value.
4443         (x-select-text): Remove optional push.
4445 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4447         * simple.el (blink-paren-function): Move from C to here.
4448         (blink-paren-post-self-insert-function): New function.
4449         (post-self-insert-hook): Use it.
4451         * emacs-lisp/pcase.el (pcase-split-memq):
4452         Fix overenthusiastic optimisation.
4453         (pcase-u1): Handle the case of a lambda pred.
4455 2010-08-31  Kenichi Handa  <handa@m17n.org>
4457         * international/mule-cmds.el (standard-display-european-internal):
4458         Setup standard-display-table for 8-bit characters by storing 8-bit
4459         characters in the element vector.
4461         * disp-table.el (standard-display-8bit):
4462         Setup standard-display-table for 8-bit characters by storing 8-bit
4463         characters in the element vector.
4464         (standard-display-european): Likewise.
4466 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
4468         * textmodes/nroff-mode.el (nroff-view): New command.
4469         (nroff-mode-map): Bind it to C-c C-c.
4471 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4473         * emacs-lisp/smie.el (smie-down-list): New command.
4475         Remove old indentation and navigation code on octave-mode.
4476         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4477         smie-down-list rather than add a binding for octave-down-block.
4478         (octave-mark-block, octave-blink-matching-block-open):
4479         Rely on forward-sexp-function.
4480         (octave-fill-paragraph): Don't narrow, so you can use
4481         indent-according-to-mode.
4482         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4483         (octave-in-block-p, octave-re-search-forward-kw)
4484         (octave-re-search-backward-kw, octave-indent-calculate)
4485         (octave-end-as-array-index-p, octave-block-end-offset)
4486         (octave-scan-blocks, octave-forward-block, octave-backward-block)
4487         (octave-down-block, octave-backward-up-block, octave-up-block)
4488         (octave-before-magic-comment-p, octave-indent-line): Remove.
4490 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
4492         * emacs-lisp/package.el (package--read-archive-file): Just use
4493         `read', to avoid copying an additional string.
4494         (package-menu-mode): Set header-line-format here.
4495         (package-menu-refresh, package-menu-revert): Signal an error if
4496         not in the Package Menu.
4497         (package-menu-package-list): New var.
4498         (package--generate-package-list): Operate on the current buffer;
4499         don't assume that it is *Packages*, since the user may rename it.
4500         Allow persistent package listings and sort keys using
4501         package-menu-package-list and package-menu-package-sort-key.
4502         (package-menu--version-predicate): Fix version calculation.
4503         (package-menu-sort-by-column): Don't select the window.
4504         (package--list-packages): Create the *Packages* buffer.
4505         Set package-menu-package-list-key.
4506         (list-packages): Sorting by status is now the default.
4507         (package-buffer-info): Use match-string-no-properties.
4508         (define-package): Add a &rest argument for future proofing, but
4509         don't use it yet.
4510         (package-install-from-buffer, package-install-buffer-internal):
4511         Merge into a single function, package-install-from-buffer.
4512         (package-install-file): Change caller.
4514         * finder.el: Load finder-inf using `require'.
4515         (finder-list-matches): Sorting by status is now the default.
4516         (finder-compile-keywords): Simpify printing.
4518 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4520         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4521         (octave-mode-map): Remove special bindings for forward/backward-block
4522         and octave-backward-up-block.  Use smie-close-block.
4523         (octave-continuation-marker-regexp): New var.
4524         (octave-continuation-regexp): Use it.
4525         (octave-operator-table, octave-smie-op-levels)
4526         (octave-operator-regexp, octave-smie-indent-rules): New vars.
4527         (octave-smie-backward-token, octave-smie-forward-token): New funs.
4528         (octave-mode): Use SMIE.
4529         (octave-close-block): Delete.
4531 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
4533         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4534         CLIPBOARD, not in PRIMARY.  (Bug#6944)
4536 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4538         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4539         a list of parents.
4540         (smie-indent-column): Allow indirection through variables.
4542         * composite.el (save-buffer-state): Delete, unused.
4543         * font-lock.el (save-buffer-state): Use with-silent-modifications.
4544         (font-lock-default-fontify-region): Use with-syntax-table.
4545         * jit-lock.el (with-buffer-unmodified): Remove.
4546         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4548         Use `declare' in defmacros.
4549         * window.el (save-selected-window):
4550         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4551         * progmodes/python.el (def-python-skeleton):
4552         * net/dbus.el (dbus-ignore-errors):
4553         * jka-cmpr-hook.el (with-auto-compression-mode):
4554         * international/mule.el (with-category-table):
4555         * emacs-lisp/timer.el (with-timeout):
4556         * emacs-lisp/lisp-mnt.el (lm-with-file):
4557         * emacs-lisp/eieio.el (with-slots):
4558         * emacs-lisp/easymenu.el (easy-menu-define):
4559         * emacs-lisp/debug.el (debugger-env-macro):
4560         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4561         (Multiple-value-call, Multiple-value-prog1):
4562         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4563         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4564         edebug rule to definition.
4565         * emacs-lisp/lisp-mode.el (save-selected-window)
4566         (with-current-buffer, combine-after-change-calls)
4567         (with-output-to-string, with-temp-file, with-temp-buffer)
4568         (with-temp-message, with-syntax-table, read-if, eval-after-load)
4569         (dolist, dotimes, when, unless):
4570         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4572 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4574         * finder.el: Require `package'.
4575         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
4576         (finder-package-info): Var deleted.
4577         (finder-keywords-hash, finder--builtins-alist): New vars.
4578         (finder-compile-keywords): Compute package--builtins and
4579         finder-keywords-hash instead of finder-keywords-hash, respecting
4580         the "Package" header.
4581         (finder-unknown-keywords, finder-list-matches):
4582         Use finder-keywords-hash and package--list-packages.
4583         (finder-mode): Don't set font-lock-defaults.
4584         (finder-exit): We don't use "*Finder-package*" and "*Finder
4585         Category*" buffers anymore.
4587         * emacs-lisp/package.el (package--builtins-base): Var deleted.
4588         (package--builtins): Set default value to nil.
4589         (package-initialize): Load precomputed value of package--builtins
4590         from finder-inf.el.
4591         (package-alist, package-compute-transaction)
4592         (package-download-transaction): Improve docstring.
4593         (package-read-all-archive-contents): Do not change
4594         package--builtins here.
4595         (list-packages): Make package-list-packages an alias for this.
4596         Sort by status by default.
4597         (package--list-packages): Add optional PACKAGES arg.
4598         (describe-package-1): Use font-lock-face property.  For built-in
4599         packages, insert file commentary.
4600         (package--generate-package-list): Rename from
4601         package-list-packages-internal; all callers changed.  Add optional
4602         PACKAGES arg.  Add alphabetical sort fallbacks.
4603         (package-menu--version-predicate, package-menu--status-predicate)
4604         (package-menu--description-predicate)
4605         (package-menu--name-predicate): New functions.
4607         * info.el (Info-finder-find-node): Search package-alist instead of
4608         finder-package-info.
4610 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4612         * subr.el (version-regexp-alist): Don't use "a" and "b" for
4613         "alpha" and "beta".
4614         (version-to-list): Handle versions like "10.3d".
4616 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4618         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4619         (macroexp-accumulate): Use `declare'.
4621 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4623         * whitespace.el (whitespace-style): Adjust type declaration.
4625 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
4627         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4628         empty argument to gvfs-copy.
4630 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4632         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4633         handle new TRASH arg of `delete-file'.
4635 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4637         * net/tramp.el (tramp-handle-insert-directory): Don't use
4638         `forward-word', its default syntax could be changed.
4640 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
4641             Michael Albinus  <michael.albinus@gmx.de>
4643         Implement compression for inline methods.
4645         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4646         (tramp-copy-size-limit): Allow also nil.
4647         (tramp-inline-compress-commands): New defconst.
4648         (tramp-find-inline-compress, tramp-get-inline-compress)
4649         (tramp-get-inline-coding): New defuns.
4650         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4651         replaced by `tramp-get-inline-coding'.
4652         (tramp-handle-file-local-copy, tramp-handle-write-region)
4653         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4655 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
4657         Detect ssh 'ControlMaster' argument automatically in some cases.
4659         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4660         (tramp-default-method): Use it.
4662 2010-08-26  Karel Klíč  <kklic@redhat.com>
4664         * net/tramp.el (tramp-file-name-for-operation):
4665         Add file-selinux-context.
4667 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
4669         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4671 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4673         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4674         (Bug#6907).
4676 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
4678         * progmodes/js.el: Make indentation more customizable (Bug#6914).
4679         (js-paren-indent-offset, js-square-indent-offset)
4680         (js-curly-indent-offset): New options.
4681         (js--proper-indentation): Use them.
4683 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
4685         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4686         instead of inspecting font-lock properties (Bug#6916).
4688 2010-08-26  David Reitter  <david.reitter@gmail.com>
4690         * server.el (server-visit-files): Run pre-command-hook and
4691         post-command-hook for each buffer while it is current (Bug#6910).
4692         (server-execute): Do not run hooks here.
4694 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
4696         Sync with Tramp 2.1.19.
4698         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4699         (tramp-reporter-dump-variable, tramp-load-report-modules)
4700         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4701         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4703         * net/tramp-compat.el (top): Do not autoload
4704         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
4705         only when `start-file-process' is not bound.
4706         (byte-compile-not-obsolete-vars): Define if not bound.
4707         (tramp-compat-funcall): New defmacro.
4708         (tramp-compat-line-beginning-position)
4709         (tramp-compat-line-end-position)
4710         (tramp-compat-temporary-file-directory)
4711         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4712         (tramp-compat-copy-file, tramp-compat-copy-directory)
4713         (tramp-compat-delete-file, tramp-compat-delete-directory)
4714         (tramp-compat-number-sequence, tramp-compat-process-running-p):
4715         Use it.
4716         (tramp-advice-file-expand-wildcards): Do not use
4717         `tramp-handle-file-remote-p'.
4718         (tramp-compat-make-temp-file): Simplify fallback implementation.
4719         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4720         (tramp-compat-copy-tree): Remove function.
4721         (tramp-compat-delete-file): New defun.
4722         (tramp-compat-delete-directory): Provide implementation for older
4723         Emacsen.
4724         (tramp-compat-file-attributes): Handle only
4725         `wrong-number-of-arguments' error.
4727         * net/tramp-fish.el (tramp-fish-handle-copy-file):
4728         Add PRESERVE_SELINUX_CONTEXT.
4729         (tramp-fish-handle-delete-file): Add TRASH arg.
4730         (tramp-fish-handle-directory-files-and-attributes):
4731         Do not use `tramp-fish-handle-file-attributes.
4732         (tramp-fish-handle-file-local-copy)
4733         (tramp-fish-handle-insert-file-contents)
4734         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4736         * net/tramp-gvfs.el (top): Require url-util.
4737         (tramp-gvfs-mount-point): Remove.
4738         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4739         and `set-file-selinux-context'.
4740         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4741         (tramp-gvfs-handle-file-selinux-context)
4742         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4743         (with-tramp-dbus-call-method): Format trace message.
4744         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4745         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4746         Implement backup call, when operation on local files fails.
4747         Use progress reporter.  Flush properties of changed files.
4748         (tramp-gvfs-handle-delete-file): Add TRASH arg.
4749         Use `tramp-compat-delete-file'.
4750         (tramp-gvfs-handle-expand-file-name): Expand "~/".
4751         (tramp-gvfs-handle-make-directory): Make more traces.
4752         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4753         (tramp-gvfs-url-file-name): Hexify file name in url.
4754         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4755         into account for the resulting file name.
4756         (tramp-gvfs-handler-askquestion): Preserve current message, in
4757         order to let progress reporter continue afterwards.  (Bug#6257)
4758         Return dummy mountpoint, when the answer is "no".
4759         See `tramp-gvfs-maybe-open-connection'.
4760         (tramp-gvfs-handler-mounted-unmounted)
4761         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4762         attribute "default_location".  Set "prefix" property.
4763         Handle default-location.
4764         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4765         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4766         exists.  Raise an error, if not (due to a corresponding answer
4767         "no" in interactive questions, for example).
4768         Use `tramp-compat-funcall'.
4770         * net/tramp-imap.el (top): Autoload `epg-make-context'.
4771         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4772         (tramp-imap-do-copy-or-rename-file)
4773         (tramp-imap-handle-insert-file-contents)
4774         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4775         (tramp-imap-handle-delete-file): Add TRASH arg.
4777         * net/tramp-smb.el (tramp-smb-handle-copy-file):
4778         Add PRESERVE-SELINUX-CONTEXT.
4779         (tramp-smb-handle-copy-file)
4780         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4781         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4782         Use `with-progress-reporter'.
4783         (tramp-smb-handle-delete-file): Add TRASH arg.
4785         * net/tramp.el (tramp-methods): Move hostname to the end in all
4786         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
4787         appropriate.
4788         (tramp-verbose): Describe verbose level 9.
4789         (tramp-completion-function-alist)
4790         (tramp-file-name-regexp, tramp-chunksize)
4791         (tramp-local-coding-commands, tramp-remote-coding-commands)
4792         (with-connection-property, tramp-completion-mode-p)
4793         (tramp-action-process-alive, tramp-action-out-of-band)
4794         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4795         (tramp-exists-file-name-handler): Fix docstring.
4796         (tramp-remote-process-environment): Use `format' instead of
4797         `concat'.  Protect version string by apostroph.
4798         (tramp-shell-prompt-pattern): Do not use a shy group in case of
4799         XEmacs.
4800         (tramp-file-name-regexp-unified)
4801         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4802         not regard the volume letter as remote filename.  (Bug#5447)
4803         (tramp-perl-file-attributes)
4804         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4805         (tramp-vc-registered-read-file-names): Read input as
4806         here-document, otherwise the command could exceed maximum length
4807         of command line.
4808         (tramp-file-name-handler-alist): Add `file-selinux-context' and
4809         `set-file-selinux-context'.
4810         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4811         backtrace functions.
4812         (tramp-error-with-buffer): Don't show the connection buffer when
4813         we are in completion mode.
4814         (tramp-progress-reporter-update, tramp-remote-selinux-p)
4815         (tramp-handle-file-selinux-context)
4816         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4817         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4818         New defuns.
4819         (with-progress-reporter): New defmacro.
4820         (tramp-debug-outline-regexp): New defconst.
4821         (top, tramp-rfn-eshadow-setup-minibuffer)
4822         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4823         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4824         (tramp-completion-mode-p, tramp-check-for-regexp)
4825         (tramp-open-connection-setup-interactive-shell)
4826         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4827         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4828         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4829         Use `tramp-compat-funcall'.
4830         (tramp-handle-make-symbolic-link): Flush file properties.
4831         (tramp-handle-load, tramp-handle-file-local-copy)
4832         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4833         (tramp-handle-vc-registered, tramp-maybe-send-script)
4834         (tramp-find-shell): Use `with-progress-reporter'.
4835         (tramp-do-file-attributes-with-stat): Add space in format string,
4836         in order to work around a bug in pdksh.  Reported by Gilles Pion
4837         <gpion@lfdj.com>.
4838         (tramp-handle-verify-visited-file-modtime): Do not send a command
4839         when the connection is not established.
4840         (tramp-handle-set-file-times): Simplify the check for utc.
4841         (tramp-handle-directory-files-and-attributes)
4842         (tramp-get-remote-path): Use `copy-tree'.
4843         (tramp-completion-handle-file-name-all-completions): Ensure, that
4844         non remote files are still checked.  Oops.
4845         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4846         Handle PRESERVE-SELINUX-CONTEXT.
4847         (tramp-do-copy-or-rename-file): Add progress reporter.
4848         (tramp-do-copy-or-rename-file-directly): Do not use
4849         `tramp-handle-file-remote-p'.
4850         (tramp-do-copy-or-rename-file-out-of-band):
4851         Use `tramp-compat-delete-directory'.
4852         (tramp-do-copy-or-rename-file-out-of-band)
4853         (tramp-compute-multi-hops, tramp-maybe-open-connection):
4854         Use `format-spec-make'.
4855         (tramp-handle-delete-file): Add TRASH arg.
4856         (tramp-handle-dired-uncache): Flush directory cache, not only file
4857         cache.
4858         (tramp-handle-expand-file-name)
4859         (tramp-completion-handle-file-name-all-completions)
4860         (tramp-completion-handle-file-name-completion):
4861         Use `tramp-connectable-p'.
4862         (tramp-handle-start-file-process): Set connection property "vec".
4863         Use it, in order to invalidate file caches.  Check only for
4864         `remote-tty' process property.
4865         Implement tty setting.  (Bug#4604, Bug#6360)
4866         (tramp-file-name-for-operation): Add `call-process-region' and
4867         `set-file-selinux-context'.
4868         (tramp-find-foreign-file-name-handler)
4869         (tramp-advice-make-auto-save-file-name)
4870         (tramp-set-auto-save-file-modes): Remove superfluous check for
4871         `stringp'.  This is done inside `tramp-tramp-file-p'.
4872         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
4873         operations when we are in completion mode.  This gives the user
4874         the chance to correct the file name in the minibuffer.
4875         (tramp-completion-mode-p): Use `non-essential'.
4876         (tramp-handle-file-name-all-completions): Backward/ XEmacs
4877         compatibility: Use `completion-ignore-case' if
4878         `read-file-name-completion-ignore-case' does not exist.
4879         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4880         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4881         `tramp-open-shell'.
4882         (tramp-action-password): Hide password prompt before next run.
4883         (tramp-process-actions): Widen connection buffer for the trace.
4884         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4885         process property.  Trace stty settings if `tramp-verbose' >= 9.
4886         Apply workaround for IRIX64 bug.  Move argument of last
4887         `tramp-send-command' where it belongs to.
4888         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4889         front of `login-args'.
4890         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4891         on "/dev/null" instead of "/".
4892         (tramp-get-ls-command-with-dired): Make test for "--dired"
4893         stronger.
4894         (tramp-set-auto-save-file-modes): Adapt version check.
4895         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4896         (tramp-handle-process-file): Call the program in a subshell, in
4897         order to preserve working directory.
4898         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4899         `tramp-remote-sh' from `tramp-methods'.
4900         (tramp-get-ls-command): Make test for "--color=never" stronger.
4901         (tramp-check-for-regexp): Use (forward-line 1).
4903         * net/trampver.el: Update release number.
4905 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4907         * help.el (help-map): Bind `C-h P' to describe-package.
4909         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4911         * emacs-lisp/package.el (package-refresh-contents): Catch errors
4912         when downloading archives.
4913         (describe-package-1): Add package commentary.
4914         (package-install-button-action): New function.
4915         (package-menu-mode-map): Bind ? to package-menu-describe-package.
4916         (package-menu-view-commentary): Function removed.
4917         (package-list-packages-internal): Hide the `package' package too.
4919 2010-08-25  Kenichi Handa  <handa@m17n.org>
4921         * language/misc-lang.el ("Arabic"): New language environment.
4922         Setup composition-function-table for Arabic characters.
4924         * international/fontset.el (setup-default-fontset): Fix typo for
4925         arabic OTF spec (fini->fina).
4927 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
4929         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4930         on all frames.
4932 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4934         * whitespace.el: Allow cleaning up blanks without blank
4935         visualization (Bug#6651).  Adjust help window for
4936         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
4937         instead of whitespace-line-column (from EmacsWiki).  New version
4938         13.1.
4939         (whitespace-style): Add new value 'face.  Adjust docstring.
4940         (whitespace-space, whitespace-hspace, whitespace-tab):
4941         Adjust foreground property face.
4942         (whitespace-line-column): Adjust docstring and type declaration.
4943         (whitespace-style-value-list, whitespace-toggle-option-alist)
4944         (whitespace-help-text): Adjust const initialization.
4945         (whitespace-toggle-options, global-whitespace-toggle-options):
4946         Adjust docstring.
4947         (whitespace-display-window, whitespace-interactive-char)
4948         (whitespace-style-face-p, whitespace-color-on): Adjust code.
4949         (whitespace-help-scroll): New fun.
4951 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4953         * emacs-lisp/package.el (list-packages): Alias for
4954         package-list-packages.
4956 2010-08-24  Kevin Ryde  <user42@zip.com.au>
4958         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4959         (Bug#5651).
4961         * progmodes/ruby-mode.el (ruby): Add defgroup.
4963 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4965         * progmodes/python.el: Add Ipython support (Bug#5390).
4966         (python-shell-prompt-alist)
4967         (python-shell-continuation-prompt-alist): New options.
4968         (python--set-prompt-regexp): New function.
4969         (inferior-python-mode, run-python, python-shell):
4970         Require ansi-color.  Use python--set-prompt-regexp to set the comint
4971         prompt based on the Python interpreter.
4972         (python--prompt-regexp): New var.
4973         (python-check-comint-prompt)
4974         (python-comint-output-filter-function): Use it.
4975         (run-python): Use a pipe (Bug#5694).
4977 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
4979         * progmodes/python.el (python-send-region): Send a different
4980         Python command if Ipython is in use.
4981         (python-check-version): Use a Python command to find the version.
4983 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4985         * mouse.el (mouse-yank-primary): Avoid setting primary when
4986         deactivating the mark (Bug#6872).
4988 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
4990         * progmodes/python.el (python-block-pairs): Allow use of "finally"
4991         with "else" (Bug#3991).
4993 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
4995         * net/dbus.el: Accept UNIX domain sockets as bus address.
4996         (top): Don't initialize `dbus-registered-objects-table' anymore,
4997         this is done in dbusbind,c.
4998         (dbus-check-event): Adapt test for bus.
4999         (dbus-return-values-table, dbus-unregister-service)
5000         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5001         Adapt doc string.
5003 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
5005         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5007 2010-08-22  Juri Linkov  <juri@jurta.org>
5009         * simple.el (read-extended-command): New function with the logic
5010         for `completing-read' moved to Elisp from `execute-extended-command'.
5011         Use `function-called-at-point' in `minibuffer-default-add-function'
5012         to get a command name for M-n (bug#5364, bug#5214).
5014 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5016         * startup.el (command-line-1): Issue warning for ignored arguments
5017         --unibyte, etc (Bug#6886).
5019 2010-08-22  Leo  <sdl.web@gmail.com>
5021         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5022         (ignore, bright, dim, keyword): Split list of nicknames before
5023         passing to rcirc-add-or-remove (Bug#6894).
5025 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5027         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5029 2010-08-22  Leo  <sdl.web@gmail.com>
5031         Fix buffer-list rename&refresh after killing a buffer in ido.
5032         * ido.el: Revert Óscar's.
5033         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5034         Remember the buffers at head, rather than their name.
5035         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5037 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
5038             Stefan Monnier  <monnier@iro.umontreal.ca>
5040         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5041         extra backslash added to each line (bug#6890).
5043 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5045         * subr.el (read-key): Don't echo keystrokes (bug#6883).
5047 2010-08-22  Glenn Morris  <rgm@gnu.org>
5049         * menu-bar.el (menu-bar-games-menu): Add landmark.
5051 2010-08-22  Glenn Morris  <rgm@gnu.org>
5053         * align.el (align-regexp): Make group and spacing arguments
5054         use the interactive defaults when non-interactive.  (Bug#6698)
5056         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5057         expansion, so as not to need sendmail.
5058         (mail-text-start): Remove declaration.
5059         (rmail-retry-failure): Require sendmail.
5061 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5063         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5065 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
5067         * progmodes/flymake.el (flymake-start-syntax-check-process):
5068         Use `start-file-process' in order to let it run also on remote hosts.
5070 2010-08-22  Kenichi Handa  <handa@m17n.org>
5072         * files.el: Add `word-wrap' as safe local variable.
5074 2010-08-22  Glenn Morris  <rgm@gnu.org>
5076         * woman.el (woman-translate): Case matters.  (Bug#6849)
5078 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5080         * simple.el (kill-region): Doc fix (Bug#6787).
5082 2010-08-22  Glenn Morris  <rgm@gnu.org>
5084         * calendar/diary-lib.el (diary-header-line-format):
5085         Fit it to the window, not the frame.
5087 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
5089         * subr.el (ignore-errors): Add debug declaration.
5091 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
5093         * whitespace.el (whitespace-color-off): Remove post-command-hook
5094         locally.
5096 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5098         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5100 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
5102         * cus-edit.el (custom-group-value-create): Add extra newline
5103         before end line (Bug#6876).
5105 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
5107         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5108         when extending it.  Before killing on the second click, check if
5109         the buffer is the correct one.  Doc fix.
5110         (mouse-secondary-save-then-kill): Allow usage without first
5111         calling mouse-start-secondary, by defaulting to point.  Don't save
5112         an empty secondary selection.  Doc fix.
5114 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5116         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
5117         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5118         New version 13.0.
5119         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5120         Adjust initialization.
5121         (whitespace-bob-marker, whitespace-eob-marker)
5122         (whitespace-buffer-changed): New vars.
5123         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5124         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5125         (whitespace-post-command-hook, whitespace-display-char-on):
5126         Adjust code.
5127         (whitespace-looking-back, whitespace-buffer-changed): New funs.
5128         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5130 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5132         * files.el (locate-file-completion-table): Only list the .el and .elc
5133         extensions if there's no other choice (bug#5955).
5135         * facemenu.el (facemenu-self-insert-data): New var.
5136         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5137         New functions.
5138         (facemenu-add-face): Use them.
5140         * simple.el (blink-matching-open): Obey forward-sexp-function.
5142 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5144         * simple.el (prog-mode-map): New var.
5145         (prog-indent-sexp): New command.
5147         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5149         * progmodes/prolog.el (smie): Require.
5151         * emacs-lisp/smie.el (smie-default-backward-token)
5152         (smie-default-forward-token): Strip properties.
5153         (smie-next-sexp): Be more careful with associative operators.
5154         (smie-forward-sexp-command): Generalize.
5155         (smie-backward-sexp-command): Simplify.
5156         (smie-closer-alist): New var.
5157         (smie-close-block): New command.
5158         (smie-indent-debug-log): New var.
5159         (smie-indent-offset-rule): Add a few more cases.
5160         (smie-indent-column): New function.
5161         (smie-indent-after-keyword): Use it.
5162         (smie-indent-keyword): Use it.
5163         Fix up the opener code's point position.
5164         (smie-indent-comment): Only applies at BOL.
5165         (smie-indent-debug): New command.
5167         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5168         declarations that are useful before running the macro.
5170 2010-08-18  Joakim Verona  <joakim@verona.se>
5172         * image.el (imagemagick-types-inhibit): New variable.
5173         (imagemagick-register-types): New function.
5174         * image-mode.el (image-transform-properties): New function.
5175         (image-transform-set-scale, image-transform-fit-to-height)
5176         (image-transform-set-rotation, image-transform-set-resize)
5177         (image-transform-fit-to-width, image-transform-fit-to-height):
5178         New functions.
5179         (image-toggle-display-image): Support image transforms.
5181 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
5183         * image.el (create-animated-image): Don't add heuristic mask to image
5184         (Bug#6839).
5186 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
5188         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5189         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5191 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5193         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5195         Font-lock '...' strings, plus various simplifications and fixes.
5196         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5197         (octave-font-lock-close-quotes): New function.
5198         (octave-font-lock-syntactic-keywords): New var.
5199         (octave-mode): Use it.  Set beginning-of-defun-function.
5200         (octave-mode-map): Don't override the <foo>-defun commands.
5201         (octave-mode-menu): Pass it directly to easy-menu-define;
5202         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5203         (octave-block-match-alist): Fix up last change so that
5204         octave-close-block uses the more specific keyword.
5205         (info-lookup-mode): Silence byte-compiler.
5206         (octave-beginning-of-defun): Not interactive any more.
5207         Optimize slightly.
5208         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5209         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5210         (octave-completion-at-point-function): Make sure point is within
5211         beg..end.
5212         (octave-reindent-then-newline-and-indent):
5213         Use reindent-then-newline-and-indent.
5214         (octave-add-octave-menu): Remove.
5216 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
5218         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5219         (report-emacs-bug-can-use-xdg-email): New functions.
5220         (report-emacs-bug): Set can-xdg-email to result of
5221         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
5222         \C-cm to report-emacs-bug-insert-to-mailer and add help text
5223         about it.
5225         * net/browse-url.el (browse-url-default-browser): Add cond
5226         for browse-url-xdg-open.
5227         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5229 2010-08-17  Glenn Morris  <rgm@gnu.org>
5231         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5232         (c-fontify-recorded-types-and-refs): Define for compiler.
5233         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5234         before use.
5236         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5237         Fix format call.
5239 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
5241         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5242         properties.
5243         (tramp-handle-process-file): Call the program in a subshell, in
5244         order to preserve working directory.
5245         (tramp-action-password): Hide password prompt before next run.
5246         (tramp-process-actions): Widen connection buffer for the trace.
5248 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5250         * net/rcirc.el (rcirc-log-process-buffers): New option.
5251         (rcirc-print): Use it.
5252         (rcirc-generate-log-filename): New function.
5253         (rcirc-log-filename-function): Change default to
5254         rcirc-generate-log-filename (Bug#6828).
5256 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
5258         * simple.el (deactivate-mark): If select-active-regions is `only',
5259         only set selection for temporarily active regions.
5261         * cus-start.el: Change defcustom for select-active-regions.
5263 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
5265         * mouse.el (mouse--drag-set-mark-and-point): New function.
5266         (mouse-drag-track): Use LOCATION arg to push-mark.
5267         Use mouse--drag-set-mark-and-point to take click-count into
5268         consideration when updating point and mark (Bug#6840).
5270 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
5272         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5273         Give the Ruby rule a lower priority than Gnu (Bug#6778).
5275 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5277         * font-lock.el (lisp-font-lock-keywords-2):
5278         Add combine-after-change-calls, condition-case-no-debug,
5279         with-demoted-errors, and with-silent-modifications (Bug#6025).
5281 2010-08-14  Kevin Ryde  <user42@zip.com.au>
5283         * emacs-lisp/copyright.el (copyright-update-year)
5284         (copyright-update): Temporary switch-to-buffer to ensure the
5285         buffer change being queried is visible (Bug#5394).
5287 2010-08-14  Tom Tromey  <tromey@redhat.com>
5289         * progmodes/etags.el (tags-file-name): Mark safe if stringp
5290         (Bug#6733).
5292 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
5294         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5295         MS-DOS.  (Bug#6689)
5297 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
5299         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5300         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5301         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5302         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5303         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5304         Call menu-bar-set-tool-bar-position.
5306 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5308         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5309         comment style (bug#6834).
5310         * progmodes/scheme.el (scheme-mode-syntax-table):
5311         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5312         "b" flag in "' 14b" syntax.
5314         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5315         for (un)commenting the region and performing completion.
5316         (octave-mode-menu): Use standard commands for help and completion.
5317         (octave-mode-syntax-table): Support %{..%} comments (sort of).
5318         (octave-mode): Use define-derived-mode.
5319         Set completion-at-point-functions and don't set columns.
5320         Don't disable adaptive-fill-regexp.
5321         (octave-describe-major-mode, octave-comment-region)
5322         (octave-uncomment-region, octave-comment-indent)
5323         (octave-indent-for-comment): Remove.
5324         (octave-indent-calculate): Rename from calculate-octave-indent.
5325         (octave-indent-line, octave-fill-paragraph): Update caller.
5326         (octave-initialize-completions): No need to make an alist.
5327         (octave-completion-at-point-function): New function.
5328         (octave-complete-symbol): Use it.
5329         (octave-insert-defun): Use define-skeleton.
5331         * progmodes/octave-mod.el (octave-mode): Set comment-add.
5332         (octave-mode-map): Use comment-dwim (bug#6829).
5334 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
5336         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5337         indentation of inserted comment.
5339 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
5341         * faces.el (region): Add type gtk that uses gtk colors.
5343         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5344         Handle theme-name change.
5346 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
5348         * progmodes/sql.el: Version 2.5
5349         (sql-product-alist): Add :prompt-cont-regexp property for several
5350         database products.
5351         (sql-prompt-cont-regexp): New variable.
5352         (sql-output-newline-count, sql-output-by-send):
5353         New variables.  Record number of newlines in input text.
5354         (sql-send-string): Handle multiple filters and count newlines.
5355         (sql-send-magic-terminator): Count terminator newline.
5356         (sql-interactive-remove-continuation-prompt): Filters output to
5357         remove continuation prompts; one for each newline.
5358         (sql-interactive-mode): Set up new variables, prompt regexp and
5359         output filter.
5360         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5361         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5363 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5365         * emacs-lisp/pcase.el: New file.
5367 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
5369         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5370         as here-document, otherwise the command could exceed maximum
5371         length of command line.
5372         (tramp-handle-vc-registered): Call script accordingly.
5373         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5375 2010-08-10  Kenichi Handa  <handa@m17n.org>
5377         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5378         composable pattern.
5380 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
5382         * emacs-lisp/package.el (package-version-split)
5383         (package--version-first-nonzero, package-version-compare):
5384         Functions removed.
5385         (package-directory-list, package-load-all-descriptors)
5386         (package--built-in, package-activate, define-package)
5387         (package-installed-p, package-compute-transaction)
5388         (package-read-all-archive-contents)
5389         (package--add-to-archive-contents, package-buffer-info)
5390         (package-tar-file-info, package-list-packages-internal):
5391         Use version-to-list and version-list-*.
5393         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5394         Use version-to-list.
5395         (package-upload-buffer-internal): Use version-list-<=.
5397 2010-08-09  Kenichi Handa  <handa@m17n.org>
5399         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5400         composable pattern.
5402 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
5404         * tutorial.el (tutorial--default-keys): C-d is now bound to
5405         delete-forward-char (Bug#6826).
5407         * mouse.el (mouse-drag-track): Remove accidentally-removed check
5408         for `double' value of mouse-1-click-follows-link (Bug#6807).
5410 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
5412         * replace.el (replace-highlight): Bind isearch-forward and
5413         isearch-error, ensuring that highlighting is updated if the user
5414         switches the search direction (Bug#6808).
5416         * isearch.el (isearch-lazy-highlight-forward): New var.
5417         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5418         (isearch-lazy-highlight-update): Use it.
5420 2010-08-08  Kenichi Handa  <handa@m17n.org>
5422         * international/mule.el (define-charset): Store NAME as :base property.
5423         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5424         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5425         current priority.  Force using the designation of the specific
5426         charset by adding `charset' text property.  Improve the whole algorithm.
5428 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5430         * emulation/pc-select.el (pc-selection-mode-hook)
5431         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5432         (pc-selection-mode): Fix typos in docstrings.
5434 2010-08-08  Kenichi Handa  <handa@m17n.org>
5436         * language/cyrillic.el: Don't add "microsoft-cp1251" to
5437         ctext-non-standard-encodings-alist here.
5439         * international/mule.el (ctext-non-standard-encodings-alist):
5440         Add "koi8-r" and "microsoft-cp1251".
5441         (ctext-standard-encodings): New variable.
5442         (ctext-non-standard-encodings-table): List only elements for
5443         non-standard encodings.
5444         (ctext-pre-write-conversion): Adjust for the above change.
5445         Check ctext-standard-encodings.
5447         * international/mule-conf.el (compound-text): Doc fix.
5448         (ctext-no-compositions): Doc fix.
5449         (compound-text-with-extensions): Doc fix.
5451 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5453         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5455 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5457         * progmodes/which-func.el (which-func-format): Split help-echo text
5458         into lines, like other mode-line tooltips.
5460         * server.el (server-start): When using TCP sockets, force IPv4
5461         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
5463 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5465         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5467 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5469         * term.el (term-delimiter-argument-list): Reflow docstring.
5470         (term-read-input-ring, term-write-input-ring, term-send-input)
5471         (term-bol, term-erase-in-display, serial-supported-or-barf):
5472         Fix typos in docstrings.
5474 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5476         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5478 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5480         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5482 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
5484         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5485         Fix typo in docstring (bug#6747).
5487 2010-08-08  Leo  <sdl.web@gmail.com>
5489         * eshell/esh-io.el (eshell-get-target): Better detection of
5490         read-only file (Bug#6762).
5492 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5494         * align.el (align-default-spacing): Doc fix.
5495         (align-region-heuristic, align-regexp): Fix typos in docstrings.
5497 2010-08-08  Stephen Peters  <speters@itasoftware.com>
5499         * calendar/icalendar.el
5500         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
5501         (icalendar--get-weekday-numbers): New.
5502         (icalendar--convert-recurring-to-diary): Handle multiple byday
5503         values in weekly rules.  (Bug#6766)
5505 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
5507         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5508         (icalendar--create-uid, icalendar-export-region)
5509         (icalendar--parse-summary-and-rest): Code formatting.
5511 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
5513         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5514         to italicize headers.
5515         (calc-highlight-selections-with-faces): New variable.
5516         (calc-selected-face, calc-nonselected-face): New faces.
5518         * calc/calccomp.el (math-comp-highlight-string): Use
5519         `calc-highlight-selections-with-faces' to determine how to highlight
5520         sub-formulas.
5522         * calc/calc-sel.el (calc-show-selections): Change message to when
5523         using faces to highlight selections.
5525 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
5527         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5528         Add SQLite 3 keywords, functions and datatypes.
5529         (sql-interactive-mode): Remove `comint-process-echoes' set to t
5530         (Bug#6686).
5532 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
5534         * simple.el (select-active-regions): Move to keyboard.c.
5535         (deactivate-mark): Used saved-region-selection.
5536         (select-active-region): Function removed.
5537         (activate-mark, set-mark, push-mark-command)
5538         (handle-shift-selection): Don't call it.
5539         (keyboard-quit): Avoid adding the region to the window selection.
5541         * mouse.el (mouse-drag-track): Remove hacks to deal with old
5542         select-active-regions implementation.
5543         (mouse-yank-at-click): Doc fix.
5545         * cus-start.el: Add custom declaration for select-active-regions.
5547 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
5549         * simple.el (delete-forward-char): Doc fix.
5551         * tutorial.el (help-with-tutorial): Hack safe file-local variables
5552         after reading the tutorial.
5554 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
5556         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5557         Fix for the case that a C style comment has its delimiters alone on
5558         their respective lines.
5560 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
5562         * net/tramp.el (tramp-handle-start-file-process): Set connection
5563         property "vec".
5564         (tramp-process-sentinel): Use it for flushing the cache.
5565         We cannot do it via the process buffer, the buffer could be deleted
5566         already when running the sentinel.
5568 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
5570         * comint.el (comint-mode): Make directory tracking functions
5571         functional on remote files.  (Bug#6764)
5573 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
5575         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5577 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
5579         * emacs-lisp/find-gc.el (find-gc-source-files):
5580         Rename unexec.c => unexcoff.c.
5582         * emacs-lisp/authors.el (authors-fixed-entries):
5583         Rename unexec.c => unexcoff.c.
5585 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
5587         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5588         cache, not only file cache.
5589         (tramp-process-sentinel): New defun.
5590         (tramp-handle-start-file-process): Use it, in order to invalidate
5591         file caches.
5593 2010-08-03  Leo  <sdl.web@gmail.com>
5595         * server.el (server-start): Simplify loop.
5597 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5599         * frame.el (screen-height, screen-width, set-screen-width)
5600         (set-screen-height): Remove ancient compatibility aliases.
5602         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5603         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
5605         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5606         that change current buffer.
5608 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5610         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5611         beginning of the string.  Use `string-match-p'.  (Bug#6765)
5613 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
5615         * cus-start.el (x-gtk-use-system-tooltips): New variable.
5617 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
5619         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5620         (package--builtins): Tweak descriptions.
5621         (package-print-package): Upcase descriptions if necessary.
5622         Show all built-in packages in font-lock-builtin-face.
5623         (package-list-packages-internal): Omit "emacs" package.
5624         Show status of built-in packages as "built-in".
5626 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
5628         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
5629         before killing to preserve the primary selection (Bug#6701).
5631         * term/x-win.el (x-select-text): Doc fix.
5633 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
5635         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5636         (objc-font-lock-extra-types):
5637         * progmodes/cc-mode.el (c-basic-common-init):
5638         * progmodes/cc-langs.el (c-make-mode-syntax-table)
5639         (c++-make-template-syntax-table)
5640         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5641         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5642         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5643         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5644         * progmodes/cc-fonts.el (c-make-inverse-face)
5645         (c-basic-matchers-after):
5646         * progmodes/cc-engine.el (c-forward-keyword-clause)
5647         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5648         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5649         (c-guess-continued-construct, c-guess-basic-syntax):
5650         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5651         The above functions were modified or created.
5653 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
5655         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5657 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
5659         * files.el (bidi-paragraph-direction): Define safe local values.
5661         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5662         language-info-alist.  Remove outdated FIXME in a comment.
5664 2010-07-31  Alan Mackenzie  <acm@muc.de>
5666         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5667         Auto-fill broken in C/C++ modes.
5669 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
5671         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5672         (menu-bar-showhide-tool-bar-menu-customize-disable)
5673         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5674         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5675         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5676         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5677         make a menu for Options => toolbar that can move it.
5679 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
5681         * emacs-lisp/package-x.el (package--make-rss-entry):
5682         (package-maint-add-news-item, package--update-news)
5683         (package-upload-buffer-internal): New arg ARCHIVE-URL.
5685         * emacs-lisp/package.el (package-archive-url): Rename from
5686         package-archive-id.
5687         (package-install): Doc fix.
5688         (package-download-single, package-download-tar, package-install)
5689         (package-menu-view-commentary): Callers changed.
5691 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
5693         * net/tramp.el (tramp-handle-start-file-process): Check only for
5694         `remote-tty' process property.
5695         (tramp-open-shell): Don't check for tty.
5696         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5697         process property.
5699         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5700         host.
5702 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
5704         * emacs-lisp/package.el (package-load-list, package-archives)
5705         (package-archive-contents, package-user-dir)
5706         (package-directory-list, package--builtins, package-alist)
5707         (package-activated-list, package-obsolete-alist): Mark as risky.
5709 2010-07-28  Phil Hagelberg  <phil@evri.com>
5711         Add support for non-default package repositories.
5712         * emacs-lisp/package.el (package-archive-base): Var deleted.
5713         (package-archives): New variable.
5714         (package-archive-contents): Doc fix.
5715         (package-load-descriptor): Do nothing if descriptor file is missing.
5716         (package--write-file-no-coding): New function.
5717         (package-unpack-single): Use it.
5718         (package-archive-id): New function.
5719         (package-download-single, package-download-tar)
5720         (package-menu-view-commentary): Use it.
5721         (package-installed-p): Make second argument optional.
5722         (package-read-all-archive-contents): New function.
5723         (package-initialize): Use it.
5724         (package-read-archive-contents): Add ARCHIVE argument.
5725         (package--add-to-archive-contents): New function.
5726         (package-install): Don't call package-read-archive-contents.
5727         (package--download-one-archive): Store archive file in a
5728         subdirectory of package-user-dir.
5729         (package-menu-execute): Remove spurious line movement.
5731 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
5733         * cus-start.el (tool-bar-style): Add text-image-horiz.
5735 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5737         * progmodes/gud.el (gud-common-init): Check for remoteness of
5738         `file', and not of `default-directory'.
5740 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5742         * net/tramp.el (tramp-methods): Move hostname to the end in all
5743         ssh `tramp-login-args'.
5744         (tramp-verbose): Describe verbose level 9.
5745         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5746         (tramp-open-connection-setup-interactive-shell): Trace stty
5747         settings if `tramp-verbose' >= 9.
5748         (tramp-handle-start-file-process): Implement tty setting.
5749         (Bug#4604, Bug#6360)
5751         * net/tramp-cmds.el (tramp-bug): Recommend setting of
5752         `tramp-verbose' to 9.
5754 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
5756         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5757         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5758         Remove references to package `lisp-re' (bug#4369).
5760 2010-07-27  Tom Tromey  <tromey@redhat.com>
5762         * progmodes/js.el (js-mode):
5763         * progmodes/make-mode.el (makefile-mode):
5764         * progmodes/simula.el (simula-mode):
5765         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5767 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
5769         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5771         * time.el (display-time-day-and-date): Remove spurious * in docstring.
5772         (display-time-world-buffer-name, display-time-world-mode-map):
5773         Fix typos in docstrings.
5775 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
5777         * image-mode.el (image-display-size): New function.
5778         (image-forward-hscroll, image-next-line, image-eol, image-eob)
5779         (image-mode-fit-frame): Use it (Bug#6639).
5781 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
5783         * dired.el (dired-buffers-for-dir): Handle list values of
5784         dired-directory (Bug#6636).
5786 2010-07-26  Sam Steingold  <sds@gnu.org>
5788         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5789         Do not call `x-get-selection' the second time, reuse the value.
5791 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
5793         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5794         which consist of control chars only.  Suggested by Richard Stallman.
5796 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
5798         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5799         exists before passing an error to find-file-not-found-functions
5800         (bug#6723).
5802 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
5804         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5805         Remove leading nil element, adjust values.
5806         (tetris-shapes, tetris-shape-scores):
5807         Change representation of shapes and remove some redundancy.
5808         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5809         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5810         Adjust for working with new representation of shapes.
5811         (tetris-shape-rotations): New function.
5812         (tetris-move-bottom, tetris-move-left, tetris-move-right)
5813         (tetris-rotate-prev, tetris-rotate-next):
5814         Adjust for working with the new version of tetris-test-shape.
5816 2010-07-23  Markus Triska  <markus.triska@gmx.at>
5818         * progmodes/ps-mode.el: Use comint (bug#5954).
5819         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5820         (ps-mode-other-newline): Simplify.
5821         (ps-run-mode): Derive from comint-mode instead of
5822         fundamental-mode, yielding input history etc.
5823         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5824         (ps-run-send-string): Adapt for comint-mode.
5825         (ps-run-newline): Remove now unneeded function.
5827 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5829         * net/tramp.el (tramp-methods): Move hostname to the end in all
5830         plink `tramp-login-args'.
5832 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5834         * net/tramp.el (tramp-open-shell): New defun.
5835         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5836         Use it.
5838 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5840         * net/tramp.el (tramp-file-name-regexp-unified)
5841         (tramp-completion-file-name-regexp-unified): On W32 systems, do
5842         not regard the volume letter as remote filename.  (Bug#5447)
5844 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
5846         * custom.el (custom-declare-variable): Give a clearer error message
5847         when the docstring is missing (bug#6476).
5849 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
5851         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
5852         (sql-login-params): New widget definition.
5853         (sql-oracle-login-params, sql-mysql-login-params)
5854         (sql-solid-login-params, sql-sybase-login-params)
5855         (sql-informix-login-params, sql-ingres-login-params)
5856         (sql-ms-login-params, sql-postgres-login-params)
5857         (sql-interbase-login-params, sql-db2-login-params)
5858         (sql-linter-login-params): Use it.
5859         (sql-sqlite-login-params): Use it; Define "database" parameter as
5860         a file name.
5861         (sql-sqlite-program): Change to "sqlite3".
5862         (sql-comint-sqlite): Make sure database name is complete.
5863         (sql-for-each-login): New function.
5864         (sql-connect, sql-save-connection): Use it.
5865         (sql-get-login-ext): New function.
5866         (sql-get-login): Use it.
5867         (sql-make-alternate-buffer-name): Handle :file parameters.
5869 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
5871         * dired.el (dired-no-confirm): Document value t and fix defcustom to
5872         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
5874 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
5876         * dired.el (dired-mode-map): Use command remapping (bug#6632).
5878 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
5880         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5882 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
5884         * net/tramp.el (tramp-get-ls-command)
5885         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5886         instead of "/".
5888 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
5890         * progmodes/sql.el: Version 2.3.
5891         (sql-connection-alist): Changed keys from symbols to strings;
5892         enhanced the widget definition.
5893         (sql-mode-menu): Add submenu to select connections.
5894         (sql-interactive-mode-menu): Add "Save Connection" item.
5895         (sql-add-product): Fix menu item.
5896         (sql-get-product-feature): Improved error handling.
5897         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5898         (sql-make-alternate-buffer-name): Simplified.
5899         (sql-product-interactive): Handle missing product.
5900         (sql-connect): Support string keys, minor improvements.
5901         (sql-save-connection): New function.
5902         (sql-connection-menu-filter): New function.
5904 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
5906         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5907         (tramp-open-connection-setup-interactive-shell):
5908         Apply workaround for IRIX64 bug.  Move argument of last
5909         `tramp-send-command' where it belongs to.
5911 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
5913         * net/tramp.el (tramp-perl-file-attributes)
5914         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5915         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5916         front of `login-args'.
5918 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
5920         * time.el (display-time-world-mode): Define with `define-derived-mode'.
5921         Set `show-trailing-whitespace' to nil.
5922         (display-time-world-display): Simplify.
5924 2010-07-18  Alan Mackenzie  <acm@muc.de>
5926         Enhance `c-file-style' in file/directory local variables.
5927         * progmodes/cc-mode.el (c-count-cfss): New function.
5928         (c-before-hack-hook): Call `c-set-style' differently according to
5929         whether c-file-style was set in file or directory local
5930         variables.
5932 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
5934         * progmodes/sql.el: Version 2.2.
5935         (sql-product, sql-user, sql-database, sql-server, sql-port):
5936         Use defcustom :safe keyword rather than putting safe-local-variable
5937         property.
5938         (sql-password): Use defcustom :risky keyword rather than putting
5939         risky-local-variable property.
5940         (sql-oracle-login-params, sql-sqlite-login-params)
5941         (sql-solid-login-params, sql-sybase-login-params)
5942         (sql-informix-login-params, sql-ingres-login-params)
5943         (sql-ms-login-params, sql-postgres-login-params)
5944         (sql-interbase-login-params, sql-db2-login-params)
5945         (sql-linter-login-params): Add `port' option.
5946         (sql-get-product-feature): Add NO-INDIRECT parameter.
5947         (sql-comint-oracle, sql-comint-sybase)
5948         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5949         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5950         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5951         (sql-comint-linter): Rename sql-connect-* functions to
5952         sql-comint-*.
5953         (sql-product-alist, sql-mode-menu): Rename as above and
5954         :sqli-connect-func to :sqli-comint-func.
5955         (sql-connection): New variable.
5956         (sql-interactive-mode): Set it.
5957         (sql-connection-alist): New variable.
5958         (sql-connect): New function.
5959         (sql--alt-buffer-part, sql--alt-if-not-empty)
5960         (sql-make-alternate-buffer-name): Improved alternative buffer name.
5962 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5964         * image-mode.el (image-bookmark-make-record): Do not set context
5965         in an image (Bug#6650).
5967 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5969         * simple.el (select-active-region): New function.
5970         (push-mark-command, set-mark, activate-mark)
5971         (handle-shift-selection): Use it.
5972         (deactivate-mark): Don't check for size of region.
5974         * mouse.el (mouse-drag-track): Use select-active-region.
5976 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
5978         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5979         "--dired" stronger.
5981 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5983         * term/x-win.el (x-select-enable-primary): Change default to nil.
5984         (x-select-enable-clipboard): Add :version keyword.
5986         * mouse.el (mouse-drag-copy-region):
5987         * simple.el (select-active-regions): Likewise.
5989 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
5991         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5992         (vc-coding-system-for-diff): Use it to decide whether to inherit
5993         from the file the EOL format for reading the diffs of that file.
5994         (Bug#4451)
5996 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
5998         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5999         unibyte, so compressed attachments are not compressed again.
6001 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
6003         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6004         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6005         (tramp-find-shell): Simplify setting connection property.
6006         (tramp-get-ls-command): Make test for "--color=never" stronger.
6008 2010-07-15  Simon South  <ssouth@member.fsf.org>
6010         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6011         blocks within record declarations (i.e. variant parts) correctly.
6013 2010-07-15  Simon South  <ssouth@member.fsf.org>
6015         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6016         over literal tokens when parsing so newlines aren't "absorbed" by
6017         single-line comments.  Corrects the indentation of case blocks
6018         that have a comment on the first line.
6020 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
6022         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6023         by Drew Adams (Bug#5504).
6025 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
6027         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6028         now that Unicode is used (Bug#6594).
6030 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
6032         * term/x-win.el (x-select-enable-clipboard): Default to t.
6033         (x-initialize-window-system): Don't overwrite Paste menu item.
6035         * simple.el (select-active-regions): Default to t.
6036         (push-mark-command): Don't overwrite primary with empty string.
6038         * mouse.el: Bind mouse-2 to mouse-yank-primary.
6039         (mouse-drag-copy-region): Default to nil.
6041         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6042         Cut/Copy/Paste menu bar items.
6044 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6046         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6047         Patch applied by Karl Fogel.
6049         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6050         and `bookmark-current-buffer' if they have been already set in
6051         another buffer (e.g gnus-art).
6053 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
6054             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6056         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6058         * bookmark.el (bookmark-make-record-default): Allow unneeded
6059         information to be omitted from the record.
6061         Adjust declarations and calls:
6063         * info.el (bookmark-make-record-default): Adjust declaration.
6064         (Info-bookmark-make-record): Adjust call.
6066         * woman.el (bookmark-make-record-default): Adjust declaration.
6067         (woman-bookmark-make-record): Adjust call.
6069         * man.el (bookmark-make-record-default): Adjust declaration.
6070         (Man-bookmark-make-record): Adjust call.
6072         * image-mode.el (bookmark-make-record-default): Adjust declaration.
6074         * doc-view.el (bookmark-make-record-default): Adjust declaration.
6076 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
6078         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6079         This is also from Thierry Volpiatto's patch in bug #6444.  However,
6080         because it was extraneous to the functional change in that patch,
6081         and causes a re-indendation, I am committing it separately.
6083 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6085         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6086         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6087         Patch applied by Karl Fogel (Bug#6444).
6089 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
6091         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6093 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
6095         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6096         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
6097         (ns-alternatives-map): Change S-tab binding to backtab
6098         (bug#6616).
6100         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6101         under ns.
6103 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6105         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6106         (Bug#5806)
6108         * language/tv-util.el (tai-viet-re): Remove format.
6110 2010-07-12  Kenichi Handa  <handa@m17n.org>
6112         * language/hebrew.el: Remove no-byte-compile declaration.
6113         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
6114         composition-function-table for 3-character looking back.
6115         (hebrew-font-get-precomposed): New function.
6116         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6118 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
6120         * mouse.el (mouse-drag-track): Handle select-active-regions
6121         (Bug#6612).
6123 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
6125         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6126         empty argument to gvfs-copy.
6128 2010-07-10  Glenn Morris  <rgm@gnu.org>
6130         * calendar/calendar.el (calendar-week-end-day): New function.
6131         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6132         Respect calendar-week-start-day.  (Bug#6606)
6133         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6134         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6135         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6136         respect calendar-week-start-day.
6138 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
6140         * simple.el (use-region-p): Doc fix (Bug#6607).
6142 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
6144         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6145         Add regexps for cucumber and ruby.
6147 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
6149         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6150         (epa-file-insert-file-contents): Hack to prevent
6151         find-file from opening empty buffer when decryption failed
6152         (bug#6568).
6154 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
6156         * textmodes/ispell.el (ispell-alternate-dictionary):
6157         Use file-readable-p.
6158         Return nil if no word-list is found at default locations.
6159         (ispell-complete-word-dict): Default to nil.
6160         (ispell-command-loop): Use 'word-list' when using lookup-words.
6161         (lookup-words): Use ispell-complete-word-dict or
6162         ispell-alternate-dictionary.  Check for word-list availability
6163         and handle errors if needed with better messages (Bug#6539).
6164         (ispell-complete-word): Use ispell-complete-word-dict or
6165         ispell-alternate-dictionary.
6167 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
6169         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6170         builtins (BufferError, BytesWarning, WindowsError; callables
6171         bin, bytearray, bytes, format, memoryview, next, print; __package__).
6173 2010-07-07  Glenn Morris  <rgm@gnu.org>
6175         * play/zone.el (top-level): Do not require timer, tabify, or cl.
6176         (zone-shift-left): Ignore intangibility, and any errors from
6177         forward-char.
6178         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
6179         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6180         deleting, and copying text properties.
6181         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6182         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6183         to point-max is hard.
6184         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6185         (zone-fill-out-screen): Ignore intangibility.
6187 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
6189         * menu-bar.el (menu-bar-mode):
6190         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6191         if it has been set.
6193         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6194         word/line selection (Bug#6565).
6196 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
6198         * net/dbus.el (dbus-send-signal): Declare function.
6200 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
6202         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6203         (dbus-register-property): New optional argument EMITS-SIGNAL.
6204         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6206 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
6208         * mouse.el (mouse-drag-overlay): Variable deleted.
6209         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6210         (mouse--remap-link-click-p): New function.
6211         (mouse-drag-track): Handle dragging by using temporary Transient
6212         Mark mode, instead of a special overlay.
6213         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6214         mouse-show-mark.
6216         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6217         deleted.
6219 2010-07-02  Juri Linkov  <juri@jurta.org>
6221         * autoinsert.el (auto-insert-alist): Fix readability
6222         by using dotted pair notation for lambda.
6224 2010-07-02  Juri Linkov  <juri@jurta.org>
6226         * faces.el (read-face-name): Rename arg `string-describing-default'
6227         to `default'.  Doc fix.  Display the default value in quotes
6228         in the prompt.  With empty input, return the `default' arg,
6229         unless the default value is a string (in which case return nil).
6230         (describe-face): Replace the string `default' arg of `read-face-name'
6231         with the symbol `default'.
6233 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
6235         * emulation/viper-cmd.el (viper-delete-backward-char)
6236         (viper-del-backward-char-in-insert)
6237         (viper-del-backward-char-in-replace, viper-change)
6238         (viper-backward-indent): Replace delete-backward-char with
6239         delete-char (Bug#6552).
6241 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
6243         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6245 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6247         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6248         argument passed to frame-creation-function (Bug#5378).
6250         * faces.el (x-handle-named-frame-geometry)
6251         (x-handle-reverse-video, x-create-frame-with-faces)
6252         (face-set-after-frame-default, tty-create-frame-with-faces):
6253         Don't separately consult default-frame-alist.  It is now passed as the
6254         PARAMETER argument.
6256 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
6258         * startup.el (command-line): Don't call tool-bar-setup in a
6259         tty-only build.
6261 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6263         * ruler-mode.el (ruler--save-header-line-format): New fun.
6264         (ruler-mode): Use it as a setter function, so as not to overwrite
6265         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6267 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
6269         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
6270         (vc-root-diff, vc-print-root-log, vc-log-incoming)
6271         (vc-log-outgoing): Use it.
6272         (vc-diff-internal): Set diff-vc-backend.
6274         * vc/diff-mode.el (diff-vc-backend): New var.
6276 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
6278         * dynamic-setting.el (font-setting-change-default-font):
6279         Remove call to message.
6281 2010-06-28  Kenichi Handa  <handa@m17n.org>
6283         * international/quail.el (quail-insert-kbd-layout): Fix the
6284         showing of untranslated characters.
6286 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
6288         * simple.el (delete-active-region): New option.
6289         (delete-backward-char): Implement in Lisp.
6290         (delete-forward-char): New command.
6292         * mouse.el (mouse-region-delete-keys): Deleted.
6293         (mouse-show-mark): Simplify.
6295         * bindings.el (global-map): Bind delete and DEL, the former to
6296         delete-forward-char.
6298 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
6300         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6301         (ruby-mode): Bind indent-line-function (Bug#5119).
6303 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6305         * startup.el (command-line): Recognize "0" X resource value.
6307 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6309         * startup.el (command-line): Use X resources to set the value of
6310         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6312         * menu-bar.el (menu-bar-mode):
6313         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6314         Set init-value to t.
6316         * frame.el (frame-notice-user-settings): Don't change
6317         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6318         vice versa (Bug#2249).
6320 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
6322         * w32-fns.el (w32-convert-standard-filename): Doc fix.
6324 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
6326         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6327         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6329         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6330         default directories are expanded (Bug#6143).
6332 2010-06-24  Juri Linkov  <juri@jurta.org>
6334         * minibuffer.el (completions-format): Change default from nil to
6335         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
6337 2010-06-24  Juri Linkov  <juri@jurta.org>
6339         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6340         buffer-locally to lambda that re-runs the vc diff command.
6341         (Bug#6447)
6343 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
6345         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6346         echo area is in use (Bug#3412).
6348 2010-06-22  Glenn Morris  <rgm@gnu.org>
6350         * textmodes/texinfmt.el (texinfo-format-region)
6351         (texinfo-raise-lower-sections, texinfo-format-separate-node)
6352         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6353         (texinfo-format-option, texinfo-noindent):
6354         Use line-beginning-position and line-end-position.
6356         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6357         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6358         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6359         utf-8 characters.
6361 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
6363         * play/zone.el (zone-fall-through-ws): Fix next-line ->
6364         forward-line fallout.
6366 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
6368         * mouse.el (mouse-appearance-menu): Add docstring.
6370         * help.el (describe-key): Print up-event using key-description.
6372 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
6374         * net/zeroconf.el (zeroconf-resolve-service)
6375         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6376         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6378 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6380         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6382 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
6384         Avoid displaying files with a nil state in vc-dir.
6385         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6386         cases that cause insertion.
6387         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6388         with a nil state.
6390 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6392         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6394 2010-06-29  Leo  <sdl.web@gmail.com>
6396         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
6398 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6400         * generic-x.el (bat-generic-mode): Fix regexp for command line
6401         switches (Bug#5719).
6403 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
6405         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6406         of nconc to avoid pure storage error (Bug#6239).
6408 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
6410         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6411         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6412         bindings of bookmark-automatically-show-annotations (Bug#6515).
6414 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
6416         * arc-mode.el (archive-zip-extract): Don't quote the file name on
6417         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
6419 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6421         * comint.el (make-comint, make-comint-in-buffer): Mention return
6422         value in the docstrings.  (Bug#6498)
6424 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
6426         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6427         since it is not present when using some non-default switches.
6429 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
6431         * simple.el (compose-mail): Fix doc string to refer to
6432         `compose-mail-user-agent-warnings', instead of to the
6433         nonexistent `compose-mail-check-user-agent'.
6435 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
6437         Fix an indentation bug:
6439         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6440         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6441         of existing values.
6443         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6444         (c-clear->-pair-props-if-match-before): now return t when they've
6445         cleared properties, nil otherwise.
6446         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6447         by taking account of the existing value.
6449         * progmodes/cc-defs.el
6450         (c-clear-char-property-with-value-function): Fix this to clear the
6451         property rather than overwriting it with nil.
6453 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
6455         * emacs-lisp/package.el (package-print-package): Add link to
6456         package description via describe-package.
6457         (describe-package-1): List package requirements.  Add button to
6458         perform installation.
6459         (package-menu-describe-package): New command.
6461         * help-mode.el (help-package): New button type.
6463 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
6465         * emacs-lisp/package.el: Move package-list-packages binding to
6466         menu-bar.el.
6467         (describe-package, describe-package-1, package--dir): New funs.
6468         (package-activate-1): Use package--dir.
6470         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6472         * help-mode.el (help-package-def): New button type.
6474         * menu-bar.el: Move package-list-packages binding here from
6475         package.el.
6477 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
6479         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
6481 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6483         * emacs-lisp/edebug.el (edebug-read-list):
6484         Phase out old-style backquotes.
6486 2010-06-17  Juri Linkov  <juri@jurta.org>
6488         * help-mode.el (help-mode): Set buffer-local variable
6489         revert-buffer-function to help-mode-revert-buffer.
6490         (help-mode-revert-buffer): New function.
6492         * info.el (Info-revert-find-node): Check for major-mode Info-mode
6493         before popping to "*info*" (like in other Info functions).
6494         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
6495         old-history-forward.  Pop to old-buffer-name or "*info*" to
6496         recreate the killed buffer.  Set Info-history-forward from
6497         old-history-forward.
6498         (Info-breadcrumbs-depth): Add :group and :version.
6500 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
6502         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6504 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
6506         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6507         for languages like Portuguese with pt_{BR,PT} and no plain pt.
6509 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
6511         * emacs-lisp/package.el (package-menu-mode-map):
6512         Move initialization into declaration.
6514         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6516 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
6518         * emacs-lisp/package.el (package-archive-base): Point to
6519         elpa.gnu.org.
6520         (package-enable, package-load-list): New defcustoms.
6521         (package-user-dir, package-directory-list): Turn into defcustoms.
6522         Don't include package-user-dir in package-directory-list.
6523         (package--builtins-base): Don't include Emacs as a "package".
6524         (package-subdirectory-regexp): New var.
6525         (package-load-all-descriptors, package-compute-transaction)
6526         (package-download-transaction): Obey package-load-list.
6527         (package-activate-1): Rename from package-do-activate.
6528         (package-list-packages-internal): Check package-load-list.
6529         (package-load-descriptor, package-generate-autoloads)
6530         (package-unpack, package-unpack-single)
6531         (package--read-archive-file, package-delete):
6532         Use expand-file-name.
6534         * emacs-lisp/package-x.el: New file.  Package uploading
6535         functionality split out from package.el.
6537         * startup.el (command-line): Load packages after reading init file.
6539 2010-06-17  Tom Tromey  <tromey@redhat.com>
6541         * emacs-lisp/package.el: New file.
6543 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6545         Fix vc-annotate for renamed files when using Git.
6546         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6547         ls-files.  Doe not pass the object as a file name to cat-file, it
6548         is not a file name.
6549         (vc-git-annotate-command): Pass the file name using -- to avoid
6550         ambiguity with the revision.
6551         (vc-git-previous-revision): Pass a relative file name.
6553 2010-06-22  Glenn Morris  <rgm@gnu.org>
6555         * progmodes/js.el (js-mode-map): Use standard capitalization and
6556         ellipses for menu entries.
6558         * wid-edit.el (widget-complete): Doc fix.
6560 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
6562         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6564 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6566         Fix annotating other revisions for renamed files in vc-annotate.
6567         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6568         VC backend.  Use it when non-nil.
6569         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6570         (Bug#6487).
6572         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6573         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6574         Do not pass the file name to the 'previous-revision call when we
6575         don't want a file diff.  (Bug#6489)
6577 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6579         Fix finding revisions for renamed files in vc-annotate.
6580         * vc/vc.el (vc-find-revision): Add an optional argument for
6581         the VC backend.  Use it when non-nil.
6582         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6583         backend to vc-find-revision.  (Bug#6487)
6585 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6587         Fix reading file names in Git annotate buffers.
6588         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6589         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
6591 2010-06-20  Alan Mackenzie  <acm@muc.de>
6593         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6594         in file local variables, set it first.
6596 2010-06-19  Glenn Morris  <rgm@gnu.org>
6598         * descr-text.el (describe-char-unicode-data): Insert separating
6599         space when needed.  (Bug#6422)
6601         * progmodes/idlwave.el (idlwave-action-and-binding):
6602         Fix typo in 2009-12-03 change.  (Bug#6450)
6604 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6606         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6607         handling for `lambda' (misunderstanding).
6609 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
6611         * calc/calc-poly.el (math-accum-factors): Make sure that
6612         constants aren't distributed after they are factored out.
6614 2010-06-16  Juri Linkov  <juri@jurta.org>
6616         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6617         `list-colors-print'.  (Bug#6332)
6619         * subr.el (read-quoted-char): Fix up last change (bug#6290).
6621 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6623         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6624         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
6626         * font-lock.el (font-lock-major-mode): Rename from
6627         font-lock-mode-major-mode to distinguish it from
6628         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6629         (font-lock-set-defaults):
6630         * font-core.el (font-lock-default-function): Adjust users.
6631         (font-lock-mode): Don't set it at all.
6633 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6635         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6637 2010-06-16  Glenn Morris  <rgm@gnu.org>
6639         * calendar/appt.el (appt-time-msg-list): Doc fix.
6640         (appt-check): Let-bind appt-warn-time.
6641         (appt-add): Make the 3rd argument optional.
6642         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
6643         Only add WARNTIME to the output list if non-nil.
6645 2010-06-16  Ivan Kanis  <apple@kanis.eu>
6647         * calendar/appt.el (appt-check): Let the 3rd element of
6648         appt-time-msg-list specify the warning time.
6649         (appt-add): Add new argument with the warning time.  (Bug#5176)
6651 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
6653         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6654         older than version 1.6.  (Bug#6361)
6656 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
6658         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6659         used by cl-do-arglist.  (Bug#6408)
6661 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
6663         * textmodes/ispell.el (ispell-dictionary-base-alist):
6664         Fix portuguese casechars/not-casechars for missing 'çÇ'.
6665         Suggested by Rolando Pereira (bug#6434).
6667 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
6669         * facemenu.el (list-colors-sort): Doc fix.
6671 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
6673         * progmodes/sql.el (sql-connect-mysql): Fix typo.
6675 2010-06-14  Juri Linkov  <juri@jurta.org>
6677         Add sort option `list-colors-sort'.  (Bug#6332)
6678         * facemenu.el (color-rgb-to-hsv): New function.
6679         (list-colors-sort): New defcustom.
6680         (list-colors-sort-key): New function.
6681         (list-colors-display): Doc fix.  Sort list according to the option
6682         `list-colors-sort'.
6683         (list-colors-print): Add HSV values to `help-echo' property of
6684         RGB strings.
6686 2010-06-14  Juri Linkov  <juri@jurta.org>
6688         * compare-w.el: Move to the "vc" subdirectory.
6690 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6692         * image-mode.el (image-mode-map): Remap left-char and right-char.
6694         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6696 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
6698         * term/common-win.el (x-colors): Add all the color names defined
6699         in rgb.txt (Bug#6332).
6701         * facemenu.el (list-colors-print): Don't print extra names if it
6702         will overflow the window width.
6704         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6705         change (Bug#6343).
6707 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
6709         * files.el (make-directory): Doc fix (bug#6396).
6711 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
6713         * net/tramp.el (tramp-remote-process-environment): Protect version
6714         string by apostroph.
6715         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6716         XEmacs.
6717         (tramp-file-name-for-operation): Add `call-process-region'.
6718         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6720         * net/tramp-compat.el (top): Do not autoload
6721         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6722         only when `start-file-process' is not bound.
6723         (tramp-advice-file-expand-wildcards): Do not use
6724         `tramp-handle-file-remote-p'.
6725         (tramp-compat-make-temp-file): Handle the case, that
6726         `make-temp-file' has no third argument EXTENSION.
6728 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
6730         * makefile.w32-in (WINS_BASIC): Include new directory vc.
6732         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6734 2010-06-11  Juri Linkov  <juri@jurta.org>
6736         * finder.el (finder-known-keywords): Add keyword "vc"
6737         for version control.
6739         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6740         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6741         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6742         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6744 2010-06-11  Juri Linkov  <juri@jurta.org>
6746         Move version control related files to the "vc" subdirectory.
6747         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6748         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6749         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6750         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6751         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6752         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6753         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6754         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6755         Move files to the "vc" subdirectory.
6757 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
6759         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6760         (Bug#6367).
6762 2010-06-11  Stephen Eglen  <stephen@gnu.org>
6764         * shell.el: Bind `shell-resync-dirs' to M-RET.
6766 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
6768         * notifications.el: Move file from lisp/net, because it is
6769         supposed to talk locally to the user.
6771 2010-06-10  Julien Danjou  <julien@danjou.info>
6773         * net/notifications.el (notifications-on-action-signal)
6774         (notifications-on-closed-signal): Pass notification id as first
6775         argument to the callback functions.  Add docstrings.
6776         (notifications-notify): Fix docstring.
6778 2010-06-10  Glenn Morris  <rgm@gnu.org>
6780         * emacs-lisp/authors.el (authors-ignored-files)
6781         (authors-valid-file-names): Add some files.
6783 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6785         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6786         merge conflict, giving preference to the emacs-23 version of the code.
6788 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6790         * emacs-lisp/advice.el (ad-compile-function):
6791         Define warning-suppress-types before we let-bind it (bug#6275).
6793         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6794         declare it, make it buffer-local and permanent-local (bug#6324).
6795         (vc-resynch-window): Adjust name.
6796         * vc-hooks.el (vc-find-file-hook): Adjust name.
6798 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
6800         * net/notifications.el (notifications-notify): Fix docstring.
6802 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6804         Update to Unicode 6.0.0 beta.
6805         * international/charprop.el: Update copyright.
6806         * international/mule-cmds.el (ucs-names): Update character ranges.
6807         * international/uni-bidi.el:
6808         * international/uni-category.el:
6809         * international/uni-combining.el:
6810         * international/uni-comment.el:
6811         * international/uni-decimal.el:
6812         * international/uni-decomposition.el:
6813         * international/uni-digit.el:
6814         * international/uni-lowercase.el:
6815         * international/uni-mirrored.el:
6816         * international/uni-name.el:
6817         * international/uni-numeric.el:
6818         * international/uni-old-name.el:
6819         * international/uni-titlecase.el:
6820         * international/uni-uppercase.el: Regenerate.
6822 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6824         * emacs-lisp/smie.el (comment-string-strip): Declare function.
6825         (smie-precs-precedence-table): Fix typo in docstring.
6827         * vc-mtn.el (log-edit-extract-headers): Declare function.
6829         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6831         * net/notifications.el (dbus-register-signal): Declare function.
6832         (notifications-notify): Fix typos and reflow docstring.
6834 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
6836         Improve VC create/retrieve tag/branch.
6837         * vc.el (vc-create-tag): Do not read the directory name for VCs
6838         with repository revision granularity.  Adjust the tag/branch
6839         prompt.  Reset VC properties.
6840         (vc-retrieve-tag): Do not read the directory name for VCs
6841         with repository revision granularity.  Reset VC properties.
6843 2010-06-09  Julien Danjou  <julien@danjou.info>
6845         * net/notifications.el: New file.
6847 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
6849         Add optional support for resetting VC properties.
6850         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6851         call vc-file-clearprops when true.
6852         (vc-resynch-buffer): Add new optional argument, pass it down.
6853         (vc-resynch-buffers-in-directory): Likewise.
6855         Improve support for special markup in the VC commit message.
6856         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6857         * vc-hg.el (vc-hg-checkin): Add support for Date:.
6858         * vc-git.el (vc-git-checkin):
6859         * vc-bzr.el (vc-bzr-checkin): Likewise.
6861 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6863         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6864         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6866 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
6868         * iimage.el: Remove images as soon as the underlying text is modified.
6869         (iimage-modification-hook): New function.
6870         (iimage-mode-buffer): Use it.
6872 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6874         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6875         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
6876         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
6877         (smie-indent-keyword): Add handling of open-paren keywords.
6878         (smie-indent-comment-continue): Don't assume comment-continue.
6880 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
6882         * window.el (pop-to-buffer): Remove the conditional that
6883         compares new-window and old-window, so it will reselect
6884         the selected window unconditionally.
6885         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6887 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6889         * emacs-lisp/smie.el (smie-indent-offset-after)
6890         (smie-indent-forward-token, smie-indent-backward-token): New functions.
6891         (smie-indent-after-keyword): Use them.
6892         (smie-indent-fixindent): Only applies to the indentation of the BOL.
6893         (smie-indent-keyword): Tweak the black magic.
6894         (smie-indent-comment-continue): Strip comment-continue before use.
6895         (smie-indent-functions): Indent comments before keywords.
6897 2010-06-06  Juri Linkov  <juri@jurta.org>
6899         * isearch.el (isearch-lazy-highlight-search): Fix looping
6900         by checking for empty match.  This syncs this loop with the
6901         similar loop in `isearch-search'.  (Bug#6362)
6903 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
6905         * net/dbus.el (dbus-register-method): Declare function.
6906         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6907         (dbus-introspect): Doc fix.
6908         (dbus-event-bus-name, dbus-introspect-get-interface)
6909         (dbus-introspect-get-argument): Reflow docstrings.
6911 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
6913         vc-log-incoming/vc-log-outgoing fixes for Git.
6914         * vc-git.el (vc-git-log-view-mode): Fix font lock for
6915         incoming/outgoing logs.
6916         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6917         instead of vc-git-compute-remote.
6918         (vc-git-compute-remote): Remove.
6920 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
6922         * term/common-win.el (x-colors): Add "dark green" and "dark
6923         turquoise" (Bug#6332).
6925 2010-06-04  Juri Linkov  <juri@jurta.org>
6927         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6928         Instead of setting `replace' to t and replacing the same string
6929         with itself, don't do certain actions when
6930         kill-do-not-save-duplicates is non-nil and string is equal to car
6931         of kill-ring: don't call menu-bar-update-yank-menu, don't push
6932         interprogram-paste strings to kill-ring, and don't push the input
6933         argument `string' to kill-ring.
6934         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6936 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
6938         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6940 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
6942         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6943         (tramp-gvfs-handler-mounted-unmounted)
6944         (tramp-gvfs-connection-mounted-p): Handle default-location.
6946         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6947         move files to trash.
6949 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
6951         * international/mule-cmds.el (nonascii-insert-offset)
6952         (nonascii-translation-table): Add obsolescence information.
6954         * international/mule.el (make-translation-table-from-vector): Doc fix.
6956 2010-06-03  Glenn Morris  <rgm@gnu.org>
6958         * desktop.el (desktop-clear-preserve-buffers):
6959         Add "*Warnings*" buffer.  (Bug#6336)
6961 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
6963         vc-log-incoming/vc-log-outgoing improvements for Git.
6964         * vc-git.el (vc-git-log-outgoing): Use the same format as the
6965         short log.
6966         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
6968         Add bindings for vc-log-incoming and vc-log-outgoing.
6969         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6970         and vc-log-outgoing.
6971         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6972         and vc-log-outgoing.
6974 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6976         * net/rcirc.el (rcirc-sort-nicknames): Remove.
6977         (rcirc-handler-366): Always sort nicknames.
6979 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
6981         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6983 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6985         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6987 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6989         * net/rcirc.el (rcirc-sort-nicknames): Change default.
6990         (rcirc-sort-nicknames-join): Avoid setq.
6992 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6994         * net/rcirc.el (rcirc-sort-nicknames): New custom.
6995         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6996         (rcirc-handler-366): Use them.
6998 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7000         Split smie-indent-calculate into more manageable chunks.
7001         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7002         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7003         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7004         (smie-indent-exps): Extract from smie-indent-calculate.
7005         (smie-indent-functions): New var.
7006         (smie-indent-functions): Use them.
7008 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7010         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7011         (smie-indent-calculate): Simplify and cleanup.
7013 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
7015         * net/tramp-gvfs.el (top): Require url-util.
7016         (tramp-gvfs-mount-point): Remove.
7017         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7018         New defuns.
7019         (with-tramp-dbus-call-method): Format trace message.
7020         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7021         Implement backup call, when operation on local files fails.
7022         Use progress reporter.  Flush properties of changed files.
7023         (tramp-gvfs-handle-make-directory): Make more traces.
7024         (tramp-gvfs-url-file-name): Hexify file name in url.
7025         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7026         into account for the resulting file name.
7027         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7028         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
7029         (tramp-gvfs-handler-mounted-unmounted)
7030         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7031         attribute "default_location".  Set "prefix" property.
7032         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7033         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7034         exists.  Raise an error, if not (due to a corresponding answer
7035         "no" in interactive questions, for example).
7037 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
7039         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7041 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
7043         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7044         right-*.  (Bug#6265)
7046 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
7048         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7049         * vc-git.el (vc-git-compute-remote): New function.
7050         (vc-git-log-outgoing): Use it instead of hard coding a value.
7051         (vc-git-log-incoming): New function.
7053         Improve state updating for VC tag commands.
7054         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7055         to update the state of all buffers in the directory.
7057         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7059 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7061         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7062         `file-directory-p' to the filename part rather than to the whole text.
7064 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7066         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7068 2010-05-31  Drew Adams  <drew.adams@oracle.com>
7070         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7072 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
7074         * subr.el (momentary-string-display): Just use read-event to read
7075         the exit event (Bug#6238).
7077 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
7079         * international/mule.el (define-coding-system): Doc fix (bug#6313).
7081 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
7083         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7084         Suggested by Eli Zaretskii <eliz@gnu.org>.
7086 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7088         * minibuffer.el (completion-file-name-table): Don't return a boundary
7089         past the end of `string' (bug#6299).
7090         (completion--file-name-table): Delegate to completion-file-name-table
7091         for the `boundaries' case.
7093 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
7095         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7096         movement commands.
7098         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7099         `path-separator', but maintain compatibility with Emacs 20.2.
7101 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
7103         * server.el (server-process-filter): Receive parent-id argument
7104         from emacsclient.
7105         (server-create-window-system-frame): New arg.  Pass parent-id as
7106         frame parameter.
7108 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
7110         Bidi-sensitive word movement with arrow keys.
7111         * subr.el (right-arrow-command, left-arrow-command): Move to
7112         bindings.el.
7114         * bindings.el (right-char, left-char): Move from subr.el and
7115         rename from right-arrow-command and left-arrow-command.
7116         (right-word, left-word): New functions.
7117         (global-map) <right>: Bind to right-char.
7118         (global-map) <left>: Bind to left-char.
7119         (global-map) <C-right>: Bind to right-word.
7120         (global-map) <C-left>: Bind to left-word.
7122         * ls-lisp.el (ls-lisp-classify-file): New function.
7123         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7124         (ls-lisp-classify): Call ls-lisp-classify-file.
7125         (insert-directory): Remove blanks from switches.
7127 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
7129         * ansi-color.el: Delete unused escape sequences (Bug#6085).
7130         (ansi-color-drop-regexp): New constant.
7131         (ansi-color-apply, ansi-color-filter-region)
7132         (ansi-color-apply-on-region): Delete unrecognized control sequences.
7133         (ansi-color-apply): Build string list before calling concat.
7135 2010-05-28  Juri Linkov  <juri@jurta.org>
7137         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7138         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7139         (Bug#5270)
7141 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
7143         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7144         to ignored backtrace functions.
7145         (with-progress-reporter): Expand docstring.
7146         (tramp-handle-delete-file): Implement TRASH argument.
7147         (tramp-get-remote-trash): New defun.
7149 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
7151         * net/tramp-compat.el (tramp-compat-delete-file):
7152         Use `symbol-value' for backward compatibility.
7154         * net/tramp.el (tramp-handle-make-symbolic-link)
7155         (tramp-handle-load)
7156         (tramp-do-copy-or-rename-file-via-buffer)
7157         (tramp-do-copy-or-rename-file-directly)
7158         (tramp-do-copy-or-rename-file-out-of-band)
7159         (tramp-handle-process-file, tramp-handle-call-process-region)
7160         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7161         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7162         (tramp-delete-temp-file-function): Use `delete-file' instead
7163         of `tramp-compat-delete-file'.
7165         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7166         (tramp-fish-handle-make-symbolic-link)
7167         (tramp-fish-handle-process-file): Use `delete-file' instead
7168         of `tramp-compat-delete-file'.
7170         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7171         Use `delete-file' instead of `tramp-compat-delete-file'.
7173         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7174         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7175         `tramp-compat-delete-file'.
7177         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7178         Use `delete-file' instead of `tramp-compat-delete-file'.
7180         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7181         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7182         (tramp-smb-handle-write-region): Use `delete-file' instead of
7183         `tramp-compat-delete-file'.
7184         (tramp-smb-handle-delete-directory): Use 'trash as arg.
7186 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7188         * dired.el (dired-delete-file): New arg TRASH.
7189         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
7190         (dired-do-flagged-delete, dired-do-delete): Use trash.
7192         * speedbar.el (speedbar-item-delete): Allow trashing.
7194         * files.el (delete-directory): New arg TRASH.
7196         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7197         (ange-ftp-rename-remote-to-remote)
7198         (ange-ftp-rename-local-to-remote)
7199         (ange-ftp-rename-remote-to-local, ange-ftp-load)
7200         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7201         `delete-file'.
7202         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7203         allow trashing.
7205         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7206         handle new TRASH arg of `delete-file'.
7208         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7209         (tramp-handle-make-symbolic-link, tramp-handle-load)
7210         (tramp-do-copy-or-rename-file-via-buffer)
7211         (tramp-do-copy-or-rename-file-directly)
7212         (tramp-do-copy-or-rename-file-out-of-band)
7213         (tramp-handle-process-file, tramp-handle-call-process-region)
7214         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7215         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7216         (tramp-delete-temp-file-function): Use null TRASH arg in
7217         tramp-compat-delete-file call.
7219         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7220         (tramp-fish-handle-delete-file)
7221         (tramp-fish-handle-make-symbolic-link)
7222         (tramp-fish-handle-process-file): Use null TRASH arg in
7223         `tramp-compat-delete-file' call.
7225         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7226         arg in `tramp-compat-delete-file' call.
7228         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7229         (tramp-gvfs-handle-write-region): Use null TRASH arg in
7230         `tramp-compat-delete-file' call.
7232         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7233         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7234         `tramp-compat-delete-file' call.
7236         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7237         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7238         (tramp-smb-handle-write-region): Use null TRASH arg in
7239         tramp-compat-delete-file call.
7240         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7241         (tramp-smb-handle-delete-file): Rename arg.
7243         * diff.el (diff-sentinel):
7244         * epg.el (epg--make-temp-file, epg-decrypt-string)
7245         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7246         * jka-compr.el (jka-compr-partial-uncompress)
7247         (jka-compr-call-process, jka-compr-write-region):
7248         * server.el (server-sentinel): Remove optional arg from
7249         delete-file, reverting 2010-05-03 change.
7251 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7253         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7254         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7256 2010-05-27  Kenichi Handa  <handa@m17n.org>
7258         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7259         element of GSTRING is nil.
7261 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7263         * emacs-lisp/smie.el (smie-forward-token-function)
7264         (smie-backward-token-function): New vars.
7265         (smie-backward-sexp, smie-forward-sexp)
7266         (smie-indent-hanging-p, smie-indent-calculate): Use them.
7267         (smie-default-backward-token): Rename from smie-backward-token and
7268         skip comments.
7269         (smie-default-forward-token): Rename from smie-forward-token and
7270         skip comments.
7271         (smie-next-sexp): Handle nil results from next-token.
7272         (smie-indent-calculate): Add a new case for special `fixindent' comments.
7274 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7276         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7277         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7279 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
7281         * htmlfontify.el (hfy-face-resolve-face): New function.
7282         (hfy-face-to-style): Use it (Bug#6279).
7284 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7286         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7287         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7289 2010-05-26  Glenn Morris  <rgm@gnu.org>
7291         * emulation/edt.el (edt-load-keys): Use locate-library.
7293 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
7295         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7296         (log-edit-changelog-entries): Doc fix.
7297         (log-edit-changelog-insert-entries): Args changed.
7298         Rename relative filenames in ChangeLog entries.  Delete tabs.
7299         (log-edit-insert-changelog-entries): Reorganize return value of
7300         `log-edit-changelog-entries' to pass filenames to
7301         log-edit-changelog-insert-entries.
7303 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7305         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7306         `image-dired-dired-insert-marked-thumbs' to
7307         `image-dired-dired-toggle-marked-thumbs'.
7309         * image-dired.el: Require cl when compiling.
7310         (image-dired-dired-toggle-marked-thumbs): Rename from
7311         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
7312         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
7313         to 'no-dir.  Skip files whose names don't match
7314         `image-file-name-regexp'.  When file has a thumbnail overlay,
7315         delete it.  (Bug#5270)
7317 2010-05-25  Juri Linkov  <juri@jurta.org>
7319         * image-mode.el (image-mode): Add image-after-revert-hook to
7320         after-revert-hook.
7321         (image-after-revert-hook): New function.  (Bug#5669)
7323 2010-05-25  Juri Linkov  <juri@jurta.org>
7325         * image.el (image-animated-p): When delay between animated images
7326         is 0, set it to 10 (0.1 sec).  (Bug#6258)
7328 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
7330         * net/tramp.el (tramp-handle-insert-directory): Don't use
7331         `forward-word', its default syntax could be changed.
7333 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
7335         * net/tramp.el (tramp-progress-reporter-update): New defun.
7336         (with-progress-reporter): Use it.
7337         (tramp-process-actions):
7338         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7339         Preserve current message, in order to let progress reporter continue
7340         afterwards.  (Bug#6257)
7342 2010-05-25  Glenn Morris  <rgm@gnu.org>
7344         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7345         Add :version.
7347 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7349         * net/rcirc.el (rcirc-default-user-name): Change to "user".
7350         (rcirc-default-full-name): Change to "unknown".
7351         (rcirc-user-name-history): Add variable.
7353 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7354             Jonathan Rockway  <jon@jrock.us>
7356         * net/rcirc.el (rcirc-server-alist): Add :pass.
7357         (rcirc): When prompting for connection parameters, also prompt for
7358         username and password.
7359         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
7360         value to server when connecting.
7362 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7364         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7365         (smie-merge-prec2s): Pass the tables as separate args.
7366         (smie-bnf-precedence-table): Adjust call accordingly.
7367         (smie-prec2-levels): Set levels at the end.
7369         Replace Lisp calls to delete-backward-char by delete-char.
7370         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7371         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7372         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7373         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7374         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7375         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7376         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7377         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7378         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7379         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7380         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7381         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7382         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7383         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7384         delete-backward-char by calls to delete-char.
7386 2010-05-25  Kenichi Handa  <handa@m17n.org>
7388         * language/hebrew.el (hebrew-shape-gstring): New function.
7389         Register it in composition-function-table for all Hebrew combining
7390         characters.
7392 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7394         * epa.el (epa--select-keys): Don't explicitly delete the window since
7395         that can fail (e.g. sole window in frame).  Use dedication instead.
7397 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
7399         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7401 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
7403         * image.el (image-refresh): Define as an alias for image-flush.
7405         * image-mode.el (image-toggle-display-image): Caller changed.
7407 2010-05-21  Juri Linkov  <juri@jurta.org>
7409         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7410         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
7411         whitespace, call wildcard-to-regexp on substrings and concat them
7412         with "\\|".  (Bug#6114)
7414 2010-05-21  Alan Mackenzie  <acm@muc.de>
7416         * progmodes/cc-engine.el (c-parse-state-get-strategy):
7417         Replace parameter `here' with `here-' and `here-plus', which sandwich
7418         any pertinent CPP construct.
7419         (c-remove-stale-state-cache-backwards): Fix a bug which happens
7420         when doing (c-parse-state) in a CPP construct: Exclude any "new"
7421         CPP construct from taking part in the scanning.
7423 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
7425         * net/tramp.el (tramp-do-copy-or-rename-file)
7426         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7427         Tune `with-progress-reporter' messages.
7428         (tramp-handle-vc-registered):
7429         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7430         (tramp-fish-handle-insert-file-contents)
7431         (tramp-fish-maybe-open-connection):
7432         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7433         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7434         (tramp-imap-handle-insert-file-contents)
7435         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7437 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
7439         * add-log.el (change-log-font-lock-keywords):
7440         Highlight all authors in multi-author entries.
7442         * smerge-mode.el (smerge-refine-ignore-whitespace)
7443         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7444         Fix typos in docstrings.
7445         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7447 2010-05-21  Glenn Morris  <rgm@gnu.org>
7449         * progmodes/fortran.el (fortran-mode):
7450         * progmodes/f90.el (f90-mode): Derive from prog-mode.
7452         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7453         having a relative path in src/Makefile.in.
7455 2010-05-20  Kevin Ryde  <user42@zip.com.au>
7457         * help-mode.el (help-make-xrefs): For Info node links turn
7458         newlines into spaces.  Link node names with newlines are matched
7459         by help-xref-info-regexp and buttonized, this change ensures they
7460         can be followed successfully with RET.  (Bug#6206)
7462 2010-05-20  Juri Linkov  <juri@jurta.org>
7464         * locate.el (locate): Use pop-to-buffer instead of
7465         switch-to-buffer-other-window.  (Bug#6204)
7467 2010-05-20  Juri Linkov  <juri@jurta.org>
7469         * replace.el (replace-highlight): Fix lazy-highlighting
7470         for `M-s w str M-% str RET'.
7472 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
7474         * isearch.el (isearch-yank-word-or-char): Pull next subword
7475         when `subword-mode' is activated.  (Bug#6220)
7477 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
7479         * isearch.el (isearch-update-post-hook): New hook.
7480         (isearch-update): Use the new hook.  (Bug#6225)
7482 2010-05-20  Juri Linkov  <juri@jurta.org>
7484         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7485         [f1], [help], and (char-to-string help-char) instead of "\C-h".
7486         (Bug#6222)
7488 2010-05-20  Juri Linkov  <juri@jurta.org>
7490         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7491         (Bug#6223)
7493 2010-05-20  Juri Linkov  <juri@jurta.org>
7495         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7496         FILE-NAME to read from the minibuffer when called interactively
7497         with prefix argument instead of using buffer-file-name.
7498         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7500         * dired.el: Update autoloads.
7502 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
7504         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7505         nxml-finish-element, for consistency with SGML mode.
7507         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7508         octave-close-block.
7510 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
7512         * composite.el: Require cl when compiling.
7513         (reference-point-alist, compose-gstring-for-graphic)
7514         (compose-gstring-for-terminal): Fix typos in docstrings.
7516 2010-05-19  Juri Linkov  <juri@jurta.org>
7518         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7519         set-window-parameter.
7521 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7523         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7524         where appropriate.
7525         (tramp-maybe-open-connection): Use it.
7527 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
7529         * simple.el (move-end-of-line): Make sure we are at line beginning
7530         before backing up to end of previous line.
7532 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7534         * password-cache.el (password-cache-remove): Fix docstring.
7536         * net/secrets.el: Autoload the widget functions.
7537         (secrets-search-items, secrets-create-item)
7538         (secrets-get-attributes, secrets-expand-item): Attributes will be
7539         stored on the password database without leading ":", as all other
7540         clients do as well.
7541         (secrets-mode): Fix docstring.
7542         (secrets-show-secrets): Provide it as autoloaded command only when
7543         D-Bus support is available.  Check existence of Secret Service API.
7545 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7547         * indent.el (indent-region): Deactivate region (bug#6200).
7549 2010-05-19  Glenn Morris  <rgm@gnu.org>
7551         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
7553 2010-05-19  Kenichi Handa  <handa@m17n.org>
7555         * composite.el: Register compose-gstring-for-graphic in
7556         composition-function-table only for combining characters (Mn, Mc, Me).
7558 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
7560         * calc/calc-trail.el (calc-trail-isearch-forward)
7561         (calc-trail-isearch-backward): Ensure that the new window
7562         point is set correctly.
7564 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7566         * subr.el (read-quoted-char): Resolve modifiers after key
7567         remapping (bug#6212).
7569 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
7571         Add visualization code for secrets.
7572         * net/secrets.el (secrets-mode): New major mode.
7573         (secrets-show-secrets, secrets-show-collections)
7574         (secrets-expand-collection, secrets-expand-item)
7575         (secrets-tree-widget-after-toggle-function)
7576         (secrets-tree-widget-show-password): New defuns.
7578 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7580         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7581         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7582         handled in smie-next-sexp.
7583         (smie-indent-calculate): Provide a starting indentation (so the
7584         recursion is well-founded ;-).
7586         Fix handling of non-associative equal levels.
7587         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7588         when it's not needed.
7589         (smie-op-left, smie-op-right): New functions.
7590         (smie-next-sexp): New function, extracted from smie-backward-sexp.
7591         Better handle equal levels to distinguish the associative case from
7592         the "multi-keyword construct" case.
7593         (smie-backward-sexp, smie-forward-sexp): Use it.
7595 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
7597         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7599         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7600         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7602 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7604         Provide a simple generic indentation engine and use it for Prolog.
7605         * emacs-lisp/smie.el: New file.
7606         * progmodes/prolog.el (prolog-smie-op-levels)
7607         (prolog-smie-indent-rules): New var.
7608         (prolog-mode-variables): Use them to configure SMIE.
7609         (prolog-indent-line, prolog-indent-level): Remove.
7611 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
7613         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7614         order before computing the averages.
7616 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
7618         * calc/calc-vec.el (calc-histogram):
7619         (calcFunc-histogram): Allow vectors as inputs.
7620         (math-vector-avg): New function.
7622         * calc/calc-ext.el (math-group-float): Have the number of digits
7623         being grouped depend on the radix (Bug#6189).
7625 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
7627         * version.el (emacs-copyright, emacs-version): Don't define here,
7628         now that emacs.c defines it.
7630 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
7632         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7633         "Describe Language Environment" menu item.
7635         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7637         Bidi-sensitive movement with arrow keys.
7638         * subr.el (right-arrow-command, left-arrow-command): New functions.
7640         * bindings.el (global-map): Bind them to right and left arrow keys.
7642         Don't override standard definition of convert-standard-filename.
7643         * files.el (convert-standard-filename):
7644         Call w32-convert-standard-filename and dos-convert-standard-filename on
7645         the corresponding systems.
7647         * w32-fns.el (w32-convert-standard-filename): Rename from
7648         convert-standard-filename.  Doc fix.
7650         * dos-fns.el (dos-convert-standard-filename): Doc fix.
7651         (convert-standard-filename): Don't defalias.
7652         (register-name-alist, make-register, register-value)
7653         (set-register-value, intdos): Obsolete aliases for the
7654         corresponding dos-* functions and variables.
7655         (dos-intdos): Add a doc string.
7657 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
7659         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7660         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7661         (math-compose-tex-func):
7662         * calc/calccomp.el (math-compose-expr):
7663         * calc/calc-ext.el (math-format-flat-expr-fancy):
7664         * calc/calc-store.el (calc-read-var-name):
7665         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7667         * calc/calc.el (var-π, var-φ, var-γ): New variables.
7668         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7669         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7670         (math-standard-units): Add units.
7672 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7674         * progmodes/asm-mode.el (asm-mode):
7675         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7677         * pcomplete.el (pcomplete-completions-at-point): New function,
7678         extracted from pcomplete-std-complete.
7679         (pcomplete-std-complete): Use it.
7681 2010-05-15  Glenn Morris  <rgm@gnu.org>
7683         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7684         Remove references to CVS, RCS and Old directories.
7686 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
7688         * calc/calc-bin.el (math-format-twos-complement): Group digits when
7689         appropriate.
7691 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7693         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7694         (sh-mode-syntax-table): Give it a default value instead.
7695         (sh-header-marker): Make buffer-local.
7696         (sh-mode): Move make-local-variable to the corresponding setq.
7697         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7698         Use complete-with-action.
7700         * simple.el (prog-mode): New (abstract) major mode.
7701         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7702         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7704 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
7706         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7707         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7708         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7709         (sql-make-alternate-buffer-name, sql-placeholders-filter)
7710         (sql-escape-newlines-filter, sql-input-sender)
7711         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7713 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
7715         Add TeX open-block and close-block keybindings to SGML, and vice versa.
7717         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7718         latex-open-block and C-c / to latex-close-block.
7720         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7721         and C-c C-e to sgml-close-tag.
7723 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
7725         * net/tramp.el (with-progress-reporter): Create reporter object
7726         only when the message would be displayed.  Handle nested calls.
7727         (tramp-handle-load, tramp-handle-file-local-copy)
7728         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7729         (tramp-maybe-send-script, tramp-find-shell):
7730         Use `with-progress-reporter'.
7731         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7732         Fix message text.
7734         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7735         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7736         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7737         Use `with-progress-reporter'.
7739 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
7741         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7742         process everytime when spellchecking from the minibuffer (bug#6143).
7744 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7746         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7748         * dos-fns.el: Add "dos-" prefix for namespace control.
7749         (convert-standard-filename): Define as alias for
7750         dos-convert-standard-filename but only if applicable.
7752 2010-05-12  Alan Mackenzie  <acm@muc.de>
7754         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7755         Push the mark at the start of these functions when appropriate.
7757 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7759         * minibuffer.el (completion-cycle-threshold): New custom var.
7760         (completion--do-completion): Use it.
7761         (minibuffer-complete): Use cycling if appropriate.
7763 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
7765         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7766         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7768 2010-05-11  Juri Linkov  <juri@jurta.org>
7770         * scroll-all.el (scroll-all-check-to-scroll):
7771         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7773 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7775         * iimage.el (iimage-mode-map): Move initialization into declaration.
7776         (iimage-mode-buffer): Use with-silent-modifications.
7777         Simplify calling convention.  Adjust callers.
7778         (iimage-mode): Don't run hook redundantly.
7780         * minibuffer.el (completion-pcm--pattern->regex):
7781         Fix last change (bug#6160).
7783 2010-05-10  Juri Linkov  <juri@jurta.org>
7785         Remove nodes visited during Isearch from the Info history.
7786         * info.el (Info-isearch-initial-history)
7787         (Info-isearch-initial-history-list): New variables.
7788         (Info-isearch-start): Record initial values of
7789         Info-isearch-initial-history and Info-isearch-initial-history-list.
7790         Add Info-isearch-end to isearch-mode-end-hook.
7791         (Info-isearch-end): New function.
7793 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
7795         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7796         format string, in order to work around a bug in pdksh.
7797         Reported by Gilles Pion <gpion@lfdj.com>.
7798         (tramp-handle-verify-visited-file-modtime): Do not send a command
7799         when the connection is not established.
7800         (tramp-handle-set-file-times): Simplify the check for utc.
7802 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
7804         Fix use of `filter-buffer-substring' (rework previous change).
7805         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7806         (cua-repeat-replace-region):
7807         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7808         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7809         (cua-cut-region-to-global-mark): Use it.
7811 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
7813         * progmodes/sql.el: Version 2.1.
7814         (sql-product-alist): Redesign structure of product info.
7815         (sql-product, sql-user, sql-server, sql-database): Safe variables.
7816         (sql-port, sql-port-history): New variables.
7817         (sql-interactive-product): New variable.
7818         (sql-send-terminator): New variable.
7819         (sql-imenu-generic-expression): Add "Types" imenu entry.
7820         (sql-oracle-login-params, sql-sqlite-login-params)
7821         (sql-mysql-login-params, sql-solid-login-params)
7822         (sql-sybase-login-params, sql-informix-login-params)
7823         (sql-ingres-login-params, sql-ms-login-params)
7824         (sql-postgres-login-params, sql-interbase-login-params)
7825         (sql-db2-login-params, sql-linter-login-params)
7826         (sql-oracle-scan-on): New variables.
7827         (sql-mode-map): Add C-c C-i to start interactive mode.
7828         (sql-mode-menu): Update existing menu entries.
7829         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7830         (sql-mode-oracle-font-lock-keywords)
7831         (sql-mode-postgres-font-lock-keywords)
7832         (sql-mode-ms-font-lock-keywords)
7833         (sql-mode-sybase-font-lock-keywords)
7834         (sql-mode-informix-font-lock-keywords)
7835         (sql-mode-interbase-font-lock-keywords)
7836         (sql-mode-ingres-font-lock-keywords)
7837         (sql-mode-solid-font-lock-keywords)
7838         (sql-mode-mysql-font-lock-keywords)
7839         (sql-mode-sqlite-font-lock-keywords)
7840         (sql-mode-db2-font-lock-keywords)
7841         (sql-mode-linter-font-lock-keywords): Update initialization to
7842         reduce run-time complexity.
7843         (sql-add-product, sql-del-product): New functions.
7844         (sql-set-product-feature, sql-get-product-feature): New functions.
7845         (sql-product-font-lock): Update product API.
7846         (sql-add-product-keywords): New function.
7847         (sql-highlight-product): Update product API.
7848         (sql-help-list-products): New function.
7849         (sql-help): Dynamically lists free and non-free products.
7850         (sql-get-login): Correct bug in handling history and added
7851         prompt for port.
7852         (sql-copy-column): Copy without properties.
7853         (sqli-input-sender): Apply filters to SQLi input.
7854         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7855         Implement as a filter.
7856         (sql-escape-newlines-filter): Implement as a filter.
7857         (sql-remove-tabs-filter): New function.
7858         (sql-send-magic-terminator): New function.
7859         (sql-send-string): Implement magic terminator.
7860         (sql-send-region): Use `sql-send-string'.
7861         (sql-interactive-mode): Use product API.
7862         (sql-product-interactive): Use product API.
7863         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7864         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7865         (sql-db2, sql-linter): Use `sql-product-interactive'.
7866         (sql-connect): New function.
7867         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7868         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7869         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7870         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7871         Use `sql-connect'.
7873 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7875         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7876         New custom variable.
7877         (completion-pcm--string->pattern): Use it.
7878         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7879         Make it handle any symbol as `any'.
7880         (completion-pcm--merge-completions): Extract common suffix for the new
7881         `prefix' symbol as well.
7882         (completion-substring--all-completions): Use the new `prefix' symbol.
7884 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
7886         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7887         not bound.
7888         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7889         (tramp-compat-funcall): New defmacro.
7890         (tramp-compat-line-beginning-position)
7891         (tramp-compat-line-end-position)
7892         (tramp-compat-temporary-file-directory)
7893         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7894         (tramp-compat-copy-file, tramp-compat-copy-directory)
7895         (tramp-compat-delete-file, tramp-compat-delete-directory)
7896         (tramp-compat-number-sequence, tramp-compat-process-running-p)
7897         * net/tramp.el (top, with-progress-reporter)
7898         (tramp-rfn-eshadow-setup-minibuffer)
7899         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7900         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7901         (tramp-completion-mode-p, tramp-check-for-regexp)
7902         (tramp-open-connection-setup-interactive-shell)
7903         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7904         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7905         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7906         * net/tramp-cmds.el (tramp-cleanup-all-connections)
7907         (tramp-reporter-dump-variable, tramp-load-report-modules)
7908         (tramp-append-tramp-buffers)
7909         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7911         * net/tramp-imap.el (top): Autoload `epg-make-context'.
7913 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7915         * progmodes/compile.el (compilation-buffer-modtime): Rename from
7916         buffer-modtime.  Adjust users.
7918 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7920         * international/mule.el (auto-coding-alist): Only purecopy
7921         car of each item, not the whole list (Bug#6083).
7923 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7925         * progmodes/js.el (js-mode): Make paragraph variables local before
7926         calling c-setup-paragraph-variables (Bug#6071).
7928 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
7930         * composite.el (compose-region, reference-point-alist): Fix typos
7931         in the doc strings.
7933 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7935         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7936         gnuplot's "set" command.
7938 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7940         * abbrev.el (last-abbrev-text): Doc fix.
7941         (abbrev-prefix-mark): Don't escape parenthesis.
7943 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
7945         * composite.el (find-composition): Doc fix.
7947 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7949         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7950         (sql-oracle-program, sql-sqlite-options)
7951         (sql-query-placeholders-and-send): Doc fixes.
7952         (sql-set-product, sql-interactive-mode): Reflow docstrings.
7953         (sql-imenu-generic-expression, sql-buffer)
7954         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7955         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7956         (sql-mode-sybase-font-lock-keywords)
7957         (sql-mode-informix-font-lock-keywords)
7958         (sql-mode-interbase-font-lock-keywords)
7959         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7960         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7961         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7962         (sql-product-feature, sql-highlight-product)
7963         (comint-line-beginning-position, sql-rename-buffer)
7964         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7965         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7966         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7967         Fix typos in docstrings.
7969 2010-05-08  Juri Linkov  <juri@jurta.org>
7971         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7972         property instead of `invisible' and `after-string' (bug#5998).
7974 2010-05-08  Juri Linkov  <juri@jurta.org>
7976         * image-mode.el (image-mode-as-text): Fix typo in docstring.
7978 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7980         * filecache.el (file-cache-add-directory-list)
7981         (file-cache-add-directory-recursively): Fix typos in docstrings.
7983 2010-05-08  Kenichi Handa  <handa@m17n.org>
7985         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7986         (gujarati-composable-pattern): Fix typo.
7988 2010-05-08  Kenichi Handa  <handa@m17n.org>
7990         * language/indian.el (oriya-composable-pattern)
7991         (tamil-composable-pattern, malayalam-composable-pattern):
7992         Add two-part vowels to "v" (vowel sign).
7994 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7996         * files.el (copy-directory): Handle symlinks (Bug#5982).
7998 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
8000         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8001         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
8002         (Bug#5846).
8004 2010-05-08  Glenn Morris  <rgm@gnu.org>
8006         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8008         * minibuffer.el (completion-at-point): Doc fix.
8010 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8012         * electric.el (Electric-command-loop): Minor tweak.
8014         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8015         better with dedicated windows.
8017 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
8019         * Version 23.2 released.
8021 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
8022             Stefan Monnier  <monnier@iro.umontreal.ca>
8024         Highlight vendor specific properties.
8025         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8026         (css-proprietary-property): New face.
8027         (css-font-lock-keywords): Use them.
8029 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
8031         * cus-start.el (all): Add native condition for tool-bar-* symbols.
8033 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8035         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8036         * files.el (auto-mode-alist): Remove redundant entries.
8038         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8039         * simple.el (auto-save-mode): Move from files.el.
8040         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8042 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
8044         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8046 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
8048         * mail/binhex.el (binhex-decode-region-internal)
8049         * mail/uudecode.el (uudecode-decode-region-internal)
8050         * net/dns.el (dns-read-string-name, dns-write, dns-read)
8051         (dns-read-type, dns-query)
8052         * pgg-parse.el (pgg-parse-armor)
8053         * pgg.el (pgg-verify-region)
8054         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8055         XEmacs.
8057         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8059 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
8061         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8063         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8064         * emulation/cua-base.el (cua-repeat-replace-region):
8065         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8066         (cua-cut-region-to-global-mark):
8067         Remove text properties with `set-text-properties'.
8069 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
8071         * net/tramp.el (top, with-progress-reporter):
8072         Use `symbol-function' inside `funcall'.
8074         * net/tramp-compat.el (tramp-compat-file-attributes)
8075         (tramp-compat-delete-file, tramp-compat-delete-directory):
8076         Handle only `wrong-number-of-arguments' error.
8078         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8079         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8080         inside `funcall'.
8082 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8084         * minibuffer.el (completion--sreverse, completion--common-suffix):
8085         New functions.
8086         (completion-pcm--merge-completions): Extract common suffix when safe.
8088         * emacs-lisp/easy-mmode.el (define-minor-mode):
8089         Make :variable more flexible.
8090         * files.el (auto-save-mode): Use it to define using define-minor-mode.
8092 2010-05-05  Juri Linkov  <juri@jurta.org>
8094         Add `slow' and `history' tags to the desktop data.
8096         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8097         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8098         (Info-finder-find-node): Require `finder.el' to be able
8099         to restore node from the desktop.
8100         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
8101         data `Info-history' and `slow' tag in the assoc list.
8102         (Info-restore-desktop-buffer): Don't restore nodes with the
8103         `slow' tag.  Restore `Info-history'.
8105 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
8107         Add FORCE argument to `delete-file'.
8109         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8110         forcing to delete the temporary file.
8111         (ange-ftp-delete-file): Add FORCE arg.
8112         (ange-ftp-rename-remote-to-remote)
8113         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8114         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8115         Force file deletion.
8117         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8119         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8120         (tramp-handle-make-symbolic-link, tramp-handle-load)
8121         (tramp-do-copy-or-rename-file-via-buffer)
8122         (tramp-do-copy-or-rename-file-directly)
8123         (tramp-do-copy-or-rename-file-out-of-band)
8124         (tramp-handle-process-file, tramp-handle-call-process-region)
8125         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8126         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8127         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8129         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8130         (tramp-fish-handle-make-symbolic-link)
8131         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8133         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8134         Use `tramp-compat-delete-file'.
8136         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8137         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8139         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8140         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8142         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8143         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8144         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8145         Use `tramp-compat-delete-file'.
8147 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8149         Minor cleanups.
8150         * subr.el (add-minor-mode): Use push.
8151         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8152         * emulation/edt.el (edt-select-mode): Simplify.
8154         Use define-minor-mode in more cases.
8155         * term/tvi970.el (tvi970-set-keypad-mode):
8156         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8157         (normal-erase-is-backspace-mode):
8158         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8159         (set-scroll-bar-mode-1): (Re)move to its sole caller.
8160         (get-scroll-bar-mode): New function.
8161         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8163         Use define-minor-mode for less obvious cases.
8164         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8165         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8166         * international/iso-ascii.el (iso-ascii-mode):
8167         * frame.el (auto-raise-mode, auto-lower-mode):
8168         * composite.el (global-auto-composition-mode): Use define-minor-mode.
8170 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
8172         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8173         in order to see error messages for failed logins.
8175 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
8177         * diff.el (diff-sentinel):
8179         * epg.el (epg--make-temp-file, epg-decrypt-string)
8180         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8182         * jka-compr.el (jka-compr-partial-uncompress)
8183         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8185         * server.el (server-sentinel): Use delete-file's new FORCE arg
8186         (Bug#6070).
8188 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8190         Use define-minor-mode where applicable.
8191         * view.el (view-mode):
8192         * type-break.el (type-break-query-mode)
8193         (type-break-mode-line-message-mode):
8194         * textmodes/reftex.el (reftex-mode):
8195         * term/vt100.el (vt100-wide-mode):
8196         * tar-mode.el (tar-subfile-mode):
8197         * savehist.el (savehist-mode):
8198         * ibuf-ext.el (ibuffer-auto-mode):
8199         * composite.el (auto-composition-mode):
8200         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8201         Use define-minor-mode.
8202         (vhdl-mode): Use static mode-line format.
8203         (vhdl-mode-line-update): Delete.
8204         (vhdl-create-mode-menu, vhdl-activate-customizations)
8205         (vhdl-hs-minor-mode): Don't bother calling it.
8207 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8209         * simple.el (with-wrapper-hook): Move.
8210         (buffer-substring-filters): Mark obsolete.
8211         (filter-buffer-substring-functions): New variable.
8212         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
8214 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
8215             Michael Albinus  <michael.albinus@gmx.de>
8217         Implement compression for inline methods.
8219         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8220         (tramp-copy-size-limit): Allow also nil.
8221         (tramp-inline-compress-commands): New defconst.
8222         (tramp-find-inline-compress, tramp-get-inline-compress)
8223         (tramp-get-inline-coding): New defuns.
8224         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8225         replaced by `tramp-get-inline-coding'.
8226         (tramp-handle-file-local-copy, tramp-handle-write-region)
8227         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8229 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8231         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8232         Remove unused functions.
8234         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8235         Set find-tag-default-function as a variable rather than a property.
8237         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8238         * progmodes/etags.el (tags-completion-at-point-function):
8239         Remove left over interactive spec.  Add autoloading stub.
8240         (complete-tag): Use tags-completion-at-point-function.
8242 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
8244         * minibuffer.el (tags-completion-at-point-function): Fix return value.
8246 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8248         * ido.el (ido-init-completion-maps): Remove C-v binding.
8249         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8251 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8253         * minibuffer.el (tags-completion-at-point-function): New function.
8254         (completion-at-point-functions): Use it.
8256         * progmodes/etags.el (complete-tag): Revert last change.
8258 2010-04-29  Alan Mackenzie  <acm@muc.de>
8260         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8261         off-by-one error (in end of macro position).
8263 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8265         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8266         firefox is absent.  Don't autoload.
8267         (browse-url-galeon-program): Don't autoload.
8269 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8271         * bindings.el (complete-symbol): Move into minibuffer.el.
8273         * minibuffer.el (complete-tag): Move from etags.el.  If tags
8274         completion cannot be performed, return nil instead of signalling
8275         an error.
8276         (completion-at-point): Make it an alias for complete-symbol.
8277         (complete-symbol): Move from bindings.el, and replace with the
8278         body of completion-at-point.
8280         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8282 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
8284         * net/tramp.el (tramp-remote-selinux-p): New defun.
8285         (tramp-handle-file-selinux-context)
8286         (tramp-handle-set-file-selinux-context): Use it.
8288 2010-04-28  Sam Steingold  <sds@gnu.org>
8290         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8291         `safe-local-variable' if the value is a string or a symbol with
8292         the property `bug-reference-url-format'.
8294 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8296         * progmodes/bug-reference.el (bug-reference-url-format):
8297         Revert 2010-04-27 change due to security risk.
8299 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8301         Make it possible to locally disable a globally enabled mode.
8302         * simple.el (fundamental-mode): Run fundamental-mode-hook.
8303         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8304         rather than kill-all-local-variables so it runs fundamental-mode-hook.
8305         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8306         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8307         that subsequent hooks get a chance to disable it.
8309 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8311         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8312         Avoid re-enabling a minor mode after the user turned the minor mode
8313         off if MODE-enable-in-buffers is run twice (typically once from
8314         fundamental-mode's after-change-major-mode-hook and a second time from
8315         run-mode-hook's own after-change-major-mode-hook).
8317         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8319 2010-04-27  Sam Steingold  <sds@gnu.org>
8321         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8322         `safe-local-variable' if the value is a string or a function, as
8323         documented and implemented on 2010-04-02.
8325 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
8327         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8328         when method is 'kill.
8330 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
8332         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8333         condition in default directory check.
8334         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8335         Kill ispell process when killing its associated buffer.
8337 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
8339         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8340         but we aren't using it.
8342 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
8344         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8345         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8347 2010-04-24  Glenn Morris  <rgm@gnu.org>
8349         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8350         Ignore VCS-ignore files, and deleted nextstep preferences files.
8351         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8352         (authors-ambiguous-files): New list.
8353         (authors-valid-file-names): Add some deleted files.
8354         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8355         (authors-disambiguate-file-name): New function.  (Bug#5501)
8356         (authors-canonical-file-name): Doc fix.
8357         Don't warn about obsolete files.
8358         (authors-canonical-file-name, authors-scan-el):
8359         Use authors-disambiguate-file-name.
8361         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8362         Add autoload cookies.
8363         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8364         (generated-autoload-file): Set file-local value to "htmlfontify.el".
8365         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8366         They have definitions / compiler macros in cl.el.
8367         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8368         Replace manual autoloads with generated ones.
8369         (htmlfontify-unload-rgb-file): Remove autoload.
8370         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8372 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8374         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8375         (byte-compile-setq-default): Optimize for the
8376         single-var case and don't call byte-compile-form in this case to avoid
8377         inf-loop with byte-compile-set-default.
8379         * progmodes/compile.el (compilation-start): Abbreviate default directory.
8381 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
8383         Implement SELINUX backends.
8385         * net/tramp.el (tramp-file-name-handler-alist):
8386         Add `file-selinux-context' and `set-file-selinux-context'.
8387         (tramp-handle-file-selinux-context)
8388         (tramp-handle-set-file-selinux-context): New defuns.
8389         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8390         Handle PRESERVE-SELINUX-CONTEXT.
8392         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8393         Add `file-selinux-context' and `set-file-selinux-context'.
8394         (tramp-gvfs-handle-file-selinux-context)
8395         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8396         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8398         * net/ange-ftp.el (ange-ftp-copy-file):
8399         * net/tramp-fish.el (tramp-fish-handle-copy-file):
8400         * net/tramp-imap.el (tramp-imap-handle-copy-file):
8401         * net/tramp-smb.el (tramp-smb-handle-copy-file):
8402         Add PRESERVE-SELINUX-CONTEXT.
8404 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8406         Synchronize with Tramp repository.
8408         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8409         (tramp-action-process-alive, tramp-action-out-of-band)
8410         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8411         (tramp-exists-file-name-handler): Fix docstring.
8412         (with-progress-reporter): New defmacro.
8413         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8414         (tramp-maybe-open-connection): Use it.
8416 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
8418         Detect ssh 'ControlMaster' argument automatically in some cases.
8420         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8421         (tramp-default-method): Use it.
8423 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8425         * net/tramp.el (tramp-handle-copy-file): Add new optional
8426         parameter `preserve-selinux-context'.
8427         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8429 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8431         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8432         Ensure, that non remote files are still checked.  Oops.
8434 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
8436         Fix Bug#5840.
8438         * icomplete.el (icomplete-completions): Use `non-essential'.
8440         * net/tramp.el (tramp-connectable-p): New defun.
8441         (tramp-handle-expand-file-name)
8442         (tramp-completion-handle-file-name-all-completions)
8443         (tramp-completion-handle-file-name-completion): Use it.
8445 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8447         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8449 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
8451         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8453         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8455         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8456         is present.
8458         * info.el (info-tool-bar-map): Add labels.
8460         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8462         * cus-edit.el (custom-commands): Add labels for tool bar.
8463         (custom-buffer-create-internal, Custom-mode): Adjust for
8464         labels in custom-commands.
8466         * dynamic-setting.el: Renamed from font-setting.el.
8468 2010-04-21  John Wiegley  <jwiegley@gmail.com>
8470         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8471         toggles the use of virtual buffers.
8472         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8473         (ido-toggle-virtual-buffers): New function.
8475 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
8477         Use `define-derived-mode'; fix window selection; doc fixes.
8478         * play/tetris.el (tetris, tetris-update-speed-function)
8479         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8480         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8481         (tetris-rotate-next, tetris-end-game, tetris-start-game)
8482         (tetris-pause-game): Fix typos in docstrings.
8483         (tetris-mode-map, tetris-null-map):
8484         Move initialization into declaration.
8485         (tetris-mode): Define with `define-derived-mode';
8486         set show-trailing-whitespace to nil.
8487         (tetris): Prefer window already displaying the "*Tetris*" buffer.
8489 2010-04-21  Karel Klíč  <kklic@redhat.com>
8491         * files.el (backup-buffer): Handle SELinux context, and return it
8492         if a backup was made by renaming.
8493         (backup-buffer-copy): Set SELinux context to the target file.
8494         (basic-save-buffer): Set SELinux context of the newly written file.
8495         (basic-save-buffer-1): Now it also returns any SELinux context.
8496         (basic-save-buffer-2): Set SELinux context of the newly created file,
8497         and return it.
8498         * net/tramp.el (tramp-file-name-for-operation):
8499         Add file-selinux-context.
8501 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8503         Make the log-edit comments use RFC822 format throughout.
8505         * vc.el (vc-checkin, vc-modify-change-comment):
8506         Adjust to new vc-start/finish-logentry.
8507         (vc-find-conflicted-file): New command.
8508         (vc-transfer-file): Adjust to new vc-checkin.
8509         (vc-next-action): Improve scoping.
8511         * vc-hg.el (vc-hg-log-edit-mode): Remove.
8512         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
8514         * vc-git.el (vc-git-log-edit-mode): Remove.
8515         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
8516         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8518         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8519         (vc-start-logentry): Remove argument `extra'.
8520         (vc-finish-logentry): Remove extra args.
8522         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8523         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
8524         (vc-bzr-conflicted-files): New function.
8526         * log-edit.el (log-edit-extra-flags)
8527         (log-edit-before-checkin-process): Remove.
8528         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8529         (log-edit-headers-alist): New var.
8530         (log-edit-header-contents-regexp): New const.
8531         (log-edit-match-to-eoh): New function.
8532         (log-edit-font-lock-keywords): Use them.
8533         (log-edit): Insert a "Summary:" header as default.
8534         (log-edit-mode): Mark font-lock rules as case-insensitive.
8535         (log-edit-done): Cleanup headers.
8536         (log-view-process-buffer): Remove.
8537         (log-edit-extract-headers): New function to replace it.
8539 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
8541         * subr.el (default-direction-reversed): Remove obsolescence info.
8543 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8545         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8546         windows/frames.
8548         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8549         I.e. include text after point in the completion region.
8550         Also, return nil when we're not after/in a symbol.
8552         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8553         default enable-multibyte-characters.
8555 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8557         * international/mule.el: Help the user choose a valid coding-system.
8558         (read-buffer-file-coding-system): New function.
8559         (set-buffer-file-coding-system): Use it.  Prompt the user if the
8560         coding-system cannot encode all the chars.
8562         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8563         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8564         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8565         Don't use *vc-bzr-shelve*.
8567 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
8569         Fix the version number for added files.
8570         * vc-hg.el (vc-hg-working-revision): Check if the file is
8571         registered after hg parent fails (Bug#5961).
8573 2010-04-19  Glenn Morris  <rgm@gnu.org>
8575         * htmlfontify.el (htmlfontify-buffer)
8576         (htmlfontify-copy-and-link-dir): Autoload entry points.
8578 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
8580         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8581         name relative to the project root (Bug#5960).
8583 2010-04-19  Glenn Morris  <rgm@gnu.org>
8585         * vc-git.el (vc-git-print-log): Doc fix.
8587 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
8589         * ido.el (ido-file-internal): Fix 2009-12-02 change.
8591 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
8593         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8594         default settings (Bug#5928).
8596 2010-04-19  Glenn Morris  <rgm@gnu.org>
8598         * progmodes/fortran.el (fortran-match-and-skip-declaration):
8599         New function.
8600         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
8602 2010-04-19  Kenichi Handa  <handa@m17n.org>
8604         * language/indian.el (malayalam-composable-pattern): Fix previous
8605         change (add U+0D4D "SIGN VIRAMA").
8606         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8607         (tamil-composable-pattern): Fix typo in the regexp.
8608         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8609         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8610         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8612 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8614         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8615         paragraph-separate (Bug#5821).
8617 2010-04-19  Juri Linkov  <juri@jurta.org>
8619         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8621         * info.el (Info-find-node-2): Comment out code that skips
8622         breadcrumbs line.
8623         (Info-mouse-follow-link): New command.
8624         (Info-link-keymap): New keymap.
8625         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8626         Return a string with links instead of inserting breadcrumbs
8627         to the Info buffer.
8628         (Info-fontify-node): Comment out code that inserts breadcrumbs.
8629         Instead of putting the `invisible' text property over the Info
8630         header, make an overlay over the Info header with the `invisible'
8631         property and `after-string' set to the string returned by
8632         `Info-breadcrumbs'.
8634 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8636         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8637         Reported by monkey@sandpframing.com.
8639 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8641         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8642         (tmm-get-keymap): Add key-binding shortcuts now that they're not
8643         available in the "keyseq cache" any more.
8645         * custom.el (defcustom): Add edebug spec.
8647 2010-04-18  Juri Linkov  <juri@jurta.org>
8649         Test for special mode-class in view-buffer instead of view-file (bug#5513).
8651         * view.el (view-file, view-buffer): Move test for special mode-class
8652         from view-file to view-buffer.
8654         * tar-mode.el (tar-extract): Turn if's into one cond
8655         like in arc-mode.el.
8657 2010-04-18  Juri Linkov  <juri@jurta.org>
8659         Add 7z archive format support (bug#5475).
8661         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8662         (archive-7z-extract): New defcustom.
8663         (archive-find-type): Add magic string for 7z.
8664         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8665         If `stderr-file' is non-nil, use `(t stderr-file)' for the
8666         `buffer' arg of `call-process'.
8667         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8668         call the function `archive-7z-extract' with the variable
8669         `archive-7z-extract' let-bound to `archive-zip-extract'.
8670         (archive-7z-summarize, archive-7z-extract): New functions.
8672         * international/mule.el (auto-coding-alist):
8673         * files.el (auto-mode-alist): Add 7z file extension.
8675 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8677         * loadup.el: Setup hash-cons for pure data.
8679         Fix duplicate entries in cedet's loaddefs.el files.
8680         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8681         Should make most file-local generated-autoload-file unnecessary.
8682         (print-readably): Silence warnings.
8683         (autoload-find-destination): Take load-name as an arg to make sure
8684         it's the same as the one that will be in the file.
8685         (autoload-generate-file-autoloads): Adjust to above changes.
8686         Try to make the dataflow a bit simpler.
8688         * cvs-status.el (cvs-refontify): Remove unused.
8690 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
8692         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8694         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8695         twos-complement mode.
8697 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
8699         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8700         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
8701         (calc-inverse): Add "Option" to message, as appropriate.
8702         (calc-hyperbolic): Add "Option" to message, as appropriate.
8703         (calc-option, calc-is-option): New functions.
8705         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8706         (calc-option-prefix-help): New function.
8708         * calc/calc-misc.el (calc-help): Add "Option" entry.
8710         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8711         (calc-option-flag): New variable.
8712         (calc-do): Set `calc-option-flag to nil.
8713         (calc-set-mode-line): Add "Opt " as appropriate.
8715 2010-04-16  Juri Linkov  <juri@jurta.org>
8717         Move scrolling commands from simple.el to window.el
8718         because their primitives are implemented in window.c.
8720         * simple.el (scroll-error-top-bottom)
8721         (scroll-up-command, scroll-down-command, scroll-up-line)
8722         (scroll-down-line, scroll-other-window-down)
8723         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8724         * window.el (scroll-error-top-bottom)
8725         (scroll-up-command, scroll-down-command, scroll-up-line)
8726         (scroll-down-line, scroll-other-window-down)
8727         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8728         Move from simple.el to window.el because their primitives are
8729         implemented in window.c.
8731 2010-04-16  Juri Linkov  <juri@jurta.org>
8733         * isearch.el (isearch-lookup-scroll-key): Check both
8734         `isearch-scroll' and `scroll-command' properties.
8735         (scroll-up, scroll-down): Remove `isearch-scroll' property.
8737         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8739         * simple.el (scroll-up-command, scroll-down-command)
8740         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8742 2010-04-15  Juri Linkov  <juri@jurta.org>
8744         * simple.el (scroll-up-command, scroll-down-command)
8745         (scroll-up-line, scroll-down-line): Put `scroll-command'
8746         property on the these symbols.  Remove them from
8747         `scroll-preserve-screen-position-commands'.
8749         * mwheel.el (mwheel-scroll): Put `scroll-command' and
8750         `isearch-scroll' properties on the `mwheel-scroll' symbol.
8751         Remove it from `scroll-preserve-screen-position-commands'.
8753         * isearch.el (isearch-allow-scroll): Doc fix.
8755 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
8757         * net/tramp.el (tramp-error-with-buffer): Don't show the
8758         connection buffer when we are in completion mode.
8759         (tramp-file-name-handler): Catch the error for some operations
8760         when we are in completion mode.  This gives the user the chance to
8761         correct the file name in the minibuffer.
8763 2010-04-15  Glenn Morris  <rgm@gnu.org>
8765         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8767 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
8769         Simplify by using `define-derived-mode'.
8770         * info.el (Info-mode):
8771         * calendar/todo-mode.el (todo-mode):
8772         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8773         (gomoku-mode-map): Move initialization into declaration.
8775 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
8777         Fix Bug#5840.
8778         * ido.el (ido-file-name-all-completions-1):
8779         * minibuffer.el (minibuffer-completion-help):
8780         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8782 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8784         * simple.el (non-essential): New var.
8786         Add a new field `location' to bookmarks for non-file bookmarks.
8787         * bookmark.el (bookmark-location): Use the new field, if present.
8788         (bookmark-insert-location): Undo last change, not needed any more.
8789         * man.el (Man-bookmark-make-record):
8790         * woman.el (woman-bookmark-make-record): Add `location' field.
8792 2010-04-14  Juri Linkov  <juri@jurta.org>
8794         * simple.el (scroll-error-top-bottom): New defcustom.
8795         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
8797         * emulation/pc-select.el (pc-select-override-scroll-error):
8798         Obsolete in favor of `scroll-error-top-bottom'.
8800 2010-04-14  Juri Linkov  <juri@jurta.org>
8802         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8803         `scroll-up-command' and `M-v' to `scroll-down-command'.
8805         * emulation/cua-rect.el (cua--init-rectangles):
8806         * forms.el (forms--change-commands):
8807         * image-mode.el (image-mode-map):
8808         Remap scroll-down-command and scroll-up-command
8809         in addition to scroll-down and scroll-up.
8811 2010-04-14  Juri Linkov  <juri@jurta.org>
8813         * mwheel.el (scroll-preserve-screen-position-commands):
8814         Add mwheel-scroll to this list of commands.
8816         * simple.el (scroll-preserve-screen-position-commands):
8817         Add scroll-up-command, scroll-down-command, scroll-up-line,
8818         scroll-down-line to this list of commands.
8820 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8822         * obsolete/complete.el: Move from lisp/complete.el.
8824         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8826         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8827         to the minor mode function now turns the mode ON unconditionally.
8829 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8831         * vc-dir.el (vc-dir-kill-line): New command.
8832         (vc-dir-mode-map): Bind it to C-k.
8834         * bookmark.el (bookmark-insert-location): Handle a nil filename.
8836         * woman.el: Add bookmark declarations to silence the compiler.
8837         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8838         step to compatibility between man and woman bookmarks.
8839         Adjust for Man-default-bookmark-title renaming.
8840         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
8842         * man.el: Add bookmark declarations to silence the compiler.
8843         (Man-name-local-regexp): Make it match NAME as well.
8844         (Man-getpage-in-background): Return the buffer.
8845         (Man-notify-when-ready): Use `case'.
8846         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8847         Don't hardcode "NAME".  Simplify.
8848         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8849         Rename from Man-bookmark-make-record.
8850         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
8851         we have the actual man-args.  Use Man-getpage-in-background rather
8852         than `man' since the arg is already processed.  Let bookmark.el do the
8853         window handling.  Only wait for the relevant process.
8854         Don't forget to autoload.
8856         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8858 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8860         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8861         New functions.
8862         (woman-mode): Setup bookmark support.
8864         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8865         (man-bookmark-jump): New functions.
8866         (Man-mode): Setup bookmark support.
8868 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
8870         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8871         recognize ssh-keygen prompt (Bug#2817).
8873 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
8875         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8877 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
8879         Synchronize with Tramp repository.
8881         * net/tramp.el (tramp-completion-function-alist)
8882         (tramp-file-name-regexp, tramp-chunksize)
8883         (tramp-local-coding-commands, tramp-remote-coding-commands):
8884         Fix docstring.
8885         (tramp-remote-process-environment): Use `format' instead of `concat'.
8886         (tramp-handle-directory-files-and-attributes)
8887         (tramp-get-remote-path): Use `copy-tree'.
8888         (tramp-handle-file-name-all-completions): Backward/ XEmacs
8889         compatibility: Use `completion-ignore-case' if
8890         `read-file-name-completion-ignore-case' does not exist.
8891         (tramp-do-copy-or-rename-file-directly): Do not use
8892         `tramp-handle-file-remote-p'.
8893         (tramp-do-copy-or-rename-file-out-of-band):
8894         Use `tramp-compat-delete-directory'.
8895         (tramp-do-copy-or-rename-file-out-of-band)
8896         (tramp-compute-multi-hops, tramp-maybe-open-connection):
8897         Use `format-spec-make'.
8898         (tramp-find-foreign-file-name-handler)
8899         (tramp-advice-make-auto-save-file-name)
8900         (tramp-set-auto-save-file-modes): Remove superfluous check for
8901         `stringp'.  This is done inside `tramp-tramp-file-p'.
8902         (tramp-debug-outline-regexp): New defconst.
8903         (tramp-get-debug-buffer): Use it.
8904         (tramp-check-for-regexp): Use (forward-line 1).
8905         (tramp-set-auto-save-file-modes): Adapt version check.
8907         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8908         Wrap call of `featurep' for 2nd argument.
8909         (tramp-compat-make-temp-file): Simplify fallback implementation.
8910         (tramp-compat-copy-tree): Remove function.
8911         (tramp-compat-delete-directory): Provide implementation for older
8912         Emacsen.
8914         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8915         Do not use `tramp-fish-handle-file-attributes.
8917         * net/trampver.el: Update release number.
8919 2010-04-10  Glenn Morris  <rgm@gnu.org>
8921         * progmodes/compile.el (compilation-save-buffers-predicate):
8922         Add missing :version tag.
8924 2010-04-09  Sam Steingold  <sds@gnu.org>
8926         * progmodes/compile.el (compilation-save-buffers-predicate):
8927         Remove the "autoload" cookie.
8929         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8930         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8931         and `bug-reference-prog-mode' can be used in hooks directly.
8933 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
8935         Add --author support to git commit.
8936         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8937         (vc-git-log-edit-mode): New minor mode.
8938         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8939         New declarations.
8941 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
8943         * vc-hooks.el, vc-git.el: Improve documentation comments.
8945 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8947         Fix some of the problems in defsubst* (bug#5728).
8948         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8949         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8951 2010-04-07  Sam Steingold  <sds@gnu.org>
8953         * progmodes/compile.el (compilation-save-buffers-predicate):
8954         New custom variable.
8955         (compile, recompile): Pass it to `save-some-buffers'.
8957 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
8959         * wid-edit.el (widget-choose): Move cursor to the second line of
8960         the buffer (Bug#5695).
8962 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8964         Add new VC methods: vc-log-incoming and vc-log-outgoing.
8965         * vc.el (vc-print-log-setup-buttons): New function split out from
8966         vc-print-log-internal.
8967         (vc-log-internal-common): New function, a parametrized version of
8968         vc-print-log-internal.
8969         (vc-print-log-internal): Just call vc-log-internal-common with the
8970         right arguments.
8971         (vc-incoming-outgoing-internal):
8972         (vc-log-incoming, vc-log-outgoing): New functions.
8973         (vc-log-view-type): New permanent local variable.
8975         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8977         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8978         of the dynamic bound vc-short-log.
8979         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8981         * vc-git.el (vc-git-log-outgoing): New function.
8982         (vc-git-log-view-mode): Use vc-log-view-type instead
8983         of the dynamic bound vc-short-log.
8985         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8986         of the dynamic bound vc-short-log.  Highlight the tag.
8987         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8988         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8989         (vc-hg-incoming-mode): Remove.
8990         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8992 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8994         Fix default-directory for vc-root-diff.
8995         * vc.el (vc-root-diff): Bind default-directory to the root
8996         directory for the diff command.
8998 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
9000         * progmodes/verilog-mode.el (verilog-forward-sexp):
9001         (verilog-calc-1): Support "disable fork" and "fork wait" multi
9002         word keywords, suggested by Steve Pearlmutter.
9003         (verilog-pretty-declarations): Support lineup of declarations in
9004         port lists.
9005         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9006         fix bug for /* / comments.
9007         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9008         Speed up and simplfy as this is never called with a bound.
9009         (verilog-pretty-declarations): Enhance to line up declarations
9010         inside a parameter list, suggested by Alan Morgan.
9011         (verilog-pretty-expr): Tune assignment regular expression match
9012         string for corner cases; also use markers instead of character
9013         number as indent changes the later.
9015 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
9017         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9018         as missing keyword.
9019         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9020         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
9021         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9022         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
9023         Tennant.
9024         (verilog-keywords):
9025         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9026         1800-2009 keywords, including "global.".
9028 2010-04-06  John Wiegley  <jwiegley@gmail.com>
9030         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9031         appearing in buffer list (if a live buffer name matched a recentf
9032         file basename).  Should use uniquify to offer a real solution.
9034 2010-04-06  John Wiegley  <jwiegley@gmail.com>
9036         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9037         comment to code, and add a :version tag.
9038         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9040 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
9042         Enable recentf-mode if using virtual buffers.
9043         * ido.el (recentf-list): Declare for byte-compiler.
9044         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
9045         (ido-make-buffer-list): Simplify.
9046         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
9048 2010-04-05  Juri Linkov  <juri@jurta.org>
9050         Scrolling commands which scroll a line instead of full screen.
9051         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9053         * simple.el (scroll-up-line, scroll-down-line): New commands.
9054         Put property isearch-scroll=t on them.
9056         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9057         Remove commands.
9059 2010-04-05  Juri Linkov  <juri@jurta.org>
9061         Scrolling commands which do not signal errors at top/bottom.
9062         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9064         * simple.el (scroll-up-command, scroll-down-command): New commands.
9065         Put property isearch-scroll=t on them.
9067         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9068         `scroll-down-command' and [next] from `scroll-up' to
9069         `scroll-up-command'.
9071         * emulation/cua-base.el: Put property CUA=move on
9072         `scroll-up-command' and `scroll-down-command'.
9073         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9074         and `scroll-down-command' to `cua-scroll-down'.
9076 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
9078         * help.el (describe-mode): Return nil.
9080 2010-04-04  John Wiegley  <jwiegley@gmail.com>
9082         * ido.el (ido-use-virtual-buffers): New variable to indicate
9083         whether "virtual buffer" support is enabled for IDO.
9084         (ido-virtual): Face used to indicate virtual buffers in the list.
9085         (ido-buffer-internal): If a buffer is chosen, and no such buffer
9086         exists, but a virtual buffer of that name does (which would be why
9087         it was in the list), recreate the buffer by reopening the file.
9088         (ido-make-buffer-list): If virtual buffers are being used, call
9089         `ido-add-virtual-buffers-to-list' before the make list hook.
9090         (ido-virtual-buffers): New variable which contains a copy of the
9091         current contents of the `recentf-list', albeit pared down for the
9092         sake of speed, and with proper faces applied.
9093         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9094         create a list of "virtual buffers" to present to the user in
9095         addition to the currently open set.  Note that this logic could
9096         get rather slow if that list is too large.  With the default
9097         `recentf-max-saved-items' of 200, there is little speed penalty.
9099 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9101         * font-lock.el: Require CL when compiling.
9102         (font-lock-turn-on-thing-lock): Use `case'.
9104 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
9106         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9107         Zaretskii.
9109 2010-04-02  Juri Linkov  <juri@jurta.org>
9111         * ehelp.el (electric-help-orig-major-mode):
9112         New buffer-local variable.
9113         (electric-help-mode): Set it to original major-mode.  Doc fix.
9114         (with-electric-help): Use `electric-help-orig-major-mode' instead
9115         of (default-value 'major-mode).  Doc fix.
9116         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9118 2010-04-02  Sam Steingold  <sds@gnu.org>
9120         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9121         `vc-hg-command' with a list of flags.
9123         * progmodes/bug-reference.el (bug-reference-bug-regexp):
9124         Also accept "patch" and "RFE".
9125         (bug-reference-fontify): `bug-reference-url-format' can also be a
9126         function to be able to handle the bug kind.
9127         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9129 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
9131         * tmm.el (tmm-get-keymap): Check with symbolp before passing
9132         value to fboundp, it may not be a symbol.
9134 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9136         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9138 2010-03-31  Juri Linkov  <juri@jurta.org>
9140         * simple.el (next-line, previous-line): Re-throw a signal
9141         with `signal' instead of using `ding'.
9142         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9144 2010-03-31  Juri Linkov  <juri@jurta.org>
9146         * simple.el (keyboard-escape-quit): Raise deselecting the active
9147         region higher than exiting the minibuffer.
9148         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9150 2010-03-31  Juri Linkov  <juri@jurta.org>
9152         * image.el (image-animated-p): Use `image-metadata' instead of
9153         `image-extension-data'.  Get GIF extenstion data from metadata
9154         property `extension-data'.
9156 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9158         * simple.el (append-to-buffer): Simplify.
9160 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
9162         * textmodes/artist.el (artist-mode): Fix typo in docstring.
9163         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
9165 2010-03-31  Kenichi Handa  <handa@m17n.org>
9167         * language/sinhala.el (composition-function-table): Fix regexp for
9168         the new Unicode specification.
9170         * language/indian.el (devanagari-composable-pattern)
9171         (tamil-composable-pattern, kannada-composable-pattern)
9172         (malayalam-composable-pattern): Adjust for the new Unicode
9173         specification.
9174         (bengali-composable-pattern, gurmukhi-composable-pattern)
9175         (gujarati-composable-pattern, oriya-composable-pattern)
9176         (telugu-composable-pattern): New variables to cope with the new
9177         Unicode specification.  Use them in composition-function-table.
9179 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9181         Make tmm-menubar work for the Buffers menu again (bug#5726).
9182         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9183         vectors rather than cons cells, as used in menu-bar-update-buffers.
9185 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9187         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9188         (js-insert-and-indent): Revert 2009-08-15 change, restoring
9189         electric punctuation for "{}();,:" (Bug#5586).
9191         * mail/sendmail.el (mail-default-directory): Doc fix.
9193 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9195         * mail/sendmail.el (mail-default-directory): Doc fix.
9197 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
9199         * subr.el (version-regexp-alist, version-to-list)
9200         (version-list-<, version-list-=, version-list-<=)
9201         (version-list-not-zero, version<, version<=, version=): Doc fix.
9202         (Bug#5744).
9204 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
9206         * vc.el (vc-root-diff): Doc fix.
9208 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9210         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9212         * simple.el (append-to-buffer): Fix last change.
9214 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9216         * simple.el (append-to-buffer): Ensure that point is preserved if
9217         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
9218         (Bug#5749)
9220 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9222         * files.el (auto-mode-case-fold): Change default to t.
9224 2010-03-30  Juri Linkov  <juri@jurta.org>
9226         * dired-x.el (dired-omit-mode): Doc fix.
9228 2010-03-30  Juri Linkov  <juri@jurta.org>
9230         * replace.el (occur-accumulate-lines): Move occur-engine related
9231         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9232         to be located after `occur-engine'.
9234 2010-03-30  Juri Linkov  <juri@jurta.org>
9236         Make occur handle multi-line matches cleanly with context.
9237         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9239         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9240         (occur-engine): Add local variables `ret', `prev-after-lines',
9241         `prev-lines'.  Use more arguments for `occur-context-lines'.
9242         Set first elem of its returned list to `data', and the second elem
9243         to `prev-after-lines'.  Don't print the separator line.
9244         In the end, print remaining context after-lines.
9245         (occur-context-lines): Add new arguments `begpt', `endpt',
9246         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
9247         after-lines of the previous match with before-lines of the
9248         current match and not overlap them.  Return a list with two
9249         values: the output line and the list of context after-lines.
9251 2010-03-30  Juri Linkov  <juri@jurta.org>
9253         * replace.el (occur-accumulate-lines): Fix a bug where the first
9254         context line at the beginning of the buffer was missing.
9256 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
9258         * files.el: Make bidi-display-reordering safe variable for boolean
9259         values.
9261 2010-03-29  Phil Hagelberg  <phil@evri.com>
9262             Chong Yidong  <cyd@stupidchicken.com>
9264         * subr.el: Extend progress reporters to perform "spinning".
9265         (progress-reporter-update, progress-reporter-do-update):
9266         Handle non-numeric value arguments.
9267         (progress-reporter--pulse-characters): New var.
9269 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
9271         * progmodes/compile.el (compilation-start): Fix regexp detection
9272         of initial cd command (Bug#5771).
9274 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
9276         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9278 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
9280         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9281         * progmodes/gdb-mi.el: Restore.
9282         * progmodes/gdb-ui.el: Remove.
9283         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9285 2010-03-25  Glenn Morris  <rgm@gnu.org>
9287         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9288         all dired buffers, even tramp ones.  (Bug#5755)
9290 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9292         Add "union tags" in mpc.el.
9293         * mpc.el: Remove backward compatibility code.
9294         (mpc-browser-tags): Change default.
9295         (mpc--find-memoize-union-tags): New var.
9296         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9297         (mpc-cmd-find): Handle the case where the playlist does not exist.
9298         Handle union-tags.
9299         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
9300         (mpc-cmd-add): Use mpc-cmd-flush.
9301         (mpc-tagbrowser-tag-name): New fun.
9302         (mpc-tagbrowser-buf): Use it.
9303         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
9305 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9307         Misc cleanup.
9308         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9309         Use replace-regexp-in-string.
9310         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9311         (makefile-imake-mode-syntax-table): Move init into defvar.
9312         (makefile-mode): Use define-derived-mode.
9314         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9315         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9316         not be present any more.
9318 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9320         * faces.el (set-face-attribute): Fix typo in docstring.
9321         (face-valid-attribute-values): Reflow docstring.
9323 2010-03-24  Glenn Morris  <rgm@gnu.org>
9325         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9327 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9329         * indent.el (indent-for-tab-command): Doc fix.
9331 2010-03-24  Alan Mackenzie  <acm@muc.de>
9333         * progmodes/cc-engine.el (c-remove-stale-state-cache):
9334         Fix off-by-one error.  Fixes bug #5747.
9336 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9338         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9339         (image-dired-read-comment): Doc fix.
9341         * json.el (json-object-type, json-array-type, json-key-type)
9342         (json-false, json-null, json-read-number):
9343         * minibuffer.el (completion-in-region-functions):
9344         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9345         (cal-tex-cursor-week):
9346         * emacs-lisp/trace.el (trace-function):
9347         * eshell/em-basic.el (eshell/printnl):
9348         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9349         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9350         * obsolete/levents.el (allocate-event, event-key, event-object)
9351         (event-point, event-process, event-timestamp, event-to-character)
9352         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9353         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9354         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9355         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9356         (reftex-highlight-selection): Fix typos in docstrings.
9358 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9360         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9362 2010-03-24  Glenn Morris  <rgm@gnu.org>
9364         * mail/rmail.el (rmail-highlight-face): Restore option deleted
9365         2008-02-13 without comment; mark it obsolete.
9366         (rmail-highlight-headers): Use rmail-highlight-face once more.
9368 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9370         * woman.el (woman2-process-escapes): Only consume the newline if
9371         the filler character is on a line by itself (Bug#5729).
9373 2010-03-24  Kenichi Handa  <handa@m17n.org>
9375         * language/indian.el (devanagari-composable-pattern): Add more
9376         consonants.
9378 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9380         * net/trampver.el: Update release number.
9382 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9384         * net/tramp.el (tramp-find-executable):
9385         Use `tramp-get-connection-buffer'.  Make the regexp for checking
9386         output of "wc -l" more robust.
9387         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9388         (tramp-open-connection-setup-interactive-shell): Remove workaround
9389         for OpenSolaris bug, it is not needed anymore.
9391 2010-03-24  Glenn Morris  <rgm@gnu.org>
9393         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
9395 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
9397         * files.el (auto-mode-alist): Accept more verilog file patterns.
9399 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9401         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9403 2010-03-24  Glenn Morris  <rgm@gnu.org>
9405         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9406         log-edit-before-checkin-process.
9408         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9410         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9412         * vc-dispatcher.el (vc-start-logentry): Doc fix.
9413         (log-view-process-buffer, log-edit-extra-flags): Declare.
9415         * log-edit.el (log-edit-before-checkin-process): Doc fix.
9417 2010-03-23  Sam Steingold  <sds@gnu.org>
9419         Fix bug#5620: recalculate all markers on compilation buffer
9420         modifications, not on file modifications.
9421         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9422         the buffer modification time, for buffers not associated with files.
9423         (compilation-mode): Create it.
9424         (compilation-filter): Update it.
9425         (compilation-next-error-function): Use it instead of
9426         `visited-file-modtime' for timestamp.
9428 2010-03-23  Juri Linkov  <juri@jurta.org>
9430         Implement Occur multi-line matches.
9431         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9433         * replace.el (occur): Doc fix.
9434         (occur-engine): Set `begpt' to the beginning of the first line.
9435         Set `endpt' to the end of the last match line.  At first, count
9436         line numbers between `origpt' and `begpt'.  Split out code from
9437         `out-line' variable to new let-bindings `match-prefix' and
9438         `match-str'.  In `out-line' add non-numeric prefix to all
9439         non-first lines of multi-line matches.  Finally, count lines
9440         between `begpt' and `endpt' and add to `lines'.
9442 2010-03-23  Juri Linkov  <juri@jurta.org>
9444         * replace.el (occur-accumulate-lines, occur-engine):
9445         Use `occur-engine-line' instead of duplicate code.
9446         (occur-engine-line): New function created from duplicate code
9447         in `occur-accumulate-lines' and `occur-engine'.
9449         * replace.el (occur-engine-line): Add optional arg `keep-props'.
9450         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9452 2010-03-23  Juri Linkov  <juri@jurta.org>
9454         * finder.el: Remove TODO tasks.
9456         * info.el (Info-finder-find-node): Add node "all"
9457         with all package info.  Handle a list of multiple keywords
9458         separated by comma.
9459         (info-finder): In interactive use with a prefix argument,
9460         use `completing-read-multiple' to read a list of keywords
9461         separated by comma.
9463 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9465         Add a new completion style `substring'.
9466         * minibuffer.el (completion-basic--pattern): New function.
9467         (completion-basic-try-completion, completion-basic-all-completions):
9468         Use it.
9469         (completion-substring--all-completions)
9470         (completion-substring-try-completion)
9471         (completion-substring-all-completions): New functions.
9472         (completion-styles-alist): New style `substring'.
9474 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9476         Get rid of .elc files after removal of the corresponding .el.
9477         * Makefile.in (compile-clean): New target.
9478         (compile-main): Use it.
9480 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
9482         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9483         don't do make there.  When compiling with separate object dir, there
9484         is no Makefile there.
9486 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9488         Get rid of the ELCFILES abomination, again.
9489         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9490         (all, compile): Don't call compile-last.
9491         (compile-main): Build the "elcfiles" list dynamically.
9492         (compile-targets): New (internal) target.
9494 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
9496         * Makefile.in (top_srcdir): Define.
9497         (abs_top_builddir): Define.
9498         (srcdir): Don't append `/..'.
9499         (EMACS): Use ${abs_top_builddir}.
9500         (all, compile, compile-always, compile-last): Don't set emacswd.
9501         (update-subdirs, update-authors): Use $(top_srcdir) instead of
9502         $(srcdir).
9503         (lisp): Use $(srcdir) instead of @srcdir@.
9505 2010-03-21  Juri Linkov  <juri@jurta.org>
9507         Fix message of multi-line occur regexps and multi-buffer header lines.
9508         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9510         * replace.el (occur-1): Don't display regexp if it is longer
9511         than window-width.  Use `query-replace-descr' to display regexp.
9512         (occur-engine): Don't display regexp in the buffer header for
9513         multi-buffer occur.  Display a separate header line with total
9514         match count and regexp for multi-buffer occur.
9515         Use `query-replace-descr' to display regexp.
9517 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
9519         * net/secrets.el: Fix parenthesis.
9520         (secrets-enabled): Fix parenthesis.
9522 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9524         Use more relative file and directory names.
9525         * Makefile.in (EMACS): Arrange for it to work when we chdir.
9526         (setwins, setwins_almost, setwins_for_subdirs):
9527         Don't `cd'; output relative names.
9528         (all, compile, compile-always, compile-last): Set emacswd.
9529         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9530         Just cd to the lisp source dir so we can use relative file names.
9532         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9534 2010-03-20  Glenn Morris  <rgm@gnu.org>
9536         * textmodes/rst.el: Use faces for font-lock customization, and make the
9537         old -face variables obsolete.
9538         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9539         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9540         (rst-block-face, rst-external-face, rst-definition-face)
9541         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9542         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9543         Make obsolete.
9544         (rst-font-lock-keywords-function): Update for above changes.
9546 2010-03-20  Juri Linkov  <juri@jurta.org>
9548         * s-region.el:
9549         * obsolete/s-region.el: Move to obsolete.
9551 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
9553         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9555 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9557         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9559 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9561         Add special markup processing for commit logs.
9562         * log-edit.el (log-edit-extra-flags): New variable.
9563         (log-edit): Add new argument MODE.  Use that mode when non-nil
9564         instead of the log-view-mode.
9565         (log-view-process-buffer): New function.
9567         * vc.el: Document that the checkin method takes optional
9568         arguments.  Document new backend specific method: log-view-mode.
9569         (vc-default-log-edit-mode): New function.
9570         (vc-checkin): Use a backend specific log-view-mode.
9571         Pass extra arguments to the checkin method.
9572         (vc-modify-change-comment): Pass a dummy extra argument.
9574         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9575         log-edit.
9576         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9577         (vc-finish-logentry): Process the log buffer before passing it
9578         down.  Pass log-edit-extra-flags.
9580         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9581         command.
9582         (log-edit-extra-flags, log-edit-before-checkin-process):
9583         New declarations.
9585         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9586         command.
9587         (log-edit-extra-flags, log-edit-before-checkin-process):
9588         New declarations.
9589         (vc-hg-log-edit-mode): New derived mode.
9591         * vc-arch.el (vc-arch-checkin):
9592         * vc-cvs.el (vc-cvs-checkin):
9593         * vc-git.el (vc-git-checkin):
9594         * vc-mtn.el (vc-mtn-checkin):
9595         * vc-rcs.el (vc-rcs-checkin):
9596         * vc-sccs.el (vc-sccs-checkin):
9597         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9599 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9601         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9602         parent typo).
9604 2010-03-19  Glenn Morris  <rgm@gnu.org>
9606         * password-cache.el (password-cache, password-cache-expiry): Autoload.
9608 2010-03-18  Glenn Morris  <rgm@gnu.org>
9610         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9612         * replace.el (query-replace-history): Give it a doc string.
9613         (map-query-replace-regexp): Use query-replace-from-history-variable
9614         and query-replace-to-history-variable.
9616         * mail/hashcash.el (declare-function): Remove duplicate definition.
9618         * mail/emacsbug.el (report-emacs-bug-pretest-address):
9619         Make it an obsolete alias for report-emacs-bug-address.
9620         (message-strip-special-text-properties): Declare.
9621         (report-emacs-bug): Remove test for a pretest bug address.
9622         Combine message-mode-specific code.
9624         * mail/supercite.el: Don't require sendmail.
9625         (mh-in-header-p): Declare rather than using with-no-warnings.
9626         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9627         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
9629         * calendar/cal-french.el: Convert to utf-8.
9631         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9632         Emacs scripts.
9634 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
9636         * net/secrets.el (secrets-enabled): New variable.  Use it instead
9637         of a subfeature.
9639 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
9641         * net/secrets.el (top): Register the D-Bus signals only when the
9642         service "org.freedesktop.secrets" can be pinged.
9643         Provide subfeature `enabled'.
9645 2010-03-14  Juri Linkov  <juri@jurta.org>
9647         Add finder unknown keywords.
9649         * finder.el (finder-unknown-keywords): New function.
9651         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9652         to create a Finder node with unknown keywords.
9654 2010-03-14  Juri Linkov  <juri@jurta.org>
9656         * finder.el (finder-compile-keywords): Replace `princ' with
9657         `prin1' on a list of symbols interned from keyword strings.
9659         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9660         a comma, then split keywords using a comma and optional whitespace.
9661         Otherwise, split by whitespace.
9663         * complete.el:
9664         * face-remap.el:
9665         * log-view.el:
9666         * net/hmac-def.el:
9667         * net/hmac-md5.el:
9668         * net/netrc.el:
9669         * progmodes/mixal-mode.el: Fix keywords.
9671 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
9673         * Makefile.in (ELCFILES): Add net/secrets.elc.
9675         * net/secrets.el: New file.
9677 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9679         * facemenu.el (list-colors-display, list-colors-print): New arg
9680         callback.  Use it to allow selecting colors.
9682         * wid-edit.el (widget-image-insert): Insert image prop even if the
9683         current display is non-graphic.
9684         (widget-field-value-set): New fun.
9685         (editable-field): Use it.
9686         (widget-field-value-get): Clean up unused var.
9687         (widget-color-value-create, widget-color--choose-action):
9688         New funs.  Allow using list-colors-display to choose color.
9690 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9692         * cus-edit.el: Resort topmost custom groups.
9693         (custom-buffer-sort-alphabetically): Default to t.
9694         (customize-apropos): Use apropos-parse-pattern.
9695         (custom-search-field): New var.
9696         (custom-buffer-create-internal): Add custom-apropos search field.
9697         (custom-add-parent-links): Don't display parent doc.
9698         (custom-group-value-create): Don't sort top-level custom group.
9699         (custom-magic-value-create): Show visibility button before option name.
9701         (custom-variable-state): New fun, from custom-variable-state-set.
9702         (custom-variable-state-set): Use it.
9703         (custom-group-value-create): Hide options with standard values
9704         using the :hidden-states property.  Use progress reporter.
9706         (custom-show): Simplify.
9707         (custom-visibility): Disable images by default.
9708         (custom-variable): New property :hidden-states.
9709         (custom-variable-value-create): Enable images for
9710         custom-visibility widgets.  Use :hidden-states property to
9711         determine initial visibility.
9713         * wid-edit.el (widget-image-find): Give images center ascent.
9714         (visibility): Add :on-image and :off-image properties.
9715         (widget-visibility-value-create): Use them.
9717 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9719         * cus-edit.el (processes): Remove from development group.
9720         (oop, hypermedia): Delete group.
9721         (comm): Promote to top-level group.
9723         * net/browse-url.el (browse-url):
9724         * net/xesam.el (xesam):
9725         * net/tramp.el (tramp):
9726         * net/goto-addr.el (goto-address):
9727         * net/ange-ftp.el (ange-ftp): Put in comm group.
9729         * view.el (view): Remove from editing group.
9731         * uniquify.el (uniquify): Put in files group.
9733         * net/browse-url.el (browse-url):
9734         * ps-print.el (postscript): Put in external group.
9736         * cus-edit.el (outlines):
9737         * textmodes/text-mode.el (text-mode-hook):
9738         * textmodes/table.el (table):
9739         * textmodes/picture.el (picture):
9740         * outline.el (outlines): Put in wp group.
9742         * nxml/nxml-mode.el (nxml): Remove from wp group.
9744         * net/tramp-imap.el (tramp-imap): Put in tramp group.
9746         * mail/metamail.el (metamail): Remove from hypermedia group.
9748         * cus-edit.el (abbrev):
9749         * whitespace.el (whitespace):
9750         * vcursor.el (vcursor):
9751         * reveal.el (reveal):
9752         * hl-line.el (hl-line): Put in convenience group.
9754         * epg-config.el (epg): Put in data group.
9756         * emulation/pc-select.el (pc-select): Put in emulations group.
9758         * calculator.el (calculator): Put in applications group.
9760 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9762         Add .dir-locals.el support for file-less buffers.
9763         * files.el (hack-local-variables): Split out code to apply local
9764         variable settings ...
9765         (hack-local-variables-apply): ... here.  New function.
9766         (hack-dir-local-variables): Use the default directory for when the
9767         buffer does not have an associated file.
9768         (hack-dir-local-variables-non-file-buffer): New function.
9769         * diff-mode.el (diff-mode):
9770         * vc-annotate.el (vc-annotate-mode):
9771         * vc-dir.el (vc-dir-mode):
9772         * log-edit.el (log-edit-mode):
9773         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9775 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9777         Add support for shelving snapshots and for showing shelves.
9778         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9779         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9780         New functions.
9781         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9782         (vc-bzr-extra-menu-map): Map them.
9784 2010-03-11  Glenn Morris  <rgm@gnu.org>
9786         * cus-edit.el (customize-changed-options-previous-release):
9787         Bump to 23.1.
9789         * image.el (image-animate-max-time): Fix :version tag.
9791 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
9793         * Branch for 23.2.
9795 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9797         * vc-git.el (vc-git-revision-table): Include remote branches.
9799 2010-03-10  Kim F. Storm  <storm@cua.dk>
9801         Animated image API.
9802         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9804         * image.el (image-animate-max-time): New defcustom.
9805         (image-animated-types): New defconst.
9806         (create-animated-image, image-animate-timer)
9807         (image-animate-start, image-animate-stop, image-animate-timeout)
9808         (image-animated-p): New functions.
9810         * image-mode.el (image-toggle-display-image):
9811         Replace `create-image' with `create-animated-image'.
9813 2010-03-09  Miles Bader  <miles@gnu.org>
9815         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9816         instead of "format:"; this ensures that the output is
9817         newline-terminated.
9819 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
9821         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9822         that all errors are caught, and that the return value is always a
9823         list (Bug#5692).
9825 2010-03-08  Kenichi Handa  <handa@m17n.org>
9827         * language/misc-lang.el (windows-1256): New coding system.
9828         (cp1256): New alias of windows-1256 (bug#5690).
9830 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
9832         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9833         call to rfc822-bad-address.  (Bug#5692)
9835 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9837         * vc-git.el (vc-git-annotate-extract-revision-at-line):
9838         Use vc-git-root as default directory for revision path (Bug#5657).
9840 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
9842         * calculator.el (calculator): Don't bind split-window-keep-point
9843         (Bug#5674).
9845 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9847         * vc-git.el: Re-flow to fit into 80 columns.
9848         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9849         Remove spurious `quote' element in each case alternative.
9850         (vc-git-show-log-entry): Use prog1.
9851         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9853 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9855         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9857 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
9859         * macros.el (insert-kbd-macro): Look up keyboard macro using the
9860         definition, not the name (Bug#5481).
9862 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9864         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9865         argument with a local variable.  (Bug#5670)
9867 2010-03-02  Juri Linkov  <juri@jurta.org>
9869         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
9871 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
9873         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9874         error when FILENAME and NEWNAME are existing remote directories.
9876         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9877         parameter DIR-FLAG.
9879 2010-03-02  Glenn Morris  <rgm@gnu.org>
9881         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9882         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9884 2010-03-01  Kenichi Handa  <handa@m17n.org>
9886         * language/burmese.el (burmese-composable-pattern): Rename from
9887         myanmar-composable-pattern.
9889         * international/characters.el (script-list):
9890         * international/fontset.el (script-representative-chars):
9891         Change myanmar to burmese.
9892         (otf-script-alist): Likewise.
9893         (setup-default-fontset): Likewise.  Re-fix :otf spec.
9895 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
9897         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9899 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
9901         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9903 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
9905         * net/tramp.el (tramp-handle-write-region): START can be a string.
9906         Take care in the checks.  Reported by Dan Davison
9907         <davison@stats.ox.ac.uk>.
9909 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
9911         * net/dbus.el (dbus-introspect, dbus-get-property)
9912         (dbus-set-property, dbus-get-all-properties):
9913         Use `dbus-call-method' when noninteractive.  (Bug#5645)
9915 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
9917         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9918         * emacs-lisp/elint.el (elint-add-required-env):
9919         * calendar/icalendar.el (icalendar--add-diary-entry):
9920         * calc/calcalg2.el (math-tracing-integral):
9921         * files.el (recover-session-finish): Use with-current-buffer
9922         instead of save-excursion.
9924 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9926         Fix in-buffer completion when after-change-functions modify the buffer.
9927         * minibuffer.el (completion--replace): New function.
9928         (completion--do-completion): Use it and use relative movement.
9930 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
9932         * international/fontset.el (setup-default-fontset): Fix :otf spec.
9934 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
9936         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9937         Allow the characters _<> in the stack entry (Bug#5653).
9939 2010-02-26  Kenichi Handa  <handa@m17n.org>
9941         * language/burmese.el: Fix entries in composition-function-table.
9942         (myanmar-composable-pattern): New variable.
9944         * international/fontset.el (setup-default-fontset): Add an entry
9945         for myanmar.
9947         * international/characters.el (script-list): Add Myanmar
9948         Extended-A.
9950 2010-02-26  Glenn Morris  <rgm@gnu.org>
9952         * custom.el (custom-initialize-delay): Doc fix.
9954         * mail/sendmail.el (send-mail-function): Autoload the call
9955         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9957 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
9959         * files.el (hack-local-variables-filter): For eval forms, also
9960         check safe-local-variable-p (Bug#5636).
9962 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
9964         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9965         setting the modes by `ignore-errors'.  It might fail, for example
9966         if the file is not owned by the user but the group.
9967         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9969 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
9971         * files.el (directory-listing-before-filename-regexp):
9972         Use stricter matching for iso-style dates, to avoid false matches with
9973         date-like filenames (Bug#5597).
9975         * htmlfontify.el (htmlfontify): Doc fix.
9977         * eshell/eshell.el (eshell): Doc fix.
9979         * startup.el (fancy-about-screen): In mode-line, apply
9980         mode-line-buffer-id face only to the buffer name (Bug#5613).
9982 2010-02-20  Kevin Ryde  <user42@zip.com.au>
9984         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9985         In `watcom' anchor regexp to start of line, to avoid slowness
9986         (Bug#5599).
9988 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
9990         * subr.el (remove-yank-excluded-properties): Explain in a comment
9991         why `category' property is removed.
9993 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
9995         * isearch.el (isearch-update-post-hook, isearch-update):
9996         Revert 2010-02-17 change.
9998 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
10000         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10001         (icalendar--convert-weekly-to-ical)
10002         (icalendar--convert-yearly-to-ical)
10003         (icalendar--convert-block-to-ical)
10004         (icalendar--convert-cyclic-to-ical)
10005         (icalendar--convert-anniversary-to-ical): Take care of time
10006         specifications where hour has 1-digit only (Bug#5549).
10008 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
10010         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10011         of disassemble output in GDB 7.1.
10013 2010-02-19  Glenn Morris  <rgm@gnu.org>
10015         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10016         property.  (Bug#5593)
10018 2010-02-18  Sam Steingold  <sds@gnu.org>
10020         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10022 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10024         Use abbreviated file names in bookmarks (bug#5591).
10025         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10026         calls to expand-file-name.
10027         (bookmark-relocate): Use abbreviated file names in bookmarks.
10028         (bookmark-load): Use abbreviated file names in messages.
10030 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
10032         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10033         expand "." and "..".  Reported by Thierry Volpiatto
10034         <thierry.volpiatto@gmail.com>.
10036 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
10038         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10039         permissions of the temporary file to "0600".  In case the remote
10040         file has no read permissions for the owner, there might be
10041         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
10043 22010-02-18  Glenn Morris  <rgm@gnu.org>
10045         * emacs-lisp/authors.el (authors-renamed-files-alist):
10046         Add entries for INSTALL.CVS.
10048 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
10050         * vc-bzr.el: Fix typo in Known Bugs section.
10052         * isearch.el (isearch-update-post-hook): New hook.
10053         (isearch-update): Use the new hook.
10055 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
10057         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10058         Fix errors in copying directories.
10059         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10060         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10061         (tramp-handle-delete-file)
10062         (tramp-handle-dired-recursive-delete-directory)
10063         (tramp-handle-write-region): Flush also the cache for the upper
10064         directory.
10066 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
10068         * simple.el (save-interprogram-paste-before-kill): Doc fix.
10070         * cus-edit.el (hardware): Doc fix.
10072         * man.el (man): Add to external custom group.
10074         * delim-col.el (columns): Move to wp custom group.
10076         * doc-view.el (doc-view): Add to data custom group.
10078         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10080         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10081         by ispell-parse-output (Bug#5575).
10083 2010-02-16  Kenichi Handa  <handa@m17n.org>
10085         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10086         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10087         (skkdic-convert): Use `euc-japan' coding system for writing.
10089 2010-02-16  Glenn Morris  <rgm@gnu.org>
10091         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10092         tex-main-file before using it.  (Bug#5562)
10094 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10096         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10097         warnings, since it is annoying for the user to see them each time he
10098         runs the code.
10100 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
10102         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10103         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10104         instead of PROC for caching "first-password-request".  Otherwise,
10105         new processes would not profit from passwords already entered.
10107         * net/tramp-cache.el (tramp-dump-connection-properties):
10108         Don't save "first-password-request" property.
10110 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
10112         * outline.el (outline-head-from-level):
10113         * simple.el (with-wrapper-hook):
10114         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10115         (elint-defun, elint-buffer-env, elint-top-form-logged)
10116         (elint-unbound-variable):
10117         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10118         Fix typos in docstrings.
10120 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
10122         * files.el (insert-directory): When WILDCARD-REGEXP and
10123         FULL-DIRECTORY-P are nil, insert the file entry instead of the
10124         whole directory.  (Bug#5551)
10126         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
10127         dired's alignment sanity.  (Bug#5516)
10129 2010-02-14  Juri Linkov  <juri@jurta.org>
10131         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10132         Remove remaining ^H with their preceding chars.  (Bug#5566)
10134 2010-02-13  Glenn Morris  <rgm@gnu.org>
10136         * simple.el (transpose-subr): Give it a doc-string.
10138         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10139         Doc fixes.
10141 2010-02-12  Juri Linkov  <juri@jurta.org>
10143         * arc-mode.el (archive-unique-fname): Make directories for nested
10144         archives.  (Bug#5540)
10146 2010-02-12  Juri Linkov  <juri@jurta.org>
10148         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
10150 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10152         * subr.el (copy-overlay): Handle deleted overlays.
10154         * man.el (Man-completion-table): Don't signal an error if we can't run
10155         manual-program (bug#4056).
10157 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
10159         * textmodes/artist.el (artist-mt): Fix typos in docstring.
10161 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10163         * info.el (Info-bookmark-jump): Simplify.
10165         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10166         (bookmark-default-handler): Accept new bookmark field `buffer'.
10168 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
10170         * iswitchb.el (iswitchb-completions): Revert last change.
10172 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
10174         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10175         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10176         This prevents file names like "~/" being listed literally.
10178 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
10180         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10181         Remove dead code.  (Bug#5546)
10183 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
10185         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10186         correctly (Bug#5548).
10188 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
10190         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10191         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10193 2010-02-08  Kenichi Handa  <handa@m17n.org>
10195         * international/mule-util.el (with-coding-priority): Add autoload
10196         cookie for putting `lisp-indent-function'.
10198 2010-02-07  Glenn Morris  <rgm@gnu.org>
10200         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10201         Move F2003 named interfaces from keywords-2 to keywords-1, and
10202         use function-name-face rather than constant-face.
10203         Simplify "abstract interface" regexp.
10205 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
10207         * eshell/esh-util.el (eshell-file-attributes): New optional arg
10208         ID-FORMAT.  Pass it to `file-attributes'.
10210         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10212 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
10214         * faces.el (set-face-attribute): Allow calling
10215         internal-set-lisp-face-attribute with 'unspecified family and
10216         foundry argument (Bug#5536).
10218 2010-02-07  Glenn Morris  <rgm@gnu.org>
10220         * progmodes/f90.el (f90-font-lock-keywords-2)
10221         (f90-looking-at-type-like, f90-looking-at-program-block-end):
10222         Handle F2003 named interfaces.
10224 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
10226         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10227         beg and end before calling c-get-state-before-change-functions.
10229 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
10231         * vc-bzr.el (vc-bzr-dir-extra-headers):
10232         Disable the pending merges header.
10234 2010-02-05  Juri Linkov  <juri@jurta.org>
10236         * doc-view.el (doc-view-mode):
10237         * image-mode.el (image-mode): Put property mode-class=special.
10238         (Bug#4896)
10240 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
10242         * vc-svn.el (vc-svn-revision-table): New function.
10244 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
10246         * net/ange-ftp.el (ange-ftp-insert-directory):
10247         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10248         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10249         Handle also directories.  (Bug#5478)
10251 2010-02-05  Glenn Morris  <rgm@gnu.org>
10253         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10255 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
10257         * startup.el (command-line-1): Convert options beginning with a
10258         single dash as well (Bug#5519).
10260 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10262         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10263         * minibuffer.el (completion-initials-expand): Only check the presence
10264         of delims *within* the boundaries, since otherwise the / delim is
10265         always found for files.
10267         Fix up various corner case problems.
10268         * doc-view.el (doc-view-last-page-number): New function.
10269         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10270         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10271         (doc-view-kill-proc): Avoid inf-loop in freak cases.
10272         (doc-view-reconvert-doc): Use the new recursive delete-directory.
10273         (doc-view-convert-current-doc): Don't create the resolution.el file
10274         here any more.
10275         (doc-view-pdf/ps->png): Do it here instead.
10276         (doc-view-already-converted-p): Check that resolution.el is present.
10277         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10278         windows that are not yet showing images.
10280 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
10282         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10283         `dired-uncache' for every elemnt which is an absolute file name.
10285         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10286         directory, handle its directory component.
10287         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10288         function is called permanently and creates noise, otherwise.
10290         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10291         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10292         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
10294 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
10296         * macros.el (apply-macro-to-region-lines):
10297         Minor simplification.  (Bug#5485)
10299 2010-02-04  Glenn Morris  <rgm@gnu.org>
10301         * mail/rmail.el (rmail-show-message-1): Handle malformed
10302         quoted-printable text.  (Bug#5441)
10304         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10306         * simple.el (visual-line-mode): Capitalize lighter.
10308 2010-02-03  John Wiegley  <jwiegley@gmail.com>
10310         * iswitchb.el (iswitchb-completions): Add bookmark files to the
10311         list of files considered for "virtual buffer" completions.
10313 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
10315         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10316         also in case of (and (not full) (not wildcard)).  This is needed
10317         when dired is called with a list of files, which are not in
10318         `default-directory'.  (Bug#5478)
10320 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10322         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10324 2010-02-02  Juri Linkov  <juri@jurta.org>
10326         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10327         from unidiff to allow function-line after @@.
10329 2010-02-02  Juri Linkov  <juri@jurta.org>
10331         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10332         '(RCS SCCS) with inverted condition.
10334 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
10336         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10337         messages.
10339 2010-02-01  Juri Linkov  <juri@jurta.org>
10341         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10342         compare with "pkunzip" and "pkzip" instead of only "pkzip".
10343         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10344         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
10346 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10348         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10349         (doc-view-revert-buffer): New command.
10350         (doc-view-mode-map): Use it.
10352 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
10354         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10355         pending merge is detected.
10357 2010-01-31  Juri Linkov  <juri@jurta.org>
10359         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10360         beginning of interactive spec like all other grep commands do.
10361         Put "all" in front of "gz".  (Bug#5260)
10363 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
10365         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10367 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
10369         * dirtrack.el (dirtrack): Warn instead of signalling error if the
10370         regexp is incorrect (Bug#5476).
10372 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
10374         * net/tramp.el (tramp-handle-insert-directory): Handle also
10375         symlinks, when FILENAME is not in `default-directory'.
10377 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10379         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10380         FILE is not in `default-directory'.  (Bug#5478)
10382         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10383         of SWITCHES.  Handle the case, FILENAME is not in
10384         `default-directory'.  (Bug#5478)
10385         (tramp-register-file-name-handlers): Add safe-magic property.
10387 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
10389         * arc-mode.el (archive-zip-extract): Quote the argument passed to
10390         unzip (Bug#5475).
10392 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
10394         * progmodes/flymake.el (flymake-allowed-file-name-masks)
10395         (flymake-master-make-header-init): Add other C++ filename masks.
10396         (flymake-find-possible-master-files)
10397         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10399 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10401         Fix some busybox annoyances.
10403         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10404         not responding." string.
10405         (tramp-open-connection-setup-interactive-shell): Dump stty
10406         settings.  Enable "neveropen" arg for all `tramp-send-command'
10407         calls.  Handle "=" in variable values properly.
10408         (tramp-find-inline-encoding): Raise an error, when no encoding is
10409         found.
10410         (tramp-wait-for-output): Check, whether PROC buffer is available.
10411         Remove spurious " ^H" sequences, sent by busybox.
10412         (tramp-get-ls-command): Suppress coloring, if possible.
10414 2010-01-28  Glenn Morris  <rgm@gnu.org>
10416         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
10418         * log-edit.el (log-edit-strip-single-file-name): Add missing
10419         :safe, :group, and :version tags.
10421 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
10423         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10424         buffers.  (Bug#5477)
10426 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
10428         * files.el (delete-directory): Handle moving to trash without
10429         first doing recursion (Bug#5436).
10431 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
10433         * vc-hooks.el (vc-path): Mark as obsolete.
10435 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
10437         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10438         names too.
10440         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10441         for the short log.
10442         (vc-bzr-log-view-mode): Adjust regexp for the above change.
10444 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
10446         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10448         * vc-bzr.el (vc-bzr-revision-table): New function.
10450 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
10452         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10453         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
10455 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
10457         Remove support for adding --signoff on commit.
10458         Future support will use an incompatible generic mechanism.
10459         * vc-git.el (vc-git-add-signoff): Remove variable.
10460         (vc-git-toggle-signoff): Remove function.
10461         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10463         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10464         Rename from xterm-set-background-mode.  Return t if the background mode
10465         was set.
10466         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10467         earlier, call it again in case the background mode has changed.
10469 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
10471         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10472         (Bug#3541).
10474 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
10476         * emacs-lisp/assoc.el (aelement): Doc fix.
10477         (aput, adelete, amake): Use lexical-let (Bug#5450).
10479 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
10481         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10482         is the same as subprogram call, not declaration.  (Bug#5435).
10484 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
10486         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10487         (tramp-smb-maybe-open-connection): Use it.
10489 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
10491         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
10493 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10495         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10496         just because we see "encoding: 8bit".
10497         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10499 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
10501         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10503 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
10505         * jka-compr.el (jka-compr-load): If load-file is not in
10506         load-history, try its file-truename version.  (bug#5447)
10508 2010-01-21  Alan Mackenzie  <acm@muc.de>
10510         Fix a situation where deletion of a cpp construct throws an error.
10511         * progmodes/cc-engine.el (c-invalidate-state-cache):
10512         Before invoking c-with-all-but-one-cpps-commented-out, check that the
10513         special cpp construct is still in the buffer.
10514         (c-parse-state): Record the special cpp with markers, not numbers.
10516 2010-01-21  Kenichi Handa  <handa@m17n.org>
10518         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10519         process last-command-event, as it is now decoded first (Bug#5380).
10521 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
10523         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10525 2010-01-20  Glenn Morris  <rgm@gnu.org>
10527         * indent.el (tab-always-indent): Fix custom-type.
10529 2010-01-19  Alan Mackenzie  <acm@muc.de>
10531         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10532         buffer throws "args out of range".
10533         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10534         playing the role of delimiter.
10536 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
10538         * progmodes/ada-mode.el: Fix bug#5400.
10539         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10540         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10541         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
10542         Improve comments in "is" portion.  Handle null procedure declaration.
10543         (ada-move-to-end): Improve doc string.
10545 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
10547         * ido.el (ido-cur-list): Initialize to nil.
10548         Remove obsolete information from commentary.
10549         (ido-choice-list): Initialize to nil.
10550         (ido-get-bufname): Reject minibuffers.
10551         (ido-make-buffer-list): If "default" is a nonexistent
10552         buffer, ignore it, as per the function's comment.
10553         (ido-kill-buffer-internal): New function.
10554         (ido-kill-buffer-at-head): Use it.
10555         (ido-visit-buffer): Likewise.
10557 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
10559         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10561 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
10563         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10564         Fix typos in chart titles.
10566         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10567         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10568         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10569         (describe-class, eieio-describe-generic, describe-generic):
10570         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10571         (eieio-speedbar-expand):
10572         * emulation/viper-cmd.el (viper-exec-form-in-vi)
10573         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10574         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10575         (viper-del-backward-char-in-replace, viper-backward-indent)
10576         (viper-brac-function, viper-register-to-point, viper-submit-report):
10577         * net/tramp.el (tramp-remote-coding-commands):
10578         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10579         Fix typos in docstrings.
10581 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
10583         * mail/sendmail.el (mail-yank-original): Set the mark if the
10584         specified function for yanking does not do it.
10586 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
10588         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
10590         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10591         resyncing a directory.
10593 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
10595         * progmodes/ada-mode.el: Fix bug#1920.
10596         (ada-ident-re): Delete ., allow multibyte characters.
10597         (ada-goto-label-re): New; matches goto labels.
10598         (ada-block-label-re): New; matches block labels.
10599         (ada-label-re): New; matches both.
10600         (ada-named-block-re): Deleted; callers changed to use
10601         `ada-block-label-re' instead.
10602         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10603         Use `ada-block-label-re'.
10604         (ada-indent-on-previous-lines): Improve handling of goto labels.
10605         (ada-get-indent-block-start): Special-case block label.
10606         (ada-get-indent-label): Split into `ada-indent-block-label' and
10607         `ada-indent-goto-label'.
10608         (ada-goto-stmt-start, ada-goto-next-non-ws):
10609         Optionally ignore goto labels.
10610         (ada-goto-next-word): Simplify.
10611         (ada-indent-newline-indent-conditional): Insert newline before
10612         trying to fix indentation; doc fix.
10614 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
10616         * calc/calc.el (calc-command-flags): Give it an initial value.
10618 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
10620         * files.el (minibuffer-with-setup-hook):
10621         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10622         (artist-key-draw-continously, artist-key-do-continously-continously)
10623         (artist-key-set-point-continously, artist-mouse-draw-continously):
10624         Fix typos in docstrings.
10626 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
10628         * nxml/nxml-mode.el (nxml-extend-after-change-region):
10629         Never return t (Bug#3898).
10631 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
10633         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10634         can parse the output of the external commands (Bug#5279).
10636 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
10638         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10640 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
10642         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10644         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10646         * startup.el (command-line): Remove unused --icon-type arg.
10647         Handle --display arg, passing it to command-line-1 (Bug#5392).
10649 2010-01-16  Mario Lang  <mlang@delysid.org>
10651         * emacs-lisp/chart.el (chart-translate-namezone):
10652         * textmodes/artist.el (artist-compute-popup-menu-table):
10653         Remove duplicated words in doc-strings.
10655 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
10657         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10658         to mairix-search to suppress threading (Bug#5342).
10660 2010-01-15  Kenichi Handa  <handa@m17n.org>
10662         * international/mule-cmds.el (canonicalize-coding-system-name):
10663         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10665 2010-01-15  Glenn Morris  <rgm@gnu.org>
10667         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
10669         * wid-edit.el (widget-keymap): Doc fix.
10671         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10672         former seems to be more widely accepted by various svn versions.
10674 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10676         * find-cmd.el (find-constituents):
10677         * vc-arch.el (vc-arch-root):
10678         * window.el (window-body-height, pop-up-frames):
10679         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10680         * progmodes/ada-stmt.el (ada-if):
10681         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10682         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10683         (ispell-encoding8-command, ispell-aspell-supports-utf8)
10684         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10686         * progmodes/flymake.el (flymake-post-syntax-check):
10687         Fix typo in error message.
10689 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10691         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10692         which is always a string.  (Bug#5313)
10694 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10696         * progmodes/ada-xref.el (ada-default-prj-properties):
10697         Simplify previous change.
10699 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10701         * progmodes/ada-xref.el (ada-default-prj-properties):
10702         Default ada_project_path to $ADA_PROJECT_PATH.
10704 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10706         * progmodes/ada-mode.el (ada-create-keymap):
10707         Override `narrow-to-defun' with `ada-narrow-to-defun'.
10709 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10711         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10712         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10713         (ada-get-current-indent, ada-imenu-generic-expression)
10714         (ada-which-function): Check for it.
10716 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10718         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10719         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10721 2010-01-14  Glenn Morris  <rgm@gnu.org>
10723         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
10725 2010-01-14  Kenichi Handa  <handa@m17n.org>
10727         * composite.el (auto-composition-mode): Make it a buffer local
10728         variable (permanent-local).
10729         (auto-composition-function): Set the default value to
10730         auto-compose-chars.
10731         (auto-composition-mode): Make it a simple function, not a minor mode.
10732         (global-auto-composition-mode): Likewise.
10733         (turn-on-auto-composition-if-enabled): Delete it.
10735 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
10737         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10739 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
10741         * files.el (copy-directory): Compute target for recursive
10742         directories with identical names.  (Bug#5343)
10744 2010-01-12  Glenn Morris  <rgm@gnu.org>
10746         * mail/emacsbug.el (report-emacs-bug-pretest-address):
10747         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10749 2010-01-11  Sam Steingold  <sds@gnu.org>
10751         * imenu.el (imenu-default-create-index-function): Detect infinite
10752         loops caused by imenu-prev-index-position-function.
10754 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10756         * htmlfontify.el (htmlfontify-load-rgb-file)
10757         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10758         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10759         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10760         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10761         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10762         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10763         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10764         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10765         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10766         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10767         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10768         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10769         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10770         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10771         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10772         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10773         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10774         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10775         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10776         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10777         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10778         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10779         backslash-quoting from parentheses, etc.
10781 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
10783         * progmodes/js.el: Autoload javascript-mode alias.
10785 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10787         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10788         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10789         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10790         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10791         Fix typos in docstrings.
10792         (ffap-url-regexp): Doc fix.
10793         (ffap-at-mouse): Fix typo in message.
10795 2010-01-11  Glenn Morris  <rgm@gnu.org>
10797         * version.el (emacs-copyright): Set copyright year to 2010.
10799 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10801         * format.el (format-annotate-function): Only set
10802         write-region-post-annotation-function after running to-fn so as not to
10803         affect nested write-region calls (bug#5273).
10805 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
10807         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10808         wisent/python.el.
10810 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10812         * man.el (Man-goto-section): Signal error if the section is not
10813         found (Bug#5317).
10815 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
10817         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10818         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
10820 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10822         * progmodes/compile.el: Don't treat compile-command as safe if
10823         compilation-read-command might be nil (Bug#4218).
10825 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
10827         * startup.el (command-line-1): Use orig-argi to check for ignored X and
10828         NS options.
10830 2010-01-08  Kenichi Handa  <handa@m17n.org>
10832         * international/fontset.el (build-default-fontset-data):
10833         Exclude characters in scripts kana, hangul, han, or cjk-misc.
10835 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
10837         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10838         to `create-file-buffer' as it expects, not just a buffer name.
10839         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10840         to help uniquify.  (Bug#3224)
10842 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
10844         * font-setting.el (font-setting-change-default-font): Use user-spec
10845         instead of name.
10847 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
10849         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10851 2010-01-05  Tom Tromey  <tromey@redhat.com>
10853         * progmodes/python.el (python-font-lock-keywords):
10854         Handle qualified decorators (Bug#881).
10856 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
10858         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10859         in a lightweight checkout.
10861 2010-01-05  Kenichi Handa  <handa@m17n.org>
10863         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10865 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
10867         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10869 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
10871         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10872         checkouts.  (Bug#618)
10873         (vc-bzr-log-view-mode): Also highlight the author.
10874         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10875         (vc-bzr-shelve-menu-map):
10876         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10877         (vc-bzr-shelve-apply): Make prompt more explicit.
10879 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
10881         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10882         They are valid characters in URL paths (rfc3986), and at least
10883         Firefox does not understand the encoded version (Bug#3166).
10885 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
10887         * progmodes/octave-mod.el (octave-end-keywords)
10888         (octave-block-begin-or-end-regexp, octave-block-match-alist):
10889         Add "end" keyword (Bug#3061).
10890         (octave-end-as-array-index-p): New function.
10891         (calculate-octave-indent): Use it.
10893 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10895         * bookmark.el: Consistently put the text property on the bookmark name.
10896         (bookmark-bmenu-marks-width): Bump back to 2, to include
10897         annotation marks.
10898         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10899         property on the bookmark name, instead of not putting it at all.
10900         (bookmark-bmenu-list): Fix where we put the text property.
10902 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10904         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10905         for showing buffer modified state (as added in the previous change).
10907 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10909         * bookmark.el: Show modified state of bookmark buffer more accurately.
10910         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10911         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10912         (with-buffer-modified-unmodified): New macro.
10913         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10914         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10915         Use new macro to preserve the buffer modified state.
10917 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10919         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10920         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10921         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10922         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10923         (bookmark-bmenu-rename, bookmark-bmenu-locate)
10924         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10925         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10927 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
10929         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10930         Make the lines in the generated doc string shorter.  (Bug#4668)
10932 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
10934         * net/rcirc.el: Add follow-link binding (Bug#4738).
10936 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
10938         * Makefile.in (bzr-update): Rename from cvs-update.
10939         (cvs-update): New target for backward compatibility.
10941         * makefile.w32-in (bzr-update): Rename from cvs-update.
10942         (cvs-update): New target for backward compatibility.
10944 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10946         * bookmark.el: Remove gratuitous gratitude.
10948 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10950         * bookmark.el (bookmark-bmenu-any-marks): New function.
10951         (bookmark-bmenu-save): Clear buffer modification if no marks.
10953 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10955         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10956         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10957         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10958         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10960         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10961         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10962         To: emacs-devel {_AT_} gnu.org
10963         Subject: bookmark.el bug report
10964         Date: Mon, 28 Dec 2009 14:19:16 +0800
10965         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10967 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10969         * bookmark.el: Improvements suggested by Drew Adams:
10970         (bookmark-bmenu-ensure-position): New name for
10971         `bookmark-bmenu-check-position'.  Just ensure the position,
10972         don't return any meaningful value.
10973         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10974         New constants.
10976 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
10978         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10979         (bookmark-yank-point, bookmark-bmenu-check-position):
10980         Fix typos in docstrings.
10981         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10982         (bookmark-name-from-full-record, bookmark-get-position)
10983         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10984         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10985         Remove useless quoting of parenthesis, etc. in docstrings.
10987         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10988         (ediff-append-custom-diff): Fix typo in error message.
10989         (ediff-meta-mark-equal-files): Fix typos in messages.
10991         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10993         * net/imap-hash.el (imap-hash-make): Doc fix.
10994         (imap-hash-test): Fix typo in error message; reflow docstring.
10995         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10996         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10997         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10998         Fix typos in docstrings.
10999         (imap-hash-open-connection): Fix typo in error message.
11001         * play/gomoku.el (gomoku): Fix typos in docstring.
11003         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11004         (gdb-jsonify-buffer): Fix typos in docstring.
11005         (gdb-goto-breakpoint): Fix typo in error message.
11006         ("Display Other Windows"): Fix typo in help message.
11007         (gdb-speedbar-expand-node): Fix typo in question.
11009         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11010         (idlwave-html-system-help-location, idlwave-html-help-location)
11011         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11012         (idlwave-help-browser-generic-args, idlwave-help-directory)
11013         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11014         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11015         (idlwave-online-help, idlwave-help-html-link)
11016         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11017         Fix typos in docstrings.
11018         (idlwave-help-with-source, idlwave-help-find-routine-definition):
11019         Reflow docstrings.
11020         (idlwave-help-assistant-start): Fix typo in error message.
11022         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11023         (octave-electric-space): Fix typos in docstrings.
11025 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
11027         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11029 2010-01-01  Juri Linkov  <juri@jurta.org>
11031         * comint.el (comint-input-ring-size): Make it a defcustom and
11032         increase the default to 500 (Bug#5148).
11034 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
11036         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11037         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11038         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11040 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
11042         Show working revision correctly for mercurial.
11043         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11044         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11046 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
11048         Declare some functions for the byte-compiler.
11049         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11050         (speedbar-timer-fn, speedbar-change-expand-button-char)
11051         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11053 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
11055         This changeset reverts GDB Graphical Interface to use annotations.
11056         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11058 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
11060         Make vc-dir work on subdirectories of the bzr root.
11061         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11062         Return file names relative to it.
11063         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11064         relative directory to vc-bzr-after-dir-status.
11066 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
11068         * font-lock.el (font-lock-refresh-defaults): New function, which
11069         can be used to let font-lock react to external changes in
11070         variables like font-lock-defaults and keywords.
11071         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11073 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
11075         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11077         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11079 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
11081         Supersede color.diff settings in git log (bug#5211).
11083         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11084         escape chars in its output when the user has color.diff set to `always'.
11085         This fix works on git 1.4.2 and newer (released on 2006-08-13).
11087 2009-12-26  Kevin Ryde  <user42@zip.com.au>
11089         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11090         node.  Keep previous "Index" name to work with past coreutils too.
11092         * man.el (man): Revise docstring a bit to show -a and -l as
11093         examples.  Add -k description since support for it has otherwise
11094         been a secret.  (Further to bug#3717.)
11095         (Man-bgproc-sentinel): When "-k foo" produces no output show error
11096         "no matches" rather than "Can't find manpage", as the latter reads
11097         like -k was interpreted as a page name, which is not so.  (Bug#5431)
11099 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
11101         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11102         switches.  Check also for //SUBDIRED// line.
11104 2009-12-25  Kenichi Handa  <handa@m17n.org>
11106         * language/indian.el (devanagari-composable-pattern): Fix to
11107         handle ZWNJ and ZWJ.  Use it in composition-function-table for
11108         Devanagari.
11109         (malayalam-composable-pattern): Fix previous change.
11111 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11113         * ps-print.el (ps-face-attributes): It was not returning the
11114         attribute face for faces specified as string.  Reported by harven
11115         <harven@free.fr>.  (Bug#5254)
11116         (ps-print-version): New version 7.3.5.
11118 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
11120         * calendar/icalendar.el (icalendar--convert-tz-offset):
11121         Fix timezone names.
11122         (icalendar--convert-tz-offset): Fix the "last-day-problem".
11123         (icalendar--add-diary-entry): Remove the trailing blank that
11124         diary-make-entry inserts.
11126 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
11128         Make `file-expand-wildcards' work for remote files.
11130         * files.el (file-expand-wildcards): In case of remote files, check
11131         only local file name part for wildcards.  Provide feature 'files
11132         and subfeature 'remote-wildcards.  (Bug#5198)
11134         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11135         if there is already an established connection.
11136         (tramp-advice-file-expand-wildcards): Remove it.
11138         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11139         (tramp-advice-file-expand-wildcards): Move from tramp.el.
11140         Activate advice for older GNU Emacs versions.  (Bug#5237)
11142 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
11144         Some doc fixes (more needed).
11146         * find-cmd.el (find-constituents): Reflow docstring.
11147         (find-cmd, find-prune, find-command): Fix typos in docstrings.
11148         (find-generic): Doc fix.
11150 2009-12-17  Juri Linkov  <juri@jurta.org>
11152         Fix regression from 23.1 to allow multiple modes in Local Variables.
11154         * files.el (hack-local-variables-filter): While ignoring duplicates,
11155         don't take `mode' into account.
11156         (hack-local-variables-filter, hack-dir-local-variables):
11157         Don't remove duplicate `mode' from local-variables-alist (like `eval').
11159 2009-12-17  Juri Linkov  <juri@jurta.org>
11161         Make `dired-diff' safer.  (Bug#5225)
11163         * dired-aux.el (dired-diff): Signal an error when `file' equals to
11164         `current' or when `file' is a directory of the `current' file.
11166 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
11168         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11169         unconditionally preloaded files.
11171 2009-12-16  Juri Linkov  <juri@jurta.org>
11173         Revert to old 23.1 logic of using the file at the mark as default.
11174         * dired-aux.el (dired-diff): Use the file at the mark as default
11175         if it's not the same as the current file, and the target dir is
11176         the current dir or the mark is active.  Add the current file
11177         as the arg of `dired-dwim-target-defaults'.  Use the default file
11178         in the prompt.  (Bug#5225)
11180 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
11182         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11183         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11184         (tramp-check-for-regexp): Check also, when an echoing shell stops
11185         to echo sent commands.
11187 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11189         * Makefile.in: Revert last change (Bug#5191).
11191 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
11193         * vc-hg.el (vc-hg-print-log): Fix argument order.
11194         (vc-hg-working-revision): Make sure the command is executed in a
11195         known environment so that we can parse the output.  (Bug#4417)
11197 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11199         * progmodes/python.el (python-symbol-completions): Remove text
11200         properties from symbol string before calling python-send-receive.
11202 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
11204         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11205         when there are values for both file and line.  (Bug#5060)
11207 2009-12-14  Juri Linkov  <juri@jurta.org>
11209         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11210         whitespace after the file name of the first line of unified format,
11211         because git-diff doesn't output whitespace and file modification time
11212         after the file name.
11214 2009-12-14  David Kastrup  <dak@gnu.org>
11216         * info.el (Info-hide-cookies-node): Before hiding a cookie,
11217         check if it already has the `display' property added by
11218         `Info-display-images-node', and not put the `invisible' property
11219         in this case.
11221 2009-12-13  Glenn Morris  <rgm@gnu.org>
11223         * mail/emacsbug.el (message-sort-headers): Define for compiler.
11224         (report-emacs-bug): In message-mode, sort manually before storing
11225         original report text.  (Bug#5178)
11226         Remove superfluous save-excursion.
11228 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
11230         * net/dbus.el (dbus-property-handler): Filter lambda forms out
11231         when responding to "GetAll" properties.
11233 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
11235         * simple.el (compose-mail): Remove mail-setup-with-from from
11236         customization checks.
11238 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
11240         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11241         RAR archives created on Unix systems.
11243 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11245         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11246         the varalias that was accidentally removed by the 2009-11-19 change
11247         (bug#5186).
11249 2009-12-12  Kenichi Handa  <handa@m17n.org>
11251         * language/indian.el (indian-compose-regexp): New function.
11252         (malayalam-composable-pattern): Fix the pattern.
11253         (composition-function-table): Set malayalam-composable-pattern for
11254         Malayalam characters.
11256 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
11258         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11259         rather than down-mouse-1, based on follow-link conventions.
11261         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11262         are compiled.
11264 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
11266         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11267         (verilog-vmm-statement-re, verilog-ovm-statement-re)
11268         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11269         (verilog-leap-to-head, verilog-backward-token):
11270         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
11272 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
11274         * progmodes/verilog-mode.el (verilog-auto-lineup)
11275         (verilog-nameable-item-re): Cleanup user-visible spelling and
11276         documentation errors.  One reported by Gary Delp.
11277         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11278         (verilog-read-decls): Fix AUTOWIRE with types declared in a
11279         package, bug195.  Reported by Pierre-David Pfister.
11281 2009-12-11  Glenn Morris  <rgm@gnu.org>
11283         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11285         * mail/emacsbug.el: No longer require sendmail.
11286         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
11287         (report-emacs-bug-orig-text): Doc fix.
11288         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11289         New local variables, to adapt to different mail-user-agents.
11290         (report-emacs-bug): Fix test for a gnu.org address.
11291         Use overlays for emphasis, since font-lock defeats 'face property.
11292         Pretest bugs also end up at the newsgroup these days.
11293         Stop message-mode stripping text properties.
11294         Set and use the new buffer-local variables.
11295         (report-emacs-bug-hook): Add doc-string.
11296         Remove some unnecessary save-excursions and simplify.
11297         Use the appropriate hook and send-command.
11299         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11300         capitalization of some menu entries.
11302 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11304         * whitespace.el (whitespace-display-char-on):
11305         Ensure `buffer-display-table' is unique when two or more windows are
11306         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11307         New version 12.1.
11309 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
11311         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11312         characters in the Attribute field.
11314 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
11316         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
11318 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11320         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11321         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11322         Disregard autoload-excludes.
11323         (update-directory-autoloads): Obey autoload-excludes here instead.
11324         But don't store its contents in no-autoloads and remove entries that
11325         refer to excludes files.
11327 2009-12-10  Glenn Morris  <rgm@gnu.org>
11329         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11330         (expand-mail-aliases): Define for compiler.
11332         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11333         Define for compiler.
11335         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11336         appropriate for the mail-user-agent in use.
11338 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
11340         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11342 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
11344         Fix short log parsing and fontification.
11345         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11346         Fix fontification for the [merge] label.
11348 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
11350         Drop some properties to avoid surprises (bug#5002).
11351         * htmlfontify.el (hfy-ignored-properties): New defcustom.
11352         (hfy-fontify-buffer): Use it.
11354 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11356         Minor cleanup.
11357         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11358         Adjust all callers.
11359         (ffap-locate-file): Remove unused arg `dir-ok' and make other
11360         args compulsory.  Adjust callers.
11361         (ffap-gopher-at-point): Remove unused var `name'.
11363         Get rid of the ELCFILES abomination.
11364         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11365         (compile-elcfiles): New phony target.
11366         (compile-main): Compute ELCFILES dynamically.
11367         (compile-clean): New target to remove left-over elc files.
11368         (compile, all): Use it.
11370 2009-12-09  Kenichi Handa  <handa@etlken>
11372         * international/mule-diag.el: Require help-mode instead of help-fns.
11374 2009-12-09  Kenichi Handa  <handa@m17n.org>
11376         * international/mule-cmds.el (ucs-names): Supply sufficiently
11377         fine ranges instead of pre-calculating accurate ranges.
11378         Iterate with bigger gc-cons-threshold.
11380 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
11382         Add support for stashing a snapshot of the current tree.
11383         * vc-git.el (vc-git-stash-snapshot): New function.
11384         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11386 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
11388         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11389         instead of `(beginning|end)-of-line'.
11391 2009-12-08  Glenn Morris  <rgm@gnu.org>
11393         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11395         * Makefile.in (ELCFILES): Regenerate.
11397 2009-12-07  Juri Linkov  <juri@jurta.org>
11399         Don't lazy-highlight the comint output in history Isearch mode.
11401         * comint.el (comint-history-isearch-search): Instead of
11402         `comint-line-beginning-position', use `comint-after-pmark-p'
11403         to check if point if before the process mark, and go to
11404         `process-mark' in this case.
11406 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11408         * textmodes/tex-mode.el (latex-complete)
11409         (latex-indent-or-complete): Remove.
11410         (latex-mode): Set completion-at-point-functions instead.
11412         Provide a standard completion command and hook it into TAB.
11413         * minibuffer.el (completion-at-point-functions): New var.
11414         (completion-at-point): New command.
11415         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11416         * progmodes/python.el (python-mode-map): Use completion-at-point.
11417         (python-completion-at-point): Rename from python-partial-symbol and
11418         adjust for use in completion-at-point-functions.
11419         (python-mode): Setup completion-at-point for Python completion.
11420         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11421         extracted from lisp-complete-symbol.
11422         (lisp-complete-symbol): Use it.
11423         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11424         setup completion-at-point for Elisp completion.
11425         (emacs-lisp-mode-map, lisp-interaction-mode-map):
11426         Use completion-at-point.
11427         * ielm.el (ielm-map): Use completion-at-point.
11428         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11429         * progmodes/sym-comp.el: Move to...
11430         * obsolete/sym-comp.el: Move from progmodes.
11432 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
11434         Prevent save-buffer in Rmail buffers from using the coding-system
11435         of the current message, and from clobbering the encoding mnemonics
11436         in the mode line (Bug#4623).
11438         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11439         flag, too.
11440         (rmail-message-encoding): New variable.
11441         (rmail-write-region-annotate): Record the encoding of the current
11442         message in rmail-message-encoding.
11443         (rmail-after-save-hook): New function, restores the encoding of
11444         the current message after the message collection is saved.
11446 2009-12-07  Juri Linkov  <juri@jurta.org>
11448         * progmodes/grep.el (grep-read-files): Use `completing-read'
11449         instead of `read-string'.  Set its `collection' arg to
11450         `read-file-name-internal'.  (Bug#4301)
11452 2009-12-07  Juri Linkov  <juri@jurta.org>
11454         Correctly restore original Isearch point.  (Bug#4994)
11456         * isearch.el (isearch-mode): Move `isearch-push-state' after
11457         `(run-hooks 'isearch-mode-hook)'.
11458         (isearch-cancel): When `isearch-push-state-function' is defined,
11459         let-bind `isearch-cmds' to the first state (the last element of
11460         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11461         function and restores the original point).  Otherwise, move point
11462         to `isearch-opoint'.
11464 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11466         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11467         chars that don't have names, so the table can be built much faster at
11468         run-time.
11470 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
11472         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11473         change.  Suggested by David Kastrup.
11475         * simple.el (compose-mail): Check for incompatibilities and warn.
11476         (compose-mail-user-agent-warnings): New option.
11478 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11480         Support showing a single log entry from vc-annotate.
11481         * vc.el (print-log): Add a new argument: START-REVISION.
11482         (vc-print-log-internal): Add a new optional argument and
11483         pass it to the backend.
11484         (vc-print-log, vc-print-root-log): Adjust callers.
11485         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11486         buffer already displays the requested log entry, use it.
11487         Otherwise display only the log entry in question.
11488         * vc-svn.el (vc-svn-print-log):
11489         * vc-mtn.el (vc-mtn-print-log):
11490         * vc-hg.el (vc-hg-state):
11491         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11492         (vc-git-show-log-entry): Return t on success.
11493         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11494         (vc-bzr-show-log-entry): Return t on success.
11495         * vc-rcs.el (vc-rcs-print-log):
11496         * vc-sccs.el (vc-sccs-print-log):
11497         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11499 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11501         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11502         Add menus to the meta mode.  (Bug#5043)
11504 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
11506         * ediff-init.el (ediff-event-key): Use event-to-character instead of
11507         event-key.
11509         * ediff.el (ediff-buffers-internal): Add unwind-protect.
11511 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
11513         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
11514         Berbain <raphael.berbain@gmail.com>.
11516         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
11517         characters.
11518         (tramp-initial-end-of-output): New defconst.
11519         (tramp-methods, tramp-find-shell)
11520         (tramp-open-connection-setup-interactive-shell)
11521         (tramp-maybe-open-connection): Use it.
11522         (tramp-shell-prompt-pattern, tramp-wait-for-output):
11523         Handle existence of `#' and `$'.
11525         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11526         Use `tramp-initial-end-of-output'.
11528 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11530         Get the background mode from the terminal for xterm, and set
11531         faces accordingly.
11532         * term/xterm.el (xterm-set-background-mode): New function.
11533         (terminal-init-xterm): Use it in case xterm supports background
11534         color queries.  Recompute faces after getting the background
11535         color.
11537 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
11539         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11540         number comment back on its own line, for easier parsing.
11542 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11544         Make it work for non-file buffers (bug#5102).
11545         * doc-view.el (doc-view-current-cache-dir):
11546         Use doc-view-buffer-file-name rather than buffer-file-name.
11547         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11549 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
11551         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11552         author field is too short.
11554 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
11556         * vc-git.el (vc-git-print-log): Handle a limit argument.
11557         Display the short log in graph form and with labels.
11558         (vc-git-log-view-mode): Handle labels.
11560         Make vc-revert change VC state from 'added to 'unregistered.
11561         * vc-git.el (vc-git-revert): Call git reset first.
11563 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
11565         * net/newst-backend.el, net/newst-plainview.el:
11566         * net/newst-reader.el, net/newst-ticker.el:
11567         * net/newst-treeview.el, net/newsticker.el:
11568         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
11570 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11572         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11574         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11575         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
11576         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11577         Update annotation regexp.
11579         * simple.el (beginning-of-visual-line): Constrain to field
11580         boundaries (Bug#5106).
11582 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
11584         * xml.el (xml-substitute-numeric-entities):
11585         Move newsticker--decode-numeric-entities in newst-backend.el to
11586         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
11587         * net/newst-backend.el (newsticker--parse-generic-feed)
11588         (newsticker--parse-generic-items)
11589         (newsticker--decode-numeric-entities):
11590         Move newsticker--decode-numeric-entities in newst-backend.el to
11591         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
11593 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
11595         * progmodes/js.el (js--js-not): Add null to the list of values.
11597 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11599         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11601 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11603         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11604         delimiter if it is at the end of the current line.
11605         (bibtex-generate-url-list): Fix docstring.
11607 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11609         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11610         minibuffer's content with itself.
11611         Fold the confirm-after-completion case into the `confirm' case.
11612         (completion-pcm-word-delimiters): Add : and / to the delimiters.
11614 2009-12-06  Kevin Ryde  <user42@zip.com.au>
11616         * ffap.el (ffap-rfc-path): Make this a defcustom since
11617         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
11619         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11620         manuals, similar to existing setup for help-mode.  (Bug#3913.)
11622 2009-12-05  Juri Linkov  <juri@jurta.org>
11624         Save and restore dired buffer's point positions too.  (Bug#4880)
11626         * dired.el (dired-save-positions): Return in the first element
11627         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11628         Doc fix.
11629         (dired-restore-positions): First restore buffer's position.
11630         While restoring window's positions, check if window still displays
11631         the original buffer.
11633 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
11635         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11636         if possible.
11638         * shell.el (shell): Require ansi-color (Bug#5113).
11640         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11642         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11644 2009-12-05  Alan Mackenzie  <acm@muc.de>
11646         * progmodes/cc-mode.el (c-before-hack-hook)
11647         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11648         `c-file-style' to work again.  This reversion restores the current
11649         software to its state in Emacs 23.1.  (Bug#4146)
11651 2009-12-05  Kevin Ryde  <user42@zip.com.au>
11653         * textmodes/sgml-mode.el (sgml-lexical-context):
11654         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11656 2009-12-05  Juri Linkov  <juri@jurta.org>
11658         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11659         for virtual nodes.  (Bug#4147)
11660         (Info-find-node-2): Set `Info-current-node-virtual' to nil
11661         when moving from a virtual node.
11662         (Info-mode-menu): Add `Info-virtual-index' to the menu.
11663         (Info-mode): Add `Info-virtual-index' to the docstring.
11665 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11667         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11668         track of the buffer position of the end of a BibTeX entry as this
11669         position may change during reformatting.
11670         (bibtex-format-entry): Remove whitespace before processing
11671         numerical fields so that we recognize the latter properly.
11672         (bibtex-reformat): Do not use push which changes the global value
11673         of bibtex-entry-format.
11674         (bibtex-field-braces-alist, bibtex-field-strings-alist)
11675         (bibtex-field-re-init): Replace only space characters by regexp
11676         for whitespace.
11677         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11678         (bibtex-initialize): Also update bibtex-strings.
11679         (bibtex-kill-field): Preserve white space at end of entry.
11680         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11681         Update bibtex-reference-keys.
11683 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11685         * minibuffer.el (completion-pcm--merge-try): Also consider placing
11686         point after a star, if that's the only place where modifications can
11687         make progress.
11689 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
11691         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11692         in docstrings.
11694 2009-12-04  Juri Linkov  <juri@jurta.org>
11696         * proced.el (proced): Call `(proced-update t)' to update process
11697         information instead of only running proced-post-display-hook.
11698         (proced-send-signal): Add a leading space to the buffer name
11699         " *Marked Processes*" to make this buffer ephemeral.
11701 2009-12-04  Juri Linkov  <juri@jurta.org>
11703         * dired.el (dired-auto-revert-buffer): New defcustom.
11704         (dired-internal-noselect): Use it.
11706 2009-12-04  Juri Linkov  <juri@jurta.org>
11708         Change roles of modes and functions in image-mode.el (Bug#5062).
11710         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11711         in `auto-mode-alist'.
11712         (image-mode-previous-major-mode): New variable.
11713         (image-minor-mode-map): Rename from `image-mode-text-map'.
11714         (image-mode): Move graceful error-handling code from
11715         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
11716         (image-minor-mode): Remove all image-handling code.
11717         Replace `image-mode-text-map' with `image-minor-mode-map'.
11718         Check for `image-type' in mode-line format string.
11719         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11720         (image-mode-as-text): New function with most code from
11721         `image-mode-maybe'.
11722         (image-toggle-display-text): Move code that removes image
11723         properties from `image-toggle-display' to here.
11724         (image-toggle-display-image): New function with code that adds
11725         image properties copied from `image-toggle-display'.
11726         (image-toggle-display): Remove most code with leaving only code
11727         that toggles between `image-mode-as-text' and `image-mode'.
11729 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
11731         * net/newst-treeview.el
11732         (newsticker--treeview-list-highlight-start): Restored call to
11733         save-excursion: Selected item was stuck.
11734         (newsticker--treeview-list-select): New.
11735         (newsticker--treeview-item-show-text)
11736         (newsticker--treeview-item-show)
11737         (newsticker--treeview-item-update): Use new
11738         newsticker-treeview-item-mode.
11739         (newsticker-treeview-update): Keep current item.
11740         (newsticker-treeview-next-new-or-immortal-item): Doc change.
11741         (newsticker--treeview-first-feed): Doc change.
11742         (newsticker-treeview-list-menu)
11743         (newsticker-treeview-item-menu): Add menu entries.
11744         (newsticker-treeview-item-mode): New.
11746         * net/newst-backend.el (newsticker-customize): Delete other
11747         windows.
11749 2009-12-04  Sam Steingold  <sds@gnu.org>
11751         * log-view.el (log-view-mode-map): "q" calls quit-window,
11752         like in all the other non-self-insert buffers.
11754 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11756         Minor cleanup.
11757         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11758         key decoding rather than do it manually via last-input-event +
11759         ascii-character.
11760         (term-exec): Use delete-and-extract-region.
11761         (term-handle-ansi-terminal-messages): Remove unused var `end'.
11762         (term-process-pager): Remove unused var `i'.
11763         (term-dynamic-simple-complete): Make obsolete.
11764         (serial-update-config-menu): Remove unused vars `y' and `str'.
11765         (term-update-mode-line): Remove unused var `temp'.
11767 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11769         Limit the number of log entries displayed by default.
11770         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11771         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11772         using a prefix argument.
11774 2009-12-03  Glenn Morris  <rgm@gnu.org>
11776         * progmodes/idlwave.el (class): Restore still useful declaration.
11778 2009-12-03  Alan Mackenzie  <acm@muc.de>
11780         Enhance `c-parse-state' to run efficiently in "brace deserts".
11782         * progmodes/cc-mode.el (c-basic-common-init):
11783         Call c-state-cache-init.
11784         (c-neutralize-syntax-in-and-mark-CPP): Rename from
11785         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
11786         placing `category' properties value 'c-cpp-delimiter at its boundaries.
11788         * progmodes/cc-langs.el (c-before-font-lock-function):
11789         c-extend-and-neutralize-syntax-in-CPP has been renamed
11790         c-neutralize-syntax-in-and-mark-CPP.
11792         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11793         with `category' properties now, not `syntax-table' ones.
11795         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11796         enhanced (but slower) version of c-end-of-macro that won't land
11797         inside a literal or on another awkward character.
11798         (c-state-cache-too-far, c-state-cache-start)
11799         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11800         (c-state-nonlit-pos-cache-limit, c-state-point-min)
11801         (c-state-point-min-lit-type, c-state-point-min-lit-start)
11802         (c-state-min-scan-pos, c-state-brace-pair-desert)
11803         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11804         buffer local variables.
11805         (c-state-literal-at, c-state-lit-beg)
11806         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11807         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11808         (c-state-cache-top-paren, c-state-cache-after-top-paren)
11809         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11810         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11811         (c-renarrow-state-cache)
11812         (c-append-lower-brace-pair-to-state-cache)
11813         (c-state-push-any-brace-pair, c-append-to-state-cache)
11814         (c-remove-stale-state-cache)
11815         (c-remove-stale-state-cache-backwards, c-state-cache-init)
11816         (c-invalidate-state-cache-1, c-parse-state-1)
11817         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11818         (c-parse-state): Enhance and refactor.
11819         (c-debug-parse-state): Amend to deal with all the new variables.
11821         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11822         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11823         modify to use category text properties rather than syntax-table ones.
11824         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11825         to switch off/on the syntactic paren property of C++ template
11826         delimiters using the category property.
11827         (c-with-<->-as-parens-suppressed): Macro to invoke code with
11828         template delims suppressed.
11829         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11830         New constant/macros which apply category properties to the start
11831         and end of preprocessor constructs.
11832         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11833         "comment out" the syntactic value of characters in preprocessor
11834         constructs.
11835         (c-with-cpps-commented-out)
11836         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11837         with characters in all or all but one preprocessor constructs
11838         "commented out".
11840 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11842         * proced.el (proced-filter-alist): Use regexp-quote.
11844 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
11846         Cleanup.
11847         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11848         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
11849         arguments.  Expand `default-directory'.
11851         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11852         the benefit of returning an expanded localname.
11853         (tramp-tramp-file-p): Handle the case NAME is not a string.
11855 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11857         Add support for bzr shelve/unshelve.
11858         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11859         (vc-bzr-extra-menu-map): New variables.
11860         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11861         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11862         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11863         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11864         (vc-bzr-dir-extra-headers): Display shelves.
11866         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11868 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11870         * textmodes/bibtex.el (bibtex-complete-internal):
11871         Use completion-in-region.
11872         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11874 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11876         Support applying stashes.  Improve UI.
11877         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11878         (vc-git-stash-apply, vc-git-stash-pop)
11879         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11880         (vc-git-stash-menu): New functions.
11881         (vc-git-stash-menu-map): New variable.
11882         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11884 2009-12-03  Glenn Morris  <rgm@gnu.org>
11886         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11887         (vc-print-log-internal): Fix previous change.
11888         (vc-revert): Correct pluralization.
11890 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11892         * progmodes/make-mode.el (makefile-special-targets-list): No need for
11893         it to be an alist any more.
11894         (makefile-complete): Use completion-in-region.
11896         * progmodes/octave-mod.el (octave-complete-symbol):
11897         Use completion-in-region.
11899         Misc cleanup.
11900         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11901         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11902         (idlwave-complete-class): Don't quote lambda.
11903         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11904         (idlwave-mode-map): Move initialization into declaration.
11905         (idlwave-action-and-binding): Use backquotes.
11906         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11907         Simplify.
11908         (idlwave-is-pointer-dereference): Remove unused var `pos'.
11909         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11910         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11911         `parts', and `all-parts'.
11912         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11913         (idlwave-convert-xml-system-routine-info): Remove unused string
11914         `version-string'.
11915         (idlwave-display-user-catalog-widget): Use dolist.
11916         (idlwave-scanning-lib): Declare dynamically-scoped var.
11917         (idlwave-scan-library-catalogs): Remove unused var `flags'.
11918         (completion-highlight-first-word-only): Declare to silence bytecomp.
11919         (idlwave-popup-select): Tighten scope of `resp'.
11920         (idlwave-find-struct-tag): Remove unused var `beg'.
11921         (idlwave-after-load-rinfo-hook): Declare.
11922         (idlwave-sintern-class-info): Remove unused var `taglist'.
11923         (idlwave-find-class-definition): Remove unused var `list'.
11924         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11925         (idlwave-what-module-find-class): Remove unused var `classes'.
11927 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
11929         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11931 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11933         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11934         buffers visited.  Remove redundant current-buffer-saving.
11936 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11938         Use completion-in-buffer and remove uses of dynamic scoping.
11939         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11940         (pascal-buffer-to-use, pascal-flag): Don't declare.
11941         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11942         (pascal-get-completion-decl, pascal-keyword-completion):
11943         Add `pascal-str' argument, save-excursion,
11944         return the found completions, and don't filter with pascal-pred.
11945         (pascal-completion-cache): New var.
11946         (pascal-completion): Don't switch buffer any more (it was never
11947         necessary).  Don't save-excursion any more (it's done by the called
11948         subroutines).  Use a cache to avoid redundant computations.
11949         Use complete-with-action rather than pascal-completion-response and
11950         let it apply the predicate as well.
11951         (pascal-complete-word): Use completion-in-buffer when
11952         pascal-toggle-completions is nil.
11953         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11954         not used any more.
11955         (pascal-comp-defun): Don't change buffer any more.
11956         Use complete-with-action rather than pascal-completion-response and
11957         let it apply the predicate as well.
11958         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11959         when neded.
11961 2009-12-02  Kenichi Handa  <handa@m17n.org>
11963         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11964         shape for all Indic scripts.
11966 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11968         Use completion-in-buffer.
11969         * wid-edit.el (widget-field-text-end): New function.
11970         (widget-field-value-get): Use it.
11971         (widget-string-complete, widget-file-complete)
11972         (widget-color-complete): Use it and completion-in-region.
11973         (widget-complete): Don't narrow the buffer.
11975 2009-12-02  Glenn Morris  <rgm@gnu.org>
11977         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
11978         (rmail-select-summary): Use rmail-pop-to-buffer.
11979         * mail/rmailsum.el: Replace all pop-to-buffer calls with
11980         rmail-pop-to-buffer, to prevent horizontal splits.
11982         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11983         save-excursion with save-current-buffer.
11984         Widen before searching.  (Bug#5093)
11985         (diary-list-sexp-entries): Remove superfluous save-excursion.
11987 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
11989         * woman.el (woman-make-bufname): Handle man-pages with "." in the
11990         name.  (Bug#5038)
11992 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
11994         * ido.el (ido-file-internal): Handle filenames at point that do
11995         not have a directory part.  (Bug#5049)
11997 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
11999         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12000         (mpc-songs-jump-to, mpc-resume): Doc fixes.
12002 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
12004         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12005         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12006         any more.
12008 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12010         * comint.el (comint-insert-input): Ignore clicks to the right of
12011         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12013         * vc.el (vc-print-log-internal): Don't wait for the process to
12014         terminate before setting up the major mode.
12016         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12017         in case.
12019         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12020         the last element.
12022         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12024 2009-12-01  Glenn Morris  <rgm@gnu.org>
12026         * window.el (window--display-buffer-2): Fix previous changes.
12028 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
12030         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12032 2009-12-01  Glenn Morris  <rgm@gnu.org>
12034         * Makefile.in (ELCFILES): Add mpc.elc.
12036 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12038         * mpc.el: New file.
12040 2009-12-01  Glenn Morris  <rgm@gnu.org>
12042         * window.el (window-to-use): Define for compiler.
12044         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12045         consistent with others (no final period).
12047         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12048         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
12050 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
12052         Make vc-print-log buttons work.
12053         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12055 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
12057         * savehist.el (savehist-autosave-interval): Allow setting to nil
12058         through customize.  (Bug#5056)
12060 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
12062         Fix references to jit-lock properties.
12063         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12064         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12065         (perl-font-lock-special-syntactic-constructs):
12066         Quote jit-lock-defer-multiline property.
12068 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
12070         * vc-git.el (vc-git-registered): Call vc-git-root only once.
12072 2009-11-30  Juri Linkov  <juri@jurta.org>
12074         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12075         value `buffer' of `multi-isearch-next-buffer-current-function'.
12076         Use `(current-buffer)' when `buffer' is nil.
12077         (multi-isearch-next-buffer-from-list): Don't fallback to
12078         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
12080 2009-11-30  Juri Linkov  <juri@jurta.org>
12082         * misearch.el (multi-isearch-read-buffers): Move canonicalization
12083         of buffers with `get-buffer' to `multi-isearch-buffers'.
12084         (multi-isearch-buffers, multi-isearch-buffers-regexp):
12085         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
12086         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12087         FILES with `expand-file-name' converting relative file names
12088         to absolute.  Doc fix.  (Bug#4727)
12090 2009-11-30  Juri Linkov  <juri@jurta.org>
12092         * misearch.el (multi-isearch-read-buffers)
12093         (multi-isearch-read-matching-buffers): New functions.
12094         (multi-isearch-buffers, multi-isearch-buffers-regexp):
12095         Use them in the `interactive' spec.  Doc fix.
12096         (multi-isearch-read-files, multi-isearch-read-matching-files):
12097         New functions.
12098         (multi-isearch-files, multi-isearch-files-regexp):
12099         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
12101 2009-11-30  Juri Linkov  <juri@jurta.org>
12103         * doc-view.el (doc-view-continuous):
12104         Rename from `doc-view-continuous-mode'.
12105         (doc-view-menu): Move "Toggle display" to the top.
12106         Add submenu "Continuous" with radio buttons "Off"/"On"
12107         and "Save as Default".
12108         (doc-view-scroll-up-or-next-page)
12109         (doc-view-scroll-down-or-previous-page)
12110         (doc-view-next-line-or-next-page)
12111         (doc-view-previous-line-or-previous-page):
12112         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
12114 2009-11-30  Juri Linkov  <juri@jurta.org>
12116         * comint.el (comint-mode-map): Rebind `M-r' from
12117         `comint-previous-matching-input' to
12118         `comint-history-isearch-backward-regexp'.
12119         Unbind `M-s' to allow global key binding `M-s'.
12120         Add menu items for `comint-history-isearch-backward' and
12121         `comint-history-isearch-backward-regexp'.  (Bug#3746)
12123 2009-11-30  Juri Linkov  <juri@jurta.org>
12125         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12126         For def=recenter, replace `recenter' with `recenter-top-bottom'
12127         that is called with `this-command' and `last-command' let-bound
12128         to `recenter-top-bottom'.  When the last `def' was not `recenter',
12129         set `recenter-last-op' to nil.  (Bug#4981)
12131 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12133         Minor cleanup and simplification.
12134         * filecache.el (file-cache-add-directory)
12135         (file-cache-add-directory-recursively)
12136         (file-cache-add-from-file-cache-buffer)
12137         (file-cache-delete-file-regexp, file-cache-delete-directory)
12138         (file-cache-files-matching-internal, file-cache-display): Use dolist.
12139         (file-cache-temp-minibuffer-message): Delete function.
12140         (file-cache-minibuffer-complete): Use minibuffer-message instead.
12142         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12143         Don't signal an error when bumping into EOB in tr, s, or y.
12145 2009-11-29  Juri Linkov  <juri@jurta.org>
12147         * startup.el (fancy-about-text): Fix wording of Guided Tour.
12148         (Bug#4960)
12150         * descr-text.el (describe-char-unidata-list): Use lowercase name
12151         for "Unicode name" like in other tags.
12153 2009-11-29  Juri Linkov  <juri@jurta.org>
12155         * ediff-util.el (ediff-minibuffer-with-setup-hook):
12156         New compatibility macro.
12157         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12159 2009-11-29  Juri Linkov  <juri@jurta.org>
12161         Add defcustom to define the cycling order of `recenter-top-bottom'.
12162         (Bug#4981)
12164         * window.el (recenter-last-op): Doc fix.
12165         (recenter-positions): New defcustom.
12166         (recenter-top-bottom): Rewrite to use `recenter-positions'.
12167         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12169 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
12171         Improve integration of Tramp and ange-ftp in eshell.
12173         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12174         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
12175         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
12177         * eshell/esh-util.el (top): Require also Tramp when compiling.
12178         (eshell-directory-files-and-attributes): Check for FTP remote
12179         connection.
12180         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12181         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12182         (eshell-file-attributes): Handle ".".  Return `entry'.
12184         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12185         (ange-ftp-directory-files-and-attributes)
12186         (ange-ftp-real-directory-files-and-attributes): New defuns.
12188         * net/tramp.el (tramp-maybe-open-connection): Open the remote
12189         shell with "exec" when possible.  This prevents trailing prompts
12190         in `start-file-process'.
12192 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12194         Try and remove assumptions about point-min==1.
12195         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12196         (rng-compute-mode-line-string): Show the validation percentage in
12197         terms of the narrowed text, not the widened text.
12198         (rng-do-some-validation): Don't catch internal errors when debugging.
12199         (rng-first-error): Simplify.
12200         (rng-after-change-function): Remove work around.  AFAIK the bug has
12201         been fixed a while ago.
12203         * image-mode.el (image-minor-mode): Exit more gracefully when the image
12204         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12206         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12208         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12209         `cd' doesn't always do it for us (bug#5067).
12211         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12212         on 2009-10-25 as part of some other change (bug#5067).
12214 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12216         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12217         `suspicious'.
12218         (byte-compile-warnings): Use byte-compile-warning-types.
12219         (byte-compile-save-excursion): Warn about use of set-buffer right
12220         after save-excursion.
12222         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12223         the excursion as well.
12225 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
12227         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12228         providing a Tramp related implementation of "su" and "sudo".
12229         (eshell-unix-initialize): Add "su" and "sudo".
12231 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
12233         * net/socks.el (socks-send-command): Convert binary request to
12234         unibyte before sending.  This fixes mishandling of some port
12235         numbers such as 129.
12237 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12239         * help.el (describe-bindings-internal): Remove `interactive'.
12241         * man.el (Man-completion-table): Trim a terminating "(".
12242         Remove the space between name page a section.
12243         Add the command's description on the `help-echo' property.
12244         Remove `process-connection-type' binding since it's unused by
12245         call-process.
12246         Provide completion for the "<section> <name>" format as well.
12247         (Man-default-man-entry): Remove spurious var shadowing the argument.
12249 2009-11-26  Kevin Ryde  <user42@zip.com.au>
12251         * log-view.el: Add "Keywords: tools", since its other keywords
12252         aren't in finder-known-keywords, and following vc.el.
12254         * sha1.el (sha1-string-external): default-directory "/" in case
12255         otherwise non-existent.  process-connection-type pipe for touch of
12256         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
12258 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12260         Misc coding convention cleanups.
12261         * htmlfontify.el (hfy-init-kludge-hook): Rename from
12262         hfy-init-kludge-hooks.
12263         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12264         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12265         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12266         and push.
12267         (hfy-slant, hfy-weight): Use tables rather than code.
12268         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12269         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12270         (hfy-face-attr-for-class): Initialize `face-spec' directly.
12271         (hfy-face-to-css): Remove `nconc' with single arg.
12272         (hfy-p-to-face-lennart): Use `or'.
12273         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
12274         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12275         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12276         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12277         (hfy-force-fontification): Use run-hooks.
12279 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
12281         Various minor fixes.
12282         * htmlfontify.el (hfy-default-header): Add toggle_invis since
12283         Javascript belongs in the header, not the body.
12284         (hfy-javascript): Remove.
12285         (hfy-fontify-buffer): Don't insert it any more.
12286         (hfy-face-at): Handle (face0 face1 face2) style face properties.
12287         Fix bug in invis handling when there were no invis props in a chunk.
12289 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12291         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12293 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
12295         * finder.el (finder-mode-map): Add a menu.
12297 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
12299         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12300         "unsigned" structs.
12302         (verilog-leap-to-head, verilog-backward-token): Handle "disable
12303         fork" statement better.
12305 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
12307         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12308         (verilog-delete-auto, verilog-delete-empty-auto-pair)
12309         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12310         Reported by Clay Douglass.
12312         (verilog-auto-inst, verilog-auto-star-safe)
12313         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12314         Fix removing "// Interfaces" when saving .* expansions.
12315         Reported by Pierre-David Pfister.
12317 2009-11-26  Glenn Morris  <rgm@gnu.org>
12319         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12320         the scope.
12322 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
12324         * vc-annotate.el (vc-annotate-revision-previous-to-line):
12325         Really use previous revision.
12327 2009-11-25  Kevin Ryde  <user42@zip.com.au>
12329         * man.el (Man-completion-table): default-directory "/" in case
12330         doesn't otherwise exist.  process-environment COLUMNS=999 so as
12331         not to truncate long names.  process-connection-type pipe to avoid
12332         any chance of hitting the pseudo-tty TIOCGWINSZ.
12333         (man): completion-ignore-case t for friendliness and since man
12334         itself is case-insensitive on the command line.
12335         Further to Bug#3717.
12337         * arc-mode.el: Add "Keywords: files", so the details in its
12338         commentary can be reached from finder-by-keyword.
12339         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
12340         editing mode, but it's comms related and sgml-mode.el has "comm"
12341         on that basis too.
12342         * textmodes/bibtex-style.el: Add "Keywords: tex".
12343         * international/isearch-x.el, international/ja-dic-cnv.el:
12344         * international/ja-dic-utl.el, international/kkc.el:
12345         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12347 2009-11-25  Juri Linkov  <juri@jurta.org>
12349         * man.el (Man-completion-table): Modify regexp to include
12350         section names to completion strings.  (Bug#3717)
12352 2009-11-25  Juri Linkov  <juri@jurta.org>
12354         Search recursively in gzipped files.  (Bug#4982)
12356         * progmodes/grep.el (grep-highlight-matches): Add new options
12357         `always' and `auto'.  Doc fix.
12358         (grep-process-setup): Check `grep-highlight-matches' for
12359         `auto-detect' to determine the need to compute grep defaults.
12360         Move Windows/DOS specific --colors settings handling
12361         to `grep-compute-defaults'.  Check `grep-highlight-matches'
12362         to get the value of "--color=".
12363         (grep-compute-defaults): Compute `grep-highlight-matches' when it
12364         has the value `auto-detect'.  Move Windows/DOS specific settings
12365         from `grep-process-setup'.
12366         (zrgrep): New command with alias `rzgrep'.
12368 2009-11-25  Juri Linkov  <juri@jurta.org>
12370         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12371         to nil instead of switching off view-mode.  (Bug#4896)
12373 2009-11-25  Juri Linkov  <juri@jurta.org>
12375         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
12377         * mwheel.el (mwheel-scroll-up-function)
12378         (mwheel-scroll-down-function): New defvars.
12379         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12380         `scroll-up', and `mwheel-scroll-down-function' instead of
12381         `scroll-down'.
12383         * doc-view.el (doc-view-scroll-up-or-next-page)
12384         (doc-view-scroll-down-or-previous-page): Add optional ARG.
12385         Use this ARG in the call to image-scroll-up/image-scroll-down.
12386         Change `interactive' spec to "P".  Goto next/previous page only
12387         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12388         SPC/DEL case).  Doc fix.
12389         (doc-view-next-line-or-next-page)
12390         (doc-view-previous-line-or-previous-page): Rename arg to ARG
12391         for consistency.
12392         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12393         `doc-view-scroll-up-or-next-page', and buffer-local
12394         `mwheel-scroll-down-function' to
12395         `doc-view-scroll-down-or-previous-page'.
12397 2009-11-25  Juri Linkov  <juri@jurta.org>
12399         Provide additional default values (directories at other Dired
12400         windows) via M-n in the minibuffer of some Dired commands.
12402         * dired-aux.el (dired-diff, dired-compare-directories)
12403         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12404         `minibuffer-default' in `minibuffer-with-setup-hook'.
12405         (dired-dwim-target-directory): Find a window that displays Dired
12406         buffer instead of failing when the next window is not Dired.
12407         Use `get-window-with-predicate' to find for the next Dired window.
12408         (dired-dwim-target-defaults): New function.
12410         * ediff-util.el (ediff-read-file-name):
12411         Use `dired-dwim-target-defaults' to set `minibuffer-default'
12412         in `minibuffer-with-setup-hook'.
12414 2009-11-25  Juri Linkov  <juri@jurta.org>
12416         Provide additional default values (file name at point or at the
12417         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
12419         * minibuffer.el (read-file-name-defaults): New function.
12420         (read-file-name): Reset `minibuffer-default' to nil when
12421         it duplicates initial input `insdef'.
12422         Bind `minibuffer-default-add-function' to lambda that
12423         calls `read-file-name-defaults' in `minibuffer-selected-window'.
12424         (minibuffer-insert-file-name-at-point): New command.
12426         * files.el (file-name-at-point-functions): New defcustom.
12427         (find-file-default): Remove defvar.
12428         (find-file-read-args): Don't use `find-file-default'.
12429         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12430         to `read-file-name'.
12431         (find-file-literally): Use `read-file-name' with
12432         `confirm-nonexistent-file-or-buffer'.
12434         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12436         * dired.el (dired-read-dir-and-switches):
12437         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12438         to `read-file-name'.
12439         (dired-file-name-at-point): New function.
12440         (dired-mode): Add hook `dired-file-name-at-point' to
12441         `file-name-at-point-functions'.
12443 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12445         Really make the *Completions* window soft-dedicated (bug#5030).
12446         * window.el (window--display-buffer-2): Add `dedicated' argument.
12447         (display-buffer): Pass it when needed so the dedicated flag is set
12448         after calling set-window-buffer, which would otherwise reset it.
12450 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12452         * progmodes/meta-mode.el (meta-complete-symbol):
12453         * progmodes/etags.el (complete-tag):
12454         * mail/mailabbrev.el (mail-abbrev-complete-alias):
12455         Use completion-in-region.
12457         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12458         (dabbrev-completion): Use completion-in-region.
12459         (dabbrev--abbrev-at-point): Simplify regexp.
12461         * abbrev.el (abbrev--before-point): Use word-motion functions
12462         if :regexp is not specified (bug#5031).
12464         * subr.el (string-prefix-p): New function.
12466         * man.el (Man-completion-cache): New var.
12467         (Man-completion-table): Use it.
12469         * vc.el (vc-print-log-internal): Make `limit' optional for better
12470         compatibility (e.g. with vc-annotate.el).
12472 2009-11-24  Kevin Ryde  <user42@zip.com.au>
12474         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12475         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
12477         * emacs-lisp/elint.el (elint-add-required-env): Better error message
12478         when .el source file not found or other error.
12480 2009-11-24  Markus Triska  <markus.triska@gmx.at>
12482         * linum.el (linum-update-window): Ignore intangible (bug#4996).
12484 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12486         Handle the [back] button properly (bug#4979).
12487         * descr-text.el (describe-text-properties): Add a `buffer' argument.
12488         Use help-setup-xref, help-buffer, and with-help-window.
12489         (describe-char): Add `buffer' argument.
12490         Pass proper command to help-setup-xref.  Don't meddle with
12491         help-xref-stack-item directly.
12492         (describe-text-category): Use with-help-window and help-buffer.
12494         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12495         for the displayed buffer (bug#4887).
12497         * man.el (Man-completion-table): New function.
12498         (man): Use it.
12500 2009-11-24  David Reitter  <david.reitter@gmail.com>
12502         * vc-git.el (vc-git-registered): Use checkout directory (where
12503         .git is) rather than the file's directory and a relative path spec
12504         to work around a bug in git.
12506 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
12508         Improve handling of processes on remote hosts.
12510         * eshell/esh-util.el (eshell-path-env): New defvar.
12511         (eshell-parse-colon-path): New defun.
12512         (eshell-file-attributes): Use `eshell-parse-colon-path'.
12514         * eshell/esh-ext.el (eshell-search-path):
12515         Use `eshell-parse-colon-path'.
12516         (eshell-remote-command): Remove argument HANDLER.
12517         (eshell-external-command): Check for FTP remote connection.
12519         * eshell/esh-proc.el (eshell-gather-process-output):
12520         Use `file-truename', in order to start also symlinked files.
12521         Apply `start-file-process' instead of `start-process'.
12522         Shorten `command' to the local file name part.
12524         * eshell/em-cmpl.el (eshell-complete-commands-list):
12525         Use `eshell-parse-colon-path'.
12527         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12529         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
12530         to `eshell-directory-change-hook'.
12532 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
12534         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12535         because it could be enabled automatically if view-read-only is non-nil.
12537 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
12539         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12540         made on 2009-11-22.
12542 2009-11-24  Glenn Morris  <rgm@gnu.org>
12544         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12545         deleted variable bookmark-bmenu-bookmark-column.
12547 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12549         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12551 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12553         * net/browse-url.el (browse-url-filename-alist): On Windows, add
12554         two slashes to the "file:" prefix.
12555         (browse-url-file-url): De-munge Cygwin filenames before passing
12556         them to Windows browser.
12557         (browse-url-default-windows-browser): Use call-process.
12559 2009-11-23  Juri Linkov  <juri@jurta.org>
12561         Implement DocView Continuous mode.  (Bug#4896)
12562         * doc-view.el (doc-view-continuous-mode): New defcustom.
12563         (doc-view-mode-map): Bind C-n/<down> to
12564         `doc-view-next-line-or-next-page', C-p/<up> to
12565         `doc-view-previous-line-or-previous-page'.
12566         (doc-view-next-line-or-next-page)
12567         (doc-view-previous-line-or-previous-page): New commands.
12569 2009-11-23  Juri Linkov  <juri@jurta.org>
12571         Implement Isearch in comint input history.  (Bug#3746)
12572         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12573         `isearch-mode-hook'.
12574         (comint-history-isearch): New defcustom.
12575         (comint-history-isearch-backward)
12576         (comint-history-isearch-backward-regexp): New commands.
12577         (comint-history-isearch-message-overlay): New buffer-local variable.
12578         (comint-history-isearch-setup, comint-history-isearch-end)
12579         (comint-goto-input, comint-history-isearch-search)
12580         (comint-history-isearch-message, comint-history-isearch-wrap)
12581         (comint-history-isearch-push-state)
12582         (comint-history-isearch-pop-state): New functions.
12584 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
12586         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12587         return.
12588         (tramp-handle-make-symbolic-link)
12589         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12590         Quote file names.
12591         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12592         (tramp-handle-process-file): Use it.
12594 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12596         * window.el (move-to-window-line-last-op): Remove.
12597         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12599 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
12601         Make M-r mirror the new cycling behavior of C-l.
12602         * window.el (move-to-window-line-last-op): New var.
12603         (move-to-window-line-top-bottom): New command.
12604         (global-map): Bind M-r move-to-window-line-top-bottom.
12606 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
12608         * dired-x.el (dired-guess-shell-alist-default):
12609         Support xz format.  (Bug#4953)
12611 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
12613         * emulation/viper-cmd.el: Use viper-last-command-char instead of
12614         last-command-char/last-command-event.
12615         (viper-prefix-arg-value): Do correct conversion of event-char for
12616         XEmacs.
12618         * emulation/viper-util.el, emulation/viper.el:
12619         Use viper-last-command-char instead of
12620         last-command-char/last-command-event.
12622         * ediff-init.el, ediff-mult.el, ediff-util.el:
12623         Replace last-command-char and last-command-event
12624         with (ediff-last-command-char) everywhere.
12626         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12627         created in fundamental mode.
12629         * ediff.el (ediff-version): Revert the change of interactive-p to
12630         called-interactively-p.
12632 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
12634         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12635         generation from word-movement command names.
12637 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
12639         * cus-start.el (all): Add native condition for font-use-system-font.
12641 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
12643         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12644         Correct the patch from 2009-11-18.  (Bug#3910)
12646 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
12648         * progmodes/subword.el: Rename from lisp/subword.el.
12650         * subword.el: Rename to progmodes/subword.el.
12652         * Makefile.in (ELCFILES): Adapt to subword.el move.
12654 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12655             Stefan Monnier  <monnier@iro.umontreal.ca>
12657         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12658         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12659         (bookmark-bmenu-show-filenames): Use push.
12660         (bookmark-bmenu-hide-filenames): Use local var instead of
12661         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
12662         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12663         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12664         filenames now that the bookmark names are always available.
12666 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12668         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12669         (bookmark-search-pattern): Move and leave unbound.
12670         (bookmark-bmenu-mode-map): Change binding.
12671         (bookmark-read-search-input): Simplify.
12672         Don't use text-char-description.  Don't error on non-char events.
12673         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12674         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12675         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12676         Use a local var for the timer.
12677         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12678         (i.e. bookmark-bmenu-search).
12680 2009-11-21  Glenn Morris  <rgm@gnu.org>
12682         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
12684 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12686         * net/browse-url.el (browse-url-default-windows-browser):
12687         Use cygstart for cygwin.
12689 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
12691         * bookmark.el: Formatting and doc fixes only:
12692         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12693         (bookmark-bmenu-search): Wrap to fit within 80 columns.
12694         Minor grammar and punctuation fixes in doc string.
12695         (bookmark-read-search-input): Adjust to fit within 80 columns.
12697 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12699         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12700         (c-backward-into-nomenclature): Adapt to subword renaming.
12702         * subword.el (subword-forward, subword-backward, subword-mark)
12703         (subword-kill, subword-backward-kill, subword-transpose)
12704         (subword-downcase, subword-upcase, subword-capitalize)
12705         (subword-forward-internal, subword-backward-internal):
12706         Rename from forward-subword, backward-subword, mark-subword,
12707         kill-subword, backward-kill-subword, transpose-subwords,
12708         downcase-subword, upcase-subword, capitalize-subword,
12709         forward-subword-internal, backward-subword-internal.
12711 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12713         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12714         New options.
12715         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12716         New vars.
12717         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12718         (bookmark-bmenu-filter-alist-by-regexp)
12719         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12720         (bookmark-bmenu-search): New command.
12721         (bookmark-bmenu-mode-map): Bind it.
12723 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12725         * progmodes/cc-cmds.el: declare-functioned forward-subword and
12726         backward-subword to quit the byte-compiler.
12728         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12730         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12732         * progmodes/cc-cmds.el (c-update-modeline)
12733         (c-forward-into-nomenclature, c-backward-into-nomenclature):
12734         Refer to subword.el functions instead of cc-subword.el.
12736         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12737         subword.el functions instead of cc-subword.el.
12739         * progmodes/cc-subword.el: Rename to subword.el.
12740         * subword.el: Rename from progmodes/cc-subword.el.
12741         (subword-mode-map): Rename from c-subword-mode-map.
12742         (subword-mode): Rename from c-subword-mode.
12743         (global-subword-mode): New global minor mode.
12744         (forward-subword): Rename from c-forward-subword.
12745         (backward-subword): Rename from c-backward-subword.
12746         (mark-subword): Rename from c-mark-subword.
12747         (kill-subword): Rename from c-kill-subword.
12748         (backward-kill-subword): Rename from c-backward-kill-subword.
12749         (transpose-subwords): Rename from c-tranpose-subword.
12750         (downcase-subword): Rename from c-downcase-subword.
12751         (capitalize-subword): Rename from c-capitalize-subword.
12752         (forward-subword-internal): Rename from c-forward-subword-internal.
12753         (backward-subword-internal): Rename from c-backward-subword-internal.
12755 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
12757         * vc.el (vc-deduce-fileset): Allow non-state changing operations
12758         from a dired buffer.
12759         (vc-dired-deduce-fileset): New function.
12760         (vc-root-diff, vc-print-root-log): Use it.
12762         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12763         nil LIMIT argument to vc-print-log-internal.
12765 2009-11-20  Glenn Morris  <rgm@gnu.org>
12767         * Makefile.in (ELCFILES): Regenerate.
12769 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
12771         * calc/calc.el (calc-set-mode-line):
12772         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12773         (math-format-number): Rename `math-format-complement-signed' to
12774         `math-format-twos-complement'.
12776         * calc/calc-bin.el (math-format-twos-complement): Rename from
12777         math-format-complement-signed.
12778         (calc-radix): Rename `calc-complement-signed-mode' to
12779         `calc-twos-complement-mode'.
12780         (calc-octal-radix, calc-hex-radix): Add an argument for
12781         two's complement.
12783         * calc/calc-embed.el (calc-embedded-mode-vars):
12784         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12786         * calc/calc-ext.el (calc-init-extensions):
12787         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12788         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12790         * calc/calc-units.el (math-build-units-table-buffer):
12791         Let `calc-twos-complement-mode' be nil.
12793         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12794         entries.
12796         * calc/calc-vec.el (calcFunc-vunpack):
12797         * calc/calc-aent.el (calc-do-calc-eval):
12798         * calc/calc-forms.el (math-format-date):
12799         * calc/calc-graph.el (calc-graph-plot):
12800         * calc/calc-math.el (math-use-emacs-fn):
12801         * calc/calccomp.el (math-compose-expr):
12802         Let `calc-twos-complement-mode' be nil.
12804 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12806         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12807         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
12808         * minibuffer.el (completion-in-region-functions): New hook.
12809         (completion-in-region): New function.
12810         * emacs-lisp/lisp.el (lisp-complete-symbol):
12811         * pcomplete.el (pcomplete-std-complete): Use it.
12813 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12815         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12816         (latex-complete-alist): New vars.
12817         (latex-string-prefix-p, latex-complete-bibtex-keys)
12818         (latex-complete-envnames, latex-complete-refkeys)
12819         (latex-complete-data): New functions.
12820         (latex-complete, latex-indent-or-complete): New commands.
12822         * window.el (display-buffer-mark-dedicated): New var.
12823         (display-buffer): Obey it.
12824         * minibuffer.el (minibuffer-completion-help): Use it.
12826         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12828         * filecache.el (file-cache-add-file): Use push and cons.
12829         (file-cache-delete-file-regexp): Use push.
12830         (file-cache-complete): Use completion-in-region.
12832         * simple.el (with-wrapper-hook): Fix thinko.
12834         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12835         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12836         Use with-current-buffer and string-to-number.
12837         (hfy-fallback-colour-values): Use assoc-string.
12838         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12839         (hfy-face-at): Remove unused var `found-face'.
12840         (hfy-compile-stylesheet): Remove unused var `css'.
12841         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12842         and `orig-buffer'.
12843         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12844         Use with-current-buffer.
12845         (hfy-text-p): Use expand-file-name and fewer setq.
12847 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
12849         * htmlfontify.el, hfy-cmap.el: New files.
12851 2009-11-19  Juri Linkov  <juri@jurta.org>
12853         * minibuffer.el (completions-format): New defcustom.
12854         (completion--insert-strings): Implement vertical format.
12856         * simple.el (switch-to-completions): Move point to the first
12857         completion when point was at the beginning of the buffer.
12859 2009-11-19  Juri Linkov  <juri@jurta.org>
12861         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
12863         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12865 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
12867         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12868         (mail-signature): Change default to t.
12869         (mail-from-style): Deprecate `system-default' value.
12870         (mail-insert-from-field): For default value of mail-from-style,
12871         default to `angles' unless `angles' needs quoting and `parens'
12872         does not.
12873         (mail-citation-prefix-regexp): Use citation regexp from
12874         message-mode.
12876 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
12878         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12879         Set variables for computing the prompt for reading password.
12881 2009-11-19  Glenn Morris  <rgm@gnu.org>
12883         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
12885         * textmodes/flyspell.el (sgml-lexical-context): Declare.
12887         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12888         (newsticker-treeview-listwindow-height): Fix custom type.
12890 2009-11-19  Kenichi Handa  <handa@m17n.org>
12892         * descr-text.el (describe-char-padded-string): Compose with TAB
12893         only if there's a font for CH.
12894         (describe-char): Fix the condition for detecting a trivial composition.
12896 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
12898         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12899         more accurate version of the regexp.  (Bug#3910)
12901 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
12903         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12905 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
12907         * font-setting.el (font-use-system-font): Declare for byte-compiler.
12908         (font-setting-change-default-font): Fix typo in docstring.
12910 2009-11-18  Alan Mackenzie  <acm@muc.de>
12912         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12914 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
12916         * font-setting.el (font-use-system-font): Move ...
12918         * cus-start.el (all): ... to here.
12920 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
12922         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12923         Don't set `ad-return-value' if `ad-do-it' doesn't.
12925         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12926         modification time.
12928 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
12930         * menu-bar.el: Put "Use system font" in Option-menu.
12931         (menu-bar-options-save): Add font-use-system-font.
12933         * loadup.el: If feature system-font-setting or font-render-setting is
12934         there, load font-setting.
12936         * Makefile.in (ELCFILES): Add font-settings.el.
12937         * font-setting.el: New file.
12939 2009-11-17  Glenn Morris  <rgm@gnu.org>
12941         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12943         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12944         Preserve point in the list buffer.  (Bug#4939)
12945         Use point-at-eol.
12946         (newsticker--treeview-list-update-highlight)
12947         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12949 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
12951         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12952         Remove.
12954         * calc/calc-ext.el (calc-init-extensions): Remove references to
12955         symclip.
12957         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12959         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12960         * calc/calc-help.el (calc-b-prefix-help): Remove references to
12961         `calc-symclip'.
12963 2009-11-16  Kevin Ryde  <user42@zip.com.au>
12965         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12966         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12968         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12969         (lm-keywords-list): Allow comma-only separator like "foo,bar".
12970         Ignore trailing spaces by omit-nulls to split-string (fixing
12971         regression from Emacs 21 due to the incompatible split-string
12972         change).  (Bug #4928.)
12974 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
12976         * vc.el (vc-log-show-limit): Default to 2000.
12977         (vc-print-log-internal): Insert buttons to request more entries
12978         when limiting the output.
12980         * vc-sccs.el (vc-sccs-print-log):
12981         * vc-rcs.el (vc-rcs-print-log):
12982         * vc-cvs.el (vc-cvs-print-log):
12983         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12984         LIMIT is non-nil.
12986 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12988         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12989         error when `tramp-gvfs-dbus-event-vector' is set.
12990         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12992 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12994         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12996 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12998         * net/dbus.el (dbus-unregister-service): New defun.
12999         (dbus-register-property): Register the handlers of
13000         "org.freedesktop.DBus.Properties" for SERVICE.
13001         (dbus-property-handler): Fix docstring.
13003 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13005         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13006         Quote doc string reference in defvaralias as it is not in special form.
13007         (byte-compile-output-docform): Doc fix.
13009 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
13011         * calc/calc.el (math-2-word-size, math-half-2-word-size)
13012         (calc-complement-signed-mode): New variables.
13013         (calc-set-mode-line): Add indicator for twos-complements.
13014         (math-format-number): Format twos-complement notation.
13016         * calc/calc-bin.el (calc-word-size): Reset the variables
13017         `math-2-word-size' and `math-half-2-word-size'.
13018         (math-format-complement-signed, math-symclip, calcFunc-symclip)
13019         (calc-symclip): New functions.
13021         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13023         * calc/calc-embed.el (calc-embedded-mode-vars):
13024         Add `calc-complement-signed-mode' to the list of modes.
13026         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13027         (calc-b-oper-keys): Add `calc-symclip' to list.
13029         * calc/calc-ext.el (math-read-number-fancy): Read complement
13030         signed numbers.
13031         (calc-init-extensions): Add binding for `calc-symclip'.
13032         Add autoload for `calcFunc-symclip' and `calc-symclip'.
13034         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13035         `calc-symclip'.
13036         (calc-modes-menu): Add item for twos complement mode.
13038         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13040 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
13042         * register.el (jump-to-register, insert-register): Handle Semantic
13043         tags.  From commented-out advice in semantic/senator.el.
13045 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
13047         * vc.el (vc-log-show-limit): New variable.
13048         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
13049         when using a prefix argument.
13050         (vc-print-log-internal): Add new argument LIMIT.
13052         * vc-svn.el (vc-svn-print-log):
13053         * vc-mtn.el (vc-mtn-print-log):
13054         * vc-hg.el (vc-hg-print-log):
13055         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13056         pass it to the log command when set.  Make the BUFFER argument
13057         non-optional.
13059         * vc-sccs.el (vc-sccs-print-log):
13060         * vc-rcs.el (vc-rcs-print-log):
13061         * vc-git.el (vc-git-print-log):
13062         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13063         ignore it.  Make the BUFFER argument non-optional
13065         * bindings.el (mode-line-buffer-identification): Do not purecopy.
13067 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
13069         * dired.el (dired-mode-map): Move encryption items to "Operate"
13070         menu (Bug#4703).
13072         * strokes.el (strokes-update-window-configuration): Make strokes
13073         buffer current before erasing (Bug#4906).
13075 2009-11-15  Juri Linkov  <juri@jurta.org>
13077         * simple.el (set-mark-default-inactive): Add :type, :group
13078         and :version.  (Bug#4876)
13080 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
13082         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13083         (archive-unique-fname): ... here.  (Bug#4929)
13085 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13087         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13088         with a real fix.
13090         * novice.el (disabled-command-function): Add useful args.
13091         Setup the help buffer so that [back] works.
13092         Remove redundant call to help-mode.
13093         (disabled-command-function): Use `case'.
13094         (en/disable-command): New function extracted from enable-command.
13095         (enable-command, disable-command): Use it.
13097 2009-11-14  Glenn Morris  <rgm@gnu.org>
13099         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13100         constants.  (Bug#4913)
13102         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13104 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
13106         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13107         defined in C that have no doc-strings.  (Bug#1063)
13109 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
13111         * cus-edit.el (data, files):
13112         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
13114 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
13116         * simple.el (shell-command): Doc fix (Bug#4891).
13118         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13120 2009-11-14  Glenn Morris  <rgm@gnu.org>
13122         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13123         statements for vc-diff, emerge-quit, and rmail-cease-edit.
13124         If they are already loaded, eval-after-load will do the right thing.
13126         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13127         compiling.
13129         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13131         * simple.el (x-selection-owner-p): Declare.
13132         (read-mail-command): Use custom radio type rather than choice.
13133         (completion-no-auto-exit): Doc fix.
13135         * custom.el (defgroup):
13136         * epg-config.el (epg): Doc fixes.
13138 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
13140         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13141         * international/ccl.el (define-ccl-program): Do not purecopy the
13142         docstring, defconst does it anyway.
13144 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13146         * add-log.el (add-change-log-entry): Avoid displaying the changelog
13147         a second time.
13149         * x-dnd.el (x-dnd-maybe-call-test-function):
13150         * window.el (split-window-vertically):
13151         * whitespace.el (whitespace-help-on):
13152         * vc-rcs.el (vc-rcs-consult-headers):
13153         * userlock.el (ask-user-about-lock-help)
13154         (ask-user-about-supersession-help):
13155         * type-break.el (type-break-force-mode-line-update):
13156         * time-stamp.el (time-stamp-conv-warn):
13157         * terminal.el (te-set-output-log, te-more-break, te-filter)
13158         (te-sentinel, terminal-emulator):
13159         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13160         (term-write-input-ring, term-check-source, term-start-output-log):
13161         (term-display-buffer-line, term-dynamic-list-completions):
13162         (term-ansi-make-term, serial-term):
13163         * subr.el (selective-display):
13164         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13165         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13166         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13167         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13168         (speedbar-remove-localized-speedbar-support)
13169         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13170         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13171         (speedbar-buffers-line-directory):
13172         * simple.el (shell-command-on-region, append-to-buffer)
13173         (prepend-to-buffer):
13174         * shadowfile.el (shadow-save-todo-file):
13175         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13176         (scroll-bar-maybe-set-window-start):
13177         * sb-image.el (speedbar-image-dump):
13178         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13179         (load-save-place-alist-from-file):
13180         * ps-samp.el (ps-print-message-from-summary):
13181         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13182         (ps-background-image, ps-begin-job, ps-do-despool):
13183         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13184         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13185         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13186         (pr-call-process, pr-file-list, pr-interface-save):
13187         * novice.el (disabled-command-function)
13188         (enable-command, disable-command):
13189         * mouse.el (mouse-buffer-menu-alist):
13190         * mouse-copy.el (mouse-kill-preserving-secondary):
13191         * macros.el (kbd-macro-query):
13192         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13193         * informat.el (batch-info-validate):
13194         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13195         * hippie-exp.el (try-expand-dabbrev-visible):
13196         * help-mode.el (help-make-xrefs):
13197         * help-fns.el (describe-variable):
13198         * generic-x.el (bat-generic-mode-run-as-comint):
13199         * finder.el (finder-mouse-select):
13200         * find-dired.el (find-dired-sentinel):
13201         * filesets.el (filesets-file-close):
13202         * files.el (list-directory):
13203         * faces.el (list-faces-display, describe-face):
13204         * facemenu.el (list-colors-display):
13205         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13206         * epg.el (epg--process-filter, epg-cancel):
13207         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13208         (epa--read-signature-type):
13209         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13210         (emerge-file-names):
13211         * ehelp.el (electric-helpify):
13212         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13213         * ediff-vers.el (rcs-ediff-view-revision):
13214         * ediff-util.el (ediff-setup):
13215         * ediff-mult.el (ediff-append-custom-diff):
13216         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13217         (ediff-wordify):
13218         * echistory.el (Electric-command-history-redo-expression):
13219         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13220         * disp-table.el (describe-display-table):
13221         * dired.el (dired-find-buffer-nocreate):
13222         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13223         * dabbrev.el (dabbrev--same-major-mode-p):
13224         * chistory.el (list-command-history):
13225         * apropos.el (apropos-documentation):
13226         * allout.el (allout-obtain-passphrase):
13227         (allout-copy-exposed-to-buffer):
13228         (allout-verify-passphrase): Use with-current-buffer.
13230 2009-11-13  Glenn Morris  <rgm@gnu.org>
13232         * Makefile.in (ELCFILES): Regenerate.
13234 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
13236         * net/dbus.el (dbus-registered-objects-table): Rename from
13237         `dbus-registered-functions-table', because it contains also properties.
13238         (dbus-unregister-object): Unregister also properties.
13239         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13240         Use a timeout of 500 msec, in order to not block.
13241         (dbus-register-property, dbus-property-handler): New defuns.
13243 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13245         * simple.el (minibuffer-default-add-completions): Drop deprecated
13246         4th arg.
13248 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
13250         * textmodes/artist.el (artist-mouse-choose-operation):
13251         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13252         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13253         (artist-compute-up-event-key): New function.
13254         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13256 2009-11-13  Kenichi Handa  <handa@m17n.org>
13258         * language/japan-util.el: Make sure that the value of jisx0208
13259         property is jisx0208 character.
13261 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
13263         * international/mule.el (auto-coding-regexp-alist): Only purecopy
13264         car or each item, not the whole list.
13266 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13268         * minibuffer.el (minibuffer-completion-help):
13269         Use minibuffer-hide-completions.
13271 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
13273         * dired.el (dired-save-positions, dired-restore-positions): New funs.
13274         (dired-revert): Use them (bug#4880).
13276 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13278         * tooltip.el (tooltip-frame-parameters): Undo previous change.
13280 2009-11-12  Juri Linkov  <juri@jurta.org>
13282         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13283         New functions.
13284         (find-file-literally-at-point): Alias of `ffap-literally'.
13286 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13288         * textmodes/ispell.el (ispell-skip-region-alist):
13289         * textmodes/css-mode.el (auto-mode-alist):
13290         * progmodes/compile.el (auto-mode-alist):
13291         * international/mule.el (ctext-non-standard-encodings-alist)
13292         (ctext-non-standard-encodings-regexp):
13293         * simple.el (shell-command-switch, text-read-only):
13294         * replace.el (occur-mode-map):
13295         * paths.el (rmail-file-name):
13296         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13297         * find-file.el (ff-special-constructs):
13298         * files.el (file-name-handler-alist):
13299         * composite.el: Purecopy strings.
13301         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13303 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13305         * widget.el (define-widget): Purecopy the docstring.
13306         * international/mule-cmds.el (charset): Do not purecopy the
13307         docstring here, define-widget does it.
13309         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13310         * textmodes/bibtex-style.el (auto-mode-alist):
13311         * progmodes/inf-lisp.el (inferior-lisp-prompt):
13312         * progmodes/compile.el (compile-command):
13313         * language/korea-util.el (default-korean-keyboard):
13314         * international/mule-conf.el (file-coding-system-alist):
13315         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13316         * tooltip.el (tooltip-frame-parameters):
13317         * newcomment.el (comment-end, comment-padding):
13318         * dired.el (dired-trivial-filenames):
13319         * comint.el (comint-file-name-prefix): Purecopy initial values.
13321 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
13323         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13324         (tramp-advice-minibuffer-electric-tilde): Unload advices via
13325         `tramp-unload'.
13326         (tramp-advice-make-auto-save-file-name)
13327         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13328         after removing the advice.
13330 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13332         * progmodes/grep.el (grep-regexp-alist):
13333         * international/mule-cmds.el (iso-2022-control-alist):
13334         * emacs-lisp/timer.el (timer-duration-words):
13335         * subr.el (version-separator, version-regexp-alist):
13336         * minibuffer.el (completion-styles-alist):
13337         * faces.el (face-attribute-name-alist, list-faces-sample-text):
13338         Change defvars to defconsts.
13340         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13341         * loadup.el ("international/mule-conf"): Load the byte compiled version.
13342         * international/mule-conf.el: Allow to be byte compiled.
13344         * international/mule.el (define-charset): Purecopy props.
13345         (load-with-code-conversion): Purecopy doc string and file name.
13346         (put-charset-property): Purecopy strings.
13347         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13349         * international/mule-cmds.el (register-input-method): Purecopy arguments.
13350         (define-char-code-property): Correctly purecopy the table.
13352         * international/ccl.el (define-ccl-program): Purecopy the docstring.
13354         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13356         * subr.el (add-hook): Purecopy strings.
13357         (eval-after-load): Purecopy load-history-regexp and the form.
13359         * custom.el (custom-declare-group): Purecopy load-file-name.
13361         * subr.el (menu-bar-separator): New defconst.
13362         * net/eudc.el (eudc-tools-menu):
13363         * international/mule-cmds.el (set-coding-system-map)
13364         (mule-menu-keymap):
13365         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13366         * vc-hooks.el (vc-menu-map):
13367         * replace.el (occur-mode-map):
13368         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13369         (menu-bar-edit-menu, menu-bar-goto-menu)
13370         (menu-bar-custom-menu, menu-bar-showhide-menu)
13371         (menu-bar-options-menu, menu-bar-tools-menu)
13372         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13373         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13374         (menu-bar-help-menu):
13375         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13376         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13378         * term/x-win.el (x-gtk-stock-map):
13379         * progmodes/vera-mode.el (auto-mode-alist):
13380         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13381         (inferior-lisp-program, inferior-lisp-load-command):
13382         * progmodes/hideshow.el (hs-special-modes-alist):
13383         * progmodes/gud.el (same-window-regexps):
13384         * progmodes/grep.el (grep-program, find-program, xargs-program):
13385         * net/telnet.el (same-window-regexps):
13386         * net/rlogin.el (same-window-regexps):
13387         * language/ethiopic.el (font-ccl-encoder-alist):
13388         * vc-sccs.el (vc-sccs-master-templates):
13389         * vc-rcs.el (vc-rcs-master-templates):
13390         * subr.el (cl-assertion-failed):
13391         * simple.el (next-error-overlay-arrow-position):
13392         * lpr.el (lpr-command):
13393         * locate.el (locate-ls-subdir-switches):
13394         * info.el (same-window-regexps, info)
13395         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13396         * image-mode.el (image-mode, auto-mode-alist):
13397         * hippie-exp.el (hippie-expand-ignore-buffers):
13398         * format.el (format-alist):
13399         * find-dired.el (find-ls-subdir-switches, find-grep-options)
13400         (find-name-arg):
13401         * facemenu.el (facemenu-keybindings):
13402         * dired.el (dired-listing-switches, dired-chown-program):
13403         * diff.el (diff-switches, diff-command):
13404         * cus-edit.el (same-window-regexps):
13405         * bindings.el (mode-line-mule-info)
13406         (mode-line-buffer-identification): Purecopy strings.
13408 2009-11-11  Juri Linkov  <juri@jurta.org>
13410         * simple.el (dired-get-filename) <declare-function>:
13411         Tell the byte-compiler about dired-get-filename.
13412         (shell-command): In Dired mode, get filename from the current line
13413         as the default value.
13415 2009-11-10  Glenn Morris  <rgm@gnu.org>
13417         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13418         * calendar/holidays.el, progmodes/cperl-mode.el:
13419         Update x-popup-menu declarations.
13421         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13422         (list-load-path-shadows): Use dolist.
13423         (list-load-path-shadows): Use with-current-buffer.
13425 2009-11-10  Juri Linkov  <juri@jurta.org>
13427         * minibuffer.el (read-file-name): Support a list of default values
13428         in `default-filename'.  Use the first file name where only one
13429         element is required.  Doc fix.
13431 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
13433         * net/dbus.el (dbus-unregister-object): Release service, if no
13434         other method is registered for it.
13436 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
13438         * bookmark.el (bookmark-completing-read): Sort bookmark names if
13439         bookmark-sort-flag is non-nil (Bug#4653).
13441 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13443         * emulation/cua-base.el: Add CUA property to some CC mode commands
13444         (Bug#4100).
13446 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13448         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13449         at end of sentence (Bug#4818).
13451 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
13453         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13454         Handle "see declaration of" MSFT statements (Bug#4100).
13456 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
13458         * net/tramp.el (tramp-advice-make-auto-save-file-name)
13459         (tramp-advice-file-expand-wildcards): Unload via
13460         `ad-remove-advice'.
13462         * net/trampver.el: Update release number.
13464 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13466         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13467         `ad-do-it'.
13469 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
13471         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13472         in order to keep context in SELinux.
13474 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13476         * dired-aux.el (dired-query): Place cursor in echo area and allow
13477         C-g.
13479         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13480         menu item if not on a directory (Bug#4701).
13482 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
13484         Sync with Tramp 2.1.17.
13486         * net/tramp.el (tramp-handle-copy-directory): Don't use
13487         `file-remote-p' (due to compatibility).
13489         * net/tramp-compat.el (tramp-compat-copy-directory)
13490         (tramp-compat-delete-directory): New defuns.
13492         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13493         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13494         Use `tramp-compat-delete-directory'.
13496         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13497         (tramp-smb-handle-delete-directory):
13498         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13500         * net/trampver.el: Update release number.
13502 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
13504         * tar-mode.el (tar-copy): Call write-region on the right buffer
13505         (Bug#4857).
13507         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13508         by hand, if necessary (Bug#4878).
13510 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
13512         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13513         align size column (Bug#4839).
13515         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13516         statement.
13518 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13520         * progmodes/ld-script.el (auto-mode-alist):
13521         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13523         * cus-face.el (custom-declare-face): Purecopy face spec.
13525 2009-11-06  Kenichi Handa  <handa@m17n.org>
13527         * international/uni-bidi.el: Re-generated.
13528         * international/uni-category.el: Re-generated.
13529         * international/uni-combining.el: Re-generated.
13530         * international/uni-mirrored.el: Re-generated.
13532 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13534         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13535         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13536         (tex-start-options, slitex-run-command, latex-run-command)
13537         (tex-run-command, tex-directory):
13538         * textmodes/ispell.el (ispell-html-skip-alists)
13539         (ispell-tex-skip-alists, ispell-tex-skip-alists):
13540         * textmodes/fill.el (adaptive-fill-first-line-regexp):
13541         (adaptive-fill-regexp):
13542         * textmodes/dns-mode.el (auto-mode-alist):
13543         * progmodes/python.el (interpreter-mode-alist):
13544         * progmodes/etags.el (tags-compression-info-list):
13545         * progmodes/etags.el (tags-file-name):
13546         * net/browse-url.el (browse-url-galeon-program)
13547         (browse-url-firefox-program):
13548         * mail/sendmail.el (mail-signature-file)
13549         (mail-citation-prefix-regexp):
13550         * international/mule-conf.el (eight-bit):
13551         * international/latexenc.el (latex-inputenc-coding-alist):
13552         * international/fontset.el (x-pixel-size-width-font-regexp):
13553         * emacs-lisp/warnings.el (warning-type-format):
13554         * emacs-lisp/trace.el (trace-buffer):
13555         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13556         (emacs-lisp-mode-map):
13557         * calendar/holidays.el (holiday-solar-holidays)
13558         (holiday-bahai-holidays, holiday-islamic-holidays)
13559         (holiday-christian-holidays, holiday-hebrew-holidays)
13560         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13561         (hebrew-holidays-1, holiday-oriental-holidays)
13562         (holiday-general-holidays):
13563         * x-dnd.el (x-dnd-known-types):
13564         * tool-bar.el (tool-bar):
13565         * startup.el (site-run-file):
13566         * shell.el (shell-dumb-shell-regexp):
13567         * rfn-eshadow.el (file-name-shadow-tty-properties)
13568         (file-name-shadow-properties):
13569         * paths.el (remote-shell-program, news-directory):
13570         * mouse.el ([C-down-mouse-3]):
13571         * menu-bar.el (menu-bar-tools-menu):
13572         * jka-cmpr-hook.el (jka-compr-load-suffixes)
13573         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13574         (jka-compr-compression-info-list):
13575         * isearch.el (search-whitespace-regexp):
13576         * image-file.el (image-file-name-extensions):
13577         * find-dired.el (find-ls-option):
13578         * files.el (directory-listing-before-filename-regexp)
13579         (directory-free-space-args, insert-directory-program)
13580         (list-directory-brief-switches, magic-fallback-mode-alist)
13581         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13582         (automount-dir-prefix):
13583         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13584         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13585         (face-font-registry-alternatives, face-font-registry-alternatives)
13586         (face-font-family-alternatives):
13587         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13588         (facemenu-foreground-menu, facemenu-face-menu):
13589         * epa-hook.el (epa-file-name-regexp):
13590         * dnd.el (dnd-protocol-alist):
13591         * textmodes/rst.el (auto-mode-alist):
13592         * button.el (default-button): Purecopy strings.
13594 2009-11-06  Glenn Morris  <rgm@gnu.org>
13596         * Makefile.in (ELCFILES): Update.
13598 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13600         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13601         * emacs-lisp/levents.el: Move to obsolete/levents.el.
13603         * nxml/xsd-regexp.el (xsdre-gen-categories):
13604         * nxml/xmltok.el (xmltok-parse-entity):
13605         * nxml/rng-parse.el (rng-parse-validate-file):
13606         * nxml/rng-maint.el (rng-format-manual)
13607         (rng-manual-output-force-new-line):
13608         * nxml/rng-loc.el (rng-save-schema-location-1):
13609         * nxml/rng-cmpct.el (rng-c-parse-file):
13610         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13611         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13613 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
13615         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13616         Remove extra save-excursions and make-variable-buffer-local's.
13617         Suggested by Stefan Monnier.
13619         (verilog-getopt-file, verilog-module-inside-filename-p)
13620         (verilog-set-define): Merge GNU 1.35 and repair changes from
13621         switching to using with-current-buffer.
13623         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13624         being treated as a number and confusing AUTORESET.
13625         Reported by Dan Dever.
13627         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13628         Add verilog-auto-ignore-concat to fix backward compatibility with
13629         older verilog-modes.  Reported by Dan Katz.
13631         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13632         containing closing anchors "...$".
13634         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13635         Reported by Wade Smith.
13637         (verilog-batch-execute-func): Comment on function usage.
13639 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
13641         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13642         for labels.
13644         (verilog-label-re, verilog-calc-1): Support proper indent of named
13645         asserts.
13647         (verilog-backward-token, verilog-basic-complete-re)
13648         (verilog-beg-of-statement, verilog-indent-re): Support proper
13649         indent of the assert statement at the beginning of a block of text.
13651         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13652         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13653         tokens as begins.
13655 2009-11-05  Glenn Morris  <rgm@gnu.org>
13657         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13658         Emacs 19.  (Bug#1531)
13659         (byte-compile-fix-header): Update for the above change.
13660         Drop test for epoch::version.
13662         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13663         * cus-dep.el (custom-make-dependencies):
13664         * finder.el (finder-compile-keywords):
13665         Use autoload-rubric's feature argument.
13667         * calendar/diary-lib.el (top-level): Make load behave more like require.
13669         * vc-git.el (vc-git-stash-map): Move definition before use.
13671 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
13673         * custom.el (custom-declare-group): Purecopy standard-value.
13674         (custom-declare-group): Purecopy custom-prefix.
13676         * international/mule.el (load-with-code-conversion):
13677         Call do-after-load-evaluation unconditionally.
13679         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13681 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13683         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13685 2009-11-04  Glenn Morris  <rgm@gnu.org>
13687         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13688         (byte-compile-compatibility): Remove option.
13689         (byte-compile-close-variables, byte-compile-fix-header)
13690         (byte-compile-insert-header, byte-compile-output-docform)
13691         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13692         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13693         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13694         (byte-compile-insert, byte-compile-defun):
13695         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
13696         (byte-defop-compiler19): Remove.
13697         Without byte-compile-compatibility, the 'emacs19-opcode property is not
13698         used by anything.  Replace all calls with byte-defop-compiler.
13700 2009-11-04  Juri Linkov  <juri@jurta.org>
13702         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13703         (menu-bar-options-menu): Don't quote the `prop' arg of
13704         `menu-bar-make-mm-toggle'.
13706 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
13708         * calendar/calendar.el (cal-loaddefs):
13709         * calendar/diary-lib.el (diary-loaddefs):
13710         * calendar/holidays.el (hol-loaddefs):
13711         * eshell/esh-module.el (esh-groups): Load rather than require.
13713 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13715         * calendar/todo-mode.el (todo-add-category): Don't hardcode
13716         point-min==1.
13717         (todo-top-priorities): Only display-buffer when called interactively.
13718         (todo-item-start): Don't save excursion point.
13719         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
13720         (todo-insert-item-here, todo-file-item, todo-remove-item):
13721         Adjust uses of todo-item-start and todo-item-end.
13723         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13724         (autoload-rubric): Don't use any more.
13726         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13727         and only put a prop if it is non-nil.
13729 2009-11-03  Juri Linkov  <juri@jurta.org>
13731         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13732         (menu-bar-options-menu): Fix list quoting (Bug#4429).
13734         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13735         and "Menu" to make top-level menu item visually one unit (like
13736         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13737         multi-word menu items).  Fix :help string for quit-window.
13739 2009-11-03  Glenn Morris  <rgm@gnu.org>
13741         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13742         (byte-compile-file-form-define-abbrev-table)
13743         (byte-compile-file-form-custom-declare-variable)
13744         (byte-compile-variable-ref, byte-compile-defvar):
13745         Whether or not a warning is enabled should only affect whether we issue
13746         the warning, not whether or not we collect the relevant data.
13747         Eg warnings can be turned on and off throughout the course of a file.
13749         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13750         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13752 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13754         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13755         * play/mpuz.el (mpuz-create-buffer):
13756         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13757         (lm-print-y,s,noise, lm-print-w0, lm-init):
13758         * play/gomoku.el (gomoku-prompt-for-move):
13759         * play/fortune.el (fortune-in-buffer):
13760         * play/dissociate.el (dissociated-press):
13761         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13762         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13763         * mail/supercite.el (sc-eref-show):
13764         * mail/smtpmail.el (smtpmail-send-it):
13765         * mail/rmailsum.el (rmail-summary-next-labeled-message)
13766         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13767         (rmail-summary-undelete-many, rmail-summary-rmail-update)
13768         (rmail-summary-goto-msg, rmail-summary-expunge)
13769         (rmail-summary-get-new-mail, rmail-summary-search-backward)
13770         (rmail-summary-add-label, rmail-summary-output-menu)
13771         (rmail-summary-output-body):
13772         * mail/rfc822.el (rfc822-addresses):
13773         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13774         * mail/mailpost.el (post-mail-send-it):
13775         * mail/hashcash.el (hashcash-generate-payment):
13776         * mail/feedmail.el (feedmail-run-the-queue)
13777         (feedmail-queue-send-edit-prompt-help-first)
13778         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13779         (feedmail-deduce-address-list):
13780         * eshell/esh-ext.el (eshell-remote-command):
13781         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13782         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13783         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13784         (viper-save-string-in-file, viper-valid-marker):
13785         * emulation/viper-keym.el (viper-toggle-key):
13786         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13787         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13788         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13789         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13790         (viper-exec-form-in-emacs, viper-brac-function):
13791         * emulation/viper.el (viper-delocalize-var):
13792         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13793         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13794         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13795         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13796         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13797         * emulation/edt.el (edt-electric-helpify):
13798         * emulation/cua-rect.el (cua--rectangle-aux-replace):
13799         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13800         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13801         (cua-indent-to-global-mark-column):
13802         * calendar/diary-lib.el (calendar-mark-1):
13803         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13804         Use with-current-buffer.
13805         * emulation/viper.el (viper-delocalize-var): Use dolist.
13807 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
13809         * comint.el (comint-replace-by-expanded-history-before-point):
13810         Replace !! with the previous input string literally (Bug#1795).
13812 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
13814         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13815         to be made up of whitespace.
13817 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
13819         * minibuffer.el (read-file-name): Don't use file dialogs for
13820         remote directories (Bug#99).
13822 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
13824         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13826 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13828         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13829         instead of deleting the window or frame.
13831 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13833         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13834         Support face colors.
13836         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13837         New function.  Support face colors (Bug#1168).
13838         (tex-common-initialization): Use it.
13840         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13841         mode allows it (Bug#1168).
13843 2009-10-31  Juri Linkov  <juri@jurta.org>
13845         * facemenu.el (list-colors-display): Don't mark buffer as
13846         modified (Bug#3948).
13848 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13850         * international/mule-diag.el (list-character-sets-1):
13851         Minor message fix (Bug#3526).
13853         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13854         Fix face property (Bug#4834).
13855         (etags-list-tags, etags-tags-apropos-additional)
13856         (etags-tags-apropos, tags-select-tags-table): Add follow-link
13857         property.
13859         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13860         items.
13862 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13864         * textmodes/two-column.el (2C-split):
13865         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13866         * textmodes/tex-mode.el (tex-set-buffer-directory):
13867         * textmodes/spell.el (spell-region, spell-string):
13868         * textmodes/reftex.el (reftex-erase-buffer):
13869         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13870         * textmodes/reftex-toc.el (reftex-toc-promote-action):
13871         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13872         (reftex-select-item):
13873         * textmodes/reftex-ref.el (reftex-label-info-update)
13874         (reftex-offer-label-menu):
13875         * textmodes/reftex-index.el (reftex-index-change-entry)
13876         (reftex-index-phrases-info):
13877         * textmodes/reftex-global.el (reftex-create-tags-file)
13878         (reftex-save-all-document-buffers, reftex-ensure-write-access):
13879         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13880         (reftex-view-crossref-from-bibtex):
13881         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13882         (reftex-extract-bib-entries-from-thebibliography)
13883         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13884         * textmodes/refbib.el (r2b-capitalize-title):
13885         (r2b-convert-buffer, r2b-help):
13886         * textmodes/page-ext.el (pages-directory)
13887         (pages-directory-goto-with-mouse):
13888         * textmodes/bibtex.el (bibtex-validate-globally):
13889         * textmodes/bib-mode.el (bib-capitalize-title):
13890         * textmodes/artist.el (artist-clear-buffer, artist-system):
13891         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13892         (local-set-scheme-interaction-buffer, xscheme-process-filter)
13893         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13894         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13895         (xscheme-send-control-g-interrupt, xscheme-start-process)
13896         (xscheme-process-sentinel, xscheme-cd):
13897         * progmodes/verilog-mode.el (verilog-read-always-signals)
13898         (verilog-set-define, verilog-getopt-file)
13899         (verilog-module-inside-filename-p):
13900         * progmodes/sh-script.el:
13901         * progmodes/python.el (python-pdbtrack-get-source-buffer)
13902         (python-pdbtrack-grub-for-buffer, python-execute-file):
13903         * progmodes/octave-inf.el (inferior-octave):
13904         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13905         (idlwave-shell-compile-helper-routines, idlwave-set-local)
13906         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13907         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13908         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13909         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13910         (idlwave-shell-filter, idlwave-shell-examine-highlight)
13911         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13912         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13913         (idlwave-shell-examine-display, idlwave-shell-run-region)
13914         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13915         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13916         * progmodes/idlw-help.el (idlwave-help-get-special-help)
13917         (idlwave-help-get-help-buffer):
13918         * progmodes/gud.el (gud-basic-call, gud-find-class)
13919         (gud-tooltip-activate-mouse-motions-if-enabled):
13920         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13921         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13922         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13923         (ebrowse-tags-next-file):
13924         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13925         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13926         (ebnf-eps-finish-and-write):
13927         * progmodes/cpp.el (cpp-edit-save):
13928         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13929         * progmodes/cc-defs.el (c-emacs-features):
13930         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13931         (antlr-directory-dependencies):
13932         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13933         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13934         (ada-find-any-references, ada-make-filename-from-adaname)
13935         (ada-make-body-gnatstub):
13936         * obsolete/rnews.el (news-list-news-groups):
13937         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13938         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13939         * net/rcirc.el (rcirc-debug):
13940         * net/newst-treeview.el (newsticker--treeview-list-add-item)
13941         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13942         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13943         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13944         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13945         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13946         (newsticker--treeview-list-clear-highlight)
13947         (newsticker--treeview-list-update-highlight)
13948         (newsticker--treeview-list-highlight-start)
13949         (newsticker--treeview-tree-update-highlight)
13950         (newsticker--treeview-get-selected-item)
13951         (newsticker-treeview-mark-list-items-old)
13952         (newsticker--treeview-set-current-node):
13953         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13954         * net/newst-backend.el (newsticker--get-news-by-funcall)
13955         (newsticker--get-news-by-wget, newsticker--image-get)
13956         (newsticker--image-sentinel):
13957         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13958         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13959         (eudc-ph-close-session):
13960         * net/eudc.el (eudc-save-options):
13961         * language/thai-word.el (thai-update-word-table):
13962         * language/japan-util.el (japanese-string-conversion):
13963         * international/titdic-cnv.el (tsang-quick-converter)
13964         (ziranma-converter, ctlau-converter):
13965         * international/mule-cmds.el (describe-language-environment):
13966         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13967         (skkdic-convert-postfix, skkdic-convert-prefix):
13968         (skkdic-convert-okuri-nasi, skkdic-convert):
13969         * emacs-lisp/re-builder.el (reb-update-overlays):
13970         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13971         * emacs-lisp/gulp.el (gulp-send-requests):
13972         * emacs-lisp/find-gc.el (trace-call-tree):
13973         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13974         (eieio-describe-generic):
13975         * emacs-lisp/eieio-base.el (eieio-persistent-read):
13976         * emacs-lisp/edebug.el (edebug-outside-excursion):
13977         * emacs-lisp/debug.el (debugger-make-xrefs):
13978         * emacs-lisp/cust-print.el (custom-prin1-to-string):
13979         * emacs-lisp/chart.el (chart-new-buffer):
13980         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13981         Use with-current-buffer.
13982         * textmodes/artist.el (artist-system): Don't call
13983         copy-sequence on a fresh string.
13984         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13986 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
13988         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13989         is no item to edit.  (Bug#4820)
13990         (todo-top-priorities): Restore point and restore narrowing in Todo
13991         buffer.  (Bug#4820)
13993 2009-10-31  Glenn Morris  <rgm@gnu.org>
13995         * net/ange-ftp.el (top-level): Don't require dired when compiling.
13996         (comint-last-output-start, comint-last-input-start)
13997         (comint-last-input-end): Don't defvar when compiling.
13998         (ange-ftp-process-file): Use bound-and-true-p.
14000         * pcmpl-rpm.el (top-level): Move provide statement to end.
14001         (pcmpl-rpm): Remove unused custom group.
14003         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14005         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14007         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14008         (byte-compile-warnings): Add `constants' as an option.
14009         (byte-compile-callargs-warn, byte-compile-arglist-warn)
14010         (display-call-tree): Update for byte-compile-fdefinition possibly
14011         returning `(macro lambda ...)'.  (Bug#4778)
14012         (byte-compile-variable-ref, byte-compile-setq-default):
14013         Respect `constants' member of byte-compile-warnings.
14015 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14017         * vc-bzr.el (vc-bzr-revision-keywords): New var.
14018         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14019         to "submit:".
14021 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
14023         * textmodes/ispell.el (ispell-skip-region-alist):
14024         * international/mule-conf.el (eight-bit):
14025         * international/fontset.el (font-encoding-alist):
14026         * startup.el (pure-space-overflow-message):
14027         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14028         * paths.el (gnus-nntp-service, rmail-spool-directory)
14029         (term-file-prefix):
14030         * files.el (save-some-buffers-action-alist):
14031         * cmuscheme.el (same-window-buffer-names):
14032         * ielm.el (same-window-buffer-names):
14033         * shell.el (same-window-buffer-names):
14034         * mail/sendmail.el (same-window-buffer-names):
14035         * progmodes/inf-lisp.el (same-window-buffer-names):
14036         * bindings.el (mode-line-client)
14037         (mode-line-column-line-number-mode-map):
14038         * language/tibetan.el (tibetan-precomposition-rule-regexp)
14039         (tibetan-precomposed-regexp): Purecopy string arguments.
14041 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14043         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14044         (calcDigit-nondigit):
14045         * calc/calc-yank.el (calc-copy-to-buffer):
14046         * calc/calc-units.el (calc-invalidate-units-table):
14047         * calc/calc-trail.el (calc-trail-yank):
14048         * calc/calc-store.el (calc-insert-variables):
14049         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14050         * calc/calc-prog.el (calc-read-parse-table):
14051         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14052         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14053         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14054         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14055         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14056         (calc-graph-name, calc-graph-find-command, calc-graph-view)
14057         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14058         * calc/calc-ext.el (calc-realign):
14059         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14060         (calc-embedded-finish-edit, calc-embedded-make-info)
14061         (calc-embedded-finish-command, calc-embedded-stack-change):
14062         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14064         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14065         shell-dynamic-complete-filename in preference to
14066         comint-dynamic-complete-filename.
14068         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14069         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14070         Don't consider whether the display supports colors.
14071         (bookmark-import-new-list): Use dolist.
14072         (bookmark-bmenu-mode-map): Move initialization into declaration.
14073         (bookmark-bmenu-list): Use dolist, simplify.
14074         (bookmark-show-all-annotations): Use save-selected-window and dolist.
14075         (menu-bar-final-items): Use push.
14077 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14079         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14080         it works on remote files.
14081         (vc-hg-diff): Don't pass any `--cwd' argument.
14083 2009-10-27  Kevin Ryde  <user42@zip.com.au>
14085         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14086         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14087         (Further to Bug#3921).
14089 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
14091         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14092         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14093         calling `tramp-imap-put-file'.  Add file size to the call.
14094         (tramp-imap-get-file-entries): Compute also user name, file size,
14095         and date.
14096         (tramp-imap-handle-insert-directory): Insert uid and gid.
14097         (tramp-imap-handle-file-attributes): Transform uid and gid
14098         according to `id-format'.
14099         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
14100         size in header X-Size.
14102 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
14104         * simple.el (transpose-subr): Give clearer error when the mark
14105         is not set.  (Bug#4807)
14107 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
14109         * net/tramp.el (tramp-perl-file-truename): New defconst.
14110         Perl code contributed by yary <not.com@gmail.com> (tiny change).
14111         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14112         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14113         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14115         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14116         Ignore `dired-call-process'.
14117         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14119 2009-10-26  Julian Scheid  <julians37@gmail.com>
14121         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14122         (tramp-get-remote-readlink): New defun.
14123         (tramp-handle-file-truename): Use it.
14124         (tramp-handle-file-exists-p): Check file-attributes cache, assume
14125         file exists if cache value present.
14126         (tramp-check-cached-permissions): New defun.
14127         (tramp-handle-file-readable-p): Use it.
14128         (tramp-handle-file-writable-p): Likewise.
14129         (tramp-handle-file-executable-p): Likewise.
14130         (tramp-handle-file-name-all-completions): Try using Perl to get
14131         partial completions.  When perl not available, combine `cd' and
14132         `ls' into single remote operation and use shell expansion to get
14133         partial remote directory contents.  Set `file-exists-p' cache for
14134         directory and any files returned by ls.  Change cache handling to
14135         support partial directory contents.  Use error message emitted by
14136         remote `cd' or Perl code for local tramp-error.
14137         (tramp-do-copy-or-rename-file-directly): Avoid separate
14138         tramp-send-command-and-check call.
14139         (tramp-handle-process-file): Merge three remote ops into one.
14140         Do not flush all caches when `process-file-side-effects' is set.
14141         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14142         file-attributes shows uid/gid to be set already.
14144 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
14146         * textmodes/tex-mode.el (tex-dvi-view-command)
14147         (tex-show-queue-command, tex-open-quote):
14148         * progmodes/ruby-mode.el (auto-mode-alist)
14149         (interpreter-mode-alist): Purecopy strings.
14151         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14153         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14154         string for the hook, keymap and abbrev table.
14156         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14158         * x-dnd.el (x-dnd-xdnd-to-action):
14159         * startup.el (fancy-startup-text, fancy-about-text): Change to
14160         defconst from defvar.
14162         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14164         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14165         Purecopy initialization strings.
14167         * mail/sendmail.el (mail-header-separator)
14168         (mail-personal-alias-file):
14169         * mail/rmail.el (rmail-default-dont-reply-to-names)
14170         (rmail-ignored-headers, rmail-retry-ignored-headers)
14171         (rmail-highlighted-headers, rmail-secondary-file-directory)
14172         (rmail-secondary-file-regexp):
14173         * files.el (null-device, file-name-invalid-regexp)
14174         (locate-dominating-stop-dir-regexp)
14175         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14176         (interpreter-mode-alist): Use mapcar instead of mapc.
14178         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14180         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14181         (completion-ignored-extensions):
14182         (debug-ignored-errors): Purecopy strings.
14184 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14186         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14187         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14188         (pcomplete--here): Use push.
14190         * subr.el (all-completions): Declare the 4th arg obsolete.
14192 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14194         * pcomplete.el (pcomplete-unquote-argument-function): New var.
14195         (pcomplete-unquote-argument): New function.
14196         (pcomplete--common-suffix): Always pay attention to case.
14197         (pcomplete--table-subvert): Quote and unquote the text.
14198         (pcomplete--common-quoted-suffix): New function.
14199         (pcomplete-std-complete): Use it and pcomplete-begin.
14201         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14202         we're inside a dedicated or minibuffer window.
14204 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
14206         * bookmark.el: Update documentation, especially documentation
14207         of `bookmark-alist' and of the bookmark file format.
14208         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
14210 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
14212         * mail/emacsbug.el (report-emacs-bug): Clarify that the
14213         keybindings apply to the mail buffer (Bug#4003).  Shrink help
14214         window to buffer.
14216         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14217         (global-whitespace-mode, global-whitespace-newline-mode)
14218         (whitespace-toggle-options, global-whitespace-toggle-options):
14219         Doc fix (Bug#3660).
14221         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14222         of xmltok-start before the end tag was inserted (Bug#2840).
14224         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14225         patterns that are preceded by an open-paren (Bug#1320).
14227 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
14229         * files.el (delete-directory): Delete symlinks to directories with
14230         delete-file (Bug#4739).
14232 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
14234         * vc.el (vc-backend-for-registration): Rename from
14235         vc-get-backend-for-registration.  Update callers.
14237         * international/mule-cmds.el (set-language-info-alist):
14238         Purecopy lang-env.
14239         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14240         (charset): Purecopy the name.
14241         (define-char-code-property): Purecopy string arguments.
14243         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14244         Purecopy string arguments.
14246         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14247         * ediff-hook.el (menu-bar-ediff-menu):
14248         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14249         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14251 2009-10-24  Glenn Morris  <rgm@gnu.org>
14253         * comint.el (comint-dynamic-list-completions):
14254         * term.el (term-dynamic-list-completions): Use choose-completion rather
14255         than obsolete alias mouse-choose-completion.
14257         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14258         file-cache-choose-completion.
14259         (file-cache-choose-completion): Handle an optional event argument.
14260         (file-cache-mouse-choose-completion): Make it an obsolete alias.
14262         * progmodes/octave-mod.el (octave-complete-symbol):
14263         Use choose-completion if mouse-choose-completion is ever removed.
14265         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14266         use.
14268         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14269         compiler.
14271         * vc-hooks.el (vc-responsible-backend): Fix declaration.
14273 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14275         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14276         Ignore `pred' now that we receive one.
14277         Handle test-completion specially.
14279 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14281         * vc.el (vc-responsible-backend): Throw an error if not backend is
14282         found.  Remove the REGISTER argument.  Move the code dealing with
14283         REGISTER ...
14284         (vc-get-backend-for-registration): ... here.  New function.
14285         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14286         of vc-responsible-backend, pass the file name instead of the
14287         directory name.
14289 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14291         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14292         New funs.
14293         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
14294         (pcomplete-comint-setup): Don't modify a global var via
14295         accidental side-effects.
14296         (pcomplete-shell-setup): Adjust call accordingly.
14297         (pcomplete-parse-comint-arguments): Use push.
14299 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
14301         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14302         Allow uncapitalized info node names (Bug#3921).
14304         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14305         to the DEBUG file (Bug#3781).
14307 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
14309         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14310         dictionary entry (Bug#4579).
14312 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
14314         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14315         from `rfn-eshadow-update-overlay-hook' when unloading.
14316         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14317         "rsyncc".  Adjust doc string.
14318         (tramp-temp-buffer-file-name): New buffer-local defvar.
14319         (tramp-handle-insert-file-contents, tramp-handle-write-region):
14320         Keep temporary file when indicated by method ("rsync" and
14321         "rsyncc").
14322         (tramp-handle-write-region): Handle APPEND.
14323         (tramp-delete-temp-file-function): New defun.  Added to
14324         `kill-buffer-hook'.
14326 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
14328         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14330 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14332         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14333         (color-name-rgb-alist, tty-standard-colors)
14334         (tty-color-mode-alist): Change to defconst.
14336         * simple.el (mark-inactive): Purecopy message.
14338         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14339         (global-map, yank-menu):
14340         * textmodes/ispell.el (ispell-menu-map):
14341         * net/eudc.el (eudc-tools-menu):
14342         * international/mule-cmds.el (describe-language-environment-map)
14343         (setup-language-environment-map, set-coding-system-map)
14344         (mule-menu-keymap):
14345         * vc-hooks.el (vc-menu-entry, vc-menu-map):
14346         * replace.el (occur-mode-map):
14347         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14349 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
14351         * calc/calc.el (math-read-number, math-read-number-simple):
14352         Use `save-match-data'.
14354 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14356         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14357         rather than fiddling with global-map bindings, since it should only
14358         affect per-terminal settings.
14359         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14361         * minibuffer.el (completion-table-with-terminator): Allow to specify
14362         the terminator-regexp.
14364         * simple.el (switch-to-completions): Look for *Completions* in other
14365         frames as well.
14367         * pcomplete.el: Allow the use of completion-tables.
14368         (pcomplete-std-complete): New command.
14369         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14370         (pcomplete--here): Use a function for `form' rather than an expression,
14371         so it can be byte-compiled.
14372         (pcomplete-here, pcomplete-here*): Adjust accordingly.
14373         Add edebug declaration.
14374         (pcomplete-show-completions): Remove unused var `curbuf'.
14375         (pcomplete-do-complete, pcomplete-stub):
14376         Don't assume `completions' is a list of strings any more.
14378 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
14380         * find-dired.el (find-name-arg): Fix typo in docstring.
14382 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14384         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14385         (pcmpl-linux-fs-types): Same, and update to new modules layout.
14387         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14388         pcomplete-entries.
14390         * comint.el (comint-read-input-ring, comint-write-input-ring)
14391         (comint-substitute-in-file-name)
14392         (comint-dynamic-complete-as-filename)
14393         (comint-dynamic-simple-complete)
14394         (comint-dynamic-list-filename-completions)
14395         (comint-dynamic-list-completions)
14396         (comint-redirect-results-list-from-process): Minor simplifications.
14398 2009-10-21  Kevin Ryde  <user42@zip.com.au>
14400         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14401         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14402         the first form.  And insert a blank line after ";;; Code" since
14403         that's usual style.  (Bug#4612)
14405         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14407 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14409         * minibuffer.el (completion-table-with-terminator): Properly implement
14410         boundaries, in case `terminator' appears in the suffix.
14411         (completion--embedded-envvar-table): Don't return boundaries if
14412         there's no valid completion.  Simplify.
14413         (completion-file-name-table): New completion table extracted from
14414         completion--file-name-table.
14415         (completion--file-name-table): Use it.
14416         (read-file-name-predicate): Declare obsolete.
14417         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14418         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14419         completion-file-name-table, and use the `pred' argument.
14420         * files.el (locate-file-completion-table): Use the `pred' arg rather
14421         than read-file-name-predicate.
14422         (abbreviate-file-name): Use \` rather than ^ for BOS.
14424 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
14426         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14427         vc-responsible-backend to register, it causes problems.
14429 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14431         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14433 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
14435         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14436         (tramp-smb-handle-file-attributes): Use it.
14437         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14438         (tramp-smb-handle-insert-directory): Use `mapc' rather than
14439         `mapcar'.  Use `tramp-smb-get-stat-capability'.
14440         Add `dired-filename' text properties.
14441         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14442         (tramp-smb-maybe-open-connection): Simplify check for smbclient
14443         version.
14445 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14447         * subr.el (read-key-delay): Reduce to 0.01.
14448         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14449         (bug#4751).
14451 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14453         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14455         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14456         (Info-menu): Remove unused vars `last' and `completions'.
14457         (Info-index-nodes): Remove unused var `node'.
14459         * info.el (Info-complete-menu-item): Use complete-with-action.
14461 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
14463         Make vc-annotate work through copies and renames.
14464         * vc-annotate.el (vc-annotate-extract-revision-at-line):
14465         Return the file name too.
14466         (vc-annotate-revision-at-line)
14467         (vc-annotate-find-revision-at-line)
14468         (vc-annotate-revision-previous-to-line)
14469         (vc-annotate-show-log-revision-at-line): Update to get the file
14470         name from vc-annotate-extract-revision-at-line.
14471         (vc-annotate-show-diff-revision-at-line-internal): Change the
14472         argument to mean whether to show a file diff or not.  Get the file
14473         name from vc-annotate-extract-revision-at-line.
14474         (vc-annotate-show-diff-revision-at-line):
14475         Update vc-annotate-show-diff-revision-at-line call.
14476         (vc-annotate-warp-revision): Add an optional file argument.
14478         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14479         (vc-git-annotate-extract-revision-at-line): Also return the file
14480         name if found.
14482         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14483         command.  Remove unused code.
14484         (vc-hg-annotate-re): Update to match --follow output.
14485         (vc-hg-annotate-extract-revision-at-line): Also return the file
14486         name if found.
14488         * vc.el: Update annotate-extract-revision-at-line documentation.
14490 2009-10-18  Kevin Ryde  <user42@zip.com.au>
14492         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14493         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14495         * net/browse-url.el (browse-url): Identify alist with "consp and
14496         not functionp" and let all other things go down the `apply' leg,
14497         as suggested by Stefan.  (Further to bug#4531.)
14499 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
14501         * minibuffer.el (read-file-name): Check for repeat before putting
14502         a default argument in file-name-history (Bug#4657).
14504         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14505         read syntax (Bug#4737).
14507         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14509 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14511         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14512         (html-tag-alist, html-tag-help): Add descriptions for undocumented
14513         entries and make note of obsolete tags.
14515 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14517         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14519 2009-10-18  Glenn Morris  <rgm@gnu.org>
14521         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14522         grep, so that binary files (eg international/uni-bidi.el) can match.
14523         Remove test for "UnicodeData" files, since it is hopefully unnecessary
14524         now, and in any case the file header format has changed.
14526 2009-10-17  Glenn Morris  <rgm@gnu.org>
14528         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14529         (flyspell-get-word, flyspell-large-region)
14530         (flyspell-auto-correct-previous-word): Doc/error message fixes.
14532 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
14534         * Makefile.in (ELCFILES): Add ede/shell.
14536 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
14538         * term/common-win.el (x-colors): Purecopy it.
14540 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14542         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14543         permissive for when the buffer is empty.
14544         (tar-header-block-tokenize): Decode the username and groupname.
14545         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14547 2009-10-17  Eric Ludlam  <zappo@gnu.org>
14549         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14550         contains multibyte characters, choose first applicable coding
14551         system automatically.
14553 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14555         * international/mule-cmds.el (select-safe-coding-system): If the file
14556         has a coding cookie, use it regardless of any other setting (bug#4712).
14558 2009-10-17  Glenn Morris  <rgm@gnu.org>
14560         * foldout.el (foldout-mouse-swallow-events):
14561         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14563         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14564         (dired-keep-marker-copy, dired-keep-marker-hardlink)
14565         (dired-keep-marker-symlink, dired-dwim-target)
14566         (dired-copy-preserve-time): Do not autoload these defcustoms.
14568         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14569         messages from messing up the file coding.  (Bug#4623)
14571 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
14573         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14574         if no match is found for the current dictionary.  (Bug#4578)
14576         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14577         optional, since that is how it is documented, and this is often called
14578         with a nil argument.  (Bug#4577)
14579         (flyspell-external-point-words, flyspell-auto-correct-word)
14580         (flyspell-correct-word-before-point, flyspell-word-search-forward)
14581         (flyspell-word-search-backward): Remove nil argument in calls to
14582         flyspell-get-word, since it is not needed now.
14584 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
14586         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
14588 2009-10-16  Glenn Morris  <rgm@gnu.org>
14590         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14592 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
14594         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14595         (ange-ftp-file-size): New function.
14596         (ange-ftp-file-attributes): Use it.
14598 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
14600         * net/tramp-smb.el (tramp-smb-version): New defvar.
14601         (tramp-smb-maybe-open-connection): Use it, in order to avoid
14602         repeated checks.
14604 2009-10-16  Glenn Morris  <rgm@gnu.org>
14606         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14607         Maybe copy some custom properties from old to new name.  (Bug#4706)
14609 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
14611         * subr.el (error, sit-for, start-process-shell-command)
14612         (start-file-process-shell-command): Set the calling convention
14613         after the function definition.
14615 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14617         * subr.el (error, sit-for, start-process-shell-command)
14618         (start-file-process-shell-command): Use the new
14619         set-advertised-calling-convention feature.
14621 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
14623         * international/ucs-normalize.el (ucs-normalize-version):
14624         Change to 1.2.
14625         (check-range): Adjust for Unicode 5.2.
14627 2009-10-15  Juri Linkov  <juri@jurta.org>
14629         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14630         to the `menu-item' format.
14632 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
14634         * net/tramp.el (tramp-replace-environment-variables): Do not fail
14635         if the environment variable does not exist.
14637         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14638         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14639         parameter.
14640         (tramp-smb-handle-add-name-to-file)
14641         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14642         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14643         (tramp-smb-handle-file-attributes)
14644         (tramp-smb-do-file-attributes-with-stat)
14645         (tramp-smb-handle-file-local-copy)
14646         (tramp-smb-handle-insert-directory)
14647         (tramp-smb-handle-make-directory)
14648         (tramp-smb-handle-make-directory-internal)
14649         (tramp-smb-handle-make-symbolic-link)
14650         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14651         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14652         (tramp-smb-maybe-open-connection): Apply the changed parameters.
14653         (tramp-smb-read-file-entry): Read Disk names in compressed format.
14654         Handle long file names.
14655         (tramp-smb-get-cifs-capabilities): Check, whether the connection
14656         process is running.
14657         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14658         Read share names with "-g" option.
14660 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
14662         * net/rcirc.el (rcirc-view-log-file): New command.
14663         (rcirc-track-minor-mode-map): Remove C-c ` binding.
14664         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14665         specified.
14667 2009-10-15  Glenn Morris  <rgm@gnu.org>
14669         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14670         from the second command-line argument.
14671         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14672         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14673         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14674         w32-batch-update-autoloads.
14675         * emacs-lisp/autoload.el (autoload-make-program): New variable.
14676         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14678         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14679         the headers cannot be located.  Simplify, subtracting superflous
14680         save-excursions.
14682 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14684         Replace completion-base-size by completion-base-position to fix bugs
14685         such as (bug#4699).
14686         * simple.el (completion-base-position): New var.
14687         (completion-base-size): Mark as obsolete.
14688         (choose-completion): Make it work for mouse events as well.
14689         Pass the new base-position to choose-completion-string.
14690         (choose-completion-guess-base-position): New function, extracted from
14691         choose-completion-delete-max-match.
14692         (choose-completion-delete-max-match): Use it.  Make obsolete.
14693         (choose-completion-string): Use the new base-position info.
14694         (completion-root-regexp): Delete.
14695         (completion-setup-function): Preserve completion-base-position.
14696         Eliminate obsolete base-size manipulation.
14697         * minibuffer.el (display-completion-list): Don't mess with base-size.
14698         (minibuffer-completion-help): Set completion-base-position instead.
14699         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14700         choose-completion.
14701         * textmodes/bibtex.el (bibtex-complete):
14702         * emacs-lisp/crm.el (crm--choose-completion-string):
14703         Adjust to new calling convention.
14704         * complete.el (partial-completion-mode): Use minibufferp to avoid
14705         bumping into incompatible change to choose-completion-string-functions.
14706         * ido.el (ido-choose-completion-string): Make its calling convention
14707         more permissive.
14708         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14709         base-size manipulation.
14710         (comint-dynamic-list-input-ring): Use dotimes and push.
14711         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14712         fundamental-mode.  Use `or'.
14714 2009-10-14  Juri Linkov  <juri@jurta.org>
14716         * misearch.el (multi-isearch-next-buffer-from-list)
14717         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
14719 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14721         * Makefile.in (compile-onefile): Load `bytecomp' rather than
14722         `bytecomp.el'.
14724         * minibuffer.el (completion-pcm--merge-completions): Make sure the
14725         string we return is all made up of text from the completions rather
14726         than part from the completions and part from the input (bug#4219).
14728         * ido.el (ido-everywhere): Use define-minor-mode.
14730         * buff-menu.el (list-buffers, ctl-x-map):
14731         Mark the entry points with ;;;###autoload cookies.
14733 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
14735         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14736         correctly in the detached head case.
14737         (vc-git-print-log): Remove unused binding.
14739         * vc.el (vc-responsible-backend): When a directory is passed for
14740         for registration create a VC repository if no backend is
14741         responsible for the directory argument.
14742         (vc-deduce-fileset): Tell vc-responsible-backend to register.
14744         * vc.el: Move comments about RCS and SCCS ...
14745         * vc-rcs.el:
14746         * vc-sccs.el: ... here, respectively.
14748 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14750         * minibuffer.el (completion--file-name-table): Return nil if there's
14751         no file completion, even if substitute-in-file-name changed
14752         the string (bug#4708).
14754 2009-10-13  Juri Linkov  <juri@jurta.org>
14756         * files-x.el (read-file-local-variable-value): Don't filter out
14757         minor modes from mode name completion (bug#4664).
14759 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14761         * international/mule-cmds.el (ucs-names): Remove exclusion of
14762         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14764 2009-10-13  Kenichi Handa  <handa@m17n.org>
14766         * international/uni-name.el: Regenerated.
14768 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14770         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
14771         should be automatically buffer-local, but isn't.)
14773 2009-10-12  Sam Steingold  <sds@gnu.org>
14775         * progmodes/compile.el (compilation-next-error-function): Fix the
14776         timestamps if the buffer has been visited before.
14777         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14778         non-anchored patterns, like the perl one (bug#3928).
14780 2009-10-12  Glenn Morris  <rgm@gnu.org>
14782         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14783         Let-bind `size'.
14785 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
14787         * proced.el (proced-unload-function): New function.
14789         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14790         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14791         Doc fix.
14793         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14795 2009-10-11  Juri Linkov  <juri@jurta.org>
14797         * files-x.el (read-file-local-variable-value):
14798         Provide default value only for bound variables (bug#4664).
14800 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
14802         * net/tramp.el (tramp-local-host-p): Function shall return nil for
14803         connection methods like smb.
14805         * net/tramp-cache.el (tramp-flush-connection-property): The hash
14806         can be empty.
14808         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14809         (tramp-smb-file-name-handler-alist): Add handlers for
14810         `add-name-to-file', `make-symbolic-link'.
14811         (tramp-smb-handle-add-name-to-file)
14812         (tramp-smb-do-file-attributes-with-stat)
14813         (tramp-smb-handle-make-symbolic-link)
14814         (tramp-smb-get-cifs-capabilities): New defuns.
14815         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14816         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14817         (tramp-smb-handle-file-local-copy)
14818         (tramp-smb-handle-make-directory-internal)
14819         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14820         The file name syntax depends on cifs capabilities.
14821         (tramp-smb-handle-file-attributes):
14822         Call `tramp-smb-do-file-attributes-with-stat' if possible.
14823         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14824         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14826 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
14828         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14829         (eieio-defclass): Apply deftype handler and setf-method properties
14830         directly.
14831         (eieio-add-new-slot): Avoid union function from cl library.
14832         (eieio--typep): New function.
14833         (eieio-perform-slot-validation): Use it.
14835 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
14837         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14838         Update documentation to refer to the variables documented in r1.135.
14839         (Bug#4188)
14841 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
14843         * bookmark.el (Info-suffix-list): Remove this unused variable.
14844         (bookmark-current-point): Remove this obsolete variable.
14845         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14846         Adjust for removal of bookmark-current-point.
14848         (bookmarks-already-loaded, bookmark-current-buffer)
14849         (bookmark-yank-point): Document.  (Bug#4188)
14851 2009-10-10  Glenn Morris  <rgm@gnu.org>
14853         * frame.el (frame-height): Doc fix.
14855         * calendar/calendar.el (calendar-split-width-threshold): New option.
14856         (calendar-basic-setup): Use calendar-split-width-threshold.
14858 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
14860         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14861         Ideographic Supplement" range (U+1F200..U+1F2FF).
14863 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14865         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14866         since the list will have been rebuilt anyway.  (Bug#4349)
14868 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14870         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14871         (bookmark-bmenu-execute-deletions): Don't save here, as
14872         bookmark-delete will now do so if necessary.
14873         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14874         (Bug#4348)
14876 2009-10-09  Glenn Morris  <rgm@gnu.org>
14878         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14880 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14882         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14883         (bookmark-jump-other-window): Just invoke bookmark-jump with new
14884         argument now, so the two function's behaviors will match.  (Bug#3645)
14886 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
14888         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14889         (tramp-file-name-real-host, tramp-file-name-port):
14890         Apply `save-match-data'.
14892         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14893         case both directories are remote.
14894         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14895         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14897 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
14899         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14901 2009-10-07  Glenn Morris  <rgm@gnu.org>
14903         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14904         of concat.
14906 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14908         * files-x.el (read-file-local-variable): Include some
14909         non-user-variables in the completion table (bug#4664).
14911 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
14913         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14914         message.
14916         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14917         (tramp-smb-file-name-handler-alist): Add handler for
14918         `copy-directory', `expand-file-name', `set-file-modes'.
14919         (tramp-smb-handle-copy-directory)
14920         (tramp-smb-handle-expand-file-name)
14921         (tramp-smb-handle-set-file-modes): New defuns.
14922         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14923         (tramp-smb-handle-file-attributes): Simplify check for retrieving
14924         entry.
14925         (tramp-smb-handle-insert-directory): Don't flush the cache.
14926         (tramp-smb-maybe-open-connection): Check for samba client and
14927         server versions.
14929 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
14931         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14932         to not error out of search for "^lisp=" fails.
14934 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
14936         * makefile.w32-in (WINS_UPDATES): New macro.
14937         (custom-deps, finder-data, autoloads): Use it.
14939 2009-10-07  Glenn Morris  <rgm@gnu.org>
14941         * Makefile.in (autoloads): Revert previous change.
14942         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14943         the list of preloaded files passed on the command-line, get
14944         it from src/Makefile.
14946         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14947         show the original buffer rather than a random one.
14949 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
14951         * help.el (describe-no-warranty): Place point in a slightly better
14952         position in the GPLv3 text.
14954 2009-10-06  Sam Steingold  <sds@gnu.org>
14956         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14957         the comm attribute is present before calling regexp-quote.
14959 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
14961         * play/animate.el (animate-string): For good effect, make sure
14962         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14964         * play/animate.el (animate-sequence, animate-birthday-present):
14965         * misc.el (butterfly): Don't set `indent-tabs-mode'.
14967 2009-10-06  Glenn Morris  <rgm@gnu.org>
14969         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14971         * emacs-lisp/autoload.el (autoload-excludes): New variable.
14972         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14973         (batch-update-autoloads): Process a string value of autoload-excludes,
14974         set during the build process.
14975         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
14977         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14978         inside with-parsed...  macro so that `v' is defined.
14980         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14981         * progmodes/fortran.el (fortran-end-of-block)
14982         (fortran-beginning-of-block):
14983         Also push mark in the macro case.
14985         * emerge.el (emerge-show-file-name):
14986         * calc/calc.el (calc-quit):
14987         * calc/calc-misc.el (calc-big-or-small):
14988         * calc/calc-graph.el (calc-graph-view):
14989         * calc/calc-ext.el (calc-reset):
14990         * calendar/calendar.el (calendar-basic-setup):
14991         Use window-full-height-p.
14993         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14994         header we don't understand, don't insert another.  (Bug#4624)
14995         If changing mime charset, insert the new one in the right place.
14997 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
14999         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15000         (cal-tex-cursor-month): Correctly increment the end date for diary and
15001         holiday listing.  (Bug#4626)
15003 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15005         * help-fns.el (describe-function-1): Don't burp if the function is not
15006         a symbol.
15008 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
15010         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15011         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15012         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15013         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15015         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15016         (eieio-default-superclass): Reflow docstrings.
15017         (this, class-option-assoc, defclass, eieio-class-un-autoload)
15018         (eieio-unbind-method-implementations, defmethod)
15019         (eieio-validate-slot-value, eieio-validate-class-slot-value)
15020         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15021         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15022         (eieio-slot-originating-class-p, eieio-slot-name-index)
15023         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15024         (constructor, initialize-instance, no-next-method, object-print)
15025         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15026         Fix typos in docstrings.
15027         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15028         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15029         (next-method-p): Doc fixes.
15030         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15031         Fix typos in error messages.
15032         (eieio-defmethod): Fix typo in description of generic method.
15034         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15035         (eieio-persistent-save-interactive, slot-missing):
15036         Fix typos in docstrings.
15037         (eieio-instance-inheritor-slot-boundp): Doc fix.
15039         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15040         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15042         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15043         (eieio-custom-object-apply-reset):
15044         Fix typos in docstrings and error messages.
15046         * emacs-lisp/eieio-datadebug.el (data-debug-show):
15047         Fix typo in docstring.
15049         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15050         (eieio-browse-tree): Doc fix.
15051         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15052         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15053         Fix typos in docstrings.
15055         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15056         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15057         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15058         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15059         Reflow docstrings.
15061 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
15063         * vc-hg.el (log-view-vc-backend): Declare for compiler.
15064         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15065         Set log-view-vc-backend so that diff can work.
15067         * log-view.el (log-view-diff): Use vc-diff-internal instead of
15068         vc-version-diff.
15069         (vc-diff-internal): Autoload this instead of vc-version-diff.
15071 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
15073         * simple.el (eval-expression): Doc fix.
15075         * progmodes/cwarn.el (cwarn-mode): Doc fix.
15077 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
15079         * files.el (directory-files-no-dot-files-regexp): New defconst.
15080         (delete-directory): Use it.
15081         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
15083         * net/tramp.el (tramp-verbose): Fix docstring.
15084         (tramp-methods): Add recursive option to `tramp-copy-args'.
15085         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
15086         "scp1_old", "scp2_old", "rsync", "rsyncc".
15087         (tramp-default-method): Check also for `auth-source-user-or-password'.
15088         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15089         Add handler for `copy-directory'.
15090         (tramp-handle-copy-directory): New defun.
15091         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15092         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15093         Optimize sent command.
15095 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15097         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15098         window if necessary.
15100         * calendar/calendar.el (calendar-basic-setup): Don't call
15101         switch-to-buffer in a dedicated window.
15103 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
15105         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15106         don't do anything related to relocating, just return nil.
15107         (bookmark-error-no-filename): New error.
15108         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15109         bookmark has no file.  Don't even attempt to handle things that
15110         are not files; the whole point of custom handlers is to keep that
15111         knowledge elsewhere anyway.  Tighten some comments.
15112         (bookmark-file-or-variation-thereof): Remove now-unused function.
15113         (bookmark-location): Doc string fix.
15114         (Bug#4250)
15116 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15118         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15119         don't use a file dialog, because they usually don't know how to read
15120         a directory target from the user.  (Bug#4230)
15121         Also, make sure the prompt can display directories as well as files.
15123 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15125         * bookmark.el (bookmark-set, bookmark-buffer-name):
15126         Improve doc strings.  (Bug#1193)
15128 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15130         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15131         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15132         (bookmark-get-annotation, bookmark-set-annotation)
15133         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15134         (bookmark-set-position, bookmark-get-front-context-string)
15135         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15136         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15137         (bookmark-jump-other-window, bookmark-handle-bookmark)
15138         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15139         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15140         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15141         Improve doc strings to say whether bookmark can be a string or
15142         a record or both, and make other consistency and clarity fixes.
15143         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15144         (bookmark-default-annotation-text, bookmark-yank-word)
15145         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15146         (bookmark-import-new-list, bookmark-maybe-rename)
15147         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15148         (bookmark-bmenu-bookmark): Give these doc strings.
15149         (bookmark-bmenu-check-position): Give this a doc string, but also
15150         add a FIXME comment about how the function may be pointless.
15151         (bookmark-default-handler): Rework doc string and change a
15152         parameter name, to clarify that this takes a bookmark record
15153         not a bookmark name.
15154         (bookmark-set): Change a parameter name to indicate its meaning,
15155         and improve the doc string a bit.
15156         (Bug#4188)
15158 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15160         * bookmark.el (bookmark-alist): Document the new `handler' element
15161         in the param alist.
15162         (bookmark-make-record-function): Adjust documentation for above.
15163         (Bug#4193)
15165 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15167         * info.el (Info-bookmark-make-record): Document this function.
15168         (Info-bookmark-jump): Document with a doc string, not just a comment.
15169         (Bug#4203)
15171 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
15173         * files.el (copy-directory): New defun.
15175         * dired-aux.el (dired-copy-file-recursive): Use it.
15177 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
15179         * files-x.el (modify-dir-local-variable)
15180         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15181         docstrings.
15183         * recentf.el (recentf-unload-function): New function.
15185 2009-10-04  Glenn Morris  <rgm@gnu.org>
15187         * window.el (window-full-height-p): Add doc string.
15189 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
15191         * window.el (window-full-height-p): New function.  (Bug#4543)
15193 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
15195         * vc.el: Remove commented out code.
15196         (vc-derived-from-dir-mode): Remove, unused.
15197         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15199 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
15201         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15202         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
15203         there could be recursive loading when `default-directory' is a
15204         remote file name.  (Bug#4614)
15206 2009-10-03  Glenn Morris  <rgm@gnu.org>
15208         * calendar/calendar.el (calendar-basic-setup): Handle the case where
15209         the frame is wide.
15210         (calendar-generate-window): Test for shrinkability rather than width.
15212         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15213         reusing existing buffers, in case we happen to visit two files with the
15214         same basename.  (Bug#4593)
15216 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15218         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15219         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15220         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15221         subdirs of cedet as well.
15222         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15224 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15226         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15227         Obey advertised-signature-table.
15229         * help-fns.el (help-function-arglist): Don't check
15230         advertised-signature-table.
15231         (describe-function-1): Do it here instead so it also applies to subrs.
15233 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
15235         * simple.el (start-file-process): Say in the doc-string, that file
15236         handlers might not support pty association, if PROGRAM is nil.
15238         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15239         HOST and USER are strings.  They are nil, when there are
15240         incomplete entries in ~/.netrc, for example.
15241         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
15242         root directory ("device busy" error otherwise).
15244         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15245         Flush file properties of created directory.
15247 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15249         * makefile.w32-in (WINS_BASIC): Remove cedet.
15250         (WINS_CEDET): Add cedet.
15251         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15253 2009-10-02  Kevin Ryde  <user42@zip.com.au>
15255         * net/browse-url.el (browse-url): Pass any symbol in
15256         browse-url-browser-function to `apply', since if you've mistakenly put
15257         an unbound symbol then the error is clearer.  (Bug#4531)
15259 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15261         * allout.el (allout-init, allout-back-to-current-heading)
15262         (allout-beginning-of-current-entry, allout-ascend-to-depth)
15263         (allout-ascend, allout-up-current-level, allout-end-of-level)
15264         (allout-previous-visible-heading, allout-forward-current-level)
15265         (allout-backward-current-level, allout-show-children):
15266         * apropos.el (apropos-describe-plist):
15267         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15268         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15269         * completion.el (add-completion, add-permanent-completion):
15270         * descr-text.el (describe-text-category, describe-char):
15271         * desktop.el (desktop-lazy-abort):
15272         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15273         * dired.el (dired-build-subdir-alist):
15274         * ediff.el (ediff-version):
15275         * elide-head.el (elide-head, elide-head-show):
15276         * emerge.el (emerge-version):
15277         * env.el (getenv):
15278         * face-remap.el (variable-pitch-mode):
15279         * faces.el (describe-face):
15280         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15281         (dired-at-point):
15282         * files.el (find-file-existing, auto-save-mode):
15283         * font-lock.el (font-lock-fontify-buffer):
15284         * help-fns.el (describe-function, describe-variable)
15285         (describe-syntax, describe-categories):
15286         * help.el (view-lossage, describe-bindings, describe-key)
15287         (describe-mode):
15288         * hexl.el (hexl-current-address):
15289         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15290         * info.el (Info-goto-emacs-key-command-node):
15291         * log-edit.el (log-edit-insert-cvs-template)
15292         (log-edit-insert-cvs-rcstemplate):
15293         * menu-bar.el (menu-bar-mode):
15294         * mouse.el (mouse-appearance-menu):
15295         * newcomment.el (comment-indent-new-line):
15296         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15297         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15298         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15299         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15300         * recentf.el (recentf-mode):
15301         * savehist.el (savehist-mode, savehist-save):
15302         * shadowfile.el (shadow-copy-files):
15303         * simple.el (kill-ring-save, next-line, previous-line)
15304         (normal-erase-is-backspace-mode):
15305         * strokes.el (strokes-update-window-configuration)
15306         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15307         (strokes-xpm-for-stroke):
15308         * time.el (emacs-uptime, emacs-init-time):
15309         * tutorial.el (tutorial--describe-nonstandard-key)
15310         (tutorial--detailed-help):
15311         * type-break.el (type-break-mode)
15312         (type-break-mode-line-message-mode, type-break-query-mode)
15313         (type-break-guesstimate-keystroke-threshold):
15314         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15315         * version.el (emacs-version):
15316         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15317         * winner.el (winner-mode):
15318         * calendar/timeclock.el (timeclock-in, timeclock-out)
15319         (timeclock-status-string, timeclock-change)
15320         (timeclock-workday-remaining-string)
15321         (timeclock-workday-elapsed-string)
15322         (timeclock-when-to-leave-string):
15323         * calendar/todo-mode.el (todo-add-category):
15324         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15325         * emacs-lisp/autoload.el (update-file-autoloads):
15326         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15327         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15328         (checkdoc-message-text, checkdoc-defun):
15329         * emacs-lisp/debug.el (debugger-list-functions):
15330         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15331         * emacs-lisp/eieio-opt.el (eieio-describe-class)
15332         (eieio-describe-generic):
15333         * emacs-lisp/lisp-mnt.el (lm-synopsis):
15334         * emacs-lisp/shadow.el (list-load-path-shadows):
15335         * emulation/cua-base.el (cua-mode):
15336         * emulation/edt.el (edt-set-scroll-margins):
15337         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15338         (tpu-toggle-regexp, tpu-toggle-search-direction)
15339         (tpu-toggle-rectangle, tpu-toggle-control-keys):
15340         * emulation/tpu-extras.el (tpu-set-scroll-margins):
15341         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15342         (viper-set-parsing-style-toggling-macro)
15343         (viper-set-emacs-state-searchstyle-macros):
15344         * emulation/viper.el (viper-set-hooks):
15345         * eshell/esh-mode.el (eshell-truncate-buffer):
15346         * international/mule-cmds.el (prefer-coding-system)
15347         (describe-input-method, describe-language-environment):
15348         * international/mule-diag.el (list-character-sets)
15349         (describe-character-set, describe-coding-system)
15350         (describe-fontset, list-fontsets, list-input-methods):
15351         * mail/sendmail.el (mail-signature):
15352         * net/ange-ftp.el (ange-ftp-copy-file):
15353         * net/browse-url.el (browse-url):
15354         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15355         * net/quickurl.el (quickurl-add-url):
15356         * net/rcirc.el (names, topic):
15357         * net/xesam.el (xesam-mode):
15358         * play/5x5.el (5x5-new-game):
15359         * play/yow.el (apropos-zippy):
15360         * progmodes/ada-mode.el (ada-mode-version):
15361         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15362         (f90-end-of-block)
15363         (f90-beginning-of-block):
15364         * progmodes/fortran.el (fortran-end-of-block)
15365         (fortran-beginning-of-block):
15366         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15367         * progmodes/python.el (python-describe-symbol, python-shell):
15368         * term/ns-win.el (ns-print-buffer):
15369         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15370         * textmodes/flyspell.el (flyspell-mode-on):
15371         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15372         (pages-directory-for-addresses):
15373         * textmodes/table.el (table-recognize-cell)
15374         (table-query-dimension, table-generate-source)
15375         (table-insert-sequence, table--warn-incompatibility):
15376         * textmodes/tex-mode.el (tex-validate-buffer):
15377         * textmodes/texinfmt.el (texinfmt-version)
15378         (texinfo-format-buffer):
15379         Use `called-interactively-p' instead of `interactive-p'.
15381 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15383         * image-mode.el (image-toggle-display):
15384         * emacs-lisp/elp.el (elp-instrument-function):
15385         * emacs-lisp/advice.el (ad-make-advised-definition):
15386         * emacs-lisp/easy-mmode.el (define-minor-mode):
15387         * net/browse-url.el (browse-url-maybe-new-window):
15388         * progmodes/sh-script.el (sh-learn-buffer-indent):
15389         Pass new argument 'any to `called-interactively-p'.
15391 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
15393         * international/uni-bidi.el:
15394         * international/uni-category.el:
15395         * international/uni-combining.el:
15396         * international/uni-comment.el:
15397         * international/uni-decimal.el:
15398         * international/uni-decomposition.el:
15399         * international/uni-digit.el:
15400         * international/uni-lowercase.el:
15401         * international/uni-mirrored.el:
15402         * international/uni-name.el:
15403         * international/uni-numeric.el:
15404         * international/uni-old-name.el:
15405         * international/uni-titlecase.el:
15406         * international/uni-uppercase.el:
15407         Regenerate from Unicode 5.2.0 data.
15409 2009-10-01  Glenn Morris  <rgm@gnu.org>
15411         * Makefile.in (ELCFILES): Regenerate.
15413 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15415         * subr.el (interactive-p): Mark obsolete.
15416         (called-interactively-p): Make the optional-ness of `kind' obsolete.
15417         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15418         advertised-signature-table for subroutines as well.
15420         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15421         (set-advertised-calling-convention): New function.
15422         (make-obsolete, define-obsolete-function-alias)
15423         (make-obsolete-variable, define-obsolete-variable-alias):
15424         Make the optional-ness of `when' obsolete.
15425         (define-obsolete-face-alias): Make `when' non-optional.
15426         * help-fns.el (help-function-arglist):
15427         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15428         Use advertised-signature-table.
15430 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
15432         * files.el (delete-directory): New defun.  The original function
15433         in fileio.c has been renamed to `delete-directory-internal'.
15435         * dired.el (dired-delete-file): Call `delete-directory' with
15436         RECURSIVE parameter.
15438         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15439         parameter RECURSIVE.  Implementation is missing.
15441         * net/tramp.el (tramp-handle-make-directory): Flush upper
15442         directory's file properties.
15443         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15444         (tramp-handle-dired-recursive-delete-directory): Flush directory
15445         properties after the remove command only.
15447         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15448         Handle optional parameter RECURSIVE.
15450         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15451         Handle optional parameter RECURSIVE.
15453         * net/tramp-smb.el (tramp-smb-errors): Add error message for
15454         connection timeout.
15455         (tramp-smb-handle-delete-directory): Handle optional parameter
15456         RECURSIVE.
15458 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15460         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15461         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15462         (byte-compile-defmacro): Use backquotes.
15464         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15466         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15467         has no associated file.
15468         (vc-resynch-buffer): Use vc-dir-buffers.
15470 2009-10-01  Glenn Morris  <rgm@gnu.org>
15472         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15473         (chart-file-count):
15474         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15475         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15476         * emacs-lisp/eieio-opt.el (eieio-describe-class):
15477         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15478         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15479         (eieio-copy-parents-into-subclass, make-instance, class-children)
15480         (eieio-generic-form):
15482         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15483         match-data.  (Bug#4555).
15485         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15486         rather than parsing it as a regexp.  This relaxes the layout
15487         requirements and makes errors easier to detect.
15488         (check-declare-verify): Check file is regular.
15489         (check-declare-directory): Doc fix.
15490         * subr.el (declare-function): Doc fix.
15492         * ibuffer.el (ibuffer-format-qualifier):
15493         * isearch.el (hi-lock-regexp-okay):
15494         * calc/calc.el (math-zerop):
15495         * mail/uce.el (rmail-msgbeg, rmail-msgend):
15496         * term/w32-win.el (setup-default-fontset, set-fontset-font):
15497         Remove unused declarations.
15499 2009-09-30  Eric Ludlam  <zappo@gnu.org>
15501         * emacs-lisp/eieio.el (boolean-p): Delete.
15503 2009-09-30  Glenn Morris  <rgm@gnu.org>
15505         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15507         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15508         filename is not a string.
15510 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
15512         * files.el (safe-local-eval-forms): Fix typo.
15514 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15516         * vc-hooks.el (vc-dir-buffers): New var.
15517         (vc-state-refresh): New function.
15518         (vc-state): Use it.
15519         (vc-after-save): Always ask the backend to recompute the new state.
15520         Always call vc-dir if necessary, using vc-dir-buffers.
15521         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15522         Use vc-dir-buffers.
15523         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15524         (vc-dir-prepare-status-buffer, vc-dir-update)
15525         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15526         Don't call expand-file-name on default-directory.
15528 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15530         * speedbar.el (speedbar-item-delete):
15531         * calc/calc-prog.el (calc-kbd-if):
15532         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15534         * epa.el (epa-key-list-mode-map):
15535         * hi-lock.el (hi-lock-menu): Fix typos in menus.
15537         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15538         (hs-show-hook): Fix typo in docstring.
15540 2009-09-29  Glenn Morris  <rgm@gnu.org>
15542         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15543         file-name-nondirectory call preventing location of cedet files.
15544         (check-declare-verify): Use literal search rather than re-search.
15545         Add basic defmethod and defclass, and define-overloadable-function.
15547         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15548         Use tramp-compat-file-attributes rather than nonexistent
15549         tramp-compat-handle-file-attributes.
15551         * Makefile.in (lisptagsfiles4): New.
15552         (AUTOGENEL): Add cedet loaddefs files.
15553         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15554         (update-elclist, compile-always, backup-compiled-files)
15555         (bootstrap-clean): Add yet another directory level.
15556         (update-elclist): Use LC_COLLATE rather than COLLATE.
15557         (ELCFILES): Update, via `make update-elclist'.
15559 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15561         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15562         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15563         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15565 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15567         * Makefile.in (lisptagsfiles3): Define.
15568         (TAGS, TAGS-LISP): Use it.
15569         (update-elclist): Add third directory level to look for elc files.
15570         (compile-always): Likewise.
15571         (backup-compiled-files): Likewise.
15572         (bootstrap-clean): Likewise.
15573         (ELCFILES): Update.
15575 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
15577         * Makefile.in (ELCFILES): Add CEDET files.
15579 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
15581         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15583         * net/tramp.el (top): Require tramp-imap.
15585         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15586         Use `tramp-compat-handle-file-attributes'.
15588 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
15590         * net/tramp-imap.el: New package.
15592 2009-09-28  Eric Ludlam  <zappo@gnu.org>
15594         * emacs-lisp/chart.el:
15595         * emacs-lisp/eieio-base.el:
15596         * emacs-lisp/eieio-comp.el:
15597         * emacs-lisp/eieio-custom.el:
15598         * emacs-lisp/eieio-datadebug.el:
15599         * emacs-lisp/eieio-opt.el:
15600         * emacs-lisp/eieio-speedbar.el:
15601         * emacs-lisp/eieio.el: New files.
15603 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15605         * whitespace.el (whitespace-trailing-regexp)
15606         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15607         Fix doc string.
15609 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
15611         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15612         menu.
15614         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15615         menu-bar-ediff-menu.
15617         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15618         define-overloadable-function.
15620         * progmodes/autoconf.el: Provide autoconf as well, so that this
15621         file can be `require'd.
15623         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15625         * emacs-lisp/autoload.el (generated-autoload-feature)
15626         (generated-autoload-load-name): New vars.
15627         (autoload-rubric, autoload-generate-file-autoloads): Use them.
15628         (make-autoload): Recognize define-overloadable-function and
15629         defclass forms (for EIEIO).
15631         * Makefile.in (update-subdirs): Exclude cedet directory.
15633 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
15635         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
15637         * faces.el: Default light-background background for region face to
15638         ns_selection_color under NS.
15640 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
15642         * net/imap-hash.el: New library, see NEWS.
15644         * Makefile.in (ELCFILES): Add imap-hash.el.
15646 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15648         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15649         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15650         * help-macro.el (make-help-screen): Avoid using an ambiguous function
15651         definition where the docstring could be taken for the return value.
15653 2009-09-26  Glenn Morris  <rgm@gnu.org>
15655         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15656         Add option to only show images below a certain size.
15657         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15658         save-excursion calls.
15660 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
15662         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15663         subdirectories) and eieio.
15665 2009-09-26  Alan Mackenzie  <acm@muc.de>
15667         * progmodes/cc-engine.el (c-beginning-of-statement-1):
15668         Correct buggy bracketing.  (Bug#4289)
15670         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15671         character constants (as case labels).  (Bug#4289)
15673 2009-09-25  Juri Linkov  <juri@jurta.org>
15675         * files.el (safe-local-eval-forms): Allow time-stamp in
15676         before-save-hook (Bug#4554).
15678 2009-09-25  Drew Adams  <drew.adams@oracle.com>
15680         * menu-bar.el (list-buffers-directory): Doc fix.
15682 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15684         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15685         Try and avoid copying twice the same paragraph.
15686         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15687         Remove save-excursion.
15688         (log-edit-changelog-entry): Do it here instead.
15690 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
15692         * bs.el (bs--get-file-name): Use `list-buffers-directory'
15693         when available, instead of hardcoding mode names.  Doc fix.
15695         * menu-bar.el (list-buffers-directory): Add docstring.
15696         Make automatically buffer-local.
15698         * dired.el (dired-mode):
15699         * files.el (cd-absolute):
15700         * pcvs.el (cvs-temp-buffer):
15701         * pcvs-util.el (cvs-get-buffer-create):
15702         * shell.el (shell-mode):
15703         * vc-dir.el (vc-dir-mode):
15704         Don't make `list-buffers-directory' buffer local.
15706 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
15708         * comint.el (comint-exec, comint-run, make-comint):
15709         Doc fixes (Bug#4542).
15711 2009-09-25  Glenn Morris  <rgm@gnu.org>
15713         * mail/rmailmm.el (rmail-mime): New custom group.
15714         Move all defcustoms in this file into this group.
15715         (rmail-mime-media-type-handlers-alist): Revert previous change.
15716         (rmail-mime-show-images): New option.
15717         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15718         references to it, since it wasn't actually used for anything.
15719         (rmail-mime-insert-image): New function.
15720         (rmail-mime-image): Use rmail-mime-insert-image.
15721         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15722         obey the value of `rmail-mime-show-images' option.  Print the size of
15723         attachments.
15725 2009-09-25  David Engster  <deng@randomsample.de>
15727         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
15729 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15731         * whitespace.el: Does not highlight trailing spaces While point is
15732         at end of line.  Does not highligt spaces at beginning of buffer
15733         while point is at beginning of buffer.  Does not highlight spaces
15734         at end of buffer while point is at end of buffer.  (Bug#4177)
15735         New version 12.0.
15736         (whitespace-display-mappings): Adjust initialization.
15737         (whitespace-point, whitespace-font-lock-refontify): New vars.
15738         (whitespace-color-on, whitespace-color-off): Adjust code.
15739         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15740         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15741         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15743 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
15745         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15747         * textmodes/sgml-mode.el: Remove xml-mode alias.
15749         * files.el (auto-mode-alist, conf-mode-maybe)
15750         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15752 2009-09-24  Alan Mackenzie  <acm@muc.de>
15754         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15755         c-forward-conditionals, but it doesn't move point and doesn't set
15756         the mark.
15757         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15758         (c-down-conditional-with-else, c-backward-conditional)
15759         (c-forward-conditional): Refactor to use c-scan-conditionals.
15761 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15763         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15764         (help-default-arg-highlight): Remove.
15765         (help-highlight-arg): New function.
15766         (help-do-arg-highlight): Use it.
15767         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
15769 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15771         * term.el (term-set-scroll-region, term-handle-ansi-escape):
15772         Undo last change, which didn't fix the problem and introduced others.
15774 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
15776         * progmodes/gdb-mi.el: Don't require speedbar.
15777         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15779 2009-09-24  Glenn Morris  <rgm@gnu.org>
15781         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15783         * term/ns-win.el (ns-reg-to-script): Define for compiler.
15785         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15786         there is no newline after the final mime boundary.  (Bug#4539)
15787         Move markers on insertion so that any buttons inserted don't end up in
15788         the next part of a multipart message.
15789         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
15790         (rmail-mime-bulk-handler): Optionally handle images.
15791         (rmail-mime-image): New button action.
15792         (rmail-mime-image-handler): New function.
15793         (rmail-mime-mode): New mode.
15794         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
15796 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15798         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15799         than just dropping elements from it (bug#4504).
15801         * term.el (term-set-scroll-region): Don't move cursor any more.
15802         (term-handle-ansi-escape): Call term-goto here instead.
15803         Suggested by Ivan Kanis <apple@kanis.eu>.
15805         * term.el: Require CL.
15806         (term-ansi-reset): New function.
15807         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15808         (term-handle-colors-array): Simplify.
15810 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15812         * allout.el (allout-overlay-interior-modification-handler)
15813         (allout-obtain-passphrase):
15814         * epa-file.el (epa-file-write-region):
15815         * ps-print.el (ps-begin-job):
15816         * vc-hooks.el (vc-toggle-read-only):
15817         * vc-rcs.el (vc-rcs-rollback):
15818         * vc-sccs.el (vc-sccs-rollback):
15819         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15820         (vc-version-diff, vc-revert, vc-rollback):
15821         * wdired.el (wdired-check-kill-buffer):
15822         * emacs-lisp/authors.el (authors):
15823         * net/socks.el (socks-open-connection):
15824         * net/zeroconf.el (zeroconf-service-add-hook):
15825         * obsolete/vc-mcvs.el (vc-mcvs-register):
15826         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15827         (gdb-select-frame):
15828         * progmodes/grep.el (lgrep, rgrep):
15829         * progmodes/idlw-help.el (idlwave-help-check-locations)
15830         (idlwave-help-html-link, idlwave-help-assistant-open-link):
15831         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15832         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15833         (reftex-toc-rename-label): Fix typos in error messages.
15835         * dired-aux.el (dired-do-shell-command): Reflow docstring.
15836         (dired-copy-how-to-fn): Doc fix.
15837         (dired-files-attributes, dired-read-shell-command):
15838         Fix typos in docstrings.
15840         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15841         (dired-x-find-file-other-window): Reflow docstrings.
15842         (dired-omit-marker-char, dired-read-shell-command)
15843         (dired-x-submit-report): Fix typos in docstrings.
15845         * shell.el (shell-mode-hook):
15846         * view.el (View-scroll-line-forward):
15847         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15848         Fix typos in docstrings.
15850         * net/dig.el (dig-invoke): Fix typo in docstring.
15851         (query-dig): Reflow docstring.
15853         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15854         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15855         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15856         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15857         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15858         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15859         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15860         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15861         (idlwave-completion-map, idlwave-current-indent)
15862         (idlwave-custom-ampersand-surround, idlwave-customize)
15863         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15864         (idlwave-define-abbrev, idlwave-determine-class-special)
15865         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15866         (idlwave-end-block-reg, idlwave-end-of-statement)
15867         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15868         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15869         (idlwave-explicit-class-listed, idlwave-file-header)
15870         (idlwave-fill-paragraph, idlwave-find-class-definition)
15871         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15872         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15873         (idlwave-in-quote, idlwave-indent-action-table)
15874         (idlwave-indent-expand-table, idlwave-indent-line)
15875         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15876         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15877         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15878         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15879         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15880         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15881         (idlwave-outlawed-buffers, idlwave-popup-select)
15882         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15883         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15884         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15885         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15886         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15887         (idlwave-statement-type, idlwave-struct-skip)
15888         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15889         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15890         (idlwave-what-module-find-class): Fix typos in docstrings.
15891         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15892         (idlwave-calculate-cont-indent, idlwave-expand-equal)
15893         (idlwave-find-module, idlwave-find-structure-definition)
15894         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15895         (idlwave-list-load-path-shadows, idlwave-next-statement)
15896         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15897         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15898         (idlwave-template): Reflow docstrings.
15900         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15901         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15902         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15903         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15904         (idlwave-shell-display-line, idlwave-shell-display-wframe)
15905         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15906         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15907         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15908         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15909         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15910         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15911         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15912         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15913         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15914         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15915         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15916         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15917         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15918         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15919         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15920         Fix typos in docstrings.
15921         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15922         (idlwave-shell-hide-output, idlwave-shell-mode)
15923         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15924         Reflow docstrings.
15926         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15928 2009-09-24  Ivan Kanis  <apple@kanis.eu>
15930         * term.el (term-bold-attribute): New var.
15931         (term-handle-colors-array): Use it.
15933 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
15935         * progmodes/gdb-mi.el (gdb-version): New variable.
15936         (gdb-non-stop-handler): Set gdb-version.
15937         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15938         Condition "--thread" option on gdb-version.
15939         (gdb-invalidate-threads): Remove unused argument.
15941 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15943         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15944         to looking-back to avoid ridiculous slow down in large files (bug#4511).
15946 2009-09-23  Glenn Morris  <rgm@gnu.org>
15948         * mail/rmail.el (rmail-reply): Don't try to add a References header when
15949         replying to mail without References or Message-Id.  (Bug#4525)
15951 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
15953         * term/ns-win.el (ns-reg-to-script): New variable.
15955 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
15957         * epg.el (epg-wait-for-status): Preserve existing 'error results.
15959 2009-09-22  Sam Steingold  <sds@gnu.org>
15961         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15962         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15963         to 1 because hg returns status 1 when nothing is found.
15964         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15966 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15968         * textmodes/fill.el: Convert to utf-8 encoding.
15969         (fill-french-nobreak-p): Remove redundant » and « inherited from our
15970         pre-Unicode days.
15972         * add-log.el (change-log-fill-forward-paragraph): New function.
15973         (change-log-mode): Use it so fill-region DTRT.
15974         Set fill-indent-according-to-mode here rather than in
15975         change-log-fill-paragraph.
15976         (change-log-fill-paragraph): Remove.
15978 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
15980         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15981         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
15983 2009-09-22  Glenn Morris  <rgm@gnu.org>
15985         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15986         the scroll-bar scroll the calendar window rather than the buffer.
15988         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15989         commands that move point (as opposed to scrolling).
15991         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15993         * emacs-lisp/elint.el (elint): New custom group.
15994         (elint-log-buffer): Make it a defcustom.
15995         (elint-scan-preloaded, elint-ignored-warnings)
15996         (elint-directory-skip-re): New options.
15997         (elint-builtin-variables): Doc fix.
15998         (elint-preloaded-env): New variable.
15999         (elint-unknown-builtin-args): Add an entry for encode-time.
16000         (elint-extra-errors): Make it a variable rather than a constant.
16001         (elint-preloaded-skip-re): New constant.
16002         (elint-directory): Skip files matching elint-directory-skip-re.
16003         (elint-features): New variable, local to linted buffers.
16004         (elint-update-env): Initialize elint-features.  Possibly add
16005         elint-preloaded-env to the buffer's environment.
16006         (elint-get-top-forms): Bind elint-current-pos, for log messages.
16007         Skip quoted forms.
16008         (elint-init-form): New function, extracted from elint-init-env.
16009         Make non-list forms a warning rather than an error.
16010         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
16011         easy-menu-define, put that adds an error-condition, and provide.
16012         When requiring cl, also require cl-macs.  Really require cl, to handle
16013         some cl macros.  Store required libraries in the list elint-features,
16014         so as not to re-load them.  Treat cc-require like require.
16015         (elint-init-env): Call elint-init-form to do the work.
16016         Handle eval-and-compile and such like.
16017         (elint-add-required-env): Do not clear messages.
16018         (elint-special-forms): Add handlers for function, defalias, if, when,
16019         unless, and, or.
16020         (elint-form): Add optional argument to ignore elint-special-forms,
16021         useful to prevent recursive calls from handlers.  Doc fix.
16022         Respect elint-ignored-warnings.
16023         (elint-form): Respect elint-ignored-warnings.
16024         (elint-bound-variable, elint-bound-function): New variables.
16025         (elint-unbound-variable): Respect elint-bound-variable.
16026         (elint-get-args): Respect elint-bound-function.
16027         (elint-check-cond-form): Add some simple handling for (f)boundp and
16028         featurep tests.
16029         (elint-check-defalias-form): New handler.
16030         (elint-check-let-form): Make an empty let a warning rather than an
16031         error.
16032         (elint-check-setq-form): Make an empty setq a warning rather than an
16033         error.  Respect elint-ignored-warnings.
16034         (elint-check-defvar-form): Accept null doc-strings.
16035         (elint-check-conditional-form): New handler.  Does some simple-minded
16036         checking of featurep and (f)boundp tests.
16037         (elint-put-function-args): New function.
16038         (elint-initialize): Use elint-scan-doc-file rather than
16039         elint-find-builtin-variables.  Use elint-put-function-args.
16040         Possibly scan preloaded-file-list.
16041         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16042         extend to handle functions as well.
16044 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
16046         * linum.el (linum-delete-overlays, linum-update-window):
16047         Do not modify the right margin.  (Bug#3971)
16049 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
16051         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16052         Use nxml-mode instead of xml-mode.
16054 2009-09-21  Kevin Ryde  <user42@zip.com.au>
16056         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
16058 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16060         * net/dig.el (dig-mode): Use define-derived-mode.
16062 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
16064         * vc-dispatcher.el (vc-do-command): Return the process object in
16065         the asynchronous case.  Use when instead of if.  Do not run
16066         vc-exec-after to display a message if not enabled.  (Bug#4463)
16068         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16069         properties to the stash strings.
16070         (vc-git-stash-list): Return a list of strings.
16071         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16072         (vc-git-stash-show-at-point): New functions.
16073         (vc-git-stash-map): New keymap.
16075         * register.el (ctl-x-r-map): Define the keys here instead of
16076         using autoload.
16078 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
16080         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16081         list, to workaround performance problem (bug#4485).
16083 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
16085         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16087 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
16089         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16090         Document that this option is not recommended to use.
16092 2009-09-19  Glenn Morris  <rgm@gnu.org>
16094         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16095         variable `var'.
16097         * calc/calc-alg.el (var):
16098         * calc/calcalg2.el (var): Define for compiler.
16100 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
16102         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16103         Doc fix (Bug#3932).
16105         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16107         * time-stamp.el (time-stamp-month-dd-yyyy)
16108         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16109         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16110         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16111         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16112         Remove functions that have been obsolete since 1995 (Bug#4436).
16114         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16115         indent buffer only if called interactively (Bug#4452).
16117 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
16118             Eli Zaretskii  <eliz@gnu.org>
16120         This fixes bug#4197 (merged to bug#865, though not identical).
16121         * server.el (server-auth-dir): Add docstring note about FAT32.
16122         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16123         but warn against using them.
16125 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
16127         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16128         older GDB where there is no has_more field.
16130 2009-09-19  Glenn Morris  <rgm@gnu.org>
16132         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16134 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
16136         * files.el (auto-mode-alist): Change default for XML files to nXML
16137         mode (Bug#4169).
16139 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
16141         * server.el (server-ensure-safe-dir): Pass 'integer
16142         to `file-attributes', as suggested.
16144 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16146         * dired-aux.el (dired-query-alist): Remove spurious backslash.
16147         (dired-query): Use read-key.
16149 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
16151         * cus-start.el (ns-use-qd-smoothing): Remove.
16153 2009-09-18  Glenn Morris  <rgm@gnu.org>
16155         * allout.el (top-level): Remove unnecessary progn.
16157         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16159         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16160         definition of abbrev table.
16162         * speedbar.el (speedbar-track-mouse):
16163         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16164         * net/eudc.el (eudc-expand-inline):
16165         * net/newst-backend.el (newsticker--cache-read-feed):
16166         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16167         condition-case handlers.
16169 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
16171         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16172         (gdb-var-list): Add an element for has_more field.
16173         (gdb-non-stop-handler): Enable pretty printing for STL containers.
16174         (gdb-var-create-handler, gdb-var-list-children-handler-1)
16175         (gdb-var-update-handler-1): Parse output of dynamic variable
16176         objects (STL containers).
16177         (gdb-var-delete-1): Pass var1 as an explicit second argument.
16178         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
16180         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16181         gdb-var-list.
16182         (gud-speedbar-buttons): Make node expandable if expression "has more"
16183         children.
16185 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
16187         * startup.el (emacs-quick-startup): Remove variable and all uses.
16188         (command-line): Set `inhibit-x-resources' instead.
16189         (command-line-1): Use `inhibit-x-resources' instead.
16191 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
16193         * subr.el: Fix last change to avoid using the `unless' macro,
16194         which breaks bootstrapping.
16196 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16198         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16199         extended definitions, in case we reload subr.el after having
16200         loaded CL.
16201         (eval-next-after-load): Mark as obsolete.
16203 2009-09-17  Juri Linkov  <juri@jurta.org>
16205         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16206         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16207         (menu-bar-showhide-menu, menu-bar-tools-menu)
16208         (menu-bar-describe-menu, menu-bar-help-menu)
16209         (minibuffer-local-completion-map, minibuffer-local-map):
16210         Fix list quoting.
16212 2009-09-17  Glenn Morris  <rgm@gnu.org>
16214         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16215         arguments, whether or not it has a handler.
16217         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16219         * simple.el (hard-newline): Give it a doc-string.
16221         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16222         (lisp-mode-syntax-table): Give them doc-strings.
16224 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
16226         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16227         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16228         (menu-bar-options-menu, menu-bar-showhide-menu)
16229         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16230         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16231         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16232         (menu-bar-options-menu, menu-bar-tools-menu)
16233         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16234         (menu-bar-help-menu):
16235         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16236         string arguments.
16238         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16239         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16240         calls for the menu names and :help.
16242 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16244         * mouse.el (minor-mode-menu-from-indicator): Pay attention
16245         to :minor-mode-function (bug#4455).
16247 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16249         * startup.el (command-line): Initialize the window-system after
16250         processing the command-line.
16252         * textmodes/page.el (what-page): Make sure we don't inf-loop if
16253         page-delimiter matches the empty string.
16255 2009-09-16  Glenn Morris  <rgm@gnu.org>
16257         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16258         byte-compile-not-obsolete-var.  It's a list now.
16259         (byte-compile-not-obsolete-funcs): New variable.
16260         (byte-compile-warn-obsolete): Don't warn about functions if they are in
16261         byte-compile-not-obsolete-funcs.
16262         (byte-compile-variable-ref, byte-compile-defvar): Update for
16263         byte-compile-not-obsolete-vars name-change and list nature.
16264         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16265         and variables behind (f)boundp tests.
16266         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16268 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16270         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16272 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16274         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16275         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16276         Don't autoload.
16278 2009-09-15  Stephen Eglen  <stephen@gnu.org>
16280         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16281         the virtual-buffers, use the name of the buffer specified by
16282         find-file-noselect, as the match may be a symlink.  (This was a
16283         problem if the target and the symlink had different names.)
16285 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16287         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16289         * desktop.el (desktop-path): Check user-emacs-directory.
16291         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16293         * loadup.el: Use after-load-functions to GC after loading each file.
16294         Remove the explicit GC calls that used to be sprinkled around.
16296         * subr.el (after-load-functions): New hook.
16297         (do-after-load-evaluation): Run it.  Use string-match-p to detect
16298         `obsolete' packages, rather than painfully extracting the relevant
16299         directory name.
16301 2009-09-15  Glenn Morris  <rgm@gnu.org>
16303         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16304         free variable `doc'.
16306         * dired.el (dired-mode-map): Add menu entry for async shell command.
16308         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16309         variables, also consider the .elc files, since the .el files are
16310         normally gzipped (subsequent code locates the .el.gz from the .elc).
16312         * calc/calc-prog.el (arglist): Define for compiler.
16314         * calendar/diary-lib.el (diary-display-function): Change the default to
16315         fancy display.
16316         (body): Define for compiler.
16318         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16319         (byte-compile-file-form, byte-compile-lambda)
16320         (byte-compile-top-level-body, byte-compile-form)
16321         (byte-compile-variable-ref, byte-compile-setq)
16322         (byte-compile-setq-default, byte-compile-body)
16323         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16324         (batch-byte-compile): Give some more local variables with common names
16325         a "bytecomp-" prefix to avoid masking warnings about free variables.
16327         * startup.el (command-line-1): Give local variables with common names a
16328         distinguishing prefix, so as not to hide free variable warnings during
16329         bootstrap.
16331         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16332         clever and add a suffix to make a unique name, just let the user decide
16333         whether or not to overwrite it.  If the input is a directory, write the
16334         default filename to that directory.  (Bug#4388)
16335         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16336         is a filename-as-a-directory.
16338 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16340         * textmodes/page.el (what-page): Don't move to beginning of line.
16341         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16343 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16345         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16347 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
16349         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16350         * help.el (help-for-help-internal): Add purecopy calls for text.
16352         * vc.el (top): print-log method now takes an optional SHORTLOG
16353         argument.  Add a new method: root.
16354         (vc-root-diff, vc-print-root-log): New functions.
16355         (vc-log-short-style): New variable.
16356         (vc-print-log-internal): Add support for showing short logs.
16358         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16359         vc-print-root-log and vc-print-root-diff.
16361         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16362         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16363         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16364         short logs.
16366         * vc-cvs.el (vc-cvs-print-log):
16367         * vc-mtn.el (vc-mtn-print-log):
16368         * vc-rcs.el (vc-rcs-print-log):
16369         * vc-sccs.el (vc-sccs-print-log):
16370         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16371         that is ignored for now.
16373         * vc-mtn.el (vc-mtn-annotate-command):
16374         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16376 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16378         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16379         to function-key-map, and give them ascii-character property.
16380         * term/x-win.el (x-alternatives-map):
16381         * term/ns-win.el (ns-alternatives-map):
16382         * term/internal.el (msdos-key-remapping-map):
16383         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16385 2009-09-14  Glenn Morris  <rgm@gnu.org>
16387         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16388         temp-buffers (2009-09-12).
16390 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16392         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16393         the new read-key function.
16395 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16397         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16398         is defined (Bug#4405).
16400 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
16402         * recentf.el (recentf-cleanup): Use a hash table to find
16403         duplicates (Bug#4407).
16405 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
16407         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16408         kp-0 to ascii equivalents (Bug#4325).
16410 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16412         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16414         * eshell/em-hist.el:
16415         * eshell/em-dirs.el (eshell-complete-user-reference):
16416         Declare pcomplete functions and variables to avoid compiler warnings.
16418 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
16420         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16421         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16422         * eshell/em-alias.el (eshell-aliases-file):
16423         * eshell/em-hist.el (eshell-history-file-name):
16424         Use expand-file-name instead of concat to make file names (Bug#4308).
16426 2009-09-13  Glenn Morris  <rgm@gnu.org>
16428         * ediff-merg.el (ediff-do-merge):
16429         * filesets.el (filesets-run-cmd):
16430         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16431         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16432         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16433         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16434         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16435         Replace empty `let's with `progn'.
16437 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16439         * mail/sendmail.el (send-mail-function):
16440         * tooltip.el (tooltip-mode):
16441         * simple.el (transient-mark-mode):
16442         * rfn-eshadow.el (file-name-shadow-mode):
16443         * frame.el (blink-cursor-mode):
16444         * font-core.el (global-font-lock-mode):
16445         * files.el (temporary-file-directory)
16446         (small-temporary-file-directory, auto-save-file-name-transforms):
16447         * epa-hook.el (auto-encryption-mode):
16448         * composite.el (global-auto-composition-mode):
16449         Use custom-initialize-delay.
16450         * startup.el (command-line): Don't explicitly call
16451         custom-reevaluate-setting for all the above vars.
16452         * custom.el (custom-initialize-safe-set)
16453         (custom-initialize-safe-default): Delete.
16455 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16457         * term/x-win.el (x-initialize-window-system):
16458         * term/w32-win.el (w32-initialize-window-system):
16459         * term/ns-win.el (ns-initialize-window-system): Don't call
16460         mouse-wheel-mode since it's enabled globally by default already.
16462         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16463         actually define the variable, but only silences the byte-compiler.
16464         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16465         before looking it up.
16466         (mouse-wheel-scroll-amount): Also reset the bindings if this value
16467         is changed.
16469 2009-09-12  Glenn Morris  <rgm@gnu.org>
16471         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16472         1000.
16473         (elint-add-required-env): Don't beep on error.
16474         (elint-forms): In case of error, return ENV unchanged.
16475         (elint-init-env): Skip non-list forms.
16476         (elint-log): Handle unknown file positions.
16478 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
16480         * epg.el (epg-make-context): Add autoload cookie.
16481         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16482         (epg-decrypt-string, epg-start-verify, epg-verify-file)
16483         (epg-verify-string, epg-start-sign, epg-sign-file)
16484         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16485         (epg-encrypt-string, epg-start-export-keys)
16486         (epg-export-keys-to-file, epg-export-keys-to-string)
16487         (epg-start-import-keys, epg-import-keys-from-file)
16488         (epg-import-keys-from-string, epg-start-receive-keys)
16489         (epg-receive-keys, epg-import-keys-from-server)
16490         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16491         (epg-sign-keys, epg-start-generate-key)
16492         (epg-generate-key-from-file, epg-generate-key-from-string):
16493         Remove autoload cookie.
16495 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
16497         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16498         reevaluation of trash-directory.
16500         * mwheel.el: Fix last change.
16501         (mouse-wheel-mode): New defvar.
16502         (mouse-wheel-mode): Remove autoload cookie.
16504 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16506         * mwheel.el (mwheel-installed-bindings): New var.
16507         (mouse-wheel-mode): Use it, so as to make sure we really remove all
16508         the bindings we set last time.  Use custom-initialize-delay.
16509         * loadup.el: Load mwheel after term/*-win.el.
16510         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16511         and mouse-wheel-up-event now that their first evaluation is done
16512         sufficiently late to be correct.
16514         * startup.el (tutorial-directory): Make it a defcustom.
16515         Use custom-initialize-delay rather than eval-at-startup to set it.
16516         * image.el (image-load-path): Make it a defcustom.
16517         Use custom-initialize-delay rather than eval-at-startup to set it.
16518         * subr.el (eval-at-startup): Remove.
16519         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16521         * subr.el (do-after-load-evaluation): Warn the user after loading an
16522         obsolete package.
16524 2009-09-12  Glenn Morris  <rgm@gnu.org>
16526         * proced.el (proced-mark-alt): Remove alias.
16527         (proced-mode-map): Remove proced-mark-alt.
16529         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16530         Elint file and directory.  Remove initialization entry.
16532         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16533         commands.
16534         (elint-current-buffer): Set mode-line-process.
16535         (elint-init-env): Handle define-derived-mode.
16536         Fix declare-function with unspecified arglist.  Guard against odd
16537         defalias statements (eg iso-insert's 8859-1-map).
16538         (elint-add-required-env): Use a temp buffer.
16539         (elint-form): Just print the function/macro name, not the whole form.
16540         Return env unchanged if we fail to parse a macro.
16541         (elint-forms): Guard against parse errors.
16542         (elint-output): New function, to handle batch mode.
16543         (elint-log-message): Add optional argument.  Use elint-output.
16544         (elint-set-mode-line): New function.
16546 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
16548         * emacs-lisp/elp.el (elp-not-profilable): Add more
16549         functions (Bug#4233).
16551 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
16553         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16554         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16556 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16558         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16559         (gdb-var-list-children): Use json parsing.
16561 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
16563         * progmodes/js.el (js--proper-indentation): Handle the case where
16564         char-before is null.  Reported by Deniz Dogan.
16566 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
16568         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16570 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
16572         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16573         (epg-digest-algorithm-alist): Add SHA224.
16574         (epg-context-set-passphrase-callback)
16575         (epg-context-set-progress-callback): Add description about
16576         callback function.
16578 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16580         * custom.el (custom-delayed-init-variables): New var.
16581         (custom-initialize-delay): New function.
16582         * startup.el (command-line): "Re"evaluate all vars in
16583         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
16584         explicitly any more.
16585         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16586         to avoid creating a ~/.emacs.d at build-time (bug#4347).
16588         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16590 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16592         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16593         (gdb-var-update-handler): Use json parsing.
16595 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
16597         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16598         decode annotated text, regardless of language environment.  (Bug#2741)
16600 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16602         * Makefile.in (autoloads): Make rmail.el writable as well.
16604 2009-09-11  Glenn Morris  <rgm@gnu.org>
16606         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16607         loaddefs.el.
16608         * dired.el: Regenerate with extracted autoloads.
16609         * Makefile.in (autoloads): Make dired.el writable.
16611         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16612         * ibuffer.el: Regenerate with extracted autoloads.
16613         * Makefile.in (autoloads): Make ibuffer.el writable.
16615         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16616         * version.el (emacs-copyright, emacs-major-version)
16617         (emacs-minor-version): Reformat doc-strings for make-docfile.
16619         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16620         functions and variables, since they must be stuff specific to some other
16621         platform.
16622         (apropos-print): Make mouse-click message less specific about button.
16624         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16625         that records where a macro was defined.
16626         * help-fns.el (describe-function-1): Mention if a function has a
16627         compiler-macro.
16628         * help-mode.el (help-function-cmacro): New button.
16630         * locate.el (top-level): Always require dired.
16631         (locate-mode-map): Initialize inside the defvar.
16633         * net/ange-ftp.el (dired-compress-file): Declare.
16634         (ange-ftp-dired-compress-file): Add doc string.
16636         * term/ns-win.el (x-display-name, x-setup-function-keys):
16637         Unify doc-strings with X versions.
16639 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16641         * emulation/crisp.el (crisp-mode-map): Move initialization
16642         into declaration.
16643         (crisp-mode): Use define-minor-mode.
16645         * progmodes/xscheme.el (xscheme-evaluation-commands):
16646         Put a :advertised-binding property rather than using
16647         advertised-xscheme-send-previous-expression.
16648         (advertised-xscheme-send-previous-expression): Declare obsolete.
16649         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16650         `advertised-undo'.
16651         (crisp-mode): Add corresponding bindings to
16652         undo's :advertised-binding instead.
16653         * dired.el (dired-mode-map): Put a :advertised-binding property rather
16654         than using dired-advertised-find-file.
16655         (dired-advertised-find-file):
16656         * simple.el (advertised-undo):
16657         * wid-edit.el (advertised-widget-backward): Declare obsolete.
16658         (widget-keymap): Put a :advertised-binding property rather
16659         than using advertised-widget-backward.
16660         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16661         than using advertised-undo.
16662         * tutorial.el (tutorial--default-keys): Adjust accordingly.
16664 2009-09-10  Simon South  <ssouth@slowcomputing.org>
16666         * progmodes/delphi.el (delphi-tab): Indent region when Transient
16667         Mark mode is enabled and region is active; otherwise indent or
16668         insert TAB as usual.
16669         (delphi-mode): Update description of TAB-key binding.
16671 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16673         * subr.el (define-key-rebound-commands): Mark obsolete.
16674         * startup.el (precompute-menubar-bindings): Remove.
16675         (normal-top-level): Remove obsolete code that tried to precompute
16676         menubar bindings.
16677         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16678         define-key-rebound-commands and precompute-menubar-bindings.
16680 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
16682         * net/imap.el (imap-interactive-login): Better messages.
16683         (imap-open): Fix bug with renamed buffer on reconnect.
16684         (imap-authenticate): Add buffer-local imap-last-authenticator variable
16685         for easier debugging and cleaner code.  On successful (guessed based on
16686         server capabilities) secondary authentication, set imap-state
16687         correctly.
16688         (imap-last-authenticator): Define imap-last-authenticator as a variable
16689         to avoid warnings.
16691 2009-09-10  Glenn Morris  <rgm@gnu.org>
16693         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16695         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16696         (byte-compile-file-form-autoload): Don't warn about unknown functions
16697         where the autoload statement comes after the use.
16698         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16699         that any handlers inside the body (eg require) are in turn respected.
16701         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16702         effects.
16704         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16705         and syntax and abbrev tables basic docs, if they don't have any.
16707         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16709         * international/mule-cmds.el (top-level): Require cl when compiling.
16710         (view-hello-file): Use default-value rather than
16711         default-enable-multibyte-characters.
16713         * progmodes/fortran.el: Move all safe and risky properties into the
16714         defcustoms.
16716         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16717         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16718         * mail/undigest.el:
16719         Put autoloads in rmail.el rather than loaddefs.el.
16720         * mail/rmail.el: Regenerate with extracted autoloads.
16722         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16723         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16725 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
16727         Reported in thread for Bug#4375.
16728         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16729         "-data-evaluate-expression" instead of print.
16730         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16731         (gdb-tooltip-print): Parse output from above MI command.
16732         (gdb): Revert 2009-08-11 change.  User should detach inferior
16733         manually.
16735         Remove the word "separate" from IO functions as inferior
16736         output is now never displayed in the GUD buffer.
16738 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
16740         * startup.el (command-line-normalize-file-name): On Windows and
16741         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16743 2009-09-10  Juri Linkov  <juri@jurta.org>
16745         * isearch.el (isearch-text-char-description): Propertize escape
16746         character sequences with the `escape-glyph' face.  (Bug#4344)
16748         * simple.el (shell-command): Set asynchronous process filter to
16749         `comint-output-filter'.  (Bug#4343)
16751         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16752         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
16753         the list.  Move "asm" to the bottom.
16754         (grep-find-ignored-directories): Add `choice' with nil value
16755         to empty the list easily.
16756         (grep-find-ignored-files): New option.
16757         (grep-files-history): Set to nil by default instead of '("ch" "el").
16758         (grep-compute-defaults): Add "<X>" to `grep-template'.
16759         (grep-read-files): Bind new local variables `default-alias' and
16760         `default-extension'.  Use a list of default values for the file prompt.
16761         (lgrep): Add `--exclude=' command line options composed from
16762         `grep-find-ignored-files'.
16763         (rgrep): Add `-name' command line options composed from
16764         `grep-find-ignored-files'.  (Bug#4301)
16766 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16768         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16769         (bug#4368).
16771 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
16773         * calendar/time-date.el (autoload):
16774         Expand define-obsolete-function-alias into defalias and make-obsolete
16775         for old Emacsen that Gnus supports.
16776         (with-no-warnings): Define it for old Emacsen.
16777         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16778         is available.
16779         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16780         float-time is available; suppress compile warning for time-to-seconds.
16782 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
16784         * net/imap.el (imap-message-map): Docstring fix.
16786 2009-09-09  Glenn Morris  <rgm@gnu.org>
16788         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16789         line numbers too.  (Bug#4374)
16791 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16793         * smerge-mode.el (smerge-remove-props, smerge-refine):
16794         Use with-silent-modifications (bug#4342).
16796         * subr.el (with-silent-modifications): New macro.
16798 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
16800         * files.el (top-level): Require `cl' when compiling.
16802 2009-09-07  Glenn Morris  <rgm@gnu.org>
16804         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16806         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16807         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
16809 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
16811         * vc-git.el (vc-git-annotate-command): Use separator to parse
16812         arguments correctly.
16814 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
16816         * proced.el (proced-mode): Doc fix.
16818 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
16820         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16821         lstat fails.
16822         (tramp-do-file-attributes-with-ls): Check for file existence at
16823         remote end.
16824         (tramp-do-file-attributes-with-stat): Likewise.
16825         (tramp-convert-file-attributes): Return nil when attr is nil.
16827 2009-09-05  Glenn Morris  <rgm@gnu.org>
16829         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16830         properties to this button.
16831         (diary-fancy-display): Don't extend the button to the final newline.
16832         (diary-fancy-display-mode): Continue to define "q" as a local key.
16834         * calendar/cal-china.el (holiday-chinese): Make it slightly more
16835         efficient.
16837         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16839         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16840         (byte-compile-dest-file-function): New option.
16841         (byte-compile-dest-file): Doc fix.
16842         Obey byte-compile-dest-file-function.
16843         (byte-compile-cl-file-p): New function.
16844         (byte-compile-eval): Only suppress noruntime warnings about cl functions
16845         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
16846         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16847         than for file being previously loaded.
16848         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16849         (byte-compile-file-form-require): Handle the case where requiring a file
16850         indirectly causes CL to be loaded.
16852 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
16854         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16855         before killing the old buffer, since by the time `kill-buffer' is
16856         run so many buffer variables have been set to nil that it may not
16857         behave as expected.  (Bug#4061)
16859 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
16861         * files.el (find-alternate-file): If the old buffer is modified
16862         and visiting a file, behave similarly to `kill-buffer' when
16863         killing it, thus reverting to the pre-1.878 behavior; see
16864         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16865         for discussion.  Also, consult `buffer-file-name' as a variable
16866         not as a function, for consistency with the rest of the code.
16868 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
16870         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16871         also when adding a new directory.
16873         * net/tramp-compat.el (tramp-compat-line-beginning-position):
16874         New defun.
16876 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16878         * files.el (locate-file-completion-table): Make it provide boundary
16879         information, so partial-completion works better.
16881 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
16883         * mail/footnote.el (Footnote-text-under-cursor):
16884         Check footnote-text-marker-alist before using it (bug#4324).
16886 2009-09-04  Glenn Morris  <rgm@gnu.org>
16888         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16889         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16890         * play/solitaire.el, play/tetris.el:
16891         Remove leading * from defcustom and defface docs.
16893         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16894         necessary.
16895         (diary-fancy-overriding-map): New variable.
16896         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16897         Use view-mode.
16899         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16900         goto-line.
16902 2009-09-03  Glenn Morris  <rgm@gnu.org>
16904         * arc-mode.el (archive-mode):
16905         * dos-fns.el (set-default-process-coding-system):
16906         * man.el (Man-getpage-in-background):
16907         * menu-bar.el (menu-bar-describe-menu):
16908         * server.el (server-process-filter):
16909         * startup.el (command-line):
16910         * tar-mode.el (tar-header-block-tokenize, tar-extract):
16911         * w32-fns.el (set-default-process-coding-system):
16912         * x-dnd.el (x-dnd-handle-file-name):
16913         * international/mule-cmds.el (mule-menu-keymap)
16914         (set-default-coding-systems, language-info-alist, set-language-info)
16915         (set-language-environment, standard-display-european-internal)
16916         (set-locale-environment):
16917         * international/mule-diag.el (mule-diag):
16918         * mail/emacsbug.el (report-emacs-bug):
16919         * mail/rmail.el (rmail-mode):
16920         * mail/sendmail.el (mail-setup):
16921         Use default-value rather than default-enable-multibyte-characters.
16923         * progmodes/f90.el: Move all safe properties into the defcustoms.
16924         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16926         * calendar/appt.el (appt-check):
16927         * calendar/diary-lib.el (diary-set-header, diary-live-p)
16928         (diary-check-diary-file, diary-list-entries)
16929         (diary-include-other-diary-files, diary-simple-display)
16930         (diary-fancy-display, diary-print-entries)
16931         (diary-mark-included-diary-files, diary-make-entry):
16932         Don't call substitute-in-file-name on diary-file.
16934 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
16935             Stefan Monnier  <monnier@iro.umontreal.ca>
16937         * mail/footnote.el (footnote-prefix): Make it a defcustom.
16938         (footnote-mode-map): Move initialization into the declaration.
16939         (footnote-minor-mode-map): Define it rather than changing global-map.
16940         (footnote-mode): Use define-minor-mode.
16942 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
16944         * net/tramp.el (tramp-handle-file-attributes-with-ls)
16945         (tramp-do-file-attributes-with-perl)
16946         (tramp-do-file-attributes-with-stat): Rename from
16947         `tramp-handle-file-attributes-with-*'.
16948         (tramp-handle-file-attributes): Use them.
16949         (tramp-do-directory-files-and-attributes-with-perl)
16950         (tramp-do-directory-files-and-attributes-with-stat): Rename from
16951         `tramp-handle-directory-files-and-attributes-with-*'.
16952         (tramp-handle-directory-files-and-attributes): Use them.
16953         (tramp-method-out-of-band-p): Additional parameter SIZE.
16954         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16955         (tramp-handle-write-region): Use it.
16956         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16957         (tramp-handle-vc-registered): Check, whether the first run did
16958         return files to be tested.
16959         (tramp-advice-make-auto-save-file-name): Do not call directly
16960         `tramp-handle-make-auto-save-file-name', because this would bypass
16961         the locking mechanism.
16963         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16964         (file-remote-p, process-file, start-file-process, set-file-times)
16965         (tramp-compat-file-attributes): Compatibility functions shall not
16966         call directly `tramp-handle-*', because this would bypass the
16967         locking mechanism.
16968         (tramp-compat-number-sequence): New defun.
16970 2009-09-02  Glenn Morris  <rgm@gnu.org>
16972         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16973         alias for float-time.
16974         (time-to-number-of-days): In Emacs, use float-time.
16975         * net/newst-backend.el (time-add): Suppress warnings from compat
16976         function.
16977         * time.el (emacs-uptime, emacs-init-time):
16978         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16979         Use float-time rather than time-to-seconds.
16981         * minibuffer.el (completion-initials-expand): Fix typo.
16983         * faces.el (modeline, modeline-inactive, modeline-highlight)
16984         (modeline-buffer-id):
16985         * info.el (info-menu-5): Mark these face aliases as obsolete.
16987 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16989         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16990         space ...
16991         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16992         no "--thread" option.
16993         (gdb-stopped): Don't print "Switched to thread" message when it is
16994         unchanged.
16996 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16998         * minibuffer.el (completion-try-completion)
16999         (completion-all-completions): Remove ill-defined (and
17000         mistakenly installed and luckily never used nor documented)
17001         `completion-styles' property.
17002         (completion-initials-expand, completion-initials-all-completions)
17003         (completion-initials-try-completion): New functions.
17004         (completion-styles-alist): Add doc to each entry.
17005         Add new `initials' entry.
17007 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
17009         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17010         MI command -var-evaluate-expression.
17011         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17012         and tweak for case of string child.
17013         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17015 2009-09-01  Glenn Morris  <rgm@gnu.org>
17017         * add-log.el (change-log-date-face, change-log-name-face)
17018         (change-log-email-face, change-log-file-face, change-log-list-face)
17019         (change-log-conditionals-face, change-log-function-face)
17020         (change-log-acknowledgement-face):
17021         * cus-edit.el (custom-invalid-face, custom-rogue-face)
17022         (custom-modified-face, custom-set-face, custom-changed-face)
17023         (custom-saved-face, custom-button-face, custom-button-pressed-face)
17024         (custom-documentation-face, custom-state-face, custom-comment-face)
17025         (custom-comment-tag-face, custom-variable-tag-face)
17026         (custom-variable-button-face, custom-face-tag-face)
17027         (custom-group-tag-face-1, custom-group-tag-face):
17028         * diff-mode.el (diff-header-face, diff-file-header-face)
17029         (diff-index-face, diff-hunk-header-face, diff-removed-face)
17030         (diff-added-face, diff-changed-face, diff-function-face)
17031         (diff-context-face, diff-nonexistent-face):
17032         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17033         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17034         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17035         (Info-title-4-face):
17036         * isearch.el (isearch-lazy-highlight-face):
17037         * log-view.el (log-view-file-face, log-view-message-face):
17038         * paren.el (show-paren-match-face, show-paren-mismatch-face):
17039         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17040         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17041         (cvs-msg-face):
17042         * smerge-mode.el (smerge-mine-face, smerge-other-face)
17043         (smerge-base-face, smerge-markers-face):
17044         * wid-edit.el (widget-documentation-face, widget-button-face)
17045         (widget-field-face, widget-single-line-field-face)
17046         (widget-inactive-face, widget-button-pressed-face):
17047         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17048         (woman-addition-face):
17049         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17050         (eshell-ls-executable-face, eshell-ls-readonly-face)
17051         (eshell-ls-unreadable-face, eshell-ls-special-face)
17052         (eshell-ls-missing-face, eshell-ls-archive-face)
17053         (eshell-ls-backup-face, eshell-ls-product-face)
17054         (eshell-ls-clutter-face):
17055         * eshell/em-prompt.el (eshell-prompt-face):
17056         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17057         * obsolete/old-whitespace.el (whitespace-highlight-face):
17058         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17059         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17060         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17061         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17062         (antlr-font-lock-literal-face):
17063         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17064         (ebrowse-root-class-face, ebrowse-file-name-face)
17065         (ebrowse-default-face, ebrowse-member-attribute-face)
17066         (ebrowse-member-class-face, ebrowse-progress-face):
17067         * progmodes/make-mode.el (makefile-space-face):
17068         * progmodes/sh-script.el (sh-heredoc-face):
17069         * textmodes/flyspell.el (flyspell-incorrect-face)
17070         (flyspell-duplicate-face):
17071         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17072         * textmodes/texinfo.el (texinfo-heading-face):
17073         Mark face aliases with "-face" suffix as obsolete.
17075         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17076         compiler.
17078         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17079         (eudc-bob-sound-menu): Use defvar rather than defconst, since
17080         easy-menu-define wants to modify these.
17082         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17084         * net/browse-url.el (browse-url-file-url):
17085         * term/internal.el (dos-codepage-setup):
17086         Use default-value rather than default-enable-multibyte-characters.
17088         * progmodes/etags.el (etags-goto-tag-location):
17089         * progmodes/flymake.el (flymake-highlight-line)
17090         (flymake-goto-file-and-line, flymake-goto-line):
17091         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17092         (gdb-goto-breakpoint):
17093         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17094         * progmodes/python.el (python-find-function)
17095         (python-pdbtrack-track-stack-file):
17096         * progmodes/verilog-mode.el (verilog-surelint-off):
17097         * term/ns-win.el (ns-open-file-select-line):
17098         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17099         Use forward-line rather than goto-line.
17101         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17102         * textmodes/reftex-index.el (reftex-display-index):
17103         * textmodes/reftex-ref.el (reftex-offer-label-menu):
17104         * textmodes/reftex-toc.el (reftex-toc):
17105         Remove unnecessary bindings of default-major-mode (all are followed by
17106         major-mode check and possible mode switch).
17108 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
17110         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17111         Handle watchpoints (bug#4282).
17112         (def-gdb-thread-buffer-command): Enable thread to be selected by
17113         clicking without selecting threads buffer first.
17114         (gdb-current-context-command): Use selected frame so that "up",
17115         "down" etc work in the GUD buffer.
17116         (gdb-update): Find selected frame before rendering stack buffer.
17117         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17119 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17121         * progmodes/sym-comp.el (displayed-completions): Remove.
17122         (symbol-complete): Use minibuffer-complete.
17124 2009-08-31  Glenn Morris  <rgm@gnu.org>
17126         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17128         * apropos.el (apropos-symbols-internal):
17129         Handle (obsolete) face aliases.
17131         * faces.el (describe-face): Adjust the output format to be more like
17132         describe-variable, and to mention (obsolete) face aliases.
17133         Adjust the whitespace so that help-setup-xref works.
17135         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17136         * calendar/diary-lib.el (diary-button-face):
17137         Mark these face aliases as obsolete.
17139         * calendar/calendar.el (calendar-today): Doc fix.
17141 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
17143         * progmodes/gdb-mi.el (gdb-control-all-threads)
17144         (gdb-control-current-thread): Force tool bar update.
17145         (gdb-non-stop-handler): New function.
17146         (gdb-init-1): Use it to test if non-stop mode is supported.
17147         Remove unused gdbmi buffer type.
17149 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
17151         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17152         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
17154 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
17156         * comint.el (comint-exec-1): Check command is non-null first.
17157         Part of gdb-mi.el change (2009-08-28).
17159 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17161         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17163 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
17165         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17166         instead of `dolist' to avoid a recursive require when bootstrapping.
17168 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17170         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17172         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17174         * net/imap.el (imap-send-command): Simplify.
17175         (imap-wait-for-tag): point-max -> buffer-size.
17177         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17179         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17180         with constant argument.
17182         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17184         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17186         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17187         Change default, since most of our files don't have a history.
17188         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17189         the user.
17191         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17192         Add comint-run.
17194         * calc/calc.el: Improve commenting convention.
17195         (calc-digit-map, toplevel): Simplify.
17197         * comint.el (comint-insert-input): Be careful to only set point if we
17198         don't delegate to some other command.
17200         * proced.el (proced-signal-list): Make it an alist.
17201         (proced-grammar-alist): Capitalize names.
17202         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17203         Disable undo manually and make it read-only.
17204         Use completion-annotate-function.
17206         * minibuffer.el (minibuffer-message): If the current buffer is not
17207         a minibuffer, insert the message in the echo area rather than at the
17208         end of the buffer.
17209         (completion-annotate-function): New variable.
17210         (minibuffer-completion-help): Use it.
17211         (completion--embedded-envvar-table): Environment vars are
17212         always case-sensitive.
17214 2009-08-30  Glenn Morris  <rgm@gnu.org>
17216         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17217         from fortran-current-defun.
17218         (fortran-beginning-of-subprogram): Be more precise about finding the
17219         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
17220         (fortran-end-of-subprogram): Simplify.
17221         (fortran-current-defun): Use fortran-start-prog-re.
17223 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
17225         * subr.el (do-after-load-evaluation): Simplify.
17227 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
17229         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17231         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
17232         (vc-rcs-print-log): Use it.
17234         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17236 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17238         * paths.el (abbrev-file-name): Move to abbrev.el.
17239         * abbrev.el (abbrev-file-name): Move from paths.el.
17240         Obey user-emacs-directory.
17241         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17242         user-emacs-directory.
17243         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17244         abbrev-file-name and calc-settings-file any more.
17245         * startup.el (command-line): Recompute abbrev-file-name and
17246         abbreviated-home-dir.
17247         (normal-no-mouse-startup-screen): Improve the generic code and get rid
17248         of the special code for when C-h bindings haven't been changed.
17249         (display-startup-echo-area-message): Use with-current-buffer.
17250         (command-line-1): Use a list of strings, rather than a list of lists
17251         of strings for longopts.
17253         * files.el (get-free-disk-space): Use / for default-directory.
17255         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17256         Use with-current-buffer.
17258         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17259         Recognize immutable variables like most-positive-fixnum.
17260         (byte-compile-setq-default): Check and warn if trying to assign
17261         to an immutable variable, or a non-variable.
17263         * progmodes/cc-vars.el (c-comment-continuation-stars):
17264         * progmodes/cc-engine.el (c-looking-at-bos):
17265         * progmodes/cc-cmds.el (c-toggle-auto-state)
17266         (c-forward-into-nomenclature, c-backward-into-nomenclature)
17267         (c-comment-line-break-function): Add version of obsolescence.
17269 2009-08-28  Juri Linkov  <juri@jurta.org>
17271         * files.el (magic-fallback-mode-alist): Add ZIP magic number
17272         associated with `archive-mode'.
17274         * image.el (image-type-header-regexps): Use only JPEG magic number
17275         to determine JPEG images, and don't use `image-jpeg-p' because
17276         Emacs can display non-JFIF non-Exif JPEG images.
17278 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17280         * arc-mode.el (archive-mode):
17281         * emacs-lisp/re-builder.el (re-builder-unload-function):
17282         Protect against the default value of `major-mode' being nil.
17284 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17286         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17287         Fix typos in docstrings.
17289         * progmodes/js.el (js--macro-decl-re): Doc fix.
17290         (js--plain-method-re, js--split-name): Refloc docstring.
17291         (js--class-styles, js--make-merged-item, js--splice-into-items):
17292         Fix typos in docstrings; reflow docstrings.
17293         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17294         (js--variable-decl-matcher, js--inside-pitem-p)
17295         (js--parse-state-at-point, js--get-all-known-symbols)
17296         (js--symbol-history, js-find-symbol, js--js-references)
17297         (js--moz-interactor, js--js-encode-value, js--read-tab):
17298         Fix typos in docstrings.
17300 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17302         * textmodes/reftex.el (reftex-get-file-buffer-force):
17303         * progmodes/verilog-mode.el (verilog-batch-execute-func):
17304         * emulation/viper.el (viper-go-away, viper-set-hooks):
17305         * emacs-lisp/re-builder.el (re-builder-unload-function):
17306         * emacs-lisp/bytecomp.el (byte-compile-file):
17307         * ses.el (ses-unload-function):
17308         * hexl.el (hexl-find-file):
17309         * files.el (normal-mode):
17310         * ehelp.el (with-electric-help):
17311         * autoinsert.el (auto-insert-alist):
17312         * arc-mode.el (archive-mode):
17313         Use (default-value 'major-mode) instead of default-major-mode.
17315         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17316         * international/mule.el (load-with-code-conversion):
17317         * emacs-lisp/debug.el (debug):
17318         * ediff-vers.el (ediff-rcs-get-output-buffer):
17319         * dired.el (dired-internal-noselect): Don't let-bind
17320         default-major-mode around code that doesn't use it.
17321         E.g. buffer creation via get-buffer-create doesn't use it.
17323 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
17325         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17326         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17327         when writing the temp file.  Otherwise, epa-file gets confused.
17328         (tramp-register-file-name-handlers): Make it a defun.  Move also
17329         `epa-file-handler' to the front of `file-name-handler-alist'.
17331 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17333         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17334         start right after a ^M.
17335         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17336         (tramp-completion-file-name-regexp-separate)
17337         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17338         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17339         Don't modify last-coding-system-used by accident.
17340         (tramp-completion-file-name-handler): Apply the checks here,
17341         instead during registration.
17342         (tramp-register-file-name-handlers): Rename from
17343         `tramp-register-file-name-handler'.  Register both
17344         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17345         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
17347 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
17349         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17350         Remove variable ...
17351         (gdb-init-1, gdb-display-separate-io-buffer)
17352         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17353         references to it.
17354         (gdb-inferior-io-mode): Use make-comint-in-buffer.
17355         (gdb-inferior-filter): Use comint-output-filter to stop
17356         echoing and remove ^M characters.
17358 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17360         * emulation/viper-init.el (viper-restore-cursor-type):
17361         * emulation/cua-base.el (cua--update-indications):
17362         Replace default-cursor-type with (default-value 'cursor-type).
17364         * mail/sendmail.el (mail-recover-1):
17365         * international/mule-diag.el (describe-current-coding-system-briefly)
17366         (describe-current-coding-system):
17367         * international/mule-cmds.el (select-safe-coding-system)
17368         (select-message-coding-system)
17369         (set-language-environment-coding-systems, set-locale-environment):
17370         * hexl.el (hexl-insert-multibyte-char):
17371         * dos-w32.el (find-buffer-file-type-coding-system):
17372         * simple.el (what-cursor-position):
17373         Replace uses of default-buffer-file-coding-system
17374         with (default-value 'buffer-file-coding-system).
17376         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17377         Replace uses of default-cursor-in-non-selected-windows
17378         with (default-value 'cursor-in-non-selected-windows).
17379         Use with-current-buffer.
17381         * mail/feedmail.el: Use CL macros.
17382         (feedmail-run-the-queue, feedmail-send-it-immediately):
17383         * dos-w32.el (find-buffer-file-type): Replace uses of
17384         default-buffer-file-type with (default-value 'buffer-file-type).
17386 2009-08-28  Glenn Morris  <rgm@gnu.org>
17388         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17389         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17390         Use default-value of major-mode rather than default-major-mode.
17392 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17394         * Makefile.in (update-elcfiles): Report left over elc files.
17396         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17397         expand-file-name and with-current-buffer.
17398         (mail-get-names, mail-directory): Use with-current-buffer.
17400         * vc.el (vc-read-revision): New function.
17401         (vc-version-diff, vc-merge): Use it.
17403 2009-08-27  Sam Steingold  <sds@gnu.org>
17405         * simple.el (kill-do-not-save-duplicates): New user option.
17406         (kill-new): When it is non-nil, and the new string is the same as
17407         the latest kill, set replace to t to avoid duplicates in kill-ring.
17409 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
17411         * net/tramp.el (tramp-handle-process-file): Do not flush all
17412         caches when `process-file-side-effects' is set.
17413         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17414         instead of `tramp-find-file-exists-command'.
17415         Unset `process-file-side-effects'.
17417 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
17419         * net/tramp.el (tramp-methods): New method "rsyncc".
17420         (top): Add completion function for "rsyncc".
17421         (tramp-message-show-message): New defvar.
17422         (tramp-message, tramp-error): Use it.
17423         (tramp-do-copy-or-rename-file-directly): Extend check for direct
17424         remote copying.
17425         (tramp-do-copy-or-rename-file-out-of-band): Handle new
17426         `tramp-methods' entry `copy-env' of "rsyncc".
17427         (tramp-vc-registered-read-file-names): New defconst.
17428         (tramp-vc-registered-file-names): New defvar.
17429         (tramp-handle-vc-registered): Implement optimization strategy.
17430         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17431         (tramp-vc-file-name-handler): New defun.
17432         (tramp-get-ls-command, tramp-get-test-command)
17433         (tramp-get-file-exists-command, tramp-get-remote-ln)
17434         (tramp-get-remote-perl, tramp-get-remote-stat)
17435         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17437         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17438         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
17439         timestamps.
17440         (tramp-get-file-property): Check for timestamps in
17441         `tramp-cache-inhibit-cache'.
17442         (tramp-set-file-property): Write timestamp.
17444 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17446         * language/japan-util.el (japanese-symbol-table): Add entries for
17447         cp932-2-byte.
17449         * international/characters.el: Add category `j' to cp932-2-byte.
17451 2009-08-27  Kenichi Handa  <handa@m17n.org>
17453         * international/fontset.el (build-default-fontset-data): New macro.
17454         (setup-default-fontset): Use build-default-fontset-data for CJK,
17455         tibetan, ethiopic, and ipa.
17457 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17459         * cus-start.el (default-major-mode): Customize `major-mode' instead.
17460         (enable-multibyte-characters): Not customizable any more.
17462         * subr.el (default-mode-line-format, default-header-line-format)
17463         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17464         (default-direction-reversed, default-truncate-lines)
17465         (default-left-margin, default-tab-width, default-case-fold-search)
17466         (default-left-margin-width, default-right-margin-width)
17467         (default-left-fringe-width, default-right-fringe-width)
17468         (default-fringes-outside-margins, default-scroll-bar-width)
17469         (default-vertical-scroll-bar, default-indicate-empty-lines)
17470         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17471         (default-fringe-cursor-alist, default-scroll-up-aggressively)
17472         (default-scroll-down-aggressively, default-fill-column)
17473         (default-cursor-type, default-buffer-file-type)
17474         (default-cursor-in-non-selected-windows)
17475         (default-buffer-file-coding-system, default-major-mode)
17476         (default-enable-multibyte-characters): Mark as obsolete.
17478 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
17480         * vc-dir.el (vc-dir-update): Remove debug helper.
17482         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17484 2009-08-26  Sam Steingold  <sds@gnu.org>
17486         * simple.el (save-interprogram-paste-before-kill): New user option.
17487         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17488         save the interprogram-paste into kill-ring before overriding it
17489         with the Emacs kill.
17491 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17493         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17494         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17495         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17496         and move to vc-rcs.el.
17497         (vc-default-next-revision): Rename to vc-rcs-next-revision and
17498         move to vc-rcs.el.
17499         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17500         (vc-rcs-update-changelog): Remove.
17501         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17502         and move to vc-rcs.el.
17504         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17505         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17506         renaming.
17507         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17508         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17509         vc.el, renamed to be RCS specific.
17511         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17512         New functions.
17513         (vc-cvs-update-changelog): Move here from vc.el.
17515         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17516         New functions.
17518 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17520         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17522 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17524         * vc-git.el (vc-git-register): Use "git add" for directories.
17525         (vc-git-stash, vc-git-stash-show): New functions.
17526         (vc-git-extra-menu-map): Bind them.
17528         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17529         directory correctly in case the item is a directory itself.
17531         * vc.el: Document the desired behavior for reverted files in the
17532         `added' state.
17533         (vc-default-prettify-state-info): Remove function, unused.
17535         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17537 2009-08-26  Glenn Morris  <rgm@gnu.org>
17539         * bindings.el (standard-mode-line-format): Reposition dashes in
17540         which-func entry.  (Bug#4217)
17542         * files.el (enable-local-variables, enable-local-eval)
17543         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17544         the defcustoms.
17545         (auto-mode-alist, ignored-local-variables)
17546         (save-some-buffers-action-alist): Move risky declarations to the
17547         definitions.
17548         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17549         (font-lock-defaults, format-alist, imenu--index-alist)
17550         (imenu-generic-expression, input-method-alist, minor-mode-alist)
17551         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17552         (mode-line-modified, mode-line-mule-info, mode-line-position)
17553         (mode-line-process, mode-line-remote, outline-level)
17554         (parse-time-rules, rmail-output-file-alist)
17555         (special-display-buffer-names, vc-mode):
17556         Move risky declarations to the relevant files.
17557         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17558         (mode-line-modified, mode-line-process, mode-line-position)
17559         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17560         * font-core.el (font-lock-defaults):
17561         * format.el (format-alist):
17562         * vc-hooks.el (vc-mode):
17563         * window.el (special-display-buffer-names):
17564         * international/mule-cmds.el (input-method-alist):
17565         Define riskiness here (dumped file) rather than in files.el.
17566         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17567         * imenu.el (imenu-generic-expression, imenu--index-alist):
17568         * outline.el (outline-level):
17569         * time.el (display-time-string):
17570         * calendar/parse-time.el (parse-time-rules):
17571         * mail/rmailout.el (rmail-output-file-alist):
17572         Autoload riskiness here, rather than placing in files.el.
17574 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
17576         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17578 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
17580         * simple.el (process-file-side-effects): New defvar.
17582         * dired-aux.el (dired-show-file-type):
17583         * vc.el (vc-diff-internal):
17584         * vc-arch.el (vc-arch-diff):
17585         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17586         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17587         * vc-git.el (vc-git-registered, vc-git-working-revision)
17588         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17589         (vc-git--empty-db-p):
17590         * vc-hooks.el (vc-user-login-name):
17591         * vc-svn.el (vc-svn-registered, vc-svn-state)
17592         (vc-svn-dir-extra-headers, vc-svn-find-revision):
17593         * progmodes/grep.el (grep-probe): Let-bind
17594         `process-file-side-effects' with nil.
17596         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17598         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17599         daemon.  Replace ping by checking for running service for bluez
17600         and zeroconf.  (Bug#4239)
17602 2009-08-25  Kevin Ryde  <user42@zip.com.au>
17604         * net/dig.el (dig): Add autoload cookie.
17606 2009-08-25  Glenn Morris  <rgm@gnu.org>
17608         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17609         load-history for absolute file-names.
17610         (byte-compile-file-form-require): Warn about use of the cl package.
17612         * format.el (format-alist): Doc fix.
17614         * play/bubbles.el (top-level): Don't require cl at run-time.
17616         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17617         run-time cl).
17619 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
17621         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17622         from cl package.
17623         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17625 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
17627         * calc/calc-alg.el (math-trig-rewrite)
17628         (math-hyperbolic-trig-rewrite): New functions.
17629         (calc-simplify): Simplify trig functions when asked.
17631 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17633         * diff-mode.el (diff-find-source-location): Avoid goto-line.
17635 2009-08-24  Kenichi Handa  <handa@m17n.org>
17637         * language/ind-util.el (mapthread): Delete it.
17638         (combinatorial): New function.
17639         (indian--puthash-cv): Use combinatorial instead of mapthread.
17641 2009-08-22  Kevin Ryde  <user42@zip.com.au>
17643         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17644         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17645         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17646         Clarify docstring that the value is strings not symbols.
17647         (checkdoc-list-of-strings-p): New function.
17649 2009-08-22  Glenn Morris  <rgm@gnu.org>
17651         * files.el (auto-mode-alist):
17652         * hippie-exp.el (he-concat-directory-file-name):
17653         * lpr.el (lpr-windows-system, printer-name):
17654         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17655         * ps-print.el (ps-windows-system):
17656         * startup.el (command-line):
17657         * emulation/viper-ex.el (viper-glob-function):
17658         * international/mule-cmds.el (set-language-environment-coding-systems):
17659         * net/ange-ftp.el (ange-ftp-write-region):
17660         * obsolete/fast-lock.el (fast-lock-cache-name):
17661         Remove code for defunct system-types emx, macos, mswindows, next-mach,
17662         unisoft-unix, vax-vms, win32, w32.
17664         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17665         given name if the pattern is not more specific.
17667         * calendar/lunar.el (lunar-phase-names): New option.
17668         (lunar-phase): Doc fix.
17669         (lunar-cycles-per-year): New constant.
17670         (lunar-index): New function.
17671         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17672         (lunar-phase-name): Use lunar-phase-names.
17673         (calendar-lunar-phases): Use format.
17674         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17676         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17677         Copy imenu-example--name-and-position function here for own use.
17678         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17680         * bs.el (bs--redisplay):
17681         * cus-edit.el (custom-redraw):
17682         * ibuffer.el (ibuffer-bury-buffer):
17683         * server.el (server-goto-line-column):
17684         * startup.el (command-line-1):
17685         * strokes.el (strokes-xpm-for-stroke):
17686         * term.el (term-display-buffer-line):
17687         * view.el (View-goto-line):
17688         * calc/calc.el (calc-do, calc-trail-buffer):
17689         * play/gamegrid.el (gamegrid-add-score-insecure):
17690         * progmodes/ada-mode.el (ada-compile-goto-error):
17691         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17692         (ebrowse-select-1st-to-9nth):
17693         * progmodes/cperl-mode.el (cperl-time-fontification):
17694         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17695         * progmodes/gud.el (gud-display-line):
17696         (idlwave-shell-display-line):
17697         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17698         * progmodes/make-mode.el (makefile-browser-toggle):
17699         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17700         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17701         * textmodes/picture.el (picture-draw-rectangle):
17702         * textmodes/reftex-index.el (reftex-index-goto-letter):
17703         (reftex-select-jump-to-previous):
17704         * textmodes/reftex-sel.el (reftex-find-start-point)
17705         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17706         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17707         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17708         * textmodes/tex-mode.el (tex-compilation-parse-errors):
17709         * textmodes/two-column.el (2C-associated-buffer):
17710         Use forward-line rather than goto-line.
17712         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17713         goto-line.
17715         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17716         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17717         (quick-check-list-to-regexp): Declare.
17719         * progmodes/make-mode.el (makefile-browser-insert-selection):
17720         Use goto-char rather than goto-line.
17722         * progmodes/prolog.el (compilation-error-regexp-alist)
17723         (compilation-forget-errors): Declare.
17725 2009-08-22  Juri Linkov  <juri@jurta.org>
17727         * progmodes/grep.el (lgrep, rgrep): At the beginning
17728         set `dir' to `default-directory' unless `dir' is a non-nil
17729         readable directory.  (Bug#4052)
17730         (lgrep, rgrep): Change a weird way to report an error
17731         from using `read-string' to using `error'.
17732         Instead of using interactive arguments in the function body,
17733         add new argument `confirm'.
17735 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17737         * textmodes/remember.el (remember-buffer):
17738         * progmodes/cperl-mode.el (cperl-vc-header-alist):
17739         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17740         (icalendar-extract-ical-from-buffer):
17741         * net/newst-treeview.el (newsticker-groups-filename):
17742         * net/newst-backend.el (newsticker-cache-filename):
17743         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17744         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17745         (speedbar-add-ignored-path-regexp, speedbar-line-path)
17746         (speedbar-buffers-line-path, speedbar-path-line)
17747         (speedbar-buffers-line-path):
17748         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17749         (epg-sign-keys):
17750         * epa.el (epa-display-verify-result):
17751         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17753 2009-08-21  Glenn Morris  <rgm@gnu.org>
17755         * progmodes/js.el (inferior-moz-process): Fix declaration.
17757         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17759         * obsolete/rnewspost.el (news-mail-reply):
17760         Use goto-char rather than goto-line.
17762         * term/ns-win.el (ns-open-file-select-line):
17763         Use line-beginning-position rather than goto-line.
17765         * apropos.el (apropos-command):
17766         * ehelp.el (electric-helpify):
17767         * printing.el (pr-show-setup):
17768         * strokes.el (strokes-help):
17769         * tutorial.el (tutorial--describe-nonstandard-key)
17770         (tutorial--detailed-help):
17771         * woman.el (woman-mini-help, woman-display-extended-fonts):
17772         * calc/calc-help.el (calc-describe-key):
17773         * emulation/edt.el (edt-electric-helpify):
17774         * international/mule-diag.el (mule-diag):
17775         * play/yow.el (apropos-zippy):
17776         * progmodes/python.el (python-describe-symbol):
17777         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17778         * textmodes/table.el (*table--cell-describe-mode)
17779         (*table--cell-describe-bindings):
17780         Use help-print-return-message rather than the now obsolete alias.
17782         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17783         (calendar-cursor-to-visible-date):
17784         * play/5x5.el (5x5-position-cursor):
17785         * play/decipher.el (decipher):
17786         * play/gomoku.el (gomoku-goto-xy):
17787         * play/landmark.el (lm-goto-xy):
17788         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17789         (mpuz-paint-digit):
17790         Use forward-line, not goto-line.
17792         * mail/rmail.el (rmail-obsolete): Delete custom group.
17793         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17794         (rmail-remote-password, rmail-remote-password-required):
17795         Remove unneeded :set-after and :set properties.
17797 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
17799         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17801 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
17803         * loadup.el: Remove leftover macos code.
17805         * vc-git.el (vc-git-annotate-command): Run asynchronously.
17806         Explicitly pass the date format to git blame so that user local
17807         so that the output format can be parsed.
17809 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
17811         * net/dbus.el (top): Don't check for (getenv
17812         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
17814 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
17816         * log-edit.el (log-edit-strip-single-file-name): New var.
17817         (log-edit-insert-changelog): Use it.  Bug#3571
17819 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17821         * subr.el (read-passwd): Use read-key so keypad keys work as well.
17822         Bug#3287
17824         * help.el (help-print-return-message): Rename from
17825         print-help-return-message.
17827         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17828         cvs-mode-map parent hack.
17829         (log-view-mode): Derive from special-mode.
17831         * linum.el (linum-mode): window-size-change-functions is redundant.
17832         Adapt to new window-configuration-change-hook behavior.
17833         (linum-after-size, linum-after-config): Remove.
17835         * imenu.el (imenu-example--name-and-position)
17836         (imenu-example--lisp-extract-index-name)
17837         (imenu-example--create-lisp-index, imenu-example--create-c-index):
17838         Mark as obsolete.
17840         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17841         (inferior-prolog-mode): Use it.
17842         (inferior-prolog-load-file): Reset list of errors.
17844 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17846         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17848         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17850 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
17852         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17853         is running already.
17855 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17857         * subr.el (listify-key-sequence-1): Use normal syntax since those
17858         integers are nowadays always represented by the same (positive) number
17859         on all platforms.
17860         (read-key-empty-map): New const.
17861         (read-key-delay): New var.
17862         (read-key): New function.
17863         (force-mode-line-update): Use with-current-buffer.
17864         (locate-user-emacs-file): Don't forget to abbreviate the file name.
17865         (start-process-shell-command, start-file-process-shell-command):
17866         Discourage the use of command-args.
17868 2009-08-19  Glenn Morris  <rgm@gnu.org>
17870         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17872 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17874         * simple.el (choose-completion-string): Don't rely on
17875         minibuffer-completing-file-name and ad-hoc checks to decide whether
17876         to continue completion or not.
17878         * minibuffer.el (minibuffer-hide-completions): New function.
17879         (completion--do-completion): Use it.
17880         (completions-annotations): New face.
17881         (completion--insert-strings): Use it.
17882         (completion-pcm--delim-wild-regex): Add docstring.
17883         (completion-pcm--string->pattern): Add support for 0-width delimiters
17884         in completion-pcm--delim-wild-regex.
17886 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17888         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17889         Remove unused var `buffer-modified-p'.
17891         * minibuffer.el (completion--do-completion): Move point for the #b001
17892         case as well (bug#4176).
17893         (minibuffer-complete, minibuffer-complete-word): Don't move point.
17895 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
17897         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
17898         and :session buses.
17900 2009-08-18  Kenichi Handa  <handa@m17n.org>
17902         * international/ucs-normalize.el (ucs-normalize-version):
17903         Change to 1.1.
17904         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17905         (utf-8-hfs): Make it perform normalization on encoding too.
17907         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
17908         (sentence-end-without-space): Delete duplicated chars.
17909         (sentence-end-base): Likewise.
17911         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
17912         (html-mode): Delete duplicated chars from sentence-end-base.
17914         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
17915         (texinfo-mode): Delete duplicated chars from sentence-end-base.
17917 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
17919         * files.el (hack-one-local-variable): If the mode function is for
17920         a minor mode, pass it an argument (Bug#4148).
17922 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
17924         * net/tramp.el (tramp-register-completion-file-name-handler):
17925         Check also for (member 'partial-completion completion-styles).
17927 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17929         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17930         abbrev (Bug#3943).
17932 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
17934         * progmodes/cperl-mode.el: Merge upstream 6.2.
17935         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17936         (cperl-forward-re): Check cperl-brace-recursing.
17937         (cperl-highlight-charclass): New function.
17938         (cperl-find-pods-heres): Use it.
17939         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17940         (cperl-beautify-regexp-piece): Fix column calculation.
17941         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17942         (cperl-beautify-level): Don't process entire regexp.
17943         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17944         calling man.
17945         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17946         (cperl-init-faces): Build a list in the normal way.
17948 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17950         * calendar/parse-time.el (parse-time-string-chars): Save match
17951         data.
17953 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17955         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17956         (sql-product): Use it.
17957         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17958         (sql-set-product): Add completion.
17959         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17960         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17961         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17962         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17963         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17964         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17965         (sql-highlight-db2-keywords): Remove.
17966         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17967         (sql-highlight-product): Use derived-mode-p.
17968         (sql-set-sqli-buffer): Use with-current-buffer.
17969         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17970         Simplify.
17972         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17974         * term.el: Fix commenting convention, turn comments into docstrings.
17976 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
17978         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17980 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
17982         * calendar/parse-time.el (parse-time-string-chars): Compute using
17983         character classes, to handle non-ascii characters (Bug#3190).
17985 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17987         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17988         another heredoc if the user adds another < (Bug#3226).
17990         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17991         Don't initialize based on window-system (Bug#4124).
17993         * facemenu.el (facemenu-read-color): Use a completion function
17994         that accepts any defined color, such as RGB triplets (Bug#3677).
17996         * files.el (get-free-disk-space): Change fallback default
17997         directory to /.  Expand DIR argument before switching to fallback.
17998         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18000 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
18002         * files.el (load-library): Doc fix.
18004 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
18006         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18007         (viper-if-string): Redefine C-s in the minibuffer to insert the last
18008         incremental search string.
18010         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18011         XEmacs.
18013         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18014         (ediff-merge-region-is-non-clash)
18015         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18016         Also check if the job is really a merge job.
18018         * ediff.el (ediff-current-file): New function.
18020 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
18022         * progmodes/js.el: Edit docstrings throughout to follow Emacs
18023         conventions.
18024         (js-insert-and-indent): Delete function.
18025         (js-mode-map): Don't bind keys to js-insert-and-indent.
18026         (js-beginning-of-defun): Rename from js--beginning-of-defun.
18027         (js-end-of-defun): Rename from js--end-of-defun.
18028         (js-auto-indent-flag): Delete variable.
18030 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
18032         * progmodes/js.el: Remove proclaim statement.
18033         Defvar which-func-imenu-joiner-function to silence compiler.
18035         * files.el (auto-mode-alist): Use js-mode for .js files.
18037         * progmodes/js2-mode.el: Remove file.
18039         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18041         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18043         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18045 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
18046             Karl Landstrom  <karl.landstrom@brgeight.se>
18048         * progmodes/js.el: New file.
18050 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
18052         * timezone.el (timezone-parse-date): Add ability to understand ISO
18053         basic format (minimal separators) dates in addition to the
18054         already-supported extended format dates.
18056 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
18058         * international/ucs-normalize.el: Add a `coding' file variable.
18060         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18062 2009-08-14  Sam Steingold  <sds@gnu.org>
18064         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18066 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
18068         * faces.el (help-argument-name): Define it here instead of
18069         help-fns.el, because in daemon mode help-fns.el may be loaded when
18070         faces are still uninitialized (Bug#1078).
18072         * help-fns.el (help-argument-name): Move defface to faces.el.
18074 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
18076         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18077         create buffer with a pty but no process so that GDB can make the
18078         inferior the controlling process.
18080 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
18082         * international/ucs-normalize.el: New file.
18084 2009-08-13  Richard Stallman  <rms@gnu.org>
18086         * mail/rmail.el (rmail-get-attr-names):
18087         Accept an attribute header that is too short.
18089         * mail/rmail.el (rmail-forget-messages):
18090         Ignore nil elt in rmail-message-vector.  Use dotimes.
18092         * progmodes/compile.el (compilation-goto-locus):
18093         Use next-error-move-function.
18095         * simple.el (next-error-move-function): New variable.
18097 2009-08-12  Juri Linkov  <juri@jurta.org>
18099         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18100         always non-nil.  (Bug#4052)
18102         * replace.el (read-regexp): Return empty string when
18103         `default-value' is nil.
18104         (keep-lines-read-args): Don't use empty string as the
18105         default value for `read-regexp'.  (Bug#2495)
18107 2009-08-12  Juri Linkov  <juri@jurta.org>
18109         * international/mule-cmds.el (ucs-insert): Change arguments
18110         from `arg' to `character', `count', `inherit' to be the same
18111         as in `insert-char'.  Doc fix.  (Bug#4039)
18113         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18115 2009-08-12  Juri Linkov  <juri@jurta.org>
18117         * files-x.el: New file.
18119         * files.el: Move code that deals with adding/deleting
18120         file/directory-local variables to files-x.el.
18122         * Makefile.in (ELCFILES): Add files-x.elc.
18124 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
18126         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18127         to use `goto-line'.
18128         (gdb-place-breakpoints, gdb-get-location): Rewritten without
18129         `goto-line'.
18130         (gdb-invalidate-disassembly): Do not refresh upon receiving
18131         'update signal.  Instead, update all disassembly buffers only after
18132         threads list.
18133         (gdb): Send -target-detach when buffer is killed (Bug#3794).
18134         (gdb-starting): Move -data-list-register-names...
18135         (gdb-stopped): ...here so it's sent when first thread stops.
18136         (gdb-registers-handler-custom): Do nothing if register names are
18137         unknown yet.
18139         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18140         from `gdb-mi.el' to avoid extra tangling.
18142         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18143         change which breaks `gud-def' definitions used in `gdb'.
18144         (gdb-update-gud-running): No extra fuss for updating frame number.
18146 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18148         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18149         (describe-language-environment-map, setup-language-environment-map)
18150         (set-coding-system-map): Move initialization into declaration.
18151         (set-language-info-alist): Last arg to define-key-after can be skipped.
18153         * international/quail.el (quail-completion-1): Simplify.
18154         (quail-define-rules): Use slightly more compact code.
18155         (quail-insert-decode-map): Propertize keys, compact columns.
18157         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18158         Add goto-line.
18160 2009-08-10  Miles Bader  <miles@gnu.org>
18162         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18163         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18164         (js2-instance-member, js2-private-member, js2-private-function-call)
18165         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18166         (js2-magic-paren, js2-external-variable):
18167         Remove "-face" suffix from face names.
18168         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18169         (js2-highlight-undeclared-vars, js2-peek-token)
18170         (js2-parse-function-params, js2-mode-show-errors)
18171         (js2-mode-show-warnings, js2-make-magic-delimiter)
18172         (js2-mode-highlight-magic-parens): Update to use new face names.
18174 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
18176         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18177         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
18179 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
18181         * subr.el: Provide hashtable-print-readable.
18183         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18184         hs-c-like-adjust-block-beginning.
18185         (hs-hide-block-at-point): Stop hiding at the beginning of
18186         hs-block-end-regexp (Bug#700).
18188 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
18190         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18191         a macro.
18192         (gdb-registers-handler-custom): Do not fail when register names
18193         are unavailable.
18195 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18197         * progmodes/gdb-mi.el (gdb-control-all-threads)
18198         (gdb-control-current-thread): Interactive setters for
18199         `gdb-gud-control-all-threads' to use in menu.
18200         (gdb-show-run-p): Show «Go» when process is not active.
18201         (gud-tool-bar-map): Add non-stop/A,T indicator.
18202         Uses gud/thread.xpm and gud/all.xpm.
18204 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
18206         * net/net-utils.el (net-utils-font-lock-keywords): New var.
18207         (nslookup-font-lock-keywords): Make it a variable.
18208         (net-utils-mode): New mode for viewing diagnostic network output.
18209         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18210         (net-utils-run-simple): New function.
18211         (ifconfig, iwconfig, netstat, arp, route): Use it.
18213 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18215         * progmodes/gdb-mi.el (gdb-read-memory-custom)
18216         (gdb-memory-set-address, def-gdb-set-positive-number)
18217         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18218         after changing settings.
18219         (gdb-invalidate-disassembly): Update when first shown.
18220         (gdb-edit-locals-value): Fixed.
18221         (gdb-registers-handler-custom): Print registers in right order and
18222         allow changing register values (only for current thread yet).
18223         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18224         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18225         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18226         (gdb-locals-handler-custom, gdb-registers-handler-custom):
18227         Thread info in mode name.
18228         (gdb-registers-mode-map): TAB to switch to locals.
18230 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
18232         * mail/rmail.el (rmail-add-mbox-headers)
18233         (rmail-set-message-counters-counter): Search for
18234         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
18236 2009-08-08  Glenn Morris  <rgm@gnu.org>
18238         * Makefile.in (ELCFILES): Update.
18240 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18242         * mail/sendmail.el (mail-yank-original):
18243         Set buffer-file-coding-system from the one used by the message whose
18244         text is yanked.
18246         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18247         to "windows" when "pgnuplot" is used.
18248         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18249         Don't call accept-process-output if "pgnuplot" is used.
18250         (calc-graph-init): Don't send -display and -geometry to
18251         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
18252         running "pgnuplot -V" with shell-command-to-string.
18254         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18255         the default.
18257 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18259         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18260         org/org-latex.elc.
18262 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
18264         * vc-dispatcher.el (vc-resynch-window): Update comment.
18266         * term.el (term-handle-ansi-escape): Add comments with the
18267         terminfo capabilities implemented.
18269 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
18271         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18272         (gdb-var-create-handler): Rewritten using JSON parser.
18273         (gdb-propertize-header): Move earlier.
18274         (gdb-set-header): Remove to avoid duplication.
18275         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18276         Refresh disassembly buffers only after threads list have been
18277         update.
18278         (gdb-threads-header, gdb-registers-header): Per-buffer header line
18279         variables.
18281 2009-08-04  Juri Linkov  <juri@jurta.org>
18283         * files.el: Commands to add/delete file/directory-local variables.
18284         (read-file-local-variable, read-file-local-variable-value)
18285         (read-file-local-variable-mode, modify-file-local-variable)
18286         (modify-file-local-variable-prop-line)
18287         (modify-dir-local-variable): New functions.
18288         (add-file-local-variable, delete-file-local-variable)
18289         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18290         (add-dir-local-variable, delete-dir-local-variable)
18291         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18292         (copy-dir-locals-to-file-locals-prop-line): New commands.
18294 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
18296         * abbrev.el (insert-abbrev-table-description): Prettify output.
18297         Suggested by Karl Chen.
18299 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
18301         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18302         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18303         (gdb-overlay-arrow-position, gdb-thread-position)
18304         (gdb-disassembly-position): Declare variables.
18305         (gdb-wait-for-pending): Function now.
18306         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18307         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18308         compilation goes smoothly.
18309         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18310         (gdb-non-stop-setting): New customization setting which replaces
18311         `gdb-non-stop' so changing it doesn't break active GDB session.
18312         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18313         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18314         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18315         (gdb-show-threads-by-default): New customization options.
18316         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18317         routines.
18318         (gdb-get-buffer-create): Send buffers update signal when they are
18319         created.
18320         (gdb-invalidate-locals, gdb-invalidate-registers)
18321         (gdb-invalidate-breakpoints)
18322         (gdb-invalidate-threads, gdb-invalidate-disassembly)
18323         (gdb-invalidate-memory): Accept update signal.
18324         (gdb-current-context-command): Use --frame option.
18325         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18326         Implement `gdb-frame-number' selection logic.
18327         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18328         whether to show GUD toolbar buttons.
18329         (gdb-thread-exited): Unselect current thread when it exits.
18330         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18331         (gdb-mark-line): Routine which sets overlay arrow or inverses
18332         video on fringeless displays.
18333         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18334         to build aligned columns of data in GDB buffers and set text
18335         properties line-by-line.
18336         (gdb-invalidate-breakpoints)
18337         (gdb-breakpoints-list-handler-custom)
18338         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18339         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18340         (gdb-registers-handler-custom): Align data columns.
18341         (gdb-locals-handler-custom): Now prints data like in variable
18342         declarations.
18343         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18344         Remove confusing buttons.
18345         (gdb-invalidate-threads): Append --frame.
18346         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18347         between breakpoints/threads buffers.
18348         (gdb-set-window-buffer): Now can ignore dedicated windows.
18349         (gdb-propertize-header): Use `gdb-set-window-buffer'.
18350         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18351         (def-gdb-thread-buffer-gud-command): Replaces
18352         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18353         for fine thread control.
18354         (gdb-preempt-existing-or-display-buffer): New function used to
18355         display bound buffers without breaking window layout.
18356         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18357         (gdb-select-frame): New version of `gdb-frames-select' which now
18358         sets `gdb-frame-number' so commands may use --frame option instead
18359         of inner debugger state.
18360         (gdb-frame-handler): Do not set `gdb-frame-number'.
18361         (gdb-threads-mode-map): Select threads with mouse.
18363         * progmodes/gud.el (gdb-gud-context-call): Declare function to
18364         avoid compilation warning.
18365         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18366         `gdb-show-stop-p`.
18368         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18369         Argument `key' renamed to `buffer-type'.
18370         (gdb-current-context-buffer-name): Do not add thread info to
18371         buffer name when no thread is selected.
18372         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18373         command (bug 3794).
18374         (gdb-thread-selected): Handle `=thread-selected' notification.
18375         (gdb-wait-for-pending): New macro to deal with congestion problems.
18376         (gdb-breakpoints-list-handler-custom): Don't fail on pending
18377         breakpoints.
18378         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18379         This fixes problem similar to one described in bug 3947.
18380         (gud-menu-map): More menu items.
18381         (gdb-init-1): Reset `gdb-thread-number' to nil.
18383         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18384         non-stop settings.
18386         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18387         (gdb-current-context-command): Do not append --thread if
18388         `gdb-thread-number' is nil.
18389         (gdb-running-threads-count, gdb-stopped-threads-count):
18390         New variables.
18391         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18392         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18393         New customization options.
18394         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18395         GUD commands.
18396         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18397         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18398         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18399         set `gdb-thread-number' and update `gud-running' properly.
18400         (gdb-running): Update threads list when new threads appear.
18401         (gdb-stopped): Support non-stop operation and new thread switching
18402         logic.
18403         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18404         (gdb-json-partial-output): New set of JSON routines.
18405         (def-gdb-auto-update-trigger): New `signal-list' optional
18406         argument.
18407         (gdb-thread-list-handler-custom): Update `gud-running',
18408         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18409         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18410         (gdb-continue-thread, gdb-step-thread): New commands for fine
18411         thread execution control.
18412         (gud-menu-map): New menu items to switch non-stop options.
18413         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18414         (gdb-send): Mimic RET properly (bug 3794).
18416         * progmodes/gdb-mi.el (gdb-rules-name-maker)
18417         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18418         gdb-buffer-rules.
18419         (def-gdb-auto-update-handler): New nopreserve optional argument.
18420         (gdb-stack-list-frames-custom): Print stack from top to bottom.
18422         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18423         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18424         (gdb-parent-mode): New mode to derive other GDB modes from.
18425         (gdb-display-disassembly-for-thread)
18426         (gdb-frame-disassembly-for-thread): New commands for threads
18427         buffer.
18429         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18430         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18431         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18432         (gdb-update): We now store all GDB buffers in a list so that they
18433         can be updated by traversing a list instead of calling invalidate
18434         triggers explicitly.
18435         (def-gdb-trigger-and-handler): New macro to define trigger-handler
18436         pair for GDB buffer.
18437         (gdb-stack-buffer-name): Add thread information.
18438         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18439         handle pending triggers.
18440         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18441         (def-gdb-thread-buffer-simple-command)
18442         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18443         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18444         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18445         New commands which show buffers bound to thread.
18446         (gdb-stack-list-locals-regexp): Remove unused regexp.
18448         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18449         (gdb-locals-buffer-name, gdb-registers-buffer-name)
18450         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18451         to (gud-comint-buffer) in *-buffer-name functions
18452         because (gdb-get-target-string) already does that.
18453         (gdb-locals-handler-custom, gdb-registers-handler-custom)
18454         (gdb-changed-registers-handler): Rewritten without regexps.
18456         * progmodes/gdb-mi.el: Basic thread selection support.
18457         (gdb-thread-number): New variable.
18458         (gdb-current-context-command): New macro which adds --thread
18459         option to command.
18460         (gdb-threads-mode-map): Select thread with SPC.
18461         (gdb-thread-list-handler-custom): Mark current thread with overlay
18462         arrow.  Synchronize GDB thread and Emacs thread.
18463         (gdb-select-thread): New command which selects current thread.
18464         (gdb-invalidate-frames, gdb-invalidate-locals)
18465         (gdb-invalidate-registers): Use --thread option.
18467 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
18469         * net/tramp.el (top): Make check for tramp-gvfs loading more
18470         robust.  (Bug#3977)
18471         (tramp-handle-insert-file-contents): `unwind-protect' must be
18472         inside `with-parsed-tramp-file-name'.
18474         * net/tramp-gvfs.el (top): Remove superfluous message when loading
18475         fails.
18477 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
18479         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18480         directory if CLASSPATH is not set.
18482 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
18484         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18485         New defconst.
18486         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
18488 2009-08-02  Kevin Ryde  <user42@zip.com.au>
18490         * net/newst-backend.el (newsticker--raw-url-list-defaults):
18491         Update freshmeat link.  Delete newsforge.com as it seems gone.
18493 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18495         * select.el (x-set-selection): Doc fix (Bug#4021).
18497         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18499         * help-fns.el (describe-variable): Treat list return values from
18500         dir-locals-find-file properly (Bug#4005).
18502 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
18504         * net/tramp.el (tramp-debug-message): Print also microseconds.
18506 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
18508         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18509         or END is non-nil.
18510         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18511         (tramp-get-debug-buffer): Change `outline-regexp' according to new
18512         format.
18514         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18515         (tramp-get-file-property): Use it.
18517         * autorevert.el (auto-revert-handler):
18518         Allow `auto-revert-tail-mode' for remote files.
18520 2009-08-02  Jason Rumney  <jasonr@gnu.org>
18522         * minibuffer.el (read-file-name): Treat confirm options to
18523         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
18525 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18527         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18528         (font-lock-variable-name-face, font-lock-constant-face):
18529         Darken the colors for light backgrounds.
18531 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
18533         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18534         month names.  (Bug#3987)
18536 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
18538         * simple.el (line-move-finish): Pass whole number to
18539         line-move-to-column.
18540         (line-move-visual): Perform hscroll to the recorded position.
18542 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
18544         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18546 2009-07-29  Alan Mackenzie  <acm@muc.de>
18548         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18550 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
18552         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18553         (gdb-place-breakpoints): Use full path when setting breakpoints.
18555 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
18557         * calc/calc.el (calc-mode-map): Add keybinding for
18558         `calc-transpose-lines'.
18560 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
18562         * calc/calc-misc.el (calc-transpose-lines): New function.
18564 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
18566         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18567         Simplify check for out-of-band methods.
18568         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18569         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
18571 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
18573         * vc-git.el (vc-git-checkin): Fix typo.
18575 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
18577         * progmodes/js2-mode.el: New file.
18579 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
18581         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18582         (gud-menu-map): Adjust tooltip accordingly.
18584 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
18586         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18587         (vc-bzr-log-view-mode): Adjust log-view-file-re.
18589         * add-log.el (change-log-mode-map): Add a menu.
18591 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
18593         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18594         function returns nil.
18595         (dbus-handle-event): Handle special return value :ignore.
18596         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18598 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
18600         * view.el (view-mode-enable): Don't define Helper-return-blurb if
18601         it's not needed.
18603 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
18605         Fix Bug#3888:
18607         * w32-vars.el (x-select-enable-clipboard): Doc fix.
18609         * term/pc-win.el (x-display-name, x-colors)
18610         (x-select-enable-clipboard, x-select-text): Doc fix.
18612         * term/common-win.el (x-display-name, x-colors): Doc fix.
18614         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18615         (xw-defined-colors): Doc fix.
18617         * w32-fns.el (x-select-text, x-setup-function-keys)
18618         (x-get-selection, x-set-selection): Doc fix.
18620         * term/x-win.el (x-select-text, x-setup-function-keys)
18621         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18623         * select.el (x-set-selection): Doc fix.
18625 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
18627         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18628         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
18629         "IsNSSSupportAvailable" method is not available.
18630         Reported by Steve Youngs <steve@sxemacs.org>.
18632 2009-07-24  Kenichi Handa  <handa@m17n.org>
18634         * international/characters.el: Fix setting of category ?C, ?|, ?K,
18635         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
18636         (build-unicode-category-table): Fix range checks.
18638 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
18640         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18641         the buffer we try to sync is current when calling
18642         vc-resynch-buffer.
18644         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18645         not show up to date files.
18647 2009-07-24  Glenn Morris  <rgm@gnu.org>
18649         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18650         Add autoload cookies.  If necessary, initialize.
18651         (elint-log): Handle non-file buffers.
18652         (elint-initialize): Add optional argument to reinitialize.
18653         (elint-find-builtin-variables): Save excursion.
18655 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
18657         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18658         for Lint.
18660 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
18662         * vc.el (vc-print-log-internal): New function, split out from ...
18663         (vc-print-log): ... here.
18664         (vc-dir-move-to-goal-column): Declare.
18666         * vc-git.el (vc-git-add-signoff): New variable.
18667         (vc-git-checkin): Use it.
18668         (vc-git-toggle-signoff): New function.
18669         (vc-git-extra-menu-map): Bind it to menu.
18670         (vc-git--run-command-string): Accept a nil FILE argument.
18671         (vc-git-stash-list): New function.
18672         (vc-git-dir-extra-headers): Use it.
18674 2009-07-23  Glenn Morris  <rgm@gnu.org>
18676         * help-fns.el (describe-variable): Describe ignored and risky local
18677         variables in a similar way to that in which we describe safe ones.
18679         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18680         (byte-compile-output-file-form, byte-compile-output-docform)
18681         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18682         Give some more local variables with common names a "bytecomp-" prefix,
18683         so as not to shadow things during compilation.
18684         * emacs-lisp/cl-macs.el (load-time-value)
18685         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18686         `outbuffer' to `bytecomp-outbuffer'.
18688         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18689         since the next two variables cover them automatically now.
18690         (elint-builtin-variables, elint-autoloaded-variables): New.
18691         (elint-unknown-builtin-args): Remove all members, since they can be
18692         parsed automatically now.
18693         (elint-extra-errors): New.
18694         (elint-env-add-env, elint-env-add-macro): Use cadr.
18695         (elint-current-buffer): Use or.  Change final message.
18696         (elint-get-top-forms): Use line-end-position.
18697         (elint-init-env): Use cadr.  Handle autoload, declare-function,
18698         and defalias.
18699         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
18700         (regexp-assoc): Remove unused function.
18701         (elint-top-form): Set elint-current-pos, to record the start of the
18702         top-level form, for compilation-mode.
18703         (elint-form): Trap errors in macro expansion.  Use dolist.
18704         (elint-unbound-variable): Use elint-builtin-variables and
18705         elint-autoloaded-variables.
18706         (elint-get-args): Use cadr, or.
18707         (elint-check-cond-form): Use dolist, cadr.
18708         (elint-check-condition-case-form): Doc fix.  Use cadr.
18709         Use elint-extra-errors.
18710         (elint-log): New function.
18711         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18712         Distinguish errors and warnings.
18713         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
18714         Use a bytecomp-style format.
18715         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
18716         (elint-get-log-buffer): Use compilation mode.  Disable undo.
18717         Don't truncate lines.
18718         (elint-initialize): Set builtin and autoloaded variable lists.
18719         Only process elint-unknown-builtin-args if non-nil.
18720         (elint-find-builtin-variables, elint-find-autoloaded-variables):
18721         New functions.
18722         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
18724 2009-07-22  Kevin Ryde  <user42@zip.com.au>
18726         * net/newst-backend.el (newsticker--parse-atom-1.0)
18727         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18728         (newsticker--parse-rss-1.0):
18729         * progmodes/idlwave.el (idlwave-mode):
18730         * progmodes/idlw-shell.el (idlwave-shell-mode):
18731         * progmodes/vera-mode.el (vera-mode):
18732         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18733         * progmodes/vhdl-mode.el (vhdl-mode):
18734         * textmodes/table.el (table-generate-source)
18735         (table--warn-incompatibility):
18736         Hyperlink urls in docstrings with URL `...'.
18738 2009-07-22  Glenn Morris  <rgm@gnu.org>
18740         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18741         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18742         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18743         Remove leading * from defcustom docs.
18745         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
18747         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18748         defcustom doc.
18749         (list-load-path-shadows): Optionally, just return shadows as a string.
18751         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18753 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
18755         * mail/rmailedit.el (rmail-edit-mode):
18756         Use auto-save-include-big-deletions.
18758         * mail/rmail.el (rmail-variables):
18759         Use auto-save-include-big-deletions.
18761         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18762         changes.
18764 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
18766         * calc/calc.el (calc-undo-length): New variable.
18767         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18769 2009-07-21  Richard Stallman  <rms@gnu.org>
18771         * files.el (auto-save-mode): Handle buffer-save-size = -2
18772         for toggling mode.
18774 2009-07-21  Glenn Morris  <rgm@gnu.org>
18776         * textmodes/ispell.el (ispell-looking-back): Update declaration.
18778         * calendar/todo-mode.el (calendar-current-date): Update declaration.
18780         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18781         silence compiler.  Instead...
18782         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18783         (ps-print-ensure-fontified): Update for above function name changes.
18785         * printing.el (pr-mh-get-msg-num, pr-mh-show)
18786         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18787         silence compiler.  Instead...
18788         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18789         (mh-show-buffer): Only define for compiler.
18790         (pr-mh-current-message): Update for above function name changes.
18792         * files.el (abort-if-file-too-large): Explicitly pass `filename'
18793         as an argument.
18794         (find-file-noselect, insert-file-1): Update for above change.
18796         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18798         * mail/mailclient.el (mailclient-send-it): Fix message.
18800         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18801         (edebug-eval): Check cl-debug-env is bound.
18802         (print-level, print-circle): Don't redefine built-in variables.
18804         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18805         (custom-print-vectors): Remove old comments from doc.
18807         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18808         (emerge-version): Make the variable an obsolete alias for the
18809         emacs-version variable.  Make the function obsolete.
18810         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18811         Emerge options, rather than merging in into the main Options menu.
18812         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
18813         and auto advance modes.  Disable edit/fast items when not relevant.
18815 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
18817         * term/vt420.el (terminal-init-vt420): Fix typo.
18819 2009-07-20  Sam Steingold  <sds@gnu.org>
18821         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18822         variable (removed from compile.el on 2004-03-11).
18824 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
18826         * files.el (hack-local-variables-filter): Fix last change.
18828 2009-07-19  Juri Linkov  <juri@jurta.org>
18830         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18831         (dir-local-variables-alist): New buffer-local variable.
18832         (hack-local-variables-filter): If variable is not dir-local,
18833         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18834         because file-local overrides dir-local.
18835         (c-postprocess-file-styles) <declare-function>:
18836         Remove obsolete declaration.
18837         (hack-dir-local-variables): Add dir-local variable/value pair to
18838         `dir-local-variables-alist' and remove duplicates.  Doc fix.
18840         * help-fns.el (describe-variable): Add information about
18841         file-local and dir-local variables.
18843 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
18845         * files.el (hack-local-variables-filter): Rewrite.
18847 2009-07-19  Glenn Morris  <rgm@gnu.org>
18849         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18850         Silence compiler by only defining on XEmacs.
18852         * international/mule.el (auto-coding-regexp-alist): Only match
18853         BABYL... at the start of buffer, not of lines.  (Bug#3790)
18855         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18856         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
18857         (cal-menu-context-mouse-menu): Doc fix.
18859         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18861         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
18863 2009-07-18  Juri Linkov  <juri@jurta.org>
18865         * info.el: Virtual Info keyword finder.
18866         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18867         (Info-finder-file): New variable.
18868         (Info-finder-find-file): New function.
18869         (finder-known-keywords, finder-package-info)
18870         (find-library-name, lm-commentary): Use defvar and
18871         declare-function to silence compiler warnings.
18872         (Info-finder-find-node): New function.
18873         (info-finder): New command.
18875         * subr.el (process-kill-buffer-query-function): New function.
18876         (add-hook)<kill-buffer-query-functions>: Add hook
18877         `process-kill-buffer-query-function'.
18879 2009-07-18  Alan Mackenzie  <acm@muc.de>
18881         * progmodes/cc-mode.el (c-before-hack-hook)
18882         (c-postprocess-file-styles): Give invocation of `c-set-style'
18883         DONT-OVERRIDE parameter of t.  Already set style variables will
18884         thus not be overridden by style settings given by `c-file-syle'.
18886         * files.el (hack-local-variables-filter): Remove entries with
18887         duplicate keys from `file-local-variables-alist'.
18889 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
18891         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18892         x-set-selection if display-selections-p returns nil for the
18893         current frame.
18895 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
18897         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18899 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
18901         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18902         Accept nil in addition to a regexp.
18903         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18904         Accept nil in addition to a regexp.
18905         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18906         buffers that have an associated file.  Handle nil values of
18907         desktop-buffers-not-to-save and desktop-files-not-to-save.
18908         (Bug#3833)
18910         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18911         (x-disown-selection-internal): New functions.
18913 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
18915         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18916         warning.
18917         (gdb-breakpoints-header): Move forward to avoid compiler warning.
18918         (gdb-make-header-line-mouse-map): Remove duplicate definition.
18920 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
18922         * simple.el (set-mark): Revert last change.
18924 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
18926         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18927         rendering of pngs is not possible instead of messaging a long
18928         description.
18930 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
18932         * w32-fns.el (x-selection-owner-p): New function.
18934         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18935         (mouse-yank-at-click, mouse-yank-primary):
18936         If select-active-regions is non-nil, deactivate the mark before
18937         insertion.
18939         * simple.el (deactivate-mark, set-mark): Only save selection if we
18940         own it.
18942 2009-07-17  Kenichi Handa  <handa@m17n.org>
18944         * case-table.el (describe-buffer-case-table): Fix for the case
18945         that KEY is a cons.
18947 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
18949         * vc-rcs.el (vc-rcs-find-file-hook):
18950         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18952 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
18954         * net/tramp.el (tramp-wait-for-output): Handle the case when
18955         commands do not return a newline but a null byte before the shell
18956         prompt.  (Bug#3858)
18958 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
18960         * term/ns-win.el (ns-set-alpha): Don't declare.
18961         (ns-set-background-alpha): Remove function.
18963 2009-07-16  Kevin Ryde  <user42@zip.com.au>
18965         * emacs-lisp/copyright.el (copyright-update): Save match-data across
18966         y-or-n-p, for safety.
18968 2009-07-16  Richard Stallman  <rms@gnu.org>
18970         * files.el (auto-save-mode): If buffer-saved-size is -2,
18971         don't clobber it.
18973         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18974         (rmail-retry-ignored-headers): Add more uninteresting fields.
18976 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
18978         * net/rcirc.el (rcirc): Use history variables.
18979         (rcirc-server-name-history, rcirc-nick-name-history)
18980         (rcirc-server-port-history): New variables.
18982 2009-07-15  Kenichi Handa  <handa@m17n.org>
18984         * international/mule-cmds.el (set-language-environment-charset):
18985         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18986         ignore them.
18988         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18989         Delete unibyte-display.
18991 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18993         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18995 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18997         * simple.el (deactivate-mark): Optional argument FORCE.
18998         (set-mark): Use deactivate-mark.
19000         * info.el (Info-search): No need to check transient-mark-mode
19001         before calling deactivate-mark.
19003         * select.el (x-set-selection): Doc fix.
19004         (x-valid-simple-selection-p): Allow buffer values.
19005         (xselect--selection-bounds): Handle buffer values.
19006         Suggested by David De La Harpe Golden.
19008         * mouse.el (mouse-set-region, mouse-drag-track):
19009         Call copy-region-as-kill before setting the mark, to let
19010         select-active-regions work.
19012 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
19014         * simple.el (deactivate-mark): If select-active-regions is
19015         non-nil, copy the selection data into a string.
19016         (activate-mark): If select-active-regions is non-nil, set the
19017         selection to the current buffer.
19018         (set-mark): Update selection if select-active-regions is non-nil.
19020         * select.el (x-valid-simple-selection-p): Allow buffer values.
19022 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19024         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19025         and more featureful message-mode.
19027 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
19029         * select.el (x-set-selection): Doc fix.
19030         (x-valid-simple-selection-p): Disallow selection data consisting
19031         of a list or cons of integers, since that is not used.
19032         (xselect--selection-bounds, xselect--int-to-cons): New functions.
19033         (xselect-convert-to-string, xselect-convert-to-length)
19034         (xselect-convert-to-filename, xselect-convert-to-charpos)
19035         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19037 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
19039         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19040         output in -break-info command (Emacs bug #3794).
19042 2009-07-14  Glenn Morris  <rgm@gnu.org>
19044         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19045         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19046         (edebug-print-length, edebug-print-level, edebug-print-circle)
19047         (edebug-sit-for-seconds, edebug-view-outside)
19048         (edebug-bounce-point, edebug-set-global-break-condition)
19049         (edebug-Go-nonstop-mode, edebug-trace-mode)
19050         (edebug-Trace-fast-mode, edebug-continue-mode)
19051         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19052         (edebug-visit-eval-list): Doc fixes.
19054         * subr.el (def-edebug-spec): Doc fix.
19056 2009-07-14  Kenichi Handa  <handa@m17n.org>
19058         * international/characters.el: Fix setting of category ?C.
19060 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
19062         * term/ns-win.el (x-select-font): defalias x-select-font to
19063         ns-popup-font-panel instead of generate-fontset-menu.
19065 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
19067         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
19069 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
19071         * arc-mode.el (archive-find-type): Allow for a PK00 string before
19072         the PK\003\004 header (Bug#3770).
19074 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
19076         * pcomplete.el (pcomplete-comint-setup): Check for
19077         shell-dynamic-complete-filename too.
19079 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
19081         * simple.el (temporary-goal-column): Change the value for
19082         line-move-visual to a cons cell.
19083         (line-move-visual): Record or set the window hscroll, if
19084         necessary (Bug#3494).
19085         (line-move-1): Handle cons value of temporary-goal-column.
19087 2009-07-11  Kenichi Handa  <handa@m17n.org>
19089         * international/mule-diag.el (describe-character-set): Don't show
19090         width.
19092 2009-07-10  Sam Steingold  <sds@gnu.org>
19094         * progmodes/compile.el (compilation-mode-font-lock-keywords):
19095         Omake sometimes indents the errors it prints, so allow all
19096         regexps to start with spaces.
19098 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
19100         * cus-edit.el (customize-changed-options-previous-release):
19101         Bump value to 22.1.  (Bug#3804)
19103 2009-07-08  Sam Steingold  <sds@gnu.org>
19105         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19106         to be a cons cell (test . ignored-directory) to selectively ignore
19107         some directories depending on the location of the search.
19109 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
19111         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19112         remote user is root, on the local host.
19113         (tramp-local-host-p): Either the local user or the remote user
19114         must be root.  (Bug#3771)
19116 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
19118         * progmodes/gdb-mi.el (gdb): Remove description of
19119         gdb-use-separate-io-buffer.
19120         (menu): Don't allow toggling of or enable
19121         gdb-use-separate-io-buffer from menubar.
19123 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19125         * mail/unrmail.el (unrmail): Make sure the message ends with two
19126         newlines (Bug#3769).
19128 2009-07-08  Glenn Morris  <rgm@gnu.org>
19130         * calendar/calendar.el (calendar-current-date): Rework previous change.
19132 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
19134         * calendar/calendar.el (calendar-current-date):
19135         Add an optional argument giving an offset from today.
19137 2009-07-08  Glenn Morris  <rgm@gnu.org>
19139         * tutorial.el (tutorial--describe-nonstandard-key):
19140         Adjust the message for when a key has been unbound.
19141         (help-with-tutorial): Hide the arch-tag.
19143 2009-07-08  Kenichi Handa  <handa@m17n.org>
19145         * international/fontset.el (setup-default-fontset): For each
19146         script, append (not set) font-specs.
19148         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19149         docstring.
19151 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
19153         * progmodes/gdb-mi.el (gdb-init-1): Move sending
19154         -data-list-register-names to ...
19155         (gdb-starting): ... here because GDB 7.0 requires execution to
19156         have started when using this MI command.
19157         (gdb-set-header): New function to distinguish select and
19158         unselected tabs in gdb buffers.
19159         (gdb-propertize-header): New macro that uses gdb-set-header.
19160         (gdb-breakpoints-header, gdb-locals-header): Use it.
19161         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19163 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
19165         * Makefile.in (ELCFILES): Remove fadr.elc.
19167 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
19169         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19170         may contain frame information, so `string-match' should be used.
19171         (gdb-update): Disassembly is invalidated through
19172         `gdb-get-selected-frame'.
19173         (gdb-pad-string): New function to pad string with spaces.
19174         (gdb-invalidate-disassembly): Invalidate only if the buffer
19175         exists.
19176         (gdb-disassembly-handler-custom): Column alignment.
19177         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19178         placing new ones.
19179         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19180         end of line, too.
19181         (gdb-frame-handler): Match convention to for disassembly buffer
19182         mode name.
19183         (gdb-stack-list-frames-handler): Rewritten without regexps.
19184         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19185         not highlight breakpoints without line information.
19186         (gdb-input): Add trailing newline to command.
19188         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19189         buffer properly.
19190         (gdb-breakpoints-list-handler-custom): Replacement for
19191         `gdb-break-list-handler'.  Using real parser instead of regexps
19192         now.
19193         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19194         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19195         to place breakpoints.
19196         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19197         functions.
19198         (gdb-disassembly-handler-custom): Show overlay arrow.
19199         (gdb-disassembly-place-breakpoints): Show breakpoints in
19200         disassembly buffer.
19201         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19202         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19203         instead of parsing breakpoints buffer.  Fixed old menu references
19204         in `gud-menu-map'.
19206         * fadr.el: Remove.
19208         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19209         (gdb-memory-address): New variable which holds top address of
19210         memory page shown in memory buffer.
19211         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19212         New customization variables.
19213         New functions:
19214         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19215         display the memory buffer.
19216         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19217         buffer display parameters.
19218         (def-gdb-memory-format, gdb-memory-format-binary)
19219         (gdb-memory-format-octal, gdb-memory-format-unsigned)
19220         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19221         Functions for setting memory buffer format.
19222         (gdb-memory-unit-word, gdb-memory-unit-halfword)
19223         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19224         unit size used in memory buffer.
19225         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19226         Switch to next/previous page of memory buffer.
19227         Now using (bindat-get-field) instead of fadr functions.
19229 2009-07-07  Sam Steingold  <sds@gnu.org>
19231         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19232         non-top-level files.
19234 2009-07-07  Kenichi Handa  <handa@m17n.org>
19236         * international/mule-cmds.el (reset-language-environment):
19237         Put the highset priority to the charset iso-8859-1.
19239 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19241         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19242         to the end of the line when locating the block (Bug#700).
19244 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
19246         * net/tramp.el (tramp-handle-write-region): Flush file properties
19247         in case of short track.
19249 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
19251         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19252         Coded custom representation of verilog error regular expressions
19253         to work with Emacs-22's new format.
19254         (verilog-error-regexp-xemacs-alist): Coded custom representation
19255         of verilog error regular expressions to work with XEmacs format.
19256         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19257         error recognition into XEmacs.
19258         (verilog-error-regexp-add-emacs): Hook routine to install verilog
19259         error recognition into Emacs-22.
19261 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19263         * woman.el: Remove stand-alone closing parentheses.
19264         (woman-file-name, woman2-format-paragraphs)
19265         (woman-leave-blank-lines): Code cleanup.
19266         (woman-use-own-frame): Change default to nil.
19267         (woman-italic, woman-bold, woman-unknown, woman-addition):
19268         Change defaults to inherit from default faces.
19269         (woman2-process-escapes): Consume the newline after a stand-alone
19270         filler character (Bug#3651).
19272 2009-07-06  Glenn Morris  <rgm@gnu.org>
19274         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19275         (top-level): Move provide to the end.
19276         (ffap): Remove defunct URL from custom group.
19278         * subr.el (eval-after-load): Doc fix.
19280 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
19282         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19283         `calc-embedded-word' is called twice.
19285 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19287         * files.el (find-alternate-file-other-window, find-alternate-file):
19288         Obey confirm-nonexistent-file-or-buffer.
19290 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
19292         * dired-aux.el (dired-show-file-type): Handle remote files.
19294 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
19296         * desktop.el (desktop-globals-to-save):
19297         Add file-name-history (Bug#2750).
19299 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
19301         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19303 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
19305         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19306         property on entire argument since this is what eshell-lisp-command
19307         expects.
19309 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
19311         * net/tramp-gvfs.el (tramp-gvfs-methods)
19312         (tramp-gvfs-zeroconf-domain)
19313         (tramp-bluez-discover-devices-timeout): Add version flag.
19314         (tramp-gvfs-handler-mounted-unmounted)
19315         (tramp-gvfs-connection-mounted-p): Polish handling of
19316         incompatibilities between GVFS 0.2 and 1.0.
19318 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
19320         * cus-start.el (all): Add make-pointer-invisible.
19322 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
19324         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19325         formatted correctly.
19327 2009-07-02  Juri Linkov  <juri@jurta.org>
19329         * info.el: Virtual Info files and nodes.
19330         (Info-virtual-files, Info-virtual-nodes): New variables.
19331         (Info-current-node-virtual): New variable.
19332         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19333         New functions.
19334         (Info-file-supports-index-cookies): Use Info-virtual-file-p
19335         to check for a virtual file instead of checking a fixed list
19336         of node names.
19337         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19338         instead of ad-hoc processing of "dir" and (apropos history toc).
19339         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19340         instead of ad-hoc processing of "dir" and (apropos history toc).
19341         Reread a file when moving from a virtual node.
19342         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19343         (Info-directory-toc-nodes, Info-directory-find-file)
19344         (Info-directory-find-node): New functions.
19345         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19346         (Info-history): Move part of code to
19347         `Info-history-find-node'.
19348         (Info-history-toc-nodes, Info-history-find-file)
19349         (Info-history-find-node): New functions.
19350         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19351         (Info-toc): Move part of code to `Info-toc-find-node'.
19352         (Info-toc-find-node): New function.
19353         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
19354         the current Info file name to references because now the node
19355         "*TOC*" belongs to the same Info manual.
19356         (Info-toc-build): Rename from `Info-build-toc'.
19357         (Info-toc-nodes): Rename input argument `file' to `filename'.
19358         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19359         instead of ad-hoc processing of ("dir" apropos history toc).
19360         (Info-index-nodes): Use Info-virtual-file-p
19361         to check for a virtual file instead of checking a fixed list
19362         of node names.
19363         (Info-index-node): Add check for `Info-current-node-virtual'.
19364         Raise `save-match-data' higher up the tree to contain
19365         `search-forward' too (bug fix).
19366         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19367         (Info-virtual-index-nodes): New variable.
19368         (Info-virtual-index-find-node, Info-virtual-index): New functions.
19369         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19370         (Info-apropos-file, Info-apropos-nodes): New variables.
19371         (Info-apropos-toc-nodes, Info-apropos-find-file)
19372         (Info-apropos-find-node, Info-apropos-matches): New functions.
19373         (info-apropos): Move part of code to `Info-apropos-find-node' and
19374         `Info-apropos-matches'.
19375         (Info-mode-map): Bind "I" to `Info-virtual-index'.
19376         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19377         for a virtual file instead of checking a fixed list of node names.
19379         * simple.el (async-shell-command): New command.
19381         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19383         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19384         instead of `mount-info'.
19386 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
19388         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19389         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19391 2009-07-02  Kenichi Handa  <handa@m17n.org>
19393         * international/mule.el (set-keyboard-coding-system): Force *-unix
19394         coding-system to avoid eol conversion.
19396 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
19398         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19399         Add handler for `process-file', `shell-command' and
19400         `start-file-process'.
19401         (tramp-gvfs-handle-shell-command)
19402         (tramp-gvfs-handle-start-file-process)
19403         (tramp-gvfs-handle-process-file): New defuns.
19404         (tramp-synce-list-devices): Simplify check for existence of property.
19406 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
19408         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19410 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
19412         * language/korean.el (set-language-info-alist): Add korean-cp949,
19413         cp949 to spec.
19415 2009-07-01  Kenichi Handa  <handa@m17n.org>
19417         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19419         * international/encoded-kb.el: Deleted.
19421         * international/mule.el (set-keyboard-coding-system): Perform the
19422         necessary setup here instead of calling encoded-kbd-setup-display.
19424 2009-07-01  Glenn Morris  <rgm@gnu.org>
19426         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19428 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
19430         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
19432 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
19434         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19435         Handle also the 'rename case, when setting file modes.  (Bug#3712)
19436         (tramp-default-file-modes): Remove execute permissions.
19438         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19439         (top): Add a default for "synce" in `tramp-default-user-alist'.
19440         Add completion function for "synce" method.
19441         (tramp-hal-service, tramp-hal-path-manager)
19442         (tramp-hal-interface-manager, tramp-hal-interface-device):
19443         New defconst.
19444         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19445         (tramp-synce-list-devices, tramp-synce-parse-device-names):
19446         New defuns.
19448         * net/trampver.el: Update release number.
19450 2009-06-30  Kenichi Handa  <handa@m17n.org>
19452         * international/fontset.el (setup-default-fontset): Add CJK fonts
19453         for symbols and the other miscellaneous characters.
19455         * language/korea-util.el (setup-korean-environment-internal):
19456         Make char-width-table suitable for Korean environments.
19457         (exit-korean-environment): Cancel above.
19459         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19460         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19461         setup-function to make char-width-table suitable for respective
19462         environments, and an exit-function to cancel that.
19464         * language/japan-util.el (setup-japanese-environment-internal):
19465         Call use-cjk-char-width-table with arg `ja_JP'.
19467         * international/characters.el (cjk-char-width-table): Delete it.
19468         (cjk-char-width-table-list): New variable.
19469         (use-cjk-char-width-table): New arg local-name.
19470         (use-default-char-width-table): Fix for the case that Emacs is
19471         already using the default char-width-table.
19473 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
19475         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19476         modes mandatory.  (Bug#3712)
19478 2009-06-29  Alan Mackenzie  <acm@muc.de>
19480         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19481         correction between the visible width of TABs and their number of bytes.
19483 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
19485         * server.el (server-buffer-done): Prevent kill-buffer from
19486         prompting by clearing the buffer modification flag (Bug#3696).
19488 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
19490         * progmodes/verilog-mode.el (verilog-beg-of-statement)
19491         (verilog-endcomment-reason-re): Support unique case and priority case.
19492         (verilog-basic-complete-re): Support localparam lineup.
19493         (verilog-beg-of-statement-1): Fix for robustness, unique case.
19494         (verilog-set-auto-endcomments): Fix for unique case, always_comb
19495         commenting.
19496         (verilog-leap-to-case-head): Now support *nested* unique &
19497         priority case statements.
19498         (verilog-auto-lineup): Make just declarations the default (as it
19499         had been).
19500         (verilog-leap-to-case-head): Support priority/unique case statements.
19501         (verilog-auto-lineup): Rework to give users radio buttons to
19502         select the various styles of automatic lineup.
19503         (verilog-error-regexp-alist): Rework to support the XEmacs style
19504         of error regular expressions from compilers, lint tools &
19505         simulators.  Note that GNU Emacs has made it impossible for a mode
19506         to load such things.
19507         (electric-verilog-terminate-line, verilog-indent-declaration)
19508         (verilog-auto-wiure): Rework for radio button selection of
19509         auto-lineup selection of specification of auto lineup.
19510         (verilog-beg-of-statement-1): Redesign to support proper operation
19511         in additional code, based on testing with auto-lineup.
19512         (verilog-calculate-indent, assignments & declarations)
19513         (verilog-backward-token): Enhance to support auto-lineup of
19514         assignments & declarations.
19515         (verilog-in-directive-p, verilog-at-struct-p): New function for
19516         easy test of whether we are.
19517         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19518         to support safe execution at almost anyline.
19519         (verilog-calc-1): Properly support indenting deep inside generate
19520         blocks.
19521         (verilog-init-font): Remove definition & use of verilog-init-font,
19522         as it is redundant with font-lock-defaults.
19523         (verilog-mode): Alter the definition of verilog-font-lock-defaults
19524         to avoid circular calls if syntax-ppss is a function (as is the
19525         case now in 22.x GNU Emacs) as that function would sometimes call
19526         itself, leading to (nearly) infinite recursion.
19527         (verilog-ovm-begin-re, verilog-ovm-end-re)
19528         (verilog-ovm-statement-re, verilog-leap-to-head)
19529         (verilog-backward-token): Add support for OVM macros.  Some are
19530         complete statements, and others open and close scopes like begin
19531         and end.
19532         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19533         (verilog-defun-level-generate-only-re): Really fix the defun-list
19534         compilation issue.
19535         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19536         coverpoint, constraint and cross statements.
19537         (verilog-defun-level-list, verilog-generate-defun-level-list)
19538         (verilog-all-defun-level-list): Redo these specifications - it is
19539         too hard to support eval-when compile aggregation of lists also
19540         built at when-compile time.
19541         (verilog-defun-level-list): Place defconsts of variables used in
19542         building regular expressions which are built in eval-when-compile
19543         bodies in the same eval-when-compile body to facilitate compile
19544         without load.
19545         (verilog-beg-block-re-ordered): Support indenting
19546         virtual/protected tasks and functions.
19547         (verilog-defun-level-list, verilog-in-generate-region-p)
19548         (verilog-backward-ws&directives, verilog-calc-1): Speed up
19549         indentation of some module items (generate items).
19550         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19551         across virtual/protected tasks and functions.
19553 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
19555         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19556         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
19557         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19558         in concatenations.  Reported by Yishay Belkind.
19559         (verilog-auto-ascii-enum): Support one-hot state machines in
19560         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
19561         (verilog-auto-inst, verilog-auto-inst-port): Include interface
19562         modport in AUTOINST and add vl-modport for users.
19563         Reported by David Rogoff.
19564         (verilog-auto-inout-module, verilog-auto-inst)
19565         (verilog-decls-get-interfaces, verilog-insert-definition)
19566         (verilog-insert-one-definition, verilog-read-decls)
19567         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19568         (verilog-sig-modport, verilog-signals-combine-bus)
19569         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19570         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19571         Suggested by David Rogoff.
19572         (verilog-repair-open-comma): Fix non-insertion of comma when
19573         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
19574         (verilog-make-width-expression): Simplify [A-1:0] expression
19575         widths to just {A{1'b0}}.
19576         (verilog-mode): Cleanup checkdoc warnings.
19577         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19578         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19579         inputs/outputs or data type.  Suggested by Vasu Kandadi.
19580         (next-error-last-buffer): Fix byte-compiler warning.
19581         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19582         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19583         or shell command text during AUTO expansion.  Suggested by Tad Truex.
19584         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19585         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19586         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19587         in AUTOINOUT.  Reported by Matthew Lovell.
19588         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19589         causing use of <= assignments.  Reported by Alex Reed.
19590         (verilog-read-decls): Fix triand, trior, wand, wor to be
19591         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
19592         (verilog-extended-complete-re): Support import "DPI-C" functions.
19593         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19594         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
19595         (verilog-insert-date, verilog-insert-year)
19596         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19597         Windows systems.  Reported by Michael Potts.
19598         (verilog-read-module-name): Fix AUTOINST when the child module
19599         declaration's name is a tick define.  Reported by Elliot Mednick.
19600         (verilog-read-decls): Fix V2K parameter bit subscripts getting
19601         passed to next parameter's definition.  Reported by Bruce T.
19602         (verilog-read-decls): Fix detecting "parameter int" when using
19603         AUTOINSTPARAM.  Reported by Bruce T.
19604         (verilog-goto-defun): Fix goto not finding modules unless first
19605         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
19606         (verilog-mode): Expand -f flag arguments on entry to mode so
19607         verilog-goto-defun will work.  Reported by Lawrence Butcher.
19608         (verilog-getopt): Expand environment variables in -f file
19609         arguments.  Suggested by Lawrence Butcher.
19610         (verilog-set-define): Fix "Symbol's value as variable is void"
19611         when reading enumerations.
19612         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19613         Suggested by Stephen Peltan.
19614         (verilog-read-defines): Fix reading of enumerations in include
19615         files.  Reported by Steve Peltan.
19617 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19619         * files.el (trash-directory): Fix defcustom type.
19621 2009-06-28  Juri Linkov  <juri@jurta.org>
19623         * help-fns.el (describe-function-1): Correctly locate adviced
19624         functions in hyperlink (Bug#2438).
19626 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
19628         * files.el (trash-directory): Change default to nil.
19629         (move-file-to-trash): If trash-directory is nil and
19630         system-move-file-to-trash is unbound, perform freedesktop-style
19631         trashing.
19633 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19635         * files.el (move-file-to-trash): Add freedesktop trash
19636         support (Bug#973).
19638 2009-06-28  Glenn Morris  <rgm@gnu.org>
19640         * autorevert.el (global-auto-revert-non-file-buffers)
19641         (global-auto-revert-mode): Doc fixes.
19643 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
19645         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19647 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
19649         * faces.el (x-handle-named-frame-geometry): Ensure that we have
19650         opened an X connection before calling x-get-resource (Bug#3194).
19652         * play/doctor.el: Remove reference to obsolete website.
19653         (make-doctor-variables): Correct grammar mistake (Bug#2633).
19655 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
19657         Remove find-file-not-found-hook VC method.  (Bug#2757)
19658         * vc-hooks.el (vc-file-not-found-hook)
19659         (vc-default-find-file-not-found-hook): Remove functions.
19660         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19661         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19662         * vc.el:
19663         * vc-hg.el:
19664         * vc-git.el: Do not mention find-file-not-found-hook VC method.
19666 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
19668         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19669         compatibility function for `looking-back'.
19671         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19672         Use `ispell-looking-back'.
19674 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
19676         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19677         rather than `filename'.
19679 2009-06-23  Miles Bader  <miles@gnu.org>
19681         * face-remap.el (text-scale-set): New function.
19683 2009-06-23  Glenn Morris  <rgm@gnu.org>
19685         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19687         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19689         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19691         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19693         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19694         Simplify Persian conditionals.
19696         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19697         variable `filename'.
19699         * comint.el (comint-insert-input): Doc fix.
19701         * Makefile.in (ELCFILES): Fix typo in previous change.
19703 2009-06-23  Miles Bader  <miles@gnu.org>
19705         * cus-start.el: Add entry for `recenter-redisplay'.
19707 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19709         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19710         Add an optional argument for the backend, use it instead of
19711         calling vc-backend.
19712         (vc-mode-line): Add an optional argument for the backend.
19713         Pass the backend to vc-state and vc-working-revision.  Move code for
19714         special handling for vc-state being a buffer to ...
19716         * vc-rcs.el (vc-rcs-find-file-hook):
19717         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
19719         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19720         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19721         vc-stay-local-p and vc-mode-line calls.
19723         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19724         (vc-cvs-diff, vc-cvs-annotate-command)
19725         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19726         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19727         vc-mode-line calls.
19729         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19730         direct comparison.
19731         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19732         backend when calling vc-mode-line.
19733         (vc-register): Do not create a closure for calling the vc register
19734         function, call it directly.
19736 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19738         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19739         to make it obvious item can be clicked.
19741         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19743 2009-06-23  Kenichi Handa  <handa@m17n.org>
19745         * language/korea-util.el (korean-key-bindings): Change the binding
19746         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
19747         same command.
19749 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
19751         Sync with Tramp 2.1.16.
19753         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19755         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
19756         when a loading of a package fails.  Completion function for rsync
19757         is `tramp-completion-function-alist-ssh'.
19758         (all): Replace all calls of `split-string' and
19759         `tramp-split-string' by `tramp-compat-split-string'.
19760         (tramp-default-method): Use `tramp-compat-process-running-p'.
19761         (tramp-default-proxies-alist): Allow also Lisp forms.
19762         (tramp-remote-path): Add choice "Private Directories".
19763         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19764         (tramp-domain-regexp): Allow also "-", "_" and ".".
19765         (tramp-end-of-output): Remove newlines, and add "$" at the end.
19766         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19767         (tramp-debug-message): Insert header line in debug buffer.
19768         (tramp-handle-directory-files-and-attributes-with-stat):
19769         Care about filenames with spaces, or starting with "-".
19770         (tramp-handle-dired-uncache): New defun.
19771         (tramp-handle-insert-directory): Don't flush the directory from
19772         cache, this is handled by `dired-uncache' now.
19773         (tramp-handle-insert-file-contents): Improve error handling.
19774         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19775         Quote `tramp-end-of-output'.
19776         (tramp-action-password): Improve trace message.
19777         (tramp-check-for-regexp): Both echoes must be present, before removing.
19778         (tramp-open-connection-setup-interactive-shell): Trace coding system.
19779         (tramp-compute-multi-hops): Eval cons cells of
19780         `tramp-default-proxies-alist'.
19781         (tramp-maybe-open-connection): Use the same command pattern for
19782         first hop and further hops.
19783         (tramp-wait-for-output): Remove handling of newlines.
19784         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19785         (tramp-split-string): Remove function.  It is handled in
19786         tramp-compat now.
19788         * net/tramp-cmds.el (tramp-bug):
19789         Recommend `tramp-cleanup-all-connections' in the bug mail.
19791         * net/tramp-compat.el (tramp-compat-split-string)
19792         (tramp-compat-process-running-p): New defuns.
19794         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19795         for `dired-uncache'.
19797         * net/tramp-gvfs.el: New package.
19799         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19800         Add handler for `dired-uncache'.
19801         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19803         * net/trampver.el: Update release number.  Make version check fit
19804         for SXEmacs 22.
19806 2009-06-22  Jim Meyering  <meyering@redhat.com>
19808         Automatically handle .xz suffix (XZ-compressed files), too.
19809         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19810         XZ is the successor to LZMA: <http://tukaani.org/xz/>
19812 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
19813             Nick Roberts  <nickrob@snap.net.nz>
19815         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19816         repository (http://sphinx.net.ru/hg/gdb-mi/).
19818 2009-06-22  Glenn Morris  <rgm@gnu.org>
19820         * files.el (dir-locals-collect-mode-variables): Allow for any number of
19821         `mode' and `eval' entries.  (Bug#3430)
19823         * Makefile.in (ELCFILES): Add fadr.elc.
19825         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19826         differing behavior of \n and ^ in strings.  (Bug#3385)
19828         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19830         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19831         property.
19832         (lisp-indent-function): Make it a defcustom.
19834 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
19836         * progmodes/gdb-ui.el: Replace with ...
19837         * progmodes/gdb-mi.el: ... this file.
19838         * progmodes/gud.el: Modify for gdb-mi.el.
19840 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
19842         * fadr.el: New file.
19844 See ChangeLog.14 for earlier changes.
19846 ;; Local Variables:
19847 ;; coding: utf-8
19848 ;; End:
19850   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
19852   This file is part of GNU Emacs.
19854   GNU Emacs is free software: you can redistribute it and/or modify
19855   it under the terms of the GNU General Public License as published by
19856   the Free Software Foundation, either version 3 of the License, or
19857   (at your option) any later version.
19859   GNU Emacs is distributed in the hope that it will be useful,
19860   but WITHOUT ANY WARRANTY; without even the implied warranty of
19861   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19862   GNU General Public License for more details.
19864   You should have received a copy of the GNU General Public License
19865   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.