gnus.texi (Filtering New Groups): Mention.
[emacs.git] / lisp / ChangeLog
blob59ca93809bb89808c6402e497e52e7bd723137fd
1 2010-12-13  Romain Francoise  <romain@orebokech.com>
3         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
5 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7         * net/netrc.el (netrc-point-at-eol): Remove the unused
8         netrc-point-at-old and netrc-bound-and-true-p bindings.
9         (netrc-parse): Cache the netrc contents.
11 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
13         * subr.el (posn-col-row): Evaluate header-line-format in the
14         context of the POSITION window's buffer.
16 2010-12-13  Glenn Morris  <rgm@gnu.org>
18         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
19         (with-silent-modifications): Doc fixes.
21 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
23         * net/tramp.el (tramp-action-password, tramp-process-actions):
24         Revert patch from 2010-12-08.  Use `save-restriction'.
26 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
28         * calendar/diary-lib.el (diary-list-sexp-entries):
29         Handle case of no newline at end of file.  (Bug#7536)
31 2010-12-13  Glenn Morris  <rgm@gnu.org>
33         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
35 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
37         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
38         (tramp-process-actions): Do not widen.
39         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
40         Protect buffer-modified value.  (Bug#7557)
42 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
44         * log-edit.el (log-edit-changelog-entries):
45         Regexp quote filename.  (Bug#7505)
47 2010-12-13  Tom Breton  <tehom@panix.com>
49         * cus-edit.el (custom-save-all):
50         Bind print-length and print-level to nil.  (Bug#7581)
52 2010-12-13  Glenn Morris  <rgm@gnu.org>
54         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
55         Run hooks to update menu contents.  (Bug#7586)
57         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
58         file names, for the sake of MS Windows.  (Bug#7588)
60 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
62         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
63         empty lines without a leading space.
65 2010-12-13  Leo  <sdl.web@gmail.com>
67         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
68         while mapping over marks (Bug#6810).
70 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
72         * image-dired.el (image-dired-db-file)
73         (image-dired-temp-image-file, image-dired-gallery-dir)
74         (image-dired-temp-rotate-image-file): Set default values relative
75         to image-dired-dir (Bug#7518).
77 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
79         * format.el (format-decode-run-method): Pass args FROM and TO, not
80         point-min and point-max, to shell-command-on-region (Bug#7488).
82 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
84         * frame.el (blink-cursor-mode): Make default t for ns.
86 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
88         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
90 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
92         * comint.el (comint-dynamic-list-input-ring)
93         (comint-dynamic-complete-filename)
94         (comint-replace-by-expanded-filename)
95         (comint-dynamic-simple-complete)
96         (comint-dynamic-list-filename-completions)
97         (comint-dynamic-list-completions): Doc fix (Bug#7499).
99         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
100         Doc fix (Bug#7471).
102 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
104         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
105         (Bug#7533).
107 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
109         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
110         (Bug#7491).
112 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
114         * files.el (file-relative-name): Handle UNC file names on
115         DOS/Windows.  (Bug#4674)
117 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
119         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
120         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
121         (epg-context-set-passphrase-callback): Mention that the callback
122         is not called when used with GnuPG 2.x.
124 2010-12-13  Glenn Morris  <rgm@gnu.org>
126         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
127         Ensure ps-footer-font-size-internal is initialized.
128         Call ps-get-page-dimensions before trying to use ps-font-for-text.
130 2010-12-13  Kenichi Handa  <handa@m17n.org>
132         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
133         within condition-case.
134         (rmail-show-mime): Don't use condition-case.
135         (rmail-search-mime-message): New function.
136         (rmail-search-mime-message-function): Set to
137         rmail-search-mime-message.
139 2010-12-13  Leo  <sdl.web@gmail.com>
141         * ido.el (ido-common-initialization): New function.  (bug#3274)
142         (ido-mode): Use it.
143         (ido-completing-read): Call it.
145 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
147         * bookmark.el (bookmark-name-from-full-record): Rename back to
148         this original name from `bookmark-name-from-record' reverting part
149         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
150         As Drew Adams pointed out, there was no reason to cause churn for
151         third-party callers.
153 2010-12-12  Alan Mackenzie  <acm@muc.de>
155         * progmodes/cc-engine.el (c-forward-type): Before scanning a
156         template arglist, check that the current language supports this.
158 2010-12-11  Glenn Morris  <rgm@gnu.org>
160         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
161         state of the file matches.  (Bug#7544)
162         (vc-bzr-register, vc-bzr-checkin)
163         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
164         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
166         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
168 2010-12-11  Karel Klíč  <kklic@redhat.com>
170         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
172 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
174         Derive from prog-mode, use derived-mode-p, and fix up various
175         minor style issues in lisp/progmodes.
177         * progmodes/vhdl-mode.el (vhdl-mode):
178         * progmodes/verilog-mode.el (verilog-mode):
179         * progmodes/vera-mode.el (vera-mode):
180         * progmodes/sql.el (sql-mode):
181         * progmodes/scheme.el (scheme-mode):
182         * progmodes/perl-mode.el (perl-mode):
183         * progmodes/octave-inf.el (inferior-octave-mode):
184         * progmodes/autoconf.el (autoconf-mode):
185         * progmodes/m4-mode.el (m4-mode):
186         * progmodes/inf-lisp.el (inferior-lisp-mode):
187         * progmodes/idlwave.el (idlwave-mode):
188         * progmodes/icon.el (icon-mode):
189         * progmodes/idlw-help.el (idlwave-help-mode):
190         * progmodes/dcl-mode.el (dcl-mode):
191         * progmodes/idlw-shell.el (idlwave-shell-mode):
192         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
193         (ebrowse-member-mode, ebrowse-electric-position-mode):
194         Use define-derived-mode.
196         * progmodes/xscheme.el (exit-scheme-interaction-mode)
197         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
198         (xscheme-debugger-mode-p, xscheme-send-string-1):
199         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
200         (tcl-load-file, tcl-restart-with-file):
201         * progmodes/ps-mode.el (ps-run-running):
202         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
203         * progmodes/js.el (js--get-all-known-symbols):
204         * progmodes/inf-lisp.el (inferior-lisp-proc):
205         * progmodes/idlwave.el (idlwave-beginning-of-statement)
206         (idlwave-template, idlwave-update-buffer-routine-info)
207         (idlwave-update-current-buffer-info)
208         (idlwave-get-routine-info-from-buffers, idlwave-choose)
209         (idlwave-scan-class-info, idlwave-fix-keywords)
210         (idlwave-list-buffer-load-path-shadows):
211         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
212         (idlwave-toolbar-remove):
213         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
214         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
215         (idlwave-shell-menu-def):
216         * progmodes/idlw-complete-structtag.el
217         (idlwave-prepare-structure-tag-completion):
218         * progmodes/gud.el (gud-set-buffer):
219         * progmodes/f90.el (f90-backslash-not-special):
220         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
222         * progmodes/xscheme.el (xscheme-start)
223         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
224         * progmodes/which-func.el (which-function):
225         * progmodes/vhdl-mode.el (vhdl-set-style):
226         * progmodes/verilog-mode.el (verilog-set-compile-command)
227         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
228         (verilog-set-define, verilog-auto-reeval-locals):
229         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
230         * progmodes/simula.el (simula-mode):
231         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
232         * progmodes/python.el (python-check, python-mode):
233         * progmodes/prolog.el (prolog-mode-variables):
234         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
235         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
236         * progmodes/delphi.el (delphi-mode):
237         * progmodes/cc-styles.el (c-setup-paragraph-variables):
238         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
239         (c-font-lock-init): Move make-local-variable to their setq.
241         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
242         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
243         make-local-hook.
244         * progmodes/sh-script.el (sh-require-final-newline): Remove.
245         (sh-set-shell): Don't set require-final-newline since it's already done
246         by prog-mode.
247         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
248         since we never set it.
249         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
250         Use read-string and standard prompt.
251         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
252         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
253         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
254         (meta-common-mode-map): Rename from meta-mode-map.
255         Remove C-m binding, which is a user preference, not mode specific.
256         (meta-common-mode): New major mode; replace meta-common-initialization.
257         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
258         around with font-lock.
259         * progmodes/etags.el (select-tags-table-mode):
260         Derive from special-mode.
261         * progmodes/octave-mod.el (octave-mode):
262         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
263         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
264         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
265         Let define-derived-mode do its job.
266         * progmodes/cpp.el (cpp-edit-mode-map):
267         Move initialization into declaration.
268         (cpp-edit-mode): Use define-derived-mode.
269         (cpp-edit-load): Use derived-mode-p.
270         * progmodes/mixal-mode.el (mixal-mode):
271         * progmodes/f90.el (f90-mode):
272         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
273         require-final-newline since prog-mode does it already.
274         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
275         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
276         * progmodes/antlr-mode.el: Require cc-mode upfront.
277         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
278         the declaration.
279         (antlr-directory-dependencies, antlr-show-makefile-rules):
280         Use derived-mode-p.
281         (antlr-language-option): Don't assume point-min==1.
282         (antlr-mode): Use define-derived-mode.
283         * progmodes/ada-mode.el: Use derived-mode-p.
284         (ada-mode): Use define-derived-mode.
285         Use hack-local-variables-hook.
287 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
289         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
290         (texinfo-mode): Don't disable adaptive-fill-mode.
291         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
292         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
293         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
294         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
295         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
296         (texinfo-insert-@quotation, texinfo-insert-@samp)
297         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
298         (texinfo-insert-@uref): Use define-skeleton.
299         (texinfo-insert-@-with-arg): Delete.
301 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
303         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
304         nil, do quote archive member names.  (Bug#6144)
306 2010-12-10  Glenn Morris  <rgm@gnu.org>
308         * files.el (diff-no-select): Declare.
310         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
311         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
313         * comint.el (comint-input-ring-file-name): Doc fix.
315 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
317         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
318         New functions.
319         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
320         Use them instead of `nil' and `>', respectively.
321         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
322         instead of `nil'.
323         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
324         and menu-bar-positive-p instead of `nil' and `>', respectively.
325         (Bug#1077)
327 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
329         * whitespace.el (whitespace-newline-mode): Code fix.
331 2010-12-09  Glenn Morris  <rgm@gnu.org>
333         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
334         Rename functions without commas, update callers.
336 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
338         * whitespace.el (whitespace-cleanup-region):
339         Clean up spaces before tabs.  (Bug#7582)
341 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
343         * bookmark.el: Adjust parameter names and doc strings to resolve
344         confusion over whether "bookmark" meant a bookmark name or a
345         bookmark record.  Along the way, shorten one function's name for
346         similar reasons.  (Issue #7548)
347         (bookmark-name-from-record): New name for
348         `bookmark-name-from-full-record'.  All callers changed.
349         (bookmark-get-bookmark, bookmark-get-bookmark-record)
350         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
351         (bookmark-get-annotation, bookmark-set-annotation)
352         (bookmark-get-filename, bookmark-set-filename)
353         (bookmark-get-position, bookmark-set-position)
354         (bookmark-get-front-context-string, bookmark-set-front-context-string)
355         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
356         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
357         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
358         Rename `bookmark' parameter to `bookmark-name-or-record', to
359         clearly show its role, and shorten or adjust doc strings accordingly.
360         (bookmark-set-name): Same, and pass the parameter directly to
361         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
362         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
363         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
364         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
365         and in some cases shorten doc string accordingly.
366         (bookmark-rename): Change `old' and `new' parameters to `old-name'
367         and `new-name', and adjust an internal variable to avoid confusion.
368         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
369         parameter in doc string.
371 2010-12-08  Glenn Morris  <rgm@gnu.org>
373         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
374         from gdb's history file.  (Bug#7575)
376         * mail/emacsbug.el (report-emacs-bug):
377         Try to handle some other mail clients.
379 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
381         * files.el (dir-locals-collect-variables): Don't let errors stop us.
382         Use string-prefix-p.
383         (file-name-version-regexp): New var.
384         (file-name-sans-versions):
385         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
386         (jka-compr-get-compression-info): Use dolist.
387         (jka-compr-compression-info-list): Don't bother specifying
388         version/backup regexps.
390 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
392         * simple.el (just-one-space): Make argument n default to 1 if
393         omitted.
395 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
397         * electric.el (electric-indent-post-self-insert-function):
398         Delete trailing newlines even if we don't reindent.
400 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
402         * minibuffer.el (completion-at-point): Remove the `arg'.
403         * bindings.el (complete-symbol): Move back from minibuffer.el.
405 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
407         * simple.el (just-one-space): Delete newlines for negative arg.
409 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
411         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
412         (ansi-color-filter-apply): Simplify.
413         (ansi-color-apply): Use `font-lock-face' rather than `face'.
415 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
417         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
419 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
421         * dired.el (dired-use-ls-dired): Set default to a special
422         "unspecified" value.
423         (dired-insert-directory): When called the first time, check
424         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
426 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
428         * replace.el: Add "collect" feature to occur.
429         (occur-collect-regexp-history): New var.
430         (occur-read-primary-args): Return a replace string for nlines,
431         if needed.
432         (occur): Extend the meaning of nlines.
434 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
436         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
437         (which-func-update-1): Distinguish symbols from strings.
438         (which-function): Stay within 80 columns.
440 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
442         * subr.el (with-demoted-errors): Distinguish symbols from strings.
444         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
445         Improve docstring.
446         (comment-style): Use comment-styles's docs to describe values.
448 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
450         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
451         and ns-show-prefs (Bug#7535).
453         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
454         bindings (Bug#7535).
456 2010-12-03  Glenn Morris  <rgm@gnu.org>
458         * nxml/nxml-mode.el: Require rng-nxml.
459         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
460         Remove declarations.
462         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
463         * nxml/rng-nxml.el, nxml/rng-valid.el:
464         Remove leading `*' from defcustom docs.
466         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
467         (normal-top-level-add-to-load-path, tty-handle-args):
468         Convert comments to basic doc-strings.
470         * net/browse-url.el (browse-url-url-at-point)
471         (browse-url-default-browser): Remove autoload cookies.
473         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
474         Remove more undefined cl functions.
476         * vc/diff.el (diff-sentinel): Make new arguments optional.
477         * ibuf-ext.el (diff-sentinel): Update declaration.
479 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
481         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
482         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
483         (epg-context-set-passphrase-callback): Mention that the callback
484         is not called when used with GnuPG 2.x.
486 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
488         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
489         (tramp-file-name-port): Check also for `tramp-default-port'.
490         (tramp-get-connection-name): New defun.
491         (tramp-get-connection-process): Use it.
492         (tramp-debug-message): Extend function exclude list.
493         (tramp-drop-volume-letter): Fix doc string.
495         * net/tramp-cmds.el: Remove solved todo item.
497         * net/tramp-efs.el:
498         * net/tramp-ftp.el:
499         * net/tramp-gvfs.el:
500         * net/tramp-gw.el:
501         * net/tramp-imap.el:
502         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
503         and `tramp-default-user-alist', respectively.
505         * net/tramp-gw.el (tramp-gw-open-connection):
506         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
508         * net/tramp-imap.el (tramp-imap-make-iht): Use just
509         `tramp-file-name-port'.
511         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
512         and "psftp".  Exchange "%k" marker with options.
513         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
514         Compute size of link target.
515         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
516         `tramp-current-*' up due to gateway methods.  Optimze computing of
517         copy arguments.  Use `tramp-get-connection-name' and
518         `tramp-get-connection-buffer'.  Improve debug messages.
519         (tramp-compute-multi-hops): Remove port determination.
520         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
522         * net/trampver.el: Update release number.
524 2010-12-02  Glenn Morris  <rgm@gnu.org>
526         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
527         Avoid infinite loop over windows.  (Bug#7492)
529         * progmodes/flymake.el (flymake-check-file-limit):
530         Allow nil to mean "no limit".
531         (flymake-check-patch-master-file-buffer): Update for above change.
532         Allow a .tex file-name extension to be optional.
533         (flymake-master-tex-init): Also match \include statements.
535 2010-11-30  Sam Steingold  <sds@gnu.org>
537         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
538         (nxml-parent-document-set): A function to set `nxml-parent-document'.
539         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
540         (nxml-mode-hook): Remove `defcustom' (auto-defined by
541         define-derived-mode').
542         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
543         users who want to call `nxml-parent-document-set'.
545 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
547         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
548         stand-alone lines, since that is handled by log-edit-match-to-eoh
549         (Bug#6465).
551 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
553         * dired.el (dired-get-filename): Replace backslashes with slashes
554         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
555         * locate.el (locate-default-make-command-line): Don't consider
556         drive letter and root directory part of
557         `directory-listing-before-filename-regexp'.  (Bug#7308)
558         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
560 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
562         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
563         of :smie-open/close-alist.
564         (smie-next-sexp): Make it accept a "start token" as argument.
565         (smie-indent-keyword): Be careful not to misidentify tokens that span
566         more than one line, as empty lines.  Add argument `token'.
568 2010-11-27  Kenichi Handa  <handa@m17n.org>
570         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
571         multipart subtypes, insert all as usual.
573         * mail/rmail.el: Require rfc2047.
575 2010-11-27  Kenichi Handa  <handa@m17n.org>
577         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
578         (rmail-mime-entity-disposition)
579         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
580         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
581         (rmail-mime-save): Handle the case that the button's `data' is a
582         MIME entity.
583         (rmail-mime-insert-text): New function.
584         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
585         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
586         (rmail-mime-insert-bulk): New function mostly copied from the old
587         rmail-mime-bulk-handler.
588         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
589         (rmail-mime-process-multipart): New function mostly copied from
590         the old rmail-mime-multipart-handler.
591         (rmail-mime-show): Just call rmail-mime-process.
592         (rmail-mime-process): New function mostly copied from the old
593         rmail-mime-show.
594         (rmail-mime-insert-multipart, rmail-mime-parse)
595         (rmail-mime-insert, rmail-show-mime)
596         (rmail-insert-mime-forwarded-message)
597         (rmail-insert-mime-resent-message): New functions.
598         (rmail-insert-mime-forwarded-message-function): Set to
599         rmail-insert-mime-forwarded-message.
600         (rmail-insert-mime-resent-message-function): Set to
601         rmail-insert-mime-resent-message.
603         * mail/rmailsum.el: Require rfc2047.
604         (rmail-header-summary): Handle multiline Subject: field.
605         (rmail-summary-line-decoder): Change the default to
606         rfc2047-decode-string.
608         * mail/rmail.el (rmail-enable-mime): Change the default to t.
609         (rmail-mime-feature): Change the default to `rmailmm'.
610         (rmail-quit): Delete the specifal code for rmail-enable-mime.
611         (rmail-display-labels): Likewise.
612         (rmail-show-message-1): Check rmail-enable-mime, and use
613         rmail-show-mime-function for a MIME message.  Decode the headers
614         according to RFC2047.
616 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
618         * progmodes/which-func.el (which-func-imenu-joiner-function):
619         Return a string, as expected.
620         (which-function-mode): Make sure we stop any previous timer before
621         starting a new one.
623 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
625         * net/tramp.el (tramp-default-method-alist)
626         (tramp-default-user-alist, tramp-default-proxies-alist):
627         Adapt custom options type.  (Bug#7445)
629 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
631         * progmodes/python.el: Add Ipython support (Bug#5390).
632         (python-shell-prompt-alist)
633         (python-shell-continuation-prompt-alist): New options.
634         (python--set-prompt-regexp): New function.
635         (inferior-python-mode, run-python, python-shell):
636         Require ansi-color.  Use python--set-prompt-regexp to set the comint
637         prompt based on the Python interpreter.
638         (python--prompt-regexp): New var.
639         (python-check-comint-prompt)
640         (python-comint-output-filter-function): Use it.
641         (run-python): Use a pipe (Bug#5694).
643 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
645         * progmodes/python.el (run-python): Doc fix.
646         (python-keep-current-directory-in-path): New var (Bug#7454).
648 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
650         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
651         Prompt user before actually printing.
653 2010-11-27  Glenn Morris  <rgm@gnu.org>
655         * startup.el (package-enable-at-startup, package-initialize):
656         Remove unnecessary declarations.
658 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
660         * international/characters.el (glyphless-char-display-control):
661         Exclude newline and TAB from the c0-control group.
663 2010-11-27  Glenn Morris  <rgm@gnu.org>
665         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
666         (expand-mail-aliases): Remove unnecessary autoload.
668         * allout.el (allout-command-prefix, allout-mode-map): Declare.
670         * shell.el (shell-dir-cookie-re): Move definition before use.
672         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
673         Replace undefined CL functions.
675 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
677         * simple.el (prog-mode): Set bidi-paragraph-direction to
678         left-to-right.
680         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
682 2010-11-26  Glenn Morris  <rgm@gnu.org>
684         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
685         diary-outlook-formats can be sensitive to calendar-date-style.
686         (diary-outlook-formats): Simplify the default setting.
687         (diary-from-outlook-internal): Pass subject and body as arguments.
688         Use dolist rather than dotimes.  Don't save the diary buffer.
689         (diary-from-outlook-gnus, diary-from-outlook-rmail):
690         Pass subject and body as explicit arguments to the -internal function.
692 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
694         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
695         parsing them.  This makes mailto:...?subject=foo\nbar work.
697 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
699         * vc/diff.el (diff): Fix last change.
701 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
703         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
704         (pcase--dontcare-upats): New var.
705         (pcase-let, pcase-let*): Generate better code.
706         Accept the same bodies as `let'.
707         (pcase-dolist): New macro.
708         (pcase--trivial-upat-p): New helper function.
709         (pcase--expand): Strip leading "(let nil" if any.
711 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
713         * mail/mailclient.el (browse-url): Require.
714         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
715         use the external browser function to send the mail (bug#7469).
717         * net/browse-url.el (browse-url-browser-function): Revert the
718         default back to the previous value, since the new value broke
719         mailclient.el.
720         (browse-url-mailto-function): New variable for mailto: URLs.
721         (browse-url): Use the new variable for mailto: URLs.
723 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
725         * eshell/esh-cmd.el (eshell-parse-command):
726         * eshell/esh-arg.el (eshell-parse-arguments):
727         * eshell/em-script.el (eshell-source-file):
728         Use with-silent-modifications.
730 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
732         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
733         for a merge location.
735         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
736         (vc-bzr-merge-branch): Always prompt.
737         (vc-bzr-async-command): Use the full branch filename.
739 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
741         * shell.el (shell): Use current-buffer by default if it's already
742         a shell mode buffer and its process is dead.
743         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
745 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
747         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
748         Mention that the keywords should be comma separated.
750 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
752         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
753         Accept optional prefix arg meaning to prompt for a command.
754         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
755         prefix arg meaning to prompt for a command.
756         (vc-pull): Alias for vc-update.
758         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
759         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
760         (vc-bzr-merge-branch): New functions, implementing merge-branch
761         and pull operations.
763 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
765         * Makefile.in: Fix up last merge.
767         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
768         (diff-sentinel): Get them as arguments instead.
769         (diff-old-file, diff-new-file, diff-extra-args): Remove.
770         (diff-file-local-copy, diff-better-file-name): New funs.
771         (diff-no-select): Rename from diff-into-buffer.
772         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
773         Prefer closures to buffer-local variables.
774         (diff): Adjust accordingly.
775         (diff-buffer-with-file): Move from files.el.
776         * files.el (diff-buffer-with-file): Move to vc/diff.el.
777         (diff-buffer-internal): Remove.
778         (diff-buffer-buffer): Remove.
779         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
780         the buffer name used, and so as not to mess up windows and frames.
782 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
784         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
785         (diff-buffer-internal): New function extracted from diff-buffer-with-file
786         (diff-buffer-with-file): Use it.
787         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
788         (diff): Use it.
790 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
792         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
793         \ref's or \pageref's value as default instead of initial input.
795 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
797         * files.el (backup-by-copying-when-mismatch): The default value is
798         now t.
800         * startup.el (normal-top-level):
801         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
802         `backup-by-copying-when-mismatch'.
804 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
806         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
808 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
810         * progmodes/python.el (python-font-lock-keywords):
811         Highlight top-level augmented assignments (Bug#6445).
813 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
815         * term/ns-win.el (ns-right-control-modifier)
816         (ns-right-command-modifier): Defvar them.
818         * cus-start.el (all): Add ns-right-control-modifier and
819         ns-right-command-modifier (Bug#7458).
821 2010-11-20  Glenn Morris  <rgm@gnu.org>
823         * emacs-lisp/authors.el (authors-ignored-files)
824         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
826 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
828         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
829         (report-emacs-bug-parse-query-results)
830         (report-emacs-bug-create-existing-bugs-buffer): Pass through
831         keywords used for querying the bug database to show them in the
832         existing bugs buffer.
834 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
836         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
838         * info.el (info-tool-bar-map): Add some :vert-only keywords.
840 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
842         * international/characters.el (glyphless-char-display-control):
843         Make it a defcustom, with update-glyphless-char-display as its
844         :set attribute.
845         (top level): Don't call update-glyphless-char-display.
847 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
849         Sync with Tramp 2.2.0.
851         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
852         `file-remote-p' (due to compatibility).
854         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
855         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
857         * net/trampver.el: Update release number.
859 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
861         * faces.el (glyphless-char): Define value for `pc'.
863 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
865         Implemented a bug querying mechanism.
866         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
867         (report-emacs-bug-create-existing-bugs-buffer)
868         (report-emacs-bug-parse-query-results)
869         (report-emacs-bug-query-existing-bugs): New functions.
871 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
873         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
874         a \ref{} or \pageref{} macro, then use its value as initial input.
876 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
878         * calc/calc-units.el (math-build-units-table-buffer):
879         calc/README: Mention that the TeX specific units won't use the
880         `tex' prefix in TeX mode.
881         calc/calc-lang.el (math-variable-table): Don't use the `tex'
882         prefix for units in TeX mode.
884 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
886         * simple.el (kill-new, kill-append, kill-region):
887         * comint.el (comint-kill-region): Make the yank-handler argument
888         obsolete.
890 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
892         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
893         that are both openers (resp. closers) and something else.
894         (smie-grammar): Loosen definition of valid values.
895         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
896         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
897         (smie-indent-after-keyword): Adjust users.
898         (smie-indent-keyword): Don't indent empty lines.
900         * vc-hg.el (vc-hg-program): New var.
901         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
902         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
904 2010-11-18  Glenn Morris  <rgm@gnu.org>
906         * emacs-lisp/autoload.el (autoload-find-destination): The function
907         coding-system-eol-type may return non-numeric values.  (Bug#7414)
909 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
911         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
913 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
915         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
917 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
919         * textmodes/picture.el (picture-mouse-set-point): Don't use
920         posn-col-row; explicitly compute the motion based on the posn at
921         the window-start (Bug#7390).
923 2010-11-18  Glenn Morris  <rgm@gnu.org>
925         * novice.el (disabled-command-function):
926         Fix 2009-11-15 change.  (Bug#7384)
928 2010-11-18  Glenn Morris  <rgm@gnu.org>
930         * calendar/calendar.el (diary-iso-date-forms): Make elements
931         mutually exclusive.  (Bug#7377)
933 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
935         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
936         when filling the remaining "unconstrained" values.
938 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
940         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
941         safety predicate.
943         * files.el (safe-local-variable-p): Gracefully handle errors.
945         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
946         Use smie-indent-virtual when indenting relative to an opener.
947         (smie-rule-separator): Use smie-rule-parent.
948         (smie-indent-keyword): Consult rules, even for openers at bol.
949         (smie-indent-comment-close): Try to align closer's content.
951 2010-11-18  Glenn Morris  <rgm@gnu.org>
953         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
955 2010-11-18  Glenn Morris  <rgm@gnu.org>
957         * printing.el (pr-menu-bind): Doc fix.
959         * speedbar.el (speedbar-toggle-images): Doc fix.
961         * progmodes/python.el (python-shell): Doc fix.
963         * wid-edit.el (widget-field-use-before-change)
964         (widget-use-overlay-change): Doc fixes.
966 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
968         Minor cleanup to improve style.
969         * textmodes/rst.el (rst-update-section): Use point-marker.
970         (rst-get-decoration): Eliminate unneeded assignment.
971         (rst-promote-region, rst-straighten-decorations)
972         (rst-section-tree, rst-adjust): Use point-marker.
973         (rst-toc-mode-mouse-goto): Avoid setq.
974         (rst-shift-region-guts, rst-shift-region-left)
975         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
976         (rst-convert-bullets-to-enumeration): Use copy-marker.
978         * minibuffer.el (completion-fail-discreetly): New var.
979         (completion--do-completion): Use it.
981         * electric.el (electric-pair-pairs): New var.
982         (electric-pair-post-self-insert-function): Use it.
983         (electric-layout-post-self-insert-function): Don't insert a before
984         newline unless it's actually needed.
986 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
988         * progmodes/python.el (run-python): Explain why we remove the current
989         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
991         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
993 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
995         * progmodes/octave-mod.el: Rely on elecric-*-modes.
996         (octave-mode-map): Don't bind ;, SPC, and LF.
997         (octave-auto-indent, octave-auto-newline): Remove.
998         (electric-layout-rules): Declare.
999         (octave-mode): Set electric-layout-rules.
1000         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1001         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1002         (octave-electric-space): Remove.
1004         * electric.el (electric-layout-mode): New minor mode.
1005         (electric--after-char-pos): New function.
1006         (electric-indent-post-self-insert-function): Use it.
1007         (electric-layout-rules): New var.
1008         (electric-layout-post-self-insert-function): New function.
1009         (electric-indent-mode): Make them interact better.
1011 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1013         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1014         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1015         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1017 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
1019         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1020         Make sure to check inside the word (Bug#6761).
1022 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
1024         * startup.el (command-line): If the cursorColor resource is set,
1025         change the cursor face-spec (Bug#7392).
1027 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
1029         The main features of the following allout.el changes are:
1030         - implement user customization for the allout key bindings
1031         - add a customization control by which the user can inhibit use of
1032           a trailing Ctrl-H, so by default it's reserved for use with
1033           describe-prefix-bindings
1034         - adapt to new version of called-interactively-p, while
1035           maintaining backwards compatibility with old version
1036         - fix hotspot navigation so i works properly with meta-modified keys
1038         * allout.el (allout-keybindings, allout-bind-keys)
1039         (allout-keybindings-binding, allout-prefixed-keybindings)
1040         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1041         (allout-keybindings-list, allout-mode-map-adjustments)
1042         (allout-setup-mode-map): Establish allout-mode keymaps as user
1043         customizable settings, and also establish a customizable setting which
1044         regulates whether or not a trailing control-h is reserved for use with
1045         describe-prefix-bindings - and inhibit it by default, so that control-h
1046         *is* reserved for describe-prefix-bindings unless the user changes it.
1048         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1049         and accurately between modified and unmodified events, and handle
1050         modified events more comprehensively.
1052         * allout.el (allout-substring-no-properties):
1053         Alias to use or provide version of `substring-no-properties'.
1054         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1056         * allout.el (allout-next-single-char-property-change):
1057         Alias to use or provide version of `next-single-char-property-change'.
1058         (allout-annotate-hidden, allout-hide-by-annotation):
1059         Use `allout-next-single-char-property-change'.
1061         * allout.el (allout-select-safe-coding-system):
1062         Alias to use or provide version of `select-safe-coding-system'.
1063         (allout-toggle-subtree-encryption):
1064         Use `allout-select-safe-coding-system'.
1066         * allout.el (allout-set-buffer-multibyte):
1067         Alias to use or provide version of `set-buffer-multibyte'.
1068         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1070         * allout.el (allout-called-interactively-p): Macro for using the
1071         different versions of called-interactively-p identically, depending on
1072         the subroutine's argument signature.
1073         (allout-back-to-current-heading, allout-beginning-of-current-entry):
1074         Use `(interactive "p")' instead of `(called-interactively-p)'.
1076         * allout.el (allout-init, allout-ascend, allout-end-of-level)
1077         (allout-previous-visible-heading, allout-forward-current-level)
1078         (allout-backward-current-level, allout-show-children):
1079         Use `allout-called-interactively-p' instead of `called-interactively-p'.
1081         * allout.el (allout-before-change-handler):
1082         Exempt edits to the (overlaid) character after the allout outline
1083         bullet from edit confirmation prompt.
1085         * allout.el (allout-add-resumptions):
1086         Ensure that it respects correct buffer for keybindings.
1088         * allout.el (allout-beginning-of-line):
1089         Use `allout-previous-single-char-property-change' alias for the sake of
1090         diverse compatibility.
1092         * allout.el (allout-end-of-line):
1093         Use `allout-mark-active-p' to encapsulate respect for mark activity.
1095 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
1097         * frame.el (frame-notice-user-settings): Don't clobber other
1098         user-set parameters when calling face-set-after-frame-default in
1099         response to background-color parameter (Bug#7373).
1101 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
1103         * international/characters.el (glyphless-char-display-control):
1104         Rename from glyphless-char-control; all users changed.  Doc fix.
1105         Signal an error if display method is not one of the recognized
1106         symbols.
1108 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
1110         * net/tramp-compat.el (tramp-compat-line-beginning-position)
1111         (tramp-compat-line-end-position): Remove them.
1113         * net/tramp.el (tramp-parse-rhosts-group)
1114         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1115         (tramp-parse-hosts-group, tramp-parse-passwd-group)
1116         (tramp-parse-netrc-group, tramp-parse-putty-group)
1117         * net/tramp-cmds.el (tramp-append-tramp-buffers)
1118         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1119         (tramp-sh-handle-file-selinux-context)
1120         (tramp-sh-handle-file-name-all-completions)
1121         (tramp-sh-handle-insert-directory)
1122         (tramp-sh-handle-expand-file-name, tramp-find-executable)
1123         (tramp-wait-for-output, tramp-send-command-and-read)
1124         * net/tramp-smb.el (tramp-smb-read-file-entry)
1125         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1127         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1128         `point-at-bol'.
1129         (tramp-remote-coding-commands): Add an alternative using "base64
1130         -d -i".  This is needed for older base64 versions from GNU
1131         coreutils.  Reported by Klaus Reichl
1132         <Klaus.Reichl@thalesgroup.com>.
1134 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
1136         * simple.el (count-words-region): New function.
1138 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1140         * shell.el (shell-dir-cookie-re): New custom variable.
1141         (shell-dir-cookie-watcher): New function.
1143         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1144         and compilation-mode (bug#7350).
1146         * vc/smerge-mode.el (smerge-refine): Choose better default part to
1147         highlight when one of them is empty.
1149         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1150         trailing space.
1151         (skeleton-newline): New function.
1152         (skeleton-internal-1): Use it.
1154         * simple.el (open-line): `newline' may strip trailing space.
1156 2010-11-12  Kevin Ryde  <user42@zip.com.au>
1158         * international/mule-cmds.el (princ-list): Use mapc.
1160 2010-11-12  Glenn Morris  <rgm@gnu.org>
1162         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1163         Use it to replace all instances of "*Compile-Log*"
1165 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1167         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1168         indentation specs.
1170 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1172         * progmodes/modula2.el: Use SMIE and skeleton.
1173         (m2-mode-syntax-table): (*..*) can be nested.
1174         Add //...\n.  Fix paren syntax.
1175         (m2-mode-map): Remove LF and TAB bindings.
1176         (m2-indent): Add safety property.
1177         (m2-smie-grammar): New var.
1178         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1179         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1180         (m2-mode): Use define-derived-mode.
1181         (m2-newline, m2-tab): Remove.
1182         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1183         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1184         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1185         (m2-import): Use define-skeleton.
1187 2010-11-11  Glenn Morris  <rgm@gnu.org>
1189         * obsolete/lucid.el: Don't warn about any CL functions in this file.
1191         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1192         (ls-lisp-verbosity): Add custom :set-after property.
1193         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1194         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1195         (ls-lisp-insert-directory): Update caller.
1196         (ls-lisp-set-options): New function.
1197         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1198         Doc fix.
1200         * play/landmark.el (lm-prompt-for-move):
1201         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1203         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1205         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1206         (idlwave-study-twins): Prefix dynamic local variable `name'.
1207         (idlwave-routine-twin-compare): Update for above change.
1209         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1210         Prefix dynamic local variables `name', `kwd', and `link'.
1211         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1212         * progmodes/idlw-complete-structtag.el
1213         (idlwave-complete-structure-tag-help):
1214         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1215         (idlwave-complete-sysvar-tag-help)
1216         (idlwave-complete-class-structure-tag-help):
1217         Update for above name changes.
1219 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1221         * net/browse-url.el (browse-url-browser-function): Change the
1222         default to use `browse-url-mail' on mailto: URLs.
1224 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
1226         * emacs-lisp/package.el (package-read-all-archive-contents):
1227         Reset package-archive-contents to nil before re-reading.
1229 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
1231         * textmodes/flyspell.el (flyspell-word): Do not re-check words
1232         already found as misspellings by (flyspell-large-region), just
1233         do highlighting (bug#7322).
1235 2010-11-10  Glenn Morris  <rgm@gnu.org>
1237         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1239         * emulation/edt.el (edt-with-position): New macro.
1240         (edt-find-forward, edt-find-backward, edt-find-next-forward)
1241         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1242         (edt-paragraph-forward, edt-paragraph-backward): Use it.
1244         * emulation/tpu-extras.el (tpu-with-position): New macro.
1245         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1247         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1249         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1250         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1251         (texinfo-master-menu, texinfo-insert-node-lines)
1252         (texinfo-multiple-files-update):
1253         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1254         Use line-beginning-position.
1256         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1257         No recent Emacs supports system-type `emx'.
1259         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1260         (ada-command-separator, ada-default-prj-properties)
1261         (ada-find-any-references): Update for above name change.
1263         * dirtrack.el (dirtrack-directory-function)
1264         (dirtrack-canonicalize-function):
1265         * filecache.el (file-cache-completion-ignore-case)
1266         (file-cache-case-fold-search, file-cache-ignore-case):
1267         * term.el (serial-port-is-file-p): Cosmetic change.
1269         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1270         Remove non-existent `windows-95' system-type.
1271         * dired.el (dired-chown-program): Remove non-existent `linux'
1272         system-type.
1274         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1275         (ping-program-options): Remove non-existent `linux' system-type.
1277         * startup.el (package-initialize): Update declaration.
1279         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1280         (ls-lisp-handle-switches): Use time-less-p.
1281         (ls-lisp-format-time): Use float-time.
1283         * textmodes/remember.el (remember-time-to-seconds): Remove.
1284         (remember-store-in-mailbox): Use float-time.
1286         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1288         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1289         never a real function.
1290         (with-no-warnings): Remove compat stub, now unused.
1291         (time-less-p): Doc fix.
1292         (time-to-number-of-days): Simplify.
1294         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1295         Remove.
1296         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1297         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1298         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1299         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1300         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1302         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1303         (eshell-shuffle-files, eshell-shorthand-tar-command)
1304         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1305         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1306         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1307         Prefix dynamic local variable `matches'.
1309         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1310         Prefix dynamic local variable `skeleton'.
1312 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1314         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1315         in mail buffer; make yank-action always a command that yanks original
1316         buffer.
1318 2010-11-09  Glenn Morris  <rgm@gnu.org>
1320         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1322 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1324         * minibuffer.el (minibuffer-completion-help): Specify the end of the
1325         completion field (bug#7211).
1327         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1328         Fix handling of backslash escapes.
1329         (python-quote-syntax): Adjust accordingly.
1331 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
1333         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1334         (vc-mtn-workfile-branch): Adjust to new output format.
1336 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1338         * international/mule-cmds.el (princ-list): Mark as obsolete.
1340 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1342         * emacs-lisp/smie.el: New package.
1344 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
1346         * files.el (backup-by-copying-when-mismatch):
1347         Set `permanent-local' property.
1349         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1350         `permanent-local' property for `backup-by-copying-when-mismatch'.
1352 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
1354         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
1356 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
1358         * progmodes/verilog-mode.el (verilog-insert-one-definition)
1359         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1360         AUTOINOUT for SV style multidimensional arrays, bug294.
1361         Reported by Eric Mastromarchi.
1362         (verilog-preprocess): Use with-current-buffer and
1363         font-lock-fontify-buffer to cleanup style issues.
1365 2010-11-09  Glenn Morris  <rgm@gnu.org>
1367         * locate.el (locate, locate-mode): Doc fixes.
1369 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
1371         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1372         user for confirmation.
1373         (server-force-stop): Use it.
1374         (server-start): Use server-force-stop for kill-emacs-hook, to
1375         avoid user interaction while killing Emacs.
1377 2010-11-09  Glenn Morris  <rgm@gnu.org>
1379         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1380         (meta-indent-line): Simplify.
1382         * vc/emerge.el (emerge-line-number-in-buf):
1383         * textmodes/ispell.el (ispell-region):
1384         * textmodes/fill.el (current-fill-column):
1385         * progmodes/xscheme.el (xscheme-send-current-line):
1386         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1387         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1388         * progmodes/sh-script.el (sh-handle-prev-do):
1389         * progmodes/meta-mode.el (meta-indent-line):
1390         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1391         (idlwave-in-quote):
1392         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1393         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1394         * progmodes/fortran.el (fortran-looking-at-if-then):
1395         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1396         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1397         (cperl-find-pods-heres):
1398         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1399         * net/quickurl.el (quickurl-list-insert):
1400         * net/ldap.el (ldap-search-internal):
1401         * net/eudc.el (eudc-expand-inline):
1402         * mail/sendmail.el (sendmail-send-it):
1403         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1404         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1405         (viper-brac-function):
1406         * calc/calc-yank.el (calc-do-grab-region):
1407         * calc/calc-keypd.el (calc-keypad-press):
1408         * term.el (term-move-columns, term-insert-spaces):
1409         * speedbar.el (speedbar-highlight-one-tag-line):
1410         * simple.el (current-word):
1411         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1412         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1413         (Info-scroll-down):
1414         * hippie-exp.el (he-line-beg):
1415         * epa.el (epa--marked-keys):
1416         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1417         (dired-update-file-line, dired-add-entry, dired-remove-entry)
1418         (dired-relist-entry):
1419         * buff-menu.el (Buffer-menu-buffer):
1420         * array.el (current-line):
1421         * allout.el (allout-resolve-xref)
1422         (allout-latex-verbatim-quote-curr-line):
1423         Replace yet more uses of end-of-line etc with line-end-position, etc.
1425 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1427         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1428         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1429         (checkdoc-syntax-table): Initialize in the declaration.
1430         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1431         the mode on unconditionally.
1433         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1434         (extent-end-position, extent-start-position): Remove setf method for
1435         non-existing functions (bug#7319).
1437 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1439         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1440         (smie-precs->prec2): Rename from smie-precs-precedence-table.
1441         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1442         (smie-prec2->grammar): Rename from smie-prec2-levels.
1443         (smie-grammar): Rename from smie-op-levels.
1444         (smie-indent--hanging-p): Rename from smie-hanging-p.
1445         (smie-rule-hanging-p): New alias.
1446         (smie-indent--bolp): Rename from smie-bolp.
1447         (smie-indent--hanging-p): New alias.
1448         (smie--token): New dynamically bound variable.
1449         (smie-indent--parent): New function.
1450         (smie-rule-parent-p): Use it; rename from smie-parent-p.
1451         (smie-rule-next-p): Rename from smie-next-p.
1452         (smie-rule-prev-p): Rename from smie-prev-p.
1453         (smie-rule-sibling-p, smie-rule-parent)
1454         (smie-indent--separator-outdent, smie-rule-separator): New functions.
1455         (smie-rule-separator-outdent): New var.
1456         (smie-indent--rule): Merge with smie-indent--column.
1457         (smie-indent-forward-token, smie-indent-backward-token):
1458         Also recognize close parens.
1459         (smie-indent-keyword): Don't use smie-indent--column any more.
1460         (smie-indent-after-keyword): Ignore closers by default.
1461         (smie-indent-line): Use with-demoted-errors.
1462         * progmodes/octave-mod.el (octave-smie-grammar):
1463         Rename from octave-smie-op-levels.
1464         (octave-smie-rules): Adjust to new behavior.
1465         * progmodes/prolog.el (prolog-smie-grammar):
1466         Rename from prolog-smie-op-levels.
1468 2010-11-07  Glenn Morris  <rgm@gnu.org>
1470         * eshell/esh-util.el (subst-char-in-string)
1471         (directory-files-and-attributes): These compatibility definitions are
1472         not needed on any version of Emacs since at least 21.4.
1474         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1475         (verilog-get-end-of-line): Remove.
1476         (verilog-within-string, verilog-re-search-forward-substr)
1477         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1478         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1479         Use point-at-bol, point-at-eol.
1480         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1481         Remove.
1482         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1483         (electric-pascal-terminate-line, pascal-set-auto-comments)
1484         (pascal-indent-paramlist, pascal-indent-declaration)
1485         (pascal-get-lineup-indent, pascal-func-completion)
1486         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1487         Use point-at-bol, point-at-eol.
1488         * progmodes/flymake.el (flymake-line-beginning-position)
1489         (flymake-line-end-position): Remove.
1490         (flymake-highlight-line): Use point-at-bol, point-at-eol.
1491         * eshell/esh-util.el (line-end-position, line-beginning-position):
1492         Remove compat definitions.
1494         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1495         Use end-of-line N.
1496         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1497         Use line-end-position.
1499         * emacs-lisp/chart.el (chart-zap-chars):
1500         * play/decipher.el (decipher-set-map):
1501         * progmodes/ada-mode.el (ada-get-current-indent)
1502         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1503         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1504         * progmodes/ada-xref.el (ada-initialize-runtime-library)
1505         (ada-get-all-references):
1506         * progmodes/cperl-mode.el (cperl-electric-paren)
1507         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1508         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1509         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1510         (cperl-word-at-point-hard):
1511         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1512         (idlwave-shell-filename-string, idlwave-shell-batch-command)
1513         (idlwave-shell-display-line):
1514         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1515         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1516         * progmodes/js.el (js--re-search-forward-inner)
1517         (js--re-search-backward-inner):
1518         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1519         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1520         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1521         * textmodes/flyspell.el (flyspell-process-localwords):
1522         * textmodes/ispell.el (ispell-buffer-local-parsing)
1523         (ispell-buffer-local-dict, ispell-buffer-local-words):
1524         Use point-at-bol and point-at-eol.
1526         * speedbar.el (speedbar-generic-item-info)
1527         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1528         (speedbar-add-indicator, speedbar-check-vc-this-line)
1529         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1530         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1531         Replace more uses of end-of-line etc with line-end-position.
1533 2010-11-06  Glenn Morris  <rgm@gnu.org>
1535         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1536         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1537         (texinfo-delete-existing-pointers, texinfo-find-pointer)
1538         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1539         (texinfo-multiple-files-update):
1540         * textmodes/table.el (table--probe-cell-left-up)
1541         (table--probe-cell-right-bottom):
1542         * textmodes/picture.el (picture-tab-search):
1543         * textmodes/page-ext.el (pages-copy-header-and-position)
1544         (pages-directory-for-addresses):
1545         * progmodes/vera-mode.el (vera-get-offset):
1546         * progmodes/simula.el (simula-calculate-indent):
1547         * progmodes/python.el (python-pdbtrack-overlay-arrow):
1548         * progmodes/prolog.el (end-of-prolog-clause):
1549         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1550         * progmodes/icon.el (indent-icon-exp):
1551         * progmodes/etags.el (tag-re-match-p):
1552         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1553         * progmodes/ebnf2ps.el (ebnf-begin-file):
1554         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1555         (dcl-save-local-variable):
1556         * play/life.el (life-setup):
1557         * play/gametree.el (gametree-looking-at-ply):
1558         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1559         * mail/sendmail.el (mail-mode-auto-fill):
1560         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1561         * emacs-lisp/edebug.el (edebug-overlay-arrow):
1562         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1563         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1564         (woman-tab-to-tab-stop, WoMan-warn-ignored):
1565         * type-break.el (type-break-file-keystroke-count):
1566         * term.el (term-replace-by-expanded-history-before-point)
1567         (term-skip-prompt, term-extract-string):
1568         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1569         (speedbar-contract-line, speedbar-toggle-line-expansion)
1570         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1571         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1572         * sort.el (sort-skip-fields):
1573         * skeleton.el (skeleton-internal-list):
1574         * simple.el (line-move-finish, line-move-to-column):
1575         * shell.el (shell-forward-command):
1576         * misc.el (copy-from-above-command):
1577         * makesum.el (double-column):
1578         * ebuff-menu.el (electric-buffer-update-highlight):
1579         * dired.el (dired-move-to-end-of-filename):
1580         * dframe.el (dframe-popup-kludge):
1581         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1582         * arc-mode.el (archive-get-lineno):
1583         Use line-end-position and line-beginning-position.
1585         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1586         (idlwave-study-twins): Prefix dynamic local `class'.
1587         (idlwave-routine-twin-compare): Update for above name change.
1589         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1590         Use boundp tests to silence compiler.  Update for changed name of
1591         bytecomp-filename variable.
1593         * emulation/viper-cmd.el (viper-read-string-with-history):
1594         Prefix dynamic local `initial'.
1595         (viper-minibuffer-standard-hook): Update for above name change.
1597         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1598         (elint-init-form): Update for above name change.
1600         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1601         local variables `cbeg' and `cend' a prefix.
1602         (mail-extr-voodoo): Update for above name change.
1604         * textmodes/reftex-toc.el (reftex-toc-do-promote)
1605         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1606         (reftex-toc-promote-action): Doc fix.
1608         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1609         `prompt', `data' a prefix.
1610         (reftex-select-post-command-hook, reftex-select-callback)
1611         (reftex-select-mouse-accept, reftex-select-read-cite):
1612         Update for above name changes.
1614         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1615         `refstyle' to reftex-refstyle.
1616         (reftex-offer-label-menu): Update for above name change.
1617         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1618         `refstyle' name change.
1620         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1621         with with-current-buffer.
1622         (diff, template): Give dynamic local variables a prefix.
1623         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1624         (emerge-line-number-in-buf): Update for above name change.
1625         (emerge-combine-versions-internal): Rename local `template' to
1626         emerge-combine-template.
1627         (emerge-combine-versions-edit): Update for above name change.
1629 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
1631         * textmodes/reftex-cite.el
1632         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1633         entries with whitespace after \bibitem.
1634         (reftex-create-bibtex-file): Match entries containing numbers and
1635         symbol constituents.  Make sure that entries with whitespace at
1636         various places are found.
1638 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
1640         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1642 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
1644         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1646 2010-11-05  Glenn Morris  <rgm@gnu.org>
1648         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1649         (woman2-roff-buffer): Give local variable `request' a prefix.
1650         (woman0-macro): Rename argument `request' in the same way.
1651         (woman-request): New name for `request' dynamic variable.
1652         (woman-unquote, woman-forward-arg): Update for above name change.
1653         (woman1-roff-buffer): Give local variable `unquote' a prefix.
1654         (woman1-unquote): New name for `unquote' dynamic variable.
1655         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1656         (woman-translations): Rename from `translations'.  No longer global.
1657         (woman2-tr, woman-translate): Update for above name change.
1658         (woman-translate): Check for bound variable.
1659         (woman2-roff-buffer): Give local variable `translations' a prefix.
1661         * play/doctor.el: Give all local variables a prefix.  Update callers.
1662         (doc$, doctor-put-meaning): Use backquote.
1664         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1665         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1667         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1668         variables bytes, ptr, op a prefix.
1669         (disassemble-offset): Update for above change.
1671 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1673         * emacs-lisp/package.el (package-unpack): Remove no-op.
1674         (package--builtins, package--dir): Doc fix.
1675         (package-activate-1, package-activate, package-install)
1676         (package-compute-transaction): Fix error message.
1677         (package-delete): Use delete-directory.  Omit system packages.
1678         (package-initialize): Set package-alist to nil first.
1679         (package-menu-mark-delete, package-menu-mark-install): Don't add
1680         symbols that are inconsistent with the package state.
1681         (package-menu-execute): Perform deletions and installations as
1682         single batch operations.
1684 2010-11-03  Glenn Morris  <rgm@gnu.org>
1686         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1687         (props): Remove unnecessary declaration.
1689         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1690         set-process-query-on-exit-flag.
1692         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1693         (reftex-toc-do-promote): Remove unused local `mpos'.
1694         (reftex-toc-restore-region): Make `mpos' local to this function.
1696         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1698         * play/landmark.el (lm-losing-threshold): Correct spelling.
1699         (lm-human-plays): Use new name.
1701         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1702         (gomoku-human-plays): Use new name.
1704         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1705         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1706         (gomoku-score-trans-table, gomoku-winning-threshold)
1707         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1709 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1711         * emacs-lisp/package.el: Don't put built-in packages in
1712         package-alist, to avoid loading inefficiencies.
1713         (package-built-in-p): Make VERSION optional, and treat it as a
1714         minimum acceptable version.
1715         (package-activate): Search separately for built-in packages.
1716         Emit a warning if a dependency fails.
1717         (define-package): Handle most common case, where there is no
1718         obsolete package, first.
1719         (package-compute-transaction): Print required version in error.
1720         (package--initialized): New variable.
1721         (list-packages): Use it.
1722         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
1723         built-in packages in packages-alist; keep it separate.
1724         Set package--initialized.
1725         (describe-package): Avoid activating packages as a side-effect.
1726         Search separately for built-in packages.
1727         (describe-package-1): Handle the case where an elpa package is
1728         simultaneously built-in and available/installed.
1729         (package-installed-p, package--generate-package-list):
1730         Search separately for built-in packages.
1731         (package-load-descriptor): Doc fix.
1733 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1735         * progmodes/perl-mode.el (perl-syntax-propertize-function):
1736         Handle __DATA__ and __END__.
1738 2010-11-02  Noah Friedman  <friedman@splode.com>
1740         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1741         nil, do not ask to recompile files that are not already compiled,
1742         and do not recompile them.
1744 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
1746         * emacs-lisp/package.el (package-initialize): Ensure that
1747         obsoleted built-in packages are not in package-activated-list
1748         during activation.
1749         (describe-package-1): Make the "installed" status override
1750         "built-in".
1752 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1754         * subr.el (version-separator, version-regexp-alist): Remove '*'
1755         from docstring.
1756         (version-list-<=, version<=, version=): Doc fix.
1758 2010-11-01  Kenichi Handa  <handa@m17n.org>
1760         * faces.el (glyphless-char): Inherit underline for tty.
1762 2010-11-01  Kenichi Handa  <handa@m17n.org>
1764         Implement various display methods for glyphless characters.
1766         * international/characters.el (char-acronym-table): New variable.
1767         (glyphless-char-control): New variable.
1768         (update-glyphless-char-display): New funciton.
1770         * faces.el (glyphless-char): New face.
1772 2010-11-01  Glenn Morris  <rgm@gnu.org>
1774         * calendar/holidays.el (general-holidays, oriental-holidays)
1775         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1776         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1777         the definitions of their targets.
1779         * emacs-lisp/smie.el (smie): New custom group.
1780         (smie-blink-matching-inners, smie-indent-basic): Add :group.
1782         * faces.el (xw-defined-colors, x-setup-function-keys):
1783         * mouse-sel.el (x-select-text):
1784         * term/w32console.el (x-setup-function-keys): Update declarations.
1786         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1788         * textmodes/ispell.el (comment-add): Declare.
1790         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1791         Declare.
1793         * info.el (finder-keywords-hash, package-alist): Declare.
1795 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1797         * finder.el (finder-compile-keywords): Don't use intern-soft,
1798         since package names may not yet exist in the obarray.
1800 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1802         * vc/vc-arch.el (vc-arch-checkin):
1803         * vc/vc-cvs.el (vc-cvs-checkin):
1804         * vc/vc-mtn.el (vc-mtn-checkin):
1805         * vc/vc-rcs.el (vc-rcs-checkin):
1806         * vc/vc-sccs.el (vc-sccs-checkin):
1807         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1808         since 2010-04-21 commit by Stefan Monnier.
1810 2010-11-01  Glenn Morris  <rgm@gnu.org>
1812         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1814         * startup.el (package-enable-at-startup, package-initialize):
1815         Silence compiler.
1817         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1818         Silence compiler.
1820 2010-10-31  Julien Danjou  <julien@danjou.info>
1822         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1823         (byte-recompile-directory):
1824         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1825         Use `byte-recompile-file'.
1827 2010-10-31  Glenn Morris  <rgm@gnu.org>
1829         * cus-start.el: Handle standard values via a keyword.
1830         Only set version property if specified.
1831         (cursor-in-non-selected-windows, menu-bar-mode)
1832         (tool-bar-mode, show-trailing-whitespace):
1833         Do not specify standard values.
1834         (transient-mark-mode, temporary-file-directory): Use :standard.
1836 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
1838         * term/x-win.el (x-get-selection-value): New function that gets
1839         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1841 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
1843         * net/tramp.el (tramp-handle-insert-file-contents): For root,
1844         preserve owner and group when editing files.  (Bug#7289)
1846 2010-10-31  Glenn Morris  <rgm@gnu.org>
1848         * speedbar.el (speedbar-mode):
1849         * play/fortune.el (fortune-in-buffer, fortune):
1850         * play/gomoku.el (gomoku-mode):
1851         * play/landmark.el (lm-mode):
1852         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1853         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
1855         * select.el (x-selection): Mark it as an obsolete alias.
1857 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1859         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1860         major-mode (bug#7284).
1862 2010-10-31  Glenn Morris  <rgm@gnu.org>
1864         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1865         rather than just an unused variable that inherits from the real one.
1867 2010-10-31  Alan Mackenzie  <acm@muc.de>
1869         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1870         This fixes bug #7185.
1872 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
1874         * startup.el (command-line): Search for package directories, and
1875         don't load package.el if none are found.
1877         * emacs-lisp/package.el (describe-package, list-packages):
1878         Call package-initialize if it has not been called yet.
1880 2010-10-30  Alan Mackenzie  <acm@muc.de>
1882         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1883         which fontifies the tail of an enum.
1884         (c-basic-matchers-after): Insert a call to the above new function.
1885         This fixes bug #7264.
1887 2010-10-30  Glenn Morris  <rgm@gnu.org>
1889         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1890         tool-bar-mode, transient-mark-mode.  (Bug#7306)
1891         Include the :set property in the dumped Emacs.
1893 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1895         SMIE: change indent rules format, improve smie-setup.
1896         * emacs-lisp/smie.el (smie-precs-precedence-table)
1897         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1898         Mark them pure so the tables gets built at compile time.
1899         (smie-bnf-precedence-table): Store the closer-alist in the table.
1900         (smie-prec2-levels): Preserve the closer-alist.
1901         (smie-blink-matching-open): Be more forgiving in case of indentation.
1902         (smie-hanging-p): Rename from smie-indent--hanging-p.
1903         (smie-bolp): Rename from smie-indent--bolp.
1904         (smie--parent, smie--after): New dynamic vars.
1905         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1906         (smie-indent-rules): Remove.
1907         (smie-indent--offset-rule): Remove fun.
1908         (smie-rules-function): New var.
1909         (smie-indent--rule): New fun.
1910         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1911         (smie-indent-exps): Use it.
1912         (smie-setup): Setup paren blinking; add keyword args for token
1913         functions; extract closer-alist from op-levels.
1914         (smie-indent-debug-log): Remove var.
1915         (smie-indent-debug): Remove fun.
1916         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1917         (prolog-smie-rules): New fun to replace it.
1918         (prolog-mode-variables): Simplify.
1919         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1920         it's setup automatically.
1921         (octave-smie-indent-rules): Remove.
1922         (octave-smie-rules): New fun to replace it.
1923         (octave-mode): Simplify.
1925 2010-10-29  Glenn Morris  <rgm@gnu.org>
1927         * files.el (temporary-file-directory): Remove (already defined in C).
1928         * cus-start.el: Add temporary-file-directory.
1930         * abbrev.el (abbrev-mode):
1931         * composite.el (auto-composition-mode):
1932         * menu-bar.el (menu-bar-mode):
1933         * simple.el (transient-mark-mode):
1934         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1935         that they do not define the associated variables twice.
1936         * simple.el (transient-mark-mode): Remove defvar.
1937         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1938         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1939         Handle multiple groups, and also custom-delayed-init-variables.
1940         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1942 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1944         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1945         (pcase-if): Add one minor optimization.
1946         (pcase-split-equal): Rename from pcase-split-eq.
1947         (pcase-split-member): Rename from pcase-split-memq.
1948         (pcase-u1): Add strings to the member optimization.
1949         Add `guard' variant of predicates.
1950         (pcase-q1): Add string patterns.
1952 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1954         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1956 2010-10-28  Glenn Morris  <rgm@gnu.org>
1958         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1959         Move menu-bar related settings to ../menu-bar.el.
1960         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1961         Move ns-specific settings here from term/ns-win.el.
1963         * simple.el (x-selection-owner-p): Remove unused declaration.
1965 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1967         * minibuffer.el (completion-cycling): New var (bug#7266).
1968         (minibuffer-complete, completion--do-completion):
1969         Use completion--flush-all-sorted-completions.
1970         (minibuffer-complete): Only cycle if completion-cycling is set.
1971         (completion--flush-all-sorted-completions): Unset completion-cycling.
1972         (minibuffer-force-complete): Set completion-cycling.
1973         (completion-all-sorted-completions): Move declaration before first use.
1975 2010-10-28  Leo  <sdl.web@gmail.com>
1977         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1978         which changes the order of matches seen by users (bug#7231).
1980 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
1982         * progmodes/compile.el (compilation-mode-font-lock-keywords):
1983         Don't confuse -omega as "-o mega".
1985 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1987         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1988         (log-edit-author): New dynamic var.
1989         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1990         to return the author if different from committer.
1991         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1993         * play/landmark.el: Adjust commenting convention.
1994         (lm-nil-score): Rename from nil-score.
1995         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1996         (OOOOscore): Move into a let in lm-score-trans-table.
1997         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1999         * electric.el (electric-indent-chars): Autoload.
2000         * progmodes/octave-mod.el (octave-mode):
2001         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2002         (ruby-mode-abbrev-table): Merge initialization and declaration.
2004 2010-10-27  Glenn Morris  <rgm@gnu.org>
2006         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2007         variable.
2009         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2011         * term/ns-win.el: Restore require of cl when compiling.
2012         (menu-bar-final-items): Remove non-existent `windows' menu.
2013         (ns-handle-nxopen): Optionally handle the temp-case.
2014         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2015         (ns-insert-file, ns-find-file): Use `pop'.
2017 2010-10-26  Glenn Morris  <rgm@gnu.org>
2019         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2021 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
2023         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2024         global map.
2025         * term/common-win.el (x-setup-function-keys): Remove most of the
2026         keymappings.  Comment on the remaining ones.
2028 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
2030         * server.el (server-port): New option.  (Bug#854)
2031         (server-start): Use server-port.
2033 2010-10-26  Glenn Morris  <rgm@gnu.org>
2035         * term/ns-win.el (ns-version-string): Remove unused declaration.
2036         (ns-invocation-args): Change to x-invocation-args.
2037         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2038         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2039         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2040         Use x-invocation-args instead of ns-invocation-args.
2041         (ns-initialize-window-system, handle-args-function-alist):
2042         Use x-handle-args instead of ns-handle-args.
2043         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2044         * startup.el (command-line-ns-option-alist): Replace
2045         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2046         ns-handle-iconic with the x- equivalents.
2048         * term/common-win.el (x-select-enable-clipboard):
2049         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2051         * term/ns-win.el: No need to require cl when compiling.
2052         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2053         (xw-defined-colors): Use the common-win definitions.
2054         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2055         (ns-handle-iconic): Make it an alias for x-handle-iconic.
2056         * term/common-win.el (x-select-text, x-alternatives-map)
2057         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2058         * loadup.el [ns]: Load common-win.
2060 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
2062         * epa-mail.el (epa-mail-encrypt): Handle local-part only
2063         recipients; expand mail aliases (Bug#7280).
2065 2010-10-25  Glenn Morris  <rgm@gnu.org>
2067         * term/common-win.el (x-handle-switch): Simplify with pop.
2068         Optionally handle numeric switches.
2069         (x-handle-numeric-switch): Just call x-handle-switch.
2070         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2071         (x-handle-name-switch, x-handle-display, x-handle-args):
2072         Simplify with pop.
2074         * term/ns-win.el: Do not require easymenu.
2075         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2076         <spell>: Move adjustments to menu-bar.el.
2077         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2078         <separator-undo, spell>: Move ns-win's adjustments here.
2079         * loadup.el [ns]: Do not load easymenu.
2081 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2083         * image.el (image-checkbox-checked, image-checkbox-unchecked):
2084         Delete (Bug#7222).
2086         * startup.el (fancy-startup-tail): Instead of using inline images,
2087         refer to image files from etc/.
2089         * wid-edit.el (checkbox): Likewise.
2090         (widget-image-find): Center image specs.
2092 2010-10-24  Glenn Morris  <rgm@gnu.org>
2094         * term/ns-win.el (x-select-text): Doc fix.
2095         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2096         (x-select-text): Move to term/common-win.
2097         * term/w32-win.el (xw-defined-colors): Move to common-win.
2098         * term/x-win.el (xw-defined-colors, x-alternatives-map)
2099         (x-setup-function-keys, x-select-text): Move to common-win.
2100         * term/common-win.el (x-select-text, x-alternatives-map)
2101         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2102         definitions here.
2104 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
2106         * net/mairix.el (mairix-searches-mode-map):
2107         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2109 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
2111         * verilog-mode.el (verilog-directive-re): Make this variable
2112         auto-built for efficiency of execution and updating.
2113         (verilog-extended-complete-re): Support 'pure' fucntion & task
2114         declarations (these have no bodies).
2115         (verilog-beg-of-statement): General cleanup to enable support of
2116         'pure' fucntion & task declarations (these have no bodies).
2117         These efforts together fix Verilog bug210 from veripool; which was also
2118         noticed by Steve Pearlmutter.
2119         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2120         (verilog-directive-nest-re, verilog-set-auto-endcomments):
2121         Support `elsif.  Reported by Shankar Giri.
2122         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2123         attribute handling for lining up declarations and assignments.
2124         (verilog-beg-of-statement-1): Fix issue where continued declaration
2125         is indented differently if it is after a begin..end clock.
2126         (verilog-in-attribute-p, verilog-skip-backward-comments)
2127         (verilog-skip-forward-comment-p): Support proper treatment of
2128         attributes by indent code. Reported by Jeff Steele.
2129         (verilog-in-directive-p): Fix comment to correctly describe function.
2130         (verilog-backward-up-list, verilog-in-struct-region-p)
2131         (verilog-backward-token, verilog-in-struct-p)
2132         (verilog-in-coverage-p, verilog-do-indent)
2133         (verilog-pretty-declarations): Use verilog-backward-up-list as
2134         wrapper around backward-up-list inorder to properly skip comments.
2135         Reported by David Rogoff.
2136         (verilog-property-re, verilog-endcomment-reason-re)
2137         (verilog-beg-of-statement, verilog-set-auto-endcomments)
2138         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2139         of if). Reported by Max Bjurling and
2140         (verilog-calc-1): Fix for clocking block in modport
2141         declaration. Reported by Brian Hunter.
2143 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
2145         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2146         (verilog-gate-keywords, verilog-read-sub-decls)
2147         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2148         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2149         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
2150         (verilog-read-decls): Fix spaces in V2K module parameters causing
2151         mis-identification as interfaces, bug287.
2152         (verilog-read-decls): Fix not treating "parameter string" as a
2153         parameter in AUTOINSTPARAM.
2154         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2155         treating `elsif similar to `endif inside AUTOSENSE.
2156         (verilog-do-indent): Implement correct automatic or static task or
2157         function end comment highlight. Reported by Steve Pearlmutter.
2158         (verilog-font-lock-keywords-2): Fix highlighting of single
2159         character pins, bug264.  Reported by Michael Laajanen.
2160         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2161         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2162         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2163         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
2164         (verilog-pretty-expr): Fix interactive arguments, bug272.
2165         Reported by Mark Johnson.
2166         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2167         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2168         bug269. Suggested by Gary Delp.
2169         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2170         (verilog-preprocessor, verilog-set-compile-command):
2171         Create verilog-preprocess and verilog-preprocessor to show
2172         preprocessed output.
2173         (verilog-get-beg-of-line, verilog-get-end-of-line)
2174         (verilog-modi-file-or-buffer, verilog-modi-name)
2175         (verilog-modi-point, verilog-within-string): Move defmacro's
2176         before first use to avoid warning. Reported by Steve Pearlmutter.
2177         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2178         (verilog-colorize-region, verilog-highlight-buffer)
2179         (verilog-highlight-includes, verilog-highlight-modules)
2180         (verilog-highlight-region, verilog-mode): Rename colorize to
2181         highlight to match other packages.  Disable module highlighting,
2182         as received speed complaints, reenable for experimentation only
2183         using new verilog-highlight-modules.
2184         (verilog-read-decls): Fix regexp stack overflow in very large
2185         AUTO_TEMPLATEs, bug250.
2186         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2187         (verilog-scan): Create verilog-save-buffer-state to standardize
2188         making insignificant changes that shouldn't call hooks.
2189         (verilog-save-no-change-functions, verilog-save-scan-cache)
2190         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2191         Create verilog-save-no-change-functions to wrap verilog-scan
2192         preservation, and fix to work with nested preserved calls.
2193         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2194         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2195         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
2196         (verilog-submit-bug-report): Update variable list to be complete.
2197         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2198         breaking on-the-fly font-locking.
2199         (verilog-colorize-buffer, verilog-colorize-include-files)
2200         (verilog-colorize-include-files-buffer, verilog-colorize-region)
2201         (verilog-load-file-at-mouse, verilog-load-file-at-point)
2202         (verilog-mode, verilog-read-inst-module-matcher): With point on a
2203         AUTOINST cell instance name, middle mouse button now finds-file on
2204         it.  Suggested by Brad Dobbie.
2205         (verilog-alw-get-temps, verilog-auto-reset)
2206         (verilog-auto-sense-sigs, verilog-read-always-signals)
2207         (verilog-read-always-signals-recurse): Fix loop indexes being
2208         AUTORESET. AUTORESET now assumes any variables in the
2209         initialization section of a for() should be ignored.
2210         Reported by Dan Dever.
2211         (verilog-error-font-lock-keywords)
2212         (verilog-error-regexp-emacs-alist)
2213         (verilog-error-regexp-xemacs-alist): Fix error detection of
2214         Cadence HAL, reported by David Asher.  Repair drift between the
2215         three similar error variables.
2216         (verilog-modi-lookup, verilog-modi-lookup-cache)
2217         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2218         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2219         Fix slow verilog-auto expansion on very large files.
2220         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2221         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2222         "{1*2{...".  Broke in last revision.
2223         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2224         submodule connections with replications "{#{a},#{b}}".
2226 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
2228         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2229         Fix typo in docstring.
2231 2010-10-24  Kenichi Handa  <handa@m17n.org>
2233         * face-remap.el (text-scale-adjust): Call read-event with a proper
2234         prompt.
2236 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2238         * emacs-lisp/unsafep.el: Don't mark functions that display
2239         messages as safe.  Suggested by Johan Bockgård.
2241 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2243         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2244         Turn comments into docstrings.
2246         * minibuffer.el (completion--replace): Move point where it belongs
2247         when there's a common suffix (bug#7215).
2249 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2251         Merge read-color and facemenu-read-color (Bug#7242).
2253         * faces.el (read-color): Use the completion code from
2254         facemenu-read-color.  Require match in completion.  Doc fix.
2256         * facemenu.el (facemenu-read-color): Alias for read-color.
2257         (facemenu-set-foreground, facemenu-set-background):
2258         Use read-color.
2260         * frame.el (set-background-color, set-foreground-color)
2261         (set-cursor-color, set-mouse-color, set-border-color):
2262         Use read-color.
2264 2010-10-24  Leo  <sdl.web@gmail.com>
2266         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2267         argument of delete-file and delete-directory (Bug#7011).
2269 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2271         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2272         button-buffer-map.
2274 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
2276         * emacs-lisp/package.el (package--generate-package-list): Make the
2277         *Packages* buffer read-only.
2279 2010-10-24  Alan Mackenzie  <acm@muc.de>
2281         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2282         result of `c-beginning-of-decl-1' between invocations of a lambda
2283         function (Bug #7265).
2285 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
2287         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2288         executable is not available on the system (Bug#7268).
2290 2010-10-24  Glenn Morris  <rgm@gnu.org>
2292         * select.el (selection-coding-system, next-selection-coding-system):
2293         Sync doc with C versions.
2295         * w32-vars.el (x-select-enable-clipboard):
2296         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2297         * term/common-win.el (x-select-enable-clipboard): Move here.
2299         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2300         definition of C variable.
2302         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2303         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2304         Don't redefine things that are defined in C.
2305         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2306         (show-trailing-whitespace, auto-hscroll-mode)
2307         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2308         Set up the appropriate custom properties.
2310 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2312         Bind "C-c ]" to ...
2313         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2314         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2315         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2316         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2318 2010-10-23  Glenn Morris  <rgm@gnu.org>
2320         * textmodes/flyspell.el (flyspell-mode): If there was an error,
2321         say what it was.
2323         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2324         Sync docs with C version.
2326         * term/ns-win.el (xw-defined-colors):
2327         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2329         * term/pc-win.el (x-select-enable-clipboard):
2330         * term/x-win.el (x-select-enable-clipboard):
2331         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2333         * comint.el (comint-password-prompt-regexp): Make it less vague.
2334         Bump version.
2336         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2338         * help.el (finder-by-keyword): Remove unnecessary autoload.
2340 2010-10-22  Glenn Morris  <rgm@gnu.org>
2342         * loadup.el: Unconditionally load float-sup.
2343         * paren.el (show-paren-delay):
2344         * emacs-lisp/float-sup.el:
2345         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2346         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2347         (lazy-lock-stealth-verbose): Assume float support.
2348         * ps-print.el: Assume float support on Emacs.
2349         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2350         Remove non-float branch.
2352         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2353         src/Makefile no longer being pre-processed.
2355 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2357         * emacs-lisp/find-func.el (find-library): Use test-completion.
2359 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2361         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2363 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
2365         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2366         space in stat format string.
2367         (tramp-send-command): Unset $PS1 when using here documents, in
2368         order not to get several prompts.
2369         (tramp-get-inline-coding): Return `nil' in case of errors.
2371 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
2373         * hexl.el (hexl-mode, hexl-mode-exit):
2374         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2375         (hexl-revert-buffer-function): New function.
2376         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2378 2010-10-19  Alan Mackenzie  <acm@muc.de>
2380         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2381         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2382         that these keywords aren't wrongly matched as identifiers.
2384         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2385         setting of c-new-BEG and c-new-END from c-before-change to
2386         c-after-change.  (Bug#7181)
2388 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2390         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2391         Don't mark as safe.
2393         * custom.el (custom-theme-set-variables): Likewise.
2394         (load-theme): Add custom-theme-set-faces and
2395         custom-theme-set-variables to safe-functions while loading.
2396         (custom-enabled-themes): Mark as risky.
2398 2010-10-18  Julien Danjou  <julien@danjou.info>
2400         * bindings.el: Remove end dashes in default mode-line-format.
2402 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2404         * bindings.el (global-map): Bind C-d to delete-char and deletechar
2405         to delete-forward-char.
2407         * simple.el (normal-erase-is-backspace-mode): Remap delete to
2408         deletechar, and hence delete-forward-char.
2410 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2412         * repeat.el (repeat): Use read-key (bug#6256).
2414 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2416         * emacs-lisp/unsafep.el: Don't mark functions that display
2417         messages as safe.  Suggested by Johan Bockgård.
2419 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2421         * minibuffer.el (completion--replace): Move point where it belongs
2422         when there's a common suffix (bug#7215).
2424 2010-10-19  Kenichi Handa  <handa@m17n.org>
2426         * international/characters.el: Add category '|' (word breakable)
2427         to fullwidth characters.
2429 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
2431         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2432         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2433         order to make stat results a float.  Patch by Andreas Schwab
2434         <schwab@linux-m68k.org>.
2436 2010-10-18  Julien Danjou  <julien@danjou.info>
2438         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2439         hidden by `make-pointer-invisible'.
2441 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2443         * files.el (locate-file-completion-table): Strip non-matching elements
2444         before checking length of list (bug#7238).
2446 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
2448         * custom.el (custom-theme-set-variables): Mark as a safe function.
2449         (load-theme): Check forms using unsafep.
2451         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2453 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
2455         * textmodes/ispell.el (ispell-aspell-find-dictionary):
2456         Fix aspell data file searching (bug#7230).
2458 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2460         * cus-theme.el (custom-theme--migrate-settings): New var.
2461         (customize-create-theme): Allow editing the `user' theme.
2462         (custom-theme-add-variable, custom-theme-add-var-1)
2463         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2464         to the front of each variable or face widget.
2465         (custom-theme-write): Save theme settings in the correct order.
2466         Optionally, remove saved settings from user customizations.
2467         (custom-theme-write-variables, custom-theme-write-faces):
2468         Save only the checked widgets.
2469         (customize-themes): Add a link for migrating custom settings.
2471         * custom.el (custom-declare-theme, provide-theme):
2472         Use custom-theme-name-valid-p.
2473         (custom-theme-name-valid-p): Remove checks that are now
2474         unnecessary since themes no longer obey load-path.
2476         * cus-edit.el (custom-variable-value-create): For the simple
2477         style, hide documentation string when hidden.
2479 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2481         * cus-edit.el (custom-variable, custom-face): Combine the
2482         :inhibit-magic and :display-style properties into a single
2483         :custom-style property.
2484         (custom-toggle-hide-variable, custom-toggle-hide-face):
2485         New functions.  If hiding an edited value, save it to :shown-value.
2486         (custom-variable-value-create, custom-face-value-create): Use them.
2487         (custom-magic-reset): Allow magic property to be unset.
2489         * custom.el: Custom themes no longer use load-path.
2490         (custom-theme-load-path): New option.  Change built-in theme
2491         directory to etc/.
2492         (custom-enabled-themes): Add custom-theme-load-path dependency.
2493         (custom-theme--load-path): New function.
2494         (load-theme, custom-available-themes): Use it.
2496         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2497         (customize-themes): Link to custom-theme-load-path variable.
2498         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2499         :custom-style property.
2501         * themes/*.el: Moved to etc/.
2503 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
2505         * textmodes/reftex-cite.el
2506         (reftex-extract-bib-entries-from-thebibliography): Do not move
2507         point when searching for \bibitem entries.  Match entries with
2508         spaces or tabs in front of arguments.
2510 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2512         * cus-theme.el (customize-create-theme): Delete overlays after
2513         erasing.  If given a THEME arg, display only the faces of that arg
2514         instead of custom-theme--listed-faces.
2515         (custom-theme-variable-menu, custom-theme-variable-action)
2516         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2517         (custom-theme-add-variable, custom-theme-add-face): Apply value
2518         from the theme settings, instead of the current value.
2519         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2520         (custom-theme-visit-theme): Allow calling outside theme buffers.
2521         (custom-theme-merge-theme): Don't enable the theme when merging.
2522         (custom-theme-write-variables, custom-theme-write-faces): Use the
2523         :shown-value properties to save buffer values, not global ones.
2524         (customize-themes): Display a warning about user customizations.
2526         * cus-edit.el (custom-variable-value-create)
2527         (custom-face-value-create): Obey new special properties
2528         :shown-value and :inhibit-magic.
2530 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
2532         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2533         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
2534         <dale@codefu.org>.
2536 2010-10-14  Kenichi Handa  <handa@m17n.org>
2538         * mail/rmail.el (rmail-show-message-1): Catch an error of
2539         base64-decode-region and just show an error message (bug#7165).
2541         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
2542         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2543         a font-spec (bug#7197).
2545 2010-10-14  Glenn Morris  <rgm@gnu.org>
2547         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2549 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
2551         * international/mule.el (define-coding-system):
2552         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2553         * composite.el (compose-region): Fix typo in docstring.
2555 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
2557         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2558         only after checking the theme-face property.
2560         * faces.el (face-spec-reset-face): Reset all attributes in one
2561         single call to set-face-attribute.
2562         (face-spec-match-p): Make it a defsubst.
2563         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2564         (x-create-frame-with-faces, tty-create-frame-with-faces)
2565         (tty-set-up-initial-frame-faces): Don't recompute face specs in
2566         frame-set-background-mode, since they are recomputed immediately
2567         afterwards in face-set-after-frame-default.
2568         (face-set-after-frame-default): Minor optimization.
2569         (cursor): Provide non-trivial defface spec.
2571         * custom.el (custom-theme-recalc-face): Simplify.
2573 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
2575         * calc/calc-alg.el (math-var): Rename from `var'.
2576         (math-is-polynomial, math-is-poly-rec): Replace `var'
2577         with `math-var'.
2579         * calc/calcalg2.el (math-var): Rename from `var'.
2580         (calcFunc-table, math-scan-for-limits): Replace `var'
2581         with `math-var'.
2583 2010-10-13  Glenn Morris  <rgm@gnu.org>
2585         * subr.el (last): Deal with dotted lists (reported in bug#7174).
2587 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
2589         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2591 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2593         * net/tls.el (tls-program): Remove spurious %s from openssl.
2594         (tls-starttls-switches): Remove starttls hack.
2595         (open-tls-stream): Ditto.
2596         (tls-find-starttls-argument): Ditto.
2598 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
2600         * image.el (image-library-alist): Declare as obsolete alias.
2601         (image-type-available-p): Use `dynamic-library-alist'.
2603         * term/w32-win.el (dynamic-library-alist):
2604         Use instead of `image-library-alist'.
2606 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
2608         * subr.el (last): Make it faster.  (Bug#7174)
2610 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
2612         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
2614 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2616         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2617         (describe-theme-1): Extract doc from unloaded themes.
2619         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2621         * themes/tango-theme.el:
2622         * themes/tango-dark-theme.el:
2623         * themes/wheatgrass-theme.el: New files.
2625 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2627         * cus-theme.el (describe-theme, customize-themes)
2628         (custom-theme-save): New commands.
2629         (custom-new-theme-mode-map): Bind C-x C-s.
2630         (custom-new-theme-mode): Use custom--initialize-widget-variables.
2631         (customize-create-theme): New optional arg THEME.
2632         (custom-theme-revert): Use it.
2633         (custom-theme-visit-theme): Remove dead code.
2634         (custom-theme-merge-theme): Use custom-available-themes.
2635         (custom-theme-write): Make interactive.
2636         (custom-theme-write): Use custom-theme-name-valid-p.
2637         (describe-theme-1, custom-theme-choose-revert)
2638         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2639         New funs.
2640         (custom-theme-allow-multiple-selections): New option.
2641         (custom-theme-choose-mode): New major mode.
2643         * custom.el (custom-theme-set-variables): Remove dead code.
2644         Obey custom--inhibit-theme-enable.
2645         (custom--inhibit-theme-enable): New var.
2646         (provide-theme): Obey it.
2647         (load-theme): Replace load with manual read/eval, in order to
2648         check for correctness.  Use custom-theme-name-valid-p.
2649         (custom-theme-name-valid-p): New function.
2650         (custom-available-themes): Use it.
2652         * cus-edit.el (custom--initialize-widget-variables): New function.
2653         (Custom-mode): Use it.
2655         * cus-face.el (custom-theme-set-faces): Remove dead code.
2656         Obey custom--inhibit-theme-enable.
2658         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2660 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
2662         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2664 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
2666         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2667         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2668         (mac-right-option-modifier): New alias for ns-right-option-modifier.
2670         * cus-start.el (all): ns-right-alternate-modifier is new.
2672 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2674         * emacs-lisp/lisp.el (lisp-completion-at-point):
2675         Use emacs-lisp-mode-syntax-table for the whole function.
2677 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
2679         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2680         instead of font-lock-mode before adding keywords.
2681         Remove hi-lock-mode off code.  Remove inhibit hack.
2682         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2683         non-nil; removed hook inhibit hack.
2685 2010-10-12  Glenn Morris  <rgm@gnu.org>
2687         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2688         (load-path-shadows-find): ... to this.
2689         (list-load-path-shadows): Update for above change.
2691         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2693 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2695         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2696         Fix comment for declare-function.
2698 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
2700         * custom.el (custom-fix-face-spec): New function; code moved from
2701         custom-face-edit-fix-value.
2702         (custom-push-theme): Use it when checking if a face has been
2703         changed outside customize.
2704         (custom-available-themes): New function.
2705         (load-theme): Use it.
2707         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2709         * custom.el (custom-push-theme): Cleanup (use cond).
2710         (disable-theme): Recompute the saved-face property.
2711         (custom-theme-recalc-face): Follow face alias before setting prop.
2713         * image.el (image-checkbox-checked, image-checkbox-unchecked):
2714         New variables, containing checkbox images.
2716         * startup.el (fancy-startup-tail):
2717         * wid-edit.el (checkbox): Use them.
2719 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
2721         * shell.el (shell-mode-map):
2722         * progmodes/modula2.el (m2-mode-map):
2723         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2724         * play/mpuz.el (mpuz-mode-map):
2725         * play/landmark.el (lm-mode-map):
2726         * play/decipher.el (decipher-mode-map):
2727         * play/5x5.el (5x5-mode-map):
2728         * net/telnet.el (telnet-mode-map):
2729         * net/quickurl.el (quickurl-list-mode-map):
2730         * net/mairix.el (mairix-searches-mode-map):
2731         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2732         * net/dig.el (dig-mode-map):
2733         * mail/mspools.el (mspools-mode-map):
2734         * hexl.el (hexl-mode-map):
2735         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2736         (wordstar-C-o-map, wordstar-C-q-map):
2737         * emacs-lisp/edebug.el (edebug-eval-mode-map):
2738         * emacs-lisp/chart.el (chart-map):
2739         * edmacro.el (edmacro-mode-map):
2740         * erc/erc-list.el (erc-list-menu-mode-map):
2741         * array.el (array-mode-map): Declare and define in one step.
2743         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2745 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
2747         * epa.el (epa-passphrase-callback-function): Display filename
2748         passed as the 3rd arg.
2749         * epa-file.el (epa-file-passphrase-callback-function):
2750         Pass filename to epa-passphrase-callback-function.
2752 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
2754         * cus-edit.el (custom-face-widget-to-spec)
2755         (custom-face-get-current-spec, custom-face-state): New functions.
2756         (custom-face-set, custom-face-mark-to-save)
2757         (custom-face-value-create, custom-face-state-set): Use them.
2759         * cus-theme.el (custom-theme--listed-faces): New var.
2760         (customize-create-theme): Use *Custom Theme* as the buffer name.
2761         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
2762         faces listed in custom-theme--listed-faces.
2763         (custom-theme-revert): New function.
2764         (custom-theme-add-variable, custom-theme-add-face): Insert at the
2765         bottom of the list.
2766         (custom-theme-write): Prompt for theme name if empty.
2767         (custom-theme-write-variables): Use dolist.
2768         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2770 2010-10-09  Alan Mackenzie  <acm@muc.de>
2772         Enhance fontification of declarators to take account of the
2773         presence/absence of "typedef".
2775         * cc-engine.el (c-forward-type): New &optional param
2776         "brace-block-too".
2777         (c-forward-decl-or-cast-1): cdr of return value now indicates the
2778         presence of either or both of a "struct"-like keyword and "typedef".
2780         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2781         fontification of declarators which follow a "}".
2782         (c-font-lock-declarations): Fontify declarators according to the
2783         presence/absence of "typedef".
2785         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2786         for "typedef".
2787         (c-typedef-decl-key): New lang variable built from
2788         c-typedef-decl-kwds.
2790 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2792         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2793         since that's too annoying.  Move the filter groups commands to
2794         TAB/backtab.
2796         * epa.el (epa-passphrase-callback-function): Say what we're
2797         querying the password for.
2799         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2800         behaviour, don't bury the ibuffer buffer when visiting other buffers.
2802 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2804         * cus-edit.el (custom-commands, custom-buffer-create-internal)
2805         (custom-magic-value-create): Pad button tags with spaces.
2806         (custom-face-edit): New variable.
2807         (custom-face-value-create): Determine whether to use the usual
2808         face editor here, instead of using custom-face-selected.
2809         Pass face defaults to custom-face-edit widget.
2810         (custom-face-selected, custom-display-unselected): Delete widgets.
2811         (custom-display-unselected-match): Function removed.
2812         (custom-face-set, custom-face-mark-to-save):
2813         Accept custom-face-edit widgets as the direct widget child.
2815         * wid-edit.el (widget--completing-widget): New var.
2816         (widget-default-complete): Bind it when doing completion.
2817         (widget-string-complete, widget-file-complete): Use it.
2819 2010-10-09  Glenn Morris  <rgm@gnu.org>
2821         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2822         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2823         (holiday-hebrew-misc): Small simplifications.
2825         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2827         * net/browse-url.el: Don't require thingatpt, term, dired,
2828         executable, or w3-auto when compiling.
2829         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2830         Declare.
2831         (browse-url-text-emacs): Require term.
2833 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
2835         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2837 2010-10-08  Glenn Morris  <rgm@gnu.org>
2839         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2841         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2842         (shadows-compare-text-p): Make it an obsolete alias for...
2843         (load-path-shadows-compare-text): ... new name.
2844         (find-emacs-lisp-shadows): Update for above name change.
2845         (load-path-shadows-same-file-or-nonexistent): New name for the old
2846         shadow-same-file-or-nonexistent.
2848 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2850         * minibuffer.el (completion--some, completion--do-completion)
2851         (minibuffer-complete-and-exit, minibuffer-completion-help)
2852         (completion-basic-try-completion)
2853         (completion-basic-all-completions)
2854         (completion-pcm--find-all-completions): Use lexical-let to
2855         avoid some false matches in variable completion (Bug#7056)
2857 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
2859         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
2861 2010-10-08  Leo  <sdl.web@gmail.com>
2863         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2864         return non-nil if the file exists (Bug#7090).
2866 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2868         * minibuffer.el (completion--replace):
2869         Better preserve markers (bug#7138).
2871 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
2873         * server.el (server-process-filter): Doc fix.
2875 2010-10-08  Drew Adams  <drew.adams@oracle.com>
2877         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
2879 2010-10-08  Glenn Morris  <rgm@gnu.org>
2881         * vc/ediff-wind.el (ediff-setup-control-frame):
2882         * vc/ediff-ptch.el (ediff-default-backup-extension):
2883         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2884         (ediff-exec-process): Remove system-types emx, windows-95.
2886         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
2888 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
2890         * cus-edit.el (custom-variable, custom-face): Doc fix.
2891         (custom-face-edit): Add value-create attribute.
2892         (custom-face-edit-value-create)
2893         (custom-face-edit-value-visibility-action): New functions.
2894         Hide unused face attributes by default, and add a visibility toggle.
2895         (custom-face-edit-deactivate): Show empty values with shadow face.
2896         (custom-face-selected): Only use this for face specs with default
2897         attributes.
2898         (custom-face-value-create): Cleanup.
2900         * wid-edit.el (widget-checklist-value-create): Use dolist.
2901         (widget-checklist-match-find): Make second arg optional.
2903 2010-10-07  Glenn Morris  <rgm@gnu.org>
2905         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2906         Prefix things.
2908         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2909         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2910         load-path-shadows-mode, update references.
2911         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2912         Rename variable and button.
2913         (list-load-path-shadows): Update button caller.
2915 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2917         * emacs-lisp/smie.el (smie-bnf-classify): New function.
2918         (smie-bnf-precedence-table): Use it to remember the closers/openers.
2919         (smie-merge-prec2s): Handle those new entries.
2920         (smie-prec2-levels): Only set precedence to nil for actual
2921         openers/closers.
2922         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2923         that is now unnecessary.
2925 2010-10-07  Miles Bader  <miles@gnu.org>
2927         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2929 2010-10-07  Glenn Morris  <rgm@gnu.org>
2931         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2932         (mail-position-on-field): Remove declarations.
2933         (mail-position-on-field): Autoload it.
2934         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2935         and mail-header-end.  Don't require sendmail.
2937         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2938         (shadow-mode): New mode.
2939         (shadow-find-file): New button.
2940         (list-load-path-shadows): Use shadow-mode and buttons.
2942         * iimage.el (iimage-version): Remove.
2943         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2944         Turn into defcustoms.
2945         (iimage-mode-map): Give it a doc string.
2947         * calendar/appt.el (appt-activate): Give a warning rather than an error
2948         if there is no diary-file.
2950 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
2952         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2953         Use `tramp-handle-find-backup-file-name'.
2955 2010-10-06  Glenn Morris  <rgm@gnu.org>
2957         * font-core.el (font-lock-defaults-alist): Remove variable.
2958         (font-lock-mode): Doc fix.
2959         (font-lock-default-function): Do not consult font-lock-defaults-alist.
2960         * font-lock.el (font-lock-refresh-defaults): Doc fix.
2961         (font-lock-set-defaults): Doc fix.
2962         Do not consult font-lock-defaults-alist.
2964         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2966         * emacs-lisp/cl.el: No longer provide cl-19.
2968 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
2970         * net/tramp.el (tramp-handle-directory-files-and-attributes)
2971         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2972         New defuns, taken from tramp-smb.el.
2973         (tramp-coding-system-change-eol-conversion)
2974         (tramp-set-process-query-on-exit-flag): Remove.
2976         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2977         (tramp-compat-coding-system-change-eol-conversion)
2978         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2979         from tramp.el.
2981         * net/tramp-gvfs.el:
2982         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2983         by `tramp-compat-set-process-query-on-exit-flag'.
2985         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2986         Use `tramp-handle-directory-files-and-attributes',
2987         `tramp-handle-file-exists-p' and
2988         `tramp-handle-file-newer-than-file-p'.
2989         (tramp-imap-handle-file-exists-p)
2990         (tramp-imap-handle-file-executable-p)
2991         (tramp-imap-handle-file-readable-p)
2992         (tramp-imap-handle-directory-files-and-attributes)
2993         (tramp-imap-handle-file-newer-than-file-p): Remove.
2995         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2996         by `tramp-compat-set-process-query-on-exit-flag' and
2997         `tramp-coding-system-change-eol-conversion' by
2998         `tramp-compat-coding-system-change-eol-conversion'.
3000         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3001         Use `tramp-handle-directory-files-and-attributes',
3002         `tramp-handle-file-exists-p' and
3003         `tramp-handle-file-newer-than-file-p'.
3004         (tramp-smb-handle-directory-files-and-attributes)
3005         (tramp-smb-handle-file-exists-p)
3006         (tramp-smb-handle-file-newer-than-file-p): Remove.
3007         (tramp-smb-maybe-open-connection):
3008         Replace `tramp-set-process-query-on-exit-flag' by
3009         `tramp-compat-set-process-query-on-exit-flag'.
3011 2010-10-05  Glenn Morris  <rgm@gnu.org>
3013         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3015 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
3017         Continue reorganization of load dependencies.  (Bug#7156)
3019         * net/tramp.el (tramp-handle-file-local-copy-hook)
3020         (tramp-delete-temp-file-function): Move down.
3021         (tramp-exists-file-name-handler): Move up.
3022         (tramp-register-file-name-handlers): Simplify autoload.
3023         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3024         (tramp-handle-directory-files, tramp-handle-dired-uncache)
3025         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3026         (tramp-handle-file-name-completion)
3027         (tramp-handle-file-name-directory)
3028         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3029         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3030         (tramp-handle-find-backup-file-name)
3031         (tramp-handle-insert-file-contents, tramp-handle-load)
3032         (tramp-handle-substitute-in-file-name)
3033         (tramp-handle-unhandled-file-name-directory)
3034         (tramp-mode-string-to-int, tramp-local-host-p)
3035         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3037         * net/tramp-gvfs.el (top):
3038         * net/tramp-smb.el (top): Do not require 'tramp-sh.
3040         * net/tramp-sh.el (all): Move several objects to tramp.el, see
3041         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3043 2010-10-04  Glenn Morris  <rgm@gnu.org>
3045         * calendar/appt.el (appt-add): Ensure reminders are enabled.
3046         (appt-activate): Give status messages.
3048 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
3050         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
3051         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3052         `gnutls-negotiate' (formerly `starttls-negotiate').
3053         Remove trivial wrapper `starttls-open-stream'.
3055 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
3057         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3058         log-outgoing commands.
3059         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3060         to create a buffer local revert-buffer-function variable.
3061         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3062         revert-buffer-function lambda.
3064 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
3066         * net/gnutls.el (starttls-negotiate): Use the plist interface to
3067         `gnutls-boot'.  Make TYPE the only required parameter.
3068         Allow TRUSTFILES and KEYFILES to be lists.
3069         (open-ssl-stream): Use it.
3071 2010-10-03  Glenn Morris  <rgm@gnu.org>
3073         * subr.el (directory-sep-char): Remove obsolete variable.
3074         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3075         it is "necessary".
3077         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3078         * vc/vc.el (vc-static-header-alist): Doc fix.
3079         * vc/vc-cvs.el (vc-cvs-header):
3080         * vc/vc-rcs.el (vc-rcs-header):
3081         * vc/vc-sccs.el (vc-sccs-header):
3082         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3083         * obsolete/vc-mcvs.el (vc-mcvs-header):
3084         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3085         on XEmacs.
3087 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
3089         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3090         Remove obsolete use of binary-overwrite-mode (Bug#7001).
3092 2010-10-03  Glenn Morris  <rgm@gnu.org>
3094         * obsolete/x-menu.el: Remove file, obsolete since 21.1
3096         * textmodes/rst.el (rst-font-lock-keywords-function):
3097         Drop Emacs 20 code.
3099         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3101         * printing.el: Drop Emacs 20 code.
3103         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3104         without having used appt.el already).
3106         * subr.el (make-local-hook): Remove function obsolete since 21.1.
3107         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3108         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3109         XEmacs.
3110         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3111         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3113         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3114         (charset-width, find-charset-region, chars-in-region, forward-point)
3115         (encode-coding-string, coding-system-p, ccl-execute-on-string)
3116         (define-ccl-program, multibyte-string-p, string-make-multibyte):
3117         Remove compatibility cruft (none of these are used by ps*.el).
3119 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
3121         * subr.el (booleanp): Return t instead of a list (Bug#7086).
3123 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
3125         * server.el (server-process-filter, server-return-error):
3126         Give emacsclient time to shut down after receiving an error string.
3128 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
3130         * files.el (remote-file-name-inhibit-cache): New defcustom.
3132         * time.el (display-time-file-nonempty-p):
3133         Use `remote-file-name-inhibit-cache'.
3135         * net/tramp.el (tramp-completion-reread-directory-timeout):
3136         Fix docstring.
3138         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3139         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3140         `remote-file-name-inhibit-cache'.  Check also for an integer
3141         value.  Add/increase counter when `tramp-verbose' >= 10.
3142         (tramp-set-file-property): Add/increase counter when
3143         `tramp-verbose' >= 10.
3145         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3146         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3147         (tramp-bug): Set tramp-autoload cookie.  Report all interned
3148         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
3149         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
3150         characters only in strings.
3152         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3153         to backward compatibility.
3155         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3156         (tramp-handle-file-name-all-completions)
3157         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3158         (tramp-open-connection-setup-interactive-shell):
3159         Call `tramp-cleanup-connection' directly.
3161 2010-10-02  Glenn Morris  <rgm@gnu.org>
3163         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3165         * subr.el (char-bytes): Remove obsolete function.
3167         * isearch.el (isearch-return-char): Remove obsolete function.
3169         * mouse.el: No longer provide mldrag.
3170         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3171         Remove obsolete aliases.
3173         * comint.el (comint-kill-output): Remove obsolete alias.
3175         * composite.el (decompose-composite-char): Remove obsolete function.
3176         * ps-def.el (decompose-composite-char): Remove unused function.
3178         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3180         * outline.el (outline-visible): Remove obsolete function.
3182         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3183         * faces.el (internal-find-face, internal-get-face)
3184         (frame-update-faces, frame-update-face-colors)
3185         (x-frob-font-weight, x-frob-font-slant)
3186         (internal-frob-font-weight, internal-frob-font-slant)
3187         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3188         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3189         (x-make-font-bold-italic): Remove functions and aliases, obsolete
3190         since Emacs 21.1.
3191         * emulation/viper-util.el (viper-get-face):
3192         * obsolete/lucid.el (find-face, get-face): Use facep.
3193         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3194         Remove unused functions.
3195         * vc/ediff-util.el (ediff-submit-report): Doc fix.
3197         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3198         delete tempfile if interrupted during compilation.
3200 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3202         * net/tls.el (tls-starttls-switches): Give up on using starttls with
3203         gnutls-cli.
3204         (tls-program): Add --insecure to be consistent with the defaults from
3205         openssl s_client.  Now all three commands are insecure.
3207 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
3209         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3210         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3211         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3213 2010-10-01  Glenn Morris  <rgm@gnu.org>
3215         * obsolete/sc.el: Remove file.
3217         * files.el (temporary-file-directory): On darwin, also try
3218         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3220 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
3222         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3223         Let's not break compatibility gratuitously, shall we?
3225 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3227         * net/tls.el (tls-starttls-switches): New variable.
3228         (tls-find-starttls-argument): Use it.
3229         (open-tls-stream): Ditto.
3231         * net/netrc.el (netrc-credentials): Return the value of the "default"
3232         entry.
3233         (netrc-machine): Ditto.
3235 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
3237         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3239 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
3241         * server.el (server-start): Don't write pid to the authentication file.
3242         (server-create-tty-frame): Don't send pid.
3243         (server-process-filter): Send pid at the start of every connection.
3245 2010-09-30  Glenn Morris  <rgm@gnu.org>
3247         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3248         (show-all-diary-entries): Remove obsolete function aliases.
3250         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3251         Remove options, obsolete since 22.1.
3252         (appt-display-format, appt-display-message):
3253         Remove backwards-compatibility code.
3254         (appt-check): No longer check appt-issue-message.
3255         (appt-make-list): No longer autoload it.  Doc fix.  No longer
3256         activate the package.
3258 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3260         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3261         (starttls-negotiate): Just call boot, and let the handshake be
3262         triggered from the read loop.
3264 2010-09-29  Glenn Morris  <rgm@gnu.org>
3266         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3267         not displaying the diary.
3268         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3269         * calendar/appt.el (appt-check): No longer need to kill diary.
3271         * calendar/diary-lib.el (diary-list-entries): Move the
3272         "Preparing..." message entirely here.
3273         (diary-simple-display, diary-fancy-display): Move "Preparing..."
3274         messages to diary-list-entries.
3275         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3276         diary-display-function.
3278         * calendar/diary-lib.el (diary-include-other-diary-files):
3279         Trap some recursive includes.
3281         * calendar/appt.el (appt-activate): Check diary file.
3283 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
3285         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3286         construction.
3288         * calendar/time-date.el: No need to require cl for Emacs 21.
3290 2010-09-28  Glenn Morris  <rgm@gnu.org>
3292         * calendar/appt.el (appt-check): Minor simplification.
3294 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
3296         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3297         citation prefix.
3299 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
3301         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3302         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
3304 2010-09-27  Kenichi Handa  <handa@m17n.org>
3306         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3307         "ustar" format.
3309 2010-09-27  Kenichi Handa  <handa@m17n.org>
3311         * international/mule.el (define-coding-system): Docstring fixed.
3313         * international/mule-diag.el (describe-character-set): Use princ
3314         with proper print-length and print-level instead of insert.
3316 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
3318         * window.el (walk-windows): Doc fix (bug#7105).
3320 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3322         * emacs-lisp/float-sup.el (e): Remove.
3324 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
3326         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3327         variable.
3328         (starttls-negotiate): Use it.
3330 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3332         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3333         back.
3335 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3337         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3339 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3341         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3343         * net/netrc.el (netrc-store-data): New function.
3345 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
3347         * net/gnutls.el: GnuTLS glue code to set up a connection.
3349 2010-09-25  Julien Danjou  <julien@danjou.info>
3351         * notifications.el: Call dbus-register-signal only if it is bound.
3353 2010-09-25  Glenn Morris  <rgm@gnu.org>
3355         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3356         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3357         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3358         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3359         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3360         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3361         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3362         * eshell/esh-util.el, eshell/esh-var.el:
3363         Remove leading `*' from docs of faces and defcustoms.
3365 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
3367         * eshell/em-ls.el (eshell-ls-archive-regexp):
3368         * eshell/esh-util.el (eshell-tar-regexp):
3369         * ibuffer.el (ibuffer-compressed-file-name-regexp):
3370         * info.el (Info-suffix-list):
3371         * international/mule.el (auto-coding-alist):
3372         * woman.el (woman-file-regexp, woman-file-compression-regexp):
3373         * progmodes/etags.el (tags-compression-info-list):
3374         Support xz compression.
3376 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
3378         * files.el (get-free-disk-space): Don't assume the "df" output
3379         columns line up (Bug#6995).
3381 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
3383         * finder.el (finder-unknown-keywords):
3384         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3385         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3387 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
3389         * server.el (server-start): Revert part of 2010-08-08 change.  Using
3390         address 127.0.0.1 for local host is now done in Fmake_network_process.
3392 2010-09-24  Glenn Morris  <rgm@gnu.org>
3394         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3395         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3396         * textmodes/css-mode.el, textmodes/dns-mode.el:
3397         Move autoloaded auto-mode-alist entries to files.el.
3398         * files.el (auto-mode-alist): Move entries here.
3400 2010-09-23  Glenn Morris  <rgm@gnu.org>
3402         * isearch.el (isearch-lazy-highlight-cleanup)
3403         (isearch-lazy-highlight-initial-delay)
3404         (isearch-lazy-highlight-interval)
3405         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3406         * net/net-utils.el (ipconfig-program-options):
3407         Move aliases to options before the associated definitions.
3409 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3411         * newcomment.el (comment-normalize-vars): Better test validity of
3412         comment-end-skip.
3414 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3416         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3417         (float-e): New name for `e'.
3418         (degrees-to-radians, radians-to-degrees):
3419         * calendar/solar.el (solar-longitude):
3420         * calculator.el (calculator-registers, calculator-funcall):
3421         * textmodes/artist.el (artist-spray-random-points):
3422         * play/bubbles.el (bubbles--initialize-images): Use new names.
3424 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
3426         Update to CEDET 1.0's version of EIEIO.
3428         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3429         New function.
3430         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3431         (eieio-default-eval-maybe): Eval val instead of unquoting only.
3432         (class-precedence-list): If class is nil, return nil.
3433         (eieio-generic-call): If class of first input arg is nil, don't
3434         look up static methods, and do check for primary methods.
3435         (initialize-instance): See if the default needs to be evaluated
3436         during the constructor.
3437         (eieio-perform-slot-validation-for-default): Don't do the check
3438         for values that will eventually be evaluated.
3439         (eieio-eval-default-p): New function.
3440         (eieio-default-eval-maybe): Use it.
3442 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3444         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3445         method-invocation-order.
3446         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3447         (eieio-class-precedence-dfs): Compute class precedence list using
3448         dfs algorithm.
3449         (eieio-class-precedence-bfs): Compute class precedence list using
3450         bfs algorithm.
3451         (eieio-class-precedence-c3): Compute class precedence list using
3452         c3 algorithm.
3453         (class-precedence-list): New function.
3454         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3455         (inconsistent-class-hierarchy): New error symbol.
3456         (call-next-method): Stow the replacement argument list for future
3457         call-next-method invocations.
3459 2010-09-23  Glenn Morris  <rgm@gnu.org>
3461         * calendar/appt.el (appt-check): If not displaying the diary,
3462         use (diary 1) to only get the entries we need.
3463         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3464         that it is in day order.  (Bug#7019)
3466         * calendar/appt.el (appt-check): Rather than showing the diary,
3467         just turn off invisible display, and only if needed.
3469         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
3471 2010-09-23  Glenn Morris  <rgm@gnu.org>
3473         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3474         (byte-compile-defvar, byte-compile-cl-warn):
3475         Start warnings with lower-case, like the majority.
3477         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3479         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
3481         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3482         * files.el (auto-mode-alist): Move ld-script entries here, further down
3483         the list.
3485         * vc/add-log.el: Don't require timezone when compiling.
3486         (timezone-make-date-sortable): Autoload it.
3487         (change-log-sortable-date-at): Don't require timezone.
3488         Use `ignore-errors'.
3490         * comint.el (comint-use-prompt-regexp-instead-of-fields):
3491         Move alias before definition, so it does not need autoloading.
3493         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3494         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3495         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3496         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3497         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3498         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3499         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3500         * textmodes/tex-mode.el, textmodes/two-column.el:
3501         Remove leading `*' from docs of defcustoms etc.
3503 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
3505         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3507 2010-09-22  Dan Christensen  <jdc@uwo.ca>
3509         * calendar/time-date.el (date-to-time): Try using parse-time-string
3510         first before using the slower timezone-make-date-arpa-standard.
3512 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
3514         * calendar/time-date.el (format-seconds): Comment fix.
3516 2010-09-22  Glenn Morris  <rgm@gnu.org>
3518         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3519         is not automatically buffer-local.
3521 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3523         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3524         (smie-indent-comment): Be more careful with comment-start-skip.
3525         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3526         (smie-indent-functions): Use them.
3528 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
3530         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3532 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
3534         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3535         tool-bar-position.  Don't modify frame parameters here.
3536         (menu-bar-options-save): Add tool-bar-position.
3538         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3540 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3542         * textmodes/reftex-parse.el (reftex-what-macro)
3543         (reftex-context-substring): Let-bind forward-sexp-function to nil
3544         since we don't need/want to treat \begin...\end as a block (bug#7053).
3546         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3548         * simple.el (blink-matching-open): Use syntax-class.
3550         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3551         Set invisibility spec for pascal's outline mode.
3552         (pascal-outline-change): Clean up calling convention.
3553         (pascal-show-all, pascal-hide-other-defuns): Update callers.
3555         * progmodes/prolog.el (prolog-smie-forward-token)
3556         (prolog-smie-backward-token): New functions.
3557         (prolog-mode-variables): Use them to parse "!," correctly.
3558         Set up smie-blink-matching for ".".
3560         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3561         and `end'.
3562         (ispell-region, ispell-process-line): Update users.
3564         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3565         point-min==1.
3567         * textmodes/ispell.el: Fix commenting convention.
3568         (ispell-parse-output): Simplify, use push.
3569         (ispell-region): Use match-string-no-properties.
3570         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3571         (ispell-minor-mode): Use define-minor-mode.
3572         (ispell-message): Remove unused var `skip-regexp'.
3573         (ispell-add-per-file-word-list): Use dynamic let-binding.
3574         Try and use the proper comment marker.
3576         * mail/sendmail.el: Fix commenting convention.
3577         (sendmail-send-it): Use line-beginning-position.
3579         * help-fns.el (describe-variable): Add original value, if applicable.
3581 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
3583         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3585         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3587 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3589         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3590         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3591         (smie-prec2-levels): Use them to better diagnose precedence cycles.
3592         (smie-blink-matching-check): Don't signal a mismatch if car is t.
3593         (smie-blink-matching-open): Rewrite to remove assumptions, so that
3594         something like "." can also be a closer.
3595         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3596         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3597         Rename internal functions to use "--".  Update callers.
3599         * frame.el (make-frame-names-alist): Don't list frames on other displays.
3601         * fringe.el (fringe-styles): New var.
3602         (fringe-mode, fringe-query-style): Use it.
3604 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
3606         * progmodes/sql.el: Version 2.8
3607         (sql-login-params): Update widget structure; changes still needed.
3608         (sql-product-alist): Add :list-all and :list-table features for
3609         SQLite, Postgres and MySQL products.
3610         (sql-redirect): Handle default value.
3611         (sql-execute, sql-execute-feature): New functions.
3612         (sql-read-table-name): New function.
3613         (sql-list-all, sql-list-table): New functions.  User API.
3614         (sql-mode-map, sql-interactive-mode-map): Add key definitions
3615         for above functions.
3616         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3617         for above functions.
3618         (sql-postgres-login-params): Add user and database defaults.
3619         (sql-buffer-live-p): Bug fix.
3620         (sql-product-history): New variable.
3621         (sql-read-product): New function. Use it.
3622         (sql-set-product, sql-product-interactive): Use it.
3623         (sql-connection-history): New variable.
3624         (sql-read-connection): New function.  Use it.
3625         (sql-connect): New function.
3626         (sql-for-each-login): Redesign function interface.
3627         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3628         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
3629         (sql-comint): Check for program.  Existing live buffer.
3630         (sql-comint-postgres): Add port parameter.
3632 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3634         * emacs-lisp/warnings.el: Fix commenting convention.
3635         (display-warning): Use special mode and make the buffer read-only.
3637 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
3639         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3640         empty string when it follows a repeated or optional pattern.
3642 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3644         * indent.el (indent-according-to-mode): Apply syntax-propertize.
3645         (indent-region): Use indent-according-to-mode.
3647 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
3649         * fringe.el (fringe-mode): Doc fix.
3651 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
3653         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3654         refreshing the preview buffer.
3656 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3658         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3659         (latex-syntax-propertize-rules): New consts; replace
3660         tex-font-lock-syntactic-keywords.
3661         (tex-env-mark, latex-env-before-change): New functions.
3662         (latex-electric-env-pair-mode): New minor mode.
3663         (tex-font-lock-verb): Change arguments; do move point.
3664         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3665         representation as a form of comment.
3666         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3667         (doctex-syntax-propertize-rules): New const; replaces
3668         doctex-font-lock-syntactic-keywords.
3669         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3671         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3672         (fortran-make-syntax-propertize-function): New function; replaces
3673         fortran-font-lock-syntactic-keywords.
3674         (fortran-mode): Use it.
3675         (fortran-line-length): Use it.  Improve interactive spec.
3677         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3678         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
3679         when adding surrounding \(..\).
3681         * progmodes/js.el (js-mode): Fix last change (bug#7054).
3683 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3685         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3686         Use with-current-buffer.
3688         * isearch.el (isearch-face): Rename from `isearch'.
3689         (isearch-highlight): Use new name.
3691 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
3693         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3694         5, for `half' width fringes.  (Bug#6933)
3696 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3698         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3699         (byte-compile-defvar): "foo/bar" does not lack a prefix.
3701         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3703 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
3705         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3706         in calculating new frame position.  Add more space between new and
3707         parent on the left (Bug#7048).
3709 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
3711         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3712         defmacro.
3714 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
3716         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3718         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3719         obsolete alias for x-selection-value.
3721         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3723 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
3725         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3726         cookie.
3728 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
3730         * net/tramp-compat.el (tramp-compat-with-temp-message)
3731         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3732         (tramp-compat-process-put): New defuns.
3734         * net/tramp.el (top):
3735         * net/tramp-gvfs.el (top):
3736         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3738         * net/tramp.el (tramp-progress-reporter-update):
3739         Use `tramp-compat-funcall'.
3741         * net/tramp.el (tramp-process-actions):
3742         * net/tramp-gvfs.el (tramp-handle-vc-registered):
3743         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3744         (tramp-get-remote-stat, tramp-get-remote-readlink):
3745         Use `tramp-compat-with-temp-message'.
3747         * net/tramp-sh.el (top): Require 'cl.
3748         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3749         (tramp-open-connection-setup-interactive-shell):
3750         Use `tramp-compat-process-put'.
3752 2010-09-15  Alan Mackenzie  <acm@muc.de>
3754         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3755         indentation.
3756         (c-forward-<>-arglist-recur): Fix an infinite recursion.
3758 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3760         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3761         `lexical' for warnings related to lexical scoping.
3762         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3763         global vars which don't have a prefix and could hence affect lexical
3764         scoping in unrelated files.
3766 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3768         * net/imap.el: Revert back to version
3769         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3770         seem problematic.
3772 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
3774         * obsolete/old-whitespace.el (whitespace-unload-function):
3775         Explicitly pass `obarray' to `unintern' to avoid a warning.
3777 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3779         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3780         Add `when' argument.  Update callers.
3782         * subr.el (unintern): Declare the obarray arg mandatory.
3784 2010-09-14  Glenn Morris  <rgm@gnu.org>
3786         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3787         Doc fixes.
3789         * calendar/diary-lib.el (diary-included-files): New variable.
3790         (diary-list-entries): Maybe initialize diary-included-files.
3791         (diary-include-other-diary-files): Append to diary-included-files.
3792         * calendar/appt.el (appt-update-list): Also check the members of
3793         diary-included-files.  (Bug#6999)
3794         (appt-check): Doc fix.
3796 2010-09-14  David Reitter  <david.reitter@gmail.com>
3798         * simple.el (line-move-visual): Do not truncate goal column to
3799         integer size.  (Bug#7020)
3801 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3803         * repeat.el (repeat): Allow repeating when the last event is a click.
3804         Suggested by Drew Adams (bug#6256).
3806 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
3808         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3809         Replace setting HGRCPATH to "" by some less invasive --config options.
3811 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3813         * font-lock.el (font-lock-beginning-of-syntax-function):
3814         Mark as obsolete.
3816 2010-09-14  Glenn Morris  <rgm@gnu.org>
3818         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3819         and tool-bar modes.  (Bug#6211)
3820         (menu-bar-mode): Move setting of standard-value after the
3821         minor-mode definition, otherwise it seems to have no effect.
3823 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
3825         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3826         Fix typo.  (Bug#6976)
3828 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3830         * whitespace.el: Allow cleaning up blanks without blank
3831         visualization (Bug#6651).  Adjust help window for
3832         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3833         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
3834         (whitespace-style): Add new value 'face.  Adjust docstring.
3835         (whitespace-space, whitespace-hspace, whitespace-tab):
3836         Adjust foreground property face.
3837         (whitespace-line-column): Adjust docstring and type declaration.
3838         (whitespace-style-value-list, whitespace-toggle-option-alist)
3839         (whitespace-help-text): Adjust const initialization.
3840         (whitespace-toggle-options, global-whitespace-toggle-options):
3841         Adjust docstring.
3842         (whitespace-display-window, whitespace-interactive-char)
3843         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3844         (whitespace-help-scroll): New fun.
3846 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
3848         * calendar/time-date.el (format-seconds): Comment fix.
3850 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
3852         * progmodes/sql.el: Version 2.7.
3853         (sql-buffer-live-p): Improve detection.
3854         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3855         (sql-set-sqli-buffer): Use it.
3856         (sql-product-interactive): Run `sql-set-sqli-hook'.
3857         (sql-rename-buffer): Code cleanup.
3858         (sql-redirect, sql-redirect-value): New functions.  More to come.
3860 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
3862         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.
3863         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3864         (TRAMP_SRC): New macro.
3865         ($(lisp)/net/tramp-loaddefs.el): New target.
3867 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
3869         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
3871         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
3873         * net/tramp.el (top): Don't show loading message.  Require just
3874         'tramp-compat, everything else is required there.
3875         Use `ignore-errors' where appropriate.
3876         (tramp-inline-compress-start-size, tramp-copy-size-limit)
3877         (tramp-terminal-type, tramp-end-of-output)
3878         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3879         (tramp-completion-function-alist-ssh)
3880         (tramp-completion-function-alist-telnet)
3881         (tramp-completion-function-alist-su)
3882         (tramp-completion-function-alist-putty, tramp-remote-path)
3883         (tramp-remote-process-environment, tramp-sh-extra-args)
3884         (tramp-actions-before-shell, tramp-uudecode)
3885         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3886         (tramp-perl-file-attributes)
3887         (tramp-perl-directory-files-and-attributes)
3888         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3889         (tramp-perl-encode, tramp-perl-decode)
3890         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3891         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3892         (tramp-handle-make-symbolic-link, tramp-handle-load)
3893         (tramp-handle-file-name-as-directory)
3894         (tramp-handle-file-name-directory)
3895         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3896         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3897         (tramp-do-file-attributes-with-ls)
3898         (tramp-do-file-attributes-with-perl)
3899         (tramp-do-file-attributes-with-stat)
3900         (tramp-handle-set-visited-file-modtime)
3901         (tramp-handle-verify-visited-file-modtime)
3902         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3903         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3904         (tramp-handle-file-selinux-context)
3905         (tramp-handle-set-file-selinux-context)
3906         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3907         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3908         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3909         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3910         (tramp-handle-file-ownership-preserved-p)
3911         (tramp-handle-directory-file-name, tramp-handle-directory-files)
3912         (tramp-handle-directory-files-and-attributes)
3913         (tramp-do-directory-files-and-attributes-with-perl)
3914         (tramp-do-directory-files-and-attributes-with-stat)
3915         (tramp-handle-file-name-all-completions)
3916         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3917         (tramp-handle-copy-file, tramp-handle-copy-directory)
3918         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3919         (tramp-do-copy-or-rename-file-via-buffer)
3920         (tramp-do-copy-or-rename-file-directly)
3921         (tramp-do-copy-or-rename-file-out-of-band)
3922         (tramp-handle-make-directory, tramp-handle-delete-directory)
3923         (tramp-handle-delete-file)
3924         (tramp-handle-dired-recursive-delete-directory)
3925         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3926         (tramp-handle-insert-directory)
3927         (tramp-handle-unhandled-file-name-directory)
3928         (tramp-handle-expand-file-name)
3929         (tramp-handle-substitute-in-file-name)
3930         (tramp-handle-executable-find, tramp-process-sentinel)
3931         (tramp-handle-start-file-process, tramp-handle-process-file)
3932         (tramp-handle-call-process-region, tramp-handle-shell-command)
3933         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3934         (tramp-handle-insert-file-contents)
3935         (tramp-handle-insert-file-contents-literally)
3936         (tramp-handle-find-backup-file-name)
3937         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3938         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3939         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3940         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3941         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3942         (tramp-find-file-exists-command, tramp-open-shell)
3943         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3944         (tramp-open-connection-setup-interactive-shell)
3945         (tramp-local-coding-commands, tramp-remote-coding-commands)
3946         (tramp-find-inline-encoding, tramp-call-local-coding-command)
3947         (tramp-inline-compress-commands, tramp-find-inline-compress)
3948         (tramp-compute-multi-hops, tramp-maybe-open-connection)
3949         (tramp-send-command, tramp-wait-for-output)
3950         (tramp-send-command-and-check, tramp-barf-unless-okay)
3951         (tramp-send-command-and-read, tramp-mode-string-to-int)
3952         (tramp-convert-file-attributes, tramp-check-cached-permissions)
3953         (tramp-file-mode-from-int, tramp-file-mode-permissions)
3954         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3955         (tramp-method-out-of-band-p, tramp-local-host-p)
3956         (tramp-get-remote-path, tramp-get-remote-tmpdir)
3957         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3958         (tramp-get-test-command, tramp-get-test-nt-command)
3959         (tramp-get-file-exists-command, tramp-get-remote-ln)
3960         (tramp-get-remote-perl, tramp-get-remote-stat)
3961         (tramp-get-remote-readlink, tramp-get-remote-trash)
3962         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3963         (tramp-get-local-uid, tramp-get-local-gid)
3964         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3965         tramp-sh.el.
3966         (tramp-methods, tramp-default-method-alist)
3967         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3968         Move initialization to tramp-sh.el.
3969         (tramp-temp-name-prefix): Make it a defconst.
3970         (tramp-dissect-file-name): Don't check anymore for multi-hop
3971         methods.
3972         (tramp-debug-outline-regexp): Add a docstring.
3973         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3974         (tramp-get-debug-buffer): Use it.
3976         * net/tramp-cache.el (top): Set tramp-autoload cookie for
3977         initialization forms.
3978         (tramp-set-connection-property): Don't protect `tramp-message'
3979         call, it isn't necessary any longer.
3980         (tramp-dump-connection-properties): Use `ignore-errors'.
3982         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3983         'password-cache and 'auth-source.
3985         * net/tramp-gvfs.el (top):
3986         * net/tramp-smb.el (top): Require 'tramp-sh.
3988         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3990         * net/tramp-sh.el: New file, derived from tramp.el.
3991         (top): Initialize `tramp-methods', `tramp-default-method-alist',
3992         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3993         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3994         Use `ignore-errors' where appropriate.
3995         (tramp-sh-file-name-handler-alist): Rename from
3996         `tramp-file-name-handler-alist'.
3997         (tramp-send-command-and-check): Return t or nil.  Remove all
3998         `zerop' checks, where called.
3999         (tramp-handle-set-file-modes)
4000         (tramp-do-copy-or-rename-file-directly)
4001         (tramp-handle-delete-directory, tramp-handle-delete-file)
4002         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4003         (tramp-sh-file-name-handler, tramp-send-command-and-check)
4004         (tramp-get-remote-ln): Set tramp-autoload cookie.
4006         * net/tramp-fish.el: Remove file.
4008 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
4010         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4011         buffer-file-name to avoid file-locking.  (Bug#7026)
4013 2010-09-13  Julien Danjou  <julien@danjou.info>
4015         * notifications.el (notifications-notify): Add support for
4016         image-path and sound-name.
4017         (notifications-specification-version): Add this variable.
4019 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4021         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4023 2010-09-12  Leo  <sdl.web@gmail.com>
4025         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4026         (rcirc-completion-start): New variables.
4027         (rcirc-nick-completions): Rename to rcirc-completions.
4028         (rcirc-nick-completion-start-offset): Delete.
4029         (rcirc-completion-at-point): New function for constructing
4030         completion data for both nicks and irc commands.  Add to
4031         completion-at-point-functions in rcirc mode.
4032         (rcirc-complete): Rename from rcirc-nick-complete; use
4033         rcirc-completion-at-point.
4034         (defun-rcirc-command): Update rcirc-client-commands.
4036 2010-09-11  Glenn Morris  <rgm@gnu.org>
4038         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4039         atomically, to avoid parallel build errors.  (Bug#4196)
4041 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
4043         * progmodes/sql.el: Version 2.6
4044         (sql-dialect): Synonym for "sql-product".
4045         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4046         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4047         Set "sql-buffer" to buffer name not buffer object so multiple sql
4048         interactive buffers work properly.  Reverts misguided changes in
4049         earlier work.
4050         (sql-comint): Make sure different buffer name is used if "*SQL*"
4051         buffer is for a different product.
4052         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4053         login param.
4054         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4055         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4056         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4057         Accept new buffer name or prompt for one.
4058         (sql-port): Default to zero.
4059         (sql-comint-mysql): Handle "sql-port" as a numeric.
4060         (sql-port-history): Delete unused variable.
4061         (sql-get-login): Default "sql-port" to a number.
4062         (sql-product-alist): Correct Postgres prompt and terminator regexp.
4063         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4064         "sqlite3" executables.
4065         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4066         (sql-buffer-live-p): New function.
4067         (sql-mode-menu, sql-send-string): Use it.
4068         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4069         syntax pattern.
4070         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4071         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4073 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4075         * net/netrc.el (netrc-credentials): New convenience function.
4077 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4079         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4080         to replace texinfo-font-lock-syntactic-keywords.
4081         (texinfo-mode): Use it.
4083         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4084         Use syntax-propertize-function.
4086         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4087         replace sgml-font-lock-syntactic-keywords.
4088         (sgml-mode): Use it.
4090         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4091         since we don't use it.
4093         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4095         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4096         if available.
4097         (vhdl-fontify-buffer): Adjust.
4099         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4100         replace tcl-font-lock-syntactic-keywords.
4101         (tcl-mode): Use it.
4103         * progmodes/simula.el (simula-syntax-propertize-function): New var to
4104         replace simula-font-lock-syntactic-keywords.
4105         (simula-mode): Use it.
4107         * progmodes/sh-script.el (sh-st-symbol): Remove.
4108         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4109         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4110         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4111         (sh-font-lock-paren): Set syntax-multiline.
4112         (sh-font-lock-syntactic-keywords): Remove.
4113         (sh-syntax-propertize-function): New function to replace it.
4114         (sh-mode): Use it.
4116         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4117         Define while compiling.
4118         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4119         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4120         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4121         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4122         (ruby-here-doc-end-syntax): Only define when
4123         syntax-propertize is not available.
4124         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4125         New functions.
4126         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4127         (electric-indent-chars): Silence bytecompiler.
4128         (ruby-mode): Use prog-mode, syntax-propertize-function, and
4129         electric-indent-chars.
4131         * progmodes/python.el (python-syntax-propertize-function): New var to
4132         replace python-font-lock-syntactic-keywords.
4133         (python-mode): Use it.
4134         (python-quote-syntax): Simplify and adjust to new use.
4136         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4137         replace perl-font-lock-syntactic-keywords.
4138         (perl-syntax-propertize-special-constructs): New fun to replace
4139         perl-font-lock-special-syntactic-constructs.
4140         (perl-font-lock-syntactic-face-function): New fun.
4141         (perl-mode): Use it.
4143         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4144         to replace octave-font-lock-close-quotes.
4145         (octave-syntax-propertize-function): New function to replace
4146         octave-font-lock-syntactic-keywords.
4147         (octave-mode): Use it.
4149         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4150         replaces mixal-font-lock-syntactic-keywords.
4151         (mixal-mode): Use it.
4153         * progmodes/make-mode.el (makefile-syntax-propertize-function):
4154         New var; replaces makefile-font-lock-syntactic-keywords.
4155         (makefile-mode): Use it.
4156         (makefile-imake-mode): Adjust.
4158         * progmodes/js.el (js--regexp-literal): Define while compiling.
4159         (js-syntax-propertize-function): New var; replaces
4160         js-font-lock-syntactic-keywords.
4161         (js-mode): Use it.
4163         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4164         replaces gdb-script-font-lock-syntactic-keywords.
4165         (gdb-script-mode): Use it.
4167         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4168         (fortran--font-lock-syntactic-keywords): New var.
4169         (fortran-line-length): Update syntax-propertize-function and
4170         fortran--font-lock-syntactic-keywords.
4172         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4174         * progmodes/cfengine.el (cfengine-mode):
4175         Use syntax-propertize-function.
4176         (cfengine-font-lock-syntactic-keywords): Remove.
4178         * progmodes/autoconf.el (autoconf-mode):
4179         Use syntax-propertize-function.
4180         (autoconf-font-lock-syntactic-keywords): Remove.
4182         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4183         (ada-after-change-function, ada-initialize-syntax-table-properties)
4184         (ada-handle-syntax-table-properties): Only define when
4185         syntax-propertize is not available.
4186         (ada-mode): Use syntax-propertize-function.
4188         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4189         (font-lock-fontify-syntactic-keywords-region): Move handling of
4190         font-lock-syntactically-fontified to...
4191         (font-lock-default-fontify-region): ...here.
4192         Let syntax-propertize-function take precedence.
4193         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4195         * emacs-lisp/syntax.el (syntax-propertize-function)
4196         (syntax-propertize-chunk-size, syntax-propertize--done)
4197         (syntax-propertize-extend-region-functions): New vars.
4198         (syntax-propertize-wholelines, syntax-propertize-multiline)
4199         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4200         (syntax-propertize): New functions.
4201         (syntax-propertize-rules): New macro.
4202         (syntax-ppss-flush-cache): Set syntax-propertize--done.
4203         (syntax-ppss): Call syntax-propertize.
4205         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4207 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
4209         * textmodes/ispell.el (ispell-init-process): Improve comments.
4210         XEmacs compatibility changes regarding (add-hook) 'local option
4211         and (set-process-query-on-exit-flag).
4213 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
4215         * net/tramp-cache.el (tramp-parse-connection-properties):
4216         Set tramp-autoload cookie.
4218 2010-09-09  Glenn Morris  <rgm@gnu.org>
4220         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4221         (imagemagick-register-types): Doc fix.
4223 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4225         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4227         * progmodes/js.el (require): Require is already "eval-and-compile".
4228         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
4229         (js--re-search-backward): Use js--re-search-forward.
4231         * progmodes/fortran.el (fortran-line-length): Don't recompute
4232         syntactic keywords redundantly a second time.
4234         * progmodes/ada-mode.el: Replace "(set '" with setq.
4235         (ada-mode): Simplify.
4236         (ada-create-case-exception, ada-adjust-case-interactive)
4237         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4238         (ada-search-ignore-string-comment, ada-move-to-start)
4239         (ada-move-to-end): Use with-syntax-table.
4241         * font-lock.el (save-buffer-state): Remove `varlist' arg.
4242         (font-lock-unfontify-region, font-lock-default-fontify-region):
4243         Update usage correspondingly.
4244         (font-lock-fontify-syntactic-keywords-region):
4245         Set parse-sexp-lookup-properties buffer-locally here.
4246         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4248         * simple.el (blink-matching-open): Don't burp if we can't find a match.
4250 2010-09-08  Glenn Morris  <rgm@gnu.org>
4252         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4253         Error if not compiled with -DBYTE_CODE_METER.
4255         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4256         Ignore dir-locals-file.
4258 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4260         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4261         Not a const.
4262         (compilation-error-regexp-alist-alist): Rule out ": " in file names
4263         for the `gnu' messages.
4264         (compilation-set-skip-threshold): New command.
4265         (compilation-start): Use \' rather than $.
4266         (compilation-forget-errors): Use clrhash.
4268 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
4270         * textmodes/ispell.el (ispell-valid-dictionary-list):
4271         Simplify logic.
4273 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
4275         Migrate to Tramp 2.2.  Rearrange load dependencies.
4276         (Bug#1529, Bug#5448, Bug#5705)
4278         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4279         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4280         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4282         * net/tramp.el (top): Remove all other tramp-* loads except
4283         tramp-compat.el.  Remove all changes to tramp-unload-hook for
4284         other tramp-* packages.  Rearrange defun order.  Change calls of
4285         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4286         `tramp-compat-octal-to-decimal' to new function names.
4287         (tramp-terminal-type, tramp-initial-end-of-output)
4288         (tramp-methods, tramp-foreign-file-name-handler-alist)
4289         (tramp-tramp-file-p, tramp-completion-mode-p)
4290         (tramp-send-command-and-check, tramp-get-remote-path)
4291         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4292         (tramp-shell-quote-argument): Set tramp-autoload cookie.
4293         (with-file-property, with-connection-property): Move to
4294         tramp-cache.el.
4295         (tramp-local-call-process, tramp-decimal-to-octal)
4296         (tramp-octal-to-decimal): Move to tramp-compat.el.
4297         (tramp-handle-shell-command): Do not require 'shell.
4298         (tramp-compute-multi-hops): No special handling for tramp-gw-*
4299         symbols.
4300         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4302         * net/tramp-cache.el (top): Require 'tramp.  Add to
4303         `tramp-unload-hook'.
4304         (tramp-cache-data, tramp-get-file-property)
4305         (tramp-set-file-property, tramp-flush-file-property)
4306         (tramp-flush-directory-property, tramp-get-connection-property)
4307         (tramp-set-connection-property, tramp-flush-connection-property)
4308         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4309         cookie.
4310         (with-file-property, with-connection-property): New defuns, moved
4311         from tramp.el.
4312         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4313         macro.
4315         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4316         (tramp-version): Set tramp-autoload cookie.
4318         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
4319         changes to tramp-unload-hook for other tramp-* packages.  Add to
4320         `tramp-unload-hook'.
4321         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4322         (tramp-compat-call-process): New defuns, moved from tramp.el.
4324         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
4325         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4326         Add to `tramp-unload-hook'.  Change call of
4327         `tramp-compat-decimal-to-octal' to new function name.
4328         (tramp-fish-method): Make it a defconst.
4329         (tramp-fish-file-name-p): Make it a defsubst.
4330         (tramp-fish-method, tramp-fish-file-name-handler)
4331         (tramp-fish-file-name-p): Set tramp-autoload cookie.
4333         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4334         `tramp-foreign-file-name-handler-alist'.  Add to
4335         `tramp-unload-hook'.
4336         (tramp-ftp-method): Make it a defconst.
4337         (tramp-ftp-file-name-p): Make it a defsubst.
4338         (tramp-ftp-method, tramp-ftp-file-name-handler)
4339         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4341         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4342         `tramp-foreign-file-name-handler-alist'.  Add to
4343         `tramp-unload-hook'.  Change checks, whether package can be
4344         loaded.
4345         (tramp-gvfs-file-name-p): Make it a defsubst.
4346         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4347         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4348         (tramp-gvfs-handle-file-directory-p): New defun.
4349         (tramp-gvfs-file-name-handler-alist): Use it.
4351         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4352         `tramp-foreign-file-name-handler-alist'.  Add to
4353         `tramp-unload-hook'.
4354         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4355         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4356         defconst.
4357         (tramp-gw-tunnel-method, tramp-gw-socks-method)
4358         (tramp-gw-open-connection): Set tramp-autoload cookie.
4360         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
4361         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4362         Add to `tramp-unload-hook'.  Change checks, whether package can be
4363         loaded.
4364         (tramp-imap-file-name-p): Make it a defsubst.
4365         (tramp-imap-method, tramp-imaps-method)
4366         (tramp-imap-file-name-handler)
4367         (tramp-imap-file-name-p): Set tramp-autoload cookie.
4369         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
4370         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4371         Add to `tramp-unload-hook'.  Change checks, whether package can be
4372         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
4373         function name.
4374         (tramp-smb-tunnel-method): Make it a defconst.
4375         (tramp-smb-file-name-p): Make it a defsubst.
4376         (tramp-smb-method, tramp-smb-file-name-handler)
4377         (tramp-smb-file-name-p): Set tramp-autoload cookie.
4379         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4380         (tramp-uuencode-region): Set tramp-autoload cookie.
4382         * net/trampver.el (top) Add to `tramp-unload-hook'.
4383         (tramp-version, tramp-bug-report-address): Set tramp-autoload
4384         cookie.  Update release number.
4386 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
4388         * textmodes/ispell.el (ispell-start-process): Make sure original
4389         arg list is properly initialized (Bug#6993, Bug#6994).
4391 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4393         * files.el (directory-abbrev-alist): Use \` as default regexp.
4395         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4396         chars like - or ] (bug#6984).
4397         (rx-any-condense-range): Explode 2-char ranges.
4399 2010-09-06  Glenn Morris  <rgm@gnu.org>
4401         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4403 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4405         * textmodes/bibtex.el:
4406         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4408 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4410         * net/imap.el (imap-message-map): Remove optional buffer parameter,
4411         since no callers use it.
4412         (imap-message-get): Ditto.
4413         (imap-message-put): Ditto.
4414         (imap-mailbox-map): Ditto.
4415         (imap-mailbox-put): Ditto.
4416         (imap-mailbox-get): Ditto.
4417         (imap-mailbox-get): Revert last change for this function.
4419 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4421         * net/imap.el (imap-fetch-safe): Remove function, and alter all
4422         callers to use `imap-fetch' instead.  According to the comments, this
4423         should be safe, since all other IMAP clients use the 1:* syntax.
4424         (imap-enable-exchange-bug-workaround): Remove.
4425         (imap-debug): Remove -- doesn't seem very useful.
4427 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4429         * net/imap.el (imap-log): New convenience function used throughout
4430         instead of repeating the same code all over the place.
4432 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
4434         * mouse.el (mouse-save-then-kill): Save region to kill-ring
4435         when mouse-drag-copy-region is non-nil (Bug#6956).
4437 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
4439         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4440         Improve regexps (Bug#6987).
4441         (dired-sort-toggle): Search more robustly for -t flag.
4443         * files.el (get-free-disk-space): Search more robustly for
4444         "available" column.  Suggested by Ehud Karni
4445         <ehud@unix.mvs.co.il>.
4447 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
4449         * international/uni-bidi.el:
4450         * international/uni-category.el:
4451         * international/uni-combining.el:
4452         * international/uni-decimal.el:
4453         * international/uni-mirrored.el:
4454         * international/uni-name.el: Regenerate.
4456 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4458         * electric.el (electric-indent-post-self-insert-function):
4459         Don't reindent with a sloppy indentation function.
4461         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4462         border case in change-log-mode.
4464 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
4466         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4467         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4468         Recognize leading tab in gcc-include regexp.  Ignore names with
4469         leading "from" or "in" in gnu regexp (Bug#6937).
4471 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4473         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4474         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4475         (ispell-start-process): Avoid setq and simplify logic.
4476         (ispell-init-process): Setup kill-buffer-hook locally when needed.
4477         (kill-buffer-hook): Don't use it globally with code that uses
4478         expand-file-name since that may call kill-buffer via
4479         code_conversion_restore.
4481 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
4483         * emacs-lisp/package.el (package-directory-list): Only call
4484         file-name-nondirectory on a string.
4486 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4488         * emacs-lisp/package.el (package--download-one-archive):
4489         Ensure that archive-contents is valid before saving it.
4490         (package-activate-1, package-mark-obsolete, define-package)
4491         (package-compute-transaction, package-list-maybe-add): Use push.
4493 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4495         Use SMIE's blink-paren for octave-mode.
4496         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4497         Backslashes do not escape single-quotes, single-quotes do.
4498         (octave-block-else-regexp, octave-block-end-regexp)
4499         (octave-block-match-alist): Remove.
4500         (octave-smie-bnf-table): New var, with old content.
4501         (octave-smie-op-levels): Use it.
4502         (octave-smie-closer-alist): New var.
4503         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
4504         (octave-blink-matching-block-open): Remove.
4505         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4506         (octave-electric-space): Let self-insert-command run expand-abbrev and
4507         blink parens.
4509         * electric.el (electricity): New group.
4510         (electric-indent-chars): New var.
4511         (electric-indent-post-self-insert-function): New fun.
4512         (electric-indent-mode): New minor mode.
4513         (electric-pair-skip-self): New custom.
4514         (electric-pair-post-self-insert-function): New function.
4515         (electric-pair-mode): New minor mode.
4517         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4518         calcAlg-blink-matching-open.
4519         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4520         (calc-do-alg-entry): Only touch the part of the keymap that varies.
4521         Use the new blink-matching-check-function.
4523         Provide blink-matching support to SMIE.
4524         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4525         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4526         (smie-blink-matching-check, smie-blink-matching-open): New functions.
4528         * simple.el (newline): Fix last change to properly remove itself from
4529         the hook.
4531 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4533         * simple.el (newline): Eliminate optimization.
4534         Use post-self-insert-hook to set hard-newline and things before
4535         running post-self-insert-hook.
4536         (blink-matching-check-mismatch): New function.
4537         (blink-matching-check-function): New variable.
4538         (blink-matching-open): Use them.
4539         Skip back forward over prefix chars skipped by forward-sexp.
4540         Don't check if the parens are backslash escaped.
4541         (blink-paren-post-self-insert-function): Check backslash escaping here.
4543 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4545         * emacs-lisp/package.el (package-menu-mode-map):
4546         Change package-menu-revert bindings to revert-buffer.
4547         (package-menu-mode): Set revert-buffer-function.
4548         (package-menu-revert): Doc fix.
4550 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
4552         * textmodes/ispell.el (ispell-init-process): Use "~/" as
4553         `default-directory' unless using Ispell per-directory personal
4554         dictionaries and not in a mini-buffer under XEmacs.
4555         (kill-buffer-hook): Do not kill ispell process on exit when
4556         `ispell-process-directory' is "~/".  (Bug#6143)
4558 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
4560         * simple.el (kill-new): Call interprogram-cut-function with only
4561         one argument.
4563         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4564         Remove cut buffer from error message.
4566         * term/x-win.el (x-select-text):
4567         * term/pc-win.el (x-selection-value):
4568         * term/ns-win.el (x-selection-value):
4569         * eshell/em-term.el:
4570         * w32-fns.el (x-get-selection-value):
4571         * mouse-sel.el (mouse-sel-set-selection-function):
4572         * frame.el (display-selections-p): Remove cut-buffer in documentation.
4574         * term/x-win.el: Update documentation for x-last-selected-text-*.
4575         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4576         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4577         (x-select-text): Remove argument PUSH, update documentation.
4578         Remove cut-buffer code.
4579         (x-selection-value-internal): Was previously x-selection-value.
4580         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4581         Update documentation, remove cut-buffer code.
4582         Call x-selection-value-internal.
4583         (x-clipboard-yank): Call x-selection-value-internal.
4584         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4586         * term/pc-win.el (x-last-selected-text):
4587         x-cut-buffer-or-selection-value renamed to x-selection-value
4588         (x-select-text): Remove argument PUSH, update documentation.
4590         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4591         x-cut-buffer-or-selection-value renamed to x-selection-value
4592         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4593         (x-select-text): Remove argument PUSH, update documentation.
4595         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4597         * w32-fns.el (x-last-selected-text):
4598         x-cut-buffer-or-selection-value renamed to x-selection-value.
4599         (x-cut-buffer-max): Remove.
4600         (x-select-text): Remove argument PUSH, update documentation.
4602         * simple.el (interprogram-cut-function): Remove mention of PUSH.
4604         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4606         * mouse-sel.el (mouse-sel-get-selection-function):
4607         x-cut-buffer-or-selection-value renamed to x-selection-value.
4608         (x-select-text): Remove optional push.
4610 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4612         * simple.el (blink-paren-function): Move from C to here.
4613         (blink-paren-post-self-insert-function): New function.
4614         (post-self-insert-hook): Use it.
4616         * emacs-lisp/pcase.el (pcase-split-memq):
4617         Fix overenthusiastic optimisation.
4618         (pcase-u1): Handle the case of a lambda pred.
4620 2010-08-31  Kenichi Handa  <handa@m17n.org>
4622         * international/mule-cmds.el (standard-display-european-internal):
4623         Setup standard-display-table for 8-bit characters by storing 8-bit
4624         characters in the element vector.
4626         * disp-table.el (standard-display-8bit):
4627         Setup standard-display-table for 8-bit characters by storing 8-bit
4628         characters in the element vector.
4629         (standard-display-european): Likewise.
4631 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
4633         * textmodes/nroff-mode.el (nroff-view): New command.
4634         (nroff-mode-map): Bind it to C-c C-c.
4636 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4638         * emacs-lisp/smie.el (smie-down-list): New command.
4640         Remove old indentation and navigation code on octave-mode.
4641         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4642         smie-down-list rather than add a binding for octave-down-block.
4643         (octave-mark-block, octave-blink-matching-block-open):
4644         Rely on forward-sexp-function.
4645         (octave-fill-paragraph): Don't narrow, so you can use
4646         indent-according-to-mode.
4647         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4648         (octave-in-block-p, octave-re-search-forward-kw)
4649         (octave-re-search-backward-kw, octave-indent-calculate)
4650         (octave-end-as-array-index-p, octave-block-end-offset)
4651         (octave-scan-blocks, octave-forward-block, octave-backward-block)
4652         (octave-down-block, octave-backward-up-block, octave-up-block)
4653         (octave-before-magic-comment-p, octave-indent-line): Remove.
4655 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
4657         * emacs-lisp/package.el (package--read-archive-file): Just use
4658         `read', to avoid copying an additional string.
4659         (package-menu-mode): Set header-line-format here.
4660         (package-menu-refresh, package-menu-revert): Signal an error if
4661         not in the Package Menu.
4662         (package-menu-package-list): New var.
4663         (package--generate-package-list): Operate on the current buffer;
4664         don't assume that it is *Packages*, since the user may rename it.
4665         Allow persistent package listings and sort keys using
4666         package-menu-package-list and package-menu-package-sort-key.
4667         (package-menu--version-predicate): Fix version calculation.
4668         (package-menu-sort-by-column): Don't select the window.
4669         (package--list-packages): Create the *Packages* buffer.
4670         Set package-menu-package-list-key.
4671         (list-packages): Sorting by status is now the default.
4672         (package-buffer-info): Use match-string-no-properties.
4673         (define-package): Add a &rest argument for future proofing, but
4674         don't use it yet.
4675         (package-install-from-buffer, package-install-buffer-internal):
4676         Merge into a single function, package-install-from-buffer.
4677         (package-install-file): Change caller.
4679         * finder.el: Load finder-inf using `require'.
4680         (finder-list-matches): Sorting by status is now the default.
4681         (finder-compile-keywords): Simpify printing.
4683 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4685         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4686         (octave-mode-map): Remove special bindings for forward/backward-block
4687         and octave-backward-up-block.  Use smie-close-block.
4688         (octave-continuation-marker-regexp): New var.
4689         (octave-continuation-regexp): Use it.
4690         (octave-operator-table, octave-smie-op-levels)
4691         (octave-operator-regexp, octave-smie-indent-rules): New vars.
4692         (octave-smie-backward-token, octave-smie-forward-token): New funs.
4693         (octave-mode): Use SMIE.
4694         (octave-close-block): Delete.
4696 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
4698         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4699         CLIPBOARD, not in PRIMARY.  (Bug#6944)
4701 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4703         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4704         a list of parents.
4705         (smie-indent-column): Allow indirection through variables.
4707         * composite.el (save-buffer-state): Delete, unused.
4708         * font-lock.el (save-buffer-state): Use with-silent-modifications.
4709         (font-lock-default-fontify-region): Use with-syntax-table.
4710         * jit-lock.el (with-buffer-unmodified): Remove.
4711         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4713         Use `declare' in defmacros.
4714         * window.el (save-selected-window):
4715         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4716         * progmodes/python.el (def-python-skeleton):
4717         * net/dbus.el (dbus-ignore-errors):
4718         * jka-cmpr-hook.el (with-auto-compression-mode):
4719         * international/mule.el (with-category-table):
4720         * emacs-lisp/timer.el (with-timeout):
4721         * emacs-lisp/lisp-mnt.el (lm-with-file):
4722         * emacs-lisp/eieio.el (with-slots):
4723         * emacs-lisp/easymenu.el (easy-menu-define):
4724         * emacs-lisp/debug.el (debugger-env-macro):
4725         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4726         (Multiple-value-call, Multiple-value-prog1):
4727         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4728         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4729         edebug rule to definition.
4730         * emacs-lisp/lisp-mode.el (save-selected-window)
4731         (with-current-buffer, combine-after-change-calls)
4732         (with-output-to-string, with-temp-file, with-temp-buffer)
4733         (with-temp-message, with-syntax-table, read-if, eval-after-load)
4734         (dolist, dotimes, when, unless):
4735         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4737 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4739         * finder.el: Require `package'.
4740         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
4741         (finder-package-info): Var deleted.
4742         (finder-keywords-hash, finder--builtins-alist): New vars.
4743         (finder-compile-keywords): Compute package--builtins and
4744         finder-keywords-hash instead of finder-keywords-hash, respecting
4745         the "Package" header.
4746         (finder-unknown-keywords, finder-list-matches):
4747         Use finder-keywords-hash and package--list-packages.
4748         (finder-mode): Don't set font-lock-defaults.
4749         (finder-exit): We don't use "*Finder-package*" and "*Finder
4750         Category*" buffers anymore.
4752         * emacs-lisp/package.el (package--builtins-base): Var deleted.
4753         (package--builtins): Set default value to nil.
4754         (package-initialize): Load precomputed value of package--builtins
4755         from finder-inf.el.
4756         (package-alist, package-compute-transaction)
4757         (package-download-transaction): Improve docstring.
4758         (package-read-all-archive-contents): Do not change
4759         package--builtins here.
4760         (list-packages): Make package-list-packages an alias for this.
4761         Sort by status by default.
4762         (package--list-packages): Add optional PACKAGES arg.
4763         (describe-package-1): Use font-lock-face property.  For built-in
4764         packages, insert file commentary.
4765         (package--generate-package-list): Rename from
4766         package-list-packages-internal; all callers changed.  Add optional
4767         PACKAGES arg.  Add alphabetical sort fallbacks.
4768         (package-menu--version-predicate, package-menu--status-predicate)
4769         (package-menu--description-predicate)
4770         (package-menu--name-predicate): New functions.
4772         * info.el (Info-finder-find-node): Search package-alist instead of
4773         finder-package-info.
4775 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4777         * subr.el (version-regexp-alist): Don't use "a" and "b" for
4778         "alpha" and "beta".
4779         (version-to-list): Handle versions like "10.3d".
4781 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4783         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4784         (macroexp-accumulate): Use `declare'.
4786 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4788         * whitespace.el (whitespace-style): Adjust type declaration.
4790 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
4792         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4793         empty argument to gvfs-copy.
4795 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4797         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4798         handle new TRASH arg of `delete-file'.
4800 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4802         * net/tramp.el (tramp-handle-insert-directory): Don't use
4803         `forward-word', its default syntax could be changed.
4805 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
4806             Michael Albinus  <michael.albinus@gmx.de>
4808         Implement compression for inline methods.
4810         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4811         (tramp-copy-size-limit): Allow also nil.
4812         (tramp-inline-compress-commands): New defconst.
4813         (tramp-find-inline-compress, tramp-get-inline-compress)
4814         (tramp-get-inline-coding): New defuns.
4815         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4816         replaced by `tramp-get-inline-coding'.
4817         (tramp-handle-file-local-copy, tramp-handle-write-region)
4818         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4820 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
4822         Detect ssh 'ControlMaster' argument automatically in some cases.
4824         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4825         (tramp-default-method): Use it.
4827 2010-08-26  Karel Klíč  <kklic@redhat.com>
4829         * net/tramp.el (tramp-file-name-for-operation):
4830         Add file-selinux-context.
4832 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
4834         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4836 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4838         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4839         (Bug#6907).
4841 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
4843         * progmodes/js.el: Make indentation more customizable (Bug#6914).
4844         (js-paren-indent-offset, js-square-indent-offset)
4845         (js-curly-indent-offset): New options.
4846         (js--proper-indentation): Use them.
4848 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
4850         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4851         instead of inspecting font-lock properties (Bug#6916).
4853 2010-08-26  David Reitter  <david.reitter@gmail.com>
4855         * server.el (server-visit-files): Run pre-command-hook and
4856         post-command-hook for each buffer while it is current (Bug#6910).
4857         (server-execute): Do not run hooks here.
4859 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
4861         Sync with Tramp 2.1.19.
4863         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4864         (tramp-reporter-dump-variable, tramp-load-report-modules)
4865         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4866         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4868         * net/tramp-compat.el (top): Do not autoload
4869         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
4870         only when `start-file-process' is not bound.
4871         (byte-compile-not-obsolete-vars): Define if not bound.
4872         (tramp-compat-funcall): New defmacro.
4873         (tramp-compat-line-beginning-position)
4874         (tramp-compat-line-end-position)
4875         (tramp-compat-temporary-file-directory)
4876         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4877         (tramp-compat-copy-file, tramp-compat-copy-directory)
4878         (tramp-compat-delete-file, tramp-compat-delete-directory)
4879         (tramp-compat-number-sequence, tramp-compat-process-running-p):
4880         Use it.
4881         (tramp-advice-file-expand-wildcards): Do not use
4882         `tramp-handle-file-remote-p'.
4883         (tramp-compat-make-temp-file): Simplify fallback implementation.
4884         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4885         (tramp-compat-copy-tree): Remove function.
4886         (tramp-compat-delete-file): New defun.
4887         (tramp-compat-delete-directory): Provide implementation for older
4888         Emacsen.
4889         (tramp-compat-file-attributes): Handle only
4890         `wrong-number-of-arguments' error.
4892         * net/tramp-fish.el (tramp-fish-handle-copy-file):
4893         Add PRESERVE_SELINUX_CONTEXT.
4894         (tramp-fish-handle-delete-file): Add TRASH arg.
4895         (tramp-fish-handle-directory-files-and-attributes):
4896         Do not use `tramp-fish-handle-file-attributes.
4897         (tramp-fish-handle-file-local-copy)
4898         (tramp-fish-handle-insert-file-contents)
4899         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4901         * net/tramp-gvfs.el (top): Require url-util.
4902         (tramp-gvfs-mount-point): Remove.
4903         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4904         and `set-file-selinux-context'.
4905         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4906         (tramp-gvfs-handle-file-selinux-context)
4907         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4908         (with-tramp-dbus-call-method): Format trace message.
4909         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4910         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4911         Implement backup call, when operation on local files fails.
4912         Use progress reporter.  Flush properties of changed files.
4913         (tramp-gvfs-handle-delete-file): Add TRASH arg.
4914         Use `tramp-compat-delete-file'.
4915         (tramp-gvfs-handle-expand-file-name): Expand "~/".
4916         (tramp-gvfs-handle-make-directory): Make more traces.
4917         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4918         (tramp-gvfs-url-file-name): Hexify file name in url.
4919         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4920         into account for the resulting file name.
4921         (tramp-gvfs-handler-askquestion): Preserve current message, in
4922         order to let progress reporter continue afterwards.  (Bug#6257)
4923         Return dummy mountpoint, when the answer is "no".
4924         See `tramp-gvfs-maybe-open-connection'.
4925         (tramp-gvfs-handler-mounted-unmounted)
4926         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4927         attribute "default_location".  Set "prefix" property.
4928         Handle default-location.
4929         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4930         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4931         exists.  Raise an error, if not (due to a corresponding answer
4932         "no" in interactive questions, for example).
4933         Use `tramp-compat-funcall'.
4935         * net/tramp-imap.el (top): Autoload `epg-make-context'.
4936         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4937         (tramp-imap-do-copy-or-rename-file)
4938         (tramp-imap-handle-insert-file-contents)
4939         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4940         (tramp-imap-handle-delete-file): Add TRASH arg.
4942         * net/tramp-smb.el (tramp-smb-handle-copy-file):
4943         Add PRESERVE-SELINUX-CONTEXT.
4944         (tramp-smb-handle-copy-file)
4945         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4946         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4947         Use `with-progress-reporter'.
4948         (tramp-smb-handle-delete-file): Add TRASH arg.
4950         * net/tramp.el (tramp-methods): Move hostname to the end in all
4951         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
4952         appropriate.
4953         (tramp-verbose): Describe verbose level 9.
4954         (tramp-completion-function-alist)
4955         (tramp-file-name-regexp, tramp-chunksize)
4956         (tramp-local-coding-commands, tramp-remote-coding-commands)
4957         (with-connection-property, tramp-completion-mode-p)
4958         (tramp-action-process-alive, tramp-action-out-of-band)
4959         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4960         (tramp-exists-file-name-handler): Fix docstring.
4961         (tramp-remote-process-environment): Use `format' instead of
4962         `concat'.  Protect version string by apostroph.
4963         (tramp-shell-prompt-pattern): Do not use a shy group in case of
4964         XEmacs.
4965         (tramp-file-name-regexp-unified)
4966         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4967         not regard the volume letter as remote filename.  (Bug#5447)
4968         (tramp-perl-file-attributes)
4969         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4970         (tramp-vc-registered-read-file-names): Read input as
4971         here-document, otherwise the command could exceed maximum length
4972         of command line.
4973         (tramp-file-name-handler-alist): Add `file-selinux-context' and
4974         `set-file-selinux-context'.
4975         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4976         backtrace functions.
4977         (tramp-error-with-buffer): Don't show the connection buffer when
4978         we are in completion mode.
4979         (tramp-progress-reporter-update, tramp-remote-selinux-p)
4980         (tramp-handle-file-selinux-context)
4981         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4982         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4983         New defuns.
4984         (with-progress-reporter): New defmacro.
4985         (tramp-debug-outline-regexp): New defconst.
4986         (top, tramp-rfn-eshadow-setup-minibuffer)
4987         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4988         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4989         (tramp-completion-mode-p, tramp-check-for-regexp)
4990         (tramp-open-connection-setup-interactive-shell)
4991         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4992         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4993         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4994         Use `tramp-compat-funcall'.
4995         (tramp-handle-make-symbolic-link): Flush file properties.
4996         (tramp-handle-load, tramp-handle-file-local-copy)
4997         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4998         (tramp-handle-vc-registered, tramp-maybe-send-script)
4999         (tramp-find-shell): Use `with-progress-reporter'.
5000         (tramp-do-file-attributes-with-stat): Add space in format string,
5001         in order to work around a bug in pdksh.  Reported by Gilles Pion
5002         <gpion@lfdj.com>.
5003         (tramp-handle-verify-visited-file-modtime): Do not send a command
5004         when the connection is not established.
5005         (tramp-handle-set-file-times): Simplify the check for utc.
5006         (tramp-handle-directory-files-and-attributes)
5007         (tramp-get-remote-path): Use `copy-tree'.
5008         (tramp-completion-handle-file-name-all-completions): Ensure, that
5009         non remote files are still checked.  Oops.
5010         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5011         Handle PRESERVE-SELINUX-CONTEXT.
5012         (tramp-do-copy-or-rename-file): Add progress reporter.
5013         (tramp-do-copy-or-rename-file-directly): Do not use
5014         `tramp-handle-file-remote-p'.
5015         (tramp-do-copy-or-rename-file-out-of-band):
5016         Use `tramp-compat-delete-directory'.
5017         (tramp-do-copy-or-rename-file-out-of-band)
5018         (tramp-compute-multi-hops, tramp-maybe-open-connection):
5019         Use `format-spec-make'.
5020         (tramp-handle-delete-file): Add TRASH arg.
5021         (tramp-handle-dired-uncache): Flush directory cache, not only file
5022         cache.
5023         (tramp-handle-expand-file-name)
5024         (tramp-completion-handle-file-name-all-completions)
5025         (tramp-completion-handle-file-name-completion):
5026         Use `tramp-connectable-p'.
5027         (tramp-handle-start-file-process): Set connection property "vec".
5028         Use it, in order to invalidate file caches.  Check only for
5029         `remote-tty' process property.
5030         Implement tty setting.  (Bug#4604, Bug#6360)
5031         (tramp-file-name-for-operation): Add `call-process-region' and
5032         `set-file-selinux-context'.
5033         (tramp-find-foreign-file-name-handler)
5034         (tramp-advice-make-auto-save-file-name)
5035         (tramp-set-auto-save-file-modes): Remove superfluous check for
5036         `stringp'.  This is done inside `tramp-tramp-file-p'.
5037         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
5038         operations when we are in completion mode.  This gives the user
5039         the chance to correct the file name in the minibuffer.
5040         (tramp-completion-mode-p): Use `non-essential'.
5041         (tramp-handle-file-name-all-completions): Backward/ XEmacs
5042         compatibility: Use `completion-ignore-case' if
5043         `read-file-name-completion-ignore-case' does not exist.
5044         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5045         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5046         `tramp-open-shell'.
5047         (tramp-action-password): Hide password prompt before next run.
5048         (tramp-process-actions): Widen connection buffer for the trace.
5049         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5050         process property.  Trace stty settings if `tramp-verbose' >= 9.
5051         Apply workaround for IRIX64 bug.  Move argument of last
5052         `tramp-send-command' where it belongs to.
5053         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5054         front of `login-args'.
5055         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5056         on "/dev/null" instead of "/".
5057         (tramp-get-ls-command-with-dired): Make test for "--dired"
5058         stronger.
5059         (tramp-set-auto-save-file-modes): Adapt version check.
5060         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5061         (tramp-handle-process-file): Call the program in a subshell, in
5062         order to preserve working directory.
5063         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5064         `tramp-remote-sh' from `tramp-methods'.
5065         (tramp-get-ls-command): Make test for "--color=never" stronger.
5066         (tramp-check-for-regexp): Use (forward-line 1).
5068         * net/trampver.el: Update release number.
5070 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5072         * help.el (help-map): Bind `C-h P' to describe-package.
5074         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5076         * emacs-lisp/package.el (package-refresh-contents): Catch errors
5077         when downloading archives.
5078         (describe-package-1): Add package commentary.
5079         (package-install-button-action): New function.
5080         (package-menu-mode-map): Bind ? to package-menu-describe-package.
5081         (package-menu-view-commentary): Function removed.
5082         (package-list-packages-internal): Hide the `package' package too.
5084 2010-08-25  Kenichi Handa  <handa@m17n.org>
5086         * language/misc-lang.el ("Arabic"): New language environment.
5087         Setup composition-function-table for Arabic characters.
5089         * international/fontset.el (setup-default-fontset): Fix typo for
5090         arabic OTF spec (fini->fina).
5092 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
5094         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5095         on all frames.
5097 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5099         * whitespace.el: Allow cleaning up blanks without blank
5100         visualization (Bug#6651).  Adjust help window for
5101         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
5102         instead of whitespace-line-column (from EmacsWiki).  New version
5103         13.1.
5104         (whitespace-style): Add new value 'face.  Adjust docstring.
5105         (whitespace-space, whitespace-hspace, whitespace-tab):
5106         Adjust foreground property face.
5107         (whitespace-line-column): Adjust docstring and type declaration.
5108         (whitespace-style-value-list, whitespace-toggle-option-alist)
5109         (whitespace-help-text): Adjust const initialization.
5110         (whitespace-toggle-options, global-whitespace-toggle-options):
5111         Adjust docstring.
5112         (whitespace-display-window, whitespace-interactive-char)
5113         (whitespace-style-face-p, whitespace-color-on): Adjust code.
5114         (whitespace-help-scroll): New fun.
5116 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5118         * emacs-lisp/package.el (list-packages): Alias for
5119         package-list-packages.
5121 2010-08-24  Kevin Ryde  <user42@zip.com.au>
5123         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5124         (Bug#5651).
5126         * progmodes/ruby-mode.el (ruby): Add defgroup.
5128 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5130         * progmodes/python.el: Add Ipython support (Bug#5390).
5131         (python-shell-prompt-alist)
5132         (python-shell-continuation-prompt-alist): New options.
5133         (python--set-prompt-regexp): New function.
5134         (inferior-python-mode, run-python, python-shell):
5135         Require ansi-color.  Use python--set-prompt-regexp to set the comint
5136         prompt based on the Python interpreter.
5137         (python--prompt-regexp): New var.
5138         (python-check-comint-prompt)
5139         (python-comint-output-filter-function): Use it.
5140         (run-python): Use a pipe (Bug#5694).
5142 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
5144         * progmodes/python.el (python-send-region): Send a different
5145         Python command if Ipython is in use.
5146         (python-check-version): Use a Python command to find the version.
5148 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5150         * mouse.el (mouse-yank-primary): Avoid setting primary when
5151         deactivating the mark (Bug#6872).
5153 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
5155         * progmodes/python.el (python-block-pairs): Allow use of "finally"
5156         with "else" (Bug#3991).
5158 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
5160         * net/dbus.el: Accept UNIX domain sockets as bus address.
5161         (top): Don't initialize `dbus-registered-objects-table' anymore,
5162         this is done in dbusbind,c.
5163         (dbus-check-event): Adapt test for bus.
5164         (dbus-return-values-table, dbus-unregister-service)
5165         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5166         Adapt doc string.
5168 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
5170         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5172 2010-08-22  Juri Linkov  <juri@jurta.org>
5174         * simple.el (read-extended-command): New function with the logic
5175         for `completing-read' moved to Elisp from `execute-extended-command'.
5176         Use `function-called-at-point' in `minibuffer-default-add-function'
5177         to get a command name for M-n (bug#5364, bug#5214).
5179 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5181         * startup.el (command-line-1): Issue warning for ignored arguments
5182         --unibyte, etc (Bug#6886).
5184 2010-08-22  Leo  <sdl.web@gmail.com>
5186         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5187         (ignore, bright, dim, keyword): Split list of nicknames before
5188         passing to rcirc-add-or-remove (Bug#6894).
5190 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5192         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5194 2010-08-22  Leo  <sdl.web@gmail.com>
5196         Fix buffer-list rename&refresh after killing a buffer in ido.
5197         * ido.el: Revert Óscar's.
5198         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5199         Remember the buffers at head, rather than their name.
5200         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5202 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
5203             Stefan Monnier  <monnier@iro.umontreal.ca>
5205         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5206         extra backslash added to each line (bug#6890).
5208 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5210         * subr.el (read-key): Don't echo keystrokes (bug#6883).
5212 2010-08-22  Glenn Morris  <rgm@gnu.org>
5214         * menu-bar.el (menu-bar-games-menu): Add landmark.
5216 2010-08-22  Glenn Morris  <rgm@gnu.org>
5218         * align.el (align-regexp): Make group and spacing arguments
5219         use the interactive defaults when non-interactive.  (Bug#6698)
5221         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5222         expansion, so as not to need sendmail.
5223         (mail-text-start): Remove declaration.
5224         (rmail-retry-failure): Require sendmail.
5226 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5228         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5230 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
5232         * progmodes/flymake.el (flymake-start-syntax-check-process):
5233         Use `start-file-process' in order to let it run also on remote hosts.
5235 2010-08-22  Kenichi Handa  <handa@m17n.org>
5237         * files.el: Add `word-wrap' as safe local variable.
5239 2010-08-22  Glenn Morris  <rgm@gnu.org>
5241         * woman.el (woman-translate): Case matters.  (Bug#6849)
5243 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5245         * simple.el (kill-region): Doc fix (Bug#6787).
5247 2010-08-22  Glenn Morris  <rgm@gnu.org>
5249         * calendar/diary-lib.el (diary-header-line-format):
5250         Fit it to the window, not the frame.
5252 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
5254         * subr.el (ignore-errors): Add debug declaration.
5256 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
5258         * whitespace.el (whitespace-color-off): Remove post-command-hook
5259         locally.
5261 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5263         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5265 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
5267         * cus-edit.el (custom-group-value-create): Add extra newline
5268         before end line (Bug#6876).
5270 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
5272         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5273         when extending it.  Before killing on the second click, check if
5274         the buffer is the correct one.  Doc fix.
5275         (mouse-secondary-save-then-kill): Allow usage without first
5276         calling mouse-start-secondary, by defaulting to point.  Don't save
5277         an empty secondary selection.  Doc fix.
5279 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5281         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
5282         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5283         New version 13.0.
5284         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5285         Adjust initialization.
5286         (whitespace-bob-marker, whitespace-eob-marker)
5287         (whitespace-buffer-changed): New vars.
5288         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5289         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5290         (whitespace-post-command-hook, whitespace-display-char-on):
5291         Adjust code.
5292         (whitespace-looking-back, whitespace-buffer-changed): New funs.
5293         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5295 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5297         * files.el (locate-file-completion-table): Only list the .el and .elc
5298         extensions if there's no other choice (bug#5955).
5300         * facemenu.el (facemenu-self-insert-data): New var.
5301         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5302         New functions.
5303         (facemenu-add-face): Use them.
5305         * simple.el (blink-matching-open): Obey forward-sexp-function.
5307 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5309         * simple.el (prog-mode-map): New var.
5310         (prog-indent-sexp): New command.
5312         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5314         * progmodes/prolog.el (smie): Require.
5316         * emacs-lisp/smie.el (smie-default-backward-token)
5317         (smie-default-forward-token): Strip properties.
5318         (smie-next-sexp): Be more careful with associative operators.
5319         (smie-forward-sexp-command): Generalize.
5320         (smie-backward-sexp-command): Simplify.
5321         (smie-closer-alist): New var.
5322         (smie-close-block): New command.
5323         (smie-indent-debug-log): New var.
5324         (smie-indent-offset-rule): Add a few more cases.
5325         (smie-indent-column): New function.
5326         (smie-indent-after-keyword): Use it.
5327         (smie-indent-keyword): Use it.
5328         Fix up the opener code's point position.
5329         (smie-indent-comment): Only applies at BOL.
5330         (smie-indent-debug): New command.
5332         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5333         declarations that are useful before running the macro.
5335 2010-08-18  Joakim Verona  <joakim@verona.se>
5337         * image.el (imagemagick-types-inhibit): New variable.
5338         (imagemagick-register-types): New function.
5339         * image-mode.el (image-transform-properties): New function.
5340         (image-transform-set-scale, image-transform-fit-to-height)
5341         (image-transform-set-rotation, image-transform-set-resize)
5342         (image-transform-fit-to-width, image-transform-fit-to-height):
5343         New functions.
5344         (image-toggle-display-image): Support image transforms.
5346 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
5348         * image.el (create-animated-image): Don't add heuristic mask to image
5349         (Bug#6839).
5351 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
5353         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5354         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5356 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5358         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5360         Font-lock '...' strings, plus various simplifications and fixes.
5361         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5362         (octave-font-lock-close-quotes): New function.
5363         (octave-font-lock-syntactic-keywords): New var.
5364         (octave-mode): Use it.  Set beginning-of-defun-function.
5365         (octave-mode-map): Don't override the <foo>-defun commands.
5366         (octave-mode-menu): Pass it directly to easy-menu-define;
5367         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5368         (octave-block-match-alist): Fix up last change so that
5369         octave-close-block uses the more specific keyword.
5370         (info-lookup-mode): Silence byte-compiler.
5371         (octave-beginning-of-defun): Not interactive any more.
5372         Optimize slightly.
5373         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5374         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5375         (octave-completion-at-point-function): Make sure point is within
5376         beg..end.
5377         (octave-reindent-then-newline-and-indent):
5378         Use reindent-then-newline-and-indent.
5379         (octave-add-octave-menu): Remove.
5381 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
5383         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5384         (report-emacs-bug-can-use-xdg-email): New functions.
5385         (report-emacs-bug): Set can-xdg-email to result of
5386         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
5387         \C-cm to report-emacs-bug-insert-to-mailer and add help text
5388         about it.
5390         * net/browse-url.el (browse-url-default-browser): Add cond
5391         for browse-url-xdg-open.
5392         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5394 2010-08-17  Glenn Morris  <rgm@gnu.org>
5396         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5397         (c-fontify-recorded-types-and-refs): Define for compiler.
5398         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5399         before use.
5401         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5402         Fix format call.
5404 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
5406         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5407         properties.
5408         (tramp-handle-process-file): Call the program in a subshell, in
5409         order to preserve working directory.
5410         (tramp-action-password): Hide password prompt before next run.
5411         (tramp-process-actions): Widen connection buffer for the trace.
5413 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5415         * net/rcirc.el (rcirc-log-process-buffers): New option.
5416         (rcirc-print): Use it.
5417         (rcirc-generate-log-filename): New function.
5418         (rcirc-log-filename-function): Change default to
5419         rcirc-generate-log-filename (Bug#6828).
5421 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
5423         * simple.el (deactivate-mark): If select-active-regions is `only',
5424         only set selection for temporarily active regions.
5426         * cus-start.el: Change defcustom for select-active-regions.
5428 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
5430         * mouse.el (mouse--drag-set-mark-and-point): New function.
5431         (mouse-drag-track): Use LOCATION arg to push-mark.
5432         Use mouse--drag-set-mark-and-point to take click-count into
5433         consideration when updating point and mark (Bug#6840).
5435 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
5437         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5438         Give the Ruby rule a lower priority than Gnu (Bug#6778).
5440 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5442         * font-lock.el (lisp-font-lock-keywords-2):
5443         Add combine-after-change-calls, condition-case-no-debug,
5444         with-demoted-errors, and with-silent-modifications (Bug#6025).
5446 2010-08-14  Kevin Ryde  <user42@zip.com.au>
5448         * emacs-lisp/copyright.el (copyright-update-year)
5449         (copyright-update): Temporary switch-to-buffer to ensure the
5450         buffer change being queried is visible (Bug#5394).
5452 2010-08-14  Tom Tromey  <tromey@redhat.com>
5454         * progmodes/etags.el (tags-file-name): Mark safe if stringp
5455         (Bug#6733).
5457 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
5459         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5460         MS-DOS.  (Bug#6689)
5462 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
5464         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5465         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5466         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5467         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5468         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5469         Call menu-bar-set-tool-bar-position.
5471 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5473         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5474         comment style (bug#6834).
5475         * progmodes/scheme.el (scheme-mode-syntax-table):
5476         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5477         "b" flag in "' 14b" syntax.
5479         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5480         for (un)commenting the region and performing completion.
5481         (octave-mode-menu): Use standard commands for help and completion.
5482         (octave-mode-syntax-table): Support %{..%} comments (sort of).
5483         (octave-mode): Use define-derived-mode.
5484         Set completion-at-point-functions and don't set columns.
5485         Don't disable adaptive-fill-regexp.
5486         (octave-describe-major-mode, octave-comment-region)
5487         (octave-uncomment-region, octave-comment-indent)
5488         (octave-indent-for-comment): Remove.
5489         (octave-indent-calculate): Rename from calculate-octave-indent.
5490         (octave-indent-line, octave-fill-paragraph): Update caller.
5491         (octave-initialize-completions): No need to make an alist.
5492         (octave-completion-at-point-function): New function.
5493         (octave-complete-symbol): Use it.
5494         (octave-insert-defun): Use define-skeleton.
5496         * progmodes/octave-mod.el (octave-mode): Set comment-add.
5497         (octave-mode-map): Use comment-dwim (bug#6829).
5499 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
5501         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5502         indentation of inserted comment.
5504 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
5506         * faces.el (region): Add type gtk that uses gtk colors.
5508         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5509         Handle theme-name change.
5511 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
5513         * progmodes/sql.el: Version 2.5
5514         (sql-product-alist): Add :prompt-cont-regexp property for several
5515         database products.
5516         (sql-prompt-cont-regexp): New variable.
5517         (sql-output-newline-count, sql-output-by-send):
5518         New variables.  Record number of newlines in input text.
5519         (sql-send-string): Handle multiple filters and count newlines.
5520         (sql-send-magic-terminator): Count terminator newline.
5521         (sql-interactive-remove-continuation-prompt): Filters output to
5522         remove continuation prompts; one for each newline.
5523         (sql-interactive-mode): Set up new variables, prompt regexp and
5524         output filter.
5525         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5526         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5528 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5530         * emacs-lisp/pcase.el: New file.
5532 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
5534         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5535         as here-document, otherwise the command could exceed maximum
5536         length of command line.
5537         (tramp-handle-vc-registered): Call script accordingly.
5538         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5540 2010-08-10  Kenichi Handa  <handa@m17n.org>
5542         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5543         composable pattern.
5545 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
5547         * emacs-lisp/package.el (package-version-split)
5548         (package--version-first-nonzero, package-version-compare):
5549         Functions removed.
5550         (package-directory-list, package-load-all-descriptors)
5551         (package--built-in, package-activate, define-package)
5552         (package-installed-p, package-compute-transaction)
5553         (package-read-all-archive-contents)
5554         (package--add-to-archive-contents, package-buffer-info)
5555         (package-tar-file-info, package-list-packages-internal):
5556         Use version-to-list and version-list-*.
5558         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5559         Use version-to-list.
5560         (package-upload-buffer-internal): Use version-list-<=.
5562 2010-08-09  Kenichi Handa  <handa@m17n.org>
5564         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5565         composable pattern.
5567 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
5569         * tutorial.el (tutorial--default-keys): C-d is now bound to
5570         delete-forward-char (Bug#6826).
5572         * mouse.el (mouse-drag-track): Remove accidentally-removed check
5573         for `double' value of mouse-1-click-follows-link (Bug#6807).
5575 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
5577         * replace.el (replace-highlight): Bind isearch-forward and
5578         isearch-error, ensuring that highlighting is updated if the user
5579         switches the search direction (Bug#6808).
5581         * isearch.el (isearch-lazy-highlight-forward): New var.
5582         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5583         (isearch-lazy-highlight-update): Use it.
5585 2010-08-08  Kenichi Handa  <handa@m17n.org>
5587         * international/mule.el (define-charset): Store NAME as :base property.
5588         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5589         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5590         current priority.  Force using the designation of the specific
5591         charset by adding `charset' text property.  Improve the whole algorithm.
5593 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5595         * emulation/pc-select.el (pc-selection-mode-hook)
5596         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5597         (pc-selection-mode): Fix typos in docstrings.
5599 2010-08-08  Kenichi Handa  <handa@m17n.org>
5601         * language/cyrillic.el: Don't add "microsoft-cp1251" to
5602         ctext-non-standard-encodings-alist here.
5604         * international/mule.el (ctext-non-standard-encodings-alist):
5605         Add "koi8-r" and "microsoft-cp1251".
5606         (ctext-standard-encodings): New variable.
5607         (ctext-non-standard-encodings-table): List only elements for
5608         non-standard encodings.
5609         (ctext-pre-write-conversion): Adjust for the above change.
5610         Check ctext-standard-encodings.
5612         * international/mule-conf.el (compound-text): Doc fix.
5613         (ctext-no-compositions): Doc fix.
5614         (compound-text-with-extensions): Doc fix.
5616 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5618         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5620 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5622         * progmodes/which-func.el (which-func-format): Split help-echo text
5623         into lines, like other mode-line tooltips.
5625         * server.el (server-start): When using TCP sockets, force IPv4
5626         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
5628 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5630         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5632 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5634         * term.el (term-delimiter-argument-list): Reflow docstring.
5635         (term-read-input-ring, term-write-input-ring, term-send-input)
5636         (term-bol, term-erase-in-display, serial-supported-or-barf):
5637         Fix typos in docstrings.
5639 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5641         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5643 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5645         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5647 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
5649         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5650         Fix typo in docstring (bug#6747).
5652 2010-08-08  Leo  <sdl.web@gmail.com>
5654         * eshell/esh-io.el (eshell-get-target): Better detection of
5655         read-only file (Bug#6762).
5657 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5659         * align.el (align-default-spacing): Doc fix.
5660         (align-region-heuristic, align-regexp): Fix typos in docstrings.
5662 2010-08-08  Stephen Peters  <speters@itasoftware.com>
5664         * calendar/icalendar.el
5665         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
5666         (icalendar--get-weekday-numbers): New.
5667         (icalendar--convert-recurring-to-diary): Handle multiple byday
5668         values in weekly rules.  (Bug#6766)
5670 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
5672         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5673         (icalendar--create-uid, icalendar-export-region)
5674         (icalendar--parse-summary-and-rest): Code formatting.
5676 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
5678         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5679         to italicize headers.
5680         (calc-highlight-selections-with-faces): New variable.
5681         (calc-selected-face, calc-nonselected-face): New faces.
5683         * calc/calccomp.el (math-comp-highlight-string): Use
5684         `calc-highlight-selections-with-faces' to determine how to highlight
5685         sub-formulas.
5687         * calc/calc-sel.el (calc-show-selections): Change message to when
5688         using faces to highlight selections.
5690 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
5692         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5693         Add SQLite 3 keywords, functions and datatypes.
5694         (sql-interactive-mode): Remove `comint-process-echoes' set to t
5695         (Bug#6686).
5697 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
5699         * simple.el (select-active-regions): Move to keyboard.c.
5700         (deactivate-mark): Used saved-region-selection.
5701         (select-active-region): Function removed.
5702         (activate-mark, set-mark, push-mark-command)
5703         (handle-shift-selection): Don't call it.
5704         (keyboard-quit): Avoid adding the region to the window selection.
5706         * mouse.el (mouse-drag-track): Remove hacks to deal with old
5707         select-active-regions implementation.
5708         (mouse-yank-at-click): Doc fix.
5710         * cus-start.el: Add custom declaration for select-active-regions.
5712 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
5714         * simple.el (delete-forward-char): Doc fix.
5716         * tutorial.el (help-with-tutorial): Hack safe file-local variables
5717         after reading the tutorial.
5719 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
5721         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5722         Fix for the case that a C style comment has its delimiters alone on
5723         their respective lines.
5725 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
5727         * net/tramp.el (tramp-handle-start-file-process): Set connection
5728         property "vec".
5729         (tramp-process-sentinel): Use it for flushing the cache.
5730         We cannot do it via the process buffer, the buffer could be deleted
5731         already when running the sentinel.
5733 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
5735         * comint.el (comint-mode): Make directory tracking functions
5736         functional on remote files.  (Bug#6764)
5738 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
5740         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5742 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
5744         * emacs-lisp/find-gc.el (find-gc-source-files):
5745         Rename unexec.c => unexcoff.c.
5747         * emacs-lisp/authors.el (authors-fixed-entries):
5748         Rename unexec.c => unexcoff.c.
5750 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
5752         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5753         cache, not only file cache.
5754         (tramp-process-sentinel): New defun.
5755         (tramp-handle-start-file-process): Use it, in order to invalidate
5756         file caches.
5758 2010-08-03  Leo  <sdl.web@gmail.com>
5760         * server.el (server-start): Simplify loop.
5762 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5764         * frame.el (screen-height, screen-width, set-screen-width)
5765         (set-screen-height): Remove ancient compatibility aliases.
5767         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5768         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
5770         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5771         that change current buffer.
5773 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5775         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5776         beginning of the string.  Use `string-match-p'.  (Bug#6765)
5778 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
5780         * cus-start.el (x-gtk-use-system-tooltips): New variable.
5782 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
5784         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5785         (package--builtins): Tweak descriptions.
5786         (package-print-package): Upcase descriptions if necessary.
5787         Show all built-in packages in font-lock-builtin-face.
5788         (package-list-packages-internal): Omit "emacs" package.
5789         Show status of built-in packages as "built-in".
5791 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
5793         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
5794         before killing to preserve the primary selection (Bug#6701).
5796         * term/x-win.el (x-select-text): Doc fix.
5798 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
5800         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5801         (objc-font-lock-extra-types):
5802         * progmodes/cc-mode.el (c-basic-common-init):
5803         * progmodes/cc-langs.el (c-make-mode-syntax-table)
5804         (c++-make-template-syntax-table)
5805         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5806         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5807         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5808         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5809         * progmodes/cc-fonts.el (c-make-inverse-face)
5810         (c-basic-matchers-after):
5811         * progmodes/cc-engine.el (c-forward-keyword-clause)
5812         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5813         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5814         (c-guess-continued-construct, c-guess-basic-syntax):
5815         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5816         The above functions were modified or created.
5818 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
5820         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5822 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
5824         * files.el (bidi-paragraph-direction): Define safe local values.
5826         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5827         language-info-alist.  Remove outdated FIXME in a comment.
5829 2010-07-31  Alan Mackenzie  <acm@muc.de>
5831         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5832         Auto-fill broken in C/C++ modes.
5834 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
5836         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5837         (menu-bar-showhide-tool-bar-menu-customize-disable)
5838         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5839         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5840         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5841         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5842         make a menu for Options => toolbar that can move it.
5844 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
5846         * emacs-lisp/package-x.el (package--make-rss-entry):
5847         (package-maint-add-news-item, package--update-news)
5848         (package-upload-buffer-internal): New arg ARCHIVE-URL.
5850         * emacs-lisp/package.el (package-archive-url): Rename from
5851         package-archive-id.
5852         (package-install): Doc fix.
5853         (package-download-single, package-download-tar, package-install)
5854         (package-menu-view-commentary): Callers changed.
5856 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
5858         * net/tramp.el (tramp-handle-start-file-process): Check only for
5859         `remote-tty' process property.
5860         (tramp-open-shell): Don't check for tty.
5861         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5862         process property.
5864         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5865         host.
5867 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
5869         * emacs-lisp/package.el (package-load-list, package-archives)
5870         (package-archive-contents, package-user-dir)
5871         (package-directory-list, package--builtins, package-alist)
5872         (package-activated-list, package-obsolete-alist): Mark as risky.
5874 2010-07-28  Phil Hagelberg  <phil@evri.com>
5876         Add support for non-default package repositories.
5877         * emacs-lisp/package.el (package-archive-base): Var deleted.
5878         (package-archives): New variable.
5879         (package-archive-contents): Doc fix.
5880         (package-load-descriptor): Do nothing if descriptor file is missing.
5881         (package--write-file-no-coding): New function.
5882         (package-unpack-single): Use it.
5883         (package-archive-id): New function.
5884         (package-download-single, package-download-tar)
5885         (package-menu-view-commentary): Use it.
5886         (package-installed-p): Make second argument optional.
5887         (package-read-all-archive-contents): New function.
5888         (package-initialize): Use it.
5889         (package-read-archive-contents): Add ARCHIVE argument.
5890         (package--add-to-archive-contents): New function.
5891         (package-install): Don't call package-read-archive-contents.
5892         (package--download-one-archive): Store archive file in a
5893         subdirectory of package-user-dir.
5894         (package-menu-execute): Remove spurious line movement.
5896 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
5898         * cus-start.el (tool-bar-style): Add text-image-horiz.
5900 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5902         * progmodes/gud.el (gud-common-init): Check for remoteness of
5903         `file', and not of `default-directory'.
5905 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5907         * net/tramp.el (tramp-methods): Move hostname to the end in all
5908         ssh `tramp-login-args'.
5909         (tramp-verbose): Describe verbose level 9.
5910         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5911         (tramp-open-connection-setup-interactive-shell): Trace stty
5912         settings if `tramp-verbose' >= 9.
5913         (tramp-handle-start-file-process): Implement tty setting.
5914         (Bug#4604, Bug#6360)
5916         * net/tramp-cmds.el (tramp-bug): Recommend setting of
5917         `tramp-verbose' to 9.
5919 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
5921         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5922         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5923         Remove references to package `lisp-re' (bug#4369).
5925 2010-07-27  Tom Tromey  <tromey@redhat.com>
5927         * progmodes/js.el (js-mode):
5928         * progmodes/make-mode.el (makefile-mode):
5929         * progmodes/simula.el (simula-mode):
5930         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5932 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
5934         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5936         * time.el (display-time-day-and-date): Remove spurious * in docstring.
5937         (display-time-world-buffer-name, display-time-world-mode-map):
5938         Fix typos in docstrings.
5940 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
5942         * image-mode.el (image-display-size): New function.
5943         (image-forward-hscroll, image-next-line, image-eol, image-eob)
5944         (image-mode-fit-frame): Use it (Bug#6639).
5946 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
5948         * dired.el (dired-buffers-for-dir): Handle list values of
5949         dired-directory (Bug#6636).
5951 2010-07-26  Sam Steingold  <sds@gnu.org>
5953         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5954         Do not call `x-get-selection' the second time, reuse the value.
5956 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
5958         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5959         which consist of control chars only.  Suggested by Richard Stallman.
5961 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
5963         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5964         exists before passing an error to find-file-not-found-functions
5965         (bug#6723).
5967 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
5969         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5970         Remove leading nil element, adjust values.
5971         (tetris-shapes, tetris-shape-scores):
5972         Change representation of shapes and remove some redundancy.
5973         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5974         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5975         Adjust for working with new representation of shapes.
5976         (tetris-shape-rotations): New function.
5977         (tetris-move-bottom, tetris-move-left, tetris-move-right)
5978         (tetris-rotate-prev, tetris-rotate-next):
5979         Adjust for working with the new version of tetris-test-shape.
5981 2010-07-23  Markus Triska  <markus.triska@gmx.at>
5983         * progmodes/ps-mode.el: Use comint (bug#5954).
5984         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5985         (ps-mode-other-newline): Simplify.
5986         (ps-run-mode): Derive from comint-mode instead of
5987         fundamental-mode, yielding input history etc.
5988         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5989         (ps-run-send-string): Adapt for comint-mode.
5990         (ps-run-newline): Remove now unneeded function.
5992 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5994         * net/tramp.el (tramp-methods): Move hostname to the end in all
5995         plink `tramp-login-args'.
5997 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5999         * net/tramp.el (tramp-open-shell): New defun.
6000         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6001         Use it.
6003 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6005         * net/tramp.el (tramp-file-name-regexp-unified)
6006         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6007         not regard the volume letter as remote filename.  (Bug#5447)
6009 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
6011         * custom.el (custom-declare-variable): Give a clearer error message
6012         when the docstring is missing (bug#6476).
6014 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
6016         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
6017         (sql-login-params): New widget definition.
6018         (sql-oracle-login-params, sql-mysql-login-params)
6019         (sql-solid-login-params, sql-sybase-login-params)
6020         (sql-informix-login-params, sql-ingres-login-params)
6021         (sql-ms-login-params, sql-postgres-login-params)
6022         (sql-interbase-login-params, sql-db2-login-params)
6023         (sql-linter-login-params): Use it.
6024         (sql-sqlite-login-params): Use it; Define "database" parameter as
6025         a file name.
6026         (sql-sqlite-program): Change to "sqlite3".
6027         (sql-comint-sqlite): Make sure database name is complete.
6028         (sql-for-each-login): New function.
6029         (sql-connect, sql-save-connection): Use it.
6030         (sql-get-login-ext): New function.
6031         (sql-get-login): Use it.
6032         (sql-make-alternate-buffer-name): Handle :file parameters.
6034 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
6036         * dired.el (dired-no-confirm): Document value t and fix defcustom to
6037         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
6039 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
6041         * dired.el (dired-mode-map): Use command remapping (bug#6632).
6043 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
6045         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6047 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
6049         * net/tramp.el (tramp-get-ls-command)
6050         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6051         instead of "/".
6053 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
6055         * progmodes/sql.el: Version 2.3.
6056         (sql-connection-alist): Change keys from symbols to strings;
6057         enhanced the widget definition.
6058         (sql-mode-menu): Add submenu to select connections.
6059         (sql-interactive-mode-menu): Add "Save Connection" item.
6060         (sql-add-product): Fix menu item.
6061         (sql-get-product-feature): Improved error handling.
6062         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6063         (sql-make-alternate-buffer-name): Simplified.
6064         (sql-product-interactive): Handle missing product.
6065         (sql-connect): Support string keys, minor improvements.
6066         (sql-save-connection): New function.
6067         (sql-connection-menu-filter): New function.
6069 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
6071         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6072         (tramp-open-connection-setup-interactive-shell):
6073         Apply workaround for IRIX64 bug.  Move argument of last
6074         `tramp-send-command' where it belongs to.
6076 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
6078         * net/tramp.el (tramp-perl-file-attributes)
6079         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6080         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6081         front of `login-args'.
6083 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
6085         * time.el (display-time-world-mode): Define with `define-derived-mode'.
6086         Set `show-trailing-whitespace' to nil.
6087         (display-time-world-display): Simplify.
6089 2010-07-18  Alan Mackenzie  <acm@muc.de>
6091         Enhance `c-file-style' in file/directory local variables.
6092         * progmodes/cc-mode.el (c-count-cfss): New function.
6093         (c-before-hack-hook): Call `c-set-style' differently according to
6094         whether c-file-style was set in file or directory local
6095         variables.
6097 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
6099         * progmodes/sql.el: Version 2.2.
6100         (sql-product, sql-user, sql-database, sql-server, sql-port):
6101         Use defcustom :safe keyword rather than putting safe-local-variable
6102         property.
6103         (sql-password): Use defcustom :risky keyword rather than putting
6104         risky-local-variable property.
6105         (sql-oracle-login-params, sql-sqlite-login-params)
6106         (sql-solid-login-params, sql-sybase-login-params)
6107         (sql-informix-login-params, sql-ingres-login-params)
6108         (sql-ms-login-params, sql-postgres-login-params)
6109         (sql-interbase-login-params, sql-db2-login-params)
6110         (sql-linter-login-params): Add `port' option.
6111         (sql-get-product-feature): Add NO-INDIRECT parameter.
6112         (sql-comint-oracle, sql-comint-sybase)
6113         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6114         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6115         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6116         (sql-comint-linter): Rename sql-connect-* functions to
6117         sql-comint-*.
6118         (sql-product-alist, sql-mode-menu): Rename as above and
6119         :sqli-connect-func to :sqli-comint-func.
6120         (sql-connection): New variable.
6121         (sql-interactive-mode): Set it.
6122         (sql-connection-alist): New variable.
6123         (sql-connect): New function.
6124         (sql--alt-buffer-part, sql--alt-if-not-empty)
6125         (sql-make-alternate-buffer-name): Improved alternative buffer name.
6127 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6129         * image-mode.el (image-bookmark-make-record): Do not set context
6130         in an image (Bug#6650).
6132 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
6134         * simple.el (select-active-region): New function.
6135         (push-mark-command, set-mark, activate-mark)
6136         (handle-shift-selection): Use it.
6137         (deactivate-mark): Don't check for size of region.
6139         * mouse.el (mouse-drag-track): Use select-active-region.
6141 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
6143         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6144         "--dired" stronger.
6146 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
6148         * term/x-win.el (x-select-enable-primary): Change default to nil.
6149         (x-select-enable-clipboard): Add :version keyword.
6151         * mouse.el (mouse-drag-copy-region):
6152         * simple.el (select-active-regions): Likewise.
6154 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
6156         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6157         (vc-coding-system-for-diff): Use it to decide whether to inherit
6158         from the file the EOL format for reading the diffs of that file.
6159         (Bug#4451)
6161 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
6163         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6164         unibyte, so compressed attachments are not compressed again.
6166 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
6168         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6169         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6170         (tramp-find-shell): Simplify setting connection property.
6171         (tramp-get-ls-command): Make test for "--color=never" stronger.
6173 2010-07-15  Simon South  <ssouth@member.fsf.org>
6175         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6176         blocks within record declarations (i.e. variant parts) correctly.
6178 2010-07-15  Simon South  <ssouth@member.fsf.org>
6180         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6181         over literal tokens when parsing so newlines aren't "absorbed" by
6182         single-line comments.  Corrects the indentation of case blocks
6183         that have a comment on the first line.
6185 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
6187         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6188         by Drew Adams (Bug#5504).
6190 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
6192         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6193         now that Unicode is used (Bug#6594).
6195 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
6197         * term/x-win.el (x-select-enable-clipboard): Default to t.
6198         (x-initialize-window-system): Don't overwrite Paste menu item.
6200         * simple.el (select-active-regions): Default to t.
6201         (push-mark-command): Don't overwrite primary with empty string.
6203         * mouse.el: Bind mouse-2 to mouse-yank-primary.
6204         (mouse-drag-copy-region): Default to nil.
6206         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6207         Cut/Copy/Paste menu bar items.
6209 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6211         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6212         Patch applied by Karl Fogel.
6214         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6215         and `bookmark-current-buffer' if they have been already set in
6216         another buffer (e.g gnus-art).
6218 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
6219             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6221         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6223         * bookmark.el (bookmark-make-record-default): Allow unneeded
6224         information to be omitted from the record.
6226         Adjust declarations and calls:
6228         * info.el (bookmark-make-record-default): Adjust declaration.
6229         (Info-bookmark-make-record): Adjust call.
6231         * woman.el (bookmark-make-record-default): Adjust declaration.
6232         (woman-bookmark-make-record): Adjust call.
6234         * man.el (bookmark-make-record-default): Adjust declaration.
6235         (Man-bookmark-make-record): Adjust call.
6237         * image-mode.el (bookmark-make-record-default): Adjust declaration.
6239         * doc-view.el (bookmark-make-record-default): Adjust declaration.
6241 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
6243         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6244         This is also from Thierry Volpiatto's patch in bug #6444.  However,
6245         because it was extraneous to the functional change in that patch,
6246         and causes a re-indendation, I am committing it separately.
6248 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6250         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6251         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6252         Patch applied by Karl Fogel (Bug#6444).
6254 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
6256         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6258 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
6260         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6261         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
6262         (ns-alternatives-map): Change S-tab binding to backtab
6263         (bug#6616).
6265         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6266         under ns.
6268 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6270         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6271         (Bug#5806)
6273         * language/tv-util.el (tai-viet-re): Remove format.
6275 2010-07-12  Kenichi Handa  <handa@m17n.org>
6277         * language/hebrew.el: Remove no-byte-compile declaration.
6278         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
6279         composition-function-table for 3-character looking back.
6280         (hebrew-font-get-precomposed): New function.
6281         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6283 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
6285         * mouse.el (mouse-drag-track): Handle select-active-regions
6286         (Bug#6612).
6288 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
6290         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6291         empty argument to gvfs-copy.
6293 2010-07-10  Glenn Morris  <rgm@gnu.org>
6295         * calendar/calendar.el (calendar-week-end-day): New function.
6296         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6297         Respect calendar-week-start-day.  (Bug#6606)
6298         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6299         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6300         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6301         respect calendar-week-start-day.
6303 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
6305         * simple.el (use-region-p): Doc fix (Bug#6607).
6307 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
6309         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6310         Add regexps for cucumber and ruby.
6312 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
6314         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6315         (epa-file-insert-file-contents): Hack to prevent
6316         find-file from opening empty buffer when decryption failed
6317         (bug#6568).
6319 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
6321         * textmodes/ispell.el (ispell-alternate-dictionary):
6322         Use file-readable-p.
6323         Return nil if no word-list is found at default locations.
6324         (ispell-complete-word-dict): Default to nil.
6325         (ispell-command-loop): Use 'word-list' when using lookup-words.
6326         (lookup-words): Use ispell-complete-word-dict or
6327         ispell-alternate-dictionary.  Check for word-list availability
6328         and handle errors if needed with better messages (Bug#6539).
6329         (ispell-complete-word): Use ispell-complete-word-dict or
6330         ispell-alternate-dictionary.
6332 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
6334         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6335         builtins (BufferError, BytesWarning, WindowsError; callables
6336         bin, bytearray, bytes, format, memoryview, next, print; __package__).
6338 2010-07-07  Glenn Morris  <rgm@gnu.org>
6340         * play/zone.el (top-level): Do not require timer, tabify, or cl.
6341         (zone-shift-left): Ignore intangibility, and any errors from
6342         forward-char.
6343         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
6344         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6345         deleting, and copying text properties.
6346         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6347         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6348         to point-max is hard.
6349         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6350         (zone-fill-out-screen): Ignore intangibility.
6352 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
6354         * menu-bar.el (menu-bar-mode):
6355         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6356         if it has been set.
6358         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6359         word/line selection (Bug#6565).
6361 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
6363         * net/dbus.el (dbus-send-signal): Declare function.
6365 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
6367         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6368         (dbus-register-property): New optional argument EMITS-SIGNAL.
6369         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6371 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
6373         * mouse.el (mouse-drag-overlay): Variable deleted.
6374         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6375         (mouse--remap-link-click-p): New function.
6376         (mouse-drag-track): Handle dragging by using temporary Transient
6377         Mark mode, instead of a special overlay.
6378         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6379         mouse-show-mark.
6381         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6382         deleted.
6384 2010-07-02  Juri Linkov  <juri@jurta.org>
6386         * autoinsert.el (auto-insert-alist): Fix readability
6387         by using dotted pair notation for lambda.
6389 2010-07-02  Juri Linkov  <juri@jurta.org>
6391         * faces.el (read-face-name): Rename arg `string-describing-default'
6392         to `default'.  Doc fix.  Display the default value in quotes
6393         in the prompt.  With empty input, return the `default' arg,
6394         unless the default value is a string (in which case return nil).
6395         (describe-face): Replace the string `default' arg of `read-face-name'
6396         with the symbol `default'.
6398 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
6400         * emulation/viper-cmd.el (viper-delete-backward-char)
6401         (viper-del-backward-char-in-insert)
6402         (viper-del-backward-char-in-replace, viper-change)
6403         (viper-backward-indent): Replace delete-backward-char with
6404         delete-char (Bug#6552).
6406 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
6408         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6410 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6412         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6413         argument passed to frame-creation-function (Bug#5378).
6415         * faces.el (x-handle-named-frame-geometry)
6416         (x-handle-reverse-video, x-create-frame-with-faces)
6417         (face-set-after-frame-default, tty-create-frame-with-faces):
6418         Don't separately consult default-frame-alist.  It is now passed as the
6419         PARAMETER argument.
6421 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
6423         * startup.el (command-line): Don't call tool-bar-setup in a
6424         tty-only build.
6426 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6428         * ruler-mode.el (ruler--save-header-line-format): New fun.
6429         (ruler-mode): Use it as a setter function, so as not to overwrite
6430         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6432 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
6434         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
6435         (vc-root-diff, vc-print-root-log, vc-log-incoming)
6436         (vc-log-outgoing): Use it.
6437         (vc-diff-internal): Set diff-vc-backend.
6439         * vc/diff-mode.el (diff-vc-backend): New var.
6441 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
6443         * dynamic-setting.el (font-setting-change-default-font):
6444         Remove call to message.
6446 2010-06-28  Kenichi Handa  <handa@m17n.org>
6448         * international/quail.el (quail-insert-kbd-layout): Fix the
6449         showing of untranslated characters.
6451 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
6453         * simple.el (delete-active-region): New option.
6454         (delete-backward-char): Implement in Lisp.
6455         (delete-forward-char): New command.
6457         * mouse.el (mouse-region-delete-keys): Deleted.
6458         (mouse-show-mark): Simplify.
6460         * bindings.el (global-map): Bind delete and DEL, the former to
6461         delete-forward-char.
6463 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
6465         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6466         (ruby-mode): Bind indent-line-function (Bug#5119).
6468 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6470         * startup.el (command-line): Recognize "0" X resource value.
6472 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6474         * startup.el (command-line): Use X resources to set the value of
6475         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6477         * menu-bar.el (menu-bar-mode):
6478         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6479         Set init-value to t.
6481         * frame.el (frame-notice-user-settings): Don't change
6482         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6483         vice versa (Bug#2249).
6485 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
6487         * w32-fns.el (w32-convert-standard-filename): Doc fix.
6489 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
6491         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6492         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6494         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6495         default directories are expanded (Bug#6143).
6497 2010-06-24  Juri Linkov  <juri@jurta.org>
6499         * minibuffer.el (completions-format): Change default from nil to
6500         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
6502 2010-06-24  Juri Linkov  <juri@jurta.org>
6504         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6505         buffer-locally to lambda that re-runs the vc diff command.
6506         (Bug#6447)
6508 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
6510         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6511         echo area is in use (Bug#3412).
6513 2010-06-22  Glenn Morris  <rgm@gnu.org>
6515         * textmodes/texinfmt.el (texinfo-format-region)
6516         (texinfo-raise-lower-sections, texinfo-format-separate-node)
6517         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6518         (texinfo-format-option, texinfo-noindent):
6519         Use line-beginning-position and line-end-position.
6521         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6522         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6523         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6524         utf-8 characters.
6526 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
6528         * play/zone.el (zone-fall-through-ws): Fix next-line ->
6529         forward-line fallout.
6531 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
6533         * mouse.el (mouse-appearance-menu): Add docstring.
6535         * help.el (describe-key): Print up-event using key-description.
6537 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
6539         * net/zeroconf.el (zeroconf-resolve-service)
6540         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6541         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6543 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6545         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6547 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
6549         Avoid displaying files with a nil state in vc-dir.
6550         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6551         cases that cause insertion.
6552         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6553         with a nil state.
6555 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6557         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6559 2010-06-29  Leo  <sdl.web@gmail.com>
6561         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
6563 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6565         * generic-x.el (bat-generic-mode): Fix regexp for command line
6566         switches (Bug#5719).
6568 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
6570         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6571         of nconc to avoid pure storage error (Bug#6239).
6573 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
6575         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6576         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6577         bindings of bookmark-automatically-show-annotations (Bug#6515).
6579 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
6581         * arc-mode.el (archive-zip-extract): Don't quote the file name on
6582         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
6584 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6586         * comint.el (make-comint, make-comint-in-buffer): Mention return
6587         value in the docstrings.  (Bug#6498)
6589 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
6591         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6592         since it is not present when using some non-default switches.
6594 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
6596         * simple.el (compose-mail): Fix doc string to refer to
6597         `compose-mail-user-agent-warnings', instead of to the
6598         nonexistent `compose-mail-check-user-agent'.
6600 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
6602         Fix an indentation bug:
6604         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6605         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6606         of existing values.
6608         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6609         (c-clear->-pair-props-if-match-before): now return t when they've
6610         cleared properties, nil otherwise.
6611         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6612         by taking account of the existing value.
6614         * progmodes/cc-defs.el
6615         (c-clear-char-property-with-value-function): Fix this to clear the
6616         property rather than overwriting it with nil.
6618 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
6620         * emacs-lisp/package.el (package-print-package): Add link to
6621         package description via describe-package.
6622         (describe-package-1): List package requirements.  Add button to
6623         perform installation.
6624         (package-menu-describe-package): New command.
6626         * help-mode.el (help-package): New button type.
6628 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
6630         * emacs-lisp/package.el: Move package-list-packages binding to
6631         menu-bar.el.
6632         (describe-package, describe-package-1, package--dir): New funs.
6633         (package-activate-1): Use package--dir.
6635         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6637         * help-mode.el (help-package-def): New button type.
6639         * menu-bar.el: Move package-list-packages binding here from
6640         package.el.
6642 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
6644         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
6646 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6648         * emacs-lisp/edebug.el (edebug-read-list):
6649         Phase out old-style backquotes.
6651 2010-06-17  Juri Linkov  <juri@jurta.org>
6653         * help-mode.el (help-mode): Set buffer-local variable
6654         revert-buffer-function to help-mode-revert-buffer.
6655         (help-mode-revert-buffer): New function.
6657         * info.el (Info-revert-find-node): Check for major-mode Info-mode
6658         before popping to "*info*" (like in other Info functions).
6659         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
6660         old-history-forward.  Pop to old-buffer-name or "*info*" to
6661         recreate the killed buffer.  Set Info-history-forward from
6662         old-history-forward.
6663         (Info-breadcrumbs-depth): Add :group and :version.
6665 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
6667         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6669 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
6671         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6672         for languages like Portuguese with pt_{BR,PT} and no plain pt.
6674 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
6676         * emacs-lisp/package.el (package-menu-mode-map):
6677         Move initialization into declaration.
6679         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6681 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
6683         * emacs-lisp/package.el (package-archive-base): Point to
6684         elpa.gnu.org.
6685         (package-enable, package-load-list): New defcustoms.
6686         (package-user-dir, package-directory-list): Turn into defcustoms.
6687         Don't include package-user-dir in package-directory-list.
6688         (package--builtins-base): Don't include Emacs as a "package".
6689         (package-subdirectory-regexp): New var.
6690         (package-load-all-descriptors, package-compute-transaction)
6691         (package-download-transaction): Obey package-load-list.
6692         (package-activate-1): Rename from package-do-activate.
6693         (package-list-packages-internal): Check package-load-list.
6694         (package-load-descriptor, package-generate-autoloads)
6695         (package-unpack, package-unpack-single)
6696         (package--read-archive-file, package-delete):
6697         Use expand-file-name.
6699         * emacs-lisp/package-x.el: New file.  Package uploading
6700         functionality split out from package.el.
6702         * startup.el (command-line): Load packages after reading init file.
6704 2010-06-17  Tom Tromey  <tromey@redhat.com>
6706         * emacs-lisp/package.el: New file.
6708 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6710         Fix vc-annotate for renamed files when using Git.
6711         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6712         ls-files.  Doe not pass the object as a file name to cat-file, it
6713         is not a file name.
6714         (vc-git-annotate-command): Pass the file name using -- to avoid
6715         ambiguity with the revision.
6716         (vc-git-previous-revision): Pass a relative file name.
6718 2010-06-22  Glenn Morris  <rgm@gnu.org>
6720         * progmodes/js.el (js-mode-map): Use standard capitalization and
6721         ellipses for menu entries.
6723         * wid-edit.el (widget-complete): Doc fix.
6725 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
6727         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6729 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6731         Fix annotating other revisions for renamed files in vc-annotate.
6732         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6733         VC backend.  Use it when non-nil.
6734         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6735         (Bug#6487).
6737         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6738         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6739         Do not pass the file name to the 'previous-revision call when we
6740         don't want a file diff.  (Bug#6489)
6742 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6744         Fix finding revisions for renamed files in vc-annotate.
6745         * vc/vc.el (vc-find-revision): Add an optional argument for
6746         the VC backend.  Use it when non-nil.
6747         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6748         backend to vc-find-revision.  (Bug#6487)
6750 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6752         Fix reading file names in Git annotate buffers.
6753         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6754         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
6756 2010-06-20  Alan Mackenzie  <acm@muc.de>
6758         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6759         in file local variables, set it first.
6761 2010-06-19  Glenn Morris  <rgm@gnu.org>
6763         * descr-text.el (describe-char-unicode-data): Insert separating
6764         space when needed.  (Bug#6422)
6766         * progmodes/idlwave.el (idlwave-action-and-binding):
6767         Fix typo in 2009-12-03 change.  (Bug#6450)
6769 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6771         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6772         handling for `lambda' (misunderstanding).
6774 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
6776         * calc/calc-poly.el (math-accum-factors): Make sure that
6777         constants aren't distributed after they are factored out.
6779 2010-06-16  Juri Linkov  <juri@jurta.org>
6781         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6782         `list-colors-print'.  (Bug#6332)
6784         * subr.el (read-quoted-char): Fix up last change (bug#6290).
6786 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6788         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6789         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
6791         * font-lock.el (font-lock-major-mode): Rename from
6792         font-lock-mode-major-mode to distinguish it from
6793         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6794         (font-lock-set-defaults):
6795         * font-core.el (font-lock-default-function): Adjust users.
6796         (font-lock-mode): Don't set it at all.
6798 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6800         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6802 2010-06-16  Glenn Morris  <rgm@gnu.org>
6804         * calendar/appt.el (appt-time-msg-list): Doc fix.
6805         (appt-check): Let-bind appt-warn-time.
6806         (appt-add): Make the 3rd argument optional.
6807         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
6808         Only add WARNTIME to the output list if non-nil.
6810 2010-06-16  Ivan Kanis  <apple@kanis.eu>
6812         * calendar/appt.el (appt-check): Let the 3rd element of
6813         appt-time-msg-list specify the warning time.
6814         (appt-add): Add new argument with the warning time.  (Bug#5176)
6816 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
6818         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6819         older than version 1.6.  (Bug#6361)
6821 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
6823         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6824         used by cl-do-arglist.  (Bug#6408)
6826 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
6828         * textmodes/ispell.el (ispell-dictionary-base-alist):
6829         Fix portuguese casechars/not-casechars for missing 'çÇ'.
6830         Suggested by Rolando Pereira (bug#6434).
6832 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
6834         * facemenu.el (list-colors-sort): Doc fix.
6836 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
6838         * progmodes/sql.el (sql-connect-mysql): Fix typo.
6840 2010-06-14  Juri Linkov  <juri@jurta.org>
6842         Add sort option `list-colors-sort'.  (Bug#6332)
6843         * facemenu.el (color-rgb-to-hsv): New function.
6844         (list-colors-sort): New defcustom.
6845         (list-colors-sort-key): New function.
6846         (list-colors-display): Doc fix.  Sort list according to the option
6847         `list-colors-sort'.
6848         (list-colors-print): Add HSV values to `help-echo' property of
6849         RGB strings.
6851 2010-06-14  Juri Linkov  <juri@jurta.org>
6853         * compare-w.el: Move to the "vc" subdirectory.
6855 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6857         * image-mode.el (image-mode-map): Remap left-char and right-char.
6859         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6861 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
6863         * term/common-win.el (x-colors): Add all the color names defined
6864         in rgb.txt (Bug#6332).
6866         * facemenu.el (list-colors-print): Don't print extra names if it
6867         will overflow the window width.
6869         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6870         change (Bug#6343).
6872 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
6874         * files.el (make-directory): Doc fix (bug#6396).
6876 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
6878         * net/tramp.el (tramp-remote-process-environment): Protect version
6879         string by apostroph.
6880         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6881         XEmacs.
6882         (tramp-file-name-for-operation): Add `call-process-region'.
6883         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6885         * net/tramp-compat.el (top): Do not autoload
6886         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6887         only when `start-file-process' is not bound.
6888         (tramp-advice-file-expand-wildcards): Do not use
6889         `tramp-handle-file-remote-p'.
6890         (tramp-compat-make-temp-file): Handle the case, that
6891         `make-temp-file' has no third argument EXTENSION.
6893 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
6895         * makefile.w32-in (WINS_BASIC): Include new directory vc.
6897         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6899 2010-06-11  Juri Linkov  <juri@jurta.org>
6901         * finder.el (finder-known-keywords): Add keyword "vc"
6902         for version control.
6904         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6905         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6906         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6907         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6909 2010-06-11  Juri Linkov  <juri@jurta.org>
6911         Move version control related files to the "vc" subdirectory.
6912         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6913         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6914         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6915         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6916         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6917         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6918         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6919         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6920         Move files to the "vc" subdirectory.
6922 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
6924         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6925         (Bug#6367).
6927 2010-06-11  Stephen Eglen  <stephen@gnu.org>
6929         * shell.el: Bind `shell-resync-dirs' to M-RET.
6931 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
6933         * notifications.el: Move file from lisp/net, because it is
6934         supposed to talk locally to the user.
6936 2010-06-10  Julien Danjou  <julien@danjou.info>
6938         * net/notifications.el (notifications-on-action-signal)
6939         (notifications-on-closed-signal): Pass notification id as first
6940         argument to the callback functions.  Add docstrings.
6941         (notifications-notify): Fix docstring.
6943 2010-06-10  Glenn Morris  <rgm@gnu.org>
6945         * emacs-lisp/authors.el (authors-ignored-files)
6946         (authors-valid-file-names): Add some files.
6948 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6950         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6951         merge conflict, giving preference to the emacs-23 version of the code.
6953 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6955         * emacs-lisp/advice.el (ad-compile-function):
6956         Define warning-suppress-types before we let-bind it (bug#6275).
6958         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6959         declare it, make it buffer-local and permanent-local (bug#6324).
6960         (vc-resynch-window): Adjust name.
6961         * vc-hooks.el (vc-find-file-hook): Adjust name.
6963 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
6965         * net/notifications.el (notifications-notify): Fix docstring.
6967 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6969         Update to Unicode 6.0.0 beta.
6970         * international/charprop.el: Update copyright.
6971         * international/mule-cmds.el (ucs-names): Update character ranges.
6972         * international/uni-bidi.el:
6973         * international/uni-category.el:
6974         * international/uni-combining.el:
6975         * international/uni-comment.el:
6976         * international/uni-decimal.el:
6977         * international/uni-decomposition.el:
6978         * international/uni-digit.el:
6979         * international/uni-lowercase.el:
6980         * international/uni-mirrored.el:
6981         * international/uni-name.el:
6982         * international/uni-numeric.el:
6983         * international/uni-old-name.el:
6984         * international/uni-titlecase.el:
6985         * international/uni-uppercase.el: Regenerate.
6987 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6989         * emacs-lisp/smie.el (comment-string-strip): Declare function.
6990         (smie-precs-precedence-table): Fix typo in docstring.
6992         * vc-mtn.el (log-edit-extract-headers): Declare function.
6994         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6996         * net/notifications.el (dbus-register-signal): Declare function.
6997         (notifications-notify): Fix typos and reflow docstring.
6999 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7001         Improve VC create/retrieve tag/branch.
7002         * vc.el (vc-create-tag): Do not read the directory name for VCs
7003         with repository revision granularity.  Adjust the tag/branch
7004         prompt.  Reset VC properties.
7005         (vc-retrieve-tag): Do not read the directory name for VCs
7006         with repository revision granularity.  Reset VC properties.
7008 2010-06-09  Julien Danjou  <julien@danjou.info>
7010         * net/notifications.el: New file.
7012 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7014         Add optional support for resetting VC properties.
7015         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7016         call vc-file-clearprops when true.
7017         (vc-resynch-buffer): Add new optional argument, pass it down.
7018         (vc-resynch-buffers-in-directory): Likewise.
7020         Improve support for special markup in the VC commit message.
7021         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7022         * vc-hg.el (vc-hg-checkin): Add support for Date:.
7023         * vc-git.el (vc-git-checkin):
7024         * vc-bzr.el (vc-bzr-checkin): Likewise.
7026 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7028         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7029         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7031 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
7033         * iimage.el: Remove images as soon as the underlying text is modified.
7034         (iimage-modification-hook): New function.
7035         (iimage-mode-buffer): Use it.
7037 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7039         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7040         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
7041         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
7042         (smie-indent-keyword): Add handling of open-paren keywords.
7043         (smie-indent-comment-continue): Don't assume comment-continue.
7045 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
7047         * window.el (pop-to-buffer): Remove the conditional that
7048         compares new-window and old-window, so it will reselect
7049         the selected window unconditionally.
7050         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7052 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7054         * emacs-lisp/smie.el (smie-indent-offset-after)
7055         (smie-indent-forward-token, smie-indent-backward-token): New functions.
7056         (smie-indent-after-keyword): Use them.
7057         (smie-indent-fixindent): Only applies to the indentation of the BOL.
7058         (smie-indent-keyword): Tweak the black magic.
7059         (smie-indent-comment-continue): Strip comment-continue before use.
7060         (smie-indent-functions): Indent comments before keywords.
7062 2010-06-06  Juri Linkov  <juri@jurta.org>
7064         * isearch.el (isearch-lazy-highlight-search): Fix looping
7065         by checking for empty match.  This syncs this loop with the
7066         similar loop in `isearch-search'.  (Bug#6362)
7068 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
7070         * net/dbus.el (dbus-register-method): Declare function.
7071         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7072         (dbus-introspect): Doc fix.
7073         (dbus-event-bus-name, dbus-introspect-get-interface)
7074         (dbus-introspect-get-argument): Reflow docstrings.
7076 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
7078         vc-log-incoming/vc-log-outgoing fixes for Git.
7079         * vc-git.el (vc-git-log-view-mode): Fix font lock for
7080         incoming/outgoing logs.
7081         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7082         instead of vc-git-compute-remote.
7083         (vc-git-compute-remote): Remove.
7085 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
7087         * term/common-win.el (x-colors): Add "dark green" and "dark
7088         turquoise" (Bug#6332).
7090 2010-06-04  Juri Linkov  <juri@jurta.org>
7092         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7093         Instead of setting `replace' to t and replacing the same string
7094         with itself, don't do certain actions when
7095         kill-do-not-save-duplicates is non-nil and string is equal to car
7096         of kill-ring: don't call menu-bar-update-yank-menu, don't push
7097         interprogram-paste strings to kill-ring, and don't push the input
7098         argument `string' to kill-ring.
7099         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7101 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
7103         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7105 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
7107         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7108         (tramp-gvfs-handler-mounted-unmounted)
7109         (tramp-gvfs-connection-mounted-p): Handle default-location.
7111         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7112         move files to trash.
7114 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
7116         * international/mule-cmds.el (nonascii-insert-offset)
7117         (nonascii-translation-table): Add obsolescence information.
7119         * international/mule.el (make-translation-table-from-vector): Doc fix.
7121 2010-06-03  Glenn Morris  <rgm@gnu.org>
7123         * desktop.el (desktop-clear-preserve-buffers):
7124         Add "*Warnings*" buffer.  (Bug#6336)
7126 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
7128         vc-log-incoming/vc-log-outgoing improvements for Git.
7129         * vc-git.el (vc-git-log-outgoing): Use the same format as the
7130         short log.
7131         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
7133         Add bindings for vc-log-incoming and vc-log-outgoing.
7134         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7135         and vc-log-outgoing.
7136         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7137         and vc-log-outgoing.
7139 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
7141         * net/rcirc.el (rcirc-sort-nicknames): Remove.
7142         (rcirc-handler-366): Always sort nicknames.
7144 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
7146         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7148 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
7150         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7152 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7154         * net/rcirc.el (rcirc-sort-nicknames): Change default.
7155         (rcirc-sort-nicknames-join): Avoid setq.
7157 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7159         * net/rcirc.el (rcirc-sort-nicknames): New custom.
7160         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7161         (rcirc-handler-366): Use them.
7163 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7165         Split smie-indent-calculate into more manageable chunks.
7166         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7167         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7168         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7169         (smie-indent-exps): Extract from smie-indent-calculate.
7170         (smie-indent-functions): New var.
7171         (smie-indent-functions): Use them.
7173 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7175         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7176         (smie-indent-calculate): Simplify and cleanup.
7178 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
7180         * net/tramp-gvfs.el (top): Require url-util.
7181         (tramp-gvfs-mount-point): Remove.
7182         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7183         New defuns.
7184         (with-tramp-dbus-call-method): Format trace message.
7185         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7186         Implement backup call, when operation on local files fails.
7187         Use progress reporter.  Flush properties of changed files.
7188         (tramp-gvfs-handle-make-directory): Make more traces.
7189         (tramp-gvfs-url-file-name): Hexify file name in url.
7190         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7191         into account for the resulting file name.
7192         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7193         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
7194         (tramp-gvfs-handler-mounted-unmounted)
7195         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7196         attribute "default_location".  Set "prefix" property.
7197         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7198         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7199         exists.  Raise an error, if not (due to a corresponding answer
7200         "no" in interactive questions, for example).
7202 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
7204         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7206 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
7208         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7209         right-*.  (Bug#6265)
7211 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
7213         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7214         * vc-git.el (vc-git-compute-remote): New function.
7215         (vc-git-log-outgoing): Use it instead of hard coding a value.
7216         (vc-git-log-incoming): New function.
7218         Improve state updating for VC tag commands.
7219         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7220         to update the state of all buffers in the directory.
7222         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7224 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7226         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7227         `file-directory-p' to the filename part rather than to the whole text.
7229 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7231         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7233 2010-05-31  Drew Adams  <drew.adams@oracle.com>
7235         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7237 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
7239         * subr.el (momentary-string-display): Just use read-event to read
7240         the exit event (Bug#6238).
7242 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
7244         * international/mule.el (define-coding-system): Doc fix (bug#6313).
7246 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
7248         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7249         Suggested by Eli Zaretskii <eliz@gnu.org>.
7251 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7253         * minibuffer.el (completion-file-name-table): Don't return a boundary
7254         past the end of `string' (bug#6299).
7255         (completion--file-name-table): Delegate to completion-file-name-table
7256         for the `boundaries' case.
7258 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
7260         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7261         movement commands.
7263         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7264         `path-separator', but maintain compatibility with Emacs 20.2.
7266 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
7268         * server.el (server-process-filter): Receive parent-id argument
7269         from emacsclient.
7270         (server-create-window-system-frame): New arg.  Pass parent-id as
7271         frame parameter.
7273 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
7275         Bidi-sensitive word movement with arrow keys.
7276         * subr.el (right-arrow-command, left-arrow-command): Move to
7277         bindings.el.
7279         * bindings.el (right-char, left-char): Move from subr.el and
7280         rename from right-arrow-command and left-arrow-command.
7281         (right-word, left-word): New functions.
7282         (global-map) <right>: Bind to right-char.
7283         (global-map) <left>: Bind to left-char.
7284         (global-map) <C-right>: Bind to right-word.
7285         (global-map) <C-left>: Bind to left-word.
7287         * ls-lisp.el (ls-lisp-classify-file): New function.
7288         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7289         (ls-lisp-classify): Call ls-lisp-classify-file.
7290         (insert-directory): Remove blanks from switches.
7292 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
7294         * ansi-color.el: Delete unused escape sequences (Bug#6085).
7295         (ansi-color-drop-regexp): New constant.
7296         (ansi-color-apply, ansi-color-filter-region)
7297         (ansi-color-apply-on-region): Delete unrecognized control sequences.
7298         (ansi-color-apply): Build string list before calling concat.
7300 2010-05-28  Juri Linkov  <juri@jurta.org>
7302         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7303         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7304         (Bug#5270)
7306 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
7308         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7309         to ignored backtrace functions.
7310         (with-progress-reporter): Expand docstring.
7311         (tramp-handle-delete-file): Implement TRASH argument.
7312         (tramp-get-remote-trash): New defun.
7314 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
7316         * net/tramp-compat.el (tramp-compat-delete-file):
7317         Use `symbol-value' for backward compatibility.
7319         * net/tramp.el (tramp-handle-make-symbolic-link)
7320         (tramp-handle-load)
7321         (tramp-do-copy-or-rename-file-via-buffer)
7322         (tramp-do-copy-or-rename-file-directly)
7323         (tramp-do-copy-or-rename-file-out-of-band)
7324         (tramp-handle-process-file, tramp-handle-call-process-region)
7325         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7326         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7327         (tramp-delete-temp-file-function): Use `delete-file' instead
7328         of `tramp-compat-delete-file'.
7330         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7331         (tramp-fish-handle-make-symbolic-link)
7332         (tramp-fish-handle-process-file): Use `delete-file' instead
7333         of `tramp-compat-delete-file'.
7335         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7336         Use `delete-file' instead of `tramp-compat-delete-file'.
7338         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7339         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7340         `tramp-compat-delete-file'.
7342         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7343         Use `delete-file' instead of `tramp-compat-delete-file'.
7345         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7346         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7347         (tramp-smb-handle-write-region): Use `delete-file' instead of
7348         `tramp-compat-delete-file'.
7349         (tramp-smb-handle-delete-directory): Use 'trash as arg.
7351 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7353         * dired.el (dired-delete-file): New arg TRASH.
7354         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
7355         (dired-do-flagged-delete, dired-do-delete): Use trash.
7357         * speedbar.el (speedbar-item-delete): Allow trashing.
7359         * files.el (delete-directory): New arg TRASH.
7361         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7362         (ange-ftp-rename-remote-to-remote)
7363         (ange-ftp-rename-local-to-remote)
7364         (ange-ftp-rename-remote-to-local, ange-ftp-load)
7365         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7366         `delete-file'.
7367         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7368         allow trashing.
7370         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7371         handle new TRASH arg of `delete-file'.
7373         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7374         (tramp-handle-make-symbolic-link, tramp-handle-load)
7375         (tramp-do-copy-or-rename-file-via-buffer)
7376         (tramp-do-copy-or-rename-file-directly)
7377         (tramp-do-copy-or-rename-file-out-of-band)
7378         (tramp-handle-process-file, tramp-handle-call-process-region)
7379         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7380         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7381         (tramp-delete-temp-file-function): Use null TRASH arg in
7382         tramp-compat-delete-file call.
7384         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7385         (tramp-fish-handle-delete-file)
7386         (tramp-fish-handle-make-symbolic-link)
7387         (tramp-fish-handle-process-file): Use null TRASH arg in
7388         `tramp-compat-delete-file' call.
7390         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7391         arg in `tramp-compat-delete-file' call.
7393         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7394         (tramp-gvfs-handle-write-region): Use null TRASH arg in
7395         `tramp-compat-delete-file' call.
7397         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7398         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7399         `tramp-compat-delete-file' call.
7401         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7402         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7403         (tramp-smb-handle-write-region): Use null TRASH arg in
7404         tramp-compat-delete-file call.
7405         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7406         (tramp-smb-handle-delete-file): Rename arg.
7408         * diff.el (diff-sentinel):
7409         * epg.el (epg--make-temp-file, epg-decrypt-string)
7410         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7411         * jka-compr.el (jka-compr-partial-uncompress)
7412         (jka-compr-call-process, jka-compr-write-region):
7413         * server.el (server-sentinel): Remove optional arg from
7414         delete-file, reverting 2010-05-03 change.
7416 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7418         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7419         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7421 2010-05-27  Kenichi Handa  <handa@m17n.org>
7423         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7424         element of GSTRING is nil.
7426 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7428         * emacs-lisp/smie.el (smie-forward-token-function)
7429         (smie-backward-token-function): New vars.
7430         (smie-backward-sexp, smie-forward-sexp)
7431         (smie-indent-hanging-p, smie-indent-calculate): Use them.
7432         (smie-default-backward-token): Rename from smie-backward-token and
7433         skip comments.
7434         (smie-default-forward-token): Rename from smie-forward-token and
7435         skip comments.
7436         (smie-next-sexp): Handle nil results from next-token.
7437         (smie-indent-calculate): Add a new case for special `fixindent' comments.
7439 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7441         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7442         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7444 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
7446         * htmlfontify.el (hfy-face-resolve-face): New function.
7447         (hfy-face-to-style): Use it (Bug#6279).
7449 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7451         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7452         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7454 2010-05-26  Glenn Morris  <rgm@gnu.org>
7456         * emulation/edt.el (edt-load-keys): Use locate-library.
7458 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
7460         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7461         (log-edit-changelog-entries): Doc fix.
7462         (log-edit-changelog-insert-entries): Args changed.
7463         Rename relative filenames in ChangeLog entries.  Delete tabs.
7464         (log-edit-insert-changelog-entries): Reorganize return value of
7465         `log-edit-changelog-entries' to pass filenames to
7466         log-edit-changelog-insert-entries.
7468 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7470         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7471         `image-dired-dired-insert-marked-thumbs' to
7472         `image-dired-dired-toggle-marked-thumbs'.
7474         * image-dired.el: Require cl when compiling.
7475         (image-dired-dired-toggle-marked-thumbs): Rename from
7476         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
7477         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
7478         to 'no-dir.  Skip files whose names don't match
7479         `image-file-name-regexp'.  When file has a thumbnail overlay,
7480         delete it.  (Bug#5270)
7482 2010-05-25  Juri Linkov  <juri@jurta.org>
7484         * image-mode.el (image-mode): Add image-after-revert-hook to
7485         after-revert-hook.
7486         (image-after-revert-hook): New function.  (Bug#5669)
7488 2010-05-25  Juri Linkov  <juri@jurta.org>
7490         * image.el (image-animated-p): When delay between animated images
7491         is 0, set it to 10 (0.1 sec).  (Bug#6258)
7493 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
7495         * net/tramp.el (tramp-handle-insert-directory): Don't use
7496         `forward-word', its default syntax could be changed.
7498 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
7500         * net/tramp.el (tramp-progress-reporter-update): New defun.
7501         (with-progress-reporter): Use it.
7502         (tramp-process-actions):
7503         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7504         Preserve current message, in order to let progress reporter continue
7505         afterwards.  (Bug#6257)
7507 2010-05-25  Glenn Morris  <rgm@gnu.org>
7509         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7510         Add :version.
7512 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7514         * net/rcirc.el (rcirc-default-user-name): Change to "user".
7515         (rcirc-default-full-name): Change to "unknown".
7516         (rcirc-user-name-history): Add variable.
7518 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7519             Jonathan Rockway  <jon@jrock.us>
7521         * net/rcirc.el (rcirc-server-alist): Add :pass.
7522         (rcirc): When prompting for connection parameters, also prompt for
7523         username and password.
7524         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
7525         value to server when connecting.
7527 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7529         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7530         (smie-merge-prec2s): Pass the tables as separate args.
7531         (smie-bnf-precedence-table): Adjust call accordingly.
7532         (smie-prec2-levels): Set levels at the end.
7534         Replace Lisp calls to delete-backward-char by delete-char.
7535         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7536         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7537         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7538         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7539         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7540         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7541         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7542         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7543         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7544         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7545         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7546         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7547         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7548         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7549         delete-backward-char by calls to delete-char.
7551 2010-05-25  Kenichi Handa  <handa@m17n.org>
7553         * language/hebrew.el (hebrew-shape-gstring): New function.
7554         Register it in composition-function-table for all Hebrew combining
7555         characters.
7557 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7559         * epa.el (epa--select-keys): Don't explicitly delete the window since
7560         that can fail (e.g. sole window in frame).  Use dedication instead.
7562 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
7564         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7566 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
7568         * image.el (image-refresh): Define as an alias for image-flush.
7570         * image-mode.el (image-toggle-display-image): Caller changed.
7572 2010-05-21  Juri Linkov  <juri@jurta.org>
7574         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7575         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
7576         whitespace, call wildcard-to-regexp on substrings and concat them
7577         with "\\|".  (Bug#6114)
7579 2010-05-21  Alan Mackenzie  <acm@muc.de>
7581         * progmodes/cc-engine.el (c-parse-state-get-strategy):
7582         Replace parameter `here' with `here-' and `here-plus', which sandwich
7583         any pertinent CPP construct.
7584         (c-remove-stale-state-cache-backwards): Fix a bug which happens
7585         when doing (c-parse-state) in a CPP construct: Exclude any "new"
7586         CPP construct from taking part in the scanning.
7588 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
7590         * net/tramp.el (tramp-do-copy-or-rename-file)
7591         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7592         Tune `with-progress-reporter' messages.
7593         (tramp-handle-vc-registered):
7594         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7595         (tramp-fish-handle-insert-file-contents)
7596         (tramp-fish-maybe-open-connection):
7597         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7598         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7599         (tramp-imap-handle-insert-file-contents)
7600         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7602 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
7604         * add-log.el (change-log-font-lock-keywords):
7605         Highlight all authors in multi-author entries.
7607         * smerge-mode.el (smerge-refine-ignore-whitespace)
7608         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7609         Fix typos in docstrings.
7610         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7612 2010-05-21  Glenn Morris  <rgm@gnu.org>
7614         * progmodes/fortran.el (fortran-mode):
7615         * progmodes/f90.el (f90-mode): Derive from prog-mode.
7617         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7618         having a relative path in src/Makefile.in.
7620 2010-05-20  Kevin Ryde  <user42@zip.com.au>
7622         * help-mode.el (help-make-xrefs): For Info node links turn
7623         newlines into spaces.  Link node names with newlines are matched
7624         by help-xref-info-regexp and buttonized, this change ensures they
7625         can be followed successfully with RET.  (Bug#6206)
7627 2010-05-20  Juri Linkov  <juri@jurta.org>
7629         * locate.el (locate): Use pop-to-buffer instead of
7630         switch-to-buffer-other-window.  (Bug#6204)
7632 2010-05-20  Juri Linkov  <juri@jurta.org>
7634         * replace.el (replace-highlight): Fix lazy-highlighting
7635         for `M-s w str M-% str RET'.
7637 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
7639         * isearch.el (isearch-yank-word-or-char): Pull next subword
7640         when `subword-mode' is activated.  (Bug#6220)
7642 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
7644         * isearch.el (isearch-update-post-hook): New hook.
7645         (isearch-update): Use the new hook.  (Bug#6225)
7647 2010-05-20  Juri Linkov  <juri@jurta.org>
7649         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7650         [f1], [help], and (char-to-string help-char) instead of "\C-h".
7651         (Bug#6222)
7653 2010-05-20  Juri Linkov  <juri@jurta.org>
7655         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7656         (Bug#6223)
7658 2010-05-20  Juri Linkov  <juri@jurta.org>
7660         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7661         FILE-NAME to read from the minibuffer when called interactively
7662         with prefix argument instead of using buffer-file-name.
7663         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7665         * dired.el: Update autoloads.
7667 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
7669         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7670         nxml-finish-element, for consistency with SGML mode.
7672         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7673         octave-close-block.
7675 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
7677         * composite.el: Require cl when compiling.
7678         (reference-point-alist, compose-gstring-for-graphic)
7679         (compose-gstring-for-terminal): Fix typos in docstrings.
7681 2010-05-19  Juri Linkov  <juri@jurta.org>
7683         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7684         set-window-parameter.
7686 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7688         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7689         where appropriate.
7690         (tramp-maybe-open-connection): Use it.
7692 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
7694         * simple.el (move-end-of-line): Make sure we are at line beginning
7695         before backing up to end of previous line.
7697 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7699         * password-cache.el (password-cache-remove): Fix docstring.
7701         * net/secrets.el: Autoload the widget functions.
7702         (secrets-search-items, secrets-create-item)
7703         (secrets-get-attributes, secrets-expand-item): Attributes will be
7704         stored on the password database without leading ":", as all other
7705         clients do as well.
7706         (secrets-mode): Fix docstring.
7707         (secrets-show-secrets): Provide it as autoloaded command only when
7708         D-Bus support is available.  Check existence of Secret Service API.
7710 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7712         * indent.el (indent-region): Deactivate region (bug#6200).
7714 2010-05-19  Glenn Morris  <rgm@gnu.org>
7716         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
7718 2010-05-19  Kenichi Handa  <handa@m17n.org>
7720         * composite.el: Register compose-gstring-for-graphic in
7721         composition-function-table only for combining characters (Mn, Mc, Me).
7723 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
7725         * calc/calc-trail.el (calc-trail-isearch-forward)
7726         (calc-trail-isearch-backward): Ensure that the new window
7727         point is set correctly.
7729 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7731         * subr.el (read-quoted-char): Resolve modifiers after key
7732         remapping (bug#6212).
7734 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
7736         Add visualization code for secrets.
7737         * net/secrets.el (secrets-mode): New major mode.
7738         (secrets-show-secrets, secrets-show-collections)
7739         (secrets-expand-collection, secrets-expand-item)
7740         (secrets-tree-widget-after-toggle-function)
7741         (secrets-tree-widget-show-password): New defuns.
7743 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7745         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7746         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7747         handled in smie-next-sexp.
7748         (smie-indent-calculate): Provide a starting indentation (so the
7749         recursion is well-founded ;-).
7751         Fix handling of non-associative equal levels.
7752         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7753         when it's not needed.
7754         (smie-op-left, smie-op-right): New functions.
7755         (smie-next-sexp): New function, extracted from smie-backward-sexp.
7756         Better handle equal levels to distinguish the associative case from
7757         the "multi-keyword construct" case.
7758         (smie-backward-sexp, smie-forward-sexp): Use it.
7760 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
7762         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7764         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7765         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7767 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7769         Provide a simple generic indentation engine and use it for Prolog.
7770         * emacs-lisp/smie.el: New file.
7771         * progmodes/prolog.el (prolog-smie-op-levels)
7772         (prolog-smie-indent-rules): New var.
7773         (prolog-mode-variables): Use them to configure SMIE.
7774         (prolog-indent-line, prolog-indent-level): Remove.
7776 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
7778         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7779         order before computing the averages.
7781 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
7783         * calc/calc-vec.el (calc-histogram):
7784         (calcFunc-histogram): Allow vectors as inputs.
7785         (math-vector-avg): New function.
7787         * calc/calc-ext.el (math-group-float): Have the number of digits
7788         being grouped depend on the radix (Bug#6189).
7790 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
7792         * version.el (emacs-copyright, emacs-version): Don't define here,
7793         now that emacs.c defines it.
7795 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
7797         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7798         "Describe Language Environment" menu item.
7800         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7802         Bidi-sensitive movement with arrow keys.
7803         * subr.el (right-arrow-command, left-arrow-command): New functions.
7805         * bindings.el (global-map): Bind them to right and left arrow keys.
7807         Don't override standard definition of convert-standard-filename.
7808         * files.el (convert-standard-filename):
7809         Call w32-convert-standard-filename and dos-convert-standard-filename on
7810         the corresponding systems.
7812         * w32-fns.el (w32-convert-standard-filename): Rename from
7813         convert-standard-filename.  Doc fix.
7815         * dos-fns.el (dos-convert-standard-filename): Doc fix.
7816         (convert-standard-filename): Don't defalias.
7817         (register-name-alist, make-register, register-value)
7818         (set-register-value, intdos): Obsolete aliases for the
7819         corresponding dos-* functions and variables.
7820         (dos-intdos): Add a doc string.
7822 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
7824         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7825         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7826         (math-compose-tex-func):
7827         * calc/calccomp.el (math-compose-expr):
7828         * calc/calc-ext.el (math-format-flat-expr-fancy):
7829         * calc/calc-store.el (calc-read-var-name):
7830         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7832         * calc/calc.el (var-π, var-φ, var-γ): New variables.
7833         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7834         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7835         (math-standard-units): Add units.
7837 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7839         * progmodes/asm-mode.el (asm-mode):
7840         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7842         * pcomplete.el (pcomplete-completions-at-point): New function,
7843         extracted from pcomplete-std-complete.
7844         (pcomplete-std-complete): Use it.
7846 2010-05-15  Glenn Morris  <rgm@gnu.org>
7848         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7849         Remove references to CVS, RCS and Old directories.
7851 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
7853         * calc/calc-bin.el (math-format-twos-complement): Group digits when
7854         appropriate.
7856 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7858         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7859         (sh-mode-syntax-table): Give it a default value instead.
7860         (sh-header-marker): Make buffer-local.
7861         (sh-mode): Move make-local-variable to the corresponding setq.
7862         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7863         Use complete-with-action.
7865         * simple.el (prog-mode): New (abstract) major mode.
7866         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7867         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7869 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
7871         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7872         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7873         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7874         (sql-make-alternate-buffer-name, sql-placeholders-filter)
7875         (sql-escape-newlines-filter, sql-input-sender)
7876         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7878 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
7880         Add TeX open-block and close-block keybindings to SGML, and vice versa.
7882         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7883         latex-open-block and C-c / to latex-close-block.
7885         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7886         and C-c C-e to sgml-close-tag.
7888 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
7890         * net/tramp.el (with-progress-reporter): Create reporter object
7891         only when the message would be displayed.  Handle nested calls.
7892         (tramp-handle-load, tramp-handle-file-local-copy)
7893         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7894         (tramp-maybe-send-script, tramp-find-shell):
7895         Use `with-progress-reporter'.
7896         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7897         Fix message text.
7899         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7900         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7901         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7902         Use `with-progress-reporter'.
7904 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
7906         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7907         process everytime when spellchecking from the minibuffer (bug#6143).
7909 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7911         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7913         * dos-fns.el: Add "dos-" prefix for namespace control.
7914         (convert-standard-filename): Define as alias for
7915         dos-convert-standard-filename but only if applicable.
7917 2010-05-12  Alan Mackenzie  <acm@muc.de>
7919         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7920         Push the mark at the start of these functions when appropriate.
7922 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7924         * minibuffer.el (completion-cycle-threshold): New custom var.
7925         (completion--do-completion): Use it.
7926         (minibuffer-complete): Use cycling if appropriate.
7928 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
7930         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7931         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7933 2010-05-11  Juri Linkov  <juri@jurta.org>
7935         * scroll-all.el (scroll-all-check-to-scroll):
7936         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7938 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7940         * iimage.el (iimage-mode-map): Move initialization into declaration.
7941         (iimage-mode-buffer): Use with-silent-modifications.
7942         Simplify calling convention.  Adjust callers.
7943         (iimage-mode): Don't run hook redundantly.
7945         * minibuffer.el (completion-pcm--pattern->regex):
7946         Fix last change (bug#6160).
7948 2010-05-10  Juri Linkov  <juri@jurta.org>
7950         Remove nodes visited during Isearch from the Info history.
7951         * info.el (Info-isearch-initial-history)
7952         (Info-isearch-initial-history-list): New variables.
7953         (Info-isearch-start): Record initial values of
7954         Info-isearch-initial-history and Info-isearch-initial-history-list.
7955         Add Info-isearch-end to isearch-mode-end-hook.
7956         (Info-isearch-end): New function.
7958 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
7960         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7961         format string, in order to work around a bug in pdksh.
7962         Reported by Gilles Pion <gpion@lfdj.com>.
7963         (tramp-handle-verify-visited-file-modtime): Do not send a command
7964         when the connection is not established.
7965         (tramp-handle-set-file-times): Simplify the check for utc.
7967 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
7969         Fix use of `filter-buffer-substring' (rework previous change).
7970         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7971         (cua-repeat-replace-region):
7972         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7973         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7974         (cua-cut-region-to-global-mark): Use it.
7976 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
7978         * progmodes/sql.el: Version 2.1.
7979         (sql-product-alist): Redesign structure of product info.
7980         (sql-product, sql-user, sql-server, sql-database): Safe variables.
7981         (sql-port, sql-port-history): New variables.
7982         (sql-interactive-product): New variable.
7983         (sql-send-terminator): New variable.
7984         (sql-imenu-generic-expression): Add "Types" imenu entry.
7985         (sql-oracle-login-params, sql-sqlite-login-params)
7986         (sql-mysql-login-params, sql-solid-login-params)
7987         (sql-sybase-login-params, sql-informix-login-params)
7988         (sql-ingres-login-params, sql-ms-login-params)
7989         (sql-postgres-login-params, sql-interbase-login-params)
7990         (sql-db2-login-params, sql-linter-login-params)
7991         (sql-oracle-scan-on): New variables.
7992         (sql-mode-map): Add C-c C-i to start interactive mode.
7993         (sql-mode-menu): Update existing menu entries.
7994         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7995         (sql-mode-oracle-font-lock-keywords)
7996         (sql-mode-postgres-font-lock-keywords)
7997         (sql-mode-ms-font-lock-keywords)
7998         (sql-mode-sybase-font-lock-keywords)
7999         (sql-mode-informix-font-lock-keywords)
8000         (sql-mode-interbase-font-lock-keywords)
8001         (sql-mode-ingres-font-lock-keywords)
8002         (sql-mode-solid-font-lock-keywords)
8003         (sql-mode-mysql-font-lock-keywords)
8004         (sql-mode-sqlite-font-lock-keywords)
8005         (sql-mode-db2-font-lock-keywords)
8006         (sql-mode-linter-font-lock-keywords): Update initialization to
8007         reduce run-time complexity.
8008         (sql-add-product, sql-del-product): New functions.
8009         (sql-set-product-feature, sql-get-product-feature): New functions.
8010         (sql-product-font-lock): Update product API.
8011         (sql-add-product-keywords): New function.
8012         (sql-highlight-product): Update product API.
8013         (sql-help-list-products): New function.
8014         (sql-help): Dynamically lists free and non-free products.
8015         (sql-get-login): Correct bug in handling history and added
8016         prompt for port.
8017         (sql-copy-column): Copy without properties.
8018         (sqli-input-sender): Apply filters to SQLi input.
8019         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8020         Implement as a filter.
8021         (sql-escape-newlines-filter): Implement as a filter.
8022         (sql-remove-tabs-filter): New function.
8023         (sql-send-magic-terminator): New function.
8024         (sql-send-string): Implement magic terminator.
8025         (sql-send-region): Use `sql-send-string'.
8026         (sql-interactive-mode): Use product API.
8027         (sql-product-interactive): Use product API.
8028         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8029         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8030         (sql-db2, sql-linter): Use `sql-product-interactive'.
8031         (sql-connect): New function.
8032         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8033         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8034         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8035         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8036         Use `sql-connect'.
8038 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8040         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8041         New custom variable.
8042         (completion-pcm--string->pattern): Use it.
8043         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8044         Make it handle any symbol as `any'.
8045         (completion-pcm--merge-completions): Extract common suffix for the new
8046         `prefix' symbol as well.
8047         (completion-substring--all-completions): Use the new `prefix' symbol.
8049 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
8051         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8052         not bound.
8053         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8054         (tramp-compat-funcall): New defmacro.
8055         (tramp-compat-line-beginning-position)
8056         (tramp-compat-line-end-position)
8057         (tramp-compat-temporary-file-directory)
8058         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8059         (tramp-compat-copy-file, tramp-compat-copy-directory)
8060         (tramp-compat-delete-file, tramp-compat-delete-directory)
8061         (tramp-compat-number-sequence, tramp-compat-process-running-p)
8062         * net/tramp.el (top, with-progress-reporter)
8063         (tramp-rfn-eshadow-setup-minibuffer)
8064         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8065         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8066         (tramp-completion-mode-p, tramp-check-for-regexp)
8067         (tramp-open-connection-setup-interactive-shell)
8068         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8069         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8070         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8071         * net/tramp-cmds.el (tramp-cleanup-all-connections)
8072         (tramp-reporter-dump-variable, tramp-load-report-modules)
8073         (tramp-append-tramp-buffers)
8074         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8076         * net/tramp-imap.el (top): Autoload `epg-make-context'.
8078 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8080         * progmodes/compile.el (compilation-buffer-modtime): Rename from
8081         buffer-modtime.  Adjust users.
8083 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8085         * international/mule.el (auto-coding-alist): Only purecopy
8086         car of each item, not the whole list (Bug#6083).
8088 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8090         * progmodes/js.el (js-mode): Make paragraph variables local before
8091         calling c-setup-paragraph-variables (Bug#6071).
8093 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
8095         * composite.el (compose-region, reference-point-alist): Fix typos
8096         in the doc strings.
8098 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8100         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8101         gnuplot's "set" command.
8103 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8105         * abbrev.el (last-abbrev-text): Doc fix.
8106         (abbrev-prefix-mark): Don't escape parenthesis.
8108 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
8110         * composite.el (find-composition): Doc fix.
8112 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8114         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8115         (sql-oracle-program, sql-sqlite-options)
8116         (sql-query-placeholders-and-send): Doc fixes.
8117         (sql-set-product, sql-interactive-mode): Reflow docstrings.
8118         (sql-imenu-generic-expression, sql-buffer)
8119         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8120         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8121         (sql-mode-sybase-font-lock-keywords)
8122         (sql-mode-informix-font-lock-keywords)
8123         (sql-mode-interbase-font-lock-keywords)
8124         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8125         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8126         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8127         (sql-product-feature, sql-highlight-product)
8128         (comint-line-beginning-position, sql-rename-buffer)
8129         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8130         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8131         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8132         Fix typos in docstrings.
8134 2010-05-08  Juri Linkov  <juri@jurta.org>
8136         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8137         property instead of `invisible' and `after-string' (bug#5998).
8139 2010-05-08  Juri Linkov  <juri@jurta.org>
8141         * image-mode.el (image-mode-as-text): Fix typo in docstring.
8143 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8145         * filecache.el (file-cache-add-directory-list)
8146         (file-cache-add-directory-recursively): Fix typos in docstrings.
8148 2010-05-08  Kenichi Handa  <handa@m17n.org>
8150         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8151         (gujarati-composable-pattern): Fix typo.
8153 2010-05-08  Kenichi Handa  <handa@m17n.org>
8155         * language/indian.el (oriya-composable-pattern)
8156         (tamil-composable-pattern, malayalam-composable-pattern):
8157         Add two-part vowels to "v" (vowel sign).
8159 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8161         * files.el (copy-directory): Handle symlinks (Bug#5982).
8163 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
8165         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8166         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
8167         (Bug#5846).
8169 2010-05-08  Glenn Morris  <rgm@gnu.org>
8171         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8173         * minibuffer.el (completion-at-point): Doc fix.
8175 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8177         * electric.el (Electric-command-loop): Minor tweak.
8179         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8180         better with dedicated windows.
8182 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
8184         * Version 23.2 released.
8186 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
8187             Stefan Monnier  <monnier@iro.umontreal.ca>
8189         Highlight vendor specific properties.
8190         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8191         (css-proprietary-property): New face.
8192         (css-font-lock-keywords): Use them.
8194 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
8196         * cus-start.el (all): Add native condition for tool-bar-* symbols.
8198 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8200         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8201         * files.el (auto-mode-alist): Remove redundant entries.
8203         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8204         * simple.el (auto-save-mode): Move from files.el.
8205         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8207 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
8209         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8211 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
8213         * mail/binhex.el (binhex-decode-region-internal)
8214         * mail/uudecode.el (uudecode-decode-region-internal)
8215         * net/dns.el (dns-read-string-name, dns-write, dns-read)
8216         (dns-read-type, dns-query)
8217         * pgg-parse.el (pgg-parse-armor)
8218         * pgg.el (pgg-verify-region)
8219         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8220         XEmacs.
8222         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8224 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
8226         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8228         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8229         * emulation/cua-base.el (cua-repeat-replace-region):
8230         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8231         (cua-cut-region-to-global-mark):
8232         Remove text properties with `set-text-properties'.
8234 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
8236         * net/tramp.el (top, with-progress-reporter):
8237         Use `symbol-function' inside `funcall'.
8239         * net/tramp-compat.el (tramp-compat-file-attributes)
8240         (tramp-compat-delete-file, tramp-compat-delete-directory):
8241         Handle only `wrong-number-of-arguments' error.
8243         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8244         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8245         inside `funcall'.
8247 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8249         * minibuffer.el (completion--sreverse, completion--common-suffix):
8250         New functions.
8251         (completion-pcm--merge-completions): Extract common suffix when safe.
8253         * emacs-lisp/easy-mmode.el (define-minor-mode):
8254         Make :variable more flexible.
8255         * files.el (auto-save-mode): Use it to define using define-minor-mode.
8257 2010-05-05  Juri Linkov  <juri@jurta.org>
8259         Add `slow' and `history' tags to the desktop data.
8261         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8262         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8263         (Info-finder-find-node): Require `finder.el' to be able
8264         to restore node from the desktop.
8265         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
8266         data `Info-history' and `slow' tag in the assoc list.
8267         (Info-restore-desktop-buffer): Don't restore nodes with the
8268         `slow' tag.  Restore `Info-history'.
8270 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
8272         Add FORCE argument to `delete-file'.
8274         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8275         forcing to delete the temporary file.
8276         (ange-ftp-delete-file): Add FORCE arg.
8277         (ange-ftp-rename-remote-to-remote)
8278         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8279         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8280         Force file deletion.
8282         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8284         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8285         (tramp-handle-make-symbolic-link, tramp-handle-load)
8286         (tramp-do-copy-or-rename-file-via-buffer)
8287         (tramp-do-copy-or-rename-file-directly)
8288         (tramp-do-copy-or-rename-file-out-of-band)
8289         (tramp-handle-process-file, tramp-handle-call-process-region)
8290         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8291         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8292         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8294         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8295         (tramp-fish-handle-make-symbolic-link)
8296         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8298         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8299         Use `tramp-compat-delete-file'.
8301         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8302         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8304         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8305         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8307         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8308         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8309         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8310         Use `tramp-compat-delete-file'.
8312 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8314         Minor cleanups.
8315         * subr.el (add-minor-mode): Use push.
8316         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8317         * emulation/edt.el (edt-select-mode): Simplify.
8319         Use define-minor-mode in more cases.
8320         * term/tvi970.el (tvi970-set-keypad-mode):
8321         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8322         (normal-erase-is-backspace-mode):
8323         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8324         (set-scroll-bar-mode-1): (Re)move to its sole caller.
8325         (get-scroll-bar-mode): New function.
8326         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8328         Use define-minor-mode for less obvious cases.
8329         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8330         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8331         * international/iso-ascii.el (iso-ascii-mode):
8332         * frame.el (auto-raise-mode, auto-lower-mode):
8333         * composite.el (global-auto-composition-mode): Use define-minor-mode.
8335 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
8337         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8338         in order to see error messages for failed logins.
8340 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
8342         * diff.el (diff-sentinel):
8344         * epg.el (epg--make-temp-file, epg-decrypt-string)
8345         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8347         * jka-compr.el (jka-compr-partial-uncompress)
8348         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8350         * server.el (server-sentinel): Use delete-file's new FORCE arg
8351         (Bug#6070).
8353 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8355         Use define-minor-mode where applicable.
8356         * view.el (view-mode):
8357         * type-break.el (type-break-query-mode)
8358         (type-break-mode-line-message-mode):
8359         * textmodes/reftex.el (reftex-mode):
8360         * term/vt100.el (vt100-wide-mode):
8361         * tar-mode.el (tar-subfile-mode):
8362         * savehist.el (savehist-mode):
8363         * ibuf-ext.el (ibuffer-auto-mode):
8364         * composite.el (auto-composition-mode):
8365         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8366         Use define-minor-mode.
8367         (vhdl-mode): Use static mode-line format.
8368         (vhdl-mode-line-update): Delete.
8369         (vhdl-create-mode-menu, vhdl-activate-customizations)
8370         (vhdl-hs-minor-mode): Don't bother calling it.
8372 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8374         * simple.el (with-wrapper-hook): Move.
8375         (buffer-substring-filters): Mark obsolete.
8376         (filter-buffer-substring-functions): New variable.
8377         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
8379 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
8380             Michael Albinus  <michael.albinus@gmx.de>
8382         Implement compression for inline methods.
8384         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8385         (tramp-copy-size-limit): Allow also nil.
8386         (tramp-inline-compress-commands): New defconst.
8387         (tramp-find-inline-compress, tramp-get-inline-compress)
8388         (tramp-get-inline-coding): New defuns.
8389         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8390         replaced by `tramp-get-inline-coding'.
8391         (tramp-handle-file-local-copy, tramp-handle-write-region)
8392         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8394 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8396         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8397         Remove unused functions.
8399         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8400         Set find-tag-default-function as a variable rather than a property.
8402         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8403         * progmodes/etags.el (tags-completion-at-point-function):
8404         Remove left over interactive spec.  Add autoloading stub.
8405         (complete-tag): Use tags-completion-at-point-function.
8407 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
8409         * minibuffer.el (tags-completion-at-point-function): Fix return value.
8411 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8413         * ido.el (ido-init-completion-maps): Remove C-v binding.
8414         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8416 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8418         * minibuffer.el (tags-completion-at-point-function): New function.
8419         (completion-at-point-functions): Use it.
8421         * progmodes/etags.el (complete-tag): Revert last change.
8423 2010-04-29  Alan Mackenzie  <acm@muc.de>
8425         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8426         off-by-one error (in end of macro position).
8428 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8430         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8431         firefox is absent.  Don't autoload.
8432         (browse-url-galeon-program): Don't autoload.
8434 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8436         * bindings.el (complete-symbol): Move into minibuffer.el.
8438         * minibuffer.el (complete-tag): Move from etags.el.  If tags
8439         completion cannot be performed, return nil instead of signalling
8440         an error.
8441         (completion-at-point): Make it an alias for complete-symbol.
8442         (complete-symbol): Move from bindings.el, and replace with the
8443         body of completion-at-point.
8445         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8447 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
8449         * net/tramp.el (tramp-remote-selinux-p): New defun.
8450         (tramp-handle-file-selinux-context)
8451         (tramp-handle-set-file-selinux-context): Use it.
8453 2010-04-28  Sam Steingold  <sds@gnu.org>
8455         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8456         `safe-local-variable' if the value is a string or a symbol with
8457         the property `bug-reference-url-format'.
8459 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8461         * progmodes/bug-reference.el (bug-reference-url-format):
8462         Revert 2010-04-27 change due to security risk.
8464 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8466         Make it possible to locally disable a globally enabled mode.
8467         * simple.el (fundamental-mode): Run fundamental-mode-hook.
8468         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8469         rather than kill-all-local-variables so it runs fundamental-mode-hook.
8470         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8471         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8472         that subsequent hooks get a chance to disable it.
8474 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8476         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8477         Avoid re-enabling a minor mode after the user turned the minor mode
8478         off if MODE-enable-in-buffers is run twice (typically once from
8479         fundamental-mode's after-change-major-mode-hook and a second time from
8480         run-mode-hook's own after-change-major-mode-hook).
8482         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8484 2010-04-27  Sam Steingold  <sds@gnu.org>
8486         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8487         `safe-local-variable' if the value is a string or a function, as
8488         documented and implemented on 2010-04-02.
8490 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
8492         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8493         when method is 'kill.
8495 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
8497         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8498         condition in default directory check.
8499         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8500         Kill ispell process when killing its associated buffer.
8502 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
8504         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8505         but we aren't using it.
8507 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
8509         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8510         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8512 2010-04-24  Glenn Morris  <rgm@gnu.org>
8514         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8515         Ignore VCS-ignore files, and deleted nextstep preferences files.
8516         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8517         (authors-ambiguous-files): New list.
8518         (authors-valid-file-names): Add some deleted files.
8519         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8520         (authors-disambiguate-file-name): New function.  (Bug#5501)
8521         (authors-canonical-file-name): Doc fix.
8522         Don't warn about obsolete files.
8523         (authors-canonical-file-name, authors-scan-el):
8524         Use authors-disambiguate-file-name.
8526         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8527         Add autoload cookies.
8528         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8529         (generated-autoload-file): Set file-local value to "htmlfontify.el".
8530         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8531         They have definitions / compiler macros in cl.el.
8532         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8533         Replace manual autoloads with generated ones.
8534         (htmlfontify-unload-rgb-file): Remove autoload.
8535         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8537 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8539         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8540         (byte-compile-setq-default): Optimize for the
8541         single-var case and don't call byte-compile-form in this case to avoid
8542         inf-loop with byte-compile-set-default.
8544         * progmodes/compile.el (compilation-start): Abbreviate default directory.
8546 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
8548         Implement SELINUX backends.
8550         * net/tramp.el (tramp-file-name-handler-alist):
8551         Add `file-selinux-context' and `set-file-selinux-context'.
8552         (tramp-handle-file-selinux-context)
8553         (tramp-handle-set-file-selinux-context): New defuns.
8554         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8555         Handle PRESERVE-SELINUX-CONTEXT.
8557         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8558         Add `file-selinux-context' and `set-file-selinux-context'.
8559         (tramp-gvfs-handle-file-selinux-context)
8560         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8561         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8563         * net/ange-ftp.el (ange-ftp-copy-file):
8564         * net/tramp-fish.el (tramp-fish-handle-copy-file):
8565         * net/tramp-imap.el (tramp-imap-handle-copy-file):
8566         * net/tramp-smb.el (tramp-smb-handle-copy-file):
8567         Add PRESERVE-SELINUX-CONTEXT.
8569 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8571         Synchronize with Tramp repository.
8573         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8574         (tramp-action-process-alive, tramp-action-out-of-band)
8575         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8576         (tramp-exists-file-name-handler): Fix docstring.
8577         (with-progress-reporter): New defmacro.
8578         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8579         (tramp-maybe-open-connection): Use it.
8581 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
8583         Detect ssh 'ControlMaster' argument automatically in some cases.
8585         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8586         (tramp-default-method): Use it.
8588 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8590         * net/tramp.el (tramp-handle-copy-file): Add new optional
8591         parameter `preserve-selinux-context'.
8592         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8594 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8596         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8597         Ensure, that non remote files are still checked.  Oops.
8599 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
8601         Fix Bug#5840.
8603         * icomplete.el (icomplete-completions): Use `non-essential'.
8605         * net/tramp.el (tramp-connectable-p): New defun.
8606         (tramp-handle-expand-file-name)
8607         (tramp-completion-handle-file-name-all-completions)
8608         (tramp-completion-handle-file-name-completion): Use it.
8610 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8612         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8614 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
8616         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8618         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8620         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8621         is present.
8623         * info.el (info-tool-bar-map): Add labels.
8625         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8627         * cus-edit.el (custom-commands): Add labels for tool bar.
8628         (custom-buffer-create-internal, Custom-mode): Adjust for
8629         labels in custom-commands.
8631         * dynamic-setting.el: Renamed from font-setting.el.
8633 2010-04-21  John Wiegley  <jwiegley@gmail.com>
8635         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8636         toggles the use of virtual buffers.
8637         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8638         (ido-toggle-virtual-buffers): New function.
8640 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
8642         Use `define-derived-mode'; fix window selection; doc fixes.
8643         * play/tetris.el (tetris, tetris-update-speed-function)
8644         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8645         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8646         (tetris-rotate-next, tetris-end-game, tetris-start-game)
8647         (tetris-pause-game): Fix typos in docstrings.
8648         (tetris-mode-map, tetris-null-map):
8649         Move initialization into declaration.
8650         (tetris-mode): Define with `define-derived-mode';
8651         set show-trailing-whitespace to nil.
8652         (tetris): Prefer window already displaying the "*Tetris*" buffer.
8654 2010-04-21  Karel Klíč  <kklic@redhat.com>
8656         * files.el (backup-buffer): Handle SELinux context, and return it
8657         if a backup was made by renaming.
8658         (backup-buffer-copy): Set SELinux context to the target file.
8659         (basic-save-buffer): Set SELinux context of the newly written file.
8660         (basic-save-buffer-1): Now it also returns any SELinux context.
8661         (basic-save-buffer-2): Set SELinux context of the newly created file,
8662         and return it.
8663         * net/tramp.el (tramp-file-name-for-operation):
8664         Add file-selinux-context.
8666 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8668         Make the log-edit comments use RFC822 format throughout.
8670         * vc.el (vc-checkin, vc-modify-change-comment):
8671         Adjust to new vc-start/finish-logentry.
8672         (vc-find-conflicted-file): New command.
8673         (vc-transfer-file): Adjust to new vc-checkin.
8674         (vc-next-action): Improve scoping.
8676         * vc-hg.el (vc-hg-log-edit-mode): Remove.
8677         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
8679         * vc-git.el (vc-git-log-edit-mode): Remove.
8680         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
8681         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8683         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8684         (vc-start-logentry): Remove argument `extra'.
8685         (vc-finish-logentry): Remove extra args.
8687         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8688         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
8689         (vc-bzr-conflicted-files): New function.
8691         * log-edit.el (log-edit-extra-flags)
8692         (log-edit-before-checkin-process): Remove.
8693         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8694         (log-edit-headers-alist): New var.
8695         (log-edit-header-contents-regexp): New const.
8696         (log-edit-match-to-eoh): New function.
8697         (log-edit-font-lock-keywords): Use them.
8698         (log-edit): Insert a "Summary:" header as default.
8699         (log-edit-mode): Mark font-lock rules as case-insensitive.
8700         (log-edit-done): Cleanup headers.
8701         (log-view-process-buffer): Remove.
8702         (log-edit-extract-headers): New function to replace it.
8704 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
8706         * subr.el (default-direction-reversed): Remove obsolescence info.
8708 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8710         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8711         windows/frames.
8713         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8714         I.e. include text after point in the completion region.
8715         Also, return nil when we're not after/in a symbol.
8717         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8718         default enable-multibyte-characters.
8720 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8722         * international/mule.el: Help the user choose a valid coding-system.
8723         (read-buffer-file-coding-system): New function.
8724         (set-buffer-file-coding-system): Use it.  Prompt the user if the
8725         coding-system cannot encode all the chars.
8727         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8728         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8729         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8730         Don't use *vc-bzr-shelve*.
8732 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
8734         Fix the version number for added files.
8735         * vc-hg.el (vc-hg-working-revision): Check if the file is
8736         registered after hg parent fails (Bug#5961).
8738 2010-04-19  Glenn Morris  <rgm@gnu.org>
8740         * htmlfontify.el (htmlfontify-buffer)
8741         (htmlfontify-copy-and-link-dir): Autoload entry points.
8743 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
8745         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8746         name relative to the project root (Bug#5960).
8748 2010-04-19  Glenn Morris  <rgm@gnu.org>
8750         * vc-git.el (vc-git-print-log): Doc fix.
8752 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
8754         * ido.el (ido-file-internal): Fix 2009-12-02 change.
8756 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
8758         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8759         default settings (Bug#5928).
8761 2010-04-19  Glenn Morris  <rgm@gnu.org>
8763         * progmodes/fortran.el (fortran-match-and-skip-declaration):
8764         New function.
8765         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
8767 2010-04-19  Kenichi Handa  <handa@m17n.org>
8769         * language/indian.el (malayalam-composable-pattern): Fix previous
8770         change (add U+0D4D "SIGN VIRAMA").
8771         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8772         (tamil-composable-pattern): Fix typo in the regexp.
8773         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8774         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8775         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8777 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8779         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8780         paragraph-separate (Bug#5821).
8782 2010-04-19  Juri Linkov  <juri@jurta.org>
8784         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8786         * info.el (Info-find-node-2): Comment out code that skips
8787         breadcrumbs line.
8788         (Info-mouse-follow-link): New command.
8789         (Info-link-keymap): New keymap.
8790         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8791         Return a string with links instead of inserting breadcrumbs
8792         to the Info buffer.
8793         (Info-fontify-node): Comment out code that inserts breadcrumbs.
8794         Instead of putting the `invisible' text property over the Info
8795         header, make an overlay over the Info header with the `invisible'
8796         property and `after-string' set to the string returned by
8797         `Info-breadcrumbs'.
8799 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8801         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8802         Reported by monkey@sandpframing.com.
8804 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8806         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8807         (tmm-get-keymap): Add key-binding shortcuts now that they're not
8808         available in the "keyseq cache" any more.
8810         * custom.el (defcustom): Add edebug spec.
8812 2010-04-18  Juri Linkov  <juri@jurta.org>
8814         Test for special mode-class in view-buffer instead of view-file (bug#5513).
8816         * view.el (view-file, view-buffer): Move test for special mode-class
8817         from view-file to view-buffer.
8819         * tar-mode.el (tar-extract): Turn if's into one cond
8820         like in arc-mode.el.
8822 2010-04-18  Juri Linkov  <juri@jurta.org>
8824         Add 7z archive format support (bug#5475).
8826         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8827         (archive-7z-extract): New defcustom.
8828         (archive-find-type): Add magic string for 7z.
8829         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8830         If `stderr-file' is non-nil, use `(t stderr-file)' for the
8831         `buffer' arg of `call-process'.
8832         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8833         call the function `archive-7z-extract' with the variable
8834         `archive-7z-extract' let-bound to `archive-zip-extract'.
8835         (archive-7z-summarize, archive-7z-extract): New functions.
8837         * international/mule.el (auto-coding-alist):
8838         * files.el (auto-mode-alist): Add 7z file extension.
8840 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8842         * loadup.el: Setup hash-cons for pure data.
8844         Fix duplicate entries in cedet's loaddefs.el files.
8845         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8846         Should make most file-local generated-autoload-file unnecessary.
8847         (print-readably): Silence warnings.
8848         (autoload-find-destination): Take load-name as an arg to make sure
8849         it's the same as the one that will be in the file.
8850         (autoload-generate-file-autoloads): Adjust to above changes.
8851         Try to make the dataflow a bit simpler.
8853         * cvs-status.el (cvs-refontify): Remove unused.
8855 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
8857         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8859         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8860         twos-complement mode.
8862 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
8864         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8865         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
8866         (calc-inverse): Add "Option" to message, as appropriate.
8867         (calc-hyperbolic): Add "Option" to message, as appropriate.
8868         (calc-option, calc-is-option): New functions.
8870         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8871         (calc-option-prefix-help): New function.
8873         * calc/calc-misc.el (calc-help): Add "Option" entry.
8875         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8876         (calc-option-flag): New variable.
8877         (calc-do): Set `calc-option-flag to nil.
8878         (calc-set-mode-line): Add "Opt " as appropriate.
8880 2010-04-16  Juri Linkov  <juri@jurta.org>
8882         Move scrolling commands from simple.el to window.el
8883         because their primitives are implemented in window.c.
8885         * simple.el (scroll-error-top-bottom)
8886         (scroll-up-command, scroll-down-command, scroll-up-line)
8887         (scroll-down-line, scroll-other-window-down)
8888         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8889         * window.el (scroll-error-top-bottom)
8890         (scroll-up-command, scroll-down-command, scroll-up-line)
8891         (scroll-down-line, scroll-other-window-down)
8892         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8893         Move from simple.el to window.el because their primitives are
8894         implemented in window.c.
8896 2010-04-16  Juri Linkov  <juri@jurta.org>
8898         * isearch.el (isearch-lookup-scroll-key): Check both
8899         `isearch-scroll' and `scroll-command' properties.
8900         (scroll-up, scroll-down): Remove `isearch-scroll' property.
8902         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8904         * simple.el (scroll-up-command, scroll-down-command)
8905         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8907 2010-04-15  Juri Linkov  <juri@jurta.org>
8909         * simple.el (scroll-up-command, scroll-down-command)
8910         (scroll-up-line, scroll-down-line): Put `scroll-command'
8911         property on the these symbols.  Remove them from
8912         `scroll-preserve-screen-position-commands'.
8914         * mwheel.el (mwheel-scroll): Put `scroll-command' and
8915         `isearch-scroll' properties on the `mwheel-scroll' symbol.
8916         Remove it from `scroll-preserve-screen-position-commands'.
8918         * isearch.el (isearch-allow-scroll): Doc fix.
8920 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
8922         * net/tramp.el (tramp-error-with-buffer): Don't show the
8923         connection buffer when we are in completion mode.
8924         (tramp-file-name-handler): Catch the error for some operations
8925         when we are in completion mode.  This gives the user the chance to
8926         correct the file name in the minibuffer.
8928 2010-04-15  Glenn Morris  <rgm@gnu.org>
8930         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8932 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
8934         Simplify by using `define-derived-mode'.
8935         * info.el (Info-mode):
8936         * calendar/todo-mode.el (todo-mode):
8937         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8938         (gomoku-mode-map): Move initialization into declaration.
8940 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
8942         Fix Bug#5840.
8943         * ido.el (ido-file-name-all-completions-1):
8944         * minibuffer.el (minibuffer-completion-help):
8945         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8947 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8949         * simple.el (non-essential): New var.
8951         Add a new field `location' to bookmarks for non-file bookmarks.
8952         * bookmark.el (bookmark-location): Use the new field, if present.
8953         (bookmark-insert-location): Undo last change, not needed any more.
8954         * man.el (Man-bookmark-make-record):
8955         * woman.el (woman-bookmark-make-record): Add `location' field.
8957 2010-04-14  Juri Linkov  <juri@jurta.org>
8959         * simple.el (scroll-error-top-bottom): New defcustom.
8960         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
8962         * emulation/pc-select.el (pc-select-override-scroll-error):
8963         Obsolete in favor of `scroll-error-top-bottom'.
8965 2010-04-14  Juri Linkov  <juri@jurta.org>
8967         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8968         `scroll-up-command' and `M-v' to `scroll-down-command'.
8970         * emulation/cua-rect.el (cua--init-rectangles):
8971         * forms.el (forms--change-commands):
8972         * image-mode.el (image-mode-map):
8973         Remap scroll-down-command and scroll-up-command
8974         in addition to scroll-down and scroll-up.
8976 2010-04-14  Juri Linkov  <juri@jurta.org>
8978         * mwheel.el (scroll-preserve-screen-position-commands):
8979         Add mwheel-scroll to this list of commands.
8981         * simple.el (scroll-preserve-screen-position-commands):
8982         Add scroll-up-command, scroll-down-command, scroll-up-line,
8983         scroll-down-line to this list of commands.
8985 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8987         * obsolete/complete.el: Move from lisp/complete.el.
8989         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8991         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8992         to the minor mode function now turns the mode ON unconditionally.
8994 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8996         * vc-dir.el (vc-dir-kill-line): New command.
8997         (vc-dir-mode-map): Bind it to C-k.
8999         * bookmark.el (bookmark-insert-location): Handle a nil filename.
9001         * woman.el: Add bookmark declarations to silence the compiler.
9002         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9003         step to compatibility between man and woman bookmarks.
9004         Adjust for Man-default-bookmark-title renaming.
9005         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
9007         * man.el: Add bookmark declarations to silence the compiler.
9008         (Man-name-local-regexp): Make it match NAME as well.
9009         (Man-getpage-in-background): Return the buffer.
9010         (Man-notify-when-ready): Use `case'.
9011         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9012         Don't hardcode "NAME".  Simplify.
9013         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9014         Rename from Man-bookmark-make-record.
9015         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
9016         we have the actual man-args.  Use Man-getpage-in-background rather
9017         than `man' since the arg is already processed.  Let bookmark.el do the
9018         window handling.  Only wait for the relevant process.
9019         Don't forget to autoload.
9021         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9023 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9025         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9026         New functions.
9027         (woman-mode): Setup bookmark support.
9029         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9030         (man-bookmark-jump): New functions.
9031         (Man-mode): Setup bookmark support.
9033 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
9035         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9036         recognize ssh-keygen prompt (Bug#2817).
9038 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
9040         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9042 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
9044         Synchronize with Tramp repository.
9046         * net/tramp.el (tramp-completion-function-alist)
9047         (tramp-file-name-regexp, tramp-chunksize)
9048         (tramp-local-coding-commands, tramp-remote-coding-commands):
9049         Fix docstring.
9050         (tramp-remote-process-environment): Use `format' instead of `concat'.
9051         (tramp-handle-directory-files-and-attributes)
9052         (tramp-get-remote-path): Use `copy-tree'.
9053         (tramp-handle-file-name-all-completions): Backward/ XEmacs
9054         compatibility: Use `completion-ignore-case' if
9055         `read-file-name-completion-ignore-case' does not exist.
9056         (tramp-do-copy-or-rename-file-directly): Do not use
9057         `tramp-handle-file-remote-p'.
9058         (tramp-do-copy-or-rename-file-out-of-band):
9059         Use `tramp-compat-delete-directory'.
9060         (tramp-do-copy-or-rename-file-out-of-band)
9061         (tramp-compute-multi-hops, tramp-maybe-open-connection):
9062         Use `format-spec-make'.
9063         (tramp-find-foreign-file-name-handler)
9064         (tramp-advice-make-auto-save-file-name)
9065         (tramp-set-auto-save-file-modes): Remove superfluous check for
9066         `stringp'.  This is done inside `tramp-tramp-file-p'.
9067         (tramp-debug-outline-regexp): New defconst.
9068         (tramp-get-debug-buffer): Use it.
9069         (tramp-check-for-regexp): Use (forward-line 1).
9070         (tramp-set-auto-save-file-modes): Adapt version check.
9072         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9073         Wrap call of `featurep' for 2nd argument.
9074         (tramp-compat-make-temp-file): Simplify fallback implementation.
9075         (tramp-compat-copy-tree): Remove function.
9076         (tramp-compat-delete-directory): Provide implementation for older
9077         Emacsen.
9079         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9080         Do not use `tramp-fish-handle-file-attributes.
9082         * net/trampver.el: Update release number.
9084 2010-04-10  Glenn Morris  <rgm@gnu.org>
9086         * progmodes/compile.el (compilation-save-buffers-predicate):
9087         Add missing :version tag.
9089 2010-04-09  Sam Steingold  <sds@gnu.org>
9091         * progmodes/compile.el (compilation-save-buffers-predicate):
9092         Remove the "autoload" cookie.
9094         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9095         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9096         and `bug-reference-prog-mode' can be used in hooks directly.
9098 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
9100         Add --author support to git commit.
9101         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9102         (vc-git-log-edit-mode): New minor mode.
9103         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9104         New declarations.
9106 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
9108         * vc-hooks.el, vc-git.el: Improve documentation comments.
9110 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9112         Fix some of the problems in defsubst* (bug#5728).
9113         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9114         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9116 2010-04-07  Sam Steingold  <sds@gnu.org>
9118         * progmodes/compile.el (compilation-save-buffers-predicate):
9119         New custom variable.
9120         (compile, recompile): Pass it to `save-some-buffers'.
9122 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
9124         * wid-edit.el (widget-choose): Move cursor to the second line of
9125         the buffer (Bug#5695).
9127 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
9129         Add new VC methods: vc-log-incoming and vc-log-outgoing.
9130         * vc.el (vc-print-log-setup-buttons): New function split out from
9131         vc-print-log-internal.
9132         (vc-log-internal-common): New function, a parametrized version of
9133         vc-print-log-internal.
9134         (vc-print-log-internal): Just call vc-log-internal-common with the
9135         right arguments.
9136         (vc-incoming-outgoing-internal):
9137         (vc-log-incoming, vc-log-outgoing): New functions.
9138         (vc-log-view-type): New permanent local variable.
9140         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9142         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9143         of the dynamic bound vc-short-log.
9144         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9146         * vc-git.el (vc-git-log-outgoing): New function.
9147         (vc-git-log-view-mode): Use vc-log-view-type instead
9148         of the dynamic bound vc-short-log.
9150         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9151         of the dynamic bound vc-short-log.  Highlight the tag.
9152         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9153         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9154         (vc-hg-incoming-mode): Remove.
9155         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9157 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
9159         Fix default-directory for vc-root-diff.
9160         * vc.el (vc-root-diff): Bind default-directory to the root
9161         directory for the diff command.
9163 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
9165         * progmodes/verilog-mode.el (verilog-forward-sexp):
9166         (verilog-calc-1): Support "disable fork" and "fork wait" multi
9167         word keywords, suggested by Steve Pearlmutter.
9168         (verilog-pretty-declarations): Support lineup of declarations in
9169         port lists.
9170         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9171         fix bug for /* / comments.
9172         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9173         Speed up and simplfy as this is never called with a bound.
9174         (verilog-pretty-declarations): Enhance to line up declarations
9175         inside a parameter list, suggested by Alan Morgan.
9176         (verilog-pretty-expr): Tune assignment regular expression match
9177         string for corner cases; also use markers instead of character
9178         number as indent changes the later.
9180 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
9182         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9183         as missing keyword.
9184         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9185         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
9186         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9187         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
9188         Tennant.
9189         (verilog-keywords):
9190         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9191         1800-2009 keywords, including "global.".
9193 2010-04-06  John Wiegley  <jwiegley@gmail.com>
9195         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9196         appearing in buffer list (if a live buffer name matched a recentf
9197         file basename).  Should use uniquify to offer a real solution.
9199 2010-04-06  John Wiegley  <jwiegley@gmail.com>
9201         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9202         comment to code, and add a :version tag.
9203         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9205 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
9207         Enable recentf-mode if using virtual buffers.
9208         * ido.el (recentf-list): Declare for byte-compiler.
9209         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
9210         (ido-make-buffer-list): Simplify.
9211         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
9213 2010-04-05  Juri Linkov  <juri@jurta.org>
9215         Scrolling commands which scroll a line instead of full screen.
9216         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9218         * simple.el (scroll-up-line, scroll-down-line): New commands.
9219         Put property isearch-scroll=t on them.
9221         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9222         Remove commands.
9224 2010-04-05  Juri Linkov  <juri@jurta.org>
9226         Scrolling commands which do not signal errors at top/bottom.
9227         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9229         * simple.el (scroll-up-command, scroll-down-command): New commands.
9230         Put property isearch-scroll=t on them.
9232         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9233         `scroll-down-command' and [next] from `scroll-up' to
9234         `scroll-up-command'.
9236         * emulation/cua-base.el: Put property CUA=move on
9237         `scroll-up-command' and `scroll-down-command'.
9238         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9239         and `scroll-down-command' to `cua-scroll-down'.
9241 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
9243         * help.el (describe-mode): Return nil.
9245 2010-04-04  John Wiegley  <jwiegley@gmail.com>
9247         * ido.el (ido-use-virtual-buffers): New variable to indicate
9248         whether "virtual buffer" support is enabled for IDO.
9249         (ido-virtual): Face used to indicate virtual buffers in the list.
9250         (ido-buffer-internal): If a buffer is chosen, and no such buffer
9251         exists, but a virtual buffer of that name does (which would be why
9252         it was in the list), recreate the buffer by reopening the file.
9253         (ido-make-buffer-list): If virtual buffers are being used, call
9254         `ido-add-virtual-buffers-to-list' before the make list hook.
9255         (ido-virtual-buffers): New variable which contains a copy of the
9256         current contents of the `recentf-list', albeit pared down for the
9257         sake of speed, and with proper faces applied.
9258         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9259         create a list of "virtual buffers" to present to the user in
9260         addition to the currently open set.  Note that this logic could
9261         get rather slow if that list is too large.  With the default
9262         `recentf-max-saved-items' of 200, there is little speed penalty.
9264 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9266         * font-lock.el: Require CL when compiling.
9267         (font-lock-turn-on-thing-lock): Use `case'.
9269 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
9271         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9272         Zaretskii.
9274 2010-04-02  Juri Linkov  <juri@jurta.org>
9276         * ehelp.el (electric-help-orig-major-mode):
9277         New buffer-local variable.
9278         (electric-help-mode): Set it to original major-mode.  Doc fix.
9279         (with-electric-help): Use `electric-help-orig-major-mode' instead
9280         of (default-value 'major-mode).  Doc fix.
9281         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9283 2010-04-02  Sam Steingold  <sds@gnu.org>
9285         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9286         `vc-hg-command' with a list of flags.
9288         * progmodes/bug-reference.el (bug-reference-bug-regexp):
9289         Also accept "patch" and "RFE".
9290         (bug-reference-fontify): `bug-reference-url-format' can also be a
9291         function to be able to handle the bug kind.
9292         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9294 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
9296         * tmm.el (tmm-get-keymap): Check with symbolp before passing
9297         value to fboundp, it may not be a symbol.
9299 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9301         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9303 2010-03-31  Juri Linkov  <juri@jurta.org>
9305         * simple.el (next-line, previous-line): Re-throw a signal
9306         with `signal' instead of using `ding'.
9307         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9309 2010-03-31  Juri Linkov  <juri@jurta.org>
9311         * simple.el (keyboard-escape-quit): Raise deselecting the active
9312         region higher than exiting the minibuffer.
9313         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9315 2010-03-31  Juri Linkov  <juri@jurta.org>
9317         * image.el (image-animated-p): Use `image-metadata' instead of
9318         `image-extension-data'.  Get GIF extenstion data from metadata
9319         property `extension-data'.
9321 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9323         * simple.el (append-to-buffer): Simplify.
9325 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
9327         * textmodes/artist.el (artist-mode): Fix typo in docstring.
9328         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
9330 2010-03-31  Kenichi Handa  <handa@m17n.org>
9332         * language/sinhala.el (composition-function-table): Fix regexp for
9333         the new Unicode specification.
9335         * language/indian.el (devanagari-composable-pattern)
9336         (tamil-composable-pattern, kannada-composable-pattern)
9337         (malayalam-composable-pattern): Adjust for the new Unicode
9338         specification.
9339         (bengali-composable-pattern, gurmukhi-composable-pattern)
9340         (gujarati-composable-pattern, oriya-composable-pattern)
9341         (telugu-composable-pattern): New variables to cope with the new
9342         Unicode specification.  Use them in composition-function-table.
9344 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9346         Make tmm-menubar work for the Buffers menu again (bug#5726).
9347         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9348         vectors rather than cons cells, as used in menu-bar-update-buffers.
9350 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9352         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9353         (js-insert-and-indent): Revert 2009-08-15 change, restoring
9354         electric punctuation for "{}();,:" (Bug#5586).
9356         * mail/sendmail.el (mail-default-directory): Doc fix.
9358 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9360         * mail/sendmail.el (mail-default-directory): Doc fix.
9362 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
9364         * subr.el (version-regexp-alist, version-to-list)
9365         (version-list-<, version-list-=, version-list-<=)
9366         (version-list-not-zero, version<, version<=, version=): Doc fix.
9367         (Bug#5744).
9369 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
9371         * vc.el (vc-root-diff): Doc fix.
9373 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9375         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9377         * simple.el (append-to-buffer): Fix last change.
9379 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9381         * simple.el (append-to-buffer): Ensure that point is preserved if
9382         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
9383         (Bug#5749)
9385 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9387         * files.el (auto-mode-case-fold): Change default to t.
9389 2010-03-30  Juri Linkov  <juri@jurta.org>
9391         * dired-x.el (dired-omit-mode): Doc fix.
9393 2010-03-30  Juri Linkov  <juri@jurta.org>
9395         * replace.el (occur-accumulate-lines): Move occur-engine related
9396         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9397         to be located after `occur-engine'.
9399 2010-03-30  Juri Linkov  <juri@jurta.org>
9401         Make occur handle multi-line matches cleanly with context.
9402         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9404         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9405         (occur-engine): Add local variables `ret', `prev-after-lines',
9406         `prev-lines'.  Use more arguments for `occur-context-lines'.
9407         Set first elem of its returned list to `data', and the second elem
9408         to `prev-after-lines'.  Don't print the separator line.
9409         In the end, print remaining context after-lines.
9410         (occur-context-lines): Add new arguments `begpt', `endpt',
9411         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
9412         after-lines of the previous match with before-lines of the
9413         current match and not overlap them.  Return a list with two
9414         values: the output line and the list of context after-lines.
9416 2010-03-30  Juri Linkov  <juri@jurta.org>
9418         * replace.el (occur-accumulate-lines): Fix a bug where the first
9419         context line at the beginning of the buffer was missing.
9421 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
9423         * files.el: Make bidi-display-reordering safe variable for boolean
9424         values.
9426 2010-03-29  Phil Hagelberg  <phil@evri.com>
9427             Chong Yidong  <cyd@stupidchicken.com>
9429         * subr.el: Extend progress reporters to perform "spinning".
9430         (progress-reporter-update, progress-reporter-do-update):
9431         Handle non-numeric value arguments.
9432         (progress-reporter--pulse-characters): New var.
9434 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
9436         * progmodes/compile.el (compilation-start): Fix regexp detection
9437         of initial cd command (Bug#5771).
9439 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
9441         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9443 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
9445         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9446         * progmodes/gdb-mi.el: Restore.
9447         * progmodes/gdb-ui.el: Remove.
9448         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9450 2010-03-25  Glenn Morris  <rgm@gnu.org>
9452         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9453         all dired buffers, even tramp ones.  (Bug#5755)
9455 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9457         Add "union tags" in mpc.el.
9458         * mpc.el: Remove backward compatibility code.
9459         (mpc-browser-tags): Change default.
9460         (mpc--find-memoize-union-tags): New var.
9461         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9462         (mpc-cmd-find): Handle the case where the playlist does not exist.
9463         Handle union-tags.
9464         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
9465         (mpc-cmd-add): Use mpc-cmd-flush.
9466         (mpc-tagbrowser-tag-name): New fun.
9467         (mpc-tagbrowser-buf): Use it.
9468         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
9470 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9472         Misc cleanup.
9473         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9474         Use replace-regexp-in-string.
9475         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9476         (makefile-imake-mode-syntax-table): Move init into defvar.
9477         (makefile-mode): Use define-derived-mode.
9479         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9480         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9481         not be present any more.
9483 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9485         * faces.el (set-face-attribute): Fix typo in docstring.
9486         (face-valid-attribute-values): Reflow docstring.
9488 2010-03-24  Glenn Morris  <rgm@gnu.org>
9490         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9492 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9494         * indent.el (indent-for-tab-command): Doc fix.
9496 2010-03-24  Alan Mackenzie  <acm@muc.de>
9498         * progmodes/cc-engine.el (c-remove-stale-state-cache):
9499         Fix off-by-one error.  Fixes bug #5747.
9501 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9503         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9504         (image-dired-read-comment): Doc fix.
9506         * json.el (json-object-type, json-array-type, json-key-type)
9507         (json-false, json-null, json-read-number):
9508         * minibuffer.el (completion-in-region-functions):
9509         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9510         (cal-tex-cursor-week):
9511         * emacs-lisp/trace.el (trace-function):
9512         * eshell/em-basic.el (eshell/printnl):
9513         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9514         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9515         * obsolete/levents.el (allocate-event, event-key, event-object)
9516         (event-point, event-process, event-timestamp, event-to-character)
9517         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9518         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9519         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9520         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9521         (reftex-highlight-selection): Fix typos in docstrings.
9523 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9525         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9527 2010-03-24  Glenn Morris  <rgm@gnu.org>
9529         * mail/rmail.el (rmail-highlight-face): Restore option deleted
9530         2008-02-13 without comment; mark it obsolete.
9531         (rmail-highlight-headers): Use rmail-highlight-face once more.
9533 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9535         * woman.el (woman2-process-escapes): Only consume the newline if
9536         the filler character is on a line by itself (Bug#5729).
9538 2010-03-24  Kenichi Handa  <handa@m17n.org>
9540         * language/indian.el (devanagari-composable-pattern): Add more
9541         consonants.
9543 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9545         * net/trampver.el: Update release number.
9547 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9549         * net/tramp.el (tramp-find-executable):
9550         Use `tramp-get-connection-buffer'.  Make the regexp for checking
9551         output of "wc -l" more robust.
9552         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9553         (tramp-open-connection-setup-interactive-shell): Remove workaround
9554         for OpenSolaris bug, it is not needed anymore.
9556 2010-03-24  Glenn Morris  <rgm@gnu.org>
9558         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
9560 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
9562         * files.el (auto-mode-alist): Accept more verilog file patterns.
9564 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9566         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9568 2010-03-24  Glenn Morris  <rgm@gnu.org>
9570         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9571         log-edit-before-checkin-process.
9573         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9575         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9577         * vc-dispatcher.el (vc-start-logentry): Doc fix.
9578         (log-view-process-buffer, log-edit-extra-flags): Declare.
9580         * log-edit.el (log-edit-before-checkin-process): Doc fix.
9582 2010-03-23  Sam Steingold  <sds@gnu.org>
9584         Fix bug#5620: recalculate all markers on compilation buffer
9585         modifications, not on file modifications.
9586         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9587         the buffer modification time, for buffers not associated with files.
9588         (compilation-mode): Create it.
9589         (compilation-filter): Update it.
9590         (compilation-next-error-function): Use it instead of
9591         `visited-file-modtime' for timestamp.
9593 2010-03-23  Juri Linkov  <juri@jurta.org>
9595         Implement Occur multi-line matches.
9596         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9598         * replace.el (occur): Doc fix.
9599         (occur-engine): Set `begpt' to the beginning of the first line.
9600         Set `endpt' to the end of the last match line.  At first, count
9601         line numbers between `origpt' and `begpt'.  Split out code from
9602         `out-line' variable to new let-bindings `match-prefix' and
9603         `match-str'.  In `out-line' add non-numeric prefix to all
9604         non-first lines of multi-line matches.  Finally, count lines
9605         between `begpt' and `endpt' and add to `lines'.
9607 2010-03-23  Juri Linkov  <juri@jurta.org>
9609         * replace.el (occur-accumulate-lines, occur-engine):
9610         Use `occur-engine-line' instead of duplicate code.
9611         (occur-engine-line): New function created from duplicate code
9612         in `occur-accumulate-lines' and `occur-engine'.
9614         * replace.el (occur-engine-line): Add optional arg `keep-props'.
9615         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9617 2010-03-23  Juri Linkov  <juri@jurta.org>
9619         * finder.el: Remove TODO tasks.
9621         * info.el (Info-finder-find-node): Add node "all"
9622         with all package info.  Handle a list of multiple keywords
9623         separated by comma.
9624         (info-finder): In interactive use with a prefix argument,
9625         use `completing-read-multiple' to read a list of keywords
9626         separated by comma.
9628 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9630         Add a new completion style `substring'.
9631         * minibuffer.el (completion-basic--pattern): New function.
9632         (completion-basic-try-completion, completion-basic-all-completions):
9633         Use it.
9634         (completion-substring--all-completions)
9635         (completion-substring-try-completion)
9636         (completion-substring-all-completions): New functions.
9637         (completion-styles-alist): New style `substring'.
9639 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9641         Get rid of .elc files after removal of the corresponding .el.
9642         * Makefile.in (compile-clean): New target.
9643         (compile-main): Use it.
9645 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
9647         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9648         don't do make there.  When compiling with separate object dir, there
9649         is no Makefile there.
9651 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9653         Get rid of the ELCFILES abomination, again.
9654         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9655         (all, compile): Don't call compile-last.
9656         (compile-main): Build the "elcfiles" list dynamically.
9657         (compile-targets): New (internal) target.
9659 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
9661         * Makefile.in (top_srcdir): Define.
9662         (abs_top_builddir): Define.
9663         (srcdir): Don't append `/..'.
9664         (EMACS): Use ${abs_top_builddir}.
9665         (all, compile, compile-always, compile-last): Don't set emacswd.
9666         (update-subdirs, update-authors): Use $(top_srcdir) instead of
9667         $(srcdir).
9668         (lisp): Use $(srcdir) instead of @srcdir@.
9670 2010-03-21  Juri Linkov  <juri@jurta.org>
9672         Fix message of multi-line occur regexps and multi-buffer header lines.
9673         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9675         * replace.el (occur-1): Don't display regexp if it is longer
9676         than window-width.  Use `query-replace-descr' to display regexp.
9677         (occur-engine): Don't display regexp in the buffer header for
9678         multi-buffer occur.  Display a separate header line with total
9679         match count and regexp for multi-buffer occur.
9680         Use `query-replace-descr' to display regexp.
9682 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
9684         * net/secrets.el: Fix parenthesis.
9685         (secrets-enabled): Fix parenthesis.
9687 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9689         Use more relative file and directory names.
9690         * Makefile.in (EMACS): Arrange for it to work when we chdir.
9691         (setwins, setwins_almost, setwins_for_subdirs):
9692         Don't `cd'; output relative names.
9693         (all, compile, compile-always, compile-last): Set emacswd.
9694         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9695         Just cd to the lisp source dir so we can use relative file names.
9697         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9699 2010-03-20  Glenn Morris  <rgm@gnu.org>
9701         * textmodes/rst.el: Use faces for font-lock customization, and make the
9702         old -face variables obsolete.
9703         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9704         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9705         (rst-block-face, rst-external-face, rst-definition-face)
9706         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9707         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9708         Make obsolete.
9709         (rst-font-lock-keywords-function): Update for above changes.
9711 2010-03-20  Juri Linkov  <juri@jurta.org>
9713         * s-region.el:
9714         * obsolete/s-region.el: Move to obsolete.
9716 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
9718         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9720 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9722         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9724 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9726         Add special markup processing for commit logs.
9727         * log-edit.el (log-edit-extra-flags): New variable.
9728         (log-edit): Add new argument MODE.  Use that mode when non-nil
9729         instead of the log-view-mode.
9730         (log-view-process-buffer): New function.
9732         * vc.el: Document that the checkin method takes optional
9733         arguments.  Document new backend specific method: log-view-mode.
9734         (vc-default-log-edit-mode): New function.
9735         (vc-checkin): Use a backend specific log-view-mode.
9736         Pass extra arguments to the checkin method.
9737         (vc-modify-change-comment): Pass a dummy extra argument.
9739         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9740         log-edit.
9741         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9742         (vc-finish-logentry): Process the log buffer before passing it
9743         down.  Pass log-edit-extra-flags.
9745         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9746         command.
9747         (log-edit-extra-flags, log-edit-before-checkin-process):
9748         New declarations.
9750         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9751         command.
9752         (log-edit-extra-flags, log-edit-before-checkin-process):
9753         New declarations.
9754         (vc-hg-log-edit-mode): New derived mode.
9756         * vc-arch.el (vc-arch-checkin):
9757         * vc-cvs.el (vc-cvs-checkin):
9758         * vc-git.el (vc-git-checkin):
9759         * vc-mtn.el (vc-mtn-checkin):
9760         * vc-rcs.el (vc-rcs-checkin):
9761         * vc-sccs.el (vc-sccs-checkin):
9762         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9764 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9766         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9767         parent typo).
9769 2010-03-19  Glenn Morris  <rgm@gnu.org>
9771         * password-cache.el (password-cache, password-cache-expiry): Autoload.
9773 2010-03-18  Glenn Morris  <rgm@gnu.org>
9775         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9777         * replace.el (query-replace-history): Give it a doc string.
9778         (map-query-replace-regexp): Use query-replace-from-history-variable
9779         and query-replace-to-history-variable.
9781         * mail/hashcash.el (declare-function): Remove duplicate definition.
9783         * mail/emacsbug.el (report-emacs-bug-pretest-address):
9784         Make it an obsolete alias for report-emacs-bug-address.
9785         (message-strip-special-text-properties): Declare.
9786         (report-emacs-bug): Remove test for a pretest bug address.
9787         Combine message-mode-specific code.
9789         * mail/supercite.el: Don't require sendmail.
9790         (mh-in-header-p): Declare rather than using with-no-warnings.
9791         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9792         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
9794         * calendar/cal-french.el: Convert to utf-8.
9796         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9797         Emacs scripts.
9799 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
9801         * net/secrets.el (secrets-enabled): New variable.  Use it instead
9802         of a subfeature.
9804 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
9806         * net/secrets.el (top): Register the D-Bus signals only when the
9807         service "org.freedesktop.secrets" can be pinged.
9808         Provide subfeature `enabled'.
9810 2010-03-14  Juri Linkov  <juri@jurta.org>
9812         Add finder unknown keywords.
9814         * finder.el (finder-unknown-keywords): New function.
9816         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9817         to create a Finder node with unknown keywords.
9819 2010-03-14  Juri Linkov  <juri@jurta.org>
9821         * finder.el (finder-compile-keywords): Replace `princ' with
9822         `prin1' on a list of symbols interned from keyword strings.
9824         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9825         a comma, then split keywords using a comma and optional whitespace.
9826         Otherwise, split by whitespace.
9828         * complete.el:
9829         * face-remap.el:
9830         * log-view.el:
9831         * net/hmac-def.el:
9832         * net/hmac-md5.el:
9833         * net/netrc.el:
9834         * progmodes/mixal-mode.el: Fix keywords.
9836 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
9838         * Makefile.in (ELCFILES): Add net/secrets.elc.
9840         * net/secrets.el: New file.
9842 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9844         * facemenu.el (list-colors-display, list-colors-print): New arg
9845         callback.  Use it to allow selecting colors.
9847         * wid-edit.el (widget-image-insert): Insert image prop even if the
9848         current display is non-graphic.
9849         (widget-field-value-set): New fun.
9850         (editable-field): Use it.
9851         (widget-field-value-get): Clean up unused var.
9852         (widget-color-value-create, widget-color--choose-action):
9853         New funs.  Allow using list-colors-display to choose color.
9855 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9857         * cus-edit.el: Resort topmost custom groups.
9858         (custom-buffer-sort-alphabetically): Default to t.
9859         (customize-apropos): Use apropos-parse-pattern.
9860         (custom-search-field): New var.
9861         (custom-buffer-create-internal): Add custom-apropos search field.
9862         (custom-add-parent-links): Don't display parent doc.
9863         (custom-group-value-create): Don't sort top-level custom group.
9864         (custom-magic-value-create): Show visibility button before option name.
9866         (custom-variable-state): New fun, from custom-variable-state-set.
9867         (custom-variable-state-set): Use it.
9868         (custom-group-value-create): Hide options with standard values
9869         using the :hidden-states property.  Use progress reporter.
9871         (custom-show): Simplify.
9872         (custom-visibility): Disable images by default.
9873         (custom-variable): New property :hidden-states.
9874         (custom-variable-value-create): Enable images for
9875         custom-visibility widgets.  Use :hidden-states property to
9876         determine initial visibility.
9878         * wid-edit.el (widget-image-find): Give images center ascent.
9879         (visibility): Add :on-image and :off-image properties.
9880         (widget-visibility-value-create): Use them.
9882 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9884         * cus-edit.el (processes): Remove from development group.
9885         (oop, hypermedia): Delete group.
9886         (comm): Promote to top-level group.
9888         * net/browse-url.el (browse-url):
9889         * net/xesam.el (xesam):
9890         * net/tramp.el (tramp):
9891         * net/goto-addr.el (goto-address):
9892         * net/ange-ftp.el (ange-ftp): Put in comm group.
9894         * view.el (view): Remove from editing group.
9896         * uniquify.el (uniquify): Put in files group.
9898         * net/browse-url.el (browse-url):
9899         * ps-print.el (postscript): Put in external group.
9901         * cus-edit.el (outlines):
9902         * textmodes/text-mode.el (text-mode-hook):
9903         * textmodes/table.el (table):
9904         * textmodes/picture.el (picture):
9905         * outline.el (outlines): Put in wp group.
9907         * nxml/nxml-mode.el (nxml): Remove from wp group.
9909         * net/tramp-imap.el (tramp-imap): Put in tramp group.
9911         * mail/metamail.el (metamail): Remove from hypermedia group.
9913         * cus-edit.el (abbrev):
9914         * whitespace.el (whitespace):
9915         * vcursor.el (vcursor):
9916         * reveal.el (reveal):
9917         * hl-line.el (hl-line): Put in convenience group.
9919         * epg-config.el (epg): Put in data group.
9921         * emulation/pc-select.el (pc-select): Put in emulations group.
9923         * calculator.el (calculator): Put in applications group.
9925 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9927         Add .dir-locals.el support for file-less buffers.
9928         * files.el (hack-local-variables): Split out code to apply local
9929         variable settings ...
9930         (hack-local-variables-apply): ... here.  New function.
9931         (hack-dir-local-variables): Use the default directory for when the
9932         buffer does not have an associated file.
9933         (hack-dir-local-variables-non-file-buffer): New function.
9934         * diff-mode.el (diff-mode):
9935         * vc-annotate.el (vc-annotate-mode):
9936         * vc-dir.el (vc-dir-mode):
9937         * log-edit.el (log-edit-mode):
9938         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9940 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9942         Add support for shelving snapshots and for showing shelves.
9943         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9944         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9945         New functions.
9946         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9947         (vc-bzr-extra-menu-map): Map them.
9949 2010-03-11  Glenn Morris  <rgm@gnu.org>
9951         * cus-edit.el (customize-changed-options-previous-release):
9952         Bump to 23.1.
9954         * image.el (image-animate-max-time): Fix :version tag.
9956 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
9958         * Branch for 23.2.
9960 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9962         * vc-git.el (vc-git-revision-table): Include remote branches.
9964 2010-03-10  Kim F. Storm  <storm@cua.dk>
9966         Animated image API.
9967         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9969         * image.el (image-animate-max-time): New defcustom.
9970         (image-animated-types): New defconst.
9971         (create-animated-image, image-animate-timer)
9972         (image-animate-start, image-animate-stop, image-animate-timeout)
9973         (image-animated-p): New functions.
9975         * image-mode.el (image-toggle-display-image):
9976         Replace `create-image' with `create-animated-image'.
9978 2010-03-09  Miles Bader  <miles@gnu.org>
9980         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9981         instead of "format:"; this ensures that the output is
9982         newline-terminated.
9984 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
9986         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9987         that all errors are caught, and that the return value is always a
9988         list (Bug#5692).
9990 2010-03-08  Kenichi Handa  <handa@m17n.org>
9992         * language/misc-lang.el (windows-1256): New coding system.
9993         (cp1256): New alias of windows-1256 (bug#5690).
9995 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
9997         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9998         call to rfc822-bad-address.  (Bug#5692)
10000 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10002         * vc-git.el (vc-git-annotate-extract-revision-at-line):
10003         Use vc-git-root as default directory for revision path (Bug#5657).
10005 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
10007         * calculator.el (calculator): Don't bind split-window-keep-point
10008         (Bug#5674).
10010 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10012         * vc-git.el: Re-flow to fit into 80 columns.
10013         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10014         Remove spurious `quote' element in each case alternative.
10015         (vc-git-show-log-entry): Use prog1.
10016         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10018 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10020         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10022 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
10024         * macros.el (insert-kbd-macro): Look up keyboard macro using the
10025         definition, not the name (Bug#5481).
10027 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10029         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10030         argument with a local variable.  (Bug#5670)
10032 2010-03-02  Juri Linkov  <juri@jurta.org>
10034         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
10036 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
10038         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10039         error when FILENAME and NEWNAME are existing remote directories.
10041         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10042         parameter DIR-FLAG.
10044 2010-03-02  Glenn Morris  <rgm@gnu.org>
10046         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10047         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10049 2010-03-01  Kenichi Handa  <handa@m17n.org>
10051         * language/burmese.el (burmese-composable-pattern): Rename from
10052         myanmar-composable-pattern.
10054         * international/characters.el (script-list):
10055         * international/fontset.el (script-representative-chars):
10056         Change myanmar to burmese.
10057         (otf-script-alist): Likewise.
10058         (setup-default-fontset): Likewise.  Re-fix :otf spec.
10060 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
10062         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10064 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
10066         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10068 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
10070         * net/tramp.el (tramp-handle-write-region): START can be a string.
10071         Take care in the checks.  Reported by Dan Davison
10072         <davison@stats.ox.ac.uk>.
10074 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
10076         * net/dbus.el (dbus-introspect, dbus-get-property)
10077         (dbus-set-property, dbus-get-all-properties):
10078         Use `dbus-call-method' when noninteractive.  (Bug#5645)
10080 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
10082         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10083         * emacs-lisp/elint.el (elint-add-required-env):
10084         * calendar/icalendar.el (icalendar--add-diary-entry):
10085         * calc/calcalg2.el (math-tracing-integral):
10086         * files.el (recover-session-finish): Use with-current-buffer
10087         instead of save-excursion.
10089 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10091         Fix in-buffer completion when after-change-functions modify the buffer.
10092         * minibuffer.el (completion--replace): New function.
10093         (completion--do-completion): Use it and use relative movement.
10095 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
10097         * international/fontset.el (setup-default-fontset): Fix :otf spec.
10099 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
10101         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10102         Allow the characters _<> in the stack entry (Bug#5653).
10104 2010-02-26  Kenichi Handa  <handa@m17n.org>
10106         * language/burmese.el: Fix entries in composition-function-table.
10107         (myanmar-composable-pattern): New variable.
10109         * international/fontset.el (setup-default-fontset): Add an entry
10110         for myanmar.
10112         * international/characters.el (script-list): Add Myanmar
10113         Extended-A.
10115 2010-02-26  Glenn Morris  <rgm@gnu.org>
10117         * custom.el (custom-initialize-delay): Doc fix.
10119         * mail/sendmail.el (send-mail-function): Autoload the call
10120         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10122 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
10124         * files.el (hack-local-variables-filter): For eval forms, also
10125         check safe-local-variable-p (Bug#5636).
10127 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
10129         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10130         setting the modes by `ignore-errors'.  It might fail, for example
10131         if the file is not owned by the user but the group.
10132         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10134 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
10136         * files.el (directory-listing-before-filename-regexp):
10137         Use stricter matching for iso-style dates, to avoid false matches with
10138         date-like filenames (Bug#5597).
10140         * htmlfontify.el (htmlfontify): Doc fix.
10142         * eshell/eshell.el (eshell): Doc fix.
10144         * startup.el (fancy-about-screen): In mode-line, apply
10145         mode-line-buffer-id face only to the buffer name (Bug#5613).
10147 2010-02-20  Kevin Ryde  <user42@zip.com.au>
10149         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10150         In `watcom' anchor regexp to start of line, to avoid slowness
10151         (Bug#5599).
10153 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
10155         * subr.el (remove-yank-excluded-properties): Explain in a comment
10156         why `category' property is removed.
10158 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
10160         * isearch.el (isearch-update-post-hook, isearch-update):
10161         Revert 2010-02-17 change.
10163 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
10165         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10166         (icalendar--convert-weekly-to-ical)
10167         (icalendar--convert-yearly-to-ical)
10168         (icalendar--convert-block-to-ical)
10169         (icalendar--convert-cyclic-to-ical)
10170         (icalendar--convert-anniversary-to-ical): Take care of time
10171         specifications where hour has 1-digit only (Bug#5549).
10173 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
10175         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10176         of disassemble output in GDB 7.1.
10178 2010-02-19  Glenn Morris  <rgm@gnu.org>
10180         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10181         property.  (Bug#5593)
10183 2010-02-18  Sam Steingold  <sds@gnu.org>
10185         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10187 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10189         Use abbreviated file names in bookmarks (bug#5591).
10190         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10191         calls to expand-file-name.
10192         (bookmark-relocate): Use abbreviated file names in bookmarks.
10193         (bookmark-load): Use abbreviated file names in messages.
10195 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
10197         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10198         expand "." and "..".  Reported by Thierry Volpiatto
10199         <thierry.volpiatto@gmail.com>.
10201 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
10203         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10204         permissions of the temporary file to "0600".  In case the remote
10205         file has no read permissions for the owner, there might be
10206         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
10208 22010-02-18  Glenn Morris  <rgm@gnu.org>
10210         * emacs-lisp/authors.el (authors-renamed-files-alist):
10211         Add entries for INSTALL.CVS.
10213 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
10215         * vc-bzr.el: Fix typo in Known Bugs section.
10217         * isearch.el (isearch-update-post-hook): New hook.
10218         (isearch-update): Use the new hook.
10220 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
10222         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10223         Fix errors in copying directories.
10224         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10225         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10226         (tramp-handle-delete-file)
10227         (tramp-handle-dired-recursive-delete-directory)
10228         (tramp-handle-write-region): Flush also the cache for the upper
10229         directory.
10231 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
10233         * simple.el (save-interprogram-paste-before-kill): Doc fix.
10235         * cus-edit.el (hardware): Doc fix.
10237         * man.el (man): Add to external custom group.
10239         * delim-col.el (columns): Move to wp custom group.
10241         * doc-view.el (doc-view): Add to data custom group.
10243         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10245         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10246         by ispell-parse-output (Bug#5575).
10248 2010-02-16  Kenichi Handa  <handa@m17n.org>
10250         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10251         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10252         (skkdic-convert): Use `euc-japan' coding system for writing.
10254 2010-02-16  Glenn Morris  <rgm@gnu.org>
10256         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10257         tex-main-file before using it.  (Bug#5562)
10259 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10261         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10262         warnings, since it is annoying for the user to see them each time he
10263         runs the code.
10265 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
10267         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10268         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10269         instead of PROC for caching "first-password-request".  Otherwise,
10270         new processes would not profit from passwords already entered.
10272         * net/tramp-cache.el (tramp-dump-connection-properties):
10273         Don't save "first-password-request" property.
10275 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
10277         * outline.el (outline-head-from-level):
10278         * simple.el (with-wrapper-hook):
10279         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10280         (elint-defun, elint-buffer-env, elint-top-form-logged)
10281         (elint-unbound-variable):
10282         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10283         Fix typos in docstrings.
10285 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
10287         * files.el (insert-directory): When WILDCARD-REGEXP and
10288         FULL-DIRECTORY-P are nil, insert the file entry instead of the
10289         whole directory.  (Bug#5551)
10291         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
10292         dired's alignment sanity.  (Bug#5516)
10294 2010-02-14  Juri Linkov  <juri@jurta.org>
10296         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10297         Remove remaining ^H with their preceding chars.  (Bug#5566)
10299 2010-02-13  Glenn Morris  <rgm@gnu.org>
10301         * simple.el (transpose-subr): Give it a doc-string.
10303         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10304         Doc fixes.
10306 2010-02-12  Juri Linkov  <juri@jurta.org>
10308         * arc-mode.el (archive-unique-fname): Make directories for nested
10309         archives.  (Bug#5540)
10311 2010-02-12  Juri Linkov  <juri@jurta.org>
10313         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
10315 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10317         * subr.el (copy-overlay): Handle deleted overlays.
10319         * man.el (Man-completion-table): Don't signal an error if we can't run
10320         manual-program (bug#4056).
10322 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
10324         * textmodes/artist.el (artist-mt): Fix typos in docstring.
10326 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10328         * info.el (Info-bookmark-jump): Simplify.
10330         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10331         (bookmark-default-handler): Accept new bookmark field `buffer'.
10333 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
10335         * iswitchb.el (iswitchb-completions): Revert last change.
10337 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
10339         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10340         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10341         This prevents file names like "~/" being listed literally.
10343 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
10345         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10346         Remove dead code.  (Bug#5546)
10348 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
10350         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10351         correctly (Bug#5548).
10353 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
10355         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10356         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10358 2010-02-08  Kenichi Handa  <handa@m17n.org>
10360         * international/mule-util.el (with-coding-priority): Add autoload
10361         cookie for putting `lisp-indent-function'.
10363 2010-02-07  Glenn Morris  <rgm@gnu.org>
10365         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10366         Move F2003 named interfaces from keywords-2 to keywords-1, and
10367         use function-name-face rather than constant-face.
10368         Simplify "abstract interface" regexp.
10370 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
10372         * eshell/esh-util.el (eshell-file-attributes): New optional arg
10373         ID-FORMAT.  Pass it to `file-attributes'.
10375         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10377 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
10379         * faces.el (set-face-attribute): Allow calling
10380         internal-set-lisp-face-attribute with 'unspecified family and
10381         foundry argument (Bug#5536).
10383 2010-02-07  Glenn Morris  <rgm@gnu.org>
10385         * progmodes/f90.el (f90-font-lock-keywords-2)
10386         (f90-looking-at-type-like, f90-looking-at-program-block-end):
10387         Handle F2003 named interfaces.
10389 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
10391         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10392         beg and end before calling c-get-state-before-change-functions.
10394 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
10396         * vc-bzr.el (vc-bzr-dir-extra-headers):
10397         Disable the pending merges header.
10399 2010-02-05  Juri Linkov  <juri@jurta.org>
10401         * doc-view.el (doc-view-mode):
10402         * image-mode.el (image-mode): Put property mode-class=special.
10403         (Bug#4896)
10405 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
10407         * vc-svn.el (vc-svn-revision-table): New function.
10409 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
10411         * net/ange-ftp.el (ange-ftp-insert-directory):
10412         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10413         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10414         Handle also directories.  (Bug#5478)
10416 2010-02-05  Glenn Morris  <rgm@gnu.org>
10418         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10420 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
10422         * startup.el (command-line-1): Convert options beginning with a
10423         single dash as well (Bug#5519).
10425 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10427         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10428         * minibuffer.el (completion-initials-expand): Only check the presence
10429         of delims *within* the boundaries, since otherwise the / delim is
10430         always found for files.
10432         Fix up various corner case problems.
10433         * doc-view.el (doc-view-last-page-number): New function.
10434         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10435         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10436         (doc-view-kill-proc): Avoid inf-loop in freak cases.
10437         (doc-view-reconvert-doc): Use the new recursive delete-directory.
10438         (doc-view-convert-current-doc): Don't create the resolution.el file
10439         here any more.
10440         (doc-view-pdf/ps->png): Do it here instead.
10441         (doc-view-already-converted-p): Check that resolution.el is present.
10442         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10443         windows that are not yet showing images.
10445 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
10447         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10448         `dired-uncache' for every elemnt which is an absolute file name.
10450         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10451         directory, handle its directory component.
10452         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10453         function is called permanently and creates noise, otherwise.
10455         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10456         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10457         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
10459 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
10461         * macros.el (apply-macro-to-region-lines):
10462         Minor simplification.  (Bug#5485)
10464 2010-02-04  Glenn Morris  <rgm@gnu.org>
10466         * mail/rmail.el (rmail-show-message-1): Handle malformed
10467         quoted-printable text.  (Bug#5441)
10469         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10471         * simple.el (visual-line-mode): Capitalize lighter.
10473 2010-02-03  John Wiegley  <jwiegley@gmail.com>
10475         * iswitchb.el (iswitchb-completions): Add bookmark files to the
10476         list of files considered for "virtual buffer" completions.
10478 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
10480         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10481         also in case of (and (not full) (not wildcard)).  This is needed
10482         when dired is called with a list of files, which are not in
10483         `default-directory'.  (Bug#5478)
10485 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10487         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10489 2010-02-02  Juri Linkov  <juri@jurta.org>
10491         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10492         from unidiff to allow function-line after @@.
10494 2010-02-02  Juri Linkov  <juri@jurta.org>
10496         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10497         '(RCS SCCS) with inverted condition.
10499 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
10501         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10502         messages.
10504 2010-02-01  Juri Linkov  <juri@jurta.org>
10506         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10507         compare with "pkunzip" and "pkzip" instead of only "pkzip".
10508         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10509         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
10511 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10513         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10514         (doc-view-revert-buffer): New command.
10515         (doc-view-mode-map): Use it.
10517 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
10519         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10520         pending merge is detected.
10522 2010-01-31  Juri Linkov  <juri@jurta.org>
10524         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10525         beginning of interactive spec like all other grep commands do.
10526         Put "all" in front of "gz".  (Bug#5260)
10528 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
10530         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10532 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
10534         * dirtrack.el (dirtrack): Warn instead of signalling error if the
10535         regexp is incorrect (Bug#5476).
10537 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
10539         * net/tramp.el (tramp-handle-insert-directory): Handle also
10540         symlinks, when FILENAME is not in `default-directory'.
10542 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10544         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10545         FILE is not in `default-directory'.  (Bug#5478)
10547         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10548         of SWITCHES.  Handle the case, FILENAME is not in
10549         `default-directory'.  (Bug#5478)
10550         (tramp-register-file-name-handlers): Add safe-magic property.
10552 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
10554         * arc-mode.el (archive-zip-extract): Quote the argument passed to
10555         unzip (Bug#5475).
10557 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
10559         * progmodes/flymake.el (flymake-allowed-file-name-masks)
10560         (flymake-master-make-header-init): Add other C++ filename masks.
10561         (flymake-find-possible-master-files)
10562         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10564 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10566         Fix some busybox annoyances.
10568         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10569         not responding." string.
10570         (tramp-open-connection-setup-interactive-shell): Dump stty
10571         settings.  Enable "neveropen" arg for all `tramp-send-command'
10572         calls.  Handle "=" in variable values properly.
10573         (tramp-find-inline-encoding): Raise an error, when no encoding is
10574         found.
10575         (tramp-wait-for-output): Check, whether PROC buffer is available.
10576         Remove spurious " ^H" sequences, sent by busybox.
10577         (tramp-get-ls-command): Suppress coloring, if possible.
10579 2010-01-28  Glenn Morris  <rgm@gnu.org>
10581         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
10583         * log-edit.el (log-edit-strip-single-file-name): Add missing
10584         :safe, :group, and :version tags.
10586 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
10588         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10589         buffers.  (Bug#5477)
10591 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
10593         * files.el (delete-directory): Handle moving to trash without
10594         first doing recursion (Bug#5436).
10596 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
10598         * vc-hooks.el (vc-path): Mark as obsolete.
10600 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
10602         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10603         names too.
10605         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10606         for the short log.
10607         (vc-bzr-log-view-mode): Adjust regexp for the above change.
10609 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
10611         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10613         * vc-bzr.el (vc-bzr-revision-table): New function.
10615 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
10617         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10618         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
10620 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
10622         Remove support for adding --signoff on commit.
10623         Future support will use an incompatible generic mechanism.
10624         * vc-git.el (vc-git-add-signoff): Remove variable.
10625         (vc-git-toggle-signoff): Remove function.
10626         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10628         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10629         Rename from xterm-set-background-mode.  Return t if the background mode
10630         was set.
10631         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10632         earlier, call it again in case the background mode has changed.
10634 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
10636         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10637         (Bug#3541).
10639 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
10641         * emacs-lisp/assoc.el (aelement): Doc fix.
10642         (aput, adelete, amake): Use lexical-let (Bug#5450).
10644 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
10646         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10647         is the same as subprogram call, not declaration.  (Bug#5435).
10649 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
10651         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10652         (tramp-smb-maybe-open-connection): Use it.
10654 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
10656         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
10658 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10660         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10661         just because we see "encoding: 8bit".
10662         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10664 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
10666         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10668 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
10670         * jka-compr.el (jka-compr-load): If load-file is not in
10671         load-history, try its file-truename version.  (bug#5447)
10673 2010-01-21  Alan Mackenzie  <acm@muc.de>
10675         Fix a situation where deletion of a cpp construct throws an error.
10676         * progmodes/cc-engine.el (c-invalidate-state-cache):
10677         Before invoking c-with-all-but-one-cpps-commented-out, check that the
10678         special cpp construct is still in the buffer.
10679         (c-parse-state): Record the special cpp with markers, not numbers.
10681 2010-01-21  Kenichi Handa  <handa@m17n.org>
10683         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10684         process last-command-event, as it is now decoded first (Bug#5380).
10686 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
10688         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10690 2010-01-20  Glenn Morris  <rgm@gnu.org>
10692         * indent.el (tab-always-indent): Fix custom-type.
10694 2010-01-19  Alan Mackenzie  <acm@muc.de>
10696         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10697         buffer throws "args out of range".
10698         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10699         playing the role of delimiter.
10701 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
10703         * progmodes/ada-mode.el: Fix bug#5400.
10704         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10705         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10706         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
10707         Improve comments in "is" portion.  Handle null procedure declaration.
10708         (ada-move-to-end): Improve doc string.
10710 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
10712         * ido.el (ido-cur-list): Initialize to nil.
10713         Remove obsolete information from commentary.
10714         (ido-choice-list): Initialize to nil.
10715         (ido-get-bufname): Reject minibuffers.
10716         (ido-make-buffer-list): If "default" is a nonexistent
10717         buffer, ignore it, as per the function's comment.
10718         (ido-kill-buffer-internal): New function.
10719         (ido-kill-buffer-at-head): Use it.
10720         (ido-visit-buffer): Likewise.
10722 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
10724         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10726 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
10728         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10729         Fix typos in chart titles.
10731         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10732         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10733         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10734         (describe-class, eieio-describe-generic, describe-generic):
10735         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10736         (eieio-speedbar-expand):
10737         * emulation/viper-cmd.el (viper-exec-form-in-vi)
10738         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10739         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10740         (viper-del-backward-char-in-replace, viper-backward-indent)
10741         (viper-brac-function, viper-register-to-point, viper-submit-report):
10742         * net/tramp.el (tramp-remote-coding-commands):
10743         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10744         Fix typos in docstrings.
10746 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
10748         * mail/sendmail.el (mail-yank-original): Set the mark if the
10749         specified function for yanking does not do it.
10751 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
10753         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
10755         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10756         resyncing a directory.
10758 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
10760         * progmodes/ada-mode.el: Fix bug#1920.
10761         (ada-ident-re): Delete ., allow multibyte characters.
10762         (ada-goto-label-re): New; matches goto labels.
10763         (ada-block-label-re): New; matches block labels.
10764         (ada-label-re): New; matches both.
10765         (ada-named-block-re): Deleted; callers changed to use
10766         `ada-block-label-re' instead.
10767         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10768         Use `ada-block-label-re'.
10769         (ada-indent-on-previous-lines): Improve handling of goto labels.
10770         (ada-get-indent-block-start): Special-case block label.
10771         (ada-get-indent-label): Split into `ada-indent-block-label' and
10772         `ada-indent-goto-label'.
10773         (ada-goto-stmt-start, ada-goto-next-non-ws):
10774         Optionally ignore goto labels.
10775         (ada-goto-next-word): Simplify.
10776         (ada-indent-newline-indent-conditional): Insert newline before
10777         trying to fix indentation; doc fix.
10779 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
10781         * calc/calc.el (calc-command-flags): Give it an initial value.
10783 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
10785         * files.el (minibuffer-with-setup-hook):
10786         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10787         (artist-key-draw-continously, artist-key-do-continously-continously)
10788         (artist-key-set-point-continously, artist-mouse-draw-continously):
10789         Fix typos in docstrings.
10791 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
10793         * nxml/nxml-mode.el (nxml-extend-after-change-region):
10794         Never return t (Bug#3898).
10796 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
10798         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10799         can parse the output of the external commands (Bug#5279).
10801 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
10803         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10805 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
10807         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10809         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10811         * startup.el (command-line): Remove unused --icon-type arg.
10812         Handle --display arg, passing it to command-line-1 (Bug#5392).
10814 2010-01-16  Mario Lang  <mlang@delysid.org>
10816         * emacs-lisp/chart.el (chart-translate-namezone):
10817         * textmodes/artist.el (artist-compute-popup-menu-table):
10818         Remove duplicated words in doc-strings.
10820 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
10822         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10823         to mairix-search to suppress threading (Bug#5342).
10825 2010-01-15  Kenichi Handa  <handa@m17n.org>
10827         * international/mule-cmds.el (canonicalize-coding-system-name):
10828         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10830 2010-01-15  Glenn Morris  <rgm@gnu.org>
10832         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
10834         * wid-edit.el (widget-keymap): Doc fix.
10836         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10837         former seems to be more widely accepted by various svn versions.
10839 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10841         * find-cmd.el (find-constituents):
10842         * vc-arch.el (vc-arch-root):
10843         * window.el (window-body-height, pop-up-frames):
10844         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10845         * progmodes/ada-stmt.el (ada-if):
10846         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10847         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10848         (ispell-encoding8-command, ispell-aspell-supports-utf8)
10849         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10851         * progmodes/flymake.el (flymake-post-syntax-check):
10852         Fix typo in error message.
10854 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10856         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10857         which is always a string.  (Bug#5313)
10859 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10861         * progmodes/ada-xref.el (ada-default-prj-properties):
10862         Simplify previous change.
10864 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10866         * progmodes/ada-xref.el (ada-default-prj-properties):
10867         Default ada_project_path to $ADA_PROJECT_PATH.
10869 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10871         * progmodes/ada-mode.el (ada-create-keymap):
10872         Override `narrow-to-defun' with `ada-narrow-to-defun'.
10874 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10876         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10877         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10878         (ada-get-current-indent, ada-imenu-generic-expression)
10879         (ada-which-function): Check for it.
10881 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10883         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10884         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10886 2010-01-14  Glenn Morris  <rgm@gnu.org>
10888         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
10890 2010-01-14  Kenichi Handa  <handa@m17n.org>
10892         * composite.el (auto-composition-mode): Make it a buffer local
10893         variable (permanent-local).
10894         (auto-composition-function): Set the default value to
10895         auto-compose-chars.
10896         (auto-composition-mode): Make it a simple function, not a minor mode.
10897         (global-auto-composition-mode): Likewise.
10898         (turn-on-auto-composition-if-enabled): Delete it.
10900 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
10902         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10904 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
10906         * files.el (copy-directory): Compute target for recursive
10907         directories with identical names.  (Bug#5343)
10909 2010-01-12  Glenn Morris  <rgm@gnu.org>
10911         * mail/emacsbug.el (report-emacs-bug-pretest-address):
10912         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10914 2010-01-11  Sam Steingold  <sds@gnu.org>
10916         * imenu.el (imenu-default-create-index-function): Detect infinite
10917         loops caused by imenu-prev-index-position-function.
10919 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10921         * htmlfontify.el (htmlfontify-load-rgb-file)
10922         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10923         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10924         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10925         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10926         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10927         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10928         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10929         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10930         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10931         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10932         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10933         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10934         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10935         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10936         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10937         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10938         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10939         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10940         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10941         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10942         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10943         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10944         backslash-quoting from parentheses, etc.
10946 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
10948         * progmodes/js.el: Autoload javascript-mode alias.
10950 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10952         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10953         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10954         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10955         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10956         Fix typos in docstrings.
10957         (ffap-url-regexp): Doc fix.
10958         (ffap-at-mouse): Fix typo in message.
10960 2010-01-11  Glenn Morris  <rgm@gnu.org>
10962         * version.el (emacs-copyright): Set copyright year to 2010.
10964 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10966         * format.el (format-annotate-function): Only set
10967         write-region-post-annotation-function after running to-fn so as not to
10968         affect nested write-region calls (bug#5273).
10970 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
10972         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10973         wisent/python.el.
10975 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10977         * man.el (Man-goto-section): Signal error if the section is not
10978         found (Bug#5317).
10980 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
10982         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10983         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
10985 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10987         * progmodes/compile.el: Don't treat compile-command as safe if
10988         compilation-read-command might be nil (Bug#4218).
10990 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
10992         * startup.el (command-line-1): Use orig-argi to check for ignored X and
10993         NS options.
10995 2010-01-08  Kenichi Handa  <handa@m17n.org>
10997         * international/fontset.el (build-default-fontset-data):
10998         Exclude characters in scripts kana, hangul, han, or cjk-misc.
11000 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
11002         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11003         to `create-file-buffer' as it expects, not just a buffer name.
11004         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11005         to help uniquify.  (Bug#3224)
11007 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
11009         * font-setting.el (font-setting-change-default-font): Use user-spec
11010         instead of name.
11012 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
11014         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11016 2010-01-05  Tom Tromey  <tromey@redhat.com>
11018         * progmodes/python.el (python-font-lock-keywords):
11019         Handle qualified decorators (Bug#881).
11021 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
11023         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11024         in a lightweight checkout.
11026 2010-01-05  Kenichi Handa  <handa@m17n.org>
11028         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11030 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
11032         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11034 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
11036         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11037         checkouts.  (Bug#618)
11038         (vc-bzr-log-view-mode): Also highlight the author.
11039         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11040         (vc-bzr-shelve-menu-map):
11041         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11042         (vc-bzr-shelve-apply): Make prompt more explicit.
11044 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
11046         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11047         They are valid characters in URL paths (rfc3986), and at least
11048         Firefox does not understand the encoded version (Bug#3166).
11050 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
11052         * progmodes/octave-mod.el (octave-end-keywords)
11053         (octave-block-begin-or-end-regexp, octave-block-match-alist):
11054         Add "end" keyword (Bug#3061).
11055         (octave-end-as-array-index-p): New function.
11056         (calculate-octave-indent): Use it.
11058 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11060         * bookmark.el: Consistently put the text property on the bookmark name.
11061         (bookmark-bmenu-marks-width): Bump back to 2, to include
11062         annotation marks.
11063         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11064         property on the bookmark name, instead of not putting it at all.
11065         (bookmark-bmenu-list): Fix where we put the text property.
11067 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11069         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11070         for showing buffer modified state (as added in the previous change).
11072 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11074         * bookmark.el: Show modified state of bookmark buffer more accurately.
11075         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11076         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11077         (with-buffer-modified-unmodified): New macro.
11078         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11079         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11080         Use new macro to preserve the buffer modified state.
11082 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11084         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11085         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11086         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11087         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11088         (bookmark-bmenu-rename, bookmark-bmenu-locate)
11089         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11090         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11092 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
11094         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11095         Make the lines in the generated doc string shorter.  (Bug#4668)
11097 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
11099         * net/rcirc.el: Add follow-link binding (Bug#4738).
11101 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
11103         * Makefile.in (bzr-update): Rename from cvs-update.
11104         (cvs-update): New target for backward compatibility.
11106         * makefile.w32-in (bzr-update): Rename from cvs-update.
11107         (cvs-update): New target for backward compatibility.
11109 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11111         * bookmark.el: Remove gratuitous gratitude.
11113 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11115         * bookmark.el (bookmark-bmenu-any-marks): New function.
11116         (bookmark-bmenu-save): Clear buffer modification if no marks.
11118 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11120         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11121         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11122         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11123         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11125         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11126         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11127         To: emacs-devel {_AT_} gnu.org
11128         Subject: bookmark.el bug report
11129         Date: Mon, 28 Dec 2009 14:19:16 +0800
11130         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11132 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11134         * bookmark.el: Improvements suggested by Drew Adams:
11135         (bookmark-bmenu-ensure-position): New name for
11136         `bookmark-bmenu-check-position'.  Just ensure the position,
11137         don't return any meaningful value.
11138         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11139         New constants.
11141 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
11143         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11144         (bookmark-yank-point, bookmark-bmenu-check-position):
11145         Fix typos in docstrings.
11146         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11147         (bookmark-name-from-full-record, bookmark-get-position)
11148         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11149         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11150         Remove useless quoting of parenthesis, etc. in docstrings.
11152         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11153         (ediff-append-custom-diff): Fix typo in error message.
11154         (ediff-meta-mark-equal-files): Fix typos in messages.
11156         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11158         * net/imap-hash.el (imap-hash-make): Doc fix.
11159         (imap-hash-test): Fix typo in error message; reflow docstring.
11160         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11161         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11162         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11163         Fix typos in docstrings.
11164         (imap-hash-open-connection): Fix typo in error message.
11166         * play/gomoku.el (gomoku): Fix typos in docstring.
11168         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11169         (gdb-jsonify-buffer): Fix typos in docstring.
11170         (gdb-goto-breakpoint): Fix typo in error message.
11171         ("Display Other Windows"): Fix typo in help message.
11172         (gdb-speedbar-expand-node): Fix typo in question.
11174         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11175         (idlwave-html-system-help-location, idlwave-html-help-location)
11176         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11177         (idlwave-help-browser-generic-args, idlwave-help-directory)
11178         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11179         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11180         (idlwave-online-help, idlwave-help-html-link)
11181         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11182         Fix typos in docstrings.
11183         (idlwave-help-with-source, idlwave-help-find-routine-definition):
11184         Reflow docstrings.
11185         (idlwave-help-assistant-start): Fix typo in error message.
11187         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11188         (octave-electric-space): Fix typos in docstrings.
11190 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
11192         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11194 2010-01-01  Juri Linkov  <juri@jurta.org>
11196         * comint.el (comint-input-ring-size): Make it a defcustom and
11197         increase the default to 500 (Bug#5148).
11199 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
11201         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11202         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11203         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11205 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
11207         Show working revision correctly for mercurial.
11208         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11209         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11211 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
11213         Declare some functions for the byte-compiler.
11214         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11215         (speedbar-timer-fn, speedbar-change-expand-button-char)
11216         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11218 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
11220         This changeset reverts GDB Graphical Interface to use annotations.
11221         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11223 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
11225         Make vc-dir work on subdirectories of the bzr root.
11226         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11227         Return file names relative to it.
11228         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11229         relative directory to vc-bzr-after-dir-status.
11231 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
11233         * font-lock.el (font-lock-refresh-defaults): New function, which
11234         can be used to let font-lock react to external changes in
11235         variables like font-lock-defaults and keywords.
11236         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11238 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
11240         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11242         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11244 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
11246         Supersede color.diff settings in git log (bug#5211).
11248         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11249         escape chars in its output when the user has color.diff set to `always'.
11250         This fix works on git 1.4.2 and newer (released on 2006-08-13).
11252 2009-12-26  Kevin Ryde  <user42@zip.com.au>
11254         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11255         node.  Keep previous "Index" name to work with past coreutils too.
11257         * man.el (man): Revise docstring a bit to show -a and -l as
11258         examples.  Add -k description since support for it has otherwise
11259         been a secret.  (Further to bug#3717.)
11260         (Man-bgproc-sentinel): When "-k foo" produces no output show error
11261         "no matches" rather than "Can't find manpage", as the latter reads
11262         like -k was interpreted as a page name, which is not so.  (Bug#5431)
11264 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
11266         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11267         switches.  Check also for //SUBDIRED// line.
11269 2009-12-25  Kenichi Handa  <handa@m17n.org>
11271         * language/indian.el (devanagari-composable-pattern): Fix to
11272         handle ZWNJ and ZWJ.  Use it in composition-function-table for
11273         Devanagari.
11274         (malayalam-composable-pattern): Fix previous change.
11276 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11278         * ps-print.el (ps-face-attributes): It was not returning the
11279         attribute face for faces specified as string.  Reported by harven
11280         <harven@free.fr>.  (Bug#5254)
11281         (ps-print-version): New version 7.3.5.
11283 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
11285         * calendar/icalendar.el (icalendar--convert-tz-offset):
11286         Fix timezone names.
11287         (icalendar--convert-tz-offset): Fix the "last-day-problem".
11288         (icalendar--add-diary-entry): Remove the trailing blank that
11289         diary-make-entry inserts.
11291 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
11293         Make `file-expand-wildcards' work for remote files.
11295         * files.el (file-expand-wildcards): In case of remote files, check
11296         only local file name part for wildcards.  Provide feature 'files
11297         and subfeature 'remote-wildcards.  (Bug#5198)
11299         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11300         if there is already an established connection.
11301         (tramp-advice-file-expand-wildcards): Remove it.
11303         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11304         (tramp-advice-file-expand-wildcards): Move from tramp.el.
11305         Activate advice for older GNU Emacs versions.  (Bug#5237)
11307 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
11309         Some doc fixes (more needed).
11311         * find-cmd.el (find-constituents): Reflow docstring.
11312         (find-cmd, find-prune, find-command): Fix typos in docstrings.
11313         (find-generic): Doc fix.
11315 2009-12-17  Juri Linkov  <juri@jurta.org>
11317         Fix regression from 23.1 to allow multiple modes in Local Variables.
11319         * files.el (hack-local-variables-filter): While ignoring duplicates,
11320         don't take `mode' into account.
11321         (hack-local-variables-filter, hack-dir-local-variables):
11322         Don't remove duplicate `mode' from local-variables-alist (like `eval').
11324 2009-12-17  Juri Linkov  <juri@jurta.org>
11326         Make `dired-diff' safer.  (Bug#5225)
11328         * dired-aux.el (dired-diff): Signal an error when `file' equals to
11329         `current' or when `file' is a directory of the `current' file.
11331 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
11333         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11334         unconditionally preloaded files.
11336 2009-12-16  Juri Linkov  <juri@jurta.org>
11338         Revert to old 23.1 logic of using the file at the mark as default.
11339         * dired-aux.el (dired-diff): Use the file at the mark as default
11340         if it's not the same as the current file, and the target dir is
11341         the current dir or the mark is active.  Add the current file
11342         as the arg of `dired-dwim-target-defaults'.  Use the default file
11343         in the prompt.  (Bug#5225)
11345 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
11347         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11348         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11349         (tramp-check-for-regexp): Check also, when an echoing shell stops
11350         to echo sent commands.
11352 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11354         * Makefile.in: Revert last change (Bug#5191).
11356 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
11358         * vc-hg.el (vc-hg-print-log): Fix argument order.
11359         (vc-hg-working-revision): Make sure the command is executed in a
11360         known environment so that we can parse the output.  (Bug#4417)
11362 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11364         * progmodes/python.el (python-symbol-completions): Remove text
11365         properties from symbol string before calling python-send-receive.
11367 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
11369         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11370         when there are values for both file and line.  (Bug#5060)
11372 2009-12-14  Juri Linkov  <juri@jurta.org>
11374         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11375         whitespace after the file name of the first line of unified format,
11376         because git-diff doesn't output whitespace and file modification time
11377         after the file name.
11379 2009-12-14  David Kastrup  <dak@gnu.org>
11381         * info.el (Info-hide-cookies-node): Before hiding a cookie,
11382         check if it already has the `display' property added by
11383         `Info-display-images-node', and not put the `invisible' property
11384         in this case.
11386 2009-12-13  Glenn Morris  <rgm@gnu.org>
11388         * mail/emacsbug.el (message-sort-headers): Define for compiler.
11389         (report-emacs-bug): In message-mode, sort manually before storing
11390         original report text.  (Bug#5178)
11391         Remove superfluous save-excursion.
11393 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
11395         * net/dbus.el (dbus-property-handler): Filter lambda forms out
11396         when responding to "GetAll" properties.
11398 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
11400         * simple.el (compose-mail): Remove mail-setup-with-from from
11401         customization checks.
11403 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
11405         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11406         RAR archives created on Unix systems.
11408 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11410         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11411         the varalias that was accidentally removed by the 2009-11-19 change
11412         (bug#5186).
11414 2009-12-12  Kenichi Handa  <handa@m17n.org>
11416         * language/indian.el (indian-compose-regexp): New function.
11417         (malayalam-composable-pattern): Fix the pattern.
11418         (composition-function-table): Set malayalam-composable-pattern for
11419         Malayalam characters.
11421 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
11423         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11424         rather than down-mouse-1, based on follow-link conventions.
11426         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11427         are compiled.
11429 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
11431         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11432         (verilog-vmm-statement-re, verilog-ovm-statement-re)
11433         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11434         (verilog-leap-to-head, verilog-backward-token):
11435         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
11437 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
11439         * progmodes/verilog-mode.el (verilog-auto-lineup)
11440         (verilog-nameable-item-re): Cleanup user-visible spelling and
11441         documentation errors.  One reported by Gary Delp.
11442         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11443         (verilog-read-decls): Fix AUTOWIRE with types declared in a
11444         package, bug195.  Reported by Pierre-David Pfister.
11446 2009-12-11  Glenn Morris  <rgm@gnu.org>
11448         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11450         * mail/emacsbug.el: No longer require sendmail.
11451         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
11452         (report-emacs-bug-orig-text): Doc fix.
11453         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11454         New local variables, to adapt to different mail-user-agents.
11455         (report-emacs-bug): Fix test for a gnu.org address.
11456         Use overlays for emphasis, since font-lock defeats 'face property.
11457         Pretest bugs also end up at the newsgroup these days.
11458         Stop message-mode stripping text properties.
11459         Set and use the new buffer-local variables.
11460         (report-emacs-bug-hook): Add doc-string.
11461         Remove some unnecessary save-excursions and simplify.
11462         Use the appropriate hook and send-command.
11464         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11465         capitalization of some menu entries.
11467 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11469         * whitespace.el (whitespace-display-char-on):
11470         Ensure `buffer-display-table' is unique when two or more windows are
11471         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11472         New version 12.1.
11474 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
11476         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11477         characters in the Attribute field.
11479 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
11481         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
11483 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11485         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11486         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11487         Disregard autoload-excludes.
11488         (update-directory-autoloads): Obey autoload-excludes here instead.
11489         But don't store its contents in no-autoloads and remove entries that
11490         refer to excludes files.
11492 2009-12-10  Glenn Morris  <rgm@gnu.org>
11494         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11495         (expand-mail-aliases): Define for compiler.
11497         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11498         Define for compiler.
11500         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11501         appropriate for the mail-user-agent in use.
11503 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
11505         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11507 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
11509         Fix short log parsing and fontification.
11510         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11511         Fix fontification for the [merge] label.
11513 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
11515         Drop some properties to avoid surprises (bug#5002).
11516         * htmlfontify.el (hfy-ignored-properties): New defcustom.
11517         (hfy-fontify-buffer): Use it.
11519 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11521         Minor cleanup.
11522         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11523         Adjust all callers.
11524         (ffap-locate-file): Remove unused arg `dir-ok' and make other
11525         args compulsory.  Adjust callers.
11526         (ffap-gopher-at-point): Remove unused var `name'.
11528         Get rid of the ELCFILES abomination.
11529         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11530         (compile-elcfiles): New phony target.
11531         (compile-main): Compute ELCFILES dynamically.
11532         (compile-clean): New target to remove left-over elc files.
11533         (compile, all): Use it.
11535 2009-12-09  Kenichi Handa  <handa@etlken>
11537         * international/mule-diag.el: Require help-mode instead of help-fns.
11539 2009-12-09  Kenichi Handa  <handa@m17n.org>
11541         * international/mule-cmds.el (ucs-names): Supply sufficiently
11542         fine ranges instead of pre-calculating accurate ranges.
11543         Iterate with bigger gc-cons-threshold.
11545 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
11547         Add support for stashing a snapshot of the current tree.
11548         * vc-git.el (vc-git-stash-snapshot): New function.
11549         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11551 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
11553         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11554         instead of `(beginning|end)-of-line'.
11556 2009-12-08  Glenn Morris  <rgm@gnu.org>
11558         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11560         * Makefile.in (ELCFILES): Regenerate.
11562 2009-12-07  Juri Linkov  <juri@jurta.org>
11564         Don't lazy-highlight the comint output in history Isearch mode.
11566         * comint.el (comint-history-isearch-search): Instead of
11567         `comint-line-beginning-position', use `comint-after-pmark-p'
11568         to check if point if before the process mark, and go to
11569         `process-mark' in this case.
11571 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11573         * textmodes/tex-mode.el (latex-complete)
11574         (latex-indent-or-complete): Remove.
11575         (latex-mode): Set completion-at-point-functions instead.
11577         Provide a standard completion command and hook it into TAB.
11578         * minibuffer.el (completion-at-point-functions): New var.
11579         (completion-at-point): New command.
11580         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11581         * progmodes/python.el (python-mode-map): Use completion-at-point.
11582         (python-completion-at-point): Rename from python-partial-symbol and
11583         adjust for use in completion-at-point-functions.
11584         (python-mode): Setup completion-at-point for Python completion.
11585         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11586         extracted from lisp-complete-symbol.
11587         (lisp-complete-symbol): Use it.
11588         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11589         setup completion-at-point for Elisp completion.
11590         (emacs-lisp-mode-map, lisp-interaction-mode-map):
11591         Use completion-at-point.
11592         * ielm.el (ielm-map): Use completion-at-point.
11593         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11594         * progmodes/sym-comp.el: Move to...
11595         * obsolete/sym-comp.el: Move from progmodes.
11597 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
11599         Prevent save-buffer in Rmail buffers from using the coding-system
11600         of the current message, and from clobbering the encoding mnemonics
11601         in the mode line (Bug#4623).
11603         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11604         flag, too.
11605         (rmail-message-encoding): New variable.
11606         (rmail-write-region-annotate): Record the encoding of the current
11607         message in rmail-message-encoding.
11608         (rmail-after-save-hook): New function, restores the encoding of
11609         the current message after the message collection is saved.
11611 2009-12-07  Juri Linkov  <juri@jurta.org>
11613         * progmodes/grep.el (grep-read-files): Use `completing-read'
11614         instead of `read-string'.  Set its `collection' arg to
11615         `read-file-name-internal'.  (Bug#4301)
11617 2009-12-07  Juri Linkov  <juri@jurta.org>
11619         Correctly restore original Isearch point.  (Bug#4994)
11621         * isearch.el (isearch-mode): Move `isearch-push-state' after
11622         `(run-hooks 'isearch-mode-hook)'.
11623         (isearch-cancel): When `isearch-push-state-function' is defined,
11624         let-bind `isearch-cmds' to the first state (the last element of
11625         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11626         function and restores the original point).  Otherwise, move point
11627         to `isearch-opoint'.
11629 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11631         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11632         chars that don't have names, so the table can be built much faster at
11633         run-time.
11635 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
11637         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11638         change.  Suggested by David Kastrup.
11640         * simple.el (compose-mail): Check for incompatibilities and warn.
11641         (compose-mail-user-agent-warnings): New option.
11643 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11645         Support showing a single log entry from vc-annotate.
11646         * vc.el (print-log): Add a new argument: START-REVISION.
11647         (vc-print-log-internal): Add a new optional argument and
11648         pass it to the backend.
11649         (vc-print-log, vc-print-root-log): Adjust callers.
11650         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11651         buffer already displays the requested log entry, use it.
11652         Otherwise display only the log entry in question.
11653         * vc-svn.el (vc-svn-print-log):
11654         * vc-mtn.el (vc-mtn-print-log):
11655         * vc-hg.el (vc-hg-state):
11656         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11657         (vc-git-show-log-entry): Return t on success.
11658         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11659         (vc-bzr-show-log-entry): Return t on success.
11660         * vc-rcs.el (vc-rcs-print-log):
11661         * vc-sccs.el (vc-sccs-print-log):
11662         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11664 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11666         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11667         Add menus to the meta mode.  (Bug#5043)
11669 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
11671         * ediff-init.el (ediff-event-key): Use event-to-character instead of
11672         event-key.
11674         * ediff.el (ediff-buffers-internal): Add unwind-protect.
11676 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
11678         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
11679         Berbain <raphael.berbain@gmail.com>.
11681         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
11682         characters.
11683         (tramp-initial-end-of-output): New defconst.
11684         (tramp-methods, tramp-find-shell)
11685         (tramp-open-connection-setup-interactive-shell)
11686         (tramp-maybe-open-connection): Use it.
11687         (tramp-shell-prompt-pattern, tramp-wait-for-output):
11688         Handle existence of `#' and `$'.
11690         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11691         Use `tramp-initial-end-of-output'.
11693 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11695         Get the background mode from the terminal for xterm, and set
11696         faces accordingly.
11697         * term/xterm.el (xterm-set-background-mode): New function.
11698         (terminal-init-xterm): Use it in case xterm supports background
11699         color queries.  Recompute faces after getting the background
11700         color.
11702 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
11704         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11705         number comment back on its own line, for easier parsing.
11707 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11709         Make it work for non-file buffers (bug#5102).
11710         * doc-view.el (doc-view-current-cache-dir):
11711         Use doc-view-buffer-file-name rather than buffer-file-name.
11712         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11714 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
11716         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11717         author field is too short.
11719 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
11721         * vc-git.el (vc-git-print-log): Handle a limit argument.
11722         Display the short log in graph form and with labels.
11723         (vc-git-log-view-mode): Handle labels.
11725         Make vc-revert change VC state from 'added to 'unregistered.
11726         * vc-git.el (vc-git-revert): Call git reset first.
11728 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
11730         * net/newst-backend.el, net/newst-plainview.el:
11731         * net/newst-reader.el, net/newst-ticker.el:
11732         * net/newst-treeview.el, net/newsticker.el:
11733         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
11735 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11737         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11739         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11740         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
11741         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11742         Update annotation regexp.
11744         * simple.el (beginning-of-visual-line): Constrain to field
11745         boundaries (Bug#5106).
11747 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
11749         * xml.el (xml-substitute-numeric-entities):
11750         Move newsticker--decode-numeric-entities in newst-backend.el to
11751         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
11752         * net/newst-backend.el (newsticker--parse-generic-feed)
11753         (newsticker--parse-generic-items)
11754         (newsticker--decode-numeric-entities):
11755         Move newsticker--decode-numeric-entities in newst-backend.el to
11756         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
11758 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
11760         * progmodes/js.el (js--js-not): Add null to the list of values.
11762 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11764         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11766 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11768         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11769         delimiter if it is at the end of the current line.
11770         (bibtex-generate-url-list): Fix docstring.
11772 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11774         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11775         minibuffer's content with itself.
11776         Fold the confirm-after-completion case into the `confirm' case.
11777         (completion-pcm-word-delimiters): Add : and / to the delimiters.
11779 2009-12-06  Kevin Ryde  <user42@zip.com.au>
11781         * ffap.el (ffap-rfc-path): Make this a defcustom since
11782         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
11784         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11785         manuals, similar to existing setup for help-mode.  (Bug#3913.)
11787 2009-12-05  Juri Linkov  <juri@jurta.org>
11789         Save and restore dired buffer's point positions too.  (Bug#4880)
11791         * dired.el (dired-save-positions): Return in the first element
11792         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11793         Doc fix.
11794         (dired-restore-positions): First restore buffer's position.
11795         While restoring window's positions, check if window still displays
11796         the original buffer.
11798 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
11800         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11801         if possible.
11803         * shell.el (shell): Require ansi-color (Bug#5113).
11805         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11807         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11809 2009-12-05  Alan Mackenzie  <acm@muc.de>
11811         * progmodes/cc-mode.el (c-before-hack-hook)
11812         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11813         `c-file-style' to work again.  This reversion restores the current
11814         software to its state in Emacs 23.1.  (Bug#4146)
11816 2009-12-05  Kevin Ryde  <user42@zip.com.au>
11818         * textmodes/sgml-mode.el (sgml-lexical-context):
11819         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11821 2009-12-05  Juri Linkov  <juri@jurta.org>
11823         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11824         for virtual nodes.  (Bug#4147)
11825         (Info-find-node-2): Set `Info-current-node-virtual' to nil
11826         when moving from a virtual node.
11827         (Info-mode-menu): Add `Info-virtual-index' to the menu.
11828         (Info-mode): Add `Info-virtual-index' to the docstring.
11830 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11832         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11833         track of the buffer position of the end of a BibTeX entry as this
11834         position may change during reformatting.
11835         (bibtex-format-entry): Remove whitespace before processing
11836         numerical fields so that we recognize the latter properly.
11837         (bibtex-reformat): Do not use push which changes the global value
11838         of bibtex-entry-format.
11839         (bibtex-field-braces-alist, bibtex-field-strings-alist)
11840         (bibtex-field-re-init): Replace only space characters by regexp
11841         for whitespace.
11842         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11843         (bibtex-initialize): Also update bibtex-strings.
11844         (bibtex-kill-field): Preserve white space at end of entry.
11845         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11846         Update bibtex-reference-keys.
11848 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11850         * minibuffer.el (completion-pcm--merge-try): Also consider placing
11851         point after a star, if that's the only place where modifications can
11852         make progress.
11854 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
11856         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11857         in docstrings.
11859 2009-12-04  Juri Linkov  <juri@jurta.org>
11861         * proced.el (proced): Call `(proced-update t)' to update process
11862         information instead of only running proced-post-display-hook.
11863         (proced-send-signal): Add a leading space to the buffer name
11864         " *Marked Processes*" to make this buffer ephemeral.
11866 2009-12-04  Juri Linkov  <juri@jurta.org>
11868         * dired.el (dired-auto-revert-buffer): New defcustom.
11869         (dired-internal-noselect): Use it.
11871 2009-12-04  Juri Linkov  <juri@jurta.org>
11873         Change roles of modes and functions in image-mode.el (Bug#5062).
11875         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11876         in `auto-mode-alist'.
11877         (image-mode-previous-major-mode): New variable.
11878         (image-minor-mode-map): Rename from `image-mode-text-map'.
11879         (image-mode): Move graceful error-handling code from
11880         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
11881         (image-minor-mode): Remove all image-handling code.
11882         Replace `image-mode-text-map' with `image-minor-mode-map'.
11883         Check for `image-type' in mode-line format string.
11884         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11885         (image-mode-as-text): New function with most code from
11886         `image-mode-maybe'.
11887         (image-toggle-display-text): Move code that removes image
11888         properties from `image-toggle-display' to here.
11889         (image-toggle-display-image): New function with code that adds
11890         image properties copied from `image-toggle-display'.
11891         (image-toggle-display): Remove most code with leaving only code
11892         that toggles between `image-mode-as-text' and `image-mode'.
11894 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
11896         * net/newst-treeview.el
11897         (newsticker--treeview-list-highlight-start): Restored call to
11898         save-excursion: Selected item was stuck.
11899         (newsticker--treeview-list-select): New.
11900         (newsticker--treeview-item-show-text)
11901         (newsticker--treeview-item-show)
11902         (newsticker--treeview-item-update): Use new
11903         newsticker-treeview-item-mode.
11904         (newsticker-treeview-update): Keep current item.
11905         (newsticker-treeview-next-new-or-immortal-item): Doc change.
11906         (newsticker--treeview-first-feed): Doc change.
11907         (newsticker-treeview-list-menu)
11908         (newsticker-treeview-item-menu): Add menu entries.
11909         (newsticker-treeview-item-mode): New.
11911         * net/newst-backend.el (newsticker-customize): Delete other
11912         windows.
11914 2009-12-04  Sam Steingold  <sds@gnu.org>
11916         * log-view.el (log-view-mode-map): "q" calls quit-window,
11917         like in all the other non-self-insert buffers.
11919 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11921         Minor cleanup.
11922         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11923         key decoding rather than do it manually via last-input-event +
11924         ascii-character.
11925         (term-exec): Use delete-and-extract-region.
11926         (term-handle-ansi-terminal-messages): Remove unused var `end'.
11927         (term-process-pager): Remove unused var `i'.
11928         (term-dynamic-simple-complete): Make obsolete.
11929         (serial-update-config-menu): Remove unused vars `y' and `str'.
11930         (term-update-mode-line): Remove unused var `temp'.
11932 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11934         Limit the number of log entries displayed by default.
11935         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11936         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11937         using a prefix argument.
11939 2009-12-03  Glenn Morris  <rgm@gnu.org>
11941         * progmodes/idlwave.el (class): Restore still useful declaration.
11943 2009-12-03  Alan Mackenzie  <acm@muc.de>
11945         Enhance `c-parse-state' to run efficiently in "brace deserts".
11947         * progmodes/cc-mode.el (c-basic-common-init):
11948         Call c-state-cache-init.
11949         (c-neutralize-syntax-in-and-mark-CPP): Rename from
11950         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
11951         placing `category' properties value 'c-cpp-delimiter at its boundaries.
11953         * progmodes/cc-langs.el (c-before-font-lock-function):
11954         c-extend-and-neutralize-syntax-in-CPP has been renamed
11955         c-neutralize-syntax-in-and-mark-CPP.
11957         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11958         with `category' properties now, not `syntax-table' ones.
11960         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11961         enhanced (but slower) version of c-end-of-macro that won't land
11962         inside a literal or on another awkward character.
11963         (c-state-cache-too-far, c-state-cache-start)
11964         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11965         (c-state-nonlit-pos-cache-limit, c-state-point-min)
11966         (c-state-point-min-lit-type, c-state-point-min-lit-start)
11967         (c-state-min-scan-pos, c-state-brace-pair-desert)
11968         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11969         buffer local variables.
11970         (c-state-literal-at, c-state-lit-beg)
11971         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11972         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11973         (c-state-cache-top-paren, c-state-cache-after-top-paren)
11974         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11975         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11976         (c-renarrow-state-cache)
11977         (c-append-lower-brace-pair-to-state-cache)
11978         (c-state-push-any-brace-pair, c-append-to-state-cache)
11979         (c-remove-stale-state-cache)
11980         (c-remove-stale-state-cache-backwards, c-state-cache-init)
11981         (c-invalidate-state-cache-1, c-parse-state-1)
11982         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11983         (c-parse-state): Enhance and refactor.
11984         (c-debug-parse-state): Amend to deal with all the new variables.
11986         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11987         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11988         modify to use category text properties rather than syntax-table ones.
11989         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11990         to switch off/on the syntactic paren property of C++ template
11991         delimiters using the category property.
11992         (c-with-<->-as-parens-suppressed): Macro to invoke code with
11993         template delims suppressed.
11994         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11995         New constant/macros which apply category properties to the start
11996         and end of preprocessor constructs.
11997         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11998         "comment out" the syntactic value of characters in preprocessor
11999         constructs.
12000         (c-with-cpps-commented-out)
12001         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12002         with characters in all or all but one preprocessor constructs
12003         "commented out".
12005 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12007         * proced.el (proced-filter-alist): Use regexp-quote.
12009 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
12011         Cleanup.
12012         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12013         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
12014         arguments.  Expand `default-directory'.
12016         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12017         the benefit of returning an expanded localname.
12018         (tramp-tramp-file-p): Handle the case NAME is not a string.
12020 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12022         Add support for bzr shelve/unshelve.
12023         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12024         (vc-bzr-extra-menu-map): New variables.
12025         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12026         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12027         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12028         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12029         (vc-bzr-dir-extra-headers): Display shelves.
12031         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12033 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12035         * textmodes/bibtex.el (bibtex-complete-internal):
12036         Use completion-in-region.
12037         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12039 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12041         Support applying stashes.  Improve UI.
12042         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12043         (vc-git-stash-apply, vc-git-stash-pop)
12044         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12045         (vc-git-stash-menu): New functions.
12046         (vc-git-stash-menu-map): New variable.
12047         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12049 2009-12-03  Glenn Morris  <rgm@gnu.org>
12051         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12052         (vc-print-log-internal): Fix previous change.
12053         (vc-revert): Correct pluralization.
12055 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12057         * progmodes/make-mode.el (makefile-special-targets-list): No need for
12058         it to be an alist any more.
12059         (makefile-complete): Use completion-in-region.
12061         * progmodes/octave-mod.el (octave-complete-symbol):
12062         Use completion-in-region.
12064         Misc cleanup.
12065         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12066         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12067         (idlwave-complete-class): Don't quote lambda.
12068         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12069         (idlwave-mode-map): Move initialization into declaration.
12070         (idlwave-action-and-binding): Use backquotes.
12071         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12072         Simplify.
12073         (idlwave-is-pointer-dereference): Remove unused var `pos'.
12074         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12075         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12076         `parts', and `all-parts'.
12077         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12078         (idlwave-convert-xml-system-routine-info): Remove unused string
12079         `version-string'.
12080         (idlwave-display-user-catalog-widget): Use dolist.
12081         (idlwave-scanning-lib): Declare dynamically-scoped var.
12082         (idlwave-scan-library-catalogs): Remove unused var `flags'.
12083         (completion-highlight-first-word-only): Declare to silence bytecomp.
12084         (idlwave-popup-select): Tighten scope of `resp'.
12085         (idlwave-find-struct-tag): Remove unused var `beg'.
12086         (idlwave-after-load-rinfo-hook): Declare.
12087         (idlwave-sintern-class-info): Remove unused var `taglist'.
12088         (idlwave-find-class-definition): Remove unused var `list'.
12089         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12090         (idlwave-what-module-find-class): Remove unused var `classes'.
12092 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
12094         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12096 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12098         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12099         buffers visited.  Remove redundant current-buffer-saving.
12101 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12103         Use completion-in-buffer and remove uses of dynamic scoping.
12104         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12105         (pascal-buffer-to-use, pascal-flag): Don't declare.
12106         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12107         (pascal-get-completion-decl, pascal-keyword-completion):
12108         Add `pascal-str' argument, save-excursion,
12109         return the found completions, and don't filter with pascal-pred.
12110         (pascal-completion-cache): New var.
12111         (pascal-completion): Don't switch buffer any more (it was never
12112         necessary).  Don't save-excursion any more (it's done by the called
12113         subroutines).  Use a cache to avoid redundant computations.
12114         Use complete-with-action rather than pascal-completion-response and
12115         let it apply the predicate as well.
12116         (pascal-complete-word): Use completion-in-buffer when
12117         pascal-toggle-completions is nil.
12118         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12119         not used any more.
12120         (pascal-comp-defun): Don't change buffer any more.
12121         Use complete-with-action rather than pascal-completion-response and
12122         let it apply the predicate as well.
12123         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12124         when neded.
12126 2009-12-02  Kenichi Handa  <handa@m17n.org>
12128         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12129         shape for all Indic scripts.
12131 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12133         Use completion-in-buffer.
12134         * wid-edit.el (widget-field-text-end): New function.
12135         (widget-field-value-get): Use it.
12136         (widget-string-complete, widget-file-complete)
12137         (widget-color-complete): Use it and completion-in-region.
12138         (widget-complete): Don't narrow the buffer.
12140 2009-12-02  Glenn Morris  <rgm@gnu.org>
12142         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
12143         (rmail-select-summary): Use rmail-pop-to-buffer.
12144         * mail/rmailsum.el: Replace all pop-to-buffer calls with
12145         rmail-pop-to-buffer, to prevent horizontal splits.
12147         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12148         save-excursion with save-current-buffer.
12149         Widen before searching.  (Bug#5093)
12150         (diary-list-sexp-entries): Remove superfluous save-excursion.
12152 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
12154         * woman.el (woman-make-bufname): Handle man-pages with "." in the
12155         name.  (Bug#5038)
12157 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
12159         * ido.el (ido-file-internal): Handle filenames at point that do
12160         not have a directory part.  (Bug#5049)
12162 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
12164         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12165         (mpc-songs-jump-to, mpc-resume): Doc fixes.
12167 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
12169         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12170         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12171         any more.
12173 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12175         * comint.el (comint-insert-input): Ignore clicks to the right of
12176         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12178         * vc.el (vc-print-log-internal): Don't wait for the process to
12179         terminate before setting up the major mode.
12181         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12182         in case.
12184         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12185         the last element.
12187         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12189 2009-12-01  Glenn Morris  <rgm@gnu.org>
12191         * window.el (window--display-buffer-2): Fix previous changes.
12193 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
12195         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12197 2009-12-01  Glenn Morris  <rgm@gnu.org>
12199         * Makefile.in (ELCFILES): Add mpc.elc.
12201 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12203         * mpc.el: New file.
12205 2009-12-01  Glenn Morris  <rgm@gnu.org>
12207         * window.el (window-to-use): Define for compiler.
12209         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12210         consistent with others (no final period).
12212         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12213         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
12215 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
12217         Make vc-print-log buttons work.
12218         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12220 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
12222         * savehist.el (savehist-autosave-interval): Allow setting to nil
12223         through customize.  (Bug#5056)
12225 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
12227         Fix references to jit-lock properties.
12228         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12229         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12230         (perl-font-lock-special-syntactic-constructs):
12231         Quote jit-lock-defer-multiline property.
12233 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
12235         * vc-git.el (vc-git-registered): Call vc-git-root only once.
12237 2009-11-30  Juri Linkov  <juri@jurta.org>
12239         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12240         value `buffer' of `multi-isearch-next-buffer-current-function'.
12241         Use `(current-buffer)' when `buffer' is nil.
12242         (multi-isearch-next-buffer-from-list): Don't fallback to
12243         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
12245 2009-11-30  Juri Linkov  <juri@jurta.org>
12247         * misearch.el (multi-isearch-read-buffers): Move canonicalization
12248         of buffers with `get-buffer' to `multi-isearch-buffers'.
12249         (multi-isearch-buffers, multi-isearch-buffers-regexp):
12250         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
12251         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12252         FILES with `expand-file-name' converting relative file names
12253         to absolute.  Doc fix.  (Bug#4727)
12255 2009-11-30  Juri Linkov  <juri@jurta.org>
12257         * misearch.el (multi-isearch-read-buffers)
12258         (multi-isearch-read-matching-buffers): New functions.
12259         (multi-isearch-buffers, multi-isearch-buffers-regexp):
12260         Use them in the `interactive' spec.  Doc fix.
12261         (multi-isearch-read-files, multi-isearch-read-matching-files):
12262         New functions.
12263         (multi-isearch-files, multi-isearch-files-regexp):
12264         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
12266 2009-11-30  Juri Linkov  <juri@jurta.org>
12268         * doc-view.el (doc-view-continuous):
12269         Rename from `doc-view-continuous-mode'.
12270         (doc-view-menu): Move "Toggle display" to the top.
12271         Add submenu "Continuous" with radio buttons "Off"/"On"
12272         and "Save as Default".
12273         (doc-view-scroll-up-or-next-page)
12274         (doc-view-scroll-down-or-previous-page)
12275         (doc-view-next-line-or-next-page)
12276         (doc-view-previous-line-or-previous-page):
12277         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
12279 2009-11-30  Juri Linkov  <juri@jurta.org>
12281         * comint.el (comint-mode-map): Rebind `M-r' from
12282         `comint-previous-matching-input' to
12283         `comint-history-isearch-backward-regexp'.
12284         Unbind `M-s' to allow global key binding `M-s'.
12285         Add menu items for `comint-history-isearch-backward' and
12286         `comint-history-isearch-backward-regexp'.  (Bug#3746)
12288 2009-11-30  Juri Linkov  <juri@jurta.org>
12290         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12291         For def=recenter, replace `recenter' with `recenter-top-bottom'
12292         that is called with `this-command' and `last-command' let-bound
12293         to `recenter-top-bottom'.  When the last `def' was not `recenter',
12294         set `recenter-last-op' to nil.  (Bug#4981)
12296 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12298         Minor cleanup and simplification.
12299         * filecache.el (file-cache-add-directory)
12300         (file-cache-add-directory-recursively)
12301         (file-cache-add-from-file-cache-buffer)
12302         (file-cache-delete-file-regexp, file-cache-delete-directory)
12303         (file-cache-files-matching-internal, file-cache-display): Use dolist.
12304         (file-cache-temp-minibuffer-message): Delete function.
12305         (file-cache-minibuffer-complete): Use minibuffer-message instead.
12307         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12308         Don't signal an error when bumping into EOB in tr, s, or y.
12310 2009-11-29  Juri Linkov  <juri@jurta.org>
12312         * startup.el (fancy-about-text): Fix wording of Guided Tour.
12313         (Bug#4960)
12315         * descr-text.el (describe-char-unidata-list): Use lowercase name
12316         for "Unicode name" like in other tags.
12318 2009-11-29  Juri Linkov  <juri@jurta.org>
12320         * ediff-util.el (ediff-minibuffer-with-setup-hook):
12321         New compatibility macro.
12322         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12324 2009-11-29  Juri Linkov  <juri@jurta.org>
12326         Add defcustom to define the cycling order of `recenter-top-bottom'.
12327         (Bug#4981)
12329         * window.el (recenter-last-op): Doc fix.
12330         (recenter-positions): New defcustom.
12331         (recenter-top-bottom): Rewrite to use `recenter-positions'.
12332         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12334 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
12336         Improve integration of Tramp and ange-ftp in eshell.
12338         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12339         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
12340         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
12342         * eshell/esh-util.el (top): Require also Tramp when compiling.
12343         (eshell-directory-files-and-attributes): Check for FTP remote
12344         connection.
12345         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12346         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12347         (eshell-file-attributes): Handle ".".  Return `entry'.
12349         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12350         (ange-ftp-directory-files-and-attributes)
12351         (ange-ftp-real-directory-files-and-attributes): New defuns.
12353         * net/tramp.el (tramp-maybe-open-connection): Open the remote
12354         shell with "exec" when possible.  This prevents trailing prompts
12355         in `start-file-process'.
12357 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12359         Try and remove assumptions about point-min==1.
12360         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12361         (rng-compute-mode-line-string): Show the validation percentage in
12362         terms of the narrowed text, not the widened text.
12363         (rng-do-some-validation): Don't catch internal errors when debugging.
12364         (rng-first-error): Simplify.
12365         (rng-after-change-function): Remove work around.  AFAIK the bug has
12366         been fixed a while ago.
12368         * image-mode.el (image-minor-mode): Exit more gracefully when the image
12369         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12371         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12373         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12374         `cd' doesn't always do it for us (bug#5067).
12376         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12377         on 2009-10-25 as part of some other change (bug#5067).
12379 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12381         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12382         `suspicious'.
12383         (byte-compile-warnings): Use byte-compile-warning-types.
12384         (byte-compile-save-excursion): Warn about use of set-buffer right
12385         after save-excursion.
12387         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12388         the excursion as well.
12390 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
12392         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12393         providing a Tramp related implementation of "su" and "sudo".
12394         (eshell-unix-initialize): Add "su" and "sudo".
12396 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
12398         * net/socks.el (socks-send-command): Convert binary request to
12399         unibyte before sending.  This fixes mishandling of some port
12400         numbers such as 129.
12402 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12404         * help.el (describe-bindings-internal): Remove `interactive'.
12406         * man.el (Man-completion-table): Trim a terminating "(".
12407         Remove the space between name page a section.
12408         Add the command's description on the `help-echo' property.
12409         Remove `process-connection-type' binding since it's unused by
12410         call-process.
12411         Provide completion for the "<section> <name>" format as well.
12412         (Man-default-man-entry): Remove spurious var shadowing the argument.
12414 2009-11-26  Kevin Ryde  <user42@zip.com.au>
12416         * log-view.el: Add "Keywords: tools", since its other keywords
12417         aren't in finder-known-keywords, and following vc.el.
12419         * sha1.el (sha1-string-external): default-directory "/" in case
12420         otherwise non-existent.  process-connection-type pipe for touch of
12421         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
12423 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12425         Misc coding convention cleanups.
12426         * htmlfontify.el (hfy-init-kludge-hook): Rename from
12427         hfy-init-kludge-hooks.
12428         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12429         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12430         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12431         and push.
12432         (hfy-slant, hfy-weight): Use tables rather than code.
12433         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12434         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12435         (hfy-face-attr-for-class): Initialize `face-spec' directly.
12436         (hfy-face-to-css): Remove `nconc' with single arg.
12437         (hfy-p-to-face-lennart): Use `or'.
12438         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
12439         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12440         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12441         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12442         (hfy-force-fontification): Use run-hooks.
12444 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
12446         Various minor fixes.
12447         * htmlfontify.el (hfy-default-header): Add toggle_invis since
12448         Javascript belongs in the header, not the body.
12449         (hfy-javascript): Remove.
12450         (hfy-fontify-buffer): Don't insert it any more.
12451         (hfy-face-at): Handle (face0 face1 face2) style face properties.
12452         Fix bug in invis handling when there were no invis props in a chunk.
12454 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12456         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12458 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
12460         * finder.el (finder-mode-map): Add a menu.
12462 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
12464         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12465         "unsigned" structs.
12467         (verilog-leap-to-head, verilog-backward-token): Handle "disable
12468         fork" statement better.
12470 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
12472         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12473         (verilog-delete-auto, verilog-delete-empty-auto-pair)
12474         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12475         Reported by Clay Douglass.
12477         (verilog-auto-inst, verilog-auto-star-safe)
12478         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12479         Fix removing "// Interfaces" when saving .* expansions.
12480         Reported by Pierre-David Pfister.
12482 2009-11-26  Glenn Morris  <rgm@gnu.org>
12484         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12485         the scope.
12487 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
12489         * vc-annotate.el (vc-annotate-revision-previous-to-line):
12490         Really use previous revision.
12492 2009-11-25  Kevin Ryde  <user42@zip.com.au>
12494         * man.el (Man-completion-table): default-directory "/" in case
12495         doesn't otherwise exist.  process-environment COLUMNS=999 so as
12496         not to truncate long names.  process-connection-type pipe to avoid
12497         any chance of hitting the pseudo-tty TIOCGWINSZ.
12498         (man): completion-ignore-case t for friendliness and since man
12499         itself is case-insensitive on the command line.
12500         Further to Bug#3717.
12502         * arc-mode.el: Add "Keywords: files", so the details in its
12503         commentary can be reached from finder-by-keyword.
12504         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
12505         editing mode, but it's comms related and sgml-mode.el has "comm"
12506         on that basis too.
12507         * textmodes/bibtex-style.el: Add "Keywords: tex".
12508         * international/isearch-x.el, international/ja-dic-cnv.el:
12509         * international/ja-dic-utl.el, international/kkc.el:
12510         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12512 2009-11-25  Juri Linkov  <juri@jurta.org>
12514         * man.el (Man-completion-table): Modify regexp to include
12515         section names to completion strings.  (Bug#3717)
12517 2009-11-25  Juri Linkov  <juri@jurta.org>
12519         Search recursively in gzipped files.  (Bug#4982)
12521         * progmodes/grep.el (grep-highlight-matches): Add new options
12522         `always' and `auto'.  Doc fix.
12523         (grep-process-setup): Check `grep-highlight-matches' for
12524         `auto-detect' to determine the need to compute grep defaults.
12525         Move Windows/DOS specific --colors settings handling
12526         to `grep-compute-defaults'.  Check `grep-highlight-matches'
12527         to get the value of "--color=".
12528         (grep-compute-defaults): Compute `grep-highlight-matches' when it
12529         has the value `auto-detect'.  Move Windows/DOS specific settings
12530         from `grep-process-setup'.
12531         (zrgrep): New command with alias `rzgrep'.
12533 2009-11-25  Juri Linkov  <juri@jurta.org>
12535         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12536         to nil instead of switching off view-mode.  (Bug#4896)
12538 2009-11-25  Juri Linkov  <juri@jurta.org>
12540         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
12542         * mwheel.el (mwheel-scroll-up-function)
12543         (mwheel-scroll-down-function): New defvars.
12544         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12545         `scroll-up', and `mwheel-scroll-down-function' instead of
12546         `scroll-down'.
12548         * doc-view.el (doc-view-scroll-up-or-next-page)
12549         (doc-view-scroll-down-or-previous-page): Add optional ARG.
12550         Use this ARG in the call to image-scroll-up/image-scroll-down.
12551         Change `interactive' spec to "P".  Goto next/previous page only
12552         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12553         SPC/DEL case).  Doc fix.
12554         (doc-view-next-line-or-next-page)
12555         (doc-view-previous-line-or-previous-page): Rename arg to ARG
12556         for consistency.
12557         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12558         `doc-view-scroll-up-or-next-page', and buffer-local
12559         `mwheel-scroll-down-function' to
12560         `doc-view-scroll-down-or-previous-page'.
12562 2009-11-25  Juri Linkov  <juri@jurta.org>
12564         Provide additional default values (directories at other Dired
12565         windows) via M-n in the minibuffer of some Dired commands.
12567         * dired-aux.el (dired-diff, dired-compare-directories)
12568         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12569         `minibuffer-default' in `minibuffer-with-setup-hook'.
12570         (dired-dwim-target-directory): Find a window that displays Dired
12571         buffer instead of failing when the next window is not Dired.
12572         Use `get-window-with-predicate' to find for the next Dired window.
12573         (dired-dwim-target-defaults): New function.
12575         * ediff-util.el (ediff-read-file-name):
12576         Use `dired-dwim-target-defaults' to set `minibuffer-default'
12577         in `minibuffer-with-setup-hook'.
12579 2009-11-25  Juri Linkov  <juri@jurta.org>
12581         Provide additional default values (file name at point or at the
12582         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
12584         * minibuffer.el (read-file-name-defaults): New function.
12585         (read-file-name): Reset `minibuffer-default' to nil when
12586         it duplicates initial input `insdef'.
12587         Bind `minibuffer-default-add-function' to lambda that
12588         calls `read-file-name-defaults' in `minibuffer-selected-window'.
12589         (minibuffer-insert-file-name-at-point): New command.
12591         * files.el (file-name-at-point-functions): New defcustom.
12592         (find-file-default): Remove defvar.
12593         (find-file-read-args): Don't use `find-file-default'.
12594         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12595         to `read-file-name'.
12596         (find-file-literally): Use `read-file-name' with
12597         `confirm-nonexistent-file-or-buffer'.
12599         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12601         * dired.el (dired-read-dir-and-switches):
12602         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12603         to `read-file-name'.
12604         (dired-file-name-at-point): New function.
12605         (dired-mode): Add hook `dired-file-name-at-point' to
12606         `file-name-at-point-functions'.
12608 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12610         Really make the *Completions* window soft-dedicated (bug#5030).
12611         * window.el (window--display-buffer-2): Add `dedicated' argument.
12612         (display-buffer): Pass it when needed so the dedicated flag is set
12613         after calling set-window-buffer, which would otherwise reset it.
12615 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12617         * progmodes/meta-mode.el (meta-complete-symbol):
12618         * progmodes/etags.el (complete-tag):
12619         * mail/mailabbrev.el (mail-abbrev-complete-alias):
12620         Use completion-in-region.
12622         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12623         (dabbrev-completion): Use completion-in-region.
12624         (dabbrev--abbrev-at-point): Simplify regexp.
12626         * abbrev.el (abbrev--before-point): Use word-motion functions
12627         if :regexp is not specified (bug#5031).
12629         * subr.el (string-prefix-p): New function.
12631         * man.el (Man-completion-cache): New var.
12632         (Man-completion-table): Use it.
12634         * vc.el (vc-print-log-internal): Make `limit' optional for better
12635         compatibility (e.g. with vc-annotate.el).
12637 2009-11-24  Kevin Ryde  <user42@zip.com.au>
12639         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12640         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
12642         * emacs-lisp/elint.el (elint-add-required-env): Better error message
12643         when .el source file not found or other error.
12645 2009-11-24  Markus Triska  <markus.triska@gmx.at>
12647         * linum.el (linum-update-window): Ignore intangible (bug#4996).
12649 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12651         Handle the [back] button properly (bug#4979).
12652         * descr-text.el (describe-text-properties): Add a `buffer' argument.
12653         Use help-setup-xref, help-buffer, and with-help-window.
12654         (describe-char): Add `buffer' argument.
12655         Pass proper command to help-setup-xref.  Don't meddle with
12656         help-xref-stack-item directly.
12657         (describe-text-category): Use with-help-window and help-buffer.
12659         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12660         for the displayed buffer (bug#4887).
12662         * man.el (Man-completion-table): New function.
12663         (man): Use it.
12665 2009-11-24  David Reitter  <david.reitter@gmail.com>
12667         * vc-git.el (vc-git-registered): Use checkout directory (where
12668         .git is) rather than the file's directory and a relative path spec
12669         to work around a bug in git.
12671 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
12673         Improve handling of processes on remote hosts.
12675         * eshell/esh-util.el (eshell-path-env): New defvar.
12676         (eshell-parse-colon-path): New defun.
12677         (eshell-file-attributes): Use `eshell-parse-colon-path'.
12679         * eshell/esh-ext.el (eshell-search-path):
12680         Use `eshell-parse-colon-path'.
12681         (eshell-remote-command): Remove argument HANDLER.
12682         (eshell-external-command): Check for FTP remote connection.
12684         * eshell/esh-proc.el (eshell-gather-process-output):
12685         Use `file-truename', in order to start also symlinked files.
12686         Apply `start-file-process' instead of `start-process'.
12687         Shorten `command' to the local file name part.
12689         * eshell/em-cmpl.el (eshell-complete-commands-list):
12690         Use `eshell-parse-colon-path'.
12692         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12694         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
12695         to `eshell-directory-change-hook'.
12697 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
12699         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12700         because it could be enabled automatically if view-read-only is non-nil.
12702 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
12704         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12705         made on 2009-11-22.
12707 2009-11-24  Glenn Morris  <rgm@gnu.org>
12709         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12710         deleted variable bookmark-bmenu-bookmark-column.
12712 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12714         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12716 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12718         * net/browse-url.el (browse-url-filename-alist): On Windows, add
12719         two slashes to the "file:" prefix.
12720         (browse-url-file-url): De-munge Cygwin filenames before passing
12721         them to Windows browser.
12722         (browse-url-default-windows-browser): Use call-process.
12724 2009-11-23  Juri Linkov  <juri@jurta.org>
12726         Implement DocView Continuous mode.  (Bug#4896)
12727         * doc-view.el (doc-view-continuous-mode): New defcustom.
12728         (doc-view-mode-map): Bind C-n/<down> to
12729         `doc-view-next-line-or-next-page', C-p/<up> to
12730         `doc-view-previous-line-or-previous-page'.
12731         (doc-view-next-line-or-next-page)
12732         (doc-view-previous-line-or-previous-page): New commands.
12734 2009-11-23  Juri Linkov  <juri@jurta.org>
12736         Implement Isearch in comint input history.  (Bug#3746)
12737         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12738         `isearch-mode-hook'.
12739         (comint-history-isearch): New defcustom.
12740         (comint-history-isearch-backward)
12741         (comint-history-isearch-backward-regexp): New commands.
12742         (comint-history-isearch-message-overlay): New buffer-local variable.
12743         (comint-history-isearch-setup, comint-history-isearch-end)
12744         (comint-goto-input, comint-history-isearch-search)
12745         (comint-history-isearch-message, comint-history-isearch-wrap)
12746         (comint-history-isearch-push-state)
12747         (comint-history-isearch-pop-state): New functions.
12749 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
12751         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12752         return.
12753         (tramp-handle-make-symbolic-link)
12754         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12755         Quote file names.
12756         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12757         (tramp-handle-process-file): Use it.
12759 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12761         * window.el (move-to-window-line-last-op): Remove.
12762         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12764 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
12766         Make M-r mirror the new cycling behavior of C-l.
12767         * window.el (move-to-window-line-last-op): New var.
12768         (move-to-window-line-top-bottom): New command.
12769         (global-map): Bind M-r move-to-window-line-top-bottom.
12771 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
12773         * dired-x.el (dired-guess-shell-alist-default):
12774         Support xz format.  (Bug#4953)
12776 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
12778         * emulation/viper-cmd.el: Use viper-last-command-char instead of
12779         last-command-char/last-command-event.
12780         (viper-prefix-arg-value): Do correct conversion of event-char for
12781         XEmacs.
12783         * emulation/viper-util.el, emulation/viper.el:
12784         Use viper-last-command-char instead of
12785         last-command-char/last-command-event.
12787         * ediff-init.el, ediff-mult.el, ediff-util.el:
12788         Replace last-command-char and last-command-event
12789         with (ediff-last-command-char) everywhere.
12791         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12792         created in fundamental mode.
12794         * ediff.el (ediff-version): Revert the change of interactive-p to
12795         called-interactively-p.
12797 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
12799         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12800         generation from word-movement command names.
12802 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
12804         * cus-start.el (all): Add native condition for font-use-system-font.
12806 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
12808         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12809         Correct the patch from 2009-11-18.  (Bug#3910)
12811 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
12813         * progmodes/subword.el: Rename from lisp/subword.el.
12815         * subword.el: Rename to progmodes/subword.el.
12817         * Makefile.in (ELCFILES): Adapt to subword.el move.
12819 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12820             Stefan Monnier  <monnier@iro.umontreal.ca>
12822         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12823         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12824         (bookmark-bmenu-show-filenames): Use push.
12825         (bookmark-bmenu-hide-filenames): Use local var instead of
12826         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
12827         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12828         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12829         filenames now that the bookmark names are always available.
12831 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12833         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12834         (bookmark-search-pattern): Move and leave unbound.
12835         (bookmark-bmenu-mode-map): Change binding.
12836         (bookmark-read-search-input): Simplify.
12837         Don't use text-char-description.  Don't error on non-char events.
12838         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12839         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12840         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12841         Use a local var for the timer.
12842         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12843         (i.e. bookmark-bmenu-search).
12845 2009-11-21  Glenn Morris  <rgm@gnu.org>
12847         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
12849 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12851         * net/browse-url.el (browse-url-default-windows-browser):
12852         Use cygstart for cygwin.
12854 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
12856         * bookmark.el: Formatting and doc fixes only:
12857         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12858         (bookmark-bmenu-search): Wrap to fit within 80 columns.
12859         Minor grammar and punctuation fixes in doc string.
12860         (bookmark-read-search-input): Adjust to fit within 80 columns.
12862 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12864         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12865         (c-backward-into-nomenclature): Adapt to subword renaming.
12867         * subword.el (subword-forward, subword-backward, subword-mark)
12868         (subword-kill, subword-backward-kill, subword-transpose)
12869         (subword-downcase, subword-upcase, subword-capitalize)
12870         (subword-forward-internal, subword-backward-internal):
12871         Rename from forward-subword, backward-subword, mark-subword,
12872         kill-subword, backward-kill-subword, transpose-subwords,
12873         downcase-subword, upcase-subword, capitalize-subword,
12874         forward-subword-internal, backward-subword-internal.
12876 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12878         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12879         New options.
12880         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12881         New vars.
12882         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12883         (bookmark-bmenu-filter-alist-by-regexp)
12884         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12885         (bookmark-bmenu-search): New command.
12886         (bookmark-bmenu-mode-map): Bind it.
12888 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12890         * progmodes/cc-cmds.el: declare-functioned forward-subword and
12891         backward-subword to quit the byte-compiler.
12893         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12895         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12897         * progmodes/cc-cmds.el (c-update-modeline)
12898         (c-forward-into-nomenclature, c-backward-into-nomenclature):
12899         Refer to subword.el functions instead of cc-subword.el.
12901         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12902         subword.el functions instead of cc-subword.el.
12904         * progmodes/cc-subword.el: Rename to subword.el.
12905         * subword.el: Rename from progmodes/cc-subword.el.
12906         (subword-mode-map): Rename from c-subword-mode-map.
12907         (subword-mode): Rename from c-subword-mode.
12908         (global-subword-mode): New global minor mode.
12909         (forward-subword): Rename from c-forward-subword.
12910         (backward-subword): Rename from c-backward-subword.
12911         (mark-subword): Rename from c-mark-subword.
12912         (kill-subword): Rename from c-kill-subword.
12913         (backward-kill-subword): Rename from c-backward-kill-subword.
12914         (transpose-subwords): Rename from c-tranpose-subword.
12915         (downcase-subword): Rename from c-downcase-subword.
12916         (capitalize-subword): Rename from c-capitalize-subword.
12917         (forward-subword-internal): Rename from c-forward-subword-internal.
12918         (backward-subword-internal): Rename from c-backward-subword-internal.
12920 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
12922         * vc.el (vc-deduce-fileset): Allow non-state changing operations
12923         from a dired buffer.
12924         (vc-dired-deduce-fileset): New function.
12925         (vc-root-diff, vc-print-root-log): Use it.
12927         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12928         nil LIMIT argument to vc-print-log-internal.
12930 2009-11-20  Glenn Morris  <rgm@gnu.org>
12932         * Makefile.in (ELCFILES): Regenerate.
12934 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
12936         * calc/calc.el (calc-set-mode-line):
12937         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12938         (math-format-number): Rename `math-format-complement-signed' to
12939         `math-format-twos-complement'.
12941         * calc/calc-bin.el (math-format-twos-complement): Rename from
12942         math-format-complement-signed.
12943         (calc-radix): Rename `calc-complement-signed-mode' to
12944         `calc-twos-complement-mode'.
12945         (calc-octal-radix, calc-hex-radix): Add an argument for
12946         two's complement.
12948         * calc/calc-embed.el (calc-embedded-mode-vars):
12949         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12951         * calc/calc-ext.el (calc-init-extensions):
12952         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12953         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12955         * calc/calc-units.el (math-build-units-table-buffer):
12956         Let `calc-twos-complement-mode' be nil.
12958         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12959         entries.
12961         * calc/calc-vec.el (calcFunc-vunpack):
12962         * calc/calc-aent.el (calc-do-calc-eval):
12963         * calc/calc-forms.el (math-format-date):
12964         * calc/calc-graph.el (calc-graph-plot):
12965         * calc/calc-math.el (math-use-emacs-fn):
12966         * calc/calccomp.el (math-compose-expr):
12967         Let `calc-twos-complement-mode' be nil.
12969 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12971         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12972         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
12973         * minibuffer.el (completion-in-region-functions): New hook.
12974         (completion-in-region): New function.
12975         * emacs-lisp/lisp.el (lisp-complete-symbol):
12976         * pcomplete.el (pcomplete-std-complete): Use it.
12978 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12980         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12981         (latex-complete-alist): New vars.
12982         (latex-string-prefix-p, latex-complete-bibtex-keys)
12983         (latex-complete-envnames, latex-complete-refkeys)
12984         (latex-complete-data): New functions.
12985         (latex-complete, latex-indent-or-complete): New commands.
12987         * window.el (display-buffer-mark-dedicated): New var.
12988         (display-buffer): Obey it.
12989         * minibuffer.el (minibuffer-completion-help): Use it.
12991         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12993         * filecache.el (file-cache-add-file): Use push and cons.
12994         (file-cache-delete-file-regexp): Use push.
12995         (file-cache-complete): Use completion-in-region.
12997         * simple.el (with-wrapper-hook): Fix thinko.
12999         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13000         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13001         Use with-current-buffer and string-to-number.
13002         (hfy-fallback-colour-values): Use assoc-string.
13003         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13004         (hfy-face-at): Remove unused var `found-face'.
13005         (hfy-compile-stylesheet): Remove unused var `css'.
13006         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13007         and `orig-buffer'.
13008         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13009         Use with-current-buffer.
13010         (hfy-text-p): Use expand-file-name and fewer setq.
13012 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
13014         * htmlfontify.el, hfy-cmap.el: New files.
13016 2009-11-19  Juri Linkov  <juri@jurta.org>
13018         * minibuffer.el (completions-format): New defcustom.
13019         (completion--insert-strings): Implement vertical format.
13021         * simple.el (switch-to-completions): Move point to the first
13022         completion when point was at the beginning of the buffer.
13024 2009-11-19  Juri Linkov  <juri@jurta.org>
13026         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
13028         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13030 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
13032         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13033         (mail-signature): Change default to t.
13034         (mail-from-style): Deprecate `system-default' value.
13035         (mail-insert-from-field): For default value of mail-from-style,
13036         default to `angles' unless `angles' needs quoting and `parens'
13037         does not.
13038         (mail-citation-prefix-regexp): Use citation regexp from
13039         message-mode.
13041 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
13043         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13044         Set variables for computing the prompt for reading password.
13046 2009-11-19  Glenn Morris  <rgm@gnu.org>
13048         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
13050         * textmodes/flyspell.el (sgml-lexical-context): Declare.
13052         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13053         (newsticker-treeview-listwindow-height): Fix custom type.
13055 2009-11-19  Kenichi Handa  <handa@m17n.org>
13057         * descr-text.el (describe-char-padded-string): Compose with TAB
13058         only if there's a font for CH.
13059         (describe-char): Fix the condition for detecting a trivial composition.
13061 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
13063         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13064         more accurate version of the regexp.  (Bug#3910)
13066 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
13068         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13070 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
13072         * font-setting.el (font-use-system-font): Declare for byte-compiler.
13073         (font-setting-change-default-font): Fix typo in docstring.
13075 2009-11-18  Alan Mackenzie  <acm@muc.de>
13077         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13079 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
13081         * font-setting.el (font-use-system-font): Move ...
13083         * cus-start.el (all): ... to here.
13085 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
13087         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13088         Don't set `ad-return-value' if `ad-do-it' doesn't.
13090         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13091         modification time.
13093 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
13095         * menu-bar.el: Put "Use system font" in Option-menu.
13096         (menu-bar-options-save): Add font-use-system-font.
13098         * loadup.el: If feature system-font-setting or font-render-setting is
13099         there, load font-setting.
13101         * Makefile.in (ELCFILES): Add font-settings.el.
13102         * font-setting.el: New file.
13104 2009-11-17  Glenn Morris  <rgm@gnu.org>
13106         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13108         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13109         Preserve point in the list buffer.  (Bug#4939)
13110         Use point-at-eol.
13111         (newsticker--treeview-list-update-highlight)
13112         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13114 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
13116         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13117         Remove.
13119         * calc/calc-ext.el (calc-init-extensions): Remove references to
13120         symclip.
13122         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13124         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13125         * calc/calc-help.el (calc-b-prefix-help): Remove references to
13126         `calc-symclip'.
13128 2009-11-16  Kevin Ryde  <user42@zip.com.au>
13130         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13131         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13133         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13134         (lm-keywords-list): Allow comma-only separator like "foo,bar".
13135         Ignore trailing spaces by omit-nulls to split-string (fixing
13136         regression from Emacs 21 due to the incompatible split-string
13137         change).  (Bug #4928.)
13139 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
13141         * vc.el (vc-log-show-limit): Default to 2000.
13142         (vc-print-log-internal): Insert buttons to request more entries
13143         when limiting the output.
13145         * vc-sccs.el (vc-sccs-print-log):
13146         * vc-rcs.el (vc-rcs-print-log):
13147         * vc-cvs.el (vc-cvs-print-log):
13148         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13149         LIMIT is non-nil.
13151 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
13153         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13154         error when `tramp-gvfs-dbus-event-vector' is set.
13155         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13157 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13159         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13161 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
13163         * net/dbus.el (dbus-unregister-service): New defun.
13164         (dbus-register-property): Register the handlers of
13165         "org.freedesktop.DBus.Properties" for SERVICE.
13166         (dbus-property-handler): Fix docstring.
13168 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13170         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13171         Quote doc string reference in defvaralias as it is not in special form.
13172         (byte-compile-output-docform): Doc fix.
13174 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
13176         * calc/calc.el (math-2-word-size, math-half-2-word-size)
13177         (calc-complement-signed-mode): New variables.
13178         (calc-set-mode-line): Add indicator for twos-complements.
13179         (math-format-number): Format twos-complement notation.
13181         * calc/calc-bin.el (calc-word-size): Reset the variables
13182         `math-2-word-size' and `math-half-2-word-size'.
13183         (math-format-complement-signed, math-symclip, calcFunc-symclip)
13184         (calc-symclip): New functions.
13186         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13188         * calc/calc-embed.el (calc-embedded-mode-vars):
13189         Add `calc-complement-signed-mode' to the list of modes.
13191         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13192         (calc-b-oper-keys): Add `calc-symclip' to list.
13194         * calc/calc-ext.el (math-read-number-fancy): Read complement
13195         signed numbers.
13196         (calc-init-extensions): Add binding for `calc-symclip'.
13197         Add autoload for `calcFunc-symclip' and `calc-symclip'.
13199         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13200         `calc-symclip'.
13201         (calc-modes-menu): Add item for twos complement mode.
13203         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13205 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
13207         * register.el (jump-to-register, insert-register): Handle Semantic
13208         tags.  From commented-out advice in semantic/senator.el.
13210 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
13212         * vc.el (vc-log-show-limit): New variable.
13213         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
13214         when using a prefix argument.
13215         (vc-print-log-internal): Add new argument LIMIT.
13217         * vc-svn.el (vc-svn-print-log):
13218         * vc-mtn.el (vc-mtn-print-log):
13219         * vc-hg.el (vc-hg-print-log):
13220         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13221         pass it to the log command when set.  Make the BUFFER argument
13222         non-optional.
13224         * vc-sccs.el (vc-sccs-print-log):
13225         * vc-rcs.el (vc-rcs-print-log):
13226         * vc-git.el (vc-git-print-log):
13227         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13228         ignore it.  Make the BUFFER argument non-optional
13230         * bindings.el (mode-line-buffer-identification): Do not purecopy.
13232 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
13234         * dired.el (dired-mode-map): Move encryption items to "Operate"
13235         menu (Bug#4703).
13237         * strokes.el (strokes-update-window-configuration): Make strokes
13238         buffer current before erasing (Bug#4906).
13240 2009-11-15  Juri Linkov  <juri@jurta.org>
13242         * simple.el (set-mark-default-inactive): Add :type, :group
13243         and :version.  (Bug#4876)
13245 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
13247         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13248         (archive-unique-fname): ... here.  (Bug#4929)
13250 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13252         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13253         with a real fix.
13255         * novice.el (disabled-command-function): Add useful args.
13256         Setup the help buffer so that [back] works.
13257         Remove redundant call to help-mode.
13258         (disabled-command-function): Use `case'.
13259         (en/disable-command): New function extracted from enable-command.
13260         (enable-command, disable-command): Use it.
13262 2009-11-14  Glenn Morris  <rgm@gnu.org>
13264         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13265         constants.  (Bug#4913)
13267         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13269 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
13271         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13272         defined in C that have no doc-strings.  (Bug#1063)
13274 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
13276         * cus-edit.el (data, files):
13277         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
13279 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
13281         * simple.el (shell-command): Doc fix (Bug#4891).
13283         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13285 2009-11-14  Glenn Morris  <rgm@gnu.org>
13287         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13288         statements for vc-diff, emerge-quit, and rmail-cease-edit.
13289         If they are already loaded, eval-after-load will do the right thing.
13291         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13292         compiling.
13294         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13296         * simple.el (x-selection-owner-p): Declare.
13297         (read-mail-command): Use custom radio type rather than choice.
13298         (completion-no-auto-exit): Doc fix.
13300         * custom.el (defgroup):
13301         * epg-config.el (epg): Doc fixes.
13303 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
13305         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13306         * international/ccl.el (define-ccl-program): Do not purecopy the
13307         docstring, defconst does it anyway.
13309 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13311         * add-log.el (add-change-log-entry): Avoid displaying the changelog
13312         a second time.
13314         * x-dnd.el (x-dnd-maybe-call-test-function):
13315         * window.el (split-window-vertically):
13316         * whitespace.el (whitespace-help-on):
13317         * vc-rcs.el (vc-rcs-consult-headers):
13318         * userlock.el (ask-user-about-lock-help)
13319         (ask-user-about-supersession-help):
13320         * type-break.el (type-break-force-mode-line-update):
13321         * time-stamp.el (time-stamp-conv-warn):
13322         * terminal.el (te-set-output-log, te-more-break, te-filter)
13323         (te-sentinel, terminal-emulator):
13324         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13325         (term-write-input-ring, term-check-source, term-start-output-log):
13326         (term-display-buffer-line, term-dynamic-list-completions):
13327         (term-ansi-make-term, serial-term):
13328         * subr.el (selective-display):
13329         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13330         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13331         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13332         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13333         (speedbar-remove-localized-speedbar-support)
13334         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13335         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13336         (speedbar-buffers-line-directory):
13337         * simple.el (shell-command-on-region, append-to-buffer)
13338         (prepend-to-buffer):
13339         * shadowfile.el (shadow-save-todo-file):
13340         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13341         (scroll-bar-maybe-set-window-start):
13342         * sb-image.el (speedbar-image-dump):
13343         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13344         (load-save-place-alist-from-file):
13345         * ps-samp.el (ps-print-message-from-summary):
13346         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13347         (ps-background-image, ps-begin-job, ps-do-despool):
13348         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13349         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13350         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13351         (pr-call-process, pr-file-list, pr-interface-save):
13352         * novice.el (disabled-command-function)
13353         (enable-command, disable-command):
13354         * mouse.el (mouse-buffer-menu-alist):
13355         * mouse-copy.el (mouse-kill-preserving-secondary):
13356         * macros.el (kbd-macro-query):
13357         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13358         * informat.el (batch-info-validate):
13359         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13360         * hippie-exp.el (try-expand-dabbrev-visible):
13361         * help-mode.el (help-make-xrefs):
13362         * help-fns.el (describe-variable):
13363         * generic-x.el (bat-generic-mode-run-as-comint):
13364         * finder.el (finder-mouse-select):
13365         * find-dired.el (find-dired-sentinel):
13366         * filesets.el (filesets-file-close):
13367         * files.el (list-directory):
13368         * faces.el (list-faces-display, describe-face):
13369         * facemenu.el (list-colors-display):
13370         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13371         * epg.el (epg--process-filter, epg-cancel):
13372         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13373         (epa--read-signature-type):
13374         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13375         (emerge-file-names):
13376         * ehelp.el (electric-helpify):
13377         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13378         * ediff-vers.el (rcs-ediff-view-revision):
13379         * ediff-util.el (ediff-setup):
13380         * ediff-mult.el (ediff-append-custom-diff):
13381         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13382         (ediff-wordify):
13383         * echistory.el (Electric-command-history-redo-expression):
13384         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13385         * disp-table.el (describe-display-table):
13386         * dired.el (dired-find-buffer-nocreate):
13387         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13388         * dabbrev.el (dabbrev--same-major-mode-p):
13389         * chistory.el (list-command-history):
13390         * apropos.el (apropos-documentation):
13391         * allout.el (allout-obtain-passphrase):
13392         (allout-copy-exposed-to-buffer):
13393         (allout-verify-passphrase): Use with-current-buffer.
13395 2009-11-13  Glenn Morris  <rgm@gnu.org>
13397         * Makefile.in (ELCFILES): Regenerate.
13399 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
13401         * net/dbus.el (dbus-registered-objects-table): Rename from
13402         `dbus-registered-functions-table', because it contains also properties.
13403         (dbus-unregister-object): Unregister also properties.
13404         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13405         Use a timeout of 500 msec, in order to not block.
13406         (dbus-register-property, dbus-property-handler): New defuns.
13408 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13410         * simple.el (minibuffer-default-add-completions): Drop deprecated
13411         4th arg.
13413 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
13415         * textmodes/artist.el (artist-mouse-choose-operation):
13416         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13417         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13418         (artist-compute-up-event-key): New function.
13419         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13421 2009-11-13  Kenichi Handa  <handa@m17n.org>
13423         * language/japan-util.el: Make sure that the value of jisx0208
13424         property is jisx0208 character.
13426 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
13428         * international/mule.el (auto-coding-regexp-alist): Only purecopy
13429         car or each item, not the whole list.
13431 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13433         * minibuffer.el (minibuffer-completion-help):
13434         Use minibuffer-hide-completions.
13436 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
13438         * dired.el (dired-save-positions, dired-restore-positions): New funs.
13439         (dired-revert): Use them (bug#4880).
13441 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13443         * tooltip.el (tooltip-frame-parameters): Undo previous change.
13445 2009-11-12  Juri Linkov  <juri@jurta.org>
13447         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13448         New functions.
13449         (find-file-literally-at-point): Alias of `ffap-literally'.
13451 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13453         * textmodes/ispell.el (ispell-skip-region-alist):
13454         * textmodes/css-mode.el (auto-mode-alist):
13455         * progmodes/compile.el (auto-mode-alist):
13456         * international/mule.el (ctext-non-standard-encodings-alist)
13457         (ctext-non-standard-encodings-regexp):
13458         * simple.el (shell-command-switch, text-read-only):
13459         * replace.el (occur-mode-map):
13460         * paths.el (rmail-file-name):
13461         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13462         * find-file.el (ff-special-constructs):
13463         * files.el (file-name-handler-alist):
13464         * composite.el: Purecopy strings.
13466         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13468 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13470         * widget.el (define-widget): Purecopy the docstring.
13471         * international/mule-cmds.el (charset): Do not purecopy the
13472         docstring here, define-widget does it.
13474         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13475         * textmodes/bibtex-style.el (auto-mode-alist):
13476         * progmodes/inf-lisp.el (inferior-lisp-prompt):
13477         * progmodes/compile.el (compile-command):
13478         * language/korea-util.el (default-korean-keyboard):
13479         * international/mule-conf.el (file-coding-system-alist):
13480         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13481         * tooltip.el (tooltip-frame-parameters):
13482         * newcomment.el (comment-end, comment-padding):
13483         * dired.el (dired-trivial-filenames):
13484         * comint.el (comint-file-name-prefix): Purecopy initial values.
13486 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
13488         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13489         (tramp-advice-minibuffer-electric-tilde): Unload advices via
13490         `tramp-unload'.
13491         (tramp-advice-make-auto-save-file-name)
13492         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13493         after removing the advice.
13495 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13497         * progmodes/grep.el (grep-regexp-alist):
13498         * international/mule-cmds.el (iso-2022-control-alist):
13499         * emacs-lisp/timer.el (timer-duration-words):
13500         * subr.el (version-separator, version-regexp-alist):
13501         * minibuffer.el (completion-styles-alist):
13502         * faces.el (face-attribute-name-alist, list-faces-sample-text):
13503         Change defvars to defconsts.
13505         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13506         * loadup.el ("international/mule-conf"): Load the byte compiled version.
13507         * international/mule-conf.el: Allow to be byte compiled.
13509         * international/mule.el (define-charset): Purecopy props.
13510         (load-with-code-conversion): Purecopy doc string and file name.
13511         (put-charset-property): Purecopy strings.
13512         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13514         * international/mule-cmds.el (register-input-method): Purecopy arguments.
13515         (define-char-code-property): Correctly purecopy the table.
13517         * international/ccl.el (define-ccl-program): Purecopy the docstring.
13519         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13521         * subr.el (add-hook): Purecopy strings.
13522         (eval-after-load): Purecopy load-history-regexp and the form.
13524         * custom.el (custom-declare-group): Purecopy load-file-name.
13526         * subr.el (menu-bar-separator): New defconst.
13527         * net/eudc.el (eudc-tools-menu):
13528         * international/mule-cmds.el (set-coding-system-map)
13529         (mule-menu-keymap):
13530         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13531         * vc-hooks.el (vc-menu-map):
13532         * replace.el (occur-mode-map):
13533         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13534         (menu-bar-edit-menu, menu-bar-goto-menu)
13535         (menu-bar-custom-menu, menu-bar-showhide-menu)
13536         (menu-bar-options-menu, menu-bar-tools-menu)
13537         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13538         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13539         (menu-bar-help-menu):
13540         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13541         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13543         * term/x-win.el (x-gtk-stock-map):
13544         * progmodes/vera-mode.el (auto-mode-alist):
13545         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13546         (inferior-lisp-program, inferior-lisp-load-command):
13547         * progmodes/hideshow.el (hs-special-modes-alist):
13548         * progmodes/gud.el (same-window-regexps):
13549         * progmodes/grep.el (grep-program, find-program, xargs-program):
13550         * net/telnet.el (same-window-regexps):
13551         * net/rlogin.el (same-window-regexps):
13552         * language/ethiopic.el (font-ccl-encoder-alist):
13553         * vc-sccs.el (vc-sccs-master-templates):
13554         * vc-rcs.el (vc-rcs-master-templates):
13555         * subr.el (cl-assertion-failed):
13556         * simple.el (next-error-overlay-arrow-position):
13557         * lpr.el (lpr-command):
13558         * locate.el (locate-ls-subdir-switches):
13559         * info.el (same-window-regexps, info)
13560         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13561         * image-mode.el (image-mode, auto-mode-alist):
13562         * hippie-exp.el (hippie-expand-ignore-buffers):
13563         * format.el (format-alist):
13564         * find-dired.el (find-ls-subdir-switches, find-grep-options)
13565         (find-name-arg):
13566         * facemenu.el (facemenu-keybindings):
13567         * dired.el (dired-listing-switches, dired-chown-program):
13568         * diff.el (diff-switches, diff-command):
13569         * cus-edit.el (same-window-regexps):
13570         * bindings.el (mode-line-mule-info)
13571         (mode-line-buffer-identification): Purecopy strings.
13573 2009-11-11  Juri Linkov  <juri@jurta.org>
13575         * simple.el (dired-get-filename) <declare-function>:
13576         Tell the byte-compiler about dired-get-filename.
13577         (shell-command): In Dired mode, get filename from the current line
13578         as the default value.
13580 2009-11-10  Glenn Morris  <rgm@gnu.org>
13582         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13583         * calendar/holidays.el, progmodes/cperl-mode.el:
13584         Update x-popup-menu declarations.
13586         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13587         (list-load-path-shadows): Use dolist.
13588         (list-load-path-shadows): Use with-current-buffer.
13590 2009-11-10  Juri Linkov  <juri@jurta.org>
13592         * minibuffer.el (read-file-name): Support a list of default values
13593         in `default-filename'.  Use the first file name where only one
13594         element is required.  Doc fix.
13596 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
13598         * net/dbus.el (dbus-unregister-object): Release service, if no
13599         other method is registered for it.
13601 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
13603         * bookmark.el (bookmark-completing-read): Sort bookmark names if
13604         bookmark-sort-flag is non-nil (Bug#4653).
13606 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13608         * emulation/cua-base.el: Add CUA property to some CC mode commands
13609         (Bug#4100).
13611 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13613         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13614         at end of sentence (Bug#4818).
13616 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
13618         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13619         Handle "see declaration of" MSFT statements (Bug#4100).
13621 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
13623         * net/tramp.el (tramp-advice-make-auto-save-file-name)
13624         (tramp-advice-file-expand-wildcards): Unload via
13625         `ad-remove-advice'.
13627         * net/trampver.el: Update release number.
13629 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13631         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13632         `ad-do-it'.
13634 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
13636         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13637         in order to keep context in SELinux.
13639 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13641         * dired-aux.el (dired-query): Place cursor in echo area and allow
13642         C-g.
13644         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13645         menu item if not on a directory (Bug#4701).
13647 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
13649         Sync with Tramp 2.1.17.
13651         * net/tramp.el (tramp-handle-copy-directory): Don't use
13652         `file-remote-p' (due to compatibility).
13654         * net/tramp-compat.el (tramp-compat-copy-directory)
13655         (tramp-compat-delete-directory): New defuns.
13657         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13658         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13659         Use `tramp-compat-delete-directory'.
13661         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13662         (tramp-smb-handle-delete-directory):
13663         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13665         * net/trampver.el: Update release number.
13667 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
13669         * tar-mode.el (tar-copy): Call write-region on the right buffer
13670         (Bug#4857).
13672         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13673         by hand, if necessary (Bug#4878).
13675 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
13677         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13678         align size column (Bug#4839).
13680         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13681         statement.
13683 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13685         * progmodes/ld-script.el (auto-mode-alist):
13686         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13688         * cus-face.el (custom-declare-face): Purecopy face spec.
13690 2009-11-06  Kenichi Handa  <handa@m17n.org>
13692         * international/uni-bidi.el: Re-generated.
13693         * international/uni-category.el: Re-generated.
13694         * international/uni-combining.el: Re-generated.
13695         * international/uni-mirrored.el: Re-generated.
13697 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13699         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13700         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13701         (tex-start-options, slitex-run-command, latex-run-command)
13702         (tex-run-command, tex-directory):
13703         * textmodes/ispell.el (ispell-html-skip-alists)
13704         (ispell-tex-skip-alists, ispell-tex-skip-alists):
13705         * textmodes/fill.el (adaptive-fill-first-line-regexp):
13706         (adaptive-fill-regexp):
13707         * textmodes/dns-mode.el (auto-mode-alist):
13708         * progmodes/python.el (interpreter-mode-alist):
13709         * progmodes/etags.el (tags-compression-info-list):
13710         * progmodes/etags.el (tags-file-name):
13711         * net/browse-url.el (browse-url-galeon-program)
13712         (browse-url-firefox-program):
13713         * mail/sendmail.el (mail-signature-file)
13714         (mail-citation-prefix-regexp):
13715         * international/mule-conf.el (eight-bit):
13716         * international/latexenc.el (latex-inputenc-coding-alist):
13717         * international/fontset.el (x-pixel-size-width-font-regexp):
13718         * emacs-lisp/warnings.el (warning-type-format):
13719         * emacs-lisp/trace.el (trace-buffer):
13720         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13721         (emacs-lisp-mode-map):
13722         * calendar/holidays.el (holiday-solar-holidays)
13723         (holiday-bahai-holidays, holiday-islamic-holidays)
13724         (holiday-christian-holidays, holiday-hebrew-holidays)
13725         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13726         (hebrew-holidays-1, holiday-oriental-holidays)
13727         (holiday-general-holidays):
13728         * x-dnd.el (x-dnd-known-types):
13729         * tool-bar.el (tool-bar):
13730         * startup.el (site-run-file):
13731         * shell.el (shell-dumb-shell-regexp):
13732         * rfn-eshadow.el (file-name-shadow-tty-properties)
13733         (file-name-shadow-properties):
13734         * paths.el (remote-shell-program, news-directory):
13735         * mouse.el ([C-down-mouse-3]):
13736         * menu-bar.el (menu-bar-tools-menu):
13737         * jka-cmpr-hook.el (jka-compr-load-suffixes)
13738         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13739         (jka-compr-compression-info-list):
13740         * isearch.el (search-whitespace-regexp):
13741         * image-file.el (image-file-name-extensions):
13742         * find-dired.el (find-ls-option):
13743         * files.el (directory-listing-before-filename-regexp)
13744         (directory-free-space-args, insert-directory-program)
13745         (list-directory-brief-switches, magic-fallback-mode-alist)
13746         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13747         (automount-dir-prefix):
13748         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13749         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13750         (face-font-registry-alternatives, face-font-registry-alternatives)
13751         (face-font-family-alternatives):
13752         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13753         (facemenu-foreground-menu, facemenu-face-menu):
13754         * epa-hook.el (epa-file-name-regexp):
13755         * dnd.el (dnd-protocol-alist):
13756         * textmodes/rst.el (auto-mode-alist):
13757         * button.el (default-button): Purecopy strings.
13759 2009-11-06  Glenn Morris  <rgm@gnu.org>
13761         * Makefile.in (ELCFILES): Update.
13763 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13765         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13766         * emacs-lisp/levents.el: Move to obsolete/levents.el.
13768         * nxml/xsd-regexp.el (xsdre-gen-categories):
13769         * nxml/xmltok.el (xmltok-parse-entity):
13770         * nxml/rng-parse.el (rng-parse-validate-file):
13771         * nxml/rng-maint.el (rng-format-manual)
13772         (rng-manual-output-force-new-line):
13773         * nxml/rng-loc.el (rng-save-schema-location-1):
13774         * nxml/rng-cmpct.el (rng-c-parse-file):
13775         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13776         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13778 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
13780         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13781         Remove extra save-excursions and make-variable-buffer-local's.
13782         Suggested by Stefan Monnier.
13784         (verilog-getopt-file, verilog-module-inside-filename-p)
13785         (verilog-set-define): Merge GNU 1.35 and repair changes from
13786         switching to using with-current-buffer.
13788         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13789         being treated as a number and confusing AUTORESET.
13790         Reported by Dan Dever.
13792         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13793         Add verilog-auto-ignore-concat to fix backward compatibility with
13794         older verilog-modes.  Reported by Dan Katz.
13796         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13797         containing closing anchors "...$".
13799         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13800         Reported by Wade Smith.
13802         (verilog-batch-execute-func): Comment on function usage.
13804 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
13806         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13807         for labels.
13809         (verilog-label-re, verilog-calc-1): Support proper indent of named
13810         asserts.
13812         (verilog-backward-token, verilog-basic-complete-re)
13813         (verilog-beg-of-statement, verilog-indent-re): Support proper
13814         indent of the assert statement at the beginning of a block of text.
13816         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13817         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13818         tokens as begins.
13820 2009-11-05  Glenn Morris  <rgm@gnu.org>
13822         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13823         Emacs 19.  (Bug#1531)
13824         (byte-compile-fix-header): Update for the above change.
13825         Drop test for epoch::version.
13827         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13828         * cus-dep.el (custom-make-dependencies):
13829         * finder.el (finder-compile-keywords):
13830         Use autoload-rubric's feature argument.
13832         * calendar/diary-lib.el (top-level): Make load behave more like require.
13834         * vc-git.el (vc-git-stash-map): Move definition before use.
13836 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
13838         * custom.el (custom-declare-group): Purecopy standard-value.
13839         (custom-declare-group): Purecopy custom-prefix.
13841         * international/mule.el (load-with-code-conversion):
13842         Call do-after-load-evaluation unconditionally.
13844         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13846 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13848         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13850 2009-11-04  Glenn Morris  <rgm@gnu.org>
13852         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13853         (byte-compile-compatibility): Remove option.
13854         (byte-compile-close-variables, byte-compile-fix-header)
13855         (byte-compile-insert-header, byte-compile-output-docform)
13856         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13857         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13858         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13859         (byte-compile-insert, byte-compile-defun):
13860         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
13861         (byte-defop-compiler19): Remove.
13862         Without byte-compile-compatibility, the 'emacs19-opcode property is not
13863         used by anything.  Replace all calls with byte-defop-compiler.
13865 2009-11-04  Juri Linkov  <juri@jurta.org>
13867         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13868         (menu-bar-options-menu): Don't quote the `prop' arg of
13869         `menu-bar-make-mm-toggle'.
13871 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
13873         * calendar/calendar.el (cal-loaddefs):
13874         * calendar/diary-lib.el (diary-loaddefs):
13875         * calendar/holidays.el (hol-loaddefs):
13876         * eshell/esh-module.el (esh-groups): Load rather than require.
13878 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13880         * calendar/todo-mode.el (todo-add-category): Don't hardcode
13881         point-min==1.
13882         (todo-top-priorities): Only display-buffer when called interactively.
13883         (todo-item-start): Don't save excursion point.
13884         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
13885         (todo-insert-item-here, todo-file-item, todo-remove-item):
13886         Adjust uses of todo-item-start and todo-item-end.
13888         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13889         (autoload-rubric): Don't use any more.
13891         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13892         and only put a prop if it is non-nil.
13894 2009-11-03  Juri Linkov  <juri@jurta.org>
13896         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13897         (menu-bar-options-menu): Fix list quoting (Bug#4429).
13899         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13900         and "Menu" to make top-level menu item visually one unit (like
13901         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13902         multi-word menu items).  Fix :help string for quit-window.
13904 2009-11-03  Glenn Morris  <rgm@gnu.org>
13906         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13907         (byte-compile-file-form-define-abbrev-table)
13908         (byte-compile-file-form-custom-declare-variable)
13909         (byte-compile-variable-ref, byte-compile-defvar):
13910         Whether or not a warning is enabled should only affect whether we issue
13911         the warning, not whether or not we collect the relevant data.
13912         Eg warnings can be turned on and off throughout the course of a file.
13914         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13915         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13917 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13919         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13920         * play/mpuz.el (mpuz-create-buffer):
13921         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13922         (lm-print-y,s,noise, lm-print-w0, lm-init):
13923         * play/gomoku.el (gomoku-prompt-for-move):
13924         * play/fortune.el (fortune-in-buffer):
13925         * play/dissociate.el (dissociated-press):
13926         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13927         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13928         * mail/supercite.el (sc-eref-show):
13929         * mail/smtpmail.el (smtpmail-send-it):
13930         * mail/rmailsum.el (rmail-summary-next-labeled-message)
13931         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13932         (rmail-summary-undelete-many, rmail-summary-rmail-update)
13933         (rmail-summary-goto-msg, rmail-summary-expunge)
13934         (rmail-summary-get-new-mail, rmail-summary-search-backward)
13935         (rmail-summary-add-label, rmail-summary-output-menu)
13936         (rmail-summary-output-body):
13937         * mail/rfc822.el (rfc822-addresses):
13938         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13939         * mail/mailpost.el (post-mail-send-it):
13940         * mail/hashcash.el (hashcash-generate-payment):
13941         * mail/feedmail.el (feedmail-run-the-queue)
13942         (feedmail-queue-send-edit-prompt-help-first)
13943         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13944         (feedmail-deduce-address-list):
13945         * eshell/esh-ext.el (eshell-remote-command):
13946         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13947         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13948         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13949         (viper-save-string-in-file, viper-valid-marker):
13950         * emulation/viper-keym.el (viper-toggle-key):
13951         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13952         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13953         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13954         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13955         (viper-exec-form-in-emacs, viper-brac-function):
13956         * emulation/viper.el (viper-delocalize-var):
13957         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13958         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13959         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13960         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13961         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13962         * emulation/edt.el (edt-electric-helpify):
13963         * emulation/cua-rect.el (cua--rectangle-aux-replace):
13964         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13965         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13966         (cua-indent-to-global-mark-column):
13967         * calendar/diary-lib.el (calendar-mark-1):
13968         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13969         Use with-current-buffer.
13970         * emulation/viper.el (viper-delocalize-var): Use dolist.
13972 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
13974         * comint.el (comint-replace-by-expanded-history-before-point):
13975         Replace !! with the previous input string literally (Bug#1795).
13977 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
13979         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13980         to be made up of whitespace.
13982 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
13984         * minibuffer.el (read-file-name): Don't use file dialogs for
13985         remote directories (Bug#99).
13987 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
13989         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13991 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13993         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13994         instead of deleting the window or frame.
13996 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13998         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13999         Support face colors.
14001         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14002         New function.  Support face colors (Bug#1168).
14003         (tex-common-initialization): Use it.
14005         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14006         mode allows it (Bug#1168).
14008 2009-10-31  Juri Linkov  <juri@jurta.org>
14010         * facemenu.el (list-colors-display): Don't mark buffer as
14011         modified (Bug#3948).
14013 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
14015         * international/mule-diag.el (list-character-sets-1):
14016         Minor message fix (Bug#3526).
14018         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14019         Fix face property (Bug#4834).
14020         (etags-list-tags, etags-tags-apropos-additional)
14021         (etags-tags-apropos, tags-select-tags-table): Add follow-link
14022         property.
14024         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14025         items.
14027 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14029         * textmodes/two-column.el (2C-split):
14030         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14031         * textmodes/tex-mode.el (tex-set-buffer-directory):
14032         * textmodes/spell.el (spell-region, spell-string):
14033         * textmodes/reftex.el (reftex-erase-buffer):
14034         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14035         * textmodes/reftex-toc.el (reftex-toc-promote-action):
14036         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14037         (reftex-select-item):
14038         * textmodes/reftex-ref.el (reftex-label-info-update)
14039         (reftex-offer-label-menu):
14040         * textmodes/reftex-index.el (reftex-index-change-entry)
14041         (reftex-index-phrases-info):
14042         * textmodes/reftex-global.el (reftex-create-tags-file)
14043         (reftex-save-all-document-buffers, reftex-ensure-write-access):
14044         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14045         (reftex-view-crossref-from-bibtex):
14046         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14047         (reftex-extract-bib-entries-from-thebibliography)
14048         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14049         * textmodes/refbib.el (r2b-capitalize-title):
14050         (r2b-convert-buffer, r2b-help):
14051         * textmodes/page-ext.el (pages-directory)
14052         (pages-directory-goto-with-mouse):
14053         * textmodes/bibtex.el (bibtex-validate-globally):
14054         * textmodes/bib-mode.el (bib-capitalize-title):
14055         * textmodes/artist.el (artist-clear-buffer, artist-system):
14056         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14057         (local-set-scheme-interaction-buffer, xscheme-process-filter)
14058         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14059         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14060         (xscheme-send-control-g-interrupt, xscheme-start-process)
14061         (xscheme-process-sentinel, xscheme-cd):
14062         * progmodes/verilog-mode.el (verilog-read-always-signals)
14063         (verilog-set-define, verilog-getopt-file)
14064         (verilog-module-inside-filename-p):
14065         * progmodes/sh-script.el:
14066         * progmodes/python.el (python-pdbtrack-get-source-buffer)
14067         (python-pdbtrack-grub-for-buffer, python-execute-file):
14068         * progmodes/octave-inf.el (inferior-octave):
14069         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14070         (idlwave-shell-compile-helper-routines, idlwave-set-local)
14071         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14072         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14073         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14074         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14075         (idlwave-shell-filter, idlwave-shell-examine-highlight)
14076         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14077         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14078         (idlwave-shell-examine-display, idlwave-shell-run-region)
14079         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14080         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14081         * progmodes/idlw-help.el (idlwave-help-get-special-help)
14082         (idlwave-help-get-help-buffer):
14083         * progmodes/gud.el (gud-basic-call, gud-find-class)
14084         (gud-tooltip-activate-mouse-motions-if-enabled):
14085         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14086         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14087         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14088         (ebrowse-tags-next-file):
14089         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14090         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14091         (ebnf-eps-finish-and-write):
14092         * progmodes/cpp.el (cpp-edit-save):
14093         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14094         * progmodes/cc-defs.el (c-emacs-features):
14095         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14096         (antlr-directory-dependencies):
14097         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14098         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14099         (ada-find-any-references, ada-make-filename-from-adaname)
14100         (ada-make-body-gnatstub):
14101         * obsolete/rnews.el (news-list-news-groups):
14102         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14103         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14104         * net/rcirc.el (rcirc-debug):
14105         * net/newst-treeview.el (newsticker--treeview-list-add-item)
14106         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14107         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14108         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14109         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14110         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14111         (newsticker--treeview-list-clear-highlight)
14112         (newsticker--treeview-list-update-highlight)
14113         (newsticker--treeview-list-highlight-start)
14114         (newsticker--treeview-tree-update-highlight)
14115         (newsticker--treeview-get-selected-item)
14116         (newsticker-treeview-mark-list-items-old)
14117         (newsticker--treeview-set-current-node):
14118         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14119         * net/newst-backend.el (newsticker--get-news-by-funcall)
14120         (newsticker--get-news-by-wget, newsticker--image-get)
14121         (newsticker--image-sentinel):
14122         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14123         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14124         (eudc-ph-close-session):
14125         * net/eudc.el (eudc-save-options):
14126         * language/thai-word.el (thai-update-word-table):
14127         * language/japan-util.el (japanese-string-conversion):
14128         * international/titdic-cnv.el (tsang-quick-converter)
14129         (ziranma-converter, ctlau-converter):
14130         * international/mule-cmds.el (describe-language-environment):
14131         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14132         (skkdic-convert-postfix, skkdic-convert-prefix):
14133         (skkdic-convert-okuri-nasi, skkdic-convert):
14134         * emacs-lisp/re-builder.el (reb-update-overlays):
14135         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14136         * emacs-lisp/gulp.el (gulp-send-requests):
14137         * emacs-lisp/find-gc.el (trace-call-tree):
14138         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14139         (eieio-describe-generic):
14140         * emacs-lisp/eieio-base.el (eieio-persistent-read):
14141         * emacs-lisp/edebug.el (edebug-outside-excursion):
14142         * emacs-lisp/debug.el (debugger-make-xrefs):
14143         * emacs-lisp/cust-print.el (custom-prin1-to-string):
14144         * emacs-lisp/chart.el (chart-new-buffer):
14145         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14146         Use with-current-buffer.
14147         * textmodes/artist.el (artist-system): Don't call
14148         copy-sequence on a fresh string.
14149         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14151 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
14153         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14154         is no item to edit.  (Bug#4820)
14155         (todo-top-priorities): Restore point and restore narrowing in Todo
14156         buffer.  (Bug#4820)
14158 2009-10-31  Glenn Morris  <rgm@gnu.org>
14160         * net/ange-ftp.el (top-level): Don't require dired when compiling.
14161         (comint-last-output-start, comint-last-input-start)
14162         (comint-last-input-end): Don't defvar when compiling.
14163         (ange-ftp-process-file): Use bound-and-true-p.
14165         * pcmpl-rpm.el (top-level): Move provide statement to end.
14166         (pcmpl-rpm): Remove unused custom group.
14168         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14170         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14172         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14173         (byte-compile-warnings): Add `constants' as an option.
14174         (byte-compile-callargs-warn, byte-compile-arglist-warn)
14175         (display-call-tree): Update for byte-compile-fdefinition possibly
14176         returning `(macro lambda ...)'.  (Bug#4778)
14177         (byte-compile-variable-ref, byte-compile-setq-default):
14178         Respect `constants' member of byte-compile-warnings.
14180 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14182         * vc-bzr.el (vc-bzr-revision-keywords): New var.
14183         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14184         to "submit:".
14186 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
14188         * textmodes/ispell.el (ispell-skip-region-alist):
14189         * international/mule-conf.el (eight-bit):
14190         * international/fontset.el (font-encoding-alist):
14191         * startup.el (pure-space-overflow-message):
14192         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14193         * paths.el (gnus-nntp-service, rmail-spool-directory)
14194         (term-file-prefix):
14195         * files.el (save-some-buffers-action-alist):
14196         * cmuscheme.el (same-window-buffer-names):
14197         * ielm.el (same-window-buffer-names):
14198         * shell.el (same-window-buffer-names):
14199         * mail/sendmail.el (same-window-buffer-names):
14200         * progmodes/inf-lisp.el (same-window-buffer-names):
14201         * bindings.el (mode-line-client)
14202         (mode-line-column-line-number-mode-map):
14203         * language/tibetan.el (tibetan-precomposition-rule-regexp)
14204         (tibetan-precomposed-regexp): Purecopy string arguments.
14206 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14208         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14209         (calcDigit-nondigit):
14210         * calc/calc-yank.el (calc-copy-to-buffer):
14211         * calc/calc-units.el (calc-invalidate-units-table):
14212         * calc/calc-trail.el (calc-trail-yank):
14213         * calc/calc-store.el (calc-insert-variables):
14214         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14215         * calc/calc-prog.el (calc-read-parse-table):
14216         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14217         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14218         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14219         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14220         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14221         (calc-graph-name, calc-graph-find-command, calc-graph-view)
14222         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14223         * calc/calc-ext.el (calc-realign):
14224         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14225         (calc-embedded-finish-edit, calc-embedded-make-info)
14226         (calc-embedded-finish-command, calc-embedded-stack-change):
14227         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14229         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14230         shell-dynamic-complete-filename in preference to
14231         comint-dynamic-complete-filename.
14233         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14234         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14235         Don't consider whether the display supports colors.
14236         (bookmark-import-new-list): Use dolist.
14237         (bookmark-bmenu-mode-map): Move initialization into declaration.
14238         (bookmark-bmenu-list): Use dolist, simplify.
14239         (bookmark-show-all-annotations): Use save-selected-window and dolist.
14240         (menu-bar-final-items): Use push.
14242 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14244         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14245         it works on remote files.
14246         (vc-hg-diff): Don't pass any `--cwd' argument.
14248 2009-10-27  Kevin Ryde  <user42@zip.com.au>
14250         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14251         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14252         (Further to Bug#3921).
14254 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
14256         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14257         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14258         calling `tramp-imap-put-file'.  Add file size to the call.
14259         (tramp-imap-get-file-entries): Compute also user name, file size,
14260         and date.
14261         (tramp-imap-handle-insert-directory): Insert uid and gid.
14262         (tramp-imap-handle-file-attributes): Transform uid and gid
14263         according to `id-format'.
14264         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
14265         size in header X-Size.
14267 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
14269         * simple.el (transpose-subr): Give clearer error when the mark
14270         is not set.  (Bug#4807)
14272 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
14274         * net/tramp.el (tramp-perl-file-truename): New defconst.
14275         Perl code contributed by yary <not.com@gmail.com> (tiny change).
14276         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14277         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14278         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14280         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14281         Ignore `dired-call-process'.
14282         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14284 2009-10-26  Julian Scheid  <julians37@gmail.com>
14286         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14287         (tramp-get-remote-readlink): New defun.
14288         (tramp-handle-file-truename): Use it.
14289         (tramp-handle-file-exists-p): Check file-attributes cache, assume
14290         file exists if cache value present.
14291         (tramp-check-cached-permissions): New defun.
14292         (tramp-handle-file-readable-p): Use it.
14293         (tramp-handle-file-writable-p): Likewise.
14294         (tramp-handle-file-executable-p): Likewise.
14295         (tramp-handle-file-name-all-completions): Try using Perl to get
14296         partial completions.  When perl not available, combine `cd' and
14297         `ls' into single remote operation and use shell expansion to get
14298         partial remote directory contents.  Set `file-exists-p' cache for
14299         directory and any files returned by ls.  Change cache handling to
14300         support partial directory contents.  Use error message emitted by
14301         remote `cd' or Perl code for local tramp-error.
14302         (tramp-do-copy-or-rename-file-directly): Avoid separate
14303         tramp-send-command-and-check call.
14304         (tramp-handle-process-file): Merge three remote ops into one.
14305         Do not flush all caches when `process-file-side-effects' is set.
14306         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14307         file-attributes shows uid/gid to be set already.
14309 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
14311         * textmodes/tex-mode.el (tex-dvi-view-command)
14312         (tex-show-queue-command, tex-open-quote):
14313         * progmodes/ruby-mode.el (auto-mode-alist)
14314         (interpreter-mode-alist): Purecopy strings.
14316         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14318         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14319         string for the hook, keymap and abbrev table.
14321         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14323         * x-dnd.el (x-dnd-xdnd-to-action):
14324         * startup.el (fancy-startup-text, fancy-about-text): Change to
14325         defconst from defvar.
14327         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14329         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14330         Purecopy initialization strings.
14332         * mail/sendmail.el (mail-header-separator)
14333         (mail-personal-alias-file):
14334         * mail/rmail.el (rmail-default-dont-reply-to-names)
14335         (rmail-ignored-headers, rmail-retry-ignored-headers)
14336         (rmail-highlighted-headers, rmail-secondary-file-directory)
14337         (rmail-secondary-file-regexp):
14338         * files.el (null-device, file-name-invalid-regexp)
14339         (locate-dominating-stop-dir-regexp)
14340         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14341         (interpreter-mode-alist): Use mapcar instead of mapc.
14343         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14345         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14346         (completion-ignored-extensions):
14347         (debug-ignored-errors): Purecopy strings.
14349 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14351         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14352         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14353         (pcomplete--here): Use push.
14355         * subr.el (all-completions): Declare the 4th arg obsolete.
14357 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14359         * pcomplete.el (pcomplete-unquote-argument-function): New var.
14360         (pcomplete-unquote-argument): New function.
14361         (pcomplete--common-suffix): Always pay attention to case.
14362         (pcomplete--table-subvert): Quote and unquote the text.
14363         (pcomplete--common-quoted-suffix): New function.
14364         (pcomplete-std-complete): Use it and pcomplete-begin.
14366         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14367         we're inside a dedicated or minibuffer window.
14369 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
14371         * bookmark.el: Update documentation, especially documentation
14372         of `bookmark-alist' and of the bookmark file format.
14373         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
14375 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
14377         * mail/emacsbug.el (report-emacs-bug): Clarify that the
14378         keybindings apply to the mail buffer (Bug#4003).  Shrink help
14379         window to buffer.
14381         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14382         (global-whitespace-mode, global-whitespace-newline-mode)
14383         (whitespace-toggle-options, global-whitespace-toggle-options):
14384         Doc fix (Bug#3660).
14386         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14387         of xmltok-start before the end tag was inserted (Bug#2840).
14389         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14390         patterns that are preceded by an open-paren (Bug#1320).
14392 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
14394         * files.el (delete-directory): Delete symlinks to directories with
14395         delete-file (Bug#4739).
14397 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
14399         * vc.el (vc-backend-for-registration): Rename from
14400         vc-get-backend-for-registration.  Update callers.
14402         * international/mule-cmds.el (set-language-info-alist):
14403         Purecopy lang-env.
14404         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14405         (charset): Purecopy the name.
14406         (define-char-code-property): Purecopy string arguments.
14408         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14409         Purecopy string arguments.
14411         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14412         * ediff-hook.el (menu-bar-ediff-menu):
14413         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14414         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14416 2009-10-24  Glenn Morris  <rgm@gnu.org>
14418         * comint.el (comint-dynamic-list-completions):
14419         * term.el (term-dynamic-list-completions): Use choose-completion rather
14420         than obsolete alias mouse-choose-completion.
14422         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14423         file-cache-choose-completion.
14424         (file-cache-choose-completion): Handle an optional event argument.
14425         (file-cache-mouse-choose-completion): Make it an obsolete alias.
14427         * progmodes/octave-mod.el (octave-complete-symbol):
14428         Use choose-completion if mouse-choose-completion is ever removed.
14430         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14431         use.
14433         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14434         compiler.
14436         * vc-hooks.el (vc-responsible-backend): Fix declaration.
14438 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14440         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14441         Ignore `pred' now that we receive one.
14442         Handle test-completion specially.
14444 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14446         * vc.el (vc-responsible-backend): Throw an error if not backend is
14447         found.  Remove the REGISTER argument.  Move the code dealing with
14448         REGISTER ...
14449         (vc-get-backend-for-registration): ... here.  New function.
14450         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14451         of vc-responsible-backend, pass the file name instead of the
14452         directory name.
14454 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14456         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14457         New funs.
14458         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
14459         (pcomplete-comint-setup): Don't modify a global var via
14460         accidental side-effects.
14461         (pcomplete-shell-setup): Adjust call accordingly.
14462         (pcomplete-parse-comint-arguments): Use push.
14464 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
14466         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14467         Allow uncapitalized info node names (Bug#3921).
14469         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14470         to the DEBUG file (Bug#3781).
14472 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
14474         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14475         dictionary entry (Bug#4579).
14477 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
14479         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14480         from `rfn-eshadow-update-overlay-hook' when unloading.
14481         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14482         "rsyncc".  Adjust doc string.
14483         (tramp-temp-buffer-file-name): New buffer-local defvar.
14484         (tramp-handle-insert-file-contents, tramp-handle-write-region):
14485         Keep temporary file when indicated by method ("rsync" and
14486         "rsyncc").
14487         (tramp-handle-write-region): Handle APPEND.
14488         (tramp-delete-temp-file-function): New defun.  Added to
14489         `kill-buffer-hook'.
14491 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
14493         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14495 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14497         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14498         (color-name-rgb-alist, tty-standard-colors)
14499         (tty-color-mode-alist): Change to defconst.
14501         * simple.el (mark-inactive): Purecopy message.
14503         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14504         (global-map, yank-menu):
14505         * textmodes/ispell.el (ispell-menu-map):
14506         * net/eudc.el (eudc-tools-menu):
14507         * international/mule-cmds.el (describe-language-environment-map)
14508         (setup-language-environment-map, set-coding-system-map)
14509         (mule-menu-keymap):
14510         * vc-hooks.el (vc-menu-entry, vc-menu-map):
14511         * replace.el (occur-mode-map):
14512         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14514 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
14516         * calc/calc.el (math-read-number, math-read-number-simple):
14517         Use `save-match-data'.
14519 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14521         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14522         rather than fiddling with global-map bindings, since it should only
14523         affect per-terminal settings.
14524         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14526         * minibuffer.el (completion-table-with-terminator): Allow to specify
14527         the terminator-regexp.
14529         * simple.el (switch-to-completions): Look for *Completions* in other
14530         frames as well.
14532         * pcomplete.el: Allow the use of completion-tables.
14533         (pcomplete-std-complete): New command.
14534         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14535         (pcomplete--here): Use a function for `form' rather than an expression,
14536         so it can be byte-compiled.
14537         (pcomplete-here, pcomplete-here*): Adjust accordingly.
14538         Add edebug declaration.
14539         (pcomplete-show-completions): Remove unused var `curbuf'.
14540         (pcomplete-do-complete, pcomplete-stub):
14541         Don't assume `completions' is a list of strings any more.
14543 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
14545         * find-dired.el (find-name-arg): Fix typo in docstring.
14547 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14549         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14550         (pcmpl-linux-fs-types): Same, and update to new modules layout.
14552         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14553         pcomplete-entries.
14555         * comint.el (comint-read-input-ring, comint-write-input-ring)
14556         (comint-substitute-in-file-name)
14557         (comint-dynamic-complete-as-filename)
14558         (comint-dynamic-simple-complete)
14559         (comint-dynamic-list-filename-completions)
14560         (comint-dynamic-list-completions)
14561         (comint-redirect-results-list-from-process): Minor simplifications.
14563 2009-10-21  Kevin Ryde  <user42@zip.com.au>
14565         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14566         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14567         the first form.  And insert a blank line after ";;; Code" since
14568         that's usual style.  (Bug#4612)
14570         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14572 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14574         * minibuffer.el (completion-table-with-terminator): Properly implement
14575         boundaries, in case `terminator' appears in the suffix.
14576         (completion--embedded-envvar-table): Don't return boundaries if
14577         there's no valid completion.  Simplify.
14578         (completion-file-name-table): New completion table extracted from
14579         completion--file-name-table.
14580         (completion--file-name-table): Use it.
14581         (read-file-name-predicate): Declare obsolete.
14582         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14583         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14584         completion-file-name-table, and use the `pred' argument.
14585         * files.el (locate-file-completion-table): Use the `pred' arg rather
14586         than read-file-name-predicate.
14587         (abbreviate-file-name): Use \` rather than ^ for BOS.
14589 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
14591         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14592         vc-responsible-backend to register, it causes problems.
14594 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14596         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14598 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
14600         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14601         (tramp-smb-handle-file-attributes): Use it.
14602         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14603         (tramp-smb-handle-insert-directory): Use `mapc' rather than
14604         `mapcar'.  Use `tramp-smb-get-stat-capability'.
14605         Add `dired-filename' text properties.
14606         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14607         (tramp-smb-maybe-open-connection): Simplify check for smbclient
14608         version.
14610 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14612         * subr.el (read-key-delay): Reduce to 0.01.
14613         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14614         (bug#4751).
14616 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14618         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14620         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14621         (Info-menu): Remove unused vars `last' and `completions'.
14622         (Info-index-nodes): Remove unused var `node'.
14624         * info.el (Info-complete-menu-item): Use complete-with-action.
14626 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
14628         Make vc-annotate work through copies and renames.
14629         * vc-annotate.el (vc-annotate-extract-revision-at-line):
14630         Return the file name too.
14631         (vc-annotate-revision-at-line)
14632         (vc-annotate-find-revision-at-line)
14633         (vc-annotate-revision-previous-to-line)
14634         (vc-annotate-show-log-revision-at-line): Update to get the file
14635         name from vc-annotate-extract-revision-at-line.
14636         (vc-annotate-show-diff-revision-at-line-internal): Change the
14637         argument to mean whether to show a file diff or not.  Get the file
14638         name from vc-annotate-extract-revision-at-line.
14639         (vc-annotate-show-diff-revision-at-line):
14640         Update vc-annotate-show-diff-revision-at-line call.
14641         (vc-annotate-warp-revision): Add an optional file argument.
14643         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14644         (vc-git-annotate-extract-revision-at-line): Also return the file
14645         name if found.
14647         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14648         command.  Remove unused code.
14649         (vc-hg-annotate-re): Update to match --follow output.
14650         (vc-hg-annotate-extract-revision-at-line): Also return the file
14651         name if found.
14653         * vc.el: Update annotate-extract-revision-at-line documentation.
14655 2009-10-18  Kevin Ryde  <user42@zip.com.au>
14657         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14658         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14660         * net/browse-url.el (browse-url): Identify alist with "consp and
14661         not functionp" and let all other things go down the `apply' leg,
14662         as suggested by Stefan.  (Further to bug#4531.)
14664 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
14666         * minibuffer.el (read-file-name): Check for repeat before putting
14667         a default argument in file-name-history (Bug#4657).
14669         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14670         read syntax (Bug#4737).
14672         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14674 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14676         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14677         (html-tag-alist, html-tag-help): Add descriptions for undocumented
14678         entries and make note of obsolete tags.
14680 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14682         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14684 2009-10-18  Glenn Morris  <rgm@gnu.org>
14686         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14687         grep, so that binary files (eg international/uni-bidi.el) can match.
14688         Remove test for "UnicodeData" files, since it is hopefully unnecessary
14689         now, and in any case the file header format has changed.
14691 2009-10-17  Glenn Morris  <rgm@gnu.org>
14693         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14694         (flyspell-get-word, flyspell-large-region)
14695         (flyspell-auto-correct-previous-word): Doc/error message fixes.
14697 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
14699         * Makefile.in (ELCFILES): Add ede/shell.
14701 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
14703         * term/common-win.el (x-colors): Purecopy it.
14705 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14707         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14708         permissive for when the buffer is empty.
14709         (tar-header-block-tokenize): Decode the username and groupname.
14710         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14712 2009-10-17  Eric Ludlam  <zappo@gnu.org>
14714         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14715         contains multibyte characters, choose first applicable coding
14716         system automatically.
14718 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14720         * international/mule-cmds.el (select-safe-coding-system): If the file
14721         has a coding cookie, use it regardless of any other setting (bug#4712).
14723 2009-10-17  Glenn Morris  <rgm@gnu.org>
14725         * foldout.el (foldout-mouse-swallow-events):
14726         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14728         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14729         (dired-keep-marker-copy, dired-keep-marker-hardlink)
14730         (dired-keep-marker-symlink, dired-dwim-target)
14731         (dired-copy-preserve-time): Do not autoload these defcustoms.
14733         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14734         messages from messing up the file coding.  (Bug#4623)
14736 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
14738         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14739         if no match is found for the current dictionary.  (Bug#4578)
14741         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14742         optional, since that is how it is documented, and this is often called
14743         with a nil argument.  (Bug#4577)
14744         (flyspell-external-point-words, flyspell-auto-correct-word)
14745         (flyspell-correct-word-before-point, flyspell-word-search-forward)
14746         (flyspell-word-search-backward): Remove nil argument in calls to
14747         flyspell-get-word, since it is not needed now.
14749 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
14751         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
14753 2009-10-16  Glenn Morris  <rgm@gnu.org>
14755         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14757 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
14759         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14760         (ange-ftp-file-size): New function.
14761         (ange-ftp-file-attributes): Use it.
14763 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
14765         * net/tramp-smb.el (tramp-smb-version): New defvar.
14766         (tramp-smb-maybe-open-connection): Use it, in order to avoid
14767         repeated checks.
14769 2009-10-16  Glenn Morris  <rgm@gnu.org>
14771         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14772         Maybe copy some custom properties from old to new name.  (Bug#4706)
14774 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
14776         * subr.el (error, sit-for, start-process-shell-command)
14777         (start-file-process-shell-command): Set the calling convention
14778         after the function definition.
14780 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14782         * subr.el (error, sit-for, start-process-shell-command)
14783         (start-file-process-shell-command): Use the new
14784         set-advertised-calling-convention feature.
14786 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
14788         * international/ucs-normalize.el (ucs-normalize-version):
14789         Change to 1.2.
14790         (check-range): Adjust for Unicode 5.2.
14792 2009-10-15  Juri Linkov  <juri@jurta.org>
14794         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14795         to the `menu-item' format.
14797 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
14799         * net/tramp.el (tramp-replace-environment-variables): Do not fail
14800         if the environment variable does not exist.
14802         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14803         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14804         parameter.
14805         (tramp-smb-handle-add-name-to-file)
14806         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14807         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14808         (tramp-smb-handle-file-attributes)
14809         (tramp-smb-do-file-attributes-with-stat)
14810         (tramp-smb-handle-file-local-copy)
14811         (tramp-smb-handle-insert-directory)
14812         (tramp-smb-handle-make-directory)
14813         (tramp-smb-handle-make-directory-internal)
14814         (tramp-smb-handle-make-symbolic-link)
14815         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14816         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14817         (tramp-smb-maybe-open-connection): Apply the changed parameters.
14818         (tramp-smb-read-file-entry): Read Disk names in compressed format.
14819         Handle long file names.
14820         (tramp-smb-get-cifs-capabilities): Check, whether the connection
14821         process is running.
14822         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14823         Read share names with "-g" option.
14825 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
14827         * net/rcirc.el (rcirc-view-log-file): New command.
14828         (rcirc-track-minor-mode-map): Remove C-c ` binding.
14829         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14830         specified.
14832 2009-10-15  Glenn Morris  <rgm@gnu.org>
14834         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14835         from the second command-line argument.
14836         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14837         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14838         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14839         w32-batch-update-autoloads.
14840         * emacs-lisp/autoload.el (autoload-make-program): New variable.
14841         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14843         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14844         the headers cannot be located.  Simplify, subtracting superflous
14845         save-excursions.
14847 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14849         Replace completion-base-size by completion-base-position to fix bugs
14850         such as (bug#4699).
14851         * simple.el (completion-base-position): New var.
14852         (completion-base-size): Mark as obsolete.
14853         (choose-completion): Make it work for mouse events as well.
14854         Pass the new base-position to choose-completion-string.
14855         (choose-completion-guess-base-position): New function, extracted from
14856         choose-completion-delete-max-match.
14857         (choose-completion-delete-max-match): Use it.  Make obsolete.
14858         (choose-completion-string): Use the new base-position info.
14859         (completion-root-regexp): Delete.
14860         (completion-setup-function): Preserve completion-base-position.
14861         Eliminate obsolete base-size manipulation.
14862         * minibuffer.el (display-completion-list): Don't mess with base-size.
14863         (minibuffer-completion-help): Set completion-base-position instead.
14864         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14865         choose-completion.
14866         * textmodes/bibtex.el (bibtex-complete):
14867         * emacs-lisp/crm.el (crm--choose-completion-string):
14868         Adjust to new calling convention.
14869         * complete.el (partial-completion-mode): Use minibufferp to avoid
14870         bumping into incompatible change to choose-completion-string-functions.
14871         * ido.el (ido-choose-completion-string): Make its calling convention
14872         more permissive.
14873         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14874         base-size manipulation.
14875         (comint-dynamic-list-input-ring): Use dotimes and push.
14876         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14877         fundamental-mode.  Use `or'.
14879 2009-10-14  Juri Linkov  <juri@jurta.org>
14881         * misearch.el (multi-isearch-next-buffer-from-list)
14882         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
14884 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14886         * Makefile.in (compile-onefile): Load `bytecomp' rather than
14887         `bytecomp.el'.
14889         * minibuffer.el (completion-pcm--merge-completions): Make sure the
14890         string we return is all made up of text from the completions rather
14891         than part from the completions and part from the input (bug#4219).
14893         * ido.el (ido-everywhere): Use define-minor-mode.
14895         * buff-menu.el (list-buffers, ctl-x-map):
14896         Mark the entry points with ;;;###autoload cookies.
14898 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
14900         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14901         correctly in the detached head case.
14902         (vc-git-print-log): Remove unused binding.
14904         * vc.el (vc-responsible-backend): When a directory is passed for
14905         for registration create a VC repository if no backend is
14906         responsible for the directory argument.
14907         (vc-deduce-fileset): Tell vc-responsible-backend to register.
14909         * vc.el: Move comments about RCS and SCCS ...
14910         * vc-rcs.el:
14911         * vc-sccs.el: ... here, respectively.
14913 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14915         * minibuffer.el (completion--file-name-table): Return nil if there's
14916         no file completion, even if substitute-in-file-name changed
14917         the string (bug#4708).
14919 2009-10-13  Juri Linkov  <juri@jurta.org>
14921         * files-x.el (read-file-local-variable-value): Don't filter out
14922         minor modes from mode name completion (bug#4664).
14924 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14926         * international/mule-cmds.el (ucs-names): Remove exclusion of
14927         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14929 2009-10-13  Kenichi Handa  <handa@m17n.org>
14931         * international/uni-name.el: Regenerated.
14933 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14935         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
14936         should be automatically buffer-local, but isn't.)
14938 2009-10-12  Sam Steingold  <sds@gnu.org>
14940         * progmodes/compile.el (compilation-next-error-function): Fix the
14941         timestamps if the buffer has been visited before.
14942         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14943         non-anchored patterns, like the perl one (bug#3928).
14945 2009-10-12  Glenn Morris  <rgm@gnu.org>
14947         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14948         Let-bind `size'.
14950 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
14952         * proced.el (proced-unload-function): New function.
14954         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14955         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14956         Doc fix.
14958         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14960 2009-10-11  Juri Linkov  <juri@jurta.org>
14962         * files-x.el (read-file-local-variable-value):
14963         Provide default value only for bound variables (bug#4664).
14965 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
14967         * net/tramp.el (tramp-local-host-p): Function shall return nil for
14968         connection methods like smb.
14970         * net/tramp-cache.el (tramp-flush-connection-property): The hash
14971         can be empty.
14973         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14974         (tramp-smb-file-name-handler-alist): Add handlers for
14975         `add-name-to-file', `make-symbolic-link'.
14976         (tramp-smb-handle-add-name-to-file)
14977         (tramp-smb-do-file-attributes-with-stat)
14978         (tramp-smb-handle-make-symbolic-link)
14979         (tramp-smb-get-cifs-capabilities): New defuns.
14980         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14981         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14982         (tramp-smb-handle-file-local-copy)
14983         (tramp-smb-handle-make-directory-internal)
14984         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14985         The file name syntax depends on cifs capabilities.
14986         (tramp-smb-handle-file-attributes):
14987         Call `tramp-smb-do-file-attributes-with-stat' if possible.
14988         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14989         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14991 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
14993         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14994         (eieio-defclass): Apply deftype handler and setf-method properties
14995         directly.
14996         (eieio-add-new-slot): Avoid union function from cl library.
14997         (eieio--typep): New function.
14998         (eieio-perform-slot-validation): Use it.
15000 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15002         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15003         Update documentation to refer to the variables documented in r1.135.
15004         (Bug#4188)
15006 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15008         * bookmark.el (Info-suffix-list): Remove this unused variable.
15009         (bookmark-current-point): Remove this obsolete variable.
15010         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15011         Adjust for removal of bookmark-current-point.
15013         (bookmarks-already-loaded, bookmark-current-buffer)
15014         (bookmark-yank-point): Document.  (Bug#4188)
15016 2009-10-10  Glenn Morris  <rgm@gnu.org>
15018         * frame.el (frame-height): Doc fix.
15020         * calendar/calendar.el (calendar-split-width-threshold): New option.
15021         (calendar-basic-setup): Use calendar-split-width-threshold.
15023 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
15025         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15026         Ideographic Supplement" range (U+1F200..U+1F2FF).
15028 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15030         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15031         since the list will have been rebuilt anyway.  (Bug#4349)
15033 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15035         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15036         (bookmark-bmenu-execute-deletions): Don't save here, as
15037         bookmark-delete will now do so if necessary.
15038         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15039         (Bug#4348)
15041 2009-10-09  Glenn Morris  <rgm@gnu.org>
15043         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15045 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15047         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15048         (bookmark-jump-other-window): Just invoke bookmark-jump with new
15049         argument now, so the two function's behaviors will match.  (Bug#3645)
15051 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
15053         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15054         (tramp-file-name-real-host, tramp-file-name-port):
15055         Apply `save-match-data'.
15057         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15058         case both directories are remote.
15059         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15060         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15062 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
15064         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15066 2009-10-07  Glenn Morris  <rgm@gnu.org>
15068         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15069         of concat.
15071 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15073         * files-x.el (read-file-local-variable): Include some
15074         non-user-variables in the completion table (bug#4664).
15076 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
15078         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15079         message.
15081         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15082         (tramp-smb-file-name-handler-alist): Add handler for
15083         `copy-directory', `expand-file-name', `set-file-modes'.
15084         (tramp-smb-handle-copy-directory)
15085         (tramp-smb-handle-expand-file-name)
15086         (tramp-smb-handle-set-file-modes): New defuns.
15087         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15088         (tramp-smb-handle-file-attributes): Simplify check for retrieving
15089         entry.
15090         (tramp-smb-handle-insert-directory): Don't flush the cache.
15091         (tramp-smb-maybe-open-connection): Check for samba client and
15092         server versions.
15094 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
15096         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15097         to not error out of search for "^lisp=" fails.
15099 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
15101         * makefile.w32-in (WINS_UPDATES): New macro.
15102         (custom-deps, finder-data, autoloads): Use it.
15104 2009-10-07  Glenn Morris  <rgm@gnu.org>
15106         * Makefile.in (autoloads): Revert previous change.
15107         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15108         the list of preloaded files passed on the command-line, get
15109         it from src/Makefile.
15111         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15112         show the original buffer rather than a random one.
15114 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
15116         * help.el (describe-no-warranty): Place point in a slightly better
15117         position in the GPLv3 text.
15119 2009-10-06  Sam Steingold  <sds@gnu.org>
15121         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15122         the comm attribute is present before calling regexp-quote.
15124 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
15126         * play/animate.el (animate-string): For good effect, make sure
15127         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15129         * play/animate.el (animate-sequence, animate-birthday-present):
15130         * misc.el (butterfly): Don't set `indent-tabs-mode'.
15132 2009-10-06  Glenn Morris  <rgm@gnu.org>
15134         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15136         * emacs-lisp/autoload.el (autoload-excludes): New variable.
15137         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15138         (batch-update-autoloads): Process a string value of autoload-excludes,
15139         set during the build process.
15140         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
15142         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15143         inside with-parsed...  macro so that `v' is defined.
15145         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15146         * progmodes/fortran.el (fortran-end-of-block)
15147         (fortran-beginning-of-block):
15148         Also push mark in the macro case.
15150         * emerge.el (emerge-show-file-name):
15151         * calc/calc.el (calc-quit):
15152         * calc/calc-misc.el (calc-big-or-small):
15153         * calc/calc-graph.el (calc-graph-view):
15154         * calc/calc-ext.el (calc-reset):
15155         * calendar/calendar.el (calendar-basic-setup):
15156         Use window-full-height-p.
15158         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15159         header we don't understand, don't insert another.  (Bug#4624)
15160         If changing mime charset, insert the new one in the right place.
15162 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
15164         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15165         (cal-tex-cursor-month): Correctly increment the end date for diary and
15166         holiday listing.  (Bug#4626)
15168 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15170         * help-fns.el (describe-function-1): Don't burp if the function is not
15171         a symbol.
15173 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
15175         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15176         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15177         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15178         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15180         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15181         (eieio-default-superclass): Reflow docstrings.
15182         (this, class-option-assoc, defclass, eieio-class-un-autoload)
15183         (eieio-unbind-method-implementations, defmethod)
15184         (eieio-validate-slot-value, eieio-validate-class-slot-value)
15185         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15186         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15187         (eieio-slot-originating-class-p, eieio-slot-name-index)
15188         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15189         (constructor, initialize-instance, no-next-method, object-print)
15190         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15191         Fix typos in docstrings.
15192         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15193         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15194         (next-method-p): Doc fixes.
15195         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15196         Fix typos in error messages.
15197         (eieio-defmethod): Fix typo in description of generic method.
15199         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15200         (eieio-persistent-save-interactive, slot-missing):
15201         Fix typos in docstrings.
15202         (eieio-instance-inheritor-slot-boundp): Doc fix.
15204         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15205         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15207         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15208         (eieio-custom-object-apply-reset):
15209         Fix typos in docstrings and error messages.
15211         * emacs-lisp/eieio-datadebug.el (data-debug-show):
15212         Fix typo in docstring.
15214         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15215         (eieio-browse-tree): Doc fix.
15216         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15217         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15218         Fix typos in docstrings.
15220         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15221         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15222         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15223         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15224         Reflow docstrings.
15226 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
15228         * vc-hg.el (log-view-vc-backend): Declare for compiler.
15229         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15230         Set log-view-vc-backend so that diff can work.
15232         * log-view.el (log-view-diff): Use vc-diff-internal instead of
15233         vc-version-diff.
15234         (vc-diff-internal): Autoload this instead of vc-version-diff.
15236 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
15238         * simple.el (eval-expression): Doc fix.
15240         * progmodes/cwarn.el (cwarn-mode): Doc fix.
15242 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
15244         * files.el (directory-files-no-dot-files-regexp): New defconst.
15245         (delete-directory): Use it.
15246         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
15248         * net/tramp.el (tramp-verbose): Fix docstring.
15249         (tramp-methods): Add recursive option to `tramp-copy-args'.
15250         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
15251         "scp1_old", "scp2_old", "rsync", "rsyncc".
15252         (tramp-default-method): Check also for `auth-source-user-or-password'.
15253         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15254         Add handler for `copy-directory'.
15255         (tramp-handle-copy-directory): New defun.
15256         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15257         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15258         Optimize sent command.
15260 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15262         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15263         window if necessary.
15265         * calendar/calendar.el (calendar-basic-setup): Don't call
15266         switch-to-buffer in a dedicated window.
15268 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
15270         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15271         don't do anything related to relocating, just return nil.
15272         (bookmark-error-no-filename): New error.
15273         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15274         bookmark has no file.  Don't even attempt to handle things that
15275         are not files; the whole point of custom handlers is to keep that
15276         knowledge elsewhere anyway.  Tighten some comments.
15277         (bookmark-file-or-variation-thereof): Remove now-unused function.
15278         (bookmark-location): Doc string fix.
15279         (Bug#4250)
15281 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15283         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15284         don't use a file dialog, because they usually don't know how to read
15285         a directory target from the user.  (Bug#4230)
15286         Also, make sure the prompt can display directories as well as files.
15288 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15290         * bookmark.el (bookmark-set, bookmark-buffer-name):
15291         Improve doc strings.  (Bug#1193)
15293 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15295         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15296         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15297         (bookmark-get-annotation, bookmark-set-annotation)
15298         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15299         (bookmark-set-position, bookmark-get-front-context-string)
15300         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15301         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15302         (bookmark-jump-other-window, bookmark-handle-bookmark)
15303         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15304         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15305         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15306         Improve doc strings to say whether bookmark can be a string or
15307         a record or both, and make other consistency and clarity fixes.
15308         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15309         (bookmark-default-annotation-text, bookmark-yank-word)
15310         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15311         (bookmark-import-new-list, bookmark-maybe-rename)
15312         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15313         (bookmark-bmenu-bookmark): Give these doc strings.
15314         (bookmark-bmenu-check-position): Give this a doc string, but also
15315         add a FIXME comment about how the function may be pointless.
15316         (bookmark-default-handler): Rework doc string and change a
15317         parameter name, to clarify that this takes a bookmark record
15318         not a bookmark name.
15319         (bookmark-set): Change a parameter name to indicate its meaning,
15320         and improve the doc string a bit.
15321         (Bug#4188)
15323 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15325         * bookmark.el (bookmark-alist): Document the new `handler' element
15326         in the param alist.
15327         (bookmark-make-record-function): Adjust documentation for above.
15328         (Bug#4193)
15330 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15332         * info.el (Info-bookmark-make-record): Document this function.
15333         (Info-bookmark-jump): Document with a doc string, not just a comment.
15334         (Bug#4203)
15336 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
15338         * files.el (copy-directory): New defun.
15340         * dired-aux.el (dired-copy-file-recursive): Use it.
15342 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
15344         * files-x.el (modify-dir-local-variable)
15345         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15346         docstrings.
15348         * recentf.el (recentf-unload-function): New function.
15350 2009-10-04  Glenn Morris  <rgm@gnu.org>
15352         * window.el (window-full-height-p): Add doc string.
15354 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
15356         * window.el (window-full-height-p): New function.  (Bug#4543)
15358 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
15360         * vc.el: Remove commented out code.
15361         (vc-derived-from-dir-mode): Remove, unused.
15362         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15364 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
15366         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15367         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
15368         there could be recursive loading when `default-directory' is a
15369         remote file name.  (Bug#4614)
15371 2009-10-03  Glenn Morris  <rgm@gnu.org>
15373         * calendar/calendar.el (calendar-basic-setup): Handle the case where
15374         the frame is wide.
15375         (calendar-generate-window): Test for shrinkability rather than width.
15377         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15378         reusing existing buffers, in case we happen to visit two files with the
15379         same basename.  (Bug#4593)
15381 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15383         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15384         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15385         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15386         subdirs of cedet as well.
15387         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15389 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15391         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15392         Obey advertised-signature-table.
15394         * help-fns.el (help-function-arglist): Don't check
15395         advertised-signature-table.
15396         (describe-function-1): Do it here instead so it also applies to subrs.
15398 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
15400         * simple.el (start-file-process): Say in the doc-string, that file
15401         handlers might not support pty association, if PROGRAM is nil.
15403         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15404         HOST and USER are strings.  They are nil, when there are
15405         incomplete entries in ~/.netrc, for example.
15406         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
15407         root directory ("device busy" error otherwise).
15409         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15410         Flush file properties of created directory.
15412 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15414         * makefile.w32-in (WINS_BASIC): Remove cedet.
15415         (WINS_CEDET): Add cedet.
15416         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15418 2009-10-02  Kevin Ryde  <user42@zip.com.au>
15420         * net/browse-url.el (browse-url): Pass any symbol in
15421         browse-url-browser-function to `apply', since if you've mistakenly put
15422         an unbound symbol then the error is clearer.  (Bug#4531)
15424 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15426         * allout.el (allout-init, allout-back-to-current-heading)
15427         (allout-beginning-of-current-entry, allout-ascend-to-depth)
15428         (allout-ascend, allout-up-current-level, allout-end-of-level)
15429         (allout-previous-visible-heading, allout-forward-current-level)
15430         (allout-backward-current-level, allout-show-children):
15431         * apropos.el (apropos-describe-plist):
15432         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15433         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15434         * completion.el (add-completion, add-permanent-completion):
15435         * descr-text.el (describe-text-category, describe-char):
15436         * desktop.el (desktop-lazy-abort):
15437         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15438         * dired.el (dired-build-subdir-alist):
15439         * ediff.el (ediff-version):
15440         * elide-head.el (elide-head, elide-head-show):
15441         * emerge.el (emerge-version):
15442         * env.el (getenv):
15443         * face-remap.el (variable-pitch-mode):
15444         * faces.el (describe-face):
15445         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15446         (dired-at-point):
15447         * files.el (find-file-existing, auto-save-mode):
15448         * font-lock.el (font-lock-fontify-buffer):
15449         * help-fns.el (describe-function, describe-variable)
15450         (describe-syntax, describe-categories):
15451         * help.el (view-lossage, describe-bindings, describe-key)
15452         (describe-mode):
15453         * hexl.el (hexl-current-address):
15454         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15455         * info.el (Info-goto-emacs-key-command-node):
15456         * log-edit.el (log-edit-insert-cvs-template)
15457         (log-edit-insert-cvs-rcstemplate):
15458         * menu-bar.el (menu-bar-mode):
15459         * mouse.el (mouse-appearance-menu):
15460         * newcomment.el (comment-indent-new-line):
15461         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15462         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15463         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15464         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15465         * recentf.el (recentf-mode):
15466         * savehist.el (savehist-mode, savehist-save):
15467         * shadowfile.el (shadow-copy-files):
15468         * simple.el (kill-ring-save, next-line, previous-line)
15469         (normal-erase-is-backspace-mode):
15470         * strokes.el (strokes-update-window-configuration)
15471         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15472         (strokes-xpm-for-stroke):
15473         * time.el (emacs-uptime, emacs-init-time):
15474         * tutorial.el (tutorial--describe-nonstandard-key)
15475         (tutorial--detailed-help):
15476         * type-break.el (type-break-mode)
15477         (type-break-mode-line-message-mode, type-break-query-mode)
15478         (type-break-guesstimate-keystroke-threshold):
15479         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15480         * version.el (emacs-version):
15481         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15482         * winner.el (winner-mode):
15483         * calendar/timeclock.el (timeclock-in, timeclock-out)
15484         (timeclock-status-string, timeclock-change)
15485         (timeclock-workday-remaining-string)
15486         (timeclock-workday-elapsed-string)
15487         (timeclock-when-to-leave-string):
15488         * calendar/todo-mode.el (todo-add-category):
15489         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15490         * emacs-lisp/autoload.el (update-file-autoloads):
15491         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15492         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15493         (checkdoc-message-text, checkdoc-defun):
15494         * emacs-lisp/debug.el (debugger-list-functions):
15495         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15496         * emacs-lisp/eieio-opt.el (eieio-describe-class)
15497         (eieio-describe-generic):
15498         * emacs-lisp/lisp-mnt.el (lm-synopsis):
15499         * emacs-lisp/shadow.el (list-load-path-shadows):
15500         * emulation/cua-base.el (cua-mode):
15501         * emulation/edt.el (edt-set-scroll-margins):
15502         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15503         (tpu-toggle-regexp, tpu-toggle-search-direction)
15504         (tpu-toggle-rectangle, tpu-toggle-control-keys):
15505         * emulation/tpu-extras.el (tpu-set-scroll-margins):
15506         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15507         (viper-set-parsing-style-toggling-macro)
15508         (viper-set-emacs-state-searchstyle-macros):
15509         * emulation/viper.el (viper-set-hooks):
15510         * eshell/esh-mode.el (eshell-truncate-buffer):
15511         * international/mule-cmds.el (prefer-coding-system)
15512         (describe-input-method, describe-language-environment):
15513         * international/mule-diag.el (list-character-sets)
15514         (describe-character-set, describe-coding-system)
15515         (describe-fontset, list-fontsets, list-input-methods):
15516         * mail/sendmail.el (mail-signature):
15517         * net/ange-ftp.el (ange-ftp-copy-file):
15518         * net/browse-url.el (browse-url):
15519         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15520         * net/quickurl.el (quickurl-add-url):
15521         * net/rcirc.el (names, topic):
15522         * net/xesam.el (xesam-mode):
15523         * play/5x5.el (5x5-new-game):
15524         * play/yow.el (apropos-zippy):
15525         * progmodes/ada-mode.el (ada-mode-version):
15526         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15527         (f90-end-of-block)
15528         (f90-beginning-of-block):
15529         * progmodes/fortran.el (fortran-end-of-block)
15530         (fortran-beginning-of-block):
15531         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15532         * progmodes/python.el (python-describe-symbol, python-shell):
15533         * term/ns-win.el (ns-print-buffer):
15534         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15535         * textmodes/flyspell.el (flyspell-mode-on):
15536         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15537         (pages-directory-for-addresses):
15538         * textmodes/table.el (table-recognize-cell)
15539         (table-query-dimension, table-generate-source)
15540         (table-insert-sequence, table--warn-incompatibility):
15541         * textmodes/tex-mode.el (tex-validate-buffer):
15542         * textmodes/texinfmt.el (texinfmt-version)
15543         (texinfo-format-buffer):
15544         Use `called-interactively-p' instead of `interactive-p'.
15546 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15548         * image-mode.el (image-toggle-display):
15549         * emacs-lisp/elp.el (elp-instrument-function):
15550         * emacs-lisp/advice.el (ad-make-advised-definition):
15551         * emacs-lisp/easy-mmode.el (define-minor-mode):
15552         * net/browse-url.el (browse-url-maybe-new-window):
15553         * progmodes/sh-script.el (sh-learn-buffer-indent):
15554         Pass new argument 'any to `called-interactively-p'.
15556 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
15558         * international/uni-bidi.el:
15559         * international/uni-category.el:
15560         * international/uni-combining.el:
15561         * international/uni-comment.el:
15562         * international/uni-decimal.el:
15563         * international/uni-decomposition.el:
15564         * international/uni-digit.el:
15565         * international/uni-lowercase.el:
15566         * international/uni-mirrored.el:
15567         * international/uni-name.el:
15568         * international/uni-numeric.el:
15569         * international/uni-old-name.el:
15570         * international/uni-titlecase.el:
15571         * international/uni-uppercase.el:
15572         Regenerate from Unicode 5.2.0 data.
15574 2009-10-01  Glenn Morris  <rgm@gnu.org>
15576         * Makefile.in (ELCFILES): Regenerate.
15578 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15580         * subr.el (interactive-p): Mark obsolete.
15581         (called-interactively-p): Make the optional-ness of `kind' obsolete.
15582         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15583         advertised-signature-table for subroutines as well.
15585         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15586         (set-advertised-calling-convention): New function.
15587         (make-obsolete, define-obsolete-function-alias)
15588         (make-obsolete-variable, define-obsolete-variable-alias):
15589         Make the optional-ness of `when' obsolete.
15590         (define-obsolete-face-alias): Make `when' non-optional.
15591         * help-fns.el (help-function-arglist):
15592         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15593         Use advertised-signature-table.
15595 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
15597         * files.el (delete-directory): New defun.  The original function
15598         in fileio.c has been renamed to `delete-directory-internal'.
15600         * dired.el (dired-delete-file): Call `delete-directory' with
15601         RECURSIVE parameter.
15603         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15604         parameter RECURSIVE.  Implementation is missing.
15606         * net/tramp.el (tramp-handle-make-directory): Flush upper
15607         directory's file properties.
15608         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15609         (tramp-handle-dired-recursive-delete-directory): Flush directory
15610         properties after the remove command only.
15612         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15613         Handle optional parameter RECURSIVE.
15615         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15616         Handle optional parameter RECURSIVE.
15618         * net/tramp-smb.el (tramp-smb-errors): Add error message for
15619         connection timeout.
15620         (tramp-smb-handle-delete-directory): Handle optional parameter
15621         RECURSIVE.
15623 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15625         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15626         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15627         (byte-compile-defmacro): Use backquotes.
15629         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15631         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15632         has no associated file.
15633         (vc-resynch-buffer): Use vc-dir-buffers.
15635 2009-10-01  Glenn Morris  <rgm@gnu.org>
15637         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15638         (chart-file-count):
15639         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15640         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15641         * emacs-lisp/eieio-opt.el (eieio-describe-class):
15642         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15643         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15644         (eieio-copy-parents-into-subclass, make-instance, class-children)
15645         (eieio-generic-form):
15647         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15648         match-data.  (Bug#4555).
15650         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15651         rather than parsing it as a regexp.  This relaxes the layout
15652         requirements and makes errors easier to detect.
15653         (check-declare-verify): Check file is regular.
15654         (check-declare-directory): Doc fix.
15655         * subr.el (declare-function): Doc fix.
15657         * ibuffer.el (ibuffer-format-qualifier):
15658         * isearch.el (hi-lock-regexp-okay):
15659         * calc/calc.el (math-zerop):
15660         * mail/uce.el (rmail-msgbeg, rmail-msgend):
15661         * term/w32-win.el (setup-default-fontset, set-fontset-font):
15662         Remove unused declarations.
15664 2009-09-30  Eric Ludlam  <zappo@gnu.org>
15666         * emacs-lisp/eieio.el (boolean-p): Delete.
15668 2009-09-30  Glenn Morris  <rgm@gnu.org>
15670         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15672         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15673         filename is not a string.
15675 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
15677         * files.el (safe-local-eval-forms): Fix typo.
15679 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15681         * vc-hooks.el (vc-dir-buffers): New var.
15682         (vc-state-refresh): New function.
15683         (vc-state): Use it.
15684         (vc-after-save): Always ask the backend to recompute the new state.
15685         Always call vc-dir if necessary, using vc-dir-buffers.
15686         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15687         Use vc-dir-buffers.
15688         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15689         (vc-dir-prepare-status-buffer, vc-dir-update)
15690         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15691         Don't call expand-file-name on default-directory.
15693 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15695         * speedbar.el (speedbar-item-delete):
15696         * calc/calc-prog.el (calc-kbd-if):
15697         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15699         * epa.el (epa-key-list-mode-map):
15700         * hi-lock.el (hi-lock-menu): Fix typos in menus.
15702         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15703         (hs-show-hook): Fix typo in docstring.
15705 2009-09-29  Glenn Morris  <rgm@gnu.org>
15707         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15708         file-name-nondirectory call preventing location of cedet files.
15709         (check-declare-verify): Use literal search rather than re-search.
15710         Add basic defmethod and defclass, and define-overloadable-function.
15712         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15713         Use tramp-compat-file-attributes rather than nonexistent
15714         tramp-compat-handle-file-attributes.
15716         * Makefile.in (lisptagsfiles4): New.
15717         (AUTOGENEL): Add cedet loaddefs files.
15718         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15719         (update-elclist, compile-always, backup-compiled-files)
15720         (bootstrap-clean): Add yet another directory level.
15721         (update-elclist): Use LC_COLLATE rather than COLLATE.
15722         (ELCFILES): Update, via `make update-elclist'.
15724 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15726         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15727         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15728         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15730 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15732         * Makefile.in (lisptagsfiles3): Define.
15733         (TAGS, TAGS-LISP): Use it.
15734         (update-elclist): Add third directory level to look for elc files.
15735         (compile-always): Likewise.
15736         (backup-compiled-files): Likewise.
15737         (bootstrap-clean): Likewise.
15738         (ELCFILES): Update.
15740 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
15742         * Makefile.in (ELCFILES): Add CEDET files.
15744 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
15746         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15748         * net/tramp.el (top): Require tramp-imap.
15750         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15751         Use `tramp-compat-handle-file-attributes'.
15753 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
15755         * net/tramp-imap.el: New package.
15757 2009-09-28  Eric Ludlam  <zappo@gnu.org>
15759         * emacs-lisp/chart.el:
15760         * emacs-lisp/eieio-base.el:
15761         * emacs-lisp/eieio-comp.el:
15762         * emacs-lisp/eieio-custom.el:
15763         * emacs-lisp/eieio-datadebug.el:
15764         * emacs-lisp/eieio-opt.el:
15765         * emacs-lisp/eieio-speedbar.el:
15766         * emacs-lisp/eieio.el: New files.
15768 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15770         * whitespace.el (whitespace-trailing-regexp)
15771         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15772         Fix doc string.
15774 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
15776         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15777         menu.
15779         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15780         menu-bar-ediff-menu.
15782         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15783         define-overloadable-function.
15785         * progmodes/autoconf.el: Provide autoconf as well, so that this
15786         file can be `require'd.
15788         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15790         * emacs-lisp/autoload.el (generated-autoload-feature)
15791         (generated-autoload-load-name): New vars.
15792         (autoload-rubric, autoload-generate-file-autoloads): Use them.
15793         (make-autoload): Recognize define-overloadable-function and
15794         defclass forms (for EIEIO).
15796         * Makefile.in (update-subdirs): Exclude cedet directory.
15798 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
15800         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
15802         * faces.el: Default light-background background for region face to
15803         ns_selection_color under NS.
15805 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
15807         * net/imap-hash.el: New library, see NEWS.
15809         * Makefile.in (ELCFILES): Add imap-hash.el.
15811 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15813         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15814         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15815         * help-macro.el (make-help-screen): Avoid using an ambiguous function
15816         definition where the docstring could be taken for the return value.
15818 2009-09-26  Glenn Morris  <rgm@gnu.org>
15820         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15821         Add option to only show images below a certain size.
15822         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15823         save-excursion calls.
15825 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
15827         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15828         subdirectories) and eieio.
15830 2009-09-26  Alan Mackenzie  <acm@muc.de>
15832         * progmodes/cc-engine.el (c-beginning-of-statement-1):
15833         Correct buggy bracketing.  (Bug#4289)
15835         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15836         character constants (as case labels).  (Bug#4289)
15838 2009-09-25  Juri Linkov  <juri@jurta.org>
15840         * files.el (safe-local-eval-forms): Allow time-stamp in
15841         before-save-hook (Bug#4554).
15843 2009-09-25  Drew Adams  <drew.adams@oracle.com>
15845         * menu-bar.el (list-buffers-directory): Doc fix.
15847 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15849         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15850         Try and avoid copying twice the same paragraph.
15851         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15852         Remove save-excursion.
15853         (log-edit-changelog-entry): Do it here instead.
15855 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
15857         * bs.el (bs--get-file-name): Use `list-buffers-directory'
15858         when available, instead of hardcoding mode names.  Doc fix.
15860         * menu-bar.el (list-buffers-directory): Add docstring.
15861         Make automatically buffer-local.
15863         * dired.el (dired-mode):
15864         * files.el (cd-absolute):
15865         * pcvs.el (cvs-temp-buffer):
15866         * pcvs-util.el (cvs-get-buffer-create):
15867         * shell.el (shell-mode):
15868         * vc-dir.el (vc-dir-mode):
15869         Don't make `list-buffers-directory' buffer local.
15871 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
15873         * comint.el (comint-exec, comint-run, make-comint):
15874         Doc fixes (Bug#4542).
15876 2009-09-25  Glenn Morris  <rgm@gnu.org>
15878         * mail/rmailmm.el (rmail-mime): New custom group.
15879         Move all defcustoms in this file into this group.
15880         (rmail-mime-media-type-handlers-alist): Revert previous change.
15881         (rmail-mime-show-images): New option.
15882         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15883         references to it, since it wasn't actually used for anything.
15884         (rmail-mime-insert-image): New function.
15885         (rmail-mime-image): Use rmail-mime-insert-image.
15886         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15887         obey the value of `rmail-mime-show-images' option.  Print the size of
15888         attachments.
15890 2009-09-25  David Engster  <deng@randomsample.de>
15892         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
15894 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15896         * whitespace.el: Does not highlight trailing spaces While point is
15897         at end of line.  Does not highligt spaces at beginning of buffer
15898         while point is at beginning of buffer.  Does not highlight spaces
15899         at end of buffer while point is at end of buffer.  (Bug#4177)
15900         New version 12.0.
15901         (whitespace-display-mappings): Adjust initialization.
15902         (whitespace-point, whitespace-font-lock-refontify): New vars.
15903         (whitespace-color-on, whitespace-color-off): Adjust code.
15904         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15905         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15906         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15908 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
15910         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15912         * textmodes/sgml-mode.el: Remove xml-mode alias.
15914         * files.el (auto-mode-alist, conf-mode-maybe)
15915         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15917 2009-09-24  Alan Mackenzie  <acm@muc.de>
15919         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15920         c-forward-conditionals, but it doesn't move point and doesn't set
15921         the mark.
15922         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15923         (c-down-conditional-with-else, c-backward-conditional)
15924         (c-forward-conditional): Refactor to use c-scan-conditionals.
15926 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15928         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15929         (help-default-arg-highlight): Remove.
15930         (help-highlight-arg): New function.
15931         (help-do-arg-highlight): Use it.
15932         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
15934 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15936         * term.el (term-set-scroll-region, term-handle-ansi-escape):
15937         Undo last change, which didn't fix the problem and introduced others.
15939 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
15941         * progmodes/gdb-mi.el: Don't require speedbar.
15942         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15944 2009-09-24  Glenn Morris  <rgm@gnu.org>
15946         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15948         * term/ns-win.el (ns-reg-to-script): Define for compiler.
15950         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15951         there is no newline after the final mime boundary.  (Bug#4539)
15952         Move markers on insertion so that any buttons inserted don't end up in
15953         the next part of a multipart message.
15954         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
15955         (rmail-mime-bulk-handler): Optionally handle images.
15956         (rmail-mime-image): New button action.
15957         (rmail-mime-image-handler): New function.
15958         (rmail-mime-mode): New mode.
15959         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
15961 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15963         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15964         than just dropping elements from it (bug#4504).
15966         * term.el (term-set-scroll-region): Don't move cursor any more.
15967         (term-handle-ansi-escape): Call term-goto here instead.
15968         Suggested by Ivan Kanis <apple@kanis.eu>.
15970         * term.el: Require CL.
15971         (term-ansi-reset): New function.
15972         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15973         (term-handle-colors-array): Simplify.
15975 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15977         * allout.el (allout-overlay-interior-modification-handler)
15978         (allout-obtain-passphrase):
15979         * epa-file.el (epa-file-write-region):
15980         * ps-print.el (ps-begin-job):
15981         * vc-hooks.el (vc-toggle-read-only):
15982         * vc-rcs.el (vc-rcs-rollback):
15983         * vc-sccs.el (vc-sccs-rollback):
15984         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15985         (vc-version-diff, vc-revert, vc-rollback):
15986         * wdired.el (wdired-check-kill-buffer):
15987         * emacs-lisp/authors.el (authors):
15988         * net/socks.el (socks-open-connection):
15989         * net/zeroconf.el (zeroconf-service-add-hook):
15990         * obsolete/vc-mcvs.el (vc-mcvs-register):
15991         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15992         (gdb-select-frame):
15993         * progmodes/grep.el (lgrep, rgrep):
15994         * progmodes/idlw-help.el (idlwave-help-check-locations)
15995         (idlwave-help-html-link, idlwave-help-assistant-open-link):
15996         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15997         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15998         (reftex-toc-rename-label): Fix typos in error messages.
16000         * dired-aux.el (dired-do-shell-command): Reflow docstring.
16001         (dired-copy-how-to-fn): Doc fix.
16002         (dired-files-attributes, dired-read-shell-command):
16003         Fix typos in docstrings.
16005         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16006         (dired-x-find-file-other-window): Reflow docstrings.
16007         (dired-omit-marker-char, dired-read-shell-command)
16008         (dired-x-submit-report): Fix typos in docstrings.
16010         * shell.el (shell-mode-hook):
16011         * view.el (View-scroll-line-forward):
16012         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16013         Fix typos in docstrings.
16015         * net/dig.el (dig-invoke): Fix typo in docstring.
16016         (query-dig): Reflow docstring.
16018         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16019         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16020         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16021         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16022         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16023         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16024         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16025         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16026         (idlwave-completion-map, idlwave-current-indent)
16027         (idlwave-custom-ampersand-surround, idlwave-customize)
16028         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16029         (idlwave-define-abbrev, idlwave-determine-class-special)
16030         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16031         (idlwave-end-block-reg, idlwave-end-of-statement)
16032         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16033         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16034         (idlwave-explicit-class-listed, idlwave-file-header)
16035         (idlwave-fill-paragraph, idlwave-find-class-definition)
16036         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16037         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16038         (idlwave-in-quote, idlwave-indent-action-table)
16039         (idlwave-indent-expand-table, idlwave-indent-line)
16040         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16041         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16042         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16043         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16044         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16045         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16046         (idlwave-outlawed-buffers, idlwave-popup-select)
16047         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16048         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16049         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16050         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16051         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16052         (idlwave-statement-type, idlwave-struct-skip)
16053         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16054         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16055         (idlwave-what-module-find-class): Fix typos in docstrings.
16056         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16057         (idlwave-calculate-cont-indent, idlwave-expand-equal)
16058         (idlwave-find-module, idlwave-find-structure-definition)
16059         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16060         (idlwave-list-load-path-shadows, idlwave-next-statement)
16061         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16062         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16063         (idlwave-template): Reflow docstrings.
16065         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16066         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16067         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16068         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16069         (idlwave-shell-display-line, idlwave-shell-display-wframe)
16070         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16071         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16072         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16073         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16074         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16075         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16076         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16077         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16078         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16079         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16080         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16081         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16082         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16083         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16084         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16085         Fix typos in docstrings.
16086         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16087         (idlwave-shell-hide-output, idlwave-shell-mode)
16088         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16089         Reflow docstrings.
16091         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16093 2009-09-24  Ivan Kanis  <apple@kanis.eu>
16095         * term.el (term-bold-attribute): New var.
16096         (term-handle-colors-array): Use it.
16098 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
16100         * progmodes/gdb-mi.el (gdb-version): New variable.
16101         (gdb-non-stop-handler): Set gdb-version.
16102         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16103         Condition "--thread" option on gdb-version.
16104         (gdb-invalidate-threads): Remove unused argument.
16106 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16108         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16109         to looking-back to avoid ridiculous slow down in large files (bug#4511).
16111 2009-09-23  Glenn Morris  <rgm@gnu.org>
16113         * mail/rmail.el (rmail-reply): Don't try to add a References header when
16114         replying to mail without References or Message-Id.  (Bug#4525)
16116 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
16118         * term/ns-win.el (ns-reg-to-script): New variable.
16120 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
16122         * epg.el (epg-wait-for-status): Preserve existing 'error results.
16124 2009-09-22  Sam Steingold  <sds@gnu.org>
16126         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16127         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16128         to 1 because hg returns status 1 when nothing is found.
16129         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16131 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16133         * textmodes/fill.el: Convert to utf-8 encoding.
16134         (fill-french-nobreak-p): Remove redundant » and « inherited from our
16135         pre-Unicode days.
16137         * add-log.el (change-log-fill-forward-paragraph): New function.
16138         (change-log-mode): Use it so fill-region DTRT.
16139         Set fill-indent-according-to-mode here rather than in
16140         change-log-fill-paragraph.
16141         (change-log-fill-paragraph): Remove.
16143 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
16145         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16146         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
16148 2009-09-22  Glenn Morris  <rgm@gnu.org>
16150         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16151         the scroll-bar scroll the calendar window rather than the buffer.
16153         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16154         commands that move point (as opposed to scrolling).
16156         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16158         * emacs-lisp/elint.el (elint): New custom group.
16159         (elint-log-buffer): Make it a defcustom.
16160         (elint-scan-preloaded, elint-ignored-warnings)
16161         (elint-directory-skip-re): New options.
16162         (elint-builtin-variables): Doc fix.
16163         (elint-preloaded-env): New variable.
16164         (elint-unknown-builtin-args): Add an entry for encode-time.
16165         (elint-extra-errors): Make it a variable rather than a constant.
16166         (elint-preloaded-skip-re): New constant.
16167         (elint-directory): Skip files matching elint-directory-skip-re.
16168         (elint-features): New variable, local to linted buffers.
16169         (elint-update-env): Initialize elint-features.  Possibly add
16170         elint-preloaded-env to the buffer's environment.
16171         (elint-get-top-forms): Bind elint-current-pos, for log messages.
16172         Skip quoted forms.
16173         (elint-init-form): New function, extracted from elint-init-env.
16174         Make non-list forms a warning rather than an error.
16175         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
16176         easy-menu-define, put that adds an error-condition, and provide.
16177         When requiring cl, also require cl-macs.  Really require cl, to handle
16178         some cl macros.  Store required libraries in the list elint-features,
16179         so as not to re-load them.  Treat cc-require like require.
16180         (elint-init-env): Call elint-init-form to do the work.
16181         Handle eval-and-compile and such like.
16182         (elint-add-required-env): Do not clear messages.
16183         (elint-special-forms): Add handlers for function, defalias, if, when,
16184         unless, and, or.
16185         (elint-form): Add optional argument to ignore elint-special-forms,
16186         useful to prevent recursive calls from handlers.  Doc fix.
16187         Respect elint-ignored-warnings.
16188         (elint-form): Respect elint-ignored-warnings.
16189         (elint-bound-variable, elint-bound-function): New variables.
16190         (elint-unbound-variable): Respect elint-bound-variable.
16191         (elint-get-args): Respect elint-bound-function.
16192         (elint-check-cond-form): Add some simple handling for (f)boundp and
16193         featurep tests.
16194         (elint-check-defalias-form): New handler.
16195         (elint-check-let-form): Make an empty let a warning rather than an
16196         error.
16197         (elint-check-setq-form): Make an empty setq a warning rather than an
16198         error.  Respect elint-ignored-warnings.
16199         (elint-check-defvar-form): Accept null doc-strings.
16200         (elint-check-conditional-form): New handler.  Does some simple-minded
16201         checking of featurep and (f)boundp tests.
16202         (elint-put-function-args): New function.
16203         (elint-initialize): Use elint-scan-doc-file rather than
16204         elint-find-builtin-variables.  Use elint-put-function-args.
16205         Possibly scan preloaded-file-list.
16206         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16207         extend to handle functions as well.
16209 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
16211         * linum.el (linum-delete-overlays, linum-update-window):
16212         Do not modify the right margin.  (Bug#3971)
16214 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
16216         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16217         Use nxml-mode instead of xml-mode.
16219 2009-09-21  Kevin Ryde  <user42@zip.com.au>
16221         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
16223 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16225         * net/dig.el (dig-mode): Use define-derived-mode.
16227 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
16229         * vc-dispatcher.el (vc-do-command): Return the process object in
16230         the asynchronous case.  Use when instead of if.  Do not run
16231         vc-exec-after to display a message if not enabled.  (Bug#4463)
16233         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16234         properties to the stash strings.
16235         (vc-git-stash-list): Return a list of strings.
16236         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16237         (vc-git-stash-show-at-point): New functions.
16238         (vc-git-stash-map): New keymap.
16240         * register.el (ctl-x-r-map): Define the keys here instead of
16241         using autoload.
16243 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
16245         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16246         list, to workaround performance problem (bug#4485).
16248 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
16250         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16252 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
16254         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16255         Document that this option is not recommended to use.
16257 2009-09-19  Glenn Morris  <rgm@gnu.org>
16259         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16260         variable `var'.
16262         * calc/calc-alg.el (var):
16263         * calc/calcalg2.el (var): Define for compiler.
16265 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
16267         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16268         Doc fix (Bug#3932).
16270         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16272         * time-stamp.el (time-stamp-month-dd-yyyy)
16273         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16274         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16275         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16276         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16277         Remove functions that have been obsolete since 1995 (Bug#4436).
16279         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16280         indent buffer only if called interactively (Bug#4452).
16282 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
16283             Eli Zaretskii  <eliz@gnu.org>
16285         This fixes bug#4197 (merged to bug#865, though not identical).
16286         * server.el (server-auth-dir): Add docstring note about FAT32.
16287         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16288         but warn against using them.
16290 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
16292         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16293         older GDB where there is no has_more field.
16295 2009-09-19  Glenn Morris  <rgm@gnu.org>
16297         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16299 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
16301         * files.el (auto-mode-alist): Change default for XML files to nXML
16302         mode (Bug#4169).
16304 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
16306         * server.el (server-ensure-safe-dir): Pass 'integer
16307         to `file-attributes', as suggested.
16309 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16311         * dired-aux.el (dired-query-alist): Remove spurious backslash.
16312         (dired-query): Use read-key.
16314 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
16316         * cus-start.el (ns-use-qd-smoothing): Remove.
16318 2009-09-18  Glenn Morris  <rgm@gnu.org>
16320         * allout.el (top-level): Remove unnecessary progn.
16322         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16324         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16325         definition of abbrev table.
16327         * speedbar.el (speedbar-track-mouse):
16328         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16329         * net/eudc.el (eudc-expand-inline):
16330         * net/newst-backend.el (newsticker--cache-read-feed):
16331         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16332         condition-case handlers.
16334 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
16336         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16337         (gdb-var-list): Add an element for has_more field.
16338         (gdb-non-stop-handler): Enable pretty printing for STL containers.
16339         (gdb-var-create-handler, gdb-var-list-children-handler-1)
16340         (gdb-var-update-handler-1): Parse output of dynamic variable
16341         objects (STL containers).
16342         (gdb-var-delete-1): Pass var1 as an explicit second argument.
16343         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
16345         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16346         gdb-var-list.
16347         (gud-speedbar-buttons): Make node expandable if expression "has more"
16348         children.
16350 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
16352         * startup.el (emacs-quick-startup): Remove variable and all uses.
16353         (command-line): Set `inhibit-x-resources' instead.
16354         (command-line-1): Use `inhibit-x-resources' instead.
16356 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
16358         * subr.el: Fix last change to avoid using the `unless' macro,
16359         which breaks bootstrapping.
16361 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16363         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16364         extended definitions, in case we reload subr.el after having
16365         loaded CL.
16366         (eval-next-after-load): Mark as obsolete.
16368 2009-09-17  Juri Linkov  <juri@jurta.org>
16370         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16371         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16372         (menu-bar-showhide-menu, menu-bar-tools-menu)
16373         (menu-bar-describe-menu, menu-bar-help-menu)
16374         (minibuffer-local-completion-map, minibuffer-local-map):
16375         Fix list quoting.
16377 2009-09-17  Glenn Morris  <rgm@gnu.org>
16379         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16380         arguments, whether or not it has a handler.
16382         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16384         * simple.el (hard-newline): Give it a doc-string.
16386         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16387         (lisp-mode-syntax-table): Give them doc-strings.
16389 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
16391         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16392         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16393         (menu-bar-options-menu, menu-bar-showhide-menu)
16394         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16395         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16396         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16397         (menu-bar-options-menu, menu-bar-tools-menu)
16398         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16399         (menu-bar-help-menu):
16400         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16401         string arguments.
16403         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16404         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16405         calls for the menu names and :help.
16407 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16409         * mouse.el (minor-mode-menu-from-indicator): Pay attention
16410         to :minor-mode-function (bug#4455).
16412 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16414         * startup.el (command-line): Initialize the window-system after
16415         processing the command-line.
16417         * textmodes/page.el (what-page): Make sure we don't inf-loop if
16418         page-delimiter matches the empty string.
16420 2009-09-16  Glenn Morris  <rgm@gnu.org>
16422         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16423         byte-compile-not-obsolete-var.  It's a list now.
16424         (byte-compile-not-obsolete-funcs): New variable.
16425         (byte-compile-warn-obsolete): Don't warn about functions if they are in
16426         byte-compile-not-obsolete-funcs.
16427         (byte-compile-variable-ref, byte-compile-defvar): Update for
16428         byte-compile-not-obsolete-vars name-change and list nature.
16429         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16430         and variables behind (f)boundp tests.
16431         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16433 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16435         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16437 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16439         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16440         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16441         Don't autoload.
16443 2009-09-15  Stephen Eglen  <stephen@gnu.org>
16445         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16446         the virtual-buffers, use the name of the buffer specified by
16447         find-file-noselect, as the match may be a symlink.  (This was a
16448         problem if the target and the symlink had different names.)
16450 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16452         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16454         * desktop.el (desktop-path): Check user-emacs-directory.
16456         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16458         * loadup.el: Use after-load-functions to GC after loading each file.
16459         Remove the explicit GC calls that used to be sprinkled around.
16461         * subr.el (after-load-functions): New hook.
16462         (do-after-load-evaluation): Run it.  Use string-match-p to detect
16463         `obsolete' packages, rather than painfully extracting the relevant
16464         directory name.
16466 2009-09-15  Glenn Morris  <rgm@gnu.org>
16468         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16469         free variable `doc'.
16471         * dired.el (dired-mode-map): Add menu entry for async shell command.
16473         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16474         variables, also consider the .elc files, since the .el files are
16475         normally gzipped (subsequent code locates the .el.gz from the .elc).
16477         * calc/calc-prog.el (arglist): Define for compiler.
16479         * calendar/diary-lib.el (diary-display-function): Change the default to
16480         fancy display.
16481         (body): Define for compiler.
16483         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16484         (byte-compile-file-form, byte-compile-lambda)
16485         (byte-compile-top-level-body, byte-compile-form)
16486         (byte-compile-variable-ref, byte-compile-setq)
16487         (byte-compile-setq-default, byte-compile-body)
16488         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16489         (batch-byte-compile): Give some more local variables with common names
16490         a "bytecomp-" prefix to avoid masking warnings about free variables.
16492         * startup.el (command-line-1): Give local variables with common names a
16493         distinguishing prefix, so as not to hide free variable warnings during
16494         bootstrap.
16496         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16497         clever and add a suffix to make a unique name, just let the user decide
16498         whether or not to overwrite it.  If the input is a directory, write the
16499         default filename to that directory.  (Bug#4388)
16500         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16501         is a filename-as-a-directory.
16503 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16505         * textmodes/page.el (what-page): Don't move to beginning of line.
16506         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16508 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16510         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16512 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
16514         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16515         * help.el (help-for-help-internal): Add purecopy calls for text.
16517         * vc.el (top): print-log method now takes an optional SHORTLOG
16518         argument.  Add a new method: root.
16519         (vc-root-diff, vc-print-root-log): New functions.
16520         (vc-log-short-style): New variable.
16521         (vc-print-log-internal): Add support for showing short logs.
16523         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16524         vc-print-root-log and vc-print-root-diff.
16526         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16527         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16528         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16529         short logs.
16531         * vc-cvs.el (vc-cvs-print-log):
16532         * vc-mtn.el (vc-mtn-print-log):
16533         * vc-rcs.el (vc-rcs-print-log):
16534         * vc-sccs.el (vc-sccs-print-log):
16535         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16536         that is ignored for now.
16538         * vc-mtn.el (vc-mtn-annotate-command):
16539         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16541 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16543         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16544         to function-key-map, and give them ascii-character property.
16545         * term/x-win.el (x-alternatives-map):
16546         * term/ns-win.el (ns-alternatives-map):
16547         * term/internal.el (msdos-key-remapping-map):
16548         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16550 2009-09-14  Glenn Morris  <rgm@gnu.org>
16552         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16553         temp-buffers (2009-09-12).
16555 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16557         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16558         the new read-key function.
16560 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16562         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16563         is defined (Bug#4405).
16565 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
16567         * recentf.el (recentf-cleanup): Use a hash table to find
16568         duplicates (Bug#4407).
16570 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
16572         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16573         kp-0 to ascii equivalents (Bug#4325).
16575 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16577         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16579         * eshell/em-hist.el:
16580         * eshell/em-dirs.el (eshell-complete-user-reference):
16581         Declare pcomplete functions and variables to avoid compiler warnings.
16583 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
16585         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16586         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16587         * eshell/em-alias.el (eshell-aliases-file):
16588         * eshell/em-hist.el (eshell-history-file-name):
16589         Use expand-file-name instead of concat to make file names (Bug#4308).
16591 2009-09-13  Glenn Morris  <rgm@gnu.org>
16593         * ediff-merg.el (ediff-do-merge):
16594         * filesets.el (filesets-run-cmd):
16595         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16596         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16597         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16598         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16599         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16600         Replace empty `let's with `progn'.
16602 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16604         * mail/sendmail.el (send-mail-function):
16605         * tooltip.el (tooltip-mode):
16606         * simple.el (transient-mark-mode):
16607         * rfn-eshadow.el (file-name-shadow-mode):
16608         * frame.el (blink-cursor-mode):
16609         * font-core.el (global-font-lock-mode):
16610         * files.el (temporary-file-directory)
16611         (small-temporary-file-directory, auto-save-file-name-transforms):
16612         * epa-hook.el (auto-encryption-mode):
16613         * composite.el (global-auto-composition-mode):
16614         Use custom-initialize-delay.
16615         * startup.el (command-line): Don't explicitly call
16616         custom-reevaluate-setting for all the above vars.
16617         * custom.el (custom-initialize-safe-set)
16618         (custom-initialize-safe-default): Delete.
16620 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16622         * term/x-win.el (x-initialize-window-system):
16623         * term/w32-win.el (w32-initialize-window-system):
16624         * term/ns-win.el (ns-initialize-window-system): Don't call
16625         mouse-wheel-mode since it's enabled globally by default already.
16627         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16628         actually define the variable, but only silences the byte-compiler.
16629         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16630         before looking it up.
16631         (mouse-wheel-scroll-amount): Also reset the bindings if this value
16632         is changed.
16634 2009-09-12  Glenn Morris  <rgm@gnu.org>
16636         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16637         1000.
16638         (elint-add-required-env): Don't beep on error.
16639         (elint-forms): In case of error, return ENV unchanged.
16640         (elint-init-env): Skip non-list forms.
16641         (elint-log): Handle unknown file positions.
16643 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
16645         * epg.el (epg-make-context): Add autoload cookie.
16646         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16647         (epg-decrypt-string, epg-start-verify, epg-verify-file)
16648         (epg-verify-string, epg-start-sign, epg-sign-file)
16649         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16650         (epg-encrypt-string, epg-start-export-keys)
16651         (epg-export-keys-to-file, epg-export-keys-to-string)
16652         (epg-start-import-keys, epg-import-keys-from-file)
16653         (epg-import-keys-from-string, epg-start-receive-keys)
16654         (epg-receive-keys, epg-import-keys-from-server)
16655         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16656         (epg-sign-keys, epg-start-generate-key)
16657         (epg-generate-key-from-file, epg-generate-key-from-string):
16658         Remove autoload cookie.
16660 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
16662         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16663         reevaluation of trash-directory.
16665         * mwheel.el: Fix last change.
16666         (mouse-wheel-mode): New defvar.
16667         (mouse-wheel-mode): Remove autoload cookie.
16669 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16671         * mwheel.el (mwheel-installed-bindings): New var.
16672         (mouse-wheel-mode): Use it, so as to make sure we really remove all
16673         the bindings we set last time.  Use custom-initialize-delay.
16674         * loadup.el: Load mwheel after term/*-win.el.
16675         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16676         and mouse-wheel-up-event now that their first evaluation is done
16677         sufficiently late to be correct.
16679         * startup.el (tutorial-directory): Make it a defcustom.
16680         Use custom-initialize-delay rather than eval-at-startup to set it.
16681         * image.el (image-load-path): Make it a defcustom.
16682         Use custom-initialize-delay rather than eval-at-startup to set it.
16683         * subr.el (eval-at-startup): Remove.
16684         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16686         * subr.el (do-after-load-evaluation): Warn the user after loading an
16687         obsolete package.
16689 2009-09-12  Glenn Morris  <rgm@gnu.org>
16691         * proced.el (proced-mark-alt): Remove alias.
16692         (proced-mode-map): Remove proced-mark-alt.
16694         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16695         Elint file and directory.  Remove initialization entry.
16697         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16698         commands.
16699         (elint-current-buffer): Set mode-line-process.
16700         (elint-init-env): Handle define-derived-mode.
16701         Fix declare-function with unspecified arglist.  Guard against odd
16702         defalias statements (eg iso-insert's 8859-1-map).
16703         (elint-add-required-env): Use a temp buffer.
16704         (elint-form): Just print the function/macro name, not the whole form.
16705         Return env unchanged if we fail to parse a macro.
16706         (elint-forms): Guard against parse errors.
16707         (elint-output): New function, to handle batch mode.
16708         (elint-log-message): Add optional argument.  Use elint-output.
16709         (elint-set-mode-line): New function.
16711 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
16713         * emacs-lisp/elp.el (elp-not-profilable): Add more
16714         functions (Bug#4233).
16716 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
16718         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16719         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16721 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16723         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16724         (gdb-var-list-children): Use json parsing.
16726 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
16728         * progmodes/js.el (js--proper-indentation): Handle the case where
16729         char-before is null.  Reported by Deniz Dogan.
16731 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
16733         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16735 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
16737         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16738         (epg-digest-algorithm-alist): Add SHA224.
16739         (epg-context-set-passphrase-callback)
16740         (epg-context-set-progress-callback): Add description about
16741         callback function.
16743 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16745         * custom.el (custom-delayed-init-variables): New var.
16746         (custom-initialize-delay): New function.
16747         * startup.el (command-line): "Re"evaluate all vars in
16748         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
16749         explicitly any more.
16750         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16751         to avoid creating a ~/.emacs.d at build-time (bug#4347).
16753         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16755 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16757         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16758         (gdb-var-update-handler): Use json parsing.
16760 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
16762         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16763         decode annotated text, regardless of language environment.  (Bug#2741)
16765 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16767         * Makefile.in (autoloads): Make rmail.el writable as well.
16769 2009-09-11  Glenn Morris  <rgm@gnu.org>
16771         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16772         loaddefs.el.
16773         * dired.el: Regenerate with extracted autoloads.
16774         * Makefile.in (autoloads): Make dired.el writable.
16776         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16777         * ibuffer.el: Regenerate with extracted autoloads.
16778         * Makefile.in (autoloads): Make ibuffer.el writable.
16780         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16781         * version.el (emacs-copyright, emacs-major-version)
16782         (emacs-minor-version): Reformat doc-strings for make-docfile.
16784         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16785         functions and variables, since they must be stuff specific to some other
16786         platform.
16787         (apropos-print): Make mouse-click message less specific about button.
16789         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16790         that records where a macro was defined.
16791         * help-fns.el (describe-function-1): Mention if a function has a
16792         compiler-macro.
16793         * help-mode.el (help-function-cmacro): New button.
16795         * locate.el (top-level): Always require dired.
16796         (locate-mode-map): Initialize inside the defvar.
16798         * net/ange-ftp.el (dired-compress-file): Declare.
16799         (ange-ftp-dired-compress-file): Add doc string.
16801         * term/ns-win.el (x-display-name, x-setup-function-keys):
16802         Unify doc-strings with X versions.
16804 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16806         * emulation/crisp.el (crisp-mode-map): Move initialization
16807         into declaration.
16808         (crisp-mode): Use define-minor-mode.
16810         * progmodes/xscheme.el (xscheme-evaluation-commands):
16811         Put a :advertised-binding property rather than using
16812         advertised-xscheme-send-previous-expression.
16813         (advertised-xscheme-send-previous-expression): Declare obsolete.
16814         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16815         `advertised-undo'.
16816         (crisp-mode): Add corresponding bindings to
16817         undo's :advertised-binding instead.
16818         * dired.el (dired-mode-map): Put a :advertised-binding property rather
16819         than using dired-advertised-find-file.
16820         (dired-advertised-find-file):
16821         * simple.el (advertised-undo):
16822         * wid-edit.el (advertised-widget-backward): Declare obsolete.
16823         (widget-keymap): Put a :advertised-binding property rather
16824         than using advertised-widget-backward.
16825         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16826         than using advertised-undo.
16827         * tutorial.el (tutorial--default-keys): Adjust accordingly.
16829 2009-09-10  Simon South  <ssouth@slowcomputing.org>
16831         * progmodes/delphi.el (delphi-tab): Indent region when Transient
16832         Mark mode is enabled and region is active; otherwise indent or
16833         insert TAB as usual.
16834         (delphi-mode): Update description of TAB-key binding.
16836 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16838         * subr.el (define-key-rebound-commands): Mark obsolete.
16839         * startup.el (precompute-menubar-bindings): Remove.
16840         (normal-top-level): Remove obsolete code that tried to precompute
16841         menubar bindings.
16842         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16843         define-key-rebound-commands and precompute-menubar-bindings.
16845 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
16847         * net/imap.el (imap-interactive-login): Better messages.
16848         (imap-open): Fix bug with renamed buffer on reconnect.
16849         (imap-authenticate): Add buffer-local imap-last-authenticator variable
16850         for easier debugging and cleaner code.  On successful (guessed based on
16851         server capabilities) secondary authentication, set imap-state
16852         correctly.
16853         (imap-last-authenticator): Define imap-last-authenticator as a variable
16854         to avoid warnings.
16856 2009-09-10  Glenn Morris  <rgm@gnu.org>
16858         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16860         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16861         (byte-compile-file-form-autoload): Don't warn about unknown functions
16862         where the autoload statement comes after the use.
16863         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16864         that any handlers inside the body (eg require) are in turn respected.
16866         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16867         effects.
16869         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16870         and syntax and abbrev tables basic docs, if they don't have any.
16872         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16874         * international/mule-cmds.el (top-level): Require cl when compiling.
16875         (view-hello-file): Use default-value rather than
16876         default-enable-multibyte-characters.
16878         * progmodes/fortran.el: Move all safe and risky properties into the
16879         defcustoms.
16881         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16882         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16883         * mail/undigest.el:
16884         Put autoloads in rmail.el rather than loaddefs.el.
16885         * mail/rmail.el: Regenerate with extracted autoloads.
16887         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16888         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16890 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
16892         Reported in thread for Bug#4375.
16893         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16894         "-data-evaluate-expression" instead of print.
16895         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16896         (gdb-tooltip-print): Parse output from above MI command.
16897         (gdb): Revert 2009-08-11 change.  User should detach inferior
16898         manually.
16900         Remove the word "separate" from IO functions as inferior
16901         output is now never displayed in the GUD buffer.
16903 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
16905         * startup.el (command-line-normalize-file-name): On Windows and
16906         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16908 2009-09-10  Juri Linkov  <juri@jurta.org>
16910         * isearch.el (isearch-text-char-description): Propertize escape
16911         character sequences with the `escape-glyph' face.  (Bug#4344)
16913         * simple.el (shell-command): Set asynchronous process filter to
16914         `comint-output-filter'.  (Bug#4343)
16916         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16917         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
16918         the list.  Move "asm" to the bottom.
16919         (grep-find-ignored-directories): Add `choice' with nil value
16920         to empty the list easily.
16921         (grep-find-ignored-files): New option.
16922         (grep-files-history): Set to nil by default instead of '("ch" "el").
16923         (grep-compute-defaults): Add "<X>" to `grep-template'.
16924         (grep-read-files): Bind new local variables `default-alias' and
16925         `default-extension'.  Use a list of default values for the file prompt.
16926         (lgrep): Add `--exclude=' command line options composed from
16927         `grep-find-ignored-files'.
16928         (rgrep): Add `-name' command line options composed from
16929         `grep-find-ignored-files'.  (Bug#4301)
16931 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16933         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16934         (bug#4368).
16936 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
16938         * calendar/time-date.el (autoload):
16939         Expand define-obsolete-function-alias into defalias and make-obsolete
16940         for old Emacsen that Gnus supports.
16941         (with-no-warnings): Define it for old Emacsen.
16942         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16943         is available.
16944         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16945         float-time is available; suppress compile warning for time-to-seconds.
16947 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
16949         * net/imap.el (imap-message-map): Docstring fix.
16951 2009-09-09  Glenn Morris  <rgm@gnu.org>
16953         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16954         line numbers too.  (Bug#4374)
16956 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16958         * smerge-mode.el (smerge-remove-props, smerge-refine):
16959         Use with-silent-modifications (bug#4342).
16961         * subr.el (with-silent-modifications): New macro.
16963 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
16965         * files.el (top-level): Require `cl' when compiling.
16967 2009-09-07  Glenn Morris  <rgm@gnu.org>
16969         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16971         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16972         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
16974 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
16976         * vc-git.el (vc-git-annotate-command): Use separator to parse
16977         arguments correctly.
16979 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
16981         * proced.el (proced-mode): Doc fix.
16983 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
16985         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16986         lstat fails.
16987         (tramp-do-file-attributes-with-ls): Check for file existence at
16988         remote end.
16989         (tramp-do-file-attributes-with-stat): Likewise.
16990         (tramp-convert-file-attributes): Return nil when attr is nil.
16992 2009-09-05  Glenn Morris  <rgm@gnu.org>
16994         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16995         properties to this button.
16996         (diary-fancy-display): Don't extend the button to the final newline.
16997         (diary-fancy-display-mode): Continue to define "q" as a local key.
16999         * calendar/cal-china.el (holiday-chinese): Make it slightly more
17000         efficient.
17002         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17004         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17005         (byte-compile-dest-file-function): New option.
17006         (byte-compile-dest-file): Doc fix.
17007         Obey byte-compile-dest-file-function.
17008         (byte-compile-cl-file-p): New function.
17009         (byte-compile-eval): Only suppress noruntime warnings about cl functions
17010         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
17011         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17012         than for file being previously loaded.
17013         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17014         (byte-compile-file-form-require): Handle the case where requiring a file
17015         indirectly causes CL to be loaded.
17017 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
17019         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17020         before killing the old buffer, since by the time `kill-buffer' is
17021         run so many buffer variables have been set to nil that it may not
17022         behave as expected.  (Bug#4061)
17024 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
17026         * files.el (find-alternate-file): If the old buffer is modified
17027         and visiting a file, behave similarly to `kill-buffer' when
17028         killing it, thus reverting to the pre-1.878 behavior; see
17029         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17030         for discussion.  Also, consult `buffer-file-name' as a variable
17031         not as a function, for consistency with the rest of the code.
17033 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
17035         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17036         also when adding a new directory.
17038         * net/tramp-compat.el (tramp-compat-line-beginning-position):
17039         New defun.
17041 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17043         * files.el (locate-file-completion-table): Make it provide boundary
17044         information, so partial-completion works better.
17046 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
17048         * mail/footnote.el (Footnote-text-under-cursor):
17049         Check footnote-text-marker-alist before using it (bug#4324).
17051 2009-09-04  Glenn Morris  <rgm@gnu.org>
17053         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17054         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17055         * play/solitaire.el, play/tetris.el:
17056         Remove leading * from defcustom and defface docs.
17058         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17059         necessary.
17060         (diary-fancy-overriding-map): New variable.
17061         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17062         Use view-mode.
17064         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17065         goto-line.
17067 2009-09-03  Glenn Morris  <rgm@gnu.org>
17069         * arc-mode.el (archive-mode):
17070         * dos-fns.el (set-default-process-coding-system):
17071         * man.el (Man-getpage-in-background):
17072         * menu-bar.el (menu-bar-describe-menu):
17073         * server.el (server-process-filter):
17074         * startup.el (command-line):
17075         * tar-mode.el (tar-header-block-tokenize, tar-extract):
17076         * w32-fns.el (set-default-process-coding-system):
17077         * x-dnd.el (x-dnd-handle-file-name):
17078         * international/mule-cmds.el (mule-menu-keymap)
17079         (set-default-coding-systems, language-info-alist, set-language-info)
17080         (set-language-environment, standard-display-european-internal)
17081         (set-locale-environment):
17082         * international/mule-diag.el (mule-diag):
17083         * mail/emacsbug.el (report-emacs-bug):
17084         * mail/rmail.el (rmail-mode):
17085         * mail/sendmail.el (mail-setup):
17086         Use default-value rather than default-enable-multibyte-characters.
17088         * progmodes/f90.el: Move all safe properties into the defcustoms.
17089         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17091         * calendar/appt.el (appt-check):
17092         * calendar/diary-lib.el (diary-set-header, diary-live-p)
17093         (diary-check-diary-file, diary-list-entries)
17094         (diary-include-other-diary-files, diary-simple-display)
17095         (diary-fancy-display, diary-print-entries)
17096         (diary-mark-included-diary-files, diary-make-entry):
17097         Don't call substitute-in-file-name on diary-file.
17099 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
17100             Stefan Monnier  <monnier@iro.umontreal.ca>
17102         * mail/footnote.el (footnote-prefix): Make it a defcustom.
17103         (footnote-mode-map): Move initialization into the declaration.
17104         (footnote-minor-mode-map): Define it rather than changing global-map.
17105         (footnote-mode): Use define-minor-mode.
17107 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
17109         * net/tramp.el (tramp-handle-file-attributes-with-ls)
17110         (tramp-do-file-attributes-with-perl)
17111         (tramp-do-file-attributes-with-stat): Rename from
17112         `tramp-handle-file-attributes-with-*'.
17113         (tramp-handle-file-attributes): Use them.
17114         (tramp-do-directory-files-and-attributes-with-perl)
17115         (tramp-do-directory-files-and-attributes-with-stat): Rename from
17116         `tramp-handle-directory-files-and-attributes-with-*'.
17117         (tramp-handle-directory-files-and-attributes): Use them.
17118         (tramp-method-out-of-band-p): Additional parameter SIZE.
17119         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17120         (tramp-handle-write-region): Use it.
17121         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17122         (tramp-handle-vc-registered): Check, whether the first run did
17123         return files to be tested.
17124         (tramp-advice-make-auto-save-file-name): Do not call directly
17125         `tramp-handle-make-auto-save-file-name', because this would bypass
17126         the locking mechanism.
17128         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17129         (file-remote-p, process-file, start-file-process, set-file-times)
17130         (tramp-compat-file-attributes): Compatibility functions shall not
17131         call directly `tramp-handle-*', because this would bypass the
17132         locking mechanism.
17133         (tramp-compat-number-sequence): New defun.
17135 2009-09-02  Glenn Morris  <rgm@gnu.org>
17137         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17138         alias for float-time.
17139         (time-to-number-of-days): In Emacs, use float-time.
17140         * net/newst-backend.el (time-add): Suppress warnings from compat
17141         function.
17142         * time.el (emacs-uptime, emacs-init-time):
17143         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17144         Use float-time rather than time-to-seconds.
17146         * minibuffer.el (completion-initials-expand): Fix typo.
17148         * faces.el (modeline, modeline-inactive, modeline-highlight)
17149         (modeline-buffer-id):
17150         * info.el (info-menu-5): Mark these face aliases as obsolete.
17152 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
17154         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17155         space ...
17156         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17157         no "--thread" option.
17158         (gdb-stopped): Don't print "Switched to thread" message when it is
17159         unchanged.
17161 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17163         * minibuffer.el (completion-try-completion)
17164         (completion-all-completions): Remove ill-defined (and
17165         mistakenly installed and luckily never used nor documented)
17166         `completion-styles' property.
17167         (completion-initials-expand, completion-initials-all-completions)
17168         (completion-initials-try-completion): New functions.
17169         (completion-styles-alist): Add doc to each entry.
17170         Add new `initials' entry.
17172 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
17174         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17175         MI command -var-evaluate-expression.
17176         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17177         and tweak for case of string child.
17178         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17180 2009-09-01  Glenn Morris  <rgm@gnu.org>
17182         * add-log.el (change-log-date-face, change-log-name-face)
17183         (change-log-email-face, change-log-file-face, change-log-list-face)
17184         (change-log-conditionals-face, change-log-function-face)
17185         (change-log-acknowledgement-face):
17186         * cus-edit.el (custom-invalid-face, custom-rogue-face)
17187         (custom-modified-face, custom-set-face, custom-changed-face)
17188         (custom-saved-face, custom-button-face, custom-button-pressed-face)
17189         (custom-documentation-face, custom-state-face, custom-comment-face)
17190         (custom-comment-tag-face, custom-variable-tag-face)
17191         (custom-variable-button-face, custom-face-tag-face)
17192         (custom-group-tag-face-1, custom-group-tag-face):
17193         * diff-mode.el (diff-header-face, diff-file-header-face)
17194         (diff-index-face, diff-hunk-header-face, diff-removed-face)
17195         (diff-added-face, diff-changed-face, diff-function-face)
17196         (diff-context-face, diff-nonexistent-face):
17197         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17198         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17199         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17200         (Info-title-4-face):
17201         * isearch.el (isearch-lazy-highlight-face):
17202         * log-view.el (log-view-file-face, log-view-message-face):
17203         * paren.el (show-paren-match-face, show-paren-mismatch-face):
17204         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17205         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17206         (cvs-msg-face):
17207         * smerge-mode.el (smerge-mine-face, smerge-other-face)
17208         (smerge-base-face, smerge-markers-face):
17209         * wid-edit.el (widget-documentation-face, widget-button-face)
17210         (widget-field-face, widget-single-line-field-face)
17211         (widget-inactive-face, widget-button-pressed-face):
17212         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17213         (woman-addition-face):
17214         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17215         (eshell-ls-executable-face, eshell-ls-readonly-face)
17216         (eshell-ls-unreadable-face, eshell-ls-special-face)
17217         (eshell-ls-missing-face, eshell-ls-archive-face)
17218         (eshell-ls-backup-face, eshell-ls-product-face)
17219         (eshell-ls-clutter-face):
17220         * eshell/em-prompt.el (eshell-prompt-face):
17221         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17222         * obsolete/old-whitespace.el (whitespace-highlight-face):
17223         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17224         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17225         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17226         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17227         (antlr-font-lock-literal-face):
17228         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17229         (ebrowse-root-class-face, ebrowse-file-name-face)
17230         (ebrowse-default-face, ebrowse-member-attribute-face)
17231         (ebrowse-member-class-face, ebrowse-progress-face):
17232         * progmodes/make-mode.el (makefile-space-face):
17233         * progmodes/sh-script.el (sh-heredoc-face):
17234         * textmodes/flyspell.el (flyspell-incorrect-face)
17235         (flyspell-duplicate-face):
17236         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17237         * textmodes/texinfo.el (texinfo-heading-face):
17238         Mark face aliases with "-face" suffix as obsolete.
17240         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17241         compiler.
17243         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17244         (eudc-bob-sound-menu): Use defvar rather than defconst, since
17245         easy-menu-define wants to modify these.
17247         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17249         * net/browse-url.el (browse-url-file-url):
17250         * term/internal.el (dos-codepage-setup):
17251         Use default-value rather than default-enable-multibyte-characters.
17253         * progmodes/etags.el (etags-goto-tag-location):
17254         * progmodes/flymake.el (flymake-highlight-line)
17255         (flymake-goto-file-and-line, flymake-goto-line):
17256         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17257         (gdb-goto-breakpoint):
17258         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17259         * progmodes/python.el (python-find-function)
17260         (python-pdbtrack-track-stack-file):
17261         * progmodes/verilog-mode.el (verilog-surelint-off):
17262         * term/ns-win.el (ns-open-file-select-line):
17263         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17264         Use forward-line rather than goto-line.
17266         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17267         * textmodes/reftex-index.el (reftex-display-index):
17268         * textmodes/reftex-ref.el (reftex-offer-label-menu):
17269         * textmodes/reftex-toc.el (reftex-toc):
17270         Remove unnecessary bindings of default-major-mode (all are followed by
17271         major-mode check and possible mode switch).
17273 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
17275         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17276         Handle watchpoints (bug#4282).
17277         (def-gdb-thread-buffer-command): Enable thread to be selected by
17278         clicking without selecting threads buffer first.
17279         (gdb-current-context-command): Use selected frame so that "up",
17280         "down" etc work in the GUD buffer.
17281         (gdb-update): Find selected frame before rendering stack buffer.
17282         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17284 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17286         * progmodes/sym-comp.el (displayed-completions): Remove.
17287         (symbol-complete): Use minibuffer-complete.
17289 2009-08-31  Glenn Morris  <rgm@gnu.org>
17291         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17293         * apropos.el (apropos-symbols-internal):
17294         Handle (obsolete) face aliases.
17296         * faces.el (describe-face): Adjust the output format to be more like
17297         describe-variable, and to mention (obsolete) face aliases.
17298         Adjust the whitespace so that help-setup-xref works.
17300         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17301         * calendar/diary-lib.el (diary-button-face):
17302         Mark these face aliases as obsolete.
17304         * calendar/calendar.el (calendar-today): Doc fix.
17306 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
17308         * progmodes/gdb-mi.el (gdb-control-all-threads)
17309         (gdb-control-current-thread): Force tool bar update.
17310         (gdb-non-stop-handler): New function.
17311         (gdb-init-1): Use it to test if non-stop mode is supported.
17312         Remove unused gdbmi buffer type.
17314 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
17316         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17317         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
17319 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
17321         * comint.el (comint-exec-1): Check command is non-null first.
17322         Part of gdb-mi.el change (2009-08-28).
17324 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17326         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17328 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
17330         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17331         instead of `dolist' to avoid a recursive require when bootstrapping.
17333 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17335         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17337         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17339         * net/imap.el (imap-send-command): Simplify.
17340         (imap-wait-for-tag): point-max -> buffer-size.
17342         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17344         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17345         with constant argument.
17347         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17349         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17351         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17352         Change default, since most of our files don't have a history.
17353         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17354         the user.
17356         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17357         Add comint-run.
17359         * calc/calc.el: Improve commenting convention.
17360         (calc-digit-map, toplevel): Simplify.
17362         * comint.el (comint-insert-input): Be careful to only set point if we
17363         don't delegate to some other command.
17365         * proced.el (proced-signal-list): Make it an alist.
17366         (proced-grammar-alist): Capitalize names.
17367         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17368         Disable undo manually and make it read-only.
17369         Use completion-annotate-function.
17371         * minibuffer.el (minibuffer-message): If the current buffer is not
17372         a minibuffer, insert the message in the echo area rather than at the
17373         end of the buffer.
17374         (completion-annotate-function): New variable.
17375         (minibuffer-completion-help): Use it.
17376         (completion--embedded-envvar-table): Environment vars are
17377         always case-sensitive.
17379 2009-08-30  Glenn Morris  <rgm@gnu.org>
17381         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17382         from fortran-current-defun.
17383         (fortran-beginning-of-subprogram): Be more precise about finding the
17384         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
17385         (fortran-end-of-subprogram): Simplify.
17386         (fortran-current-defun): Use fortran-start-prog-re.
17388 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
17390         * subr.el (do-after-load-evaluation): Simplify.
17392 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
17394         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17396         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
17397         (vc-rcs-print-log): Use it.
17399         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17401 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17403         * paths.el (abbrev-file-name): Move to abbrev.el.
17404         * abbrev.el (abbrev-file-name): Move from paths.el.
17405         Obey user-emacs-directory.
17406         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17407         user-emacs-directory.
17408         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17409         abbrev-file-name and calc-settings-file any more.
17410         * startup.el (command-line): Recompute abbrev-file-name and
17411         abbreviated-home-dir.
17412         (normal-no-mouse-startup-screen): Improve the generic code and get rid
17413         of the special code for when C-h bindings haven't been changed.
17414         (display-startup-echo-area-message): Use with-current-buffer.
17415         (command-line-1): Use a list of strings, rather than a list of lists
17416         of strings for longopts.
17418         * files.el (get-free-disk-space): Use / for default-directory.
17420         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17421         Use with-current-buffer.
17423         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17424         Recognize immutable variables like most-positive-fixnum.
17425         (byte-compile-setq-default): Check and warn if trying to assign
17426         to an immutable variable, or a non-variable.
17428         * progmodes/cc-vars.el (c-comment-continuation-stars):
17429         * progmodes/cc-engine.el (c-looking-at-bos):
17430         * progmodes/cc-cmds.el (c-toggle-auto-state)
17431         (c-forward-into-nomenclature, c-backward-into-nomenclature)
17432         (c-comment-line-break-function): Add version of obsolescence.
17434 2009-08-28  Juri Linkov  <juri@jurta.org>
17436         * files.el (magic-fallback-mode-alist): Add ZIP magic number
17437         associated with `archive-mode'.
17439         * image.el (image-type-header-regexps): Use only JPEG magic number
17440         to determine JPEG images, and don't use `image-jpeg-p' because
17441         Emacs can display non-JFIF non-Exif JPEG images.
17443 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17445         * arc-mode.el (archive-mode):
17446         * emacs-lisp/re-builder.el (re-builder-unload-function):
17447         Protect against the default value of `major-mode' being nil.
17449 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17451         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17452         Fix typos in docstrings.
17454         * progmodes/js.el (js--macro-decl-re): Doc fix.
17455         (js--plain-method-re, js--split-name): Refloc docstring.
17456         (js--class-styles, js--make-merged-item, js--splice-into-items):
17457         Fix typos in docstrings; reflow docstrings.
17458         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17459         (js--variable-decl-matcher, js--inside-pitem-p)
17460         (js--parse-state-at-point, js--get-all-known-symbols)
17461         (js--symbol-history, js-find-symbol, js--js-references)
17462         (js--moz-interactor, js--js-encode-value, js--read-tab):
17463         Fix typos in docstrings.
17465 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17467         * textmodes/reftex.el (reftex-get-file-buffer-force):
17468         * progmodes/verilog-mode.el (verilog-batch-execute-func):
17469         * emulation/viper.el (viper-go-away, viper-set-hooks):
17470         * emacs-lisp/re-builder.el (re-builder-unload-function):
17471         * emacs-lisp/bytecomp.el (byte-compile-file):
17472         * ses.el (ses-unload-function):
17473         * hexl.el (hexl-find-file):
17474         * files.el (normal-mode):
17475         * ehelp.el (with-electric-help):
17476         * autoinsert.el (auto-insert-alist):
17477         * arc-mode.el (archive-mode):
17478         Use (default-value 'major-mode) instead of default-major-mode.
17480         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17481         * international/mule.el (load-with-code-conversion):
17482         * emacs-lisp/debug.el (debug):
17483         * ediff-vers.el (ediff-rcs-get-output-buffer):
17484         * dired.el (dired-internal-noselect): Don't let-bind
17485         default-major-mode around code that doesn't use it.
17486         E.g. buffer creation via get-buffer-create doesn't use it.
17488 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
17490         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17491         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17492         when writing the temp file.  Otherwise, epa-file gets confused.
17493         (tramp-register-file-name-handlers): Make it a defun.  Move also
17494         `epa-file-handler' to the front of `file-name-handler-alist'.
17496 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17498         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17499         start right after a ^M.
17500         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17501         (tramp-completion-file-name-regexp-separate)
17502         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17503         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17504         Don't modify last-coding-system-used by accident.
17505         (tramp-completion-file-name-handler): Apply the checks here,
17506         instead during registration.
17507         (tramp-register-file-name-handlers): Rename from
17508         `tramp-register-file-name-handler'.  Register both
17509         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17510         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
17512 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
17514         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17515         Remove variable ...
17516         (gdb-init-1, gdb-display-separate-io-buffer)
17517         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17518         references to it.
17519         (gdb-inferior-io-mode): Use make-comint-in-buffer.
17520         (gdb-inferior-filter): Use comint-output-filter to stop
17521         echoing and remove ^M characters.
17523 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17525         * emulation/viper-init.el (viper-restore-cursor-type):
17526         * emulation/cua-base.el (cua--update-indications):
17527         Replace default-cursor-type with (default-value 'cursor-type).
17529         * mail/sendmail.el (mail-recover-1):
17530         * international/mule-diag.el (describe-current-coding-system-briefly)
17531         (describe-current-coding-system):
17532         * international/mule-cmds.el (select-safe-coding-system)
17533         (select-message-coding-system)
17534         (set-language-environment-coding-systems, set-locale-environment):
17535         * hexl.el (hexl-insert-multibyte-char):
17536         * dos-w32.el (find-buffer-file-type-coding-system):
17537         * simple.el (what-cursor-position):
17538         Replace uses of default-buffer-file-coding-system
17539         with (default-value 'buffer-file-coding-system).
17541         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17542         Replace uses of default-cursor-in-non-selected-windows
17543         with (default-value 'cursor-in-non-selected-windows).
17544         Use with-current-buffer.
17546         * mail/feedmail.el: Use CL macros.
17547         (feedmail-run-the-queue, feedmail-send-it-immediately):
17548         * dos-w32.el (find-buffer-file-type): Replace uses of
17549         default-buffer-file-type with (default-value 'buffer-file-type).
17551 2009-08-28  Glenn Morris  <rgm@gnu.org>
17553         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17554         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17555         Use default-value of major-mode rather than default-major-mode.
17557 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17559         * Makefile.in (update-elcfiles): Report left over elc files.
17561         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17562         expand-file-name and with-current-buffer.
17563         (mail-get-names, mail-directory): Use with-current-buffer.
17565         * vc.el (vc-read-revision): New function.
17566         (vc-version-diff, vc-merge): Use it.
17568 2009-08-27  Sam Steingold  <sds@gnu.org>
17570         * simple.el (kill-do-not-save-duplicates): New user option.
17571         (kill-new): When it is non-nil, and the new string is the same as
17572         the latest kill, set replace to t to avoid duplicates in kill-ring.
17574 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
17576         * net/tramp.el (tramp-handle-process-file): Do not flush all
17577         caches when `process-file-side-effects' is set.
17578         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17579         instead of `tramp-find-file-exists-command'.
17580         Unset `process-file-side-effects'.
17582 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
17584         * net/tramp.el (tramp-methods): New method "rsyncc".
17585         (top): Add completion function for "rsyncc".
17586         (tramp-message-show-message): New defvar.
17587         (tramp-message, tramp-error): Use it.
17588         (tramp-do-copy-or-rename-file-directly): Extend check for direct
17589         remote copying.
17590         (tramp-do-copy-or-rename-file-out-of-band): Handle new
17591         `tramp-methods' entry `copy-env' of "rsyncc".
17592         (tramp-vc-registered-read-file-names): New defconst.
17593         (tramp-vc-registered-file-names): New defvar.
17594         (tramp-handle-vc-registered): Implement optimization strategy.
17595         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17596         (tramp-vc-file-name-handler): New defun.
17597         (tramp-get-ls-command, tramp-get-test-command)
17598         (tramp-get-file-exists-command, tramp-get-remote-ln)
17599         (tramp-get-remote-perl, tramp-get-remote-stat)
17600         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17602         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17603         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
17604         timestamps.
17605         (tramp-get-file-property): Check for timestamps in
17606         `tramp-cache-inhibit-cache'.
17607         (tramp-set-file-property): Write timestamp.
17609 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17611         * language/japan-util.el (japanese-symbol-table): Add entries for
17612         cp932-2-byte.
17614         * international/characters.el: Add category `j' to cp932-2-byte.
17616 2009-08-27  Kenichi Handa  <handa@m17n.org>
17618         * international/fontset.el (build-default-fontset-data): New macro.
17619         (setup-default-fontset): Use build-default-fontset-data for CJK,
17620         tibetan, ethiopic, and ipa.
17622 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17624         * cus-start.el (default-major-mode): Customize `major-mode' instead.
17625         (enable-multibyte-characters): Not customizable any more.
17627         * subr.el (default-mode-line-format, default-header-line-format)
17628         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17629         (default-direction-reversed, default-truncate-lines)
17630         (default-left-margin, default-tab-width, default-case-fold-search)
17631         (default-left-margin-width, default-right-margin-width)
17632         (default-left-fringe-width, default-right-fringe-width)
17633         (default-fringes-outside-margins, default-scroll-bar-width)
17634         (default-vertical-scroll-bar, default-indicate-empty-lines)
17635         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17636         (default-fringe-cursor-alist, default-scroll-up-aggressively)
17637         (default-scroll-down-aggressively, default-fill-column)
17638         (default-cursor-type, default-buffer-file-type)
17639         (default-cursor-in-non-selected-windows)
17640         (default-buffer-file-coding-system, default-major-mode)
17641         (default-enable-multibyte-characters): Mark as obsolete.
17643 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
17645         * vc-dir.el (vc-dir-update): Remove debug helper.
17647         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17649 2009-08-26  Sam Steingold  <sds@gnu.org>
17651         * simple.el (save-interprogram-paste-before-kill): New user option.
17652         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17653         save the interprogram-paste into kill-ring before overriding it
17654         with the Emacs kill.
17656 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17658         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17659         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17660         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17661         and move to vc-rcs.el.
17662         (vc-default-next-revision): Rename to vc-rcs-next-revision and
17663         move to vc-rcs.el.
17664         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17665         (vc-rcs-update-changelog): Remove.
17666         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17667         and move to vc-rcs.el.
17669         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17670         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17671         renaming.
17672         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17673         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17674         vc.el, renamed to be RCS specific.
17676         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17677         New functions.
17678         (vc-cvs-update-changelog): Move here from vc.el.
17680         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17681         New functions.
17683 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17685         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17687 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17689         * vc-git.el (vc-git-register): Use "git add" for directories.
17690         (vc-git-stash, vc-git-stash-show): New functions.
17691         (vc-git-extra-menu-map): Bind them.
17693         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17694         directory correctly in case the item is a directory itself.
17696         * vc.el: Document the desired behavior for reverted files in the
17697         `added' state.
17698         (vc-default-prettify-state-info): Remove function, unused.
17700         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17702 2009-08-26  Glenn Morris  <rgm@gnu.org>
17704         * bindings.el (standard-mode-line-format): Reposition dashes in
17705         which-func entry.  (Bug#4217)
17707         * files.el (enable-local-variables, enable-local-eval)
17708         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17709         the defcustoms.
17710         (auto-mode-alist, ignored-local-variables)
17711         (save-some-buffers-action-alist): Move risky declarations to the
17712         definitions.
17713         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17714         (font-lock-defaults, format-alist, imenu--index-alist)
17715         (imenu-generic-expression, input-method-alist, minor-mode-alist)
17716         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17717         (mode-line-modified, mode-line-mule-info, mode-line-position)
17718         (mode-line-process, mode-line-remote, outline-level)
17719         (parse-time-rules, rmail-output-file-alist)
17720         (special-display-buffer-names, vc-mode):
17721         Move risky declarations to the relevant files.
17722         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17723         (mode-line-modified, mode-line-process, mode-line-position)
17724         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17725         * font-core.el (font-lock-defaults):
17726         * format.el (format-alist):
17727         * vc-hooks.el (vc-mode):
17728         * window.el (special-display-buffer-names):
17729         * international/mule-cmds.el (input-method-alist):
17730         Define riskiness here (dumped file) rather than in files.el.
17731         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17732         * imenu.el (imenu-generic-expression, imenu--index-alist):
17733         * outline.el (outline-level):
17734         * time.el (display-time-string):
17735         * calendar/parse-time.el (parse-time-rules):
17736         * mail/rmailout.el (rmail-output-file-alist):
17737         Autoload riskiness here, rather than placing in files.el.
17739 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
17741         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17743 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
17745         * simple.el (process-file-side-effects): New defvar.
17747         * dired-aux.el (dired-show-file-type):
17748         * vc.el (vc-diff-internal):
17749         * vc-arch.el (vc-arch-diff):
17750         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17751         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17752         * vc-git.el (vc-git-registered, vc-git-working-revision)
17753         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17754         (vc-git--empty-db-p):
17755         * vc-hooks.el (vc-user-login-name):
17756         * vc-svn.el (vc-svn-registered, vc-svn-state)
17757         (vc-svn-dir-extra-headers, vc-svn-find-revision):
17758         * progmodes/grep.el (grep-probe): Let-bind
17759         `process-file-side-effects' with nil.
17761         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17763         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17764         daemon.  Replace ping by checking for running service for bluez
17765         and zeroconf.  (Bug#4239)
17767 2009-08-25  Kevin Ryde  <user42@zip.com.au>
17769         * net/dig.el (dig): Add autoload cookie.
17771 2009-08-25  Glenn Morris  <rgm@gnu.org>
17773         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17774         load-history for absolute file-names.
17775         (byte-compile-file-form-require): Warn about use of the cl package.
17777         * format.el (format-alist): Doc fix.
17779         * play/bubbles.el (top-level): Don't require cl at run-time.
17781         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17782         run-time cl).
17784 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
17786         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17787         from cl package.
17788         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17790 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
17792         * calc/calc-alg.el (math-trig-rewrite)
17793         (math-hyperbolic-trig-rewrite): New functions.
17794         (calc-simplify): Simplify trig functions when asked.
17796 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17798         * diff-mode.el (diff-find-source-location): Avoid goto-line.
17800 2009-08-24  Kenichi Handa  <handa@m17n.org>
17802         * language/ind-util.el (mapthread): Delete it.
17803         (combinatorial): New function.
17804         (indian--puthash-cv): Use combinatorial instead of mapthread.
17806 2009-08-22  Kevin Ryde  <user42@zip.com.au>
17808         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17809         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17810         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17811         Clarify docstring that the value is strings not symbols.
17812         (checkdoc-list-of-strings-p): New function.
17814 2009-08-22  Glenn Morris  <rgm@gnu.org>
17816         * files.el (auto-mode-alist):
17817         * hippie-exp.el (he-concat-directory-file-name):
17818         * lpr.el (lpr-windows-system, printer-name):
17819         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17820         * ps-print.el (ps-windows-system):
17821         * startup.el (command-line):
17822         * emulation/viper-ex.el (viper-glob-function):
17823         * international/mule-cmds.el (set-language-environment-coding-systems):
17824         * net/ange-ftp.el (ange-ftp-write-region):
17825         * obsolete/fast-lock.el (fast-lock-cache-name):
17826         Remove code for defunct system-types emx, macos, mswindows, next-mach,
17827         unisoft-unix, vax-vms, win32, w32.
17829         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17830         given name if the pattern is not more specific.
17832         * calendar/lunar.el (lunar-phase-names): New option.
17833         (lunar-phase): Doc fix.
17834         (lunar-cycles-per-year): New constant.
17835         (lunar-index): New function.
17836         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17837         (lunar-phase-name): Use lunar-phase-names.
17838         (calendar-lunar-phases): Use format.
17839         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17841         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17842         Copy imenu-example--name-and-position function here for own use.
17843         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17845         * bs.el (bs--redisplay):
17846         * cus-edit.el (custom-redraw):
17847         * ibuffer.el (ibuffer-bury-buffer):
17848         * server.el (server-goto-line-column):
17849         * startup.el (command-line-1):
17850         * strokes.el (strokes-xpm-for-stroke):
17851         * term.el (term-display-buffer-line):
17852         * view.el (View-goto-line):
17853         * calc/calc.el (calc-do, calc-trail-buffer):
17854         * play/gamegrid.el (gamegrid-add-score-insecure):
17855         * progmodes/ada-mode.el (ada-compile-goto-error):
17856         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17857         (ebrowse-select-1st-to-9nth):
17858         * progmodes/cperl-mode.el (cperl-time-fontification):
17859         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17860         * progmodes/gud.el (gud-display-line):
17861         (idlwave-shell-display-line):
17862         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17863         * progmodes/make-mode.el (makefile-browser-toggle):
17864         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17865         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17866         * textmodes/picture.el (picture-draw-rectangle):
17867         * textmodes/reftex-index.el (reftex-index-goto-letter):
17868         (reftex-select-jump-to-previous):
17869         * textmodes/reftex-sel.el (reftex-find-start-point)
17870         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17871         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17872         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17873         * textmodes/tex-mode.el (tex-compilation-parse-errors):
17874         * textmodes/two-column.el (2C-associated-buffer):
17875         Use forward-line rather than goto-line.
17877         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17878         goto-line.
17880         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17881         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17882         (quick-check-list-to-regexp): Declare.
17884         * progmodes/make-mode.el (makefile-browser-insert-selection):
17885         Use goto-char rather than goto-line.
17887         * progmodes/prolog.el (compilation-error-regexp-alist)
17888         (compilation-forget-errors): Declare.
17890 2009-08-22  Juri Linkov  <juri@jurta.org>
17892         * progmodes/grep.el (lgrep, rgrep): At the beginning
17893         set `dir' to `default-directory' unless `dir' is a non-nil
17894         readable directory.  (Bug#4052)
17895         (lgrep, rgrep): Change a weird way to report an error
17896         from using `read-string' to using `error'.
17897         Instead of using interactive arguments in the function body,
17898         add new argument `confirm'.
17900 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17902         * textmodes/remember.el (remember-buffer):
17903         * progmodes/cperl-mode.el (cperl-vc-header-alist):
17904         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17905         (icalendar-extract-ical-from-buffer):
17906         * net/newst-treeview.el (newsticker-groups-filename):
17907         * net/newst-backend.el (newsticker-cache-filename):
17908         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17909         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17910         (speedbar-add-ignored-path-regexp, speedbar-line-path)
17911         (speedbar-buffers-line-path, speedbar-path-line)
17912         (speedbar-buffers-line-path):
17913         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17914         (epg-sign-keys):
17915         * epa.el (epa-display-verify-result):
17916         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17918 2009-08-21  Glenn Morris  <rgm@gnu.org>
17920         * progmodes/js.el (inferior-moz-process): Fix declaration.
17922         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17924         * obsolete/rnewspost.el (news-mail-reply):
17925         Use goto-char rather than goto-line.
17927         * term/ns-win.el (ns-open-file-select-line):
17928         Use line-beginning-position rather than goto-line.
17930         * apropos.el (apropos-command):
17931         * ehelp.el (electric-helpify):
17932         * printing.el (pr-show-setup):
17933         * strokes.el (strokes-help):
17934         * tutorial.el (tutorial--describe-nonstandard-key)
17935         (tutorial--detailed-help):
17936         * woman.el (woman-mini-help, woman-display-extended-fonts):
17937         * calc/calc-help.el (calc-describe-key):
17938         * emulation/edt.el (edt-electric-helpify):
17939         * international/mule-diag.el (mule-diag):
17940         * play/yow.el (apropos-zippy):
17941         * progmodes/python.el (python-describe-symbol):
17942         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17943         * textmodes/table.el (*table--cell-describe-mode)
17944         (*table--cell-describe-bindings):
17945         Use help-print-return-message rather than the now obsolete alias.
17947         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17948         (calendar-cursor-to-visible-date):
17949         * play/5x5.el (5x5-position-cursor):
17950         * play/decipher.el (decipher):
17951         * play/gomoku.el (gomoku-goto-xy):
17952         * play/landmark.el (lm-goto-xy):
17953         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17954         (mpuz-paint-digit):
17955         Use forward-line, not goto-line.
17957         * mail/rmail.el (rmail-obsolete): Delete custom group.
17958         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17959         (rmail-remote-password, rmail-remote-password-required):
17960         Remove unneeded :set-after and :set properties.
17962 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
17964         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17966 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
17968         * loadup.el: Remove leftover macos code.
17970         * vc-git.el (vc-git-annotate-command): Run asynchronously.
17971         Explicitly pass the date format to git blame so that user local
17972         so that the output format can be parsed.
17974 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
17976         * net/dbus.el (top): Don't check for (getenv
17977         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
17979 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
17981         * log-edit.el (log-edit-strip-single-file-name): New var.
17982         (log-edit-insert-changelog): Use it.  Bug#3571
17984 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17986         * subr.el (read-passwd): Use read-key so keypad keys work as well.
17987         Bug#3287
17989         * help.el (help-print-return-message): Rename from
17990         print-help-return-message.
17992         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17993         cvs-mode-map parent hack.
17994         (log-view-mode): Derive from special-mode.
17996         * linum.el (linum-mode): window-size-change-functions is redundant.
17997         Adapt to new window-configuration-change-hook behavior.
17998         (linum-after-size, linum-after-config): Remove.
18000         * imenu.el (imenu-example--name-and-position)
18001         (imenu-example--lisp-extract-index-name)
18002         (imenu-example--create-lisp-index, imenu-example--create-c-index):
18003         Mark as obsolete.
18005         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18006         (inferior-prolog-mode): Use it.
18007         (inferior-prolog-load-file): Reset list of errors.
18009 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18011         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18013         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18015 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
18017         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18018         is running already.
18020 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18022         * subr.el (listify-key-sequence-1): Use normal syntax since those
18023         integers are nowadays always represented by the same (positive) number
18024         on all platforms.
18025         (read-key-empty-map): New const.
18026         (read-key-delay): New var.
18027         (read-key): New function.
18028         (force-mode-line-update): Use with-current-buffer.
18029         (locate-user-emacs-file): Don't forget to abbreviate the file name.
18030         (start-process-shell-command, start-file-process-shell-command):
18031         Discourage the use of command-args.
18033 2009-08-19  Glenn Morris  <rgm@gnu.org>
18035         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18037 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18039         * simple.el (choose-completion-string): Don't rely on
18040         minibuffer-completing-file-name and ad-hoc checks to decide whether
18041         to continue completion or not.
18043         * minibuffer.el (minibuffer-hide-completions): New function.
18044         (completion--do-completion): Use it.
18045         (completions-annotations): New face.
18046         (completion--insert-strings): Use it.
18047         (completion-pcm--delim-wild-regex): Add docstring.
18048         (completion-pcm--string->pattern): Add support for 0-width delimiters
18049         in completion-pcm--delim-wild-regex.
18051 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18053         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18054         Remove unused var `buffer-modified-p'.
18056         * minibuffer.el (completion--do-completion): Move point for the #b001
18057         case as well (bug#4176).
18058         (minibuffer-complete, minibuffer-complete-word): Don't move point.
18060 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
18062         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
18063         and :session buses.
18065 2009-08-18  Kenichi Handa  <handa@m17n.org>
18067         * international/ucs-normalize.el (ucs-normalize-version):
18068         Change to 1.1.
18069         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18070         (utf-8-hfs): Make it perform normalization on encoding too.
18072         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
18073         (sentence-end-without-space): Delete duplicated chars.
18074         (sentence-end-base): Likewise.
18076         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
18077         (html-mode): Delete duplicated chars from sentence-end-base.
18079         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
18080         (texinfo-mode): Delete duplicated chars from sentence-end-base.
18082 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
18084         * files.el (hack-one-local-variable): If the mode function is for
18085         a minor mode, pass it an argument (Bug#4148).
18087 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
18089         * net/tramp.el (tramp-register-completion-file-name-handler):
18090         Check also for (member 'partial-completion completion-styles).
18092 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18094         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18095         abbrev (Bug#3943).
18097 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
18099         * progmodes/cperl-mode.el: Merge upstream 6.2.
18100         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18101         (cperl-forward-re): Check cperl-brace-recursing.
18102         (cperl-highlight-charclass): New function.
18103         (cperl-find-pods-heres): Use it.
18104         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18105         (cperl-beautify-regexp-piece): Fix column calculation.
18106         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18107         (cperl-beautify-level): Don't process entire regexp.
18108         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18109         calling man.
18110         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18111         (cperl-init-faces): Build a list in the normal way.
18113 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18115         * calendar/parse-time.el (parse-time-string-chars): Save match
18116         data.
18118 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18120         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18121         (sql-product): Use it.
18122         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18123         (sql-set-product): Add completion.
18124         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18125         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18126         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18127         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18128         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18129         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18130         (sql-highlight-db2-keywords): Remove.
18131         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18132         (sql-highlight-product): Use derived-mode-p.
18133         (sql-set-sqli-buffer): Use with-current-buffer.
18134         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18135         Simplify.
18137         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18139         * term.el: Fix commenting convention, turn comments into docstrings.
18141 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
18143         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18145 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
18147         * calendar/parse-time.el (parse-time-string-chars): Compute using
18148         character classes, to handle non-ascii characters (Bug#3190).
18150 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18152         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18153         another heredoc if the user adds another < (Bug#3226).
18155         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18156         Don't initialize based on window-system (Bug#4124).
18158         * facemenu.el (facemenu-read-color): Use a completion function
18159         that accepts any defined color, such as RGB triplets (Bug#3677).
18161         * files.el (get-free-disk-space): Change fallback default
18162         directory to /.  Expand DIR argument before switching to fallback.
18163         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18165 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
18167         * files.el (load-library): Doc fix.
18169 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
18171         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18172         (viper-if-string): Redefine C-s in the minibuffer to insert the last
18173         incremental search string.
18175         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18176         XEmacs.
18178         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18179         (ediff-merge-region-is-non-clash)
18180         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18181         Also check if the job is really a merge job.
18183         * ediff.el (ediff-current-file): New function.
18185 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
18187         * progmodes/js.el: Edit docstrings throughout to follow Emacs
18188         conventions.
18189         (js-insert-and-indent): Delete function.
18190         (js-mode-map): Don't bind keys to js-insert-and-indent.
18191         (js-beginning-of-defun): Rename from js--beginning-of-defun.
18192         (js-end-of-defun): Rename from js--end-of-defun.
18193         (js-auto-indent-flag): Delete variable.
18195 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
18197         * progmodes/js.el: Remove proclaim statement.
18198         Defvar which-func-imenu-joiner-function to silence compiler.
18200         * files.el (auto-mode-alist): Use js-mode for .js files.
18202         * progmodes/js2-mode.el: Remove file.
18204         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18206         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18208         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18210 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
18211             Karl Landstrom  <karl.landstrom@brgeight.se>
18213         * progmodes/js.el: New file.
18215 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
18217         * timezone.el (timezone-parse-date): Add ability to understand ISO
18218         basic format (minimal separators) dates in addition to the
18219         already-supported extended format dates.
18221 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
18223         * international/ucs-normalize.el: Add a `coding' file variable.
18225         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18227 2009-08-14  Sam Steingold  <sds@gnu.org>
18229         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18231 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
18233         * faces.el (help-argument-name): Define it here instead of
18234         help-fns.el, because in daemon mode help-fns.el may be loaded when
18235         faces are still uninitialized (Bug#1078).
18237         * help-fns.el (help-argument-name): Move defface to faces.el.
18239 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
18241         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18242         create buffer with a pty but no process so that GDB can make the
18243         inferior the controlling process.
18245 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
18247         * international/ucs-normalize.el: New file.
18249 2009-08-13  Richard Stallman  <rms@gnu.org>
18251         * mail/rmail.el (rmail-get-attr-names):
18252         Accept an attribute header that is too short.
18254         * mail/rmail.el (rmail-forget-messages):
18255         Ignore nil elt in rmail-message-vector.  Use dotimes.
18257         * progmodes/compile.el (compilation-goto-locus):
18258         Use next-error-move-function.
18260         * simple.el (next-error-move-function): New variable.
18262 2009-08-12  Juri Linkov  <juri@jurta.org>
18264         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18265         always non-nil.  (Bug#4052)
18267         * replace.el (read-regexp): Return empty string when
18268         `default-value' is nil.
18269         (keep-lines-read-args): Don't use empty string as the
18270         default value for `read-regexp'.  (Bug#2495)
18272 2009-08-12  Juri Linkov  <juri@jurta.org>
18274         * international/mule-cmds.el (ucs-insert): Change arguments
18275         from `arg' to `character', `count', `inherit' to be the same
18276         as in `insert-char'.  Doc fix.  (Bug#4039)
18278         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18280 2009-08-12  Juri Linkov  <juri@jurta.org>
18282         * files-x.el: New file.
18284         * files.el: Move code that deals with adding/deleting
18285         file/directory-local variables to files-x.el.
18287         * Makefile.in (ELCFILES): Add files-x.elc.
18289 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
18291         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18292         to use `goto-line'.
18293         (gdb-place-breakpoints, gdb-get-location): Rewritten without
18294         `goto-line'.
18295         (gdb-invalidate-disassembly): Do not refresh upon receiving
18296         'update signal.  Instead, update all disassembly buffers only after
18297         threads list.
18298         (gdb): Send -target-detach when buffer is killed (Bug#3794).
18299         (gdb-starting): Move -data-list-register-names...
18300         (gdb-stopped): ...here so it's sent when first thread stops.
18301         (gdb-registers-handler-custom): Do nothing if register names are
18302         unknown yet.
18304         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18305         from `gdb-mi.el' to avoid extra tangling.
18307         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18308         change which breaks `gud-def' definitions used in `gdb'.
18309         (gdb-update-gud-running): No extra fuss for updating frame number.
18311 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18313         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18314         (describe-language-environment-map, setup-language-environment-map)
18315         (set-coding-system-map): Move initialization into declaration.
18316         (set-language-info-alist): Last arg to define-key-after can be skipped.
18318         * international/quail.el (quail-completion-1): Simplify.
18319         (quail-define-rules): Use slightly more compact code.
18320         (quail-insert-decode-map): Propertize keys, compact columns.
18322         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18323         Add goto-line.
18325 2009-08-10  Miles Bader  <miles@gnu.org>
18327         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18328         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18329         (js2-instance-member, js2-private-member, js2-private-function-call)
18330         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18331         (js2-magic-paren, js2-external-variable):
18332         Remove "-face" suffix from face names.
18333         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18334         (js2-highlight-undeclared-vars, js2-peek-token)
18335         (js2-parse-function-params, js2-mode-show-errors)
18336         (js2-mode-show-warnings, js2-make-magic-delimiter)
18337         (js2-mode-highlight-magic-parens): Update to use new face names.
18339 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
18341         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18342         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
18344 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
18346         * subr.el: Provide hashtable-print-readable.
18348         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18349         hs-c-like-adjust-block-beginning.
18350         (hs-hide-block-at-point): Stop hiding at the beginning of
18351         hs-block-end-regexp (Bug#700).
18353 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
18355         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18356         a macro.
18357         (gdb-registers-handler-custom): Do not fail when register names
18358         are unavailable.
18360 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18362         * progmodes/gdb-mi.el (gdb-control-all-threads)
18363         (gdb-control-current-thread): Interactive setters for
18364         `gdb-gud-control-all-threads' to use in menu.
18365         (gdb-show-run-p): Show «Go» when process is not active.
18366         (gud-tool-bar-map): Add non-stop/A,T indicator.
18367         Uses gud/thread.xpm and gud/all.xpm.
18369 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
18371         * net/net-utils.el (net-utils-font-lock-keywords): New var.
18372         (nslookup-font-lock-keywords): Make it a variable.
18373         (net-utils-mode): New mode for viewing diagnostic network output.
18374         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18375         (net-utils-run-simple): New function.
18376         (ifconfig, iwconfig, netstat, arp, route): Use it.
18378 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18380         * progmodes/gdb-mi.el (gdb-read-memory-custom)
18381         (gdb-memory-set-address, def-gdb-set-positive-number)
18382         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18383         after changing settings.
18384         (gdb-invalidate-disassembly): Update when first shown.
18385         (gdb-edit-locals-value): Fixed.
18386         (gdb-registers-handler-custom): Print registers in right order and
18387         allow changing register values (only for current thread yet).
18388         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18389         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18390         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18391         (gdb-locals-handler-custom, gdb-registers-handler-custom):
18392         Thread info in mode name.
18393         (gdb-registers-mode-map): TAB to switch to locals.
18395 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
18397         * mail/rmail.el (rmail-add-mbox-headers)
18398         (rmail-set-message-counters-counter): Search for
18399         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
18401 2009-08-08  Glenn Morris  <rgm@gnu.org>
18403         * Makefile.in (ELCFILES): Update.
18405 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18407         * mail/sendmail.el (mail-yank-original):
18408         Set buffer-file-coding-system from the one used by the message whose
18409         text is yanked.
18411         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18412         to "windows" when "pgnuplot" is used.
18413         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18414         Don't call accept-process-output if "pgnuplot" is used.
18415         (calc-graph-init): Don't send -display and -geometry to
18416         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
18417         running "pgnuplot -V" with shell-command-to-string.
18419         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18420         the default.
18422 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18424         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18425         org/org-latex.elc.
18427 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
18429         * vc-dispatcher.el (vc-resynch-window): Update comment.
18431         * term.el (term-handle-ansi-escape): Add comments with the
18432         terminfo capabilities implemented.
18434 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
18436         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18437         (gdb-var-create-handler): Rewritten using JSON parser.
18438         (gdb-propertize-header): Move earlier.
18439         (gdb-set-header): Remove to avoid duplication.
18440         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18441         Refresh disassembly buffers only after threads list have been
18442         update.
18443         (gdb-threads-header, gdb-registers-header): Per-buffer header line
18444         variables.
18446 2009-08-04  Juri Linkov  <juri@jurta.org>
18448         * files.el: Commands to add/delete file/directory-local variables.
18449         (read-file-local-variable, read-file-local-variable-value)
18450         (read-file-local-variable-mode, modify-file-local-variable)
18451         (modify-file-local-variable-prop-line)
18452         (modify-dir-local-variable): New functions.
18453         (add-file-local-variable, delete-file-local-variable)
18454         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18455         (add-dir-local-variable, delete-dir-local-variable)
18456         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18457         (copy-dir-locals-to-file-locals-prop-line): New commands.
18459 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
18461         * abbrev.el (insert-abbrev-table-description): Prettify output.
18462         Suggested by Karl Chen.
18464 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
18466         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18467         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18468         (gdb-overlay-arrow-position, gdb-thread-position)
18469         (gdb-disassembly-position): Declare variables.
18470         (gdb-wait-for-pending): Function now.
18471         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18472         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18473         compilation goes smoothly.
18474         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18475         (gdb-non-stop-setting): New customization setting which replaces
18476         `gdb-non-stop' so changing it doesn't break active GDB session.
18477         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18478         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18479         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18480         (gdb-show-threads-by-default): New customization options.
18481         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18482         routines.
18483         (gdb-get-buffer-create): Send buffers update signal when they are
18484         created.
18485         (gdb-invalidate-locals, gdb-invalidate-registers)
18486         (gdb-invalidate-breakpoints)
18487         (gdb-invalidate-threads, gdb-invalidate-disassembly)
18488         (gdb-invalidate-memory): Accept update signal.
18489         (gdb-current-context-command): Use --frame option.
18490         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18491         Implement `gdb-frame-number' selection logic.
18492         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18493         whether to show GUD toolbar buttons.
18494         (gdb-thread-exited): Unselect current thread when it exits.
18495         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18496         (gdb-mark-line): Routine which sets overlay arrow or inverses
18497         video on fringeless displays.
18498         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18499         to build aligned columns of data in GDB buffers and set text
18500         properties line-by-line.
18501         (gdb-invalidate-breakpoints)
18502         (gdb-breakpoints-list-handler-custom)
18503         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18504         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18505         (gdb-registers-handler-custom): Align data columns.
18506         (gdb-locals-handler-custom): Now prints data like in variable
18507         declarations.
18508         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18509         Remove confusing buttons.
18510         (gdb-invalidate-threads): Append --frame.
18511         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18512         between breakpoints/threads buffers.
18513         (gdb-set-window-buffer): Now can ignore dedicated windows.
18514         (gdb-propertize-header): Use `gdb-set-window-buffer'.
18515         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18516         (def-gdb-thread-buffer-gud-command): Replaces
18517         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18518         for fine thread control.
18519         (gdb-preempt-existing-or-display-buffer): New function used to
18520         display bound buffers without breaking window layout.
18521         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18522         (gdb-select-frame): New version of `gdb-frames-select' which now
18523         sets `gdb-frame-number' so commands may use --frame option instead
18524         of inner debugger state.
18525         (gdb-frame-handler): Do not set `gdb-frame-number'.
18526         (gdb-threads-mode-map): Select threads with mouse.
18528         * progmodes/gud.el (gdb-gud-context-call): Declare function to
18529         avoid compilation warning.
18530         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18531         `gdb-show-stop-p`.
18533         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18534         Argument `key' renamed to `buffer-type'.
18535         (gdb-current-context-buffer-name): Do not add thread info to
18536         buffer name when no thread is selected.
18537         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18538         command (bug 3794).
18539         (gdb-thread-selected): Handle `=thread-selected' notification.
18540         (gdb-wait-for-pending): New macro to deal with congestion problems.
18541         (gdb-breakpoints-list-handler-custom): Don't fail on pending
18542         breakpoints.
18543         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18544         This fixes problem similar to one described in bug 3947.
18545         (gud-menu-map): More menu items.
18546         (gdb-init-1): Reset `gdb-thread-number' to nil.
18548         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18549         non-stop settings.
18551         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18552         (gdb-current-context-command): Do not append --thread if
18553         `gdb-thread-number' is nil.
18554         (gdb-running-threads-count, gdb-stopped-threads-count):
18555         New variables.
18556         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18557         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18558         New customization options.
18559         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18560         GUD commands.
18561         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18562         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18563         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18564         set `gdb-thread-number' and update `gud-running' properly.
18565         (gdb-running): Update threads list when new threads appear.
18566         (gdb-stopped): Support non-stop operation and new thread switching
18567         logic.
18568         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18569         (gdb-json-partial-output): New set of JSON routines.
18570         (def-gdb-auto-update-trigger): New `signal-list' optional
18571         argument.
18572         (gdb-thread-list-handler-custom): Update `gud-running',
18573         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18574         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18575         (gdb-continue-thread, gdb-step-thread): New commands for fine
18576         thread execution control.
18577         (gud-menu-map): New menu items to switch non-stop options.
18578         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18579         (gdb-send): Mimic RET properly (bug 3794).
18581         * progmodes/gdb-mi.el (gdb-rules-name-maker)
18582         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18583         gdb-buffer-rules.
18584         (def-gdb-auto-update-handler): New nopreserve optional argument.
18585         (gdb-stack-list-frames-custom): Print stack from top to bottom.
18587         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18588         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18589         (gdb-parent-mode): New mode to derive other GDB modes from.
18590         (gdb-display-disassembly-for-thread)
18591         (gdb-frame-disassembly-for-thread): New commands for threads
18592         buffer.
18594         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18595         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18596         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18597         (gdb-update): We now store all GDB buffers in a list so that they
18598         can be updated by traversing a list instead of calling invalidate
18599         triggers explicitly.
18600         (def-gdb-trigger-and-handler): New macro to define trigger-handler
18601         pair for GDB buffer.
18602         (gdb-stack-buffer-name): Add thread information.
18603         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18604         handle pending triggers.
18605         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18606         (def-gdb-thread-buffer-simple-command)
18607         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18608         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18609         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18610         New commands which show buffers bound to thread.
18611         (gdb-stack-list-locals-regexp): Remove unused regexp.
18613         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18614         (gdb-locals-buffer-name, gdb-registers-buffer-name)
18615         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18616         to (gud-comint-buffer) in *-buffer-name functions
18617         because (gdb-get-target-string) already does that.
18618         (gdb-locals-handler-custom, gdb-registers-handler-custom)
18619         (gdb-changed-registers-handler): Rewritten without regexps.
18621         * progmodes/gdb-mi.el: Basic thread selection support.
18622         (gdb-thread-number): New variable.
18623         (gdb-current-context-command): New macro which adds --thread
18624         option to command.
18625         (gdb-threads-mode-map): Select thread with SPC.
18626         (gdb-thread-list-handler-custom): Mark current thread with overlay
18627         arrow.  Synchronize GDB thread and Emacs thread.
18628         (gdb-select-thread): New command which selects current thread.
18629         (gdb-invalidate-frames, gdb-invalidate-locals)
18630         (gdb-invalidate-registers): Use --thread option.
18632 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
18634         * net/tramp.el (top): Make check for tramp-gvfs loading more
18635         robust.  (Bug#3977)
18636         (tramp-handle-insert-file-contents): `unwind-protect' must be
18637         inside `with-parsed-tramp-file-name'.
18639         * net/tramp-gvfs.el (top): Remove superfluous message when loading
18640         fails.
18642 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
18644         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18645         directory if CLASSPATH is not set.
18647 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
18649         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18650         New defconst.
18651         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
18653 2009-08-02  Kevin Ryde  <user42@zip.com.au>
18655         * net/newst-backend.el (newsticker--raw-url-list-defaults):
18656         Update freshmeat link.  Delete newsforge.com as it seems gone.
18658 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18660         * select.el (x-set-selection): Doc fix (Bug#4021).
18662         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18664         * help-fns.el (describe-variable): Treat list return values from
18665         dir-locals-find-file properly (Bug#4005).
18667 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
18669         * net/tramp.el (tramp-debug-message): Print also microseconds.
18671 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
18673         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18674         or END is non-nil.
18675         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18676         (tramp-get-debug-buffer): Change `outline-regexp' according to new
18677         format.
18679         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18680         (tramp-get-file-property): Use it.
18682         * autorevert.el (auto-revert-handler):
18683         Allow `auto-revert-tail-mode' for remote files.
18685 2009-08-02  Jason Rumney  <jasonr@gnu.org>
18687         * minibuffer.el (read-file-name): Treat confirm options to
18688         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
18690 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18692         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18693         (font-lock-variable-name-face, font-lock-constant-face):
18694         Darken the colors for light backgrounds.
18696 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
18698         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18699         month names.  (Bug#3987)
18701 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
18703         * simple.el (line-move-finish): Pass whole number to
18704         line-move-to-column.
18705         (line-move-visual): Perform hscroll to the recorded position.
18707 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
18709         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18711 2009-07-29  Alan Mackenzie  <acm@muc.de>
18713         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18715 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
18717         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18718         (gdb-place-breakpoints): Use full path when setting breakpoints.
18720 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
18722         * calc/calc.el (calc-mode-map): Add keybinding for
18723         `calc-transpose-lines'.
18725 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
18727         * calc/calc-misc.el (calc-transpose-lines): New function.
18729 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
18731         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18732         Simplify check for out-of-band methods.
18733         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18734         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
18736 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
18738         * vc-git.el (vc-git-checkin): Fix typo.
18740 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
18742         * progmodes/js2-mode.el: New file.
18744 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
18746         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18747         (gud-menu-map): Adjust tooltip accordingly.
18749 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
18751         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18752         (vc-bzr-log-view-mode): Adjust log-view-file-re.
18754         * add-log.el (change-log-mode-map): Add a menu.
18756 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
18758         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18759         function returns nil.
18760         (dbus-handle-event): Handle special return value :ignore.
18761         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18763 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
18765         * view.el (view-mode-enable): Don't define Helper-return-blurb if
18766         it's not needed.
18768 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
18770         Fix Bug#3888:
18772         * w32-vars.el (x-select-enable-clipboard): Doc fix.
18774         * term/pc-win.el (x-display-name, x-colors)
18775         (x-select-enable-clipboard, x-select-text): Doc fix.
18777         * term/common-win.el (x-display-name, x-colors): Doc fix.
18779         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18780         (xw-defined-colors): Doc fix.
18782         * w32-fns.el (x-select-text, x-setup-function-keys)
18783         (x-get-selection, x-set-selection): Doc fix.
18785         * term/x-win.el (x-select-text, x-setup-function-keys)
18786         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18788         * select.el (x-set-selection): Doc fix.
18790 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
18792         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18793         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
18794         "IsNSSSupportAvailable" method is not available.
18795         Reported by Steve Youngs <steve@sxemacs.org>.
18797 2009-07-24  Kenichi Handa  <handa@m17n.org>
18799         * international/characters.el: Fix setting of category ?C, ?|, ?K,
18800         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
18801         (build-unicode-category-table): Fix range checks.
18803 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
18805         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18806         the buffer we try to sync is current when calling
18807         vc-resynch-buffer.
18809         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18810         not show up to date files.
18812 2009-07-24  Glenn Morris  <rgm@gnu.org>
18814         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18815         Add autoload cookies.  If necessary, initialize.
18816         (elint-log): Handle non-file buffers.
18817         (elint-initialize): Add optional argument to reinitialize.
18818         (elint-find-builtin-variables): Save excursion.
18820 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
18822         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18823         for Lint.
18825 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
18827         * vc.el (vc-print-log-internal): New function, split out from ...
18828         (vc-print-log): ... here.
18829         (vc-dir-move-to-goal-column): Declare.
18831         * vc-git.el (vc-git-add-signoff): New variable.
18832         (vc-git-checkin): Use it.
18833         (vc-git-toggle-signoff): New function.
18834         (vc-git-extra-menu-map): Bind it to menu.
18835         (vc-git--run-command-string): Accept a nil FILE argument.
18836         (vc-git-stash-list): New function.
18837         (vc-git-dir-extra-headers): Use it.
18839 2009-07-23  Glenn Morris  <rgm@gnu.org>
18841         * help-fns.el (describe-variable): Describe ignored and risky local
18842         variables in a similar way to that in which we describe safe ones.
18844         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18845         (byte-compile-output-file-form, byte-compile-output-docform)
18846         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18847         Give some more local variables with common names a "bytecomp-" prefix,
18848         so as not to shadow things during compilation.
18849         * emacs-lisp/cl-macs.el (load-time-value)
18850         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18851         `outbuffer' to `bytecomp-outbuffer'.
18853         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18854         since the next two variables cover them automatically now.
18855         (elint-builtin-variables, elint-autoloaded-variables): New.
18856         (elint-unknown-builtin-args): Remove all members, since they can be
18857         parsed automatically now.
18858         (elint-extra-errors): New.
18859         (elint-env-add-env, elint-env-add-macro): Use cadr.
18860         (elint-current-buffer): Use or.  Change final message.
18861         (elint-get-top-forms): Use line-end-position.
18862         (elint-init-env): Use cadr.  Handle autoload, declare-function,
18863         and defalias.
18864         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
18865         (regexp-assoc): Remove unused function.
18866         (elint-top-form): Set elint-current-pos, to record the start of the
18867         top-level form, for compilation-mode.
18868         (elint-form): Trap errors in macro expansion.  Use dolist.
18869         (elint-unbound-variable): Use elint-builtin-variables and
18870         elint-autoloaded-variables.
18871         (elint-get-args): Use cadr, or.
18872         (elint-check-cond-form): Use dolist, cadr.
18873         (elint-check-condition-case-form): Doc fix.  Use cadr.
18874         Use elint-extra-errors.
18875         (elint-log): New function.
18876         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18877         Distinguish errors and warnings.
18878         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
18879         Use a bytecomp-style format.
18880         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
18881         (elint-get-log-buffer): Use compilation mode.  Disable undo.
18882         Don't truncate lines.
18883         (elint-initialize): Set builtin and autoloaded variable lists.
18884         Only process elint-unknown-builtin-args if non-nil.
18885         (elint-find-builtin-variables, elint-find-autoloaded-variables):
18886         New functions.
18887         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
18889 2009-07-22  Kevin Ryde  <user42@zip.com.au>
18891         * net/newst-backend.el (newsticker--parse-atom-1.0)
18892         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18893         (newsticker--parse-rss-1.0):
18894         * progmodes/idlwave.el (idlwave-mode):
18895         * progmodes/idlw-shell.el (idlwave-shell-mode):
18896         * progmodes/vera-mode.el (vera-mode):
18897         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18898         * progmodes/vhdl-mode.el (vhdl-mode):
18899         * textmodes/table.el (table-generate-source)
18900         (table--warn-incompatibility):
18901         Hyperlink urls in docstrings with URL `...'.
18903 2009-07-22  Glenn Morris  <rgm@gnu.org>
18905         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18906         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18907         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18908         Remove leading * from defcustom docs.
18910         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
18912         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18913         defcustom doc.
18914         (list-load-path-shadows): Optionally, just return shadows as a string.
18916         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18918 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
18920         * mail/rmailedit.el (rmail-edit-mode):
18921         Use auto-save-include-big-deletions.
18923         * mail/rmail.el (rmail-variables):
18924         Use auto-save-include-big-deletions.
18926         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18927         changes.
18929 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
18931         * calc/calc.el (calc-undo-length): New variable.
18932         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18934 2009-07-21  Richard Stallman  <rms@gnu.org>
18936         * files.el (auto-save-mode): Handle buffer-save-size = -2
18937         for toggling mode.
18939 2009-07-21  Glenn Morris  <rgm@gnu.org>
18941         * textmodes/ispell.el (ispell-looking-back): Update declaration.
18943         * calendar/todo-mode.el (calendar-current-date): Update declaration.
18945         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18946         silence compiler.  Instead...
18947         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18948         (ps-print-ensure-fontified): Update for above function name changes.
18950         * printing.el (pr-mh-get-msg-num, pr-mh-show)
18951         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18952         silence compiler.  Instead...
18953         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18954         (mh-show-buffer): Only define for compiler.
18955         (pr-mh-current-message): Update for above function name changes.
18957         * files.el (abort-if-file-too-large): Explicitly pass `filename'
18958         as an argument.
18959         (find-file-noselect, insert-file-1): Update for above change.
18961         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18963         * mail/mailclient.el (mailclient-send-it): Fix message.
18965         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18966         (edebug-eval): Check cl-debug-env is bound.
18967         (print-level, print-circle): Don't redefine built-in variables.
18969         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18970         (custom-print-vectors): Remove old comments from doc.
18972         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18973         (emerge-version): Make the variable an obsolete alias for the
18974         emacs-version variable.  Make the function obsolete.
18975         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18976         Emerge options, rather than merging in into the main Options menu.
18977         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
18978         and auto advance modes.  Disable edit/fast items when not relevant.
18980 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
18982         * term/vt420.el (terminal-init-vt420): Fix typo.
18984 2009-07-20  Sam Steingold  <sds@gnu.org>
18986         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18987         variable (removed from compile.el on 2004-03-11).
18989 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
18991         * files.el (hack-local-variables-filter): Fix last change.
18993 2009-07-19  Juri Linkov  <juri@jurta.org>
18995         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18996         (dir-local-variables-alist): New buffer-local variable.
18997         (hack-local-variables-filter): If variable is not dir-local,
18998         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18999         because file-local overrides dir-local.
19000         (c-postprocess-file-styles) <declare-function>:
19001         Remove obsolete declaration.
19002         (hack-dir-local-variables): Add dir-local variable/value pair to
19003         `dir-local-variables-alist' and remove duplicates.  Doc fix.
19005         * help-fns.el (describe-variable): Add information about
19006         file-local and dir-local variables.
19008 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
19010         * files.el (hack-local-variables-filter): Rewrite.
19012 2009-07-19  Glenn Morris  <rgm@gnu.org>
19014         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19015         Silence compiler by only defining on XEmacs.
19017         * international/mule.el (auto-coding-regexp-alist): Only match
19018         BABYL... at the start of buffer, not of lines.  (Bug#3790)
19020         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19021         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
19022         (cal-menu-context-mouse-menu): Doc fix.
19024         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19026         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
19028 2009-07-18  Juri Linkov  <juri@jurta.org>
19030         * info.el: Virtual Info keyword finder.
19031         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19032         (Info-finder-file): New variable.
19033         (Info-finder-find-file): New function.
19034         (finder-known-keywords, finder-package-info)
19035         (find-library-name, lm-commentary): Use defvar and
19036         declare-function to silence compiler warnings.
19037         (Info-finder-find-node): New function.
19038         (info-finder): New command.
19040         * subr.el (process-kill-buffer-query-function): New function.
19041         (add-hook)<kill-buffer-query-functions>: Add hook
19042         `process-kill-buffer-query-function'.
19044 2009-07-18  Alan Mackenzie  <acm@muc.de>
19046         * progmodes/cc-mode.el (c-before-hack-hook)
19047         (c-postprocess-file-styles): Give invocation of `c-set-style'
19048         DONT-OVERRIDE parameter of t.  Already set style variables will
19049         thus not be overridden by style settings given by `c-file-syle'.
19051         * files.el (hack-local-variables-filter): Remove entries with
19052         duplicate keys from `file-local-variables-alist'.
19054 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
19056         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19057         x-set-selection if display-selections-p returns nil for the
19058         current frame.
19060 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
19062         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19064 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
19066         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19067         Accept nil in addition to a regexp.
19068         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19069         Accept nil in addition to a regexp.
19070         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19071         buffers that have an associated file.  Handle nil values of
19072         desktop-buffers-not-to-save and desktop-files-not-to-save.
19073         (Bug#3833)
19075         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19076         (x-disown-selection-internal): New functions.
19078 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
19080         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19081         warning.
19082         (gdb-breakpoints-header): Move forward to avoid compiler warning.
19083         (gdb-make-header-line-mouse-map): Remove duplicate definition.
19085 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
19087         * simple.el (set-mark): Revert last change.
19089 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
19091         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19092         rendering of pngs is not possible instead of messaging a long
19093         description.
19095 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
19097         * w32-fns.el (x-selection-owner-p): New function.
19099         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19100         (mouse-yank-at-click, mouse-yank-primary):
19101         If select-active-regions is non-nil, deactivate the mark before
19102         insertion.
19104         * simple.el (deactivate-mark, set-mark): Only save selection if we
19105         own it.
19107 2009-07-17  Kenichi Handa  <handa@m17n.org>
19109         * case-table.el (describe-buffer-case-table): Fix for the case
19110         that KEY is a cons.
19112 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
19114         * vc-rcs.el (vc-rcs-find-file-hook):
19115         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19117 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
19119         * net/tramp.el (tramp-wait-for-output): Handle the case when
19120         commands do not return a newline but a null byte before the shell
19121         prompt.  (Bug#3858)
19123 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
19125         * term/ns-win.el (ns-set-alpha): Don't declare.
19126         (ns-set-background-alpha): Remove function.
19128 2009-07-16  Kevin Ryde  <user42@zip.com.au>
19130         * emacs-lisp/copyright.el (copyright-update): Save match-data across
19131         y-or-n-p, for safety.
19133 2009-07-16  Richard Stallman  <rms@gnu.org>
19135         * files.el (auto-save-mode): If buffer-saved-size is -2,
19136         don't clobber it.
19138         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19139         (rmail-retry-ignored-headers): Add more uninteresting fields.
19141 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
19143         * net/rcirc.el (rcirc): Use history variables.
19144         (rcirc-server-name-history, rcirc-nick-name-history)
19145         (rcirc-server-port-history): New variables.
19147 2009-07-15  Kenichi Handa  <handa@m17n.org>
19149         * international/mule-cmds.el (set-language-environment-charset):
19150         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19151         ignore them.
19153         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19154         Delete unibyte-display.
19156 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
19158         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19160 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
19162         * simple.el (deactivate-mark): Optional argument FORCE.
19163         (set-mark): Use deactivate-mark.
19165         * info.el (Info-search): No need to check transient-mark-mode
19166         before calling deactivate-mark.
19168         * select.el (x-set-selection): Doc fix.
19169         (x-valid-simple-selection-p): Allow buffer values.
19170         (xselect--selection-bounds): Handle buffer values.
19171         Suggested by David De La Harpe Golden.
19173         * mouse.el (mouse-set-region, mouse-drag-track):
19174         Call copy-region-as-kill before setting the mark, to let
19175         select-active-regions work.
19177 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
19179         * simple.el (deactivate-mark): If select-active-regions is
19180         non-nil, copy the selection data into a string.
19181         (activate-mark): If select-active-regions is non-nil, set the
19182         selection to the current buffer.
19183         (set-mark): Update selection if select-active-regions is non-nil.
19185         * select.el (x-valid-simple-selection-p): Allow buffer values.
19187 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19189         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19190         and more featureful message-mode.
19192 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
19194         * select.el (x-set-selection): Doc fix.
19195         (x-valid-simple-selection-p): Disallow selection data consisting
19196         of a list or cons of integers, since that is not used.
19197         (xselect--selection-bounds, xselect--int-to-cons): New functions.
19198         (xselect-convert-to-string, xselect-convert-to-length)
19199         (xselect-convert-to-filename, xselect-convert-to-charpos)
19200         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19202 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
19204         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19205         output in -break-info command (Emacs bug #3794).
19207 2009-07-14  Glenn Morris  <rgm@gnu.org>
19209         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19210         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19211         (edebug-print-length, edebug-print-level, edebug-print-circle)
19212         (edebug-sit-for-seconds, edebug-view-outside)
19213         (edebug-bounce-point, edebug-set-global-break-condition)
19214         (edebug-Go-nonstop-mode, edebug-trace-mode)
19215         (edebug-Trace-fast-mode, edebug-continue-mode)
19216         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19217         (edebug-visit-eval-list): Doc fixes.
19219         * subr.el (def-edebug-spec): Doc fix.
19221 2009-07-14  Kenichi Handa  <handa@m17n.org>
19223         * international/characters.el: Fix setting of category ?C.
19225 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
19227         * term/ns-win.el (x-select-font): defalias x-select-font to
19228         ns-popup-font-panel instead of generate-fontset-menu.
19230 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
19232         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
19234 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
19236         * arc-mode.el (archive-find-type): Allow for a PK00 string before
19237         the PK\003\004 header (Bug#3770).
19239 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
19241         * pcomplete.el (pcomplete-comint-setup): Check for
19242         shell-dynamic-complete-filename too.
19244 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
19246         * simple.el (temporary-goal-column): Change the value for
19247         line-move-visual to a cons cell.
19248         (line-move-visual): Record or set the window hscroll, if
19249         necessary (Bug#3494).
19250         (line-move-1): Handle cons value of temporary-goal-column.
19252 2009-07-11  Kenichi Handa  <handa@m17n.org>
19254         * international/mule-diag.el (describe-character-set): Don't show
19255         width.
19257 2009-07-10  Sam Steingold  <sds@gnu.org>
19259         * progmodes/compile.el (compilation-mode-font-lock-keywords):
19260         Omake sometimes indents the errors it prints, so allow all
19261         regexps to start with spaces.
19263 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
19265         * cus-edit.el (customize-changed-options-previous-release):
19266         Bump value to 22.1.  (Bug#3804)
19268 2009-07-08  Sam Steingold  <sds@gnu.org>
19270         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19271         to be a cons cell (test . ignored-directory) to selectively ignore
19272         some directories depending on the location of the search.
19274 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
19276         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19277         remote user is root, on the local host.
19278         (tramp-local-host-p): Either the local user or the remote user
19279         must be root.  (Bug#3771)
19281 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
19283         * progmodes/gdb-mi.el (gdb): Remove description of
19284         gdb-use-separate-io-buffer.
19285         (menu): Don't allow toggling of or enable
19286         gdb-use-separate-io-buffer from menubar.
19288 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19290         * mail/unrmail.el (unrmail): Make sure the message ends with two
19291         newlines (Bug#3769).
19293 2009-07-08  Glenn Morris  <rgm@gnu.org>
19295         * calendar/calendar.el (calendar-current-date): Rework previous change.
19297 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
19299         * calendar/calendar.el (calendar-current-date):
19300         Add an optional argument giving an offset from today.
19302 2009-07-08  Glenn Morris  <rgm@gnu.org>
19304         * tutorial.el (tutorial--describe-nonstandard-key):
19305         Adjust the message for when a key has been unbound.
19306         (help-with-tutorial): Hide the arch-tag.
19308 2009-07-08  Kenichi Handa  <handa@m17n.org>
19310         * international/fontset.el (setup-default-fontset): For each
19311         script, append (not set) font-specs.
19313         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19314         docstring.
19316 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
19318         * progmodes/gdb-mi.el (gdb-init-1): Move sending
19319         -data-list-register-names to ...
19320         (gdb-starting): ... here because GDB 7.0 requires execution to
19321         have started when using this MI command.
19322         (gdb-set-header): New function to distinguish select and
19323         unselected tabs in gdb buffers.
19324         (gdb-propertize-header): New macro that uses gdb-set-header.
19325         (gdb-breakpoints-header, gdb-locals-header): Use it.
19326         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19328 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
19330         * Makefile.in (ELCFILES): Remove fadr.elc.
19332 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
19334         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19335         may contain frame information, so `string-match' should be used.
19336         (gdb-update): Disassembly is invalidated through
19337         `gdb-get-selected-frame'.
19338         (gdb-pad-string): New function to pad string with spaces.
19339         (gdb-invalidate-disassembly): Invalidate only if the buffer
19340         exists.
19341         (gdb-disassembly-handler-custom): Column alignment.
19342         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19343         placing new ones.
19344         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19345         end of line, too.
19346         (gdb-frame-handler): Match convention to for disassembly buffer
19347         mode name.
19348         (gdb-stack-list-frames-handler): Rewritten without regexps.
19349         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19350         not highlight breakpoints without line information.
19351         (gdb-input): Add trailing newline to command.
19353         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19354         buffer properly.
19355         (gdb-breakpoints-list-handler-custom): Replacement for
19356         `gdb-break-list-handler'.  Using real parser instead of regexps
19357         now.
19358         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19359         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19360         to place breakpoints.
19361         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19362         functions.
19363         (gdb-disassembly-handler-custom): Show overlay arrow.
19364         (gdb-disassembly-place-breakpoints): Show breakpoints in
19365         disassembly buffer.
19366         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19367         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19368         instead of parsing breakpoints buffer.  Fixed old menu references
19369         in `gud-menu-map'.
19371         * fadr.el: Remove.
19373         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19374         (gdb-memory-address): New variable which holds top address of
19375         memory page shown in memory buffer.
19376         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19377         New customization variables.
19378         New functions:
19379         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19380         display the memory buffer.
19381         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19382         buffer display parameters.
19383         (def-gdb-memory-format, gdb-memory-format-binary)
19384         (gdb-memory-format-octal, gdb-memory-format-unsigned)
19385         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19386         Functions for setting memory buffer format.
19387         (gdb-memory-unit-word, gdb-memory-unit-halfword)
19388         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19389         unit size used in memory buffer.
19390         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19391         Switch to next/previous page of memory buffer.
19392         Now using (bindat-get-field) instead of fadr functions.
19394 2009-07-07  Sam Steingold  <sds@gnu.org>
19396         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19397         non-top-level files.
19399 2009-07-07  Kenichi Handa  <handa@m17n.org>
19401         * international/mule-cmds.el (reset-language-environment):
19402         Put the highset priority to the charset iso-8859-1.
19404 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19406         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19407         to the end of the line when locating the block (Bug#700).
19409 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
19411         * net/tramp.el (tramp-handle-write-region): Flush file properties
19412         in case of short track.
19414 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
19416         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19417         Coded custom representation of verilog error regular expressions
19418         to work with Emacs-22's new format.
19419         (verilog-error-regexp-xemacs-alist): Coded custom representation
19420         of verilog error regular expressions to work with XEmacs format.
19421         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19422         error recognition into XEmacs.
19423         (verilog-error-regexp-add-emacs): Hook routine to install verilog
19424         error recognition into Emacs-22.
19426 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19428         * woman.el: Remove stand-alone closing parentheses.
19429         (woman-file-name, woman2-format-paragraphs)
19430         (woman-leave-blank-lines): Code cleanup.
19431         (woman-use-own-frame): Change default to nil.
19432         (woman-italic, woman-bold, woman-unknown, woman-addition):
19433         Change defaults to inherit from default faces.
19434         (woman2-process-escapes): Consume the newline after a stand-alone
19435         filler character (Bug#3651).
19437 2009-07-06  Glenn Morris  <rgm@gnu.org>
19439         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19440         (top-level): Move provide to the end.
19441         (ffap): Remove defunct URL from custom group.
19443         * subr.el (eval-after-load): Doc fix.
19445 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
19447         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19448         `calc-embedded-word' is called twice.
19450 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19452         * files.el (find-alternate-file-other-window, find-alternate-file):
19453         Obey confirm-nonexistent-file-or-buffer.
19455 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
19457         * dired-aux.el (dired-show-file-type): Handle remote files.
19459 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
19461         * desktop.el (desktop-globals-to-save):
19462         Add file-name-history (Bug#2750).
19464 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
19466         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19468 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
19470         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19471         property on entire argument since this is what eshell-lisp-command
19472         expects.
19474 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
19476         * net/tramp-gvfs.el (tramp-gvfs-methods)
19477         (tramp-gvfs-zeroconf-domain)
19478         (tramp-bluez-discover-devices-timeout): Add version flag.
19479         (tramp-gvfs-handler-mounted-unmounted)
19480         (tramp-gvfs-connection-mounted-p): Polish handling of
19481         incompatibilities between GVFS 0.2 and 1.0.
19483 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
19485         * cus-start.el (all): Add make-pointer-invisible.
19487 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
19489         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19490         formatted correctly.
19492 2009-07-02  Juri Linkov  <juri@jurta.org>
19494         * info.el: Virtual Info files and nodes.
19495         (Info-virtual-files, Info-virtual-nodes): New variables.
19496         (Info-current-node-virtual): New variable.
19497         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19498         New functions.
19499         (Info-file-supports-index-cookies): Use Info-virtual-file-p
19500         to check for a virtual file instead of checking a fixed list
19501         of node names.
19502         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19503         instead of ad-hoc processing of "dir" and (apropos history toc).
19504         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19505         instead of ad-hoc processing of "dir" and (apropos history toc).
19506         Reread a file when moving from a virtual node.
19507         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19508         (Info-directory-toc-nodes, Info-directory-find-file)
19509         (Info-directory-find-node): New functions.
19510         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19511         (Info-history): Move part of code to
19512         `Info-history-find-node'.
19513         (Info-history-toc-nodes, Info-history-find-file)
19514         (Info-history-find-node): New functions.
19515         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19516         (Info-toc): Move part of code to `Info-toc-find-node'.
19517         (Info-toc-find-node): New function.
19518         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
19519         the current Info file name to references because now the node
19520         "*TOC*" belongs to the same Info manual.
19521         (Info-toc-build): Rename from `Info-build-toc'.
19522         (Info-toc-nodes): Rename input argument `file' to `filename'.
19523         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19524         instead of ad-hoc processing of ("dir" apropos history toc).
19525         (Info-index-nodes): Use Info-virtual-file-p
19526         to check for a virtual file instead of checking a fixed list
19527         of node names.
19528         (Info-index-node): Add check for `Info-current-node-virtual'.
19529         Raise `save-match-data' higher up the tree to contain
19530         `search-forward' too (bug fix).
19531         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19532         (Info-virtual-index-nodes): New variable.
19533         (Info-virtual-index-find-node, Info-virtual-index): New functions.
19534         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19535         (Info-apropos-file, Info-apropos-nodes): New variables.
19536         (Info-apropos-toc-nodes, Info-apropos-find-file)
19537         (Info-apropos-find-node, Info-apropos-matches): New functions.
19538         (info-apropos): Move part of code to `Info-apropos-find-node' and
19539         `Info-apropos-matches'.
19540         (Info-mode-map): Bind "I" to `Info-virtual-index'.
19541         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19542         for a virtual file instead of checking a fixed list of node names.
19544         * simple.el (async-shell-command): New command.
19546         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19548         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19549         instead of `mount-info'.
19551 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
19553         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19554         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19556 2009-07-02  Kenichi Handa  <handa@m17n.org>
19558         * international/mule.el (set-keyboard-coding-system): Force *-unix
19559         coding-system to avoid eol conversion.
19561 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
19563         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19564         Add handler for `process-file', `shell-command' and
19565         `start-file-process'.
19566         (tramp-gvfs-handle-shell-command)
19567         (tramp-gvfs-handle-start-file-process)
19568         (tramp-gvfs-handle-process-file): New defuns.
19569         (tramp-synce-list-devices): Simplify check for existence of property.
19571 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
19573         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19575 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
19577         * language/korean.el (set-language-info-alist): Add korean-cp949,
19578         cp949 to spec.
19580 2009-07-01  Kenichi Handa  <handa@m17n.org>
19582         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19584         * international/encoded-kb.el: Deleted.
19586         * international/mule.el (set-keyboard-coding-system): Perform the
19587         necessary setup here instead of calling encoded-kbd-setup-display.
19589 2009-07-01  Glenn Morris  <rgm@gnu.org>
19591         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19593 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
19595         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
19597 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
19599         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19600         Handle also the 'rename case, when setting file modes.  (Bug#3712)
19601         (tramp-default-file-modes): Remove execute permissions.
19603         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19604         (top): Add a default for "synce" in `tramp-default-user-alist'.
19605         Add completion function for "synce" method.
19606         (tramp-hal-service, tramp-hal-path-manager)
19607         (tramp-hal-interface-manager, tramp-hal-interface-device):
19608         New defconst.
19609         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19610         (tramp-synce-list-devices, tramp-synce-parse-device-names):
19611         New defuns.
19613         * net/trampver.el: Update release number.
19615 2009-06-30  Kenichi Handa  <handa@m17n.org>
19617         * international/fontset.el (setup-default-fontset): Add CJK fonts
19618         for symbols and the other miscellaneous characters.
19620         * language/korea-util.el (setup-korean-environment-internal):
19621         Make char-width-table suitable for Korean environments.
19622         (exit-korean-environment): Cancel above.
19624         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19625         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19626         setup-function to make char-width-table suitable for respective
19627         environments, and an exit-function to cancel that.
19629         * language/japan-util.el (setup-japanese-environment-internal):
19630         Call use-cjk-char-width-table with arg `ja_JP'.
19632         * international/characters.el (cjk-char-width-table): Delete it.
19633         (cjk-char-width-table-list): New variable.
19634         (use-cjk-char-width-table): New arg local-name.
19635         (use-default-char-width-table): Fix for the case that Emacs is
19636         already using the default char-width-table.
19638 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
19640         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19641         modes mandatory.  (Bug#3712)
19643 2009-06-29  Alan Mackenzie  <acm@muc.de>
19645         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19646         correction between the visible width of TABs and their number of bytes.
19648 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
19650         * server.el (server-buffer-done): Prevent kill-buffer from
19651         prompting by clearing the buffer modification flag (Bug#3696).
19653 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
19655         * progmodes/verilog-mode.el (verilog-beg-of-statement)
19656         (verilog-endcomment-reason-re): Support unique case and priority case.
19657         (verilog-basic-complete-re): Support localparam lineup.
19658         (verilog-beg-of-statement-1): Fix for robustness, unique case.
19659         (verilog-set-auto-endcomments): Fix for unique case, always_comb
19660         commenting.
19661         (verilog-leap-to-case-head): Now support *nested* unique &
19662         priority case statements.
19663         (verilog-auto-lineup): Make just declarations the default (as it
19664         had been).
19665         (verilog-leap-to-case-head): Support priority/unique case statements.
19666         (verilog-auto-lineup): Rework to give users radio buttons to
19667         select the various styles of automatic lineup.
19668         (verilog-error-regexp-alist): Rework to support the XEmacs style
19669         of error regular expressions from compilers, lint tools &
19670         simulators.  Note that GNU Emacs has made it impossible for a mode
19671         to load such things.
19672         (electric-verilog-terminate-line, verilog-indent-declaration)
19673         (verilog-auto-wiure): Rework for radio button selection of
19674         auto-lineup selection of specification of auto lineup.
19675         (verilog-beg-of-statement-1): Redesign to support proper operation
19676         in additional code, based on testing with auto-lineup.
19677         (verilog-calculate-indent, assignments & declarations)
19678         (verilog-backward-token): Enhance to support auto-lineup of
19679         assignments & declarations.
19680         (verilog-in-directive-p, verilog-at-struct-p): New function for
19681         easy test of whether we are.
19682         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19683         to support safe execution at almost anyline.
19684         (verilog-calc-1): Properly support indenting deep inside generate
19685         blocks.
19686         (verilog-init-font): Remove definition & use of verilog-init-font,
19687         as it is redundant with font-lock-defaults.
19688         (verilog-mode): Alter the definition of verilog-font-lock-defaults
19689         to avoid circular calls if syntax-ppss is a function (as is the
19690         case now in 22.x GNU Emacs) as that function would sometimes call
19691         itself, leading to (nearly) infinite recursion.
19692         (verilog-ovm-begin-re, verilog-ovm-end-re)
19693         (verilog-ovm-statement-re, verilog-leap-to-head)
19694         (verilog-backward-token): Add support for OVM macros.  Some are
19695         complete statements, and others open and close scopes like begin
19696         and end.
19697         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19698         (verilog-defun-level-generate-only-re): Really fix the defun-list
19699         compilation issue.
19700         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19701         coverpoint, constraint and cross statements.
19702         (verilog-defun-level-list, verilog-generate-defun-level-list)
19703         (verilog-all-defun-level-list): Redo these specifications - it is
19704         too hard to support eval-when compile aggregation of lists also
19705         built at when-compile time.
19706         (verilog-defun-level-list): Place defconsts of variables used in
19707         building regular expressions which are built in eval-when-compile
19708         bodies in the same eval-when-compile body to facilitate compile
19709         without load.
19710         (verilog-beg-block-re-ordered): Support indenting
19711         virtual/protected tasks and functions.
19712         (verilog-defun-level-list, verilog-in-generate-region-p)
19713         (verilog-backward-ws&directives, verilog-calc-1): Speed up
19714         indentation of some module items (generate items).
19715         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19716         across virtual/protected tasks and functions.
19718 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
19720         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19721         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
19722         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19723         in concatenations.  Reported by Yishay Belkind.
19724         (verilog-auto-ascii-enum): Support one-hot state machines in
19725         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
19726         (verilog-auto-inst, verilog-auto-inst-port): Include interface
19727         modport in AUTOINST and add vl-modport for users.
19728         Reported by David Rogoff.
19729         (verilog-auto-inout-module, verilog-auto-inst)
19730         (verilog-decls-get-interfaces, verilog-insert-definition)
19731         (verilog-insert-one-definition, verilog-read-decls)
19732         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19733         (verilog-sig-modport, verilog-signals-combine-bus)
19734         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19735         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19736         Suggested by David Rogoff.
19737         (verilog-repair-open-comma): Fix non-insertion of comma when
19738         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
19739         (verilog-make-width-expression): Simplify [A-1:0] expression
19740         widths to just {A{1'b0}}.
19741         (verilog-mode): Cleanup checkdoc warnings.
19742         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19743         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19744         inputs/outputs or data type.  Suggested by Vasu Kandadi.
19745         (next-error-last-buffer): Fix byte-compiler warning.
19746         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19747         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19748         or shell command text during AUTO expansion.  Suggested by Tad Truex.
19749         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19750         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19751         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19752         in AUTOINOUT.  Reported by Matthew Lovell.
19753         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19754         causing use of <= assignments.  Reported by Alex Reed.
19755         (verilog-read-decls): Fix triand, trior, wand, wor to be
19756         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
19757         (verilog-extended-complete-re): Support import "DPI-C" functions.
19758         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19759         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
19760         (verilog-insert-date, verilog-insert-year)
19761         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19762         Windows systems.  Reported by Michael Potts.
19763         (verilog-read-module-name): Fix AUTOINST when the child module
19764         declaration's name is a tick define.  Reported by Elliot Mednick.
19765         (verilog-read-decls): Fix V2K parameter bit subscripts getting
19766         passed to next parameter's definition.  Reported by Bruce T.
19767         (verilog-read-decls): Fix detecting "parameter int" when using
19768         AUTOINSTPARAM.  Reported by Bruce T.
19769         (verilog-goto-defun): Fix goto not finding modules unless first
19770         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
19771         (verilog-mode): Expand -f flag arguments on entry to mode so
19772         verilog-goto-defun will work.  Reported by Lawrence Butcher.
19773         (verilog-getopt): Expand environment variables in -f file
19774         arguments.  Suggested by Lawrence Butcher.
19775         (verilog-set-define): Fix "Symbol's value as variable is void"
19776         when reading enumerations.
19777         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19778         Suggested by Stephen Peltan.
19779         (verilog-read-defines): Fix reading of enumerations in include
19780         files.  Reported by Steve Peltan.
19782 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19784         * files.el (trash-directory): Fix defcustom type.
19786 2009-06-28  Juri Linkov  <juri@jurta.org>
19788         * help-fns.el (describe-function-1): Correctly locate adviced
19789         functions in hyperlink (Bug#2438).
19791 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
19793         * files.el (trash-directory): Change default to nil.
19794         (move-file-to-trash): If trash-directory is nil and
19795         system-move-file-to-trash is unbound, perform freedesktop-style
19796         trashing.
19798 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19800         * files.el (move-file-to-trash): Add freedesktop trash
19801         support (Bug#973).
19803 2009-06-28  Glenn Morris  <rgm@gnu.org>
19805         * autorevert.el (global-auto-revert-non-file-buffers)
19806         (global-auto-revert-mode): Doc fixes.
19808 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
19810         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19812 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
19814         * faces.el (x-handle-named-frame-geometry): Ensure that we have
19815         opened an X connection before calling x-get-resource (Bug#3194).
19817         * play/doctor.el: Remove reference to obsolete website.
19818         (make-doctor-variables): Correct grammar mistake (Bug#2633).
19820 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
19822         Remove find-file-not-found-hook VC method.  (Bug#2757)
19823         * vc-hooks.el (vc-file-not-found-hook)
19824         (vc-default-find-file-not-found-hook): Remove functions.
19825         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19826         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19827         * vc.el:
19828         * vc-hg.el:
19829         * vc-git.el: Do not mention find-file-not-found-hook VC method.
19831 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
19833         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19834         compatibility function for `looking-back'.
19836         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19837         Use `ispell-looking-back'.
19839 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
19841         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19842         rather than `filename'.
19844 2009-06-23  Miles Bader  <miles@gnu.org>
19846         * face-remap.el (text-scale-set): New function.
19848 2009-06-23  Glenn Morris  <rgm@gnu.org>
19850         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19852         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19854         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19856         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19858         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19859         Simplify Persian conditionals.
19861         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19862         variable `filename'.
19864         * comint.el (comint-insert-input): Doc fix.
19866         * Makefile.in (ELCFILES): Fix typo in previous change.
19868 2009-06-23  Miles Bader  <miles@gnu.org>
19870         * cus-start.el: Add entry for `recenter-redisplay'.
19872 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19874         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19875         Add an optional argument for the backend, use it instead of
19876         calling vc-backend.
19877         (vc-mode-line): Add an optional argument for the backend.
19878         Pass the backend to vc-state and vc-working-revision.  Move code for
19879         special handling for vc-state being a buffer to ...
19881         * vc-rcs.el (vc-rcs-find-file-hook):
19882         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
19884         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19885         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19886         vc-stay-local-p and vc-mode-line calls.
19888         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19889         (vc-cvs-diff, vc-cvs-annotate-command)
19890         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19891         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19892         vc-mode-line calls.
19894         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19895         direct comparison.
19896         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19897         backend when calling vc-mode-line.
19898         (vc-register): Do not create a closure for calling the vc register
19899         function, call it directly.
19901 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19903         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19904         to make it obvious item can be clicked.
19906         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19908 2009-06-23  Kenichi Handa  <handa@m17n.org>
19910         * language/korea-util.el (korean-key-bindings): Change the binding
19911         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
19912         same command.
19914 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
19916         Sync with Tramp 2.1.16.
19918         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19920         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
19921         when a loading of a package fails.  Completion function for rsync
19922         is `tramp-completion-function-alist-ssh'.
19923         (all): Replace all calls of `split-string' and
19924         `tramp-split-string' by `tramp-compat-split-string'.
19925         (tramp-default-method): Use `tramp-compat-process-running-p'.
19926         (tramp-default-proxies-alist): Allow also Lisp forms.
19927         (tramp-remote-path): Add choice "Private Directories".
19928         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19929         (tramp-domain-regexp): Allow also "-", "_" and ".".
19930         (tramp-end-of-output): Remove newlines, and add "$" at the end.
19931         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19932         (tramp-debug-message): Insert header line in debug buffer.
19933         (tramp-handle-directory-files-and-attributes-with-stat):
19934         Care about filenames with spaces, or starting with "-".
19935         (tramp-handle-dired-uncache): New defun.
19936         (tramp-handle-insert-directory): Don't flush the directory from
19937         cache, this is handled by `dired-uncache' now.
19938         (tramp-handle-insert-file-contents): Improve error handling.
19939         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19940         Quote `tramp-end-of-output'.
19941         (tramp-action-password): Improve trace message.
19942         (tramp-check-for-regexp): Both echoes must be present, before removing.
19943         (tramp-open-connection-setup-interactive-shell): Trace coding system.
19944         (tramp-compute-multi-hops): Eval cons cells of
19945         `tramp-default-proxies-alist'.
19946         (tramp-maybe-open-connection): Use the same command pattern for
19947         first hop and further hops.
19948         (tramp-wait-for-output): Remove handling of newlines.
19949         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19950         (tramp-split-string): Remove function.  It is handled in
19951         tramp-compat now.
19953         * net/tramp-cmds.el (tramp-bug):
19954         Recommend `tramp-cleanup-all-connections' in the bug mail.
19956         * net/tramp-compat.el (tramp-compat-split-string)
19957         (tramp-compat-process-running-p): New defuns.
19959         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19960         for `dired-uncache'.
19962         * net/tramp-gvfs.el: New package.
19964         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19965         Add handler for `dired-uncache'.
19966         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19968         * net/trampver.el: Update release number.  Make version check fit
19969         for SXEmacs 22.
19971 2009-06-22  Jim Meyering  <meyering@redhat.com>
19973         Automatically handle .xz suffix (XZ-compressed files), too.
19974         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19975         XZ is the successor to LZMA: <http://tukaani.org/xz/>
19977 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
19978             Nick Roberts  <nickrob@snap.net.nz>
19980         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19981         repository (http://sphinx.net.ru/hg/gdb-mi/).
19983 2009-06-22  Glenn Morris  <rgm@gnu.org>
19985         * files.el (dir-locals-collect-mode-variables): Allow for any number of
19986         `mode' and `eval' entries.  (Bug#3430)
19988         * Makefile.in (ELCFILES): Add fadr.elc.
19990         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19991         differing behavior of \n and ^ in strings.  (Bug#3385)
19993         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19995         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19996         property.
19997         (lisp-indent-function): Make it a defcustom.
19999 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
20001         * progmodes/gdb-ui.el: Replace with ...
20002         * progmodes/gdb-mi.el: ... this file.
20003         * progmodes/gud.el: Modify for gdb-mi.el.
20005 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
20007         * fadr.el: New file.
20009 See ChangeLog.14 for earlier changes.
20011 ;; Local Variables:
20012 ;; coding: utf-8
20013 ;; End:
20015   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
20017   This file is part of GNU Emacs.
20019   GNU Emacs is free software: you can redistribute it and/or modify
20020   it under the terms of the GNU General Public License as published by
20021   the Free Software Foundation, either version 3 of the License, or
20022   (at your option) any later version.
20024   GNU Emacs is distributed in the hope that it will be useful,
20025   but WITHOUT ANY WARRANTY; without even the implied warranty of
20026   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20027   GNU General Public License for more details.
20029   You should have received a copy of the GNU General Public License
20030   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.