Make some dired defvars into defcustoms.
[emacs.git] / lisp / ChangeLog
blob60e1cab148df9a8f4cc13aaaf1d5f59f4b5b61e9
1 2010-12-14  Glenn Morris  <rgm@gnu.org>
3         * dired.el (dired-subdir-switches, dired-chown-program)
4         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
5         Make into defcustoms.
6         (dired-chown-program): Simplify initialization.
8         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
10 2010-12-13  Romain Francoise  <romain@orebokech.com>
12         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
14 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16         * net/netrc.el (netrc-point-at-eol): Remove the unused
17         netrc-point-at-old and netrc-bound-and-true-p bindings.
18         (netrc-parse): Cache the netrc contents.
20 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
22         * subr.el (posn-col-row): Evaluate header-line-format in the
23         context of the POSITION window's buffer.
25 2010-12-13  Glenn Morris  <rgm@gnu.org>
27         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
28         (with-silent-modifications): Doc fixes.
30 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
32         * net/tramp.el (tramp-action-password, tramp-process-actions):
33         Revert patch from 2010-12-08.  Use `save-restriction'.
35 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
37         * calendar/diary-lib.el (diary-list-sexp-entries):
38         Handle case of no newline at end of file.  (Bug#7536)
40 2010-12-13  Glenn Morris  <rgm@gnu.org>
42         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
44 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
46         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
47         (tramp-process-actions): Do not widen.
48         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
49         Protect buffer-modified value.  (Bug#7557)
51 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
53         * log-edit.el (log-edit-changelog-entries):
54         Regexp quote filename.  (Bug#7505)
56 2010-12-13  Tom Breton  <tehom@panix.com>
58         * cus-edit.el (custom-save-all):
59         Bind print-length and print-level to nil.  (Bug#7581)
61 2010-12-13  Glenn Morris  <rgm@gnu.org>
63         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
64         Run hooks to update menu contents.  (Bug#7586)
66         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
67         file names, for the sake of MS Windows.  (Bug#7588)
69 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
71         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
72         empty lines without a leading space.
74 2010-12-13  Leo  <sdl.web@gmail.com>
76         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
77         while mapping over marks (Bug#6810).
79 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
81         * image-dired.el (image-dired-db-file)
82         (image-dired-temp-image-file, image-dired-gallery-dir)
83         (image-dired-temp-rotate-image-file): Set default values relative
84         to image-dired-dir (Bug#7518).
86 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
88         * format.el (format-decode-run-method): Pass args FROM and TO, not
89         point-min and point-max, to shell-command-on-region (Bug#7488).
91 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
93         * frame.el (blink-cursor-mode): Make default t for ns.
95 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
97         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
99 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
101         * comint.el (comint-dynamic-list-input-ring)
102         (comint-dynamic-complete-filename)
103         (comint-replace-by-expanded-filename)
104         (comint-dynamic-simple-complete)
105         (comint-dynamic-list-filename-completions)
106         (comint-dynamic-list-completions): Doc fix (Bug#7499).
108         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
109         Doc fix (Bug#7471).
111 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
113         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
114         (Bug#7533).
116 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
118         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
119         (Bug#7491).
121 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
123         * files.el (file-relative-name): Handle UNC file names on
124         DOS/Windows.  (Bug#4674)
126 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
128         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
129         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
130         (epg-context-set-passphrase-callback): Mention that the callback
131         is not called when used with GnuPG 2.x.
133 2010-12-13  Glenn Morris  <rgm@gnu.org>
135         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
136         Ensure ps-footer-font-size-internal is initialized.
137         Call ps-get-page-dimensions before trying to use ps-font-for-text.
139 2010-12-13  Kenichi Handa  <handa@m17n.org>
141         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
142         within condition-case.
143         (rmail-show-mime): Don't use condition-case.
144         (rmail-search-mime-message): New function.
145         (rmail-search-mime-message-function): Set to
146         rmail-search-mime-message.
148 2010-12-13  Leo  <sdl.web@gmail.com>
150         * ido.el (ido-common-initialization): New function.  (bug#3274)
151         (ido-mode): Use it.
152         (ido-completing-read): Call it.
154 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
156         * bookmark.el (bookmark-name-from-full-record): Rename back to
157         this original name from `bookmark-name-from-record' reverting part
158         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
159         As Drew Adams pointed out, there was no reason to cause churn for
160         third-party callers.
162 2010-12-12  Alan Mackenzie  <acm@muc.de>
164         * progmodes/cc-engine.el (c-forward-type): Before scanning a
165         template arglist, check that the current language supports this.
167 2010-12-11  Glenn Morris  <rgm@gnu.org>
169         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
170         state of the file matches.  (Bug#7544)
171         (vc-bzr-register, vc-bzr-checkin)
172         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
173         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
175         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
177 2010-12-11  Karel Klíč  <kklic@redhat.com>
179         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
181 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
183         Derive from prog-mode, use derived-mode-p, and fix up various
184         minor style issues in lisp/progmodes.
186         * progmodes/vhdl-mode.el (vhdl-mode):
187         * progmodes/verilog-mode.el (verilog-mode):
188         * progmodes/vera-mode.el (vera-mode):
189         * progmodes/sql.el (sql-mode):
190         * progmodes/scheme.el (scheme-mode):
191         * progmodes/perl-mode.el (perl-mode):
192         * progmodes/octave-inf.el (inferior-octave-mode):
193         * progmodes/autoconf.el (autoconf-mode):
194         * progmodes/m4-mode.el (m4-mode):
195         * progmodes/inf-lisp.el (inferior-lisp-mode):
196         * progmodes/idlwave.el (idlwave-mode):
197         * progmodes/icon.el (icon-mode):
198         * progmodes/idlw-help.el (idlwave-help-mode):
199         * progmodes/dcl-mode.el (dcl-mode):
200         * progmodes/idlw-shell.el (idlwave-shell-mode):
201         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
202         (ebrowse-member-mode, ebrowse-electric-position-mode):
203         Use define-derived-mode.
205         * progmodes/xscheme.el (exit-scheme-interaction-mode)
206         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
207         (xscheme-debugger-mode-p, xscheme-send-string-1):
208         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
209         (tcl-load-file, tcl-restart-with-file):
210         * progmodes/ps-mode.el (ps-run-running):
211         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
212         * progmodes/js.el (js--get-all-known-symbols):
213         * progmodes/inf-lisp.el (inferior-lisp-proc):
214         * progmodes/idlwave.el (idlwave-beginning-of-statement)
215         (idlwave-template, idlwave-update-buffer-routine-info)
216         (idlwave-update-current-buffer-info)
217         (idlwave-get-routine-info-from-buffers, idlwave-choose)
218         (idlwave-scan-class-info, idlwave-fix-keywords)
219         (idlwave-list-buffer-load-path-shadows):
220         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
221         (idlwave-toolbar-remove):
222         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
223         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
224         (idlwave-shell-menu-def):
225         * progmodes/idlw-complete-structtag.el
226         (idlwave-prepare-structure-tag-completion):
227         * progmodes/gud.el (gud-set-buffer):
228         * progmodes/f90.el (f90-backslash-not-special):
229         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
231         * progmodes/xscheme.el (xscheme-start)
232         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
233         * progmodes/which-func.el (which-function):
234         * progmodes/vhdl-mode.el (vhdl-set-style):
235         * progmodes/verilog-mode.el (verilog-set-compile-command)
236         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
237         (verilog-set-define, verilog-auto-reeval-locals):
238         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
239         * progmodes/simula.el (simula-mode):
240         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
241         * progmodes/python.el (python-check, python-mode):
242         * progmodes/prolog.el (prolog-mode-variables):
243         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
244         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
245         * progmodes/delphi.el (delphi-mode):
246         * progmodes/cc-styles.el (c-setup-paragraph-variables):
247         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
248         (c-font-lock-init): Move make-local-variable to their setq.
250         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
251         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
252         make-local-hook.
253         * progmodes/sh-script.el (sh-require-final-newline): Remove.
254         (sh-set-shell): Don't set require-final-newline since it's already done
255         by prog-mode.
256         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
257         since we never set it.
258         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
259         Use read-string and standard prompt.
260         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
261         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
262         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
263         (meta-common-mode-map): Rename from meta-mode-map.
264         Remove C-m binding, which is a user preference, not mode specific.
265         (meta-common-mode): New major mode; replace meta-common-initialization.
266         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
267         around with font-lock.
268         * progmodes/etags.el (select-tags-table-mode):
269         Derive from special-mode.
270         * progmodes/octave-mod.el (octave-mode):
271         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
272         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
273         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
274         Let define-derived-mode do its job.
275         * progmodes/cpp.el (cpp-edit-mode-map):
276         Move initialization into declaration.
277         (cpp-edit-mode): Use define-derived-mode.
278         (cpp-edit-load): Use derived-mode-p.
279         * progmodes/mixal-mode.el (mixal-mode):
280         * progmodes/f90.el (f90-mode):
281         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
282         require-final-newline since prog-mode does it already.
283         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
284         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
285         * progmodes/antlr-mode.el: Require cc-mode upfront.
286         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
287         the declaration.
288         (antlr-directory-dependencies, antlr-show-makefile-rules):
289         Use derived-mode-p.
290         (antlr-language-option): Don't assume point-min==1.
291         (antlr-mode): Use define-derived-mode.
292         * progmodes/ada-mode.el: Use derived-mode-p.
293         (ada-mode): Use define-derived-mode.
294         Use hack-local-variables-hook.
296 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
298         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
299         (texinfo-mode): Don't disable adaptive-fill-mode.
300         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
301         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
302         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
303         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
304         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
305         (texinfo-insert-@quotation, texinfo-insert-@samp)
306         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
307         (texinfo-insert-@uref): Use define-skeleton.
308         (texinfo-insert-@-with-arg): Delete.
310 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
312         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
313         nil, do quote archive member names.  (Bug#6144)
315 2010-12-10  Glenn Morris  <rgm@gnu.org>
317         * files.el (diff-no-select): Declare.
319         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
320         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
322         * comint.el (comint-input-ring-file-name): Doc fix.
324 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
326         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
327         New functions.
328         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
329         Use them instead of `nil' and `>', respectively.
330         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
331         instead of `nil'.
332         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
333         and menu-bar-positive-p instead of `nil' and `>', respectively.
334         (Bug#1077)
336 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
338         * whitespace.el (whitespace-newline-mode): Code fix.
340 2010-12-09  Glenn Morris  <rgm@gnu.org>
342         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
343         Rename functions without commas, update callers.
345 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
347         * whitespace.el (whitespace-cleanup-region):
348         Clean up spaces before tabs.  (Bug#7582)
350 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
352         * bookmark.el: Adjust parameter names and doc strings to resolve
353         confusion over whether "bookmark" meant a bookmark name or a
354         bookmark record.  Along the way, shorten one function's name for
355         similar reasons.  (Issue #7548)
356         (bookmark-name-from-record): New name for
357         `bookmark-name-from-full-record'.  All callers changed.
358         (bookmark-get-bookmark, bookmark-get-bookmark-record)
359         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
360         (bookmark-get-annotation, bookmark-set-annotation)
361         (bookmark-get-filename, bookmark-set-filename)
362         (bookmark-get-position, bookmark-set-position)
363         (bookmark-get-front-context-string, bookmark-set-front-context-string)
364         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
365         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
366         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
367         Rename `bookmark' parameter to `bookmark-name-or-record', to
368         clearly show its role, and shorten or adjust doc strings accordingly.
369         (bookmark-set-name): Same, and pass the parameter directly to
370         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
371         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
372         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
373         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
374         and in some cases shorten doc string accordingly.
375         (bookmark-rename): Change `old' and `new' parameters to `old-name'
376         and `new-name', and adjust an internal variable to avoid confusion.
377         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
378         parameter in doc string.
380 2010-12-08  Glenn Morris  <rgm@gnu.org>
382         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
383         from gdb's history file.  (Bug#7575)
385         * mail/emacsbug.el (report-emacs-bug):
386         Try to handle some other mail clients.
388 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
390         * files.el (dir-locals-collect-variables): Don't let errors stop us.
391         Use string-prefix-p.
392         (file-name-version-regexp): New var.
393         (file-name-sans-versions):
394         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
395         (jka-compr-get-compression-info): Use dolist.
396         (jka-compr-compression-info-list): Don't bother specifying
397         version/backup regexps.
399 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
401         * simple.el (just-one-space): Make argument n default to 1 if
402         omitted.
404 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
406         * electric.el (electric-indent-post-self-insert-function):
407         Delete trailing newlines even if we don't reindent.
409 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
411         * minibuffer.el (completion-at-point): Remove the `arg'.
412         * bindings.el (complete-symbol): Move back from minibuffer.el.
414 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
416         * simple.el (just-one-space): Delete newlines for negative arg.
418 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
420         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
421         (ansi-color-filter-apply): Simplify.
422         (ansi-color-apply): Use `font-lock-face' rather than `face'.
424 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
426         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
428 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
430         * dired.el (dired-use-ls-dired): Set default to a special
431         "unspecified" value.
432         (dired-insert-directory): When called the first time, check
433         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
435 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
437         * replace.el: Add "collect" feature to occur.
438         (occur-collect-regexp-history): New var.
439         (occur-read-primary-args): Return a replace string for nlines,
440         if needed.
441         (occur): Extend the meaning of nlines.
443 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
445         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
446         (which-func-update-1): Distinguish symbols from strings.
447         (which-function): Stay within 80 columns.
449 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
451         * subr.el (with-demoted-errors): Distinguish symbols from strings.
453         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
454         Improve docstring.
455         (comment-style): Use comment-styles's docs to describe values.
457 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
459         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
460         and ns-show-prefs (Bug#7535).
462         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
463         bindings (Bug#7535).
465 2010-12-03  Glenn Morris  <rgm@gnu.org>
467         * nxml/nxml-mode.el: Require rng-nxml.
468         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
469         Remove declarations.
471         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
472         * nxml/rng-nxml.el, nxml/rng-valid.el:
473         Remove leading `*' from defcustom docs.
475         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
476         (normal-top-level-add-to-load-path, tty-handle-args):
477         Convert comments to basic doc-strings.
479         * net/browse-url.el (browse-url-url-at-point)
480         (browse-url-default-browser): Remove autoload cookies.
482         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
483         Remove more undefined cl functions.
485         * vc/diff.el (diff-sentinel): Make new arguments optional.
486         * ibuf-ext.el (diff-sentinel): Update declaration.
488 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
490         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
491         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
492         (epg-context-set-passphrase-callback): Mention that the callback
493         is not called when used with GnuPG 2.x.
495 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
497         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
498         (tramp-file-name-port): Check also for `tramp-default-port'.
499         (tramp-get-connection-name): New defun.
500         (tramp-get-connection-process): Use it.
501         (tramp-debug-message): Extend function exclude list.
502         (tramp-drop-volume-letter): Fix doc string.
504         * net/tramp-cmds.el: Remove solved todo item.
506         * net/tramp-efs.el:
507         * net/tramp-ftp.el:
508         * net/tramp-gvfs.el:
509         * net/tramp-gw.el:
510         * net/tramp-imap.el:
511         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
512         and `tramp-default-user-alist', respectively.
514         * net/tramp-gw.el (tramp-gw-open-connection):
515         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
517         * net/tramp-imap.el (tramp-imap-make-iht): Use just
518         `tramp-file-name-port'.
520         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
521         and "psftp".  Exchange "%k" marker with options.
522         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
523         Compute size of link target.
524         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
525         `tramp-current-*' up due to gateway methods.  Optimze computing of
526         copy arguments.  Use `tramp-get-connection-name' and
527         `tramp-get-connection-buffer'.  Improve debug messages.
528         (tramp-compute-multi-hops): Remove port determination.
529         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
531         * net/trampver.el: Update release number.
533 2010-12-02  Glenn Morris  <rgm@gnu.org>
535         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
536         Avoid infinite loop over windows.  (Bug#7492)
538         * progmodes/flymake.el (flymake-check-file-limit):
539         Allow nil to mean "no limit".
540         (flymake-check-patch-master-file-buffer): Update for above change.
541         Allow a .tex file-name extension to be optional.
542         (flymake-master-tex-init): Also match \include statements.
544 2010-11-30  Sam Steingold  <sds@gnu.org>
546         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
547         (nxml-parent-document-set): A function to set `nxml-parent-document'.
548         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
549         (nxml-mode-hook): Remove `defcustom' (auto-defined by
550         define-derived-mode').
551         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
552         users who want to call `nxml-parent-document-set'.
554 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
556         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
557         stand-alone lines, since that is handled by log-edit-match-to-eoh
558         (Bug#6465).
560 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
562         * dired.el (dired-get-filename): Replace backslashes with slashes
563         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
564         * locate.el (locate-default-make-command-line): Don't consider
565         drive letter and root directory part of
566         `directory-listing-before-filename-regexp'.  (Bug#7308)
567         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
569 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
571         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
572         of :smie-open/close-alist.
573         (smie-next-sexp): Make it accept a "start token" as argument.
574         (smie-indent-keyword): Be careful not to misidentify tokens that span
575         more than one line, as empty lines.  Add argument `token'.
577 2010-11-27  Kenichi Handa  <handa@m17n.org>
579         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
580         multipart subtypes, insert all as usual.
582         * mail/rmail.el: Require rfc2047.
584 2010-11-27  Kenichi Handa  <handa@m17n.org>
586         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
587         (rmail-mime-entity-disposition)
588         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
589         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
590         (rmail-mime-save): Handle the case that the button's `data' is a
591         MIME entity.
592         (rmail-mime-insert-text): New function.
593         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
594         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
595         (rmail-mime-insert-bulk): New function mostly copied from the old
596         rmail-mime-bulk-handler.
597         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
598         (rmail-mime-process-multipart): New function mostly copied from
599         the old rmail-mime-multipart-handler.
600         (rmail-mime-show): Just call rmail-mime-process.
601         (rmail-mime-process): New function mostly copied from the old
602         rmail-mime-show.
603         (rmail-mime-insert-multipart, rmail-mime-parse)
604         (rmail-mime-insert, rmail-show-mime)
605         (rmail-insert-mime-forwarded-message)
606         (rmail-insert-mime-resent-message): New functions.
607         (rmail-insert-mime-forwarded-message-function): Set to
608         rmail-insert-mime-forwarded-message.
609         (rmail-insert-mime-resent-message-function): Set to
610         rmail-insert-mime-resent-message.
612         * mail/rmailsum.el: Require rfc2047.
613         (rmail-header-summary): Handle multiline Subject: field.
614         (rmail-summary-line-decoder): Change the default to
615         rfc2047-decode-string.
617         * mail/rmail.el (rmail-enable-mime): Change the default to t.
618         (rmail-mime-feature): Change the default to `rmailmm'.
619         (rmail-quit): Delete the specifal code for rmail-enable-mime.
620         (rmail-display-labels): Likewise.
621         (rmail-show-message-1): Check rmail-enable-mime, and use
622         rmail-show-mime-function for a MIME message.  Decode the headers
623         according to RFC2047.
625 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
627         * progmodes/which-func.el (which-func-imenu-joiner-function):
628         Return a string, as expected.
629         (which-function-mode): Make sure we stop any previous timer before
630         starting a new one.
632 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
634         * net/tramp.el (tramp-default-method-alist)
635         (tramp-default-user-alist, tramp-default-proxies-alist):
636         Adapt custom options type.  (Bug#7445)
638 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
640         * progmodes/python.el: Add Ipython support (Bug#5390).
641         (python-shell-prompt-alist)
642         (python-shell-continuation-prompt-alist): New options.
643         (python--set-prompt-regexp): New function.
644         (inferior-python-mode, run-python, python-shell):
645         Require ansi-color.  Use python--set-prompt-regexp to set the comint
646         prompt based on the Python interpreter.
647         (python--prompt-regexp): New var.
648         (python-check-comint-prompt)
649         (python-comint-output-filter-function): Use it.
650         (run-python): Use a pipe (Bug#5694).
652 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
654         * progmodes/python.el (run-python): Doc fix.
655         (python-keep-current-directory-in-path): New var (Bug#7454).
657 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
659         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
660         Prompt user before actually printing.
662 2010-11-27  Glenn Morris  <rgm@gnu.org>
664         * startup.el (package-enable-at-startup, package-initialize):
665         Remove unnecessary declarations.
667 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
669         * international/characters.el (glyphless-char-display-control):
670         Exclude newline and TAB from the c0-control group.
672 2010-11-27  Glenn Morris  <rgm@gnu.org>
674         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
675         (expand-mail-aliases): Remove unnecessary autoload.
677         * allout.el (allout-command-prefix, allout-mode-map): Declare.
679         * shell.el (shell-dir-cookie-re): Move definition before use.
681         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
682         Replace undefined CL functions.
684 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
686         * simple.el (prog-mode): Set bidi-paragraph-direction to
687         left-to-right.
689         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
691 2010-11-26  Glenn Morris  <rgm@gnu.org>
693         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
694         diary-outlook-formats can be sensitive to calendar-date-style.
695         (diary-outlook-formats): Simplify the default setting.
696         (diary-from-outlook-internal): Pass subject and body as arguments.
697         Use dolist rather than dotimes.  Don't save the diary buffer.
698         (diary-from-outlook-gnus, diary-from-outlook-rmail):
699         Pass subject and body as explicit arguments to the -internal function.
701 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
703         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
704         parsing them.  This makes mailto:...?subject=foo\nbar work.
706 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
708         * vc/diff.el (diff): Fix last change.
710 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
712         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
713         (pcase--dontcare-upats): New var.
714         (pcase-let, pcase-let*): Generate better code.
715         Accept the same bodies as `let'.
716         (pcase-dolist): New macro.
717         (pcase--trivial-upat-p): New helper function.
718         (pcase--expand): Strip leading "(let nil" if any.
720 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
722         * mail/mailclient.el (browse-url): Require.
723         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
724         use the external browser function to send the mail (bug#7469).
726         * net/browse-url.el (browse-url-browser-function): Revert the
727         default back to the previous value, since the new value broke
728         mailclient.el.
729         (browse-url-mailto-function): New variable for mailto: URLs.
730         (browse-url): Use the new variable for mailto: URLs.
732 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
734         * eshell/esh-cmd.el (eshell-parse-command):
735         * eshell/esh-arg.el (eshell-parse-arguments):
736         * eshell/em-script.el (eshell-source-file):
737         Use with-silent-modifications.
739 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
741         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
742         for a merge location.
744         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
745         (vc-bzr-merge-branch): Always prompt.
746         (vc-bzr-async-command): Use the full branch filename.
748 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
750         * shell.el (shell): Use current-buffer by default if it's already
751         a shell mode buffer and its process is dead.
752         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
754 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
756         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
757         Mention that the keywords should be comma separated.
759 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
761         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
762         Accept optional prefix arg meaning to prompt for a command.
763         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
764         prefix arg meaning to prompt for a command.
765         (vc-pull): Alias for vc-update.
767         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
768         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
769         (vc-bzr-merge-branch): New functions, implementing merge-branch
770         and pull operations.
772 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
774         * Makefile.in: Fix up last merge.
776         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
777         (diff-sentinel): Get them as arguments instead.
778         (diff-old-file, diff-new-file, diff-extra-args): Remove.
779         (diff-file-local-copy, diff-better-file-name): New funs.
780         (diff-no-select): Rename from diff-into-buffer.
781         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
782         Prefer closures to buffer-local variables.
783         (diff): Adjust accordingly.
784         (diff-buffer-with-file): Move from files.el.
785         * files.el (diff-buffer-with-file): Move to vc/diff.el.
786         (diff-buffer-internal): Remove.
787         (diff-buffer-buffer): Remove.
788         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
789         the buffer name used, and so as not to mess up windows and frames.
791 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
793         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
794         (diff-buffer-internal): New function extracted from diff-buffer-with-file
795         (diff-buffer-with-file): Use it.
796         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
797         (diff): Use it.
799 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
801         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
802         \ref's or \pageref's value as default instead of initial input.
804 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
806         * files.el (backup-by-copying-when-mismatch): The default value is
807         now t.
809         * startup.el (normal-top-level):
810         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
811         `backup-by-copying-when-mismatch'.
813 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
815         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
817 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
819         * progmodes/python.el (python-font-lock-keywords):
820         Highlight top-level augmented assignments (Bug#6445).
822 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
824         * term/ns-win.el (ns-right-control-modifier)
825         (ns-right-command-modifier): Defvar them.
827         * cus-start.el (all): Add ns-right-control-modifier and
828         ns-right-command-modifier (Bug#7458).
830 2010-11-20  Glenn Morris  <rgm@gnu.org>
832         * emacs-lisp/authors.el (authors-ignored-files)
833         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
835 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
837         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
838         (report-emacs-bug-parse-query-results)
839         (report-emacs-bug-create-existing-bugs-buffer): Pass through
840         keywords used for querying the bug database to show them in the
841         existing bugs buffer.
843 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
845         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
847         * info.el (info-tool-bar-map): Add some :vert-only keywords.
849 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
851         * international/characters.el (glyphless-char-display-control):
852         Make it a defcustom, with update-glyphless-char-display as its
853         :set attribute.
854         (top level): Don't call update-glyphless-char-display.
856 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
858         Sync with Tramp 2.2.0.
860         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
861         `file-remote-p' (due to compatibility).
863         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
864         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
866         * net/trampver.el: Update release number.
868 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
870         * faces.el (glyphless-char): Define value for `pc'.
872 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
874         Implemented a bug querying mechanism.
875         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
876         (report-emacs-bug-create-existing-bugs-buffer)
877         (report-emacs-bug-parse-query-results)
878         (report-emacs-bug-query-existing-bugs): New functions.
880 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
882         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
883         a \ref{} or \pageref{} macro, then use its value as initial input.
885 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
887         * calc/calc-units.el (math-build-units-table-buffer):
888         calc/README: Mention that the TeX specific units won't use the
889         `tex' prefix in TeX mode.
890         calc/calc-lang.el (math-variable-table): Don't use the `tex'
891         prefix for units in TeX mode.
893 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
895         * simple.el (kill-new, kill-append, kill-region):
896         * comint.el (comint-kill-region): Make the yank-handler argument
897         obsolete.
899 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
901         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
902         that are both openers (resp. closers) and something else.
903         (smie-grammar): Loosen definition of valid values.
904         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
905         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
906         (smie-indent-after-keyword): Adjust users.
907         (smie-indent-keyword): Don't indent empty lines.
909         * vc-hg.el (vc-hg-program): New var.
910         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
911         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
913 2010-11-18  Glenn Morris  <rgm@gnu.org>
915         * emacs-lisp/autoload.el (autoload-find-destination): The function
916         coding-system-eol-type may return non-numeric values.  (Bug#7414)
918 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
920         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
922 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
924         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
926 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
928         * textmodes/picture.el (picture-mouse-set-point): Don't use
929         posn-col-row; explicitly compute the motion based on the posn at
930         the window-start (Bug#7390).
932 2010-11-18  Glenn Morris  <rgm@gnu.org>
934         * novice.el (disabled-command-function):
935         Fix 2009-11-15 change.  (Bug#7384)
937 2010-11-18  Glenn Morris  <rgm@gnu.org>
939         * calendar/calendar.el (diary-iso-date-forms): Make elements
940         mutually exclusive.  (Bug#7377)
942 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
944         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
945         when filling the remaining "unconstrained" values.
947 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
949         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
950         safety predicate.
952         * files.el (safe-local-variable-p): Gracefully handle errors.
954         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
955         Use smie-indent-virtual when indenting relative to an opener.
956         (smie-rule-separator): Use smie-rule-parent.
957         (smie-indent-keyword): Consult rules, even for openers at bol.
958         (smie-indent-comment-close): Try to align closer's content.
960 2010-11-18  Glenn Morris  <rgm@gnu.org>
962         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
964 2010-11-18  Glenn Morris  <rgm@gnu.org>
966         * printing.el (pr-menu-bind): Doc fix.
968         * speedbar.el (speedbar-toggle-images): Doc fix.
970         * progmodes/python.el (python-shell): Doc fix.
972         * wid-edit.el (widget-field-use-before-change)
973         (widget-use-overlay-change): Doc fixes.
975 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
977         Minor cleanup to improve style.
978         * textmodes/rst.el (rst-update-section): Use point-marker.
979         (rst-get-decoration): Eliminate unneeded assignment.
980         (rst-promote-region, rst-straighten-decorations)
981         (rst-section-tree, rst-adjust): Use point-marker.
982         (rst-toc-mode-mouse-goto): Avoid setq.
983         (rst-shift-region-guts, rst-shift-region-left)
984         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
985         (rst-convert-bullets-to-enumeration): Use copy-marker.
987         * minibuffer.el (completion-fail-discreetly): New var.
988         (completion--do-completion): Use it.
990         * electric.el (electric-pair-pairs): New var.
991         (electric-pair-post-self-insert-function): Use it.
992         (electric-layout-post-self-insert-function): Don't insert a before
993         newline unless it's actually needed.
995 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
997         * progmodes/python.el (run-python): Explain why we remove the current
998         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
1000         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1002 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1004         * progmodes/octave-mod.el: Rely on elecric-*-modes.
1005         (octave-mode-map): Don't bind ;, SPC, and LF.
1006         (octave-auto-indent, octave-auto-newline): Remove.
1007         (electric-layout-rules): Declare.
1008         (octave-mode): Set electric-layout-rules.
1009         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1010         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1011         (octave-electric-space): Remove.
1013         * electric.el (electric-layout-mode): New minor mode.
1014         (electric--after-char-pos): New function.
1015         (electric-indent-post-self-insert-function): Use it.
1016         (electric-layout-rules): New var.
1017         (electric-layout-post-self-insert-function): New function.
1018         (electric-indent-mode): Make them interact better.
1020 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1022         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1023         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1024         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1026 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
1028         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1029         Make sure to check inside the word (Bug#6761).
1031 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
1033         * startup.el (command-line): If the cursorColor resource is set,
1034         change the cursor face-spec (Bug#7392).
1036 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
1038         The main features of the following allout.el changes are:
1039         - implement user customization for the allout key bindings
1040         - add a customization control by which the user can inhibit use of
1041           a trailing Ctrl-H, so by default it's reserved for use with
1042           describe-prefix-bindings
1043         - adapt to new version of called-interactively-p, while
1044           maintaining backwards compatibility with old version
1045         - fix hotspot navigation so i works properly with meta-modified keys
1047         * allout.el (allout-keybindings, allout-bind-keys)
1048         (allout-keybindings-binding, allout-prefixed-keybindings)
1049         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1050         (allout-keybindings-list, allout-mode-map-adjustments)
1051         (allout-setup-mode-map): Establish allout-mode keymaps as user
1052         customizable settings, and also establish a customizable setting which
1053         regulates whether or not a trailing control-h is reserved for use with
1054         describe-prefix-bindings - and inhibit it by default, so that control-h
1055         *is* reserved for describe-prefix-bindings unless the user changes it.
1057         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1058         and accurately between modified and unmodified events, and handle
1059         modified events more comprehensively.
1061         * allout.el (allout-substring-no-properties):
1062         Alias to use or provide version of `substring-no-properties'.
1063         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1065         * allout.el (allout-next-single-char-property-change):
1066         Alias to use or provide version of `next-single-char-property-change'.
1067         (allout-annotate-hidden, allout-hide-by-annotation):
1068         Use `allout-next-single-char-property-change'.
1070         * allout.el (allout-select-safe-coding-system):
1071         Alias to use or provide version of `select-safe-coding-system'.
1072         (allout-toggle-subtree-encryption):
1073         Use `allout-select-safe-coding-system'.
1075         * allout.el (allout-set-buffer-multibyte):
1076         Alias to use or provide version of `set-buffer-multibyte'.
1077         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1079         * allout.el (allout-called-interactively-p): Macro for using the
1080         different versions of called-interactively-p identically, depending on
1081         the subroutine's argument signature.
1082         (allout-back-to-current-heading, allout-beginning-of-current-entry):
1083         Use `(interactive "p")' instead of `(called-interactively-p)'.
1085         * allout.el (allout-init, allout-ascend, allout-end-of-level)
1086         (allout-previous-visible-heading, allout-forward-current-level)
1087         (allout-backward-current-level, allout-show-children):
1088         Use `allout-called-interactively-p' instead of `called-interactively-p'.
1090         * allout.el (allout-before-change-handler):
1091         Exempt edits to the (overlaid) character after the allout outline
1092         bullet from edit confirmation prompt.
1094         * allout.el (allout-add-resumptions):
1095         Ensure that it respects correct buffer for keybindings.
1097         * allout.el (allout-beginning-of-line):
1098         Use `allout-previous-single-char-property-change' alias for the sake of
1099         diverse compatibility.
1101         * allout.el (allout-end-of-line):
1102         Use `allout-mark-active-p' to encapsulate respect for mark activity.
1104 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
1106         * frame.el (frame-notice-user-settings): Don't clobber other
1107         user-set parameters when calling face-set-after-frame-default in
1108         response to background-color parameter (Bug#7373).
1110 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
1112         * international/characters.el (glyphless-char-display-control):
1113         Rename from glyphless-char-control; all users changed.  Doc fix.
1114         Signal an error if display method is not one of the recognized
1115         symbols.
1117 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
1119         * net/tramp-compat.el (tramp-compat-line-beginning-position)
1120         (tramp-compat-line-end-position): Remove them.
1122         * net/tramp.el (tramp-parse-rhosts-group)
1123         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1124         (tramp-parse-hosts-group, tramp-parse-passwd-group)
1125         (tramp-parse-netrc-group, tramp-parse-putty-group)
1126         * net/tramp-cmds.el (tramp-append-tramp-buffers)
1127         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1128         (tramp-sh-handle-file-selinux-context)
1129         (tramp-sh-handle-file-name-all-completions)
1130         (tramp-sh-handle-insert-directory)
1131         (tramp-sh-handle-expand-file-name, tramp-find-executable)
1132         (tramp-wait-for-output, tramp-send-command-and-read)
1133         * net/tramp-smb.el (tramp-smb-read-file-entry)
1134         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1136         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1137         `point-at-bol'.
1138         (tramp-remote-coding-commands): Add an alternative using "base64
1139         -d -i".  This is needed for older base64 versions from GNU
1140         coreutils.  Reported by Klaus Reichl
1141         <Klaus.Reichl@thalesgroup.com>.
1143 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
1145         * simple.el (count-words-region): New function.
1147 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1149         * shell.el (shell-dir-cookie-re): New custom variable.
1150         (shell-dir-cookie-watcher): New function.
1152         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1153         and compilation-mode (bug#7350).
1155         * vc/smerge-mode.el (smerge-refine): Choose better default part to
1156         highlight when one of them is empty.
1158         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1159         trailing space.
1160         (skeleton-newline): New function.
1161         (skeleton-internal-1): Use it.
1163         * simple.el (open-line): `newline' may strip trailing space.
1165 2010-11-12  Kevin Ryde  <user42@zip.com.au>
1167         * international/mule-cmds.el (princ-list): Use mapc.
1169 2010-11-12  Glenn Morris  <rgm@gnu.org>
1171         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1172         Use it to replace all instances of "*Compile-Log*"
1174 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1176         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1177         indentation specs.
1179 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1181         * progmodes/modula2.el: Use SMIE and skeleton.
1182         (m2-mode-syntax-table): (*..*) can be nested.
1183         Add //...\n.  Fix paren syntax.
1184         (m2-mode-map): Remove LF and TAB bindings.
1185         (m2-indent): Add safety property.
1186         (m2-smie-grammar): New var.
1187         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1188         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1189         (m2-mode): Use define-derived-mode.
1190         (m2-newline, m2-tab): Remove.
1191         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1192         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1193         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1194         (m2-import): Use define-skeleton.
1196 2010-11-11  Glenn Morris  <rgm@gnu.org>
1198         * obsolete/lucid.el: Don't warn about any CL functions in this file.
1200         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1201         (ls-lisp-verbosity): Add custom :set-after property.
1202         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1203         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1204         (ls-lisp-insert-directory): Update caller.
1205         (ls-lisp-set-options): New function.
1206         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1207         Doc fix.
1209         * play/landmark.el (lm-prompt-for-move):
1210         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1212         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1214         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1215         (idlwave-study-twins): Prefix dynamic local variable `name'.
1216         (idlwave-routine-twin-compare): Update for above change.
1218         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1219         Prefix dynamic local variables `name', `kwd', and `link'.
1220         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1221         * progmodes/idlw-complete-structtag.el
1222         (idlwave-complete-structure-tag-help):
1223         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1224         (idlwave-complete-sysvar-tag-help)
1225         (idlwave-complete-class-structure-tag-help):
1226         Update for above name changes.
1228 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1230         * net/browse-url.el (browse-url-browser-function): Change the
1231         default to use `browse-url-mail' on mailto: URLs.
1233 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
1235         * emacs-lisp/package.el (package-read-all-archive-contents):
1236         Reset package-archive-contents to nil before re-reading.
1238 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
1240         * textmodes/flyspell.el (flyspell-word): Do not re-check words
1241         already found as misspellings by (flyspell-large-region), just
1242         do highlighting (bug#7322).
1244 2010-11-10  Glenn Morris  <rgm@gnu.org>
1246         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1248         * emulation/edt.el (edt-with-position): New macro.
1249         (edt-find-forward, edt-find-backward, edt-find-next-forward)
1250         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1251         (edt-paragraph-forward, edt-paragraph-backward): Use it.
1253         * emulation/tpu-extras.el (tpu-with-position): New macro.
1254         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1256         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1258         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1259         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1260         (texinfo-master-menu, texinfo-insert-node-lines)
1261         (texinfo-multiple-files-update):
1262         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1263         Use line-beginning-position.
1265         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1266         No recent Emacs supports system-type `emx'.
1268         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1269         (ada-command-separator, ada-default-prj-properties)
1270         (ada-find-any-references): Update for above name change.
1272         * dirtrack.el (dirtrack-directory-function)
1273         (dirtrack-canonicalize-function):
1274         * filecache.el (file-cache-completion-ignore-case)
1275         (file-cache-case-fold-search, file-cache-ignore-case):
1276         * term.el (serial-port-is-file-p): Cosmetic change.
1278         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1279         Remove non-existent `windows-95' system-type.
1280         * dired.el (dired-chown-program): Remove non-existent `linux'
1281         system-type.
1283         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1284         (ping-program-options): Remove non-existent `linux' system-type.
1286         * startup.el (package-initialize): Update declaration.
1288         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1289         (ls-lisp-handle-switches): Use time-less-p.
1290         (ls-lisp-format-time): Use float-time.
1292         * textmodes/remember.el (remember-time-to-seconds): Remove.
1293         (remember-store-in-mailbox): Use float-time.
1295         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1297         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1298         never a real function.
1299         (with-no-warnings): Remove compat stub, now unused.
1300         (time-less-p): Doc fix.
1301         (time-to-number-of-days): Simplify.
1303         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1304         Remove.
1305         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1306         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1307         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1308         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1309         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1311         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1312         (eshell-shuffle-files, eshell-shorthand-tar-command)
1313         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1314         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1315         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1316         Prefix dynamic local variable `matches'.
1318         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1319         Prefix dynamic local variable `skeleton'.
1321 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1323         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1324         in mail buffer; make yank-action always a command that yanks original
1325         buffer.
1327 2010-11-09  Glenn Morris  <rgm@gnu.org>
1329         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1331 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1333         * minibuffer.el (minibuffer-completion-help): Specify the end of the
1334         completion field (bug#7211).
1336         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1337         Fix handling of backslash escapes.
1338         (python-quote-syntax): Adjust accordingly.
1340 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
1342         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1343         (vc-mtn-workfile-branch): Adjust to new output format.
1345 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1347         * international/mule-cmds.el (princ-list): Mark as obsolete.
1349 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1351         * emacs-lisp/smie.el: New package.
1353 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
1355         * files.el (backup-by-copying-when-mismatch):
1356         Set `permanent-local' property.
1358         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1359         `permanent-local' property for `backup-by-copying-when-mismatch'.
1361 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
1363         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
1365 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
1367         * progmodes/verilog-mode.el (verilog-insert-one-definition)
1368         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1369         AUTOINOUT for SV style multidimensional arrays, bug294.
1370         Reported by Eric Mastromarchi.
1371         (verilog-preprocess): Use with-current-buffer and
1372         font-lock-fontify-buffer to cleanup style issues.
1374 2010-11-09  Glenn Morris  <rgm@gnu.org>
1376         * locate.el (locate, locate-mode): Doc fixes.
1378 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
1380         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1381         user for confirmation.
1382         (server-force-stop): Use it.
1383         (server-start): Use server-force-stop for kill-emacs-hook, to
1384         avoid user interaction while killing Emacs.
1386 2010-11-09  Glenn Morris  <rgm@gnu.org>
1388         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1389         (meta-indent-line): Simplify.
1391         * vc/emerge.el (emerge-line-number-in-buf):
1392         * textmodes/ispell.el (ispell-region):
1393         * textmodes/fill.el (current-fill-column):
1394         * progmodes/xscheme.el (xscheme-send-current-line):
1395         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1396         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1397         * progmodes/sh-script.el (sh-handle-prev-do):
1398         * progmodes/meta-mode.el (meta-indent-line):
1399         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1400         (idlwave-in-quote):
1401         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1402         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1403         * progmodes/fortran.el (fortran-looking-at-if-then):
1404         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1405         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1406         (cperl-find-pods-heres):
1407         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1408         * net/quickurl.el (quickurl-list-insert):
1409         * net/ldap.el (ldap-search-internal):
1410         * net/eudc.el (eudc-expand-inline):
1411         * mail/sendmail.el (sendmail-send-it):
1412         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1413         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1414         (viper-brac-function):
1415         * calc/calc-yank.el (calc-do-grab-region):
1416         * calc/calc-keypd.el (calc-keypad-press):
1417         * term.el (term-move-columns, term-insert-spaces):
1418         * speedbar.el (speedbar-highlight-one-tag-line):
1419         * simple.el (current-word):
1420         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1421         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1422         (Info-scroll-down):
1423         * hippie-exp.el (he-line-beg):
1424         * epa.el (epa--marked-keys):
1425         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1426         (dired-update-file-line, dired-add-entry, dired-remove-entry)
1427         (dired-relist-entry):
1428         * buff-menu.el (Buffer-menu-buffer):
1429         * array.el (current-line):
1430         * allout.el (allout-resolve-xref)
1431         (allout-latex-verbatim-quote-curr-line):
1432         Replace yet more uses of end-of-line etc with line-end-position, etc.
1434 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1436         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1437         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1438         (checkdoc-syntax-table): Initialize in the declaration.
1439         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1440         the mode on unconditionally.
1442         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1443         (extent-end-position, extent-start-position): Remove setf method for
1444         non-existing functions (bug#7319).
1446 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1448         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1449         (smie-precs->prec2): Rename from smie-precs-precedence-table.
1450         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1451         (smie-prec2->grammar): Rename from smie-prec2-levels.
1452         (smie-grammar): Rename from smie-op-levels.
1453         (smie-indent--hanging-p): Rename from smie-hanging-p.
1454         (smie-rule-hanging-p): New alias.
1455         (smie-indent--bolp): Rename from smie-bolp.
1456         (smie-indent--hanging-p): New alias.
1457         (smie--token): New dynamically bound variable.
1458         (smie-indent--parent): New function.
1459         (smie-rule-parent-p): Use it; rename from smie-parent-p.
1460         (smie-rule-next-p): Rename from smie-next-p.
1461         (smie-rule-prev-p): Rename from smie-prev-p.
1462         (smie-rule-sibling-p, smie-rule-parent)
1463         (smie-indent--separator-outdent, smie-rule-separator): New functions.
1464         (smie-rule-separator-outdent): New var.
1465         (smie-indent--rule): Merge with smie-indent--column.
1466         (smie-indent-forward-token, smie-indent-backward-token):
1467         Also recognize close parens.
1468         (smie-indent-keyword): Don't use smie-indent--column any more.
1469         (smie-indent-after-keyword): Ignore closers by default.
1470         (smie-indent-line): Use with-demoted-errors.
1471         * progmodes/octave-mod.el (octave-smie-grammar):
1472         Rename from octave-smie-op-levels.
1473         (octave-smie-rules): Adjust to new behavior.
1474         * progmodes/prolog.el (prolog-smie-grammar):
1475         Rename from prolog-smie-op-levels.
1477 2010-11-07  Glenn Morris  <rgm@gnu.org>
1479         * eshell/esh-util.el (subst-char-in-string)
1480         (directory-files-and-attributes): These compatibility definitions are
1481         not needed on any version of Emacs since at least 21.4.
1483         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1484         (verilog-get-end-of-line): Remove.
1485         (verilog-within-string, verilog-re-search-forward-substr)
1486         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1487         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1488         Use point-at-bol, point-at-eol.
1489         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1490         Remove.
1491         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1492         (electric-pascal-terminate-line, pascal-set-auto-comments)
1493         (pascal-indent-paramlist, pascal-indent-declaration)
1494         (pascal-get-lineup-indent, pascal-func-completion)
1495         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1496         Use point-at-bol, point-at-eol.
1497         * progmodes/flymake.el (flymake-line-beginning-position)
1498         (flymake-line-end-position): Remove.
1499         (flymake-highlight-line): Use point-at-bol, point-at-eol.
1500         * eshell/esh-util.el (line-end-position, line-beginning-position):
1501         Remove compat definitions.
1503         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1504         Use end-of-line N.
1505         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1506         Use line-end-position.
1508         * emacs-lisp/chart.el (chart-zap-chars):
1509         * play/decipher.el (decipher-set-map):
1510         * progmodes/ada-mode.el (ada-get-current-indent)
1511         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1512         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1513         * progmodes/ada-xref.el (ada-initialize-runtime-library)
1514         (ada-get-all-references):
1515         * progmodes/cperl-mode.el (cperl-electric-paren)
1516         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1517         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1518         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1519         (cperl-word-at-point-hard):
1520         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1521         (idlwave-shell-filename-string, idlwave-shell-batch-command)
1522         (idlwave-shell-display-line):
1523         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1524         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1525         * progmodes/js.el (js--re-search-forward-inner)
1526         (js--re-search-backward-inner):
1527         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1528         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1529         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1530         * textmodes/flyspell.el (flyspell-process-localwords):
1531         * textmodes/ispell.el (ispell-buffer-local-parsing)
1532         (ispell-buffer-local-dict, ispell-buffer-local-words):
1533         Use point-at-bol and point-at-eol.
1535         * speedbar.el (speedbar-generic-item-info)
1536         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1537         (speedbar-add-indicator, speedbar-check-vc-this-line)
1538         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1539         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1540         Replace more uses of end-of-line etc with line-end-position.
1542 2010-11-06  Glenn Morris  <rgm@gnu.org>
1544         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1545         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1546         (texinfo-delete-existing-pointers, texinfo-find-pointer)
1547         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1548         (texinfo-multiple-files-update):
1549         * textmodes/table.el (table--probe-cell-left-up)
1550         (table--probe-cell-right-bottom):
1551         * textmodes/picture.el (picture-tab-search):
1552         * textmodes/page-ext.el (pages-copy-header-and-position)
1553         (pages-directory-for-addresses):
1554         * progmodes/vera-mode.el (vera-get-offset):
1555         * progmodes/simula.el (simula-calculate-indent):
1556         * progmodes/python.el (python-pdbtrack-overlay-arrow):
1557         * progmodes/prolog.el (end-of-prolog-clause):
1558         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1559         * progmodes/icon.el (indent-icon-exp):
1560         * progmodes/etags.el (tag-re-match-p):
1561         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1562         * progmodes/ebnf2ps.el (ebnf-begin-file):
1563         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1564         (dcl-save-local-variable):
1565         * play/life.el (life-setup):
1566         * play/gametree.el (gametree-looking-at-ply):
1567         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1568         * mail/sendmail.el (mail-mode-auto-fill):
1569         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1570         * emacs-lisp/edebug.el (edebug-overlay-arrow):
1571         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1572         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1573         (woman-tab-to-tab-stop, WoMan-warn-ignored):
1574         * type-break.el (type-break-file-keystroke-count):
1575         * term.el (term-replace-by-expanded-history-before-point)
1576         (term-skip-prompt, term-extract-string):
1577         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1578         (speedbar-contract-line, speedbar-toggle-line-expansion)
1579         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1580         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1581         * sort.el (sort-skip-fields):
1582         * skeleton.el (skeleton-internal-list):
1583         * simple.el (line-move-finish, line-move-to-column):
1584         * shell.el (shell-forward-command):
1585         * misc.el (copy-from-above-command):
1586         * makesum.el (double-column):
1587         * ebuff-menu.el (electric-buffer-update-highlight):
1588         * dired.el (dired-move-to-end-of-filename):
1589         * dframe.el (dframe-popup-kludge):
1590         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1591         * arc-mode.el (archive-get-lineno):
1592         Use line-end-position and line-beginning-position.
1594         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1595         (idlwave-study-twins): Prefix dynamic local `class'.
1596         (idlwave-routine-twin-compare): Update for above name change.
1598         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1599         Use boundp tests to silence compiler.  Update for changed name of
1600         bytecomp-filename variable.
1602         * emulation/viper-cmd.el (viper-read-string-with-history):
1603         Prefix dynamic local `initial'.
1604         (viper-minibuffer-standard-hook): Update for above name change.
1606         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1607         (elint-init-form): Update for above name change.
1609         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1610         local variables `cbeg' and `cend' a prefix.
1611         (mail-extr-voodoo): Update for above name change.
1613         * textmodes/reftex-toc.el (reftex-toc-do-promote)
1614         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1615         (reftex-toc-promote-action): Doc fix.
1617         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1618         `prompt', `data' a prefix.
1619         (reftex-select-post-command-hook, reftex-select-callback)
1620         (reftex-select-mouse-accept, reftex-select-read-cite):
1621         Update for above name changes.
1623         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1624         `refstyle' to reftex-refstyle.
1625         (reftex-offer-label-menu): Update for above name change.
1626         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1627         `refstyle' name change.
1629         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1630         with with-current-buffer.
1631         (diff, template): Give dynamic local variables a prefix.
1632         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1633         (emerge-line-number-in-buf): Update for above name change.
1634         (emerge-combine-versions-internal): Rename local `template' to
1635         emerge-combine-template.
1636         (emerge-combine-versions-edit): Update for above name change.
1638 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
1640         * textmodes/reftex-cite.el
1641         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1642         entries with whitespace after \bibitem.
1643         (reftex-create-bibtex-file): Match entries containing numbers and
1644         symbol constituents.  Make sure that entries with whitespace at
1645         various places are found.
1647 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
1649         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1651 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
1653         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1655 2010-11-05  Glenn Morris  <rgm@gnu.org>
1657         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1658         (woman2-roff-buffer): Give local variable `request' a prefix.
1659         (woman0-macro): Rename argument `request' in the same way.
1660         (woman-request): New name for `request' dynamic variable.
1661         (woman-unquote, woman-forward-arg): Update for above name change.
1662         (woman1-roff-buffer): Give local variable `unquote' a prefix.
1663         (woman1-unquote): New name for `unquote' dynamic variable.
1664         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1665         (woman-translations): Rename from `translations'.  No longer global.
1666         (woman2-tr, woman-translate): Update for above name change.
1667         (woman-translate): Check for bound variable.
1668         (woman2-roff-buffer): Give local variable `translations' a prefix.
1670         * play/doctor.el: Give all local variables a prefix.  Update callers.
1671         (doc$, doctor-put-meaning): Use backquote.
1673         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1674         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1676         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1677         variables bytes, ptr, op a prefix.
1678         (disassemble-offset): Update for above change.
1680 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1682         * emacs-lisp/package.el (package-unpack): Remove no-op.
1683         (package--builtins, package--dir): Doc fix.
1684         (package-activate-1, package-activate, package-install)
1685         (package-compute-transaction): Fix error message.
1686         (package-delete): Use delete-directory.  Omit system packages.
1687         (package-initialize): Set package-alist to nil first.
1688         (package-menu-mark-delete, package-menu-mark-install): Don't add
1689         symbols that are inconsistent with the package state.
1690         (package-menu-execute): Perform deletions and installations as
1691         single batch operations.
1693 2010-11-03  Glenn Morris  <rgm@gnu.org>
1695         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1696         (props): Remove unnecessary declaration.
1698         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1699         set-process-query-on-exit-flag.
1701         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1702         (reftex-toc-do-promote): Remove unused local `mpos'.
1703         (reftex-toc-restore-region): Make `mpos' local to this function.
1705         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1707         * play/landmark.el (lm-losing-threshold): Correct spelling.
1708         (lm-human-plays): Use new name.
1710         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1711         (gomoku-human-plays): Use new name.
1713         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1714         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1715         (gomoku-score-trans-table, gomoku-winning-threshold)
1716         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1718 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1720         * emacs-lisp/package.el: Don't put built-in packages in
1721         package-alist, to avoid loading inefficiencies.
1722         (package-built-in-p): Make VERSION optional, and treat it as a
1723         minimum acceptable version.
1724         (package-activate): Search separately for built-in packages.
1725         Emit a warning if a dependency fails.
1726         (define-package): Handle most common case, where there is no
1727         obsolete package, first.
1728         (package-compute-transaction): Print required version in error.
1729         (package--initialized): New variable.
1730         (list-packages): Use it.
1731         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
1732         built-in packages in packages-alist; keep it separate.
1733         Set package--initialized.
1734         (describe-package): Avoid activating packages as a side-effect.
1735         Search separately for built-in packages.
1736         (describe-package-1): Handle the case where an elpa package is
1737         simultaneously built-in and available/installed.
1738         (package-installed-p, package--generate-package-list):
1739         Search separately for built-in packages.
1740         (package-load-descriptor): Doc fix.
1742 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1744         * progmodes/perl-mode.el (perl-syntax-propertize-function):
1745         Handle __DATA__ and __END__.
1747 2010-11-02  Noah Friedman  <friedman@splode.com>
1749         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1750         nil, do not ask to recompile files that are not already compiled,
1751         and do not recompile them.
1753 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
1755         * emacs-lisp/package.el (package-initialize): Ensure that
1756         obsoleted built-in packages are not in package-activated-list
1757         during activation.
1758         (describe-package-1): Make the "installed" status override
1759         "built-in".
1761 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1763         * subr.el (version-separator, version-regexp-alist): Remove '*'
1764         from docstring.
1765         (version-list-<=, version<=, version=): Doc fix.
1767 2010-11-01  Kenichi Handa  <handa@m17n.org>
1769         * faces.el (glyphless-char): Inherit underline for tty.
1771 2010-11-01  Kenichi Handa  <handa@m17n.org>
1773         Implement various display methods for glyphless characters.
1775         * international/characters.el (char-acronym-table): New variable.
1776         (glyphless-char-control): New variable.
1777         (update-glyphless-char-display): New funciton.
1779         * faces.el (glyphless-char): New face.
1781 2010-11-01  Glenn Morris  <rgm@gnu.org>
1783         * calendar/holidays.el (general-holidays, oriental-holidays)
1784         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1785         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1786         the definitions of their targets.
1788         * emacs-lisp/smie.el (smie): New custom group.
1789         (smie-blink-matching-inners, smie-indent-basic): Add :group.
1791         * faces.el (xw-defined-colors, x-setup-function-keys):
1792         * mouse-sel.el (x-select-text):
1793         * term/w32console.el (x-setup-function-keys): Update declarations.
1795         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1797         * textmodes/ispell.el (comment-add): Declare.
1799         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1800         Declare.
1802         * info.el (finder-keywords-hash, package-alist): Declare.
1804 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1806         * finder.el (finder-compile-keywords): Don't use intern-soft,
1807         since package names may not yet exist in the obarray.
1809 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1811         * vc/vc-arch.el (vc-arch-checkin):
1812         * vc/vc-cvs.el (vc-cvs-checkin):
1813         * vc/vc-mtn.el (vc-mtn-checkin):
1814         * vc/vc-rcs.el (vc-rcs-checkin):
1815         * vc/vc-sccs.el (vc-sccs-checkin):
1816         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1817         since 2010-04-21 commit by Stefan Monnier.
1819 2010-11-01  Glenn Morris  <rgm@gnu.org>
1821         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1823         * startup.el (package-enable-at-startup, package-initialize):
1824         Silence compiler.
1826         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1827         Silence compiler.
1829 2010-10-31  Julien Danjou  <julien@danjou.info>
1831         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1832         (byte-recompile-directory):
1833         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1834         Use `byte-recompile-file'.
1836 2010-10-31  Glenn Morris  <rgm@gnu.org>
1838         * cus-start.el: Handle standard values via a keyword.
1839         Only set version property if specified.
1840         (cursor-in-non-selected-windows, menu-bar-mode)
1841         (tool-bar-mode, show-trailing-whitespace):
1842         Do not specify standard values.
1843         (transient-mark-mode, temporary-file-directory): Use :standard.
1845 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
1847         * term/x-win.el (x-get-selection-value): New function that gets
1848         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1850 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
1852         * net/tramp.el (tramp-handle-insert-file-contents): For root,
1853         preserve owner and group when editing files.  (Bug#7289)
1855 2010-10-31  Glenn Morris  <rgm@gnu.org>
1857         * speedbar.el (speedbar-mode):
1858         * play/fortune.el (fortune-in-buffer, fortune):
1859         * play/gomoku.el (gomoku-mode):
1860         * play/landmark.el (lm-mode):
1861         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1862         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
1864         * select.el (x-selection): Mark it as an obsolete alias.
1866 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1868         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1869         major-mode (bug#7284).
1871 2010-10-31  Glenn Morris  <rgm@gnu.org>
1873         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1874         rather than just an unused variable that inherits from the real one.
1876 2010-10-31  Alan Mackenzie  <acm@muc.de>
1878         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1879         This fixes bug #7185.
1881 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
1883         * startup.el (command-line): Search for package directories, and
1884         don't load package.el if none are found.
1886         * emacs-lisp/package.el (describe-package, list-packages):
1887         Call package-initialize if it has not been called yet.
1889 2010-10-30  Alan Mackenzie  <acm@muc.de>
1891         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1892         which fontifies the tail of an enum.
1893         (c-basic-matchers-after): Insert a call to the above new function.
1894         This fixes bug #7264.
1896 2010-10-30  Glenn Morris  <rgm@gnu.org>
1898         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1899         tool-bar-mode, transient-mark-mode.  (Bug#7306)
1900         Include the :set property in the dumped Emacs.
1902 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1904         SMIE: change indent rules format, improve smie-setup.
1905         * emacs-lisp/smie.el (smie-precs-precedence-table)
1906         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1907         Mark them pure so the tables gets built at compile time.
1908         (smie-bnf-precedence-table): Store the closer-alist in the table.
1909         (smie-prec2-levels): Preserve the closer-alist.
1910         (smie-blink-matching-open): Be more forgiving in case of indentation.
1911         (smie-hanging-p): Rename from smie-indent--hanging-p.
1912         (smie-bolp): Rename from smie-indent--bolp.
1913         (smie--parent, smie--after): New dynamic vars.
1914         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1915         (smie-indent-rules): Remove.
1916         (smie-indent--offset-rule): Remove fun.
1917         (smie-rules-function): New var.
1918         (smie-indent--rule): New fun.
1919         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1920         (smie-indent-exps): Use it.
1921         (smie-setup): Setup paren blinking; add keyword args for token
1922         functions; extract closer-alist from op-levels.
1923         (smie-indent-debug-log): Remove var.
1924         (smie-indent-debug): Remove fun.
1925         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1926         (prolog-smie-rules): New fun to replace it.
1927         (prolog-mode-variables): Simplify.
1928         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1929         it's setup automatically.
1930         (octave-smie-indent-rules): Remove.
1931         (octave-smie-rules): New fun to replace it.
1932         (octave-mode): Simplify.
1934 2010-10-29  Glenn Morris  <rgm@gnu.org>
1936         * files.el (temporary-file-directory): Remove (already defined in C).
1937         * cus-start.el: Add temporary-file-directory.
1939         * abbrev.el (abbrev-mode):
1940         * composite.el (auto-composition-mode):
1941         * menu-bar.el (menu-bar-mode):
1942         * simple.el (transient-mark-mode):
1943         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1944         that they do not define the associated variables twice.
1945         * simple.el (transient-mark-mode): Remove defvar.
1946         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1947         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1948         Handle multiple groups, and also custom-delayed-init-variables.
1949         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1951 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1953         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1954         (pcase-if): Add one minor optimization.
1955         (pcase-split-equal): Rename from pcase-split-eq.
1956         (pcase-split-member): Rename from pcase-split-memq.
1957         (pcase-u1): Add strings to the member optimization.
1958         Add `guard' variant of predicates.
1959         (pcase-q1): Add string patterns.
1961 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1963         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1965 2010-10-28  Glenn Morris  <rgm@gnu.org>
1967         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1968         Move menu-bar related settings to ../menu-bar.el.
1969         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1970         Move ns-specific settings here from term/ns-win.el.
1972         * simple.el (x-selection-owner-p): Remove unused declaration.
1974 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1976         * minibuffer.el (completion-cycling): New var (bug#7266).
1977         (minibuffer-complete, completion--do-completion):
1978         Use completion--flush-all-sorted-completions.
1979         (minibuffer-complete): Only cycle if completion-cycling is set.
1980         (completion--flush-all-sorted-completions): Unset completion-cycling.
1981         (minibuffer-force-complete): Set completion-cycling.
1982         (completion-all-sorted-completions): Move declaration before first use.
1984 2010-10-28  Leo  <sdl.web@gmail.com>
1986         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1987         which changes the order of matches seen by users (bug#7231).
1989 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
1991         * progmodes/compile.el (compilation-mode-font-lock-keywords):
1992         Don't confuse -omega as "-o mega".
1994 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1996         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1997         (log-edit-author): New dynamic var.
1998         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1999         to return the author if different from committer.
2000         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2002         * play/landmark.el: Adjust commenting convention.
2003         (lm-nil-score): Rename from nil-score.
2004         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2005         (OOOOscore): Move into a let in lm-score-trans-table.
2006         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2008         * electric.el (electric-indent-chars): Autoload.
2009         * progmodes/octave-mod.el (octave-mode):
2010         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2011         (ruby-mode-abbrev-table): Merge initialization and declaration.
2013 2010-10-27  Glenn Morris  <rgm@gnu.org>
2015         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2016         variable.
2018         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2020         * term/ns-win.el: Restore require of cl when compiling.
2021         (menu-bar-final-items): Remove non-existent `windows' menu.
2022         (ns-handle-nxopen): Optionally handle the temp-case.
2023         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2024         (ns-insert-file, ns-find-file): Use `pop'.
2026 2010-10-26  Glenn Morris  <rgm@gnu.org>
2028         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2030 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
2032         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2033         global map.
2034         * term/common-win.el (x-setup-function-keys): Remove most of the
2035         keymappings.  Comment on the remaining ones.
2037 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
2039         * server.el (server-port): New option.  (Bug#854)
2040         (server-start): Use server-port.
2042 2010-10-26  Glenn Morris  <rgm@gnu.org>
2044         * term/ns-win.el (ns-version-string): Remove unused declaration.
2045         (ns-invocation-args): Change to x-invocation-args.
2046         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2047         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2048         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2049         Use x-invocation-args instead of ns-invocation-args.
2050         (ns-initialize-window-system, handle-args-function-alist):
2051         Use x-handle-args instead of ns-handle-args.
2052         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2053         * startup.el (command-line-ns-option-alist): Replace
2054         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2055         ns-handle-iconic with the x- equivalents.
2057         * term/common-win.el (x-select-enable-clipboard):
2058         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2060         * term/ns-win.el: No need to require cl when compiling.
2061         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2062         (xw-defined-colors): Use the common-win definitions.
2063         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2064         (ns-handle-iconic): Make it an alias for x-handle-iconic.
2065         * term/common-win.el (x-select-text, x-alternatives-map)
2066         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2067         * loadup.el [ns]: Load common-win.
2069 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
2071         * epa-mail.el (epa-mail-encrypt): Handle local-part only
2072         recipients; expand mail aliases (Bug#7280).
2074 2010-10-25  Glenn Morris  <rgm@gnu.org>
2076         * term/common-win.el (x-handle-switch): Simplify with pop.
2077         Optionally handle numeric switches.
2078         (x-handle-numeric-switch): Just call x-handle-switch.
2079         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2080         (x-handle-name-switch, x-handle-display, x-handle-args):
2081         Simplify with pop.
2083         * term/ns-win.el: Do not require easymenu.
2084         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2085         <spell>: Move adjustments to menu-bar.el.
2086         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2087         <separator-undo, spell>: Move ns-win's adjustments here.
2088         * loadup.el [ns]: Do not load easymenu.
2090 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2092         * image.el (image-checkbox-checked, image-checkbox-unchecked):
2093         Delete (Bug#7222).
2095         * startup.el (fancy-startup-tail): Instead of using inline images,
2096         refer to image files from etc/.
2098         * wid-edit.el (checkbox): Likewise.
2099         (widget-image-find): Center image specs.
2101 2010-10-24  Glenn Morris  <rgm@gnu.org>
2103         * term/ns-win.el (x-select-text): Doc fix.
2104         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2105         (x-select-text): Move to term/common-win.
2106         * term/w32-win.el (xw-defined-colors): Move to common-win.
2107         * term/x-win.el (xw-defined-colors, x-alternatives-map)
2108         (x-setup-function-keys, x-select-text): Move to common-win.
2109         * term/common-win.el (x-select-text, x-alternatives-map)
2110         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2111         definitions here.
2113 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
2115         * net/mairix.el (mairix-searches-mode-map):
2116         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2118 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
2120         * verilog-mode.el (verilog-directive-re): Make this variable
2121         auto-built for efficiency of execution and updating.
2122         (verilog-extended-complete-re): Support 'pure' fucntion & task
2123         declarations (these have no bodies).
2124         (verilog-beg-of-statement): General cleanup to enable support of
2125         'pure' fucntion & task declarations (these have no bodies).
2126         These efforts together fix Verilog bug210 from veripool; which was also
2127         noticed by Steve Pearlmutter.
2128         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2129         (verilog-directive-nest-re, verilog-set-auto-endcomments):
2130         Support `elsif.  Reported by Shankar Giri.
2131         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2132         attribute handling for lining up declarations and assignments.
2133         (verilog-beg-of-statement-1): Fix issue where continued declaration
2134         is indented differently if it is after a begin..end clock.
2135         (verilog-in-attribute-p, verilog-skip-backward-comments)
2136         (verilog-skip-forward-comment-p): Support proper treatment of
2137         attributes by indent code. Reported by Jeff Steele.
2138         (verilog-in-directive-p): Fix comment to correctly describe function.
2139         (verilog-backward-up-list, verilog-in-struct-region-p)
2140         (verilog-backward-token, verilog-in-struct-p)
2141         (verilog-in-coverage-p, verilog-do-indent)
2142         (verilog-pretty-declarations): Use verilog-backward-up-list as
2143         wrapper around backward-up-list inorder to properly skip comments.
2144         Reported by David Rogoff.
2145         (verilog-property-re, verilog-endcomment-reason-re)
2146         (verilog-beg-of-statement, verilog-set-auto-endcomments)
2147         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2148         of if). Reported by Max Bjurling and
2149         (verilog-calc-1): Fix for clocking block in modport
2150         declaration. Reported by Brian Hunter.
2152 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
2154         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2155         (verilog-gate-keywords, verilog-read-sub-decls)
2156         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2157         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2158         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
2159         (verilog-read-decls): Fix spaces in V2K module parameters causing
2160         mis-identification as interfaces, bug287.
2161         (verilog-read-decls): Fix not treating "parameter string" as a
2162         parameter in AUTOINSTPARAM.
2163         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2164         treating `elsif similar to `endif inside AUTOSENSE.
2165         (verilog-do-indent): Implement correct automatic or static task or
2166         function end comment highlight. Reported by Steve Pearlmutter.
2167         (verilog-font-lock-keywords-2): Fix highlighting of single
2168         character pins, bug264.  Reported by Michael Laajanen.
2169         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2170         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2171         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2172         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
2173         (verilog-pretty-expr): Fix interactive arguments, bug272.
2174         Reported by Mark Johnson.
2175         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2176         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2177         bug269. Suggested by Gary Delp.
2178         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2179         (verilog-preprocessor, verilog-set-compile-command):
2180         Create verilog-preprocess and verilog-preprocessor to show
2181         preprocessed output.
2182         (verilog-get-beg-of-line, verilog-get-end-of-line)
2183         (verilog-modi-file-or-buffer, verilog-modi-name)
2184         (verilog-modi-point, verilog-within-string): Move defmacro's
2185         before first use to avoid warning. Reported by Steve Pearlmutter.
2186         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2187         (verilog-colorize-region, verilog-highlight-buffer)
2188         (verilog-highlight-includes, verilog-highlight-modules)
2189         (verilog-highlight-region, verilog-mode): Rename colorize to
2190         highlight to match other packages.  Disable module highlighting,
2191         as received speed complaints, reenable for experimentation only
2192         using new verilog-highlight-modules.
2193         (verilog-read-decls): Fix regexp stack overflow in very large
2194         AUTO_TEMPLATEs, bug250.
2195         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2196         (verilog-scan): Create verilog-save-buffer-state to standardize
2197         making insignificant changes that shouldn't call hooks.
2198         (verilog-save-no-change-functions, verilog-save-scan-cache)
2199         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2200         Create verilog-save-no-change-functions to wrap verilog-scan
2201         preservation, and fix to work with nested preserved calls.
2202         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2203         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2204         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
2205         (verilog-submit-bug-report): Update variable list to be complete.
2206         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2207         breaking on-the-fly font-locking.
2208         (verilog-colorize-buffer, verilog-colorize-include-files)
2209         (verilog-colorize-include-files-buffer, verilog-colorize-region)
2210         (verilog-load-file-at-mouse, verilog-load-file-at-point)
2211         (verilog-mode, verilog-read-inst-module-matcher): With point on a
2212         AUTOINST cell instance name, middle mouse button now finds-file on
2213         it.  Suggested by Brad Dobbie.
2214         (verilog-alw-get-temps, verilog-auto-reset)
2215         (verilog-auto-sense-sigs, verilog-read-always-signals)
2216         (verilog-read-always-signals-recurse): Fix loop indexes being
2217         AUTORESET. AUTORESET now assumes any variables in the
2218         initialization section of a for() should be ignored.
2219         Reported by Dan Dever.
2220         (verilog-error-font-lock-keywords)
2221         (verilog-error-regexp-emacs-alist)
2222         (verilog-error-regexp-xemacs-alist): Fix error detection of
2223         Cadence HAL, reported by David Asher.  Repair drift between the
2224         three similar error variables.
2225         (verilog-modi-lookup, verilog-modi-lookup-cache)
2226         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2227         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2228         Fix slow verilog-auto expansion on very large files.
2229         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2230         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2231         "{1*2{...".  Broke in last revision.
2232         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2233         submodule connections with replications "{#{a},#{b}}".
2235 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
2237         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2238         Fix typo in docstring.
2240 2010-10-24  Kenichi Handa  <handa@m17n.org>
2242         * face-remap.el (text-scale-adjust): Call read-event with a proper
2243         prompt.
2245 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2247         * emacs-lisp/unsafep.el: Don't mark functions that display
2248         messages as safe.  Suggested by Johan Bockgård.
2250 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2252         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2253         Turn comments into docstrings.
2255         * minibuffer.el (completion--replace): Move point where it belongs
2256         when there's a common suffix (bug#7215).
2258 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2260         Merge read-color and facemenu-read-color (Bug#7242).
2262         * faces.el (read-color): Use the completion code from
2263         facemenu-read-color.  Require match in completion.  Doc fix.
2265         * facemenu.el (facemenu-read-color): Alias for read-color.
2266         (facemenu-set-foreground, facemenu-set-background):
2267         Use read-color.
2269         * frame.el (set-background-color, set-foreground-color)
2270         (set-cursor-color, set-mouse-color, set-border-color):
2271         Use read-color.
2273 2010-10-24  Leo  <sdl.web@gmail.com>
2275         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2276         argument of delete-file and delete-directory (Bug#7011).
2278 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2280         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2281         button-buffer-map.
2283 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
2285         * emacs-lisp/package.el (package--generate-package-list): Make the
2286         *Packages* buffer read-only.
2288 2010-10-24  Alan Mackenzie  <acm@muc.de>
2290         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2291         result of `c-beginning-of-decl-1' between invocations of a lambda
2292         function (Bug #7265).
2294 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
2296         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2297         executable is not available on the system (Bug#7268).
2299 2010-10-24  Glenn Morris  <rgm@gnu.org>
2301         * select.el (selection-coding-system, next-selection-coding-system):
2302         Sync doc with C versions.
2304         * w32-vars.el (x-select-enable-clipboard):
2305         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2306         * term/common-win.el (x-select-enable-clipboard): Move here.
2308         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2309         definition of C variable.
2311         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2312         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2313         Don't redefine things that are defined in C.
2314         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2315         (show-trailing-whitespace, auto-hscroll-mode)
2316         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2317         Set up the appropriate custom properties.
2319 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2321         Bind "C-c ]" to ...
2322         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2323         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2324         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2325         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2327 2010-10-23  Glenn Morris  <rgm@gnu.org>
2329         * textmodes/flyspell.el (flyspell-mode): If there was an error,
2330         say what it was.
2332         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2333         Sync docs with C version.
2335         * term/ns-win.el (xw-defined-colors):
2336         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2338         * term/pc-win.el (x-select-enable-clipboard):
2339         * term/x-win.el (x-select-enable-clipboard):
2340         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2342         * comint.el (comint-password-prompt-regexp): Make it less vague.
2343         Bump version.
2345         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2347         * help.el (finder-by-keyword): Remove unnecessary autoload.
2349 2010-10-22  Glenn Morris  <rgm@gnu.org>
2351         * loadup.el: Unconditionally load float-sup.
2352         * paren.el (show-paren-delay):
2353         * emacs-lisp/float-sup.el:
2354         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2355         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2356         (lazy-lock-stealth-verbose): Assume float support.
2357         * ps-print.el: Assume float support on Emacs.
2358         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2359         Remove non-float branch.
2361         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2362         src/Makefile no longer being pre-processed.
2364 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2366         * emacs-lisp/find-func.el (find-library): Use test-completion.
2368 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2370         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2372 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
2374         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2375         space in stat format string.
2376         (tramp-send-command): Unset $PS1 when using here documents, in
2377         order not to get several prompts.
2378         (tramp-get-inline-coding): Return `nil' in case of errors.
2380 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
2382         * hexl.el (hexl-mode, hexl-mode-exit):
2383         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2384         (hexl-revert-buffer-function): New function.
2385         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2387 2010-10-19  Alan Mackenzie  <acm@muc.de>
2389         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2390         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2391         that these keywords aren't wrongly matched as identifiers.
2393         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2394         setting of c-new-BEG and c-new-END from c-before-change to
2395         c-after-change.  (Bug#7181)
2397 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2399         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2400         Don't mark as safe.
2402         * custom.el (custom-theme-set-variables): Likewise.
2403         (load-theme): Add custom-theme-set-faces and
2404         custom-theme-set-variables to safe-functions while loading.
2405         (custom-enabled-themes): Mark as risky.
2407 2010-10-18  Julien Danjou  <julien@danjou.info>
2409         * bindings.el: Remove end dashes in default mode-line-format.
2411 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2413         * bindings.el (global-map): Bind C-d to delete-char and deletechar
2414         to delete-forward-char.
2416         * simple.el (normal-erase-is-backspace-mode): Remap delete to
2417         deletechar, and hence delete-forward-char.
2419 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2421         * repeat.el (repeat): Use read-key (bug#6256).
2423 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2425         * emacs-lisp/unsafep.el: Don't mark functions that display
2426         messages as safe.  Suggested by Johan Bockgård.
2428 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2430         * minibuffer.el (completion--replace): Move point where it belongs
2431         when there's a common suffix (bug#7215).
2433 2010-10-19  Kenichi Handa  <handa@m17n.org>
2435         * international/characters.el: Add category '|' (word breakable)
2436         to fullwidth characters.
2438 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
2440         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2441         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2442         order to make stat results a float.  Patch by Andreas Schwab
2443         <schwab@linux-m68k.org>.
2445 2010-10-18  Julien Danjou  <julien@danjou.info>
2447         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2448         hidden by `make-pointer-invisible'.
2450 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2452         * files.el (locate-file-completion-table): Strip non-matching elements
2453         before checking length of list (bug#7238).
2455 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
2457         * custom.el (custom-theme-set-variables): Mark as a safe function.
2458         (load-theme): Check forms using unsafep.
2460         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2462 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
2464         * textmodes/ispell.el (ispell-aspell-find-dictionary):
2465         Fix aspell data file searching (bug#7230).
2467 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2469         * cus-theme.el (custom-theme--migrate-settings): New var.
2470         (customize-create-theme): Allow editing the `user' theme.
2471         (custom-theme-add-variable, custom-theme-add-var-1)
2472         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2473         to the front of each variable or face widget.
2474         (custom-theme-write): Save theme settings in the correct order.
2475         Optionally, remove saved settings from user customizations.
2476         (custom-theme-write-variables, custom-theme-write-faces):
2477         Save only the checked widgets.
2478         (customize-themes): Add a link for migrating custom settings.
2480         * custom.el (custom-declare-theme, provide-theme):
2481         Use custom-theme-name-valid-p.
2482         (custom-theme-name-valid-p): Remove checks that are now
2483         unnecessary since themes no longer obey load-path.
2485         * cus-edit.el (custom-variable-value-create): For the simple
2486         style, hide documentation string when hidden.
2488 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2490         * cus-edit.el (custom-variable, custom-face): Combine the
2491         :inhibit-magic and :display-style properties into a single
2492         :custom-style property.
2493         (custom-toggle-hide-variable, custom-toggle-hide-face):
2494         New functions.  If hiding an edited value, save it to :shown-value.
2495         (custom-variable-value-create, custom-face-value-create): Use them.
2496         (custom-magic-reset): Allow magic property to be unset.
2498         * custom.el: Custom themes no longer use load-path.
2499         (custom-theme-load-path): New option.  Change built-in theme
2500         directory to etc/.
2501         (custom-enabled-themes): Add custom-theme-load-path dependency.
2502         (custom-theme--load-path): New function.
2503         (load-theme, custom-available-themes): Use it.
2505         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2506         (customize-themes): Link to custom-theme-load-path variable.
2507         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2508         :custom-style property.
2510         * themes/*.el: Moved to etc/.
2512 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
2514         * textmodes/reftex-cite.el
2515         (reftex-extract-bib-entries-from-thebibliography): Do not move
2516         point when searching for \bibitem entries.  Match entries with
2517         spaces or tabs in front of arguments.
2519 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2521         * cus-theme.el (customize-create-theme): Delete overlays after
2522         erasing.  If given a THEME arg, display only the faces of that arg
2523         instead of custom-theme--listed-faces.
2524         (custom-theme-variable-menu, custom-theme-variable-action)
2525         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2526         (custom-theme-add-variable, custom-theme-add-face): Apply value
2527         from the theme settings, instead of the current value.
2528         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2529         (custom-theme-visit-theme): Allow calling outside theme buffers.
2530         (custom-theme-merge-theme): Don't enable the theme when merging.
2531         (custom-theme-write-variables, custom-theme-write-faces): Use the
2532         :shown-value properties to save buffer values, not global ones.
2533         (customize-themes): Display a warning about user customizations.
2535         * cus-edit.el (custom-variable-value-create)
2536         (custom-face-value-create): Obey new special properties
2537         :shown-value and :inhibit-magic.
2539 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
2541         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2542         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
2543         <dale@codefu.org>.
2545 2010-10-14  Kenichi Handa  <handa@m17n.org>
2547         * mail/rmail.el (rmail-show-message-1): Catch an error of
2548         base64-decode-region and just show an error message (bug#7165).
2550         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
2551         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2552         a font-spec (bug#7197).
2554 2010-10-14  Glenn Morris  <rgm@gnu.org>
2556         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2558 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
2560         * international/mule.el (define-coding-system):
2561         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2562         * composite.el (compose-region): Fix typo in docstring.
2564 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
2566         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2567         only after checking the theme-face property.
2569         * faces.el (face-spec-reset-face): Reset all attributes in one
2570         single call to set-face-attribute.
2571         (face-spec-match-p): Make it a defsubst.
2572         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2573         (x-create-frame-with-faces, tty-create-frame-with-faces)
2574         (tty-set-up-initial-frame-faces): Don't recompute face specs in
2575         frame-set-background-mode, since they are recomputed immediately
2576         afterwards in face-set-after-frame-default.
2577         (face-set-after-frame-default): Minor optimization.
2578         (cursor): Provide non-trivial defface spec.
2580         * custom.el (custom-theme-recalc-face): Simplify.
2582 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
2584         * calc/calc-alg.el (math-var): Rename from `var'.
2585         (math-is-polynomial, math-is-poly-rec): Replace `var'
2586         with `math-var'.
2588         * calc/calcalg2.el (math-var): Rename from `var'.
2589         (calcFunc-table, math-scan-for-limits): Replace `var'
2590         with `math-var'.
2592 2010-10-13  Glenn Morris  <rgm@gnu.org>
2594         * subr.el (last): Deal with dotted lists (reported in bug#7174).
2596 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
2598         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2600 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2602         * net/tls.el (tls-program): Remove spurious %s from openssl.
2603         (tls-starttls-switches): Remove starttls hack.
2604         (open-tls-stream): Ditto.
2605         (tls-find-starttls-argument): Ditto.
2607 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
2609         * image.el (image-library-alist): Declare as obsolete alias.
2610         (image-type-available-p): Use `dynamic-library-alist'.
2612         * term/w32-win.el (dynamic-library-alist):
2613         Use instead of `image-library-alist'.
2615 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
2617         * subr.el (last): Make it faster.  (Bug#7174)
2619 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
2621         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
2623 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2625         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2626         (describe-theme-1): Extract doc from unloaded themes.
2628         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2630         * themes/tango-theme.el:
2631         * themes/tango-dark-theme.el:
2632         * themes/wheatgrass-theme.el: New files.
2634 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2636         * cus-theme.el (describe-theme, customize-themes)
2637         (custom-theme-save): New commands.
2638         (custom-new-theme-mode-map): Bind C-x C-s.
2639         (custom-new-theme-mode): Use custom--initialize-widget-variables.
2640         (customize-create-theme): New optional arg THEME.
2641         (custom-theme-revert): Use it.
2642         (custom-theme-visit-theme): Remove dead code.
2643         (custom-theme-merge-theme): Use custom-available-themes.
2644         (custom-theme-write): Make interactive.
2645         (custom-theme-write): Use custom-theme-name-valid-p.
2646         (describe-theme-1, custom-theme-choose-revert)
2647         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2648         New funs.
2649         (custom-theme-allow-multiple-selections): New option.
2650         (custom-theme-choose-mode): New major mode.
2652         * custom.el (custom-theme-set-variables): Remove dead code.
2653         Obey custom--inhibit-theme-enable.
2654         (custom--inhibit-theme-enable): New var.
2655         (provide-theme): Obey it.
2656         (load-theme): Replace load with manual read/eval, in order to
2657         check for correctness.  Use custom-theme-name-valid-p.
2658         (custom-theme-name-valid-p): New function.
2659         (custom-available-themes): Use it.
2661         * cus-edit.el (custom--initialize-widget-variables): New function.
2662         (Custom-mode): Use it.
2664         * cus-face.el (custom-theme-set-faces): Remove dead code.
2665         Obey custom--inhibit-theme-enable.
2667         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2669 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
2671         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2673 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
2675         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2676         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2677         (mac-right-option-modifier): New alias for ns-right-option-modifier.
2679         * cus-start.el (all): ns-right-alternate-modifier is new.
2681 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2683         * emacs-lisp/lisp.el (lisp-completion-at-point):
2684         Use emacs-lisp-mode-syntax-table for the whole function.
2686 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
2688         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2689         instead of font-lock-mode before adding keywords.
2690         Remove hi-lock-mode off code.  Remove inhibit hack.
2691         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2692         non-nil; removed hook inhibit hack.
2694 2010-10-12  Glenn Morris  <rgm@gnu.org>
2696         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2697         (load-path-shadows-find): ... to this.
2698         (list-load-path-shadows): Update for above change.
2700         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2702 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2704         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2705         Fix comment for declare-function.
2707 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
2709         * custom.el (custom-fix-face-spec): New function; code moved from
2710         custom-face-edit-fix-value.
2711         (custom-push-theme): Use it when checking if a face has been
2712         changed outside customize.
2713         (custom-available-themes): New function.
2714         (load-theme): Use it.
2716         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2718         * custom.el (custom-push-theme): Cleanup (use cond).
2719         (disable-theme): Recompute the saved-face property.
2720         (custom-theme-recalc-face): Follow face alias before setting prop.
2722         * image.el (image-checkbox-checked, image-checkbox-unchecked):
2723         New variables, containing checkbox images.
2725         * startup.el (fancy-startup-tail):
2726         * wid-edit.el (checkbox): Use them.
2728 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
2730         * shell.el (shell-mode-map):
2731         * progmodes/modula2.el (m2-mode-map):
2732         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2733         * play/mpuz.el (mpuz-mode-map):
2734         * play/landmark.el (lm-mode-map):
2735         * play/decipher.el (decipher-mode-map):
2736         * play/5x5.el (5x5-mode-map):
2737         * net/telnet.el (telnet-mode-map):
2738         * net/quickurl.el (quickurl-list-mode-map):
2739         * net/mairix.el (mairix-searches-mode-map):
2740         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2741         * net/dig.el (dig-mode-map):
2742         * mail/mspools.el (mspools-mode-map):
2743         * hexl.el (hexl-mode-map):
2744         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2745         (wordstar-C-o-map, wordstar-C-q-map):
2746         * emacs-lisp/edebug.el (edebug-eval-mode-map):
2747         * emacs-lisp/chart.el (chart-map):
2748         * edmacro.el (edmacro-mode-map):
2749         * erc/erc-list.el (erc-list-menu-mode-map):
2750         * array.el (array-mode-map): Declare and define in one step.
2752         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2754 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
2756         * epa.el (epa-passphrase-callback-function): Display filename
2757         passed as the 3rd arg.
2758         * epa-file.el (epa-file-passphrase-callback-function):
2759         Pass filename to epa-passphrase-callback-function.
2761 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
2763         * cus-edit.el (custom-face-widget-to-spec)
2764         (custom-face-get-current-spec, custom-face-state): New functions.
2765         (custom-face-set, custom-face-mark-to-save)
2766         (custom-face-value-create, custom-face-state-set): Use them.
2768         * cus-theme.el (custom-theme--listed-faces): New var.
2769         (customize-create-theme): Use *Custom Theme* as the buffer name.
2770         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
2771         faces listed in custom-theme--listed-faces.
2772         (custom-theme-revert): New function.
2773         (custom-theme-add-variable, custom-theme-add-face): Insert at the
2774         bottom of the list.
2775         (custom-theme-write): Prompt for theme name if empty.
2776         (custom-theme-write-variables): Use dolist.
2777         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2779 2010-10-09  Alan Mackenzie  <acm@muc.de>
2781         Enhance fontification of declarators to take account of the
2782         presence/absence of "typedef".
2784         * cc-engine.el (c-forward-type): New &optional param
2785         "brace-block-too".
2786         (c-forward-decl-or-cast-1): cdr of return value now indicates the
2787         presence of either or both of a "struct"-like keyword and "typedef".
2789         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2790         fontification of declarators which follow a "}".
2791         (c-font-lock-declarations): Fontify declarators according to the
2792         presence/absence of "typedef".
2794         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2795         for "typedef".
2796         (c-typedef-decl-key): New lang variable built from
2797         c-typedef-decl-kwds.
2799 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2801         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2802         since that's too annoying.  Move the filter groups commands to
2803         TAB/backtab.
2805         * epa.el (epa-passphrase-callback-function): Say what we're
2806         querying the password for.
2808         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2809         behaviour, don't bury the ibuffer buffer when visiting other buffers.
2811 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2813         * cus-edit.el (custom-commands, custom-buffer-create-internal)
2814         (custom-magic-value-create): Pad button tags with spaces.
2815         (custom-face-edit): New variable.
2816         (custom-face-value-create): Determine whether to use the usual
2817         face editor here, instead of using custom-face-selected.
2818         Pass face defaults to custom-face-edit widget.
2819         (custom-face-selected, custom-display-unselected): Delete widgets.
2820         (custom-display-unselected-match): Function removed.
2821         (custom-face-set, custom-face-mark-to-save):
2822         Accept custom-face-edit widgets as the direct widget child.
2824         * wid-edit.el (widget--completing-widget): New var.
2825         (widget-default-complete): Bind it when doing completion.
2826         (widget-string-complete, widget-file-complete): Use it.
2828 2010-10-09  Glenn Morris  <rgm@gnu.org>
2830         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2831         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2832         (holiday-hebrew-misc): Small simplifications.
2834         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2836         * net/browse-url.el: Don't require thingatpt, term, dired,
2837         executable, or w3-auto when compiling.
2838         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2839         Declare.
2840         (browse-url-text-emacs): Require term.
2842 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
2844         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2846 2010-10-08  Glenn Morris  <rgm@gnu.org>
2848         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2850         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2851         (shadows-compare-text-p): Make it an obsolete alias for...
2852         (load-path-shadows-compare-text): ... new name.
2853         (find-emacs-lisp-shadows): Update for above name change.
2854         (load-path-shadows-same-file-or-nonexistent): New name for the old
2855         shadow-same-file-or-nonexistent.
2857 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2859         * minibuffer.el (completion--some, completion--do-completion)
2860         (minibuffer-complete-and-exit, minibuffer-completion-help)
2861         (completion-basic-try-completion)
2862         (completion-basic-all-completions)
2863         (completion-pcm--find-all-completions): Use lexical-let to
2864         avoid some false matches in variable completion (Bug#7056)
2866 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
2868         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
2870 2010-10-08  Leo  <sdl.web@gmail.com>
2872         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2873         return non-nil if the file exists (Bug#7090).
2875 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2877         * minibuffer.el (completion--replace):
2878         Better preserve markers (bug#7138).
2880 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
2882         * server.el (server-process-filter): Doc fix.
2884 2010-10-08  Drew Adams  <drew.adams@oracle.com>
2886         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
2888 2010-10-08  Glenn Morris  <rgm@gnu.org>
2890         * vc/ediff-wind.el (ediff-setup-control-frame):
2891         * vc/ediff-ptch.el (ediff-default-backup-extension):
2892         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2893         (ediff-exec-process): Remove system-types emx, windows-95.
2895         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
2897 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
2899         * cus-edit.el (custom-variable, custom-face): Doc fix.
2900         (custom-face-edit): Add value-create attribute.
2901         (custom-face-edit-value-create)
2902         (custom-face-edit-value-visibility-action): New functions.
2903         Hide unused face attributes by default, and add a visibility toggle.
2904         (custom-face-edit-deactivate): Show empty values with shadow face.
2905         (custom-face-selected): Only use this for face specs with default
2906         attributes.
2907         (custom-face-value-create): Cleanup.
2909         * wid-edit.el (widget-checklist-value-create): Use dolist.
2910         (widget-checklist-match-find): Make second arg optional.
2912 2010-10-07  Glenn Morris  <rgm@gnu.org>
2914         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2915         Prefix things.
2917         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2918         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2919         load-path-shadows-mode, update references.
2920         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2921         Rename variable and button.
2922         (list-load-path-shadows): Update button caller.
2924 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2926         * emacs-lisp/smie.el (smie-bnf-classify): New function.
2927         (smie-bnf-precedence-table): Use it to remember the closers/openers.
2928         (smie-merge-prec2s): Handle those new entries.
2929         (smie-prec2-levels): Only set precedence to nil for actual
2930         openers/closers.
2931         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2932         that is now unnecessary.
2934 2010-10-07  Miles Bader  <miles@gnu.org>
2936         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2938 2010-10-07  Glenn Morris  <rgm@gnu.org>
2940         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2941         (mail-position-on-field): Remove declarations.
2942         (mail-position-on-field): Autoload it.
2943         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2944         and mail-header-end.  Don't require sendmail.
2946         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2947         (shadow-mode): New mode.
2948         (shadow-find-file): New button.
2949         (list-load-path-shadows): Use shadow-mode and buttons.
2951         * iimage.el (iimage-version): Remove.
2952         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2953         Turn into defcustoms.
2954         (iimage-mode-map): Give it a doc string.
2956         * calendar/appt.el (appt-activate): Give a warning rather than an error
2957         if there is no diary-file.
2959 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
2961         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2962         Use `tramp-handle-find-backup-file-name'.
2964 2010-10-06  Glenn Morris  <rgm@gnu.org>
2966         * font-core.el (font-lock-defaults-alist): Remove variable.
2967         (font-lock-mode): Doc fix.
2968         (font-lock-default-function): Do not consult font-lock-defaults-alist.
2969         * font-lock.el (font-lock-refresh-defaults): Doc fix.
2970         (font-lock-set-defaults): Doc fix.
2971         Do not consult font-lock-defaults-alist.
2973         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2975         * emacs-lisp/cl.el: No longer provide cl-19.
2977 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
2979         * net/tramp.el (tramp-handle-directory-files-and-attributes)
2980         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2981         New defuns, taken from tramp-smb.el.
2982         (tramp-coding-system-change-eol-conversion)
2983         (tramp-set-process-query-on-exit-flag): Remove.
2985         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2986         (tramp-compat-coding-system-change-eol-conversion)
2987         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2988         from tramp.el.
2990         * net/tramp-gvfs.el:
2991         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2992         by `tramp-compat-set-process-query-on-exit-flag'.
2994         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2995         Use `tramp-handle-directory-files-and-attributes',
2996         `tramp-handle-file-exists-p' and
2997         `tramp-handle-file-newer-than-file-p'.
2998         (tramp-imap-handle-file-exists-p)
2999         (tramp-imap-handle-file-executable-p)
3000         (tramp-imap-handle-file-readable-p)
3001         (tramp-imap-handle-directory-files-and-attributes)
3002         (tramp-imap-handle-file-newer-than-file-p): Remove.
3004         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3005         by `tramp-compat-set-process-query-on-exit-flag' and
3006         `tramp-coding-system-change-eol-conversion' by
3007         `tramp-compat-coding-system-change-eol-conversion'.
3009         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3010         Use `tramp-handle-directory-files-and-attributes',
3011         `tramp-handle-file-exists-p' and
3012         `tramp-handle-file-newer-than-file-p'.
3013         (tramp-smb-handle-directory-files-and-attributes)
3014         (tramp-smb-handle-file-exists-p)
3015         (tramp-smb-handle-file-newer-than-file-p): Remove.
3016         (tramp-smb-maybe-open-connection):
3017         Replace `tramp-set-process-query-on-exit-flag' by
3018         `tramp-compat-set-process-query-on-exit-flag'.
3020 2010-10-05  Glenn Morris  <rgm@gnu.org>
3022         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3024 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
3026         Continue reorganization of load dependencies.  (Bug#7156)
3028         * net/tramp.el (tramp-handle-file-local-copy-hook)
3029         (tramp-delete-temp-file-function): Move down.
3030         (tramp-exists-file-name-handler): Move up.
3031         (tramp-register-file-name-handlers): Simplify autoload.
3032         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3033         (tramp-handle-directory-files, tramp-handle-dired-uncache)
3034         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3035         (tramp-handle-file-name-completion)
3036         (tramp-handle-file-name-directory)
3037         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3038         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3039         (tramp-handle-find-backup-file-name)
3040         (tramp-handle-insert-file-contents, tramp-handle-load)
3041         (tramp-handle-substitute-in-file-name)
3042         (tramp-handle-unhandled-file-name-directory)
3043         (tramp-mode-string-to-int, tramp-local-host-p)
3044         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3046         * net/tramp-gvfs.el (top):
3047         * net/tramp-smb.el (top): Do not require 'tramp-sh.
3049         * net/tramp-sh.el (all): Move several objects to tramp.el, see
3050         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3052 2010-10-04  Glenn Morris  <rgm@gnu.org>
3054         * calendar/appt.el (appt-add): Ensure reminders are enabled.
3055         (appt-activate): Give status messages.
3057 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
3059         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
3060         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3061         `gnutls-negotiate' (formerly `starttls-negotiate').
3062         Remove trivial wrapper `starttls-open-stream'.
3064 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
3066         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3067         log-outgoing commands.
3068         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3069         to create a buffer local revert-buffer-function variable.
3070         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3071         revert-buffer-function lambda.
3073 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
3075         * net/gnutls.el (starttls-negotiate): Use the plist interface to
3076         `gnutls-boot'.  Make TYPE the only required parameter.
3077         Allow TRUSTFILES and KEYFILES to be lists.
3078         (open-ssl-stream): Use it.
3080 2010-10-03  Glenn Morris  <rgm@gnu.org>
3082         * subr.el (directory-sep-char): Remove obsolete variable.
3083         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3084         it is "necessary".
3086         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3087         * vc/vc.el (vc-static-header-alist): Doc fix.
3088         * vc/vc-cvs.el (vc-cvs-header):
3089         * vc/vc-rcs.el (vc-rcs-header):
3090         * vc/vc-sccs.el (vc-sccs-header):
3091         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3092         * obsolete/vc-mcvs.el (vc-mcvs-header):
3093         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3094         on XEmacs.
3096 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
3098         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3099         Remove obsolete use of binary-overwrite-mode (Bug#7001).
3101 2010-10-03  Glenn Morris  <rgm@gnu.org>
3103         * obsolete/x-menu.el: Remove file, obsolete since 21.1
3105         * textmodes/rst.el (rst-font-lock-keywords-function):
3106         Drop Emacs 20 code.
3108         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3110         * printing.el: Drop Emacs 20 code.
3112         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3113         without having used appt.el already).
3115         * subr.el (make-local-hook): Remove function obsolete since 21.1.
3116         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3117         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3118         XEmacs.
3119         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3120         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3122         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3123         (charset-width, find-charset-region, chars-in-region, forward-point)
3124         (encode-coding-string, coding-system-p, ccl-execute-on-string)
3125         (define-ccl-program, multibyte-string-p, string-make-multibyte):
3126         Remove compatibility cruft (none of these are used by ps*.el).
3128 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
3130         * subr.el (booleanp): Return t instead of a list (Bug#7086).
3132 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
3134         * server.el (server-process-filter, server-return-error):
3135         Give emacsclient time to shut down after receiving an error string.
3137 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
3139         * files.el (remote-file-name-inhibit-cache): New defcustom.
3141         * time.el (display-time-file-nonempty-p):
3142         Use `remote-file-name-inhibit-cache'.
3144         * net/tramp.el (tramp-completion-reread-directory-timeout):
3145         Fix docstring.
3147         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3148         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3149         `remote-file-name-inhibit-cache'.  Check also for an integer
3150         value.  Add/increase counter when `tramp-verbose' >= 10.
3151         (tramp-set-file-property): Add/increase counter when
3152         `tramp-verbose' >= 10.
3154         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3155         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3156         (tramp-bug): Set tramp-autoload cookie.  Report all interned
3157         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
3158         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
3159         characters only in strings.
3161         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3162         to backward compatibility.
3164         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3165         (tramp-handle-file-name-all-completions)
3166         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3167         (tramp-open-connection-setup-interactive-shell):
3168         Call `tramp-cleanup-connection' directly.
3170 2010-10-02  Glenn Morris  <rgm@gnu.org>
3172         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3174         * subr.el (char-bytes): Remove obsolete function.
3176         * isearch.el (isearch-return-char): Remove obsolete function.
3178         * mouse.el: No longer provide mldrag.
3179         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3180         Remove obsolete aliases.
3182         * comint.el (comint-kill-output): Remove obsolete alias.
3184         * composite.el (decompose-composite-char): Remove obsolete function.
3185         * ps-def.el (decompose-composite-char): Remove unused function.
3187         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3189         * outline.el (outline-visible): Remove obsolete function.
3191         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3192         * faces.el (internal-find-face, internal-get-face)
3193         (frame-update-faces, frame-update-face-colors)
3194         (x-frob-font-weight, x-frob-font-slant)
3195         (internal-frob-font-weight, internal-frob-font-slant)
3196         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3197         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3198         (x-make-font-bold-italic): Remove functions and aliases, obsolete
3199         since Emacs 21.1.
3200         * emulation/viper-util.el (viper-get-face):
3201         * obsolete/lucid.el (find-face, get-face): Use facep.
3202         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3203         Remove unused functions.
3204         * vc/ediff-util.el (ediff-submit-report): Doc fix.
3206         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3207         delete tempfile if interrupted during compilation.
3209 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3211         * net/tls.el (tls-starttls-switches): Give up on using starttls with
3212         gnutls-cli.
3213         (tls-program): Add --insecure to be consistent with the defaults from
3214         openssl s_client.  Now all three commands are insecure.
3216 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
3218         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3219         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3220         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3222 2010-10-01  Glenn Morris  <rgm@gnu.org>
3224         * obsolete/sc.el: Remove file.
3226         * files.el (temporary-file-directory): On darwin, also try
3227         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3229 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
3231         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3232         Let's not break compatibility gratuitously, shall we?
3234 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3236         * net/tls.el (tls-starttls-switches): New variable.
3237         (tls-find-starttls-argument): Use it.
3238         (open-tls-stream): Ditto.
3240         * net/netrc.el (netrc-credentials): Return the value of the "default"
3241         entry.
3242         (netrc-machine): Ditto.
3244 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
3246         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3248 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
3250         * server.el (server-start): Don't write pid to the authentication file.
3251         (server-create-tty-frame): Don't send pid.
3252         (server-process-filter): Send pid at the start of every connection.
3254 2010-09-30  Glenn Morris  <rgm@gnu.org>
3256         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3257         (show-all-diary-entries): Remove obsolete function aliases.
3259         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3260         Remove options, obsolete since 22.1.
3261         (appt-display-format, appt-display-message):
3262         Remove backwards-compatibility code.
3263         (appt-check): No longer check appt-issue-message.
3264         (appt-make-list): No longer autoload it.  Doc fix.  No longer
3265         activate the package.
3267 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3269         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3270         (starttls-negotiate): Just call boot, and let the handshake be
3271         triggered from the read loop.
3273 2010-09-29  Glenn Morris  <rgm@gnu.org>
3275         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3276         not displaying the diary.
3277         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3278         * calendar/appt.el (appt-check): No longer need to kill diary.
3280         * calendar/diary-lib.el (diary-list-entries): Move the
3281         "Preparing..." message entirely here.
3282         (diary-simple-display, diary-fancy-display): Move "Preparing..."
3283         messages to diary-list-entries.
3284         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3285         diary-display-function.
3287         * calendar/diary-lib.el (diary-include-other-diary-files):
3288         Trap some recursive includes.
3290         * calendar/appt.el (appt-activate): Check diary file.
3292 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
3294         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3295         construction.
3297         * calendar/time-date.el: No need to require cl for Emacs 21.
3299 2010-09-28  Glenn Morris  <rgm@gnu.org>
3301         * calendar/appt.el (appt-check): Minor simplification.
3303 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
3305         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3306         citation prefix.
3308 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
3310         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3311         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
3313 2010-09-27  Kenichi Handa  <handa@m17n.org>
3315         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3316         "ustar" format.
3318 2010-09-27  Kenichi Handa  <handa@m17n.org>
3320         * international/mule.el (define-coding-system): Docstring fixed.
3322         * international/mule-diag.el (describe-character-set): Use princ
3323         with proper print-length and print-level instead of insert.
3325 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
3327         * window.el (walk-windows): Doc fix (bug#7105).
3329 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3331         * emacs-lisp/float-sup.el (e): Remove.
3333 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
3335         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3336         variable.
3337         (starttls-negotiate): Use it.
3339 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3341         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3342         back.
3344 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3346         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3348 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3350         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3352         * net/netrc.el (netrc-store-data): New function.
3354 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
3356         * net/gnutls.el: GnuTLS glue code to set up a connection.
3358 2010-09-25  Julien Danjou  <julien@danjou.info>
3360         * notifications.el: Call dbus-register-signal only if it is bound.
3362 2010-09-25  Glenn Morris  <rgm@gnu.org>
3364         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3365         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3366         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3367         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3368         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3369         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3370         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3371         * eshell/esh-util.el, eshell/esh-var.el:
3372         Remove leading `*' from docs of faces and defcustoms.
3374 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
3376         * eshell/em-ls.el (eshell-ls-archive-regexp):
3377         * eshell/esh-util.el (eshell-tar-regexp):
3378         * ibuffer.el (ibuffer-compressed-file-name-regexp):
3379         * info.el (Info-suffix-list):
3380         * international/mule.el (auto-coding-alist):
3381         * woman.el (woman-file-regexp, woman-file-compression-regexp):
3382         * progmodes/etags.el (tags-compression-info-list):
3383         Support xz compression.
3385 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
3387         * files.el (get-free-disk-space): Don't assume the "df" output
3388         columns line up (Bug#6995).
3390 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
3392         * finder.el (finder-unknown-keywords):
3393         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3394         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3396 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
3398         * server.el (server-start): Revert part of 2010-08-08 change.  Using
3399         address 127.0.0.1 for local host is now done in Fmake_network_process.
3401 2010-09-24  Glenn Morris  <rgm@gnu.org>
3403         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3404         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3405         * textmodes/css-mode.el, textmodes/dns-mode.el:
3406         Move autoloaded auto-mode-alist entries to files.el.
3407         * files.el (auto-mode-alist): Move entries here.
3409 2010-09-23  Glenn Morris  <rgm@gnu.org>
3411         * isearch.el (isearch-lazy-highlight-cleanup)
3412         (isearch-lazy-highlight-initial-delay)
3413         (isearch-lazy-highlight-interval)
3414         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3415         * net/net-utils.el (ipconfig-program-options):
3416         Move aliases to options before the associated definitions.
3418 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3420         * newcomment.el (comment-normalize-vars): Better test validity of
3421         comment-end-skip.
3423 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3425         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3426         (float-e): New name for `e'.
3427         (degrees-to-radians, radians-to-degrees):
3428         * calendar/solar.el (solar-longitude):
3429         * calculator.el (calculator-registers, calculator-funcall):
3430         * textmodes/artist.el (artist-spray-random-points):
3431         * play/bubbles.el (bubbles--initialize-images): Use new names.
3433 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
3435         Update to CEDET 1.0's version of EIEIO.
3437         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3438         New function.
3439         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3440         (eieio-default-eval-maybe): Eval val instead of unquoting only.
3441         (class-precedence-list): If class is nil, return nil.
3442         (eieio-generic-call): If class of first input arg is nil, don't
3443         look up static methods, and do check for primary methods.
3444         (initialize-instance): See if the default needs to be evaluated
3445         during the constructor.
3446         (eieio-perform-slot-validation-for-default): Don't do the check
3447         for values that will eventually be evaluated.
3448         (eieio-eval-default-p): New function.
3449         (eieio-default-eval-maybe): Use it.
3451 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3453         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3454         method-invocation-order.
3455         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3456         (eieio-class-precedence-dfs): Compute class precedence list using
3457         dfs algorithm.
3458         (eieio-class-precedence-bfs): Compute class precedence list using
3459         bfs algorithm.
3460         (eieio-class-precedence-c3): Compute class precedence list using
3461         c3 algorithm.
3462         (class-precedence-list): New function.
3463         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3464         (inconsistent-class-hierarchy): New error symbol.
3465         (call-next-method): Stow the replacement argument list for future
3466         call-next-method invocations.
3468 2010-09-23  Glenn Morris  <rgm@gnu.org>
3470         * calendar/appt.el (appt-check): If not displaying the diary,
3471         use (diary 1) to only get the entries we need.
3472         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3473         that it is in day order.  (Bug#7019)
3475         * calendar/appt.el (appt-check): Rather than showing the diary,
3476         just turn off invisible display, and only if needed.
3478         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
3480 2010-09-23  Glenn Morris  <rgm@gnu.org>
3482         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3483         (byte-compile-defvar, byte-compile-cl-warn):
3484         Start warnings with lower-case, like the majority.
3486         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3488         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
3490         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3491         * files.el (auto-mode-alist): Move ld-script entries here, further down
3492         the list.
3494         * vc/add-log.el: Don't require timezone when compiling.
3495         (timezone-make-date-sortable): Autoload it.
3496         (change-log-sortable-date-at): Don't require timezone.
3497         Use `ignore-errors'.
3499         * comint.el (comint-use-prompt-regexp-instead-of-fields):
3500         Move alias before definition, so it does not need autoloading.
3502         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3503         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3504         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3505         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3506         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3507         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3508         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3509         * textmodes/tex-mode.el, textmodes/two-column.el:
3510         Remove leading `*' from docs of defcustoms etc.
3512 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
3514         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3516 2010-09-22  Dan Christensen  <jdc@uwo.ca>
3518         * calendar/time-date.el (date-to-time): Try using parse-time-string
3519         first before using the slower timezone-make-date-arpa-standard.
3521 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
3523         * calendar/time-date.el (format-seconds): Comment fix.
3525 2010-09-22  Glenn Morris  <rgm@gnu.org>
3527         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3528         is not automatically buffer-local.
3530 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3532         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3533         (smie-indent-comment): Be more careful with comment-start-skip.
3534         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3535         (smie-indent-functions): Use them.
3537 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
3539         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3541 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
3543         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3544         tool-bar-position.  Don't modify frame parameters here.
3545         (menu-bar-options-save): Add tool-bar-position.
3547         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3549 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         * textmodes/reftex-parse.el (reftex-what-macro)
3552         (reftex-context-substring): Let-bind forward-sexp-function to nil
3553         since we don't need/want to treat \begin...\end as a block (bug#7053).
3555         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3557         * simple.el (blink-matching-open): Use syntax-class.
3559         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3560         Set invisibility spec for pascal's outline mode.
3561         (pascal-outline-change): Clean up calling convention.
3562         (pascal-show-all, pascal-hide-other-defuns): Update callers.
3564         * progmodes/prolog.el (prolog-smie-forward-token)
3565         (prolog-smie-backward-token): New functions.
3566         (prolog-mode-variables): Use them to parse "!," correctly.
3567         Set up smie-blink-matching for ".".
3569         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3570         and `end'.
3571         (ispell-region, ispell-process-line): Update users.
3573         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3574         point-min==1.
3576         * textmodes/ispell.el: Fix commenting convention.
3577         (ispell-parse-output): Simplify, use push.
3578         (ispell-region): Use match-string-no-properties.
3579         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3580         (ispell-minor-mode): Use define-minor-mode.
3581         (ispell-message): Remove unused var `skip-regexp'.
3582         (ispell-add-per-file-word-list): Use dynamic let-binding.
3583         Try and use the proper comment marker.
3585         * mail/sendmail.el: Fix commenting convention.
3586         (sendmail-send-it): Use line-beginning-position.
3588         * help-fns.el (describe-variable): Add original value, if applicable.
3590 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
3592         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3594         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3596 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3598         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3599         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3600         (smie-prec2-levels): Use them to better diagnose precedence cycles.
3601         (smie-blink-matching-check): Don't signal a mismatch if car is t.
3602         (smie-blink-matching-open): Rewrite to remove assumptions, so that
3603         something like "." can also be a closer.
3604         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3605         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3606         Rename internal functions to use "--".  Update callers.
3608         * frame.el (make-frame-names-alist): Don't list frames on other displays.
3610         * fringe.el (fringe-styles): New var.
3611         (fringe-mode, fringe-query-style): Use it.
3613 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
3615         * progmodes/sql.el: Version 2.8
3616         (sql-login-params): Update widget structure; changes still needed.
3617         (sql-product-alist): Add :list-all and :list-table features for
3618         SQLite, Postgres and MySQL products.
3619         (sql-redirect): Handle default value.
3620         (sql-execute, sql-execute-feature): New functions.
3621         (sql-read-table-name): New function.
3622         (sql-list-all, sql-list-table): New functions.  User API.
3623         (sql-mode-map, sql-interactive-mode-map): Add key definitions
3624         for above functions.
3625         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3626         for above functions.
3627         (sql-postgres-login-params): Add user and database defaults.
3628         (sql-buffer-live-p): Bug fix.
3629         (sql-product-history): New variable.
3630         (sql-read-product): New function. Use it.
3631         (sql-set-product, sql-product-interactive): Use it.
3632         (sql-connection-history): New variable.
3633         (sql-read-connection): New function.  Use it.
3634         (sql-connect): New function.
3635         (sql-for-each-login): Redesign function interface.
3636         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3637         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
3638         (sql-comint): Check for program.  Existing live buffer.
3639         (sql-comint-postgres): Add port parameter.
3641 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3643         * emacs-lisp/warnings.el: Fix commenting convention.
3644         (display-warning): Use special mode and make the buffer read-only.
3646 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
3648         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3649         empty string when it follows a repeated or optional pattern.
3651 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3653         * indent.el (indent-according-to-mode): Apply syntax-propertize.
3654         (indent-region): Use indent-according-to-mode.
3656 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
3658         * fringe.el (fringe-mode): Doc fix.
3660 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
3662         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3663         refreshing the preview buffer.
3665 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3667         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3668         (latex-syntax-propertize-rules): New consts; replace
3669         tex-font-lock-syntactic-keywords.
3670         (tex-env-mark, latex-env-before-change): New functions.
3671         (latex-electric-env-pair-mode): New minor mode.
3672         (tex-font-lock-verb): Change arguments; do move point.
3673         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3674         representation as a form of comment.
3675         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3676         (doctex-syntax-propertize-rules): New const; replaces
3677         doctex-font-lock-syntactic-keywords.
3678         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3680         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3681         (fortran-make-syntax-propertize-function): New function; replaces
3682         fortran-font-lock-syntactic-keywords.
3683         (fortran-mode): Use it.
3684         (fortran-line-length): Use it.  Improve interactive spec.
3686         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3687         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
3688         when adding surrounding \(..\).
3690         * progmodes/js.el (js-mode): Fix last change (bug#7054).
3692 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3694         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3695         Use with-current-buffer.
3697         * isearch.el (isearch-face): Rename from `isearch'.
3698         (isearch-highlight): Use new name.
3700 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
3702         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3703         5, for `half' width fringes.  (Bug#6933)
3705 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3707         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3708         (byte-compile-defvar): "foo/bar" does not lack a prefix.
3710         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3712 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
3714         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3715         in calculating new frame position.  Add more space between new and
3716         parent on the left (Bug#7048).
3718 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
3720         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3721         defmacro.
3723 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
3725         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3727         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3728         obsolete alias for x-selection-value.
3730         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3732 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
3734         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3735         cookie.
3737 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
3739         * net/tramp-compat.el (tramp-compat-with-temp-message)
3740         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3741         (tramp-compat-process-put): New defuns.
3743         * net/tramp.el (top):
3744         * net/tramp-gvfs.el (top):
3745         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3747         * net/tramp.el (tramp-progress-reporter-update):
3748         Use `tramp-compat-funcall'.
3750         * net/tramp.el (tramp-process-actions):
3751         * net/tramp-gvfs.el (tramp-handle-vc-registered):
3752         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3753         (tramp-get-remote-stat, tramp-get-remote-readlink):
3754         Use `tramp-compat-with-temp-message'.
3756         * net/tramp-sh.el (top): Require 'cl.
3757         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3758         (tramp-open-connection-setup-interactive-shell):
3759         Use `tramp-compat-process-put'.
3761 2010-09-15  Alan Mackenzie  <acm@muc.de>
3763         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3764         indentation.
3765         (c-forward-<>-arglist-recur): Fix an infinite recursion.
3767 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3769         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3770         `lexical' for warnings related to lexical scoping.
3771         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3772         global vars which don't have a prefix and could hence affect lexical
3773         scoping in unrelated files.
3775 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3777         * net/imap.el: Revert back to version
3778         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3779         seem problematic.
3781 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
3783         * obsolete/old-whitespace.el (whitespace-unload-function):
3784         Explicitly pass `obarray' to `unintern' to avoid a warning.
3786 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3788         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3789         Add `when' argument.  Update callers.
3791         * subr.el (unintern): Declare the obarray arg mandatory.
3793 2010-09-14  Glenn Morris  <rgm@gnu.org>
3795         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3796         Doc fixes.
3798         * calendar/diary-lib.el (diary-included-files): New variable.
3799         (diary-list-entries): Maybe initialize diary-included-files.
3800         (diary-include-other-diary-files): Append to diary-included-files.
3801         * calendar/appt.el (appt-update-list): Also check the members of
3802         diary-included-files.  (Bug#6999)
3803         (appt-check): Doc fix.
3805 2010-09-14  David Reitter  <david.reitter@gmail.com>
3807         * simple.el (line-move-visual): Do not truncate goal column to
3808         integer size.  (Bug#7020)
3810 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3812         * repeat.el (repeat): Allow repeating when the last event is a click.
3813         Suggested by Drew Adams (bug#6256).
3815 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
3817         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3818         Replace setting HGRCPATH to "" by some less invasive --config options.
3820 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3822         * font-lock.el (font-lock-beginning-of-syntax-function):
3823         Mark as obsolete.
3825 2010-09-14  Glenn Morris  <rgm@gnu.org>
3827         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3828         and tool-bar modes.  (Bug#6211)
3829         (menu-bar-mode): Move setting of standard-value after the
3830         minor-mode definition, otherwise it seems to have no effect.
3832 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
3834         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3835         Fix typo.  (Bug#6976)
3837 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3839         * whitespace.el: Allow cleaning up blanks without blank
3840         visualization (Bug#6651).  Adjust help window for
3841         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3842         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
3843         (whitespace-style): Add new value 'face.  Adjust docstring.
3844         (whitespace-space, whitespace-hspace, whitespace-tab):
3845         Adjust foreground property face.
3846         (whitespace-line-column): Adjust docstring and type declaration.
3847         (whitespace-style-value-list, whitespace-toggle-option-alist)
3848         (whitespace-help-text): Adjust const initialization.
3849         (whitespace-toggle-options, global-whitespace-toggle-options):
3850         Adjust docstring.
3851         (whitespace-display-window, whitespace-interactive-char)
3852         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3853         (whitespace-help-scroll): New fun.
3855 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
3857         * calendar/time-date.el (format-seconds): Comment fix.
3859 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
3861         * progmodes/sql.el: Version 2.7.
3862         (sql-buffer-live-p): Improve detection.
3863         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3864         (sql-set-sqli-buffer): Use it.
3865         (sql-product-interactive): Run `sql-set-sqli-hook'.
3866         (sql-rename-buffer): Code cleanup.
3867         (sql-redirect, sql-redirect-value): New functions.  More to come.
3869 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
3871         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.
3872         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3873         (TRAMP_SRC): New macro.
3874         ($(lisp)/net/tramp-loaddefs.el): New target.
3876 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
3878         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
3880         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
3882         * net/tramp.el (top): Don't show loading message.  Require just
3883         'tramp-compat, everything else is required there.
3884         Use `ignore-errors' where appropriate.
3885         (tramp-inline-compress-start-size, tramp-copy-size-limit)
3886         (tramp-terminal-type, tramp-end-of-output)
3887         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3888         (tramp-completion-function-alist-ssh)
3889         (tramp-completion-function-alist-telnet)
3890         (tramp-completion-function-alist-su)
3891         (tramp-completion-function-alist-putty, tramp-remote-path)
3892         (tramp-remote-process-environment, tramp-sh-extra-args)
3893         (tramp-actions-before-shell, tramp-uudecode)
3894         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3895         (tramp-perl-file-attributes)
3896         (tramp-perl-directory-files-and-attributes)
3897         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3898         (tramp-perl-encode, tramp-perl-decode)
3899         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3900         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3901         (tramp-handle-make-symbolic-link, tramp-handle-load)
3902         (tramp-handle-file-name-as-directory)
3903         (tramp-handle-file-name-directory)
3904         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3905         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3906         (tramp-do-file-attributes-with-ls)
3907         (tramp-do-file-attributes-with-perl)
3908         (tramp-do-file-attributes-with-stat)
3909         (tramp-handle-set-visited-file-modtime)
3910         (tramp-handle-verify-visited-file-modtime)
3911         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3912         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3913         (tramp-handle-file-selinux-context)
3914         (tramp-handle-set-file-selinux-context)
3915         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3916         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3917         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3918         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3919         (tramp-handle-file-ownership-preserved-p)
3920         (tramp-handle-directory-file-name, tramp-handle-directory-files)
3921         (tramp-handle-directory-files-and-attributes)
3922         (tramp-do-directory-files-and-attributes-with-perl)
3923         (tramp-do-directory-files-and-attributes-with-stat)
3924         (tramp-handle-file-name-all-completions)
3925         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3926         (tramp-handle-copy-file, tramp-handle-copy-directory)
3927         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3928         (tramp-do-copy-or-rename-file-via-buffer)
3929         (tramp-do-copy-or-rename-file-directly)
3930         (tramp-do-copy-or-rename-file-out-of-band)
3931         (tramp-handle-make-directory, tramp-handle-delete-directory)
3932         (tramp-handle-delete-file)
3933         (tramp-handle-dired-recursive-delete-directory)
3934         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3935         (tramp-handle-insert-directory)
3936         (tramp-handle-unhandled-file-name-directory)
3937         (tramp-handle-expand-file-name)
3938         (tramp-handle-substitute-in-file-name)
3939         (tramp-handle-executable-find, tramp-process-sentinel)
3940         (tramp-handle-start-file-process, tramp-handle-process-file)
3941         (tramp-handle-call-process-region, tramp-handle-shell-command)
3942         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3943         (tramp-handle-insert-file-contents)
3944         (tramp-handle-insert-file-contents-literally)
3945         (tramp-handle-find-backup-file-name)
3946         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3947         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3948         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3949         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3950         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3951         (tramp-find-file-exists-command, tramp-open-shell)
3952         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3953         (tramp-open-connection-setup-interactive-shell)
3954         (tramp-local-coding-commands, tramp-remote-coding-commands)
3955         (tramp-find-inline-encoding, tramp-call-local-coding-command)
3956         (tramp-inline-compress-commands, tramp-find-inline-compress)
3957         (tramp-compute-multi-hops, tramp-maybe-open-connection)
3958         (tramp-send-command, tramp-wait-for-output)
3959         (tramp-send-command-and-check, tramp-barf-unless-okay)
3960         (tramp-send-command-and-read, tramp-mode-string-to-int)
3961         (tramp-convert-file-attributes, tramp-check-cached-permissions)
3962         (tramp-file-mode-from-int, tramp-file-mode-permissions)
3963         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3964         (tramp-method-out-of-band-p, tramp-local-host-p)
3965         (tramp-get-remote-path, tramp-get-remote-tmpdir)
3966         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3967         (tramp-get-test-command, tramp-get-test-nt-command)
3968         (tramp-get-file-exists-command, tramp-get-remote-ln)
3969         (tramp-get-remote-perl, tramp-get-remote-stat)
3970         (tramp-get-remote-readlink, tramp-get-remote-trash)
3971         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3972         (tramp-get-local-uid, tramp-get-local-gid)
3973         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3974         tramp-sh.el.
3975         (tramp-methods, tramp-default-method-alist)
3976         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3977         Move initialization to tramp-sh.el.
3978         (tramp-temp-name-prefix): Make it a defconst.
3979         (tramp-dissect-file-name): Don't check anymore for multi-hop
3980         methods.
3981         (tramp-debug-outline-regexp): Add a docstring.
3982         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3983         (tramp-get-debug-buffer): Use it.
3985         * net/tramp-cache.el (top): Set tramp-autoload cookie for
3986         initialization forms.
3987         (tramp-set-connection-property): Don't protect `tramp-message'
3988         call, it isn't necessary any longer.
3989         (tramp-dump-connection-properties): Use `ignore-errors'.
3991         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3992         'password-cache and 'auth-source.
3994         * net/tramp-gvfs.el (top):
3995         * net/tramp-smb.el (top): Require 'tramp-sh.
3997         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3999         * net/tramp-sh.el: New file, derived from tramp.el.
4000         (top): Initialize `tramp-methods', `tramp-default-method-alist',
4001         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4002         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4003         Use `ignore-errors' where appropriate.
4004         (tramp-sh-file-name-handler-alist): Rename from
4005         `tramp-file-name-handler-alist'.
4006         (tramp-send-command-and-check): Return t or nil.  Remove all
4007         `zerop' checks, where called.
4008         (tramp-handle-set-file-modes)
4009         (tramp-do-copy-or-rename-file-directly)
4010         (tramp-handle-delete-directory, tramp-handle-delete-file)
4011         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4012         (tramp-sh-file-name-handler, tramp-send-command-and-check)
4013         (tramp-get-remote-ln): Set tramp-autoload cookie.
4015         * net/tramp-fish.el: Remove file.
4017 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
4019         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4020         buffer-file-name to avoid file-locking.  (Bug#7026)
4022 2010-09-13  Julien Danjou  <julien@danjou.info>
4024         * notifications.el (notifications-notify): Add support for
4025         image-path and sound-name.
4026         (notifications-specification-version): Add this variable.
4028 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4030         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4032 2010-09-12  Leo  <sdl.web@gmail.com>
4034         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4035         (rcirc-completion-start): New variables.
4036         (rcirc-nick-completions): Rename to rcirc-completions.
4037         (rcirc-nick-completion-start-offset): Delete.
4038         (rcirc-completion-at-point): New function for constructing
4039         completion data for both nicks and irc commands.  Add to
4040         completion-at-point-functions in rcirc mode.
4041         (rcirc-complete): Rename from rcirc-nick-complete; use
4042         rcirc-completion-at-point.
4043         (defun-rcirc-command): Update rcirc-client-commands.
4045 2010-09-11  Glenn Morris  <rgm@gnu.org>
4047         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4048         atomically, to avoid parallel build errors.  (Bug#4196)
4050 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
4052         * progmodes/sql.el: Version 2.6
4053         (sql-dialect): Synonym for "sql-product".
4054         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4055         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4056         Set "sql-buffer" to buffer name not buffer object so multiple sql
4057         interactive buffers work properly.  Reverts misguided changes in
4058         earlier work.
4059         (sql-comint): Make sure different buffer name is used if "*SQL*"
4060         buffer is for a different product.
4061         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4062         login param.
4063         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4064         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4065         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4066         Accept new buffer name or prompt for one.
4067         (sql-port): Default to zero.
4068         (sql-comint-mysql): Handle "sql-port" as a numeric.
4069         (sql-port-history): Delete unused variable.
4070         (sql-get-login): Default "sql-port" to a number.
4071         (sql-product-alist): Correct Postgres prompt and terminator regexp.
4072         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4073         "sqlite3" executables.
4074         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4075         (sql-buffer-live-p): New function.
4076         (sql-mode-menu, sql-send-string): Use it.
4077         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4078         syntax pattern.
4079         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4080         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4082 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4084         * net/netrc.el (netrc-credentials): New convenience function.
4086 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4088         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4089         to replace texinfo-font-lock-syntactic-keywords.
4090         (texinfo-mode): Use it.
4092         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4093         Use syntax-propertize-function.
4095         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4096         replace sgml-font-lock-syntactic-keywords.
4097         (sgml-mode): Use it.
4099         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4100         since we don't use it.
4102         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4104         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4105         if available.
4106         (vhdl-fontify-buffer): Adjust.
4108         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4109         replace tcl-font-lock-syntactic-keywords.
4110         (tcl-mode): Use it.
4112         * progmodes/simula.el (simula-syntax-propertize-function): New var to
4113         replace simula-font-lock-syntactic-keywords.
4114         (simula-mode): Use it.
4116         * progmodes/sh-script.el (sh-st-symbol): Remove.
4117         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4118         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4119         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4120         (sh-font-lock-paren): Set syntax-multiline.
4121         (sh-font-lock-syntactic-keywords): Remove.
4122         (sh-syntax-propertize-function): New function to replace it.
4123         (sh-mode): Use it.
4125         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4126         Define while compiling.
4127         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4128         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4129         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4130         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4131         (ruby-here-doc-end-syntax): Only define when
4132         syntax-propertize is not available.
4133         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4134         New functions.
4135         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4136         (electric-indent-chars): Silence bytecompiler.
4137         (ruby-mode): Use prog-mode, syntax-propertize-function, and
4138         electric-indent-chars.
4140         * progmodes/python.el (python-syntax-propertize-function): New var to
4141         replace python-font-lock-syntactic-keywords.
4142         (python-mode): Use it.
4143         (python-quote-syntax): Simplify and adjust to new use.
4145         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4146         replace perl-font-lock-syntactic-keywords.
4147         (perl-syntax-propertize-special-constructs): New fun to replace
4148         perl-font-lock-special-syntactic-constructs.
4149         (perl-font-lock-syntactic-face-function): New fun.
4150         (perl-mode): Use it.
4152         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4153         to replace octave-font-lock-close-quotes.
4154         (octave-syntax-propertize-function): New function to replace
4155         octave-font-lock-syntactic-keywords.
4156         (octave-mode): Use it.
4158         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4159         replaces mixal-font-lock-syntactic-keywords.
4160         (mixal-mode): Use it.
4162         * progmodes/make-mode.el (makefile-syntax-propertize-function):
4163         New var; replaces makefile-font-lock-syntactic-keywords.
4164         (makefile-mode): Use it.
4165         (makefile-imake-mode): Adjust.
4167         * progmodes/js.el (js--regexp-literal): Define while compiling.
4168         (js-syntax-propertize-function): New var; replaces
4169         js-font-lock-syntactic-keywords.
4170         (js-mode): Use it.
4172         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4173         replaces gdb-script-font-lock-syntactic-keywords.
4174         (gdb-script-mode): Use it.
4176         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4177         (fortran--font-lock-syntactic-keywords): New var.
4178         (fortran-line-length): Update syntax-propertize-function and
4179         fortran--font-lock-syntactic-keywords.
4181         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4183         * progmodes/cfengine.el (cfengine-mode):
4184         Use syntax-propertize-function.
4185         (cfengine-font-lock-syntactic-keywords): Remove.
4187         * progmodes/autoconf.el (autoconf-mode):
4188         Use syntax-propertize-function.
4189         (autoconf-font-lock-syntactic-keywords): Remove.
4191         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4192         (ada-after-change-function, ada-initialize-syntax-table-properties)
4193         (ada-handle-syntax-table-properties): Only define when
4194         syntax-propertize is not available.
4195         (ada-mode): Use syntax-propertize-function.
4197         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4198         (font-lock-fontify-syntactic-keywords-region): Move handling of
4199         font-lock-syntactically-fontified to...
4200         (font-lock-default-fontify-region): ...here.
4201         Let syntax-propertize-function take precedence.
4202         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4204         * emacs-lisp/syntax.el (syntax-propertize-function)
4205         (syntax-propertize-chunk-size, syntax-propertize--done)
4206         (syntax-propertize-extend-region-functions): New vars.
4207         (syntax-propertize-wholelines, syntax-propertize-multiline)
4208         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4209         (syntax-propertize): New functions.
4210         (syntax-propertize-rules): New macro.
4211         (syntax-ppss-flush-cache): Set syntax-propertize--done.
4212         (syntax-ppss): Call syntax-propertize.
4214         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4216 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
4218         * textmodes/ispell.el (ispell-init-process): Improve comments.
4219         XEmacs compatibility changes regarding (add-hook) 'local option
4220         and (set-process-query-on-exit-flag).
4222 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
4224         * net/tramp-cache.el (tramp-parse-connection-properties):
4225         Set tramp-autoload cookie.
4227 2010-09-09  Glenn Morris  <rgm@gnu.org>
4229         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4230         (imagemagick-register-types): Doc fix.
4232 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4234         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4236         * progmodes/js.el (require): Require is already "eval-and-compile".
4237         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
4238         (js--re-search-backward): Use js--re-search-forward.
4240         * progmodes/fortran.el (fortran-line-length): Don't recompute
4241         syntactic keywords redundantly a second time.
4243         * progmodes/ada-mode.el: Replace "(set '" with setq.
4244         (ada-mode): Simplify.
4245         (ada-create-case-exception, ada-adjust-case-interactive)
4246         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4247         (ada-search-ignore-string-comment, ada-move-to-start)
4248         (ada-move-to-end): Use with-syntax-table.
4250         * font-lock.el (save-buffer-state): Remove `varlist' arg.
4251         (font-lock-unfontify-region, font-lock-default-fontify-region):
4252         Update usage correspondingly.
4253         (font-lock-fontify-syntactic-keywords-region):
4254         Set parse-sexp-lookup-properties buffer-locally here.
4255         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4257         * simple.el (blink-matching-open): Don't burp if we can't find a match.
4259 2010-09-08  Glenn Morris  <rgm@gnu.org>
4261         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4262         Error if not compiled with -DBYTE_CODE_METER.
4264         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4265         Ignore dir-locals-file.
4267 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4269         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4270         Not a const.
4271         (compilation-error-regexp-alist-alist): Rule out ": " in file names
4272         for the `gnu' messages.
4273         (compilation-set-skip-threshold): New command.
4274         (compilation-start): Use \' rather than $.
4275         (compilation-forget-errors): Use clrhash.
4277 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
4279         * textmodes/ispell.el (ispell-valid-dictionary-list):
4280         Simplify logic.
4282 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
4284         Migrate to Tramp 2.2.  Rearrange load dependencies.
4285         (Bug#1529, Bug#5448, Bug#5705)
4287         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4288         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4289         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4291         * net/tramp.el (top): Remove all other tramp-* loads except
4292         tramp-compat.el.  Remove all changes to tramp-unload-hook for
4293         other tramp-* packages.  Rearrange defun order.  Change calls of
4294         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4295         `tramp-compat-octal-to-decimal' to new function names.
4296         (tramp-terminal-type, tramp-initial-end-of-output)
4297         (tramp-methods, tramp-foreign-file-name-handler-alist)
4298         (tramp-tramp-file-p, tramp-completion-mode-p)
4299         (tramp-send-command-and-check, tramp-get-remote-path)
4300         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4301         (tramp-shell-quote-argument): Set tramp-autoload cookie.
4302         (with-file-property, with-connection-property): Move to
4303         tramp-cache.el.
4304         (tramp-local-call-process, tramp-decimal-to-octal)
4305         (tramp-octal-to-decimal): Move to tramp-compat.el.
4306         (tramp-handle-shell-command): Do not require 'shell.
4307         (tramp-compute-multi-hops): No special handling for tramp-gw-*
4308         symbols.
4309         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4311         * net/tramp-cache.el (top): Require 'tramp.  Add to
4312         `tramp-unload-hook'.
4313         (tramp-cache-data, tramp-get-file-property)
4314         (tramp-set-file-property, tramp-flush-file-property)
4315         (tramp-flush-directory-property, tramp-get-connection-property)
4316         (tramp-set-connection-property, tramp-flush-connection-property)
4317         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4318         cookie.
4319         (with-file-property, with-connection-property): New defuns, moved
4320         from tramp.el.
4321         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4322         macro.
4324         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4325         (tramp-version): Set tramp-autoload cookie.
4327         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
4328         changes to tramp-unload-hook for other tramp-* packages.  Add to
4329         `tramp-unload-hook'.
4330         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4331         (tramp-compat-call-process): New defuns, moved from tramp.el.
4333         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
4334         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4335         Add to `tramp-unload-hook'.  Change call of
4336         `tramp-compat-decimal-to-octal' to new function name.
4337         (tramp-fish-method): Make it a defconst.
4338         (tramp-fish-file-name-p): Make it a defsubst.
4339         (tramp-fish-method, tramp-fish-file-name-handler)
4340         (tramp-fish-file-name-p): Set tramp-autoload cookie.
4342         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4343         `tramp-foreign-file-name-handler-alist'.  Add to
4344         `tramp-unload-hook'.
4345         (tramp-ftp-method): Make it a defconst.
4346         (tramp-ftp-file-name-p): Make it a defsubst.
4347         (tramp-ftp-method, tramp-ftp-file-name-handler)
4348         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4350         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4351         `tramp-foreign-file-name-handler-alist'.  Add to
4352         `tramp-unload-hook'.  Change checks, whether package can be
4353         loaded.
4354         (tramp-gvfs-file-name-p): Make it a defsubst.
4355         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4356         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4357         (tramp-gvfs-handle-file-directory-p): New defun.
4358         (tramp-gvfs-file-name-handler-alist): Use it.
4360         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4361         `tramp-foreign-file-name-handler-alist'.  Add to
4362         `tramp-unload-hook'.
4363         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4364         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4365         defconst.
4366         (tramp-gw-tunnel-method, tramp-gw-socks-method)
4367         (tramp-gw-open-connection): Set tramp-autoload cookie.
4369         * net/tramp-imap.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.
4373         (tramp-imap-file-name-p): Make it a defsubst.
4374         (tramp-imap-method, tramp-imaps-method)
4375         (tramp-imap-file-name-handler)
4376         (tramp-imap-file-name-p): Set tramp-autoload cookie.
4378         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
4379         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4380         Add to `tramp-unload-hook'.  Change checks, whether package can be
4381         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
4382         function name.
4383         (tramp-smb-tunnel-method): Make it a defconst.
4384         (tramp-smb-file-name-p): Make it a defsubst.
4385         (tramp-smb-method, tramp-smb-file-name-handler)
4386         (tramp-smb-file-name-p): Set tramp-autoload cookie.
4388         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4389         (tramp-uuencode-region): Set tramp-autoload cookie.
4391         * net/trampver.el (top) Add to `tramp-unload-hook'.
4392         (tramp-version, tramp-bug-report-address): Set tramp-autoload
4393         cookie.  Update release number.
4395 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
4397         * textmodes/ispell.el (ispell-start-process): Make sure original
4398         arg list is properly initialized (Bug#6993, Bug#6994).
4400 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4402         * files.el (directory-abbrev-alist): Use \` as default regexp.
4404         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4405         chars like - or ] (bug#6984).
4406         (rx-any-condense-range): Explode 2-char ranges.
4408 2010-09-06  Glenn Morris  <rgm@gnu.org>
4410         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4412 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4414         * textmodes/bibtex.el:
4415         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4417 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4419         * net/imap.el (imap-message-map): Remove optional buffer parameter,
4420         since no callers use it.
4421         (imap-message-get): Ditto.
4422         (imap-message-put): Ditto.
4423         (imap-mailbox-map): Ditto.
4424         (imap-mailbox-put): Ditto.
4425         (imap-mailbox-get): Ditto.
4426         (imap-mailbox-get): Revert last change for this function.
4428 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4430         * net/imap.el (imap-fetch-safe): Remove function, and alter all
4431         callers to use `imap-fetch' instead.  According to the comments, this
4432         should be safe, since all other IMAP clients use the 1:* syntax.
4433         (imap-enable-exchange-bug-workaround): Remove.
4434         (imap-debug): Remove -- doesn't seem very useful.
4436 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4438         * net/imap.el (imap-log): New convenience function used throughout
4439         instead of repeating the same code all over the place.
4441 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
4443         * mouse.el (mouse-save-then-kill): Save region to kill-ring
4444         when mouse-drag-copy-region is non-nil (Bug#6956).
4446 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
4448         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4449         Improve regexps (Bug#6987).
4450         (dired-sort-toggle): Search more robustly for -t flag.
4452         * files.el (get-free-disk-space): Search more robustly for
4453         "available" column.  Suggested by Ehud Karni
4454         <ehud@unix.mvs.co.il>.
4456 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
4458         * international/uni-bidi.el:
4459         * international/uni-category.el:
4460         * international/uni-combining.el:
4461         * international/uni-decimal.el:
4462         * international/uni-mirrored.el:
4463         * international/uni-name.el: Regenerate.
4465 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4467         * electric.el (electric-indent-post-self-insert-function):
4468         Don't reindent with a sloppy indentation function.
4470         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4471         border case in change-log-mode.
4473 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
4475         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4476         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4477         Recognize leading tab in gcc-include regexp.  Ignore names with
4478         leading "from" or "in" in gnu regexp (Bug#6937).
4480 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4482         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4483         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4484         (ispell-start-process): Avoid setq and simplify logic.
4485         (ispell-init-process): Setup kill-buffer-hook locally when needed.
4486         (kill-buffer-hook): Don't use it globally with code that uses
4487         expand-file-name since that may call kill-buffer via
4488         code_conversion_restore.
4490 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
4492         * emacs-lisp/package.el (package-directory-list): Only call
4493         file-name-nondirectory on a string.
4495 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4497         * emacs-lisp/package.el (package--download-one-archive):
4498         Ensure that archive-contents is valid before saving it.
4499         (package-activate-1, package-mark-obsolete, define-package)
4500         (package-compute-transaction, package-list-maybe-add): Use push.
4502 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4504         Use SMIE's blink-paren for octave-mode.
4505         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4506         Backslashes do not escape single-quotes, single-quotes do.
4507         (octave-block-else-regexp, octave-block-end-regexp)
4508         (octave-block-match-alist): Remove.
4509         (octave-smie-bnf-table): New var, with old content.
4510         (octave-smie-op-levels): Use it.
4511         (octave-smie-closer-alist): New var.
4512         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
4513         (octave-blink-matching-block-open): Remove.
4514         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4515         (octave-electric-space): Let self-insert-command run expand-abbrev and
4516         blink parens.
4518         * electric.el (electricity): New group.
4519         (electric-indent-chars): New var.
4520         (electric-indent-post-self-insert-function): New fun.
4521         (electric-indent-mode): New minor mode.
4522         (electric-pair-skip-self): New custom.
4523         (electric-pair-post-self-insert-function): New function.
4524         (electric-pair-mode): New minor mode.
4526         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4527         calcAlg-blink-matching-open.
4528         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4529         (calc-do-alg-entry): Only touch the part of the keymap that varies.
4530         Use the new blink-matching-check-function.
4532         Provide blink-matching support to SMIE.
4533         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4534         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4535         (smie-blink-matching-check, smie-blink-matching-open): New functions.
4537         * simple.el (newline): Fix last change to properly remove itself from
4538         the hook.
4540 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4542         * simple.el (newline): Eliminate optimization.
4543         Use post-self-insert-hook to set hard-newline and things before
4544         running post-self-insert-hook.
4545         (blink-matching-check-mismatch): New function.
4546         (blink-matching-check-function): New variable.
4547         (blink-matching-open): Use them.
4548         Skip back forward over prefix chars skipped by forward-sexp.
4549         Don't check if the parens are backslash escaped.
4550         (blink-paren-post-self-insert-function): Check backslash escaping here.
4552 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4554         * emacs-lisp/package.el (package-menu-mode-map):
4555         Change package-menu-revert bindings to revert-buffer.
4556         (package-menu-mode): Set revert-buffer-function.
4557         (package-menu-revert): Doc fix.
4559 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
4561         * textmodes/ispell.el (ispell-init-process): Use "~/" as
4562         `default-directory' unless using Ispell per-directory personal
4563         dictionaries and not in a mini-buffer under XEmacs.
4564         (kill-buffer-hook): Do not kill ispell process on exit when
4565         `ispell-process-directory' is "~/".  (Bug#6143)
4567 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
4569         * simple.el (kill-new): Call interprogram-cut-function with only
4570         one argument.
4572         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4573         Remove cut buffer from error message.
4575         * term/x-win.el (x-select-text):
4576         * term/pc-win.el (x-selection-value):
4577         * term/ns-win.el (x-selection-value):
4578         * eshell/em-term.el:
4579         * w32-fns.el (x-get-selection-value):
4580         * mouse-sel.el (mouse-sel-set-selection-function):
4581         * frame.el (display-selections-p): Remove cut-buffer in documentation.
4583         * term/x-win.el: Update documentation for x-last-selected-text-*.
4584         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4585         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4586         (x-select-text): Remove argument PUSH, update documentation.
4587         Remove cut-buffer code.
4588         (x-selection-value-internal): Was previously x-selection-value.
4589         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4590         Update documentation, remove cut-buffer code.
4591         Call x-selection-value-internal.
4592         (x-clipboard-yank): Call x-selection-value-internal.
4593         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4595         * term/pc-win.el (x-last-selected-text):
4596         x-cut-buffer-or-selection-value renamed to x-selection-value
4597         (x-select-text): Remove argument PUSH, update documentation.
4599         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4600         x-cut-buffer-or-selection-value renamed to x-selection-value
4601         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4602         (x-select-text): Remove argument PUSH, update documentation.
4604         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4606         * w32-fns.el (x-last-selected-text):
4607         x-cut-buffer-or-selection-value renamed to x-selection-value.
4608         (x-cut-buffer-max): Remove.
4609         (x-select-text): Remove argument PUSH, update documentation.
4611         * simple.el (interprogram-cut-function): Remove mention of PUSH.
4613         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4615         * mouse-sel.el (mouse-sel-get-selection-function):
4616         x-cut-buffer-or-selection-value renamed to x-selection-value.
4617         (x-select-text): Remove optional push.
4619 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4621         * simple.el (blink-paren-function): Move from C to here.
4622         (blink-paren-post-self-insert-function): New function.
4623         (post-self-insert-hook): Use it.
4625         * emacs-lisp/pcase.el (pcase-split-memq):
4626         Fix overenthusiastic optimisation.
4627         (pcase-u1): Handle the case of a lambda pred.
4629 2010-08-31  Kenichi Handa  <handa@m17n.org>
4631         * international/mule-cmds.el (standard-display-european-internal):
4632         Setup standard-display-table for 8-bit characters by storing 8-bit
4633         characters in the element vector.
4635         * disp-table.el (standard-display-8bit):
4636         Setup standard-display-table for 8-bit characters by storing 8-bit
4637         characters in the element vector.
4638         (standard-display-european): Likewise.
4640 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
4642         * textmodes/nroff-mode.el (nroff-view): New command.
4643         (nroff-mode-map): Bind it to C-c C-c.
4645 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4647         * emacs-lisp/smie.el (smie-down-list): New command.
4649         Remove old indentation and navigation code on octave-mode.
4650         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4651         smie-down-list rather than add a binding for octave-down-block.
4652         (octave-mark-block, octave-blink-matching-block-open):
4653         Rely on forward-sexp-function.
4654         (octave-fill-paragraph): Don't narrow, so you can use
4655         indent-according-to-mode.
4656         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4657         (octave-in-block-p, octave-re-search-forward-kw)
4658         (octave-re-search-backward-kw, octave-indent-calculate)
4659         (octave-end-as-array-index-p, octave-block-end-offset)
4660         (octave-scan-blocks, octave-forward-block, octave-backward-block)
4661         (octave-down-block, octave-backward-up-block, octave-up-block)
4662         (octave-before-magic-comment-p, octave-indent-line): Remove.
4664 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
4666         * emacs-lisp/package.el (package--read-archive-file): Just use
4667         `read', to avoid copying an additional string.
4668         (package-menu-mode): Set header-line-format here.
4669         (package-menu-refresh, package-menu-revert): Signal an error if
4670         not in the Package Menu.
4671         (package-menu-package-list): New var.
4672         (package--generate-package-list): Operate on the current buffer;
4673         don't assume that it is *Packages*, since the user may rename it.
4674         Allow persistent package listings and sort keys using
4675         package-menu-package-list and package-menu-package-sort-key.
4676         (package-menu--version-predicate): Fix version calculation.
4677         (package-menu-sort-by-column): Don't select the window.
4678         (package--list-packages): Create the *Packages* buffer.
4679         Set package-menu-package-list-key.
4680         (list-packages): Sorting by status is now the default.
4681         (package-buffer-info): Use match-string-no-properties.
4682         (define-package): Add a &rest argument for future proofing, but
4683         don't use it yet.
4684         (package-install-from-buffer, package-install-buffer-internal):
4685         Merge into a single function, package-install-from-buffer.
4686         (package-install-file): Change caller.
4688         * finder.el: Load finder-inf using `require'.
4689         (finder-list-matches): Sorting by status is now the default.
4690         (finder-compile-keywords): Simpify printing.
4692 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4694         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4695         (octave-mode-map): Remove special bindings for forward/backward-block
4696         and octave-backward-up-block.  Use smie-close-block.
4697         (octave-continuation-marker-regexp): New var.
4698         (octave-continuation-regexp): Use it.
4699         (octave-operator-table, octave-smie-op-levels)
4700         (octave-operator-regexp, octave-smie-indent-rules): New vars.
4701         (octave-smie-backward-token, octave-smie-forward-token): New funs.
4702         (octave-mode): Use SMIE.
4703         (octave-close-block): Delete.
4705 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
4707         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4708         CLIPBOARD, not in PRIMARY.  (Bug#6944)
4710 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4712         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4713         a list of parents.
4714         (smie-indent-column): Allow indirection through variables.
4716         * composite.el (save-buffer-state): Delete, unused.
4717         * font-lock.el (save-buffer-state): Use with-silent-modifications.
4718         (font-lock-default-fontify-region): Use with-syntax-table.
4719         * jit-lock.el (with-buffer-unmodified): Remove.
4720         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4722         Use `declare' in defmacros.
4723         * window.el (save-selected-window):
4724         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4725         * progmodes/python.el (def-python-skeleton):
4726         * net/dbus.el (dbus-ignore-errors):
4727         * jka-cmpr-hook.el (with-auto-compression-mode):
4728         * international/mule.el (with-category-table):
4729         * emacs-lisp/timer.el (with-timeout):
4730         * emacs-lisp/lisp-mnt.el (lm-with-file):
4731         * emacs-lisp/eieio.el (with-slots):
4732         * emacs-lisp/easymenu.el (easy-menu-define):
4733         * emacs-lisp/debug.el (debugger-env-macro):
4734         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4735         (Multiple-value-call, Multiple-value-prog1):
4736         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4737         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4738         edebug rule to definition.
4739         * emacs-lisp/lisp-mode.el (save-selected-window)
4740         (with-current-buffer, combine-after-change-calls)
4741         (with-output-to-string, with-temp-file, with-temp-buffer)
4742         (with-temp-message, with-syntax-table, read-if, eval-after-load)
4743         (dolist, dotimes, when, unless):
4744         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4746 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4748         * finder.el: Require `package'.
4749         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
4750         (finder-package-info): Var deleted.
4751         (finder-keywords-hash, finder--builtins-alist): New vars.
4752         (finder-compile-keywords): Compute package--builtins and
4753         finder-keywords-hash instead of finder-keywords-hash, respecting
4754         the "Package" header.
4755         (finder-unknown-keywords, finder-list-matches):
4756         Use finder-keywords-hash and package--list-packages.
4757         (finder-mode): Don't set font-lock-defaults.
4758         (finder-exit): We don't use "*Finder-package*" and "*Finder
4759         Category*" buffers anymore.
4761         * emacs-lisp/package.el (package--builtins-base): Var deleted.
4762         (package--builtins): Set default value to nil.
4763         (package-initialize): Load precomputed value of package--builtins
4764         from finder-inf.el.
4765         (package-alist, package-compute-transaction)
4766         (package-download-transaction): Improve docstring.
4767         (package-read-all-archive-contents): Do not change
4768         package--builtins here.
4769         (list-packages): Make package-list-packages an alias for this.
4770         Sort by status by default.
4771         (package--list-packages): Add optional PACKAGES arg.
4772         (describe-package-1): Use font-lock-face property.  For built-in
4773         packages, insert file commentary.
4774         (package--generate-package-list): Rename from
4775         package-list-packages-internal; all callers changed.  Add optional
4776         PACKAGES arg.  Add alphabetical sort fallbacks.
4777         (package-menu--version-predicate, package-menu--status-predicate)
4778         (package-menu--description-predicate)
4779         (package-menu--name-predicate): New functions.
4781         * info.el (Info-finder-find-node): Search package-alist instead of
4782         finder-package-info.
4784 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4786         * subr.el (version-regexp-alist): Don't use "a" and "b" for
4787         "alpha" and "beta".
4788         (version-to-list): Handle versions like "10.3d".
4790 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4792         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4793         (macroexp-accumulate): Use `declare'.
4795 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4797         * whitespace.el (whitespace-style): Adjust type declaration.
4799 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
4801         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4802         empty argument to gvfs-copy.
4804 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4806         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4807         handle new TRASH arg of `delete-file'.
4809 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4811         * net/tramp.el (tramp-handle-insert-directory): Don't use
4812         `forward-word', its default syntax could be changed.
4814 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
4815             Michael Albinus  <michael.albinus@gmx.de>
4817         Implement compression for inline methods.
4819         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4820         (tramp-copy-size-limit): Allow also nil.
4821         (tramp-inline-compress-commands): New defconst.
4822         (tramp-find-inline-compress, tramp-get-inline-compress)
4823         (tramp-get-inline-coding): New defuns.
4824         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4825         replaced by `tramp-get-inline-coding'.
4826         (tramp-handle-file-local-copy, tramp-handle-write-region)
4827         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4829 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
4831         Detect ssh 'ControlMaster' argument automatically in some cases.
4833         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4834         (tramp-default-method): Use it.
4836 2010-08-26  Karel Klíč  <kklic@redhat.com>
4838         * net/tramp.el (tramp-file-name-for-operation):
4839         Add file-selinux-context.
4841 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
4843         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4845 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4847         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4848         (Bug#6907).
4850 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
4852         * progmodes/js.el: Make indentation more customizable (Bug#6914).
4853         (js-paren-indent-offset, js-square-indent-offset)
4854         (js-curly-indent-offset): New options.
4855         (js--proper-indentation): Use them.
4857 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
4859         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4860         instead of inspecting font-lock properties (Bug#6916).
4862 2010-08-26  David Reitter  <david.reitter@gmail.com>
4864         * server.el (server-visit-files): Run pre-command-hook and
4865         post-command-hook for each buffer while it is current (Bug#6910).
4866         (server-execute): Do not run hooks here.
4868 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
4870         Sync with Tramp 2.1.19.
4872         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4873         (tramp-reporter-dump-variable, tramp-load-report-modules)
4874         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4875         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4877         * net/tramp-compat.el (top): Do not autoload
4878         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
4879         only when `start-file-process' is not bound.
4880         (byte-compile-not-obsolete-vars): Define if not bound.
4881         (tramp-compat-funcall): New defmacro.
4882         (tramp-compat-line-beginning-position)
4883         (tramp-compat-line-end-position)
4884         (tramp-compat-temporary-file-directory)
4885         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4886         (tramp-compat-copy-file, tramp-compat-copy-directory)
4887         (tramp-compat-delete-file, tramp-compat-delete-directory)
4888         (tramp-compat-number-sequence, tramp-compat-process-running-p):
4889         Use it.
4890         (tramp-advice-file-expand-wildcards): Do not use
4891         `tramp-handle-file-remote-p'.
4892         (tramp-compat-make-temp-file): Simplify fallback implementation.
4893         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4894         (tramp-compat-copy-tree): Remove function.
4895         (tramp-compat-delete-file): New defun.
4896         (tramp-compat-delete-directory): Provide implementation for older
4897         Emacsen.
4898         (tramp-compat-file-attributes): Handle only
4899         `wrong-number-of-arguments' error.
4901         * net/tramp-fish.el (tramp-fish-handle-copy-file):
4902         Add PRESERVE_SELINUX_CONTEXT.
4903         (tramp-fish-handle-delete-file): Add TRASH arg.
4904         (tramp-fish-handle-directory-files-and-attributes):
4905         Do not use `tramp-fish-handle-file-attributes.
4906         (tramp-fish-handle-file-local-copy)
4907         (tramp-fish-handle-insert-file-contents)
4908         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4910         * net/tramp-gvfs.el (top): Require url-util.
4911         (tramp-gvfs-mount-point): Remove.
4912         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4913         and `set-file-selinux-context'.
4914         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4915         (tramp-gvfs-handle-file-selinux-context)
4916         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4917         (with-tramp-dbus-call-method): Format trace message.
4918         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4919         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4920         Implement backup call, when operation on local files fails.
4921         Use progress reporter.  Flush properties of changed files.
4922         (tramp-gvfs-handle-delete-file): Add TRASH arg.
4923         Use `tramp-compat-delete-file'.
4924         (tramp-gvfs-handle-expand-file-name): Expand "~/".
4925         (tramp-gvfs-handle-make-directory): Make more traces.
4926         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4927         (tramp-gvfs-url-file-name): Hexify file name in url.
4928         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4929         into account for the resulting file name.
4930         (tramp-gvfs-handler-askquestion): Preserve current message, in
4931         order to let progress reporter continue afterwards.  (Bug#6257)
4932         Return dummy mountpoint, when the answer is "no".
4933         See `tramp-gvfs-maybe-open-connection'.
4934         (tramp-gvfs-handler-mounted-unmounted)
4935         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4936         attribute "default_location".  Set "prefix" property.
4937         Handle default-location.
4938         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4939         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4940         exists.  Raise an error, if not (due to a corresponding answer
4941         "no" in interactive questions, for example).
4942         Use `tramp-compat-funcall'.
4944         * net/tramp-imap.el (top): Autoload `epg-make-context'.
4945         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4946         (tramp-imap-do-copy-or-rename-file)
4947         (tramp-imap-handle-insert-file-contents)
4948         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4949         (tramp-imap-handle-delete-file): Add TRASH arg.
4951         * net/tramp-smb.el (tramp-smb-handle-copy-file):
4952         Add PRESERVE-SELINUX-CONTEXT.
4953         (tramp-smb-handle-copy-file)
4954         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4955         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4956         Use `with-progress-reporter'.
4957         (tramp-smb-handle-delete-file): Add TRASH arg.
4959         * net/tramp.el (tramp-methods): Move hostname to the end in all
4960         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
4961         appropriate.
4962         (tramp-verbose): Describe verbose level 9.
4963         (tramp-completion-function-alist)
4964         (tramp-file-name-regexp, tramp-chunksize)
4965         (tramp-local-coding-commands, tramp-remote-coding-commands)
4966         (with-connection-property, tramp-completion-mode-p)
4967         (tramp-action-process-alive, tramp-action-out-of-band)
4968         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4969         (tramp-exists-file-name-handler): Fix docstring.
4970         (tramp-remote-process-environment): Use `format' instead of
4971         `concat'.  Protect version string by apostroph.
4972         (tramp-shell-prompt-pattern): Do not use a shy group in case of
4973         XEmacs.
4974         (tramp-file-name-regexp-unified)
4975         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4976         not regard the volume letter as remote filename.  (Bug#5447)
4977         (tramp-perl-file-attributes)
4978         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4979         (tramp-vc-registered-read-file-names): Read input as
4980         here-document, otherwise the command could exceed maximum length
4981         of command line.
4982         (tramp-file-name-handler-alist): Add `file-selinux-context' and
4983         `set-file-selinux-context'.
4984         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4985         backtrace functions.
4986         (tramp-error-with-buffer): Don't show the connection buffer when
4987         we are in completion mode.
4988         (tramp-progress-reporter-update, tramp-remote-selinux-p)
4989         (tramp-handle-file-selinux-context)
4990         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4991         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4992         New defuns.
4993         (with-progress-reporter): New defmacro.
4994         (tramp-debug-outline-regexp): New defconst.
4995         (top, tramp-rfn-eshadow-setup-minibuffer)
4996         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4997         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4998         (tramp-completion-mode-p, tramp-check-for-regexp)
4999         (tramp-open-connection-setup-interactive-shell)
5000         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5001         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5002         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5003         Use `tramp-compat-funcall'.
5004         (tramp-handle-make-symbolic-link): Flush file properties.
5005         (tramp-handle-load, tramp-handle-file-local-copy)
5006         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5007         (tramp-handle-vc-registered, tramp-maybe-send-script)
5008         (tramp-find-shell): Use `with-progress-reporter'.
5009         (tramp-do-file-attributes-with-stat): Add space in format string,
5010         in order to work around a bug in pdksh.  Reported by Gilles Pion
5011         <gpion@lfdj.com>.
5012         (tramp-handle-verify-visited-file-modtime): Do not send a command
5013         when the connection is not established.
5014         (tramp-handle-set-file-times): Simplify the check for utc.
5015         (tramp-handle-directory-files-and-attributes)
5016         (tramp-get-remote-path): Use `copy-tree'.
5017         (tramp-completion-handle-file-name-all-completions): Ensure, that
5018         non remote files are still checked.  Oops.
5019         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5020         Handle PRESERVE-SELINUX-CONTEXT.
5021         (tramp-do-copy-or-rename-file): Add progress reporter.
5022         (tramp-do-copy-or-rename-file-directly): Do not use
5023         `tramp-handle-file-remote-p'.
5024         (tramp-do-copy-or-rename-file-out-of-band):
5025         Use `tramp-compat-delete-directory'.
5026         (tramp-do-copy-or-rename-file-out-of-band)
5027         (tramp-compute-multi-hops, tramp-maybe-open-connection):
5028         Use `format-spec-make'.
5029         (tramp-handle-delete-file): Add TRASH arg.
5030         (tramp-handle-dired-uncache): Flush directory cache, not only file
5031         cache.
5032         (tramp-handle-expand-file-name)
5033         (tramp-completion-handle-file-name-all-completions)
5034         (tramp-completion-handle-file-name-completion):
5035         Use `tramp-connectable-p'.
5036         (tramp-handle-start-file-process): Set connection property "vec".
5037         Use it, in order to invalidate file caches.  Check only for
5038         `remote-tty' process property.
5039         Implement tty setting.  (Bug#4604, Bug#6360)
5040         (tramp-file-name-for-operation): Add `call-process-region' and
5041         `set-file-selinux-context'.
5042         (tramp-find-foreign-file-name-handler)
5043         (tramp-advice-make-auto-save-file-name)
5044         (tramp-set-auto-save-file-modes): Remove superfluous check for
5045         `stringp'.  This is done inside `tramp-tramp-file-p'.
5046         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
5047         operations when we are in completion mode.  This gives the user
5048         the chance to correct the file name in the minibuffer.
5049         (tramp-completion-mode-p): Use `non-essential'.
5050         (tramp-handle-file-name-all-completions): Backward/ XEmacs
5051         compatibility: Use `completion-ignore-case' if
5052         `read-file-name-completion-ignore-case' does not exist.
5053         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5054         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5055         `tramp-open-shell'.
5056         (tramp-action-password): Hide password prompt before next run.
5057         (tramp-process-actions): Widen connection buffer for the trace.
5058         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5059         process property.  Trace stty settings if `tramp-verbose' >= 9.
5060         Apply workaround for IRIX64 bug.  Move argument of last
5061         `tramp-send-command' where it belongs to.
5062         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5063         front of `login-args'.
5064         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5065         on "/dev/null" instead of "/".
5066         (tramp-get-ls-command-with-dired): Make test for "--dired"
5067         stronger.
5068         (tramp-set-auto-save-file-modes): Adapt version check.
5069         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5070         (tramp-handle-process-file): Call the program in a subshell, in
5071         order to preserve working directory.
5072         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5073         `tramp-remote-sh' from `tramp-methods'.
5074         (tramp-get-ls-command): Make test for "--color=never" stronger.
5075         (tramp-check-for-regexp): Use (forward-line 1).
5077         * net/trampver.el: Update release number.
5079 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5081         * help.el (help-map): Bind `C-h P' to describe-package.
5083         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5085         * emacs-lisp/package.el (package-refresh-contents): Catch errors
5086         when downloading archives.
5087         (describe-package-1): Add package commentary.
5088         (package-install-button-action): New function.
5089         (package-menu-mode-map): Bind ? to package-menu-describe-package.
5090         (package-menu-view-commentary): Function removed.
5091         (package-list-packages-internal): Hide the `package' package too.
5093 2010-08-25  Kenichi Handa  <handa@m17n.org>
5095         * language/misc-lang.el ("Arabic"): New language environment.
5096         Setup composition-function-table for Arabic characters.
5098         * international/fontset.el (setup-default-fontset): Fix typo for
5099         arabic OTF spec (fini->fina).
5101 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
5103         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5104         on all frames.
5106 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5108         * whitespace.el: Allow cleaning up blanks without blank
5109         visualization (Bug#6651).  Adjust help window for
5110         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
5111         instead of whitespace-line-column (from EmacsWiki).  New version
5112         13.1.
5113         (whitespace-style): Add new value 'face.  Adjust docstring.
5114         (whitespace-space, whitespace-hspace, whitespace-tab):
5115         Adjust foreground property face.
5116         (whitespace-line-column): Adjust docstring and type declaration.
5117         (whitespace-style-value-list, whitespace-toggle-option-alist)
5118         (whitespace-help-text): Adjust const initialization.
5119         (whitespace-toggle-options, global-whitespace-toggle-options):
5120         Adjust docstring.
5121         (whitespace-display-window, whitespace-interactive-char)
5122         (whitespace-style-face-p, whitespace-color-on): Adjust code.
5123         (whitespace-help-scroll): New fun.
5125 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5127         * emacs-lisp/package.el (list-packages): Alias for
5128         package-list-packages.
5130 2010-08-24  Kevin Ryde  <user42@zip.com.au>
5132         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5133         (Bug#5651).
5135         * progmodes/ruby-mode.el (ruby): Add defgroup.
5137 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5139         * progmodes/python.el: Add Ipython support (Bug#5390).
5140         (python-shell-prompt-alist)
5141         (python-shell-continuation-prompt-alist): New options.
5142         (python--set-prompt-regexp): New function.
5143         (inferior-python-mode, run-python, python-shell):
5144         Require ansi-color.  Use python--set-prompt-regexp to set the comint
5145         prompt based on the Python interpreter.
5146         (python--prompt-regexp): New var.
5147         (python-check-comint-prompt)
5148         (python-comint-output-filter-function): Use it.
5149         (run-python): Use a pipe (Bug#5694).
5151 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
5153         * progmodes/python.el (python-send-region): Send a different
5154         Python command if Ipython is in use.
5155         (python-check-version): Use a Python command to find the version.
5157 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5159         * mouse.el (mouse-yank-primary): Avoid setting primary when
5160         deactivating the mark (Bug#6872).
5162 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
5164         * progmodes/python.el (python-block-pairs): Allow use of "finally"
5165         with "else" (Bug#3991).
5167 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
5169         * net/dbus.el: Accept UNIX domain sockets as bus address.
5170         (top): Don't initialize `dbus-registered-objects-table' anymore,
5171         this is done in dbusbind,c.
5172         (dbus-check-event): Adapt test for bus.
5173         (dbus-return-values-table, dbus-unregister-service)
5174         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5175         Adapt doc string.
5177 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
5179         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5181 2010-08-22  Juri Linkov  <juri@jurta.org>
5183         * simple.el (read-extended-command): New function with the logic
5184         for `completing-read' moved to Elisp from `execute-extended-command'.
5185         Use `function-called-at-point' in `minibuffer-default-add-function'
5186         to get a command name for M-n (bug#5364, bug#5214).
5188 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5190         * startup.el (command-line-1): Issue warning for ignored arguments
5191         --unibyte, etc (Bug#6886).
5193 2010-08-22  Leo  <sdl.web@gmail.com>
5195         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5196         (ignore, bright, dim, keyword): Split list of nicknames before
5197         passing to rcirc-add-or-remove (Bug#6894).
5199 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5201         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5203 2010-08-22  Leo  <sdl.web@gmail.com>
5205         Fix buffer-list rename&refresh after killing a buffer in ido.
5206         * ido.el: Revert Óscar's.
5207         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5208         Remember the buffers at head, rather than their name.
5209         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5211 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
5212             Stefan Monnier  <monnier@iro.umontreal.ca>
5214         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5215         extra backslash added to each line (bug#6890).
5217 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5219         * subr.el (read-key): Don't echo keystrokes (bug#6883).
5221 2010-08-22  Glenn Morris  <rgm@gnu.org>
5223         * menu-bar.el (menu-bar-games-menu): Add landmark.
5225 2010-08-22  Glenn Morris  <rgm@gnu.org>
5227         * align.el (align-regexp): Make group and spacing arguments
5228         use the interactive defaults when non-interactive.  (Bug#6698)
5230         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5231         expansion, so as not to need sendmail.
5232         (mail-text-start): Remove declaration.
5233         (rmail-retry-failure): Require sendmail.
5235 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5237         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5239 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
5241         * progmodes/flymake.el (flymake-start-syntax-check-process):
5242         Use `start-file-process' in order to let it run also on remote hosts.
5244 2010-08-22  Kenichi Handa  <handa@m17n.org>
5246         * files.el: Add `word-wrap' as safe local variable.
5248 2010-08-22  Glenn Morris  <rgm@gnu.org>
5250         * woman.el (woman-translate): Case matters.  (Bug#6849)
5252 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5254         * simple.el (kill-region): Doc fix (Bug#6787).
5256 2010-08-22  Glenn Morris  <rgm@gnu.org>
5258         * calendar/diary-lib.el (diary-header-line-format):
5259         Fit it to the window, not the frame.
5261 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
5263         * subr.el (ignore-errors): Add debug declaration.
5265 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
5267         * whitespace.el (whitespace-color-off): Remove post-command-hook
5268         locally.
5270 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5272         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5274 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
5276         * cus-edit.el (custom-group-value-create): Add extra newline
5277         before end line (Bug#6876).
5279 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
5281         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5282         when extending it.  Before killing on the second click, check if
5283         the buffer is the correct one.  Doc fix.
5284         (mouse-secondary-save-then-kill): Allow usage without first
5285         calling mouse-start-secondary, by defaulting to point.  Don't save
5286         an empty secondary selection.  Doc fix.
5288 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5290         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
5291         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5292         New version 13.0.
5293         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5294         Adjust initialization.
5295         (whitespace-bob-marker, whitespace-eob-marker)
5296         (whitespace-buffer-changed): New vars.
5297         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5298         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5299         (whitespace-post-command-hook, whitespace-display-char-on):
5300         Adjust code.
5301         (whitespace-looking-back, whitespace-buffer-changed): New funs.
5302         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5304 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5306         * files.el (locate-file-completion-table): Only list the .el and .elc
5307         extensions if there's no other choice (bug#5955).
5309         * facemenu.el (facemenu-self-insert-data): New var.
5310         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5311         New functions.
5312         (facemenu-add-face): Use them.
5314         * simple.el (blink-matching-open): Obey forward-sexp-function.
5316 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5318         * simple.el (prog-mode-map): New var.
5319         (prog-indent-sexp): New command.
5321         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5323         * progmodes/prolog.el (smie): Require.
5325         * emacs-lisp/smie.el (smie-default-backward-token)
5326         (smie-default-forward-token): Strip properties.
5327         (smie-next-sexp): Be more careful with associative operators.
5328         (smie-forward-sexp-command): Generalize.
5329         (smie-backward-sexp-command): Simplify.
5330         (smie-closer-alist): New var.
5331         (smie-close-block): New command.
5332         (smie-indent-debug-log): New var.
5333         (smie-indent-offset-rule): Add a few more cases.
5334         (smie-indent-column): New function.
5335         (smie-indent-after-keyword): Use it.
5336         (smie-indent-keyword): Use it.
5337         Fix up the opener code's point position.
5338         (smie-indent-comment): Only applies at BOL.
5339         (smie-indent-debug): New command.
5341         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5342         declarations that are useful before running the macro.
5344 2010-08-18  Joakim Verona  <joakim@verona.se>
5346         * image.el (imagemagick-types-inhibit): New variable.
5347         (imagemagick-register-types): New function.
5348         * image-mode.el (image-transform-properties): New function.
5349         (image-transform-set-scale, image-transform-fit-to-height)
5350         (image-transform-set-rotation, image-transform-set-resize)
5351         (image-transform-fit-to-width, image-transform-fit-to-height):
5352         New functions.
5353         (image-toggle-display-image): Support image transforms.
5355 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
5357         * image.el (create-animated-image): Don't add heuristic mask to image
5358         (Bug#6839).
5360 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
5362         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5363         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5365 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5367         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5369         Font-lock '...' strings, plus various simplifications and fixes.
5370         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5371         (octave-font-lock-close-quotes): New function.
5372         (octave-font-lock-syntactic-keywords): New var.
5373         (octave-mode): Use it.  Set beginning-of-defun-function.
5374         (octave-mode-map): Don't override the <foo>-defun commands.
5375         (octave-mode-menu): Pass it directly to easy-menu-define;
5376         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5377         (octave-block-match-alist): Fix up last change so that
5378         octave-close-block uses the more specific keyword.
5379         (info-lookup-mode): Silence byte-compiler.
5380         (octave-beginning-of-defun): Not interactive any more.
5381         Optimize slightly.
5382         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5383         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5384         (octave-completion-at-point-function): Make sure point is within
5385         beg..end.
5386         (octave-reindent-then-newline-and-indent):
5387         Use reindent-then-newline-and-indent.
5388         (octave-add-octave-menu): Remove.
5390 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
5392         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5393         (report-emacs-bug-can-use-xdg-email): New functions.
5394         (report-emacs-bug): Set can-xdg-email to result of
5395         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
5396         \C-cm to report-emacs-bug-insert-to-mailer and add help text
5397         about it.
5399         * net/browse-url.el (browse-url-default-browser): Add cond
5400         for browse-url-xdg-open.
5401         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5403 2010-08-17  Glenn Morris  <rgm@gnu.org>
5405         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5406         (c-fontify-recorded-types-and-refs): Define for compiler.
5407         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5408         before use.
5410         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5411         Fix format call.
5413 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
5415         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5416         properties.
5417         (tramp-handle-process-file): Call the program in a subshell, in
5418         order to preserve working directory.
5419         (tramp-action-password): Hide password prompt before next run.
5420         (tramp-process-actions): Widen connection buffer for the trace.
5422 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5424         * net/rcirc.el (rcirc-log-process-buffers): New option.
5425         (rcirc-print): Use it.
5426         (rcirc-generate-log-filename): New function.
5427         (rcirc-log-filename-function): Change default to
5428         rcirc-generate-log-filename (Bug#6828).
5430 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
5432         * simple.el (deactivate-mark): If select-active-regions is `only',
5433         only set selection for temporarily active regions.
5435         * cus-start.el: Change defcustom for select-active-regions.
5437 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
5439         * mouse.el (mouse--drag-set-mark-and-point): New function.
5440         (mouse-drag-track): Use LOCATION arg to push-mark.
5441         Use mouse--drag-set-mark-and-point to take click-count into
5442         consideration when updating point and mark (Bug#6840).
5444 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
5446         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5447         Give the Ruby rule a lower priority than Gnu (Bug#6778).
5449 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5451         * font-lock.el (lisp-font-lock-keywords-2):
5452         Add combine-after-change-calls, condition-case-no-debug,
5453         with-demoted-errors, and with-silent-modifications (Bug#6025).
5455 2010-08-14  Kevin Ryde  <user42@zip.com.au>
5457         * emacs-lisp/copyright.el (copyright-update-year)
5458         (copyright-update): Temporary switch-to-buffer to ensure the
5459         buffer change being queried is visible (Bug#5394).
5461 2010-08-14  Tom Tromey  <tromey@redhat.com>
5463         * progmodes/etags.el (tags-file-name): Mark safe if stringp
5464         (Bug#6733).
5466 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
5468         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5469         MS-DOS.  (Bug#6689)
5471 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
5473         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5474         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5475         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5476         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5477         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5478         Call menu-bar-set-tool-bar-position.
5480 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5482         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5483         comment style (bug#6834).
5484         * progmodes/scheme.el (scheme-mode-syntax-table):
5485         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5486         "b" flag in "' 14b" syntax.
5488         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5489         for (un)commenting the region and performing completion.
5490         (octave-mode-menu): Use standard commands for help and completion.
5491         (octave-mode-syntax-table): Support %{..%} comments (sort of).
5492         (octave-mode): Use define-derived-mode.
5493         Set completion-at-point-functions and don't set columns.
5494         Don't disable adaptive-fill-regexp.
5495         (octave-describe-major-mode, octave-comment-region)
5496         (octave-uncomment-region, octave-comment-indent)
5497         (octave-indent-for-comment): Remove.
5498         (octave-indent-calculate): Rename from calculate-octave-indent.
5499         (octave-indent-line, octave-fill-paragraph): Update caller.
5500         (octave-initialize-completions): No need to make an alist.
5501         (octave-completion-at-point-function): New function.
5502         (octave-complete-symbol): Use it.
5503         (octave-insert-defun): Use define-skeleton.
5505         * progmodes/octave-mod.el (octave-mode): Set comment-add.
5506         (octave-mode-map): Use comment-dwim (bug#6829).
5508 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
5510         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5511         indentation of inserted comment.
5513 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
5515         * faces.el (region): Add type gtk that uses gtk colors.
5517         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5518         Handle theme-name change.
5520 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
5522         * progmodes/sql.el: Version 2.5
5523         (sql-product-alist): Add :prompt-cont-regexp property for several
5524         database products.
5525         (sql-prompt-cont-regexp): New variable.
5526         (sql-output-newline-count, sql-output-by-send):
5527         New variables.  Record number of newlines in input text.
5528         (sql-send-string): Handle multiple filters and count newlines.
5529         (sql-send-magic-terminator): Count terminator newline.
5530         (sql-interactive-remove-continuation-prompt): Filters output to
5531         remove continuation prompts; one for each newline.
5532         (sql-interactive-mode): Set up new variables, prompt regexp and
5533         output filter.
5534         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5535         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5537 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5539         * emacs-lisp/pcase.el: New file.
5541 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
5543         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5544         as here-document, otherwise the command could exceed maximum
5545         length of command line.
5546         (tramp-handle-vc-registered): Call script accordingly.
5547         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5549 2010-08-10  Kenichi Handa  <handa@m17n.org>
5551         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5552         composable pattern.
5554 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
5556         * emacs-lisp/package.el (package-version-split)
5557         (package--version-first-nonzero, package-version-compare):
5558         Functions removed.
5559         (package-directory-list, package-load-all-descriptors)
5560         (package--built-in, package-activate, define-package)
5561         (package-installed-p, package-compute-transaction)
5562         (package-read-all-archive-contents)
5563         (package--add-to-archive-contents, package-buffer-info)
5564         (package-tar-file-info, package-list-packages-internal):
5565         Use version-to-list and version-list-*.
5567         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5568         Use version-to-list.
5569         (package-upload-buffer-internal): Use version-list-<=.
5571 2010-08-09  Kenichi Handa  <handa@m17n.org>
5573         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5574         composable pattern.
5576 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
5578         * tutorial.el (tutorial--default-keys): C-d is now bound to
5579         delete-forward-char (Bug#6826).
5581         * mouse.el (mouse-drag-track): Remove accidentally-removed check
5582         for `double' value of mouse-1-click-follows-link (Bug#6807).
5584 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
5586         * replace.el (replace-highlight): Bind isearch-forward and
5587         isearch-error, ensuring that highlighting is updated if the user
5588         switches the search direction (Bug#6808).
5590         * isearch.el (isearch-lazy-highlight-forward): New var.
5591         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5592         (isearch-lazy-highlight-update): Use it.
5594 2010-08-08  Kenichi Handa  <handa@m17n.org>
5596         * international/mule.el (define-charset): Store NAME as :base property.
5597         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5598         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5599         current priority.  Force using the designation of the specific
5600         charset by adding `charset' text property.  Improve the whole algorithm.
5602 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5604         * emulation/pc-select.el (pc-selection-mode-hook)
5605         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5606         (pc-selection-mode): Fix typos in docstrings.
5608 2010-08-08  Kenichi Handa  <handa@m17n.org>
5610         * language/cyrillic.el: Don't add "microsoft-cp1251" to
5611         ctext-non-standard-encodings-alist here.
5613         * international/mule.el (ctext-non-standard-encodings-alist):
5614         Add "koi8-r" and "microsoft-cp1251".
5615         (ctext-standard-encodings): New variable.
5616         (ctext-non-standard-encodings-table): List only elements for
5617         non-standard encodings.
5618         (ctext-pre-write-conversion): Adjust for the above change.
5619         Check ctext-standard-encodings.
5621         * international/mule-conf.el (compound-text): Doc fix.
5622         (ctext-no-compositions): Doc fix.
5623         (compound-text-with-extensions): Doc fix.
5625 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5627         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5629 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5631         * progmodes/which-func.el (which-func-format): Split help-echo text
5632         into lines, like other mode-line tooltips.
5634         * server.el (server-start): When using TCP sockets, force IPv4
5635         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
5637 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5639         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5641 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5643         * term.el (term-delimiter-argument-list): Reflow docstring.
5644         (term-read-input-ring, term-write-input-ring, term-send-input)
5645         (term-bol, term-erase-in-display, serial-supported-or-barf):
5646         Fix typos in docstrings.
5648 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5650         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5652 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5654         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5656 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
5658         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5659         Fix typo in docstring (bug#6747).
5661 2010-08-08  Leo  <sdl.web@gmail.com>
5663         * eshell/esh-io.el (eshell-get-target): Better detection of
5664         read-only file (Bug#6762).
5666 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5668         * align.el (align-default-spacing): Doc fix.
5669         (align-region-heuristic, align-regexp): Fix typos in docstrings.
5671 2010-08-08  Stephen Peters  <speters@itasoftware.com>
5673         * calendar/icalendar.el
5674         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
5675         (icalendar--get-weekday-numbers): New.
5676         (icalendar--convert-recurring-to-diary): Handle multiple byday
5677         values in weekly rules.  (Bug#6766)
5679 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
5681         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5682         (icalendar--create-uid, icalendar-export-region)
5683         (icalendar--parse-summary-and-rest): Code formatting.
5685 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
5687         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5688         to italicize headers.
5689         (calc-highlight-selections-with-faces): New variable.
5690         (calc-selected-face, calc-nonselected-face): New faces.
5692         * calc/calccomp.el (math-comp-highlight-string): Use
5693         `calc-highlight-selections-with-faces' to determine how to highlight
5694         sub-formulas.
5696         * calc/calc-sel.el (calc-show-selections): Change message to when
5697         using faces to highlight selections.
5699 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
5701         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5702         Add SQLite 3 keywords, functions and datatypes.
5703         (sql-interactive-mode): Remove `comint-process-echoes' set to t
5704         (Bug#6686).
5706 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
5708         * simple.el (select-active-regions): Move to keyboard.c.
5709         (deactivate-mark): Used saved-region-selection.
5710         (select-active-region): Function removed.
5711         (activate-mark, set-mark, push-mark-command)
5712         (handle-shift-selection): Don't call it.
5713         (keyboard-quit): Avoid adding the region to the window selection.
5715         * mouse.el (mouse-drag-track): Remove hacks to deal with old
5716         select-active-regions implementation.
5717         (mouse-yank-at-click): Doc fix.
5719         * cus-start.el: Add custom declaration for select-active-regions.
5721 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
5723         * simple.el (delete-forward-char): Doc fix.
5725         * tutorial.el (help-with-tutorial): Hack safe file-local variables
5726         after reading the tutorial.
5728 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
5730         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5731         Fix for the case that a C style comment has its delimiters alone on
5732         their respective lines.
5734 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
5736         * net/tramp.el (tramp-handle-start-file-process): Set connection
5737         property "vec".
5738         (tramp-process-sentinel): Use it for flushing the cache.
5739         We cannot do it via the process buffer, the buffer could be deleted
5740         already when running the sentinel.
5742 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
5744         * comint.el (comint-mode): Make directory tracking functions
5745         functional on remote files.  (Bug#6764)
5747 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
5749         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5751 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
5753         * emacs-lisp/find-gc.el (find-gc-source-files):
5754         Rename unexec.c => unexcoff.c.
5756         * emacs-lisp/authors.el (authors-fixed-entries):
5757         Rename unexec.c => unexcoff.c.
5759 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
5761         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5762         cache, not only file cache.
5763         (tramp-process-sentinel): New defun.
5764         (tramp-handle-start-file-process): Use it, in order to invalidate
5765         file caches.
5767 2010-08-03  Leo  <sdl.web@gmail.com>
5769         * server.el (server-start): Simplify loop.
5771 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5773         * frame.el (screen-height, screen-width, set-screen-width)
5774         (set-screen-height): Remove ancient compatibility aliases.
5776         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5777         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
5779         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5780         that change current buffer.
5782 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5784         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5785         beginning of the string.  Use `string-match-p'.  (Bug#6765)
5787 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
5789         * cus-start.el (x-gtk-use-system-tooltips): New variable.
5791 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
5793         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5794         (package--builtins): Tweak descriptions.
5795         (package-print-package): Upcase descriptions if necessary.
5796         Show all built-in packages in font-lock-builtin-face.
5797         (package-list-packages-internal): Omit "emacs" package.
5798         Show status of built-in packages as "built-in".
5800 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
5802         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
5803         before killing to preserve the primary selection (Bug#6701).
5805         * term/x-win.el (x-select-text): Doc fix.
5807 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
5809         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5810         (objc-font-lock-extra-types):
5811         * progmodes/cc-mode.el (c-basic-common-init):
5812         * progmodes/cc-langs.el (c-make-mode-syntax-table)
5813         (c++-make-template-syntax-table)
5814         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5815         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5816         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5817         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5818         * progmodes/cc-fonts.el (c-make-inverse-face)
5819         (c-basic-matchers-after):
5820         * progmodes/cc-engine.el (c-forward-keyword-clause)
5821         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5822         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5823         (c-guess-continued-construct, c-guess-basic-syntax):
5824         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5825         The above functions were modified or created.
5827 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
5829         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5831 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
5833         * files.el (bidi-paragraph-direction): Define safe local values.
5835         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5836         language-info-alist.  Remove outdated FIXME in a comment.
5838 2010-07-31  Alan Mackenzie  <acm@muc.de>
5840         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5841         Auto-fill broken in C/C++ modes.
5843 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
5845         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5846         (menu-bar-showhide-tool-bar-menu-customize-disable)
5847         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5848         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5849         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5850         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5851         make a menu for Options => toolbar that can move it.
5853 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
5855         * emacs-lisp/package-x.el (package--make-rss-entry):
5856         (package-maint-add-news-item, package--update-news)
5857         (package-upload-buffer-internal): New arg ARCHIVE-URL.
5859         * emacs-lisp/package.el (package-archive-url): Rename from
5860         package-archive-id.
5861         (package-install): Doc fix.
5862         (package-download-single, package-download-tar, package-install)
5863         (package-menu-view-commentary): Callers changed.
5865 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
5867         * net/tramp.el (tramp-handle-start-file-process): Check only for
5868         `remote-tty' process property.
5869         (tramp-open-shell): Don't check for tty.
5870         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5871         process property.
5873         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5874         host.
5876 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
5878         * emacs-lisp/package.el (package-load-list, package-archives)
5879         (package-archive-contents, package-user-dir)
5880         (package-directory-list, package--builtins, package-alist)
5881         (package-activated-list, package-obsolete-alist): Mark as risky.
5883 2010-07-28  Phil Hagelberg  <phil@evri.com>
5885         Add support for non-default package repositories.
5886         * emacs-lisp/package.el (package-archive-base): Var deleted.
5887         (package-archives): New variable.
5888         (package-archive-contents): Doc fix.
5889         (package-load-descriptor): Do nothing if descriptor file is missing.
5890         (package--write-file-no-coding): New function.
5891         (package-unpack-single): Use it.
5892         (package-archive-id): New function.
5893         (package-download-single, package-download-tar)
5894         (package-menu-view-commentary): Use it.
5895         (package-installed-p): Make second argument optional.
5896         (package-read-all-archive-contents): New function.
5897         (package-initialize): Use it.
5898         (package-read-archive-contents): Add ARCHIVE argument.
5899         (package--add-to-archive-contents): New function.
5900         (package-install): Don't call package-read-archive-contents.
5901         (package--download-one-archive): Store archive file in a
5902         subdirectory of package-user-dir.
5903         (package-menu-execute): Remove spurious line movement.
5905 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
5907         * cus-start.el (tool-bar-style): Add text-image-horiz.
5909 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5911         * progmodes/gud.el (gud-common-init): Check for remoteness of
5912         `file', and not of `default-directory'.
5914 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5916         * net/tramp.el (tramp-methods): Move hostname to the end in all
5917         ssh `tramp-login-args'.
5918         (tramp-verbose): Describe verbose level 9.
5919         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5920         (tramp-open-connection-setup-interactive-shell): Trace stty
5921         settings if `tramp-verbose' >= 9.
5922         (tramp-handle-start-file-process): Implement tty setting.
5923         (Bug#4604, Bug#6360)
5925         * net/tramp-cmds.el (tramp-bug): Recommend setting of
5926         `tramp-verbose' to 9.
5928 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
5930         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5931         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5932         Remove references to package `lisp-re' (bug#4369).
5934 2010-07-27  Tom Tromey  <tromey@redhat.com>
5936         * progmodes/js.el (js-mode):
5937         * progmodes/make-mode.el (makefile-mode):
5938         * progmodes/simula.el (simula-mode):
5939         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5941 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
5943         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5945         * time.el (display-time-day-and-date): Remove spurious * in docstring.
5946         (display-time-world-buffer-name, display-time-world-mode-map):
5947         Fix typos in docstrings.
5949 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
5951         * image-mode.el (image-display-size): New function.
5952         (image-forward-hscroll, image-next-line, image-eol, image-eob)
5953         (image-mode-fit-frame): Use it (Bug#6639).
5955 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
5957         * dired.el (dired-buffers-for-dir): Handle list values of
5958         dired-directory (Bug#6636).
5960 2010-07-26  Sam Steingold  <sds@gnu.org>
5962         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5963         Do not call `x-get-selection' the second time, reuse the value.
5965 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
5967         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5968         which consist of control chars only.  Suggested by Richard Stallman.
5970 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
5972         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5973         exists before passing an error to find-file-not-found-functions
5974         (bug#6723).
5976 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
5978         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5979         Remove leading nil element, adjust values.
5980         (tetris-shapes, tetris-shape-scores):
5981         Change representation of shapes and remove some redundancy.
5982         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5983         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5984         Adjust for working with new representation of shapes.
5985         (tetris-shape-rotations): New function.
5986         (tetris-move-bottom, tetris-move-left, tetris-move-right)
5987         (tetris-rotate-prev, tetris-rotate-next):
5988         Adjust for working with the new version of tetris-test-shape.
5990 2010-07-23  Markus Triska  <markus.triska@gmx.at>
5992         * progmodes/ps-mode.el: Use comint (bug#5954).
5993         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5994         (ps-mode-other-newline): Simplify.
5995         (ps-run-mode): Derive from comint-mode instead of
5996         fundamental-mode, yielding input history etc.
5997         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5998         (ps-run-send-string): Adapt for comint-mode.
5999         (ps-run-newline): Remove now unneeded function.
6001 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6003         * net/tramp.el (tramp-methods): Move hostname to the end in all
6004         plink `tramp-login-args'.
6006 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6008         * net/tramp.el (tramp-open-shell): New defun.
6009         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6010         Use it.
6012 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6014         * net/tramp.el (tramp-file-name-regexp-unified)
6015         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6016         not regard the volume letter as remote filename.  (Bug#5447)
6018 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
6020         * custom.el (custom-declare-variable): Give a clearer error message
6021         when the docstring is missing (bug#6476).
6023 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
6025         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
6026         (sql-login-params): New widget definition.
6027         (sql-oracle-login-params, sql-mysql-login-params)
6028         (sql-solid-login-params, sql-sybase-login-params)
6029         (sql-informix-login-params, sql-ingres-login-params)
6030         (sql-ms-login-params, sql-postgres-login-params)
6031         (sql-interbase-login-params, sql-db2-login-params)
6032         (sql-linter-login-params): Use it.
6033         (sql-sqlite-login-params): Use it; Define "database" parameter as
6034         a file name.
6035         (sql-sqlite-program): Change to "sqlite3".
6036         (sql-comint-sqlite): Make sure database name is complete.
6037         (sql-for-each-login): New function.
6038         (sql-connect, sql-save-connection): Use it.
6039         (sql-get-login-ext): New function.
6040         (sql-get-login): Use it.
6041         (sql-make-alternate-buffer-name): Handle :file parameters.
6043 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
6045         * dired.el (dired-no-confirm): Document value t and fix defcustom to
6046         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
6048 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
6050         * dired.el (dired-mode-map): Use command remapping (bug#6632).
6052 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
6054         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6056 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
6058         * net/tramp.el (tramp-get-ls-command)
6059         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6060         instead of "/".
6062 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
6064         * progmodes/sql.el: Version 2.3.
6065         (sql-connection-alist): Change keys from symbols to strings;
6066         enhanced the widget definition.
6067         (sql-mode-menu): Add submenu to select connections.
6068         (sql-interactive-mode-menu): Add "Save Connection" item.
6069         (sql-add-product): Fix menu item.
6070         (sql-get-product-feature): Improved error handling.
6071         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6072         (sql-make-alternate-buffer-name): Simplified.
6073         (sql-product-interactive): Handle missing product.
6074         (sql-connect): Support string keys, minor improvements.
6075         (sql-save-connection): New function.
6076         (sql-connection-menu-filter): New function.
6078 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
6080         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6081         (tramp-open-connection-setup-interactive-shell):
6082         Apply workaround for IRIX64 bug.  Move argument of last
6083         `tramp-send-command' where it belongs to.
6085 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
6087         * net/tramp.el (tramp-perl-file-attributes)
6088         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6089         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6090         front of `login-args'.
6092 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
6094         * time.el (display-time-world-mode): Define with `define-derived-mode'.
6095         Set `show-trailing-whitespace' to nil.
6096         (display-time-world-display): Simplify.
6098 2010-07-18  Alan Mackenzie  <acm@muc.de>
6100         Enhance `c-file-style' in file/directory local variables.
6101         * progmodes/cc-mode.el (c-count-cfss): New function.
6102         (c-before-hack-hook): Call `c-set-style' differently according to
6103         whether c-file-style was set in file or directory local
6104         variables.
6106 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
6108         * progmodes/sql.el: Version 2.2.
6109         (sql-product, sql-user, sql-database, sql-server, sql-port):
6110         Use defcustom :safe keyword rather than putting safe-local-variable
6111         property.
6112         (sql-password): Use defcustom :risky keyword rather than putting
6113         risky-local-variable property.
6114         (sql-oracle-login-params, sql-sqlite-login-params)
6115         (sql-solid-login-params, sql-sybase-login-params)
6116         (sql-informix-login-params, sql-ingres-login-params)
6117         (sql-ms-login-params, sql-postgres-login-params)
6118         (sql-interbase-login-params, sql-db2-login-params)
6119         (sql-linter-login-params): Add `port' option.
6120         (sql-get-product-feature): Add NO-INDIRECT parameter.
6121         (sql-comint-oracle, sql-comint-sybase)
6122         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6123         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6124         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6125         (sql-comint-linter): Rename sql-connect-* functions to
6126         sql-comint-*.
6127         (sql-product-alist, sql-mode-menu): Rename as above and
6128         :sqli-connect-func to :sqli-comint-func.
6129         (sql-connection): New variable.
6130         (sql-interactive-mode): Set it.
6131         (sql-connection-alist): New variable.
6132         (sql-connect): New function.
6133         (sql--alt-buffer-part, sql--alt-if-not-empty)
6134         (sql-make-alternate-buffer-name): Improved alternative buffer name.
6136 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6138         * image-mode.el (image-bookmark-make-record): Do not set context
6139         in an image (Bug#6650).
6141 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
6143         * simple.el (select-active-region): New function.
6144         (push-mark-command, set-mark, activate-mark)
6145         (handle-shift-selection): Use it.
6146         (deactivate-mark): Don't check for size of region.
6148         * mouse.el (mouse-drag-track): Use select-active-region.
6150 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
6152         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6153         "--dired" stronger.
6155 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
6157         * term/x-win.el (x-select-enable-primary): Change default to nil.
6158         (x-select-enable-clipboard): Add :version keyword.
6160         * mouse.el (mouse-drag-copy-region):
6161         * simple.el (select-active-regions): Likewise.
6163 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
6165         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6166         (vc-coding-system-for-diff): Use it to decide whether to inherit
6167         from the file the EOL format for reading the diffs of that file.
6168         (Bug#4451)
6170 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
6172         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6173         unibyte, so compressed attachments are not compressed again.
6175 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
6177         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6178         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6179         (tramp-find-shell): Simplify setting connection property.
6180         (tramp-get-ls-command): Make test for "--color=never" stronger.
6182 2010-07-15  Simon South  <ssouth@member.fsf.org>
6184         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6185         blocks within record declarations (i.e. variant parts) correctly.
6187 2010-07-15  Simon South  <ssouth@member.fsf.org>
6189         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6190         over literal tokens when parsing so newlines aren't "absorbed" by
6191         single-line comments.  Corrects the indentation of case blocks
6192         that have a comment on the first line.
6194 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
6196         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6197         by Drew Adams (Bug#5504).
6199 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
6201         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6202         now that Unicode is used (Bug#6594).
6204 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
6206         * term/x-win.el (x-select-enable-clipboard): Default to t.
6207         (x-initialize-window-system): Don't overwrite Paste menu item.
6209         * simple.el (select-active-regions): Default to t.
6210         (push-mark-command): Don't overwrite primary with empty string.
6212         * mouse.el: Bind mouse-2 to mouse-yank-primary.
6213         (mouse-drag-copy-region): Default to nil.
6215         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6216         Cut/Copy/Paste menu bar items.
6218 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6220         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6221         Patch applied by Karl Fogel.
6223         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6224         and `bookmark-current-buffer' if they have been already set in
6225         another buffer (e.g gnus-art).
6227 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
6228             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6230         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6232         * bookmark.el (bookmark-make-record-default): Allow unneeded
6233         information to be omitted from the record.
6235         Adjust declarations and calls:
6237         * info.el (bookmark-make-record-default): Adjust declaration.
6238         (Info-bookmark-make-record): Adjust call.
6240         * woman.el (bookmark-make-record-default): Adjust declaration.
6241         (woman-bookmark-make-record): Adjust call.
6243         * man.el (bookmark-make-record-default): Adjust declaration.
6244         (Man-bookmark-make-record): Adjust call.
6246         * image-mode.el (bookmark-make-record-default): Adjust declaration.
6248         * doc-view.el (bookmark-make-record-default): Adjust declaration.
6250 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
6252         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6253         This is also from Thierry Volpiatto's patch in bug #6444.  However,
6254         because it was extraneous to the functional change in that patch,
6255         and causes a re-indendation, I am committing it separately.
6257 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6259         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6260         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6261         Patch applied by Karl Fogel (Bug#6444).
6263 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
6265         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6267 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
6269         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6270         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
6271         (ns-alternatives-map): Change S-tab binding to backtab
6272         (bug#6616).
6274         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6275         under ns.
6277 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6279         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6280         (Bug#5806)
6282         * language/tv-util.el (tai-viet-re): Remove format.
6284 2010-07-12  Kenichi Handa  <handa@m17n.org>
6286         * language/hebrew.el: Remove no-byte-compile declaration.
6287         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
6288         composition-function-table for 3-character looking back.
6289         (hebrew-font-get-precomposed): New function.
6290         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6292 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
6294         * mouse.el (mouse-drag-track): Handle select-active-regions
6295         (Bug#6612).
6297 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
6299         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6300         empty argument to gvfs-copy.
6302 2010-07-10  Glenn Morris  <rgm@gnu.org>
6304         * calendar/calendar.el (calendar-week-end-day): New function.
6305         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6306         Respect calendar-week-start-day.  (Bug#6606)
6307         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6308         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6309         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6310         respect calendar-week-start-day.
6312 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
6314         * simple.el (use-region-p): Doc fix (Bug#6607).
6316 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
6318         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6319         Add regexps for cucumber and ruby.
6321 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
6323         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6324         (epa-file-insert-file-contents): Hack to prevent
6325         find-file from opening empty buffer when decryption failed
6326         (bug#6568).
6328 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
6330         * textmodes/ispell.el (ispell-alternate-dictionary):
6331         Use file-readable-p.
6332         Return nil if no word-list is found at default locations.
6333         (ispell-complete-word-dict): Default to nil.
6334         (ispell-command-loop): Use 'word-list' when using lookup-words.
6335         (lookup-words): Use ispell-complete-word-dict or
6336         ispell-alternate-dictionary.  Check for word-list availability
6337         and handle errors if needed with better messages (Bug#6539).
6338         (ispell-complete-word): Use ispell-complete-word-dict or
6339         ispell-alternate-dictionary.
6341 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
6343         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6344         builtins (BufferError, BytesWarning, WindowsError; callables
6345         bin, bytearray, bytes, format, memoryview, next, print; __package__).
6347 2010-07-07  Glenn Morris  <rgm@gnu.org>
6349         * play/zone.el (top-level): Do not require timer, tabify, or cl.
6350         (zone-shift-left): Ignore intangibility, and any errors from
6351         forward-char.
6352         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
6353         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6354         deleting, and copying text properties.
6355         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6356         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6357         to point-max is hard.
6358         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6359         (zone-fill-out-screen): Ignore intangibility.
6361 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
6363         * menu-bar.el (menu-bar-mode):
6364         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6365         if it has been set.
6367         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6368         word/line selection (Bug#6565).
6370 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
6372         * net/dbus.el (dbus-send-signal): Declare function.
6374 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
6376         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6377         (dbus-register-property): New optional argument EMITS-SIGNAL.
6378         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6380 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
6382         * mouse.el (mouse-drag-overlay): Variable deleted.
6383         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6384         (mouse--remap-link-click-p): New function.
6385         (mouse-drag-track): Handle dragging by using temporary Transient
6386         Mark mode, instead of a special overlay.
6387         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6388         mouse-show-mark.
6390         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6391         deleted.
6393 2010-07-02  Juri Linkov  <juri@jurta.org>
6395         * autoinsert.el (auto-insert-alist): Fix readability
6396         by using dotted pair notation for lambda.
6398 2010-07-02  Juri Linkov  <juri@jurta.org>
6400         * faces.el (read-face-name): Rename arg `string-describing-default'
6401         to `default'.  Doc fix.  Display the default value in quotes
6402         in the prompt.  With empty input, return the `default' arg,
6403         unless the default value is a string (in which case return nil).
6404         (describe-face): Replace the string `default' arg of `read-face-name'
6405         with the symbol `default'.
6407 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
6409         * emulation/viper-cmd.el (viper-delete-backward-char)
6410         (viper-del-backward-char-in-insert)
6411         (viper-del-backward-char-in-replace, viper-change)
6412         (viper-backward-indent): Replace delete-backward-char with
6413         delete-char (Bug#6552).
6415 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
6417         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6419 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6421         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6422         argument passed to frame-creation-function (Bug#5378).
6424         * faces.el (x-handle-named-frame-geometry)
6425         (x-handle-reverse-video, x-create-frame-with-faces)
6426         (face-set-after-frame-default, tty-create-frame-with-faces):
6427         Don't separately consult default-frame-alist.  It is now passed as the
6428         PARAMETER argument.
6430 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
6432         * startup.el (command-line): Don't call tool-bar-setup in a
6433         tty-only build.
6435 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6437         * ruler-mode.el (ruler--save-header-line-format): New fun.
6438         (ruler-mode): Use it as a setter function, so as not to overwrite
6439         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6441 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
6443         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
6444         (vc-root-diff, vc-print-root-log, vc-log-incoming)
6445         (vc-log-outgoing): Use it.
6446         (vc-diff-internal): Set diff-vc-backend.
6448         * vc/diff-mode.el (diff-vc-backend): New var.
6450 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
6452         * dynamic-setting.el (font-setting-change-default-font):
6453         Remove call to message.
6455 2010-06-28  Kenichi Handa  <handa@m17n.org>
6457         * international/quail.el (quail-insert-kbd-layout): Fix the
6458         showing of untranslated characters.
6460 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
6462         * simple.el (delete-active-region): New option.
6463         (delete-backward-char): Implement in Lisp.
6464         (delete-forward-char): New command.
6466         * mouse.el (mouse-region-delete-keys): Deleted.
6467         (mouse-show-mark): Simplify.
6469         * bindings.el (global-map): Bind delete and DEL, the former to
6470         delete-forward-char.
6472 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
6474         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6475         (ruby-mode): Bind indent-line-function (Bug#5119).
6477 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6479         * startup.el (command-line): Recognize "0" X resource value.
6481 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6483         * startup.el (command-line): Use X resources to set the value of
6484         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6486         * menu-bar.el (menu-bar-mode):
6487         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6488         Set init-value to t.
6490         * frame.el (frame-notice-user-settings): Don't change
6491         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6492         vice versa (Bug#2249).
6494 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
6496         * w32-fns.el (w32-convert-standard-filename): Doc fix.
6498 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
6500         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6501         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6503         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6504         default directories are expanded (Bug#6143).
6506 2010-06-24  Juri Linkov  <juri@jurta.org>
6508         * minibuffer.el (completions-format): Change default from nil to
6509         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
6511 2010-06-24  Juri Linkov  <juri@jurta.org>
6513         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6514         buffer-locally to lambda that re-runs the vc diff command.
6515         (Bug#6447)
6517 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
6519         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6520         echo area is in use (Bug#3412).
6522 2010-06-22  Glenn Morris  <rgm@gnu.org>
6524         * textmodes/texinfmt.el (texinfo-format-region)
6525         (texinfo-raise-lower-sections, texinfo-format-separate-node)
6526         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6527         (texinfo-format-option, texinfo-noindent):
6528         Use line-beginning-position and line-end-position.
6530         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6531         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6532         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6533         utf-8 characters.
6535 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
6537         * play/zone.el (zone-fall-through-ws): Fix next-line ->
6538         forward-line fallout.
6540 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
6542         * mouse.el (mouse-appearance-menu): Add docstring.
6544         * help.el (describe-key): Print up-event using key-description.
6546 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
6548         * net/zeroconf.el (zeroconf-resolve-service)
6549         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6550         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6552 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6554         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6556 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
6558         Avoid displaying files with a nil state in vc-dir.
6559         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6560         cases that cause insertion.
6561         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6562         with a nil state.
6564 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6566         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6568 2010-06-29  Leo  <sdl.web@gmail.com>
6570         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
6572 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6574         * generic-x.el (bat-generic-mode): Fix regexp for command line
6575         switches (Bug#5719).
6577 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
6579         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6580         of nconc to avoid pure storage error (Bug#6239).
6582 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
6584         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6585         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6586         bindings of bookmark-automatically-show-annotations (Bug#6515).
6588 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
6590         * arc-mode.el (archive-zip-extract): Don't quote the file name on
6591         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
6593 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6595         * comint.el (make-comint, make-comint-in-buffer): Mention return
6596         value in the docstrings.  (Bug#6498)
6598 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
6600         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6601         since it is not present when using some non-default switches.
6603 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
6605         * simple.el (compose-mail): Fix doc string to refer to
6606         `compose-mail-user-agent-warnings', instead of to the
6607         nonexistent `compose-mail-check-user-agent'.
6609 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
6611         Fix an indentation bug:
6613         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6614         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6615         of existing values.
6617         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6618         (c-clear->-pair-props-if-match-before): now return t when they've
6619         cleared properties, nil otherwise.
6620         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6621         by taking account of the existing value.
6623         * progmodes/cc-defs.el
6624         (c-clear-char-property-with-value-function): Fix this to clear the
6625         property rather than overwriting it with nil.
6627 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
6629         * emacs-lisp/package.el (package-print-package): Add link to
6630         package description via describe-package.
6631         (describe-package-1): List package requirements.  Add button to
6632         perform installation.
6633         (package-menu-describe-package): New command.
6635         * help-mode.el (help-package): New button type.
6637 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
6639         * emacs-lisp/package.el: Move package-list-packages binding to
6640         menu-bar.el.
6641         (describe-package, describe-package-1, package--dir): New funs.
6642         (package-activate-1): Use package--dir.
6644         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6646         * help-mode.el (help-package-def): New button type.
6648         * menu-bar.el: Move package-list-packages binding here from
6649         package.el.
6651 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
6653         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
6655 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6657         * emacs-lisp/edebug.el (edebug-read-list):
6658         Phase out old-style backquotes.
6660 2010-06-17  Juri Linkov  <juri@jurta.org>
6662         * help-mode.el (help-mode): Set buffer-local variable
6663         revert-buffer-function to help-mode-revert-buffer.
6664         (help-mode-revert-buffer): New function.
6666         * info.el (Info-revert-find-node): Check for major-mode Info-mode
6667         before popping to "*info*" (like in other Info functions).
6668         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
6669         old-history-forward.  Pop to old-buffer-name or "*info*" to
6670         recreate the killed buffer.  Set Info-history-forward from
6671         old-history-forward.
6672         (Info-breadcrumbs-depth): Add :group and :version.
6674 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
6676         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6678 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
6680         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6681         for languages like Portuguese with pt_{BR,PT} and no plain pt.
6683 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
6685         * emacs-lisp/package.el (package-menu-mode-map):
6686         Move initialization into declaration.
6688         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6690 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
6692         * emacs-lisp/package.el (package-archive-base): Point to
6693         elpa.gnu.org.
6694         (package-enable, package-load-list): New defcustoms.
6695         (package-user-dir, package-directory-list): Turn into defcustoms.
6696         Don't include package-user-dir in package-directory-list.
6697         (package--builtins-base): Don't include Emacs as a "package".
6698         (package-subdirectory-regexp): New var.
6699         (package-load-all-descriptors, package-compute-transaction)
6700         (package-download-transaction): Obey package-load-list.
6701         (package-activate-1): Rename from package-do-activate.
6702         (package-list-packages-internal): Check package-load-list.
6703         (package-load-descriptor, package-generate-autoloads)
6704         (package-unpack, package-unpack-single)
6705         (package--read-archive-file, package-delete):
6706         Use expand-file-name.
6708         * emacs-lisp/package-x.el: New file.  Package uploading
6709         functionality split out from package.el.
6711         * startup.el (command-line): Load packages after reading init file.
6713 2010-06-17  Tom Tromey  <tromey@redhat.com>
6715         * emacs-lisp/package.el: New file.
6717 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6719         Fix vc-annotate for renamed files when using Git.
6720         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6721         ls-files.  Doe not pass the object as a file name to cat-file, it
6722         is not a file name.
6723         (vc-git-annotate-command): Pass the file name using -- to avoid
6724         ambiguity with the revision.
6725         (vc-git-previous-revision): Pass a relative file name.
6727 2010-06-22  Glenn Morris  <rgm@gnu.org>
6729         * progmodes/js.el (js-mode-map): Use standard capitalization and
6730         ellipses for menu entries.
6732         * wid-edit.el (widget-complete): Doc fix.
6734 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
6736         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6738 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6740         Fix annotating other revisions for renamed files in vc-annotate.
6741         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6742         VC backend.  Use it when non-nil.
6743         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6744         (Bug#6487).
6746         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6747         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6748         Do not pass the file name to the 'previous-revision call when we
6749         don't want a file diff.  (Bug#6489)
6751 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6753         Fix finding revisions for renamed files in vc-annotate.
6754         * vc/vc.el (vc-find-revision): Add an optional argument for
6755         the VC backend.  Use it when non-nil.
6756         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6757         backend to vc-find-revision.  (Bug#6487)
6759 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6761         Fix reading file names in Git annotate buffers.
6762         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6763         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
6765 2010-06-20  Alan Mackenzie  <acm@muc.de>
6767         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6768         in file local variables, set it first.
6770 2010-06-19  Glenn Morris  <rgm@gnu.org>
6772         * descr-text.el (describe-char-unicode-data): Insert separating
6773         space when needed.  (Bug#6422)
6775         * progmodes/idlwave.el (idlwave-action-and-binding):
6776         Fix typo in 2009-12-03 change.  (Bug#6450)
6778 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6780         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6781         handling for `lambda' (misunderstanding).
6783 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
6785         * calc/calc-poly.el (math-accum-factors): Make sure that
6786         constants aren't distributed after they are factored out.
6788 2010-06-16  Juri Linkov  <juri@jurta.org>
6790         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6791         `list-colors-print'.  (Bug#6332)
6793         * subr.el (read-quoted-char): Fix up last change (bug#6290).
6795 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6797         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6798         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
6800         * font-lock.el (font-lock-major-mode): Rename from
6801         font-lock-mode-major-mode to distinguish it from
6802         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6803         (font-lock-set-defaults):
6804         * font-core.el (font-lock-default-function): Adjust users.
6805         (font-lock-mode): Don't set it at all.
6807 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6809         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6811 2010-06-16  Glenn Morris  <rgm@gnu.org>
6813         * calendar/appt.el (appt-time-msg-list): Doc fix.
6814         (appt-check): Let-bind appt-warn-time.
6815         (appt-add): Make the 3rd argument optional.
6816         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
6817         Only add WARNTIME to the output list if non-nil.
6819 2010-06-16  Ivan Kanis  <apple@kanis.eu>
6821         * calendar/appt.el (appt-check): Let the 3rd element of
6822         appt-time-msg-list specify the warning time.
6823         (appt-add): Add new argument with the warning time.  (Bug#5176)
6825 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
6827         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6828         older than version 1.6.  (Bug#6361)
6830 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
6832         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6833         used by cl-do-arglist.  (Bug#6408)
6835 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
6837         * textmodes/ispell.el (ispell-dictionary-base-alist):
6838         Fix portuguese casechars/not-casechars for missing 'çÇ'.
6839         Suggested by Rolando Pereira (bug#6434).
6841 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
6843         * facemenu.el (list-colors-sort): Doc fix.
6845 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
6847         * progmodes/sql.el (sql-connect-mysql): Fix typo.
6849 2010-06-14  Juri Linkov  <juri@jurta.org>
6851         Add sort option `list-colors-sort'.  (Bug#6332)
6852         * facemenu.el (color-rgb-to-hsv): New function.
6853         (list-colors-sort): New defcustom.
6854         (list-colors-sort-key): New function.
6855         (list-colors-display): Doc fix.  Sort list according to the option
6856         `list-colors-sort'.
6857         (list-colors-print): Add HSV values to `help-echo' property of
6858         RGB strings.
6860 2010-06-14  Juri Linkov  <juri@jurta.org>
6862         * compare-w.el: Move to the "vc" subdirectory.
6864 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6866         * image-mode.el (image-mode-map): Remap left-char and right-char.
6868         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6870 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
6872         * term/common-win.el (x-colors): Add all the color names defined
6873         in rgb.txt (Bug#6332).
6875         * facemenu.el (list-colors-print): Don't print extra names if it
6876         will overflow the window width.
6878         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6879         change (Bug#6343).
6881 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
6883         * files.el (make-directory): Doc fix (bug#6396).
6885 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
6887         * net/tramp.el (tramp-remote-process-environment): Protect version
6888         string by apostroph.
6889         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6890         XEmacs.
6891         (tramp-file-name-for-operation): Add `call-process-region'.
6892         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6894         * net/tramp-compat.el (top): Do not autoload
6895         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6896         only when `start-file-process' is not bound.
6897         (tramp-advice-file-expand-wildcards): Do not use
6898         `tramp-handle-file-remote-p'.
6899         (tramp-compat-make-temp-file): Handle the case, that
6900         `make-temp-file' has no third argument EXTENSION.
6902 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
6904         * makefile.w32-in (WINS_BASIC): Include new directory vc.
6906         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6908 2010-06-11  Juri Linkov  <juri@jurta.org>
6910         * finder.el (finder-known-keywords): Add keyword "vc"
6911         for version control.
6913         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6914         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6915         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6916         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6918 2010-06-11  Juri Linkov  <juri@jurta.org>
6920         Move version control related files to the "vc" subdirectory.
6921         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6922         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6923         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6924         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6925         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6926         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6927         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6928         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6929         Move files to the "vc" subdirectory.
6931 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
6933         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6934         (Bug#6367).
6936 2010-06-11  Stephen Eglen  <stephen@gnu.org>
6938         * shell.el: Bind `shell-resync-dirs' to M-RET.
6940 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
6942         * notifications.el: Move file from lisp/net, because it is
6943         supposed to talk locally to the user.
6945 2010-06-10  Julien Danjou  <julien@danjou.info>
6947         * net/notifications.el (notifications-on-action-signal)
6948         (notifications-on-closed-signal): Pass notification id as first
6949         argument to the callback functions.  Add docstrings.
6950         (notifications-notify): Fix docstring.
6952 2010-06-10  Glenn Morris  <rgm@gnu.org>
6954         * emacs-lisp/authors.el (authors-ignored-files)
6955         (authors-valid-file-names): Add some files.
6957 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6959         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6960         merge conflict, giving preference to the emacs-23 version of the code.
6962 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6964         * emacs-lisp/advice.el (ad-compile-function):
6965         Define warning-suppress-types before we let-bind it (bug#6275).
6967         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6968         declare it, make it buffer-local and permanent-local (bug#6324).
6969         (vc-resynch-window): Adjust name.
6970         * vc-hooks.el (vc-find-file-hook): Adjust name.
6972 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
6974         * net/notifications.el (notifications-notify): Fix docstring.
6976 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6978         Update to Unicode 6.0.0 beta.
6979         * international/charprop.el: Update copyright.
6980         * international/mule-cmds.el (ucs-names): Update character ranges.
6981         * international/uni-bidi.el:
6982         * international/uni-category.el:
6983         * international/uni-combining.el:
6984         * international/uni-comment.el:
6985         * international/uni-decimal.el:
6986         * international/uni-decomposition.el:
6987         * international/uni-digit.el:
6988         * international/uni-lowercase.el:
6989         * international/uni-mirrored.el:
6990         * international/uni-name.el:
6991         * international/uni-numeric.el:
6992         * international/uni-old-name.el:
6993         * international/uni-titlecase.el:
6994         * international/uni-uppercase.el: Regenerate.
6996 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6998         * emacs-lisp/smie.el (comment-string-strip): Declare function.
6999         (smie-precs-precedence-table): Fix typo in docstring.
7001         * vc-mtn.el (log-edit-extract-headers): Declare function.
7003         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7005         * net/notifications.el (dbus-register-signal): Declare function.
7006         (notifications-notify): Fix typos and reflow docstring.
7008 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7010         Improve VC create/retrieve tag/branch.
7011         * vc.el (vc-create-tag): Do not read the directory name for VCs
7012         with repository revision granularity.  Adjust the tag/branch
7013         prompt.  Reset VC properties.
7014         (vc-retrieve-tag): Do not read the directory name for VCs
7015         with repository revision granularity.  Reset VC properties.
7017 2010-06-09  Julien Danjou  <julien@danjou.info>
7019         * net/notifications.el: New file.
7021 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7023         Add optional support for resetting VC properties.
7024         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7025         call vc-file-clearprops when true.
7026         (vc-resynch-buffer): Add new optional argument, pass it down.
7027         (vc-resynch-buffers-in-directory): Likewise.
7029         Improve support for special markup in the VC commit message.
7030         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7031         * vc-hg.el (vc-hg-checkin): Add support for Date:.
7032         * vc-git.el (vc-git-checkin):
7033         * vc-bzr.el (vc-bzr-checkin): Likewise.
7035 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7037         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7038         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7040 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
7042         * iimage.el: Remove images as soon as the underlying text is modified.
7043         (iimage-modification-hook): New function.
7044         (iimage-mode-buffer): Use it.
7046 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7048         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7049         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
7050         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
7051         (smie-indent-keyword): Add handling of open-paren keywords.
7052         (smie-indent-comment-continue): Don't assume comment-continue.
7054 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
7056         * window.el (pop-to-buffer): Remove the conditional that
7057         compares new-window and old-window, so it will reselect
7058         the selected window unconditionally.
7059         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7061 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7063         * emacs-lisp/smie.el (smie-indent-offset-after)
7064         (smie-indent-forward-token, smie-indent-backward-token): New functions.
7065         (smie-indent-after-keyword): Use them.
7066         (smie-indent-fixindent): Only applies to the indentation of the BOL.
7067         (smie-indent-keyword): Tweak the black magic.
7068         (smie-indent-comment-continue): Strip comment-continue before use.
7069         (smie-indent-functions): Indent comments before keywords.
7071 2010-06-06  Juri Linkov  <juri@jurta.org>
7073         * isearch.el (isearch-lazy-highlight-search): Fix looping
7074         by checking for empty match.  This syncs this loop with the
7075         similar loop in `isearch-search'.  (Bug#6362)
7077 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
7079         * net/dbus.el (dbus-register-method): Declare function.
7080         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7081         (dbus-introspect): Doc fix.
7082         (dbus-event-bus-name, dbus-introspect-get-interface)
7083         (dbus-introspect-get-argument): Reflow docstrings.
7085 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
7087         vc-log-incoming/vc-log-outgoing fixes for Git.
7088         * vc-git.el (vc-git-log-view-mode): Fix font lock for
7089         incoming/outgoing logs.
7090         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7091         instead of vc-git-compute-remote.
7092         (vc-git-compute-remote): Remove.
7094 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
7096         * term/common-win.el (x-colors): Add "dark green" and "dark
7097         turquoise" (Bug#6332).
7099 2010-06-04  Juri Linkov  <juri@jurta.org>
7101         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7102         Instead of setting `replace' to t and replacing the same string
7103         with itself, don't do certain actions when
7104         kill-do-not-save-duplicates is non-nil and string is equal to car
7105         of kill-ring: don't call menu-bar-update-yank-menu, don't push
7106         interprogram-paste strings to kill-ring, and don't push the input
7107         argument `string' to kill-ring.
7108         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7110 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
7112         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7114 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
7116         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7117         (tramp-gvfs-handler-mounted-unmounted)
7118         (tramp-gvfs-connection-mounted-p): Handle default-location.
7120         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7121         move files to trash.
7123 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
7125         * international/mule-cmds.el (nonascii-insert-offset)
7126         (nonascii-translation-table): Add obsolescence information.
7128         * international/mule.el (make-translation-table-from-vector): Doc fix.
7130 2010-06-03  Glenn Morris  <rgm@gnu.org>
7132         * desktop.el (desktop-clear-preserve-buffers):
7133         Add "*Warnings*" buffer.  (Bug#6336)
7135 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
7137         vc-log-incoming/vc-log-outgoing improvements for Git.
7138         * vc-git.el (vc-git-log-outgoing): Use the same format as the
7139         short log.
7140         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
7142         Add bindings for vc-log-incoming and vc-log-outgoing.
7143         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7144         and vc-log-outgoing.
7145         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7146         and vc-log-outgoing.
7148 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
7150         * net/rcirc.el (rcirc-sort-nicknames): Remove.
7151         (rcirc-handler-366): Always sort nicknames.
7153 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
7155         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7157 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
7159         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7161 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7163         * net/rcirc.el (rcirc-sort-nicknames): Change default.
7164         (rcirc-sort-nicknames-join): Avoid setq.
7166 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7168         * net/rcirc.el (rcirc-sort-nicknames): New custom.
7169         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7170         (rcirc-handler-366): Use them.
7172 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7174         Split smie-indent-calculate into more manageable chunks.
7175         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7176         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7177         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7178         (smie-indent-exps): Extract from smie-indent-calculate.
7179         (smie-indent-functions): New var.
7180         (smie-indent-functions): Use them.
7182 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7184         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7185         (smie-indent-calculate): Simplify and cleanup.
7187 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
7189         * net/tramp-gvfs.el (top): Require url-util.
7190         (tramp-gvfs-mount-point): Remove.
7191         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7192         New defuns.
7193         (with-tramp-dbus-call-method): Format trace message.
7194         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7195         Implement backup call, when operation on local files fails.
7196         Use progress reporter.  Flush properties of changed files.
7197         (tramp-gvfs-handle-make-directory): Make more traces.
7198         (tramp-gvfs-url-file-name): Hexify file name in url.
7199         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7200         into account for the resulting file name.
7201         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7202         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
7203         (tramp-gvfs-handler-mounted-unmounted)
7204         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7205         attribute "default_location".  Set "prefix" property.
7206         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7207         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7208         exists.  Raise an error, if not (due to a corresponding answer
7209         "no" in interactive questions, for example).
7211 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
7213         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7215 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
7217         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7218         right-*.  (Bug#6265)
7220 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
7222         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7223         * vc-git.el (vc-git-compute-remote): New function.
7224         (vc-git-log-outgoing): Use it instead of hard coding a value.
7225         (vc-git-log-incoming): New function.
7227         Improve state updating for VC tag commands.
7228         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7229         to update the state of all buffers in the directory.
7231         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7233 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7235         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7236         `file-directory-p' to the filename part rather than to the whole text.
7238 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7240         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7242 2010-05-31  Drew Adams  <drew.adams@oracle.com>
7244         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7246 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
7248         * subr.el (momentary-string-display): Just use read-event to read
7249         the exit event (Bug#6238).
7251 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
7253         * international/mule.el (define-coding-system): Doc fix (bug#6313).
7255 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
7257         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7258         Suggested by Eli Zaretskii <eliz@gnu.org>.
7260 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7262         * minibuffer.el (completion-file-name-table): Don't return a boundary
7263         past the end of `string' (bug#6299).
7264         (completion--file-name-table): Delegate to completion-file-name-table
7265         for the `boundaries' case.
7267 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
7269         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7270         movement commands.
7272         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7273         `path-separator', but maintain compatibility with Emacs 20.2.
7275 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
7277         * server.el (server-process-filter): Receive parent-id argument
7278         from emacsclient.
7279         (server-create-window-system-frame): New arg.  Pass parent-id as
7280         frame parameter.
7282 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
7284         Bidi-sensitive word movement with arrow keys.
7285         * subr.el (right-arrow-command, left-arrow-command): Move to
7286         bindings.el.
7288         * bindings.el (right-char, left-char): Move from subr.el and
7289         rename from right-arrow-command and left-arrow-command.
7290         (right-word, left-word): New functions.
7291         (global-map) <right>: Bind to right-char.
7292         (global-map) <left>: Bind to left-char.
7293         (global-map) <C-right>: Bind to right-word.
7294         (global-map) <C-left>: Bind to left-word.
7296         * ls-lisp.el (ls-lisp-classify-file): New function.
7297         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7298         (ls-lisp-classify): Call ls-lisp-classify-file.
7299         (insert-directory): Remove blanks from switches.
7301 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
7303         * ansi-color.el: Delete unused escape sequences (Bug#6085).
7304         (ansi-color-drop-regexp): New constant.
7305         (ansi-color-apply, ansi-color-filter-region)
7306         (ansi-color-apply-on-region): Delete unrecognized control sequences.
7307         (ansi-color-apply): Build string list before calling concat.
7309 2010-05-28  Juri Linkov  <juri@jurta.org>
7311         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7312         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7313         (Bug#5270)
7315 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
7317         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7318         to ignored backtrace functions.
7319         (with-progress-reporter): Expand docstring.
7320         (tramp-handle-delete-file): Implement TRASH argument.
7321         (tramp-get-remote-trash): New defun.
7323 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
7325         * net/tramp-compat.el (tramp-compat-delete-file):
7326         Use `symbol-value' for backward compatibility.
7328         * net/tramp.el (tramp-handle-make-symbolic-link)
7329         (tramp-handle-load)
7330         (tramp-do-copy-or-rename-file-via-buffer)
7331         (tramp-do-copy-or-rename-file-directly)
7332         (tramp-do-copy-or-rename-file-out-of-band)
7333         (tramp-handle-process-file, tramp-handle-call-process-region)
7334         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7335         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7336         (tramp-delete-temp-file-function): Use `delete-file' instead
7337         of `tramp-compat-delete-file'.
7339         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7340         (tramp-fish-handle-make-symbolic-link)
7341         (tramp-fish-handle-process-file): Use `delete-file' instead
7342         of `tramp-compat-delete-file'.
7344         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7345         Use `delete-file' instead of `tramp-compat-delete-file'.
7347         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7348         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7349         `tramp-compat-delete-file'.
7351         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7352         Use `delete-file' instead of `tramp-compat-delete-file'.
7354         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7355         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7356         (tramp-smb-handle-write-region): Use `delete-file' instead of
7357         `tramp-compat-delete-file'.
7358         (tramp-smb-handle-delete-directory): Use 'trash as arg.
7360 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7362         * dired.el (dired-delete-file): New arg TRASH.
7363         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
7364         (dired-do-flagged-delete, dired-do-delete): Use trash.
7366         * speedbar.el (speedbar-item-delete): Allow trashing.
7368         * files.el (delete-directory): New arg TRASH.
7370         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7371         (ange-ftp-rename-remote-to-remote)
7372         (ange-ftp-rename-local-to-remote)
7373         (ange-ftp-rename-remote-to-local, ange-ftp-load)
7374         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7375         `delete-file'.
7376         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7377         allow trashing.
7379         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7380         handle new TRASH arg of `delete-file'.
7382         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7383         (tramp-handle-make-symbolic-link, tramp-handle-load)
7384         (tramp-do-copy-or-rename-file-via-buffer)
7385         (tramp-do-copy-or-rename-file-directly)
7386         (tramp-do-copy-or-rename-file-out-of-band)
7387         (tramp-handle-process-file, tramp-handle-call-process-region)
7388         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7389         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7390         (tramp-delete-temp-file-function): Use null TRASH arg in
7391         tramp-compat-delete-file call.
7393         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7394         (tramp-fish-handle-delete-file)
7395         (tramp-fish-handle-make-symbolic-link)
7396         (tramp-fish-handle-process-file): Use null TRASH arg in
7397         `tramp-compat-delete-file' call.
7399         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7400         arg in `tramp-compat-delete-file' call.
7402         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7403         (tramp-gvfs-handle-write-region): Use null TRASH arg in
7404         `tramp-compat-delete-file' call.
7406         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7407         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7408         `tramp-compat-delete-file' call.
7410         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7411         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7412         (tramp-smb-handle-write-region): Use null TRASH arg in
7413         tramp-compat-delete-file call.
7414         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7415         (tramp-smb-handle-delete-file): Rename arg.
7417         * diff.el (diff-sentinel):
7418         * epg.el (epg--make-temp-file, epg-decrypt-string)
7419         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7420         * jka-compr.el (jka-compr-partial-uncompress)
7421         (jka-compr-call-process, jka-compr-write-region):
7422         * server.el (server-sentinel): Remove optional arg from
7423         delete-file, reverting 2010-05-03 change.
7425 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7427         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7428         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7430 2010-05-27  Kenichi Handa  <handa@m17n.org>
7432         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7433         element of GSTRING is nil.
7435 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7437         * emacs-lisp/smie.el (smie-forward-token-function)
7438         (smie-backward-token-function): New vars.
7439         (smie-backward-sexp, smie-forward-sexp)
7440         (smie-indent-hanging-p, smie-indent-calculate): Use them.
7441         (smie-default-backward-token): Rename from smie-backward-token and
7442         skip comments.
7443         (smie-default-forward-token): Rename from smie-forward-token and
7444         skip comments.
7445         (smie-next-sexp): Handle nil results from next-token.
7446         (smie-indent-calculate): Add a new case for special `fixindent' comments.
7448 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7450         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7451         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7453 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
7455         * htmlfontify.el (hfy-face-resolve-face): New function.
7456         (hfy-face-to-style): Use it (Bug#6279).
7458 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7460         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7461         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7463 2010-05-26  Glenn Morris  <rgm@gnu.org>
7465         * emulation/edt.el (edt-load-keys): Use locate-library.
7467 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
7469         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7470         (log-edit-changelog-entries): Doc fix.
7471         (log-edit-changelog-insert-entries): Args changed.
7472         Rename relative filenames in ChangeLog entries.  Delete tabs.
7473         (log-edit-insert-changelog-entries): Reorganize return value of
7474         `log-edit-changelog-entries' to pass filenames to
7475         log-edit-changelog-insert-entries.
7477 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7479         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7480         `image-dired-dired-insert-marked-thumbs' to
7481         `image-dired-dired-toggle-marked-thumbs'.
7483         * image-dired.el: Require cl when compiling.
7484         (image-dired-dired-toggle-marked-thumbs): Rename from
7485         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
7486         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
7487         to 'no-dir.  Skip files whose names don't match
7488         `image-file-name-regexp'.  When file has a thumbnail overlay,
7489         delete it.  (Bug#5270)
7491 2010-05-25  Juri Linkov  <juri@jurta.org>
7493         * image-mode.el (image-mode): Add image-after-revert-hook to
7494         after-revert-hook.
7495         (image-after-revert-hook): New function.  (Bug#5669)
7497 2010-05-25  Juri Linkov  <juri@jurta.org>
7499         * image.el (image-animated-p): When delay between animated images
7500         is 0, set it to 10 (0.1 sec).  (Bug#6258)
7502 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
7504         * net/tramp.el (tramp-handle-insert-directory): Don't use
7505         `forward-word', its default syntax could be changed.
7507 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
7509         * net/tramp.el (tramp-progress-reporter-update): New defun.
7510         (with-progress-reporter): Use it.
7511         (tramp-process-actions):
7512         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7513         Preserve current message, in order to let progress reporter continue
7514         afterwards.  (Bug#6257)
7516 2010-05-25  Glenn Morris  <rgm@gnu.org>
7518         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7519         Add :version.
7521 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7523         * net/rcirc.el (rcirc-default-user-name): Change to "user".
7524         (rcirc-default-full-name): Change to "unknown".
7525         (rcirc-user-name-history): Add variable.
7527 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7528             Jonathan Rockway  <jon@jrock.us>
7530         * net/rcirc.el (rcirc-server-alist): Add :pass.
7531         (rcirc): When prompting for connection parameters, also prompt for
7532         username and password.
7533         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
7534         value to server when connecting.
7536 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7538         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7539         (smie-merge-prec2s): Pass the tables as separate args.
7540         (smie-bnf-precedence-table): Adjust call accordingly.
7541         (smie-prec2-levels): Set levels at the end.
7543         Replace Lisp calls to delete-backward-char by delete-char.
7544         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7545         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7546         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7547         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7548         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7549         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7550         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7551         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7552         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7553         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7554         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7555         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7556         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7557         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7558         delete-backward-char by calls to delete-char.
7560 2010-05-25  Kenichi Handa  <handa@m17n.org>
7562         * language/hebrew.el (hebrew-shape-gstring): New function.
7563         Register it in composition-function-table for all Hebrew combining
7564         characters.
7566 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7568         * epa.el (epa--select-keys): Don't explicitly delete the window since
7569         that can fail (e.g. sole window in frame).  Use dedication instead.
7571 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
7573         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7575 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
7577         * image.el (image-refresh): Define as an alias for image-flush.
7579         * image-mode.el (image-toggle-display-image): Caller changed.
7581 2010-05-21  Juri Linkov  <juri@jurta.org>
7583         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7584         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
7585         whitespace, call wildcard-to-regexp on substrings and concat them
7586         with "\\|".  (Bug#6114)
7588 2010-05-21  Alan Mackenzie  <acm@muc.de>
7590         * progmodes/cc-engine.el (c-parse-state-get-strategy):
7591         Replace parameter `here' with `here-' and `here-plus', which sandwich
7592         any pertinent CPP construct.
7593         (c-remove-stale-state-cache-backwards): Fix a bug which happens
7594         when doing (c-parse-state) in a CPP construct: Exclude any "new"
7595         CPP construct from taking part in the scanning.
7597 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
7599         * net/tramp.el (tramp-do-copy-or-rename-file)
7600         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7601         Tune `with-progress-reporter' messages.
7602         (tramp-handle-vc-registered):
7603         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7604         (tramp-fish-handle-insert-file-contents)
7605         (tramp-fish-maybe-open-connection):
7606         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7607         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7608         (tramp-imap-handle-insert-file-contents)
7609         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7611 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
7613         * add-log.el (change-log-font-lock-keywords):
7614         Highlight all authors in multi-author entries.
7616         * smerge-mode.el (smerge-refine-ignore-whitespace)
7617         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7618         Fix typos in docstrings.
7619         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7621 2010-05-21  Glenn Morris  <rgm@gnu.org>
7623         * progmodes/fortran.el (fortran-mode):
7624         * progmodes/f90.el (f90-mode): Derive from prog-mode.
7626         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7627         having a relative path in src/Makefile.in.
7629 2010-05-20  Kevin Ryde  <user42@zip.com.au>
7631         * help-mode.el (help-make-xrefs): For Info node links turn
7632         newlines into spaces.  Link node names with newlines are matched
7633         by help-xref-info-regexp and buttonized, this change ensures they
7634         can be followed successfully with RET.  (Bug#6206)
7636 2010-05-20  Juri Linkov  <juri@jurta.org>
7638         * locate.el (locate): Use pop-to-buffer instead of
7639         switch-to-buffer-other-window.  (Bug#6204)
7641 2010-05-20  Juri Linkov  <juri@jurta.org>
7643         * replace.el (replace-highlight): Fix lazy-highlighting
7644         for `M-s w str M-% str RET'.
7646 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
7648         * isearch.el (isearch-yank-word-or-char): Pull next subword
7649         when `subword-mode' is activated.  (Bug#6220)
7651 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
7653         * isearch.el (isearch-update-post-hook): New hook.
7654         (isearch-update): Use the new hook.  (Bug#6225)
7656 2010-05-20  Juri Linkov  <juri@jurta.org>
7658         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7659         [f1], [help], and (char-to-string help-char) instead of "\C-h".
7660         (Bug#6222)
7662 2010-05-20  Juri Linkov  <juri@jurta.org>
7664         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7665         (Bug#6223)
7667 2010-05-20  Juri Linkov  <juri@jurta.org>
7669         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7670         FILE-NAME to read from the minibuffer when called interactively
7671         with prefix argument instead of using buffer-file-name.
7672         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7674         * dired.el: Update autoloads.
7676 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
7678         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7679         nxml-finish-element, for consistency with SGML mode.
7681         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7682         octave-close-block.
7684 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
7686         * composite.el: Require cl when compiling.
7687         (reference-point-alist, compose-gstring-for-graphic)
7688         (compose-gstring-for-terminal): Fix typos in docstrings.
7690 2010-05-19  Juri Linkov  <juri@jurta.org>
7692         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7693         set-window-parameter.
7695 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7697         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7698         where appropriate.
7699         (tramp-maybe-open-connection): Use it.
7701 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
7703         * simple.el (move-end-of-line): Make sure we are at line beginning
7704         before backing up to end of previous line.
7706 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7708         * password-cache.el (password-cache-remove): Fix docstring.
7710         * net/secrets.el: Autoload the widget functions.
7711         (secrets-search-items, secrets-create-item)
7712         (secrets-get-attributes, secrets-expand-item): Attributes will be
7713         stored on the password database without leading ":", as all other
7714         clients do as well.
7715         (secrets-mode): Fix docstring.
7716         (secrets-show-secrets): Provide it as autoloaded command only when
7717         D-Bus support is available.  Check existence of Secret Service API.
7719 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7721         * indent.el (indent-region): Deactivate region (bug#6200).
7723 2010-05-19  Glenn Morris  <rgm@gnu.org>
7725         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
7727 2010-05-19  Kenichi Handa  <handa@m17n.org>
7729         * composite.el: Register compose-gstring-for-graphic in
7730         composition-function-table only for combining characters (Mn, Mc, Me).
7732 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
7734         * calc/calc-trail.el (calc-trail-isearch-forward)
7735         (calc-trail-isearch-backward): Ensure that the new window
7736         point is set correctly.
7738 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7740         * subr.el (read-quoted-char): Resolve modifiers after key
7741         remapping (bug#6212).
7743 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
7745         Add visualization code for secrets.
7746         * net/secrets.el (secrets-mode): New major mode.
7747         (secrets-show-secrets, secrets-show-collections)
7748         (secrets-expand-collection, secrets-expand-item)
7749         (secrets-tree-widget-after-toggle-function)
7750         (secrets-tree-widget-show-password): New defuns.
7752 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7754         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7755         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7756         handled in smie-next-sexp.
7757         (smie-indent-calculate): Provide a starting indentation (so the
7758         recursion is well-founded ;-).
7760         Fix handling of non-associative equal levels.
7761         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7762         when it's not needed.
7763         (smie-op-left, smie-op-right): New functions.
7764         (smie-next-sexp): New function, extracted from smie-backward-sexp.
7765         Better handle equal levels to distinguish the associative case from
7766         the "multi-keyword construct" case.
7767         (smie-backward-sexp, smie-forward-sexp): Use it.
7769 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
7771         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7773         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7774         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7776 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7778         Provide a simple generic indentation engine and use it for Prolog.
7779         * emacs-lisp/smie.el: New file.
7780         * progmodes/prolog.el (prolog-smie-op-levels)
7781         (prolog-smie-indent-rules): New var.
7782         (prolog-mode-variables): Use them to configure SMIE.
7783         (prolog-indent-line, prolog-indent-level): Remove.
7785 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
7787         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7788         order before computing the averages.
7790 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
7792         * calc/calc-vec.el (calc-histogram):
7793         (calcFunc-histogram): Allow vectors as inputs.
7794         (math-vector-avg): New function.
7796         * calc/calc-ext.el (math-group-float): Have the number of digits
7797         being grouped depend on the radix (Bug#6189).
7799 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
7801         * version.el (emacs-copyright, emacs-version): Don't define here,
7802         now that emacs.c defines it.
7804 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
7806         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7807         "Describe Language Environment" menu item.
7809         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7811         Bidi-sensitive movement with arrow keys.
7812         * subr.el (right-arrow-command, left-arrow-command): New functions.
7814         * bindings.el (global-map): Bind them to right and left arrow keys.
7816         Don't override standard definition of convert-standard-filename.
7817         * files.el (convert-standard-filename):
7818         Call w32-convert-standard-filename and dos-convert-standard-filename on
7819         the corresponding systems.
7821         * w32-fns.el (w32-convert-standard-filename): Rename from
7822         convert-standard-filename.  Doc fix.
7824         * dos-fns.el (dos-convert-standard-filename): Doc fix.
7825         (convert-standard-filename): Don't defalias.
7826         (register-name-alist, make-register, register-value)
7827         (set-register-value, intdos): Obsolete aliases for the
7828         corresponding dos-* functions and variables.
7829         (dos-intdos): Add a doc string.
7831 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
7833         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7834         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7835         (math-compose-tex-func):
7836         * calc/calccomp.el (math-compose-expr):
7837         * calc/calc-ext.el (math-format-flat-expr-fancy):
7838         * calc/calc-store.el (calc-read-var-name):
7839         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7841         * calc/calc.el (var-π, var-φ, var-γ): New variables.
7842         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7843         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7844         (math-standard-units): Add units.
7846 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7848         * progmodes/asm-mode.el (asm-mode):
7849         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7851         * pcomplete.el (pcomplete-completions-at-point): New function,
7852         extracted from pcomplete-std-complete.
7853         (pcomplete-std-complete): Use it.
7855 2010-05-15  Glenn Morris  <rgm@gnu.org>
7857         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7858         Remove references to CVS, RCS and Old directories.
7860 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
7862         * calc/calc-bin.el (math-format-twos-complement): Group digits when
7863         appropriate.
7865 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7867         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7868         (sh-mode-syntax-table): Give it a default value instead.
7869         (sh-header-marker): Make buffer-local.
7870         (sh-mode): Move make-local-variable to the corresponding setq.
7871         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7872         Use complete-with-action.
7874         * simple.el (prog-mode): New (abstract) major mode.
7875         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7876         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7878 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
7880         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7881         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7882         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7883         (sql-make-alternate-buffer-name, sql-placeholders-filter)
7884         (sql-escape-newlines-filter, sql-input-sender)
7885         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7887 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
7889         Add TeX open-block and close-block keybindings to SGML, and vice versa.
7891         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7892         latex-open-block and C-c / to latex-close-block.
7894         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7895         and C-c C-e to sgml-close-tag.
7897 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
7899         * net/tramp.el (with-progress-reporter): Create reporter object
7900         only when the message would be displayed.  Handle nested calls.
7901         (tramp-handle-load, tramp-handle-file-local-copy)
7902         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7903         (tramp-maybe-send-script, tramp-find-shell):
7904         Use `with-progress-reporter'.
7905         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7906         Fix message text.
7908         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7909         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7910         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7911         Use `with-progress-reporter'.
7913 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
7915         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7916         process everytime when spellchecking from the minibuffer (bug#6143).
7918 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7920         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7922         * dos-fns.el: Add "dos-" prefix for namespace control.
7923         (convert-standard-filename): Define as alias for
7924         dos-convert-standard-filename but only if applicable.
7926 2010-05-12  Alan Mackenzie  <acm@muc.de>
7928         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7929         Push the mark at the start of these functions when appropriate.
7931 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7933         * minibuffer.el (completion-cycle-threshold): New custom var.
7934         (completion--do-completion): Use it.
7935         (minibuffer-complete): Use cycling if appropriate.
7937 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
7939         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7940         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7942 2010-05-11  Juri Linkov  <juri@jurta.org>
7944         * scroll-all.el (scroll-all-check-to-scroll):
7945         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7947 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7949         * iimage.el (iimage-mode-map): Move initialization into declaration.
7950         (iimage-mode-buffer): Use with-silent-modifications.
7951         Simplify calling convention.  Adjust callers.
7952         (iimage-mode): Don't run hook redundantly.
7954         * minibuffer.el (completion-pcm--pattern->regex):
7955         Fix last change (bug#6160).
7957 2010-05-10  Juri Linkov  <juri@jurta.org>
7959         Remove nodes visited during Isearch from the Info history.
7960         * info.el (Info-isearch-initial-history)
7961         (Info-isearch-initial-history-list): New variables.
7962         (Info-isearch-start): Record initial values of
7963         Info-isearch-initial-history and Info-isearch-initial-history-list.
7964         Add Info-isearch-end to isearch-mode-end-hook.
7965         (Info-isearch-end): New function.
7967 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
7969         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7970         format string, in order to work around a bug in pdksh.
7971         Reported by Gilles Pion <gpion@lfdj.com>.
7972         (tramp-handle-verify-visited-file-modtime): Do not send a command
7973         when the connection is not established.
7974         (tramp-handle-set-file-times): Simplify the check for utc.
7976 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
7978         Fix use of `filter-buffer-substring' (rework previous change).
7979         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7980         (cua-repeat-replace-region):
7981         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7982         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7983         (cua-cut-region-to-global-mark): Use it.
7985 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
7987         * progmodes/sql.el: Version 2.1.
7988         (sql-product-alist): Redesign structure of product info.
7989         (sql-product, sql-user, sql-server, sql-database): Safe variables.
7990         (sql-port, sql-port-history): New variables.
7991         (sql-interactive-product): New variable.
7992         (sql-send-terminator): New variable.
7993         (sql-imenu-generic-expression): Add "Types" imenu entry.
7994         (sql-oracle-login-params, sql-sqlite-login-params)
7995         (sql-mysql-login-params, sql-solid-login-params)
7996         (sql-sybase-login-params, sql-informix-login-params)
7997         (sql-ingres-login-params, sql-ms-login-params)
7998         (sql-postgres-login-params, sql-interbase-login-params)
7999         (sql-db2-login-params, sql-linter-login-params)
8000         (sql-oracle-scan-on): New variables.
8001         (sql-mode-map): Add C-c C-i to start interactive mode.
8002         (sql-mode-menu): Update existing menu entries.
8003         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8004         (sql-mode-oracle-font-lock-keywords)
8005         (sql-mode-postgres-font-lock-keywords)
8006         (sql-mode-ms-font-lock-keywords)
8007         (sql-mode-sybase-font-lock-keywords)
8008         (sql-mode-informix-font-lock-keywords)
8009         (sql-mode-interbase-font-lock-keywords)
8010         (sql-mode-ingres-font-lock-keywords)
8011         (sql-mode-solid-font-lock-keywords)
8012         (sql-mode-mysql-font-lock-keywords)
8013         (sql-mode-sqlite-font-lock-keywords)
8014         (sql-mode-db2-font-lock-keywords)
8015         (sql-mode-linter-font-lock-keywords): Update initialization to
8016         reduce run-time complexity.
8017         (sql-add-product, sql-del-product): New functions.
8018         (sql-set-product-feature, sql-get-product-feature): New functions.
8019         (sql-product-font-lock): Update product API.
8020         (sql-add-product-keywords): New function.
8021         (sql-highlight-product): Update product API.
8022         (sql-help-list-products): New function.
8023         (sql-help): Dynamically lists free and non-free products.
8024         (sql-get-login): Correct bug in handling history and added
8025         prompt for port.
8026         (sql-copy-column): Copy without properties.
8027         (sqli-input-sender): Apply filters to SQLi input.
8028         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8029         Implement as a filter.
8030         (sql-escape-newlines-filter): Implement as a filter.
8031         (sql-remove-tabs-filter): New function.
8032         (sql-send-magic-terminator): New function.
8033         (sql-send-string): Implement magic terminator.
8034         (sql-send-region): Use `sql-send-string'.
8035         (sql-interactive-mode): Use product API.
8036         (sql-product-interactive): Use product API.
8037         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8038         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8039         (sql-db2, sql-linter): Use `sql-product-interactive'.
8040         (sql-connect): New function.
8041         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8042         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8043         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8044         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8045         Use `sql-connect'.
8047 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8049         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8050         New custom variable.
8051         (completion-pcm--string->pattern): Use it.
8052         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8053         Make it handle any symbol as `any'.
8054         (completion-pcm--merge-completions): Extract common suffix for the new
8055         `prefix' symbol as well.
8056         (completion-substring--all-completions): Use the new `prefix' symbol.
8058 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
8060         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8061         not bound.
8062         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8063         (tramp-compat-funcall): New defmacro.
8064         (tramp-compat-line-beginning-position)
8065         (tramp-compat-line-end-position)
8066         (tramp-compat-temporary-file-directory)
8067         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8068         (tramp-compat-copy-file, tramp-compat-copy-directory)
8069         (tramp-compat-delete-file, tramp-compat-delete-directory)
8070         (tramp-compat-number-sequence, tramp-compat-process-running-p)
8071         * net/tramp.el (top, with-progress-reporter)
8072         (tramp-rfn-eshadow-setup-minibuffer)
8073         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8074         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8075         (tramp-completion-mode-p, tramp-check-for-regexp)
8076         (tramp-open-connection-setup-interactive-shell)
8077         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8078         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8079         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8080         * net/tramp-cmds.el (tramp-cleanup-all-connections)
8081         (tramp-reporter-dump-variable, tramp-load-report-modules)
8082         (tramp-append-tramp-buffers)
8083         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8085         * net/tramp-imap.el (top): Autoload `epg-make-context'.
8087 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8089         * progmodes/compile.el (compilation-buffer-modtime): Rename from
8090         buffer-modtime.  Adjust users.
8092 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8094         * international/mule.el (auto-coding-alist): Only purecopy
8095         car of each item, not the whole list (Bug#6083).
8097 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8099         * progmodes/js.el (js-mode): Make paragraph variables local before
8100         calling c-setup-paragraph-variables (Bug#6071).
8102 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
8104         * composite.el (compose-region, reference-point-alist): Fix typos
8105         in the doc strings.
8107 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8109         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8110         gnuplot's "set" command.
8112 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8114         * abbrev.el (last-abbrev-text): Doc fix.
8115         (abbrev-prefix-mark): Don't escape parenthesis.
8117 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
8119         * composite.el (find-composition): Doc fix.
8121 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8123         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8124         (sql-oracle-program, sql-sqlite-options)
8125         (sql-query-placeholders-and-send): Doc fixes.
8126         (sql-set-product, sql-interactive-mode): Reflow docstrings.
8127         (sql-imenu-generic-expression, sql-buffer)
8128         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8129         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8130         (sql-mode-sybase-font-lock-keywords)
8131         (sql-mode-informix-font-lock-keywords)
8132         (sql-mode-interbase-font-lock-keywords)
8133         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8134         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8135         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8136         (sql-product-feature, sql-highlight-product)
8137         (comint-line-beginning-position, sql-rename-buffer)
8138         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8139         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8140         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8141         Fix typos in docstrings.
8143 2010-05-08  Juri Linkov  <juri@jurta.org>
8145         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8146         property instead of `invisible' and `after-string' (bug#5998).
8148 2010-05-08  Juri Linkov  <juri@jurta.org>
8150         * image-mode.el (image-mode-as-text): Fix typo in docstring.
8152 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8154         * filecache.el (file-cache-add-directory-list)
8155         (file-cache-add-directory-recursively): Fix typos in docstrings.
8157 2010-05-08  Kenichi Handa  <handa@m17n.org>
8159         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8160         (gujarati-composable-pattern): Fix typo.
8162 2010-05-08  Kenichi Handa  <handa@m17n.org>
8164         * language/indian.el (oriya-composable-pattern)
8165         (tamil-composable-pattern, malayalam-composable-pattern):
8166         Add two-part vowels to "v" (vowel sign).
8168 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8170         * files.el (copy-directory): Handle symlinks (Bug#5982).
8172 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
8174         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8175         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
8176         (Bug#5846).
8178 2010-05-08  Glenn Morris  <rgm@gnu.org>
8180         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8182         * minibuffer.el (completion-at-point): Doc fix.
8184 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8186         * electric.el (Electric-command-loop): Minor tweak.
8188         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8189         better with dedicated windows.
8191 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
8193         * Version 23.2 released.
8195 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
8196             Stefan Monnier  <monnier@iro.umontreal.ca>
8198         Highlight vendor specific properties.
8199         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8200         (css-proprietary-property): New face.
8201         (css-font-lock-keywords): Use them.
8203 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
8205         * cus-start.el (all): Add native condition for tool-bar-* symbols.
8207 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8209         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8210         * files.el (auto-mode-alist): Remove redundant entries.
8212         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8213         * simple.el (auto-save-mode): Move from files.el.
8214         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8216 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
8218         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8220 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
8222         * mail/binhex.el (binhex-decode-region-internal)
8223         * mail/uudecode.el (uudecode-decode-region-internal)
8224         * net/dns.el (dns-read-string-name, dns-write, dns-read)
8225         (dns-read-type, dns-query)
8226         * pgg-parse.el (pgg-parse-armor)
8227         * pgg.el (pgg-verify-region)
8228         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8229         XEmacs.
8231         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8233 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
8235         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8237         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8238         * emulation/cua-base.el (cua-repeat-replace-region):
8239         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8240         (cua-cut-region-to-global-mark):
8241         Remove text properties with `set-text-properties'.
8243 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
8245         * net/tramp.el (top, with-progress-reporter):
8246         Use `symbol-function' inside `funcall'.
8248         * net/tramp-compat.el (tramp-compat-file-attributes)
8249         (tramp-compat-delete-file, tramp-compat-delete-directory):
8250         Handle only `wrong-number-of-arguments' error.
8252         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8253         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8254         inside `funcall'.
8256 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8258         * minibuffer.el (completion--sreverse, completion--common-suffix):
8259         New functions.
8260         (completion-pcm--merge-completions): Extract common suffix when safe.
8262         * emacs-lisp/easy-mmode.el (define-minor-mode):
8263         Make :variable more flexible.
8264         * files.el (auto-save-mode): Use it to define using define-minor-mode.
8266 2010-05-05  Juri Linkov  <juri@jurta.org>
8268         Add `slow' and `history' tags to the desktop data.
8270         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8271         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8272         (Info-finder-find-node): Require `finder.el' to be able
8273         to restore node from the desktop.
8274         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
8275         data `Info-history' and `slow' tag in the assoc list.
8276         (Info-restore-desktop-buffer): Don't restore nodes with the
8277         `slow' tag.  Restore `Info-history'.
8279 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
8281         Add FORCE argument to `delete-file'.
8283         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8284         forcing to delete the temporary file.
8285         (ange-ftp-delete-file): Add FORCE arg.
8286         (ange-ftp-rename-remote-to-remote)
8287         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8288         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8289         Force file deletion.
8291         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8293         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8294         (tramp-handle-make-symbolic-link, tramp-handle-load)
8295         (tramp-do-copy-or-rename-file-via-buffer)
8296         (tramp-do-copy-or-rename-file-directly)
8297         (tramp-do-copy-or-rename-file-out-of-band)
8298         (tramp-handle-process-file, tramp-handle-call-process-region)
8299         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8300         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8301         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8303         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8304         (tramp-fish-handle-make-symbolic-link)
8305         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8307         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8308         Use `tramp-compat-delete-file'.
8310         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8311         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8313         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8314         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8316         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8317         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8318         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8319         Use `tramp-compat-delete-file'.
8321 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8323         Minor cleanups.
8324         * subr.el (add-minor-mode): Use push.
8325         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8326         * emulation/edt.el (edt-select-mode): Simplify.
8328         Use define-minor-mode in more cases.
8329         * term/tvi970.el (tvi970-set-keypad-mode):
8330         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8331         (normal-erase-is-backspace-mode):
8332         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8333         (set-scroll-bar-mode-1): (Re)move to its sole caller.
8334         (get-scroll-bar-mode): New function.
8335         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8337         Use define-minor-mode for less obvious cases.
8338         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8339         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8340         * international/iso-ascii.el (iso-ascii-mode):
8341         * frame.el (auto-raise-mode, auto-lower-mode):
8342         * composite.el (global-auto-composition-mode): Use define-minor-mode.
8344 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
8346         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8347         in order to see error messages for failed logins.
8349 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
8351         * diff.el (diff-sentinel):
8353         * epg.el (epg--make-temp-file, epg-decrypt-string)
8354         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8356         * jka-compr.el (jka-compr-partial-uncompress)
8357         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8359         * server.el (server-sentinel): Use delete-file's new FORCE arg
8360         (Bug#6070).
8362 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8364         Use define-minor-mode where applicable.
8365         * view.el (view-mode):
8366         * type-break.el (type-break-query-mode)
8367         (type-break-mode-line-message-mode):
8368         * textmodes/reftex.el (reftex-mode):
8369         * term/vt100.el (vt100-wide-mode):
8370         * tar-mode.el (tar-subfile-mode):
8371         * savehist.el (savehist-mode):
8372         * ibuf-ext.el (ibuffer-auto-mode):
8373         * composite.el (auto-composition-mode):
8374         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8375         Use define-minor-mode.
8376         (vhdl-mode): Use static mode-line format.
8377         (vhdl-mode-line-update): Delete.
8378         (vhdl-create-mode-menu, vhdl-activate-customizations)
8379         (vhdl-hs-minor-mode): Don't bother calling it.
8381 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8383         * simple.el (with-wrapper-hook): Move.
8384         (buffer-substring-filters): Mark obsolete.
8385         (filter-buffer-substring-functions): New variable.
8386         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
8388 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
8389             Michael Albinus  <michael.albinus@gmx.de>
8391         Implement compression for inline methods.
8393         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8394         (tramp-copy-size-limit): Allow also nil.
8395         (tramp-inline-compress-commands): New defconst.
8396         (tramp-find-inline-compress, tramp-get-inline-compress)
8397         (tramp-get-inline-coding): New defuns.
8398         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8399         replaced by `tramp-get-inline-coding'.
8400         (tramp-handle-file-local-copy, tramp-handle-write-region)
8401         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8403 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8405         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8406         Remove unused functions.
8408         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8409         Set find-tag-default-function as a variable rather than a property.
8411         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8412         * progmodes/etags.el (tags-completion-at-point-function):
8413         Remove left over interactive spec.  Add autoloading stub.
8414         (complete-tag): Use tags-completion-at-point-function.
8416 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
8418         * minibuffer.el (tags-completion-at-point-function): Fix return value.
8420 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8422         * ido.el (ido-init-completion-maps): Remove C-v binding.
8423         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8425 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8427         * minibuffer.el (tags-completion-at-point-function): New function.
8428         (completion-at-point-functions): Use it.
8430         * progmodes/etags.el (complete-tag): Revert last change.
8432 2010-04-29  Alan Mackenzie  <acm@muc.de>
8434         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8435         off-by-one error (in end of macro position).
8437 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8439         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8440         firefox is absent.  Don't autoload.
8441         (browse-url-galeon-program): Don't autoload.
8443 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8445         * bindings.el (complete-symbol): Move into minibuffer.el.
8447         * minibuffer.el (complete-tag): Move from etags.el.  If tags
8448         completion cannot be performed, return nil instead of signalling
8449         an error.
8450         (completion-at-point): Make it an alias for complete-symbol.
8451         (complete-symbol): Move from bindings.el, and replace with the
8452         body of completion-at-point.
8454         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8456 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
8458         * net/tramp.el (tramp-remote-selinux-p): New defun.
8459         (tramp-handle-file-selinux-context)
8460         (tramp-handle-set-file-selinux-context): Use it.
8462 2010-04-28  Sam Steingold  <sds@gnu.org>
8464         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8465         `safe-local-variable' if the value is a string or a symbol with
8466         the property `bug-reference-url-format'.
8468 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8470         * progmodes/bug-reference.el (bug-reference-url-format):
8471         Revert 2010-04-27 change due to security risk.
8473 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8475         Make it possible to locally disable a globally enabled mode.
8476         * simple.el (fundamental-mode): Run fundamental-mode-hook.
8477         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8478         rather than kill-all-local-variables so it runs fundamental-mode-hook.
8479         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8480         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8481         that subsequent hooks get a chance to disable it.
8483 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8485         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8486         Avoid re-enabling a minor mode after the user turned the minor mode
8487         off if MODE-enable-in-buffers is run twice (typically once from
8488         fundamental-mode's after-change-major-mode-hook and a second time from
8489         run-mode-hook's own after-change-major-mode-hook).
8491         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8493 2010-04-27  Sam Steingold  <sds@gnu.org>
8495         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8496         `safe-local-variable' if the value is a string or a function, as
8497         documented and implemented on 2010-04-02.
8499 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
8501         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8502         when method is 'kill.
8504 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
8506         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8507         condition in default directory check.
8508         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8509         Kill ispell process when killing its associated buffer.
8511 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
8513         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8514         but we aren't using it.
8516 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
8518         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8519         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8521 2010-04-24  Glenn Morris  <rgm@gnu.org>
8523         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8524         Ignore VCS-ignore files, and deleted nextstep preferences files.
8525         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8526         (authors-ambiguous-files): New list.
8527         (authors-valid-file-names): Add some deleted files.
8528         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8529         (authors-disambiguate-file-name): New function.  (Bug#5501)
8530         (authors-canonical-file-name): Doc fix.
8531         Don't warn about obsolete files.
8532         (authors-canonical-file-name, authors-scan-el):
8533         Use authors-disambiguate-file-name.
8535         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8536         Add autoload cookies.
8537         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8538         (generated-autoload-file): Set file-local value to "htmlfontify.el".
8539         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8540         They have definitions / compiler macros in cl.el.
8541         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8542         Replace manual autoloads with generated ones.
8543         (htmlfontify-unload-rgb-file): Remove autoload.
8544         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8546 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8548         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8549         (byte-compile-setq-default): Optimize for the
8550         single-var case and don't call byte-compile-form in this case to avoid
8551         inf-loop with byte-compile-set-default.
8553         * progmodes/compile.el (compilation-start): Abbreviate default directory.
8555 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
8557         Implement SELINUX backends.
8559         * net/tramp.el (tramp-file-name-handler-alist):
8560         Add `file-selinux-context' and `set-file-selinux-context'.
8561         (tramp-handle-file-selinux-context)
8562         (tramp-handle-set-file-selinux-context): New defuns.
8563         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8564         Handle PRESERVE-SELINUX-CONTEXT.
8566         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8567         Add `file-selinux-context' and `set-file-selinux-context'.
8568         (tramp-gvfs-handle-file-selinux-context)
8569         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8570         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8572         * net/ange-ftp.el (ange-ftp-copy-file):
8573         * net/tramp-fish.el (tramp-fish-handle-copy-file):
8574         * net/tramp-imap.el (tramp-imap-handle-copy-file):
8575         * net/tramp-smb.el (tramp-smb-handle-copy-file):
8576         Add PRESERVE-SELINUX-CONTEXT.
8578 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8580         Synchronize with Tramp repository.
8582         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8583         (tramp-action-process-alive, tramp-action-out-of-band)
8584         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8585         (tramp-exists-file-name-handler): Fix docstring.
8586         (with-progress-reporter): New defmacro.
8587         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8588         (tramp-maybe-open-connection): Use it.
8590 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
8592         Detect ssh 'ControlMaster' argument automatically in some cases.
8594         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8595         (tramp-default-method): Use it.
8597 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8599         * net/tramp.el (tramp-handle-copy-file): Add new optional
8600         parameter `preserve-selinux-context'.
8601         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8603 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8605         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8606         Ensure, that non remote files are still checked.  Oops.
8608 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
8610         Fix Bug#5840.
8612         * icomplete.el (icomplete-completions): Use `non-essential'.
8614         * net/tramp.el (tramp-connectable-p): New defun.
8615         (tramp-handle-expand-file-name)
8616         (tramp-completion-handle-file-name-all-completions)
8617         (tramp-completion-handle-file-name-completion): Use it.
8619 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8621         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8623 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
8625         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8627         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8629         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8630         is present.
8632         * info.el (info-tool-bar-map): Add labels.
8634         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8636         * cus-edit.el (custom-commands): Add labels for tool bar.
8637         (custom-buffer-create-internal, Custom-mode): Adjust for
8638         labels in custom-commands.
8640         * dynamic-setting.el: Renamed from font-setting.el.
8642 2010-04-21  John Wiegley  <jwiegley@gmail.com>
8644         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8645         toggles the use of virtual buffers.
8646         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8647         (ido-toggle-virtual-buffers): New function.
8649 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
8651         Use `define-derived-mode'; fix window selection; doc fixes.
8652         * play/tetris.el (tetris, tetris-update-speed-function)
8653         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8654         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8655         (tetris-rotate-next, tetris-end-game, tetris-start-game)
8656         (tetris-pause-game): Fix typos in docstrings.
8657         (tetris-mode-map, tetris-null-map):
8658         Move initialization into declaration.
8659         (tetris-mode): Define with `define-derived-mode';
8660         set show-trailing-whitespace to nil.
8661         (tetris): Prefer window already displaying the "*Tetris*" buffer.
8663 2010-04-21  Karel Klíč  <kklic@redhat.com>
8665         * files.el (backup-buffer): Handle SELinux context, and return it
8666         if a backup was made by renaming.
8667         (backup-buffer-copy): Set SELinux context to the target file.
8668         (basic-save-buffer): Set SELinux context of the newly written file.
8669         (basic-save-buffer-1): Now it also returns any SELinux context.
8670         (basic-save-buffer-2): Set SELinux context of the newly created file,
8671         and return it.
8672         * net/tramp.el (tramp-file-name-for-operation):
8673         Add file-selinux-context.
8675 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8677         Make the log-edit comments use RFC822 format throughout.
8679         * vc.el (vc-checkin, vc-modify-change-comment):
8680         Adjust to new vc-start/finish-logentry.
8681         (vc-find-conflicted-file): New command.
8682         (vc-transfer-file): Adjust to new vc-checkin.
8683         (vc-next-action): Improve scoping.
8685         * vc-hg.el (vc-hg-log-edit-mode): Remove.
8686         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
8688         * vc-git.el (vc-git-log-edit-mode): Remove.
8689         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
8690         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8692         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8693         (vc-start-logentry): Remove argument `extra'.
8694         (vc-finish-logentry): Remove extra args.
8696         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8697         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
8698         (vc-bzr-conflicted-files): New function.
8700         * log-edit.el (log-edit-extra-flags)
8701         (log-edit-before-checkin-process): Remove.
8702         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8703         (log-edit-headers-alist): New var.
8704         (log-edit-header-contents-regexp): New const.
8705         (log-edit-match-to-eoh): New function.
8706         (log-edit-font-lock-keywords): Use them.
8707         (log-edit): Insert a "Summary:" header as default.
8708         (log-edit-mode): Mark font-lock rules as case-insensitive.
8709         (log-edit-done): Cleanup headers.
8710         (log-view-process-buffer): Remove.
8711         (log-edit-extract-headers): New function to replace it.
8713 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
8715         * subr.el (default-direction-reversed): Remove obsolescence info.
8717 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8719         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8720         windows/frames.
8722         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8723         I.e. include text after point in the completion region.
8724         Also, return nil when we're not after/in a symbol.
8726         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8727         default enable-multibyte-characters.
8729 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8731         * international/mule.el: Help the user choose a valid coding-system.
8732         (read-buffer-file-coding-system): New function.
8733         (set-buffer-file-coding-system): Use it.  Prompt the user if the
8734         coding-system cannot encode all the chars.
8736         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8737         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8738         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8739         Don't use *vc-bzr-shelve*.
8741 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
8743         Fix the version number for added files.
8744         * vc-hg.el (vc-hg-working-revision): Check if the file is
8745         registered after hg parent fails (Bug#5961).
8747 2010-04-19  Glenn Morris  <rgm@gnu.org>
8749         * htmlfontify.el (htmlfontify-buffer)
8750         (htmlfontify-copy-and-link-dir): Autoload entry points.
8752 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
8754         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8755         name relative to the project root (Bug#5960).
8757 2010-04-19  Glenn Morris  <rgm@gnu.org>
8759         * vc-git.el (vc-git-print-log): Doc fix.
8761 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
8763         * ido.el (ido-file-internal): Fix 2009-12-02 change.
8765 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
8767         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8768         default settings (Bug#5928).
8770 2010-04-19  Glenn Morris  <rgm@gnu.org>
8772         * progmodes/fortran.el (fortran-match-and-skip-declaration):
8773         New function.
8774         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
8776 2010-04-19  Kenichi Handa  <handa@m17n.org>
8778         * language/indian.el (malayalam-composable-pattern): Fix previous
8779         change (add U+0D4D "SIGN VIRAMA").
8780         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8781         (tamil-composable-pattern): Fix typo in the regexp.
8782         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8783         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8784         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8786 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8788         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8789         paragraph-separate (Bug#5821).
8791 2010-04-19  Juri Linkov  <juri@jurta.org>
8793         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8795         * info.el (Info-find-node-2): Comment out code that skips
8796         breadcrumbs line.
8797         (Info-mouse-follow-link): New command.
8798         (Info-link-keymap): New keymap.
8799         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8800         Return a string with links instead of inserting breadcrumbs
8801         to the Info buffer.
8802         (Info-fontify-node): Comment out code that inserts breadcrumbs.
8803         Instead of putting the `invisible' text property over the Info
8804         header, make an overlay over the Info header with the `invisible'
8805         property and `after-string' set to the string returned by
8806         `Info-breadcrumbs'.
8808 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8810         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8811         Reported by monkey@sandpframing.com.
8813 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8815         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8816         (tmm-get-keymap): Add key-binding shortcuts now that they're not
8817         available in the "keyseq cache" any more.
8819         * custom.el (defcustom): Add edebug spec.
8821 2010-04-18  Juri Linkov  <juri@jurta.org>
8823         Test for special mode-class in view-buffer instead of view-file (bug#5513).
8825         * view.el (view-file, view-buffer): Move test for special mode-class
8826         from view-file to view-buffer.
8828         * tar-mode.el (tar-extract): Turn if's into one cond
8829         like in arc-mode.el.
8831 2010-04-18  Juri Linkov  <juri@jurta.org>
8833         Add 7z archive format support (bug#5475).
8835         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8836         (archive-7z-extract): New defcustom.
8837         (archive-find-type): Add magic string for 7z.
8838         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8839         If `stderr-file' is non-nil, use `(t stderr-file)' for the
8840         `buffer' arg of `call-process'.
8841         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8842         call the function `archive-7z-extract' with the variable
8843         `archive-7z-extract' let-bound to `archive-zip-extract'.
8844         (archive-7z-summarize, archive-7z-extract): New functions.
8846         * international/mule.el (auto-coding-alist):
8847         * files.el (auto-mode-alist): Add 7z file extension.
8849 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8851         * loadup.el: Setup hash-cons for pure data.
8853         Fix duplicate entries in cedet's loaddefs.el files.
8854         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8855         Should make most file-local generated-autoload-file unnecessary.
8856         (print-readably): Silence warnings.
8857         (autoload-find-destination): Take load-name as an arg to make sure
8858         it's the same as the one that will be in the file.
8859         (autoload-generate-file-autoloads): Adjust to above changes.
8860         Try to make the dataflow a bit simpler.
8862         * cvs-status.el (cvs-refontify): Remove unused.
8864 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
8866         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8868         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8869         twos-complement mode.
8871 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
8873         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8874         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
8875         (calc-inverse): Add "Option" to message, as appropriate.
8876         (calc-hyperbolic): Add "Option" to message, as appropriate.
8877         (calc-option, calc-is-option): New functions.
8879         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8880         (calc-option-prefix-help): New function.
8882         * calc/calc-misc.el (calc-help): Add "Option" entry.
8884         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8885         (calc-option-flag): New variable.
8886         (calc-do): Set `calc-option-flag to nil.
8887         (calc-set-mode-line): Add "Opt " as appropriate.
8889 2010-04-16  Juri Linkov  <juri@jurta.org>
8891         Move scrolling commands from simple.el to window.el
8892         because their primitives are implemented in window.c.
8894         * simple.el (scroll-error-top-bottom)
8895         (scroll-up-command, scroll-down-command, scroll-up-line)
8896         (scroll-down-line, scroll-other-window-down)
8897         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8898         * window.el (scroll-error-top-bottom)
8899         (scroll-up-command, scroll-down-command, scroll-up-line)
8900         (scroll-down-line, scroll-other-window-down)
8901         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8902         Move from simple.el to window.el because their primitives are
8903         implemented in window.c.
8905 2010-04-16  Juri Linkov  <juri@jurta.org>
8907         * isearch.el (isearch-lookup-scroll-key): Check both
8908         `isearch-scroll' and `scroll-command' properties.
8909         (scroll-up, scroll-down): Remove `isearch-scroll' property.
8911         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8913         * simple.el (scroll-up-command, scroll-down-command)
8914         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8916 2010-04-15  Juri Linkov  <juri@jurta.org>
8918         * simple.el (scroll-up-command, scroll-down-command)
8919         (scroll-up-line, scroll-down-line): Put `scroll-command'
8920         property on the these symbols.  Remove them from
8921         `scroll-preserve-screen-position-commands'.
8923         * mwheel.el (mwheel-scroll): Put `scroll-command' and
8924         `isearch-scroll' properties on the `mwheel-scroll' symbol.
8925         Remove it from `scroll-preserve-screen-position-commands'.
8927         * isearch.el (isearch-allow-scroll): Doc fix.
8929 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
8931         * net/tramp.el (tramp-error-with-buffer): Don't show the
8932         connection buffer when we are in completion mode.
8933         (tramp-file-name-handler): Catch the error for some operations
8934         when we are in completion mode.  This gives the user the chance to
8935         correct the file name in the minibuffer.
8937 2010-04-15  Glenn Morris  <rgm@gnu.org>
8939         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8941 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
8943         Simplify by using `define-derived-mode'.
8944         * info.el (Info-mode):
8945         * calendar/todo-mode.el (todo-mode):
8946         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8947         (gomoku-mode-map): Move initialization into declaration.
8949 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
8951         Fix Bug#5840.
8952         * ido.el (ido-file-name-all-completions-1):
8953         * minibuffer.el (minibuffer-completion-help):
8954         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8956 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8958         * simple.el (non-essential): New var.
8960         Add a new field `location' to bookmarks for non-file bookmarks.
8961         * bookmark.el (bookmark-location): Use the new field, if present.
8962         (bookmark-insert-location): Undo last change, not needed any more.
8963         * man.el (Man-bookmark-make-record):
8964         * woman.el (woman-bookmark-make-record): Add `location' field.
8966 2010-04-14  Juri Linkov  <juri@jurta.org>
8968         * simple.el (scroll-error-top-bottom): New defcustom.
8969         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
8971         * emulation/pc-select.el (pc-select-override-scroll-error):
8972         Obsolete in favor of `scroll-error-top-bottom'.
8974 2010-04-14  Juri Linkov  <juri@jurta.org>
8976         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8977         `scroll-up-command' and `M-v' to `scroll-down-command'.
8979         * emulation/cua-rect.el (cua--init-rectangles):
8980         * forms.el (forms--change-commands):
8981         * image-mode.el (image-mode-map):
8982         Remap scroll-down-command and scroll-up-command
8983         in addition to scroll-down and scroll-up.
8985 2010-04-14  Juri Linkov  <juri@jurta.org>
8987         * mwheel.el (scroll-preserve-screen-position-commands):
8988         Add mwheel-scroll to this list of commands.
8990         * simple.el (scroll-preserve-screen-position-commands):
8991         Add scroll-up-command, scroll-down-command, scroll-up-line,
8992         scroll-down-line to this list of commands.
8994 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8996         * obsolete/complete.el: Move from lisp/complete.el.
8998         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9000         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9001         to the minor mode function now turns the mode ON unconditionally.
9003 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9005         * vc-dir.el (vc-dir-kill-line): New command.
9006         (vc-dir-mode-map): Bind it to C-k.
9008         * bookmark.el (bookmark-insert-location): Handle a nil filename.
9010         * woman.el: Add bookmark declarations to silence the compiler.
9011         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9012         step to compatibility between man and woman bookmarks.
9013         Adjust for Man-default-bookmark-title renaming.
9014         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
9016         * man.el: Add bookmark declarations to silence the compiler.
9017         (Man-name-local-regexp): Make it match NAME as well.
9018         (Man-getpage-in-background): Return the buffer.
9019         (Man-notify-when-ready): Use `case'.
9020         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9021         Don't hardcode "NAME".  Simplify.
9022         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9023         Rename from Man-bookmark-make-record.
9024         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
9025         we have the actual man-args.  Use Man-getpage-in-background rather
9026         than `man' since the arg is already processed.  Let bookmark.el do the
9027         window handling.  Only wait for the relevant process.
9028         Don't forget to autoload.
9030         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9032 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9034         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9035         New functions.
9036         (woman-mode): Setup bookmark support.
9038         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9039         (man-bookmark-jump): New functions.
9040         (Man-mode): Setup bookmark support.
9042 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
9044         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9045         recognize ssh-keygen prompt (Bug#2817).
9047 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
9049         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9051 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
9053         Synchronize with Tramp repository.
9055         * net/tramp.el (tramp-completion-function-alist)
9056         (tramp-file-name-regexp, tramp-chunksize)
9057         (tramp-local-coding-commands, tramp-remote-coding-commands):
9058         Fix docstring.
9059         (tramp-remote-process-environment): Use `format' instead of `concat'.
9060         (tramp-handle-directory-files-and-attributes)
9061         (tramp-get-remote-path): Use `copy-tree'.
9062         (tramp-handle-file-name-all-completions): Backward/ XEmacs
9063         compatibility: Use `completion-ignore-case' if
9064         `read-file-name-completion-ignore-case' does not exist.
9065         (tramp-do-copy-or-rename-file-directly): Do not use
9066         `tramp-handle-file-remote-p'.
9067         (tramp-do-copy-or-rename-file-out-of-band):
9068         Use `tramp-compat-delete-directory'.
9069         (tramp-do-copy-or-rename-file-out-of-band)
9070         (tramp-compute-multi-hops, tramp-maybe-open-connection):
9071         Use `format-spec-make'.
9072         (tramp-find-foreign-file-name-handler)
9073         (tramp-advice-make-auto-save-file-name)
9074         (tramp-set-auto-save-file-modes): Remove superfluous check for
9075         `stringp'.  This is done inside `tramp-tramp-file-p'.
9076         (tramp-debug-outline-regexp): New defconst.
9077         (tramp-get-debug-buffer): Use it.
9078         (tramp-check-for-regexp): Use (forward-line 1).
9079         (tramp-set-auto-save-file-modes): Adapt version check.
9081         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9082         Wrap call of `featurep' for 2nd argument.
9083         (tramp-compat-make-temp-file): Simplify fallback implementation.
9084         (tramp-compat-copy-tree): Remove function.
9085         (tramp-compat-delete-directory): Provide implementation for older
9086         Emacsen.
9088         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9089         Do not use `tramp-fish-handle-file-attributes.
9091         * net/trampver.el: Update release number.
9093 2010-04-10  Glenn Morris  <rgm@gnu.org>
9095         * progmodes/compile.el (compilation-save-buffers-predicate):
9096         Add missing :version tag.
9098 2010-04-09  Sam Steingold  <sds@gnu.org>
9100         * progmodes/compile.el (compilation-save-buffers-predicate):
9101         Remove the "autoload" cookie.
9103         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9104         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9105         and `bug-reference-prog-mode' can be used in hooks directly.
9107 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
9109         Add --author support to git commit.
9110         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9111         (vc-git-log-edit-mode): New minor mode.
9112         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9113         New declarations.
9115 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
9117         * vc-hooks.el, vc-git.el: Improve documentation comments.
9119 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9121         Fix some of the problems in defsubst* (bug#5728).
9122         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9123         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9125 2010-04-07  Sam Steingold  <sds@gnu.org>
9127         * progmodes/compile.el (compilation-save-buffers-predicate):
9128         New custom variable.
9129         (compile, recompile): Pass it to `save-some-buffers'.
9131 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
9133         * wid-edit.el (widget-choose): Move cursor to the second line of
9134         the buffer (Bug#5695).
9136 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
9138         Add new VC methods: vc-log-incoming and vc-log-outgoing.
9139         * vc.el (vc-print-log-setup-buttons): New function split out from
9140         vc-print-log-internal.
9141         (vc-log-internal-common): New function, a parametrized version of
9142         vc-print-log-internal.
9143         (vc-print-log-internal): Just call vc-log-internal-common with the
9144         right arguments.
9145         (vc-incoming-outgoing-internal):
9146         (vc-log-incoming, vc-log-outgoing): New functions.
9147         (vc-log-view-type): New permanent local variable.
9149         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9151         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9152         of the dynamic bound vc-short-log.
9153         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9155         * vc-git.el (vc-git-log-outgoing): New function.
9156         (vc-git-log-view-mode): Use vc-log-view-type instead
9157         of the dynamic bound vc-short-log.
9159         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9160         of the dynamic bound vc-short-log.  Highlight the tag.
9161         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9162         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9163         (vc-hg-incoming-mode): Remove.
9164         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9166 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
9168         Fix default-directory for vc-root-diff.
9169         * vc.el (vc-root-diff): Bind default-directory to the root
9170         directory for the diff command.
9172 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
9174         * progmodes/verilog-mode.el (verilog-forward-sexp):
9175         (verilog-calc-1): Support "disable fork" and "fork wait" multi
9176         word keywords, suggested by Steve Pearlmutter.
9177         (verilog-pretty-declarations): Support lineup of declarations in
9178         port lists.
9179         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9180         fix bug for /* / comments.
9181         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9182         Speed up and simplfy as this is never called with a bound.
9183         (verilog-pretty-declarations): Enhance to line up declarations
9184         inside a parameter list, suggested by Alan Morgan.
9185         (verilog-pretty-expr): Tune assignment regular expression match
9186         string for corner cases; also use markers instead of character
9187         number as indent changes the later.
9189 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
9191         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9192         as missing keyword.
9193         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9194         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
9195         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9196         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
9197         Tennant.
9198         (verilog-keywords):
9199         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9200         1800-2009 keywords, including "global.".
9202 2010-04-06  John Wiegley  <jwiegley@gmail.com>
9204         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9205         appearing in buffer list (if a live buffer name matched a recentf
9206         file basename).  Should use uniquify to offer a real solution.
9208 2010-04-06  John Wiegley  <jwiegley@gmail.com>
9210         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9211         comment to code, and add a :version tag.
9212         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9214 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
9216         Enable recentf-mode if using virtual buffers.
9217         * ido.el (recentf-list): Declare for byte-compiler.
9218         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
9219         (ido-make-buffer-list): Simplify.
9220         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
9222 2010-04-05  Juri Linkov  <juri@jurta.org>
9224         Scrolling commands which scroll a line instead of full screen.
9225         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9227         * simple.el (scroll-up-line, scroll-down-line): New commands.
9228         Put property isearch-scroll=t on them.
9230         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9231         Remove commands.
9233 2010-04-05  Juri Linkov  <juri@jurta.org>
9235         Scrolling commands which do not signal errors at top/bottom.
9236         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9238         * simple.el (scroll-up-command, scroll-down-command): New commands.
9239         Put property isearch-scroll=t on them.
9241         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9242         `scroll-down-command' and [next] from `scroll-up' to
9243         `scroll-up-command'.
9245         * emulation/cua-base.el: Put property CUA=move on
9246         `scroll-up-command' and `scroll-down-command'.
9247         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9248         and `scroll-down-command' to `cua-scroll-down'.
9250 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
9252         * help.el (describe-mode): Return nil.
9254 2010-04-04  John Wiegley  <jwiegley@gmail.com>
9256         * ido.el (ido-use-virtual-buffers): New variable to indicate
9257         whether "virtual buffer" support is enabled for IDO.
9258         (ido-virtual): Face used to indicate virtual buffers in the list.
9259         (ido-buffer-internal): If a buffer is chosen, and no such buffer
9260         exists, but a virtual buffer of that name does (which would be why
9261         it was in the list), recreate the buffer by reopening the file.
9262         (ido-make-buffer-list): If virtual buffers are being used, call
9263         `ido-add-virtual-buffers-to-list' before the make list hook.
9264         (ido-virtual-buffers): New variable which contains a copy of the
9265         current contents of the `recentf-list', albeit pared down for the
9266         sake of speed, and with proper faces applied.
9267         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9268         create a list of "virtual buffers" to present to the user in
9269         addition to the currently open set.  Note that this logic could
9270         get rather slow if that list is too large.  With the default
9271         `recentf-max-saved-items' of 200, there is little speed penalty.
9273 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9275         * font-lock.el: Require CL when compiling.
9276         (font-lock-turn-on-thing-lock): Use `case'.
9278 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
9280         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9281         Zaretskii.
9283 2010-04-02  Juri Linkov  <juri@jurta.org>
9285         * ehelp.el (electric-help-orig-major-mode):
9286         New buffer-local variable.
9287         (electric-help-mode): Set it to original major-mode.  Doc fix.
9288         (with-electric-help): Use `electric-help-orig-major-mode' instead
9289         of (default-value 'major-mode).  Doc fix.
9290         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9292 2010-04-02  Sam Steingold  <sds@gnu.org>
9294         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9295         `vc-hg-command' with a list of flags.
9297         * progmodes/bug-reference.el (bug-reference-bug-regexp):
9298         Also accept "patch" and "RFE".
9299         (bug-reference-fontify): `bug-reference-url-format' can also be a
9300         function to be able to handle the bug kind.
9301         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9303 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
9305         * tmm.el (tmm-get-keymap): Check with symbolp before passing
9306         value to fboundp, it may not be a symbol.
9308 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9310         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9312 2010-03-31  Juri Linkov  <juri@jurta.org>
9314         * simple.el (next-line, previous-line): Re-throw a signal
9315         with `signal' instead of using `ding'.
9316         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9318 2010-03-31  Juri Linkov  <juri@jurta.org>
9320         * simple.el (keyboard-escape-quit): Raise deselecting the active
9321         region higher than exiting the minibuffer.
9322         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9324 2010-03-31  Juri Linkov  <juri@jurta.org>
9326         * image.el (image-animated-p): Use `image-metadata' instead of
9327         `image-extension-data'.  Get GIF extenstion data from metadata
9328         property `extension-data'.
9330 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9332         * simple.el (append-to-buffer): Simplify.
9334 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
9336         * textmodes/artist.el (artist-mode): Fix typo in docstring.
9337         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
9339 2010-03-31  Kenichi Handa  <handa@m17n.org>
9341         * language/sinhala.el (composition-function-table): Fix regexp for
9342         the new Unicode specification.
9344         * language/indian.el (devanagari-composable-pattern)
9345         (tamil-composable-pattern, kannada-composable-pattern)
9346         (malayalam-composable-pattern): Adjust for the new Unicode
9347         specification.
9348         (bengali-composable-pattern, gurmukhi-composable-pattern)
9349         (gujarati-composable-pattern, oriya-composable-pattern)
9350         (telugu-composable-pattern): New variables to cope with the new
9351         Unicode specification.  Use them in composition-function-table.
9353 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9355         Make tmm-menubar work for the Buffers menu again (bug#5726).
9356         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9357         vectors rather than cons cells, as used in menu-bar-update-buffers.
9359 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9361         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9362         (js-insert-and-indent): Revert 2009-08-15 change, restoring
9363         electric punctuation for "{}();,:" (Bug#5586).
9365         * mail/sendmail.el (mail-default-directory): Doc fix.
9367 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9369         * mail/sendmail.el (mail-default-directory): Doc fix.
9371 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
9373         * subr.el (version-regexp-alist, version-to-list)
9374         (version-list-<, version-list-=, version-list-<=)
9375         (version-list-not-zero, version<, version<=, version=): Doc fix.
9376         (Bug#5744).
9378 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
9380         * vc.el (vc-root-diff): Doc fix.
9382 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9384         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9386         * simple.el (append-to-buffer): Fix last change.
9388 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9390         * simple.el (append-to-buffer): Ensure that point is preserved if
9391         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
9392         (Bug#5749)
9394 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9396         * files.el (auto-mode-case-fold): Change default to t.
9398 2010-03-30  Juri Linkov  <juri@jurta.org>
9400         * dired-x.el (dired-omit-mode): Doc fix.
9402 2010-03-30  Juri Linkov  <juri@jurta.org>
9404         * replace.el (occur-accumulate-lines): Move occur-engine related
9405         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9406         to be located after `occur-engine'.
9408 2010-03-30  Juri Linkov  <juri@jurta.org>
9410         Make occur handle multi-line matches cleanly with context.
9411         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9413         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9414         (occur-engine): Add local variables `ret', `prev-after-lines',
9415         `prev-lines'.  Use more arguments for `occur-context-lines'.
9416         Set first elem of its returned list to `data', and the second elem
9417         to `prev-after-lines'.  Don't print the separator line.
9418         In the end, print remaining context after-lines.
9419         (occur-context-lines): Add new arguments `begpt', `endpt',
9420         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
9421         after-lines of the previous match with before-lines of the
9422         current match and not overlap them.  Return a list with two
9423         values: the output line and the list of context after-lines.
9425 2010-03-30  Juri Linkov  <juri@jurta.org>
9427         * replace.el (occur-accumulate-lines): Fix a bug where the first
9428         context line at the beginning of the buffer was missing.
9430 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
9432         * files.el: Make bidi-display-reordering safe variable for boolean
9433         values.
9435 2010-03-29  Phil Hagelberg  <phil@evri.com>
9436             Chong Yidong  <cyd@stupidchicken.com>
9438         * subr.el: Extend progress reporters to perform "spinning".
9439         (progress-reporter-update, progress-reporter-do-update):
9440         Handle non-numeric value arguments.
9441         (progress-reporter--pulse-characters): New var.
9443 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
9445         * progmodes/compile.el (compilation-start): Fix regexp detection
9446         of initial cd command (Bug#5771).
9448 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
9450         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9452 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
9454         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9455         * progmodes/gdb-mi.el: Restore.
9456         * progmodes/gdb-ui.el: Remove.
9457         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9459 2010-03-25  Glenn Morris  <rgm@gnu.org>
9461         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9462         all dired buffers, even tramp ones.  (Bug#5755)
9464 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9466         Add "union tags" in mpc.el.
9467         * mpc.el: Remove backward compatibility code.
9468         (mpc-browser-tags): Change default.
9469         (mpc--find-memoize-union-tags): New var.
9470         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9471         (mpc-cmd-find): Handle the case where the playlist does not exist.
9472         Handle union-tags.
9473         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
9474         (mpc-cmd-add): Use mpc-cmd-flush.
9475         (mpc-tagbrowser-tag-name): New fun.
9476         (mpc-tagbrowser-buf): Use it.
9477         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
9479 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9481         Misc cleanup.
9482         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9483         Use replace-regexp-in-string.
9484         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9485         (makefile-imake-mode-syntax-table): Move init into defvar.
9486         (makefile-mode): Use define-derived-mode.
9488         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9489         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9490         not be present any more.
9492 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9494         * faces.el (set-face-attribute): Fix typo in docstring.
9495         (face-valid-attribute-values): Reflow docstring.
9497 2010-03-24  Glenn Morris  <rgm@gnu.org>
9499         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9501 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9503         * indent.el (indent-for-tab-command): Doc fix.
9505 2010-03-24  Alan Mackenzie  <acm@muc.de>
9507         * progmodes/cc-engine.el (c-remove-stale-state-cache):
9508         Fix off-by-one error.  Fixes bug #5747.
9510 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9512         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9513         (image-dired-read-comment): Doc fix.
9515         * json.el (json-object-type, json-array-type, json-key-type)
9516         (json-false, json-null, json-read-number):
9517         * minibuffer.el (completion-in-region-functions):
9518         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9519         (cal-tex-cursor-week):
9520         * emacs-lisp/trace.el (trace-function):
9521         * eshell/em-basic.el (eshell/printnl):
9522         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9523         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9524         * obsolete/levents.el (allocate-event, event-key, event-object)
9525         (event-point, event-process, event-timestamp, event-to-character)
9526         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9527         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9528         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9529         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9530         (reftex-highlight-selection): Fix typos in docstrings.
9532 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9534         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9536 2010-03-24  Glenn Morris  <rgm@gnu.org>
9538         * mail/rmail.el (rmail-highlight-face): Restore option deleted
9539         2008-02-13 without comment; mark it obsolete.
9540         (rmail-highlight-headers): Use rmail-highlight-face once more.
9542 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9544         * woman.el (woman2-process-escapes): Only consume the newline if
9545         the filler character is on a line by itself (Bug#5729).
9547 2010-03-24  Kenichi Handa  <handa@m17n.org>
9549         * language/indian.el (devanagari-composable-pattern): Add more
9550         consonants.
9552 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9554         * net/trampver.el: Update release number.
9556 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9558         * net/tramp.el (tramp-find-executable):
9559         Use `tramp-get-connection-buffer'.  Make the regexp for checking
9560         output of "wc -l" more robust.
9561         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9562         (tramp-open-connection-setup-interactive-shell): Remove workaround
9563         for OpenSolaris bug, it is not needed anymore.
9565 2010-03-24  Glenn Morris  <rgm@gnu.org>
9567         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
9569 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
9571         * files.el (auto-mode-alist): Accept more verilog file patterns.
9573 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9575         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9577 2010-03-24  Glenn Morris  <rgm@gnu.org>
9579         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9580         log-edit-before-checkin-process.
9582         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9584         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9586         * vc-dispatcher.el (vc-start-logentry): Doc fix.
9587         (log-view-process-buffer, log-edit-extra-flags): Declare.
9589         * log-edit.el (log-edit-before-checkin-process): Doc fix.
9591 2010-03-23  Sam Steingold  <sds@gnu.org>
9593         Fix bug#5620: recalculate all markers on compilation buffer
9594         modifications, not on file modifications.
9595         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9596         the buffer modification time, for buffers not associated with files.
9597         (compilation-mode): Create it.
9598         (compilation-filter): Update it.
9599         (compilation-next-error-function): Use it instead of
9600         `visited-file-modtime' for timestamp.
9602 2010-03-23  Juri Linkov  <juri@jurta.org>
9604         Implement Occur multi-line matches.
9605         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9607         * replace.el (occur): Doc fix.
9608         (occur-engine): Set `begpt' to the beginning of the first line.
9609         Set `endpt' to the end of the last match line.  At first, count
9610         line numbers between `origpt' and `begpt'.  Split out code from
9611         `out-line' variable to new let-bindings `match-prefix' and
9612         `match-str'.  In `out-line' add non-numeric prefix to all
9613         non-first lines of multi-line matches.  Finally, count lines
9614         between `begpt' and `endpt' and add to `lines'.
9616 2010-03-23  Juri Linkov  <juri@jurta.org>
9618         * replace.el (occur-accumulate-lines, occur-engine):
9619         Use `occur-engine-line' instead of duplicate code.
9620         (occur-engine-line): New function created from duplicate code
9621         in `occur-accumulate-lines' and `occur-engine'.
9623         * replace.el (occur-engine-line): Add optional arg `keep-props'.
9624         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9626 2010-03-23  Juri Linkov  <juri@jurta.org>
9628         * finder.el: Remove TODO tasks.
9630         * info.el (Info-finder-find-node): Add node "all"
9631         with all package info.  Handle a list of multiple keywords
9632         separated by comma.
9633         (info-finder): In interactive use with a prefix argument,
9634         use `completing-read-multiple' to read a list of keywords
9635         separated by comma.
9637 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9639         Add a new completion style `substring'.
9640         * minibuffer.el (completion-basic--pattern): New function.
9641         (completion-basic-try-completion, completion-basic-all-completions):
9642         Use it.
9643         (completion-substring--all-completions)
9644         (completion-substring-try-completion)
9645         (completion-substring-all-completions): New functions.
9646         (completion-styles-alist): New style `substring'.
9648 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9650         Get rid of .elc files after removal of the corresponding .el.
9651         * Makefile.in (compile-clean): New target.
9652         (compile-main): Use it.
9654 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
9656         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9657         don't do make there.  When compiling with separate object dir, there
9658         is no Makefile there.
9660 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9662         Get rid of the ELCFILES abomination, again.
9663         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9664         (all, compile): Don't call compile-last.
9665         (compile-main): Build the "elcfiles" list dynamically.
9666         (compile-targets): New (internal) target.
9668 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
9670         * Makefile.in (top_srcdir): Define.
9671         (abs_top_builddir): Define.
9672         (srcdir): Don't append `/..'.
9673         (EMACS): Use ${abs_top_builddir}.
9674         (all, compile, compile-always, compile-last): Don't set emacswd.
9675         (update-subdirs, update-authors): Use $(top_srcdir) instead of
9676         $(srcdir).
9677         (lisp): Use $(srcdir) instead of @srcdir@.
9679 2010-03-21  Juri Linkov  <juri@jurta.org>
9681         Fix message of multi-line occur regexps and multi-buffer header lines.
9682         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9684         * replace.el (occur-1): Don't display regexp if it is longer
9685         than window-width.  Use `query-replace-descr' to display regexp.
9686         (occur-engine): Don't display regexp in the buffer header for
9687         multi-buffer occur.  Display a separate header line with total
9688         match count and regexp for multi-buffer occur.
9689         Use `query-replace-descr' to display regexp.
9691 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
9693         * net/secrets.el: Fix parenthesis.
9694         (secrets-enabled): Fix parenthesis.
9696 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9698         Use more relative file and directory names.
9699         * Makefile.in (EMACS): Arrange for it to work when we chdir.
9700         (setwins, setwins_almost, setwins_for_subdirs):
9701         Don't `cd'; output relative names.
9702         (all, compile, compile-always, compile-last): Set emacswd.
9703         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9704         Just cd to the lisp source dir so we can use relative file names.
9706         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9708 2010-03-20  Glenn Morris  <rgm@gnu.org>
9710         * textmodes/rst.el: Use faces for font-lock customization, and make the
9711         old -face variables obsolete.
9712         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9713         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9714         (rst-block-face, rst-external-face, rst-definition-face)
9715         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9716         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9717         Make obsolete.
9718         (rst-font-lock-keywords-function): Update for above changes.
9720 2010-03-20  Juri Linkov  <juri@jurta.org>
9722         * s-region.el:
9723         * obsolete/s-region.el: Move to obsolete.
9725 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
9727         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9729 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9731         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9733 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9735         Add special markup processing for commit logs.
9736         * log-edit.el (log-edit-extra-flags): New variable.
9737         (log-edit): Add new argument MODE.  Use that mode when non-nil
9738         instead of the log-view-mode.
9739         (log-view-process-buffer): New function.
9741         * vc.el: Document that the checkin method takes optional
9742         arguments.  Document new backend specific method: log-view-mode.
9743         (vc-default-log-edit-mode): New function.
9744         (vc-checkin): Use a backend specific log-view-mode.
9745         Pass extra arguments to the checkin method.
9746         (vc-modify-change-comment): Pass a dummy extra argument.
9748         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9749         log-edit.
9750         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9751         (vc-finish-logentry): Process the log buffer before passing it
9752         down.  Pass log-edit-extra-flags.
9754         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9755         command.
9756         (log-edit-extra-flags, log-edit-before-checkin-process):
9757         New declarations.
9759         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9760         command.
9761         (log-edit-extra-flags, log-edit-before-checkin-process):
9762         New declarations.
9763         (vc-hg-log-edit-mode): New derived mode.
9765         * vc-arch.el (vc-arch-checkin):
9766         * vc-cvs.el (vc-cvs-checkin):
9767         * vc-git.el (vc-git-checkin):
9768         * vc-mtn.el (vc-mtn-checkin):
9769         * vc-rcs.el (vc-rcs-checkin):
9770         * vc-sccs.el (vc-sccs-checkin):
9771         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9773 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9775         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9776         parent typo).
9778 2010-03-19  Glenn Morris  <rgm@gnu.org>
9780         * password-cache.el (password-cache, password-cache-expiry): Autoload.
9782 2010-03-18  Glenn Morris  <rgm@gnu.org>
9784         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9786         * replace.el (query-replace-history): Give it a doc string.
9787         (map-query-replace-regexp): Use query-replace-from-history-variable
9788         and query-replace-to-history-variable.
9790         * mail/hashcash.el (declare-function): Remove duplicate definition.
9792         * mail/emacsbug.el (report-emacs-bug-pretest-address):
9793         Make it an obsolete alias for report-emacs-bug-address.
9794         (message-strip-special-text-properties): Declare.
9795         (report-emacs-bug): Remove test for a pretest bug address.
9796         Combine message-mode-specific code.
9798         * mail/supercite.el: Don't require sendmail.
9799         (mh-in-header-p): Declare rather than using with-no-warnings.
9800         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9801         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
9803         * calendar/cal-french.el: Convert to utf-8.
9805         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9806         Emacs scripts.
9808 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
9810         * net/secrets.el (secrets-enabled): New variable.  Use it instead
9811         of a subfeature.
9813 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
9815         * net/secrets.el (top): Register the D-Bus signals only when the
9816         service "org.freedesktop.secrets" can be pinged.
9817         Provide subfeature `enabled'.
9819 2010-03-14  Juri Linkov  <juri@jurta.org>
9821         Add finder unknown keywords.
9823         * finder.el (finder-unknown-keywords): New function.
9825         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9826         to create a Finder node with unknown keywords.
9828 2010-03-14  Juri Linkov  <juri@jurta.org>
9830         * finder.el (finder-compile-keywords): Replace `princ' with
9831         `prin1' on a list of symbols interned from keyword strings.
9833         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9834         a comma, then split keywords using a comma and optional whitespace.
9835         Otherwise, split by whitespace.
9837         * complete.el:
9838         * face-remap.el:
9839         * log-view.el:
9840         * net/hmac-def.el:
9841         * net/hmac-md5.el:
9842         * net/netrc.el:
9843         * progmodes/mixal-mode.el: Fix keywords.
9845 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
9847         * Makefile.in (ELCFILES): Add net/secrets.elc.
9849         * net/secrets.el: New file.
9851 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9853         * facemenu.el (list-colors-display, list-colors-print): New arg
9854         callback.  Use it to allow selecting colors.
9856         * wid-edit.el (widget-image-insert): Insert image prop even if the
9857         current display is non-graphic.
9858         (widget-field-value-set): New fun.
9859         (editable-field): Use it.
9860         (widget-field-value-get): Clean up unused var.
9861         (widget-color-value-create, widget-color--choose-action):
9862         New funs.  Allow using list-colors-display to choose color.
9864 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9866         * cus-edit.el: Resort topmost custom groups.
9867         (custom-buffer-sort-alphabetically): Default to t.
9868         (customize-apropos): Use apropos-parse-pattern.
9869         (custom-search-field): New var.
9870         (custom-buffer-create-internal): Add custom-apropos search field.
9871         (custom-add-parent-links): Don't display parent doc.
9872         (custom-group-value-create): Don't sort top-level custom group.
9873         (custom-magic-value-create): Show visibility button before option name.
9875         (custom-variable-state): New fun, from custom-variable-state-set.
9876         (custom-variable-state-set): Use it.
9877         (custom-group-value-create): Hide options with standard values
9878         using the :hidden-states property.  Use progress reporter.
9880         (custom-show): Simplify.
9881         (custom-visibility): Disable images by default.
9882         (custom-variable): New property :hidden-states.
9883         (custom-variable-value-create): Enable images for
9884         custom-visibility widgets.  Use :hidden-states property to
9885         determine initial visibility.
9887         * wid-edit.el (widget-image-find): Give images center ascent.
9888         (visibility): Add :on-image and :off-image properties.
9889         (widget-visibility-value-create): Use them.
9891 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9893         * cus-edit.el (processes): Remove from development group.
9894         (oop, hypermedia): Delete group.
9895         (comm): Promote to top-level group.
9897         * net/browse-url.el (browse-url):
9898         * net/xesam.el (xesam):
9899         * net/tramp.el (tramp):
9900         * net/goto-addr.el (goto-address):
9901         * net/ange-ftp.el (ange-ftp): Put in comm group.
9903         * view.el (view): Remove from editing group.
9905         * uniquify.el (uniquify): Put in files group.
9907         * net/browse-url.el (browse-url):
9908         * ps-print.el (postscript): Put in external group.
9910         * cus-edit.el (outlines):
9911         * textmodes/text-mode.el (text-mode-hook):
9912         * textmodes/table.el (table):
9913         * textmodes/picture.el (picture):
9914         * outline.el (outlines): Put in wp group.
9916         * nxml/nxml-mode.el (nxml): Remove from wp group.
9918         * net/tramp-imap.el (tramp-imap): Put in tramp group.
9920         * mail/metamail.el (metamail): Remove from hypermedia group.
9922         * cus-edit.el (abbrev):
9923         * whitespace.el (whitespace):
9924         * vcursor.el (vcursor):
9925         * reveal.el (reveal):
9926         * hl-line.el (hl-line): Put in convenience group.
9928         * epg-config.el (epg): Put in data group.
9930         * emulation/pc-select.el (pc-select): Put in emulations group.
9932         * calculator.el (calculator): Put in applications group.
9934 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9936         Add .dir-locals.el support for file-less buffers.
9937         * files.el (hack-local-variables): Split out code to apply local
9938         variable settings ...
9939         (hack-local-variables-apply): ... here.  New function.
9940         (hack-dir-local-variables): Use the default directory for when the
9941         buffer does not have an associated file.
9942         (hack-dir-local-variables-non-file-buffer): New function.
9943         * diff-mode.el (diff-mode):
9944         * vc-annotate.el (vc-annotate-mode):
9945         * vc-dir.el (vc-dir-mode):
9946         * log-edit.el (log-edit-mode):
9947         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9949 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9951         Add support for shelving snapshots and for showing shelves.
9952         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9953         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9954         New functions.
9955         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9956         (vc-bzr-extra-menu-map): Map them.
9958 2010-03-11  Glenn Morris  <rgm@gnu.org>
9960         * cus-edit.el (customize-changed-options-previous-release):
9961         Bump to 23.1.
9963         * image.el (image-animate-max-time): Fix :version tag.
9965 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
9967         * Branch for 23.2.
9969 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9971         * vc-git.el (vc-git-revision-table): Include remote branches.
9973 2010-03-10  Kim F. Storm  <storm@cua.dk>
9975         Animated image API.
9976         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9978         * image.el (image-animate-max-time): New defcustom.
9979         (image-animated-types): New defconst.
9980         (create-animated-image, image-animate-timer)
9981         (image-animate-start, image-animate-stop, image-animate-timeout)
9982         (image-animated-p): New functions.
9984         * image-mode.el (image-toggle-display-image):
9985         Replace `create-image' with `create-animated-image'.
9987 2010-03-09  Miles Bader  <miles@gnu.org>
9989         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9990         instead of "format:"; this ensures that the output is
9991         newline-terminated.
9993 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
9995         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9996         that all errors are caught, and that the return value is always a
9997         list (Bug#5692).
9999 2010-03-08  Kenichi Handa  <handa@m17n.org>
10001         * language/misc-lang.el (windows-1256): New coding system.
10002         (cp1256): New alias of windows-1256 (bug#5690).
10004 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
10006         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10007         call to rfc822-bad-address.  (Bug#5692)
10009 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10011         * vc-git.el (vc-git-annotate-extract-revision-at-line):
10012         Use vc-git-root as default directory for revision path (Bug#5657).
10014 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
10016         * calculator.el (calculator): Don't bind split-window-keep-point
10017         (Bug#5674).
10019 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10021         * vc-git.el: Re-flow to fit into 80 columns.
10022         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10023         Remove spurious `quote' element in each case alternative.
10024         (vc-git-show-log-entry): Use prog1.
10025         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10027 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10029         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10031 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
10033         * macros.el (insert-kbd-macro): Look up keyboard macro using the
10034         definition, not the name (Bug#5481).
10036 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10038         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10039         argument with a local variable.  (Bug#5670)
10041 2010-03-02  Juri Linkov  <juri@jurta.org>
10043         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
10045 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
10047         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10048         error when FILENAME and NEWNAME are existing remote directories.
10050         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10051         parameter DIR-FLAG.
10053 2010-03-02  Glenn Morris  <rgm@gnu.org>
10055         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10056         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10058 2010-03-01  Kenichi Handa  <handa@m17n.org>
10060         * language/burmese.el (burmese-composable-pattern): Rename from
10061         myanmar-composable-pattern.
10063         * international/characters.el (script-list):
10064         * international/fontset.el (script-representative-chars):
10065         Change myanmar to burmese.
10066         (otf-script-alist): Likewise.
10067         (setup-default-fontset): Likewise.  Re-fix :otf spec.
10069 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
10071         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10073 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
10075         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10077 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
10079         * net/tramp.el (tramp-handle-write-region): START can be a string.
10080         Take care in the checks.  Reported by Dan Davison
10081         <davison@stats.ox.ac.uk>.
10083 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
10085         * net/dbus.el (dbus-introspect, dbus-get-property)
10086         (dbus-set-property, dbus-get-all-properties):
10087         Use `dbus-call-method' when noninteractive.  (Bug#5645)
10089 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
10091         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10092         * emacs-lisp/elint.el (elint-add-required-env):
10093         * calendar/icalendar.el (icalendar--add-diary-entry):
10094         * calc/calcalg2.el (math-tracing-integral):
10095         * files.el (recover-session-finish): Use with-current-buffer
10096         instead of save-excursion.
10098 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10100         Fix in-buffer completion when after-change-functions modify the buffer.
10101         * minibuffer.el (completion--replace): New function.
10102         (completion--do-completion): Use it and use relative movement.
10104 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
10106         * international/fontset.el (setup-default-fontset): Fix :otf spec.
10108 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
10110         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10111         Allow the characters _<> in the stack entry (Bug#5653).
10113 2010-02-26  Kenichi Handa  <handa@m17n.org>
10115         * language/burmese.el: Fix entries in composition-function-table.
10116         (myanmar-composable-pattern): New variable.
10118         * international/fontset.el (setup-default-fontset): Add an entry
10119         for myanmar.
10121         * international/characters.el (script-list): Add Myanmar
10122         Extended-A.
10124 2010-02-26  Glenn Morris  <rgm@gnu.org>
10126         * custom.el (custom-initialize-delay): Doc fix.
10128         * mail/sendmail.el (send-mail-function): Autoload the call
10129         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10131 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
10133         * files.el (hack-local-variables-filter): For eval forms, also
10134         check safe-local-variable-p (Bug#5636).
10136 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
10138         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10139         setting the modes by `ignore-errors'.  It might fail, for example
10140         if the file is not owned by the user but the group.
10141         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10143 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
10145         * files.el (directory-listing-before-filename-regexp):
10146         Use stricter matching for iso-style dates, to avoid false matches with
10147         date-like filenames (Bug#5597).
10149         * htmlfontify.el (htmlfontify): Doc fix.
10151         * eshell/eshell.el (eshell): Doc fix.
10153         * startup.el (fancy-about-screen): In mode-line, apply
10154         mode-line-buffer-id face only to the buffer name (Bug#5613).
10156 2010-02-20  Kevin Ryde  <user42@zip.com.au>
10158         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10159         In `watcom' anchor regexp to start of line, to avoid slowness
10160         (Bug#5599).
10162 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
10164         * subr.el (remove-yank-excluded-properties): Explain in a comment
10165         why `category' property is removed.
10167 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
10169         * isearch.el (isearch-update-post-hook, isearch-update):
10170         Revert 2010-02-17 change.
10172 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
10174         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10175         (icalendar--convert-weekly-to-ical)
10176         (icalendar--convert-yearly-to-ical)
10177         (icalendar--convert-block-to-ical)
10178         (icalendar--convert-cyclic-to-ical)
10179         (icalendar--convert-anniversary-to-ical): Take care of time
10180         specifications where hour has 1-digit only (Bug#5549).
10182 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
10184         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10185         of disassemble output in GDB 7.1.
10187 2010-02-19  Glenn Morris  <rgm@gnu.org>
10189         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10190         property.  (Bug#5593)
10192 2010-02-18  Sam Steingold  <sds@gnu.org>
10194         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10196 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10198         Use abbreviated file names in bookmarks (bug#5591).
10199         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10200         calls to expand-file-name.
10201         (bookmark-relocate): Use abbreviated file names in bookmarks.
10202         (bookmark-load): Use abbreviated file names in messages.
10204 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
10206         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10207         expand "." and "..".  Reported by Thierry Volpiatto
10208         <thierry.volpiatto@gmail.com>.
10210 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
10212         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10213         permissions of the temporary file to "0600".  In case the remote
10214         file has no read permissions for the owner, there might be
10215         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
10217 22010-02-18  Glenn Morris  <rgm@gnu.org>
10219         * emacs-lisp/authors.el (authors-renamed-files-alist):
10220         Add entries for INSTALL.CVS.
10222 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
10224         * vc-bzr.el: Fix typo in Known Bugs section.
10226         * isearch.el (isearch-update-post-hook): New hook.
10227         (isearch-update): Use the new hook.
10229 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
10231         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10232         Fix errors in copying directories.
10233         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10234         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10235         (tramp-handle-delete-file)
10236         (tramp-handle-dired-recursive-delete-directory)
10237         (tramp-handle-write-region): Flush also the cache for the upper
10238         directory.
10240 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
10242         * simple.el (save-interprogram-paste-before-kill): Doc fix.
10244         * cus-edit.el (hardware): Doc fix.
10246         * man.el (man): Add to external custom group.
10248         * delim-col.el (columns): Move to wp custom group.
10250         * doc-view.el (doc-view): Add to data custom group.
10252         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10254         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10255         by ispell-parse-output (Bug#5575).
10257 2010-02-16  Kenichi Handa  <handa@m17n.org>
10259         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10260         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10261         (skkdic-convert): Use `euc-japan' coding system for writing.
10263 2010-02-16  Glenn Morris  <rgm@gnu.org>
10265         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10266         tex-main-file before using it.  (Bug#5562)
10268 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10270         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10271         warnings, since it is annoying for the user to see them each time he
10272         runs the code.
10274 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
10276         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10277         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10278         instead of PROC for caching "first-password-request".  Otherwise,
10279         new processes would not profit from passwords already entered.
10281         * net/tramp-cache.el (tramp-dump-connection-properties):
10282         Don't save "first-password-request" property.
10284 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
10286         * outline.el (outline-head-from-level):
10287         * simple.el (with-wrapper-hook):
10288         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10289         (elint-defun, elint-buffer-env, elint-top-form-logged)
10290         (elint-unbound-variable):
10291         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10292         Fix typos in docstrings.
10294 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
10296         * files.el (insert-directory): When WILDCARD-REGEXP and
10297         FULL-DIRECTORY-P are nil, insert the file entry instead of the
10298         whole directory.  (Bug#5551)
10300         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
10301         dired's alignment sanity.  (Bug#5516)
10303 2010-02-14  Juri Linkov  <juri@jurta.org>
10305         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10306         Remove remaining ^H with their preceding chars.  (Bug#5566)
10308 2010-02-13  Glenn Morris  <rgm@gnu.org>
10310         * simple.el (transpose-subr): Give it a doc-string.
10312         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10313         Doc fixes.
10315 2010-02-12  Juri Linkov  <juri@jurta.org>
10317         * arc-mode.el (archive-unique-fname): Make directories for nested
10318         archives.  (Bug#5540)
10320 2010-02-12  Juri Linkov  <juri@jurta.org>
10322         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
10324 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10326         * subr.el (copy-overlay): Handle deleted overlays.
10328         * man.el (Man-completion-table): Don't signal an error if we can't run
10329         manual-program (bug#4056).
10331 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
10333         * textmodes/artist.el (artist-mt): Fix typos in docstring.
10335 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10337         * info.el (Info-bookmark-jump): Simplify.
10339         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10340         (bookmark-default-handler): Accept new bookmark field `buffer'.
10342 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
10344         * iswitchb.el (iswitchb-completions): Revert last change.
10346 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
10348         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10349         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10350         This prevents file names like "~/" being listed literally.
10352 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
10354         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10355         Remove dead code.  (Bug#5546)
10357 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
10359         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10360         correctly (Bug#5548).
10362 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
10364         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10365         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10367 2010-02-08  Kenichi Handa  <handa@m17n.org>
10369         * international/mule-util.el (with-coding-priority): Add autoload
10370         cookie for putting `lisp-indent-function'.
10372 2010-02-07  Glenn Morris  <rgm@gnu.org>
10374         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10375         Move F2003 named interfaces from keywords-2 to keywords-1, and
10376         use function-name-face rather than constant-face.
10377         Simplify "abstract interface" regexp.
10379 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
10381         * eshell/esh-util.el (eshell-file-attributes): New optional arg
10382         ID-FORMAT.  Pass it to `file-attributes'.
10384         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10386 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
10388         * faces.el (set-face-attribute): Allow calling
10389         internal-set-lisp-face-attribute with 'unspecified family and
10390         foundry argument (Bug#5536).
10392 2010-02-07  Glenn Morris  <rgm@gnu.org>
10394         * progmodes/f90.el (f90-font-lock-keywords-2)
10395         (f90-looking-at-type-like, f90-looking-at-program-block-end):
10396         Handle F2003 named interfaces.
10398 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
10400         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10401         beg and end before calling c-get-state-before-change-functions.
10403 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
10405         * vc-bzr.el (vc-bzr-dir-extra-headers):
10406         Disable the pending merges header.
10408 2010-02-05  Juri Linkov  <juri@jurta.org>
10410         * doc-view.el (doc-view-mode):
10411         * image-mode.el (image-mode): Put property mode-class=special.
10412         (Bug#4896)
10414 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
10416         * vc-svn.el (vc-svn-revision-table): New function.
10418 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
10420         * net/ange-ftp.el (ange-ftp-insert-directory):
10421         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10422         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10423         Handle also directories.  (Bug#5478)
10425 2010-02-05  Glenn Morris  <rgm@gnu.org>
10427         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10429 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
10431         * startup.el (command-line-1): Convert options beginning with a
10432         single dash as well (Bug#5519).
10434 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10436         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10437         * minibuffer.el (completion-initials-expand): Only check the presence
10438         of delims *within* the boundaries, since otherwise the / delim is
10439         always found for files.
10441         Fix up various corner case problems.
10442         * doc-view.el (doc-view-last-page-number): New function.
10443         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10444         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10445         (doc-view-kill-proc): Avoid inf-loop in freak cases.
10446         (doc-view-reconvert-doc): Use the new recursive delete-directory.
10447         (doc-view-convert-current-doc): Don't create the resolution.el file
10448         here any more.
10449         (doc-view-pdf/ps->png): Do it here instead.
10450         (doc-view-already-converted-p): Check that resolution.el is present.
10451         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10452         windows that are not yet showing images.
10454 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
10456         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10457         `dired-uncache' for every elemnt which is an absolute file name.
10459         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10460         directory, handle its directory component.
10461         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10462         function is called permanently and creates noise, otherwise.
10464         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10465         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10466         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
10468 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
10470         * macros.el (apply-macro-to-region-lines):
10471         Minor simplification.  (Bug#5485)
10473 2010-02-04  Glenn Morris  <rgm@gnu.org>
10475         * mail/rmail.el (rmail-show-message-1): Handle malformed
10476         quoted-printable text.  (Bug#5441)
10478         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10480         * simple.el (visual-line-mode): Capitalize lighter.
10482 2010-02-03  John Wiegley  <jwiegley@gmail.com>
10484         * iswitchb.el (iswitchb-completions): Add bookmark files to the
10485         list of files considered for "virtual buffer" completions.
10487 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
10489         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10490         also in case of (and (not full) (not wildcard)).  This is needed
10491         when dired is called with a list of files, which are not in
10492         `default-directory'.  (Bug#5478)
10494 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10496         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10498 2010-02-02  Juri Linkov  <juri@jurta.org>
10500         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10501         from unidiff to allow function-line after @@.
10503 2010-02-02  Juri Linkov  <juri@jurta.org>
10505         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10506         '(RCS SCCS) with inverted condition.
10508 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
10510         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10511         messages.
10513 2010-02-01  Juri Linkov  <juri@jurta.org>
10515         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10516         compare with "pkunzip" and "pkzip" instead of only "pkzip".
10517         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10518         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
10520 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10522         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10523         (doc-view-revert-buffer): New command.
10524         (doc-view-mode-map): Use it.
10526 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
10528         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10529         pending merge is detected.
10531 2010-01-31  Juri Linkov  <juri@jurta.org>
10533         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10534         beginning of interactive spec like all other grep commands do.
10535         Put "all" in front of "gz".  (Bug#5260)
10537 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
10539         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10541 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
10543         * dirtrack.el (dirtrack): Warn instead of signalling error if the
10544         regexp is incorrect (Bug#5476).
10546 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
10548         * net/tramp.el (tramp-handle-insert-directory): Handle also
10549         symlinks, when FILENAME is not in `default-directory'.
10551 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10553         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10554         FILE is not in `default-directory'.  (Bug#5478)
10556         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10557         of SWITCHES.  Handle the case, FILENAME is not in
10558         `default-directory'.  (Bug#5478)
10559         (tramp-register-file-name-handlers): Add safe-magic property.
10561 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
10563         * arc-mode.el (archive-zip-extract): Quote the argument passed to
10564         unzip (Bug#5475).
10566 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
10568         * progmodes/flymake.el (flymake-allowed-file-name-masks)
10569         (flymake-master-make-header-init): Add other C++ filename masks.
10570         (flymake-find-possible-master-files)
10571         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10573 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10575         Fix some busybox annoyances.
10577         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10578         not responding." string.
10579         (tramp-open-connection-setup-interactive-shell): Dump stty
10580         settings.  Enable "neveropen" arg for all `tramp-send-command'
10581         calls.  Handle "=" in variable values properly.
10582         (tramp-find-inline-encoding): Raise an error, when no encoding is
10583         found.
10584         (tramp-wait-for-output): Check, whether PROC buffer is available.
10585         Remove spurious " ^H" sequences, sent by busybox.
10586         (tramp-get-ls-command): Suppress coloring, if possible.
10588 2010-01-28  Glenn Morris  <rgm@gnu.org>
10590         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
10592         * log-edit.el (log-edit-strip-single-file-name): Add missing
10593         :safe, :group, and :version tags.
10595 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
10597         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10598         buffers.  (Bug#5477)
10600 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
10602         * files.el (delete-directory): Handle moving to trash without
10603         first doing recursion (Bug#5436).
10605 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
10607         * vc-hooks.el (vc-path): Mark as obsolete.
10609 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
10611         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10612         names too.
10614         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10615         for the short log.
10616         (vc-bzr-log-view-mode): Adjust regexp for the above change.
10618 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
10620         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10622         * vc-bzr.el (vc-bzr-revision-table): New function.
10624 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
10626         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10627         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
10629 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
10631         Remove support for adding --signoff on commit.
10632         Future support will use an incompatible generic mechanism.
10633         * vc-git.el (vc-git-add-signoff): Remove variable.
10634         (vc-git-toggle-signoff): Remove function.
10635         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10637         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10638         Rename from xterm-set-background-mode.  Return t if the background mode
10639         was set.
10640         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10641         earlier, call it again in case the background mode has changed.
10643 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
10645         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10646         (Bug#3541).
10648 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
10650         * emacs-lisp/assoc.el (aelement): Doc fix.
10651         (aput, adelete, amake): Use lexical-let (Bug#5450).
10653 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
10655         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10656         is the same as subprogram call, not declaration.  (Bug#5435).
10658 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
10660         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10661         (tramp-smb-maybe-open-connection): Use it.
10663 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
10665         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
10667 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10669         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10670         just because we see "encoding: 8bit".
10671         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10673 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
10675         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10677 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
10679         * jka-compr.el (jka-compr-load): If load-file is not in
10680         load-history, try its file-truename version.  (bug#5447)
10682 2010-01-21  Alan Mackenzie  <acm@muc.de>
10684         Fix a situation where deletion of a cpp construct throws an error.
10685         * progmodes/cc-engine.el (c-invalidate-state-cache):
10686         Before invoking c-with-all-but-one-cpps-commented-out, check that the
10687         special cpp construct is still in the buffer.
10688         (c-parse-state): Record the special cpp with markers, not numbers.
10690 2010-01-21  Kenichi Handa  <handa@m17n.org>
10692         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10693         process last-command-event, as it is now decoded first (Bug#5380).
10695 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
10697         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10699 2010-01-20  Glenn Morris  <rgm@gnu.org>
10701         * indent.el (tab-always-indent): Fix custom-type.
10703 2010-01-19  Alan Mackenzie  <acm@muc.de>
10705         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10706         buffer throws "args out of range".
10707         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10708         playing the role of delimiter.
10710 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
10712         * progmodes/ada-mode.el: Fix bug#5400.
10713         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10714         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10715         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
10716         Improve comments in "is" portion.  Handle null procedure declaration.
10717         (ada-move-to-end): Improve doc string.
10719 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
10721         * ido.el (ido-cur-list): Initialize to nil.
10722         Remove obsolete information from commentary.
10723         (ido-choice-list): Initialize to nil.
10724         (ido-get-bufname): Reject minibuffers.
10725         (ido-make-buffer-list): If "default" is a nonexistent
10726         buffer, ignore it, as per the function's comment.
10727         (ido-kill-buffer-internal): New function.
10728         (ido-kill-buffer-at-head): Use it.
10729         (ido-visit-buffer): Likewise.
10731 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
10733         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10735 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
10737         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10738         Fix typos in chart titles.
10740         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10741         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10742         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10743         (describe-class, eieio-describe-generic, describe-generic):
10744         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10745         (eieio-speedbar-expand):
10746         * emulation/viper-cmd.el (viper-exec-form-in-vi)
10747         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10748         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10749         (viper-del-backward-char-in-replace, viper-backward-indent)
10750         (viper-brac-function, viper-register-to-point, viper-submit-report):
10751         * net/tramp.el (tramp-remote-coding-commands):
10752         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10753         Fix typos in docstrings.
10755 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
10757         * mail/sendmail.el (mail-yank-original): Set the mark if the
10758         specified function for yanking does not do it.
10760 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
10762         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
10764         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10765         resyncing a directory.
10767 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
10769         * progmodes/ada-mode.el: Fix bug#1920.
10770         (ada-ident-re): Delete ., allow multibyte characters.
10771         (ada-goto-label-re): New; matches goto labels.
10772         (ada-block-label-re): New; matches block labels.
10773         (ada-label-re): New; matches both.
10774         (ada-named-block-re): Deleted; callers changed to use
10775         `ada-block-label-re' instead.
10776         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10777         Use `ada-block-label-re'.
10778         (ada-indent-on-previous-lines): Improve handling of goto labels.
10779         (ada-get-indent-block-start): Special-case block label.
10780         (ada-get-indent-label): Split into `ada-indent-block-label' and
10781         `ada-indent-goto-label'.
10782         (ada-goto-stmt-start, ada-goto-next-non-ws):
10783         Optionally ignore goto labels.
10784         (ada-goto-next-word): Simplify.
10785         (ada-indent-newline-indent-conditional): Insert newline before
10786         trying to fix indentation; doc fix.
10788 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
10790         * calc/calc.el (calc-command-flags): Give it an initial value.
10792 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
10794         * files.el (minibuffer-with-setup-hook):
10795         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10796         (artist-key-draw-continously, artist-key-do-continously-continously)
10797         (artist-key-set-point-continously, artist-mouse-draw-continously):
10798         Fix typos in docstrings.
10800 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
10802         * nxml/nxml-mode.el (nxml-extend-after-change-region):
10803         Never return t (Bug#3898).
10805 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
10807         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10808         can parse the output of the external commands (Bug#5279).
10810 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
10812         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10814 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
10816         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10818         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10820         * startup.el (command-line): Remove unused --icon-type arg.
10821         Handle --display arg, passing it to command-line-1 (Bug#5392).
10823 2010-01-16  Mario Lang  <mlang@delysid.org>
10825         * emacs-lisp/chart.el (chart-translate-namezone):
10826         * textmodes/artist.el (artist-compute-popup-menu-table):
10827         Remove duplicated words in doc-strings.
10829 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
10831         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10832         to mairix-search to suppress threading (Bug#5342).
10834 2010-01-15  Kenichi Handa  <handa@m17n.org>
10836         * international/mule-cmds.el (canonicalize-coding-system-name):
10837         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10839 2010-01-15  Glenn Morris  <rgm@gnu.org>
10841         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
10843         * wid-edit.el (widget-keymap): Doc fix.
10845         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10846         former seems to be more widely accepted by various svn versions.
10848 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10850         * find-cmd.el (find-constituents):
10851         * vc-arch.el (vc-arch-root):
10852         * window.el (window-body-height, pop-up-frames):
10853         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10854         * progmodes/ada-stmt.el (ada-if):
10855         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10856         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10857         (ispell-encoding8-command, ispell-aspell-supports-utf8)
10858         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10860         * progmodes/flymake.el (flymake-post-syntax-check):
10861         Fix typo in error message.
10863 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10865         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10866         which is always a string.  (Bug#5313)
10868 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10870         * progmodes/ada-xref.el (ada-default-prj-properties):
10871         Simplify previous change.
10873 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10875         * progmodes/ada-xref.el (ada-default-prj-properties):
10876         Default ada_project_path to $ADA_PROJECT_PATH.
10878 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10880         * progmodes/ada-mode.el (ada-create-keymap):
10881         Override `narrow-to-defun' with `ada-narrow-to-defun'.
10883 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10885         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10886         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10887         (ada-get-current-indent, ada-imenu-generic-expression)
10888         (ada-which-function): Check for it.
10890 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10892         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10893         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10895 2010-01-14  Glenn Morris  <rgm@gnu.org>
10897         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
10899 2010-01-14  Kenichi Handa  <handa@m17n.org>
10901         * composite.el (auto-composition-mode): Make it a buffer local
10902         variable (permanent-local).
10903         (auto-composition-function): Set the default value to
10904         auto-compose-chars.
10905         (auto-composition-mode): Make it a simple function, not a minor mode.
10906         (global-auto-composition-mode): Likewise.
10907         (turn-on-auto-composition-if-enabled): Delete it.
10909 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
10911         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10913 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
10915         * files.el (copy-directory): Compute target for recursive
10916         directories with identical names.  (Bug#5343)
10918 2010-01-12  Glenn Morris  <rgm@gnu.org>
10920         * mail/emacsbug.el (report-emacs-bug-pretest-address):
10921         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10923 2010-01-11  Sam Steingold  <sds@gnu.org>
10925         * imenu.el (imenu-default-create-index-function): Detect infinite
10926         loops caused by imenu-prev-index-position-function.
10928 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10930         * htmlfontify.el (htmlfontify-load-rgb-file)
10931         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10932         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10933         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10934         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10935         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10936         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10937         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10938         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10939         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10940         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10941         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10942         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10943         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10944         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10945         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10946         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10947         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10948         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10949         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10950         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10951         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10952         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10953         backslash-quoting from parentheses, etc.
10955 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
10957         * progmodes/js.el: Autoload javascript-mode alias.
10959 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10961         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10962         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10963         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10964         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10965         Fix typos in docstrings.
10966         (ffap-url-regexp): Doc fix.
10967         (ffap-at-mouse): Fix typo in message.
10969 2010-01-11  Glenn Morris  <rgm@gnu.org>
10971         * version.el (emacs-copyright): Set copyright year to 2010.
10973 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10975         * format.el (format-annotate-function): Only set
10976         write-region-post-annotation-function after running to-fn so as not to
10977         affect nested write-region calls (bug#5273).
10979 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
10981         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10982         wisent/python.el.
10984 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10986         * man.el (Man-goto-section): Signal error if the section is not
10987         found (Bug#5317).
10989 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
10991         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10992         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
10994 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10996         * progmodes/compile.el: Don't treat compile-command as safe if
10997         compilation-read-command might be nil (Bug#4218).
10999 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
11001         * startup.el (command-line-1): Use orig-argi to check for ignored X and
11002         NS options.
11004 2010-01-08  Kenichi Handa  <handa@m17n.org>
11006         * international/fontset.el (build-default-fontset-data):
11007         Exclude characters in scripts kana, hangul, han, or cjk-misc.
11009 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
11011         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11012         to `create-file-buffer' as it expects, not just a buffer name.
11013         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11014         to help uniquify.  (Bug#3224)
11016 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
11018         * font-setting.el (font-setting-change-default-font): Use user-spec
11019         instead of name.
11021 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
11023         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11025 2010-01-05  Tom Tromey  <tromey@redhat.com>
11027         * progmodes/python.el (python-font-lock-keywords):
11028         Handle qualified decorators (Bug#881).
11030 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
11032         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11033         in a lightweight checkout.
11035 2010-01-05  Kenichi Handa  <handa@m17n.org>
11037         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11039 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
11041         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11043 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
11045         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11046         checkouts.  (Bug#618)
11047         (vc-bzr-log-view-mode): Also highlight the author.
11048         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11049         (vc-bzr-shelve-menu-map):
11050         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11051         (vc-bzr-shelve-apply): Make prompt more explicit.
11053 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
11055         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11056         They are valid characters in URL paths (rfc3986), and at least
11057         Firefox does not understand the encoded version (Bug#3166).
11059 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
11061         * progmodes/octave-mod.el (octave-end-keywords)
11062         (octave-block-begin-or-end-regexp, octave-block-match-alist):
11063         Add "end" keyword (Bug#3061).
11064         (octave-end-as-array-index-p): New function.
11065         (calculate-octave-indent): Use it.
11067 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11069         * bookmark.el: Consistently put the text property on the bookmark name.
11070         (bookmark-bmenu-marks-width): Bump back to 2, to include
11071         annotation marks.
11072         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11073         property on the bookmark name, instead of not putting it at all.
11074         (bookmark-bmenu-list): Fix where we put the text property.
11076 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11078         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11079         for showing buffer modified state (as added in the previous change).
11081 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11083         * bookmark.el: Show modified state of bookmark buffer more accurately.
11084         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11085         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11086         (with-buffer-modified-unmodified): New macro.
11087         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11088         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11089         Use new macro to preserve the buffer modified state.
11091 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11093         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11094         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11095         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11096         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11097         (bookmark-bmenu-rename, bookmark-bmenu-locate)
11098         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11099         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11101 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
11103         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11104         Make the lines in the generated doc string shorter.  (Bug#4668)
11106 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
11108         * net/rcirc.el: Add follow-link binding (Bug#4738).
11110 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
11112         * Makefile.in (bzr-update): Rename from cvs-update.
11113         (cvs-update): New target for backward compatibility.
11115         * makefile.w32-in (bzr-update): Rename from cvs-update.
11116         (cvs-update): New target for backward compatibility.
11118 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11120         * bookmark.el: Remove gratuitous gratitude.
11122 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11124         * bookmark.el (bookmark-bmenu-any-marks): New function.
11125         (bookmark-bmenu-save): Clear buffer modification if no marks.
11127 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11129         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11130         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11131         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11132         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11134         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11135         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11136         To: emacs-devel {_AT_} gnu.org
11137         Subject: bookmark.el bug report
11138         Date: Mon, 28 Dec 2009 14:19:16 +0800
11139         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11141 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11143         * bookmark.el: Improvements suggested by Drew Adams:
11144         (bookmark-bmenu-ensure-position): New name for
11145         `bookmark-bmenu-check-position'.  Just ensure the position,
11146         don't return any meaningful value.
11147         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11148         New constants.
11150 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
11152         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11153         (bookmark-yank-point, bookmark-bmenu-check-position):
11154         Fix typos in docstrings.
11155         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11156         (bookmark-name-from-full-record, bookmark-get-position)
11157         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11158         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11159         Remove useless quoting of parenthesis, etc. in docstrings.
11161         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11162         (ediff-append-custom-diff): Fix typo in error message.
11163         (ediff-meta-mark-equal-files): Fix typos in messages.
11165         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11167         * net/imap-hash.el (imap-hash-make): Doc fix.
11168         (imap-hash-test): Fix typo in error message; reflow docstring.
11169         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11170         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11171         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11172         Fix typos in docstrings.
11173         (imap-hash-open-connection): Fix typo in error message.
11175         * play/gomoku.el (gomoku): Fix typos in docstring.
11177         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11178         (gdb-jsonify-buffer): Fix typos in docstring.
11179         (gdb-goto-breakpoint): Fix typo in error message.
11180         ("Display Other Windows"): Fix typo in help message.
11181         (gdb-speedbar-expand-node): Fix typo in question.
11183         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11184         (idlwave-html-system-help-location, idlwave-html-help-location)
11185         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11186         (idlwave-help-browser-generic-args, idlwave-help-directory)
11187         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11188         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11189         (idlwave-online-help, idlwave-help-html-link)
11190         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11191         Fix typos in docstrings.
11192         (idlwave-help-with-source, idlwave-help-find-routine-definition):
11193         Reflow docstrings.
11194         (idlwave-help-assistant-start): Fix typo in error message.
11196         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11197         (octave-electric-space): Fix typos in docstrings.
11199 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
11201         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11203 2010-01-01  Juri Linkov  <juri@jurta.org>
11205         * comint.el (comint-input-ring-size): Make it a defcustom and
11206         increase the default to 500 (Bug#5148).
11208 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
11210         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11211         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11212         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11214 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
11216         Show working revision correctly for mercurial.
11217         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11218         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11220 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
11222         Declare some functions for the byte-compiler.
11223         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11224         (speedbar-timer-fn, speedbar-change-expand-button-char)
11225         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11227 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
11229         This changeset reverts GDB Graphical Interface to use annotations.
11230         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11232 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
11234         Make vc-dir work on subdirectories of the bzr root.
11235         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11236         Return file names relative to it.
11237         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11238         relative directory to vc-bzr-after-dir-status.
11240 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
11242         * font-lock.el (font-lock-refresh-defaults): New function, which
11243         can be used to let font-lock react to external changes in
11244         variables like font-lock-defaults and keywords.
11245         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11247 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
11249         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11251         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11253 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
11255         Supersede color.diff settings in git log (bug#5211).
11257         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11258         escape chars in its output when the user has color.diff set to `always'.
11259         This fix works on git 1.4.2 and newer (released on 2006-08-13).
11261 2009-12-26  Kevin Ryde  <user42@zip.com.au>
11263         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11264         node.  Keep previous "Index" name to work with past coreutils too.
11266         * man.el (man): Revise docstring a bit to show -a and -l as
11267         examples.  Add -k description since support for it has otherwise
11268         been a secret.  (Further to bug#3717.)
11269         (Man-bgproc-sentinel): When "-k foo" produces no output show error
11270         "no matches" rather than "Can't find manpage", as the latter reads
11271         like -k was interpreted as a page name, which is not so.  (Bug#5431)
11273 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
11275         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11276         switches.  Check also for //SUBDIRED// line.
11278 2009-12-25  Kenichi Handa  <handa@m17n.org>
11280         * language/indian.el (devanagari-composable-pattern): Fix to
11281         handle ZWNJ and ZWJ.  Use it in composition-function-table for
11282         Devanagari.
11283         (malayalam-composable-pattern): Fix previous change.
11285 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11287         * ps-print.el (ps-face-attributes): It was not returning the
11288         attribute face for faces specified as string.  Reported by harven
11289         <harven@free.fr>.  (Bug#5254)
11290         (ps-print-version): New version 7.3.5.
11292 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
11294         * calendar/icalendar.el (icalendar--convert-tz-offset):
11295         Fix timezone names.
11296         (icalendar--convert-tz-offset): Fix the "last-day-problem".
11297         (icalendar--add-diary-entry): Remove the trailing blank that
11298         diary-make-entry inserts.
11300 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
11302         Make `file-expand-wildcards' work for remote files.
11304         * files.el (file-expand-wildcards): In case of remote files, check
11305         only local file name part for wildcards.  Provide feature 'files
11306         and subfeature 'remote-wildcards.  (Bug#5198)
11308         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11309         if there is already an established connection.
11310         (tramp-advice-file-expand-wildcards): Remove it.
11312         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11313         (tramp-advice-file-expand-wildcards): Move from tramp.el.
11314         Activate advice for older GNU Emacs versions.  (Bug#5237)
11316 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
11318         Some doc fixes (more needed).
11320         * find-cmd.el (find-constituents): Reflow docstring.
11321         (find-cmd, find-prune, find-command): Fix typos in docstrings.
11322         (find-generic): Doc fix.
11324 2009-12-17  Juri Linkov  <juri@jurta.org>
11326         Fix regression from 23.1 to allow multiple modes in Local Variables.
11328         * files.el (hack-local-variables-filter): While ignoring duplicates,
11329         don't take `mode' into account.
11330         (hack-local-variables-filter, hack-dir-local-variables):
11331         Don't remove duplicate `mode' from local-variables-alist (like `eval').
11333 2009-12-17  Juri Linkov  <juri@jurta.org>
11335         Make `dired-diff' safer.  (Bug#5225)
11337         * dired-aux.el (dired-diff): Signal an error when `file' equals to
11338         `current' or when `file' is a directory of the `current' file.
11340 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
11342         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11343         unconditionally preloaded files.
11345 2009-12-16  Juri Linkov  <juri@jurta.org>
11347         Revert to old 23.1 logic of using the file at the mark as default.
11348         * dired-aux.el (dired-diff): Use the file at the mark as default
11349         if it's not the same as the current file, and the target dir is
11350         the current dir or the mark is active.  Add the current file
11351         as the arg of `dired-dwim-target-defaults'.  Use the default file
11352         in the prompt.  (Bug#5225)
11354 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
11356         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11357         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11358         (tramp-check-for-regexp): Check also, when an echoing shell stops
11359         to echo sent commands.
11361 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11363         * Makefile.in: Revert last change (Bug#5191).
11365 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
11367         * vc-hg.el (vc-hg-print-log): Fix argument order.
11368         (vc-hg-working-revision): Make sure the command is executed in a
11369         known environment so that we can parse the output.  (Bug#4417)
11371 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11373         * progmodes/python.el (python-symbol-completions): Remove text
11374         properties from symbol string before calling python-send-receive.
11376 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
11378         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11379         when there are values for both file and line.  (Bug#5060)
11381 2009-12-14  Juri Linkov  <juri@jurta.org>
11383         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11384         whitespace after the file name of the first line of unified format,
11385         because git-diff doesn't output whitespace and file modification time
11386         after the file name.
11388 2009-12-14  David Kastrup  <dak@gnu.org>
11390         * info.el (Info-hide-cookies-node): Before hiding a cookie,
11391         check if it already has the `display' property added by
11392         `Info-display-images-node', and not put the `invisible' property
11393         in this case.
11395 2009-12-13  Glenn Morris  <rgm@gnu.org>
11397         * mail/emacsbug.el (message-sort-headers): Define for compiler.
11398         (report-emacs-bug): In message-mode, sort manually before storing
11399         original report text.  (Bug#5178)
11400         Remove superfluous save-excursion.
11402 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
11404         * net/dbus.el (dbus-property-handler): Filter lambda forms out
11405         when responding to "GetAll" properties.
11407 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
11409         * simple.el (compose-mail): Remove mail-setup-with-from from
11410         customization checks.
11412 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
11414         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11415         RAR archives created on Unix systems.
11417 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11419         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11420         the varalias that was accidentally removed by the 2009-11-19 change
11421         (bug#5186).
11423 2009-12-12  Kenichi Handa  <handa@m17n.org>
11425         * language/indian.el (indian-compose-regexp): New function.
11426         (malayalam-composable-pattern): Fix the pattern.
11427         (composition-function-table): Set malayalam-composable-pattern for
11428         Malayalam characters.
11430 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
11432         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11433         rather than down-mouse-1, based on follow-link conventions.
11435         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11436         are compiled.
11438 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
11440         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11441         (verilog-vmm-statement-re, verilog-ovm-statement-re)
11442         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11443         (verilog-leap-to-head, verilog-backward-token):
11444         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
11446 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
11448         * progmodes/verilog-mode.el (verilog-auto-lineup)
11449         (verilog-nameable-item-re): Cleanup user-visible spelling and
11450         documentation errors.  One reported by Gary Delp.
11451         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11452         (verilog-read-decls): Fix AUTOWIRE with types declared in a
11453         package, bug195.  Reported by Pierre-David Pfister.
11455 2009-12-11  Glenn Morris  <rgm@gnu.org>
11457         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11459         * mail/emacsbug.el: No longer require sendmail.
11460         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
11461         (report-emacs-bug-orig-text): Doc fix.
11462         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11463         New local variables, to adapt to different mail-user-agents.
11464         (report-emacs-bug): Fix test for a gnu.org address.
11465         Use overlays for emphasis, since font-lock defeats 'face property.
11466         Pretest bugs also end up at the newsgroup these days.
11467         Stop message-mode stripping text properties.
11468         Set and use the new buffer-local variables.
11469         (report-emacs-bug-hook): Add doc-string.
11470         Remove some unnecessary save-excursions and simplify.
11471         Use the appropriate hook and send-command.
11473         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11474         capitalization of some menu entries.
11476 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11478         * whitespace.el (whitespace-display-char-on):
11479         Ensure `buffer-display-table' is unique when two or more windows are
11480         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11481         New version 12.1.
11483 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
11485         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11486         characters in the Attribute field.
11488 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
11490         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
11492 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11494         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11495         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11496         Disregard autoload-excludes.
11497         (update-directory-autoloads): Obey autoload-excludes here instead.
11498         But don't store its contents in no-autoloads and remove entries that
11499         refer to excludes files.
11501 2009-12-10  Glenn Morris  <rgm@gnu.org>
11503         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11504         (expand-mail-aliases): Define for compiler.
11506         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11507         Define for compiler.
11509         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11510         appropriate for the mail-user-agent in use.
11512 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
11514         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11516 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
11518         Fix short log parsing and fontification.
11519         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11520         Fix fontification for the [merge] label.
11522 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
11524         Drop some properties to avoid surprises (bug#5002).
11525         * htmlfontify.el (hfy-ignored-properties): New defcustom.
11526         (hfy-fontify-buffer): Use it.
11528 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11530         Minor cleanup.
11531         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11532         Adjust all callers.
11533         (ffap-locate-file): Remove unused arg `dir-ok' and make other
11534         args compulsory.  Adjust callers.
11535         (ffap-gopher-at-point): Remove unused var `name'.
11537         Get rid of the ELCFILES abomination.
11538         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11539         (compile-elcfiles): New phony target.
11540         (compile-main): Compute ELCFILES dynamically.
11541         (compile-clean): New target to remove left-over elc files.
11542         (compile, all): Use it.
11544 2009-12-09  Kenichi Handa  <handa@etlken>
11546         * international/mule-diag.el: Require help-mode instead of help-fns.
11548 2009-12-09  Kenichi Handa  <handa@m17n.org>
11550         * international/mule-cmds.el (ucs-names): Supply sufficiently
11551         fine ranges instead of pre-calculating accurate ranges.
11552         Iterate with bigger gc-cons-threshold.
11554 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
11556         Add support for stashing a snapshot of the current tree.
11557         * vc-git.el (vc-git-stash-snapshot): New function.
11558         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11560 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
11562         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11563         instead of `(beginning|end)-of-line'.
11565 2009-12-08  Glenn Morris  <rgm@gnu.org>
11567         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11569         * Makefile.in (ELCFILES): Regenerate.
11571 2009-12-07  Juri Linkov  <juri@jurta.org>
11573         Don't lazy-highlight the comint output in history Isearch mode.
11575         * comint.el (comint-history-isearch-search): Instead of
11576         `comint-line-beginning-position', use `comint-after-pmark-p'
11577         to check if point if before the process mark, and go to
11578         `process-mark' in this case.
11580 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11582         * textmodes/tex-mode.el (latex-complete)
11583         (latex-indent-or-complete): Remove.
11584         (latex-mode): Set completion-at-point-functions instead.
11586         Provide a standard completion command and hook it into TAB.
11587         * minibuffer.el (completion-at-point-functions): New var.
11588         (completion-at-point): New command.
11589         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11590         * progmodes/python.el (python-mode-map): Use completion-at-point.
11591         (python-completion-at-point): Rename from python-partial-symbol and
11592         adjust for use in completion-at-point-functions.
11593         (python-mode): Setup completion-at-point for Python completion.
11594         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11595         extracted from lisp-complete-symbol.
11596         (lisp-complete-symbol): Use it.
11597         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11598         setup completion-at-point for Elisp completion.
11599         (emacs-lisp-mode-map, lisp-interaction-mode-map):
11600         Use completion-at-point.
11601         * ielm.el (ielm-map): Use completion-at-point.
11602         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11603         * progmodes/sym-comp.el: Move to...
11604         * obsolete/sym-comp.el: Move from progmodes.
11606 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
11608         Prevent save-buffer in Rmail buffers from using the coding-system
11609         of the current message, and from clobbering the encoding mnemonics
11610         in the mode line (Bug#4623).
11612         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11613         flag, too.
11614         (rmail-message-encoding): New variable.
11615         (rmail-write-region-annotate): Record the encoding of the current
11616         message in rmail-message-encoding.
11617         (rmail-after-save-hook): New function, restores the encoding of
11618         the current message after the message collection is saved.
11620 2009-12-07  Juri Linkov  <juri@jurta.org>
11622         * progmodes/grep.el (grep-read-files): Use `completing-read'
11623         instead of `read-string'.  Set its `collection' arg to
11624         `read-file-name-internal'.  (Bug#4301)
11626 2009-12-07  Juri Linkov  <juri@jurta.org>
11628         Correctly restore original Isearch point.  (Bug#4994)
11630         * isearch.el (isearch-mode): Move `isearch-push-state' after
11631         `(run-hooks 'isearch-mode-hook)'.
11632         (isearch-cancel): When `isearch-push-state-function' is defined,
11633         let-bind `isearch-cmds' to the first state (the last element of
11634         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11635         function and restores the original point).  Otherwise, move point
11636         to `isearch-opoint'.
11638 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11640         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11641         chars that don't have names, so the table can be built much faster at
11642         run-time.
11644 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
11646         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11647         change.  Suggested by David Kastrup.
11649         * simple.el (compose-mail): Check for incompatibilities and warn.
11650         (compose-mail-user-agent-warnings): New option.
11652 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11654         Support showing a single log entry from vc-annotate.
11655         * vc.el (print-log): Add a new argument: START-REVISION.
11656         (vc-print-log-internal): Add a new optional argument and
11657         pass it to the backend.
11658         (vc-print-log, vc-print-root-log): Adjust callers.
11659         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11660         buffer already displays the requested log entry, use it.
11661         Otherwise display only the log entry in question.
11662         * vc-svn.el (vc-svn-print-log):
11663         * vc-mtn.el (vc-mtn-print-log):
11664         * vc-hg.el (vc-hg-state):
11665         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11666         (vc-git-show-log-entry): Return t on success.
11667         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11668         (vc-bzr-show-log-entry): Return t on success.
11669         * vc-rcs.el (vc-rcs-print-log):
11670         * vc-sccs.el (vc-sccs-print-log):
11671         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11673 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11675         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11676         Add menus to the meta mode.  (Bug#5043)
11678 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
11680         * ediff-init.el (ediff-event-key): Use event-to-character instead of
11681         event-key.
11683         * ediff.el (ediff-buffers-internal): Add unwind-protect.
11685 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
11687         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
11688         Berbain <raphael.berbain@gmail.com>.
11690         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
11691         characters.
11692         (tramp-initial-end-of-output): New defconst.
11693         (tramp-methods, tramp-find-shell)
11694         (tramp-open-connection-setup-interactive-shell)
11695         (tramp-maybe-open-connection): Use it.
11696         (tramp-shell-prompt-pattern, tramp-wait-for-output):
11697         Handle existence of `#' and `$'.
11699         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11700         Use `tramp-initial-end-of-output'.
11702 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11704         Get the background mode from the terminal for xterm, and set
11705         faces accordingly.
11706         * term/xterm.el (xterm-set-background-mode): New function.
11707         (terminal-init-xterm): Use it in case xterm supports background
11708         color queries.  Recompute faces after getting the background
11709         color.
11711 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
11713         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11714         number comment back on its own line, for easier parsing.
11716 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11718         Make it work for non-file buffers (bug#5102).
11719         * doc-view.el (doc-view-current-cache-dir):
11720         Use doc-view-buffer-file-name rather than buffer-file-name.
11721         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11723 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
11725         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11726         author field is too short.
11728 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
11730         * vc-git.el (vc-git-print-log): Handle a limit argument.
11731         Display the short log in graph form and with labels.
11732         (vc-git-log-view-mode): Handle labels.
11734         Make vc-revert change VC state from 'added to 'unregistered.
11735         * vc-git.el (vc-git-revert): Call git reset first.
11737 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
11739         * net/newst-backend.el, net/newst-plainview.el:
11740         * net/newst-reader.el, net/newst-ticker.el:
11741         * net/newst-treeview.el, net/newsticker.el:
11742         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
11744 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11746         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11748         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11749         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
11750         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11751         Update annotation regexp.
11753         * simple.el (beginning-of-visual-line): Constrain to field
11754         boundaries (Bug#5106).
11756 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
11758         * xml.el (xml-substitute-numeric-entities):
11759         Move newsticker--decode-numeric-entities in newst-backend.el to
11760         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
11761         * net/newst-backend.el (newsticker--parse-generic-feed)
11762         (newsticker--parse-generic-items)
11763         (newsticker--decode-numeric-entities):
11764         Move newsticker--decode-numeric-entities in newst-backend.el to
11765         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
11767 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
11769         * progmodes/js.el (js--js-not): Add null to the list of values.
11771 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11773         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11775 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11777         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11778         delimiter if it is at the end of the current line.
11779         (bibtex-generate-url-list): Fix docstring.
11781 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11783         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11784         minibuffer's content with itself.
11785         Fold the confirm-after-completion case into the `confirm' case.
11786         (completion-pcm-word-delimiters): Add : and / to the delimiters.
11788 2009-12-06  Kevin Ryde  <user42@zip.com.au>
11790         * ffap.el (ffap-rfc-path): Make this a defcustom since
11791         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
11793         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11794         manuals, similar to existing setup for help-mode.  (Bug#3913.)
11796 2009-12-05  Juri Linkov  <juri@jurta.org>
11798         Save and restore dired buffer's point positions too.  (Bug#4880)
11800         * dired.el (dired-save-positions): Return in the first element
11801         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11802         Doc fix.
11803         (dired-restore-positions): First restore buffer's position.
11804         While restoring window's positions, check if window still displays
11805         the original buffer.
11807 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
11809         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11810         if possible.
11812         * shell.el (shell): Require ansi-color (Bug#5113).
11814         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11816         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11818 2009-12-05  Alan Mackenzie  <acm@muc.de>
11820         * progmodes/cc-mode.el (c-before-hack-hook)
11821         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11822         `c-file-style' to work again.  This reversion restores the current
11823         software to its state in Emacs 23.1.  (Bug#4146)
11825 2009-12-05  Kevin Ryde  <user42@zip.com.au>
11827         * textmodes/sgml-mode.el (sgml-lexical-context):
11828         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11830 2009-12-05  Juri Linkov  <juri@jurta.org>
11832         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11833         for virtual nodes.  (Bug#4147)
11834         (Info-find-node-2): Set `Info-current-node-virtual' to nil
11835         when moving from a virtual node.
11836         (Info-mode-menu): Add `Info-virtual-index' to the menu.
11837         (Info-mode): Add `Info-virtual-index' to the docstring.
11839 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11841         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11842         track of the buffer position of the end of a BibTeX entry as this
11843         position may change during reformatting.
11844         (bibtex-format-entry): Remove whitespace before processing
11845         numerical fields so that we recognize the latter properly.
11846         (bibtex-reformat): Do not use push which changes the global value
11847         of bibtex-entry-format.
11848         (bibtex-field-braces-alist, bibtex-field-strings-alist)
11849         (bibtex-field-re-init): Replace only space characters by regexp
11850         for whitespace.
11851         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11852         (bibtex-initialize): Also update bibtex-strings.
11853         (bibtex-kill-field): Preserve white space at end of entry.
11854         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11855         Update bibtex-reference-keys.
11857 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11859         * minibuffer.el (completion-pcm--merge-try): Also consider placing
11860         point after a star, if that's the only place where modifications can
11861         make progress.
11863 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
11865         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11866         in docstrings.
11868 2009-12-04  Juri Linkov  <juri@jurta.org>
11870         * proced.el (proced): Call `(proced-update t)' to update process
11871         information instead of only running proced-post-display-hook.
11872         (proced-send-signal): Add a leading space to the buffer name
11873         " *Marked Processes*" to make this buffer ephemeral.
11875 2009-12-04  Juri Linkov  <juri@jurta.org>
11877         * dired.el (dired-auto-revert-buffer): New defcustom.
11878         (dired-internal-noselect): Use it.
11880 2009-12-04  Juri Linkov  <juri@jurta.org>
11882         Change roles of modes and functions in image-mode.el (Bug#5062).
11884         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11885         in `auto-mode-alist'.
11886         (image-mode-previous-major-mode): New variable.
11887         (image-minor-mode-map): Rename from `image-mode-text-map'.
11888         (image-mode): Move graceful error-handling code from
11889         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
11890         (image-minor-mode): Remove all image-handling code.
11891         Replace `image-mode-text-map' with `image-minor-mode-map'.
11892         Check for `image-type' in mode-line format string.
11893         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11894         (image-mode-as-text): New function with most code from
11895         `image-mode-maybe'.
11896         (image-toggle-display-text): Move code that removes image
11897         properties from `image-toggle-display' to here.
11898         (image-toggle-display-image): New function with code that adds
11899         image properties copied from `image-toggle-display'.
11900         (image-toggle-display): Remove most code with leaving only code
11901         that toggles between `image-mode-as-text' and `image-mode'.
11903 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
11905         * net/newst-treeview.el
11906         (newsticker--treeview-list-highlight-start): Restored call to
11907         save-excursion: Selected item was stuck.
11908         (newsticker--treeview-list-select): New.
11909         (newsticker--treeview-item-show-text)
11910         (newsticker--treeview-item-show)
11911         (newsticker--treeview-item-update): Use new
11912         newsticker-treeview-item-mode.
11913         (newsticker-treeview-update): Keep current item.
11914         (newsticker-treeview-next-new-or-immortal-item): Doc change.
11915         (newsticker--treeview-first-feed): Doc change.
11916         (newsticker-treeview-list-menu)
11917         (newsticker-treeview-item-menu): Add menu entries.
11918         (newsticker-treeview-item-mode): New.
11920         * net/newst-backend.el (newsticker-customize): Delete other
11921         windows.
11923 2009-12-04  Sam Steingold  <sds@gnu.org>
11925         * log-view.el (log-view-mode-map): "q" calls quit-window,
11926         like in all the other non-self-insert buffers.
11928 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11930         Minor cleanup.
11931         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11932         key decoding rather than do it manually via last-input-event +
11933         ascii-character.
11934         (term-exec): Use delete-and-extract-region.
11935         (term-handle-ansi-terminal-messages): Remove unused var `end'.
11936         (term-process-pager): Remove unused var `i'.
11937         (term-dynamic-simple-complete): Make obsolete.
11938         (serial-update-config-menu): Remove unused vars `y' and `str'.
11939         (term-update-mode-line): Remove unused var `temp'.
11941 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11943         Limit the number of log entries displayed by default.
11944         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11945         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11946         using a prefix argument.
11948 2009-12-03  Glenn Morris  <rgm@gnu.org>
11950         * progmodes/idlwave.el (class): Restore still useful declaration.
11952 2009-12-03  Alan Mackenzie  <acm@muc.de>
11954         Enhance `c-parse-state' to run efficiently in "brace deserts".
11956         * progmodes/cc-mode.el (c-basic-common-init):
11957         Call c-state-cache-init.
11958         (c-neutralize-syntax-in-and-mark-CPP): Rename from
11959         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
11960         placing `category' properties value 'c-cpp-delimiter at its boundaries.
11962         * progmodes/cc-langs.el (c-before-font-lock-function):
11963         c-extend-and-neutralize-syntax-in-CPP has been renamed
11964         c-neutralize-syntax-in-and-mark-CPP.
11966         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11967         with `category' properties now, not `syntax-table' ones.
11969         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11970         enhanced (but slower) version of c-end-of-macro that won't land
11971         inside a literal or on another awkward character.
11972         (c-state-cache-too-far, c-state-cache-start)
11973         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11974         (c-state-nonlit-pos-cache-limit, c-state-point-min)
11975         (c-state-point-min-lit-type, c-state-point-min-lit-start)
11976         (c-state-min-scan-pos, c-state-brace-pair-desert)
11977         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11978         buffer local variables.
11979         (c-state-literal-at, c-state-lit-beg)
11980         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11981         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11982         (c-state-cache-top-paren, c-state-cache-after-top-paren)
11983         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11984         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11985         (c-renarrow-state-cache)
11986         (c-append-lower-brace-pair-to-state-cache)
11987         (c-state-push-any-brace-pair, c-append-to-state-cache)
11988         (c-remove-stale-state-cache)
11989         (c-remove-stale-state-cache-backwards, c-state-cache-init)
11990         (c-invalidate-state-cache-1, c-parse-state-1)
11991         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11992         (c-parse-state): Enhance and refactor.
11993         (c-debug-parse-state): Amend to deal with all the new variables.
11995         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11996         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11997         modify to use category text properties rather than syntax-table ones.
11998         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11999         to switch off/on the syntactic paren property of C++ template
12000         delimiters using the category property.
12001         (c-with-<->-as-parens-suppressed): Macro to invoke code with
12002         template delims suppressed.
12003         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12004         New constant/macros which apply category properties to the start
12005         and end of preprocessor constructs.
12006         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12007         "comment out" the syntactic value of characters in preprocessor
12008         constructs.
12009         (c-with-cpps-commented-out)
12010         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12011         with characters in all or all but one preprocessor constructs
12012         "commented out".
12014 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12016         * proced.el (proced-filter-alist): Use regexp-quote.
12018 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
12020         Cleanup.
12021         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12022         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
12023         arguments.  Expand `default-directory'.
12025         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12026         the benefit of returning an expanded localname.
12027         (tramp-tramp-file-p): Handle the case NAME is not a string.
12029 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12031         Add support for bzr shelve/unshelve.
12032         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12033         (vc-bzr-extra-menu-map): New variables.
12034         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12035         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12036         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12037         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12038         (vc-bzr-dir-extra-headers): Display shelves.
12040         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12042 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12044         * textmodes/bibtex.el (bibtex-complete-internal):
12045         Use completion-in-region.
12046         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12048 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12050         Support applying stashes.  Improve UI.
12051         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12052         (vc-git-stash-apply, vc-git-stash-pop)
12053         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12054         (vc-git-stash-menu): New functions.
12055         (vc-git-stash-menu-map): New variable.
12056         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12058 2009-12-03  Glenn Morris  <rgm@gnu.org>
12060         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12061         (vc-print-log-internal): Fix previous change.
12062         (vc-revert): Correct pluralization.
12064 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12066         * progmodes/make-mode.el (makefile-special-targets-list): No need for
12067         it to be an alist any more.
12068         (makefile-complete): Use completion-in-region.
12070         * progmodes/octave-mod.el (octave-complete-symbol):
12071         Use completion-in-region.
12073         Misc cleanup.
12074         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12075         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12076         (idlwave-complete-class): Don't quote lambda.
12077         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12078         (idlwave-mode-map): Move initialization into declaration.
12079         (idlwave-action-and-binding): Use backquotes.
12080         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12081         Simplify.
12082         (idlwave-is-pointer-dereference): Remove unused var `pos'.
12083         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12084         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12085         `parts', and `all-parts'.
12086         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12087         (idlwave-convert-xml-system-routine-info): Remove unused string
12088         `version-string'.
12089         (idlwave-display-user-catalog-widget): Use dolist.
12090         (idlwave-scanning-lib): Declare dynamically-scoped var.
12091         (idlwave-scan-library-catalogs): Remove unused var `flags'.
12092         (completion-highlight-first-word-only): Declare to silence bytecomp.
12093         (idlwave-popup-select): Tighten scope of `resp'.
12094         (idlwave-find-struct-tag): Remove unused var `beg'.
12095         (idlwave-after-load-rinfo-hook): Declare.
12096         (idlwave-sintern-class-info): Remove unused var `taglist'.
12097         (idlwave-find-class-definition): Remove unused var `list'.
12098         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12099         (idlwave-what-module-find-class): Remove unused var `classes'.
12101 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
12103         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12105 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12107         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12108         buffers visited.  Remove redundant current-buffer-saving.
12110 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12112         Use completion-in-buffer and remove uses of dynamic scoping.
12113         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12114         (pascal-buffer-to-use, pascal-flag): Don't declare.
12115         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12116         (pascal-get-completion-decl, pascal-keyword-completion):
12117         Add `pascal-str' argument, save-excursion,
12118         return the found completions, and don't filter with pascal-pred.
12119         (pascal-completion-cache): New var.
12120         (pascal-completion): Don't switch buffer any more (it was never
12121         necessary).  Don't save-excursion any more (it's done by the called
12122         subroutines).  Use a cache to avoid redundant computations.
12123         Use complete-with-action rather than pascal-completion-response and
12124         let it apply the predicate as well.
12125         (pascal-complete-word): Use completion-in-buffer when
12126         pascal-toggle-completions is nil.
12127         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12128         not used any more.
12129         (pascal-comp-defun): Don't change buffer any more.
12130         Use complete-with-action rather than pascal-completion-response and
12131         let it apply the predicate as well.
12132         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12133         when neded.
12135 2009-12-02  Kenichi Handa  <handa@m17n.org>
12137         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12138         shape for all Indic scripts.
12140 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12142         Use completion-in-buffer.
12143         * wid-edit.el (widget-field-text-end): New function.
12144         (widget-field-value-get): Use it.
12145         (widget-string-complete, widget-file-complete)
12146         (widget-color-complete): Use it and completion-in-region.
12147         (widget-complete): Don't narrow the buffer.
12149 2009-12-02  Glenn Morris  <rgm@gnu.org>
12151         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
12152         (rmail-select-summary): Use rmail-pop-to-buffer.
12153         * mail/rmailsum.el: Replace all pop-to-buffer calls with
12154         rmail-pop-to-buffer, to prevent horizontal splits.
12156         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12157         save-excursion with save-current-buffer.
12158         Widen before searching.  (Bug#5093)
12159         (diary-list-sexp-entries): Remove superfluous save-excursion.
12161 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
12163         * woman.el (woman-make-bufname): Handle man-pages with "." in the
12164         name.  (Bug#5038)
12166 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
12168         * ido.el (ido-file-internal): Handle filenames at point that do
12169         not have a directory part.  (Bug#5049)
12171 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
12173         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12174         (mpc-songs-jump-to, mpc-resume): Doc fixes.
12176 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
12178         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12179         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12180         any more.
12182 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12184         * comint.el (comint-insert-input): Ignore clicks to the right of
12185         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12187         * vc.el (vc-print-log-internal): Don't wait for the process to
12188         terminate before setting up the major mode.
12190         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12191         in case.
12193         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12194         the last element.
12196         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12198 2009-12-01  Glenn Morris  <rgm@gnu.org>
12200         * window.el (window--display-buffer-2): Fix previous changes.
12202 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
12204         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12206 2009-12-01  Glenn Morris  <rgm@gnu.org>
12208         * Makefile.in (ELCFILES): Add mpc.elc.
12210 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12212         * mpc.el: New file.
12214 2009-12-01  Glenn Morris  <rgm@gnu.org>
12216         * window.el (window-to-use): Define for compiler.
12218         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12219         consistent with others (no final period).
12221         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12222         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
12224 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
12226         Make vc-print-log buttons work.
12227         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12229 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
12231         * savehist.el (savehist-autosave-interval): Allow setting to nil
12232         through customize.  (Bug#5056)
12234 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
12236         Fix references to jit-lock properties.
12237         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12238         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12239         (perl-font-lock-special-syntactic-constructs):
12240         Quote jit-lock-defer-multiline property.
12242 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
12244         * vc-git.el (vc-git-registered): Call vc-git-root only once.
12246 2009-11-30  Juri Linkov  <juri@jurta.org>
12248         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12249         value `buffer' of `multi-isearch-next-buffer-current-function'.
12250         Use `(current-buffer)' when `buffer' is nil.
12251         (multi-isearch-next-buffer-from-list): Don't fallback to
12252         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
12254 2009-11-30  Juri Linkov  <juri@jurta.org>
12256         * misearch.el (multi-isearch-read-buffers): Move canonicalization
12257         of buffers with `get-buffer' to `multi-isearch-buffers'.
12258         (multi-isearch-buffers, multi-isearch-buffers-regexp):
12259         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
12260         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12261         FILES with `expand-file-name' converting relative file names
12262         to absolute.  Doc fix.  (Bug#4727)
12264 2009-11-30  Juri Linkov  <juri@jurta.org>
12266         * misearch.el (multi-isearch-read-buffers)
12267         (multi-isearch-read-matching-buffers): New functions.
12268         (multi-isearch-buffers, multi-isearch-buffers-regexp):
12269         Use them in the `interactive' spec.  Doc fix.
12270         (multi-isearch-read-files, multi-isearch-read-matching-files):
12271         New functions.
12272         (multi-isearch-files, multi-isearch-files-regexp):
12273         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
12275 2009-11-30  Juri Linkov  <juri@jurta.org>
12277         * doc-view.el (doc-view-continuous):
12278         Rename from `doc-view-continuous-mode'.
12279         (doc-view-menu): Move "Toggle display" to the top.
12280         Add submenu "Continuous" with radio buttons "Off"/"On"
12281         and "Save as Default".
12282         (doc-view-scroll-up-or-next-page)
12283         (doc-view-scroll-down-or-previous-page)
12284         (doc-view-next-line-or-next-page)
12285         (doc-view-previous-line-or-previous-page):
12286         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
12288 2009-11-30  Juri Linkov  <juri@jurta.org>
12290         * comint.el (comint-mode-map): Rebind `M-r' from
12291         `comint-previous-matching-input' to
12292         `comint-history-isearch-backward-regexp'.
12293         Unbind `M-s' to allow global key binding `M-s'.
12294         Add menu items for `comint-history-isearch-backward' and
12295         `comint-history-isearch-backward-regexp'.  (Bug#3746)
12297 2009-11-30  Juri Linkov  <juri@jurta.org>
12299         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12300         For def=recenter, replace `recenter' with `recenter-top-bottom'
12301         that is called with `this-command' and `last-command' let-bound
12302         to `recenter-top-bottom'.  When the last `def' was not `recenter',
12303         set `recenter-last-op' to nil.  (Bug#4981)
12305 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12307         Minor cleanup and simplification.
12308         * filecache.el (file-cache-add-directory)
12309         (file-cache-add-directory-recursively)
12310         (file-cache-add-from-file-cache-buffer)
12311         (file-cache-delete-file-regexp, file-cache-delete-directory)
12312         (file-cache-files-matching-internal, file-cache-display): Use dolist.
12313         (file-cache-temp-minibuffer-message): Delete function.
12314         (file-cache-minibuffer-complete): Use minibuffer-message instead.
12316         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12317         Don't signal an error when bumping into EOB in tr, s, or y.
12319 2009-11-29  Juri Linkov  <juri@jurta.org>
12321         * startup.el (fancy-about-text): Fix wording of Guided Tour.
12322         (Bug#4960)
12324         * descr-text.el (describe-char-unidata-list): Use lowercase name
12325         for "Unicode name" like in other tags.
12327 2009-11-29  Juri Linkov  <juri@jurta.org>
12329         * ediff-util.el (ediff-minibuffer-with-setup-hook):
12330         New compatibility macro.
12331         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12333 2009-11-29  Juri Linkov  <juri@jurta.org>
12335         Add defcustom to define the cycling order of `recenter-top-bottom'.
12336         (Bug#4981)
12338         * window.el (recenter-last-op): Doc fix.
12339         (recenter-positions): New defcustom.
12340         (recenter-top-bottom): Rewrite to use `recenter-positions'.
12341         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12343 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
12345         Improve integration of Tramp and ange-ftp in eshell.
12347         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12348         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
12349         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
12351         * eshell/esh-util.el (top): Require also Tramp when compiling.
12352         (eshell-directory-files-and-attributes): Check for FTP remote
12353         connection.
12354         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12355         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12356         (eshell-file-attributes): Handle ".".  Return `entry'.
12358         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12359         (ange-ftp-directory-files-and-attributes)
12360         (ange-ftp-real-directory-files-and-attributes): New defuns.
12362         * net/tramp.el (tramp-maybe-open-connection): Open the remote
12363         shell with "exec" when possible.  This prevents trailing prompts
12364         in `start-file-process'.
12366 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12368         Try and remove assumptions about point-min==1.
12369         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12370         (rng-compute-mode-line-string): Show the validation percentage in
12371         terms of the narrowed text, not the widened text.
12372         (rng-do-some-validation): Don't catch internal errors when debugging.
12373         (rng-first-error): Simplify.
12374         (rng-after-change-function): Remove work around.  AFAIK the bug has
12375         been fixed a while ago.
12377         * image-mode.el (image-minor-mode): Exit more gracefully when the image
12378         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12380         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12382         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12383         `cd' doesn't always do it for us (bug#5067).
12385         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12386         on 2009-10-25 as part of some other change (bug#5067).
12388 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12390         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12391         `suspicious'.
12392         (byte-compile-warnings): Use byte-compile-warning-types.
12393         (byte-compile-save-excursion): Warn about use of set-buffer right
12394         after save-excursion.
12396         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12397         the excursion as well.
12399 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
12401         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12402         providing a Tramp related implementation of "su" and "sudo".
12403         (eshell-unix-initialize): Add "su" and "sudo".
12405 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
12407         * net/socks.el (socks-send-command): Convert binary request to
12408         unibyte before sending.  This fixes mishandling of some port
12409         numbers such as 129.
12411 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12413         * help.el (describe-bindings-internal): Remove `interactive'.
12415         * man.el (Man-completion-table): Trim a terminating "(".
12416         Remove the space between name page a section.
12417         Add the command's description on the `help-echo' property.
12418         Remove `process-connection-type' binding since it's unused by
12419         call-process.
12420         Provide completion for the "<section> <name>" format as well.
12421         (Man-default-man-entry): Remove spurious var shadowing the argument.
12423 2009-11-26  Kevin Ryde  <user42@zip.com.au>
12425         * log-view.el: Add "Keywords: tools", since its other keywords
12426         aren't in finder-known-keywords, and following vc.el.
12428         * sha1.el (sha1-string-external): default-directory "/" in case
12429         otherwise non-existent.  process-connection-type pipe for touch of
12430         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
12432 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12434         Misc coding convention cleanups.
12435         * htmlfontify.el (hfy-init-kludge-hook): Rename from
12436         hfy-init-kludge-hooks.
12437         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12438         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12439         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12440         and push.
12441         (hfy-slant, hfy-weight): Use tables rather than code.
12442         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12443         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12444         (hfy-face-attr-for-class): Initialize `face-spec' directly.
12445         (hfy-face-to-css): Remove `nconc' with single arg.
12446         (hfy-p-to-face-lennart): Use `or'.
12447         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
12448         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12449         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12450         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12451         (hfy-force-fontification): Use run-hooks.
12453 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
12455         Various minor fixes.
12456         * htmlfontify.el (hfy-default-header): Add toggle_invis since
12457         Javascript belongs in the header, not the body.
12458         (hfy-javascript): Remove.
12459         (hfy-fontify-buffer): Don't insert it any more.
12460         (hfy-face-at): Handle (face0 face1 face2) style face properties.
12461         Fix bug in invis handling when there were no invis props in a chunk.
12463 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12465         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12467 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
12469         * finder.el (finder-mode-map): Add a menu.
12471 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
12473         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12474         "unsigned" structs.
12476         (verilog-leap-to-head, verilog-backward-token): Handle "disable
12477         fork" statement better.
12479 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
12481         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12482         (verilog-delete-auto, verilog-delete-empty-auto-pair)
12483         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12484         Reported by Clay Douglass.
12486         (verilog-auto-inst, verilog-auto-star-safe)
12487         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12488         Fix removing "// Interfaces" when saving .* expansions.
12489         Reported by Pierre-David Pfister.
12491 2009-11-26  Glenn Morris  <rgm@gnu.org>
12493         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12494         the scope.
12496 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
12498         * vc-annotate.el (vc-annotate-revision-previous-to-line):
12499         Really use previous revision.
12501 2009-11-25  Kevin Ryde  <user42@zip.com.au>
12503         * man.el (Man-completion-table): default-directory "/" in case
12504         doesn't otherwise exist.  process-environment COLUMNS=999 so as
12505         not to truncate long names.  process-connection-type pipe to avoid
12506         any chance of hitting the pseudo-tty TIOCGWINSZ.
12507         (man): completion-ignore-case t for friendliness and since man
12508         itself is case-insensitive on the command line.
12509         Further to Bug#3717.
12511         * arc-mode.el: Add "Keywords: files", so the details in its
12512         commentary can be reached from finder-by-keyword.
12513         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
12514         editing mode, but it's comms related and sgml-mode.el has "comm"
12515         on that basis too.
12516         * textmodes/bibtex-style.el: Add "Keywords: tex".
12517         * international/isearch-x.el, international/ja-dic-cnv.el:
12518         * international/ja-dic-utl.el, international/kkc.el:
12519         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12521 2009-11-25  Juri Linkov  <juri@jurta.org>
12523         * man.el (Man-completion-table): Modify regexp to include
12524         section names to completion strings.  (Bug#3717)
12526 2009-11-25  Juri Linkov  <juri@jurta.org>
12528         Search recursively in gzipped files.  (Bug#4982)
12530         * progmodes/grep.el (grep-highlight-matches): Add new options
12531         `always' and `auto'.  Doc fix.
12532         (grep-process-setup): Check `grep-highlight-matches' for
12533         `auto-detect' to determine the need to compute grep defaults.
12534         Move Windows/DOS specific --colors settings handling
12535         to `grep-compute-defaults'.  Check `grep-highlight-matches'
12536         to get the value of "--color=".
12537         (grep-compute-defaults): Compute `grep-highlight-matches' when it
12538         has the value `auto-detect'.  Move Windows/DOS specific settings
12539         from `grep-process-setup'.
12540         (zrgrep): New command with alias `rzgrep'.
12542 2009-11-25  Juri Linkov  <juri@jurta.org>
12544         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12545         to nil instead of switching off view-mode.  (Bug#4896)
12547 2009-11-25  Juri Linkov  <juri@jurta.org>
12549         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
12551         * mwheel.el (mwheel-scroll-up-function)
12552         (mwheel-scroll-down-function): New defvars.
12553         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12554         `scroll-up', and `mwheel-scroll-down-function' instead of
12555         `scroll-down'.
12557         * doc-view.el (doc-view-scroll-up-or-next-page)
12558         (doc-view-scroll-down-or-previous-page): Add optional ARG.
12559         Use this ARG in the call to image-scroll-up/image-scroll-down.
12560         Change `interactive' spec to "P".  Goto next/previous page only
12561         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12562         SPC/DEL case).  Doc fix.
12563         (doc-view-next-line-or-next-page)
12564         (doc-view-previous-line-or-previous-page): Rename arg to ARG
12565         for consistency.
12566         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12567         `doc-view-scroll-up-or-next-page', and buffer-local
12568         `mwheel-scroll-down-function' to
12569         `doc-view-scroll-down-or-previous-page'.
12571 2009-11-25  Juri Linkov  <juri@jurta.org>
12573         Provide additional default values (directories at other Dired
12574         windows) via M-n in the minibuffer of some Dired commands.
12576         * dired-aux.el (dired-diff, dired-compare-directories)
12577         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12578         `minibuffer-default' in `minibuffer-with-setup-hook'.
12579         (dired-dwim-target-directory): Find a window that displays Dired
12580         buffer instead of failing when the next window is not Dired.
12581         Use `get-window-with-predicate' to find for the next Dired window.
12582         (dired-dwim-target-defaults): New function.
12584         * ediff-util.el (ediff-read-file-name):
12585         Use `dired-dwim-target-defaults' to set `minibuffer-default'
12586         in `minibuffer-with-setup-hook'.
12588 2009-11-25  Juri Linkov  <juri@jurta.org>
12590         Provide additional default values (file name at point or at the
12591         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
12593         * minibuffer.el (read-file-name-defaults): New function.
12594         (read-file-name): Reset `minibuffer-default' to nil when
12595         it duplicates initial input `insdef'.
12596         Bind `minibuffer-default-add-function' to lambda that
12597         calls `read-file-name-defaults' in `minibuffer-selected-window'.
12598         (minibuffer-insert-file-name-at-point): New command.
12600         * files.el (file-name-at-point-functions): New defcustom.
12601         (find-file-default): Remove defvar.
12602         (find-file-read-args): Don't use `find-file-default'.
12603         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12604         to `read-file-name'.
12605         (find-file-literally): Use `read-file-name' with
12606         `confirm-nonexistent-file-or-buffer'.
12608         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12610         * dired.el (dired-read-dir-and-switches):
12611         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12612         to `read-file-name'.
12613         (dired-file-name-at-point): New function.
12614         (dired-mode): Add hook `dired-file-name-at-point' to
12615         `file-name-at-point-functions'.
12617 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12619         Really make the *Completions* window soft-dedicated (bug#5030).
12620         * window.el (window--display-buffer-2): Add `dedicated' argument.
12621         (display-buffer): Pass it when needed so the dedicated flag is set
12622         after calling set-window-buffer, which would otherwise reset it.
12624 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12626         * progmodes/meta-mode.el (meta-complete-symbol):
12627         * progmodes/etags.el (complete-tag):
12628         * mail/mailabbrev.el (mail-abbrev-complete-alias):
12629         Use completion-in-region.
12631         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12632         (dabbrev-completion): Use completion-in-region.
12633         (dabbrev--abbrev-at-point): Simplify regexp.
12635         * abbrev.el (abbrev--before-point): Use word-motion functions
12636         if :regexp is not specified (bug#5031).
12638         * subr.el (string-prefix-p): New function.
12640         * man.el (Man-completion-cache): New var.
12641         (Man-completion-table): Use it.
12643         * vc.el (vc-print-log-internal): Make `limit' optional for better
12644         compatibility (e.g. with vc-annotate.el).
12646 2009-11-24  Kevin Ryde  <user42@zip.com.au>
12648         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12649         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
12651         * emacs-lisp/elint.el (elint-add-required-env): Better error message
12652         when .el source file not found or other error.
12654 2009-11-24  Markus Triska  <markus.triska@gmx.at>
12656         * linum.el (linum-update-window): Ignore intangible (bug#4996).
12658 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12660         Handle the [back] button properly (bug#4979).
12661         * descr-text.el (describe-text-properties): Add a `buffer' argument.
12662         Use help-setup-xref, help-buffer, and with-help-window.
12663         (describe-char): Add `buffer' argument.
12664         Pass proper command to help-setup-xref.  Don't meddle with
12665         help-xref-stack-item directly.
12666         (describe-text-category): Use with-help-window and help-buffer.
12668         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12669         for the displayed buffer (bug#4887).
12671         * man.el (Man-completion-table): New function.
12672         (man): Use it.
12674 2009-11-24  David Reitter  <david.reitter@gmail.com>
12676         * vc-git.el (vc-git-registered): Use checkout directory (where
12677         .git is) rather than the file's directory and a relative path spec
12678         to work around a bug in git.
12680 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
12682         Improve handling of processes on remote hosts.
12684         * eshell/esh-util.el (eshell-path-env): New defvar.
12685         (eshell-parse-colon-path): New defun.
12686         (eshell-file-attributes): Use `eshell-parse-colon-path'.
12688         * eshell/esh-ext.el (eshell-search-path):
12689         Use `eshell-parse-colon-path'.
12690         (eshell-remote-command): Remove argument HANDLER.
12691         (eshell-external-command): Check for FTP remote connection.
12693         * eshell/esh-proc.el (eshell-gather-process-output):
12694         Use `file-truename', in order to start also symlinked files.
12695         Apply `start-file-process' instead of `start-process'.
12696         Shorten `command' to the local file name part.
12698         * eshell/em-cmpl.el (eshell-complete-commands-list):
12699         Use `eshell-parse-colon-path'.
12701         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12703         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
12704         to `eshell-directory-change-hook'.
12706 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
12708         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12709         because it could be enabled automatically if view-read-only is non-nil.
12711 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
12713         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12714         made on 2009-11-22.
12716 2009-11-24  Glenn Morris  <rgm@gnu.org>
12718         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12719         deleted variable bookmark-bmenu-bookmark-column.
12721 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12723         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12725 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12727         * net/browse-url.el (browse-url-filename-alist): On Windows, add
12728         two slashes to the "file:" prefix.
12729         (browse-url-file-url): De-munge Cygwin filenames before passing
12730         them to Windows browser.
12731         (browse-url-default-windows-browser): Use call-process.
12733 2009-11-23  Juri Linkov  <juri@jurta.org>
12735         Implement DocView Continuous mode.  (Bug#4896)
12736         * doc-view.el (doc-view-continuous-mode): New defcustom.
12737         (doc-view-mode-map): Bind C-n/<down> to
12738         `doc-view-next-line-or-next-page', C-p/<up> to
12739         `doc-view-previous-line-or-previous-page'.
12740         (doc-view-next-line-or-next-page)
12741         (doc-view-previous-line-or-previous-page): New commands.
12743 2009-11-23  Juri Linkov  <juri@jurta.org>
12745         Implement Isearch in comint input history.  (Bug#3746)
12746         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12747         `isearch-mode-hook'.
12748         (comint-history-isearch): New defcustom.
12749         (comint-history-isearch-backward)
12750         (comint-history-isearch-backward-regexp): New commands.
12751         (comint-history-isearch-message-overlay): New buffer-local variable.
12752         (comint-history-isearch-setup, comint-history-isearch-end)
12753         (comint-goto-input, comint-history-isearch-search)
12754         (comint-history-isearch-message, comint-history-isearch-wrap)
12755         (comint-history-isearch-push-state)
12756         (comint-history-isearch-pop-state): New functions.
12758 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
12760         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12761         return.
12762         (tramp-handle-make-symbolic-link)
12763         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12764         Quote file names.
12765         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12766         (tramp-handle-process-file): Use it.
12768 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12770         * window.el (move-to-window-line-last-op): Remove.
12771         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12773 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
12775         Make M-r mirror the new cycling behavior of C-l.
12776         * window.el (move-to-window-line-last-op): New var.
12777         (move-to-window-line-top-bottom): New command.
12778         (global-map): Bind M-r move-to-window-line-top-bottom.
12780 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
12782         * dired-x.el (dired-guess-shell-alist-default):
12783         Support xz format.  (Bug#4953)
12785 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
12787         * emulation/viper-cmd.el: Use viper-last-command-char instead of
12788         last-command-char/last-command-event.
12789         (viper-prefix-arg-value): Do correct conversion of event-char for
12790         XEmacs.
12792         * emulation/viper-util.el, emulation/viper.el:
12793         Use viper-last-command-char instead of
12794         last-command-char/last-command-event.
12796         * ediff-init.el, ediff-mult.el, ediff-util.el:
12797         Replace last-command-char and last-command-event
12798         with (ediff-last-command-char) everywhere.
12800         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12801         created in fundamental mode.
12803         * ediff.el (ediff-version): Revert the change of interactive-p to
12804         called-interactively-p.
12806 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
12808         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12809         generation from word-movement command names.
12811 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
12813         * cus-start.el (all): Add native condition for font-use-system-font.
12815 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
12817         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12818         Correct the patch from 2009-11-18.  (Bug#3910)
12820 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
12822         * progmodes/subword.el: Rename from lisp/subword.el.
12824         * subword.el: Rename to progmodes/subword.el.
12826         * Makefile.in (ELCFILES): Adapt to subword.el move.
12828 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12829             Stefan Monnier  <monnier@iro.umontreal.ca>
12831         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12832         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12833         (bookmark-bmenu-show-filenames): Use push.
12834         (bookmark-bmenu-hide-filenames): Use local var instead of
12835         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
12836         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12837         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12838         filenames now that the bookmark names are always available.
12840 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12842         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12843         (bookmark-search-pattern): Move and leave unbound.
12844         (bookmark-bmenu-mode-map): Change binding.
12845         (bookmark-read-search-input): Simplify.
12846         Don't use text-char-description.  Don't error on non-char events.
12847         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12848         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12849         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12850         Use a local var for the timer.
12851         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12852         (i.e. bookmark-bmenu-search).
12854 2009-11-21  Glenn Morris  <rgm@gnu.org>
12856         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
12858 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12860         * net/browse-url.el (browse-url-default-windows-browser):
12861         Use cygstart for cygwin.
12863 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
12865         * bookmark.el: Formatting and doc fixes only:
12866         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12867         (bookmark-bmenu-search): Wrap to fit within 80 columns.
12868         Minor grammar and punctuation fixes in doc string.
12869         (bookmark-read-search-input): Adjust to fit within 80 columns.
12871 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12873         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12874         (c-backward-into-nomenclature): Adapt to subword renaming.
12876         * subword.el (subword-forward, subword-backward, subword-mark)
12877         (subword-kill, subword-backward-kill, subword-transpose)
12878         (subword-downcase, subword-upcase, subword-capitalize)
12879         (subword-forward-internal, subword-backward-internal):
12880         Rename from forward-subword, backward-subword, mark-subword,
12881         kill-subword, backward-kill-subword, transpose-subwords,
12882         downcase-subword, upcase-subword, capitalize-subword,
12883         forward-subword-internal, backward-subword-internal.
12885 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12887         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12888         New options.
12889         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12890         New vars.
12891         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12892         (bookmark-bmenu-filter-alist-by-regexp)
12893         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12894         (bookmark-bmenu-search): New command.
12895         (bookmark-bmenu-mode-map): Bind it.
12897 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12899         * progmodes/cc-cmds.el: declare-functioned forward-subword and
12900         backward-subword to quit the byte-compiler.
12902         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12904         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12906         * progmodes/cc-cmds.el (c-update-modeline)
12907         (c-forward-into-nomenclature, c-backward-into-nomenclature):
12908         Refer to subword.el functions instead of cc-subword.el.
12910         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12911         subword.el functions instead of cc-subword.el.
12913         * progmodes/cc-subword.el: Rename to subword.el.
12914         * subword.el: Rename from progmodes/cc-subword.el.
12915         (subword-mode-map): Rename from c-subword-mode-map.
12916         (subword-mode): Rename from c-subword-mode.
12917         (global-subword-mode): New global minor mode.
12918         (forward-subword): Rename from c-forward-subword.
12919         (backward-subword): Rename from c-backward-subword.
12920         (mark-subword): Rename from c-mark-subword.
12921         (kill-subword): Rename from c-kill-subword.
12922         (backward-kill-subword): Rename from c-backward-kill-subword.
12923         (transpose-subwords): Rename from c-tranpose-subword.
12924         (downcase-subword): Rename from c-downcase-subword.
12925         (capitalize-subword): Rename from c-capitalize-subword.
12926         (forward-subword-internal): Rename from c-forward-subword-internal.
12927         (backward-subword-internal): Rename from c-backward-subword-internal.
12929 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
12931         * vc.el (vc-deduce-fileset): Allow non-state changing operations
12932         from a dired buffer.
12933         (vc-dired-deduce-fileset): New function.
12934         (vc-root-diff, vc-print-root-log): Use it.
12936         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12937         nil LIMIT argument to vc-print-log-internal.
12939 2009-11-20  Glenn Morris  <rgm@gnu.org>
12941         * Makefile.in (ELCFILES): Regenerate.
12943 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
12945         * calc/calc.el (calc-set-mode-line):
12946         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12947         (math-format-number): Rename `math-format-complement-signed' to
12948         `math-format-twos-complement'.
12950         * calc/calc-bin.el (math-format-twos-complement): Rename from
12951         math-format-complement-signed.
12952         (calc-radix): Rename `calc-complement-signed-mode' to
12953         `calc-twos-complement-mode'.
12954         (calc-octal-radix, calc-hex-radix): Add an argument for
12955         two's complement.
12957         * calc/calc-embed.el (calc-embedded-mode-vars):
12958         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12960         * calc/calc-ext.el (calc-init-extensions):
12961         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12962         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12964         * calc/calc-units.el (math-build-units-table-buffer):
12965         Let `calc-twos-complement-mode' be nil.
12967         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12968         entries.
12970         * calc/calc-vec.el (calcFunc-vunpack):
12971         * calc/calc-aent.el (calc-do-calc-eval):
12972         * calc/calc-forms.el (math-format-date):
12973         * calc/calc-graph.el (calc-graph-plot):
12974         * calc/calc-math.el (math-use-emacs-fn):
12975         * calc/calccomp.el (math-compose-expr):
12976         Let `calc-twos-complement-mode' be nil.
12978 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12980         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12981         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
12982         * minibuffer.el (completion-in-region-functions): New hook.
12983         (completion-in-region): New function.
12984         * emacs-lisp/lisp.el (lisp-complete-symbol):
12985         * pcomplete.el (pcomplete-std-complete): Use it.
12987 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12989         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12990         (latex-complete-alist): New vars.
12991         (latex-string-prefix-p, latex-complete-bibtex-keys)
12992         (latex-complete-envnames, latex-complete-refkeys)
12993         (latex-complete-data): New functions.
12994         (latex-complete, latex-indent-or-complete): New commands.
12996         * window.el (display-buffer-mark-dedicated): New var.
12997         (display-buffer): Obey it.
12998         * minibuffer.el (minibuffer-completion-help): Use it.
13000         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13002         * filecache.el (file-cache-add-file): Use push and cons.
13003         (file-cache-delete-file-regexp): Use push.
13004         (file-cache-complete): Use completion-in-region.
13006         * simple.el (with-wrapper-hook): Fix thinko.
13008         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13009         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13010         Use with-current-buffer and string-to-number.
13011         (hfy-fallback-colour-values): Use assoc-string.
13012         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13013         (hfy-face-at): Remove unused var `found-face'.
13014         (hfy-compile-stylesheet): Remove unused var `css'.
13015         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13016         and `orig-buffer'.
13017         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13018         Use with-current-buffer.
13019         (hfy-text-p): Use expand-file-name and fewer setq.
13021 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
13023         * htmlfontify.el, hfy-cmap.el: New files.
13025 2009-11-19  Juri Linkov  <juri@jurta.org>
13027         * minibuffer.el (completions-format): New defcustom.
13028         (completion--insert-strings): Implement vertical format.
13030         * simple.el (switch-to-completions): Move point to the first
13031         completion when point was at the beginning of the buffer.
13033 2009-11-19  Juri Linkov  <juri@jurta.org>
13035         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
13037         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13039 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
13041         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13042         (mail-signature): Change default to t.
13043         (mail-from-style): Deprecate `system-default' value.
13044         (mail-insert-from-field): For default value of mail-from-style,
13045         default to `angles' unless `angles' needs quoting and `parens'
13046         does not.
13047         (mail-citation-prefix-regexp): Use citation regexp from
13048         message-mode.
13050 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
13052         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13053         Set variables for computing the prompt for reading password.
13055 2009-11-19  Glenn Morris  <rgm@gnu.org>
13057         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
13059         * textmodes/flyspell.el (sgml-lexical-context): Declare.
13061         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13062         (newsticker-treeview-listwindow-height): Fix custom type.
13064 2009-11-19  Kenichi Handa  <handa@m17n.org>
13066         * descr-text.el (describe-char-padded-string): Compose with TAB
13067         only if there's a font for CH.
13068         (describe-char): Fix the condition for detecting a trivial composition.
13070 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
13072         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13073         more accurate version of the regexp.  (Bug#3910)
13075 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
13077         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13079 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
13081         * font-setting.el (font-use-system-font): Declare for byte-compiler.
13082         (font-setting-change-default-font): Fix typo in docstring.
13084 2009-11-18  Alan Mackenzie  <acm@muc.de>
13086         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13088 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
13090         * font-setting.el (font-use-system-font): Move ...
13092         * cus-start.el (all): ... to here.
13094 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
13096         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13097         Don't set `ad-return-value' if `ad-do-it' doesn't.
13099         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13100         modification time.
13102 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
13104         * menu-bar.el: Put "Use system font" in Option-menu.
13105         (menu-bar-options-save): Add font-use-system-font.
13107         * loadup.el: If feature system-font-setting or font-render-setting is
13108         there, load font-setting.
13110         * Makefile.in (ELCFILES): Add font-settings.el.
13111         * font-setting.el: New file.
13113 2009-11-17  Glenn Morris  <rgm@gnu.org>
13115         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13117         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13118         Preserve point in the list buffer.  (Bug#4939)
13119         Use point-at-eol.
13120         (newsticker--treeview-list-update-highlight)
13121         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13123 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
13125         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13126         Remove.
13128         * calc/calc-ext.el (calc-init-extensions): Remove references to
13129         symclip.
13131         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13133         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13134         * calc/calc-help.el (calc-b-prefix-help): Remove references to
13135         `calc-symclip'.
13137 2009-11-16  Kevin Ryde  <user42@zip.com.au>
13139         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13140         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13142         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13143         (lm-keywords-list): Allow comma-only separator like "foo,bar".
13144         Ignore trailing spaces by omit-nulls to split-string (fixing
13145         regression from Emacs 21 due to the incompatible split-string
13146         change).  (Bug #4928.)
13148 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
13150         * vc.el (vc-log-show-limit): Default to 2000.
13151         (vc-print-log-internal): Insert buttons to request more entries
13152         when limiting the output.
13154         * vc-sccs.el (vc-sccs-print-log):
13155         * vc-rcs.el (vc-rcs-print-log):
13156         * vc-cvs.el (vc-cvs-print-log):
13157         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13158         LIMIT is non-nil.
13160 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
13162         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13163         error when `tramp-gvfs-dbus-event-vector' is set.
13164         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13166 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13168         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13170 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
13172         * net/dbus.el (dbus-unregister-service): New defun.
13173         (dbus-register-property): Register the handlers of
13174         "org.freedesktop.DBus.Properties" for SERVICE.
13175         (dbus-property-handler): Fix docstring.
13177 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13179         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13180         Quote doc string reference in defvaralias as it is not in special form.
13181         (byte-compile-output-docform): Doc fix.
13183 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
13185         * calc/calc.el (math-2-word-size, math-half-2-word-size)
13186         (calc-complement-signed-mode): New variables.
13187         (calc-set-mode-line): Add indicator for twos-complements.
13188         (math-format-number): Format twos-complement notation.
13190         * calc/calc-bin.el (calc-word-size): Reset the variables
13191         `math-2-word-size' and `math-half-2-word-size'.
13192         (math-format-complement-signed, math-symclip, calcFunc-symclip)
13193         (calc-symclip): New functions.
13195         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13197         * calc/calc-embed.el (calc-embedded-mode-vars):
13198         Add `calc-complement-signed-mode' to the list of modes.
13200         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13201         (calc-b-oper-keys): Add `calc-symclip' to list.
13203         * calc/calc-ext.el (math-read-number-fancy): Read complement
13204         signed numbers.
13205         (calc-init-extensions): Add binding for `calc-symclip'.
13206         Add autoload for `calcFunc-symclip' and `calc-symclip'.
13208         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13209         `calc-symclip'.
13210         (calc-modes-menu): Add item for twos complement mode.
13212         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13214 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
13216         * register.el (jump-to-register, insert-register): Handle Semantic
13217         tags.  From commented-out advice in semantic/senator.el.
13219 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
13221         * vc.el (vc-log-show-limit): New variable.
13222         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
13223         when using a prefix argument.
13224         (vc-print-log-internal): Add new argument LIMIT.
13226         * vc-svn.el (vc-svn-print-log):
13227         * vc-mtn.el (vc-mtn-print-log):
13228         * vc-hg.el (vc-hg-print-log):
13229         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13230         pass it to the log command when set.  Make the BUFFER argument
13231         non-optional.
13233         * vc-sccs.el (vc-sccs-print-log):
13234         * vc-rcs.el (vc-rcs-print-log):
13235         * vc-git.el (vc-git-print-log):
13236         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13237         ignore it.  Make the BUFFER argument non-optional
13239         * bindings.el (mode-line-buffer-identification): Do not purecopy.
13241 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
13243         * dired.el (dired-mode-map): Move encryption items to "Operate"
13244         menu (Bug#4703).
13246         * strokes.el (strokes-update-window-configuration): Make strokes
13247         buffer current before erasing (Bug#4906).
13249 2009-11-15  Juri Linkov  <juri@jurta.org>
13251         * simple.el (set-mark-default-inactive): Add :type, :group
13252         and :version.  (Bug#4876)
13254 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
13256         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13257         (archive-unique-fname): ... here.  (Bug#4929)
13259 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13261         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13262         with a real fix.
13264         * novice.el (disabled-command-function): Add useful args.
13265         Setup the help buffer so that [back] works.
13266         Remove redundant call to help-mode.
13267         (disabled-command-function): Use `case'.
13268         (en/disable-command): New function extracted from enable-command.
13269         (enable-command, disable-command): Use it.
13271 2009-11-14  Glenn Morris  <rgm@gnu.org>
13273         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13274         constants.  (Bug#4913)
13276         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13278 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
13280         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13281         defined in C that have no doc-strings.  (Bug#1063)
13283 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
13285         * cus-edit.el (data, files):
13286         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
13288 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
13290         * simple.el (shell-command): Doc fix (Bug#4891).
13292         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13294 2009-11-14  Glenn Morris  <rgm@gnu.org>
13296         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13297         statements for vc-diff, emerge-quit, and rmail-cease-edit.
13298         If they are already loaded, eval-after-load will do the right thing.
13300         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13301         compiling.
13303         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13305         * simple.el (x-selection-owner-p): Declare.
13306         (read-mail-command): Use custom radio type rather than choice.
13307         (completion-no-auto-exit): Doc fix.
13309         * custom.el (defgroup):
13310         * epg-config.el (epg): Doc fixes.
13312 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
13314         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13315         * international/ccl.el (define-ccl-program): Do not purecopy the
13316         docstring, defconst does it anyway.
13318 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13320         * add-log.el (add-change-log-entry): Avoid displaying the changelog
13321         a second time.
13323         * x-dnd.el (x-dnd-maybe-call-test-function):
13324         * window.el (split-window-vertically):
13325         * whitespace.el (whitespace-help-on):
13326         * vc-rcs.el (vc-rcs-consult-headers):
13327         * userlock.el (ask-user-about-lock-help)
13328         (ask-user-about-supersession-help):
13329         * type-break.el (type-break-force-mode-line-update):
13330         * time-stamp.el (time-stamp-conv-warn):
13331         * terminal.el (te-set-output-log, te-more-break, te-filter)
13332         (te-sentinel, terminal-emulator):
13333         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13334         (term-write-input-ring, term-check-source, term-start-output-log):
13335         (term-display-buffer-line, term-dynamic-list-completions):
13336         (term-ansi-make-term, serial-term):
13337         * subr.el (selective-display):
13338         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13339         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13340         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13341         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13342         (speedbar-remove-localized-speedbar-support)
13343         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13344         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13345         (speedbar-buffers-line-directory):
13346         * simple.el (shell-command-on-region, append-to-buffer)
13347         (prepend-to-buffer):
13348         * shadowfile.el (shadow-save-todo-file):
13349         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13350         (scroll-bar-maybe-set-window-start):
13351         * sb-image.el (speedbar-image-dump):
13352         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13353         (load-save-place-alist-from-file):
13354         * ps-samp.el (ps-print-message-from-summary):
13355         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13356         (ps-background-image, ps-begin-job, ps-do-despool):
13357         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13358         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13359         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13360         (pr-call-process, pr-file-list, pr-interface-save):
13361         * novice.el (disabled-command-function)
13362         (enable-command, disable-command):
13363         * mouse.el (mouse-buffer-menu-alist):
13364         * mouse-copy.el (mouse-kill-preserving-secondary):
13365         * macros.el (kbd-macro-query):
13366         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13367         * informat.el (batch-info-validate):
13368         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13369         * hippie-exp.el (try-expand-dabbrev-visible):
13370         * help-mode.el (help-make-xrefs):
13371         * help-fns.el (describe-variable):
13372         * generic-x.el (bat-generic-mode-run-as-comint):
13373         * finder.el (finder-mouse-select):
13374         * find-dired.el (find-dired-sentinel):
13375         * filesets.el (filesets-file-close):
13376         * files.el (list-directory):
13377         * faces.el (list-faces-display, describe-face):
13378         * facemenu.el (list-colors-display):
13379         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13380         * epg.el (epg--process-filter, epg-cancel):
13381         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13382         (epa--read-signature-type):
13383         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13384         (emerge-file-names):
13385         * ehelp.el (electric-helpify):
13386         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13387         * ediff-vers.el (rcs-ediff-view-revision):
13388         * ediff-util.el (ediff-setup):
13389         * ediff-mult.el (ediff-append-custom-diff):
13390         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13391         (ediff-wordify):
13392         * echistory.el (Electric-command-history-redo-expression):
13393         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13394         * disp-table.el (describe-display-table):
13395         * dired.el (dired-find-buffer-nocreate):
13396         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13397         * dabbrev.el (dabbrev--same-major-mode-p):
13398         * chistory.el (list-command-history):
13399         * apropos.el (apropos-documentation):
13400         * allout.el (allout-obtain-passphrase):
13401         (allout-copy-exposed-to-buffer):
13402         (allout-verify-passphrase): Use with-current-buffer.
13404 2009-11-13  Glenn Morris  <rgm@gnu.org>
13406         * Makefile.in (ELCFILES): Regenerate.
13408 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
13410         * net/dbus.el (dbus-registered-objects-table): Rename from
13411         `dbus-registered-functions-table', because it contains also properties.
13412         (dbus-unregister-object): Unregister also properties.
13413         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13414         Use a timeout of 500 msec, in order to not block.
13415         (dbus-register-property, dbus-property-handler): New defuns.
13417 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13419         * simple.el (minibuffer-default-add-completions): Drop deprecated
13420         4th arg.
13422 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
13424         * textmodes/artist.el (artist-mouse-choose-operation):
13425         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13426         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13427         (artist-compute-up-event-key): New function.
13428         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13430 2009-11-13  Kenichi Handa  <handa@m17n.org>
13432         * language/japan-util.el: Make sure that the value of jisx0208
13433         property is jisx0208 character.
13435 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
13437         * international/mule.el (auto-coding-regexp-alist): Only purecopy
13438         car or each item, not the whole list.
13440 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13442         * minibuffer.el (minibuffer-completion-help):
13443         Use minibuffer-hide-completions.
13445 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
13447         * dired.el (dired-save-positions, dired-restore-positions): New funs.
13448         (dired-revert): Use them (bug#4880).
13450 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13452         * tooltip.el (tooltip-frame-parameters): Undo previous change.
13454 2009-11-12  Juri Linkov  <juri@jurta.org>
13456         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13457         New functions.
13458         (find-file-literally-at-point): Alias of `ffap-literally'.
13460 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13462         * textmodes/ispell.el (ispell-skip-region-alist):
13463         * textmodes/css-mode.el (auto-mode-alist):
13464         * progmodes/compile.el (auto-mode-alist):
13465         * international/mule.el (ctext-non-standard-encodings-alist)
13466         (ctext-non-standard-encodings-regexp):
13467         * simple.el (shell-command-switch, text-read-only):
13468         * replace.el (occur-mode-map):
13469         * paths.el (rmail-file-name):
13470         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13471         * find-file.el (ff-special-constructs):
13472         * files.el (file-name-handler-alist):
13473         * composite.el: Purecopy strings.
13475         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13477 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13479         * widget.el (define-widget): Purecopy the docstring.
13480         * international/mule-cmds.el (charset): Do not purecopy the
13481         docstring here, define-widget does it.
13483         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13484         * textmodes/bibtex-style.el (auto-mode-alist):
13485         * progmodes/inf-lisp.el (inferior-lisp-prompt):
13486         * progmodes/compile.el (compile-command):
13487         * language/korea-util.el (default-korean-keyboard):
13488         * international/mule-conf.el (file-coding-system-alist):
13489         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13490         * tooltip.el (tooltip-frame-parameters):
13491         * newcomment.el (comment-end, comment-padding):
13492         * dired.el (dired-trivial-filenames):
13493         * comint.el (comint-file-name-prefix): Purecopy initial values.
13495 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
13497         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13498         (tramp-advice-minibuffer-electric-tilde): Unload advices via
13499         `tramp-unload'.
13500         (tramp-advice-make-auto-save-file-name)
13501         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13502         after removing the advice.
13504 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13506         * progmodes/grep.el (grep-regexp-alist):
13507         * international/mule-cmds.el (iso-2022-control-alist):
13508         * emacs-lisp/timer.el (timer-duration-words):
13509         * subr.el (version-separator, version-regexp-alist):
13510         * minibuffer.el (completion-styles-alist):
13511         * faces.el (face-attribute-name-alist, list-faces-sample-text):
13512         Change defvars to defconsts.
13514         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13515         * loadup.el ("international/mule-conf"): Load the byte compiled version.
13516         * international/mule-conf.el: Allow to be byte compiled.
13518         * international/mule.el (define-charset): Purecopy props.
13519         (load-with-code-conversion): Purecopy doc string and file name.
13520         (put-charset-property): Purecopy strings.
13521         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13523         * international/mule-cmds.el (register-input-method): Purecopy arguments.
13524         (define-char-code-property): Correctly purecopy the table.
13526         * international/ccl.el (define-ccl-program): Purecopy the docstring.
13528         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13530         * subr.el (add-hook): Purecopy strings.
13531         (eval-after-load): Purecopy load-history-regexp and the form.
13533         * custom.el (custom-declare-group): Purecopy load-file-name.
13535         * subr.el (menu-bar-separator): New defconst.
13536         * net/eudc.el (eudc-tools-menu):
13537         * international/mule-cmds.el (set-coding-system-map)
13538         (mule-menu-keymap):
13539         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13540         * vc-hooks.el (vc-menu-map):
13541         * replace.el (occur-mode-map):
13542         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13543         (menu-bar-edit-menu, menu-bar-goto-menu)
13544         (menu-bar-custom-menu, menu-bar-showhide-menu)
13545         (menu-bar-options-menu, menu-bar-tools-menu)
13546         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13547         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13548         (menu-bar-help-menu):
13549         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13550         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13552         * term/x-win.el (x-gtk-stock-map):
13553         * progmodes/vera-mode.el (auto-mode-alist):
13554         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13555         (inferior-lisp-program, inferior-lisp-load-command):
13556         * progmodes/hideshow.el (hs-special-modes-alist):
13557         * progmodes/gud.el (same-window-regexps):
13558         * progmodes/grep.el (grep-program, find-program, xargs-program):
13559         * net/telnet.el (same-window-regexps):
13560         * net/rlogin.el (same-window-regexps):
13561         * language/ethiopic.el (font-ccl-encoder-alist):
13562         * vc-sccs.el (vc-sccs-master-templates):
13563         * vc-rcs.el (vc-rcs-master-templates):
13564         * subr.el (cl-assertion-failed):
13565         * simple.el (next-error-overlay-arrow-position):
13566         * lpr.el (lpr-command):
13567         * locate.el (locate-ls-subdir-switches):
13568         * info.el (same-window-regexps, info)
13569         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13570         * image-mode.el (image-mode, auto-mode-alist):
13571         * hippie-exp.el (hippie-expand-ignore-buffers):
13572         * format.el (format-alist):
13573         * find-dired.el (find-ls-subdir-switches, find-grep-options)
13574         (find-name-arg):
13575         * facemenu.el (facemenu-keybindings):
13576         * dired.el (dired-listing-switches, dired-chown-program):
13577         * diff.el (diff-switches, diff-command):
13578         * cus-edit.el (same-window-regexps):
13579         * bindings.el (mode-line-mule-info)
13580         (mode-line-buffer-identification): Purecopy strings.
13582 2009-11-11  Juri Linkov  <juri@jurta.org>
13584         * simple.el (dired-get-filename) <declare-function>:
13585         Tell the byte-compiler about dired-get-filename.
13586         (shell-command): In Dired mode, get filename from the current line
13587         as the default value.
13589 2009-11-10  Glenn Morris  <rgm@gnu.org>
13591         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13592         * calendar/holidays.el, progmodes/cperl-mode.el:
13593         Update x-popup-menu declarations.
13595         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13596         (list-load-path-shadows): Use dolist.
13597         (list-load-path-shadows): Use with-current-buffer.
13599 2009-11-10  Juri Linkov  <juri@jurta.org>
13601         * minibuffer.el (read-file-name): Support a list of default values
13602         in `default-filename'.  Use the first file name where only one
13603         element is required.  Doc fix.
13605 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
13607         * net/dbus.el (dbus-unregister-object): Release service, if no
13608         other method is registered for it.
13610 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
13612         * bookmark.el (bookmark-completing-read): Sort bookmark names if
13613         bookmark-sort-flag is non-nil (Bug#4653).
13615 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13617         * emulation/cua-base.el: Add CUA property to some CC mode commands
13618         (Bug#4100).
13620 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13622         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13623         at end of sentence (Bug#4818).
13625 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
13627         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13628         Handle "see declaration of" MSFT statements (Bug#4100).
13630 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
13632         * net/tramp.el (tramp-advice-make-auto-save-file-name)
13633         (tramp-advice-file-expand-wildcards): Unload via
13634         `ad-remove-advice'.
13636         * net/trampver.el: Update release number.
13638 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13640         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13641         `ad-do-it'.
13643 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
13645         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13646         in order to keep context in SELinux.
13648 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13650         * dired-aux.el (dired-query): Place cursor in echo area and allow
13651         C-g.
13653         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13654         menu item if not on a directory (Bug#4701).
13656 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
13658         Sync with Tramp 2.1.17.
13660         * net/tramp.el (tramp-handle-copy-directory): Don't use
13661         `file-remote-p' (due to compatibility).
13663         * net/tramp-compat.el (tramp-compat-copy-directory)
13664         (tramp-compat-delete-directory): New defuns.
13666         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13667         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13668         Use `tramp-compat-delete-directory'.
13670         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13671         (tramp-smb-handle-delete-directory):
13672         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13674         * net/trampver.el: Update release number.
13676 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
13678         * tar-mode.el (tar-copy): Call write-region on the right buffer
13679         (Bug#4857).
13681         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13682         by hand, if necessary (Bug#4878).
13684 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
13686         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13687         align size column (Bug#4839).
13689         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13690         statement.
13692 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13694         * progmodes/ld-script.el (auto-mode-alist):
13695         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13697         * cus-face.el (custom-declare-face): Purecopy face spec.
13699 2009-11-06  Kenichi Handa  <handa@m17n.org>
13701         * international/uni-bidi.el: Re-generated.
13702         * international/uni-category.el: Re-generated.
13703         * international/uni-combining.el: Re-generated.
13704         * international/uni-mirrored.el: Re-generated.
13706 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13708         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13709         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13710         (tex-start-options, slitex-run-command, latex-run-command)
13711         (tex-run-command, tex-directory):
13712         * textmodes/ispell.el (ispell-html-skip-alists)
13713         (ispell-tex-skip-alists, ispell-tex-skip-alists):
13714         * textmodes/fill.el (adaptive-fill-first-line-regexp):
13715         (adaptive-fill-regexp):
13716         * textmodes/dns-mode.el (auto-mode-alist):
13717         * progmodes/python.el (interpreter-mode-alist):
13718         * progmodes/etags.el (tags-compression-info-list):
13719         * progmodes/etags.el (tags-file-name):
13720         * net/browse-url.el (browse-url-galeon-program)
13721         (browse-url-firefox-program):
13722         * mail/sendmail.el (mail-signature-file)
13723         (mail-citation-prefix-regexp):
13724         * international/mule-conf.el (eight-bit):
13725         * international/latexenc.el (latex-inputenc-coding-alist):
13726         * international/fontset.el (x-pixel-size-width-font-regexp):
13727         * emacs-lisp/warnings.el (warning-type-format):
13728         * emacs-lisp/trace.el (trace-buffer):
13729         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13730         (emacs-lisp-mode-map):
13731         * calendar/holidays.el (holiday-solar-holidays)
13732         (holiday-bahai-holidays, holiday-islamic-holidays)
13733         (holiday-christian-holidays, holiday-hebrew-holidays)
13734         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13735         (hebrew-holidays-1, holiday-oriental-holidays)
13736         (holiday-general-holidays):
13737         * x-dnd.el (x-dnd-known-types):
13738         * tool-bar.el (tool-bar):
13739         * startup.el (site-run-file):
13740         * shell.el (shell-dumb-shell-regexp):
13741         * rfn-eshadow.el (file-name-shadow-tty-properties)
13742         (file-name-shadow-properties):
13743         * paths.el (remote-shell-program, news-directory):
13744         * mouse.el ([C-down-mouse-3]):
13745         * menu-bar.el (menu-bar-tools-menu):
13746         * jka-cmpr-hook.el (jka-compr-load-suffixes)
13747         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13748         (jka-compr-compression-info-list):
13749         * isearch.el (search-whitespace-regexp):
13750         * image-file.el (image-file-name-extensions):
13751         * find-dired.el (find-ls-option):
13752         * files.el (directory-listing-before-filename-regexp)
13753         (directory-free-space-args, insert-directory-program)
13754         (list-directory-brief-switches, magic-fallback-mode-alist)
13755         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13756         (automount-dir-prefix):
13757         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13758         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13759         (face-font-registry-alternatives, face-font-registry-alternatives)
13760         (face-font-family-alternatives):
13761         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13762         (facemenu-foreground-menu, facemenu-face-menu):
13763         * epa-hook.el (epa-file-name-regexp):
13764         * dnd.el (dnd-protocol-alist):
13765         * textmodes/rst.el (auto-mode-alist):
13766         * button.el (default-button): Purecopy strings.
13768 2009-11-06  Glenn Morris  <rgm@gnu.org>
13770         * Makefile.in (ELCFILES): Update.
13772 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13774         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13775         * emacs-lisp/levents.el: Move to obsolete/levents.el.
13777         * nxml/xsd-regexp.el (xsdre-gen-categories):
13778         * nxml/xmltok.el (xmltok-parse-entity):
13779         * nxml/rng-parse.el (rng-parse-validate-file):
13780         * nxml/rng-maint.el (rng-format-manual)
13781         (rng-manual-output-force-new-line):
13782         * nxml/rng-loc.el (rng-save-schema-location-1):
13783         * nxml/rng-cmpct.el (rng-c-parse-file):
13784         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13785         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13787 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
13789         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13790         Remove extra save-excursions and make-variable-buffer-local's.
13791         Suggested by Stefan Monnier.
13793         (verilog-getopt-file, verilog-module-inside-filename-p)
13794         (verilog-set-define): Merge GNU 1.35 and repair changes from
13795         switching to using with-current-buffer.
13797         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13798         being treated as a number and confusing AUTORESET.
13799         Reported by Dan Dever.
13801         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13802         Add verilog-auto-ignore-concat to fix backward compatibility with
13803         older verilog-modes.  Reported by Dan Katz.
13805         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13806         containing closing anchors "...$".
13808         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13809         Reported by Wade Smith.
13811         (verilog-batch-execute-func): Comment on function usage.
13813 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
13815         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13816         for labels.
13818         (verilog-label-re, verilog-calc-1): Support proper indent of named
13819         asserts.
13821         (verilog-backward-token, verilog-basic-complete-re)
13822         (verilog-beg-of-statement, verilog-indent-re): Support proper
13823         indent of the assert statement at the beginning of a block of text.
13825         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13826         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13827         tokens as begins.
13829 2009-11-05  Glenn Morris  <rgm@gnu.org>
13831         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13832         Emacs 19.  (Bug#1531)
13833         (byte-compile-fix-header): Update for the above change.
13834         Drop test for epoch::version.
13836         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13837         * cus-dep.el (custom-make-dependencies):
13838         * finder.el (finder-compile-keywords):
13839         Use autoload-rubric's feature argument.
13841         * calendar/diary-lib.el (top-level): Make load behave more like require.
13843         * vc-git.el (vc-git-stash-map): Move definition before use.
13845 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
13847         * custom.el (custom-declare-group): Purecopy standard-value.
13848         (custom-declare-group): Purecopy custom-prefix.
13850         * international/mule.el (load-with-code-conversion):
13851         Call do-after-load-evaluation unconditionally.
13853         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13855 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13857         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13859 2009-11-04  Glenn Morris  <rgm@gnu.org>
13861         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13862         (byte-compile-compatibility): Remove option.
13863         (byte-compile-close-variables, byte-compile-fix-header)
13864         (byte-compile-insert-header, byte-compile-output-docform)
13865         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13866         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13867         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13868         (byte-compile-insert, byte-compile-defun):
13869         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
13870         (byte-defop-compiler19): Remove.
13871         Without byte-compile-compatibility, the 'emacs19-opcode property is not
13872         used by anything.  Replace all calls with byte-defop-compiler.
13874 2009-11-04  Juri Linkov  <juri@jurta.org>
13876         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13877         (menu-bar-options-menu): Don't quote the `prop' arg of
13878         `menu-bar-make-mm-toggle'.
13880 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
13882         * calendar/calendar.el (cal-loaddefs):
13883         * calendar/diary-lib.el (diary-loaddefs):
13884         * calendar/holidays.el (hol-loaddefs):
13885         * eshell/esh-module.el (esh-groups): Load rather than require.
13887 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13889         * calendar/todo-mode.el (todo-add-category): Don't hardcode
13890         point-min==1.
13891         (todo-top-priorities): Only display-buffer when called interactively.
13892         (todo-item-start): Don't save excursion point.
13893         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
13894         (todo-insert-item-here, todo-file-item, todo-remove-item):
13895         Adjust uses of todo-item-start and todo-item-end.
13897         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13898         (autoload-rubric): Don't use any more.
13900         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13901         and only put a prop if it is non-nil.
13903 2009-11-03  Juri Linkov  <juri@jurta.org>
13905         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13906         (menu-bar-options-menu): Fix list quoting (Bug#4429).
13908         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13909         and "Menu" to make top-level menu item visually one unit (like
13910         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13911         multi-word menu items).  Fix :help string for quit-window.
13913 2009-11-03  Glenn Morris  <rgm@gnu.org>
13915         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13916         (byte-compile-file-form-define-abbrev-table)
13917         (byte-compile-file-form-custom-declare-variable)
13918         (byte-compile-variable-ref, byte-compile-defvar):
13919         Whether or not a warning is enabled should only affect whether we issue
13920         the warning, not whether or not we collect the relevant data.
13921         Eg warnings can be turned on and off throughout the course of a file.
13923         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13924         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13926 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13928         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13929         * play/mpuz.el (mpuz-create-buffer):
13930         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13931         (lm-print-y,s,noise, lm-print-w0, lm-init):
13932         * play/gomoku.el (gomoku-prompt-for-move):
13933         * play/fortune.el (fortune-in-buffer):
13934         * play/dissociate.el (dissociated-press):
13935         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13936         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13937         * mail/supercite.el (sc-eref-show):
13938         * mail/smtpmail.el (smtpmail-send-it):
13939         * mail/rmailsum.el (rmail-summary-next-labeled-message)
13940         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13941         (rmail-summary-undelete-many, rmail-summary-rmail-update)
13942         (rmail-summary-goto-msg, rmail-summary-expunge)
13943         (rmail-summary-get-new-mail, rmail-summary-search-backward)
13944         (rmail-summary-add-label, rmail-summary-output-menu)
13945         (rmail-summary-output-body):
13946         * mail/rfc822.el (rfc822-addresses):
13947         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13948         * mail/mailpost.el (post-mail-send-it):
13949         * mail/hashcash.el (hashcash-generate-payment):
13950         * mail/feedmail.el (feedmail-run-the-queue)
13951         (feedmail-queue-send-edit-prompt-help-first)
13952         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13953         (feedmail-deduce-address-list):
13954         * eshell/esh-ext.el (eshell-remote-command):
13955         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13956         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13957         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13958         (viper-save-string-in-file, viper-valid-marker):
13959         * emulation/viper-keym.el (viper-toggle-key):
13960         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13961         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13962         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13963         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13964         (viper-exec-form-in-emacs, viper-brac-function):
13965         * emulation/viper.el (viper-delocalize-var):
13966         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13967         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13968         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13969         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13970         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13971         * emulation/edt.el (edt-electric-helpify):
13972         * emulation/cua-rect.el (cua--rectangle-aux-replace):
13973         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13974         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13975         (cua-indent-to-global-mark-column):
13976         * calendar/diary-lib.el (calendar-mark-1):
13977         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13978         Use with-current-buffer.
13979         * emulation/viper.el (viper-delocalize-var): Use dolist.
13981 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
13983         * comint.el (comint-replace-by-expanded-history-before-point):
13984         Replace !! with the previous input string literally (Bug#1795).
13986 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
13988         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13989         to be made up of whitespace.
13991 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
13993         * minibuffer.el (read-file-name): Don't use file dialogs for
13994         remote directories (Bug#99).
13996 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
13998         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14000 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14002         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14003         instead of deleting the window or frame.
14005 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
14007         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14008         Support face colors.
14010         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14011         New function.  Support face colors (Bug#1168).
14012         (tex-common-initialization): Use it.
14014         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14015         mode allows it (Bug#1168).
14017 2009-10-31  Juri Linkov  <juri@jurta.org>
14019         * facemenu.el (list-colors-display): Don't mark buffer as
14020         modified (Bug#3948).
14022 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
14024         * international/mule-diag.el (list-character-sets-1):
14025         Minor message fix (Bug#3526).
14027         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14028         Fix face property (Bug#4834).
14029         (etags-list-tags, etags-tags-apropos-additional)
14030         (etags-tags-apropos, tags-select-tags-table): Add follow-link
14031         property.
14033         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14034         items.
14036 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14038         * textmodes/two-column.el (2C-split):
14039         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14040         * textmodes/tex-mode.el (tex-set-buffer-directory):
14041         * textmodes/spell.el (spell-region, spell-string):
14042         * textmodes/reftex.el (reftex-erase-buffer):
14043         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14044         * textmodes/reftex-toc.el (reftex-toc-promote-action):
14045         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14046         (reftex-select-item):
14047         * textmodes/reftex-ref.el (reftex-label-info-update)
14048         (reftex-offer-label-menu):
14049         * textmodes/reftex-index.el (reftex-index-change-entry)
14050         (reftex-index-phrases-info):
14051         * textmodes/reftex-global.el (reftex-create-tags-file)
14052         (reftex-save-all-document-buffers, reftex-ensure-write-access):
14053         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14054         (reftex-view-crossref-from-bibtex):
14055         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14056         (reftex-extract-bib-entries-from-thebibliography)
14057         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14058         * textmodes/refbib.el (r2b-capitalize-title):
14059         (r2b-convert-buffer, r2b-help):
14060         * textmodes/page-ext.el (pages-directory)
14061         (pages-directory-goto-with-mouse):
14062         * textmodes/bibtex.el (bibtex-validate-globally):
14063         * textmodes/bib-mode.el (bib-capitalize-title):
14064         * textmodes/artist.el (artist-clear-buffer, artist-system):
14065         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14066         (local-set-scheme-interaction-buffer, xscheme-process-filter)
14067         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14068         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14069         (xscheme-send-control-g-interrupt, xscheme-start-process)
14070         (xscheme-process-sentinel, xscheme-cd):
14071         * progmodes/verilog-mode.el (verilog-read-always-signals)
14072         (verilog-set-define, verilog-getopt-file)
14073         (verilog-module-inside-filename-p):
14074         * progmodes/sh-script.el:
14075         * progmodes/python.el (python-pdbtrack-get-source-buffer)
14076         (python-pdbtrack-grub-for-buffer, python-execute-file):
14077         * progmodes/octave-inf.el (inferior-octave):
14078         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14079         (idlwave-shell-compile-helper-routines, idlwave-set-local)
14080         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14081         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14082         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14083         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14084         (idlwave-shell-filter, idlwave-shell-examine-highlight)
14085         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14086         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14087         (idlwave-shell-examine-display, idlwave-shell-run-region)
14088         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14089         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14090         * progmodes/idlw-help.el (idlwave-help-get-special-help)
14091         (idlwave-help-get-help-buffer):
14092         * progmodes/gud.el (gud-basic-call, gud-find-class)
14093         (gud-tooltip-activate-mouse-motions-if-enabled):
14094         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14095         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14096         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14097         (ebrowse-tags-next-file):
14098         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14099         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14100         (ebnf-eps-finish-and-write):
14101         * progmodes/cpp.el (cpp-edit-save):
14102         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14103         * progmodes/cc-defs.el (c-emacs-features):
14104         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14105         (antlr-directory-dependencies):
14106         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14107         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14108         (ada-find-any-references, ada-make-filename-from-adaname)
14109         (ada-make-body-gnatstub):
14110         * obsolete/rnews.el (news-list-news-groups):
14111         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14112         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14113         * net/rcirc.el (rcirc-debug):
14114         * net/newst-treeview.el (newsticker--treeview-list-add-item)
14115         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14116         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14117         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14118         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14119         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14120         (newsticker--treeview-list-clear-highlight)
14121         (newsticker--treeview-list-update-highlight)
14122         (newsticker--treeview-list-highlight-start)
14123         (newsticker--treeview-tree-update-highlight)
14124         (newsticker--treeview-get-selected-item)
14125         (newsticker-treeview-mark-list-items-old)
14126         (newsticker--treeview-set-current-node):
14127         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14128         * net/newst-backend.el (newsticker--get-news-by-funcall)
14129         (newsticker--get-news-by-wget, newsticker--image-get)
14130         (newsticker--image-sentinel):
14131         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14132         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14133         (eudc-ph-close-session):
14134         * net/eudc.el (eudc-save-options):
14135         * language/thai-word.el (thai-update-word-table):
14136         * language/japan-util.el (japanese-string-conversion):
14137         * international/titdic-cnv.el (tsang-quick-converter)
14138         (ziranma-converter, ctlau-converter):
14139         * international/mule-cmds.el (describe-language-environment):
14140         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14141         (skkdic-convert-postfix, skkdic-convert-prefix):
14142         (skkdic-convert-okuri-nasi, skkdic-convert):
14143         * emacs-lisp/re-builder.el (reb-update-overlays):
14144         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14145         * emacs-lisp/gulp.el (gulp-send-requests):
14146         * emacs-lisp/find-gc.el (trace-call-tree):
14147         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14148         (eieio-describe-generic):
14149         * emacs-lisp/eieio-base.el (eieio-persistent-read):
14150         * emacs-lisp/edebug.el (edebug-outside-excursion):
14151         * emacs-lisp/debug.el (debugger-make-xrefs):
14152         * emacs-lisp/cust-print.el (custom-prin1-to-string):
14153         * emacs-lisp/chart.el (chart-new-buffer):
14154         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14155         Use with-current-buffer.
14156         * textmodes/artist.el (artist-system): Don't call
14157         copy-sequence on a fresh string.
14158         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14160 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
14162         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14163         is no item to edit.  (Bug#4820)
14164         (todo-top-priorities): Restore point and restore narrowing in Todo
14165         buffer.  (Bug#4820)
14167 2009-10-31  Glenn Morris  <rgm@gnu.org>
14169         * net/ange-ftp.el (top-level): Don't require dired when compiling.
14170         (comint-last-output-start, comint-last-input-start)
14171         (comint-last-input-end): Don't defvar when compiling.
14172         (ange-ftp-process-file): Use bound-and-true-p.
14174         * pcmpl-rpm.el (top-level): Move provide statement to end.
14175         (pcmpl-rpm): Remove unused custom group.
14177         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14179         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14181         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14182         (byte-compile-warnings): Add `constants' as an option.
14183         (byte-compile-callargs-warn, byte-compile-arglist-warn)
14184         (display-call-tree): Update for byte-compile-fdefinition possibly
14185         returning `(macro lambda ...)'.  (Bug#4778)
14186         (byte-compile-variable-ref, byte-compile-setq-default):
14187         Respect `constants' member of byte-compile-warnings.
14189 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14191         * vc-bzr.el (vc-bzr-revision-keywords): New var.
14192         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14193         to "submit:".
14195 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
14197         * textmodes/ispell.el (ispell-skip-region-alist):
14198         * international/mule-conf.el (eight-bit):
14199         * international/fontset.el (font-encoding-alist):
14200         * startup.el (pure-space-overflow-message):
14201         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14202         * paths.el (gnus-nntp-service, rmail-spool-directory)
14203         (term-file-prefix):
14204         * files.el (save-some-buffers-action-alist):
14205         * cmuscheme.el (same-window-buffer-names):
14206         * ielm.el (same-window-buffer-names):
14207         * shell.el (same-window-buffer-names):
14208         * mail/sendmail.el (same-window-buffer-names):
14209         * progmodes/inf-lisp.el (same-window-buffer-names):
14210         * bindings.el (mode-line-client)
14211         (mode-line-column-line-number-mode-map):
14212         * language/tibetan.el (tibetan-precomposition-rule-regexp)
14213         (tibetan-precomposed-regexp): Purecopy string arguments.
14215 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14217         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14218         (calcDigit-nondigit):
14219         * calc/calc-yank.el (calc-copy-to-buffer):
14220         * calc/calc-units.el (calc-invalidate-units-table):
14221         * calc/calc-trail.el (calc-trail-yank):
14222         * calc/calc-store.el (calc-insert-variables):
14223         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14224         * calc/calc-prog.el (calc-read-parse-table):
14225         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14226         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14227         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14228         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14229         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14230         (calc-graph-name, calc-graph-find-command, calc-graph-view)
14231         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14232         * calc/calc-ext.el (calc-realign):
14233         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14234         (calc-embedded-finish-edit, calc-embedded-make-info)
14235         (calc-embedded-finish-command, calc-embedded-stack-change):
14236         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14238         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14239         shell-dynamic-complete-filename in preference to
14240         comint-dynamic-complete-filename.
14242         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14243         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14244         Don't consider whether the display supports colors.
14245         (bookmark-import-new-list): Use dolist.
14246         (bookmark-bmenu-mode-map): Move initialization into declaration.
14247         (bookmark-bmenu-list): Use dolist, simplify.
14248         (bookmark-show-all-annotations): Use save-selected-window and dolist.
14249         (menu-bar-final-items): Use push.
14251 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14253         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14254         it works on remote files.
14255         (vc-hg-diff): Don't pass any `--cwd' argument.
14257 2009-10-27  Kevin Ryde  <user42@zip.com.au>
14259         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14260         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14261         (Further to Bug#3921).
14263 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
14265         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14266         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14267         calling `tramp-imap-put-file'.  Add file size to the call.
14268         (tramp-imap-get-file-entries): Compute also user name, file size,
14269         and date.
14270         (tramp-imap-handle-insert-directory): Insert uid and gid.
14271         (tramp-imap-handle-file-attributes): Transform uid and gid
14272         according to `id-format'.
14273         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
14274         size in header X-Size.
14276 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
14278         * simple.el (transpose-subr): Give clearer error when the mark
14279         is not set.  (Bug#4807)
14281 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
14283         * net/tramp.el (tramp-perl-file-truename): New defconst.
14284         Perl code contributed by yary <not.com@gmail.com> (tiny change).
14285         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14286         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14287         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14289         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14290         Ignore `dired-call-process'.
14291         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14293 2009-10-26  Julian Scheid  <julians37@gmail.com>
14295         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14296         (tramp-get-remote-readlink): New defun.
14297         (tramp-handle-file-truename): Use it.
14298         (tramp-handle-file-exists-p): Check file-attributes cache, assume
14299         file exists if cache value present.
14300         (tramp-check-cached-permissions): New defun.
14301         (tramp-handle-file-readable-p): Use it.
14302         (tramp-handle-file-writable-p): Likewise.
14303         (tramp-handle-file-executable-p): Likewise.
14304         (tramp-handle-file-name-all-completions): Try using Perl to get
14305         partial completions.  When perl not available, combine `cd' and
14306         `ls' into single remote operation and use shell expansion to get
14307         partial remote directory contents.  Set `file-exists-p' cache for
14308         directory and any files returned by ls.  Change cache handling to
14309         support partial directory contents.  Use error message emitted by
14310         remote `cd' or Perl code for local tramp-error.
14311         (tramp-do-copy-or-rename-file-directly): Avoid separate
14312         tramp-send-command-and-check call.
14313         (tramp-handle-process-file): Merge three remote ops into one.
14314         Do not flush all caches when `process-file-side-effects' is set.
14315         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14316         file-attributes shows uid/gid to be set already.
14318 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
14320         * textmodes/tex-mode.el (tex-dvi-view-command)
14321         (tex-show-queue-command, tex-open-quote):
14322         * progmodes/ruby-mode.el (auto-mode-alist)
14323         (interpreter-mode-alist): Purecopy strings.
14325         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14327         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14328         string for the hook, keymap and abbrev table.
14330         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14332         * x-dnd.el (x-dnd-xdnd-to-action):
14333         * startup.el (fancy-startup-text, fancy-about-text): Change to
14334         defconst from defvar.
14336         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14338         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14339         Purecopy initialization strings.
14341         * mail/sendmail.el (mail-header-separator)
14342         (mail-personal-alias-file):
14343         * mail/rmail.el (rmail-default-dont-reply-to-names)
14344         (rmail-ignored-headers, rmail-retry-ignored-headers)
14345         (rmail-highlighted-headers, rmail-secondary-file-directory)
14346         (rmail-secondary-file-regexp):
14347         * files.el (null-device, file-name-invalid-regexp)
14348         (locate-dominating-stop-dir-regexp)
14349         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14350         (interpreter-mode-alist): Use mapcar instead of mapc.
14352         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14354         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14355         (completion-ignored-extensions):
14356         (debug-ignored-errors): Purecopy strings.
14358 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14360         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14361         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14362         (pcomplete--here): Use push.
14364         * subr.el (all-completions): Declare the 4th arg obsolete.
14366 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14368         * pcomplete.el (pcomplete-unquote-argument-function): New var.
14369         (pcomplete-unquote-argument): New function.
14370         (pcomplete--common-suffix): Always pay attention to case.
14371         (pcomplete--table-subvert): Quote and unquote the text.
14372         (pcomplete--common-quoted-suffix): New function.
14373         (pcomplete-std-complete): Use it and pcomplete-begin.
14375         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14376         we're inside a dedicated or minibuffer window.
14378 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
14380         * bookmark.el: Update documentation, especially documentation
14381         of `bookmark-alist' and of the bookmark file format.
14382         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
14384 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
14386         * mail/emacsbug.el (report-emacs-bug): Clarify that the
14387         keybindings apply to the mail buffer (Bug#4003).  Shrink help
14388         window to buffer.
14390         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14391         (global-whitespace-mode, global-whitespace-newline-mode)
14392         (whitespace-toggle-options, global-whitespace-toggle-options):
14393         Doc fix (Bug#3660).
14395         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14396         of xmltok-start before the end tag was inserted (Bug#2840).
14398         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14399         patterns that are preceded by an open-paren (Bug#1320).
14401 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
14403         * files.el (delete-directory): Delete symlinks to directories with
14404         delete-file (Bug#4739).
14406 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
14408         * vc.el (vc-backend-for-registration): Rename from
14409         vc-get-backend-for-registration.  Update callers.
14411         * international/mule-cmds.el (set-language-info-alist):
14412         Purecopy lang-env.
14413         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14414         (charset): Purecopy the name.
14415         (define-char-code-property): Purecopy string arguments.
14417         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14418         Purecopy string arguments.
14420         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14421         * ediff-hook.el (menu-bar-ediff-menu):
14422         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14423         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14425 2009-10-24  Glenn Morris  <rgm@gnu.org>
14427         * comint.el (comint-dynamic-list-completions):
14428         * term.el (term-dynamic-list-completions): Use choose-completion rather
14429         than obsolete alias mouse-choose-completion.
14431         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14432         file-cache-choose-completion.
14433         (file-cache-choose-completion): Handle an optional event argument.
14434         (file-cache-mouse-choose-completion): Make it an obsolete alias.
14436         * progmodes/octave-mod.el (octave-complete-symbol):
14437         Use choose-completion if mouse-choose-completion is ever removed.
14439         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14440         use.
14442         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14443         compiler.
14445         * vc-hooks.el (vc-responsible-backend): Fix declaration.
14447 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14449         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14450         Ignore `pred' now that we receive one.
14451         Handle test-completion specially.
14453 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14455         * vc.el (vc-responsible-backend): Throw an error if not backend is
14456         found.  Remove the REGISTER argument.  Move the code dealing with
14457         REGISTER ...
14458         (vc-get-backend-for-registration): ... here.  New function.
14459         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14460         of vc-responsible-backend, pass the file name instead of the
14461         directory name.
14463 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14465         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14466         New funs.
14467         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
14468         (pcomplete-comint-setup): Don't modify a global var via
14469         accidental side-effects.
14470         (pcomplete-shell-setup): Adjust call accordingly.
14471         (pcomplete-parse-comint-arguments): Use push.
14473 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
14475         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14476         Allow uncapitalized info node names (Bug#3921).
14478         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14479         to the DEBUG file (Bug#3781).
14481 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
14483         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14484         dictionary entry (Bug#4579).
14486 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
14488         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14489         from `rfn-eshadow-update-overlay-hook' when unloading.
14490         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14491         "rsyncc".  Adjust doc string.
14492         (tramp-temp-buffer-file-name): New buffer-local defvar.
14493         (tramp-handle-insert-file-contents, tramp-handle-write-region):
14494         Keep temporary file when indicated by method ("rsync" and
14495         "rsyncc").
14496         (tramp-handle-write-region): Handle APPEND.
14497         (tramp-delete-temp-file-function): New defun.  Added to
14498         `kill-buffer-hook'.
14500 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
14502         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14504 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14506         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14507         (color-name-rgb-alist, tty-standard-colors)
14508         (tty-color-mode-alist): Change to defconst.
14510         * simple.el (mark-inactive): Purecopy message.
14512         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14513         (global-map, yank-menu):
14514         * textmodes/ispell.el (ispell-menu-map):
14515         * net/eudc.el (eudc-tools-menu):
14516         * international/mule-cmds.el (describe-language-environment-map)
14517         (setup-language-environment-map, set-coding-system-map)
14518         (mule-menu-keymap):
14519         * vc-hooks.el (vc-menu-entry, vc-menu-map):
14520         * replace.el (occur-mode-map):
14521         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14523 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
14525         * calc/calc.el (math-read-number, math-read-number-simple):
14526         Use `save-match-data'.
14528 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14530         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14531         rather than fiddling with global-map bindings, since it should only
14532         affect per-terminal settings.
14533         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14535         * minibuffer.el (completion-table-with-terminator): Allow to specify
14536         the terminator-regexp.
14538         * simple.el (switch-to-completions): Look for *Completions* in other
14539         frames as well.
14541         * pcomplete.el: Allow the use of completion-tables.
14542         (pcomplete-std-complete): New command.
14543         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14544         (pcomplete--here): Use a function for `form' rather than an expression,
14545         so it can be byte-compiled.
14546         (pcomplete-here, pcomplete-here*): Adjust accordingly.
14547         Add edebug declaration.
14548         (pcomplete-show-completions): Remove unused var `curbuf'.
14549         (pcomplete-do-complete, pcomplete-stub):
14550         Don't assume `completions' is a list of strings any more.
14552 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
14554         * find-dired.el (find-name-arg): Fix typo in docstring.
14556 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14558         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14559         (pcmpl-linux-fs-types): Same, and update to new modules layout.
14561         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14562         pcomplete-entries.
14564         * comint.el (comint-read-input-ring, comint-write-input-ring)
14565         (comint-substitute-in-file-name)
14566         (comint-dynamic-complete-as-filename)
14567         (comint-dynamic-simple-complete)
14568         (comint-dynamic-list-filename-completions)
14569         (comint-dynamic-list-completions)
14570         (comint-redirect-results-list-from-process): Minor simplifications.
14572 2009-10-21  Kevin Ryde  <user42@zip.com.au>
14574         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14575         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14576         the first form.  And insert a blank line after ";;; Code" since
14577         that's usual style.  (Bug#4612)
14579         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14581 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14583         * minibuffer.el (completion-table-with-terminator): Properly implement
14584         boundaries, in case `terminator' appears in the suffix.
14585         (completion--embedded-envvar-table): Don't return boundaries if
14586         there's no valid completion.  Simplify.
14587         (completion-file-name-table): New completion table extracted from
14588         completion--file-name-table.
14589         (completion--file-name-table): Use it.
14590         (read-file-name-predicate): Declare obsolete.
14591         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14592         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14593         completion-file-name-table, and use the `pred' argument.
14594         * files.el (locate-file-completion-table): Use the `pred' arg rather
14595         than read-file-name-predicate.
14596         (abbreviate-file-name): Use \` rather than ^ for BOS.
14598 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
14600         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14601         vc-responsible-backend to register, it causes problems.
14603 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14605         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14607 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
14609         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14610         (tramp-smb-handle-file-attributes): Use it.
14611         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14612         (tramp-smb-handle-insert-directory): Use `mapc' rather than
14613         `mapcar'.  Use `tramp-smb-get-stat-capability'.
14614         Add `dired-filename' text properties.
14615         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14616         (tramp-smb-maybe-open-connection): Simplify check for smbclient
14617         version.
14619 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14621         * subr.el (read-key-delay): Reduce to 0.01.
14622         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14623         (bug#4751).
14625 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14627         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14629         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14630         (Info-menu): Remove unused vars `last' and `completions'.
14631         (Info-index-nodes): Remove unused var `node'.
14633         * info.el (Info-complete-menu-item): Use complete-with-action.
14635 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
14637         Make vc-annotate work through copies and renames.
14638         * vc-annotate.el (vc-annotate-extract-revision-at-line):
14639         Return the file name too.
14640         (vc-annotate-revision-at-line)
14641         (vc-annotate-find-revision-at-line)
14642         (vc-annotate-revision-previous-to-line)
14643         (vc-annotate-show-log-revision-at-line): Update to get the file
14644         name from vc-annotate-extract-revision-at-line.
14645         (vc-annotate-show-diff-revision-at-line-internal): Change the
14646         argument to mean whether to show a file diff or not.  Get the file
14647         name from vc-annotate-extract-revision-at-line.
14648         (vc-annotate-show-diff-revision-at-line):
14649         Update vc-annotate-show-diff-revision-at-line call.
14650         (vc-annotate-warp-revision): Add an optional file argument.
14652         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14653         (vc-git-annotate-extract-revision-at-line): Also return the file
14654         name if found.
14656         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14657         command.  Remove unused code.
14658         (vc-hg-annotate-re): Update to match --follow output.
14659         (vc-hg-annotate-extract-revision-at-line): Also return the file
14660         name if found.
14662         * vc.el: Update annotate-extract-revision-at-line documentation.
14664 2009-10-18  Kevin Ryde  <user42@zip.com.au>
14666         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14667         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14669         * net/browse-url.el (browse-url): Identify alist with "consp and
14670         not functionp" and let all other things go down the `apply' leg,
14671         as suggested by Stefan.  (Further to bug#4531.)
14673 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
14675         * minibuffer.el (read-file-name): Check for repeat before putting
14676         a default argument in file-name-history (Bug#4657).
14678         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14679         read syntax (Bug#4737).
14681         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14683 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14685         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14686         (html-tag-alist, html-tag-help): Add descriptions for undocumented
14687         entries and make note of obsolete tags.
14689 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14691         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14693 2009-10-18  Glenn Morris  <rgm@gnu.org>
14695         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14696         grep, so that binary files (eg international/uni-bidi.el) can match.
14697         Remove test for "UnicodeData" files, since it is hopefully unnecessary
14698         now, and in any case the file header format has changed.
14700 2009-10-17  Glenn Morris  <rgm@gnu.org>
14702         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14703         (flyspell-get-word, flyspell-large-region)
14704         (flyspell-auto-correct-previous-word): Doc/error message fixes.
14706 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
14708         * Makefile.in (ELCFILES): Add ede/shell.
14710 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
14712         * term/common-win.el (x-colors): Purecopy it.
14714 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14716         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14717         permissive for when the buffer is empty.
14718         (tar-header-block-tokenize): Decode the username and groupname.
14719         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14721 2009-10-17  Eric Ludlam  <zappo@gnu.org>
14723         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14724         contains multibyte characters, choose first applicable coding
14725         system automatically.
14727 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14729         * international/mule-cmds.el (select-safe-coding-system): If the file
14730         has a coding cookie, use it regardless of any other setting (bug#4712).
14732 2009-10-17  Glenn Morris  <rgm@gnu.org>
14734         * foldout.el (foldout-mouse-swallow-events):
14735         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14737         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14738         (dired-keep-marker-copy, dired-keep-marker-hardlink)
14739         (dired-keep-marker-symlink, dired-dwim-target)
14740         (dired-copy-preserve-time): Do not autoload these defcustoms.
14742         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14743         messages from messing up the file coding.  (Bug#4623)
14745 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
14747         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14748         if no match is found for the current dictionary.  (Bug#4578)
14750         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14751         optional, since that is how it is documented, and this is often called
14752         with a nil argument.  (Bug#4577)
14753         (flyspell-external-point-words, flyspell-auto-correct-word)
14754         (flyspell-correct-word-before-point, flyspell-word-search-forward)
14755         (flyspell-word-search-backward): Remove nil argument in calls to
14756         flyspell-get-word, since it is not needed now.
14758 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
14760         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
14762 2009-10-16  Glenn Morris  <rgm@gnu.org>
14764         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14766 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
14768         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14769         (ange-ftp-file-size): New function.
14770         (ange-ftp-file-attributes): Use it.
14772 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
14774         * net/tramp-smb.el (tramp-smb-version): New defvar.
14775         (tramp-smb-maybe-open-connection): Use it, in order to avoid
14776         repeated checks.
14778 2009-10-16  Glenn Morris  <rgm@gnu.org>
14780         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14781         Maybe copy some custom properties from old to new name.  (Bug#4706)
14783 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
14785         * subr.el (error, sit-for, start-process-shell-command)
14786         (start-file-process-shell-command): Set the calling convention
14787         after the function definition.
14789 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14791         * subr.el (error, sit-for, start-process-shell-command)
14792         (start-file-process-shell-command): Use the new
14793         set-advertised-calling-convention feature.
14795 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
14797         * international/ucs-normalize.el (ucs-normalize-version):
14798         Change to 1.2.
14799         (check-range): Adjust for Unicode 5.2.
14801 2009-10-15  Juri Linkov  <juri@jurta.org>
14803         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14804         to the `menu-item' format.
14806 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
14808         * net/tramp.el (tramp-replace-environment-variables): Do not fail
14809         if the environment variable does not exist.
14811         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14812         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14813         parameter.
14814         (tramp-smb-handle-add-name-to-file)
14815         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14816         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14817         (tramp-smb-handle-file-attributes)
14818         (tramp-smb-do-file-attributes-with-stat)
14819         (tramp-smb-handle-file-local-copy)
14820         (tramp-smb-handle-insert-directory)
14821         (tramp-smb-handle-make-directory)
14822         (tramp-smb-handle-make-directory-internal)
14823         (tramp-smb-handle-make-symbolic-link)
14824         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14825         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14826         (tramp-smb-maybe-open-connection): Apply the changed parameters.
14827         (tramp-smb-read-file-entry): Read Disk names in compressed format.
14828         Handle long file names.
14829         (tramp-smb-get-cifs-capabilities): Check, whether the connection
14830         process is running.
14831         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14832         Read share names with "-g" option.
14834 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
14836         * net/rcirc.el (rcirc-view-log-file): New command.
14837         (rcirc-track-minor-mode-map): Remove C-c ` binding.
14838         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14839         specified.
14841 2009-10-15  Glenn Morris  <rgm@gnu.org>
14843         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14844         from the second command-line argument.
14845         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14846         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14847         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14848         w32-batch-update-autoloads.
14849         * emacs-lisp/autoload.el (autoload-make-program): New variable.
14850         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14852         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14853         the headers cannot be located.  Simplify, subtracting superflous
14854         save-excursions.
14856 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14858         Replace completion-base-size by completion-base-position to fix bugs
14859         such as (bug#4699).
14860         * simple.el (completion-base-position): New var.
14861         (completion-base-size): Mark as obsolete.
14862         (choose-completion): Make it work for mouse events as well.
14863         Pass the new base-position to choose-completion-string.
14864         (choose-completion-guess-base-position): New function, extracted from
14865         choose-completion-delete-max-match.
14866         (choose-completion-delete-max-match): Use it.  Make obsolete.
14867         (choose-completion-string): Use the new base-position info.
14868         (completion-root-regexp): Delete.
14869         (completion-setup-function): Preserve completion-base-position.
14870         Eliminate obsolete base-size manipulation.
14871         * minibuffer.el (display-completion-list): Don't mess with base-size.
14872         (minibuffer-completion-help): Set completion-base-position instead.
14873         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14874         choose-completion.
14875         * textmodes/bibtex.el (bibtex-complete):
14876         * emacs-lisp/crm.el (crm--choose-completion-string):
14877         Adjust to new calling convention.
14878         * complete.el (partial-completion-mode): Use minibufferp to avoid
14879         bumping into incompatible change to choose-completion-string-functions.
14880         * ido.el (ido-choose-completion-string): Make its calling convention
14881         more permissive.
14882         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14883         base-size manipulation.
14884         (comint-dynamic-list-input-ring): Use dotimes and push.
14885         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14886         fundamental-mode.  Use `or'.
14888 2009-10-14  Juri Linkov  <juri@jurta.org>
14890         * misearch.el (multi-isearch-next-buffer-from-list)
14891         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
14893 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14895         * Makefile.in (compile-onefile): Load `bytecomp' rather than
14896         `bytecomp.el'.
14898         * minibuffer.el (completion-pcm--merge-completions): Make sure the
14899         string we return is all made up of text from the completions rather
14900         than part from the completions and part from the input (bug#4219).
14902         * ido.el (ido-everywhere): Use define-minor-mode.
14904         * buff-menu.el (list-buffers, ctl-x-map):
14905         Mark the entry points with ;;;###autoload cookies.
14907 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
14909         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14910         correctly in the detached head case.
14911         (vc-git-print-log): Remove unused binding.
14913         * vc.el (vc-responsible-backend): When a directory is passed for
14914         for registration create a VC repository if no backend is
14915         responsible for the directory argument.
14916         (vc-deduce-fileset): Tell vc-responsible-backend to register.
14918         * vc.el: Move comments about RCS and SCCS ...
14919         * vc-rcs.el:
14920         * vc-sccs.el: ... here, respectively.
14922 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14924         * minibuffer.el (completion--file-name-table): Return nil if there's
14925         no file completion, even if substitute-in-file-name changed
14926         the string (bug#4708).
14928 2009-10-13  Juri Linkov  <juri@jurta.org>
14930         * files-x.el (read-file-local-variable-value): Don't filter out
14931         minor modes from mode name completion (bug#4664).
14933 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14935         * international/mule-cmds.el (ucs-names): Remove exclusion of
14936         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14938 2009-10-13  Kenichi Handa  <handa@m17n.org>
14940         * international/uni-name.el: Regenerated.
14942 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14944         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
14945         should be automatically buffer-local, but isn't.)
14947 2009-10-12  Sam Steingold  <sds@gnu.org>
14949         * progmodes/compile.el (compilation-next-error-function): Fix the
14950         timestamps if the buffer has been visited before.
14951         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14952         non-anchored patterns, like the perl one (bug#3928).
14954 2009-10-12  Glenn Morris  <rgm@gnu.org>
14956         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14957         Let-bind `size'.
14959 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
14961         * proced.el (proced-unload-function): New function.
14963         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14964         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14965         Doc fix.
14967         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14969 2009-10-11  Juri Linkov  <juri@jurta.org>
14971         * files-x.el (read-file-local-variable-value):
14972         Provide default value only for bound variables (bug#4664).
14974 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
14976         * net/tramp.el (tramp-local-host-p): Function shall return nil for
14977         connection methods like smb.
14979         * net/tramp-cache.el (tramp-flush-connection-property): The hash
14980         can be empty.
14982         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14983         (tramp-smb-file-name-handler-alist): Add handlers for
14984         `add-name-to-file', `make-symbolic-link'.
14985         (tramp-smb-handle-add-name-to-file)
14986         (tramp-smb-do-file-attributes-with-stat)
14987         (tramp-smb-handle-make-symbolic-link)
14988         (tramp-smb-get-cifs-capabilities): New defuns.
14989         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14990         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14991         (tramp-smb-handle-file-local-copy)
14992         (tramp-smb-handle-make-directory-internal)
14993         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14994         The file name syntax depends on cifs capabilities.
14995         (tramp-smb-handle-file-attributes):
14996         Call `tramp-smb-do-file-attributes-with-stat' if possible.
14997         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14998         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15000 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
15002         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15003         (eieio-defclass): Apply deftype handler and setf-method properties
15004         directly.
15005         (eieio-add-new-slot): Avoid union function from cl library.
15006         (eieio--typep): New function.
15007         (eieio-perform-slot-validation): Use it.
15009 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15011         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15012         Update documentation to refer to the variables documented in r1.135.
15013         (Bug#4188)
15015 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15017         * bookmark.el (Info-suffix-list): Remove this unused variable.
15018         (bookmark-current-point): Remove this obsolete variable.
15019         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15020         Adjust for removal of bookmark-current-point.
15022         (bookmarks-already-loaded, bookmark-current-buffer)
15023         (bookmark-yank-point): Document.  (Bug#4188)
15025 2009-10-10  Glenn Morris  <rgm@gnu.org>
15027         * frame.el (frame-height): Doc fix.
15029         * calendar/calendar.el (calendar-split-width-threshold): New option.
15030         (calendar-basic-setup): Use calendar-split-width-threshold.
15032 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
15034         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15035         Ideographic Supplement" range (U+1F200..U+1F2FF).
15037 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15039         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15040         since the list will have been rebuilt anyway.  (Bug#4349)
15042 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15044         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15045         (bookmark-bmenu-execute-deletions): Don't save here, as
15046         bookmark-delete will now do so if necessary.
15047         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15048         (Bug#4348)
15050 2009-10-09  Glenn Morris  <rgm@gnu.org>
15052         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15054 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15056         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15057         (bookmark-jump-other-window): Just invoke bookmark-jump with new
15058         argument now, so the two function's behaviors will match.  (Bug#3645)
15060 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
15062         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15063         (tramp-file-name-real-host, tramp-file-name-port):
15064         Apply `save-match-data'.
15066         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15067         case both directories are remote.
15068         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15069         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15071 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
15073         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15075 2009-10-07  Glenn Morris  <rgm@gnu.org>
15077         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15078         of concat.
15080 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15082         * files-x.el (read-file-local-variable): Include some
15083         non-user-variables in the completion table (bug#4664).
15085 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
15087         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15088         message.
15090         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15091         (tramp-smb-file-name-handler-alist): Add handler for
15092         `copy-directory', `expand-file-name', `set-file-modes'.
15093         (tramp-smb-handle-copy-directory)
15094         (tramp-smb-handle-expand-file-name)
15095         (tramp-smb-handle-set-file-modes): New defuns.
15096         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15097         (tramp-smb-handle-file-attributes): Simplify check for retrieving
15098         entry.
15099         (tramp-smb-handle-insert-directory): Don't flush the cache.
15100         (tramp-smb-maybe-open-connection): Check for samba client and
15101         server versions.
15103 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
15105         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15106         to not error out of search for "^lisp=" fails.
15108 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
15110         * makefile.w32-in (WINS_UPDATES): New macro.
15111         (custom-deps, finder-data, autoloads): Use it.
15113 2009-10-07  Glenn Morris  <rgm@gnu.org>
15115         * Makefile.in (autoloads): Revert previous change.
15116         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15117         the list of preloaded files passed on the command-line, get
15118         it from src/Makefile.
15120         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15121         show the original buffer rather than a random one.
15123 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
15125         * help.el (describe-no-warranty): Place point in a slightly better
15126         position in the GPLv3 text.
15128 2009-10-06  Sam Steingold  <sds@gnu.org>
15130         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15131         the comm attribute is present before calling regexp-quote.
15133 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
15135         * play/animate.el (animate-string): For good effect, make sure
15136         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15138         * play/animate.el (animate-sequence, animate-birthday-present):
15139         * misc.el (butterfly): Don't set `indent-tabs-mode'.
15141 2009-10-06  Glenn Morris  <rgm@gnu.org>
15143         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15145         * emacs-lisp/autoload.el (autoload-excludes): New variable.
15146         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15147         (batch-update-autoloads): Process a string value of autoload-excludes,
15148         set during the build process.
15149         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
15151         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15152         inside with-parsed...  macro so that `v' is defined.
15154         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15155         * progmodes/fortran.el (fortran-end-of-block)
15156         (fortran-beginning-of-block):
15157         Also push mark in the macro case.
15159         * emerge.el (emerge-show-file-name):
15160         * calc/calc.el (calc-quit):
15161         * calc/calc-misc.el (calc-big-or-small):
15162         * calc/calc-graph.el (calc-graph-view):
15163         * calc/calc-ext.el (calc-reset):
15164         * calendar/calendar.el (calendar-basic-setup):
15165         Use window-full-height-p.
15167         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15168         header we don't understand, don't insert another.  (Bug#4624)
15169         If changing mime charset, insert the new one in the right place.
15171 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
15173         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15174         (cal-tex-cursor-month): Correctly increment the end date for diary and
15175         holiday listing.  (Bug#4626)
15177 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15179         * help-fns.el (describe-function-1): Don't burp if the function is not
15180         a symbol.
15182 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
15184         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15185         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15186         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15187         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15189         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15190         (eieio-default-superclass): Reflow docstrings.
15191         (this, class-option-assoc, defclass, eieio-class-un-autoload)
15192         (eieio-unbind-method-implementations, defmethod)
15193         (eieio-validate-slot-value, eieio-validate-class-slot-value)
15194         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15195         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15196         (eieio-slot-originating-class-p, eieio-slot-name-index)
15197         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15198         (constructor, initialize-instance, no-next-method, object-print)
15199         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15200         Fix typos in docstrings.
15201         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15202         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15203         (next-method-p): Doc fixes.
15204         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15205         Fix typos in error messages.
15206         (eieio-defmethod): Fix typo in description of generic method.
15208         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15209         (eieio-persistent-save-interactive, slot-missing):
15210         Fix typos in docstrings.
15211         (eieio-instance-inheritor-slot-boundp): Doc fix.
15213         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15214         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15216         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15217         (eieio-custom-object-apply-reset):
15218         Fix typos in docstrings and error messages.
15220         * emacs-lisp/eieio-datadebug.el (data-debug-show):
15221         Fix typo in docstring.
15223         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15224         (eieio-browse-tree): Doc fix.
15225         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15226         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15227         Fix typos in docstrings.
15229         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15230         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15231         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15232         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15233         Reflow docstrings.
15235 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
15237         * vc-hg.el (log-view-vc-backend): Declare for compiler.
15238         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15239         Set log-view-vc-backend so that diff can work.
15241         * log-view.el (log-view-diff): Use vc-diff-internal instead of
15242         vc-version-diff.
15243         (vc-diff-internal): Autoload this instead of vc-version-diff.
15245 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
15247         * simple.el (eval-expression): Doc fix.
15249         * progmodes/cwarn.el (cwarn-mode): Doc fix.
15251 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
15253         * files.el (directory-files-no-dot-files-regexp): New defconst.
15254         (delete-directory): Use it.
15255         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
15257         * net/tramp.el (tramp-verbose): Fix docstring.
15258         (tramp-methods): Add recursive option to `tramp-copy-args'.
15259         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
15260         "scp1_old", "scp2_old", "rsync", "rsyncc".
15261         (tramp-default-method): Check also for `auth-source-user-or-password'.
15262         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15263         Add handler for `copy-directory'.
15264         (tramp-handle-copy-directory): New defun.
15265         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15266         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15267         Optimize sent command.
15269 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15271         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15272         window if necessary.
15274         * calendar/calendar.el (calendar-basic-setup): Don't call
15275         switch-to-buffer in a dedicated window.
15277 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
15279         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15280         don't do anything related to relocating, just return nil.
15281         (bookmark-error-no-filename): New error.
15282         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15283         bookmark has no file.  Don't even attempt to handle things that
15284         are not files; the whole point of custom handlers is to keep that
15285         knowledge elsewhere anyway.  Tighten some comments.
15286         (bookmark-file-or-variation-thereof): Remove now-unused function.
15287         (bookmark-location): Doc string fix.
15288         (Bug#4250)
15290 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15292         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15293         don't use a file dialog, because they usually don't know how to read
15294         a directory target from the user.  (Bug#4230)
15295         Also, make sure the prompt can display directories as well as files.
15297 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15299         * bookmark.el (bookmark-set, bookmark-buffer-name):
15300         Improve doc strings.  (Bug#1193)
15302 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15304         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15305         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15306         (bookmark-get-annotation, bookmark-set-annotation)
15307         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15308         (bookmark-set-position, bookmark-get-front-context-string)
15309         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15310         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15311         (bookmark-jump-other-window, bookmark-handle-bookmark)
15312         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15313         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15314         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15315         Improve doc strings to say whether bookmark can be a string or
15316         a record or both, and make other consistency and clarity fixes.
15317         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15318         (bookmark-default-annotation-text, bookmark-yank-word)
15319         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15320         (bookmark-import-new-list, bookmark-maybe-rename)
15321         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15322         (bookmark-bmenu-bookmark): Give these doc strings.
15323         (bookmark-bmenu-check-position): Give this a doc string, but also
15324         add a FIXME comment about how the function may be pointless.
15325         (bookmark-default-handler): Rework doc string and change a
15326         parameter name, to clarify that this takes a bookmark record
15327         not a bookmark name.
15328         (bookmark-set): Change a parameter name to indicate its meaning,
15329         and improve the doc string a bit.
15330         (Bug#4188)
15332 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15334         * bookmark.el (bookmark-alist): Document the new `handler' element
15335         in the param alist.
15336         (bookmark-make-record-function): Adjust documentation for above.
15337         (Bug#4193)
15339 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15341         * info.el (Info-bookmark-make-record): Document this function.
15342         (Info-bookmark-jump): Document with a doc string, not just a comment.
15343         (Bug#4203)
15345 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
15347         * files.el (copy-directory): New defun.
15349         * dired-aux.el (dired-copy-file-recursive): Use it.
15351 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
15353         * files-x.el (modify-dir-local-variable)
15354         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15355         docstrings.
15357         * recentf.el (recentf-unload-function): New function.
15359 2009-10-04  Glenn Morris  <rgm@gnu.org>
15361         * window.el (window-full-height-p): Add doc string.
15363 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
15365         * window.el (window-full-height-p): New function.  (Bug#4543)
15367 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
15369         * vc.el: Remove commented out code.
15370         (vc-derived-from-dir-mode): Remove, unused.
15371         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15373 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
15375         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15376         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
15377         there could be recursive loading when `default-directory' is a
15378         remote file name.  (Bug#4614)
15380 2009-10-03  Glenn Morris  <rgm@gnu.org>
15382         * calendar/calendar.el (calendar-basic-setup): Handle the case where
15383         the frame is wide.
15384         (calendar-generate-window): Test for shrinkability rather than width.
15386         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15387         reusing existing buffers, in case we happen to visit two files with the
15388         same basename.  (Bug#4593)
15390 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15392         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15393         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15394         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15395         subdirs of cedet as well.
15396         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15398 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15400         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15401         Obey advertised-signature-table.
15403         * help-fns.el (help-function-arglist): Don't check
15404         advertised-signature-table.
15405         (describe-function-1): Do it here instead so it also applies to subrs.
15407 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
15409         * simple.el (start-file-process): Say in the doc-string, that file
15410         handlers might not support pty association, if PROGRAM is nil.
15412         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15413         HOST and USER are strings.  They are nil, when there are
15414         incomplete entries in ~/.netrc, for example.
15415         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
15416         root directory ("device busy" error otherwise).
15418         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15419         Flush file properties of created directory.
15421 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15423         * makefile.w32-in (WINS_BASIC): Remove cedet.
15424         (WINS_CEDET): Add cedet.
15425         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15427 2009-10-02  Kevin Ryde  <user42@zip.com.au>
15429         * net/browse-url.el (browse-url): Pass any symbol in
15430         browse-url-browser-function to `apply', since if you've mistakenly put
15431         an unbound symbol then the error is clearer.  (Bug#4531)
15433 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15435         * allout.el (allout-init, allout-back-to-current-heading)
15436         (allout-beginning-of-current-entry, allout-ascend-to-depth)
15437         (allout-ascend, allout-up-current-level, allout-end-of-level)
15438         (allout-previous-visible-heading, allout-forward-current-level)
15439         (allout-backward-current-level, allout-show-children):
15440         * apropos.el (apropos-describe-plist):
15441         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15442         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15443         * completion.el (add-completion, add-permanent-completion):
15444         * descr-text.el (describe-text-category, describe-char):
15445         * desktop.el (desktop-lazy-abort):
15446         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15447         * dired.el (dired-build-subdir-alist):
15448         * ediff.el (ediff-version):
15449         * elide-head.el (elide-head, elide-head-show):
15450         * emerge.el (emerge-version):
15451         * env.el (getenv):
15452         * face-remap.el (variable-pitch-mode):
15453         * faces.el (describe-face):
15454         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15455         (dired-at-point):
15456         * files.el (find-file-existing, auto-save-mode):
15457         * font-lock.el (font-lock-fontify-buffer):
15458         * help-fns.el (describe-function, describe-variable)
15459         (describe-syntax, describe-categories):
15460         * help.el (view-lossage, describe-bindings, describe-key)
15461         (describe-mode):
15462         * hexl.el (hexl-current-address):
15463         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15464         * info.el (Info-goto-emacs-key-command-node):
15465         * log-edit.el (log-edit-insert-cvs-template)
15466         (log-edit-insert-cvs-rcstemplate):
15467         * menu-bar.el (menu-bar-mode):
15468         * mouse.el (mouse-appearance-menu):
15469         * newcomment.el (comment-indent-new-line):
15470         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15471         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15472         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15473         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15474         * recentf.el (recentf-mode):
15475         * savehist.el (savehist-mode, savehist-save):
15476         * shadowfile.el (shadow-copy-files):
15477         * simple.el (kill-ring-save, next-line, previous-line)
15478         (normal-erase-is-backspace-mode):
15479         * strokes.el (strokes-update-window-configuration)
15480         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15481         (strokes-xpm-for-stroke):
15482         * time.el (emacs-uptime, emacs-init-time):
15483         * tutorial.el (tutorial--describe-nonstandard-key)
15484         (tutorial--detailed-help):
15485         * type-break.el (type-break-mode)
15486         (type-break-mode-line-message-mode, type-break-query-mode)
15487         (type-break-guesstimate-keystroke-threshold):
15488         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15489         * version.el (emacs-version):
15490         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15491         * winner.el (winner-mode):
15492         * calendar/timeclock.el (timeclock-in, timeclock-out)
15493         (timeclock-status-string, timeclock-change)
15494         (timeclock-workday-remaining-string)
15495         (timeclock-workday-elapsed-string)
15496         (timeclock-when-to-leave-string):
15497         * calendar/todo-mode.el (todo-add-category):
15498         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15499         * emacs-lisp/autoload.el (update-file-autoloads):
15500         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15501         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15502         (checkdoc-message-text, checkdoc-defun):
15503         * emacs-lisp/debug.el (debugger-list-functions):
15504         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15505         * emacs-lisp/eieio-opt.el (eieio-describe-class)
15506         (eieio-describe-generic):
15507         * emacs-lisp/lisp-mnt.el (lm-synopsis):
15508         * emacs-lisp/shadow.el (list-load-path-shadows):
15509         * emulation/cua-base.el (cua-mode):
15510         * emulation/edt.el (edt-set-scroll-margins):
15511         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15512         (tpu-toggle-regexp, tpu-toggle-search-direction)
15513         (tpu-toggle-rectangle, tpu-toggle-control-keys):
15514         * emulation/tpu-extras.el (tpu-set-scroll-margins):
15515         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15516         (viper-set-parsing-style-toggling-macro)
15517         (viper-set-emacs-state-searchstyle-macros):
15518         * emulation/viper.el (viper-set-hooks):
15519         * eshell/esh-mode.el (eshell-truncate-buffer):
15520         * international/mule-cmds.el (prefer-coding-system)
15521         (describe-input-method, describe-language-environment):
15522         * international/mule-diag.el (list-character-sets)
15523         (describe-character-set, describe-coding-system)
15524         (describe-fontset, list-fontsets, list-input-methods):
15525         * mail/sendmail.el (mail-signature):
15526         * net/ange-ftp.el (ange-ftp-copy-file):
15527         * net/browse-url.el (browse-url):
15528         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15529         * net/quickurl.el (quickurl-add-url):
15530         * net/rcirc.el (names, topic):
15531         * net/xesam.el (xesam-mode):
15532         * play/5x5.el (5x5-new-game):
15533         * play/yow.el (apropos-zippy):
15534         * progmodes/ada-mode.el (ada-mode-version):
15535         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15536         (f90-end-of-block)
15537         (f90-beginning-of-block):
15538         * progmodes/fortran.el (fortran-end-of-block)
15539         (fortran-beginning-of-block):
15540         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15541         * progmodes/python.el (python-describe-symbol, python-shell):
15542         * term/ns-win.el (ns-print-buffer):
15543         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15544         * textmodes/flyspell.el (flyspell-mode-on):
15545         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15546         (pages-directory-for-addresses):
15547         * textmodes/table.el (table-recognize-cell)
15548         (table-query-dimension, table-generate-source)
15549         (table-insert-sequence, table--warn-incompatibility):
15550         * textmodes/tex-mode.el (tex-validate-buffer):
15551         * textmodes/texinfmt.el (texinfmt-version)
15552         (texinfo-format-buffer):
15553         Use `called-interactively-p' instead of `interactive-p'.
15555 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15557         * image-mode.el (image-toggle-display):
15558         * emacs-lisp/elp.el (elp-instrument-function):
15559         * emacs-lisp/advice.el (ad-make-advised-definition):
15560         * emacs-lisp/easy-mmode.el (define-minor-mode):
15561         * net/browse-url.el (browse-url-maybe-new-window):
15562         * progmodes/sh-script.el (sh-learn-buffer-indent):
15563         Pass new argument 'any to `called-interactively-p'.
15565 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
15567         * international/uni-bidi.el:
15568         * international/uni-category.el:
15569         * international/uni-combining.el:
15570         * international/uni-comment.el:
15571         * international/uni-decimal.el:
15572         * international/uni-decomposition.el:
15573         * international/uni-digit.el:
15574         * international/uni-lowercase.el:
15575         * international/uni-mirrored.el:
15576         * international/uni-name.el:
15577         * international/uni-numeric.el:
15578         * international/uni-old-name.el:
15579         * international/uni-titlecase.el:
15580         * international/uni-uppercase.el:
15581         Regenerate from Unicode 5.2.0 data.
15583 2009-10-01  Glenn Morris  <rgm@gnu.org>
15585         * Makefile.in (ELCFILES): Regenerate.
15587 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15589         * subr.el (interactive-p): Mark obsolete.
15590         (called-interactively-p): Make the optional-ness of `kind' obsolete.
15591         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15592         advertised-signature-table for subroutines as well.
15594         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15595         (set-advertised-calling-convention): New function.
15596         (make-obsolete, define-obsolete-function-alias)
15597         (make-obsolete-variable, define-obsolete-variable-alias):
15598         Make the optional-ness of `when' obsolete.
15599         (define-obsolete-face-alias): Make `when' non-optional.
15600         * help-fns.el (help-function-arglist):
15601         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15602         Use advertised-signature-table.
15604 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
15606         * files.el (delete-directory): New defun.  The original function
15607         in fileio.c has been renamed to `delete-directory-internal'.
15609         * dired.el (dired-delete-file): Call `delete-directory' with
15610         RECURSIVE parameter.
15612         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15613         parameter RECURSIVE.  Implementation is missing.
15615         * net/tramp.el (tramp-handle-make-directory): Flush upper
15616         directory's file properties.
15617         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15618         (tramp-handle-dired-recursive-delete-directory): Flush directory
15619         properties after the remove command only.
15621         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15622         Handle optional parameter RECURSIVE.
15624         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15625         Handle optional parameter RECURSIVE.
15627         * net/tramp-smb.el (tramp-smb-errors): Add error message for
15628         connection timeout.
15629         (tramp-smb-handle-delete-directory): Handle optional parameter
15630         RECURSIVE.
15632 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15634         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15635         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15636         (byte-compile-defmacro): Use backquotes.
15638         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15640         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15641         has no associated file.
15642         (vc-resynch-buffer): Use vc-dir-buffers.
15644 2009-10-01  Glenn Morris  <rgm@gnu.org>
15646         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15647         (chart-file-count):
15648         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15649         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15650         * emacs-lisp/eieio-opt.el (eieio-describe-class):
15651         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15652         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15653         (eieio-copy-parents-into-subclass, make-instance, class-children)
15654         (eieio-generic-form):
15656         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15657         match-data.  (Bug#4555).
15659         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15660         rather than parsing it as a regexp.  This relaxes the layout
15661         requirements and makes errors easier to detect.
15662         (check-declare-verify): Check file is regular.
15663         (check-declare-directory): Doc fix.
15664         * subr.el (declare-function): Doc fix.
15666         * ibuffer.el (ibuffer-format-qualifier):
15667         * isearch.el (hi-lock-regexp-okay):
15668         * calc/calc.el (math-zerop):
15669         * mail/uce.el (rmail-msgbeg, rmail-msgend):
15670         * term/w32-win.el (setup-default-fontset, set-fontset-font):
15671         Remove unused declarations.
15673 2009-09-30  Eric Ludlam  <zappo@gnu.org>
15675         * emacs-lisp/eieio.el (boolean-p): Delete.
15677 2009-09-30  Glenn Morris  <rgm@gnu.org>
15679         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15681         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15682         filename is not a string.
15684 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
15686         * files.el (safe-local-eval-forms): Fix typo.
15688 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15690         * vc-hooks.el (vc-dir-buffers): New var.
15691         (vc-state-refresh): New function.
15692         (vc-state): Use it.
15693         (vc-after-save): Always ask the backend to recompute the new state.
15694         Always call vc-dir if necessary, using vc-dir-buffers.
15695         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15696         Use vc-dir-buffers.
15697         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15698         (vc-dir-prepare-status-buffer, vc-dir-update)
15699         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15700         Don't call expand-file-name on default-directory.
15702 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15704         * speedbar.el (speedbar-item-delete):
15705         * calc/calc-prog.el (calc-kbd-if):
15706         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15708         * epa.el (epa-key-list-mode-map):
15709         * hi-lock.el (hi-lock-menu): Fix typos in menus.
15711         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15712         (hs-show-hook): Fix typo in docstring.
15714 2009-09-29  Glenn Morris  <rgm@gnu.org>
15716         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15717         file-name-nondirectory call preventing location of cedet files.
15718         (check-declare-verify): Use literal search rather than re-search.
15719         Add basic defmethod and defclass, and define-overloadable-function.
15721         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15722         Use tramp-compat-file-attributes rather than nonexistent
15723         tramp-compat-handle-file-attributes.
15725         * Makefile.in (lisptagsfiles4): New.
15726         (AUTOGENEL): Add cedet loaddefs files.
15727         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15728         (update-elclist, compile-always, backup-compiled-files)
15729         (bootstrap-clean): Add yet another directory level.
15730         (update-elclist): Use LC_COLLATE rather than COLLATE.
15731         (ELCFILES): Update, via `make update-elclist'.
15733 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15735         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15736         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15737         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15739 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15741         * Makefile.in (lisptagsfiles3): Define.
15742         (TAGS, TAGS-LISP): Use it.
15743         (update-elclist): Add third directory level to look for elc files.
15744         (compile-always): Likewise.
15745         (backup-compiled-files): Likewise.
15746         (bootstrap-clean): Likewise.
15747         (ELCFILES): Update.
15749 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
15751         * Makefile.in (ELCFILES): Add CEDET files.
15753 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
15755         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15757         * net/tramp.el (top): Require tramp-imap.
15759         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15760         Use `tramp-compat-handle-file-attributes'.
15762 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
15764         * net/tramp-imap.el: New package.
15766 2009-09-28  Eric Ludlam  <zappo@gnu.org>
15768         * emacs-lisp/chart.el:
15769         * emacs-lisp/eieio-base.el:
15770         * emacs-lisp/eieio-comp.el:
15771         * emacs-lisp/eieio-custom.el:
15772         * emacs-lisp/eieio-datadebug.el:
15773         * emacs-lisp/eieio-opt.el:
15774         * emacs-lisp/eieio-speedbar.el:
15775         * emacs-lisp/eieio.el: New files.
15777 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15779         * whitespace.el (whitespace-trailing-regexp)
15780         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15781         Fix doc string.
15783 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
15785         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15786         menu.
15788         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15789         menu-bar-ediff-menu.
15791         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15792         define-overloadable-function.
15794         * progmodes/autoconf.el: Provide autoconf as well, so that this
15795         file can be `require'd.
15797         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15799         * emacs-lisp/autoload.el (generated-autoload-feature)
15800         (generated-autoload-load-name): New vars.
15801         (autoload-rubric, autoload-generate-file-autoloads): Use them.
15802         (make-autoload): Recognize define-overloadable-function and
15803         defclass forms (for EIEIO).
15805         * Makefile.in (update-subdirs): Exclude cedet directory.
15807 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
15809         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
15811         * faces.el: Default light-background background for region face to
15812         ns_selection_color under NS.
15814 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
15816         * net/imap-hash.el: New library, see NEWS.
15818         * Makefile.in (ELCFILES): Add imap-hash.el.
15820 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15822         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15823         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15824         * help-macro.el (make-help-screen): Avoid using an ambiguous function
15825         definition where the docstring could be taken for the return value.
15827 2009-09-26  Glenn Morris  <rgm@gnu.org>
15829         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15830         Add option to only show images below a certain size.
15831         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15832         save-excursion calls.
15834 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
15836         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15837         subdirectories) and eieio.
15839 2009-09-26  Alan Mackenzie  <acm@muc.de>
15841         * progmodes/cc-engine.el (c-beginning-of-statement-1):
15842         Correct buggy bracketing.  (Bug#4289)
15844         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15845         character constants (as case labels).  (Bug#4289)
15847 2009-09-25  Juri Linkov  <juri@jurta.org>
15849         * files.el (safe-local-eval-forms): Allow time-stamp in
15850         before-save-hook (Bug#4554).
15852 2009-09-25  Drew Adams  <drew.adams@oracle.com>
15854         * menu-bar.el (list-buffers-directory): Doc fix.
15856 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15858         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15859         Try and avoid copying twice the same paragraph.
15860         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15861         Remove save-excursion.
15862         (log-edit-changelog-entry): Do it here instead.
15864 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
15866         * bs.el (bs--get-file-name): Use `list-buffers-directory'
15867         when available, instead of hardcoding mode names.  Doc fix.
15869         * menu-bar.el (list-buffers-directory): Add docstring.
15870         Make automatically buffer-local.
15872         * dired.el (dired-mode):
15873         * files.el (cd-absolute):
15874         * pcvs.el (cvs-temp-buffer):
15875         * pcvs-util.el (cvs-get-buffer-create):
15876         * shell.el (shell-mode):
15877         * vc-dir.el (vc-dir-mode):
15878         Don't make `list-buffers-directory' buffer local.
15880 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
15882         * comint.el (comint-exec, comint-run, make-comint):
15883         Doc fixes (Bug#4542).
15885 2009-09-25  Glenn Morris  <rgm@gnu.org>
15887         * mail/rmailmm.el (rmail-mime): New custom group.
15888         Move all defcustoms in this file into this group.
15889         (rmail-mime-media-type-handlers-alist): Revert previous change.
15890         (rmail-mime-show-images): New option.
15891         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15892         references to it, since it wasn't actually used for anything.
15893         (rmail-mime-insert-image): New function.
15894         (rmail-mime-image): Use rmail-mime-insert-image.
15895         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15896         obey the value of `rmail-mime-show-images' option.  Print the size of
15897         attachments.
15899 2009-09-25  David Engster  <deng@randomsample.de>
15901         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
15903 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15905         * whitespace.el: Does not highlight trailing spaces While point is
15906         at end of line.  Does not highligt spaces at beginning of buffer
15907         while point is at beginning of buffer.  Does not highlight spaces
15908         at end of buffer while point is at end of buffer.  (Bug#4177)
15909         New version 12.0.
15910         (whitespace-display-mappings): Adjust initialization.
15911         (whitespace-point, whitespace-font-lock-refontify): New vars.
15912         (whitespace-color-on, whitespace-color-off): Adjust code.
15913         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15914         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15915         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15917 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
15919         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15921         * textmodes/sgml-mode.el: Remove xml-mode alias.
15923         * files.el (auto-mode-alist, conf-mode-maybe)
15924         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15926 2009-09-24  Alan Mackenzie  <acm@muc.de>
15928         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15929         c-forward-conditionals, but it doesn't move point and doesn't set
15930         the mark.
15931         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15932         (c-down-conditional-with-else, c-backward-conditional)
15933         (c-forward-conditional): Refactor to use c-scan-conditionals.
15935 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15937         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15938         (help-default-arg-highlight): Remove.
15939         (help-highlight-arg): New function.
15940         (help-do-arg-highlight): Use it.
15941         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
15943 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15945         * term.el (term-set-scroll-region, term-handle-ansi-escape):
15946         Undo last change, which didn't fix the problem and introduced others.
15948 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
15950         * progmodes/gdb-mi.el: Don't require speedbar.
15951         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15953 2009-09-24  Glenn Morris  <rgm@gnu.org>
15955         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15957         * term/ns-win.el (ns-reg-to-script): Define for compiler.
15959         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15960         there is no newline after the final mime boundary.  (Bug#4539)
15961         Move markers on insertion so that any buttons inserted don't end up in
15962         the next part of a multipart message.
15963         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
15964         (rmail-mime-bulk-handler): Optionally handle images.
15965         (rmail-mime-image): New button action.
15966         (rmail-mime-image-handler): New function.
15967         (rmail-mime-mode): New mode.
15968         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
15970 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15972         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15973         than just dropping elements from it (bug#4504).
15975         * term.el (term-set-scroll-region): Don't move cursor any more.
15976         (term-handle-ansi-escape): Call term-goto here instead.
15977         Suggested by Ivan Kanis <apple@kanis.eu>.
15979         * term.el: Require CL.
15980         (term-ansi-reset): New function.
15981         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15982         (term-handle-colors-array): Simplify.
15984 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15986         * allout.el (allout-overlay-interior-modification-handler)
15987         (allout-obtain-passphrase):
15988         * epa-file.el (epa-file-write-region):
15989         * ps-print.el (ps-begin-job):
15990         * vc-hooks.el (vc-toggle-read-only):
15991         * vc-rcs.el (vc-rcs-rollback):
15992         * vc-sccs.el (vc-sccs-rollback):
15993         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15994         (vc-version-diff, vc-revert, vc-rollback):
15995         * wdired.el (wdired-check-kill-buffer):
15996         * emacs-lisp/authors.el (authors):
15997         * net/socks.el (socks-open-connection):
15998         * net/zeroconf.el (zeroconf-service-add-hook):
15999         * obsolete/vc-mcvs.el (vc-mcvs-register):
16000         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16001         (gdb-select-frame):
16002         * progmodes/grep.el (lgrep, rgrep):
16003         * progmodes/idlw-help.el (idlwave-help-check-locations)
16004         (idlwave-help-html-link, idlwave-help-assistant-open-link):
16005         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16006         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16007         (reftex-toc-rename-label): Fix typos in error messages.
16009         * dired-aux.el (dired-do-shell-command): Reflow docstring.
16010         (dired-copy-how-to-fn): Doc fix.
16011         (dired-files-attributes, dired-read-shell-command):
16012         Fix typos in docstrings.
16014         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16015         (dired-x-find-file-other-window): Reflow docstrings.
16016         (dired-omit-marker-char, dired-read-shell-command)
16017         (dired-x-submit-report): Fix typos in docstrings.
16019         * shell.el (shell-mode-hook):
16020         * view.el (View-scroll-line-forward):
16021         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16022         Fix typos in docstrings.
16024         * net/dig.el (dig-invoke): Fix typo in docstring.
16025         (query-dig): Reflow docstring.
16027         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16028         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16029         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16030         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16031         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16032         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16033         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16034         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16035         (idlwave-completion-map, idlwave-current-indent)
16036         (idlwave-custom-ampersand-surround, idlwave-customize)
16037         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16038         (idlwave-define-abbrev, idlwave-determine-class-special)
16039         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16040         (idlwave-end-block-reg, idlwave-end-of-statement)
16041         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16042         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16043         (idlwave-explicit-class-listed, idlwave-file-header)
16044         (idlwave-fill-paragraph, idlwave-find-class-definition)
16045         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16046         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16047         (idlwave-in-quote, idlwave-indent-action-table)
16048         (idlwave-indent-expand-table, idlwave-indent-line)
16049         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16050         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16051         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16052         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16053         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16054         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16055         (idlwave-outlawed-buffers, idlwave-popup-select)
16056         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16057         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16058         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16059         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16060         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16061         (idlwave-statement-type, idlwave-struct-skip)
16062         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16063         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16064         (idlwave-what-module-find-class): Fix typos in docstrings.
16065         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16066         (idlwave-calculate-cont-indent, idlwave-expand-equal)
16067         (idlwave-find-module, idlwave-find-structure-definition)
16068         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16069         (idlwave-list-load-path-shadows, idlwave-next-statement)
16070         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16071         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16072         (idlwave-template): Reflow docstrings.
16074         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16075         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16076         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16077         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16078         (idlwave-shell-display-line, idlwave-shell-display-wframe)
16079         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16080         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16081         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16082         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16083         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16084         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16085         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16086         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16087         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16088         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16089         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16090         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16091         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16092         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16093         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16094         Fix typos in docstrings.
16095         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16096         (idlwave-shell-hide-output, idlwave-shell-mode)
16097         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16098         Reflow docstrings.
16100         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16102 2009-09-24  Ivan Kanis  <apple@kanis.eu>
16104         * term.el (term-bold-attribute): New var.
16105         (term-handle-colors-array): Use it.
16107 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
16109         * progmodes/gdb-mi.el (gdb-version): New variable.
16110         (gdb-non-stop-handler): Set gdb-version.
16111         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16112         Condition "--thread" option on gdb-version.
16113         (gdb-invalidate-threads): Remove unused argument.
16115 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16117         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16118         to looking-back to avoid ridiculous slow down in large files (bug#4511).
16120 2009-09-23  Glenn Morris  <rgm@gnu.org>
16122         * mail/rmail.el (rmail-reply): Don't try to add a References header when
16123         replying to mail without References or Message-Id.  (Bug#4525)
16125 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
16127         * term/ns-win.el (ns-reg-to-script): New variable.
16129 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
16131         * epg.el (epg-wait-for-status): Preserve existing 'error results.
16133 2009-09-22  Sam Steingold  <sds@gnu.org>
16135         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16136         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16137         to 1 because hg returns status 1 when nothing is found.
16138         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16140 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16142         * textmodes/fill.el: Convert to utf-8 encoding.
16143         (fill-french-nobreak-p): Remove redundant » and « inherited from our
16144         pre-Unicode days.
16146         * add-log.el (change-log-fill-forward-paragraph): New function.
16147         (change-log-mode): Use it so fill-region DTRT.
16148         Set fill-indent-according-to-mode here rather than in
16149         change-log-fill-paragraph.
16150         (change-log-fill-paragraph): Remove.
16152 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
16154         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16155         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
16157 2009-09-22  Glenn Morris  <rgm@gnu.org>
16159         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16160         the scroll-bar scroll the calendar window rather than the buffer.
16162         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16163         commands that move point (as opposed to scrolling).
16165         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16167         * emacs-lisp/elint.el (elint): New custom group.
16168         (elint-log-buffer): Make it a defcustom.
16169         (elint-scan-preloaded, elint-ignored-warnings)
16170         (elint-directory-skip-re): New options.
16171         (elint-builtin-variables): Doc fix.
16172         (elint-preloaded-env): New variable.
16173         (elint-unknown-builtin-args): Add an entry for encode-time.
16174         (elint-extra-errors): Make it a variable rather than a constant.
16175         (elint-preloaded-skip-re): New constant.
16176         (elint-directory): Skip files matching elint-directory-skip-re.
16177         (elint-features): New variable, local to linted buffers.
16178         (elint-update-env): Initialize elint-features.  Possibly add
16179         elint-preloaded-env to the buffer's environment.
16180         (elint-get-top-forms): Bind elint-current-pos, for log messages.
16181         Skip quoted forms.
16182         (elint-init-form): New function, extracted from elint-init-env.
16183         Make non-list forms a warning rather than an error.
16184         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
16185         easy-menu-define, put that adds an error-condition, and provide.
16186         When requiring cl, also require cl-macs.  Really require cl, to handle
16187         some cl macros.  Store required libraries in the list elint-features,
16188         so as not to re-load them.  Treat cc-require like require.
16189         (elint-init-env): Call elint-init-form to do the work.
16190         Handle eval-and-compile and such like.
16191         (elint-add-required-env): Do not clear messages.
16192         (elint-special-forms): Add handlers for function, defalias, if, when,
16193         unless, and, or.
16194         (elint-form): Add optional argument to ignore elint-special-forms,
16195         useful to prevent recursive calls from handlers.  Doc fix.
16196         Respect elint-ignored-warnings.
16197         (elint-form): Respect elint-ignored-warnings.
16198         (elint-bound-variable, elint-bound-function): New variables.
16199         (elint-unbound-variable): Respect elint-bound-variable.
16200         (elint-get-args): Respect elint-bound-function.
16201         (elint-check-cond-form): Add some simple handling for (f)boundp and
16202         featurep tests.
16203         (elint-check-defalias-form): New handler.
16204         (elint-check-let-form): Make an empty let a warning rather than an
16205         error.
16206         (elint-check-setq-form): Make an empty setq a warning rather than an
16207         error.  Respect elint-ignored-warnings.
16208         (elint-check-defvar-form): Accept null doc-strings.
16209         (elint-check-conditional-form): New handler.  Does some simple-minded
16210         checking of featurep and (f)boundp tests.
16211         (elint-put-function-args): New function.
16212         (elint-initialize): Use elint-scan-doc-file rather than
16213         elint-find-builtin-variables.  Use elint-put-function-args.
16214         Possibly scan preloaded-file-list.
16215         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16216         extend to handle functions as well.
16218 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
16220         * linum.el (linum-delete-overlays, linum-update-window):
16221         Do not modify the right margin.  (Bug#3971)
16223 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
16225         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16226         Use nxml-mode instead of xml-mode.
16228 2009-09-21  Kevin Ryde  <user42@zip.com.au>
16230         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
16232 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16234         * net/dig.el (dig-mode): Use define-derived-mode.
16236 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
16238         * vc-dispatcher.el (vc-do-command): Return the process object in
16239         the asynchronous case.  Use when instead of if.  Do not run
16240         vc-exec-after to display a message if not enabled.  (Bug#4463)
16242         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16243         properties to the stash strings.
16244         (vc-git-stash-list): Return a list of strings.
16245         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16246         (vc-git-stash-show-at-point): New functions.
16247         (vc-git-stash-map): New keymap.
16249         * register.el (ctl-x-r-map): Define the keys here instead of
16250         using autoload.
16252 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
16254         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16255         list, to workaround performance problem (bug#4485).
16257 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
16259         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16261 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
16263         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16264         Document that this option is not recommended to use.
16266 2009-09-19  Glenn Morris  <rgm@gnu.org>
16268         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16269         variable `var'.
16271         * calc/calc-alg.el (var):
16272         * calc/calcalg2.el (var): Define for compiler.
16274 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
16276         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16277         Doc fix (Bug#3932).
16279         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16281         * time-stamp.el (time-stamp-month-dd-yyyy)
16282         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16283         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16284         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16285         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16286         Remove functions that have been obsolete since 1995 (Bug#4436).
16288         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16289         indent buffer only if called interactively (Bug#4452).
16291 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
16292             Eli Zaretskii  <eliz@gnu.org>
16294         This fixes bug#4197 (merged to bug#865, though not identical).
16295         * server.el (server-auth-dir): Add docstring note about FAT32.
16296         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16297         but warn against using them.
16299 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
16301         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16302         older GDB where there is no has_more field.
16304 2009-09-19  Glenn Morris  <rgm@gnu.org>
16306         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16308 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
16310         * files.el (auto-mode-alist): Change default for XML files to nXML
16311         mode (Bug#4169).
16313 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
16315         * server.el (server-ensure-safe-dir): Pass 'integer
16316         to `file-attributes', as suggested.
16318 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16320         * dired-aux.el (dired-query-alist): Remove spurious backslash.
16321         (dired-query): Use read-key.
16323 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
16325         * cus-start.el (ns-use-qd-smoothing): Remove.
16327 2009-09-18  Glenn Morris  <rgm@gnu.org>
16329         * allout.el (top-level): Remove unnecessary progn.
16331         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16333         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16334         definition of abbrev table.
16336         * speedbar.el (speedbar-track-mouse):
16337         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16338         * net/eudc.el (eudc-expand-inline):
16339         * net/newst-backend.el (newsticker--cache-read-feed):
16340         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16341         condition-case handlers.
16343 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
16345         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16346         (gdb-var-list): Add an element for has_more field.
16347         (gdb-non-stop-handler): Enable pretty printing for STL containers.
16348         (gdb-var-create-handler, gdb-var-list-children-handler-1)
16349         (gdb-var-update-handler-1): Parse output of dynamic variable
16350         objects (STL containers).
16351         (gdb-var-delete-1): Pass var1 as an explicit second argument.
16352         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
16354         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16355         gdb-var-list.
16356         (gud-speedbar-buttons): Make node expandable if expression "has more"
16357         children.
16359 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
16361         * startup.el (emacs-quick-startup): Remove variable and all uses.
16362         (command-line): Set `inhibit-x-resources' instead.
16363         (command-line-1): Use `inhibit-x-resources' instead.
16365 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
16367         * subr.el: Fix last change to avoid using the `unless' macro,
16368         which breaks bootstrapping.
16370 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16372         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16373         extended definitions, in case we reload subr.el after having
16374         loaded CL.
16375         (eval-next-after-load): Mark as obsolete.
16377 2009-09-17  Juri Linkov  <juri@jurta.org>
16379         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16380         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16381         (menu-bar-showhide-menu, menu-bar-tools-menu)
16382         (menu-bar-describe-menu, menu-bar-help-menu)
16383         (minibuffer-local-completion-map, minibuffer-local-map):
16384         Fix list quoting.
16386 2009-09-17  Glenn Morris  <rgm@gnu.org>
16388         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16389         arguments, whether or not it has a handler.
16391         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16393         * simple.el (hard-newline): Give it a doc-string.
16395         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16396         (lisp-mode-syntax-table): Give them doc-strings.
16398 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
16400         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16401         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16402         (menu-bar-options-menu, menu-bar-showhide-menu)
16403         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16404         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16405         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16406         (menu-bar-options-menu, menu-bar-tools-menu)
16407         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16408         (menu-bar-help-menu):
16409         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16410         string arguments.
16412         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16413         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16414         calls for the menu names and :help.
16416 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16418         * mouse.el (minor-mode-menu-from-indicator): Pay attention
16419         to :minor-mode-function (bug#4455).
16421 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16423         * startup.el (command-line): Initialize the window-system after
16424         processing the command-line.
16426         * textmodes/page.el (what-page): Make sure we don't inf-loop if
16427         page-delimiter matches the empty string.
16429 2009-09-16  Glenn Morris  <rgm@gnu.org>
16431         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16432         byte-compile-not-obsolete-var.  It's a list now.
16433         (byte-compile-not-obsolete-funcs): New variable.
16434         (byte-compile-warn-obsolete): Don't warn about functions if they are in
16435         byte-compile-not-obsolete-funcs.
16436         (byte-compile-variable-ref, byte-compile-defvar): Update for
16437         byte-compile-not-obsolete-vars name-change and list nature.
16438         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16439         and variables behind (f)boundp tests.
16440         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16442 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16444         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16446 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16448         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16449         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16450         Don't autoload.
16452 2009-09-15  Stephen Eglen  <stephen@gnu.org>
16454         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16455         the virtual-buffers, use the name of the buffer specified by
16456         find-file-noselect, as the match may be a symlink.  (This was a
16457         problem if the target and the symlink had different names.)
16459 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16461         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16463         * desktop.el (desktop-path): Check user-emacs-directory.
16465         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16467         * loadup.el: Use after-load-functions to GC after loading each file.
16468         Remove the explicit GC calls that used to be sprinkled around.
16470         * subr.el (after-load-functions): New hook.
16471         (do-after-load-evaluation): Run it.  Use string-match-p to detect
16472         `obsolete' packages, rather than painfully extracting the relevant
16473         directory name.
16475 2009-09-15  Glenn Morris  <rgm@gnu.org>
16477         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16478         free variable `doc'.
16480         * dired.el (dired-mode-map): Add menu entry for async shell command.
16482         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16483         variables, also consider the .elc files, since the .el files are
16484         normally gzipped (subsequent code locates the .el.gz from the .elc).
16486         * calc/calc-prog.el (arglist): Define for compiler.
16488         * calendar/diary-lib.el (diary-display-function): Change the default to
16489         fancy display.
16490         (body): Define for compiler.
16492         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16493         (byte-compile-file-form, byte-compile-lambda)
16494         (byte-compile-top-level-body, byte-compile-form)
16495         (byte-compile-variable-ref, byte-compile-setq)
16496         (byte-compile-setq-default, byte-compile-body)
16497         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16498         (batch-byte-compile): Give some more local variables with common names
16499         a "bytecomp-" prefix to avoid masking warnings about free variables.
16501         * startup.el (command-line-1): Give local variables with common names a
16502         distinguishing prefix, so as not to hide free variable warnings during
16503         bootstrap.
16505         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16506         clever and add a suffix to make a unique name, just let the user decide
16507         whether or not to overwrite it.  If the input is a directory, write the
16508         default filename to that directory.  (Bug#4388)
16509         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16510         is a filename-as-a-directory.
16512 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16514         * textmodes/page.el (what-page): Don't move to beginning of line.
16515         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16517 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16519         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16521 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
16523         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16524         * help.el (help-for-help-internal): Add purecopy calls for text.
16526         * vc.el (top): print-log method now takes an optional SHORTLOG
16527         argument.  Add a new method: root.
16528         (vc-root-diff, vc-print-root-log): New functions.
16529         (vc-log-short-style): New variable.
16530         (vc-print-log-internal): Add support for showing short logs.
16532         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16533         vc-print-root-log and vc-print-root-diff.
16535         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16536         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16537         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16538         short logs.
16540         * vc-cvs.el (vc-cvs-print-log):
16541         * vc-mtn.el (vc-mtn-print-log):
16542         * vc-rcs.el (vc-rcs-print-log):
16543         * vc-sccs.el (vc-sccs-print-log):
16544         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16545         that is ignored for now.
16547         * vc-mtn.el (vc-mtn-annotate-command):
16548         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16550 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16552         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16553         to function-key-map, and give them ascii-character property.
16554         * term/x-win.el (x-alternatives-map):
16555         * term/ns-win.el (ns-alternatives-map):
16556         * term/internal.el (msdos-key-remapping-map):
16557         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16559 2009-09-14  Glenn Morris  <rgm@gnu.org>
16561         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16562         temp-buffers (2009-09-12).
16564 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16566         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16567         the new read-key function.
16569 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16571         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16572         is defined (Bug#4405).
16574 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
16576         * recentf.el (recentf-cleanup): Use a hash table to find
16577         duplicates (Bug#4407).
16579 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
16581         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16582         kp-0 to ascii equivalents (Bug#4325).
16584 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16586         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16588         * eshell/em-hist.el:
16589         * eshell/em-dirs.el (eshell-complete-user-reference):
16590         Declare pcomplete functions and variables to avoid compiler warnings.
16592 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
16594         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16595         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16596         * eshell/em-alias.el (eshell-aliases-file):
16597         * eshell/em-hist.el (eshell-history-file-name):
16598         Use expand-file-name instead of concat to make file names (Bug#4308).
16600 2009-09-13  Glenn Morris  <rgm@gnu.org>
16602         * ediff-merg.el (ediff-do-merge):
16603         * filesets.el (filesets-run-cmd):
16604         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16605         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16606         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16607         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16608         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16609         Replace empty `let's with `progn'.
16611 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16613         * mail/sendmail.el (send-mail-function):
16614         * tooltip.el (tooltip-mode):
16615         * simple.el (transient-mark-mode):
16616         * rfn-eshadow.el (file-name-shadow-mode):
16617         * frame.el (blink-cursor-mode):
16618         * font-core.el (global-font-lock-mode):
16619         * files.el (temporary-file-directory)
16620         (small-temporary-file-directory, auto-save-file-name-transforms):
16621         * epa-hook.el (auto-encryption-mode):
16622         * composite.el (global-auto-composition-mode):
16623         Use custom-initialize-delay.
16624         * startup.el (command-line): Don't explicitly call
16625         custom-reevaluate-setting for all the above vars.
16626         * custom.el (custom-initialize-safe-set)
16627         (custom-initialize-safe-default): Delete.
16629 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16631         * term/x-win.el (x-initialize-window-system):
16632         * term/w32-win.el (w32-initialize-window-system):
16633         * term/ns-win.el (ns-initialize-window-system): Don't call
16634         mouse-wheel-mode since it's enabled globally by default already.
16636         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16637         actually define the variable, but only silences the byte-compiler.
16638         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16639         before looking it up.
16640         (mouse-wheel-scroll-amount): Also reset the bindings if this value
16641         is changed.
16643 2009-09-12  Glenn Morris  <rgm@gnu.org>
16645         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16646         1000.
16647         (elint-add-required-env): Don't beep on error.
16648         (elint-forms): In case of error, return ENV unchanged.
16649         (elint-init-env): Skip non-list forms.
16650         (elint-log): Handle unknown file positions.
16652 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
16654         * epg.el (epg-make-context): Add autoload cookie.
16655         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16656         (epg-decrypt-string, epg-start-verify, epg-verify-file)
16657         (epg-verify-string, epg-start-sign, epg-sign-file)
16658         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16659         (epg-encrypt-string, epg-start-export-keys)
16660         (epg-export-keys-to-file, epg-export-keys-to-string)
16661         (epg-start-import-keys, epg-import-keys-from-file)
16662         (epg-import-keys-from-string, epg-start-receive-keys)
16663         (epg-receive-keys, epg-import-keys-from-server)
16664         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16665         (epg-sign-keys, epg-start-generate-key)
16666         (epg-generate-key-from-file, epg-generate-key-from-string):
16667         Remove autoload cookie.
16669 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
16671         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16672         reevaluation of trash-directory.
16674         * mwheel.el: Fix last change.
16675         (mouse-wheel-mode): New defvar.
16676         (mouse-wheel-mode): Remove autoload cookie.
16678 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16680         * mwheel.el (mwheel-installed-bindings): New var.
16681         (mouse-wheel-mode): Use it, so as to make sure we really remove all
16682         the bindings we set last time.  Use custom-initialize-delay.
16683         * loadup.el: Load mwheel after term/*-win.el.
16684         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16685         and mouse-wheel-up-event now that their first evaluation is done
16686         sufficiently late to be correct.
16688         * startup.el (tutorial-directory): Make it a defcustom.
16689         Use custom-initialize-delay rather than eval-at-startup to set it.
16690         * image.el (image-load-path): Make it a defcustom.
16691         Use custom-initialize-delay rather than eval-at-startup to set it.
16692         * subr.el (eval-at-startup): Remove.
16693         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16695         * subr.el (do-after-load-evaluation): Warn the user after loading an
16696         obsolete package.
16698 2009-09-12  Glenn Morris  <rgm@gnu.org>
16700         * proced.el (proced-mark-alt): Remove alias.
16701         (proced-mode-map): Remove proced-mark-alt.
16703         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16704         Elint file and directory.  Remove initialization entry.
16706         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16707         commands.
16708         (elint-current-buffer): Set mode-line-process.
16709         (elint-init-env): Handle define-derived-mode.
16710         Fix declare-function with unspecified arglist.  Guard against odd
16711         defalias statements (eg iso-insert's 8859-1-map).
16712         (elint-add-required-env): Use a temp buffer.
16713         (elint-form): Just print the function/macro name, not the whole form.
16714         Return env unchanged if we fail to parse a macro.
16715         (elint-forms): Guard against parse errors.
16716         (elint-output): New function, to handle batch mode.
16717         (elint-log-message): Add optional argument.  Use elint-output.
16718         (elint-set-mode-line): New function.
16720 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
16722         * emacs-lisp/elp.el (elp-not-profilable): Add more
16723         functions (Bug#4233).
16725 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
16727         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16728         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16730 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16732         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16733         (gdb-var-list-children): Use json parsing.
16735 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
16737         * progmodes/js.el (js--proper-indentation): Handle the case where
16738         char-before is null.  Reported by Deniz Dogan.
16740 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
16742         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16744 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
16746         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16747         (epg-digest-algorithm-alist): Add SHA224.
16748         (epg-context-set-passphrase-callback)
16749         (epg-context-set-progress-callback): Add description about
16750         callback function.
16752 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16754         * custom.el (custom-delayed-init-variables): New var.
16755         (custom-initialize-delay): New function.
16756         * startup.el (command-line): "Re"evaluate all vars in
16757         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
16758         explicitly any more.
16759         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16760         to avoid creating a ~/.emacs.d at build-time (bug#4347).
16762         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16764 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16766         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16767         (gdb-var-update-handler): Use json parsing.
16769 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
16771         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16772         decode annotated text, regardless of language environment.  (Bug#2741)
16774 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16776         * Makefile.in (autoloads): Make rmail.el writable as well.
16778 2009-09-11  Glenn Morris  <rgm@gnu.org>
16780         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16781         loaddefs.el.
16782         * dired.el: Regenerate with extracted autoloads.
16783         * Makefile.in (autoloads): Make dired.el writable.
16785         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16786         * ibuffer.el: Regenerate with extracted autoloads.
16787         * Makefile.in (autoloads): Make ibuffer.el writable.
16789         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16790         * version.el (emacs-copyright, emacs-major-version)
16791         (emacs-minor-version): Reformat doc-strings for make-docfile.
16793         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16794         functions and variables, since they must be stuff specific to some other
16795         platform.
16796         (apropos-print): Make mouse-click message less specific about button.
16798         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16799         that records where a macro was defined.
16800         * help-fns.el (describe-function-1): Mention if a function has a
16801         compiler-macro.
16802         * help-mode.el (help-function-cmacro): New button.
16804         * locate.el (top-level): Always require dired.
16805         (locate-mode-map): Initialize inside the defvar.
16807         * net/ange-ftp.el (dired-compress-file): Declare.
16808         (ange-ftp-dired-compress-file): Add doc string.
16810         * term/ns-win.el (x-display-name, x-setup-function-keys):
16811         Unify doc-strings with X versions.
16813 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16815         * emulation/crisp.el (crisp-mode-map): Move initialization
16816         into declaration.
16817         (crisp-mode): Use define-minor-mode.
16819         * progmodes/xscheme.el (xscheme-evaluation-commands):
16820         Put a :advertised-binding property rather than using
16821         advertised-xscheme-send-previous-expression.
16822         (advertised-xscheme-send-previous-expression): Declare obsolete.
16823         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16824         `advertised-undo'.
16825         (crisp-mode): Add corresponding bindings to
16826         undo's :advertised-binding instead.
16827         * dired.el (dired-mode-map): Put a :advertised-binding property rather
16828         than using dired-advertised-find-file.
16829         (dired-advertised-find-file):
16830         * simple.el (advertised-undo):
16831         * wid-edit.el (advertised-widget-backward): Declare obsolete.
16832         (widget-keymap): Put a :advertised-binding property rather
16833         than using advertised-widget-backward.
16834         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16835         than using advertised-undo.
16836         * tutorial.el (tutorial--default-keys): Adjust accordingly.
16838 2009-09-10  Simon South  <ssouth@slowcomputing.org>
16840         * progmodes/delphi.el (delphi-tab): Indent region when Transient
16841         Mark mode is enabled and region is active; otherwise indent or
16842         insert TAB as usual.
16843         (delphi-mode): Update description of TAB-key binding.
16845 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16847         * subr.el (define-key-rebound-commands): Mark obsolete.
16848         * startup.el (precompute-menubar-bindings): Remove.
16849         (normal-top-level): Remove obsolete code that tried to precompute
16850         menubar bindings.
16851         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16852         define-key-rebound-commands and precompute-menubar-bindings.
16854 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
16856         * net/imap.el (imap-interactive-login): Better messages.
16857         (imap-open): Fix bug with renamed buffer on reconnect.
16858         (imap-authenticate): Add buffer-local imap-last-authenticator variable
16859         for easier debugging and cleaner code.  On successful (guessed based on
16860         server capabilities) secondary authentication, set imap-state
16861         correctly.
16862         (imap-last-authenticator): Define imap-last-authenticator as a variable
16863         to avoid warnings.
16865 2009-09-10  Glenn Morris  <rgm@gnu.org>
16867         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16869         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16870         (byte-compile-file-form-autoload): Don't warn about unknown functions
16871         where the autoload statement comes after the use.
16872         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16873         that any handlers inside the body (eg require) are in turn respected.
16875         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16876         effects.
16878         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16879         and syntax and abbrev tables basic docs, if they don't have any.
16881         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16883         * international/mule-cmds.el (top-level): Require cl when compiling.
16884         (view-hello-file): Use default-value rather than
16885         default-enable-multibyte-characters.
16887         * progmodes/fortran.el: Move all safe and risky properties into the
16888         defcustoms.
16890         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16891         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16892         * mail/undigest.el:
16893         Put autoloads in rmail.el rather than loaddefs.el.
16894         * mail/rmail.el: Regenerate with extracted autoloads.
16896         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16897         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16899 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
16901         Reported in thread for Bug#4375.
16902         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16903         "-data-evaluate-expression" instead of print.
16904         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16905         (gdb-tooltip-print): Parse output from above MI command.
16906         (gdb): Revert 2009-08-11 change.  User should detach inferior
16907         manually.
16909         Remove the word "separate" from IO functions as inferior
16910         output is now never displayed in the GUD buffer.
16912 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
16914         * startup.el (command-line-normalize-file-name): On Windows and
16915         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16917 2009-09-10  Juri Linkov  <juri@jurta.org>
16919         * isearch.el (isearch-text-char-description): Propertize escape
16920         character sequences with the `escape-glyph' face.  (Bug#4344)
16922         * simple.el (shell-command): Set asynchronous process filter to
16923         `comint-output-filter'.  (Bug#4343)
16925         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16926         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
16927         the list.  Move "asm" to the bottom.
16928         (grep-find-ignored-directories): Add `choice' with nil value
16929         to empty the list easily.
16930         (grep-find-ignored-files): New option.
16931         (grep-files-history): Set to nil by default instead of '("ch" "el").
16932         (grep-compute-defaults): Add "<X>" to `grep-template'.
16933         (grep-read-files): Bind new local variables `default-alias' and
16934         `default-extension'.  Use a list of default values for the file prompt.
16935         (lgrep): Add `--exclude=' command line options composed from
16936         `grep-find-ignored-files'.
16937         (rgrep): Add `-name' command line options composed from
16938         `grep-find-ignored-files'.  (Bug#4301)
16940 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16942         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16943         (bug#4368).
16945 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
16947         * calendar/time-date.el (autoload):
16948         Expand define-obsolete-function-alias into defalias and make-obsolete
16949         for old Emacsen that Gnus supports.
16950         (with-no-warnings): Define it for old Emacsen.
16951         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16952         is available.
16953         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16954         float-time is available; suppress compile warning for time-to-seconds.
16956 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
16958         * net/imap.el (imap-message-map): Docstring fix.
16960 2009-09-09  Glenn Morris  <rgm@gnu.org>
16962         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16963         line numbers too.  (Bug#4374)
16965 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16967         * smerge-mode.el (smerge-remove-props, smerge-refine):
16968         Use with-silent-modifications (bug#4342).
16970         * subr.el (with-silent-modifications): New macro.
16972 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
16974         * files.el (top-level): Require `cl' when compiling.
16976 2009-09-07  Glenn Morris  <rgm@gnu.org>
16978         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16980         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16981         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
16983 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
16985         * vc-git.el (vc-git-annotate-command): Use separator to parse
16986         arguments correctly.
16988 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
16990         * proced.el (proced-mode): Doc fix.
16992 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
16994         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16995         lstat fails.
16996         (tramp-do-file-attributes-with-ls): Check for file existence at
16997         remote end.
16998         (tramp-do-file-attributes-with-stat): Likewise.
16999         (tramp-convert-file-attributes): Return nil when attr is nil.
17001 2009-09-05  Glenn Morris  <rgm@gnu.org>
17003         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17004         properties to this button.
17005         (diary-fancy-display): Don't extend the button to the final newline.
17006         (diary-fancy-display-mode): Continue to define "q" as a local key.
17008         * calendar/cal-china.el (holiday-chinese): Make it slightly more
17009         efficient.
17011         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17013         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17014         (byte-compile-dest-file-function): New option.
17015         (byte-compile-dest-file): Doc fix.
17016         Obey byte-compile-dest-file-function.
17017         (byte-compile-cl-file-p): New function.
17018         (byte-compile-eval): Only suppress noruntime warnings about cl functions
17019         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
17020         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17021         than for file being previously loaded.
17022         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17023         (byte-compile-file-form-require): Handle the case where requiring a file
17024         indirectly causes CL to be loaded.
17026 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
17028         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17029         before killing the old buffer, since by the time `kill-buffer' is
17030         run so many buffer variables have been set to nil that it may not
17031         behave as expected.  (Bug#4061)
17033 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
17035         * files.el (find-alternate-file): If the old buffer is modified
17036         and visiting a file, behave similarly to `kill-buffer' when
17037         killing it, thus reverting to the pre-1.878 behavior; see
17038         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17039         for discussion.  Also, consult `buffer-file-name' as a variable
17040         not as a function, for consistency with the rest of the code.
17042 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
17044         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17045         also when adding a new directory.
17047         * net/tramp-compat.el (tramp-compat-line-beginning-position):
17048         New defun.
17050 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17052         * files.el (locate-file-completion-table): Make it provide boundary
17053         information, so partial-completion works better.
17055 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
17057         * mail/footnote.el (Footnote-text-under-cursor):
17058         Check footnote-text-marker-alist before using it (bug#4324).
17060 2009-09-04  Glenn Morris  <rgm@gnu.org>
17062         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17063         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17064         * play/solitaire.el, play/tetris.el:
17065         Remove leading * from defcustom and defface docs.
17067         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17068         necessary.
17069         (diary-fancy-overriding-map): New variable.
17070         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17071         Use view-mode.
17073         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17074         goto-line.
17076 2009-09-03  Glenn Morris  <rgm@gnu.org>
17078         * arc-mode.el (archive-mode):
17079         * dos-fns.el (set-default-process-coding-system):
17080         * man.el (Man-getpage-in-background):
17081         * menu-bar.el (menu-bar-describe-menu):
17082         * server.el (server-process-filter):
17083         * startup.el (command-line):
17084         * tar-mode.el (tar-header-block-tokenize, tar-extract):
17085         * w32-fns.el (set-default-process-coding-system):
17086         * x-dnd.el (x-dnd-handle-file-name):
17087         * international/mule-cmds.el (mule-menu-keymap)
17088         (set-default-coding-systems, language-info-alist, set-language-info)
17089         (set-language-environment, standard-display-european-internal)
17090         (set-locale-environment):
17091         * international/mule-diag.el (mule-diag):
17092         * mail/emacsbug.el (report-emacs-bug):
17093         * mail/rmail.el (rmail-mode):
17094         * mail/sendmail.el (mail-setup):
17095         Use default-value rather than default-enable-multibyte-characters.
17097         * progmodes/f90.el: Move all safe properties into the defcustoms.
17098         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17100         * calendar/appt.el (appt-check):
17101         * calendar/diary-lib.el (diary-set-header, diary-live-p)
17102         (diary-check-diary-file, diary-list-entries)
17103         (diary-include-other-diary-files, diary-simple-display)
17104         (diary-fancy-display, diary-print-entries)
17105         (diary-mark-included-diary-files, diary-make-entry):
17106         Don't call substitute-in-file-name on diary-file.
17108 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
17109             Stefan Monnier  <monnier@iro.umontreal.ca>
17111         * mail/footnote.el (footnote-prefix): Make it a defcustom.
17112         (footnote-mode-map): Move initialization into the declaration.
17113         (footnote-minor-mode-map): Define it rather than changing global-map.
17114         (footnote-mode): Use define-minor-mode.
17116 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
17118         * net/tramp.el (tramp-handle-file-attributes-with-ls)
17119         (tramp-do-file-attributes-with-perl)
17120         (tramp-do-file-attributes-with-stat): Rename from
17121         `tramp-handle-file-attributes-with-*'.
17122         (tramp-handle-file-attributes): Use them.
17123         (tramp-do-directory-files-and-attributes-with-perl)
17124         (tramp-do-directory-files-and-attributes-with-stat): Rename from
17125         `tramp-handle-directory-files-and-attributes-with-*'.
17126         (tramp-handle-directory-files-and-attributes): Use them.
17127         (tramp-method-out-of-band-p): Additional parameter SIZE.
17128         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17129         (tramp-handle-write-region): Use it.
17130         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17131         (tramp-handle-vc-registered): Check, whether the first run did
17132         return files to be tested.
17133         (tramp-advice-make-auto-save-file-name): Do not call directly
17134         `tramp-handle-make-auto-save-file-name', because this would bypass
17135         the locking mechanism.
17137         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17138         (file-remote-p, process-file, start-file-process, set-file-times)
17139         (tramp-compat-file-attributes): Compatibility functions shall not
17140         call directly `tramp-handle-*', because this would bypass the
17141         locking mechanism.
17142         (tramp-compat-number-sequence): New defun.
17144 2009-09-02  Glenn Morris  <rgm@gnu.org>
17146         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17147         alias for float-time.
17148         (time-to-number-of-days): In Emacs, use float-time.
17149         * net/newst-backend.el (time-add): Suppress warnings from compat
17150         function.
17151         * time.el (emacs-uptime, emacs-init-time):
17152         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17153         Use float-time rather than time-to-seconds.
17155         * minibuffer.el (completion-initials-expand): Fix typo.
17157         * faces.el (modeline, modeline-inactive, modeline-highlight)
17158         (modeline-buffer-id):
17159         * info.el (info-menu-5): Mark these face aliases as obsolete.
17161 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
17163         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17164         space ...
17165         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17166         no "--thread" option.
17167         (gdb-stopped): Don't print "Switched to thread" message when it is
17168         unchanged.
17170 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17172         * minibuffer.el (completion-try-completion)
17173         (completion-all-completions): Remove ill-defined (and
17174         mistakenly installed and luckily never used nor documented)
17175         `completion-styles' property.
17176         (completion-initials-expand, completion-initials-all-completions)
17177         (completion-initials-try-completion): New functions.
17178         (completion-styles-alist): Add doc to each entry.
17179         Add new `initials' entry.
17181 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
17183         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17184         MI command -var-evaluate-expression.
17185         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17186         and tweak for case of string child.
17187         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17189 2009-09-01  Glenn Morris  <rgm@gnu.org>
17191         * add-log.el (change-log-date-face, change-log-name-face)
17192         (change-log-email-face, change-log-file-face, change-log-list-face)
17193         (change-log-conditionals-face, change-log-function-face)
17194         (change-log-acknowledgement-face):
17195         * cus-edit.el (custom-invalid-face, custom-rogue-face)
17196         (custom-modified-face, custom-set-face, custom-changed-face)
17197         (custom-saved-face, custom-button-face, custom-button-pressed-face)
17198         (custom-documentation-face, custom-state-face, custom-comment-face)
17199         (custom-comment-tag-face, custom-variable-tag-face)
17200         (custom-variable-button-face, custom-face-tag-face)
17201         (custom-group-tag-face-1, custom-group-tag-face):
17202         * diff-mode.el (diff-header-face, diff-file-header-face)
17203         (diff-index-face, diff-hunk-header-face, diff-removed-face)
17204         (diff-added-face, diff-changed-face, diff-function-face)
17205         (diff-context-face, diff-nonexistent-face):
17206         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17207         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17208         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17209         (Info-title-4-face):
17210         * isearch.el (isearch-lazy-highlight-face):
17211         * log-view.el (log-view-file-face, log-view-message-face):
17212         * paren.el (show-paren-match-face, show-paren-mismatch-face):
17213         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17214         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17215         (cvs-msg-face):
17216         * smerge-mode.el (smerge-mine-face, smerge-other-face)
17217         (smerge-base-face, smerge-markers-face):
17218         * wid-edit.el (widget-documentation-face, widget-button-face)
17219         (widget-field-face, widget-single-line-field-face)
17220         (widget-inactive-face, widget-button-pressed-face):
17221         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17222         (woman-addition-face):
17223         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17224         (eshell-ls-executable-face, eshell-ls-readonly-face)
17225         (eshell-ls-unreadable-face, eshell-ls-special-face)
17226         (eshell-ls-missing-face, eshell-ls-archive-face)
17227         (eshell-ls-backup-face, eshell-ls-product-face)
17228         (eshell-ls-clutter-face):
17229         * eshell/em-prompt.el (eshell-prompt-face):
17230         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17231         * obsolete/old-whitespace.el (whitespace-highlight-face):
17232         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17233         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17234         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17235         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17236         (antlr-font-lock-literal-face):
17237         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17238         (ebrowse-root-class-face, ebrowse-file-name-face)
17239         (ebrowse-default-face, ebrowse-member-attribute-face)
17240         (ebrowse-member-class-face, ebrowse-progress-face):
17241         * progmodes/make-mode.el (makefile-space-face):
17242         * progmodes/sh-script.el (sh-heredoc-face):
17243         * textmodes/flyspell.el (flyspell-incorrect-face)
17244         (flyspell-duplicate-face):
17245         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17246         * textmodes/texinfo.el (texinfo-heading-face):
17247         Mark face aliases with "-face" suffix as obsolete.
17249         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17250         compiler.
17252         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17253         (eudc-bob-sound-menu): Use defvar rather than defconst, since
17254         easy-menu-define wants to modify these.
17256         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17258         * net/browse-url.el (browse-url-file-url):
17259         * term/internal.el (dos-codepage-setup):
17260         Use default-value rather than default-enable-multibyte-characters.
17262         * progmodes/etags.el (etags-goto-tag-location):
17263         * progmodes/flymake.el (flymake-highlight-line)
17264         (flymake-goto-file-and-line, flymake-goto-line):
17265         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17266         (gdb-goto-breakpoint):
17267         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17268         * progmodes/python.el (python-find-function)
17269         (python-pdbtrack-track-stack-file):
17270         * progmodes/verilog-mode.el (verilog-surelint-off):
17271         * term/ns-win.el (ns-open-file-select-line):
17272         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17273         Use forward-line rather than goto-line.
17275         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17276         * textmodes/reftex-index.el (reftex-display-index):
17277         * textmodes/reftex-ref.el (reftex-offer-label-menu):
17278         * textmodes/reftex-toc.el (reftex-toc):
17279         Remove unnecessary bindings of default-major-mode (all are followed by
17280         major-mode check and possible mode switch).
17282 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
17284         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17285         Handle watchpoints (bug#4282).
17286         (def-gdb-thread-buffer-command): Enable thread to be selected by
17287         clicking without selecting threads buffer first.
17288         (gdb-current-context-command): Use selected frame so that "up",
17289         "down" etc work in the GUD buffer.
17290         (gdb-update): Find selected frame before rendering stack buffer.
17291         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17293 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17295         * progmodes/sym-comp.el (displayed-completions): Remove.
17296         (symbol-complete): Use minibuffer-complete.
17298 2009-08-31  Glenn Morris  <rgm@gnu.org>
17300         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17302         * apropos.el (apropos-symbols-internal):
17303         Handle (obsolete) face aliases.
17305         * faces.el (describe-face): Adjust the output format to be more like
17306         describe-variable, and to mention (obsolete) face aliases.
17307         Adjust the whitespace so that help-setup-xref works.
17309         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17310         * calendar/diary-lib.el (diary-button-face):
17311         Mark these face aliases as obsolete.
17313         * calendar/calendar.el (calendar-today): Doc fix.
17315 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
17317         * progmodes/gdb-mi.el (gdb-control-all-threads)
17318         (gdb-control-current-thread): Force tool bar update.
17319         (gdb-non-stop-handler): New function.
17320         (gdb-init-1): Use it to test if non-stop mode is supported.
17321         Remove unused gdbmi buffer type.
17323 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
17325         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17326         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
17328 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
17330         * comint.el (comint-exec-1): Check command is non-null first.
17331         Part of gdb-mi.el change (2009-08-28).
17333 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17335         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17337 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
17339         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17340         instead of `dolist' to avoid a recursive require when bootstrapping.
17342 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17344         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17346         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17348         * net/imap.el (imap-send-command): Simplify.
17349         (imap-wait-for-tag): point-max -> buffer-size.
17351         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17353         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17354         with constant argument.
17356         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17358         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17360         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17361         Change default, since most of our files don't have a history.
17362         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17363         the user.
17365         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17366         Add comint-run.
17368         * calc/calc.el: Improve commenting convention.
17369         (calc-digit-map, toplevel): Simplify.
17371         * comint.el (comint-insert-input): Be careful to only set point if we
17372         don't delegate to some other command.
17374         * proced.el (proced-signal-list): Make it an alist.
17375         (proced-grammar-alist): Capitalize names.
17376         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17377         Disable undo manually and make it read-only.
17378         Use completion-annotate-function.
17380         * minibuffer.el (minibuffer-message): If the current buffer is not
17381         a minibuffer, insert the message in the echo area rather than at the
17382         end of the buffer.
17383         (completion-annotate-function): New variable.
17384         (minibuffer-completion-help): Use it.
17385         (completion--embedded-envvar-table): Environment vars are
17386         always case-sensitive.
17388 2009-08-30  Glenn Morris  <rgm@gnu.org>
17390         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17391         from fortran-current-defun.
17392         (fortran-beginning-of-subprogram): Be more precise about finding the
17393         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
17394         (fortran-end-of-subprogram): Simplify.
17395         (fortran-current-defun): Use fortran-start-prog-re.
17397 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
17399         * subr.el (do-after-load-evaluation): Simplify.
17401 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
17403         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17405         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
17406         (vc-rcs-print-log): Use it.
17408         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17410 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17412         * paths.el (abbrev-file-name): Move to abbrev.el.
17413         * abbrev.el (abbrev-file-name): Move from paths.el.
17414         Obey user-emacs-directory.
17415         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17416         user-emacs-directory.
17417         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17418         abbrev-file-name and calc-settings-file any more.
17419         * startup.el (command-line): Recompute abbrev-file-name and
17420         abbreviated-home-dir.
17421         (normal-no-mouse-startup-screen): Improve the generic code and get rid
17422         of the special code for when C-h bindings haven't been changed.
17423         (display-startup-echo-area-message): Use with-current-buffer.
17424         (command-line-1): Use a list of strings, rather than a list of lists
17425         of strings for longopts.
17427         * files.el (get-free-disk-space): Use / for default-directory.
17429         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17430         Use with-current-buffer.
17432         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17433         Recognize immutable variables like most-positive-fixnum.
17434         (byte-compile-setq-default): Check and warn if trying to assign
17435         to an immutable variable, or a non-variable.
17437         * progmodes/cc-vars.el (c-comment-continuation-stars):
17438         * progmodes/cc-engine.el (c-looking-at-bos):
17439         * progmodes/cc-cmds.el (c-toggle-auto-state)
17440         (c-forward-into-nomenclature, c-backward-into-nomenclature)
17441         (c-comment-line-break-function): Add version of obsolescence.
17443 2009-08-28  Juri Linkov  <juri@jurta.org>
17445         * files.el (magic-fallback-mode-alist): Add ZIP magic number
17446         associated with `archive-mode'.
17448         * image.el (image-type-header-regexps): Use only JPEG magic number
17449         to determine JPEG images, and don't use `image-jpeg-p' because
17450         Emacs can display non-JFIF non-Exif JPEG images.
17452 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17454         * arc-mode.el (archive-mode):
17455         * emacs-lisp/re-builder.el (re-builder-unload-function):
17456         Protect against the default value of `major-mode' being nil.
17458 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17460         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17461         Fix typos in docstrings.
17463         * progmodes/js.el (js--macro-decl-re): Doc fix.
17464         (js--plain-method-re, js--split-name): Refloc docstring.
17465         (js--class-styles, js--make-merged-item, js--splice-into-items):
17466         Fix typos in docstrings; reflow docstrings.
17467         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17468         (js--variable-decl-matcher, js--inside-pitem-p)
17469         (js--parse-state-at-point, js--get-all-known-symbols)
17470         (js--symbol-history, js-find-symbol, js--js-references)
17471         (js--moz-interactor, js--js-encode-value, js--read-tab):
17472         Fix typos in docstrings.
17474 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17476         * textmodes/reftex.el (reftex-get-file-buffer-force):
17477         * progmodes/verilog-mode.el (verilog-batch-execute-func):
17478         * emulation/viper.el (viper-go-away, viper-set-hooks):
17479         * emacs-lisp/re-builder.el (re-builder-unload-function):
17480         * emacs-lisp/bytecomp.el (byte-compile-file):
17481         * ses.el (ses-unload-function):
17482         * hexl.el (hexl-find-file):
17483         * files.el (normal-mode):
17484         * ehelp.el (with-electric-help):
17485         * autoinsert.el (auto-insert-alist):
17486         * arc-mode.el (archive-mode):
17487         Use (default-value 'major-mode) instead of default-major-mode.
17489         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17490         * international/mule.el (load-with-code-conversion):
17491         * emacs-lisp/debug.el (debug):
17492         * ediff-vers.el (ediff-rcs-get-output-buffer):
17493         * dired.el (dired-internal-noselect): Don't let-bind
17494         default-major-mode around code that doesn't use it.
17495         E.g. buffer creation via get-buffer-create doesn't use it.
17497 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
17499         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17500         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17501         when writing the temp file.  Otherwise, epa-file gets confused.
17502         (tramp-register-file-name-handlers): Make it a defun.  Move also
17503         `epa-file-handler' to the front of `file-name-handler-alist'.
17505 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17507         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17508         start right after a ^M.
17509         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17510         (tramp-completion-file-name-regexp-separate)
17511         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17512         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17513         Don't modify last-coding-system-used by accident.
17514         (tramp-completion-file-name-handler): Apply the checks here,
17515         instead during registration.
17516         (tramp-register-file-name-handlers): Rename from
17517         `tramp-register-file-name-handler'.  Register both
17518         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17519         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
17521 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
17523         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17524         Remove variable ...
17525         (gdb-init-1, gdb-display-separate-io-buffer)
17526         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17527         references to it.
17528         (gdb-inferior-io-mode): Use make-comint-in-buffer.
17529         (gdb-inferior-filter): Use comint-output-filter to stop
17530         echoing and remove ^M characters.
17532 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17534         * emulation/viper-init.el (viper-restore-cursor-type):
17535         * emulation/cua-base.el (cua--update-indications):
17536         Replace default-cursor-type with (default-value 'cursor-type).
17538         * mail/sendmail.el (mail-recover-1):
17539         * international/mule-diag.el (describe-current-coding-system-briefly)
17540         (describe-current-coding-system):
17541         * international/mule-cmds.el (select-safe-coding-system)
17542         (select-message-coding-system)
17543         (set-language-environment-coding-systems, set-locale-environment):
17544         * hexl.el (hexl-insert-multibyte-char):
17545         * dos-w32.el (find-buffer-file-type-coding-system):
17546         * simple.el (what-cursor-position):
17547         Replace uses of default-buffer-file-coding-system
17548         with (default-value 'buffer-file-coding-system).
17550         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17551         Replace uses of default-cursor-in-non-selected-windows
17552         with (default-value 'cursor-in-non-selected-windows).
17553         Use with-current-buffer.
17555         * mail/feedmail.el: Use CL macros.
17556         (feedmail-run-the-queue, feedmail-send-it-immediately):
17557         * dos-w32.el (find-buffer-file-type): Replace uses of
17558         default-buffer-file-type with (default-value 'buffer-file-type).
17560 2009-08-28  Glenn Morris  <rgm@gnu.org>
17562         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17563         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17564         Use default-value of major-mode rather than default-major-mode.
17566 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17568         * Makefile.in (update-elcfiles): Report left over elc files.
17570         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17571         expand-file-name and with-current-buffer.
17572         (mail-get-names, mail-directory): Use with-current-buffer.
17574         * vc.el (vc-read-revision): New function.
17575         (vc-version-diff, vc-merge): Use it.
17577 2009-08-27  Sam Steingold  <sds@gnu.org>
17579         * simple.el (kill-do-not-save-duplicates): New user option.
17580         (kill-new): When it is non-nil, and the new string is the same as
17581         the latest kill, set replace to t to avoid duplicates in kill-ring.
17583 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
17585         * net/tramp.el (tramp-handle-process-file): Do not flush all
17586         caches when `process-file-side-effects' is set.
17587         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17588         instead of `tramp-find-file-exists-command'.
17589         Unset `process-file-side-effects'.
17591 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
17593         * net/tramp.el (tramp-methods): New method "rsyncc".
17594         (top): Add completion function for "rsyncc".
17595         (tramp-message-show-message): New defvar.
17596         (tramp-message, tramp-error): Use it.
17597         (tramp-do-copy-or-rename-file-directly): Extend check for direct
17598         remote copying.
17599         (tramp-do-copy-or-rename-file-out-of-band): Handle new
17600         `tramp-methods' entry `copy-env' of "rsyncc".
17601         (tramp-vc-registered-read-file-names): New defconst.
17602         (tramp-vc-registered-file-names): New defvar.
17603         (tramp-handle-vc-registered): Implement optimization strategy.
17604         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17605         (tramp-vc-file-name-handler): New defun.
17606         (tramp-get-ls-command, tramp-get-test-command)
17607         (tramp-get-file-exists-command, tramp-get-remote-ln)
17608         (tramp-get-remote-perl, tramp-get-remote-stat)
17609         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17611         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17612         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
17613         timestamps.
17614         (tramp-get-file-property): Check for timestamps in
17615         `tramp-cache-inhibit-cache'.
17616         (tramp-set-file-property): Write timestamp.
17618 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17620         * language/japan-util.el (japanese-symbol-table): Add entries for
17621         cp932-2-byte.
17623         * international/characters.el: Add category `j' to cp932-2-byte.
17625 2009-08-27  Kenichi Handa  <handa@m17n.org>
17627         * international/fontset.el (build-default-fontset-data): New macro.
17628         (setup-default-fontset): Use build-default-fontset-data for CJK,
17629         tibetan, ethiopic, and ipa.
17631 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17633         * cus-start.el (default-major-mode): Customize `major-mode' instead.
17634         (enable-multibyte-characters): Not customizable any more.
17636         * subr.el (default-mode-line-format, default-header-line-format)
17637         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17638         (default-direction-reversed, default-truncate-lines)
17639         (default-left-margin, default-tab-width, default-case-fold-search)
17640         (default-left-margin-width, default-right-margin-width)
17641         (default-left-fringe-width, default-right-fringe-width)
17642         (default-fringes-outside-margins, default-scroll-bar-width)
17643         (default-vertical-scroll-bar, default-indicate-empty-lines)
17644         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17645         (default-fringe-cursor-alist, default-scroll-up-aggressively)
17646         (default-scroll-down-aggressively, default-fill-column)
17647         (default-cursor-type, default-buffer-file-type)
17648         (default-cursor-in-non-selected-windows)
17649         (default-buffer-file-coding-system, default-major-mode)
17650         (default-enable-multibyte-characters): Mark as obsolete.
17652 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
17654         * vc-dir.el (vc-dir-update): Remove debug helper.
17656         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17658 2009-08-26  Sam Steingold  <sds@gnu.org>
17660         * simple.el (save-interprogram-paste-before-kill): New user option.
17661         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17662         save the interprogram-paste into kill-ring before overriding it
17663         with the Emacs kill.
17665 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17667         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17668         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17669         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17670         and move to vc-rcs.el.
17671         (vc-default-next-revision): Rename to vc-rcs-next-revision and
17672         move to vc-rcs.el.
17673         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17674         (vc-rcs-update-changelog): Remove.
17675         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17676         and move to vc-rcs.el.
17678         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17679         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17680         renaming.
17681         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17682         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17683         vc.el, renamed to be RCS specific.
17685         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17686         New functions.
17687         (vc-cvs-update-changelog): Move here from vc.el.
17689         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17690         New functions.
17692 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17694         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17696 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17698         * vc-git.el (vc-git-register): Use "git add" for directories.
17699         (vc-git-stash, vc-git-stash-show): New functions.
17700         (vc-git-extra-menu-map): Bind them.
17702         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17703         directory correctly in case the item is a directory itself.
17705         * vc.el: Document the desired behavior for reverted files in the
17706         `added' state.
17707         (vc-default-prettify-state-info): Remove function, unused.
17709         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17711 2009-08-26  Glenn Morris  <rgm@gnu.org>
17713         * bindings.el (standard-mode-line-format): Reposition dashes in
17714         which-func entry.  (Bug#4217)
17716         * files.el (enable-local-variables, enable-local-eval)
17717         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17718         the defcustoms.
17719         (auto-mode-alist, ignored-local-variables)
17720         (save-some-buffers-action-alist): Move risky declarations to the
17721         definitions.
17722         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17723         (font-lock-defaults, format-alist, imenu--index-alist)
17724         (imenu-generic-expression, input-method-alist, minor-mode-alist)
17725         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17726         (mode-line-modified, mode-line-mule-info, mode-line-position)
17727         (mode-line-process, mode-line-remote, outline-level)
17728         (parse-time-rules, rmail-output-file-alist)
17729         (special-display-buffer-names, vc-mode):
17730         Move risky declarations to the relevant files.
17731         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17732         (mode-line-modified, mode-line-process, mode-line-position)
17733         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17734         * font-core.el (font-lock-defaults):
17735         * format.el (format-alist):
17736         * vc-hooks.el (vc-mode):
17737         * window.el (special-display-buffer-names):
17738         * international/mule-cmds.el (input-method-alist):
17739         Define riskiness here (dumped file) rather than in files.el.
17740         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17741         * imenu.el (imenu-generic-expression, imenu--index-alist):
17742         * outline.el (outline-level):
17743         * time.el (display-time-string):
17744         * calendar/parse-time.el (parse-time-rules):
17745         * mail/rmailout.el (rmail-output-file-alist):
17746         Autoload riskiness here, rather than placing in files.el.
17748 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
17750         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17752 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
17754         * simple.el (process-file-side-effects): New defvar.
17756         * dired-aux.el (dired-show-file-type):
17757         * vc.el (vc-diff-internal):
17758         * vc-arch.el (vc-arch-diff):
17759         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17760         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17761         * vc-git.el (vc-git-registered, vc-git-working-revision)
17762         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17763         (vc-git--empty-db-p):
17764         * vc-hooks.el (vc-user-login-name):
17765         * vc-svn.el (vc-svn-registered, vc-svn-state)
17766         (vc-svn-dir-extra-headers, vc-svn-find-revision):
17767         * progmodes/grep.el (grep-probe): Let-bind
17768         `process-file-side-effects' with nil.
17770         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17772         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17773         daemon.  Replace ping by checking for running service for bluez
17774         and zeroconf.  (Bug#4239)
17776 2009-08-25  Kevin Ryde  <user42@zip.com.au>
17778         * net/dig.el (dig): Add autoload cookie.
17780 2009-08-25  Glenn Morris  <rgm@gnu.org>
17782         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17783         load-history for absolute file-names.
17784         (byte-compile-file-form-require): Warn about use of the cl package.
17786         * format.el (format-alist): Doc fix.
17788         * play/bubbles.el (top-level): Don't require cl at run-time.
17790         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17791         run-time cl).
17793 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
17795         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17796         from cl package.
17797         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17799 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
17801         * calc/calc-alg.el (math-trig-rewrite)
17802         (math-hyperbolic-trig-rewrite): New functions.
17803         (calc-simplify): Simplify trig functions when asked.
17805 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17807         * diff-mode.el (diff-find-source-location): Avoid goto-line.
17809 2009-08-24  Kenichi Handa  <handa@m17n.org>
17811         * language/ind-util.el (mapthread): Delete it.
17812         (combinatorial): New function.
17813         (indian--puthash-cv): Use combinatorial instead of mapthread.
17815 2009-08-22  Kevin Ryde  <user42@zip.com.au>
17817         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17818         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17819         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17820         Clarify docstring that the value is strings not symbols.
17821         (checkdoc-list-of-strings-p): New function.
17823 2009-08-22  Glenn Morris  <rgm@gnu.org>
17825         * files.el (auto-mode-alist):
17826         * hippie-exp.el (he-concat-directory-file-name):
17827         * lpr.el (lpr-windows-system, printer-name):
17828         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17829         * ps-print.el (ps-windows-system):
17830         * startup.el (command-line):
17831         * emulation/viper-ex.el (viper-glob-function):
17832         * international/mule-cmds.el (set-language-environment-coding-systems):
17833         * net/ange-ftp.el (ange-ftp-write-region):
17834         * obsolete/fast-lock.el (fast-lock-cache-name):
17835         Remove code for defunct system-types emx, macos, mswindows, next-mach,
17836         unisoft-unix, vax-vms, win32, w32.
17838         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17839         given name if the pattern is not more specific.
17841         * calendar/lunar.el (lunar-phase-names): New option.
17842         (lunar-phase): Doc fix.
17843         (lunar-cycles-per-year): New constant.
17844         (lunar-index): New function.
17845         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17846         (lunar-phase-name): Use lunar-phase-names.
17847         (calendar-lunar-phases): Use format.
17848         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17850         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17851         Copy imenu-example--name-and-position function here for own use.
17852         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17854         * bs.el (bs--redisplay):
17855         * cus-edit.el (custom-redraw):
17856         * ibuffer.el (ibuffer-bury-buffer):
17857         * server.el (server-goto-line-column):
17858         * startup.el (command-line-1):
17859         * strokes.el (strokes-xpm-for-stroke):
17860         * term.el (term-display-buffer-line):
17861         * view.el (View-goto-line):
17862         * calc/calc.el (calc-do, calc-trail-buffer):
17863         * play/gamegrid.el (gamegrid-add-score-insecure):
17864         * progmodes/ada-mode.el (ada-compile-goto-error):
17865         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17866         (ebrowse-select-1st-to-9nth):
17867         * progmodes/cperl-mode.el (cperl-time-fontification):
17868         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17869         * progmodes/gud.el (gud-display-line):
17870         (idlwave-shell-display-line):
17871         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17872         * progmodes/make-mode.el (makefile-browser-toggle):
17873         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17874         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17875         * textmodes/picture.el (picture-draw-rectangle):
17876         * textmodes/reftex-index.el (reftex-index-goto-letter):
17877         (reftex-select-jump-to-previous):
17878         * textmodes/reftex-sel.el (reftex-find-start-point)
17879         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17880         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17881         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17882         * textmodes/tex-mode.el (tex-compilation-parse-errors):
17883         * textmodes/two-column.el (2C-associated-buffer):
17884         Use forward-line rather than goto-line.
17886         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17887         goto-line.
17889         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17890         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17891         (quick-check-list-to-regexp): Declare.
17893         * progmodes/make-mode.el (makefile-browser-insert-selection):
17894         Use goto-char rather than goto-line.
17896         * progmodes/prolog.el (compilation-error-regexp-alist)
17897         (compilation-forget-errors): Declare.
17899 2009-08-22  Juri Linkov  <juri@jurta.org>
17901         * progmodes/grep.el (lgrep, rgrep): At the beginning
17902         set `dir' to `default-directory' unless `dir' is a non-nil
17903         readable directory.  (Bug#4052)
17904         (lgrep, rgrep): Change a weird way to report an error
17905         from using `read-string' to using `error'.
17906         Instead of using interactive arguments in the function body,
17907         add new argument `confirm'.
17909 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17911         * textmodes/remember.el (remember-buffer):
17912         * progmodes/cperl-mode.el (cperl-vc-header-alist):
17913         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17914         (icalendar-extract-ical-from-buffer):
17915         * net/newst-treeview.el (newsticker-groups-filename):
17916         * net/newst-backend.el (newsticker-cache-filename):
17917         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17918         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17919         (speedbar-add-ignored-path-regexp, speedbar-line-path)
17920         (speedbar-buffers-line-path, speedbar-path-line)
17921         (speedbar-buffers-line-path):
17922         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17923         (epg-sign-keys):
17924         * epa.el (epa-display-verify-result):
17925         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17927 2009-08-21  Glenn Morris  <rgm@gnu.org>
17929         * progmodes/js.el (inferior-moz-process): Fix declaration.
17931         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17933         * obsolete/rnewspost.el (news-mail-reply):
17934         Use goto-char rather than goto-line.
17936         * term/ns-win.el (ns-open-file-select-line):
17937         Use line-beginning-position rather than goto-line.
17939         * apropos.el (apropos-command):
17940         * ehelp.el (electric-helpify):
17941         * printing.el (pr-show-setup):
17942         * strokes.el (strokes-help):
17943         * tutorial.el (tutorial--describe-nonstandard-key)
17944         (tutorial--detailed-help):
17945         * woman.el (woman-mini-help, woman-display-extended-fonts):
17946         * calc/calc-help.el (calc-describe-key):
17947         * emulation/edt.el (edt-electric-helpify):
17948         * international/mule-diag.el (mule-diag):
17949         * play/yow.el (apropos-zippy):
17950         * progmodes/python.el (python-describe-symbol):
17951         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17952         * textmodes/table.el (*table--cell-describe-mode)
17953         (*table--cell-describe-bindings):
17954         Use help-print-return-message rather than the now obsolete alias.
17956         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17957         (calendar-cursor-to-visible-date):
17958         * play/5x5.el (5x5-position-cursor):
17959         * play/decipher.el (decipher):
17960         * play/gomoku.el (gomoku-goto-xy):
17961         * play/landmark.el (lm-goto-xy):
17962         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17963         (mpuz-paint-digit):
17964         Use forward-line, not goto-line.
17966         * mail/rmail.el (rmail-obsolete): Delete custom group.
17967         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17968         (rmail-remote-password, rmail-remote-password-required):
17969         Remove unneeded :set-after and :set properties.
17971 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
17973         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17975 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
17977         * loadup.el: Remove leftover macos code.
17979         * vc-git.el (vc-git-annotate-command): Run asynchronously.
17980         Explicitly pass the date format to git blame so that user local
17981         so that the output format can be parsed.
17983 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
17985         * net/dbus.el (top): Don't check for (getenv
17986         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
17988 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
17990         * log-edit.el (log-edit-strip-single-file-name): New var.
17991         (log-edit-insert-changelog): Use it.  Bug#3571
17993 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17995         * subr.el (read-passwd): Use read-key so keypad keys work as well.
17996         Bug#3287
17998         * help.el (help-print-return-message): Rename from
17999         print-help-return-message.
18001         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18002         cvs-mode-map parent hack.
18003         (log-view-mode): Derive from special-mode.
18005         * linum.el (linum-mode): window-size-change-functions is redundant.
18006         Adapt to new window-configuration-change-hook behavior.
18007         (linum-after-size, linum-after-config): Remove.
18009         * imenu.el (imenu-example--name-and-position)
18010         (imenu-example--lisp-extract-index-name)
18011         (imenu-example--create-lisp-index, imenu-example--create-c-index):
18012         Mark as obsolete.
18014         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18015         (inferior-prolog-mode): Use it.
18016         (inferior-prolog-load-file): Reset list of errors.
18018 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18020         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18022         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18024 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
18026         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18027         is running already.
18029 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18031         * subr.el (listify-key-sequence-1): Use normal syntax since those
18032         integers are nowadays always represented by the same (positive) number
18033         on all platforms.
18034         (read-key-empty-map): New const.
18035         (read-key-delay): New var.
18036         (read-key): New function.
18037         (force-mode-line-update): Use with-current-buffer.
18038         (locate-user-emacs-file): Don't forget to abbreviate the file name.
18039         (start-process-shell-command, start-file-process-shell-command):
18040         Discourage the use of command-args.
18042 2009-08-19  Glenn Morris  <rgm@gnu.org>
18044         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18046 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18048         * simple.el (choose-completion-string): Don't rely on
18049         minibuffer-completing-file-name and ad-hoc checks to decide whether
18050         to continue completion or not.
18052         * minibuffer.el (minibuffer-hide-completions): New function.
18053         (completion--do-completion): Use it.
18054         (completions-annotations): New face.
18055         (completion--insert-strings): Use it.
18056         (completion-pcm--delim-wild-regex): Add docstring.
18057         (completion-pcm--string->pattern): Add support for 0-width delimiters
18058         in completion-pcm--delim-wild-regex.
18060 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18062         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18063         Remove unused var `buffer-modified-p'.
18065         * minibuffer.el (completion--do-completion): Move point for the #b001
18066         case as well (bug#4176).
18067         (minibuffer-complete, minibuffer-complete-word): Don't move point.
18069 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
18071         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
18072         and :session buses.
18074 2009-08-18  Kenichi Handa  <handa@m17n.org>
18076         * international/ucs-normalize.el (ucs-normalize-version):
18077         Change to 1.1.
18078         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18079         (utf-8-hfs): Make it perform normalization on encoding too.
18081         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
18082         (sentence-end-without-space): Delete duplicated chars.
18083         (sentence-end-base): Likewise.
18085         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
18086         (html-mode): Delete duplicated chars from sentence-end-base.
18088         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
18089         (texinfo-mode): Delete duplicated chars from sentence-end-base.
18091 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
18093         * files.el (hack-one-local-variable): If the mode function is for
18094         a minor mode, pass it an argument (Bug#4148).
18096 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
18098         * net/tramp.el (tramp-register-completion-file-name-handler):
18099         Check also for (member 'partial-completion completion-styles).
18101 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18103         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18104         abbrev (Bug#3943).
18106 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
18108         * progmodes/cperl-mode.el: Merge upstream 6.2.
18109         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18110         (cperl-forward-re): Check cperl-brace-recursing.
18111         (cperl-highlight-charclass): New function.
18112         (cperl-find-pods-heres): Use it.
18113         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18114         (cperl-beautify-regexp-piece): Fix column calculation.
18115         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18116         (cperl-beautify-level): Don't process entire regexp.
18117         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18118         calling man.
18119         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18120         (cperl-init-faces): Build a list in the normal way.
18122 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18124         * calendar/parse-time.el (parse-time-string-chars): Save match
18125         data.
18127 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18129         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18130         (sql-product): Use it.
18131         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18132         (sql-set-product): Add completion.
18133         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18134         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18135         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18136         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18137         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18138         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18139         (sql-highlight-db2-keywords): Remove.
18140         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18141         (sql-highlight-product): Use derived-mode-p.
18142         (sql-set-sqli-buffer): Use with-current-buffer.
18143         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18144         Simplify.
18146         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18148         * term.el: Fix commenting convention, turn comments into docstrings.
18150 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
18152         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18154 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
18156         * calendar/parse-time.el (parse-time-string-chars): Compute using
18157         character classes, to handle non-ascii characters (Bug#3190).
18159 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18161         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18162         another heredoc if the user adds another < (Bug#3226).
18164         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18165         Don't initialize based on window-system (Bug#4124).
18167         * facemenu.el (facemenu-read-color): Use a completion function
18168         that accepts any defined color, such as RGB triplets (Bug#3677).
18170         * files.el (get-free-disk-space): Change fallback default
18171         directory to /.  Expand DIR argument before switching to fallback.
18172         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18174 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
18176         * files.el (load-library): Doc fix.
18178 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
18180         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18181         (viper-if-string): Redefine C-s in the minibuffer to insert the last
18182         incremental search string.
18184         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18185         XEmacs.
18187         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18188         (ediff-merge-region-is-non-clash)
18189         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18190         Also check if the job is really a merge job.
18192         * ediff.el (ediff-current-file): New function.
18194 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
18196         * progmodes/js.el: Edit docstrings throughout to follow Emacs
18197         conventions.
18198         (js-insert-and-indent): Delete function.
18199         (js-mode-map): Don't bind keys to js-insert-and-indent.
18200         (js-beginning-of-defun): Rename from js--beginning-of-defun.
18201         (js-end-of-defun): Rename from js--end-of-defun.
18202         (js-auto-indent-flag): Delete variable.
18204 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
18206         * progmodes/js.el: Remove proclaim statement.
18207         Defvar which-func-imenu-joiner-function to silence compiler.
18209         * files.el (auto-mode-alist): Use js-mode for .js files.
18211         * progmodes/js2-mode.el: Remove file.
18213         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18215         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18217         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18219 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
18220             Karl Landstrom  <karl.landstrom@brgeight.se>
18222         * progmodes/js.el: New file.
18224 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
18226         * timezone.el (timezone-parse-date): Add ability to understand ISO
18227         basic format (minimal separators) dates in addition to the
18228         already-supported extended format dates.
18230 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
18232         * international/ucs-normalize.el: Add a `coding' file variable.
18234         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18236 2009-08-14  Sam Steingold  <sds@gnu.org>
18238         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18240 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
18242         * faces.el (help-argument-name): Define it here instead of
18243         help-fns.el, because in daemon mode help-fns.el may be loaded when
18244         faces are still uninitialized (Bug#1078).
18246         * help-fns.el (help-argument-name): Move defface to faces.el.
18248 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
18250         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18251         create buffer with a pty but no process so that GDB can make the
18252         inferior the controlling process.
18254 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
18256         * international/ucs-normalize.el: New file.
18258 2009-08-13  Richard Stallman  <rms@gnu.org>
18260         * mail/rmail.el (rmail-get-attr-names):
18261         Accept an attribute header that is too short.
18263         * mail/rmail.el (rmail-forget-messages):
18264         Ignore nil elt in rmail-message-vector.  Use dotimes.
18266         * progmodes/compile.el (compilation-goto-locus):
18267         Use next-error-move-function.
18269         * simple.el (next-error-move-function): New variable.
18271 2009-08-12  Juri Linkov  <juri@jurta.org>
18273         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18274         always non-nil.  (Bug#4052)
18276         * replace.el (read-regexp): Return empty string when
18277         `default-value' is nil.
18278         (keep-lines-read-args): Don't use empty string as the
18279         default value for `read-regexp'.  (Bug#2495)
18281 2009-08-12  Juri Linkov  <juri@jurta.org>
18283         * international/mule-cmds.el (ucs-insert): Change arguments
18284         from `arg' to `character', `count', `inherit' to be the same
18285         as in `insert-char'.  Doc fix.  (Bug#4039)
18287         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18289 2009-08-12  Juri Linkov  <juri@jurta.org>
18291         * files-x.el: New file.
18293         * files.el: Move code that deals with adding/deleting
18294         file/directory-local variables to files-x.el.
18296         * Makefile.in (ELCFILES): Add files-x.elc.
18298 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
18300         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18301         to use `goto-line'.
18302         (gdb-place-breakpoints, gdb-get-location): Rewritten without
18303         `goto-line'.
18304         (gdb-invalidate-disassembly): Do not refresh upon receiving
18305         'update signal.  Instead, update all disassembly buffers only after
18306         threads list.
18307         (gdb): Send -target-detach when buffer is killed (Bug#3794).
18308         (gdb-starting): Move -data-list-register-names...
18309         (gdb-stopped): ...here so it's sent when first thread stops.
18310         (gdb-registers-handler-custom): Do nothing if register names are
18311         unknown yet.
18313         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18314         from `gdb-mi.el' to avoid extra tangling.
18316         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18317         change which breaks `gud-def' definitions used in `gdb'.
18318         (gdb-update-gud-running): No extra fuss for updating frame number.
18320 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18322         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18323         (describe-language-environment-map, setup-language-environment-map)
18324         (set-coding-system-map): Move initialization into declaration.
18325         (set-language-info-alist): Last arg to define-key-after can be skipped.
18327         * international/quail.el (quail-completion-1): Simplify.
18328         (quail-define-rules): Use slightly more compact code.
18329         (quail-insert-decode-map): Propertize keys, compact columns.
18331         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18332         Add goto-line.
18334 2009-08-10  Miles Bader  <miles@gnu.org>
18336         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18337         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18338         (js2-instance-member, js2-private-member, js2-private-function-call)
18339         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18340         (js2-magic-paren, js2-external-variable):
18341         Remove "-face" suffix from face names.
18342         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18343         (js2-highlight-undeclared-vars, js2-peek-token)
18344         (js2-parse-function-params, js2-mode-show-errors)
18345         (js2-mode-show-warnings, js2-make-magic-delimiter)
18346         (js2-mode-highlight-magic-parens): Update to use new face names.
18348 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
18350         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18351         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
18353 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
18355         * subr.el: Provide hashtable-print-readable.
18357         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18358         hs-c-like-adjust-block-beginning.
18359         (hs-hide-block-at-point): Stop hiding at the beginning of
18360         hs-block-end-regexp (Bug#700).
18362 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
18364         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18365         a macro.
18366         (gdb-registers-handler-custom): Do not fail when register names
18367         are unavailable.
18369 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18371         * progmodes/gdb-mi.el (gdb-control-all-threads)
18372         (gdb-control-current-thread): Interactive setters for
18373         `gdb-gud-control-all-threads' to use in menu.
18374         (gdb-show-run-p): Show «Go» when process is not active.
18375         (gud-tool-bar-map): Add non-stop/A,T indicator.
18376         Uses gud/thread.xpm and gud/all.xpm.
18378 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
18380         * net/net-utils.el (net-utils-font-lock-keywords): New var.
18381         (nslookup-font-lock-keywords): Make it a variable.
18382         (net-utils-mode): New mode for viewing diagnostic network output.
18383         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18384         (net-utils-run-simple): New function.
18385         (ifconfig, iwconfig, netstat, arp, route): Use it.
18387 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18389         * progmodes/gdb-mi.el (gdb-read-memory-custom)
18390         (gdb-memory-set-address, def-gdb-set-positive-number)
18391         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18392         after changing settings.
18393         (gdb-invalidate-disassembly): Update when first shown.
18394         (gdb-edit-locals-value): Fixed.
18395         (gdb-registers-handler-custom): Print registers in right order and
18396         allow changing register values (only for current thread yet).
18397         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18398         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18399         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18400         (gdb-locals-handler-custom, gdb-registers-handler-custom):
18401         Thread info in mode name.
18402         (gdb-registers-mode-map): TAB to switch to locals.
18404 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
18406         * mail/rmail.el (rmail-add-mbox-headers)
18407         (rmail-set-message-counters-counter): Search for
18408         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
18410 2009-08-08  Glenn Morris  <rgm@gnu.org>
18412         * Makefile.in (ELCFILES): Update.
18414 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18416         * mail/sendmail.el (mail-yank-original):
18417         Set buffer-file-coding-system from the one used by the message whose
18418         text is yanked.
18420         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18421         to "windows" when "pgnuplot" is used.
18422         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18423         Don't call accept-process-output if "pgnuplot" is used.
18424         (calc-graph-init): Don't send -display and -geometry to
18425         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
18426         running "pgnuplot -V" with shell-command-to-string.
18428         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18429         the default.
18431 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18433         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18434         org/org-latex.elc.
18436 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
18438         * vc-dispatcher.el (vc-resynch-window): Update comment.
18440         * term.el (term-handle-ansi-escape): Add comments with the
18441         terminfo capabilities implemented.
18443 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
18445         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18446         (gdb-var-create-handler): Rewritten using JSON parser.
18447         (gdb-propertize-header): Move earlier.
18448         (gdb-set-header): Remove to avoid duplication.
18449         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18450         Refresh disassembly buffers only after threads list have been
18451         update.
18452         (gdb-threads-header, gdb-registers-header): Per-buffer header line
18453         variables.
18455 2009-08-04  Juri Linkov  <juri@jurta.org>
18457         * files.el: Commands to add/delete file/directory-local variables.
18458         (read-file-local-variable, read-file-local-variable-value)
18459         (read-file-local-variable-mode, modify-file-local-variable)
18460         (modify-file-local-variable-prop-line)
18461         (modify-dir-local-variable): New functions.
18462         (add-file-local-variable, delete-file-local-variable)
18463         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18464         (add-dir-local-variable, delete-dir-local-variable)
18465         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18466         (copy-dir-locals-to-file-locals-prop-line): New commands.
18468 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
18470         * abbrev.el (insert-abbrev-table-description): Prettify output.
18471         Suggested by Karl Chen.
18473 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
18475         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18476         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18477         (gdb-overlay-arrow-position, gdb-thread-position)
18478         (gdb-disassembly-position): Declare variables.
18479         (gdb-wait-for-pending): Function now.
18480         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18481         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18482         compilation goes smoothly.
18483         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18484         (gdb-non-stop-setting): New customization setting which replaces
18485         `gdb-non-stop' so changing it doesn't break active GDB session.
18486         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18487         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18488         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18489         (gdb-show-threads-by-default): New customization options.
18490         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18491         routines.
18492         (gdb-get-buffer-create): Send buffers update signal when they are
18493         created.
18494         (gdb-invalidate-locals, gdb-invalidate-registers)
18495         (gdb-invalidate-breakpoints)
18496         (gdb-invalidate-threads, gdb-invalidate-disassembly)
18497         (gdb-invalidate-memory): Accept update signal.
18498         (gdb-current-context-command): Use --frame option.
18499         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18500         Implement `gdb-frame-number' selection logic.
18501         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18502         whether to show GUD toolbar buttons.
18503         (gdb-thread-exited): Unselect current thread when it exits.
18504         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18505         (gdb-mark-line): Routine which sets overlay arrow or inverses
18506         video on fringeless displays.
18507         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18508         to build aligned columns of data in GDB buffers and set text
18509         properties line-by-line.
18510         (gdb-invalidate-breakpoints)
18511         (gdb-breakpoints-list-handler-custom)
18512         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18513         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18514         (gdb-registers-handler-custom): Align data columns.
18515         (gdb-locals-handler-custom): Now prints data like in variable
18516         declarations.
18517         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18518         Remove confusing buttons.
18519         (gdb-invalidate-threads): Append --frame.
18520         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18521         between breakpoints/threads buffers.
18522         (gdb-set-window-buffer): Now can ignore dedicated windows.
18523         (gdb-propertize-header): Use `gdb-set-window-buffer'.
18524         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18525         (def-gdb-thread-buffer-gud-command): Replaces
18526         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18527         for fine thread control.
18528         (gdb-preempt-existing-or-display-buffer): New function used to
18529         display bound buffers without breaking window layout.
18530         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18531         (gdb-select-frame): New version of `gdb-frames-select' which now
18532         sets `gdb-frame-number' so commands may use --frame option instead
18533         of inner debugger state.
18534         (gdb-frame-handler): Do not set `gdb-frame-number'.
18535         (gdb-threads-mode-map): Select threads with mouse.
18537         * progmodes/gud.el (gdb-gud-context-call): Declare function to
18538         avoid compilation warning.
18539         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18540         `gdb-show-stop-p`.
18542         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18543         Argument `key' renamed to `buffer-type'.
18544         (gdb-current-context-buffer-name): Do not add thread info to
18545         buffer name when no thread is selected.
18546         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18547         command (bug 3794).
18548         (gdb-thread-selected): Handle `=thread-selected' notification.
18549         (gdb-wait-for-pending): New macro to deal with congestion problems.
18550         (gdb-breakpoints-list-handler-custom): Don't fail on pending
18551         breakpoints.
18552         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18553         This fixes problem similar to one described in bug 3947.
18554         (gud-menu-map): More menu items.
18555         (gdb-init-1): Reset `gdb-thread-number' to nil.
18557         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18558         non-stop settings.
18560         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18561         (gdb-current-context-command): Do not append --thread if
18562         `gdb-thread-number' is nil.
18563         (gdb-running-threads-count, gdb-stopped-threads-count):
18564         New variables.
18565         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18566         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18567         New customization options.
18568         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18569         GUD commands.
18570         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18571         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18572         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18573         set `gdb-thread-number' and update `gud-running' properly.
18574         (gdb-running): Update threads list when new threads appear.
18575         (gdb-stopped): Support non-stop operation and new thread switching
18576         logic.
18577         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18578         (gdb-json-partial-output): New set of JSON routines.
18579         (def-gdb-auto-update-trigger): New `signal-list' optional
18580         argument.
18581         (gdb-thread-list-handler-custom): Update `gud-running',
18582         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18583         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18584         (gdb-continue-thread, gdb-step-thread): New commands for fine
18585         thread execution control.
18586         (gud-menu-map): New menu items to switch non-stop options.
18587         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18588         (gdb-send): Mimic RET properly (bug 3794).
18590         * progmodes/gdb-mi.el (gdb-rules-name-maker)
18591         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18592         gdb-buffer-rules.
18593         (def-gdb-auto-update-handler): New nopreserve optional argument.
18594         (gdb-stack-list-frames-custom): Print stack from top to bottom.
18596         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18597         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18598         (gdb-parent-mode): New mode to derive other GDB modes from.
18599         (gdb-display-disassembly-for-thread)
18600         (gdb-frame-disassembly-for-thread): New commands for threads
18601         buffer.
18603         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18604         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18605         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18606         (gdb-update): We now store all GDB buffers in a list so that they
18607         can be updated by traversing a list instead of calling invalidate
18608         triggers explicitly.
18609         (def-gdb-trigger-and-handler): New macro to define trigger-handler
18610         pair for GDB buffer.
18611         (gdb-stack-buffer-name): Add thread information.
18612         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18613         handle pending triggers.
18614         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18615         (def-gdb-thread-buffer-simple-command)
18616         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18617         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18618         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18619         New commands which show buffers bound to thread.
18620         (gdb-stack-list-locals-regexp): Remove unused regexp.
18622         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18623         (gdb-locals-buffer-name, gdb-registers-buffer-name)
18624         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18625         to (gud-comint-buffer) in *-buffer-name functions
18626         because (gdb-get-target-string) already does that.
18627         (gdb-locals-handler-custom, gdb-registers-handler-custom)
18628         (gdb-changed-registers-handler): Rewritten without regexps.
18630         * progmodes/gdb-mi.el: Basic thread selection support.
18631         (gdb-thread-number): New variable.
18632         (gdb-current-context-command): New macro which adds --thread
18633         option to command.
18634         (gdb-threads-mode-map): Select thread with SPC.
18635         (gdb-thread-list-handler-custom): Mark current thread with overlay
18636         arrow.  Synchronize GDB thread and Emacs thread.
18637         (gdb-select-thread): New command which selects current thread.
18638         (gdb-invalidate-frames, gdb-invalidate-locals)
18639         (gdb-invalidate-registers): Use --thread option.
18641 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
18643         * net/tramp.el (top): Make check for tramp-gvfs loading more
18644         robust.  (Bug#3977)
18645         (tramp-handle-insert-file-contents): `unwind-protect' must be
18646         inside `with-parsed-tramp-file-name'.
18648         * net/tramp-gvfs.el (top): Remove superfluous message when loading
18649         fails.
18651 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
18653         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18654         directory if CLASSPATH is not set.
18656 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
18658         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18659         New defconst.
18660         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
18662 2009-08-02  Kevin Ryde  <user42@zip.com.au>
18664         * net/newst-backend.el (newsticker--raw-url-list-defaults):
18665         Update freshmeat link.  Delete newsforge.com as it seems gone.
18667 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18669         * select.el (x-set-selection): Doc fix (Bug#4021).
18671         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18673         * help-fns.el (describe-variable): Treat list return values from
18674         dir-locals-find-file properly (Bug#4005).
18676 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
18678         * net/tramp.el (tramp-debug-message): Print also microseconds.
18680 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
18682         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18683         or END is non-nil.
18684         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18685         (tramp-get-debug-buffer): Change `outline-regexp' according to new
18686         format.
18688         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18689         (tramp-get-file-property): Use it.
18691         * autorevert.el (auto-revert-handler):
18692         Allow `auto-revert-tail-mode' for remote files.
18694 2009-08-02  Jason Rumney  <jasonr@gnu.org>
18696         * minibuffer.el (read-file-name): Treat confirm options to
18697         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
18699 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18701         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18702         (font-lock-variable-name-face, font-lock-constant-face):
18703         Darken the colors for light backgrounds.
18705 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
18707         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18708         month names.  (Bug#3987)
18710 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
18712         * simple.el (line-move-finish): Pass whole number to
18713         line-move-to-column.
18714         (line-move-visual): Perform hscroll to the recorded position.
18716 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
18718         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18720 2009-07-29  Alan Mackenzie  <acm@muc.de>
18722         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18724 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
18726         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18727         (gdb-place-breakpoints): Use full path when setting breakpoints.
18729 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
18731         * calc/calc.el (calc-mode-map): Add keybinding for
18732         `calc-transpose-lines'.
18734 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
18736         * calc/calc-misc.el (calc-transpose-lines): New function.
18738 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
18740         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18741         Simplify check for out-of-band methods.
18742         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18743         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
18745 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
18747         * vc-git.el (vc-git-checkin): Fix typo.
18749 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
18751         * progmodes/js2-mode.el: New file.
18753 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
18755         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18756         (gud-menu-map): Adjust tooltip accordingly.
18758 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
18760         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18761         (vc-bzr-log-view-mode): Adjust log-view-file-re.
18763         * add-log.el (change-log-mode-map): Add a menu.
18765 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
18767         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18768         function returns nil.
18769         (dbus-handle-event): Handle special return value :ignore.
18770         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18772 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
18774         * view.el (view-mode-enable): Don't define Helper-return-blurb if
18775         it's not needed.
18777 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
18779         Fix Bug#3888:
18781         * w32-vars.el (x-select-enable-clipboard): Doc fix.
18783         * term/pc-win.el (x-display-name, x-colors)
18784         (x-select-enable-clipboard, x-select-text): Doc fix.
18786         * term/common-win.el (x-display-name, x-colors): Doc fix.
18788         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18789         (xw-defined-colors): Doc fix.
18791         * w32-fns.el (x-select-text, x-setup-function-keys)
18792         (x-get-selection, x-set-selection): Doc fix.
18794         * term/x-win.el (x-select-text, x-setup-function-keys)
18795         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18797         * select.el (x-set-selection): Doc fix.
18799 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
18801         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18802         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
18803         "IsNSSSupportAvailable" method is not available.
18804         Reported by Steve Youngs <steve@sxemacs.org>.
18806 2009-07-24  Kenichi Handa  <handa@m17n.org>
18808         * international/characters.el: Fix setting of category ?C, ?|, ?K,
18809         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
18810         (build-unicode-category-table): Fix range checks.
18812 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
18814         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18815         the buffer we try to sync is current when calling
18816         vc-resynch-buffer.
18818         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18819         not show up to date files.
18821 2009-07-24  Glenn Morris  <rgm@gnu.org>
18823         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18824         Add autoload cookies.  If necessary, initialize.
18825         (elint-log): Handle non-file buffers.
18826         (elint-initialize): Add optional argument to reinitialize.
18827         (elint-find-builtin-variables): Save excursion.
18829 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
18831         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18832         for Lint.
18834 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
18836         * vc.el (vc-print-log-internal): New function, split out from ...
18837         (vc-print-log): ... here.
18838         (vc-dir-move-to-goal-column): Declare.
18840         * vc-git.el (vc-git-add-signoff): New variable.
18841         (vc-git-checkin): Use it.
18842         (vc-git-toggle-signoff): New function.
18843         (vc-git-extra-menu-map): Bind it to menu.
18844         (vc-git--run-command-string): Accept a nil FILE argument.
18845         (vc-git-stash-list): New function.
18846         (vc-git-dir-extra-headers): Use it.
18848 2009-07-23  Glenn Morris  <rgm@gnu.org>
18850         * help-fns.el (describe-variable): Describe ignored and risky local
18851         variables in a similar way to that in which we describe safe ones.
18853         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18854         (byte-compile-output-file-form, byte-compile-output-docform)
18855         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18856         Give some more local variables with common names a "bytecomp-" prefix,
18857         so as not to shadow things during compilation.
18858         * emacs-lisp/cl-macs.el (load-time-value)
18859         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18860         `outbuffer' to `bytecomp-outbuffer'.
18862         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18863         since the next two variables cover them automatically now.
18864         (elint-builtin-variables, elint-autoloaded-variables): New.
18865         (elint-unknown-builtin-args): Remove all members, since they can be
18866         parsed automatically now.
18867         (elint-extra-errors): New.
18868         (elint-env-add-env, elint-env-add-macro): Use cadr.
18869         (elint-current-buffer): Use or.  Change final message.
18870         (elint-get-top-forms): Use line-end-position.
18871         (elint-init-env): Use cadr.  Handle autoload, declare-function,
18872         and defalias.
18873         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
18874         (regexp-assoc): Remove unused function.
18875         (elint-top-form): Set elint-current-pos, to record the start of the
18876         top-level form, for compilation-mode.
18877         (elint-form): Trap errors in macro expansion.  Use dolist.
18878         (elint-unbound-variable): Use elint-builtin-variables and
18879         elint-autoloaded-variables.
18880         (elint-get-args): Use cadr, or.
18881         (elint-check-cond-form): Use dolist, cadr.
18882         (elint-check-condition-case-form): Doc fix.  Use cadr.
18883         Use elint-extra-errors.
18884         (elint-log): New function.
18885         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18886         Distinguish errors and warnings.
18887         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
18888         Use a bytecomp-style format.
18889         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
18890         (elint-get-log-buffer): Use compilation mode.  Disable undo.
18891         Don't truncate lines.
18892         (elint-initialize): Set builtin and autoloaded variable lists.
18893         Only process elint-unknown-builtin-args if non-nil.
18894         (elint-find-builtin-variables, elint-find-autoloaded-variables):
18895         New functions.
18896         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
18898 2009-07-22  Kevin Ryde  <user42@zip.com.au>
18900         * net/newst-backend.el (newsticker--parse-atom-1.0)
18901         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18902         (newsticker--parse-rss-1.0):
18903         * progmodes/idlwave.el (idlwave-mode):
18904         * progmodes/idlw-shell.el (idlwave-shell-mode):
18905         * progmodes/vera-mode.el (vera-mode):
18906         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18907         * progmodes/vhdl-mode.el (vhdl-mode):
18908         * textmodes/table.el (table-generate-source)
18909         (table--warn-incompatibility):
18910         Hyperlink urls in docstrings with URL `...'.
18912 2009-07-22  Glenn Morris  <rgm@gnu.org>
18914         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18915         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18916         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18917         Remove leading * from defcustom docs.
18919         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
18921         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18922         defcustom doc.
18923         (list-load-path-shadows): Optionally, just return shadows as a string.
18925         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18927 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
18929         * mail/rmailedit.el (rmail-edit-mode):
18930         Use auto-save-include-big-deletions.
18932         * mail/rmail.el (rmail-variables):
18933         Use auto-save-include-big-deletions.
18935         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18936         changes.
18938 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
18940         * calc/calc.el (calc-undo-length): New variable.
18941         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18943 2009-07-21  Richard Stallman  <rms@gnu.org>
18945         * files.el (auto-save-mode): Handle buffer-save-size = -2
18946         for toggling mode.
18948 2009-07-21  Glenn Morris  <rgm@gnu.org>
18950         * textmodes/ispell.el (ispell-looking-back): Update declaration.
18952         * calendar/todo-mode.el (calendar-current-date): Update declaration.
18954         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18955         silence compiler.  Instead...
18956         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18957         (ps-print-ensure-fontified): Update for above function name changes.
18959         * printing.el (pr-mh-get-msg-num, pr-mh-show)
18960         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18961         silence compiler.  Instead...
18962         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18963         (mh-show-buffer): Only define for compiler.
18964         (pr-mh-current-message): Update for above function name changes.
18966         * files.el (abort-if-file-too-large): Explicitly pass `filename'
18967         as an argument.
18968         (find-file-noselect, insert-file-1): Update for above change.
18970         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18972         * mail/mailclient.el (mailclient-send-it): Fix message.
18974         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18975         (edebug-eval): Check cl-debug-env is bound.
18976         (print-level, print-circle): Don't redefine built-in variables.
18978         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18979         (custom-print-vectors): Remove old comments from doc.
18981         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18982         (emerge-version): Make the variable an obsolete alias for the
18983         emacs-version variable.  Make the function obsolete.
18984         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18985         Emerge options, rather than merging in into the main Options menu.
18986         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
18987         and auto advance modes.  Disable edit/fast items when not relevant.
18989 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
18991         * term/vt420.el (terminal-init-vt420): Fix typo.
18993 2009-07-20  Sam Steingold  <sds@gnu.org>
18995         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18996         variable (removed from compile.el on 2004-03-11).
18998 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
19000         * files.el (hack-local-variables-filter): Fix last change.
19002 2009-07-19  Juri Linkov  <juri@jurta.org>
19004         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19005         (dir-local-variables-alist): New buffer-local variable.
19006         (hack-local-variables-filter): If variable is not dir-local,
19007         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19008         because file-local overrides dir-local.
19009         (c-postprocess-file-styles) <declare-function>:
19010         Remove obsolete declaration.
19011         (hack-dir-local-variables): Add dir-local variable/value pair to
19012         `dir-local-variables-alist' and remove duplicates.  Doc fix.
19014         * help-fns.el (describe-variable): Add information about
19015         file-local and dir-local variables.
19017 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
19019         * files.el (hack-local-variables-filter): Rewrite.
19021 2009-07-19  Glenn Morris  <rgm@gnu.org>
19023         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19024         Silence compiler by only defining on XEmacs.
19026         * international/mule.el (auto-coding-regexp-alist): Only match
19027         BABYL... at the start of buffer, not of lines.  (Bug#3790)
19029         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19030         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
19031         (cal-menu-context-mouse-menu): Doc fix.
19033         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19035         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
19037 2009-07-18  Juri Linkov  <juri@jurta.org>
19039         * info.el: Virtual Info keyword finder.
19040         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19041         (Info-finder-file): New variable.
19042         (Info-finder-find-file): New function.
19043         (finder-known-keywords, finder-package-info)
19044         (find-library-name, lm-commentary): Use defvar and
19045         declare-function to silence compiler warnings.
19046         (Info-finder-find-node): New function.
19047         (info-finder): New command.
19049         * subr.el (process-kill-buffer-query-function): New function.
19050         (add-hook)<kill-buffer-query-functions>: Add hook
19051         `process-kill-buffer-query-function'.
19053 2009-07-18  Alan Mackenzie  <acm@muc.de>
19055         * progmodes/cc-mode.el (c-before-hack-hook)
19056         (c-postprocess-file-styles): Give invocation of `c-set-style'
19057         DONT-OVERRIDE parameter of t.  Already set style variables will
19058         thus not be overridden by style settings given by `c-file-syle'.
19060         * files.el (hack-local-variables-filter): Remove entries with
19061         duplicate keys from `file-local-variables-alist'.
19063 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
19065         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19066         x-set-selection if display-selections-p returns nil for the
19067         current frame.
19069 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
19071         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19073 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
19075         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19076         Accept nil in addition to a regexp.
19077         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19078         Accept nil in addition to a regexp.
19079         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19080         buffers that have an associated file.  Handle nil values of
19081         desktop-buffers-not-to-save and desktop-files-not-to-save.
19082         (Bug#3833)
19084         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19085         (x-disown-selection-internal): New functions.
19087 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
19089         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19090         warning.
19091         (gdb-breakpoints-header): Move forward to avoid compiler warning.
19092         (gdb-make-header-line-mouse-map): Remove duplicate definition.
19094 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
19096         * simple.el (set-mark): Revert last change.
19098 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
19100         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19101         rendering of pngs is not possible instead of messaging a long
19102         description.
19104 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
19106         * w32-fns.el (x-selection-owner-p): New function.
19108         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19109         (mouse-yank-at-click, mouse-yank-primary):
19110         If select-active-regions is non-nil, deactivate the mark before
19111         insertion.
19113         * simple.el (deactivate-mark, set-mark): Only save selection if we
19114         own it.
19116 2009-07-17  Kenichi Handa  <handa@m17n.org>
19118         * case-table.el (describe-buffer-case-table): Fix for the case
19119         that KEY is a cons.
19121 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
19123         * vc-rcs.el (vc-rcs-find-file-hook):
19124         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19126 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
19128         * net/tramp.el (tramp-wait-for-output): Handle the case when
19129         commands do not return a newline but a null byte before the shell
19130         prompt.  (Bug#3858)
19132 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
19134         * term/ns-win.el (ns-set-alpha): Don't declare.
19135         (ns-set-background-alpha): Remove function.
19137 2009-07-16  Kevin Ryde  <user42@zip.com.au>
19139         * emacs-lisp/copyright.el (copyright-update): Save match-data across
19140         y-or-n-p, for safety.
19142 2009-07-16  Richard Stallman  <rms@gnu.org>
19144         * files.el (auto-save-mode): If buffer-saved-size is -2,
19145         don't clobber it.
19147         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19148         (rmail-retry-ignored-headers): Add more uninteresting fields.
19150 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
19152         * net/rcirc.el (rcirc): Use history variables.
19153         (rcirc-server-name-history, rcirc-nick-name-history)
19154         (rcirc-server-port-history): New variables.
19156 2009-07-15  Kenichi Handa  <handa@m17n.org>
19158         * international/mule-cmds.el (set-language-environment-charset):
19159         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19160         ignore them.
19162         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19163         Delete unibyte-display.
19165 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
19167         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19169 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
19171         * simple.el (deactivate-mark): Optional argument FORCE.
19172         (set-mark): Use deactivate-mark.
19174         * info.el (Info-search): No need to check transient-mark-mode
19175         before calling deactivate-mark.
19177         * select.el (x-set-selection): Doc fix.
19178         (x-valid-simple-selection-p): Allow buffer values.
19179         (xselect--selection-bounds): Handle buffer values.
19180         Suggested by David De La Harpe Golden.
19182         * mouse.el (mouse-set-region, mouse-drag-track):
19183         Call copy-region-as-kill before setting the mark, to let
19184         select-active-regions work.
19186 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
19188         * simple.el (deactivate-mark): If select-active-regions is
19189         non-nil, copy the selection data into a string.
19190         (activate-mark): If select-active-regions is non-nil, set the
19191         selection to the current buffer.
19192         (set-mark): Update selection if select-active-regions is non-nil.
19194         * select.el (x-valid-simple-selection-p): Allow buffer values.
19196 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19198         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19199         and more featureful message-mode.
19201 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
19203         * select.el (x-set-selection): Doc fix.
19204         (x-valid-simple-selection-p): Disallow selection data consisting
19205         of a list or cons of integers, since that is not used.
19206         (xselect--selection-bounds, xselect--int-to-cons): New functions.
19207         (xselect-convert-to-string, xselect-convert-to-length)
19208         (xselect-convert-to-filename, xselect-convert-to-charpos)
19209         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19211 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
19213         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19214         output in -break-info command (Emacs bug #3794).
19216 2009-07-14  Glenn Morris  <rgm@gnu.org>
19218         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19219         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19220         (edebug-print-length, edebug-print-level, edebug-print-circle)
19221         (edebug-sit-for-seconds, edebug-view-outside)
19222         (edebug-bounce-point, edebug-set-global-break-condition)
19223         (edebug-Go-nonstop-mode, edebug-trace-mode)
19224         (edebug-Trace-fast-mode, edebug-continue-mode)
19225         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19226         (edebug-visit-eval-list): Doc fixes.
19228         * subr.el (def-edebug-spec): Doc fix.
19230 2009-07-14  Kenichi Handa  <handa@m17n.org>
19232         * international/characters.el: Fix setting of category ?C.
19234 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
19236         * term/ns-win.el (x-select-font): defalias x-select-font to
19237         ns-popup-font-panel instead of generate-fontset-menu.
19239 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
19241         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
19243 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
19245         * arc-mode.el (archive-find-type): Allow for a PK00 string before
19246         the PK\003\004 header (Bug#3770).
19248 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
19250         * pcomplete.el (pcomplete-comint-setup): Check for
19251         shell-dynamic-complete-filename too.
19253 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
19255         * simple.el (temporary-goal-column): Change the value for
19256         line-move-visual to a cons cell.
19257         (line-move-visual): Record or set the window hscroll, if
19258         necessary (Bug#3494).
19259         (line-move-1): Handle cons value of temporary-goal-column.
19261 2009-07-11  Kenichi Handa  <handa@m17n.org>
19263         * international/mule-diag.el (describe-character-set): Don't show
19264         width.
19266 2009-07-10  Sam Steingold  <sds@gnu.org>
19268         * progmodes/compile.el (compilation-mode-font-lock-keywords):
19269         Omake sometimes indents the errors it prints, so allow all
19270         regexps to start with spaces.
19272 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
19274         * cus-edit.el (customize-changed-options-previous-release):
19275         Bump value to 22.1.  (Bug#3804)
19277 2009-07-08  Sam Steingold  <sds@gnu.org>
19279         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19280         to be a cons cell (test . ignored-directory) to selectively ignore
19281         some directories depending on the location of the search.
19283 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
19285         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19286         remote user is root, on the local host.
19287         (tramp-local-host-p): Either the local user or the remote user
19288         must be root.  (Bug#3771)
19290 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
19292         * progmodes/gdb-mi.el (gdb): Remove description of
19293         gdb-use-separate-io-buffer.
19294         (menu): Don't allow toggling of or enable
19295         gdb-use-separate-io-buffer from menubar.
19297 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19299         * mail/unrmail.el (unrmail): Make sure the message ends with two
19300         newlines (Bug#3769).
19302 2009-07-08  Glenn Morris  <rgm@gnu.org>
19304         * calendar/calendar.el (calendar-current-date): Rework previous change.
19306 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
19308         * calendar/calendar.el (calendar-current-date):
19309         Add an optional argument giving an offset from today.
19311 2009-07-08  Glenn Morris  <rgm@gnu.org>
19313         * tutorial.el (tutorial--describe-nonstandard-key):
19314         Adjust the message for when a key has been unbound.
19315         (help-with-tutorial): Hide the arch-tag.
19317 2009-07-08  Kenichi Handa  <handa@m17n.org>
19319         * international/fontset.el (setup-default-fontset): For each
19320         script, append (not set) font-specs.
19322         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19323         docstring.
19325 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
19327         * progmodes/gdb-mi.el (gdb-init-1): Move sending
19328         -data-list-register-names to ...
19329         (gdb-starting): ... here because GDB 7.0 requires execution to
19330         have started when using this MI command.
19331         (gdb-set-header): New function to distinguish select and
19332         unselected tabs in gdb buffers.
19333         (gdb-propertize-header): New macro that uses gdb-set-header.
19334         (gdb-breakpoints-header, gdb-locals-header): Use it.
19335         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19337 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
19339         * Makefile.in (ELCFILES): Remove fadr.elc.
19341 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
19343         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19344         may contain frame information, so `string-match' should be used.
19345         (gdb-update): Disassembly is invalidated through
19346         `gdb-get-selected-frame'.
19347         (gdb-pad-string): New function to pad string with spaces.
19348         (gdb-invalidate-disassembly): Invalidate only if the buffer
19349         exists.
19350         (gdb-disassembly-handler-custom): Column alignment.
19351         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19352         placing new ones.
19353         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19354         end of line, too.
19355         (gdb-frame-handler): Match convention to for disassembly buffer
19356         mode name.
19357         (gdb-stack-list-frames-handler): Rewritten without regexps.
19358         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19359         not highlight breakpoints without line information.
19360         (gdb-input): Add trailing newline to command.
19362         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19363         buffer properly.
19364         (gdb-breakpoints-list-handler-custom): Replacement for
19365         `gdb-break-list-handler'.  Using real parser instead of regexps
19366         now.
19367         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19368         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19369         to place breakpoints.
19370         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19371         functions.
19372         (gdb-disassembly-handler-custom): Show overlay arrow.
19373         (gdb-disassembly-place-breakpoints): Show breakpoints in
19374         disassembly buffer.
19375         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19376         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19377         instead of parsing breakpoints buffer.  Fixed old menu references
19378         in `gud-menu-map'.
19380         * fadr.el: Remove.
19382         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19383         (gdb-memory-address): New variable which holds top address of
19384         memory page shown in memory buffer.
19385         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19386         New customization variables.
19387         New functions:
19388         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19389         display the memory buffer.
19390         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19391         buffer display parameters.
19392         (def-gdb-memory-format, gdb-memory-format-binary)
19393         (gdb-memory-format-octal, gdb-memory-format-unsigned)
19394         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19395         Functions for setting memory buffer format.
19396         (gdb-memory-unit-word, gdb-memory-unit-halfword)
19397         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19398         unit size used in memory buffer.
19399         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19400         Switch to next/previous page of memory buffer.
19401         Now using (bindat-get-field) instead of fadr functions.
19403 2009-07-07  Sam Steingold  <sds@gnu.org>
19405         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19406         non-top-level files.
19408 2009-07-07  Kenichi Handa  <handa@m17n.org>
19410         * international/mule-cmds.el (reset-language-environment):
19411         Put the highset priority to the charset iso-8859-1.
19413 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19415         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19416         to the end of the line when locating the block (Bug#700).
19418 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
19420         * net/tramp.el (tramp-handle-write-region): Flush file properties
19421         in case of short track.
19423 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
19425         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19426         Coded custom representation of verilog error regular expressions
19427         to work with Emacs-22's new format.
19428         (verilog-error-regexp-xemacs-alist): Coded custom representation
19429         of verilog error regular expressions to work with XEmacs format.
19430         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19431         error recognition into XEmacs.
19432         (verilog-error-regexp-add-emacs): Hook routine to install verilog
19433         error recognition into Emacs-22.
19435 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19437         * woman.el: Remove stand-alone closing parentheses.
19438         (woman-file-name, woman2-format-paragraphs)
19439         (woman-leave-blank-lines): Code cleanup.
19440         (woman-use-own-frame): Change default to nil.
19441         (woman-italic, woman-bold, woman-unknown, woman-addition):
19442         Change defaults to inherit from default faces.
19443         (woman2-process-escapes): Consume the newline after a stand-alone
19444         filler character (Bug#3651).
19446 2009-07-06  Glenn Morris  <rgm@gnu.org>
19448         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19449         (top-level): Move provide to the end.
19450         (ffap): Remove defunct URL from custom group.
19452         * subr.el (eval-after-load): Doc fix.
19454 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
19456         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19457         `calc-embedded-word' is called twice.
19459 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19461         * files.el (find-alternate-file-other-window, find-alternate-file):
19462         Obey confirm-nonexistent-file-or-buffer.
19464 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
19466         * dired-aux.el (dired-show-file-type): Handle remote files.
19468 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
19470         * desktop.el (desktop-globals-to-save):
19471         Add file-name-history (Bug#2750).
19473 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
19475         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19477 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
19479         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19480         property on entire argument since this is what eshell-lisp-command
19481         expects.
19483 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
19485         * net/tramp-gvfs.el (tramp-gvfs-methods)
19486         (tramp-gvfs-zeroconf-domain)
19487         (tramp-bluez-discover-devices-timeout): Add version flag.
19488         (tramp-gvfs-handler-mounted-unmounted)
19489         (tramp-gvfs-connection-mounted-p): Polish handling of
19490         incompatibilities between GVFS 0.2 and 1.0.
19492 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
19494         * cus-start.el (all): Add make-pointer-invisible.
19496 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
19498         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19499         formatted correctly.
19501 2009-07-02  Juri Linkov  <juri@jurta.org>
19503         * info.el: Virtual Info files and nodes.
19504         (Info-virtual-files, Info-virtual-nodes): New variables.
19505         (Info-current-node-virtual): New variable.
19506         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19507         New functions.
19508         (Info-file-supports-index-cookies): Use Info-virtual-file-p
19509         to check for a virtual file instead of checking a fixed list
19510         of node names.
19511         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19512         instead of ad-hoc processing of "dir" and (apropos history toc).
19513         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19514         instead of ad-hoc processing of "dir" and (apropos history toc).
19515         Reread a file when moving from a virtual node.
19516         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19517         (Info-directory-toc-nodes, Info-directory-find-file)
19518         (Info-directory-find-node): New functions.
19519         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19520         (Info-history): Move part of code to
19521         `Info-history-find-node'.
19522         (Info-history-toc-nodes, Info-history-find-file)
19523         (Info-history-find-node): New functions.
19524         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19525         (Info-toc): Move part of code to `Info-toc-find-node'.
19526         (Info-toc-find-node): New function.
19527         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
19528         the current Info file name to references because now the node
19529         "*TOC*" belongs to the same Info manual.
19530         (Info-toc-build): Rename from `Info-build-toc'.
19531         (Info-toc-nodes): Rename input argument `file' to `filename'.
19532         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19533         instead of ad-hoc processing of ("dir" apropos history toc).
19534         (Info-index-nodes): Use Info-virtual-file-p
19535         to check for a virtual file instead of checking a fixed list
19536         of node names.
19537         (Info-index-node): Add check for `Info-current-node-virtual'.
19538         Raise `save-match-data' higher up the tree to contain
19539         `search-forward' too (bug fix).
19540         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19541         (Info-virtual-index-nodes): New variable.
19542         (Info-virtual-index-find-node, Info-virtual-index): New functions.
19543         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19544         (Info-apropos-file, Info-apropos-nodes): New variables.
19545         (Info-apropos-toc-nodes, Info-apropos-find-file)
19546         (Info-apropos-find-node, Info-apropos-matches): New functions.
19547         (info-apropos): Move part of code to `Info-apropos-find-node' and
19548         `Info-apropos-matches'.
19549         (Info-mode-map): Bind "I" to `Info-virtual-index'.
19550         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19551         for a virtual file instead of checking a fixed list of node names.
19553         * simple.el (async-shell-command): New command.
19555         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19557         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19558         instead of `mount-info'.
19560 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
19562         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19563         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19565 2009-07-02  Kenichi Handa  <handa@m17n.org>
19567         * international/mule.el (set-keyboard-coding-system): Force *-unix
19568         coding-system to avoid eol conversion.
19570 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
19572         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19573         Add handler for `process-file', `shell-command' and
19574         `start-file-process'.
19575         (tramp-gvfs-handle-shell-command)
19576         (tramp-gvfs-handle-start-file-process)
19577         (tramp-gvfs-handle-process-file): New defuns.
19578         (tramp-synce-list-devices): Simplify check for existence of property.
19580 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
19582         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19584 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
19586         * language/korean.el (set-language-info-alist): Add korean-cp949,
19587         cp949 to spec.
19589 2009-07-01  Kenichi Handa  <handa@m17n.org>
19591         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19593         * international/encoded-kb.el: Deleted.
19595         * international/mule.el (set-keyboard-coding-system): Perform the
19596         necessary setup here instead of calling encoded-kbd-setup-display.
19598 2009-07-01  Glenn Morris  <rgm@gnu.org>
19600         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19602 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
19604         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
19606 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
19608         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19609         Handle also the 'rename case, when setting file modes.  (Bug#3712)
19610         (tramp-default-file-modes): Remove execute permissions.
19612         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19613         (top): Add a default for "synce" in `tramp-default-user-alist'.
19614         Add completion function for "synce" method.
19615         (tramp-hal-service, tramp-hal-path-manager)
19616         (tramp-hal-interface-manager, tramp-hal-interface-device):
19617         New defconst.
19618         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19619         (tramp-synce-list-devices, tramp-synce-parse-device-names):
19620         New defuns.
19622         * net/trampver.el: Update release number.
19624 2009-06-30  Kenichi Handa  <handa@m17n.org>
19626         * international/fontset.el (setup-default-fontset): Add CJK fonts
19627         for symbols and the other miscellaneous characters.
19629         * language/korea-util.el (setup-korean-environment-internal):
19630         Make char-width-table suitable for Korean environments.
19631         (exit-korean-environment): Cancel above.
19633         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19634         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19635         setup-function to make char-width-table suitable for respective
19636         environments, and an exit-function to cancel that.
19638         * language/japan-util.el (setup-japanese-environment-internal):
19639         Call use-cjk-char-width-table with arg `ja_JP'.
19641         * international/characters.el (cjk-char-width-table): Delete it.
19642         (cjk-char-width-table-list): New variable.
19643         (use-cjk-char-width-table): New arg local-name.
19644         (use-default-char-width-table): Fix for the case that Emacs is
19645         already using the default char-width-table.
19647 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
19649         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19650         modes mandatory.  (Bug#3712)
19652 2009-06-29  Alan Mackenzie  <acm@muc.de>
19654         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19655         correction between the visible width of TABs and their number of bytes.
19657 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
19659         * server.el (server-buffer-done): Prevent kill-buffer from
19660         prompting by clearing the buffer modification flag (Bug#3696).
19662 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
19664         * progmodes/verilog-mode.el (verilog-beg-of-statement)
19665         (verilog-endcomment-reason-re): Support unique case and priority case.
19666         (verilog-basic-complete-re): Support localparam lineup.
19667         (verilog-beg-of-statement-1): Fix for robustness, unique case.
19668         (verilog-set-auto-endcomments): Fix for unique case, always_comb
19669         commenting.
19670         (verilog-leap-to-case-head): Now support *nested* unique &
19671         priority case statements.
19672         (verilog-auto-lineup): Make just declarations the default (as it
19673         had been).
19674         (verilog-leap-to-case-head): Support priority/unique case statements.
19675         (verilog-auto-lineup): Rework to give users radio buttons to
19676         select the various styles of automatic lineup.
19677         (verilog-error-regexp-alist): Rework to support the XEmacs style
19678         of error regular expressions from compilers, lint tools &
19679         simulators.  Note that GNU Emacs has made it impossible for a mode
19680         to load such things.
19681         (electric-verilog-terminate-line, verilog-indent-declaration)
19682         (verilog-auto-wiure): Rework for radio button selection of
19683         auto-lineup selection of specification of auto lineup.
19684         (verilog-beg-of-statement-1): Redesign to support proper operation
19685         in additional code, based on testing with auto-lineup.
19686         (verilog-calculate-indent, assignments & declarations)
19687         (verilog-backward-token): Enhance to support auto-lineup of
19688         assignments & declarations.
19689         (verilog-in-directive-p, verilog-at-struct-p): New function for
19690         easy test of whether we are.
19691         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19692         to support safe execution at almost anyline.
19693         (verilog-calc-1): Properly support indenting deep inside generate
19694         blocks.
19695         (verilog-init-font): Remove definition & use of verilog-init-font,
19696         as it is redundant with font-lock-defaults.
19697         (verilog-mode): Alter the definition of verilog-font-lock-defaults
19698         to avoid circular calls if syntax-ppss is a function (as is the
19699         case now in 22.x GNU Emacs) as that function would sometimes call
19700         itself, leading to (nearly) infinite recursion.
19701         (verilog-ovm-begin-re, verilog-ovm-end-re)
19702         (verilog-ovm-statement-re, verilog-leap-to-head)
19703         (verilog-backward-token): Add support for OVM macros.  Some are
19704         complete statements, and others open and close scopes like begin
19705         and end.
19706         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19707         (verilog-defun-level-generate-only-re): Really fix the defun-list
19708         compilation issue.
19709         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19710         coverpoint, constraint and cross statements.
19711         (verilog-defun-level-list, verilog-generate-defun-level-list)
19712         (verilog-all-defun-level-list): Redo these specifications - it is
19713         too hard to support eval-when compile aggregation of lists also
19714         built at when-compile time.
19715         (verilog-defun-level-list): Place defconsts of variables used in
19716         building regular expressions which are built in eval-when-compile
19717         bodies in the same eval-when-compile body to facilitate compile
19718         without load.
19719         (verilog-beg-block-re-ordered): Support indenting
19720         virtual/protected tasks and functions.
19721         (verilog-defun-level-list, verilog-in-generate-region-p)
19722         (verilog-backward-ws&directives, verilog-calc-1): Speed up
19723         indentation of some module items (generate items).
19724         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19725         across virtual/protected tasks and functions.
19727 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
19729         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19730         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
19731         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19732         in concatenations.  Reported by Yishay Belkind.
19733         (verilog-auto-ascii-enum): Support one-hot state machines in
19734         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
19735         (verilog-auto-inst, verilog-auto-inst-port): Include interface
19736         modport in AUTOINST and add vl-modport for users.
19737         Reported by David Rogoff.
19738         (verilog-auto-inout-module, verilog-auto-inst)
19739         (verilog-decls-get-interfaces, verilog-insert-definition)
19740         (verilog-insert-one-definition, verilog-read-decls)
19741         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19742         (verilog-sig-modport, verilog-signals-combine-bus)
19743         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19744         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19745         Suggested by David Rogoff.
19746         (verilog-repair-open-comma): Fix non-insertion of comma when
19747         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
19748         (verilog-make-width-expression): Simplify [A-1:0] expression
19749         widths to just {A{1'b0}}.
19750         (verilog-mode): Cleanup checkdoc warnings.
19751         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19752         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19753         inputs/outputs or data type.  Suggested by Vasu Kandadi.
19754         (next-error-last-buffer): Fix byte-compiler warning.
19755         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19756         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19757         or shell command text during AUTO expansion.  Suggested by Tad Truex.
19758         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19759         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19760         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19761         in AUTOINOUT.  Reported by Matthew Lovell.
19762         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19763         causing use of <= assignments.  Reported by Alex Reed.
19764         (verilog-read-decls): Fix triand, trior, wand, wor to be
19765         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
19766         (verilog-extended-complete-re): Support import "DPI-C" functions.
19767         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19768         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
19769         (verilog-insert-date, verilog-insert-year)
19770         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19771         Windows systems.  Reported by Michael Potts.
19772         (verilog-read-module-name): Fix AUTOINST when the child module
19773         declaration's name is a tick define.  Reported by Elliot Mednick.
19774         (verilog-read-decls): Fix V2K parameter bit subscripts getting
19775         passed to next parameter's definition.  Reported by Bruce T.
19776         (verilog-read-decls): Fix detecting "parameter int" when using
19777         AUTOINSTPARAM.  Reported by Bruce T.
19778         (verilog-goto-defun): Fix goto not finding modules unless first
19779         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
19780         (verilog-mode): Expand -f flag arguments on entry to mode so
19781         verilog-goto-defun will work.  Reported by Lawrence Butcher.
19782         (verilog-getopt): Expand environment variables in -f file
19783         arguments.  Suggested by Lawrence Butcher.
19784         (verilog-set-define): Fix "Symbol's value as variable is void"
19785         when reading enumerations.
19786         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19787         Suggested by Stephen Peltan.
19788         (verilog-read-defines): Fix reading of enumerations in include
19789         files.  Reported by Steve Peltan.
19791 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19793         * files.el (trash-directory): Fix defcustom type.
19795 2009-06-28  Juri Linkov  <juri@jurta.org>
19797         * help-fns.el (describe-function-1): Correctly locate adviced
19798         functions in hyperlink (Bug#2438).
19800 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
19802         * files.el (trash-directory): Change default to nil.
19803         (move-file-to-trash): If trash-directory is nil and
19804         system-move-file-to-trash is unbound, perform freedesktop-style
19805         trashing.
19807 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19809         * files.el (move-file-to-trash): Add freedesktop trash
19810         support (Bug#973).
19812 2009-06-28  Glenn Morris  <rgm@gnu.org>
19814         * autorevert.el (global-auto-revert-non-file-buffers)
19815         (global-auto-revert-mode): Doc fixes.
19817 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
19819         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19821 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
19823         * faces.el (x-handle-named-frame-geometry): Ensure that we have
19824         opened an X connection before calling x-get-resource (Bug#3194).
19826         * play/doctor.el: Remove reference to obsolete website.
19827         (make-doctor-variables): Correct grammar mistake (Bug#2633).
19829 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
19831         Remove find-file-not-found-hook VC method.  (Bug#2757)
19832         * vc-hooks.el (vc-file-not-found-hook)
19833         (vc-default-find-file-not-found-hook): Remove functions.
19834         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19835         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19836         * vc.el:
19837         * vc-hg.el:
19838         * vc-git.el: Do not mention find-file-not-found-hook VC method.
19840 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
19842         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19843         compatibility function for `looking-back'.
19845         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19846         Use `ispell-looking-back'.
19848 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
19850         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19851         rather than `filename'.
19853 2009-06-23  Miles Bader  <miles@gnu.org>
19855         * face-remap.el (text-scale-set): New function.
19857 2009-06-23  Glenn Morris  <rgm@gnu.org>
19859         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19861         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19863         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19865         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19867         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19868         Simplify Persian conditionals.
19870         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19871         variable `filename'.
19873         * comint.el (comint-insert-input): Doc fix.
19875         * Makefile.in (ELCFILES): Fix typo in previous change.
19877 2009-06-23  Miles Bader  <miles@gnu.org>
19879         * cus-start.el: Add entry for `recenter-redisplay'.
19881 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19883         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19884         Add an optional argument for the backend, use it instead of
19885         calling vc-backend.
19886         (vc-mode-line): Add an optional argument for the backend.
19887         Pass the backend to vc-state and vc-working-revision.  Move code for
19888         special handling for vc-state being a buffer to ...
19890         * vc-rcs.el (vc-rcs-find-file-hook):
19891         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
19893         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19894         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19895         vc-stay-local-p and vc-mode-line calls.
19897         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19898         (vc-cvs-diff, vc-cvs-annotate-command)
19899         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19900         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19901         vc-mode-line calls.
19903         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19904         direct comparison.
19905         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19906         backend when calling vc-mode-line.
19907         (vc-register): Do not create a closure for calling the vc register
19908         function, call it directly.
19910 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19912         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19913         to make it obvious item can be clicked.
19915         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19917 2009-06-23  Kenichi Handa  <handa@m17n.org>
19919         * language/korea-util.el (korean-key-bindings): Change the binding
19920         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
19921         same command.
19923 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
19925         Sync with Tramp 2.1.16.
19927         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19929         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
19930         when a loading of a package fails.  Completion function for rsync
19931         is `tramp-completion-function-alist-ssh'.
19932         (all): Replace all calls of `split-string' and
19933         `tramp-split-string' by `tramp-compat-split-string'.
19934         (tramp-default-method): Use `tramp-compat-process-running-p'.
19935         (tramp-default-proxies-alist): Allow also Lisp forms.
19936         (tramp-remote-path): Add choice "Private Directories".
19937         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19938         (tramp-domain-regexp): Allow also "-", "_" and ".".
19939         (tramp-end-of-output): Remove newlines, and add "$" at the end.
19940         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19941         (tramp-debug-message): Insert header line in debug buffer.
19942         (tramp-handle-directory-files-and-attributes-with-stat):
19943         Care about filenames with spaces, or starting with "-".
19944         (tramp-handle-dired-uncache): New defun.
19945         (tramp-handle-insert-directory): Don't flush the directory from
19946         cache, this is handled by `dired-uncache' now.
19947         (tramp-handle-insert-file-contents): Improve error handling.
19948         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19949         Quote `tramp-end-of-output'.
19950         (tramp-action-password): Improve trace message.
19951         (tramp-check-for-regexp): Both echoes must be present, before removing.
19952         (tramp-open-connection-setup-interactive-shell): Trace coding system.
19953         (tramp-compute-multi-hops): Eval cons cells of
19954         `tramp-default-proxies-alist'.
19955         (tramp-maybe-open-connection): Use the same command pattern for
19956         first hop and further hops.
19957         (tramp-wait-for-output): Remove handling of newlines.
19958         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19959         (tramp-split-string): Remove function.  It is handled in
19960         tramp-compat now.
19962         * net/tramp-cmds.el (tramp-bug):
19963         Recommend `tramp-cleanup-all-connections' in the bug mail.
19965         * net/tramp-compat.el (tramp-compat-split-string)
19966         (tramp-compat-process-running-p): New defuns.
19968         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19969         for `dired-uncache'.
19971         * net/tramp-gvfs.el: New package.
19973         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19974         Add handler for `dired-uncache'.
19975         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19977         * net/trampver.el: Update release number.  Make version check fit
19978         for SXEmacs 22.
19980 2009-06-22  Jim Meyering  <meyering@redhat.com>
19982         Automatically handle .xz suffix (XZ-compressed files), too.
19983         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19984         XZ is the successor to LZMA: <http://tukaani.org/xz/>
19986 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
19987             Nick Roberts  <nickrob@snap.net.nz>
19989         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19990         repository (http://sphinx.net.ru/hg/gdb-mi/).
19992 2009-06-22  Glenn Morris  <rgm@gnu.org>
19994         * files.el (dir-locals-collect-mode-variables): Allow for any number of
19995         `mode' and `eval' entries.  (Bug#3430)
19997         * Makefile.in (ELCFILES): Add fadr.elc.
19999         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20000         differing behavior of \n and ^ in strings.  (Bug#3385)
20002         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20004         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20005         property.
20006         (lisp-indent-function): Make it a defcustom.
20008 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
20010         * progmodes/gdb-ui.el: Replace with ...
20011         * progmodes/gdb-mi.el: ... this file.
20012         * progmodes/gud.el: Modify for gdb-mi.el.
20014 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
20016         * fadr.el: New file.
20018 See ChangeLog.14 for earlier changes.
20020 ;; Local Variables:
20021 ;; coding: utf-8
20022 ;; End:
20024   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
20026   This file is part of GNU Emacs.
20028   GNU Emacs is free software: you can redistribute it and/or modify
20029   it under the terms of the GNU General Public License as published by
20030   the Free Software Foundation, either version 3 of the License, or
20031   (at your option) any later version.
20033   GNU Emacs is distributed in the hope that it will be useful,
20034   but WITHOUT ANY WARRANTY; without even the implied warranty of
20035   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20036   GNU General Public License for more details.
20038   You should have received a copy of the GNU General Public License
20039   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.