* progmodes/compile.el: Make all faces inherit from font-lock faces.
[emacs.git] / lisp / ChangeLog
blobfeb5daeca3b3dbe88f7856b962ea40cf078de9e5
1 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
3         * progmodes/compile.el: Make all faces inherit.
4         (compilation-warning): Inherit from font-lock-variable-name-face.
5         (compilation-info): Inherit from font-lock-type-face.
6         (compilation-line-number): Reassign to font-lock-keyword-face.
7         (compilation-column-number): Reassign to font-lock-doc-face.
8         (compilation-leave-directory-face): Reassign to
9         font-lock-builtin-face.
11 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
13         * dired.el (dired-insert-directory): Don't invoke `ls' when
14         ls-lisp.el is used to emulate it.
16 2011-02-01  Julien Danjou  <julien@danjou.info>
18         * color.el (color-gradient): Add a color-gradient function.
20 2011-02-01  Sam Steingold  <sds@gnu.org>
22         * simple.el (special-mode-map): Bind "h" to `describe-mode';
23         bind "z" to `kill-this-buffer'.
24         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
25         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
26         (apropos-mode): Inherit from `special-mode'.
27         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
28         * bookmark.el (bookmark-bmenu-mode): Define using
29         `define-derived-mode' inheriting from `special-mode'.
30         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
31         * image-mode.el (image-mode-map): Ditto.
32         * replace.el (occur-mode): Define using
33         `define-derived-mode' inheriting from `special-mode'.
34         * tar-mode.el (tar-mode): Inherit from `special-mode'.
35         * calendar/diary-lib.el (diary-fancy-display-mode):
36         Inherit from `special-mode-map'.
37         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
38         Inherit from `special-mode'.
39         * emacs-lisp/package.el (package-menu-mode-map): Copy from
40         `special-mode-map'.
41         (package-menu-mode): Define using `define-derived-mode'
42         inheriting from `special-mode'.
43         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
44         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
45         (xesam-mode-map): Define separately.
46         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
47         * progmodes/compile.el (compilation-minor-mode-map)
48         (compilation-mode-map): Inherit from `special-mode-map'.
49         * vc/diff-mode.el (diff-mode-shared-map):
50         Inherit from `special-mode-map'.
51         * vc/log-view.el (log-view-mode-map): Add a comment.
53 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
55         * custom.el (load-theme): Define return value.  Drop use of
56         unsafep; call custom-theme-load-confirm for non-known-safe themes.
57         (custom-theme-load-confirm): Scroll in the correct window.
58         (custom-enabled-themes): Add custom-safe-themes to :set-after.
60         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
61         checkbox if load-theme fails.
63 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
65         * progmodes/compile.el (compilation-next-error): Check there's
66         a message before using it (bug#7941).
68 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
70         * calc/calc-mtx.el (math-lud-pivot-check): New function.
71         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
72         of potential pivots.
74 2011-01-31  Alan Mackenzie  <acm@muc.de>
76         * progmodes/cc-cmds.el (c-forward-over-illiterals):
77         Continue parsing if we encounter a naked # (Bug#7595).
78         (c-beginning-of-statement): Avoid loop in locating the beginning
79         of a macro.
81 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
83         * files.el (copy-directory): Fix arguments to recursive call.
85 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
87         * files.el (copy-directory): If destination is an existing
88         directory, copy into a subdirectory there.
90 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
92         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
93         files.
95 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
97         * image-dired.el (image-dired-mouse-display-image): No-op if no
98         file is found (Bug#7817).
100         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
102 2011-01-31  Kenichi Handa  <handa@m17n.org>
104         * international/quail.el (quail-keyboard-layout-alist):
105         Remove superfluous SPC for "pc105-uk" (bug#7927).
107 2011-01-31  Glenn Morris  <rgm@gnu.org>
109         * msb.el (msb-menu-bar-update-buffers): Update for changed
110         argument handling of menu-bar-select-frame.  (Bug#7902)
112 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
114         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
115         to the recursion depth (Bug#7722).
117 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
119         * term/ns-win.el (ns-find-file): Expand ns-input-file with
120         command-line-default-directory (Bug#7872).
122 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
124         * progmodes/compile.el (compilation--flush-directory-cache):
125         New function, extracted from compilation--remove-properties.
126         (compilation--remove-properties, compilation--parse-region): Use it.
127         (compilation--previous-directory): Handle one more case.
128         (compilation-enable-debug-messages): Remove.
129         (compilation-parse-errors, compilation--flush-parse): Just remove the
130         left over debug messages.
132 2011-01-31  Sam Steingold  <sds@gnu.org>
134         * progmodes/compile.el (compilation-enable-debug-messages):
135         Add a variable to make the parsing messages introduced in
136         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
137         (compilation-parse-errors, compilation--flush-parse): Use it.
139 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
141         * net/rcirc.el: New customizable nick completion format. (Bug#6314)
142         (rcirc-nick-completion-format): New defcustom.
143         (rcirc-complete): Use it.
145 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
147         * net/rcirc.el: Clean log filenames (Bug#7933).
148         (rcirc-log-write): Use convert-standard-filename.
149         (rcirc-log-filename-function): Documentation updates.
151 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
153         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
154         Check report-emacs-bug-can-use-osx-open and use that if t.
155         (report-emacs-bug-can-use-osx-open): New function.
156         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
157         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
159 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
161         * vc/vc-dispatcher.el (vc-set-async-update): New function for
162         updating Dired or VC-dir buffers after async command completes.
164         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
165         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
167         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
168         completions if it exists.  Use vc-set-async-update.
169         (vc-git-pull): Use vc-set-async-update.
171         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
172         read-shell-command.  Use vc-set-async-update.
173         (vc-hg-merge-branch): Use vc-set-async-update.
175 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
177         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
178         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
179         (Bug#7931).
181 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
183         * progmodes/compile.el: Avoid an N² behavior in grep.
184         (compilation--previous-directory): New fun.
185         (compilation--previous-directory-cache): New var.
186         (compilation--remove-properties): Flush it.
187         (compilation-directory-properties, compilation-error-properties):
188         Use the new fun to speed up looking for the current directory.
190 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
192         * vc/vc-hg.el (vc-hg-history): New var.
193         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
194         (vc-hg-merge-branch): New function.
196         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
197         the other way around.
199         * vc/vc-git.el (vc-git-branches, vc-git-pull)
200         (vc-git-merge-branch): New functions.
201         (vc-git-history): New var.
203 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
205         * vc/vc-dispatcher.el (vc-do-async-command): New function.
207         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
208         vc-do-async-command.
210         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
211         Callers changed.
213 2011-01-28  Leo  <sdl.web@gmail.com>
215         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
216         highlighting to the "this function is advised" message.
218         * help-mode.el (help-mode-finish): Apply highlighting here, to
219         avoid clobbering by substitute-command-keys (Bug#6304).
221 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
223         * woman.el (woman0-roff-buffer): Process roff escape sequences
224         occurring prior to the first request (Bug#7843).
226 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
228         * progmodes/compile.el: Don't use font-lock any more.
229         (compilation-error-regexp-alist-alist): Change handling of makepp
230         so it preserves the warning/error distinction on subsequent files.
231         Simplify various rules.
232         (compilation-directory-properties): Use font-lock-face.
233         Add a compilation-message property.
234         (compilation-internal-error-properties): Use font-lock-face.
235         Don't set the compilation-debug property here.
236         (compilation--put-prop, compilation--remove-properties)
237         (compilation--parse-region, compilation--ensure-parse)
238         (compilation--ensure-parse): New functions.
239         (compilation-parse-errors): New function, largely inspired of
240         compilation-mode-font-lock-keywords.  Set compilation-debug here.
241         (compilation--parsed): New var.
242         (compilation--flush-parse): Use compilation--ensure-parse.
243         (compilation-start): Don't call font-lock.
244         (compilation-turn-on-font-lock): Remove.
245         (compilation-setup): Don't set font-lock-extra-managed-props not change
246         other font-lock settings, other than keywords.
247         Don't activate font-lock-mode.
248         Set change-major-mode-hook and before-change-functions.
249         (compilation--unsetup): Remove properties and hooks.
250         (compilation-next-single-property-change): New function.
251         (compilation-next-error): Use it to parse when needed.
252         (compile-goto-error): Parse buffer as needed.
253         (compilation--compat-error-properties): Don't need a dummy `face'
254         property any more.
256 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
258         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
259         (compilation-process-setup-function): Fix docstring's false promises.
260         (compilation-error-regexp-alist-alist): Catch omake's continuous
261         recompilation message and avoid reuse of old markers.
262         (compilation-parse-errors-function): Declare obsolete.
263         (compilation-buffer-modtime): Remove.
264         (compilation--make-cdrloc, compilation--loc->col)
265         (compilation--loc->line, compilation--loc->file-struct)
266         (compilation--loc->marker, compilation--loc->visited)
267         (compilation--make-file-struct, compilation--file-struct->file-spec)
268         (compilation--file-struct->formats)
269         (compilation--file-struct->loc-tree): New macros.  Use them.
270         (compilation--message): New defstruct.  Use them.
271         (compilation-next-error-function): Don't mess with timestamps to try
272         and guess when to reparse.
274 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
276         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
277         (tex-old-error-file-name): New function,
278         extracted from tex-compilation-parse-errors.
279         (tex-compilation-parse-errors): Remove.
280         (tex-error-regexp-alist): New var.
281         (tex-shell): Use it to avoid compilation-parse-errors-function.
283         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
284         (grep-mode-font-lock-keywords): Remove regexp that seems like
285         a left-over from before we used compile.el.
286         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
287         modifying the buffer within with-silent-modifications.
289         * progmodes/compile.el: Cleanup text-properties namespace by using
290         `compilation-message' instead of `message', `compilation-directory'
291         instead of `directory', and `compilation-debug' instead of `debug'.
292         (compilation-last-buffer, compilation-parsing-end)
293         (compilation-error-list, compilation-old-error-list): Move to the
294         compatibility part of the code.
295         (compilation-error-properties): If `file' is a function, let it return
296         a file name.
297         (compilation-mode-font-lock-keywords): Be more conservative with the
298         omake "^ *" pattern prefix, to try and minimize the risk of
299         pathologically slow regexp matching.
300         (compilation-start): Use inhibit-read-only.
301         (compilation--unsetup): New function.
302         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
303         (compilation-filter): Minor tweaks.
304         (compilation-next-error-function): Try and avoid abusing variables.
305         (compilation--flush-file-structure): New fun.
306         (compilation-fake-loc): Use it to improve behavior when file is reused.
307         (debug-ignored-errors): Add "Moved past last ...".
308         (compilation--compat-error-properties)
309         (compilation--compat-parse-errors): Rename by doubling the "-".
311         Port features from the previous prolog.el to the new one.
312         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
313         (prolog-program-name, prolog-program-switches, prolog-consult-string)
314         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
315         variable and use a function to compute the value dynamically.
316         (prolog-prompt-regexp): Add regexp for GNU Prolog.
317         (prolog-continued-prompt-regexp): Remove, unused.
318         (prolog-find-value-by-system): Try and use the value of prolog-system
319         in the *prolog* buffer if it helps.
320         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
321         (prolog-zip-on): ..and check prolog-system and version here instead.
322         (prolog-inferior-self-insert-command): New command.
323         (prolog-inferior-mode-map): Use it.
324         (prolog-inferior-error-regexp-alist): New var.
325         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
326         (prolog-input-filter): Use derived-mode-p.
327         (prolog-inferior-guess-flavor): New function.
328         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
329         make-comint to avoid running comint-mode twice.
330         (prolog-inferior-buffer): New fun.
331         (prolog-old-process-region, prolog-old-process-file):
332         Don't call prolog-bsts here...
333         (prolog-build-prolog-command): ...do it here instead.
334         (prolog-old-process-region, prolog-old-process-file):
335         Use compilation-fake-loc and compilation-forget-errors.
336         (prolog-consult-compile-region): Use bolp.
338 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
340         * image-mode.el (image-display-size): Doc fix (Bug#7820).
342 2011-01-27  Sam Steingold  <sds@gnu.org>
344         * midnight.el (clean-buffer-list-kill-never-buffer-names):
345         Remove "*server*" which is never created by emacs server.
347 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
349         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
350         there are some diff switches.
352 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
354         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
355         Copy change made to ruby-font-lock-syntactic-keywords.
357         * htmlfontify.el: Make it obey the font-lock-face text property.
358         Miscellaneous cleanup such as:
359         - Don't hide expressions after a closing paren.
360         - Move initial setq into let.
361         - Hoist common parts out of ifs.
362         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
363         (hfy-face-at): Use get-text-property instead.
364         (hfy-prop-invisible-p): Use invisible-p if available.
365         (htmlfontify-manual): Use \\[...].
366         (hfy-html-quote-regex): Use [...].
367         (hfy-combined-face-spec): Simplify.
368         (hfy-compile-face-map): Don't presume point-min==1.
369         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
370         match end of string.
371         (hfy-text-p): η-reduce.
372         (hfy-tags-for-file): Receive cache-hash directly.
373         (hfy-mark-tag-names): Adjust call.
375 2011-01-27  Glenn Morris  <rgm@gnu.org>
377         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
378         (msb-after-load-hook): Remove eval-after-load wackiness.
380 2011-01-25  Sam Steingold  <sds@gnu.org>
382         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
383         literal "diff" (important for windows-nt).
385 2011-01-25  Glenn Morris  <rgm@gnu.org>
387         * emacs-lisp/copyright.el (copyright-at-end-flag)
388         (copyright-names-regexp): Add safety properties.
389         (copyright-year-ranges): New option.
390         (copyright-find-end): New function, split from copyright-update-year.
391         (copyright-update-year): Use copyright-find-end.
392         (copyright-fix-years): Optionally, convert years to ranges.
393         Handle years continued over comment lines.
394         Do not mess with the fill-prefix.
395         Do not call copyright-update.
396         (copyright-update-directory): Optionally, fix years rather than update.
397         Skip directories.  Find files with only safe local vars.
399 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
401         * files.el (file-name-non-special): Only change buffer-file-name after
402         insert-file-contents if it's `visit'ing the file (bug#7854).
404 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
406         * dired.el (dired-revert): Doc fix (Bug#7758).
408         * simple.el (line-move-visual): Doc fix (Bug#7594).
410 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
412         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
413         here-doc which ends with an underscore.
414         (ruby-mode-set-encoding): Skip shebang line always.
415         (ruby-mode-map): Bind C-c C-c to comment-region.
416         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
417         (ruby-forward-sexp): Stop after literal hash key labels.
418         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
419         bracket.
421 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
423         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
424         the correct buffer (Bug#7650).
426 2011-01-25  Glenn Morris  <rgm@gnu.org>
428         * comint.el (comint-mode): Doc fix.  (Bug#7897)
430         * simple.el (do-auto-fill): Give it a doc string.
432         * button.el (make-text-button): Doc fix.  (See bug#7881)
434 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
436         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
437         Don't move backward, so as not to fall in an inf-loop (bug#7736).
439         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
440         Handle ?" and friends differently (e.g. don't use backrefs).
442 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
444         * calc/calc.el (calc-default-power-reference-level)
445         (calc-default-field-reference-level): New variables.
446         * calc/calc-units.el (math-standard-units):  Add dB and Np.
447         (math-logunits): New variable.
448         (math-extract-logunits, math-logcombine, calcFunc-luplus)
449         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
450         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
451         New functions.
452         (math-find-base-units-rec): Add entry for ln(10).
453         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
454         (calc-ul-prefix-help): New function.
455         * calc/calc-ext.el (calc-init-extensions): Autoload new units
456         functions. Add keybindings for new units functions.
458 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
460         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
461         rcirc buffers.  (Bug#4940)
463 2011-01-22  Glenn Morris  <rgm@gnu.org>
465         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
466         split out from copyright-update-year.
467         (copyright-update): Don't mess with the GPL version if we don't own the
468         copyright.  Update license regexp, and remove no longer needed
469         Esperanto stuff.
470         (copyright-fix-years): Use copyright-find-copyright.
472 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
474         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
476 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
478         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
479         (lm): Rename to landmark.
480         (lm-test-run): Rename to landmark-test-run.
482 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
484         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
485         "Case sensitive" menu item.
487 2011-01-22  Roland McGrath  <roland@frob.com>
489         * comint.el (comint-replace-by-expanded-history-before-point): Fix
490         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
492 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
494         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
496 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
498         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
499         Assume foo(bar) is a manpage reference rather than some unquoted
500         symbol (bug#7705).
502 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
504         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
505         Suggested by Flo <sensorflo@gmail.com>.
507 2011-01-22  Glenn Morris  <rgm@gnu.org>
509         * progmodes/compile.el (compilation-error-regexp-alist):
510         Fix custom type.  (Bug#7812)
512 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
514         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
515         allout-number-siblings, in keeping with what obtained due to
516         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
517         (prefixed) ?i.
518         (allout-before-change-handler): Better expose spots affected by
519         undo.
521 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
523         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
525 2011-01-22  Phil Hagelberg  <phil@evri.com>
527         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
528         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
529         (pcmpl-ssh-config-hosts): New function.
530         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
531         pcmpl-ssh-known-hosts.
533 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
535         * calc/calc-undo.el (calc-undo): Autoload it.
536         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
537         and autoload for `calc-undo'.
538         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
539         * calc/calc-prog.el:
540         * calc/calc-graph.el:
541         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
543 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
545         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
546         keybindings to `calc-undo'.
548 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
550         Don't mess with *temp*.
551         * obsolete/spell.el: Move from textmodes/spell.el.
552         (spell-string):
553         * term.el (term-read-input-ring):
554         * startup.el (display-startup-echo-area-message):
555         * progmodes/antlr-mode.el (antlr-directory-dependencies):
556         * comint.el (comint-read-input-ring): Use with-temp-buffer.
557         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
558         point-min==1.
560 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
562         * allout.el: (allout-institute-keymap): Use fset instead of
563         reapplying defalias.
565         (allout-hotspot-key-handler): Check for non-control-modified
566         bindings for hotspot characters if there are no control-modified
567         versions.
569         * allout.el: Summary - migrate to defining allout mode using
570         define-minor-mode instead of defun.  Significantly clean-up
571         internal keymap provisions, refactoring and, in the process,
572         removing a lot of accumulated cruft.
574         allout-mode-map is now a keymap by virtue of being a defalias to
575         allout-mode-map-value, which contains the actual keymap structure.
577         (allout-mode): Use define-minor-mode rather than defun.
578         Remove now-unnecessary minor-mode setup activities from the body.
579         Specify :keymap as allout-mode-map so the minor-mode-map-alist
580         entry will be '(allout-mode . allout-mode-map) - see
581         allout-mode-map-value, below.  Adjust docstring to track changes.
582         (allout-minor-mode): Remove this defalias, now that we're using
583         define-minor-mode.
584         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
585         keymap is allout-mode-map-value, via defalias.
586         (allout-mode-map-value): The variable holding the actual mode
587         keymap structure, by virtue of defalias from allout-mode-map.
588         (allout-compose-and-institute-keymap): Rename from
589         allout-bind-keys, and including the binding-composition
590         functionality of the former produce-allout-mode-map and
591         allout-setup-mode-map.
592         (allout-institute-keymap): Take over the "setup" part of the former
593         allout-setup-mode-map.  Reassign allout-mode-map-value value and
594         update the defalias.
595         (allout-command-prefix) (allout-prefixed-keybindings)
596         (allout-unprefixed-keybindings):
597         Use allout-compose-and-institute-keymap to process the bindings.
598         (allout-unprefixed-keybindings): Remove extraneous '?' question
599         marks.
600         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
601         user can customize if they want to use that binding.
602         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
603         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
604         elided that, previously, instead of the one for \C-h.)
605         (allout-hotspot-key-handler): Remove attempt to resolve the key
606         through the literal key-string lookup on allout-keybindings-list.
607         That probably hasn't worked for a Long Time, and removal of
608         allout-keybindings-list further simplifies the keybindings
609         situation.
610         (allout-pre-command-business): Use allout-mode-map-value instead
611         of allout-mode-map.
612         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
613         the bindings if they want to use a keybinding having a trailing
614         \C-h.  No deprecation needed since this feature was never in a
615         release.
616         (allout-keybindings-list): Remove.  It's not been useful for a
617         while.  (See allout-hotspot-key-handler changes, above.)
618         (produce-allout-mode-map): Remove.  Consolidate into
619         allout-compose-and-institute-keymap.
620         (allout-mode-map-adjustments): Remove.  No longer necessary with
621         removal of allout-preempt-trailing-ctrl-h.
622         (allout-setup-mode-map): Remove.  Consolidate into
623         allout-compose-and-institute-keymap and allout-institute-keymap.
625 2011-01-20  Glenn Morris  <rgm@gnu.org>
627         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
629         * simple.el (read-expression-history): Remove, it's in minibuf.c.
631 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
633         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
635         * files.el (find-alternate-file, basic-save-buffer)
636         (basic-save-buffer-2, revert-buffer, recover-file)
637         (kill-buffer-ask, abort-if-file-too-large)
638         (set-visited-file-name, write-file, backup-buffer)
639         (basic-save-buffer, save-some-buffers):
640         * dired-aux.el (dired-compress-file): Callers changed.
642 2011-01-19  Glenn Morris  <rgm@gnu.org>
644         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
645         Also check the property status.  (Bug#7861)
647 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
649         * net/tramp.el (tramp-debug-message): Extend function exclude
650         list.  Use `regexp-opt'.
652 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
654         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
655         highlighting doesn't spill over subsequent lines.
657         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
658         keymap expression.  Improve docstring.
660         * electric.el (electric-indent-post-self-insert-function):
661         Don't auto-indent for indent-to-left-margin, it's too often
662         counter-productive.
664 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
666         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
667         spaces if the frame was resized, so that the full visible buffer
668         serves as canvas for strokes.
670 2011-01-16  Glenn Morris  <rgm@gnu.org>
672         * info-xref.el (info-xref-docstrings): Replace cl function.
673         Also skip directories.
675 2011-01-16  Kevin Ryde  <user42@zip.com.au>
677         * info-xref.el: Version 3.
678         (info-xref-check, info-xref-check-all): Move commentary details
679         into docstrings for better visibility.
680         Use compilation-mode for the results buffer.
681         (info-xref-output, info-xref-output-error, info-xref-with-output)
682         (info-xref-filename, info-xref-in-progress):
683         New internals for this.
684         (info-xref-check-list, info-xref-check-buffer)
685         (info-xref-check-all-custom): Use those.
686         (info-xref-output-buffer): Rename from info-xref-results-buffer.
687         (info-xref-output-heading): Rename from info-xref-filename-heading.
688         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
689         (info-xref-filename-heading): Move to output managing section.
690         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
691         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
692         (info-xref-subfile-p): Move to generic section with those two.
693         (info-xref-check-node): New function split from
694         info-xref-check-buffer, shared by info-xref-docstrings.
695         (info-xref-goto-node-p): Move to a checking section with that func.
696         (info-xref-unavail): New counter.
697         (info-xref-check-node): Use it.
698         (info-xref-with-output): Show count of unavailables at end of output.
699         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
700         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
701         (info-xref-check-all-custom): Fix quietening viper-mode and
702         gnus-registry-install -- use setq not let so as not to unbind
703         after load.
705 2011-01-16  Juri Linkov  <juri@jurta.org>
707         * isearch.el (isearch-abort): Don't quit if search has
708         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
710 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
712         * files.el (backup-buffer): Make last-resort backup file in
713         .emacs.d (Bug#6953).
715         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
716         make it with permission 700.
718 2011-01-15  Kenichi Handa  <handa@m17n.org>
720         * mail/rmailmm.el (rmail-mime-insert-header):
721         Set rmail-mime-coding-system to a cons whose car is the last coding
722         system used to decode the header.
723         (rmail-mime-find-header-encoding): New function.
724         (rmail-mime-insert-decoded-text):
725         Override rmail-mime-coding-system if it is a cons.
726         (rmail-show-mime): If only a header part was decoded, find the
727         coding system while ignoring mm-charset-override-alist.
729 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
731         * subr.el (event-start, event-end): Doc fix (Bug#7826).
733 2011-01-15  Kenichi Handa  <handa@m17n.org>
735         * mail/rmailmm.el (rmail-mime-next-item)
736         (rmail-mime-previous-item): Delete them.
737         (rmail-mime-shown-mode): Recursively call for children.
738         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
739         Callers changed.
740         (rmail-mime-raw-mode): Recursively call for children.
741         (rmail-mode-map): Change mapping of tab and backtab to
742         forward-button and backward-button respectively.
743         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
744         button.
745         (rmail-mime-update-tagline): New function.
746         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
747         body display is changed.
748         (rmail-mime-toggle-button): Rename from rmail-mime-image.
749         (rmail-mime-image): Delete this button type.
750         (rmail-mime-toggle): New button type.
751         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
752         body display is changed.  Change the save button label to "Save".
753         Don't process show/hide button here.
754         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
755         the body display is changed.  Unconditionally call
756         rmail-mime-insert for children.
757         (rmail-mime-handle): Update `display' vector of the just inserted
758         entity.
759         (rmail-mime-process): If mail-header-parse-content-type returns
760         nil, use "text/plain" as the fallback type.
761         (rmail-mime-insert): For raw-mode, recursively call
762         rmail-mim-insert for children.
763         (rmail-mime): Handle the case that the current buffer is not rmail
764         buffer (e.g. in summary buffer).
766 2011-01-15  Kenichi Handa  <handa@m17n.org>
768         * mail/rmailmm.el (rmail-mime-next-item)
769         (rmail-mime-previous-item): Skip the body of a non-multipart
770         entity if a tagline is shown.
772 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
774         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
775         (tmm-prompt): Simplify.
776         (tmm-add-prompt): Remove unused var `win'.
778         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
779         to minor mode which used nil accidentally to mean "turn off".
781 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
783         * net/tramp-sh.el (tramp-find-inline-compress)
784         (tramp-get-inline-coding): Quote command after pipe symbol for
785         local calls under W32.  (Bug#6784)
787 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
789         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
790         only when running under W32.
792 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
794         * progmodes/grep.el (grep-compute-defaults): Quote the program
795         file name after the pipe symbol in Grep templates.  (Bug#6784)
796         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
798 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
800         * buff-menu.el (Buffer-menu-buffer-list): New var.
801         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
802         restricted buffer list is not lost on revert (Bug#7749).
804 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
806         * net/ldap.el (ldap-search-internal): Discard stderr output.
808 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
810         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
812 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
814         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
816 2011-01-15  Kenichi Handa  <handa@m17n.org>
818         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
819         part as a plain text.
820         (rmail-mime-process-multipart): Set the default content-type to
821         nil for unknown multipart subtypes (bug#7651).
823 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
825         * hexl.el (hexl-mode-old-*): Remove.
826         (hexl-mode--old-var-vals): New var to replace them.
827         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
828         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
829         Use them to set local vars (bug#7846).
830         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
831         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
832         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
834         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
835         (smerge-resolve--normalize-re): New var.
836         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
837         (smerge-resolve): Use them.
838         * newcomment.el (comment-only-p): New function.
839         (comment-or-uncomment-region): Use it.
841 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
843         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
844         table, get the value before switching to the output buffer.  (Bug#7733)
846 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
848         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
850 2011-01-14  Kim F. Storm  <storm@cua.dk>
852         * emulation/cua-base.el (cua--init-keymaps):
853         Remap exchange-point-and-mark in cua-global-keymap.
855 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
857         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
858         loop keyword.
860 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
862         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
863         Require CL.
864         (easy-menu-create-menu, easy-menu-convert-item-1):
865         Use :label rather than nil for labels.  Use `case'.
866         Add :enable as alias for :active.
867         (easy-menu-binding): Obey :label.
869 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
871         Use run-mode-hooks for major mode hooks (bug#513).
872         * textmodes/reftex-toc.el (reftex-toc-mode-map):
873         Rename from reftex-toc-map.
874         (reftex-toc-mode): Use define-derived-mode.
875         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
876         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
877         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
878         (reftex-select-label-mode, reftex-select-bib-mode):
879         Use define-derived-mode.
880         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
881         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
882         Move init into delcaration.
883         (reftex-index-mode, reftex-index-phrases-mode):
884         Use define-derived-mode.
885         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
886         speedbar-syntax-table.  Move init into declaration.
887         (speedbar-mode-map): Rename from speedbar-key-map.
888         Move init into declaration.
889         (speedbar-file-key-map): Move init into declaration.
890         (speedbar-mode): Use define-derived-mode.
891         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
892         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
893         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
894         (chart-face-list): Move initialization into declaration.
895         (chart-mode): Use define-derived-mode.
896         * calculator.el (calculator-mode-map): Move init into declaration.
897         (calculator-mode): Use define-derived-mode.
899         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
900         work for nested comments.
902         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
903         (prolog-use-prolog-tokenizer-flag): Change default when
904         syntax-propertize can be used.
905         (prolog-syntax-propertize-function): New var.
906         (prolog-mode-variables): Move make-local-variable into `set'.
907         Don't make comment-column local since we don't set it.
908         Set comment-add (as it was in previous prolog.el).  Use dolist.
909         Set syntax-propertize-function.
910         (prolog-mode, prolog-inferior-mode):
911         Call prolog(-inferior)-menu directly, not through the mode-hook.
912         (prolog-buffer-module, prolog-indent-level)
913         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
914         (prolog-comment-limits, prolog-goto-comment-column):
915         Use line-(end|beginning)-position.
916         (prolog-build-prolog-command): Tighten up regexp.
917         (prolog-consult-compile): Move make-local-variable into `set'.
918         (prolog-consult-compile-filter, prolog-goto-next-paren)
919         (prolog-help-on-predicate, prolog-clause-info)
920         (prolog-mark-predicate): Don't let+setq.
921         (prolog-indent-line): Use indent-line-to.
922         Only call prolog-goto-comment-column if necessary.
923         (prolog-indent-level): Use bobp.
924         (prolog-first-pos-on-line): Remove, not used any more.
925         (prolog-in-string-or-comment): Use syntax-ppss if available.
926         (prolog-help-on-predicate): Use read-string.
927         (prolog-goto-predicate-info): Simplify.
928         (prolog-read-predicate): Use `default' rather than `initial'.
929         (prolog-temporary-file): Use make-temp-file to close a security hole.
930         (prolog-toggle-sicstus-sd): New command.
931         (prolog-electric-underscore, prolog-variables-to-anonymous):
932         Use dynamic-scoping as it was meant.
933         (prolog-menu): Move menu definitions to top-level.
934         Use a toggle-button for Sicstus's source debugger.
935         Change "Code" to the more usual "Prolog", and hence change "Prolog"
936         to "System".
937         (prolog-inferior-menu): Reuse prolog-menu's help menu.
938         Move other menu definition to top-level.
940 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
942         * doc-view.el (doc-view-open-text): Use meaningful text buffer
943         name.  Keep original document's directory as default-directory
944         (bug#6446).
945         (doc-view-initiate-display): Fall back to normal mode when
946         doc-view-mode cannot be enabled, also when extracting the document
947         text into a separate buffer (bug#6446).
949         * simple.el (shell-command): Don't error out if shell command
950         buffer contains text with non-nil read-only property when erasing
951         the buffer.
953 2011-01-13  Kim F. Storm  <storm@cua.dk>
955         * ido.el (ido-may-cache-directory): Move "too-big" check later.
956         (ido-next-match, ido-prev-match): Fix stray reordering of matching
957         items when cycling through the matches.
959 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
961         * dired-x.el (dired-omit-verbose): New defcustom that allows
962         disabling the omit messages.
963         (dired-omit-expunge): Use it.
965 2011-01-13  Christian Ohler  <ohler@gnu.org>
967         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
969 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
971         * font-lock.el (font-lock-verbose): Default to nil.
973 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
975         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
976         (compose-mail): New arg RETURN-ACTION.
977         (compose-mail-other-window, compose-mail-other-frame): Likewise.
979         * mail/sendmail.el (mail-return-action): New var.
980         (mail-mode): Make it buffer-local.
981         (mail-bury): Obey it.  Move special Rmail window handling to
982         rmail-mail-return.
983         (mail, mail-setup): New arg RETURN-ACTION.
984         (sendmail-user-agent-compose): Move from simple.el.
986         * mail/rmail.el (rmail-mail-return): New function.
987         (rmail-start-mail): Pass it to compose-mail.
989 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
991         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
992         menus.  Add menu item for customize-themes.
994         * cus-theme.el (customize-themes):
995         * emacs-lisp/package.el (package--list-packages):
996         Use switch-to-buffer.
998 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
1000         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1002 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1004         * progmodes/prolog.el: Fix up coding convention and such.
1005         (prolog-indent-width): Use the same default as in
1006         previous prolog.el rather than tab-width which depends on which buffer
1007         is current when the file is loaded.
1008         (prolog-electric-newline-flag): Only enable if electric-indent-mode
1009         is not available.
1010         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
1011         (prolog-known-systems): Remove.
1012         (prolog-mode-syntax-table, prolog-inferior-mode-map):
1013         Move initialization into declaration.
1014         (prolog-mode-map): Move initialization into declaration.
1015         Remove system-specific mode-map vars, since they referred to the same
1016         keymap anyway.
1017         (prolog-mode-variables): Obey the user's preference w.r.t
1018         adaptive-fill-mode.  Prefer symbol-value to `eval'.
1019         (prolog-mode-keybindings-edit): Add compatibility bindings.
1020         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
1021         (mercury-mode-map): New var.
1022         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1023         (prolog-ensure-process, prolog-process-insert-string)
1024         (prolog-consult-compile): Use with-current-buffer.
1025         (prolog-guess-fill-prefix): Simplify data flow.
1026         (prolog-replace-in-string): New function to use instead of
1027         replace-in-string.
1028         (prolog-enable-sicstus-sd): Don't abuse `eval'.
1029         (prolog-uncomment-region): Use `uncomment-region' when available.
1030         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1031         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1032         of int-to-char and char-to-int.
1033         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1035 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
1037         * progmodes/prolog.el: Replace by a whole new file.
1039 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1041         * subr.el (eval-after-load): Fix timing for features (bug#7769).
1042         (declare-function, undefined, insert-for-yank)
1043         (replace-regexp-in-string): Follow checkdoc's recommendations.
1045 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1047         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1048         refreshing the diary buffer.
1050 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
1052         * allout.el: Add 2011 to the file copyright.
1053         (allout-encrypt-string): Prevent encryption from adding an extra
1054         newline at the end of the topic body.
1055         (allout-version): Increment to 2.3.
1057 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
1059         * net/dbus.el (dbus-unregister-service): Complete doc.
1060         Fix call of dbus-error signal.
1061         (dbus-register-property): Use `dont-register' keyword.
1063 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1065         * net/dbus.el (dbus-unregister-service): Translate returned
1066         integer into a symbol.
1067         (dbus-register-property): Use `dbus-register-service' to do the
1068         name registration.
1070 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1072         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1073         Suggested by Joakim Verona.
1075         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1077         * wid-edit.el (visibility): Replace :on-image and :off-image
1078         widget properties with :on-glyph and :off-glyph, for consistency
1079         with the `visibility' widget.
1080         (widget-toggle-value-create, widget-visibility-value-create):
1081         Merge into a single function `widget-toggle-value-create'.
1083         * cus-edit.el (custom-variable-value-create, custom-visibility)
1084         (custom-face-edit-value-create, custom-face-value-create):
1085         Replace :on-image and :off-image widget properties with :on-glyph and
1086         :off-glyph, for consistency with the `visibility' widget.
1088 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
1090         * net/ldap.el (ldap-search-internal): Don't use eval.
1092 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1094         * subr.el (read-char-choice): Use read-key.
1096         * custom.el (custom-safe-themes): Rename from
1097         custom-safe-theme-files.  Add :risky tag.
1098         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1099         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
1101 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1103         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
1104         from Search and add a label to Undo.
1106         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1107         inappropriate buttons and adding :vert-only tags.
1109         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1110         removal of Help tool-bar button.  Remove Undo button for space.
1112         * info.el (info-tool-bar-map): Add :vert-only tags.
1114 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
1116         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1117         image backend support.  Either of them is fine.
1119 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
1121         * subr.el (y-or-n-p): Doc fix.
1123         * custom.el (custom-safe-theme-files): New defcustom.
1124         (custom-theme-load-confirm): New function.
1125         (load-theme): Load theme using `load', confirming with
1126         custom-theme-load-confirm if necessary.
1128         * subr.el (read-char-choice): New function, factored out from
1129         dired-query and hack-local-variables-confirm.
1131         * dired-aux.el (dired-query):
1132         * files.el (hack-local-variables-confirm): Use it.
1134         * dired-aux.el (dired-compress-file):
1135         * files.el (abort-if-file-too-large, find-alternate-file)
1136         (set-visited-file-name, write-file, backup-buffer)
1137         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1138         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1139         Use new format string args for y-or-n-p and yes-or-no-p.
1141 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
1143         * progmodes/compile.el (compilation-error-regexp-alist-alist)
1144         [gcc-include]: Tighten file name match, add match for column
1145         number.  (Bug#7806)
1146         [gnu]: Remove unused group.
1148 2011-01-08  Glenn Morris  <rgm@gnu.org>
1150         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1152         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1154 2011-01-07  Sam Steingold  <sds@gnu.org>
1156         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1157         the `explicit-shell-file-name' because that is the
1158         non-interactive shell.
1160 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
1162         * subr.el (y-or-n-p): Accept format string args.
1164 2011-01-07  Glenn Morris  <rgm@gnu.org>
1166         * Makefile.in (EMACSOPT): Add --no-site-lisp.
1168 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
1170         * allout.el (allout-back-to-current-heading): Ensure return to
1171         the visible containing topic, rather than a collapsed one.
1172         (allout-view-change-hook): Remove hook that was deprecated long ago.
1173         (allout-exposure-change-hook): Remove documentation remarks
1174         concerning removed allout-view-change-hook.
1175         (allout-flag-region): Remove invocation of and documentation
1176         remarks concerning allout-view-change-hook.
1178 2011-01-06  Glenn Morris  <rgm@gnu.org>
1180         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1181         (vc-bzr-annotate-extract-revision-at-line):
1182         Handle authors with embedded spaces.  (Bug#7792)
1184 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
1186         * doc-view.el (doc-view-image-width): New variable.
1187         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1188         backend for PNG images, and do dynamic rescaling instead of
1189         reconverting the whole doc.
1191 2011-01-05  Glenn Morris  <rgm@gnu.org>
1193         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1195 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
1197         * allout.el: Reconcile with changes in line movement behavior for
1198         long text lines that cross more than a single physical window
1199         line, ie when truncate-lines is nil.
1200         (allout-next-visible-heading): Provide for change in line-move
1201         behavior on long lines when truncate-lines is nil.  In that case,
1202         line-move can wind up on the same textual line when it moves to
1203         the next window line, and moving to the bullet position after the
1204         move yields zero advancement.  Add logic to detect and compensate
1205         for the lack of progress.
1206         (allout-current-topic-collapsed-p): move-end-of-line respect for
1207         field boundaries is different when operating with body lines
1208         shorter than window width versus ones greater than window width,
1209         which can yield false negatives in this function.  Avoid
1210         difference by applying move-end-of-line while field-text-motion is
1211         inhibited.
1213 2011-01-04  Glenn Morris  <rgm@gnu.org>
1215         * textmodes/rst.el (rst-compile-toolsets):
1216         Add pdf and s5 to option alist.
1218 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1220         * net/dbus.el (dbus-register-property): Add optional parameter
1221         dont-register-service.  Updated docstring accordingly.
1223 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
1225         * textmodes/rst.el (rst-compile-pdf-preview)
1226         (rst-compile-slides-preview): Remove extra line.
1228 2011-01-04  Glenn Morris  <rgm@gnu.org>
1230         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1231         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
1232         default to `prog' without a .py extension.
1233         (rst-compile-pdf-preview, rst-compile-slides-preview):
1234         Use program names from rst-compile-toolsets, rather than hard-coding.
1235         (rst-portable-mark-active-p): Fix presumed typo.
1237 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1239         * term/w32-win.el (dynamic-library-alist): Set up correctly for
1240         libpng versions both before and after 1.4.0.  (Bug#7716)
1242 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1244         * time.el (display-time-mode): Mention display-time-interval in
1245         the doc string.  (Bug#7713)
1247 2011-01-02  Kenichi Handa  <handa@m17n.org>
1249         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1250         condition-case and return an error message string if something
1251         goes wrong.
1252         (rmail-show-mime): Adjust for the above change.  Insert the
1253         header by rmail-mime-insert-header.
1255 2011-01-02  Kenichi Handa  <handa@m17n.org>
1257         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1258         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1259         (rmail-mime-mbox-buffer)
1260         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1261         (rmail-mime-entity): Argument changed.  All codes handling an
1262         entity object are changed.
1263         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1264         the above change.
1265         (rmail-mime-entity-children, rmail-mime-entity-handler)
1266         (rmail-mime-entity-tagline): New functions.
1267         (rmail-mime-message-p): New function.
1268         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1269         (rmail-mime-entity-segment, rmail-mime-next-item)
1270         (rmail-mime-previous-item, rmail-mime-shown-mode)
1271         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1272         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1273         (rmail-mime-insert-tagline, rmail-mime-insert-header):
1274         New functions.
1275         (rmail-mime-text-handler): Call rmail-mime-insert-text.
1276         (rmail-mime-insert-decoded-text): New function.
1277         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1278         (rmail-mime-insert-image): Argument changed.  Caller changed.
1279         (rmail-mime-image): Call rmail-mime-toggle-hidden.
1280         (rmail-mime-set-bulk-data): New funciton.
1281         (rmail-mime-insert-bulk): Argument changed.
1282         (rmail-mime-multipart-handler): Return t.
1283         (rmail-mime-process-multipart): Argument changed.
1284         Handle "multipart/alternative" here.
1285         (rmail-mime-process): Argument changed.
1286         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1287         (rmail-mime-insert): Argument changed.  Handle raw display mode.
1288         (rmail-mime): Argument changed.  Handle toggling of raw display
1289         mode.
1290         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1291         rmail-mime-view-buffer.
1292         (rmail-insert-mime-forwarded-message): Likewise.
1293         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
1295         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1296         non-nil, handle the header in rmail-show-mime-function.
1298 2011-01-02  Leo  <sdl.web@gmail.com>
1300         * help-fns.el (describe-variable): Fix previous change.
1302 2011-01-02  Juri Linkov  <juri@jurta.org>
1304         * isearch.el (isearch-lazy-highlight-error): New variable.
1305         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1306         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
1307         to the current value of `isearch-error' (Bug#7468).
1309 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1311         * help-fns.el (describe-variable): Don't emit trailing whitespace
1312         (Bug#7511).
1314 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1316         * textmodes/rst.el (rst-compile-pdf-preview)
1317         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1319 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
1321         * emulation/edt-mapper.el: Override mapping of function keys so
1322         that the later call to read-key-sequence works.
1324 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1326         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1327         Unix EOLs.  (Bug#7589)
1329 2011-01-02  Leo  <sdl.web@gmail.com>
1331         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1332         if point is not behind eshell-last-output-end (Bug#7585).
1334 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1336         * files.el (file-local-variables-alist):
1337         Make permanent-local (bug#7767).
1339 2011-01-02  Glenn Morris  <rgm@gnu.org>
1341         * version.el (emacs-copyright): Set short copyright year to 2011.
1343 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
1345         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1346         an existing temp buffer.  (Bug#7746)
1348 2011-01-02  Glenn Morris  <rgm@gnu.org>
1350         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1351         multiple addresses.  (Bug#7760)
1353 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
1355         * allout.el (allout-auto-fill): Do not infinitely recurse - use
1356         do-auto-fill if everything points back to allout-auto-fill.
1357         (allout-mode-deactivate-hook): Declare obsolete, in favor of
1358         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1360 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
1362         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1363         and "scpx".
1365 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1367         * doc-view.el (doc-view-set-doc-type): New function refactored
1368         from doc-view-mode.
1369         (doc-view-fallback-mode): New function.
1370         (doc-view-mode): Use it.
1371         (doc-view-mode-maybe): New function that checks if doc-view-mode
1372         can be used and falls back to the next best mode otherwise.
1374         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1375         DVI, OpenDocument, and MS Office files.
1377 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
1379         * emacs-lisp/rx.el (rx-syntax): Fix typo.
1381 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1383         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1384         on a copy of auto-mode-alist, because that deletes with side
1385         effects.
1387 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1389         * doc-view.el (doc-view-mode, doc-view-toggle-display):
1390         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1391         fallback instead of hard coding fundamental mode.
1393 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1395         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1396         Office) files also for searching.
1398 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1400         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1401         Office) files.  Not yet enabled via auto-mode-list.
1402         (doc-view-unoconv-program): New custom variable.
1403         (doc-view-mode-p): Handle new odf document type.
1404         (doc-view-odf->pdf): New conversion function.
1405         (doc-view-convert-current-doc): Call it for odf files.
1406         (doc-view-mode): Recognize newly supported file extensions.
1408 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
1410         * net/tramp.el (tramp-default-method-alist)
1411         (tramp-default-user-alist)
1412         (tramp-local-host-regexp, tramp-prefix-domain-format)
1413         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1415         * net/tramp-ftp.el:
1416         * net/tramp-gvfs.el:
1417         * net/tramp-gw.el:
1418         * net/tramp-imap.el:
1419         * net/tramp-sh.el:
1420         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1421         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1423 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
1425         * saveplace.el (save-place-alist-to-file): Save list sorted and
1426         pretty-printed, so that it is mergeable by line-based text merging,
1427         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1429 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
1431         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1432         (allout-mode): Argument "toggle" => "force".
1433         Refine the docstring.
1434         Remove special provisions for reactivation, besides the 'force'
1435         argument.
1436         Consolidate layout provisions coce directly into the activation
1437         condition branch, now that we've removed those provisions.
1438         (allout-unload-function): Explicitly activate the mode before
1439         deactivating, if it's initially deactivated.
1440         (allout-set-buffer-multibyte): Properly prevent byte-compiler
1441         warnings for version of function used only where
1442         set-buffer-multibyte is unavailable.
1444 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
1446         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1447         are handled by the menu-bar entries.  As before, don't use
1448         :visibile to avoid changing the tool-bar.
1450 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
1452         * net/secrets.el (secrets-delete-alias): New defun.
1454 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
1456         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1457         methods, otherwise ~/.ssh/config would be ignored.
1459 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1461         * emacs-lisp/rx.el: Make it a superset of sregex.
1462         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1463         of args, add `regex' alias.
1464         (rx-info): Add arg to distinguish head and standalone forms.
1465         (rx-check, rx-form): Pass the corresponding arg.
1466         (rx-**): Simplify.
1467         (rx-repeat): Make it work for any number of args.
1468         (rx-syntax): Make it accept syntax chars as is.
1469         * obsolete/sregex.el: Move from emacs-lisp/.
1470         * emacs-lisp/re-builder.el: Remove sregex support.
1471         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1473 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
1475         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1476         PRIMARY first, then the clipboard.  (Bug#7699)
1478 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1480         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1481         print-number-table.
1483 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
1485         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1486         .emacs.elc (Bug#7530).
1488         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1489         image spec (Bug#7480).
1491 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
1493         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1494         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1495         Move from lisp/.
1497 2010-12-20  Leo  <sdl.web@gmail.com>
1499         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1500         always be performed (Bug#7680).
1502 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
1504         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1505         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
1506         mouse-region-match.
1508         * color.el: Move from gnus/.
1510         * vc/diff.el (diff-better-file-name): Function deleted.
1511         abbreviating file names causes problems with shell-quote-argument.
1512         (diff-no-select): Just use expand-file-name.
1514         * tool-bar.el (tool-bar--image-expression): New function.
1515         (tool-bar-local-item, tool-bar--image-exp): Use it.
1516         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1517         Use :enable instead of :visible to avoid changing the tool-bar
1518         configuration unnecessarily.
1520         * info.el (info-tool-bar-map): Add separators.
1522 2010-12-17  Ken Brown  <kbrown@cornell.edu>
1524         * loadup.el: Use version numbers in Cygwin build.
1526 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
1528         * ido.el (ido-file-internal): Ask for confirmation before
1529         overwriting an existing file (Bug#1238).
1531 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
1533         * tool-bar.el (tool-bar-setup): Add separators.
1535         * menu-bar.el (featurep): Use menu-bar-separator.
1537 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
1539         Migrate allout encryption provisions from pgg to epg.
1541         * allout.el (allout-toggle-current-subtree-encryption)
1542         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1543         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
1544         for simpler universal argument interpretation.
1545         (allout-toggle-subtree-encryption):  Adjust docstring to describe
1546         changed encryption provisions.  Change fetch-pass to keymode-cue, for
1547         simpler universal argument interpretation.  Remove provisions for
1548         handling key type and identity - they'll all be within
1549         allout-encrypt-string or epg/epg or even contained all the way in gpg.
1550         (allout-encrypt-string): Include keymode-cue, for optionally prompting
1551         for keypair recipients (universal argument > 1) and, in addition,
1552         associating the specified recipients with the outline (universal
1553         argument > 4) using a file local variable setting for
1554         'epa-file-encrypt-to'.
1555         Require epa, for recipients handling.
1556         Change how regexp filtering elements are named.
1557         Describe the problem with caching of incorrect symmetric-decryption
1558         keys.
1559         Use the epa-passphrase-callback-function, in case the user is using
1560         GnuPG v1.
1561         Support saving of the selected keypair recipients when invoked with a
1562         keymode-cue > 4.
1563         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1564         Require 'epa.
1565         Establish epg-context with armoring and default epg-protocol.
1566         Remove all passphrase cache, verification, and hinting code.
1567         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1568         No longer used, delete.
1569         (allout-mode): Adjust docstring to describe changed encryption
1570         provisions.  Describe the problem with caching of incorrect
1571         symmetric-decryption keys.
1572         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1573         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1574         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1575         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1576         Obsolete, remove.
1578 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
1580         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1581         key selection prompt; make 'silent as default (Bug#7487).
1583 2010-12-16  Leo  <sdl.web@gmail.com>
1585         * eshell/eshell.el (eshell-directory-name):
1586         Use locate-user-emacs-file (Bug#7578).
1588 2010-12-15  Glenn Morris  <rgm@gnu.org>
1590         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1592 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
1593             Scott Evans <gse@antisleep.com>
1595         * rect.el (rectange--default-line-number-format)
1596         (rectangle-number-line-callback): New functions.
1597         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1599 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
1601         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1602         Delete unused variables.
1603         (move-to-column-force): Remove function obsolete since 21.2.
1605 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
1607         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1608         (tramp-handle-insert-file-contents): Do not set permanent-local
1609         property.
1611         * net/tramp-cache.el (tramp-persistency-file-name):
1612         Use `locate-user-emacs-file' if fboundp.
1614         * net/tramp-sh.el (tramp-methods): Add "ksu".
1615         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
1616         method list.
1618 2010-12-14  Glenn Morris  <rgm@gnu.org>
1620         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1621         (find-tag-marker-ring): Declare.
1622         (js-find-symbol): Require etags.
1624         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1625         Require mail-utils.
1626         (mail-alias-file): Don't autoload.  Doc fix.
1627         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1628         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
1629         Mark as obsolete, and risky.
1630         (mail-setup): Simplify.
1632         * mail/mailalias.el (build-mail-aliases): Make it interactive.
1633         * mail/sendmail.el (build-mail-aliases): Update autoload.
1635         * dired.el (dired-trivial-filenames, dired-chown-program)
1636         (dired-auto-revert-buffer): Remove autoload cookies.
1637         * mail/sendmail.el (mail-recover-1): Require 'dired.
1639         * dired.el (dired-subdir-switches, dired-chown-program)
1640         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1641         Make into defcustoms.
1642         (dired-chown-program): Simplify initialization.
1644         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1646 2010-12-13  Romain Francoise  <romain@orebokech.com>
1648         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1650 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1652         * net/netrc.el (netrc-point-at-eol): Remove the unused
1653         netrc-point-at-old and netrc-bound-and-true-p bindings.
1654         (netrc-parse): Cache the netrc contents.
1656 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1658         * subr.el (posn-col-row): Evaluate header-line-format in the
1659         context of the POSITION window's buffer.
1661 2010-12-13  Glenn Morris  <rgm@gnu.org>
1663         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1664         (with-silent-modifications): Doc fixes.
1666 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1668         * net/tramp.el (tramp-action-password, tramp-process-actions):
1669         Revert previous from.  Use `save-restriction'.
1671 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
1673         * calendar/diary-lib.el (diary-list-sexp-entries):
1674         Handle case of no newline at end of file.  (Bug#7536)
1676 2010-12-13  Glenn Morris  <rgm@gnu.org>
1678         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1680 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1682         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1683         (tramp-process-actions): Do not widen.
1685         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1686         Protect buffer-modified value.  (Bug#7557)
1688 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
1690         * log-edit.el (log-edit-changelog-entries):
1691         Regexp quote filename.  (Bug#7505)
1693 2010-12-13  Tom Breton  <tehom@panix.com>
1695         * cus-edit.el (custom-save-all):
1696         Bind print-length and print-level to nil.  (Bug#7581)
1698 2010-12-13  Glenn Morris  <rgm@gnu.org>
1700         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1701         Run hooks to update menu contents.  (Bug#7586)
1703         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1704         file names, for the sake of MS Windows.  (Bug#7588)
1706 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1708         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1709         empty lines without a leading space.
1711 2010-12-13  Leo  <sdl.web@gmail.com>
1713         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1714         while mapping over marks (Bug#6810).
1716 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1718         * image-dired.el (image-dired-db-file)
1719         (image-dired-temp-image-file, image-dired-gallery-dir)
1720         (image-dired-temp-rotate-image-file): Set default values relative
1721         to image-dired-dir (Bug#7518).
1723 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
1725         * format.el (format-decode-run-method): Pass args FROM and TO, not
1726         point-min and point-max, to shell-command-on-region (Bug#7488).
1728 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
1730         * frame.el (blink-cursor-mode): Make default t for ns.
1732 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1734         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1736 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1738         * comint.el (comint-dynamic-list-input-ring)
1739         (comint-dynamic-complete-filename)
1740         (comint-replace-by-expanded-filename)
1741         (comint-dynamic-simple-complete)
1742         (comint-dynamic-list-filename-completions)
1743         (comint-dynamic-list-completions): Doc fix (Bug#7499).
1745         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1746         Doc fix (Bug#7471).
1748 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
1750         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1751         (Bug#7533).
1753 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
1755         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1756         (Bug#7491).
1758 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1760         * files.el (file-relative-name): Handle UNC file names on
1761         DOS/Windows.  (Bug#4674)
1763 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
1765         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1766         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
1767         (epg-context-set-passphrase-callback): Mention that the callback
1768         is not called when used with GnuPG 2.x.
1770 2010-12-13  Glenn Morris  <rgm@gnu.org>
1772         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1773         Ensure ps-footer-font-size-internal is initialized.
1774         Call ps-get-page-dimensions before trying to use ps-font-for-text.
1776 2010-12-13  Kenichi Handa  <handa@m17n.org>
1778         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1779         within condition-case.
1780         (rmail-show-mime): Don't use condition-case.
1781         (rmail-search-mime-message): New function.
1782         (rmail-search-mime-message-function): Set to
1783         rmail-search-mime-message.
1785 2010-12-13  Leo  <sdl.web@gmail.com>
1787         * ido.el (ido-common-initialization): New function.  (bug#3274)
1788         (ido-mode): Use it.
1789         (ido-completing-read): Call it.
1791 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
1793         * bookmark.el (bookmark-name-from-full-record): Rename back to
1794         this original name from `bookmark-name-from-record' reverting part
1795         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1796         As Drew Adams pointed out, there was no reason to cause churn for
1797         third-party callers.
1799 2010-12-12  Alan Mackenzie  <acm@muc.de>
1801         * progmodes/cc-engine.el (c-forward-type): Before scanning a
1802         template arglist, check that the current language supports this.
1804 2010-12-11  Glenn Morris  <rgm@gnu.org>
1806         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1807         state of the file matches.  (Bug#7544)
1808         (vc-bzr-register, vc-bzr-checkin)
1809         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1810         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1812         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1814 2010-12-11  Karel Klíč  <kklic@redhat.com>
1816         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
1818 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1820         Derive from prog-mode, use derived-mode-p, and fix up various
1821         minor style issues in lisp/progmodes.
1823         * progmodes/vhdl-mode.el (vhdl-mode):
1824         * progmodes/verilog-mode.el (verilog-mode):
1825         * progmodes/vera-mode.el (vera-mode):
1826         * progmodes/sql.el (sql-mode):
1827         * progmodes/scheme.el (scheme-mode):
1828         * progmodes/perl-mode.el (perl-mode):
1829         * progmodes/octave-inf.el (inferior-octave-mode):
1830         * progmodes/autoconf.el (autoconf-mode):
1831         * progmodes/m4-mode.el (m4-mode):
1832         * progmodes/inf-lisp.el (inferior-lisp-mode):
1833         * progmodes/idlwave.el (idlwave-mode):
1834         * progmodes/icon.el (icon-mode):
1835         * progmodes/idlw-help.el (idlwave-help-mode):
1836         * progmodes/dcl-mode.el (dcl-mode):
1837         * progmodes/idlw-shell.el (idlwave-shell-mode):
1838         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1839         (ebrowse-member-mode, ebrowse-electric-position-mode):
1840         Use define-derived-mode.
1842         * progmodes/xscheme.el (exit-scheme-interaction-mode)
1843         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1844         (xscheme-debugger-mode-p, xscheme-send-string-1):
1845         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1846         (tcl-load-file, tcl-restart-with-file):
1847         * progmodes/ps-mode.el (ps-run-running):
1848         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1849         * progmodes/js.el (js--get-all-known-symbols):
1850         * progmodes/inf-lisp.el (inferior-lisp-proc):
1851         * progmodes/idlwave.el (idlwave-beginning-of-statement)
1852         (idlwave-template, idlwave-update-buffer-routine-info)
1853         (idlwave-update-current-buffer-info)
1854         (idlwave-get-routine-info-from-buffers, idlwave-choose)
1855         (idlwave-scan-class-info, idlwave-fix-keywords)
1856         (idlwave-list-buffer-load-path-shadows):
1857         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1858         (idlwave-toolbar-remove):
1859         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1860         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1861         (idlwave-shell-menu-def):
1862         * progmodes/idlw-complete-structtag.el
1863         (idlwave-prepare-structure-tag-completion):
1864         * progmodes/gud.el (gud-set-buffer):
1865         * progmodes/f90.el (f90-backslash-not-special):
1866         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1868         * progmodes/xscheme.el (xscheme-start)
1869         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1870         * progmodes/which-func.el (which-function):
1871         * progmodes/vhdl-mode.el (vhdl-set-style):
1872         * progmodes/verilog-mode.el (verilog-set-compile-command)
1873         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1874         (verilog-set-define, verilog-auto-reeval-locals):
1875         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1876         * progmodes/simula.el (simula-mode):
1877         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1878         * progmodes/python.el (python-check, python-mode):
1879         * progmodes/prolog.el (prolog-mode-variables):
1880         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1881         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1882         * progmodes/delphi.el (delphi-mode):
1883         * progmodes/cc-styles.el (c-setup-paragraph-variables):
1884         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1885         (c-font-lock-init): Move make-local-variable to their setq.
1887         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1888         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1889         make-local-hook.
1890         * progmodes/sh-script.el (sh-require-final-newline): Remove.
1891         (sh-set-shell): Don't set require-final-newline since it's already done
1892         by prog-mode.
1893         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1894         since we never set it.
1895         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1896         Use read-string and standard prompt.
1897         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1898         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1899         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1900         (meta-common-mode-map): Rename from meta-mode-map.
1901         Remove C-m binding, which is a user preference, not mode specific.
1902         (meta-common-mode): New major mode; replace meta-common-initialization.
1903         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1904         around with font-lock.
1905         * progmodes/etags.el (select-tags-table-mode):
1906         Derive from special-mode.
1907         * progmodes/octave-mod.el (octave-mode):
1908         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1909         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1910         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1911         Let define-derived-mode do its job.
1912         * progmodes/cpp.el (cpp-edit-mode-map):
1913         Move initialization into declaration.
1914         (cpp-edit-mode): Use define-derived-mode.
1915         (cpp-edit-load): Use derived-mode-p.
1916         * progmodes/mixal-mode.el (mixal-mode):
1917         * progmodes/f90.el (f90-mode):
1918         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1919         require-final-newline since prog-mode does it already.
1920         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1921         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1922         * progmodes/antlr-mode.el: Require cc-mode upfront.
1923         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1924         the declaration.
1925         (antlr-directory-dependencies, antlr-show-makefile-rules):
1926         Use derived-mode-p.
1927         (antlr-language-option): Don't assume point-min==1.
1928         (antlr-mode): Use define-derived-mode.
1929         * progmodes/ada-mode.el: Use derived-mode-p.
1930         (ada-mode): Use define-derived-mode.
1931         Use hack-local-variables-hook.
1933 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1935         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1936         (texinfo-mode): Don't disable adaptive-fill-mode.
1937         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1938         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1939         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1940         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1941         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1942         (texinfo-insert-@quotation, texinfo-insert-@samp)
1943         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1944         (texinfo-insert-@uref): Use define-skeleton.
1945         (texinfo-insert-@-with-arg): Delete.
1947 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
1949         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1950         nil, do quote archive member names.  (Bug#6144)
1952 2010-12-10  Glenn Morris  <rgm@gnu.org>
1954         * files.el (diff-no-select): Declare.
1956         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1957         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1959         * comint.el (comint-input-ring-file-name): Doc fix.
1961 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
1963         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1964         New functions.
1965         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1966         Use them instead of `nil' and `>', respectively.
1967         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1968         instead of `nil'.
1969         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1970         and menu-bar-positive-p instead of `nil' and `>', respectively.
1971         (Bug#1077)
1973 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1975         * whitespace.el (whitespace-newline-mode): Code fix.
1977 2010-12-09  Glenn Morris  <rgm@gnu.org>
1979         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1980         Rename functions without commas, update callers.
1982 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
1984         * whitespace.el (whitespace-cleanup-region):
1985         Clean up spaces before tabs.  (Bug#7582)
1987 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
1989         * bookmark.el: Adjust parameter names and doc strings to resolve
1990         confusion over whether "bookmark" meant a bookmark name or a
1991         bookmark record.  Along the way, shorten one function's name for
1992         similar reasons.  (Issue #7548)
1993         (bookmark-name-from-record): New name for
1994         `bookmark-name-from-full-record'.  All callers changed.
1995         (bookmark-get-bookmark, bookmark-get-bookmark-record)
1996         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1997         (bookmark-get-annotation, bookmark-set-annotation)
1998         (bookmark-get-filename, bookmark-set-filename)
1999         (bookmark-get-position, bookmark-set-position)
2000         (bookmark-get-front-context-string, bookmark-set-front-context-string)
2001         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2002         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2003         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2004         Rename `bookmark' parameter to `bookmark-name-or-record', to
2005         clearly show its role, and shorten or adjust doc strings accordingly.
2006         (bookmark-set-name): Same, and pass the parameter directly to
2007         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2008         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2009         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2010         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2011         and in some cases shorten doc string accordingly.
2012         (bookmark-rename): Change `old' and `new' parameters to `old-name'
2013         and `new-name', and adjust an internal variable to avoid confusion.
2014         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2015         parameter in doc string.
2017 2010-12-08  Glenn Morris  <rgm@gnu.org>
2019         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2020         from gdb's history file.  (Bug#7575)
2022         * mail/emacsbug.el (report-emacs-bug):
2023         Try to handle some other mail clients.
2025 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2027         * files.el (dir-locals-collect-variables): Don't let errors stop us.
2028         Use string-prefix-p.
2029         (file-name-version-regexp): New var.
2030         (file-name-sans-versions):
2031         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2032         (jka-compr-get-compression-info): Use dolist.
2033         (jka-compr-compression-info-list): Don't bother specifying
2034         version/backup regexps.
2036 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
2038         * simple.el (just-one-space): Make argument n default to 1 if
2039         omitted.
2041 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2043         * electric.el (electric-indent-post-self-insert-function):
2044         Delete trailing newlines even if we don't reindent.
2046 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2048         * minibuffer.el (completion-at-point): Remove the `arg'.
2049         * bindings.el (complete-symbol): Move back from minibuffer.el.
2051 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2053         * simple.el (just-one-space): Delete newlines for negative arg.
2055 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2057         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2058         (ansi-color-filter-apply): Simplify.
2059         (ansi-color-apply): Use `font-lock-face' rather than `face'.
2061 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2063         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2065 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
2067         * dired.el (dired-use-ls-dired): Set default to a special
2068         "unspecified" value.
2069         (dired-insert-directory): When called the first time, check
2070         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2072 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
2074         * replace.el: Add "collect" feature to occur.
2075         (occur-collect-regexp-history): New var.
2076         (occur-read-primary-args): Return a replace string for nlines,
2077         if needed.
2078         (occur): Extend the meaning of nlines.
2080 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2082         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2083         (which-func-update-1): Distinguish symbols from strings.
2084         (which-function): Stay within 80 columns.
2086 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2088         * subr.el (with-demoted-errors): Distinguish symbols from strings.
2090         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2091         Improve docstring.
2092         (comment-style): Use comment-styles's docs to describe values.
2094 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
2096         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2097         and ns-show-prefs (Bug#7535).
2099         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2100         bindings (Bug#7535).
2102 2010-12-03  Glenn Morris  <rgm@gnu.org>
2104         * nxml/nxml-mode.el: Require rng-nxml.
2105         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2106         Remove declarations.
2108         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2109         * nxml/rng-nxml.el, nxml/rng-valid.el:
2110         Remove leading `*' from defcustom docs.
2112         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2113         (normal-top-level-add-to-load-path, tty-handle-args):
2114         Convert comments to basic doc-strings.
2116         * net/browse-url.el (browse-url-url-at-point)
2117         (browse-url-default-browser): Remove autoload cookies.
2119         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2120         Remove more undefined cl functions.
2122         * vc/diff.el (diff-sentinel): Make new arguments optional.
2123         * ibuf-ext.el (diff-sentinel): Update declaration.
2125 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
2127         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2128         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2129         (epg-context-set-passphrase-callback): Mention that the callback
2130         is not called when used with GnuPG 2.x.
2132 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
2134         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2135         (tramp-file-name-port): Check also for `tramp-default-port'.
2136         (tramp-get-connection-name): New defun.
2137         (tramp-get-connection-process): Use it.
2138         (tramp-debug-message): Extend function exclude list.
2139         (tramp-drop-volume-letter): Fix doc string.
2141         * net/tramp-cmds.el: Remove solved todo item.
2143         * net/tramp-efs.el:
2144         * net/tramp-ftp.el:
2145         * net/tramp-gvfs.el:
2146         * net/tramp-gw.el:
2147         * net/tramp-imap.el:
2148         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2149         and `tramp-default-user-alist', respectively.
2151         * net/tramp-gw.el (tramp-gw-open-connection):
2152         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2154         * net/tramp-imap.el (tramp-imap-make-iht): Use just
2155         `tramp-file-name-port'.
2157         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2158         and "psftp".  Exchange "%k" marker with options.
2159         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2160         Compute size of link target.
2161         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2162         `tramp-current-*' up due to gateway methods.  Optimze computing of
2163         copy arguments.  Use `tramp-get-connection-name' and
2164         `tramp-get-connection-buffer'.  Improve debug messages.
2165         (tramp-compute-multi-hops): Remove port determination.
2166         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2168         * net/trampver.el: Update release number.
2170 2010-12-02  Glenn Morris  <rgm@gnu.org>
2172         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2173         Avoid infinite loop over windows.  (Bug#7492)
2175         * progmodes/flymake.el (flymake-check-file-limit):
2176         Allow nil to mean "no limit".
2177         (flymake-check-patch-master-file-buffer): Update for above change.
2178         Allow a .tex file-name extension to be optional.
2179         (flymake-master-tex-init): Also match \include statements.
2181 2010-11-30  Sam Steingold  <sds@gnu.org>
2183         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2184         (nxml-parent-document-set): A function to set `nxml-parent-document'.
2185         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2186         (nxml-mode-hook): Remove `defcustom' (auto-defined by
2187         define-derived-mode').
2188         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2189         users who want to call `nxml-parent-document-set'.
2191 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2193         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2194         stand-alone lines, since that is handled by log-edit-match-to-eoh
2195         (Bug#6465).
2197 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
2199         * dired.el (dired-get-filename): Replace backslashes with slashes
2200         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
2201         * locate.el (locate-default-make-command-line): Don't consider
2202         drive letter and root directory part of
2203         `directory-listing-before-filename-regexp'.  (Bug#7308)
2204         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2206 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2208         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2209         of :smie-open/close-alist.
2210         (smie-next-sexp): Make it accept a "start token" as argument.
2211         (smie-indent-keyword): Be careful not to misidentify tokens that span
2212         more than one line, as empty lines.  Add argument `token'.
2214 2010-11-27  Kenichi Handa  <handa@m17n.org>
2216         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2217         multipart subtypes, insert all as usual.
2219         * mail/rmail.el: Require rfc2047.
2221 2010-11-27  Kenichi Handa  <handa@m17n.org>
2223         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2224         (rmail-mime-entity-disposition)
2225         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2226         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2227         (rmail-mime-save): Handle the case that the button's `data' is a
2228         MIME entity.
2229         (rmail-mime-insert-text): New function.
2230         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2231         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2232         (rmail-mime-insert-bulk): New function mostly copied from the old
2233         rmail-mime-bulk-handler.
2234         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2235         (rmail-mime-process-multipart): New function mostly copied from
2236         the old rmail-mime-multipart-handler.
2237         (rmail-mime-show): Just call rmail-mime-process.
2238         (rmail-mime-process): New function mostly copied from the old
2239         rmail-mime-show.
2240         (rmail-mime-insert-multipart, rmail-mime-parse)
2241         (rmail-mime-insert, rmail-show-mime)
2242         (rmail-insert-mime-forwarded-message)
2243         (rmail-insert-mime-resent-message): New functions.
2244         (rmail-insert-mime-forwarded-message-function): Set to
2245         rmail-insert-mime-forwarded-message.
2246         (rmail-insert-mime-resent-message-function): Set to
2247         rmail-insert-mime-resent-message.
2249         * mail/rmailsum.el: Require rfc2047.
2250         (rmail-header-summary): Handle multiline Subject: field.
2251         (rmail-summary-line-decoder): Change the default to
2252         rfc2047-decode-string.
2254         * mail/rmail.el (rmail-enable-mime): Change the default to t.
2255         (rmail-mime-feature): Change the default to `rmailmm'.
2256         (rmail-quit): Delete the specifal code for rmail-enable-mime.
2257         (rmail-display-labels): Likewise.
2258         (rmail-show-message-1): Check rmail-enable-mime, and use
2259         rmail-show-mime-function for a MIME message.  Decode the headers
2260         according to RFC2047.
2262 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2264         * progmodes/which-func.el (which-func-imenu-joiner-function):
2265         Return a string, as expected.
2266         (which-function-mode): Make sure we stop any previous timer before
2267         starting a new one.
2269 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
2271         * net/tramp.el (tramp-default-method-alist)
2272         (tramp-default-user-alist, tramp-default-proxies-alist):
2273         Adapt custom options type.  (Bug#7445)
2275 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2277         * progmodes/python.el: Add Ipython support (Bug#5390).
2278         (python-shell-prompt-alist)
2279         (python-shell-continuation-prompt-alist): New options.
2280         (python--set-prompt-regexp): New function.
2281         (inferior-python-mode, run-python, python-shell):
2282         Require ansi-color.  Use python--set-prompt-regexp to set the comint
2283         prompt based on the Python interpreter.
2284         (python--prompt-regexp): New var.
2285         (python-check-comint-prompt)
2286         (python-comint-output-filter-function): Use it.
2287         (run-python): Use a pipe (Bug#5694).
2289 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2291         * progmodes/python.el (run-python): Doc fix.
2292         (python-keep-current-directory-in-path): New var (Bug#7454).
2294 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2296         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2297         Prompt user before actually printing.
2299 2010-11-27  Glenn Morris  <rgm@gnu.org>
2301         * startup.el (package-enable-at-startup, package-initialize):
2302         Remove unnecessary declarations.
2304 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
2306         * international/characters.el (glyphless-char-display-control):
2307         Exclude newline and TAB from the c0-control group.
2309 2010-11-27  Glenn Morris  <rgm@gnu.org>
2311         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2312         (expand-mail-aliases): Remove unnecessary autoload.
2314         * allout.el (allout-command-prefix, allout-mode-map): Declare.
2316         * shell.el (shell-dir-cookie-re): Move definition before use.
2318         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2319         Replace undefined CL functions.
2321 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
2323         * simple.el (prog-mode): Set bidi-paragraph-direction to
2324         left-to-right.
2326         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2328 2010-11-26  Glenn Morris  <rgm@gnu.org>
2330         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2331         diary-outlook-formats can be sensitive to calendar-date-style.
2332         (diary-outlook-formats): Simplify the default setting.
2333         (diary-from-outlook-internal): Pass subject and body as arguments.
2334         Use dolist rather than dotimes.  Don't save the diary buffer.
2335         (diary-from-outlook-gnus, diary-from-outlook-rmail):
2336         Pass subject and body as explicit arguments to the -internal function.
2338 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2340         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2341         parsing them.  This makes mailto:...?subject=foo\nbar work.
2343 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2345         * vc/diff.el (diff): Fix last change.
2347 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2349         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
2350         (pcase--dontcare-upats): New var.
2351         (pcase-let, pcase-let*): Generate better code.
2352         Accept the same bodies as `let'.
2353         (pcase-dolist): New macro.
2354         (pcase--trivial-upat-p): New helper function.
2355         (pcase--expand): Strip leading "(let nil" if any.
2357 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2359         * mail/mailclient.el (browse-url): Require.
2360         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2361         use the external browser function to send the mail (bug#7469).
2363         * net/browse-url.el (browse-url-browser-function): Revert the
2364         default back to the previous value, since the new value broke
2365         mailclient.el.
2366         (browse-url-mailto-function): New variable for mailto: URLs.
2367         (browse-url): Use the new variable for mailto: URLs.
2369 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2371         * eshell/esh-cmd.el (eshell-parse-command):
2372         * eshell/esh-arg.el (eshell-parse-arguments):
2373         * eshell/em-script.el (eshell-source-file):
2374         Use with-silent-modifications.
2376 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
2378         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
2379         for a merge location.
2381         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2382         (vc-bzr-merge-branch): Always prompt.
2383         (vc-bzr-async-command): Use the full branch filename.
2385 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2387         * shell.el (shell): Use current-buffer by default if it's already
2388         a shell mode buffer and its process is dead.
2389         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2391 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
2393         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2394         Mention that the keywords should be comma separated.
2396 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
2398         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2399         Accept optional prefix arg meaning to prompt for a command.
2400         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
2401         prefix arg meaning to prompt for a command.
2402         (vc-pull): Alias for vc-update.
2404         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2405         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2406         (vc-bzr-merge-branch): New functions, implementing merge-branch
2407         and pull operations.
2409 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2411         * Makefile.in: Fix up last merge.
2413         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2414         (diff-sentinel): Get them as arguments instead.
2415         (diff-old-file, diff-new-file, diff-extra-args): Remove.
2416         (diff-file-local-copy, diff-better-file-name): New funs.
2417         (diff-no-select): Rename from diff-into-buffer.
2418         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
2419         Prefer closures to buffer-local variables.
2420         (diff): Adjust accordingly.
2421         (diff-buffer-with-file): Move from files.el.
2422         * files.el (diff-buffer-with-file): Move to vc/diff.el.
2423         (diff-buffer-internal): Remove.
2424         (diff-buffer-buffer): Remove.
2425         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2426         the buffer name used, and so as not to mess up windows and frames.
2428 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2430         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2431         (diff-buffer-internal): New function extracted from diff-buffer-with-file
2432         (diff-buffer-with-file): Use it.
2433         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2434         (diff): Use it.
2436 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
2438         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2439         \ref's or \pageref's value as default instead of initial input.
2441 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
2443         * files.el (backup-by-copying-when-mismatch): The default value is
2444         now t.
2446         * startup.el (normal-top-level):
2447         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2448         `backup-by-copying-when-mismatch'.
2450 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
2452         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2454 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2456         * progmodes/python.el (python-font-lock-keywords):
2457         Highlight top-level augmented assignments (Bug#6445).
2459 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
2461         * term/ns-win.el (ns-right-control-modifier)
2462         (ns-right-command-modifier): Defvar them.
2464         * cus-start.el (all): Add ns-right-control-modifier and
2465         ns-right-command-modifier (Bug#7458).
2467 2010-11-20  Glenn Morris  <rgm@gnu.org>
2469         * emacs-lisp/authors.el (authors-ignored-files)
2470         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2472 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
2474         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2475         (report-emacs-bug-parse-query-results)
2476         (report-emacs-bug-create-existing-bugs-buffer): Pass through
2477         keywords used for querying the bug database to show them in the
2478         existing bugs buffer.
2480 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
2482         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2484         * info.el (info-tool-bar-map): Add some :vert-only keywords.
2486 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
2488         * international/characters.el (glyphless-char-display-control):
2489         Make it a defcustom, with update-glyphless-char-display as its
2490         :set attribute.
2491         (top level): Don't call update-glyphless-char-display.
2493 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
2495         Sync with Tramp 2.2.0.
2497         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2498         `file-remote-p' (due to compatibility).
2500         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2501         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2503         * net/trampver.el: Update release number.
2505 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
2507         * faces.el (glyphless-char): Define value for `pc'.
2509 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
2511         Implemented a bug querying mechanism.
2512         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2513         (report-emacs-bug-create-existing-bugs-buffer)
2514         (report-emacs-bug-parse-query-results)
2515         (report-emacs-bug-query-existing-bugs): New functions.
2517 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
2519         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2520         a \ref{} or \pageref{} macro, then use its value as initial input.
2522 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
2524         * calc/calc-units.el (math-build-units-table-buffer):
2525         calc/README: Mention that the TeX specific units won't use the
2526         `tex' prefix in TeX mode.
2527         calc/calc-lang.el (math-variable-table): Don't use the `tex'
2528         prefix for units in TeX mode.
2530 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2532         * simple.el (kill-new, kill-append, kill-region):
2533         * comint.el (comint-kill-region): Make the yank-handler argument
2534         obsolete.
2536 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2538         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2539         that are both openers (resp. closers) and something else.
2540         (smie-grammar): Loosen definition of valid values.
2541         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2542         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2543         (smie-indent-after-keyword): Adjust users.
2544         (smie-indent-keyword): Don't indent empty lines.
2546         * vc-hg.el (vc-hg-program): New var.
2547         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2548         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2550 2010-11-18  Glenn Morris  <rgm@gnu.org>
2552         * emacs-lisp/autoload.el (autoload-find-destination): The function
2553         coding-system-eol-type may return non-numeric values.  (Bug#7414)
2555 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
2557         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2559 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
2561         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
2563 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
2565         * textmodes/picture.el (picture-mouse-set-point): Don't use
2566         posn-col-row; explicitly compute the motion based on the posn at
2567         the window-start (Bug#7390).
2569 2010-11-18  Glenn Morris  <rgm@gnu.org>
2571         * novice.el (disabled-command-function):
2572         Fix 2009-11-15 change.  (Bug#7384)
2574 2010-11-18  Glenn Morris  <rgm@gnu.org>
2576         * calendar/calendar.el (diary-iso-date-forms): Make elements
2577         mutually exclusive.  (Bug#7377)
2579 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2581         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2582         when filling the remaining "unconstrained" values.
2584 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2586         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2587         safety predicate.
2589         * files.el (safe-local-variable-p): Gracefully handle errors.
2591         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2592         Use smie-indent-virtual when indenting relative to an opener.
2593         (smie-rule-separator): Use smie-rule-parent.
2594         (smie-indent-keyword): Consult rules, even for openers at bol.
2595         (smie-indent-comment-close): Try to align closer's content.
2597 2010-11-18  Glenn Morris  <rgm@gnu.org>
2599         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2601 2010-11-18  Glenn Morris  <rgm@gnu.org>
2603         * printing.el (pr-menu-bind): Doc fix.
2605         * speedbar.el (speedbar-toggle-images): Doc fix.
2607         * progmodes/python.el (python-shell): Doc fix.
2609         * wid-edit.el (widget-field-use-before-change)
2610         (widget-use-overlay-change): Doc fixes.
2612 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2614         Minor cleanup to improve style.
2615         * textmodes/rst.el (rst-update-section): Use point-marker.
2616         (rst-get-decoration): Eliminate unneeded assignment.
2617         (rst-promote-region, rst-straighten-decorations)
2618         (rst-section-tree, rst-adjust): Use point-marker.
2619         (rst-toc-mode-mouse-goto): Avoid setq.
2620         (rst-shift-region-guts, rst-shift-region-left)
2621         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2622         (rst-convert-bullets-to-enumeration): Use copy-marker.
2624         * minibuffer.el (completion-fail-discreetly): New var.
2625         (completion--do-completion): Use it.
2627         * electric.el (electric-pair-pairs): New var.
2628         (electric-pair-post-self-insert-function): Use it.
2629         (electric-layout-post-self-insert-function): Don't insert a before
2630         newline unless it's actually needed.
2632 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2634         * progmodes/python.el (run-python): Explain why we remove the current
2635         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
2637         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2639 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2641         * progmodes/octave-mod.el: Rely on elecric-*-modes.
2642         (octave-mode-map): Don't bind ;, SPC, and LF.
2643         (octave-auto-indent, octave-auto-newline): Remove.
2644         (electric-layout-rules): Declare.
2645         (octave-mode): Set electric-layout-rules.
2646         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2647         (octave-reindent-then-newline-and-indent, octave-electric-semi)
2648         (octave-electric-space): Remove.
2650         * electric.el (electric-layout-mode): New minor mode.
2651         (electric--after-char-pos): New function.
2652         (electric-indent-post-self-insert-function): Use it.
2653         (electric-layout-rules): New var.
2654         (electric-layout-post-self-insert-function): New function.
2655         (electric-indent-mode): Make them interact better.
2657 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2659         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2660         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2661         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2663 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
2665         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2666         Make sure to check inside the word (Bug#6761).
2668 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
2670         * startup.el (command-line): If the cursorColor resource is set,
2671         change the cursor face-spec (Bug#7392).
2673 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
2675         The main features of the following allout.el changes are:
2676         - implement user customization for the allout key bindings
2677         - add a customization control by which the user can inhibit use of
2678           a trailing Ctrl-H, so by default it's reserved for use with
2679           describe-prefix-bindings
2680         - adapt to new version of called-interactively-p, while
2681           maintaining backwards compatibility with old version
2682         - fix hotspot navigation so i works properly with meta-modified keys
2684         * allout.el (allout-keybindings, allout-bind-keys)
2685         (allout-keybindings-binding, allout-prefixed-keybindings)
2686         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2687         (allout-keybindings-list, allout-mode-map-adjustments)
2688         (allout-setup-mode-map): Establish allout-mode keymaps as user
2689         customizable settings, and also establish a customizable setting which
2690         regulates whether or not a trailing control-h is reserved for use with
2691         describe-prefix-bindings - and inhibit it by default, so that control-h
2692         *is* reserved for describe-prefix-bindings unless the user changes it.
2694         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2695         and accurately between modified and unmodified events, and handle
2696         modified events more comprehensively.
2698         * allout.el (allout-substring-no-properties):
2699         Alias to use or provide version of `substring-no-properties'.
2700         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2702         * allout.el (allout-next-single-char-property-change):
2703         Alias to use or provide version of `next-single-char-property-change'.
2704         (allout-annotate-hidden, allout-hide-by-annotation):
2705         Use `allout-next-single-char-property-change'.
2707         * allout.el (allout-select-safe-coding-system):
2708         Alias to use or provide version of `select-safe-coding-system'.
2709         (allout-toggle-subtree-encryption):
2710         Use `allout-select-safe-coding-system'.
2712         * allout.el (allout-set-buffer-multibyte):
2713         Alias to use or provide version of `set-buffer-multibyte'.
2714         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2716         * allout.el (allout-called-interactively-p): Macro for using the
2717         different versions of called-interactively-p identically, depending on
2718         the subroutine's argument signature.
2719         (allout-back-to-current-heading, allout-beginning-of-current-entry):
2720         Use `(interactive "p")' instead of `(called-interactively-p)'.
2722         * allout.el (allout-init, allout-ascend, allout-end-of-level)
2723         (allout-previous-visible-heading, allout-forward-current-level)
2724         (allout-backward-current-level, allout-show-children):
2725         Use `allout-called-interactively-p' instead of `called-interactively-p'.
2727         * allout.el (allout-before-change-handler):
2728         Exempt edits to the (overlaid) character after the allout outline
2729         bullet from edit confirmation prompt.
2731         * allout.el (allout-add-resumptions):
2732         Ensure that it respects correct buffer for keybindings.
2734         * allout.el (allout-beginning-of-line):
2735         Use `allout-previous-single-char-property-change' alias for the sake of
2736         diverse compatibility.
2738         * allout.el (allout-end-of-line):
2739         Use `allout-mark-active-p' to encapsulate respect for mark activity.
2741 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
2743         * frame.el (frame-notice-user-settings): Don't clobber other
2744         user-set parameters when calling face-set-after-frame-default in
2745         response to background-color parameter (Bug#7373).
2747 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
2749         * international/characters.el (glyphless-char-display-control):
2750         Rename from glyphless-char-control; all users changed.  Doc fix.
2751         Signal an error if display method is not one of the recognized
2752         symbols.
2754 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
2756         * net/tramp-compat.el (tramp-compat-line-beginning-position)
2757         (tramp-compat-line-end-position): Remove them.
2759         * net/tramp.el (tramp-parse-rhosts-group)
2760         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2761         (tramp-parse-hosts-group, tramp-parse-passwd-group)
2762         (tramp-parse-netrc-group, tramp-parse-putty-group)
2763         * net/tramp-cmds.el (tramp-append-tramp-buffers)
2764         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2765         (tramp-sh-handle-file-selinux-context)
2766         (tramp-sh-handle-file-name-all-completions)
2767         (tramp-sh-handle-insert-directory)
2768         (tramp-sh-handle-expand-file-name, tramp-find-executable)
2769         (tramp-wait-for-output, tramp-send-command-and-read)
2770         * net/tramp-smb.el (tramp-smb-read-file-entry)
2771         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2773         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2774         `point-at-bol'.
2775         (tramp-remote-coding-commands): Add an alternative using "base64
2776         -d -i".  This is needed for older base64 versions from GNU
2777         coreutils.  Reported by Klaus Reichl
2778         <Klaus.Reichl@thalesgroup.com>.
2780 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
2782         * simple.el (count-words-region): New function.
2784 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2786         * shell.el (shell-dir-cookie-re): New custom variable.
2787         (shell-dir-cookie-watcher): New function.
2789         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2790         and compilation-mode (bug#7350).
2792         * vc/smerge-mode.el (smerge-refine): Choose better default part to
2793         highlight when one of them is empty.
2795         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2796         trailing space.
2797         (skeleton-newline): New function.
2798         (skeleton-internal-1): Use it.
2800         * simple.el (open-line): `newline' may strip trailing space.
2802 2010-11-12  Kevin Ryde  <user42@zip.com.au>
2804         * international/mule-cmds.el (princ-list): Use mapc.
2806 2010-11-12  Glenn Morris  <rgm@gnu.org>
2808         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2809         Use it to replace all instances of "*Compile-Log*"
2811 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2813         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2814         indentation specs.
2816 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2818         * progmodes/modula2.el: Use SMIE and skeleton.
2819         (m2-mode-syntax-table): (*..*) can be nested.
2820         Add //...\n.  Fix paren syntax.
2821         (m2-mode-map): Remove LF and TAB bindings.
2822         (m2-indent): Add safety property.
2823         (m2-smie-grammar): New var.
2824         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2825         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2826         (m2-mode): Use define-derived-mode.
2827         (m2-newline, m2-tab): Remove.
2828         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2829         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2830         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2831         (m2-import): Use define-skeleton.
2833 2010-11-11  Glenn Morris  <rgm@gnu.org>
2835         * obsolete/lucid.el: Don't warn about any CL functions in this file.
2837         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2838         (ls-lisp-verbosity): Add custom :set-after property.
2839         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2840         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2841         (ls-lisp-insert-directory): Update caller.
2842         (ls-lisp-set-options): New function.
2843         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2844         Doc fix.
2846         * play/landmark.el (lm-prompt-for-move):
2847         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2849         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2851         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2852         (idlwave-study-twins): Prefix dynamic local variable `name'.
2853         (idlwave-routine-twin-compare): Update for above change.
2855         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2856         Prefix dynamic local variables `name', `kwd', and `link'.
2857         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2858         * progmodes/idlw-complete-structtag.el
2859         (idlwave-complete-structure-tag-help):
2860         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2861         (idlwave-complete-sysvar-tag-help)
2862         (idlwave-complete-class-structure-tag-help):
2863         Update for above name changes.
2865 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2867         * net/browse-url.el (browse-url-browser-function): Change the
2868         default to use `browse-url-mail' on mailto: URLs.
2870 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
2872         * emacs-lisp/package.el (package-read-all-archive-contents):
2873         Reset package-archive-contents to nil before re-reading.
2875 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
2877         * textmodes/flyspell.el (flyspell-word): Do not re-check words
2878         already found as misspellings by (flyspell-large-region), just
2879         do highlighting (bug#7322).
2881 2010-11-10  Glenn Morris  <rgm@gnu.org>
2883         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2885         * emulation/edt.el (edt-with-position): New macro.
2886         (edt-find-forward, edt-find-backward, edt-find-next-forward)
2887         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2888         (edt-paragraph-forward, edt-paragraph-backward): Use it.
2890         * emulation/tpu-extras.el (tpu-with-position): New macro.
2891         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2893         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2895         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2896         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2897         (texinfo-master-menu, texinfo-insert-node-lines)
2898         (texinfo-multiple-files-update):
2899         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2900         Use line-beginning-position.
2902         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2903         No recent Emacs supports system-type `emx'.
2905         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2906         (ada-command-separator, ada-default-prj-properties)
2907         (ada-find-any-references): Update for above name change.
2909         * dirtrack.el (dirtrack-directory-function)
2910         (dirtrack-canonicalize-function):
2911         * filecache.el (file-cache-completion-ignore-case)
2912         (file-cache-case-fold-search, file-cache-ignore-case):
2913         * term.el (serial-port-is-file-p): Cosmetic change.
2915         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2916         Remove non-existent `windows-95' system-type.
2917         * dired.el (dired-chown-program): Remove non-existent `linux'
2918         system-type.
2920         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2921         (ping-program-options): Remove non-existent `linux' system-type.
2923         * startup.el (package-initialize): Update declaration.
2925         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2926         (ls-lisp-handle-switches): Use time-less-p.
2927         (ls-lisp-format-time): Use float-time.
2929         * textmodes/remember.el (remember-time-to-seconds): Remove.
2930         (remember-store-in-mailbox): Use float-time.
2932         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2934         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2935         never a real function.
2936         (with-no-warnings): Remove compat stub, now unused.
2937         (time-less-p): Doc fix.
2938         (time-to-number-of-days): Simplify.
2940         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2941         Remove.
2942         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2943         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2944         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2945         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2946         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2948         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2949         (eshell-shuffle-files, eshell-shorthand-tar-command)
2950         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2951         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2952         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2953         Prefix dynamic local variable `matches'.
2955         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2956         Prefix dynamic local variable `skeleton'.
2958 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2960         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2961         in mail buffer; make yank-action always a command that yanks original
2962         buffer.
2964 2010-11-09  Glenn Morris  <rgm@gnu.org>
2966         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2968 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2970         * minibuffer.el (minibuffer-completion-help): Specify the end of the
2971         completion field (bug#7211).
2973         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2974         Fix handling of backslash escapes.
2975         (python-quote-syntax): Adjust accordingly.
2977 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
2979         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2980         (vc-mtn-workfile-branch): Adjust to new output format.
2982 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2984         * international/mule-cmds.el (princ-list): Mark as obsolete.
2986 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2988         * emacs-lisp/smie.el: New package.
2990 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
2992         * files.el (backup-by-copying-when-mismatch):
2993         Set `permanent-local' property.
2995         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2996         `permanent-local' property for `backup-by-copying-when-mismatch'.
2998 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
3000         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
3002 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
3004         * progmodes/verilog-mode.el (verilog-insert-one-definition)
3005         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3006         AUTOINOUT for SV style multidimensional arrays, bug294.
3007         Reported by Eric Mastromarchi.
3008         (verilog-preprocess): Use with-current-buffer and
3009         font-lock-fontify-buffer to cleanup style issues.
3011 2010-11-09  Glenn Morris  <rgm@gnu.org>
3013         * locate.el (locate, locate-mode): Doc fixes.
3015 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
3017         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3018         user for confirmation.
3019         (server-force-stop): Use it.
3020         (server-start): Use server-force-stop for kill-emacs-hook, to
3021         avoid user interaction while killing Emacs.
3023 2010-11-09  Glenn Morris  <rgm@gnu.org>
3025         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3026         (meta-indent-line): Simplify.
3028         * vc/emerge.el (emerge-line-number-in-buf):
3029         * textmodes/ispell.el (ispell-region):
3030         * textmodes/fill.el (current-fill-column):
3031         * progmodes/xscheme.el (xscheme-send-current-line):
3032         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3033         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3034         * progmodes/sh-script.el (sh-handle-prev-do):
3035         * progmodes/meta-mode.el (meta-indent-line):
3036         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3037         (idlwave-in-quote):
3038         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3039         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3040         * progmodes/fortran.el (fortran-looking-at-if-then):
3041         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3042         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3043         (cperl-find-pods-heres):
3044         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3045         * net/quickurl.el (quickurl-list-insert):
3046         * net/ldap.el (ldap-search-internal):
3047         * net/eudc.el (eudc-expand-inline):
3048         * mail/sendmail.el (sendmail-send-it):
3049         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3050         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3051         (viper-brac-function):
3052         * calc/calc-yank.el (calc-do-grab-region):
3053         * calc/calc-keypd.el (calc-keypad-press):
3054         * term.el (term-move-columns, term-insert-spaces):
3055         * speedbar.el (speedbar-highlight-one-tag-line):
3056         * simple.el (current-word):
3057         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3058         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3059         (Info-scroll-down):
3060         * hippie-exp.el (he-line-beg):
3061         * epa.el (epa--marked-keys):
3062         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3063         (dired-update-file-line, dired-add-entry, dired-remove-entry)
3064         (dired-relist-entry):
3065         * buff-menu.el (Buffer-menu-buffer):
3066         * array.el (current-line):
3067         * allout.el (allout-resolve-xref)
3068         (allout-latex-verbatim-quote-curr-line):
3069         Replace yet more uses of end-of-line etc with line-end-position, etc.
3071 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3073         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3074         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3075         (checkdoc-syntax-table): Initialize in the declaration.
3076         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3077         the mode on unconditionally.
3079         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3080         (extent-end-position, extent-start-position): Remove setf method for
3081         non-existing functions (bug#7319).
3083 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3085         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3086         (smie-precs->prec2): Rename from smie-precs-precedence-table.
3087         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3088         (smie-prec2->grammar): Rename from smie-prec2-levels.
3089         (smie-grammar): Rename from smie-op-levels.
3090         (smie-indent--hanging-p): Rename from smie-hanging-p.
3091         (smie-rule-hanging-p): New alias.
3092         (smie-indent--bolp): Rename from smie-bolp.
3093         (smie-indent--hanging-p): New alias.
3094         (smie--token): New dynamically bound variable.
3095         (smie-indent--parent): New function.
3096         (smie-rule-parent-p): Use it; rename from smie-parent-p.
3097         (smie-rule-next-p): Rename from smie-next-p.
3098         (smie-rule-prev-p): Rename from smie-prev-p.
3099         (smie-rule-sibling-p, smie-rule-parent)
3100         (smie-indent--separator-outdent, smie-rule-separator): New functions.
3101         (smie-rule-separator-outdent): New var.
3102         (smie-indent--rule): Merge with smie-indent--column.
3103         (smie-indent-forward-token, smie-indent-backward-token):
3104         Also recognize close parens.
3105         (smie-indent-keyword): Don't use smie-indent--column any more.
3106         (smie-indent-after-keyword): Ignore closers by default.
3107         (smie-indent-line): Use with-demoted-errors.
3108         * progmodes/octave-mod.el (octave-smie-grammar):
3109         Rename from octave-smie-op-levels.
3110         (octave-smie-rules): Adjust to new behavior.
3111         * progmodes/prolog.el (prolog-smie-grammar):
3112         Rename from prolog-smie-op-levels.
3114 2010-11-07  Glenn Morris  <rgm@gnu.org>
3116         * eshell/esh-util.el (subst-char-in-string)
3117         (directory-files-and-attributes): These compatibility definitions are
3118         not needed on any version of Emacs since at least 21.4.
3120         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3121         (verilog-get-end-of-line): Remove.
3122         (verilog-within-string, verilog-re-search-forward-substr)
3123         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3124         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3125         Use point-at-bol, point-at-eol.
3126         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3127         Remove.
3128         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3129         (electric-pascal-terminate-line, pascal-set-auto-comments)
3130         (pascal-indent-paramlist, pascal-indent-declaration)
3131         (pascal-get-lineup-indent, pascal-func-completion)
3132         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3133         Use point-at-bol, point-at-eol.
3134         * progmodes/flymake.el (flymake-line-beginning-position)
3135         (flymake-line-end-position): Remove.
3136         (flymake-highlight-line): Use point-at-bol, point-at-eol.
3137         * eshell/esh-util.el (line-end-position, line-beginning-position):
3138         Remove compat definitions.
3140         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3141         Use end-of-line N.
3142         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3143         Use line-end-position.
3145         * emacs-lisp/chart.el (chart-zap-chars):
3146         * play/decipher.el (decipher-set-map):
3147         * progmodes/ada-mode.el (ada-get-current-indent)
3148         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3149         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3150         * progmodes/ada-xref.el (ada-initialize-runtime-library)
3151         (ada-get-all-references):
3152         * progmodes/cperl-mode.el (cperl-electric-paren)
3153         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3154         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3155         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3156         (cperl-word-at-point-hard):
3157         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3158         (idlwave-shell-filename-string, idlwave-shell-batch-command)
3159         (idlwave-shell-display-line):
3160         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3161         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3162         * progmodes/js.el (js--re-search-forward-inner)
3163         (js--re-search-backward-inner):
3164         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3165         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3166         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3167         * textmodes/flyspell.el (flyspell-process-localwords):
3168         * textmodes/ispell.el (ispell-buffer-local-parsing)
3169         (ispell-buffer-local-dict, ispell-buffer-local-words):
3170         Use point-at-bol and point-at-eol.
3172         * speedbar.el (speedbar-generic-item-info)
3173         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3174         (speedbar-add-indicator, speedbar-check-vc-this-line)
3175         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3176         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3177         Replace more uses of end-of-line etc with line-end-position.
3179 2010-11-06  Glenn Morris  <rgm@gnu.org>
3181         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3182         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3183         (texinfo-delete-existing-pointers, texinfo-find-pointer)
3184         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3185         (texinfo-multiple-files-update):
3186         * textmodes/table.el (table--probe-cell-left-up)
3187         (table--probe-cell-right-bottom):
3188         * textmodes/picture.el (picture-tab-search):
3189         * textmodes/page-ext.el (pages-copy-header-and-position)
3190         (pages-directory-for-addresses):
3191         * progmodes/vera-mode.el (vera-get-offset):
3192         * progmodes/simula.el (simula-calculate-indent):
3193         * progmodes/python.el (python-pdbtrack-overlay-arrow):
3194         * progmodes/prolog.el (end-of-prolog-clause):
3195         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3196         * progmodes/icon.el (indent-icon-exp):
3197         * progmodes/etags.el (tag-re-match-p):
3198         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3199         * progmodes/ebnf2ps.el (ebnf-begin-file):
3200         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3201         (dcl-save-local-variable):
3202         * play/life.el (life-setup):
3203         * play/gametree.el (gametree-looking-at-ply):
3204         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3205         * mail/sendmail.el (mail-mode-auto-fill):
3206         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3207         * emacs-lisp/edebug.el (edebug-overlay-arrow):
3208         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3209         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3210         (woman-tab-to-tab-stop, WoMan-warn-ignored):
3211         * type-break.el (type-break-file-keystroke-count):
3212         * term.el (term-replace-by-expanded-history-before-point)
3213         (term-skip-prompt, term-extract-string):
3214         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3215         (speedbar-contract-line, speedbar-toggle-line-expansion)
3216         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3217         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3218         * sort.el (sort-skip-fields):
3219         * skeleton.el (skeleton-internal-list):
3220         * simple.el (line-move-finish, line-move-to-column):
3221         * shell.el (shell-forward-command):
3222         * misc.el (copy-from-above-command):
3223         * makesum.el (double-column):
3224         * ebuff-menu.el (electric-buffer-update-highlight):
3225         * dired.el (dired-move-to-end-of-filename):
3226         * dframe.el (dframe-popup-kludge):
3227         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3228         * arc-mode.el (archive-get-lineno):
3229         Use line-end-position and line-beginning-position.
3231         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3232         (idlwave-study-twins): Prefix dynamic local `class'.
3233         (idlwave-routine-twin-compare): Update for above name change.
3235         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3236         Use boundp tests to silence compiler.  Update for changed name of
3237         bytecomp-filename variable.
3239         * emulation/viper-cmd.el (viper-read-string-with-history):
3240         Prefix dynamic local `initial'.
3241         (viper-minibuffer-standard-hook): Update for above name change.
3243         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3244         (elint-init-form): Update for above name change.
3246         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3247         local variables `cbeg' and `cend' a prefix.
3248         (mail-extr-voodoo): Update for above name change.
3250         * textmodes/reftex-toc.el (reftex-toc-do-promote)
3251         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3252         (reftex-toc-promote-action): Doc fix.
3254         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3255         `prompt', `data' a prefix.
3256         (reftex-select-post-command-hook, reftex-select-callback)
3257         (reftex-select-mouse-accept, reftex-select-read-cite):
3258         Update for above name changes.
3260         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3261         `refstyle' to reftex-refstyle.
3262         (reftex-offer-label-menu): Update for above name change.
3263         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3264         `refstyle' name change.
3266         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3267         with with-current-buffer.
3268         (diff, template): Give dynamic local variables a prefix.
3269         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3270         (emerge-line-number-in-buf): Update for above name change.
3271         (emerge-combine-versions-internal): Rename local `template' to
3272         emerge-combine-template.
3273         (emerge-combine-versions-edit): Update for above name change.
3275 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
3277         * textmodes/reftex-cite.el
3278         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3279         entries with whitespace after \bibitem.
3280         (reftex-create-bibtex-file): Match entries containing numbers and
3281         symbol constituents.  Make sure that entries with whitespace at
3282         various places are found.
3284 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
3286         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3288 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
3290         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3292 2010-11-05  Glenn Morris  <rgm@gnu.org>
3294         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3295         (woman2-roff-buffer): Give local variable `request' a prefix.
3296         (woman0-macro): Rename argument `request' in the same way.
3297         (woman-request): New name for `request' dynamic variable.
3298         (woman-unquote, woman-forward-arg): Update for above name change.
3299         (woman1-roff-buffer): Give local variable `unquote' a prefix.
3300         (woman1-unquote): New name for `unquote' dynamic variable.
3301         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3302         (woman-translations): Rename from `translations'.  No longer global.
3303         (woman2-tr, woman-translate): Update for above name change.
3304         (woman-translate): Check for bound variable.
3305         (woman2-roff-buffer): Give local variable `translations' a prefix.
3307         * play/doctor.el: Give all local variables a prefix.  Update callers.
3308         (doc$, doctor-put-meaning): Use backquote.
3310         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3311         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3313         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3314         variables bytes, ptr, op a prefix.
3315         (disassemble-offset): Update for above change.
3317 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3319         * emacs-lisp/package.el (package-unpack): Remove no-op.
3320         (package--builtins, package--dir): Doc fix.
3321         (package-activate-1, package-activate, package-install)
3322         (package-compute-transaction): Fix error message.
3323         (package-delete): Use delete-directory.  Omit system packages.
3324         (package-initialize): Set package-alist to nil first.
3325         (package-menu-mark-delete, package-menu-mark-install): Don't add
3326         symbols that are inconsistent with the package state.
3327         (package-menu-execute): Perform deletions and installations as
3328         single batch operations.
3330 2010-11-03  Glenn Morris  <rgm@gnu.org>
3332         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3333         (props): Remove unnecessary declaration.
3335         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3336         set-process-query-on-exit-flag.
3338         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3339         (reftex-toc-do-promote): Remove unused local `mpos'.
3340         (reftex-toc-restore-region): Make `mpos' local to this function.
3342         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3344         * play/landmark.el (lm-losing-threshold): Correct spelling.
3345         (lm-human-plays): Use new name.
3347         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3348         (gomoku-human-plays): Use new name.
3350         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3351         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3352         (gomoku-score-trans-table, gomoku-winning-threshold)
3353         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3355 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3357         * emacs-lisp/package.el: Don't put built-in packages in
3358         package-alist, to avoid loading inefficiencies.
3359         (package-built-in-p): Make VERSION optional, and treat it as a
3360         minimum acceptable version.
3361         (package-activate): Search separately for built-in packages.
3362         Emit a warning if a dependency fails.
3363         (define-package): Handle most common case, where there is no
3364         obsolete package, first.
3365         (package-compute-transaction): Print required version in error.
3366         (package--initialized): New variable.
3367         (list-packages): Use it.
3368         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
3369         built-in packages in packages-alist; keep it separate.
3370         Set package--initialized.
3371         (describe-package): Avoid activating packages as a side-effect.
3372         Search separately for built-in packages.
3373         (describe-package-1): Handle the case where an elpa package is
3374         simultaneously built-in and available/installed.
3375         (package-installed-p, package--generate-package-list):
3376         Search separately for built-in packages.
3377         (package-load-descriptor): Doc fix.
3379 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3381         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3382         Handle __DATA__ and __END__.
3384 2010-11-02  Noah Friedman  <friedman@splode.com>
3386         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3387         nil, do not ask to recompile files that are not already compiled,
3388         and do not recompile them.
3390 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
3392         * emacs-lisp/package.el (package-initialize): Ensure that
3393         obsoleted built-in packages are not in package-activated-list
3394         during activation.
3395         (describe-package-1): Make the "installed" status override
3396         "built-in".
3398 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3400         * subr.el (version-separator, version-regexp-alist): Remove '*'
3401         from docstring.
3402         (version-list-<=, version<=, version=): Doc fix.
3404 2010-11-01  Kenichi Handa  <handa@m17n.org>
3406         * faces.el (glyphless-char): Inherit underline for tty.
3408 2010-11-01  Kenichi Handa  <handa@m17n.org>
3410         Implement various display methods for glyphless characters.
3412         * international/characters.el (char-acronym-table): New variable.
3413         (glyphless-char-control): New variable.
3414         (update-glyphless-char-display): New funciton.
3416         * faces.el (glyphless-char): New face.
3418 2010-11-01  Glenn Morris  <rgm@gnu.org>
3420         * calendar/holidays.el (general-holidays, oriental-holidays)
3421         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3422         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3423         the definitions of their targets.
3425         * emacs-lisp/smie.el (smie): New custom group.
3426         (smie-blink-matching-inners, smie-indent-basic): Add :group.
3428         * faces.el (xw-defined-colors, x-setup-function-keys):
3429         * mouse-sel.el (x-select-text):
3430         * term/w32console.el (x-setup-function-keys): Update declarations.
3432         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3434         * textmodes/ispell.el (comment-add): Declare.
3436         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3437         Declare.
3439         * info.el (finder-keywords-hash, package-alist): Declare.
3441 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
3443         * finder.el (finder-compile-keywords): Don't use intern-soft,
3444         since package names may not yet exist in the obarray.
3446 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
3448         * vc/vc-arch.el (vc-arch-checkin):
3449         * vc/vc-cvs.el (vc-cvs-checkin):
3450         * vc/vc-mtn.el (vc-mtn-checkin):
3451         * vc/vc-rcs.el (vc-rcs-checkin):
3452         * vc/vc-sccs.el (vc-sccs-checkin):
3453         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3454         since 2010-04-21 commit by Stefan Monnier.
3456 2010-11-01  Glenn Morris  <rgm@gnu.org>
3458         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3460         * startup.el (package-enable-at-startup, package-initialize):
3461         Silence compiler.
3463         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3464         Silence compiler.
3466 2010-10-31  Julien Danjou  <julien@danjou.info>
3468         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3469         (byte-recompile-directory):
3470         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3471         Use `byte-recompile-file'.
3473 2010-10-31  Glenn Morris  <rgm@gnu.org>
3475         * cus-start.el: Handle standard values via a keyword.
3476         Only set version property if specified.
3477         (cursor-in-non-selected-windows, menu-bar-mode)
3478         (tool-bar-mode, show-trailing-whitespace):
3479         Do not specify standard values.
3480         (transient-mark-mode, temporary-file-directory): Use :standard.
3482 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
3484         * term/x-win.el (x-get-selection-value): New function that gets
3485         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3487 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
3489         * net/tramp.el (tramp-handle-insert-file-contents): For root,
3490         preserve owner and group when editing files.  (Bug#7289)
3492 2010-10-31  Glenn Morris  <rgm@gnu.org>
3494         * speedbar.el (speedbar-mode):
3495         * play/fortune.el (fortune-in-buffer, fortune):
3496         * play/gomoku.el (gomoku-mode):
3497         * play/landmark.el (lm-mode):
3498         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3499         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
3501         * select.el (x-selection): Mark it as an obsolete alias.
3503 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3505         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3506         major-mode (bug#7284).
3508 2010-10-31  Glenn Morris  <rgm@gnu.org>
3510         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3511         rather than just an unused variable that inherits from the real one.
3513 2010-10-31  Alan Mackenzie  <acm@muc.de>
3515         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3516         This fixes bug #7185.
3518 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
3520         * startup.el (command-line): Search for package directories, and
3521         don't load package.el if none are found.
3523         * emacs-lisp/package.el (describe-package, list-packages):
3524         Call package-initialize if it has not been called yet.
3526 2010-10-30  Alan Mackenzie  <acm@muc.de>
3528         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3529         which fontifies the tail of an enum.
3530         (c-basic-matchers-after): Insert a call to the above new function.
3531         This fixes bug #7264.
3533 2010-10-30  Glenn Morris  <rgm@gnu.org>
3535         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3536         tool-bar-mode, transient-mark-mode.  (Bug#7306)
3537         Include the :set property in the dumped Emacs.
3539 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3541         SMIE: change indent rules format, improve smie-setup.
3542         * emacs-lisp/smie.el (smie-precs-precedence-table)
3543         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3544         Mark them pure so the tables gets built at compile time.
3545         (smie-bnf-precedence-table): Store the closer-alist in the table.
3546         (smie-prec2-levels): Preserve the closer-alist.
3547         (smie-blink-matching-open): Be more forgiving in case of indentation.
3548         (smie-hanging-p): Rename from smie-indent--hanging-p.
3549         (smie-bolp): Rename from smie-indent--bolp.
3550         (smie--parent, smie--after): New dynamic vars.
3551         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3552         (smie-indent-rules): Remove.
3553         (smie-indent--offset-rule): Remove fun.
3554         (smie-rules-function): New var.
3555         (smie-indent--rule): New fun.
3556         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3557         (smie-indent-exps): Use it.
3558         (smie-setup): Setup paren blinking; add keyword args for token
3559         functions; extract closer-alist from op-levels.
3560         (smie-indent-debug-log): Remove var.
3561         (smie-indent-debug): Remove fun.
3562         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3563         (prolog-smie-rules): New fun to replace it.
3564         (prolog-mode-variables): Simplify.
3565         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3566         it's setup automatically.
3567         (octave-smie-indent-rules): Remove.
3568         (octave-smie-rules): New fun to replace it.
3569         (octave-mode): Simplify.
3571 2010-10-29  Glenn Morris  <rgm@gnu.org>
3573         * files.el (temporary-file-directory): Remove (already defined in C).
3574         * cus-start.el: Add temporary-file-directory.
3576         * abbrev.el (abbrev-mode):
3577         * composite.el (auto-composition-mode):
3578         * menu-bar.el (menu-bar-mode):
3579         * simple.el (transient-mark-mode):
3580         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3581         that they do not define the associated variables twice.
3582         * simple.el (transient-mark-mode): Remove defvar.
3583         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3584         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3585         Handle multiple groups, and also custom-delayed-init-variables.
3586         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3588 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3590         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3591         (pcase-if): Add one minor optimization.
3592         (pcase-split-equal): Rename from pcase-split-eq.
3593         (pcase-split-member): Rename from pcase-split-memq.
3594         (pcase-u1): Add strings to the member optimization.
3595         Add `guard' variant of predicates.
3596         (pcase-q1): Add string patterns.
3598 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3600         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3602 2010-10-28  Glenn Morris  <rgm@gnu.org>
3604         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3605         Move menu-bar related settings to ../menu-bar.el.
3606         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3607         Move ns-specific settings here from term/ns-win.el.
3609         * simple.el (x-selection-owner-p): Remove unused declaration.
3611 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3613         * minibuffer.el (completion-cycling): New var (bug#7266).
3614         (minibuffer-complete, completion--do-completion):
3615         Use completion--flush-all-sorted-completions.
3616         (minibuffer-complete): Only cycle if completion-cycling is set.
3617         (completion--flush-all-sorted-completions): Unset completion-cycling.
3618         (minibuffer-force-complete): Set completion-cycling.
3619         (completion-all-sorted-completions): Move declaration before first use.
3621 2010-10-28  Leo  <sdl.web@gmail.com>
3623         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3624         which changes the order of matches seen by users (bug#7231).
3626 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
3628         * progmodes/compile.el (compilation-mode-font-lock-keywords):
3629         Don't confuse -omega as "-o mega".
3631 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3633         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3634         (log-edit-author): New dynamic var.
3635         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3636         to return the author if different from committer.
3637         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3639         * play/landmark.el: Adjust commenting convention.
3640         (lm-nil-score): Rename from nil-score.
3641         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3642         (OOOOscore): Move into a let in lm-score-trans-table.
3643         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3645         * electric.el (electric-indent-chars): Autoload.
3646         * progmodes/octave-mod.el (octave-mode):
3647         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3648         (ruby-mode-abbrev-table): Merge initialization and declaration.
3650 2010-10-27  Glenn Morris  <rgm@gnu.org>
3652         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3653         variable.
3655         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3657         * term/ns-win.el: Restore require of cl when compiling.
3658         (menu-bar-final-items): Remove non-existent `windows' menu.
3659         (ns-handle-nxopen): Optionally handle the temp-case.
3660         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3661         (ns-insert-file, ns-find-file): Use `pop'.
3663 2010-10-26  Glenn Morris  <rgm@gnu.org>
3665         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3667 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
3669         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3670         global map.
3671         * term/common-win.el (x-setup-function-keys): Remove most of the
3672         keymappings.  Comment on the remaining ones.
3674 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
3676         * server.el (server-port): New option.  (Bug#854)
3677         (server-start): Use server-port.
3679 2010-10-26  Glenn Morris  <rgm@gnu.org>
3681         * term/ns-win.el (ns-version-string): Remove unused declaration.
3682         (ns-invocation-args): Change to x-invocation-args.
3683         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3684         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3685         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3686         Use x-invocation-args instead of ns-invocation-args.
3687         (ns-initialize-window-system, handle-args-function-alist):
3688         Use x-handle-args instead of ns-handle-args.
3689         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3690         * startup.el (command-line-ns-option-alist): Replace
3691         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3692         ns-handle-iconic with the x- equivalents.
3694         * term/common-win.el (x-select-enable-clipboard):
3695         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3697         * term/ns-win.el: No need to require cl when compiling.
3698         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3699         (xw-defined-colors): Use the common-win definitions.
3700         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3701         (ns-handle-iconic): Make it an alias for x-handle-iconic.
3702         * term/common-win.el (x-select-text, x-alternatives-map)
3703         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3704         * loadup.el [ns]: Load common-win.
3706 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
3708         * epa-mail.el (epa-mail-encrypt): Handle local-part only
3709         recipients; expand mail aliases (Bug#7280).
3711 2010-10-25  Glenn Morris  <rgm@gnu.org>
3713         * term/common-win.el (x-handle-switch): Simplify with pop.
3714         Optionally handle numeric switches.
3715         (x-handle-numeric-switch): Just call x-handle-switch.
3716         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3717         (x-handle-name-switch, x-handle-display, x-handle-args):
3718         Simplify with pop.
3720         * term/ns-win.el: Do not require easymenu.
3721         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3722         <spell>: Move adjustments to menu-bar.el.
3723         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3724         <separator-undo, spell>: Move ns-win's adjustments here.
3725         * loadup.el [ns]: Do not load easymenu.
3727 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3729         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3730         Delete (Bug#7222).
3732         * startup.el (fancy-startup-tail): Instead of using inline images,
3733         refer to image files from etc/.
3735         * wid-edit.el (checkbox): Likewise.
3736         (widget-image-find): Center image specs.
3738 2010-10-24  Glenn Morris  <rgm@gnu.org>
3740         * term/ns-win.el (x-select-text): Doc fix.
3741         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3742         (x-select-text): Move to term/common-win.
3743         * term/w32-win.el (xw-defined-colors): Move to common-win.
3744         * term/x-win.el (xw-defined-colors, x-alternatives-map)
3745         (x-setup-function-keys, x-select-text): Move to common-win.
3746         * term/common-win.el (x-select-text, x-alternatives-map)
3747         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3748         definitions here.
3750 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
3752         * net/mairix.el (mairix-searches-mode-map):
3753         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3755 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
3757         * verilog-mode.el (verilog-directive-re): Make this variable
3758         auto-built for efficiency of execution and updating.
3759         (verilog-extended-complete-re): Support 'pure' fucntion & task
3760         declarations (these have no bodies).
3761         (verilog-beg-of-statement): General cleanup to enable support of
3762         'pure' fucntion & task declarations (these have no bodies).
3763         These efforts together fix Verilog bug210 from veripool; which was also
3764         noticed by Steve Pearlmutter.
3765         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3766         (verilog-directive-nest-re, verilog-set-auto-endcomments):
3767         Support `elsif.  Reported by Shankar Giri.
3768         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3769         attribute handling for lining up declarations and assignments.
3770         (verilog-beg-of-statement-1): Fix issue where continued declaration
3771         is indented differently if it is after a begin..end clock.
3772         (verilog-in-attribute-p, verilog-skip-backward-comments)
3773         (verilog-skip-forward-comment-p): Support proper treatment of
3774         attributes by indent code. Reported by Jeff Steele.
3775         (verilog-in-directive-p): Fix comment to correctly describe function.
3776         (verilog-backward-up-list, verilog-in-struct-region-p)
3777         (verilog-backward-token, verilog-in-struct-p)
3778         (verilog-in-coverage-p, verilog-do-indent)
3779         (verilog-pretty-declarations): Use verilog-backward-up-list as
3780         wrapper around backward-up-list inorder to properly skip comments.
3781         Reported by David Rogoff.
3782         (verilog-property-re, verilog-endcomment-reason-re)
3783         (verilog-beg-of-statement, verilog-set-auto-endcomments)
3784         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3785         of if). Reported by Max Bjurling and
3786         (verilog-calc-1): Fix for clocking block in modport
3787         declaration. Reported by Brian Hunter.
3789 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
3791         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3792         (verilog-gate-keywords, verilog-read-sub-decls)
3793         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3794         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3795         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
3796         (verilog-read-decls): Fix spaces in V2K module parameters causing
3797         mis-identification as interfaces, bug287.
3798         (verilog-read-decls): Fix not treating "parameter string" as a
3799         parameter in AUTOINSTPARAM.
3800         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3801         treating `elsif similar to `endif inside AUTOSENSE.
3802         (verilog-do-indent): Implement correct automatic or static task or
3803         function end comment highlight. Reported by Steve Pearlmutter.
3804         (verilog-font-lock-keywords-2): Fix highlighting of single
3805         character pins, bug264.  Reported by Michael Laajanen.
3806         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3807         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3808         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3809         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
3810         (verilog-pretty-expr): Fix interactive arguments, bug272.
3811         Reported by Mark Johnson.
3812         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3813         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3814         bug269. Suggested by Gary Delp.
3815         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3816         (verilog-preprocessor, verilog-set-compile-command):
3817         Create verilog-preprocess and verilog-preprocessor to show
3818         preprocessed output.
3819         (verilog-get-beg-of-line, verilog-get-end-of-line)
3820         (verilog-modi-file-or-buffer, verilog-modi-name)
3821         (verilog-modi-point, verilog-within-string): Move defmacro's
3822         before first use to avoid warning. Reported by Steve Pearlmutter.
3823         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3824         (verilog-colorize-region, verilog-highlight-buffer)
3825         (verilog-highlight-includes, verilog-highlight-modules)
3826         (verilog-highlight-region, verilog-mode): Rename colorize to
3827         highlight to match other packages.  Disable module highlighting,
3828         as received speed complaints, reenable for experimentation only
3829         using new verilog-highlight-modules.
3830         (verilog-read-decls): Fix regexp stack overflow in very large
3831         AUTO_TEMPLATEs, bug250.
3832         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3833         (verilog-scan): Create verilog-save-buffer-state to standardize
3834         making insignificant changes that shouldn't call hooks.
3835         (verilog-save-no-change-functions, verilog-save-scan-cache)
3836         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3837         Create verilog-save-no-change-functions to wrap verilog-scan
3838         preservation, and fix to work with nested preserved calls.
3839         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3840         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3841         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
3842         (verilog-submit-bug-report): Update variable list to be complete.
3843         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3844         breaking on-the-fly font-locking.
3845         (verilog-colorize-buffer, verilog-colorize-include-files)
3846         (verilog-colorize-include-files-buffer, verilog-colorize-region)
3847         (verilog-load-file-at-mouse, verilog-load-file-at-point)
3848         (verilog-mode, verilog-read-inst-module-matcher): With point on a
3849         AUTOINST cell instance name, middle mouse button now finds-file on
3850         it.  Suggested by Brad Dobbie.
3851         (verilog-alw-get-temps, verilog-auto-reset)
3852         (verilog-auto-sense-sigs, verilog-read-always-signals)
3853         (verilog-read-always-signals-recurse): Fix loop indexes being
3854         AUTORESET. AUTORESET now assumes any variables in the
3855         initialization section of a for() should be ignored.
3856         Reported by Dan Dever.
3857         (verilog-error-font-lock-keywords)
3858         (verilog-error-regexp-emacs-alist)
3859         (verilog-error-regexp-xemacs-alist): Fix error detection of
3860         Cadence HAL, reported by David Asher.  Repair drift between the
3861         three similar error variables.
3862         (verilog-modi-lookup, verilog-modi-lookup-cache)
3863         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3864         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3865         Fix slow verilog-auto expansion on very large files.
3866         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3867         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3868         "{1*2{...".  Broke in last revision.
3869         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3870         submodule connections with replications "{#{a},#{b}}".
3872 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
3874         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3875         Fix typo in docstring.
3877 2010-10-24  Kenichi Handa  <handa@m17n.org>
3879         * face-remap.el (text-scale-adjust): Call read-event with a proper
3880         prompt.
3882 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3884         * emacs-lisp/unsafep.el: Don't mark functions that display
3885         messages as safe.  Suggested by Johan Bockgård.
3887 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3889         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3890         Turn comments into docstrings.
3892         * minibuffer.el (completion--replace): Move point where it belongs
3893         when there's a common suffix (bug#7215).
3895 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3897         Merge read-color and facemenu-read-color (Bug#7242).
3899         * faces.el (read-color): Use the completion code from
3900         facemenu-read-color.  Require match in completion.  Doc fix.
3902         * facemenu.el (facemenu-read-color): Alias for read-color.
3903         (facemenu-set-foreground, facemenu-set-background):
3904         Use read-color.
3906         * frame.el (set-background-color, set-foreground-color)
3907         (set-cursor-color, set-mouse-color, set-border-color):
3908         Use read-color.
3910 2010-10-24  Leo  <sdl.web@gmail.com>
3912         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3913         argument of delete-file and delete-directory (Bug#7011).
3915 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3917         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3918         button-buffer-map.
3920 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
3922         * emacs-lisp/package.el (package--generate-package-list): Make the
3923         *Packages* buffer read-only.
3925 2010-10-24  Alan Mackenzie  <acm@muc.de>
3927         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3928         result of `c-beginning-of-decl-1' between invocations of a lambda
3929         function (Bug #7265).
3931 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
3933         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3934         executable is not available on the system (Bug#7268).
3936 2010-10-24  Glenn Morris  <rgm@gnu.org>
3938         * select.el (selection-coding-system, next-selection-coding-system):
3939         Sync doc with C versions.
3941         * w32-vars.el (x-select-enable-clipboard):
3942         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3943         * term/common-win.el (x-select-enable-clipboard): Move here.
3945         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3946         definition of C variable.
3948         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3949         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3950         Don't redefine things that are defined in C.
3951         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3952         (show-trailing-whitespace, auto-hscroll-mode)
3953         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3954         Set up the appropriate custom properties.
3956 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3958         Bind "C-c ]" to ...
3959         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3960         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3961         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3962         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3964 2010-10-23  Glenn Morris  <rgm@gnu.org>
3966         * textmodes/flyspell.el (flyspell-mode): If there was an error,
3967         say what it was.
3969         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3970         Sync docs with C version.
3972         * term/ns-win.el (xw-defined-colors):
3973         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3975         * term/pc-win.el (x-select-enable-clipboard):
3976         * term/x-win.el (x-select-enable-clipboard):
3977         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3979         * comint.el (comint-password-prompt-regexp): Make it less vague.
3980         Bump version.
3982         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3984         * help.el (finder-by-keyword): Remove unnecessary autoload.
3986 2010-10-22  Glenn Morris  <rgm@gnu.org>
3988         * loadup.el: Unconditionally load float-sup.
3989         * paren.el (show-paren-delay):
3990         * emacs-lisp/float-sup.el:
3991         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3992         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3993         (lazy-lock-stealth-verbose): Assume float support.
3994         * ps-print.el: Assume float support on Emacs.
3995         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3996         Remove non-float branch.
3998         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3999         src/Makefile no longer being pre-processed.
4001 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4003         * emacs-lisp/find-func.el (find-library): Use test-completion.
4005 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4007         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4009 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
4011         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4012         space in stat format string.
4013         (tramp-send-command): Unset $PS1 when using here documents, in
4014         order not to get several prompts.
4015         (tramp-get-inline-coding): Return `nil' in case of errors.
4017 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
4019         * hexl.el (hexl-mode, hexl-mode-exit):
4020         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4021         (hexl-revert-buffer-function): New function.
4022         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4024 2010-10-19  Alan Mackenzie  <acm@muc.de>
4026         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4027         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4028         that these keywords aren't wrongly matched as identifiers.
4030         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4031         setting of c-new-BEG and c-new-END from c-before-change to
4032         c-after-change.  (Bug#7181)
4034 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4036         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4037         Don't mark as safe.
4039         * custom.el (custom-theme-set-variables): Likewise.
4040         (load-theme): Add custom-theme-set-faces and
4041         custom-theme-set-variables to safe-functions while loading.
4042         (custom-enabled-themes): Mark as risky.
4044 2010-10-18  Julien Danjou  <julien@danjou.info>
4046         * bindings.el: Remove end dashes in default mode-line-format.
4048 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4050         * bindings.el (global-map): Bind C-d to delete-char and deletechar
4051         to delete-forward-char.
4053         * simple.el (normal-erase-is-backspace-mode): Remap delete to
4054         deletechar, and hence delete-forward-char.
4056 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4058         * repeat.el (repeat): Use read-key (bug#6256).
4060 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4062         * emacs-lisp/unsafep.el: Don't mark functions that display
4063         messages as safe.  Suggested by Johan Bockgård.
4065 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4067         * minibuffer.el (completion--replace): Move point where it belongs
4068         when there's a common suffix (bug#7215).
4070 2010-10-19  Kenichi Handa  <handa@m17n.org>
4072         * international/characters.el: Add category '|' (word breakable)
4073         to fullwidth characters.
4075 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
4077         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4078         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4079         order to make stat results a float.  Patch by Andreas Schwab
4080         <schwab@linux-m68k.org>.
4082 2010-10-18  Julien Danjou  <julien@danjou.info>
4084         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4085         hidden by `make-pointer-invisible'.
4087 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4089         * files.el (locate-file-completion-table): Strip non-matching elements
4090         before checking length of list (bug#7238).
4092 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
4094         * custom.el (custom-theme-set-variables): Mark as a safe function.
4095         (load-theme): Check forms using unsafep.
4097         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4099 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
4101         * textmodes/ispell.el (ispell-aspell-find-dictionary):
4102         Fix aspell data file searching (bug#7230).
4104 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4106         * cus-theme.el (custom-theme--migrate-settings): New var.
4107         (customize-create-theme): Allow editing the `user' theme.
4108         (custom-theme-add-variable, custom-theme-add-var-1)
4109         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4110         to the front of each variable or face widget.
4111         (custom-theme-write): Save theme settings in the correct order.
4112         Optionally, remove saved settings from user customizations.
4113         (custom-theme-write-variables, custom-theme-write-faces):
4114         Save only the checked widgets.
4115         (customize-themes): Add a link for migrating custom settings.
4117         * custom.el (custom-declare-theme, provide-theme):
4118         Use custom-theme-name-valid-p.
4119         (custom-theme-name-valid-p): Remove checks that are now
4120         unnecessary since themes no longer obey load-path.
4122         * cus-edit.el (custom-variable-value-create): For the simple
4123         style, hide documentation string when hidden.
4125 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4127         * cus-edit.el (custom-variable, custom-face): Combine the
4128         :inhibit-magic and :display-style properties into a single
4129         :custom-style property.
4130         (custom-toggle-hide-variable, custom-toggle-hide-face):
4131         New functions.  If hiding an edited value, save it to :shown-value.
4132         (custom-variable-value-create, custom-face-value-create): Use them.
4133         (custom-magic-reset): Allow magic property to be unset.
4135         * custom.el: Custom themes no longer use load-path.
4136         (custom-theme-load-path): New option.  Change built-in theme
4137         directory to etc/.
4138         (custom-enabled-themes): Add custom-theme-load-path dependency.
4139         (custom-theme--load-path): New function.
4140         (load-theme, custom-available-themes): Use it.
4142         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4143         (customize-themes): Link to custom-theme-load-path variable.
4144         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4145         :custom-style property.
4147         * themes/*.el: Moved to etc/.
4149 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
4151         * textmodes/reftex-cite.el
4152         (reftex-extract-bib-entries-from-thebibliography): Do not move
4153         point when searching for \bibitem entries.  Match entries with
4154         spaces or tabs in front of arguments.
4156 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4158         * cus-theme.el (customize-create-theme): Delete overlays after
4159         erasing.  If given a THEME arg, display only the faces of that arg
4160         instead of custom-theme--listed-faces.
4161         (custom-theme-variable-menu, custom-theme-variable-action)
4162         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4163         (custom-theme-add-variable, custom-theme-add-face): Apply value
4164         from the theme settings, instead of the current value.
4165         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4166         (custom-theme-visit-theme): Allow calling outside theme buffers.
4167         (custom-theme-merge-theme): Don't enable the theme when merging.
4168         (custom-theme-write-variables, custom-theme-write-faces): Use the
4169         :shown-value properties to save buffer values, not global ones.
4170         (customize-themes): Display a warning about user customizations.
4172         * cus-edit.el (custom-variable-value-create)
4173         (custom-face-value-create): Obey new special properties
4174         :shown-value and :inhibit-magic.
4176 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
4178         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4179         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
4180         <dale@codefu.org>.
4182 2010-10-14  Kenichi Handa  <handa@m17n.org>
4184         * mail/rmail.el (rmail-show-message-1): Catch an error of
4185         base64-decode-region and just show an error message (bug#7165).
4187         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
4188         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4189         a font-spec (bug#7197).
4191 2010-10-14  Glenn Morris  <rgm@gnu.org>
4193         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4195 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
4197         * international/mule.el (define-coding-system):
4198         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4199         * composite.el (compose-region): Fix typo in docstring.
4201 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
4203         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4204         only after checking the theme-face property.
4206         * faces.el (face-spec-reset-face): Reset all attributes in one
4207         single call to set-face-attribute.
4208         (face-spec-match-p): Make it a defsubst.
4209         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4210         (x-create-frame-with-faces, tty-create-frame-with-faces)
4211         (tty-set-up-initial-frame-faces): Don't recompute face specs in
4212         frame-set-background-mode, since they are recomputed immediately
4213         afterwards in face-set-after-frame-default.
4214         (face-set-after-frame-default): Minor optimization.
4215         (cursor): Provide non-trivial defface spec.
4217         * custom.el (custom-theme-recalc-face): Simplify.
4219 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
4221         * calc/calc-alg.el (math-var): Rename from `var'.
4222         (math-is-polynomial, math-is-poly-rec): Replace `var'
4223         with `math-var'.
4225         * calc/calcalg2.el (math-var): Rename from `var'.
4226         (calcFunc-table, math-scan-for-limits): Replace `var'
4227         with `math-var'.
4229 2010-10-13  Glenn Morris  <rgm@gnu.org>
4231         * subr.el (last): Deal with dotted lists (reported in bug#7174).
4233 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
4235         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4237 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4239         * net/tls.el (tls-program): Remove spurious %s from openssl.
4240         (tls-starttls-switches): Remove starttls hack.
4241         (open-tls-stream): Ditto.
4242         (tls-find-starttls-argument): Ditto.
4244 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
4246         * image.el (image-library-alist): Declare as obsolete alias.
4247         (image-type-available-p): Use `dynamic-library-alist'.
4249         * term/w32-win.el (dynamic-library-alist):
4250         Use instead of `image-library-alist'.
4252 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
4254         * subr.el (last): Make it faster.  (Bug#7174)
4256 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
4258         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
4260 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4262         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4263         (describe-theme-1): Extract doc from unloaded themes.
4265         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4267         * themes/tango-theme.el:
4268         * themes/tango-dark-theme.el:
4269         * themes/wheatgrass-theme.el: New files.
4271 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4273         * cus-theme.el (describe-theme, customize-themes)
4274         (custom-theme-save): New commands.
4275         (custom-new-theme-mode-map): Bind C-x C-s.
4276         (custom-new-theme-mode): Use custom--initialize-widget-variables.
4277         (customize-create-theme): New optional arg THEME.
4278         (custom-theme-revert): Use it.
4279         (custom-theme-visit-theme): Remove dead code.
4280         (custom-theme-merge-theme): Use custom-available-themes.
4281         (custom-theme-write): Make interactive.
4282         (custom-theme-write): Use custom-theme-name-valid-p.
4283         (describe-theme-1, custom-theme-choose-revert)
4284         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4285         New funs.
4286         (custom-theme-allow-multiple-selections): New option.
4287         (custom-theme-choose-mode): New major mode.
4289         * custom.el (custom-theme-set-variables): Remove dead code.
4290         Obey custom--inhibit-theme-enable.
4291         (custom--inhibit-theme-enable): New var.
4292         (provide-theme): Obey it.
4293         (load-theme): Replace load with manual read/eval, in order to
4294         check for correctness.  Use custom-theme-name-valid-p.
4295         (custom-theme-name-valid-p): New function.
4296         (custom-available-themes): Use it.
4298         * cus-edit.el (custom--initialize-widget-variables): New function.
4299         (Custom-mode): Use it.
4301         * cus-face.el (custom-theme-set-faces): Remove dead code.
4302         Obey custom--inhibit-theme-enable.
4304         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4306 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
4308         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4310 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
4312         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4313         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4314         (mac-right-option-modifier): New alias for ns-right-option-modifier.
4316         * cus-start.el (all): ns-right-alternate-modifier is new.
4318 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4320         * emacs-lisp/lisp.el (lisp-completion-at-point):
4321         Use emacs-lisp-mode-syntax-table for the whole function.
4323 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
4325         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4326         instead of font-lock-mode before adding keywords.
4327         Remove hi-lock-mode off code.  Remove inhibit hack.
4328         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4329         non-nil; removed hook inhibit hack.
4331 2010-10-12  Glenn Morris  <rgm@gnu.org>
4333         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4334         (load-path-shadows-find): ... to this.
4335         (list-load-path-shadows): Update for above change.
4337         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4339 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
4341         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4342         Fix comment for declare-function.
4344 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
4346         * custom.el (custom-fix-face-spec): New function; code moved from
4347         custom-face-edit-fix-value.
4348         (custom-push-theme): Use it when checking if a face has been
4349         changed outside customize.
4350         (custom-available-themes): New function.
4351         (load-theme): Use it.
4353         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4355         * custom.el (custom-push-theme): Cleanup (use cond).
4356         (disable-theme): Recompute the saved-face property.
4357         (custom-theme-recalc-face): Follow face alias before setting prop.
4359         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4360         New variables, containing checkbox images.
4362         * startup.el (fancy-startup-tail):
4363         * wid-edit.el (checkbox): Use them.
4365 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
4367         * shell.el (shell-mode-map):
4368         * progmodes/modula2.el (m2-mode-map):
4369         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4370         * play/mpuz.el (mpuz-mode-map):
4371         * play/landmark.el (lm-mode-map):
4372         * play/decipher.el (decipher-mode-map):
4373         * play/5x5.el (5x5-mode-map):
4374         * net/telnet.el (telnet-mode-map):
4375         * net/quickurl.el (quickurl-list-mode-map):
4376         * net/mairix.el (mairix-searches-mode-map):
4377         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4378         * net/dig.el (dig-mode-map):
4379         * mail/mspools.el (mspools-mode-map):
4380         * hexl.el (hexl-mode-map):
4381         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4382         (wordstar-C-o-map, wordstar-C-q-map):
4383         * emacs-lisp/edebug.el (edebug-eval-mode-map):
4384         * emacs-lisp/chart.el (chart-map):
4385         * edmacro.el (edmacro-mode-map):
4386         * erc/erc-list.el (erc-list-menu-mode-map):
4387         * array.el (array-mode-map): Declare and define in one step.
4389         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4391 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
4393         * epa.el (epa-passphrase-callback-function): Display filename
4394         passed as the 3rd arg.
4395         * epa-file.el (epa-file-passphrase-callback-function):
4396         Pass filename to epa-passphrase-callback-function.
4398 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
4400         * cus-edit.el (custom-face-widget-to-spec)
4401         (custom-face-get-current-spec, custom-face-state): New functions.
4402         (custom-face-set, custom-face-mark-to-save)
4403         (custom-face-value-create, custom-face-state-set): Use them.
4405         * cus-theme.el (custom-theme--listed-faces): New var.
4406         (customize-create-theme): Use *Custom Theme* as the buffer name.
4407         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
4408         faces listed in custom-theme--listed-faces.
4409         (custom-theme-revert): New function.
4410         (custom-theme-add-variable, custom-theme-add-face): Insert at the
4411         bottom of the list.
4412         (custom-theme-write): Prompt for theme name if empty.
4413         (custom-theme-write-variables): Use dolist.
4414         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4416 2010-10-09  Alan Mackenzie  <acm@muc.de>
4418         Enhance fontification of declarators to take account of the
4419         presence/absence of "typedef".
4421         * cc-engine.el (c-forward-type): New &optional param
4422         "brace-block-too".
4423         (c-forward-decl-or-cast-1): cdr of return value now indicates the
4424         presence of either or both of a "struct"-like keyword and "typedef".
4426         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4427         fontification of declarators which follow a "}".
4428         (c-font-lock-declarations): Fontify declarators according to the
4429         presence/absence of "typedef".
4431         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4432         for "typedef".
4433         (c-typedef-decl-key): New lang variable built from
4434         c-typedef-decl-kwds.
4436 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4438         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4439         since that's too annoying.  Move the filter groups commands to
4440         TAB/backtab.
4442         * epa.el (epa-passphrase-callback-function): Say what we're
4443         querying the password for.
4445         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4446         behaviour, don't bury the ibuffer buffer when visiting other buffers.
4448 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
4450         * cus-edit.el (custom-commands, custom-buffer-create-internal)
4451         (custom-magic-value-create): Pad button tags with spaces.
4452         (custom-face-edit): New variable.
4453         (custom-face-value-create): Determine whether to use the usual
4454         face editor here, instead of using custom-face-selected.
4455         Pass face defaults to custom-face-edit widget.
4456         (custom-face-selected, custom-display-unselected): Delete widgets.
4457         (custom-display-unselected-match): Function removed.
4458         (custom-face-set, custom-face-mark-to-save):
4459         Accept custom-face-edit widgets as the direct widget child.
4461         * wid-edit.el (widget--completing-widget): New var.
4462         (widget-default-complete): Bind it when doing completion.
4463         (widget-string-complete, widget-file-complete): Use it.
4465 2010-10-09  Glenn Morris  <rgm@gnu.org>
4467         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4468         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4469         (holiday-hebrew-misc): Small simplifications.
4471         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4473         * net/browse-url.el: Don't require thingatpt, term, dired,
4474         executable, or w3-auto when compiling.
4475         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4476         Declare.
4477         (browse-url-text-emacs): Require term.
4479 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4481         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4483 2010-10-08  Glenn Morris  <rgm@gnu.org>
4485         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4487         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4488         (shadows-compare-text-p): Make it an obsolete alias for...
4489         (load-path-shadows-compare-text): ... new name.
4490         (find-emacs-lisp-shadows): Update for above name change.
4491         (load-path-shadows-same-file-or-nonexistent): New name for the old
4492         shadow-same-file-or-nonexistent.
4494 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
4496         * minibuffer.el (completion--some, completion--do-completion)
4497         (minibuffer-complete-and-exit, minibuffer-completion-help)
4498         (completion-basic-try-completion)
4499         (completion-basic-all-completions)
4500         (completion-pcm--find-all-completions): Use lexical-let to
4501         avoid some false matches in variable completion (Bug#7056)
4503 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
4505         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
4507 2010-10-08  Leo  <sdl.web@gmail.com>
4509         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4510         return non-nil if the file exists (Bug#7090).
4512 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4514         * minibuffer.el (completion--replace):
4515         Better preserve markers (bug#7138).
4517 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
4519         * server.el (server-process-filter): Doc fix.
4521 2010-10-08  Drew Adams  <drew.adams@oracle.com>
4523         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
4525 2010-10-08  Glenn Morris  <rgm@gnu.org>
4527         * vc/ediff-wind.el (ediff-setup-control-frame):
4528         * vc/ediff-ptch.el (ediff-default-backup-extension):
4529         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4530         (ediff-exec-process): Remove system-types emx, windows-95.
4532         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
4534 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
4536         * cus-edit.el (custom-variable, custom-face): Doc fix.
4537         (custom-face-edit): Add value-create attribute.
4538         (custom-face-edit-value-create)
4539         (custom-face-edit-value-visibility-action): New functions.
4540         Hide unused face attributes by default, and add a visibility toggle.
4541         (custom-face-edit-deactivate): Show empty values with shadow face.
4542         (custom-face-selected): Only use this for face specs with default
4543         attributes.
4544         (custom-face-value-create): Cleanup.
4546         * wid-edit.el (widget-checklist-value-create): Use dolist.
4547         (widget-checklist-match-find): Make second arg optional.
4549 2010-10-07  Glenn Morris  <rgm@gnu.org>
4551         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4552         Prefix things.
4554         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4555         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4556         load-path-shadows-mode, update references.
4557         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4558         Rename variable and button.
4559         (list-load-path-shadows): Update button caller.
4561 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4563         * emacs-lisp/smie.el (smie-bnf-classify): New function.
4564         (smie-bnf-precedence-table): Use it to remember the closers/openers.
4565         (smie-merge-prec2s): Handle those new entries.
4566         (smie-prec2-levels): Only set precedence to nil for actual
4567         openers/closers.
4568         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4569         that is now unnecessary.
4571 2010-10-07  Miles Bader  <miles@gnu.org>
4573         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4575 2010-10-07  Glenn Morris  <rgm@gnu.org>
4577         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4578         (mail-position-on-field): Remove declarations.
4579         (mail-position-on-field): Autoload it.
4580         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4581         and mail-header-end.  Don't require sendmail.
4583         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4584         (shadow-mode): New mode.
4585         (shadow-find-file): New button.
4586         (list-load-path-shadows): Use shadow-mode and buttons.
4588         * iimage.el (iimage-version): Remove.
4589         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4590         Turn into defcustoms.
4591         (iimage-mode-map): Give it a doc string.
4593         * calendar/appt.el (appt-activate): Give a warning rather than an error
4594         if there is no diary-file.
4596 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
4598         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4599         Use `tramp-handle-find-backup-file-name'.
4601 2010-10-06  Glenn Morris  <rgm@gnu.org>
4603         * font-core.el (font-lock-defaults-alist): Remove variable.
4604         (font-lock-mode): Doc fix.
4605         (font-lock-default-function): Do not consult font-lock-defaults-alist.
4606         * font-lock.el (font-lock-refresh-defaults): Doc fix.
4607         (font-lock-set-defaults): Doc fix.
4608         Do not consult font-lock-defaults-alist.
4610         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4612         * emacs-lisp/cl.el: No longer provide cl-19.
4614 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
4616         * net/tramp.el (tramp-handle-directory-files-and-attributes)
4617         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4618         New defuns, taken from tramp-smb.el.
4619         (tramp-coding-system-change-eol-conversion)
4620         (tramp-set-process-query-on-exit-flag): Remove.
4622         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4623         (tramp-compat-coding-system-change-eol-conversion)
4624         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4625         from tramp.el.
4627         * net/tramp-gvfs.el:
4628         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4629         by `tramp-compat-set-process-query-on-exit-flag'.
4631         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4632         Use `tramp-handle-directory-files-and-attributes',
4633         `tramp-handle-file-exists-p' and
4634         `tramp-handle-file-newer-than-file-p'.
4635         (tramp-imap-handle-file-exists-p)
4636         (tramp-imap-handle-file-executable-p)
4637         (tramp-imap-handle-file-readable-p)
4638         (tramp-imap-handle-directory-files-and-attributes)
4639         (tramp-imap-handle-file-newer-than-file-p): Remove.
4641         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4642         by `tramp-compat-set-process-query-on-exit-flag' and
4643         `tramp-coding-system-change-eol-conversion' by
4644         `tramp-compat-coding-system-change-eol-conversion'.
4646         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4647         Use `tramp-handle-directory-files-and-attributes',
4648         `tramp-handle-file-exists-p' and
4649         `tramp-handle-file-newer-than-file-p'.
4650         (tramp-smb-handle-directory-files-and-attributes)
4651         (tramp-smb-handle-file-exists-p)
4652         (tramp-smb-handle-file-newer-than-file-p): Remove.
4653         (tramp-smb-maybe-open-connection):
4654         Replace `tramp-set-process-query-on-exit-flag' by
4655         `tramp-compat-set-process-query-on-exit-flag'.
4657 2010-10-05  Glenn Morris  <rgm@gnu.org>
4659         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4661 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
4663         Continue reorganization of load dependencies.  (Bug#7156)
4665         * net/tramp.el (tramp-handle-file-local-copy-hook)
4666         (tramp-delete-temp-file-function): Move down.
4667         (tramp-exists-file-name-handler): Move up.
4668         (tramp-register-file-name-handlers): Simplify autoload.
4669         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4670         (tramp-handle-directory-files, tramp-handle-dired-uncache)
4671         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4672         (tramp-handle-file-name-completion)
4673         (tramp-handle-file-name-directory)
4674         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4675         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4676         (tramp-handle-find-backup-file-name)
4677         (tramp-handle-insert-file-contents, tramp-handle-load)
4678         (tramp-handle-substitute-in-file-name)
4679         (tramp-handle-unhandled-file-name-directory)
4680         (tramp-mode-string-to-int, tramp-local-host-p)
4681         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4683         * net/tramp-gvfs.el (top):
4684         * net/tramp-smb.el (top): Do not require 'tramp-sh.
4686         * net/tramp-sh.el (all): Move several objects to tramp.el, see
4687         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4689 2010-10-04  Glenn Morris  <rgm@gnu.org>
4691         * calendar/appt.el (appt-add): Ensure reminders are enabled.
4692         (appt-activate): Give status messages.
4694 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4696         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
4697         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4698         `gnutls-negotiate' (formerly `starttls-negotiate').
4699         Remove trivial wrapper `starttls-open-stream'.
4701 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
4703         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4704         log-outgoing commands.
4705         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4706         to create a buffer local revert-buffer-function variable.
4707         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4708         revert-buffer-function lambda.
4710 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4712         * net/gnutls.el (starttls-negotiate): Use the plist interface to
4713         `gnutls-boot'.  Make TYPE the only required parameter.
4714         Allow TRUSTFILES and KEYFILES to be lists.
4715         (open-ssl-stream): Use it.
4717 2010-10-03  Glenn Morris  <rgm@gnu.org>
4719         * subr.el (directory-sep-char): Remove obsolete variable.
4720         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4721         it is "necessary".
4723         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4724         * vc/vc.el (vc-static-header-alist): Doc fix.
4725         * vc/vc-cvs.el (vc-cvs-header):
4726         * vc/vc-rcs.el (vc-rcs-header):
4727         * vc/vc-sccs.el (vc-sccs-header):
4728         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4729         * obsolete/vc-mcvs.el (vc-mcvs-header):
4730         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4731         on XEmacs.
4733 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4735         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4736         Remove obsolete use of binary-overwrite-mode (Bug#7001).
4738 2010-10-03  Glenn Morris  <rgm@gnu.org>
4740         * obsolete/x-menu.el: Remove file, obsolete since 21.1
4742         * textmodes/rst.el (rst-font-lock-keywords-function):
4743         Drop Emacs 20 code.
4745         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4747         * printing.el: Drop Emacs 20 code.
4749         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4750         without having used appt.el already).
4752         * subr.el (make-local-hook): Remove function obsolete since 21.1.
4753         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4754         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4755         XEmacs.
4756         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4757         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4759         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4760         (charset-width, find-charset-region, chars-in-region, forward-point)
4761         (encode-coding-string, coding-system-p, ccl-execute-on-string)
4762         (define-ccl-program, multibyte-string-p, string-make-multibyte):
4763         Remove compatibility cruft (none of these are used by ps*.el).
4765 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4767         * subr.el (booleanp): Return t instead of a list (Bug#7086).
4769 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4771         * server.el (server-process-filter, server-return-error):
4772         Give emacsclient time to shut down after receiving an error string.
4774 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
4776         * files.el (remote-file-name-inhibit-cache): New defcustom.
4778         * time.el (display-time-file-nonempty-p):
4779         Use `remote-file-name-inhibit-cache'.
4781         * net/tramp.el (tramp-completion-reread-directory-timeout):
4782         Fix docstring.
4784         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4785         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4786         `remote-file-name-inhibit-cache'.  Check also for an integer
4787         value.  Add/increase counter when `tramp-verbose' >= 10.
4788         (tramp-set-file-property): Add/increase counter when
4789         `tramp-verbose' >= 10.
4791         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4792         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4793         (tramp-bug): Set tramp-autoload cookie.  Report all interned
4794         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
4795         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
4796         characters only in strings.
4798         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4799         to backward compatibility.
4801         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4802         (tramp-handle-file-name-all-completions)
4803         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4804         (tramp-open-connection-setup-interactive-shell):
4805         Call `tramp-cleanup-connection' directly.
4807 2010-10-02  Glenn Morris  <rgm@gnu.org>
4809         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4811         * subr.el (char-bytes): Remove obsolete function.
4813         * isearch.el (isearch-return-char): Remove obsolete function.
4815         * mouse.el: No longer provide mldrag.
4816         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4817         Remove obsolete aliases.
4819         * comint.el (comint-kill-output): Remove obsolete alias.
4821         * composite.el (decompose-composite-char): Remove obsolete function.
4822         * ps-def.el (decompose-composite-char): Remove unused function.
4824         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4826         * outline.el (outline-visible): Remove obsolete function.
4828         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4829         * faces.el (internal-find-face, internal-get-face)
4830         (frame-update-faces, frame-update-face-colors)
4831         (x-frob-font-weight, x-frob-font-slant)
4832         (internal-frob-font-weight, internal-frob-font-slant)
4833         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4834         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4835         (x-make-font-bold-italic): Remove functions and aliases, obsolete
4836         since Emacs 21.1.
4837         * emulation/viper-util.el (viper-get-face):
4838         * obsolete/lucid.el (find-face, get-face): Use facep.
4839         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4840         Remove unused functions.
4841         * vc/ediff-util.el (ediff-submit-report): Doc fix.
4843         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4844         delete tempfile if interrupted during compilation.
4846 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4848         * net/tls.el (tls-starttls-switches): Give up on using starttls with
4849         gnutls-cli.
4850         (tls-program): Add --insecure to be consistent with the defaults from
4851         openssl s_client.  Now all three commands are insecure.
4853 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
4855         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4856         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4857         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4859 2010-10-01  Glenn Morris  <rgm@gnu.org>
4861         * obsolete/sc.el: Remove file.
4863         * files.el (temporary-file-directory): On darwin, also try
4864         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4866 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
4868         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4869         Let's not break compatibility gratuitously, shall we?
4871 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4873         * net/tls.el (tls-starttls-switches): New variable.
4874         (tls-find-starttls-argument): Use it.
4875         (open-tls-stream): Ditto.
4877         * net/netrc.el (netrc-credentials): Return the value of the "default"
4878         entry.
4879         (netrc-machine): Ditto.
4881 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
4883         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4885 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
4887         * server.el (server-start): Don't write pid to the authentication file.
4888         (server-create-tty-frame): Don't send pid.
4889         (server-process-filter): Send pid at the start of every connection.
4891 2010-09-30  Glenn Morris  <rgm@gnu.org>
4893         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4894         (show-all-diary-entries): Remove obsolete function aliases.
4896         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4897         Remove options, obsolete since 22.1.
4898         (appt-display-format, appt-display-message):
4899         Remove backwards-compatibility code.
4900         (appt-check): No longer check appt-issue-message.
4901         (appt-make-list): No longer autoload it.  Doc fix.  No longer
4902         activate the package.
4904 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4906         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4907         (starttls-negotiate): Just call boot, and let the handshake be
4908         triggered from the read loop.
4910 2010-09-29  Glenn Morris  <rgm@gnu.org>
4912         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4913         not displaying the diary.
4914         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4915         * calendar/appt.el (appt-check): No longer need to kill diary.
4917         * calendar/diary-lib.el (diary-list-entries): Move the
4918         "Preparing..." message entirely here.
4919         (diary-simple-display, diary-fancy-display): Move "Preparing..."
4920         messages to diary-list-entries.
4921         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4922         diary-display-function.
4924         * calendar/diary-lib.el (diary-include-other-diary-files):
4925         Trap some recursive includes.
4927         * calendar/appt.el (appt-activate): Check diary file.
4929 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
4931         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4932         construction.
4934         * calendar/time-date.el: No need to require cl for Emacs 21.
4936 2010-09-28  Glenn Morris  <rgm@gnu.org>
4938         * calendar/appt.el (appt-check): Minor simplification.
4940 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
4942         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4943         citation prefix.
4945 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
4947         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4948         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
4950 2010-09-27  Kenichi Handa  <handa@m17n.org>
4952         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4953         "ustar" format.
4955 2010-09-27  Kenichi Handa  <handa@m17n.org>
4957         * international/mule.el (define-coding-system): Docstring fixed.
4959         * international/mule-diag.el (describe-character-set): Use princ
4960         with proper print-length and print-level instead of insert.
4962 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
4964         * window.el (walk-windows): Doc fix (bug#7105).
4966 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4968         * emacs-lisp/float-sup.el (e): Remove.
4970 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
4972         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4973         variable.
4974         (starttls-negotiate): Use it.
4976 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4978         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4979         back.
4981 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4983         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4985 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4987         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4989         * net/netrc.el (netrc-store-data): New function.
4991 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
4993         * net/gnutls.el: GnuTLS glue code to set up a connection.
4995 2010-09-25  Julien Danjou  <julien@danjou.info>
4997         * notifications.el: Call dbus-register-signal only if it is bound.
4999 2010-09-25  Glenn Morris  <rgm@gnu.org>
5001         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5002         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5003         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5004         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5005         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5006         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5007         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5008         * eshell/esh-util.el, eshell/esh-var.el:
5009         Remove leading `*' from docs of faces and defcustoms.
5011 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
5013         * eshell/em-ls.el (eshell-ls-archive-regexp):
5014         * eshell/esh-util.el (eshell-tar-regexp):
5015         * ibuffer.el (ibuffer-compressed-file-name-regexp):
5016         * info.el (Info-suffix-list):
5017         * international/mule.el (auto-coding-alist):
5018         * woman.el (woman-file-regexp, woman-file-compression-regexp):
5019         * progmodes/etags.el (tags-compression-info-list):
5020         Support xz compression.
5022 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
5024         * files.el (get-free-disk-space): Don't assume the "df" output
5025         columns line up (Bug#6995).
5027 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
5029         * finder.el (finder-unknown-keywords):
5030         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5031         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5033 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
5035         * server.el (server-start): Revert part of 2010-08-08 change.  Using
5036         address 127.0.0.1 for local host is now done in Fmake_network_process.
5038 2010-09-24  Glenn Morris  <rgm@gnu.org>
5040         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5041         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5042         * textmodes/css-mode.el, textmodes/dns-mode.el:
5043         Move autoloaded auto-mode-alist entries to files.el.
5044         * files.el (auto-mode-alist): Move entries here.
5046 2010-09-23  Glenn Morris  <rgm@gnu.org>
5048         * isearch.el (isearch-lazy-highlight-cleanup)
5049         (isearch-lazy-highlight-initial-delay)
5050         (isearch-lazy-highlight-interval)
5051         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5052         * net/net-utils.el (ipconfig-program-options):
5053         Move aliases to options before the associated definitions.
5055 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5057         * newcomment.el (comment-normalize-vars): Better test validity of
5058         comment-end-skip.
5060 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5062         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5063         (float-e): New name for `e'.
5064         (degrees-to-radians, radians-to-degrees):
5065         * calendar/solar.el (solar-longitude):
5066         * calculator.el (calculator-registers, calculator-funcall):
5067         * textmodes/artist.el (artist-spray-random-points):
5068         * play/bubbles.el (bubbles--initialize-images): Use new names.
5070 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
5072         Update to CEDET 1.0's version of EIEIO.
5074         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5075         New function.
5076         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5077         (eieio-default-eval-maybe): Eval val instead of unquoting only.
5078         (class-precedence-list): If class is nil, return nil.
5079         (eieio-generic-call): If class of first input arg is nil, don't
5080         look up static methods, and do check for primary methods.
5081         (initialize-instance): See if the default needs to be evaluated
5082         during the constructor.
5083         (eieio-perform-slot-validation-for-default): Don't do the check
5084         for values that will eventually be evaluated.
5085         (eieio-eval-default-p): New function.
5086         (eieio-default-eval-maybe): Use it.
5088 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5090         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5091         method-invocation-order.
5092         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5093         (eieio-class-precedence-dfs): Compute class precedence list using
5094         dfs algorithm.
5095         (eieio-class-precedence-bfs): Compute class precedence list using
5096         bfs algorithm.
5097         (eieio-class-precedence-c3): Compute class precedence list using
5098         c3 algorithm.
5099         (class-precedence-list): New function.
5100         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5101         (inconsistent-class-hierarchy): New error symbol.
5102         (call-next-method): Stow the replacement argument list for future
5103         call-next-method invocations.
5105 2010-09-23  Glenn Morris  <rgm@gnu.org>
5107         * calendar/appt.el (appt-check): If not displaying the diary,
5108         use (diary 1) to only get the entries we need.
5109         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5110         that it is in day order.  (Bug#7019)
5112         * calendar/appt.el (appt-check): Rather than showing the diary,
5113         just turn off invisible display, and only if needed.
5115         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
5117 2010-09-23  Glenn Morris  <rgm@gnu.org>
5119         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5120         (byte-compile-defvar, byte-compile-cl-warn):
5121         Start warnings with lower-case, like the majority.
5123         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5125         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
5127         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5128         * files.el (auto-mode-alist): Move ld-script entries here, further down
5129         the list.
5131         * vc/add-log.el: Don't require timezone when compiling.
5132         (timezone-make-date-sortable): Autoload it.
5133         (change-log-sortable-date-at): Don't require timezone.
5134         Use `ignore-errors'.
5136         * comint.el (comint-use-prompt-regexp-instead-of-fields):
5137         Move alias before definition, so it does not need autoloading.
5139         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5140         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5141         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5142         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5143         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5144         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5145         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5146         * textmodes/tex-mode.el, textmodes/two-column.el:
5147         Remove leading `*' from docs of defcustoms etc.
5149 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
5151         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5153 2010-09-22  Dan Christensen  <jdc@uwo.ca>
5155         * calendar/time-date.el (date-to-time): Try using parse-time-string
5156         first before using the slower timezone-make-date-arpa-standard.
5158 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
5160         * calendar/time-date.el (format-seconds): Comment fix.
5162 2010-09-22  Glenn Morris  <rgm@gnu.org>
5164         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5165         is not automatically buffer-local.
5167 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5169         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5170         (smie-indent-comment): Be more careful with comment-start-skip.
5171         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5172         (smie-indent-functions): Use them.
5174 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
5176         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5178 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
5180         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5181         tool-bar-position.  Don't modify frame parameters here.
5182         (menu-bar-options-save): Add tool-bar-position.
5184         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5186 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5188         * textmodes/reftex-parse.el (reftex-what-macro)
5189         (reftex-context-substring): Let-bind forward-sexp-function to nil
5190         since we don't need/want to treat \begin...\end as a block (bug#7053).
5192         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5194         * simple.el (blink-matching-open): Use syntax-class.
5196         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5197         Set invisibility spec for pascal's outline mode.
5198         (pascal-outline-change): Clean up calling convention.
5199         (pascal-show-all, pascal-hide-other-defuns): Update callers.
5201         * progmodes/prolog.el (prolog-smie-forward-token)
5202         (prolog-smie-backward-token): New functions.
5203         (prolog-mode-variables): Use them to parse "!," correctly.
5204         Set up smie-blink-matching for ".".
5206         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5207         and `end'.
5208         (ispell-region, ispell-process-line): Update users.
5210         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5211         point-min==1.
5213         * textmodes/ispell.el: Fix commenting convention.
5214         (ispell-parse-output): Simplify, use push.
5215         (ispell-region): Use match-string-no-properties.
5216         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5217         (ispell-minor-mode): Use define-minor-mode.
5218         (ispell-message): Remove unused var `skip-regexp'.
5219         (ispell-add-per-file-word-list): Use dynamic let-binding.
5220         Try and use the proper comment marker.
5222         * mail/sendmail.el: Fix commenting convention.
5223         (sendmail-send-it): Use line-beginning-position.
5225         * help-fns.el (describe-variable): Add original value, if applicable.
5227 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
5229         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5231         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5233 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5235         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5236         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5237         (smie-prec2-levels): Use them to better diagnose precedence cycles.
5238         (smie-blink-matching-check): Don't signal a mismatch if car is t.
5239         (smie-blink-matching-open): Rewrite to remove assumptions, so that
5240         something like "." can also be a closer.
5241         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5242         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5243         Rename internal functions to use "--".  Update callers.
5245         * frame.el (make-frame-names-alist): Don't list frames on other displays.
5247         * fringe.el (fringe-styles): New var.
5248         (fringe-mode, fringe-query-style): Use it.
5250 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
5252         * progmodes/sql.el: Version 2.8
5253         (sql-login-params): Update widget structure; changes still needed.
5254         (sql-product-alist): Add :list-all and :list-table features for
5255         SQLite, Postgres and MySQL products.
5256         (sql-redirect): Handle default value.
5257         (sql-execute, sql-execute-feature): New functions.
5258         (sql-read-table-name): New function.
5259         (sql-list-all, sql-list-table): New functions.  User API.
5260         (sql-mode-map, sql-interactive-mode-map): Add key definitions
5261         for above functions.
5262         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5263         for above functions.
5264         (sql-postgres-login-params): Add user and database defaults.
5265         (sql-buffer-live-p): Bug fix.
5266         (sql-product-history): New variable.
5267         (sql-read-product): New function. Use it.
5268         (sql-set-product, sql-product-interactive): Use it.
5269         (sql-connection-history): New variable.
5270         (sql-read-connection): New function.  Use it.
5271         (sql-connect): New function.
5272         (sql-for-each-login): Redesign function interface.
5273         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5274         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
5275         (sql-comint): Check for program.  Existing live buffer.
5276         (sql-comint-postgres): Add port parameter.
5278 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5280         * emacs-lisp/warnings.el: Fix commenting convention.
5281         (display-warning): Use special mode and make the buffer read-only.
5283 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
5285         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5286         empty string when it follows a repeated or optional pattern.
5288 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5290         * indent.el (indent-according-to-mode): Apply syntax-propertize.
5291         (indent-region): Use indent-according-to-mode.
5293 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
5295         * fringe.el (fringe-mode): Doc fix.
5297 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
5299         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5300         refreshing the preview buffer.
5302 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5304         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5305         (latex-syntax-propertize-rules): New consts; replace
5306         tex-font-lock-syntactic-keywords.
5307         (tex-env-mark, latex-env-before-change): New functions.
5308         (latex-electric-env-pair-mode): New minor mode.
5309         (tex-font-lock-verb): Change arguments; do move point.
5310         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5311         representation as a form of comment.
5312         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5313         (doctex-syntax-propertize-rules): New const; replaces
5314         doctex-font-lock-syntactic-keywords.
5315         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5317         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5318         (fortran-make-syntax-propertize-function): New function; replaces
5319         fortran-font-lock-syntactic-keywords.
5320         (fortran-mode): Use it.
5321         (fortran-line-length): Use it.  Improve interactive spec.
5323         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5324         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
5325         when adding surrounding \(..\).
5327         * progmodes/js.el (js-mode): Fix last change (bug#7054).
5329 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5331         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5332         Use with-current-buffer.
5334         * isearch.el (isearch-face): Rename from `isearch'.
5335         (isearch-highlight): Use new name.
5337 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
5339         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5340         5, for `half' width fringes.  (Bug#6933)
5342 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5344         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5345         (byte-compile-defvar): "foo/bar" does not lack a prefix.
5347         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5349 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
5351         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5352         in calculating new frame position.  Add more space between new and
5353         parent on the left (Bug#7048).
5355 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
5357         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5358         defmacro.
5360 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
5362         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5364         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5365         obsolete alias for x-selection-value.
5367         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5369 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
5371         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5372         cookie.
5374 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
5376         * net/tramp-compat.el (tramp-compat-with-temp-message)
5377         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5378         (tramp-compat-process-put): New defuns.
5380         * net/tramp.el (top):
5381         * net/tramp-gvfs.el (top):
5382         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5384         * net/tramp.el (tramp-progress-reporter-update):
5385         Use `tramp-compat-funcall'.
5387         * net/tramp.el (tramp-process-actions):
5388         * net/tramp-gvfs.el (tramp-handle-vc-registered):
5389         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5390         (tramp-get-remote-stat, tramp-get-remote-readlink):
5391         Use `tramp-compat-with-temp-message'.
5393         * net/tramp-sh.el (top): Require 'cl.
5394         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5395         (tramp-open-connection-setup-interactive-shell):
5396         Use `tramp-compat-process-put'.
5398 2010-09-15  Alan Mackenzie  <acm@muc.de>
5400         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5401         indentation.
5402         (c-forward-<>-arglist-recur): Fix an infinite recursion.
5404 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5406         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5407         `lexical' for warnings related to lexical scoping.
5408         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5409         global vars which don't have a prefix and could hence affect lexical
5410         scoping in unrelated files.
5412 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5414         * net/imap.el: Revert back to version
5415         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5416         seem problematic.
5418 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
5420         * obsolete/old-whitespace.el (whitespace-unload-function):
5421         Explicitly pass `obarray' to `unintern' to avoid a warning.
5423 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5425         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5426         Add `when' argument.  Update callers.
5428         * subr.el (unintern): Declare the obarray arg mandatory.
5430 2010-09-14  Glenn Morris  <rgm@gnu.org>
5432         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5433         Doc fixes.
5435         * calendar/diary-lib.el (diary-included-files): New variable.
5436         (diary-list-entries): Maybe initialize diary-included-files.
5437         (diary-include-other-diary-files): Append to diary-included-files.
5438         * calendar/appt.el (appt-update-list): Also check the members of
5439         diary-included-files.  (Bug#6999)
5440         (appt-check): Doc fix.
5442 2010-09-14  David Reitter  <david.reitter@gmail.com>
5444         * simple.el (line-move-visual): Do not truncate goal column to
5445         integer size.  (Bug#7020)
5447 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5449         * repeat.el (repeat): Allow repeating when the last event is a click.
5450         Suggested by Drew Adams (bug#6256).
5452 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
5454         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5455         Replace setting HGRCPATH to "" by some less invasive --config options.
5457 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5459         * font-lock.el (font-lock-beginning-of-syntax-function):
5460         Mark as obsolete.
5462 2010-09-14  Glenn Morris  <rgm@gnu.org>
5464         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5465         and tool-bar modes.  (Bug#6211)
5466         (menu-bar-mode): Move setting of standard-value after the
5467         minor-mode definition, otherwise it seems to have no effect.
5469 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
5471         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5472         Fix typo.  (Bug#6976)
5474 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5476         * whitespace.el: Allow cleaning up blanks without blank
5477         visualization (Bug#6651).  Adjust help window for
5478         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
5479         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
5480         (whitespace-style): Add new value 'face.  Adjust docstring.
5481         (whitespace-space, whitespace-hspace, whitespace-tab):
5482         Adjust foreground property face.
5483         (whitespace-line-column): Adjust docstring and type declaration.
5484         (whitespace-style-value-list, whitespace-toggle-option-alist)
5485         (whitespace-help-text): Adjust const initialization.
5486         (whitespace-toggle-options, global-whitespace-toggle-options):
5487         Adjust docstring.
5488         (whitespace-display-window, whitespace-interactive-char)
5489         (whitespace-style-face-p, whitespace-color-on): Adjust code.
5490         (whitespace-help-scroll): New fun.
5492 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5494         * calendar/time-date.el (format-seconds): Comment fix.
5496 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
5498         * progmodes/sql.el: Version 2.7.
5499         (sql-buffer-live-p): Improve detection.
5500         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5501         (sql-set-sqli-buffer): Use it.
5502         (sql-product-interactive): Run `sql-set-sqli-hook'.
5503         (sql-rename-buffer): Code cleanup.
5504         (sql-redirect, sql-redirect-value): New functions.  More to come.
5506 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
5508         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.
5509         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5510         (TRAMP_SRC): New macro.
5511         ($(lisp)/net/tramp-loaddefs.el): New target.
5513 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
5515         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
5517         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
5519         * net/tramp.el (top): Don't show loading message.  Require just
5520         'tramp-compat, everything else is required there.
5521         Use `ignore-errors' where appropriate.
5522         (tramp-inline-compress-start-size, tramp-copy-size-limit)
5523         (tramp-terminal-type, tramp-end-of-output)
5524         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5525         (tramp-completion-function-alist-ssh)
5526         (tramp-completion-function-alist-telnet)
5527         (tramp-completion-function-alist-su)
5528         (tramp-completion-function-alist-putty, tramp-remote-path)
5529         (tramp-remote-process-environment, tramp-sh-extra-args)
5530         (tramp-actions-before-shell, tramp-uudecode)
5531         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5532         (tramp-perl-file-attributes)
5533         (tramp-perl-directory-files-and-attributes)
5534         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5535         (tramp-perl-encode, tramp-perl-decode)
5536         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5537         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5538         (tramp-handle-make-symbolic-link, tramp-handle-load)
5539         (tramp-handle-file-name-as-directory)
5540         (tramp-handle-file-name-directory)
5541         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5542         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5543         (tramp-do-file-attributes-with-ls)
5544         (tramp-do-file-attributes-with-perl)
5545         (tramp-do-file-attributes-with-stat)
5546         (tramp-handle-set-visited-file-modtime)
5547         (tramp-handle-verify-visited-file-modtime)
5548         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5549         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5550         (tramp-handle-file-selinux-context)
5551         (tramp-handle-set-file-selinux-context)
5552         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5553         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5554         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5555         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5556         (tramp-handle-file-ownership-preserved-p)
5557         (tramp-handle-directory-file-name, tramp-handle-directory-files)
5558         (tramp-handle-directory-files-and-attributes)
5559         (tramp-do-directory-files-and-attributes-with-perl)
5560         (tramp-do-directory-files-and-attributes-with-stat)
5561         (tramp-handle-file-name-all-completions)
5562         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5563         (tramp-handle-copy-file, tramp-handle-copy-directory)
5564         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5565         (tramp-do-copy-or-rename-file-via-buffer)
5566         (tramp-do-copy-or-rename-file-directly)
5567         (tramp-do-copy-or-rename-file-out-of-band)
5568         (tramp-handle-make-directory, tramp-handle-delete-directory)
5569         (tramp-handle-delete-file)
5570         (tramp-handle-dired-recursive-delete-directory)
5571         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5572         (tramp-handle-insert-directory)
5573         (tramp-handle-unhandled-file-name-directory)
5574         (tramp-handle-expand-file-name)
5575         (tramp-handle-substitute-in-file-name)
5576         (tramp-handle-executable-find, tramp-process-sentinel)
5577         (tramp-handle-start-file-process, tramp-handle-process-file)
5578         (tramp-handle-call-process-region, tramp-handle-shell-command)
5579         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5580         (tramp-handle-insert-file-contents)
5581         (tramp-handle-insert-file-contents-literally)
5582         (tramp-handle-find-backup-file-name)
5583         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5584         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5585         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5586         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5587         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5588         (tramp-find-file-exists-command, tramp-open-shell)
5589         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5590         (tramp-open-connection-setup-interactive-shell)
5591         (tramp-local-coding-commands, tramp-remote-coding-commands)
5592         (tramp-find-inline-encoding, tramp-call-local-coding-command)
5593         (tramp-inline-compress-commands, tramp-find-inline-compress)
5594         (tramp-compute-multi-hops, tramp-maybe-open-connection)
5595         (tramp-send-command, tramp-wait-for-output)
5596         (tramp-send-command-and-check, tramp-barf-unless-okay)
5597         (tramp-send-command-and-read, tramp-mode-string-to-int)
5598         (tramp-convert-file-attributes, tramp-check-cached-permissions)
5599         (tramp-file-mode-from-int, tramp-file-mode-permissions)
5600         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5601         (tramp-method-out-of-band-p, tramp-local-host-p)
5602         (tramp-get-remote-path, tramp-get-remote-tmpdir)
5603         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5604         (tramp-get-test-command, tramp-get-test-nt-command)
5605         (tramp-get-file-exists-command, tramp-get-remote-ln)
5606         (tramp-get-remote-perl, tramp-get-remote-stat)
5607         (tramp-get-remote-readlink, tramp-get-remote-trash)
5608         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5609         (tramp-get-local-uid, tramp-get-local-gid)
5610         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5611         tramp-sh.el.
5612         (tramp-methods, tramp-default-method-alist)
5613         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5614         Move initialization to tramp-sh.el.
5615         (tramp-temp-name-prefix): Make it a defconst.
5616         (tramp-dissect-file-name): Don't check anymore for multi-hop
5617         methods.
5618         (tramp-debug-outline-regexp): Add a docstring.
5619         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5620         (tramp-get-debug-buffer): Use it.
5622         * net/tramp-cache.el (top): Set tramp-autoload cookie for
5623         initialization forms.
5624         (tramp-set-connection-property): Don't protect `tramp-message'
5625         call, it isn't necessary any longer.
5626         (tramp-dump-connection-properties): Use `ignore-errors'.
5628         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5629         'password-cache and 'auth-source.
5631         * net/tramp-gvfs.el (top):
5632         * net/tramp-smb.el (top): Require 'tramp-sh.
5634         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5636         * net/tramp-sh.el: New file, derived from tramp.el.
5637         (top): Initialize `tramp-methods', `tramp-default-method-alist',
5638         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5639         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5640         Use `ignore-errors' where appropriate.
5641         (tramp-sh-file-name-handler-alist): Rename from
5642         `tramp-file-name-handler-alist'.
5643         (tramp-send-command-and-check): Return t or nil.  Remove all
5644         `zerop' checks, where called.
5645         (tramp-handle-set-file-modes)
5646         (tramp-do-copy-or-rename-file-directly)
5647         (tramp-handle-delete-directory, tramp-handle-delete-file)
5648         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5649         (tramp-sh-file-name-handler, tramp-send-command-and-check)
5650         (tramp-get-remote-ln): Set tramp-autoload cookie.
5652         * net/tramp-fish.el: Remove file.
5654 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
5656         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5657         buffer-file-name to avoid file-locking.  (Bug#7026)
5659 2010-09-13  Julien Danjou  <julien@danjou.info>
5661         * notifications.el (notifications-notify): Add support for
5662         image-path and sound-name.
5663         (notifications-specification-version): Add this variable.
5665 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5667         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5669 2010-09-12  Leo  <sdl.web@gmail.com>
5671         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5672         (rcirc-completion-start): New variables.
5673         (rcirc-nick-completions): Rename to rcirc-completions.
5674         (rcirc-nick-completion-start-offset): Delete.
5675         (rcirc-completion-at-point): New function for constructing
5676         completion data for both nicks and irc commands.  Add to
5677         completion-at-point-functions in rcirc mode.
5678         (rcirc-complete): Rename from rcirc-nick-complete; use
5679         rcirc-completion-at-point.
5680         (defun-rcirc-command): Update rcirc-client-commands.
5682 2010-09-11  Glenn Morris  <rgm@gnu.org>
5684         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5685         atomically, to avoid parallel build errors.  (Bug#4196)
5687 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
5689         * progmodes/sql.el: Version 2.6
5690         (sql-dialect): Synonym for "sql-product".
5691         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5692         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5693         Set "sql-buffer" to buffer name not buffer object so multiple sql
5694         interactive buffers work properly.  Reverts misguided changes in
5695         earlier work.
5696         (sql-comint): Make sure different buffer name is used if "*SQL*"
5697         buffer is for a different product.
5698         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5699         login param.
5700         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5701         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5702         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5703         Accept new buffer name or prompt for one.
5704         (sql-port): Default to zero.
5705         (sql-comint-mysql): Handle "sql-port" as a numeric.
5706         (sql-port-history): Delete unused variable.
5707         (sql-get-login): Default "sql-port" to a number.
5708         (sql-product-alist): Correct Postgres prompt and terminator regexp.
5709         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5710         "sqlite3" executables.
5711         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5712         (sql-buffer-live-p): New function.
5713         (sql-mode-menu, sql-send-string): Use it.
5714         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5715         syntax pattern.
5716         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5717         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5719 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5721         * net/netrc.el (netrc-credentials): New convenience function.
5723 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5725         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5726         to replace texinfo-font-lock-syntactic-keywords.
5727         (texinfo-mode): Use it.
5729         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5730         Use syntax-propertize-function.
5732         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5733         replace sgml-font-lock-syntactic-keywords.
5734         (sgml-mode): Use it.
5736         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5737         since we don't use it.
5739         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5741         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5742         if available.
5743         (vhdl-fontify-buffer): Adjust.
5745         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5746         replace tcl-font-lock-syntactic-keywords.
5747         (tcl-mode): Use it.
5749         * progmodes/simula.el (simula-syntax-propertize-function): New var to
5750         replace simula-font-lock-syntactic-keywords.
5751         (simula-mode): Use it.
5753         * progmodes/sh-script.el (sh-st-symbol): Remove.
5754         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5755         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5756         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5757         (sh-font-lock-paren): Set syntax-multiline.
5758         (sh-font-lock-syntactic-keywords): Remove.
5759         (sh-syntax-propertize-function): New function to replace it.
5760         (sh-mode): Use it.
5762         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5763         Define while compiling.
5764         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5765         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5766         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5767         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5768         (ruby-here-doc-end-syntax): Only define when
5769         syntax-propertize is not available.
5770         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5771         New functions.
5772         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5773         (electric-indent-chars): Silence bytecompiler.
5774         (ruby-mode): Use prog-mode, syntax-propertize-function, and
5775         electric-indent-chars.
5777         * progmodes/python.el (python-syntax-propertize-function): New var to
5778         replace python-font-lock-syntactic-keywords.
5779         (python-mode): Use it.
5780         (python-quote-syntax): Simplify and adjust to new use.
5782         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5783         replace perl-font-lock-syntactic-keywords.
5784         (perl-syntax-propertize-special-constructs): New fun to replace
5785         perl-font-lock-special-syntactic-constructs.
5786         (perl-font-lock-syntactic-face-function): New fun.
5787         (perl-mode): Use it.
5789         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5790         to replace octave-font-lock-close-quotes.
5791         (octave-syntax-propertize-function): New function to replace
5792         octave-font-lock-syntactic-keywords.
5793         (octave-mode): Use it.
5795         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5796         replaces mixal-font-lock-syntactic-keywords.
5797         (mixal-mode): Use it.
5799         * progmodes/make-mode.el (makefile-syntax-propertize-function):
5800         New var; replaces makefile-font-lock-syntactic-keywords.
5801         (makefile-mode): Use it.
5802         (makefile-imake-mode): Adjust.
5804         * progmodes/js.el (js--regexp-literal): Define while compiling.
5805         (js-syntax-propertize-function): New var; replaces
5806         js-font-lock-syntactic-keywords.
5807         (js-mode): Use it.
5809         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5810         replaces gdb-script-font-lock-syntactic-keywords.
5811         (gdb-script-mode): Use it.
5813         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5814         (fortran--font-lock-syntactic-keywords): New var.
5815         (fortran-line-length): Update syntax-propertize-function and
5816         fortran--font-lock-syntactic-keywords.
5818         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5820         * progmodes/cfengine.el (cfengine-mode):
5821         Use syntax-propertize-function.
5822         (cfengine-font-lock-syntactic-keywords): Remove.
5824         * progmodes/autoconf.el (autoconf-mode):
5825         Use syntax-propertize-function.
5826         (autoconf-font-lock-syntactic-keywords): Remove.
5828         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5829         (ada-after-change-function, ada-initialize-syntax-table-properties)
5830         (ada-handle-syntax-table-properties): Only define when
5831         syntax-propertize is not available.
5832         (ada-mode): Use syntax-propertize-function.
5834         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5835         (font-lock-fontify-syntactic-keywords-region): Move handling of
5836         font-lock-syntactically-fontified to...
5837         (font-lock-default-fontify-region): ...here.
5838         Let syntax-propertize-function take precedence.
5839         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5841         * emacs-lisp/syntax.el (syntax-propertize-function)
5842         (syntax-propertize-chunk-size, syntax-propertize--done)
5843         (syntax-propertize-extend-region-functions): New vars.
5844         (syntax-propertize-wholelines, syntax-propertize-multiline)
5845         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5846         (syntax-propertize): New functions.
5847         (syntax-propertize-rules): New macro.
5848         (syntax-ppss-flush-cache): Set syntax-propertize--done.
5849         (syntax-ppss): Call syntax-propertize.
5851         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5853 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
5855         * textmodes/ispell.el (ispell-init-process): Improve comments.
5856         XEmacs compatibility changes regarding (add-hook) 'local option
5857         and (set-process-query-on-exit-flag).
5859 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
5861         * net/tramp-cache.el (tramp-parse-connection-properties):
5862         Set tramp-autoload cookie.
5864 2010-09-09  Glenn Morris  <rgm@gnu.org>
5866         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5867         (imagemagick-register-types): Doc fix.
5869 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5871         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5873         * progmodes/js.el (require): Require is already "eval-and-compile".
5874         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
5875         (js--re-search-backward): Use js--re-search-forward.
5877         * progmodes/fortran.el (fortran-line-length): Don't recompute
5878         syntactic keywords redundantly a second time.
5880         * progmodes/ada-mode.el: Replace "(set '" with setq.
5881         (ada-mode): Simplify.
5882         (ada-create-case-exception, ada-adjust-case-interactive)
5883         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5884         (ada-search-ignore-string-comment, ada-move-to-start)
5885         (ada-move-to-end): Use with-syntax-table.
5887         * font-lock.el (save-buffer-state): Remove `varlist' arg.
5888         (font-lock-unfontify-region, font-lock-default-fontify-region):
5889         Update usage correspondingly.
5890         (font-lock-fontify-syntactic-keywords-region):
5891         Set parse-sexp-lookup-properties buffer-locally here.
5892         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5894         * simple.el (blink-matching-open): Don't burp if we can't find a match.
5896 2010-09-08  Glenn Morris  <rgm@gnu.org>
5898         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5899         Error if not compiled with -DBYTE_CODE_METER.
5901         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5902         Ignore dir-locals-file.
5904 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5906         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5907         Not a const.
5908         (compilation-error-regexp-alist-alist): Rule out ": " in file names
5909         for the `gnu' messages.
5910         (compilation-set-skip-threshold): New command.
5911         (compilation-start): Use \' rather than $.
5912         (compilation-forget-errors): Use clrhash.
5914 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
5916         * textmodes/ispell.el (ispell-valid-dictionary-list):
5917         Simplify logic.
5919 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
5921         Migrate to Tramp 2.2.  Rearrange load dependencies.
5922         (Bug#1529, Bug#5448, Bug#5705)
5924         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5925         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5926         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5928         * net/tramp.el (top): Remove all other tramp-* loads except
5929         tramp-compat.el.  Remove all changes to tramp-unload-hook for
5930         other tramp-* packages.  Rearrange defun order.  Change calls of
5931         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5932         `tramp-compat-octal-to-decimal' to new function names.
5933         (tramp-terminal-type, tramp-initial-end-of-output)
5934         (tramp-methods, tramp-foreign-file-name-handler-alist)
5935         (tramp-tramp-file-p, tramp-completion-mode-p)
5936         (tramp-send-command-and-check, tramp-get-remote-path)
5937         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5938         (tramp-shell-quote-argument): Set tramp-autoload cookie.
5939         (with-file-property, with-connection-property): Move to
5940         tramp-cache.el.
5941         (tramp-local-call-process, tramp-decimal-to-octal)
5942         (tramp-octal-to-decimal): Move to tramp-compat.el.
5943         (tramp-handle-shell-command): Do not require 'shell.
5944         (tramp-compute-multi-hops): No special handling for tramp-gw-*
5945         symbols.
5946         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5948         * net/tramp-cache.el (top): Require 'tramp.  Add to
5949         `tramp-unload-hook'.
5950         (tramp-cache-data, tramp-get-file-property)
5951         (tramp-set-file-property, tramp-flush-file-property)
5952         (tramp-flush-directory-property, tramp-get-connection-property)
5953         (tramp-set-connection-property, tramp-flush-connection-property)
5954         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5955         cookie.
5956         (with-file-property, with-connection-property): New defuns, moved
5957         from tramp.el.
5958         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5959         macro.
5961         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5962         (tramp-version): Set tramp-autoload cookie.
5964         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
5965         changes to tramp-unload-hook for other tramp-* packages.  Add to
5966         `tramp-unload-hook'.
5967         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5968         (tramp-compat-call-process): New defuns, moved from tramp.el.
5970         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
5971         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5972         Add to `tramp-unload-hook'.  Change call of
5973         `tramp-compat-decimal-to-octal' to new function name.
5974         (tramp-fish-method): Make it a defconst.
5975         (tramp-fish-file-name-p): Make it a defsubst.
5976         (tramp-fish-method, tramp-fish-file-name-handler)
5977         (tramp-fish-file-name-p): Set tramp-autoload cookie.
5979         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5980         `tramp-foreign-file-name-handler-alist'.  Add to
5981         `tramp-unload-hook'.
5982         (tramp-ftp-method): Make it a defconst.
5983         (tramp-ftp-file-name-p): Make it a defsubst.
5984         (tramp-ftp-method, tramp-ftp-file-name-handler)
5985         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5987         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5988         `tramp-foreign-file-name-handler-alist'.  Add to
5989         `tramp-unload-hook'.  Change checks, whether package can be
5990         loaded.
5991         (tramp-gvfs-file-name-p): Make it a defsubst.
5992         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5993         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5994         (tramp-gvfs-handle-file-directory-p): New defun.
5995         (tramp-gvfs-file-name-handler-alist): Use it.
5997         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5998         `tramp-foreign-file-name-handler-alist'.  Add to
5999         `tramp-unload-hook'.
6000         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6001         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6002         defconst.
6003         (tramp-gw-tunnel-method, tramp-gw-socks-method)
6004         (tramp-gw-open-connection): Set tramp-autoload cookie.
6006         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
6007         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6008         Add to `tramp-unload-hook'.  Change checks, whether package can be
6009         loaded.
6010         (tramp-imap-file-name-p): Make it a defsubst.
6011         (tramp-imap-method, tramp-imaps-method)
6012         (tramp-imap-file-name-handler)
6013         (tramp-imap-file-name-p): Set tramp-autoload cookie.
6015         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
6016         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6017         Add to `tramp-unload-hook'.  Change checks, whether package can be
6018         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
6019         function name.
6020         (tramp-smb-tunnel-method): Make it a defconst.
6021         (tramp-smb-file-name-p): Make it a defsubst.
6022         (tramp-smb-method, tramp-smb-file-name-handler)
6023         (tramp-smb-file-name-p): Set tramp-autoload cookie.
6025         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6026         (tramp-uuencode-region): Set tramp-autoload cookie.
6028         * net/trampver.el (top) Add to `tramp-unload-hook'.
6029         (tramp-version, tramp-bug-report-address): Set tramp-autoload
6030         cookie.  Update release number.
6032 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
6034         * textmodes/ispell.el (ispell-start-process): Make sure original
6035         arg list is properly initialized (Bug#6993, Bug#6994).
6037 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6039         * files.el (directory-abbrev-alist): Use \` as default regexp.
6041         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6042         chars like - or ] (bug#6984).
6043         (rx-any-condense-range): Explode 2-char ranges.
6045 2010-09-06  Glenn Morris  <rgm@gnu.org>
6047         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6049 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6051         * textmodes/bibtex.el:
6052         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6054 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6056         * net/imap.el (imap-message-map): Remove optional buffer parameter,
6057         since no callers use it.
6058         (imap-message-get): Ditto.
6059         (imap-message-put): Ditto.
6060         (imap-mailbox-map): Ditto.
6061         (imap-mailbox-put): Ditto.
6062         (imap-mailbox-get): Ditto.
6063         (imap-mailbox-get): Revert last change for this function.
6065 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6067         * net/imap.el (imap-fetch-safe): Remove function, and alter all
6068         callers to use `imap-fetch' instead.  According to the comments, this
6069         should be safe, since all other IMAP clients use the 1:* syntax.
6070         (imap-enable-exchange-bug-workaround): Remove.
6071         (imap-debug): Remove -- doesn't seem very useful.
6073 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6075         * net/imap.el (imap-log): New convenience function used throughout
6076         instead of repeating the same code all over the place.
6078 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
6080         * mouse.el (mouse-save-then-kill): Save region to kill-ring
6081         when mouse-drag-copy-region is non-nil (Bug#6956).
6083 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
6085         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6086         Improve regexps (Bug#6987).
6087         (dired-sort-toggle): Search more robustly for -t flag.
6089         * files.el (get-free-disk-space): Search more robustly for
6090         "available" column.  Suggested by Ehud Karni
6091         <ehud@unix.mvs.co.il>.
6093 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
6095         * international/uni-bidi.el:
6096         * international/uni-category.el:
6097         * international/uni-combining.el:
6098         * international/uni-decimal.el:
6099         * international/uni-mirrored.el:
6100         * international/uni-name.el: Regenerate.
6102 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6104         * electric.el (electric-indent-post-self-insert-function):
6105         Don't reindent with a sloppy indentation function.
6107         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6108         border case in change-log-mode.
6110 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
6112         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6113         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6114         Recognize leading tab in gcc-include regexp.  Ignore names with
6115         leading "from" or "in" in gnu regexp (Bug#6937).
6117 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6119         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6120         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6121         (ispell-start-process): Avoid setq and simplify logic.
6122         (ispell-init-process): Setup kill-buffer-hook locally when needed.
6123         (kill-buffer-hook): Don't use it globally with code that uses
6124         expand-file-name since that may call kill-buffer via
6125         code_conversion_restore.
6127 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
6129         * emacs-lisp/package.el (package-directory-list): Only call
6130         file-name-nondirectory on a string.
6132 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6134         * emacs-lisp/package.el (package--download-one-archive):
6135         Ensure that archive-contents is valid before saving it.
6136         (package-activate-1, package-mark-obsolete, define-package)
6137         (package-compute-transaction, package-list-maybe-add): Use push.
6139 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6141         Use SMIE's blink-paren for octave-mode.
6142         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6143         Backslashes do not escape single-quotes, single-quotes do.
6144         (octave-block-else-regexp, octave-block-end-regexp)
6145         (octave-block-match-alist): Remove.
6146         (octave-smie-bnf-table): New var, with old content.
6147         (octave-smie-op-levels): Use it.
6148         (octave-smie-closer-alist): New var.
6149         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
6150         (octave-blink-matching-block-open): Remove.
6151         (octave-reindent-then-newline-and-indent, octave-electric-semi)
6152         (octave-electric-space): Let self-insert-command run expand-abbrev and
6153         blink parens.
6155         * electric.el (electricity): New group.
6156         (electric-indent-chars): New var.
6157         (electric-indent-post-self-insert-function): New fun.
6158         (electric-indent-mode): New minor mode.
6159         (electric-pair-skip-self): New custom.
6160         (electric-pair-post-self-insert-function): New function.
6161         (electric-pair-mode): New minor mode.
6163         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6164         calcAlg-blink-matching-open.
6165         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6166         (calc-do-alg-entry): Only touch the part of the keymap that varies.
6167         Use the new blink-matching-check-function.
6169         Provide blink-matching support to SMIE.
6170         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6171         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6172         (smie-blink-matching-check, smie-blink-matching-open): New functions.
6174         * simple.el (newline): Fix last change to properly remove itself from
6175         the hook.
6177 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6179         * simple.el (newline): Eliminate optimization.
6180         Use post-self-insert-hook to set hard-newline and things before
6181         running post-self-insert-hook.
6182         (blink-matching-check-mismatch): New function.
6183         (blink-matching-check-function): New variable.
6184         (blink-matching-open): Use them.
6185         Skip back forward over prefix chars skipped by forward-sexp.
6186         Don't check if the parens are backslash escaped.
6187         (blink-paren-post-self-insert-function): Check backslash escaping here.
6189 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6191         * emacs-lisp/package.el (package-menu-mode-map):
6192         Change package-menu-revert bindings to revert-buffer.
6193         (package-menu-mode): Set revert-buffer-function.
6194         (package-menu-revert): Doc fix.
6196 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
6198         * textmodes/ispell.el (ispell-init-process): Use "~/" as
6199         `default-directory' unless using Ispell per-directory personal
6200         dictionaries and not in a mini-buffer under XEmacs.
6201         (kill-buffer-hook): Do not kill ispell process on exit when
6202         `ispell-process-directory' is "~/".  (Bug#6143)
6204 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
6206         * simple.el (kill-new): Call interprogram-cut-function with only
6207         one argument.
6209         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6210         Remove cut buffer from error message.
6212         * term/x-win.el (x-select-text):
6213         * term/pc-win.el (x-selection-value):
6214         * term/ns-win.el (x-selection-value):
6215         * eshell/em-term.el:
6216         * w32-fns.el (x-get-selection-value):
6217         * mouse-sel.el (mouse-sel-set-selection-function):
6218         * frame.el (display-selections-p): Remove cut-buffer in documentation.
6220         * term/x-win.el: Update documentation for x-last-selected-text-*.
6221         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6222         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6223         (x-select-text): Remove argument PUSH, update documentation.
6224         Remove cut-buffer code.
6225         (x-selection-value-internal): Was previously x-selection-value.
6226         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6227         Update documentation, remove cut-buffer code.
6228         Call x-selection-value-internal.
6229         (x-clipboard-yank): Call x-selection-value-internal.
6230         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6232         * term/pc-win.el (x-last-selected-text):
6233         x-cut-buffer-or-selection-value renamed to x-selection-value
6234         (x-select-text): Remove argument PUSH, update documentation.
6236         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6237         x-cut-buffer-or-selection-value renamed to x-selection-value
6238         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6239         (x-select-text): Remove argument PUSH, update documentation.
6241         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6243         * w32-fns.el (x-last-selected-text):
6244         x-cut-buffer-or-selection-value renamed to x-selection-value.
6245         (x-cut-buffer-max): Remove.
6246         (x-select-text): Remove argument PUSH, update documentation.
6248         * simple.el (interprogram-cut-function): Remove mention of PUSH.
6250         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6252         * mouse-sel.el (mouse-sel-get-selection-function):
6253         x-cut-buffer-or-selection-value renamed to x-selection-value.
6254         (x-select-text): Remove optional push.
6256 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6258         * simple.el (blink-paren-function): Move from C to here.
6259         (blink-paren-post-self-insert-function): New function.
6260         (post-self-insert-hook): Use it.
6262         * emacs-lisp/pcase.el (pcase-split-memq):
6263         Fix overenthusiastic optimisation.
6264         (pcase-u1): Handle the case of a lambda pred.
6266 2010-08-31  Kenichi Handa  <handa@m17n.org>
6268         * international/mule-cmds.el (standard-display-european-internal):
6269         Setup standard-display-table for 8-bit characters by storing 8-bit
6270         characters in the element vector.
6272         * disp-table.el (standard-display-8bit):
6273         Setup standard-display-table for 8-bit characters by storing 8-bit
6274         characters in the element vector.
6275         (standard-display-european): Likewise.
6277 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
6279         * textmodes/nroff-mode.el (nroff-view): New command.
6280         (nroff-mode-map): Bind it to C-c C-c.
6282 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6284         * emacs-lisp/smie.el (smie-down-list): New command.
6286         Remove old indentation and navigation code on octave-mode.
6287         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6288         smie-down-list rather than add a binding for octave-down-block.
6289         (octave-mark-block, octave-blink-matching-block-open):
6290         Rely on forward-sexp-function.
6291         (octave-fill-paragraph): Don't narrow, so you can use
6292         indent-according-to-mode.
6293         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6294         (octave-in-block-p, octave-re-search-forward-kw)
6295         (octave-re-search-backward-kw, octave-indent-calculate)
6296         (octave-end-as-array-index-p, octave-block-end-offset)
6297         (octave-scan-blocks, octave-forward-block, octave-backward-block)
6298         (octave-down-block, octave-backward-up-block, octave-up-block)
6299         (octave-before-magic-comment-p, octave-indent-line): Remove.
6301 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
6303         * emacs-lisp/package.el (package--read-archive-file): Just use
6304         `read', to avoid copying an additional string.
6305         (package-menu-mode): Set header-line-format here.
6306         (package-menu-refresh, package-menu-revert): Signal an error if
6307         not in the Package Menu.
6308         (package-menu-package-list): New var.
6309         (package--generate-package-list): Operate on the current buffer;
6310         don't assume that it is *Packages*, since the user may rename it.
6311         Allow persistent package listings and sort keys using
6312         package-menu-package-list and package-menu-package-sort-key.
6313         (package-menu--version-predicate): Fix version calculation.
6314         (package-menu-sort-by-column): Don't select the window.
6315         (package--list-packages): Create the *Packages* buffer.
6316         Set package-menu-package-list-key.
6317         (list-packages): Sorting by status is now the default.
6318         (package-buffer-info): Use match-string-no-properties.
6319         (define-package): Add a &rest argument for future proofing, but
6320         don't use it yet.
6321         (package-install-from-buffer, package-install-buffer-internal):
6322         Merge into a single function, package-install-from-buffer.
6323         (package-install-file): Change caller.
6325         * finder.el: Load finder-inf using `require'.
6326         (finder-list-matches): Sorting by status is now the default.
6327         (finder-compile-keywords): Simpify printing.
6329 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6331         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6332         (octave-mode-map): Remove special bindings for forward/backward-block
6333         and octave-backward-up-block.  Use smie-close-block.
6334         (octave-continuation-marker-regexp): New var.
6335         (octave-continuation-regexp): Use it.
6336         (octave-operator-table, octave-smie-op-levels)
6337         (octave-operator-regexp, octave-smie-indent-rules): New vars.
6338         (octave-smie-backward-token, octave-smie-forward-token): New funs.
6339         (octave-mode): Use SMIE.
6340         (octave-close-block): Delete.
6342 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
6344         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6345         CLIPBOARD, not in PRIMARY.  (Bug#6944)
6347 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6349         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6350         a list of parents.
6351         (smie-indent-column): Allow indirection through variables.
6353         * composite.el (save-buffer-state): Delete, unused.
6354         * font-lock.el (save-buffer-state): Use with-silent-modifications.
6355         (font-lock-default-fontify-region): Use with-syntax-table.
6356         * jit-lock.el (with-buffer-unmodified): Remove.
6357         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6359         Use `declare' in defmacros.
6360         * window.el (save-selected-window):
6361         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6362         * progmodes/python.el (def-python-skeleton):
6363         * net/dbus.el (dbus-ignore-errors):
6364         * jka-cmpr-hook.el (with-auto-compression-mode):
6365         * international/mule.el (with-category-table):
6366         * emacs-lisp/timer.el (with-timeout):
6367         * emacs-lisp/lisp-mnt.el (lm-with-file):
6368         * emacs-lisp/eieio.el (with-slots):
6369         * emacs-lisp/easymenu.el (easy-menu-define):
6370         * emacs-lisp/debug.el (debugger-env-macro):
6371         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6372         (Multiple-value-call, Multiple-value-prog1):
6373         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6374         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6375         edebug rule to definition.
6376         * emacs-lisp/lisp-mode.el (save-selected-window)
6377         (with-current-buffer, combine-after-change-calls)
6378         (with-output-to-string, with-temp-file, with-temp-buffer)
6379         (with-temp-message, with-syntax-table, read-if, eval-after-load)
6380         (dolist, dotimes, when, unless):
6381         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6383 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
6385         * finder.el: Require `package'.
6386         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
6387         (finder-package-info): Var deleted.
6388         (finder-keywords-hash, finder--builtins-alist): New vars.
6389         (finder-compile-keywords): Compute package--builtins and
6390         finder-keywords-hash instead of finder-keywords-hash, respecting
6391         the "Package" header.
6392         (finder-unknown-keywords, finder-list-matches):
6393         Use finder-keywords-hash and package--list-packages.
6394         (finder-mode): Don't set font-lock-defaults.
6395         (finder-exit): We don't use "*Finder-package*" and "*Finder
6396         Category*" buffers anymore.
6398         * emacs-lisp/package.el (package--builtins-base): Var deleted.
6399         (package--builtins): Set default value to nil.
6400         (package-initialize): Load precomputed value of package--builtins
6401         from finder-inf.el.
6402         (package-alist, package-compute-transaction)
6403         (package-download-transaction): Improve docstring.
6404         (package-read-all-archive-contents): Do not change
6405         package--builtins here.
6406         (list-packages): Make package-list-packages an alias for this.
6407         Sort by status by default.
6408         (package--list-packages): Add optional PACKAGES arg.
6409         (describe-package-1): Use font-lock-face property.  For built-in
6410         packages, insert file commentary.
6411         (package--generate-package-list): Rename from
6412         package-list-packages-internal; all callers changed.  Add optional
6413         PACKAGES arg.  Add alphabetical sort fallbacks.
6414         (package-menu--version-predicate, package-menu--status-predicate)
6415         (package-menu--description-predicate)
6416         (package-menu--name-predicate): New functions.
6418         * info.el (Info-finder-find-node): Search package-alist instead of
6419         finder-package-info.
6421 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
6423         * subr.el (version-regexp-alist): Don't use "a" and "b" for
6424         "alpha" and "beta".
6425         (version-to-list): Handle versions like "10.3d".
6427 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6429         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6430         (macroexp-accumulate): Use `declare'.
6432 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6434         * whitespace.el (whitespace-style): Adjust type declaration.
6436 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
6438         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6439         empty argument to gvfs-copy.
6441 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6443         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6444         handle new TRASH arg of `delete-file'.
6446 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
6448         * net/tramp.el (tramp-handle-insert-directory): Don't use
6449         `forward-word', its default syntax could be changed.
6451 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
6452             Michael Albinus  <michael.albinus@gmx.de>
6454         Implement compression for inline methods.
6456         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6457         (tramp-copy-size-limit): Allow also nil.
6458         (tramp-inline-compress-commands): New defconst.
6459         (tramp-find-inline-compress, tramp-get-inline-compress)
6460         (tramp-get-inline-coding): New defuns.
6461         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6462         replaced by `tramp-get-inline-coding'.
6463         (tramp-handle-file-local-copy, tramp-handle-write-region)
6464         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6466 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
6468         Detect ssh 'ControlMaster' argument automatically in some cases.
6470         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6471         (tramp-default-method): Use it.
6473 2010-08-26  Karel Klíč  <kklic@redhat.com>
6475         * net/tramp.el (tramp-file-name-for-operation):
6476         Add file-selinux-context.
6478 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
6480         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6482 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6484         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6485         (Bug#6907).
6487 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
6489         * progmodes/js.el: Make indentation more customizable (Bug#6914).
6490         (js-paren-indent-offset, js-square-indent-offset)
6491         (js-curly-indent-offset): New options.
6492         (js--proper-indentation): Use them.
6494 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
6496         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6497         instead of inspecting font-lock properties (Bug#6916).
6499 2010-08-26  David Reitter  <david.reitter@gmail.com>
6501         * server.el (server-visit-files): Run pre-command-hook and
6502         post-command-hook for each buffer while it is current (Bug#6910).
6503         (server-execute): Do not run hooks here.
6505 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
6507         Sync with Tramp 2.1.19.
6509         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6510         (tramp-reporter-dump-variable, tramp-load-report-modules)
6511         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6512         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6514         * net/tramp-compat.el (top): Do not autoload
6515         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6516         only when `start-file-process' is not bound.
6517         (byte-compile-not-obsolete-vars): Define if not bound.
6518         (tramp-compat-funcall): New defmacro.
6519         (tramp-compat-line-beginning-position)
6520         (tramp-compat-line-end-position)
6521         (tramp-compat-temporary-file-directory)
6522         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6523         (tramp-compat-copy-file, tramp-compat-copy-directory)
6524         (tramp-compat-delete-file, tramp-compat-delete-directory)
6525         (tramp-compat-number-sequence, tramp-compat-process-running-p):
6526         Use it.
6527         (tramp-advice-file-expand-wildcards): Do not use
6528         `tramp-handle-file-remote-p'.
6529         (tramp-compat-make-temp-file): Simplify fallback implementation.
6530         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6531         (tramp-compat-copy-tree): Remove function.
6532         (tramp-compat-delete-file): New defun.
6533         (tramp-compat-delete-directory): Provide implementation for older
6534         Emacsen.
6535         (tramp-compat-file-attributes): Handle only
6536         `wrong-number-of-arguments' error.
6538         * net/tramp-fish.el (tramp-fish-handle-copy-file):
6539         Add PRESERVE_SELINUX_CONTEXT.
6540         (tramp-fish-handle-delete-file): Add TRASH arg.
6541         (tramp-fish-handle-directory-files-and-attributes):
6542         Do not use `tramp-fish-handle-file-attributes.
6543         (tramp-fish-handle-file-local-copy)
6544         (tramp-fish-handle-insert-file-contents)
6545         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6547         * net/tramp-gvfs.el (top): Require url-util.
6548         (tramp-gvfs-mount-point): Remove.
6549         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6550         and `set-file-selinux-context'.
6551         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6552         (tramp-gvfs-handle-file-selinux-context)
6553         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6554         (with-tramp-dbus-call-method): Format trace message.
6555         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6556         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6557         Implement backup call, when operation on local files fails.
6558         Use progress reporter.  Flush properties of changed files.
6559         (tramp-gvfs-handle-delete-file): Add TRASH arg.
6560         Use `tramp-compat-delete-file'.
6561         (tramp-gvfs-handle-expand-file-name): Expand "~/".
6562         (tramp-gvfs-handle-make-directory): Make more traces.
6563         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6564         (tramp-gvfs-url-file-name): Hexify file name in url.
6565         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6566         into account for the resulting file name.
6567         (tramp-gvfs-handler-askquestion): Preserve current message, in
6568         order to let progress reporter continue afterwards.  (Bug#6257)
6569         Return dummy mountpoint, when the answer is "no".
6570         See `tramp-gvfs-maybe-open-connection'.
6571         (tramp-gvfs-handler-mounted-unmounted)
6572         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6573         attribute "default_location".  Set "prefix" property.
6574         Handle default-location.
6575         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6576         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6577         exists.  Raise an error, if not (due to a corresponding answer
6578         "no" in interactive questions, for example).
6579         Use `tramp-compat-funcall'.
6581         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6582         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6583         (tramp-imap-do-copy-or-rename-file)
6584         (tramp-imap-handle-insert-file-contents)
6585         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6586         (tramp-imap-handle-delete-file): Add TRASH arg.
6588         * net/tramp-smb.el (tramp-smb-handle-copy-file):
6589         Add PRESERVE-SELINUX-CONTEXT.
6590         (tramp-smb-handle-copy-file)
6591         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6592         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6593         Use `with-progress-reporter'.
6594         (tramp-smb-handle-delete-file): Add TRASH arg.
6596         * net/tramp.el (tramp-methods): Move hostname to the end in all
6597         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
6598         appropriate.
6599         (tramp-verbose): Describe verbose level 9.
6600         (tramp-completion-function-alist)
6601         (tramp-file-name-regexp, tramp-chunksize)
6602         (tramp-local-coding-commands, tramp-remote-coding-commands)
6603         (with-connection-property, tramp-completion-mode-p)
6604         (tramp-action-process-alive, tramp-action-out-of-band)
6605         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6606         (tramp-exists-file-name-handler): Fix docstring.
6607         (tramp-remote-process-environment): Use `format' instead of
6608         `concat'.  Protect version string by apostroph.
6609         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6610         XEmacs.
6611         (tramp-file-name-regexp-unified)
6612         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6613         not regard the volume letter as remote filename.  (Bug#5447)
6614         (tramp-perl-file-attributes)
6615         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6616         (tramp-vc-registered-read-file-names): Read input as
6617         here-document, otherwise the command could exceed maximum length
6618         of command line.
6619         (tramp-file-name-handler-alist): Add `file-selinux-context' and
6620         `set-file-selinux-context'.
6621         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6622         backtrace functions.
6623         (tramp-error-with-buffer): Don't show the connection buffer when
6624         we are in completion mode.
6625         (tramp-progress-reporter-update, tramp-remote-selinux-p)
6626         (tramp-handle-file-selinux-context)
6627         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6628         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6629         New defuns.
6630         (with-progress-reporter): New defmacro.
6631         (tramp-debug-outline-regexp): New defconst.
6632         (top, tramp-rfn-eshadow-setup-minibuffer)
6633         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6634         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6635         (tramp-completion-mode-p, tramp-check-for-regexp)
6636         (tramp-open-connection-setup-interactive-shell)
6637         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6638         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6639         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6640         Use `tramp-compat-funcall'.
6641         (tramp-handle-make-symbolic-link): Flush file properties.
6642         (tramp-handle-load, tramp-handle-file-local-copy)
6643         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6644         (tramp-handle-vc-registered, tramp-maybe-send-script)
6645         (tramp-find-shell): Use `with-progress-reporter'.
6646         (tramp-do-file-attributes-with-stat): Add space in format string,
6647         in order to work around a bug in pdksh.  Reported by Gilles Pion
6648         <gpion@lfdj.com>.
6649         (tramp-handle-verify-visited-file-modtime): Do not send a command
6650         when the connection is not established.
6651         (tramp-handle-set-file-times): Simplify the check for utc.
6652         (tramp-handle-directory-files-and-attributes)
6653         (tramp-get-remote-path): Use `copy-tree'.
6654         (tramp-completion-handle-file-name-all-completions): Ensure, that
6655         non remote files are still checked.  Oops.
6656         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6657         Handle PRESERVE-SELINUX-CONTEXT.
6658         (tramp-do-copy-or-rename-file): Add progress reporter.
6659         (tramp-do-copy-or-rename-file-directly): Do not use
6660         `tramp-handle-file-remote-p'.
6661         (tramp-do-copy-or-rename-file-out-of-band):
6662         Use `tramp-compat-delete-directory'.
6663         (tramp-do-copy-or-rename-file-out-of-band)
6664         (tramp-compute-multi-hops, tramp-maybe-open-connection):
6665         Use `format-spec-make'.
6666         (tramp-handle-delete-file): Add TRASH arg.
6667         (tramp-handle-dired-uncache): Flush directory cache, not only file
6668         cache.
6669         (tramp-handle-expand-file-name)
6670         (tramp-completion-handle-file-name-all-completions)
6671         (tramp-completion-handle-file-name-completion):
6672         Use `tramp-connectable-p'.
6673         (tramp-handle-start-file-process): Set connection property "vec".
6674         Use it, in order to invalidate file caches.  Check only for
6675         `remote-tty' process property.
6676         Implement tty setting.  (Bug#4604, Bug#6360)
6677         (tramp-file-name-for-operation): Add `call-process-region' and
6678         `set-file-selinux-context'.
6679         (tramp-find-foreign-file-name-handler)
6680         (tramp-advice-make-auto-save-file-name)
6681         (tramp-set-auto-save-file-modes): Remove superfluous check for
6682         `stringp'.  This is done inside `tramp-tramp-file-p'.
6683         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
6684         operations when we are in completion mode.  This gives the user
6685         the chance to correct the file name in the minibuffer.
6686         (tramp-completion-mode-p): Use `non-essential'.
6687         (tramp-handle-file-name-all-completions): Backward/ XEmacs
6688         compatibility: Use `completion-ignore-case' if
6689         `read-file-name-completion-ignore-case' does not exist.
6690         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6691         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6692         `tramp-open-shell'.
6693         (tramp-action-password): Hide password prompt before next run.
6694         (tramp-process-actions): Widen connection buffer for the trace.
6695         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6696         process property.  Trace stty settings if `tramp-verbose' >= 9.
6697         Apply workaround for IRIX64 bug.  Move argument of last
6698         `tramp-send-command' where it belongs to.
6699         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6700         front of `login-args'.
6701         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6702         on "/dev/null" instead of "/".
6703         (tramp-get-ls-command-with-dired): Make test for "--dired"
6704         stronger.
6705         (tramp-set-auto-save-file-modes): Adapt version check.
6706         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6707         (tramp-handle-process-file): Call the program in a subshell, in
6708         order to preserve working directory.
6709         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6710         `tramp-remote-sh' from `tramp-methods'.
6711         (tramp-get-ls-command): Make test for "--color=never" stronger.
6712         (tramp-check-for-regexp): Use (forward-line 1).
6714         * net/trampver.el: Update release number.
6716 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6718         * help.el (help-map): Bind `C-h P' to describe-package.
6720         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6722         * emacs-lisp/package.el (package-refresh-contents): Catch errors
6723         when downloading archives.
6724         (describe-package-1): Add package commentary.
6725         (package-install-button-action): New function.
6726         (package-menu-mode-map): Bind ? to package-menu-describe-package.
6727         (package-menu-view-commentary): Function removed.
6728         (package-list-packages-internal): Hide the `package' package too.
6730 2010-08-25  Kenichi Handa  <handa@m17n.org>
6732         * language/misc-lang.el ("Arabic"): New language environment.
6733         Setup composition-function-table for Arabic characters.
6735         * international/fontset.el (setup-default-fontset): Fix typo for
6736         arabic OTF spec (fini->fina).
6738 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
6740         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6741         on all frames.
6743 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6745         * whitespace.el: Allow cleaning up blanks without blank
6746         visualization (Bug#6651).  Adjust help window for
6747         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6748         instead of whitespace-line-column (from EmacsWiki).  New version
6749         13.1.
6750         (whitespace-style): Add new value 'face.  Adjust docstring.
6751         (whitespace-space, whitespace-hspace, whitespace-tab):
6752         Adjust foreground property face.
6753         (whitespace-line-column): Adjust docstring and type declaration.
6754         (whitespace-style-value-list, whitespace-toggle-option-alist)
6755         (whitespace-help-text): Adjust const initialization.
6756         (whitespace-toggle-options, global-whitespace-toggle-options):
6757         Adjust docstring.
6758         (whitespace-display-window, whitespace-interactive-char)
6759         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6760         (whitespace-help-scroll): New fun.
6762 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6764         * emacs-lisp/package.el (list-packages): Alias for
6765         package-list-packages.
6767 2010-08-24  Kevin Ryde  <user42@zip.com.au>
6769         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6770         (Bug#5651).
6772         * progmodes/ruby-mode.el (ruby): Add defgroup.
6774 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6776         * progmodes/python.el: Add Ipython support (Bug#5390).
6777         (python-shell-prompt-alist)
6778         (python-shell-continuation-prompt-alist): New options.
6779         (python--set-prompt-regexp): New function.
6780         (inferior-python-mode, run-python, python-shell):
6781         Require ansi-color.  Use python--set-prompt-regexp to set the comint
6782         prompt based on the Python interpreter.
6783         (python--prompt-regexp): New var.
6784         (python-check-comint-prompt)
6785         (python-comint-output-filter-function): Use it.
6786         (run-python): Use a pipe (Bug#5694).
6788 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
6790         * progmodes/python.el (python-send-region): Send a different
6791         Python command if Ipython is in use.
6792         (python-check-version): Use a Python command to find the version.
6794 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6796         * mouse.el (mouse-yank-primary): Avoid setting primary when
6797         deactivating the mark (Bug#6872).
6799 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
6801         * progmodes/python.el (python-block-pairs): Allow use of "finally"
6802         with "else" (Bug#3991).
6804 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
6806         * net/dbus.el: Accept UNIX domain sockets as bus address.
6807         (top): Don't initialize `dbus-registered-objects-table' anymore,
6808         this is done in dbusbind,c.
6809         (dbus-check-event): Adapt test for bus.
6810         (dbus-return-values-table, dbus-unregister-service)
6811         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6812         Adapt doc string.
6814 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
6816         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6818 2010-08-22  Juri Linkov  <juri@jurta.org>
6820         * simple.el (read-extended-command): New function with the logic
6821         for `completing-read' moved to Elisp from `execute-extended-command'.
6822         Use `function-called-at-point' in `minibuffer-default-add-function'
6823         to get a command name for M-n (bug#5364, bug#5214).
6825 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6827         * startup.el (command-line-1): Issue warning for ignored arguments
6828         --unibyte, etc (Bug#6886).
6830 2010-08-22  Leo  <sdl.web@gmail.com>
6832         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6833         (ignore, bright, dim, keyword): Split list of nicknames before
6834         passing to rcirc-add-or-remove (Bug#6894).
6836 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6838         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6840 2010-08-22  Leo  <sdl.web@gmail.com>
6842         Fix buffer-list rename&refresh after killing a buffer in ido.
6843         * ido.el: Revert Óscar's.
6844         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6845         Remember the buffers at head, rather than their name.
6846         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6848 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
6849             Stefan Monnier  <monnier@iro.umontreal.ca>
6851         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6852         extra backslash added to each line (bug#6890).
6854 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6856         * subr.el (read-key): Don't echo keystrokes (bug#6883).
6858 2010-08-22  Glenn Morris  <rgm@gnu.org>
6860         * menu-bar.el (menu-bar-games-menu): Add landmark.
6862 2010-08-22  Glenn Morris  <rgm@gnu.org>
6864         * align.el (align-regexp): Make group and spacing arguments
6865         use the interactive defaults when non-interactive.  (Bug#6698)
6867         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6868         expansion, so as not to need sendmail.
6869         (mail-text-start): Remove declaration.
6870         (rmail-retry-failure): Require sendmail.
6872 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6874         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6876 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
6878         * progmodes/flymake.el (flymake-start-syntax-check-process):
6879         Use `start-file-process' in order to let it run also on remote hosts.
6881 2010-08-22  Kenichi Handa  <handa@m17n.org>
6883         * files.el: Add `word-wrap' as safe local variable.
6885 2010-08-22  Glenn Morris  <rgm@gnu.org>
6887         * woman.el (woman-translate): Case matters.  (Bug#6849)
6889 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6891         * simple.el (kill-region): Doc fix (Bug#6787).
6893 2010-08-22  Glenn Morris  <rgm@gnu.org>
6895         * calendar/diary-lib.el (diary-header-line-format):
6896         Fit it to the window, not the frame.
6898 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
6900         * subr.el (ignore-errors): Add debug declaration.
6902 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
6904         * whitespace.el (whitespace-color-off): Remove post-command-hook
6905         locally.
6907 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6909         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6911 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6913         * cus-edit.el (custom-group-value-create): Add extra newline
6914         before end line (Bug#6876).
6916 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6918         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6919         when extending it.  Before killing on the second click, check if
6920         the buffer is the correct one.  Doc fix.
6921         (mouse-secondary-save-then-kill): Allow usage without first
6922         calling mouse-start-secondary, by defaulting to point.  Don't save
6923         an empty secondary selection.  Doc fix.
6925 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6927         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
6928         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6929         New version 13.0.
6930         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6931         Adjust initialization.
6932         (whitespace-bob-marker, whitespace-eob-marker)
6933         (whitespace-buffer-changed): New vars.
6934         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6935         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6936         (whitespace-post-command-hook, whitespace-display-char-on):
6937         Adjust code.
6938         (whitespace-looking-back, whitespace-buffer-changed): New funs.
6939         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6941 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6943         * files.el (locate-file-completion-table): Only list the .el and .elc
6944         extensions if there's no other choice (bug#5955).
6946         * facemenu.el (facemenu-self-insert-data): New var.
6947         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6948         New functions.
6949         (facemenu-add-face): Use them.
6951         * simple.el (blink-matching-open): Obey forward-sexp-function.
6953 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6955         * simple.el (prog-mode-map): New var.
6956         (prog-indent-sexp): New command.
6958         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6960         * progmodes/prolog.el (smie): Require.
6962         * emacs-lisp/smie.el (smie-default-backward-token)
6963         (smie-default-forward-token): Strip properties.
6964         (smie-next-sexp): Be more careful with associative operators.
6965         (smie-forward-sexp-command): Generalize.
6966         (smie-backward-sexp-command): Simplify.
6967         (smie-closer-alist): New var.
6968         (smie-close-block): New command.
6969         (smie-indent-debug-log): New var.
6970         (smie-indent-offset-rule): Add a few more cases.
6971         (smie-indent-column): New function.
6972         (smie-indent-after-keyword): Use it.
6973         (smie-indent-keyword): Use it.
6974         Fix up the opener code's point position.
6975         (smie-indent-comment): Only applies at BOL.
6976         (smie-indent-debug): New command.
6978         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6979         declarations that are useful before running the macro.
6981 2010-08-18  Joakim Verona  <joakim@verona.se>
6983         * image.el (imagemagick-types-inhibit): New variable.
6984         (imagemagick-register-types): New function.
6985         * image-mode.el (image-transform-properties): New function.
6986         (image-transform-set-scale, image-transform-fit-to-height)
6987         (image-transform-set-rotation, image-transform-set-resize)
6988         (image-transform-fit-to-width, image-transform-fit-to-height):
6989         New functions.
6990         (image-toggle-display-image): Support image transforms.
6992 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
6994         * image.el (create-animated-image): Don't add heuristic mask to image
6995         (Bug#6839).
6997 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
6999         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7000         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7002 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7004         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7006         Font-lock '...' strings, plus various simplifications and fixes.
7007         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7008         (octave-font-lock-close-quotes): New function.
7009         (octave-font-lock-syntactic-keywords): New var.
7010         (octave-mode): Use it.  Set beginning-of-defun-function.
7011         (octave-mode-map): Don't override the <foo>-defun commands.
7012         (octave-mode-menu): Pass it directly to easy-menu-define;
7013         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7014         (octave-block-match-alist): Fix up last change so that
7015         octave-close-block uses the more specific keyword.
7016         (info-lookup-mode): Silence byte-compiler.
7017         (octave-beginning-of-defun): Not interactive any more.
7018         Optimize slightly.
7019         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7020         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7021         (octave-completion-at-point-function): Make sure point is within
7022         beg..end.
7023         (octave-reindent-then-newline-and-indent):
7024         Use reindent-then-newline-and-indent.
7025         (octave-add-octave-menu): Remove.
7027 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
7029         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7030         (report-emacs-bug-can-use-xdg-email): New functions.
7031         (report-emacs-bug): Set can-xdg-email to result of
7032         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
7033         \C-cm to report-emacs-bug-insert-to-mailer and add help text
7034         about it.
7036         * net/browse-url.el (browse-url-default-browser): Add cond
7037         for browse-url-xdg-open.
7038         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7040 2010-08-17  Glenn Morris  <rgm@gnu.org>
7042         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7043         (c-fontify-recorded-types-and-refs): Define for compiler.
7044         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7045         before use.
7047         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7048         Fix format call.
7050 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
7052         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7053         properties.
7054         (tramp-handle-process-file): Call the program in a subshell, in
7055         order to preserve working directory.
7056         (tramp-action-password): Hide password prompt before next run.
7057         (tramp-process-actions): Widen connection buffer for the trace.
7059 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7061         * net/rcirc.el (rcirc-log-process-buffers): New option.
7062         (rcirc-print): Use it.
7063         (rcirc-generate-log-filename): New function.
7064         (rcirc-log-filename-function): Change default to
7065         rcirc-generate-log-filename (Bug#6828).
7067 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
7069         * simple.el (deactivate-mark): If select-active-regions is `only',
7070         only set selection for temporarily active regions.
7072         * cus-start.el: Change defcustom for select-active-regions.
7074 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7076         * mouse.el (mouse--drag-set-mark-and-point): New function.
7077         (mouse-drag-track): Use LOCATION arg to push-mark.
7078         Use mouse--drag-set-mark-and-point to take click-count into
7079         consideration when updating point and mark (Bug#6840).
7081 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7083         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7084         Give the Ruby rule a lower priority than Gnu (Bug#6778).
7086 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7088         * font-lock.el (lisp-font-lock-keywords-2):
7089         Add combine-after-change-calls, condition-case-no-debug,
7090         with-demoted-errors, and with-silent-modifications (Bug#6025).
7092 2010-08-14  Kevin Ryde  <user42@zip.com.au>
7094         * emacs-lisp/copyright.el (copyright-update-year)
7095         (copyright-update): Temporary switch-to-buffer to ensure the
7096         buffer change being queried is visible (Bug#5394).
7098 2010-08-14  Tom Tromey  <tromey@redhat.com>
7100         * progmodes/etags.el (tags-file-name): Mark safe if stringp
7101         (Bug#6733).
7103 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
7105         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7106         MS-DOS.  (Bug#6689)
7108 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
7110         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7111         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7112         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7113         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7114         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7115         Call menu-bar-set-tool-bar-position.
7117 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7119         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7120         comment style (bug#6834).
7121         * progmodes/scheme.el (scheme-mode-syntax-table):
7122         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7123         "b" flag in "' 14b" syntax.
7125         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7126         for (un)commenting the region and performing completion.
7127         (octave-mode-menu): Use standard commands for help and completion.
7128         (octave-mode-syntax-table): Support %{..%} comments (sort of).
7129         (octave-mode): Use define-derived-mode.
7130         Set completion-at-point-functions and don't set columns.
7131         Don't disable adaptive-fill-regexp.
7132         (octave-describe-major-mode, octave-comment-region)
7133         (octave-uncomment-region, octave-comment-indent)
7134         (octave-indent-for-comment): Remove.
7135         (octave-indent-calculate): Rename from calculate-octave-indent.
7136         (octave-indent-line, octave-fill-paragraph): Update caller.
7137         (octave-initialize-completions): No need to make an alist.
7138         (octave-completion-at-point-function): New function.
7139         (octave-complete-symbol): Use it.
7140         (octave-insert-defun): Use define-skeleton.
7142         * progmodes/octave-mod.el (octave-mode): Set comment-add.
7143         (octave-mode-map): Use comment-dwim (bug#6829).
7145 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
7147         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7148         indentation of inserted comment.
7150 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
7152         * faces.el (region): Add type gtk that uses gtk colors.
7154         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7155         Handle theme-name change.
7157 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
7159         * progmodes/sql.el: Version 2.5
7160         (sql-product-alist): Add :prompt-cont-regexp property for several
7161         database products.
7162         (sql-prompt-cont-regexp): New variable.
7163         (sql-output-newline-count, sql-output-by-send):
7164         New variables.  Record number of newlines in input text.
7165         (sql-send-string): Handle multiple filters and count newlines.
7166         (sql-send-magic-terminator): Count terminator newline.
7167         (sql-interactive-remove-continuation-prompt): Filters output to
7168         remove continuation prompts; one for each newline.
7169         (sql-interactive-mode): Set up new variables, prompt regexp and
7170         output filter.
7171         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7172         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7174 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7176         * emacs-lisp/pcase.el: New file.
7178 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
7180         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7181         as here-document, otherwise the command could exceed maximum
7182         length of command line.
7183         (tramp-handle-vc-registered): Call script accordingly.
7184         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7186 2010-08-10  Kenichi Handa  <handa@m17n.org>
7188         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7189         composable pattern.
7191 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
7193         * emacs-lisp/package.el (package-version-split)
7194         (package--version-first-nonzero, package-version-compare):
7195         Functions removed.
7196         (package-directory-list, package-load-all-descriptors)
7197         (package--built-in, package-activate, define-package)
7198         (package-installed-p, package-compute-transaction)
7199         (package-read-all-archive-contents)
7200         (package--add-to-archive-contents, package-buffer-info)
7201         (package-tar-file-info, package-list-packages-internal):
7202         Use version-to-list and version-list-*.
7204         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7205         Use version-to-list.
7206         (package-upload-buffer-internal): Use version-list-<=.
7208 2010-08-09  Kenichi Handa  <handa@m17n.org>
7210         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7211         composable pattern.
7213 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
7215         * tutorial.el (tutorial--default-keys): C-d is now bound to
7216         delete-forward-char (Bug#6826).
7218         * mouse.el (mouse-drag-track): Remove accidentally-removed check
7219         for `double' value of mouse-1-click-follows-link (Bug#6807).
7221 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
7223         * replace.el (replace-highlight): Bind isearch-forward and
7224         isearch-error, ensuring that highlighting is updated if the user
7225         switches the search direction (Bug#6808).
7227         * isearch.el (isearch-lazy-highlight-forward): New var.
7228         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7229         (isearch-lazy-highlight-update): Use it.
7231 2010-08-08  Kenichi Handa  <handa@m17n.org>
7233         * international/mule.el (define-charset): Store NAME as :base property.
7234         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7235         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7236         current priority.  Force using the designation of the specific
7237         charset by adding `charset' text property.  Improve the whole algorithm.
7239 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7241         * emulation/pc-select.el (pc-selection-mode-hook)
7242         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7243         (pc-selection-mode): Fix typos in docstrings.
7245 2010-08-08  Kenichi Handa  <handa@m17n.org>
7247         * language/cyrillic.el: Don't add "microsoft-cp1251" to
7248         ctext-non-standard-encodings-alist here.
7250         * international/mule.el (ctext-non-standard-encodings-alist):
7251         Add "koi8-r" and "microsoft-cp1251".
7252         (ctext-standard-encodings): New variable.
7253         (ctext-non-standard-encodings-table): List only elements for
7254         non-standard encodings.
7255         (ctext-pre-write-conversion): Adjust for the above change.
7256         Check ctext-standard-encodings.
7258         * international/mule-conf.el (compound-text): Doc fix.
7259         (ctext-no-compositions): Doc fix.
7260         (compound-text-with-extensions): Doc fix.
7262 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7264         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7266 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7268         * progmodes/which-func.el (which-func-format): Split help-echo text
7269         into lines, like other mode-line tooltips.
7271         * server.el (server-start): When using TCP sockets, force IPv4
7272         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
7274 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7276         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7278 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7280         * term.el (term-delimiter-argument-list): Reflow docstring.
7281         (term-read-input-ring, term-write-input-ring, term-send-input)
7282         (term-bol, term-erase-in-display, serial-supported-or-barf):
7283         Fix typos in docstrings.
7285 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7287         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7289 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7291         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7293 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
7295         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7296         Fix typo in docstring (bug#6747).
7298 2010-08-08  Leo  <sdl.web@gmail.com>
7300         * eshell/esh-io.el (eshell-get-target): Better detection of
7301         read-only file (Bug#6762).
7303 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7305         * align.el (align-default-spacing): Doc fix.
7306         (align-region-heuristic, align-regexp): Fix typos in docstrings.
7308 2010-08-08  Stephen Peters  <speters@itasoftware.com>
7310         * calendar/icalendar.el
7311         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
7312         (icalendar--get-weekday-numbers): New.
7313         (icalendar--convert-recurring-to-diary): Handle multiple byday
7314         values in weekly rules.  (Bug#6766)
7316 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
7318         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7319         (icalendar--create-uid, icalendar-export-region)
7320         (icalendar--parse-summary-and-rest): Code formatting.
7322 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
7324         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7325         to italicize headers.
7326         (calc-highlight-selections-with-faces): New variable.
7327         (calc-selected-face, calc-nonselected-face): New faces.
7329         * calc/calccomp.el (math-comp-highlight-string): Use
7330         `calc-highlight-selections-with-faces' to determine how to highlight
7331         sub-formulas.
7333         * calc/calc-sel.el (calc-show-selections): Change message to when
7334         using faces to highlight selections.
7336 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
7338         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7339         Add SQLite 3 keywords, functions and datatypes.
7340         (sql-interactive-mode): Remove `comint-process-echoes' set to t
7341         (Bug#6686).
7343 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
7345         * simple.el (select-active-regions): Move to keyboard.c.
7346         (deactivate-mark): Used saved-region-selection.
7347         (select-active-region): Function removed.
7348         (activate-mark, set-mark, push-mark-command)
7349         (handle-shift-selection): Don't call it.
7350         (keyboard-quit): Avoid adding the region to the window selection.
7352         * mouse.el (mouse-drag-track): Remove hacks to deal with old
7353         select-active-regions implementation.
7354         (mouse-yank-at-click): Doc fix.
7356         * cus-start.el: Add custom declaration for select-active-regions.
7358 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
7360         * simple.el (delete-forward-char): Doc fix.
7362         * tutorial.el (help-with-tutorial): Hack safe file-local variables
7363         after reading the tutorial.
7365 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
7367         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7368         Fix for the case that a C style comment has its delimiters alone on
7369         their respective lines.
7371 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
7373         * net/tramp.el (tramp-handle-start-file-process): Set connection
7374         property "vec".
7375         (tramp-process-sentinel): Use it for flushing the cache.
7376         We cannot do it via the process buffer, the buffer could be deleted
7377         already when running the sentinel.
7379 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
7381         * comint.el (comint-mode): Make directory tracking functions
7382         functional on remote files.  (Bug#6764)
7384 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
7386         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7388 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
7390         * emacs-lisp/find-gc.el (find-gc-source-files):
7391         Rename unexec.c => unexcoff.c.
7393         * emacs-lisp/authors.el (authors-fixed-entries):
7394         Rename unexec.c => unexcoff.c.
7396 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
7398         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7399         cache, not only file cache.
7400         (tramp-process-sentinel): New defun.
7401         (tramp-handle-start-file-process): Use it, in order to invalidate
7402         file caches.
7404 2010-08-03  Leo  <sdl.web@gmail.com>
7406         * server.el (server-start): Simplify loop.
7408 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7410         * frame.el (screen-height, screen-width, set-screen-width)
7411         (set-screen-height): Remove ancient compatibility aliases.
7413         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7414         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
7416         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7417         that change current buffer.
7419 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7421         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7422         beginning of the string.  Use `string-match-p'.  (Bug#6765)
7424 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
7426         * cus-start.el (x-gtk-use-system-tooltips): New variable.
7428 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
7430         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7431         (package--builtins): Tweak descriptions.
7432         (package-print-package): Upcase descriptions if necessary.
7433         Show all built-in packages in font-lock-builtin-face.
7434         (package-list-packages-internal): Omit "emacs" package.
7435         Show status of built-in packages as "built-in".
7437 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
7439         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
7440         before killing to preserve the primary selection (Bug#6701).
7442         * term/x-win.el (x-select-text): Doc fix.
7444 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
7446         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7447         (objc-font-lock-extra-types):
7448         * progmodes/cc-mode.el (c-basic-common-init):
7449         * progmodes/cc-langs.el (c-make-mode-syntax-table)
7450         (c++-make-template-syntax-table)
7451         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7452         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7453         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7454         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7455         * progmodes/cc-fonts.el (c-make-inverse-face)
7456         (c-basic-matchers-after):
7457         * progmodes/cc-engine.el (c-forward-keyword-clause)
7458         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7459         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7460         (c-guess-continued-construct, c-guess-basic-syntax):
7461         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7462         The above functions were modified or created.
7464 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
7466         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7468 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
7470         * files.el (bidi-paragraph-direction): Define safe local values.
7472         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7473         language-info-alist.  Remove outdated FIXME in a comment.
7475 2010-07-31  Alan Mackenzie  <acm@muc.de>
7477         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7478         Auto-fill broken in C/C++ modes.
7480 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
7482         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7483         (menu-bar-showhide-tool-bar-menu-customize-disable)
7484         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7485         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7486         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7487         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7488         make a menu for Options => toolbar that can move it.
7490 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
7492         * emacs-lisp/package-x.el (package--make-rss-entry):
7493         (package-maint-add-news-item, package--update-news)
7494         (package-upload-buffer-internal): New arg ARCHIVE-URL.
7496         * emacs-lisp/package.el (package-archive-url): Rename from
7497         package-archive-id.
7498         (package-install): Doc fix.
7499         (package-download-single, package-download-tar, package-install)
7500         (package-menu-view-commentary): Callers changed.
7502 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
7504         * net/tramp.el (tramp-handle-start-file-process): Check only for
7505         `remote-tty' process property.
7506         (tramp-open-shell): Don't check for tty.
7507         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7508         process property.
7510         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7511         host.
7513 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
7515         * emacs-lisp/package.el (package-load-list, package-archives)
7516         (package-archive-contents, package-user-dir)
7517         (package-directory-list, package--builtins, package-alist)
7518         (package-activated-list, package-obsolete-alist): Mark as risky.
7520 2010-07-28  Phil Hagelberg  <phil@evri.com>
7522         Add support for non-default package repositories.
7523         * emacs-lisp/package.el (package-archive-base): Var deleted.
7524         (package-archives): New variable.
7525         (package-archive-contents): Doc fix.
7526         (package-load-descriptor): Do nothing if descriptor file is missing.
7527         (package--write-file-no-coding): New function.
7528         (package-unpack-single): Use it.
7529         (package-archive-id): New function.
7530         (package-download-single, package-download-tar)
7531         (package-menu-view-commentary): Use it.
7532         (package-installed-p): Make second argument optional.
7533         (package-read-all-archive-contents): New function.
7534         (package-initialize): Use it.
7535         (package-read-archive-contents): Add ARCHIVE argument.
7536         (package--add-to-archive-contents): New function.
7537         (package-install): Don't call package-read-archive-contents.
7538         (package--download-one-archive): Store archive file in a
7539         subdirectory of package-user-dir.
7540         (package-menu-execute): Remove spurious line movement.
7542 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
7544         * cus-start.el (tool-bar-style): Add text-image-horiz.
7546 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
7548         * progmodes/gud.el (gud-common-init): Check for remoteness of
7549         `file', and not of `default-directory'.
7551 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
7553         * net/tramp.el (tramp-methods): Move hostname to the end in all
7554         ssh `tramp-login-args'.
7555         (tramp-verbose): Describe verbose level 9.
7556         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7557         (tramp-open-connection-setup-interactive-shell): Trace stty
7558         settings if `tramp-verbose' >= 9.
7559         (tramp-handle-start-file-process): Implement tty setting.
7560         (Bug#4604, Bug#6360)
7562         * net/tramp-cmds.el (tramp-bug): Recommend setting of
7563         `tramp-verbose' to 9.
7565 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
7567         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7568         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7569         Remove references to package `lisp-re' (bug#4369).
7571 2010-07-27  Tom Tromey  <tromey@redhat.com>
7573         * progmodes/js.el (js-mode):
7574         * progmodes/make-mode.el (makefile-mode):
7575         * progmodes/simula.el (simula-mode):
7576         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7578 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
7580         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7582         * time.el (display-time-day-and-date): Remove spurious * in docstring.
7583         (display-time-world-buffer-name, display-time-world-mode-map):
7584         Fix typos in docstrings.
7586 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
7588         * image-mode.el (image-display-size): New function.
7589         (image-forward-hscroll, image-next-line, image-eol, image-eob)
7590         (image-mode-fit-frame): Use it (Bug#6639).
7592 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
7594         * dired.el (dired-buffers-for-dir): Handle list values of
7595         dired-directory (Bug#6636).
7597 2010-07-26  Sam Steingold  <sds@gnu.org>
7599         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7600         Do not call `x-get-selection' the second time, reuse the value.
7602 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
7604         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7605         which consist of control chars only.  Suggested by Richard Stallman.
7607 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
7609         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7610         exists before passing an error to find-file-not-found-functions
7611         (bug#6723).
7613 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
7615         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7616         Remove leading nil element, adjust values.
7617         (tetris-shapes, tetris-shape-scores):
7618         Change representation of shapes and remove some redundancy.
7619         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7620         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7621         Adjust for working with new representation of shapes.
7622         (tetris-shape-rotations): New function.
7623         (tetris-move-bottom, tetris-move-left, tetris-move-right)
7624         (tetris-rotate-prev, tetris-rotate-next):
7625         Adjust for working with the new version of tetris-test-shape.
7627 2010-07-23  Markus Triska  <markus.triska@gmx.at>
7629         * progmodes/ps-mode.el: Use comint (bug#5954).
7630         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7631         (ps-mode-other-newline): Simplify.
7632         (ps-run-mode): Derive from comint-mode instead of
7633         fundamental-mode, yielding input history etc.
7634         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7635         (ps-run-send-string): Adapt for comint-mode.
7636         (ps-run-newline): Remove now unneeded function.
7638 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7640         * net/tramp.el (tramp-methods): Move hostname to the end in all
7641         plink `tramp-login-args'.
7643 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7645         * net/tramp.el (tramp-open-shell): New defun.
7646         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7647         Use it.
7649 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7651         * net/tramp.el (tramp-file-name-regexp-unified)
7652         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7653         not regard the volume letter as remote filename.  (Bug#5447)
7655 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
7657         * custom.el (custom-declare-variable): Give a clearer error message
7658         when the docstring is missing (bug#6476).
7660 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
7662         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
7663         (sql-login-params): New widget definition.
7664         (sql-oracle-login-params, sql-mysql-login-params)
7665         (sql-solid-login-params, sql-sybase-login-params)
7666         (sql-informix-login-params, sql-ingres-login-params)
7667         (sql-ms-login-params, sql-postgres-login-params)
7668         (sql-interbase-login-params, sql-db2-login-params)
7669         (sql-linter-login-params): Use it.
7670         (sql-sqlite-login-params): Use it; Define "database" parameter as
7671         a file name.
7672         (sql-sqlite-program): Change to "sqlite3".
7673         (sql-comint-sqlite): Make sure database name is complete.
7674         (sql-for-each-login): New function.
7675         (sql-connect, sql-save-connection): Use it.
7676         (sql-get-login-ext): New function.
7677         (sql-get-login): Use it.
7678         (sql-make-alternate-buffer-name): Handle :file parameters.
7680 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
7682         * dired.el (dired-no-confirm): Document value t and fix defcustom to
7683         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
7685 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
7687         * dired.el (dired-mode-map): Use command remapping (bug#6632).
7689 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
7691         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7693 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
7695         * net/tramp.el (tramp-get-ls-command)
7696         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7697         instead of "/".
7699 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
7701         * progmodes/sql.el: Version 2.3.
7702         (sql-connection-alist): Change keys from symbols to strings;
7703         enhanced the widget definition.
7704         (sql-mode-menu): Add submenu to select connections.
7705         (sql-interactive-mode-menu): Add "Save Connection" item.
7706         (sql-add-product): Fix menu item.
7707         (sql-get-product-feature): Improved error handling.
7708         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7709         (sql-make-alternate-buffer-name): Simplified.
7710         (sql-product-interactive): Handle missing product.
7711         (sql-connect): Support string keys, minor improvements.
7712         (sql-save-connection): New function.
7713         (sql-connection-menu-filter): New function.
7715 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7717         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7718         (tramp-open-connection-setup-interactive-shell):
7719         Apply workaround for IRIX64 bug.  Move argument of last
7720         `tramp-send-command' where it belongs to.
7722 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7724         * net/tramp.el (tramp-perl-file-attributes)
7725         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7726         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7727         front of `login-args'.
7729 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
7731         * time.el (display-time-world-mode): Define with `define-derived-mode'.
7732         Set `show-trailing-whitespace' to nil.
7733         (display-time-world-display): Simplify.
7735 2010-07-18  Alan Mackenzie  <acm@muc.de>
7737         Enhance `c-file-style' in file/directory local variables.
7738         * progmodes/cc-mode.el (c-count-cfss): New function.
7739         (c-before-hack-hook): Call `c-set-style' differently according to
7740         whether c-file-style was set in file or directory local
7741         variables.
7743 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
7745         * progmodes/sql.el: Version 2.2.
7746         (sql-product, sql-user, sql-database, sql-server, sql-port):
7747         Use defcustom :safe keyword rather than putting safe-local-variable
7748         property.
7749         (sql-password): Use defcustom :risky keyword rather than putting
7750         risky-local-variable property.
7751         (sql-oracle-login-params, sql-sqlite-login-params)
7752         (sql-solid-login-params, sql-sybase-login-params)
7753         (sql-informix-login-params, sql-ingres-login-params)
7754         (sql-ms-login-params, sql-postgres-login-params)
7755         (sql-interbase-login-params, sql-db2-login-params)
7756         (sql-linter-login-params): Add `port' option.
7757         (sql-get-product-feature): Add NO-INDIRECT parameter.
7758         (sql-comint-oracle, sql-comint-sybase)
7759         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7760         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7761         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7762         (sql-comint-linter): Rename sql-connect-* functions to
7763         sql-comint-*.
7764         (sql-product-alist, sql-mode-menu): Rename as above and
7765         :sqli-connect-func to :sqli-comint-func.
7766         (sql-connection): New variable.
7767         (sql-interactive-mode): Set it.
7768         (sql-connection-alist): New variable.
7769         (sql-connect): New function.
7770         (sql--alt-buffer-part, sql--alt-if-not-empty)
7771         (sql-make-alternate-buffer-name): Improved alternative buffer name.
7773 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7775         * image-mode.el (image-bookmark-make-record): Do not set context
7776         in an image (Bug#6650).
7778 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7780         * simple.el (select-active-region): New function.
7781         (push-mark-command, set-mark, activate-mark)
7782         (handle-shift-selection): Use it.
7783         (deactivate-mark): Don't check for size of region.
7785         * mouse.el (mouse-drag-track): Use select-active-region.
7787 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
7789         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7790         "--dired" stronger.
7792 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7794         * term/x-win.el (x-select-enable-primary): Change default to nil.
7795         (x-select-enable-clipboard): Add :version keyword.
7797         * mouse.el (mouse-drag-copy-region):
7798         * simple.el (select-active-regions): Likewise.
7800 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
7802         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7803         (vc-coding-system-for-diff): Use it to decide whether to inherit
7804         from the file the EOL format for reading the diffs of that file.
7805         (Bug#4451)
7807 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
7809         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7810         unibyte, so compressed attachments are not compressed again.
7812 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
7814         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7815         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7816         (tramp-find-shell): Simplify setting connection property.
7817         (tramp-get-ls-command): Make test for "--color=never" stronger.
7819 2010-07-15  Simon South  <ssouth@member.fsf.org>
7821         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7822         blocks within record declarations (i.e. variant parts) correctly.
7824 2010-07-15  Simon South  <ssouth@member.fsf.org>
7826         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7827         over literal tokens when parsing so newlines aren't "absorbed" by
7828         single-line comments.  Corrects the indentation of case blocks
7829         that have a comment on the first line.
7831 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
7833         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7834         by Drew Adams (Bug#5504).
7836 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7838         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7839         now that Unicode is used (Bug#6594).
7841 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
7843         * term/x-win.el (x-select-enable-clipboard): Default to t.
7844         (x-initialize-window-system): Don't overwrite Paste menu item.
7846         * simple.el (select-active-regions): Default to t.
7847         (push-mark-command): Don't overwrite primary with empty string.
7849         * mouse.el: Bind mouse-2 to mouse-yank-primary.
7850         (mouse-drag-copy-region): Default to nil.
7852         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7853         Cut/Copy/Paste menu bar items.
7855 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7857         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7858         Patch applied by Karl Fogel.
7860         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7861         and `bookmark-current-buffer' if they have been already set in
7862         another buffer (e.g gnus-art).
7864 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7865             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7867         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7869         * bookmark.el (bookmark-make-record-default): Allow unneeded
7870         information to be omitted from the record.
7872         Adjust declarations and calls:
7874         * info.el (bookmark-make-record-default): Adjust declaration.
7875         (Info-bookmark-make-record): Adjust call.
7877         * woman.el (bookmark-make-record-default): Adjust declaration.
7878         (woman-bookmark-make-record): Adjust call.
7880         * man.el (bookmark-make-record-default): Adjust declaration.
7881         (Man-bookmark-make-record): Adjust call.
7883         * image-mode.el (bookmark-make-record-default): Adjust declaration.
7885         * doc-view.el (bookmark-make-record-default): Adjust declaration.
7887 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7889         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7890         This is also from Thierry Volpiatto's patch in bug #6444.  However,
7891         because it was extraneous to the functional change in that patch,
7892         and causes a re-indendation, I am committing it separately.
7894 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7896         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7897         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7898         Patch applied by Karl Fogel (Bug#6444).
7900 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
7902         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7904 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
7906         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7907         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
7908         (ns-alternatives-map): Change S-tab binding to backtab
7909         (bug#6616).
7911         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7912         under ns.
7914 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7916         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7917         (Bug#5806)
7919         * language/tv-util.el (tai-viet-re): Remove format.
7921 2010-07-12  Kenichi Handa  <handa@m17n.org>
7923         * language/hebrew.el: Remove no-byte-compile declaration.
7924         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
7925         composition-function-table for 3-character looking back.
7926         (hebrew-font-get-precomposed): New function.
7927         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7929 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
7931         * mouse.el (mouse-drag-track): Handle select-active-regions
7932         (Bug#6612).
7934 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
7936         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7937         empty argument to gvfs-copy.
7939 2010-07-10  Glenn Morris  <rgm@gnu.org>
7941         * calendar/calendar.el (calendar-week-end-day): New function.
7942         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7943         Respect calendar-week-start-day.  (Bug#6606)
7944         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7945         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7946         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7947         respect calendar-week-start-day.
7949 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
7951         * simple.el (use-region-p): Doc fix (Bug#6607).
7953 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
7955         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7956         Add regexps for cucumber and ruby.
7958 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
7960         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7961         (epa-file-insert-file-contents): Hack to prevent
7962         find-file from opening empty buffer when decryption failed
7963         (bug#6568).
7965 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
7967         * textmodes/ispell.el (ispell-alternate-dictionary):
7968         Use file-readable-p.
7969         Return nil if no word-list is found at default locations.
7970         (ispell-complete-word-dict): Default to nil.
7971         (ispell-command-loop): Use 'word-list' when using lookup-words.
7972         (lookup-words): Use ispell-complete-word-dict or
7973         ispell-alternate-dictionary.  Check for word-list availability
7974         and handle errors if needed with better messages (Bug#6539).
7975         (ispell-complete-word): Use ispell-complete-word-dict or
7976         ispell-alternate-dictionary.
7978 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
7980         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7981         builtins (BufferError, BytesWarning, WindowsError; callables
7982         bin, bytearray, bytes, format, memoryview, next, print; __package__).
7984 2010-07-07  Glenn Morris  <rgm@gnu.org>
7986         * play/zone.el (top-level): Do not require timer, tabify, or cl.
7987         (zone-shift-left): Ignore intangibility, and any errors from
7988         forward-char.
7989         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
7990         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7991         deleting, and copying text properties.
7992         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7993         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7994         to point-max is hard.
7995         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7996         (zone-fill-out-screen): Ignore intangibility.
7998 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
8000         * menu-bar.el (menu-bar-mode):
8001         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8002         if it has been set.
8004         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8005         word/line selection (Bug#6565).
8007 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
8009         * net/dbus.el (dbus-send-signal): Declare function.
8011 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
8013         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8014         (dbus-register-property): New optional argument EMITS-SIGNAL.
8015         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8017 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
8019         * mouse.el (mouse-drag-overlay): Variable deleted.
8020         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8021         (mouse--remap-link-click-p): New function.
8022         (mouse-drag-track): Handle dragging by using temporary Transient
8023         Mark mode, instead of a special overlay.
8024         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8025         mouse-show-mark.
8027         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8028         deleted.
8030 2010-07-02  Juri Linkov  <juri@jurta.org>
8032         * autoinsert.el (auto-insert-alist): Fix readability
8033         by using dotted pair notation for lambda.
8035 2010-07-02  Juri Linkov  <juri@jurta.org>
8037         * faces.el (read-face-name): Rename arg `string-describing-default'
8038         to `default'.  Doc fix.  Display the default value in quotes
8039         in the prompt.  With empty input, return the `default' arg,
8040         unless the default value is a string (in which case return nil).
8041         (describe-face): Replace the string `default' arg of `read-face-name'
8042         with the symbol `default'.
8044 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
8046         * emulation/viper-cmd.el (viper-delete-backward-char)
8047         (viper-del-backward-char-in-insert)
8048         (viper-del-backward-char-in-replace, viper-change)
8049         (viper-backward-indent): Replace delete-backward-char with
8050         delete-char (Bug#6552).
8052 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
8054         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8056 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8058         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8059         argument passed to frame-creation-function (Bug#5378).
8061         * faces.el (x-handle-named-frame-geometry)
8062         (x-handle-reverse-video, x-create-frame-with-faces)
8063         (face-set-after-frame-default, tty-create-frame-with-faces):
8064         Don't separately consult default-frame-alist.  It is now passed as the
8065         PARAMETER argument.
8067 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
8069         * startup.el (command-line): Don't call tool-bar-setup in a
8070         tty-only build.
8072 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8074         * ruler-mode.el (ruler--save-header-line-format): New fun.
8075         (ruler-mode): Use it as a setter function, so as not to overwrite
8076         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8078 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
8080         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
8081         (vc-root-diff, vc-print-root-log, vc-log-incoming)
8082         (vc-log-outgoing): Use it.
8083         (vc-diff-internal): Set diff-vc-backend.
8085         * vc/diff-mode.el (diff-vc-backend): New var.
8087 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
8089         * dynamic-setting.el (font-setting-change-default-font):
8090         Remove call to message.
8092 2010-06-28  Kenichi Handa  <handa@m17n.org>
8094         * international/quail.el (quail-insert-kbd-layout): Fix the
8095         showing of untranslated characters.
8097 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
8099         * simple.el (delete-active-region): New option.
8100         (delete-backward-char): Implement in Lisp.
8101         (delete-forward-char): New command.
8103         * mouse.el (mouse-region-delete-keys): Deleted.
8104         (mouse-show-mark): Simplify.
8106         * bindings.el (global-map): Bind delete and DEL, the former to
8107         delete-forward-char.
8109 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
8111         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8112         (ruby-mode): Bind indent-line-function (Bug#5119).
8114 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8116         * startup.el (command-line): Recognize "0" X resource value.
8118 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8120         * startup.el (command-line): Use X resources to set the value of
8121         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8123         * menu-bar.el (menu-bar-mode):
8124         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8125         Set init-value to t.
8127         * frame.el (frame-notice-user-settings): Don't change
8128         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8129         vice versa (Bug#2249).
8131 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
8133         * w32-fns.el (w32-convert-standard-filename): Doc fix.
8135 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
8137         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8138         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8140         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8141         default directories are expanded (Bug#6143).
8143 2010-06-24  Juri Linkov  <juri@jurta.org>
8145         * minibuffer.el (completions-format): Change default from nil to
8146         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
8148 2010-06-24  Juri Linkov  <juri@jurta.org>
8150         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8151         buffer-locally to lambda that re-runs the vc diff command.
8152         (Bug#6447)
8154 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
8156         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8157         echo area is in use (Bug#3412).
8159 2010-06-22  Glenn Morris  <rgm@gnu.org>
8161         * textmodes/texinfmt.el (texinfo-format-region)
8162         (texinfo-raise-lower-sections, texinfo-format-separate-node)
8163         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8164         (texinfo-format-option, texinfo-noindent):
8165         Use line-beginning-position and line-end-position.
8167         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8168         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8169         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8170         utf-8 characters.
8172 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
8174         * play/zone.el (zone-fall-through-ws): Fix next-line ->
8175         forward-line fallout.
8177 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
8179         * mouse.el (mouse-appearance-menu): Add docstring.
8181         * help.el (describe-key): Print up-event using key-description.
8183 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
8185         * net/zeroconf.el (zeroconf-resolve-service)
8186         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8187         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8189 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
8191         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8193 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
8195         Avoid displaying files with a nil state in vc-dir.
8196         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8197         cases that cause insertion.
8198         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8199         with a nil state.
8201 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8203         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8205 2010-06-29  Leo  <sdl.web@gmail.com>
8207         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
8209 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8211         * generic-x.el (bat-generic-mode): Fix regexp for command line
8212         switches (Bug#5719).
8214 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
8216         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8217         of nconc to avoid pure storage error (Bug#6239).
8219 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
8221         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8222         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8223         bindings of bookmark-automatically-show-annotations (Bug#6515).
8225 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
8227         * arc-mode.el (archive-zip-extract): Don't quote the file name on
8228         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
8230 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8232         * comint.el (make-comint, make-comint-in-buffer): Mention return
8233         value in the docstrings.  (Bug#6498)
8235 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
8237         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8238         since it is not present when using some non-default switches.
8240 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
8242         * simple.el (compose-mail): Fix doc string to refer to
8243         `compose-mail-user-agent-warnings', instead of to the
8244         nonexistent `compose-mail-check-user-agent'.
8246 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
8248         Fix an indentation bug:
8250         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8251         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8252         of existing values.
8254         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8255         (c-clear->-pair-props-if-match-before): now return t when they've
8256         cleared properties, nil otherwise.
8257         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8258         by taking account of the existing value.
8260         * progmodes/cc-defs.el
8261         (c-clear-char-property-with-value-function): Fix this to clear the
8262         property rather than overwriting it with nil.
8264 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
8266         * emacs-lisp/package.el (package-print-package): Add link to
8267         package description via describe-package.
8268         (describe-package-1): List package requirements.  Add button to
8269         perform installation.
8270         (package-menu-describe-package): New command.
8272         * help-mode.el (help-package): New button type.
8274 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
8276         * emacs-lisp/package.el: Move package-list-packages binding to
8277         menu-bar.el.
8278         (describe-package, describe-package-1, package--dir): New funs.
8279         (package-activate-1): Use package--dir.
8281         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8283         * help-mode.el (help-package-def): New button type.
8285         * menu-bar.el: Move package-list-packages binding here from
8286         package.el.
8288 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
8290         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
8292 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8294         * emacs-lisp/edebug.el (edebug-read-list):
8295         Phase out old-style backquotes.
8297 2010-06-17  Juri Linkov  <juri@jurta.org>
8299         * help-mode.el (help-mode): Set buffer-local variable
8300         revert-buffer-function to help-mode-revert-buffer.
8301         (help-mode-revert-buffer): New function.
8303         * info.el (Info-revert-find-node): Check for major-mode Info-mode
8304         before popping to "*info*" (like in other Info functions).
8305         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
8306         old-history-forward.  Pop to old-buffer-name or "*info*" to
8307         recreate the killed buffer.  Set Info-history-forward from
8308         old-history-forward.
8309         (Info-breadcrumbs-depth): Add :group and :version.
8311 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
8313         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8315 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
8317         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8318         for languages like Portuguese with pt_{BR,PT} and no plain pt.
8320 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
8322         * emacs-lisp/package.el (package-menu-mode-map):
8323         Move initialization into declaration.
8325         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8327 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
8329         * emacs-lisp/package.el (package-archive-base): Point to
8330         elpa.gnu.org.
8331         (package-enable, package-load-list): New defcustoms.
8332         (package-user-dir, package-directory-list): Turn into defcustoms.
8333         Don't include package-user-dir in package-directory-list.
8334         (package--builtins-base): Don't include Emacs as a "package".
8335         (package-subdirectory-regexp): New var.
8336         (package-load-all-descriptors, package-compute-transaction)
8337         (package-download-transaction): Obey package-load-list.
8338         (package-activate-1): Rename from package-do-activate.
8339         (package-list-packages-internal): Check package-load-list.
8340         (package-load-descriptor, package-generate-autoloads)
8341         (package-unpack, package-unpack-single)
8342         (package--read-archive-file, package-delete):
8343         Use expand-file-name.
8345         * emacs-lisp/package-x.el: New file.  Package uploading
8346         functionality split out from package.el.
8348         * startup.el (command-line): Load packages after reading init file.
8350 2010-06-17  Tom Tromey  <tromey@redhat.com>
8352         * emacs-lisp/package.el: New file.
8354 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8356         Fix vc-annotate for renamed files when using Git.
8357         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8358         ls-files.  Doe not pass the object as a file name to cat-file, it
8359         is not a file name.
8360         (vc-git-annotate-command): Pass the file name using -- to avoid
8361         ambiguity with the revision.
8362         (vc-git-previous-revision): Pass a relative file name.
8364 2010-06-22  Glenn Morris  <rgm@gnu.org>
8366         * progmodes/js.el (js-mode-map): Use standard capitalization and
8367         ellipses for menu entries.
8369         * wid-edit.el (widget-complete): Doc fix.
8371 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
8373         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8375 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8377         Fix annotating other revisions for renamed files in vc-annotate.
8378         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8379         VC backend.  Use it when non-nil.
8380         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8381         (Bug#6487).
8383         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8384         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8385         Do not pass the file name to the 'previous-revision call when we
8386         don't want a file diff.  (Bug#6489)
8388 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8390         Fix finding revisions for renamed files in vc-annotate.
8391         * vc/vc.el (vc-find-revision): Add an optional argument for
8392         the VC backend.  Use it when non-nil.
8393         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8394         backend to vc-find-revision.  (Bug#6487)
8396 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8398         Fix reading file names in Git annotate buffers.
8399         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8400         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
8402 2010-06-20  Alan Mackenzie  <acm@muc.de>
8404         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8405         in file local variables, set it first.
8407 2010-06-19  Glenn Morris  <rgm@gnu.org>
8409         * descr-text.el (describe-char-unicode-data): Insert separating
8410         space when needed.  (Bug#6422)
8412         * progmodes/idlwave.el (idlwave-action-and-binding):
8413         Fix typo in 2009-12-03 change.  (Bug#6450)
8415 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8417         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8418         handling for `lambda' (misunderstanding).
8420 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
8422         * calc/calc-poly.el (math-accum-factors): Make sure that
8423         constants aren't distributed after they are factored out.
8425 2010-06-16  Juri Linkov  <juri@jurta.org>
8427         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8428         `list-colors-print'.  (Bug#6332)
8430         * subr.el (read-quoted-char): Fix up last change (bug#6290).
8432 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8434         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8435         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
8437         * font-lock.el (font-lock-major-mode): Rename from
8438         font-lock-mode-major-mode to distinguish it from
8439         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8440         (font-lock-set-defaults):
8441         * font-core.el (font-lock-default-function): Adjust users.
8442         (font-lock-mode): Don't set it at all.
8444 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8446         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8448 2010-06-16  Glenn Morris  <rgm@gnu.org>
8450         * calendar/appt.el (appt-time-msg-list): Doc fix.
8451         (appt-check): Let-bind appt-warn-time.
8452         (appt-add): Make the 3rd argument optional.
8453         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
8454         Only add WARNTIME to the output list if non-nil.
8456 2010-06-16  Ivan Kanis  <apple@kanis.eu>
8458         * calendar/appt.el (appt-check): Let the 3rd element of
8459         appt-time-msg-list specify the warning time.
8460         (appt-add): Add new argument with the warning time.  (Bug#5176)
8462 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8464         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8465         older than version 1.6.  (Bug#6361)
8467 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
8469         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8470         used by cl-do-arglist.  (Bug#6408)
8472 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
8474         * textmodes/ispell.el (ispell-dictionary-base-alist):
8475         Fix portuguese casechars/not-casechars for missing 'çÇ'.
8476         Suggested by Rolando Pereira (bug#6434).
8478 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
8480         * facemenu.el (list-colors-sort): Doc fix.
8482 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8484         * progmodes/sql.el (sql-connect-mysql): Fix typo.
8486 2010-06-14  Juri Linkov  <juri@jurta.org>
8488         Add sort option `list-colors-sort'.  (Bug#6332)
8489         * facemenu.el (color-rgb-to-hsv): New function.
8490         (list-colors-sort): New defcustom.
8491         (list-colors-sort-key): New function.
8492         (list-colors-display): Doc fix.  Sort list according to the option
8493         `list-colors-sort'.
8494         (list-colors-print): Add HSV values to `help-echo' property of
8495         RGB strings.
8497 2010-06-14  Juri Linkov  <juri@jurta.org>
8499         * compare-w.el: Move to the "vc" subdirectory.
8501 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8503         * image-mode.el (image-mode-map): Remap left-char and right-char.
8505         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8507 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
8509         * term/common-win.el (x-colors): Add all the color names defined
8510         in rgb.txt (Bug#6332).
8512         * facemenu.el (list-colors-print): Don't print extra names if it
8513         will overflow the window width.
8515         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8516         change (Bug#6343).
8518 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
8520         * files.el (make-directory): Doc fix (bug#6396).
8522 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
8524         * net/tramp.el (tramp-remote-process-environment): Protect version
8525         string by apostroph.
8526         (tramp-shell-prompt-pattern): Do not use a shy group in case of
8527         XEmacs.
8528         (tramp-file-name-for-operation): Add `call-process-region'.
8529         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8531         * net/tramp-compat.el (top): Do not autoload
8532         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
8533         only when `start-file-process' is not bound.
8534         (tramp-advice-file-expand-wildcards): Do not use
8535         `tramp-handle-file-remote-p'.
8536         (tramp-compat-make-temp-file): Handle the case, that
8537         `make-temp-file' has no third argument EXTENSION.
8539 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
8541         * makefile.w32-in (WINS_BASIC): Include new directory vc.
8543         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8545 2010-06-11  Juri Linkov  <juri@jurta.org>
8547         * finder.el (finder-known-keywords): Add keyword "vc"
8548         for version control.
8550         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8551         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8552         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8553         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8555 2010-06-11  Juri Linkov  <juri@jurta.org>
8557         Move version control related files to the "vc" subdirectory.
8558         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8559         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8560         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8561         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8562         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8563         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8564         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8565         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8566         Move files to the "vc" subdirectory.
8568 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
8570         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8571         (Bug#6367).
8573 2010-06-11  Stephen Eglen  <stephen@gnu.org>
8575         * shell.el: Bind `shell-resync-dirs' to M-RET.
8577 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
8579         * notifications.el: Move file from lisp/net, because it is
8580         supposed to talk locally to the user.
8582 2010-06-10  Julien Danjou  <julien@danjou.info>
8584         * net/notifications.el (notifications-on-action-signal)
8585         (notifications-on-closed-signal): Pass notification id as first
8586         argument to the callback functions.  Add docstrings.
8587         (notifications-notify): Fix docstring.
8589 2010-06-10  Glenn Morris  <rgm@gnu.org>
8591         * emacs-lisp/authors.el (authors-ignored-files)
8592         (authors-valid-file-names): Add some files.
8594 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8596         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8597         merge conflict, giving preference to the emacs-23 version of the code.
8599 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8601         * emacs-lisp/advice.el (ad-compile-function):
8602         Define warning-suppress-types before we let-bind it (bug#6275).
8604         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8605         declare it, make it buffer-local and permanent-local (bug#6324).
8606         (vc-resynch-window): Adjust name.
8607         * vc-hooks.el (vc-find-file-hook): Adjust name.
8609 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
8611         * net/notifications.el (notifications-notify): Fix docstring.
8613 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8615         Update to Unicode 6.0.0 beta.
8616         * international/charprop.el: Update copyright.
8617         * international/mule-cmds.el (ucs-names): Update character ranges.
8618         * international/uni-bidi.el:
8619         * international/uni-category.el:
8620         * international/uni-combining.el:
8621         * international/uni-comment.el:
8622         * international/uni-decimal.el:
8623         * international/uni-decomposition.el:
8624         * international/uni-digit.el:
8625         * international/uni-lowercase.el:
8626         * international/uni-mirrored.el:
8627         * international/uni-name.el:
8628         * international/uni-numeric.el:
8629         * international/uni-old-name.el:
8630         * international/uni-titlecase.el:
8631         * international/uni-uppercase.el: Regenerate.
8633 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8635         * emacs-lisp/smie.el (comment-string-strip): Declare function.
8636         (smie-precs-precedence-table): Fix typo in docstring.
8638         * vc-mtn.el (log-edit-extract-headers): Declare function.
8640         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8642         * net/notifications.el (dbus-register-signal): Declare function.
8643         (notifications-notify): Fix typos and reflow docstring.
8645 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8647         Improve VC create/retrieve tag/branch.
8648         * vc.el (vc-create-tag): Do not read the directory name for VCs
8649         with repository revision granularity.  Adjust the tag/branch
8650         prompt.  Reset VC properties.
8651         (vc-retrieve-tag): Do not read the directory name for VCs
8652         with repository revision granularity.  Reset VC properties.
8654 2010-06-09  Julien Danjou  <julien@danjou.info>
8656         * net/notifications.el: New file.
8658 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8660         Add optional support for resetting VC properties.
8661         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8662         call vc-file-clearprops when true.
8663         (vc-resynch-buffer): Add new optional argument, pass it down.
8664         (vc-resynch-buffers-in-directory): Likewise.
8666         Improve support for special markup in the VC commit message.
8667         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8668         * vc-hg.el (vc-hg-checkin): Add support for Date:.
8669         * vc-git.el (vc-git-checkin):
8670         * vc-bzr.el (vc-bzr-checkin): Likewise.
8672 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8674         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8675         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8677 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
8679         * iimage.el: Remove images as soon as the underlying text is modified.
8680         (iimage-modification-hook): New function.
8681         (iimage-mode-buffer): Use it.
8683 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8685         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8686         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
8687         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
8688         (smie-indent-keyword): Add handling of open-paren keywords.
8689         (smie-indent-comment-continue): Don't assume comment-continue.
8691 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
8693         * window.el (pop-to-buffer): Remove the conditional that
8694         compares new-window and old-window, so it will reselect
8695         the selected window unconditionally.
8696         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8698 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8700         * emacs-lisp/smie.el (smie-indent-offset-after)
8701         (smie-indent-forward-token, smie-indent-backward-token): New functions.
8702         (smie-indent-after-keyword): Use them.
8703         (smie-indent-fixindent): Only applies to the indentation of the BOL.
8704         (smie-indent-keyword): Tweak the black magic.
8705         (smie-indent-comment-continue): Strip comment-continue before use.
8706         (smie-indent-functions): Indent comments before keywords.
8708 2010-06-06  Juri Linkov  <juri@jurta.org>
8710         * isearch.el (isearch-lazy-highlight-search): Fix looping
8711         by checking for empty match.  This syncs this loop with the
8712         similar loop in `isearch-search'.  (Bug#6362)
8714 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
8716         * net/dbus.el (dbus-register-method): Declare function.
8717         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8718         (dbus-introspect): Doc fix.
8719         (dbus-event-bus-name, dbus-introspect-get-interface)
8720         (dbus-introspect-get-argument): Reflow docstrings.
8722 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
8724         vc-log-incoming/vc-log-outgoing fixes for Git.
8725         * vc-git.el (vc-git-log-view-mode): Fix font lock for
8726         incoming/outgoing logs.
8727         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8728         instead of vc-git-compute-remote.
8729         (vc-git-compute-remote): Remove.
8731 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
8733         * term/common-win.el (x-colors): Add "dark green" and "dark
8734         turquoise" (Bug#6332).
8736 2010-06-04  Juri Linkov  <juri@jurta.org>
8738         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8739         Instead of setting `replace' to t and replacing the same string
8740         with itself, don't do certain actions when
8741         kill-do-not-save-duplicates is non-nil and string is equal to car
8742         of kill-ring: don't call menu-bar-update-yank-menu, don't push
8743         interprogram-paste strings to kill-ring, and don't push the input
8744         argument `string' to kill-ring.
8745         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8747 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8749         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8751 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
8753         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8754         (tramp-gvfs-handler-mounted-unmounted)
8755         (tramp-gvfs-connection-mounted-p): Handle default-location.
8757         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8758         move files to trash.
8760 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8762         * international/mule-cmds.el (nonascii-insert-offset)
8763         (nonascii-translation-table): Add obsolescence information.
8765         * international/mule.el (make-translation-table-from-vector): Doc fix.
8767 2010-06-03  Glenn Morris  <rgm@gnu.org>
8769         * desktop.el (desktop-clear-preserve-buffers):
8770         Add "*Warnings*" buffer.  (Bug#6336)
8772 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
8774         vc-log-incoming/vc-log-outgoing improvements for Git.
8775         * vc-git.el (vc-git-log-outgoing): Use the same format as the
8776         short log.
8777         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
8779         Add bindings for vc-log-incoming and vc-log-outgoing.
8780         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8781         and vc-log-outgoing.
8782         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8783         and vc-log-outgoing.
8785 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8787         * net/rcirc.el (rcirc-sort-nicknames): Remove.
8788         (rcirc-handler-366): Always sort nicknames.
8790 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
8792         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8794 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8796         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8798 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8800         * net/rcirc.el (rcirc-sort-nicknames): Change default.
8801         (rcirc-sort-nicknames-join): Avoid setq.
8803 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8805         * net/rcirc.el (rcirc-sort-nicknames): New custom.
8806         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8807         (rcirc-handler-366): Use them.
8809 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8811         Split smie-indent-calculate into more manageable chunks.
8812         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8813         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8814         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8815         (smie-indent-exps): Extract from smie-indent-calculate.
8816         (smie-indent-functions): New var.
8817         (smie-indent-functions): Use them.
8819 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8821         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8822         (smie-indent-calculate): Simplify and cleanup.
8824 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
8826         * net/tramp-gvfs.el (top): Require url-util.
8827         (tramp-gvfs-mount-point): Remove.
8828         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8829         New defuns.
8830         (with-tramp-dbus-call-method): Format trace message.
8831         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8832         Implement backup call, when operation on local files fails.
8833         Use progress reporter.  Flush properties of changed files.
8834         (tramp-gvfs-handle-make-directory): Make more traces.
8835         (tramp-gvfs-url-file-name): Hexify file name in url.
8836         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8837         into account for the resulting file name.
8838         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8839         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
8840         (tramp-gvfs-handler-mounted-unmounted)
8841         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8842         attribute "default_location".  Set "prefix" property.
8843         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8844         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8845         exists.  Raise an error, if not (due to a corresponding answer
8846         "no" in interactive questions, for example).
8848 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
8850         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8852 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
8854         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8855         right-*.  (Bug#6265)
8857 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
8859         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8860         * vc-git.el (vc-git-compute-remote): New function.
8861         (vc-git-log-outgoing): Use it instead of hard coding a value.
8862         (vc-git-log-incoming): New function.
8864         Improve state updating for VC tag commands.
8865         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8866         to update the state of all buffers in the directory.
8868         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8870 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8872         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8873         `file-directory-p' to the filename part rather than to the whole text.
8875 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8877         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8879 2010-05-31  Drew Adams  <drew.adams@oracle.com>
8881         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8883 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
8885         * subr.el (momentary-string-display): Just use read-event to read
8886         the exit event (Bug#6238).
8888 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
8890         * international/mule.el (define-coding-system): Doc fix (bug#6313).
8892 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8894         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8895         Suggested by Eli Zaretskii <eliz@gnu.org>.
8897 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8899         * minibuffer.el (completion-file-name-table): Don't return a boundary
8900         past the end of `string' (bug#6299).
8901         (completion--file-name-table): Delegate to completion-file-name-table
8902         for the `boundaries' case.
8904 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8906         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8907         movement commands.
8909         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8910         `path-separator', but maintain compatibility with Emacs 20.2.
8912 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8914         * server.el (server-process-filter): Receive parent-id argument
8915         from emacsclient.
8916         (server-create-window-system-frame): New arg.  Pass parent-id as
8917         frame parameter.
8919 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
8921         Bidi-sensitive word movement with arrow keys.
8922         * subr.el (right-arrow-command, left-arrow-command): Move to
8923         bindings.el.
8925         * bindings.el (right-char, left-char): Move from subr.el and
8926         rename from right-arrow-command and left-arrow-command.
8927         (right-word, left-word): New functions.
8928         (global-map) <right>: Bind to right-char.
8929         (global-map) <left>: Bind to left-char.
8930         (global-map) <C-right>: Bind to right-word.
8931         (global-map) <C-left>: Bind to left-word.
8933         * ls-lisp.el (ls-lisp-classify-file): New function.
8934         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8935         (ls-lisp-classify): Call ls-lisp-classify-file.
8936         (insert-directory): Remove blanks from switches.
8938 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8940         * ansi-color.el: Delete unused escape sequences (Bug#6085).
8941         (ansi-color-drop-regexp): New constant.
8942         (ansi-color-apply, ansi-color-filter-region)
8943         (ansi-color-apply-on-region): Delete unrecognized control sequences.
8944         (ansi-color-apply): Build string list before calling concat.
8946 2010-05-28  Juri Linkov  <juri@jurta.org>
8948         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8949         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8950         (Bug#5270)
8952 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8954         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8955         to ignored backtrace functions.
8956         (with-progress-reporter): Expand docstring.
8957         (tramp-handle-delete-file): Implement TRASH argument.
8958         (tramp-get-remote-trash): New defun.
8960 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8962         * net/tramp-compat.el (tramp-compat-delete-file):
8963         Use `symbol-value' for backward compatibility.
8965         * net/tramp.el (tramp-handle-make-symbolic-link)
8966         (tramp-handle-load)
8967         (tramp-do-copy-or-rename-file-via-buffer)
8968         (tramp-do-copy-or-rename-file-directly)
8969         (tramp-do-copy-or-rename-file-out-of-band)
8970         (tramp-handle-process-file, tramp-handle-call-process-region)
8971         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8972         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8973         (tramp-delete-temp-file-function): Use `delete-file' instead
8974         of `tramp-compat-delete-file'.
8976         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8977         (tramp-fish-handle-make-symbolic-link)
8978         (tramp-fish-handle-process-file): Use `delete-file' instead
8979         of `tramp-compat-delete-file'.
8981         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8982         Use `delete-file' instead of `tramp-compat-delete-file'.
8984         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8985         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8986         `tramp-compat-delete-file'.
8988         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8989         Use `delete-file' instead of `tramp-compat-delete-file'.
8991         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8992         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8993         (tramp-smb-handle-write-region): Use `delete-file' instead of
8994         `tramp-compat-delete-file'.
8995         (tramp-smb-handle-delete-directory): Use 'trash as arg.
8997 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8999         * dired.el (dired-delete-file): New arg TRASH.
9000         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
9001         (dired-do-flagged-delete, dired-do-delete): Use trash.
9003         * speedbar.el (speedbar-item-delete): Allow trashing.
9005         * files.el (delete-directory): New arg TRASH.
9007         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9008         (ange-ftp-rename-remote-to-remote)
9009         (ange-ftp-rename-local-to-remote)
9010         (ange-ftp-rename-remote-to-local, ange-ftp-load)
9011         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9012         `delete-file'.
9013         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9014         allow trashing.
9016         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9017         handle new TRASH arg of `delete-file'.
9019         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9020         (tramp-handle-make-symbolic-link, tramp-handle-load)
9021         (tramp-do-copy-or-rename-file-via-buffer)
9022         (tramp-do-copy-or-rename-file-directly)
9023         (tramp-do-copy-or-rename-file-out-of-band)
9024         (tramp-handle-process-file, tramp-handle-call-process-region)
9025         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9026         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9027         (tramp-delete-temp-file-function): Use null TRASH arg in
9028         tramp-compat-delete-file call.
9030         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9031         (tramp-fish-handle-delete-file)
9032         (tramp-fish-handle-make-symbolic-link)
9033         (tramp-fish-handle-process-file): Use null TRASH arg in
9034         `tramp-compat-delete-file' call.
9036         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9037         arg in `tramp-compat-delete-file' call.
9039         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9040         (tramp-gvfs-handle-write-region): Use null TRASH arg in
9041         `tramp-compat-delete-file' call.
9043         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9044         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9045         `tramp-compat-delete-file' call.
9047         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9048         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9049         (tramp-smb-handle-write-region): Use null TRASH arg in
9050         tramp-compat-delete-file call.
9051         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9052         (tramp-smb-handle-delete-file): Rename arg.
9054         * diff.el (diff-sentinel):
9055         * epg.el (epg--make-temp-file, epg-decrypt-string)
9056         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9057         * jka-compr.el (jka-compr-partial-uncompress)
9058         (jka-compr-call-process, jka-compr-write-region):
9059         * server.el (server-sentinel): Remove optional arg from
9060         delete-file, reverting 2010-05-03 change.
9062 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9064         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9065         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9067 2010-05-27  Kenichi Handa  <handa@m17n.org>
9069         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9070         element of GSTRING is nil.
9072 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9074         * emacs-lisp/smie.el (smie-forward-token-function)
9075         (smie-backward-token-function): New vars.
9076         (smie-backward-sexp, smie-forward-sexp)
9077         (smie-indent-hanging-p, smie-indent-calculate): Use them.
9078         (smie-default-backward-token): Rename from smie-backward-token and
9079         skip comments.
9080         (smie-default-forward-token): Rename from smie-forward-token and
9081         skip comments.
9082         (smie-next-sexp): Handle nil results from next-token.
9083         (smie-indent-calculate): Add a new case for special `fixindent' comments.
9085 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9087         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9088         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9090 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
9092         * htmlfontify.el (hfy-face-resolve-face): New function.
9093         (hfy-face-to-style): Use it (Bug#6279).
9095 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9097         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9098         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9100 2010-05-26  Glenn Morris  <rgm@gnu.org>
9102         * emulation/edt.el (edt-load-keys): Use locate-library.
9104 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
9106         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9107         (log-edit-changelog-entries): Doc fix.
9108         (log-edit-changelog-insert-entries): Args changed.
9109         Rename relative filenames in ChangeLog entries.  Delete tabs.
9110         (log-edit-insert-changelog-entries): Reorganize return value of
9111         `log-edit-changelog-entries' to pass filenames to
9112         log-edit-changelog-insert-entries.
9114 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9116         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9117         `image-dired-dired-insert-marked-thumbs' to
9118         `image-dired-dired-toggle-marked-thumbs'.
9120         * image-dired.el: Require cl when compiling.
9121         (image-dired-dired-toggle-marked-thumbs): Rename from
9122         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
9123         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
9124         to 'no-dir.  Skip files whose names don't match
9125         `image-file-name-regexp'.  When file has a thumbnail overlay,
9126         delete it.  (Bug#5270)
9128 2010-05-25  Juri Linkov  <juri@jurta.org>
9130         * image-mode.el (image-mode): Add image-after-revert-hook to
9131         after-revert-hook.
9132         (image-after-revert-hook): New function.  (Bug#5669)
9134 2010-05-25  Juri Linkov  <juri@jurta.org>
9136         * image.el (image-animated-p): When delay between animated images
9137         is 0, set it to 10 (0.1 sec).  (Bug#6258)
9139 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
9141         * net/tramp.el (tramp-handle-insert-directory): Don't use
9142         `forward-word', its default syntax could be changed.
9144 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
9146         * net/tramp.el (tramp-progress-reporter-update): New defun.
9147         (with-progress-reporter): Use it.
9148         (tramp-process-actions):
9149         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9150         Preserve current message, in order to let progress reporter continue
9151         afterwards.  (Bug#6257)
9153 2010-05-25  Glenn Morris  <rgm@gnu.org>
9155         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9156         Add :version.
9158 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9160         * net/rcirc.el (rcirc-default-user-name): Change to "user".
9161         (rcirc-default-full-name): Change to "unknown".
9162         (rcirc-user-name-history): Add variable.
9164 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9165             Jonathan Rockway  <jon@jrock.us>
9167         * net/rcirc.el (rcirc-server-alist): Add :pass.
9168         (rcirc): When prompting for connection parameters, also prompt for
9169         username and password.
9170         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
9171         value to server when connecting.
9173 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9175         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9176         (smie-merge-prec2s): Pass the tables as separate args.
9177         (smie-bnf-precedence-table): Adjust call accordingly.
9178         (smie-prec2-levels): Set levels at the end.
9180         Replace Lisp calls to delete-backward-char by delete-char.
9181         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9182         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9183         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9184         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9185         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9186         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9187         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9188         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9189         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9190         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9191         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9192         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9193         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9194         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9195         delete-backward-char by calls to delete-char.
9197 2010-05-25  Kenichi Handa  <handa@m17n.org>
9199         * language/hebrew.el (hebrew-shape-gstring): New function.
9200         Register it in composition-function-table for all Hebrew combining
9201         characters.
9203 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9205         * epa.el (epa--select-keys): Don't explicitly delete the window since
9206         that can fail (e.g. sole window in frame).  Use dedication instead.
9208 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9210         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9212 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
9214         * image.el (image-refresh): Define as an alias for image-flush.
9216         * image-mode.el (image-toggle-display-image): Caller changed.
9218 2010-05-21  Juri Linkov  <juri@jurta.org>
9220         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9221         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
9222         whitespace, call wildcard-to-regexp on substrings and concat them
9223         with "\\|".  (Bug#6114)
9225 2010-05-21  Alan Mackenzie  <acm@muc.de>
9227         * progmodes/cc-engine.el (c-parse-state-get-strategy):
9228         Replace parameter `here' with `here-' and `here-plus', which sandwich
9229         any pertinent CPP construct.
9230         (c-remove-stale-state-cache-backwards): Fix a bug which happens
9231         when doing (c-parse-state) in a CPP construct: Exclude any "new"
9232         CPP construct from taking part in the scanning.
9234 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
9236         * net/tramp.el (tramp-do-copy-or-rename-file)
9237         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9238         Tune `with-progress-reporter' messages.
9239         (tramp-handle-vc-registered):
9240         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9241         (tramp-fish-handle-insert-file-contents)
9242         (tramp-fish-maybe-open-connection):
9243         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9244         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9245         (tramp-imap-handle-insert-file-contents)
9246         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9248 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
9250         * add-log.el (change-log-font-lock-keywords):
9251         Highlight all authors in multi-author entries.
9253         * smerge-mode.el (smerge-refine-ignore-whitespace)
9254         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9255         Fix typos in docstrings.
9256         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9258 2010-05-21  Glenn Morris  <rgm@gnu.org>
9260         * progmodes/fortran.el (fortran-mode):
9261         * progmodes/f90.el (f90-mode): Derive from prog-mode.
9263         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9264         having a relative path in src/Makefile.in.
9266 2010-05-20  Kevin Ryde  <user42@zip.com.au>
9268         * help-mode.el (help-make-xrefs): For Info node links turn
9269         newlines into spaces.  Link node names with newlines are matched
9270         by help-xref-info-regexp and buttonized, this change ensures they
9271         can be followed successfully with RET.  (Bug#6206)
9273 2010-05-20  Juri Linkov  <juri@jurta.org>
9275         * locate.el (locate): Use pop-to-buffer instead of
9276         switch-to-buffer-other-window.  (Bug#6204)
9278 2010-05-20  Juri Linkov  <juri@jurta.org>
9280         * replace.el (replace-highlight): Fix lazy-highlighting
9281         for `M-s w str M-% str RET'.
9283 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
9285         * isearch.el (isearch-yank-word-or-char): Pull next subword
9286         when `subword-mode' is activated.  (Bug#6220)
9288 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
9290         * isearch.el (isearch-update-post-hook): New hook.
9291         (isearch-update): Use the new hook.  (Bug#6225)
9293 2010-05-20  Juri Linkov  <juri@jurta.org>
9295         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9296         [f1], [help], and (char-to-string help-char) instead of "\C-h".
9297         (Bug#6222)
9299 2010-05-20  Juri Linkov  <juri@jurta.org>
9301         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9302         (Bug#6223)
9304 2010-05-20  Juri Linkov  <juri@jurta.org>
9306         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9307         FILE-NAME to read from the minibuffer when called interactively
9308         with prefix argument instead of using buffer-file-name.
9309         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9311         * dired.el: Update autoloads.
9313 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
9315         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9316         nxml-finish-element, for consistency with SGML mode.
9318         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9319         octave-close-block.
9321 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
9323         * composite.el: Require cl when compiling.
9324         (reference-point-alist, compose-gstring-for-graphic)
9325         (compose-gstring-for-terminal): Fix typos in docstrings.
9327 2010-05-19  Juri Linkov  <juri@jurta.org>
9329         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9330         set-window-parameter.
9332 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9334         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9335         where appropriate.
9336         (tramp-maybe-open-connection): Use it.
9338 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
9340         * simple.el (move-end-of-line): Make sure we are at line beginning
9341         before backing up to end of previous line.
9343 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9345         * password-cache.el (password-cache-remove): Fix docstring.
9347         * net/secrets.el: Autoload the widget functions.
9348         (secrets-search-items, secrets-create-item)
9349         (secrets-get-attributes, secrets-expand-item): Attributes will be
9350         stored on the password database without leading ":", as all other
9351         clients do as well.
9352         (secrets-mode): Fix docstring.
9353         (secrets-show-secrets): Provide it as autoloaded command only when
9354         D-Bus support is available.  Check existence of Secret Service API.
9356 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9358         * indent.el (indent-region): Deactivate region (bug#6200).
9360 2010-05-19  Glenn Morris  <rgm@gnu.org>
9362         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
9364 2010-05-19  Kenichi Handa  <handa@m17n.org>
9366         * composite.el: Register compose-gstring-for-graphic in
9367         composition-function-table only for combining characters (Mn, Mc, Me).
9369 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
9371         * calc/calc-trail.el (calc-trail-isearch-forward)
9372         (calc-trail-isearch-backward): Ensure that the new window
9373         point is set correctly.
9375 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9377         * subr.el (read-quoted-char): Resolve modifiers after key
9378         remapping (bug#6212).
9380 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
9382         Add visualization code for secrets.
9383         * net/secrets.el (secrets-mode): New major mode.
9384         (secrets-show-secrets, secrets-show-collections)
9385         (secrets-expand-collection, secrets-expand-item)
9386         (secrets-tree-widget-after-toggle-function)
9387         (secrets-tree-widget-show-password): New defuns.
9389 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9391         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9392         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9393         handled in smie-next-sexp.
9394         (smie-indent-calculate): Provide a starting indentation (so the
9395         recursion is well-founded ;-).
9397         Fix handling of non-associative equal levels.
9398         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9399         when it's not needed.
9400         (smie-op-left, smie-op-right): New functions.
9401         (smie-next-sexp): New function, extracted from smie-backward-sexp.
9402         Better handle equal levels to distinguish the associative case from
9403         the "multi-keyword construct" case.
9404         (smie-backward-sexp, smie-forward-sexp): Use it.
9406 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
9408         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9410         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9411         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9413 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9415         Provide a simple generic indentation engine and use it for Prolog.
9416         * emacs-lisp/smie.el: New file.
9417         * progmodes/prolog.el (prolog-smie-op-levels)
9418         (prolog-smie-indent-rules): New var.
9419         (prolog-mode-variables): Use them to configure SMIE.
9420         (prolog-indent-line, prolog-indent-level): Remove.
9422 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9424         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9425         order before computing the averages.
9427 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
9429         * calc/calc-vec.el (calc-histogram):
9430         (calcFunc-histogram): Allow vectors as inputs.
9431         (math-vector-avg): New function.
9433         * calc/calc-ext.el (math-group-float): Have the number of digits
9434         being grouped depend on the radix (Bug#6189).
9436 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
9438         * version.el (emacs-copyright, emacs-version): Don't define here,
9439         now that emacs.c defines it.
9441 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
9443         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9444         "Describe Language Environment" menu item.
9446         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9448         Bidi-sensitive movement with arrow keys.
9449         * subr.el (right-arrow-command, left-arrow-command): New functions.
9451         * bindings.el (global-map): Bind them to right and left arrow keys.
9453         Don't override standard definition of convert-standard-filename.
9454         * files.el (convert-standard-filename):
9455         Call w32-convert-standard-filename and dos-convert-standard-filename on
9456         the corresponding systems.
9458         * w32-fns.el (w32-convert-standard-filename): Rename from
9459         convert-standard-filename.  Doc fix.
9461         * dos-fns.el (dos-convert-standard-filename): Doc fix.
9462         (convert-standard-filename): Don't defalias.
9463         (register-name-alist, make-register, register-value)
9464         (set-register-value, intdos): Obsolete aliases for the
9465         corresponding dos-* functions and variables.
9466         (dos-intdos): Add a doc string.
9468 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
9470         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9471         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9472         (math-compose-tex-func):
9473         * calc/calccomp.el (math-compose-expr):
9474         * calc/calc-ext.el (math-format-flat-expr-fancy):
9475         * calc/calc-store.el (calc-read-var-name):
9476         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9478         * calc/calc.el (var-π, var-φ, var-γ): New variables.
9479         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9480         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9481         (math-standard-units): Add units.
9483 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9485         * progmodes/asm-mode.el (asm-mode):
9486         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9488         * pcomplete.el (pcomplete-completions-at-point): New function,
9489         extracted from pcomplete-std-complete.
9490         (pcomplete-std-complete): Use it.
9492 2010-05-15  Glenn Morris  <rgm@gnu.org>
9494         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9495         Remove references to CVS, RCS and Old directories.
9497 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
9499         * calc/calc-bin.el (math-format-twos-complement): Group digits when
9500         appropriate.
9502 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9504         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9505         (sh-mode-syntax-table): Give it a default value instead.
9506         (sh-header-marker): Make buffer-local.
9507         (sh-mode): Move make-local-variable to the corresponding setq.
9508         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9509         Use complete-with-action.
9511         * simple.el (prog-mode): New (abstract) major mode.
9512         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9513         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9515 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
9517         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9518         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9519         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9520         (sql-make-alternate-buffer-name, sql-placeholders-filter)
9521         (sql-escape-newlines-filter, sql-input-sender)
9522         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9524 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
9526         Add TeX open-block and close-block keybindings to SGML, and vice versa.
9528         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9529         latex-open-block and C-c / to latex-close-block.
9531         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9532         and C-c C-e to sgml-close-tag.
9534 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
9536         * net/tramp.el (with-progress-reporter): Create reporter object
9537         only when the message would be displayed.  Handle nested calls.
9538         (tramp-handle-load, tramp-handle-file-local-copy)
9539         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9540         (tramp-maybe-send-script, tramp-find-shell):
9541         Use `with-progress-reporter'.
9542         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9543         Fix message text.
9545         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9546         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9547         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9548         Use `with-progress-reporter'.
9550 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
9552         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9553         process everytime when spellchecking from the minibuffer (bug#6143).
9555 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9557         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9559         * dos-fns.el: Add "dos-" prefix for namespace control.
9560         (convert-standard-filename): Define as alias for
9561         dos-convert-standard-filename but only if applicable.
9563 2010-05-12  Alan Mackenzie  <acm@muc.de>
9565         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9566         Push the mark at the start of these functions when appropriate.
9568 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9570         * minibuffer.el (completion-cycle-threshold): New custom var.
9571         (completion--do-completion): Use it.
9572         (minibuffer-complete): Use cycling if appropriate.
9574 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
9576         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9577         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9579 2010-05-11  Juri Linkov  <juri@jurta.org>
9581         * scroll-all.el (scroll-all-check-to-scroll):
9582         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9584 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9586         * iimage.el (iimage-mode-map): Move initialization into declaration.
9587         (iimage-mode-buffer): Use with-silent-modifications.
9588         Simplify calling convention.  Adjust callers.
9589         (iimage-mode): Don't run hook redundantly.
9591         * minibuffer.el (completion-pcm--pattern->regex):
9592         Fix last change (bug#6160).
9594 2010-05-10  Juri Linkov  <juri@jurta.org>
9596         Remove nodes visited during Isearch from the Info history.
9597         * info.el (Info-isearch-initial-history)
9598         (Info-isearch-initial-history-list): New variables.
9599         (Info-isearch-start): Record initial values of
9600         Info-isearch-initial-history and Info-isearch-initial-history-list.
9601         Add Info-isearch-end to isearch-mode-end-hook.
9602         (Info-isearch-end): New function.
9604 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
9606         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9607         format string, in order to work around a bug in pdksh.
9608         Reported by Gilles Pion <gpion@lfdj.com>.
9609         (tramp-handle-verify-visited-file-modtime): Do not send a command
9610         when the connection is not established.
9611         (tramp-handle-set-file-times): Simplify the check for utc.
9613 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
9615         Fix use of `filter-buffer-substring' (rework previous change).
9616         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9617         (cua-repeat-replace-region):
9618         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9619         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9620         (cua-cut-region-to-global-mark): Use it.
9622 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
9624         * progmodes/sql.el: Version 2.1.
9625         (sql-product-alist): Redesign structure of product info.
9626         (sql-product, sql-user, sql-server, sql-database): Safe variables.
9627         (sql-port, sql-port-history): New variables.
9628         (sql-interactive-product): New variable.
9629         (sql-send-terminator): New variable.
9630         (sql-imenu-generic-expression): Add "Types" imenu entry.
9631         (sql-oracle-login-params, sql-sqlite-login-params)
9632         (sql-mysql-login-params, sql-solid-login-params)
9633         (sql-sybase-login-params, sql-informix-login-params)
9634         (sql-ingres-login-params, sql-ms-login-params)
9635         (sql-postgres-login-params, sql-interbase-login-params)
9636         (sql-db2-login-params, sql-linter-login-params)
9637         (sql-oracle-scan-on): New variables.
9638         (sql-mode-map): Add C-c C-i to start interactive mode.
9639         (sql-mode-menu): Update existing menu entries.
9640         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9641         (sql-mode-oracle-font-lock-keywords)
9642         (sql-mode-postgres-font-lock-keywords)
9643         (sql-mode-ms-font-lock-keywords)
9644         (sql-mode-sybase-font-lock-keywords)
9645         (sql-mode-informix-font-lock-keywords)
9646         (sql-mode-interbase-font-lock-keywords)
9647         (sql-mode-ingres-font-lock-keywords)
9648         (sql-mode-solid-font-lock-keywords)
9649         (sql-mode-mysql-font-lock-keywords)
9650         (sql-mode-sqlite-font-lock-keywords)
9651         (sql-mode-db2-font-lock-keywords)
9652         (sql-mode-linter-font-lock-keywords): Update initialization to
9653         reduce run-time complexity.
9654         (sql-add-product, sql-del-product): New functions.
9655         (sql-set-product-feature, sql-get-product-feature): New functions.
9656         (sql-product-font-lock): Update product API.
9657         (sql-add-product-keywords): New function.
9658         (sql-highlight-product): Update product API.
9659         (sql-help-list-products): New function.
9660         (sql-help): Dynamically lists free and non-free products.
9661         (sql-get-login): Correct bug in handling history and added
9662         prompt for port.
9663         (sql-copy-column): Copy without properties.
9664         (sqli-input-sender): Apply filters to SQLi input.
9665         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9666         Implement as a filter.
9667         (sql-escape-newlines-filter): Implement as a filter.
9668         (sql-remove-tabs-filter): New function.
9669         (sql-send-magic-terminator): New function.
9670         (sql-send-string): Implement magic terminator.
9671         (sql-send-region): Use `sql-send-string'.
9672         (sql-interactive-mode): Use product API.
9673         (sql-product-interactive): Use product API.
9674         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9675         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9676         (sql-db2, sql-linter): Use `sql-product-interactive'.
9677         (sql-connect): New function.
9678         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9679         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9680         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9681         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9682         Use `sql-connect'.
9684 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9686         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9687         New custom variable.
9688         (completion-pcm--string->pattern): Use it.
9689         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9690         Make it handle any symbol as `any'.
9691         (completion-pcm--merge-completions): Extract common suffix for the new
9692         `prefix' symbol as well.
9693         (completion-substring--all-completions): Use the new `prefix' symbol.
9695 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
9697         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9698         not bound.
9699         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9700         (tramp-compat-funcall): New defmacro.
9701         (tramp-compat-line-beginning-position)
9702         (tramp-compat-line-end-position)
9703         (tramp-compat-temporary-file-directory)
9704         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9705         (tramp-compat-copy-file, tramp-compat-copy-directory)
9706         (tramp-compat-delete-file, tramp-compat-delete-directory)
9707         (tramp-compat-number-sequence, tramp-compat-process-running-p)
9708         * net/tramp.el (top, with-progress-reporter)
9709         (tramp-rfn-eshadow-setup-minibuffer)
9710         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9711         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9712         (tramp-completion-mode-p, tramp-check-for-regexp)
9713         (tramp-open-connection-setup-interactive-shell)
9714         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9715         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9716         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9717         * net/tramp-cmds.el (tramp-cleanup-all-connections)
9718         (tramp-reporter-dump-variable, tramp-load-report-modules)
9719         (tramp-append-tramp-buffers)
9720         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9722         * net/tramp-imap.el (top): Autoload `epg-make-context'.
9724 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9726         * progmodes/compile.el (compilation-buffer-modtime): Rename from
9727         buffer-modtime.  Adjust users.
9729 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9731         * international/mule.el (auto-coding-alist): Only purecopy
9732         car of each item, not the whole list (Bug#6083).
9734 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9736         * progmodes/js.el (js-mode): Make paragraph variables local before
9737         calling c-setup-paragraph-variables (Bug#6071).
9739 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
9741         * composite.el (compose-region, reference-point-alist): Fix typos
9742         in the doc strings.
9744 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9746         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9747         gnuplot's "set" command.
9749 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9751         * abbrev.el (last-abbrev-text): Doc fix.
9752         (abbrev-prefix-mark): Don't escape parenthesis.
9754 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
9756         * composite.el (find-composition): Doc fix.
9758 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9760         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9761         (sql-oracle-program, sql-sqlite-options)
9762         (sql-query-placeholders-and-send): Doc fixes.
9763         (sql-set-product, sql-interactive-mode): Reflow docstrings.
9764         (sql-imenu-generic-expression, sql-buffer)
9765         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9766         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9767         (sql-mode-sybase-font-lock-keywords)
9768         (sql-mode-informix-font-lock-keywords)
9769         (sql-mode-interbase-font-lock-keywords)
9770         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9771         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9772         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9773         (sql-product-feature, sql-highlight-product)
9774         (comint-line-beginning-position, sql-rename-buffer)
9775         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9776         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9777         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9778         Fix typos in docstrings.
9780 2010-05-08  Juri Linkov  <juri@jurta.org>
9782         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9783         property instead of `invisible' and `after-string' (bug#5998).
9785 2010-05-08  Juri Linkov  <juri@jurta.org>
9787         * image-mode.el (image-mode-as-text): Fix typo in docstring.
9789 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9791         * filecache.el (file-cache-add-directory-list)
9792         (file-cache-add-directory-recursively): Fix typos in docstrings.
9794 2010-05-08  Kenichi Handa  <handa@m17n.org>
9796         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9797         (gujarati-composable-pattern): Fix typo.
9799 2010-05-08  Kenichi Handa  <handa@m17n.org>
9801         * language/indian.el (oriya-composable-pattern)
9802         (tamil-composable-pattern, malayalam-composable-pattern):
9803         Add two-part vowels to "v" (vowel sign).
9805 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9807         * files.el (copy-directory): Handle symlinks (Bug#5982).
9809 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
9811         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9812         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
9813         (Bug#5846).
9815 2010-05-08  Glenn Morris  <rgm@gnu.org>
9817         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9819         * minibuffer.el (completion-at-point): Doc fix.
9821 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9823         * electric.el (Electric-command-loop): Minor tweak.
9825         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9826         better with dedicated windows.
9828 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
9830         * Version 23.2 released.
9832 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9833             Stefan Monnier  <monnier@iro.umontreal.ca>
9835         Highlight vendor specific properties.
9836         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9837         (css-proprietary-property): New face.
9838         (css-font-lock-keywords): Use them.
9840 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
9842         * cus-start.el (all): Add native condition for tool-bar-* symbols.
9844 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9846         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9847         * files.el (auto-mode-alist): Remove redundant entries.
9849         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9850         * simple.el (auto-save-mode): Move from files.el.
9851         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9853 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
9855         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9857 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
9859         * mail/binhex.el (binhex-decode-region-internal)
9860         * mail/uudecode.el (uudecode-decode-region-internal)
9861         * net/dns.el (dns-read-string-name, dns-write, dns-read)
9862         (dns-read-type, dns-query)
9863         * pgg-parse.el (pgg-parse-armor)
9864         * pgg.el (pgg-verify-region)
9865         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9866         XEmacs.
9868         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9870 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
9872         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9874         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9875         * emulation/cua-base.el (cua-repeat-replace-region):
9876         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9877         (cua-cut-region-to-global-mark):
9878         Remove text properties with `set-text-properties'.
9880 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
9882         * net/tramp.el (top, with-progress-reporter):
9883         Use `symbol-function' inside `funcall'.
9885         * net/tramp-compat.el (tramp-compat-file-attributes)
9886         (tramp-compat-delete-file, tramp-compat-delete-directory):
9887         Handle only `wrong-number-of-arguments' error.
9889         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9890         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9891         inside `funcall'.
9893 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9895         * minibuffer.el (completion--sreverse, completion--common-suffix):
9896         New functions.
9897         (completion-pcm--merge-completions): Extract common suffix when safe.
9899         * emacs-lisp/easy-mmode.el (define-minor-mode):
9900         Make :variable more flexible.
9901         * files.el (auto-save-mode): Use it to define using define-minor-mode.
9903 2010-05-05  Juri Linkov  <juri@jurta.org>
9905         Add `slow' and `history' tags to the desktop data.
9907         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9908         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9909         (Info-finder-find-node): Require `finder.el' to be able
9910         to restore node from the desktop.
9911         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
9912         data `Info-history' and `slow' tag in the assoc list.
9913         (Info-restore-desktop-buffer): Don't restore nodes with the
9914         `slow' tag.  Restore `Info-history'.
9916 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
9918         Add FORCE argument to `delete-file'.
9920         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9921         forcing to delete the temporary file.
9922         (ange-ftp-delete-file): Add FORCE arg.
9923         (ange-ftp-rename-remote-to-remote)
9924         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9925         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9926         Force file deletion.
9928         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9930         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9931         (tramp-handle-make-symbolic-link, tramp-handle-load)
9932         (tramp-do-copy-or-rename-file-via-buffer)
9933         (tramp-do-copy-or-rename-file-directly)
9934         (tramp-do-copy-or-rename-file-out-of-band)
9935         (tramp-handle-process-file, tramp-handle-call-process-region)
9936         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9937         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9938         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9940         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9941         (tramp-fish-handle-make-symbolic-link)
9942         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9944         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9945         Use `tramp-compat-delete-file'.
9947         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9948         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9950         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9951         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9953         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9954         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9955         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9956         Use `tramp-compat-delete-file'.
9958 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9960         Minor cleanups.
9961         * subr.el (add-minor-mode): Use push.
9962         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9963         * emulation/edt.el (edt-select-mode): Simplify.
9965         Use define-minor-mode in more cases.
9966         * term/tvi970.el (tvi970-set-keypad-mode):
9967         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9968         (normal-erase-is-backspace-mode):
9969         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9970         (set-scroll-bar-mode-1): (Re)move to its sole caller.
9971         (get-scroll-bar-mode): New function.
9972         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9974         Use define-minor-mode for less obvious cases.
9975         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9976         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9977         * international/iso-ascii.el (iso-ascii-mode):
9978         * frame.el (auto-raise-mode, auto-lower-mode):
9979         * composite.el (global-auto-composition-mode): Use define-minor-mode.
9981 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
9983         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9984         in order to see error messages for failed logins.
9986 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
9988         * diff.el (diff-sentinel):
9990         * epg.el (epg--make-temp-file, epg-decrypt-string)
9991         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9993         * jka-compr.el (jka-compr-partial-uncompress)
9994         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9996         * server.el (server-sentinel): Use delete-file's new FORCE arg
9997         (Bug#6070).
9999 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10001         Use define-minor-mode where applicable.
10002         * view.el (view-mode):
10003         * type-break.el (type-break-query-mode)
10004         (type-break-mode-line-message-mode):
10005         * textmodes/reftex.el (reftex-mode):
10006         * term/vt100.el (vt100-wide-mode):
10007         * tar-mode.el (tar-subfile-mode):
10008         * savehist.el (savehist-mode):
10009         * ibuf-ext.el (ibuffer-auto-mode):
10010         * composite.el (auto-composition-mode):
10011         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10012         Use define-minor-mode.
10013         (vhdl-mode): Use static mode-line format.
10014         (vhdl-mode-line-update): Delete.
10015         (vhdl-create-mode-menu, vhdl-activate-customizations)
10016         (vhdl-hs-minor-mode): Don't bother calling it.
10018 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10020         * simple.el (with-wrapper-hook): Move.
10021         (buffer-substring-filters): Mark obsolete.
10022         (filter-buffer-substring-functions): New variable.
10023         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
10025 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
10026             Michael Albinus  <michael.albinus@gmx.de>
10028         Implement compression for inline methods.
10030         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10031         (tramp-copy-size-limit): Allow also nil.
10032         (tramp-inline-compress-commands): New defconst.
10033         (tramp-find-inline-compress, tramp-get-inline-compress)
10034         (tramp-get-inline-coding): New defuns.
10035         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10036         replaced by `tramp-get-inline-coding'.
10037         (tramp-handle-file-local-copy, tramp-handle-write-region)
10038         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10040 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10042         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10043         Remove unused functions.
10045         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10046         Set find-tag-default-function as a variable rather than a property.
10048         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10049         * progmodes/etags.el (tags-completion-at-point-function):
10050         Remove left over interactive spec.  Add autoloading stub.
10051         (complete-tag): Use tags-completion-at-point-function.
10053 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
10055         * minibuffer.el (tags-completion-at-point-function): Fix return value.
10057 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10059         * ido.el (ido-init-completion-maps): Remove C-v binding.
10060         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10062 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10064         * minibuffer.el (tags-completion-at-point-function): New function.
10065         (completion-at-point-functions): Use it.
10067         * progmodes/etags.el (complete-tag): Revert last change.
10069 2010-04-29  Alan Mackenzie  <acm@muc.de>
10071         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10072         off-by-one error (in end of macro position).
10074 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10076         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10077         firefox is absent.  Don't autoload.
10078         (browse-url-galeon-program): Don't autoload.
10080 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10082         * bindings.el (complete-symbol): Move into minibuffer.el.
10084         * minibuffer.el (complete-tag): Move from etags.el.  If tags
10085         completion cannot be performed, return nil instead of signalling
10086         an error.
10087         (completion-at-point): Make it an alias for complete-symbol.
10088         (complete-symbol): Move from bindings.el, and replace with the
10089         body of completion-at-point.
10091         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10093 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
10095         * net/tramp.el (tramp-remote-selinux-p): New defun.
10096         (tramp-handle-file-selinux-context)
10097         (tramp-handle-set-file-selinux-context): Use it.
10099 2010-04-28  Sam Steingold  <sds@gnu.org>
10101         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10102         `safe-local-variable' if the value is a string or a symbol with
10103         the property `bug-reference-url-format'.
10105 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10107         * progmodes/bug-reference.el (bug-reference-url-format):
10108         Revert 2010-04-27 change due to security risk.
10110 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10112         Make it possible to locally disable a globally enabled mode.
10113         * simple.el (fundamental-mode): Run fundamental-mode-hook.
10114         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10115         rather than kill-all-local-variables so it runs fundamental-mode-hook.
10116         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10117         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10118         that subsequent hooks get a chance to disable it.
10120 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10122         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10123         Avoid re-enabling a minor mode after the user turned the minor mode
10124         off if MODE-enable-in-buffers is run twice (typically once from
10125         fundamental-mode's after-change-major-mode-hook and a second time from
10126         run-mode-hook's own after-change-major-mode-hook).
10128         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10130 2010-04-27  Sam Steingold  <sds@gnu.org>
10132         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10133         `safe-local-variable' if the value is a string or a function, as
10134         documented and implemented on 2010-04-02.
10136 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
10138         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10139         when method is 'kill.
10141 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
10143         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10144         condition in default directory check.
10145         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10146         Kill ispell process when killing its associated buffer.
10148 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
10150         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10151         but we aren't using it.
10153 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
10155         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10156         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10158 2010-04-24  Glenn Morris  <rgm@gnu.org>
10160         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10161         Ignore VCS-ignore files, and deleted nextstep preferences files.
10162         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10163         (authors-ambiguous-files): New list.
10164         (authors-valid-file-names): Add some deleted files.
10165         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10166         (authors-disambiguate-file-name): New function.  (Bug#5501)
10167         (authors-canonical-file-name): Doc fix.
10168         Don't warn about obsolete files.
10169         (authors-canonical-file-name, authors-scan-el):
10170         Use authors-disambiguate-file-name.
10172         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10173         Add autoload cookies.
10174         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10175         (generated-autoload-file): Set file-local value to "htmlfontify.el".
10176         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10177         They have definitions / compiler macros in cl.el.
10178         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10179         Replace manual autoloads with generated ones.
10180         (htmlfontify-unload-rgb-file): Remove autoload.
10181         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10183 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10185         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10186         (byte-compile-setq-default): Optimize for the
10187         single-var case and don't call byte-compile-form in this case to avoid
10188         inf-loop with byte-compile-set-default.
10190         * progmodes/compile.el (compilation-start): Abbreviate default directory.
10192 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
10194         Implement SELINUX backends.
10196         * net/tramp.el (tramp-file-name-handler-alist):
10197         Add `file-selinux-context' and `set-file-selinux-context'.
10198         (tramp-handle-file-selinux-context)
10199         (tramp-handle-set-file-selinux-context): New defuns.
10200         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10201         Handle PRESERVE-SELINUX-CONTEXT.
10203         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10204         Add `file-selinux-context' and `set-file-selinux-context'.
10205         (tramp-gvfs-handle-file-selinux-context)
10206         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10207         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10209         * net/ange-ftp.el (ange-ftp-copy-file):
10210         * net/tramp-fish.el (tramp-fish-handle-copy-file):
10211         * net/tramp-imap.el (tramp-imap-handle-copy-file):
10212         * net/tramp-smb.el (tramp-smb-handle-copy-file):
10213         Add PRESERVE-SELINUX-CONTEXT.
10215 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10217         Synchronize with Tramp repository.
10219         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10220         (tramp-action-process-alive, tramp-action-out-of-band)
10221         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10222         (tramp-exists-file-name-handler): Fix docstring.
10223         (with-progress-reporter): New defmacro.
10224         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10225         (tramp-maybe-open-connection): Use it.
10227 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
10229         Detect ssh 'ControlMaster' argument automatically in some cases.
10231         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10232         (tramp-default-method): Use it.
10234 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10236         * net/tramp.el (tramp-handle-copy-file): Add new optional
10237         parameter `preserve-selinux-context'.
10238         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10240 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10242         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10243         Ensure, that non remote files are still checked.  Oops.
10245 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
10247         Fix Bug#5840.
10249         * icomplete.el (icomplete-completions): Use `non-essential'.
10251         * net/tramp.el (tramp-connectable-p): New defun.
10252         (tramp-handle-expand-file-name)
10253         (tramp-completion-handle-file-name-all-completions)
10254         (tramp-completion-handle-file-name-completion): Use it.
10256 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10258         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10260 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
10262         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10264         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10266         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10267         is present.
10269         * info.el (info-tool-bar-map): Add labels.
10271         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10273         * cus-edit.el (custom-commands): Add labels for tool bar.
10274         (custom-buffer-create-internal, Custom-mode): Adjust for
10275         labels in custom-commands.
10277         * dynamic-setting.el: Renamed from font-setting.el.
10279 2010-04-21  John Wiegley  <jwiegley@gmail.com>
10281         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10282         toggles the use of virtual buffers.
10283         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10284         (ido-toggle-virtual-buffers): New function.
10286 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
10288         Use `define-derived-mode'; fix window selection; doc fixes.
10289         * play/tetris.el (tetris, tetris-update-speed-function)
10290         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10291         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10292         (tetris-rotate-next, tetris-end-game, tetris-start-game)
10293         (tetris-pause-game): Fix typos in docstrings.
10294         (tetris-mode-map, tetris-null-map):
10295         Move initialization into declaration.
10296         (tetris-mode): Define with `define-derived-mode';
10297         set show-trailing-whitespace to nil.
10298         (tetris): Prefer window already displaying the "*Tetris*" buffer.
10300 2010-04-21  Karel Klíč  <kklic@redhat.com>
10302         * files.el (backup-buffer): Handle SELinux context, and return it
10303         if a backup was made by renaming.
10304         (backup-buffer-copy): Set SELinux context to the target file.
10305         (basic-save-buffer): Set SELinux context of the newly written file.
10306         (basic-save-buffer-1): Now it also returns any SELinux context.
10307         (basic-save-buffer-2): Set SELinux context of the newly created file,
10308         and return it.
10309         * net/tramp.el (tramp-file-name-for-operation):
10310         Add file-selinux-context.
10312 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10314         Make the log-edit comments use RFC822 format throughout.
10316         * vc.el (vc-checkin, vc-modify-change-comment):
10317         Adjust to new vc-start/finish-logentry.
10318         (vc-find-conflicted-file): New command.
10319         (vc-transfer-file): Adjust to new vc-checkin.
10320         (vc-next-action): Improve scoping.
10322         * vc-hg.el (vc-hg-log-edit-mode): Remove.
10323         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
10325         * vc-git.el (vc-git-log-edit-mode): Remove.
10326         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
10327         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10329         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10330         (vc-start-logentry): Remove argument `extra'.
10331         (vc-finish-logentry): Remove extra args.
10333         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10334         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
10335         (vc-bzr-conflicted-files): New function.
10337         * log-edit.el (log-edit-extra-flags)
10338         (log-edit-before-checkin-process): Remove.
10339         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10340         (log-edit-headers-alist): New var.
10341         (log-edit-header-contents-regexp): New const.
10342         (log-edit-match-to-eoh): New function.
10343         (log-edit-font-lock-keywords): Use them.
10344         (log-edit): Insert a "Summary:" header as default.
10345         (log-edit-mode): Mark font-lock rules as case-insensitive.
10346         (log-edit-done): Cleanup headers.
10347         (log-view-process-buffer): Remove.
10348         (log-edit-extract-headers): New function to replace it.
10350 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
10352         * subr.el (default-direction-reversed): Remove obsolescence info.
10354 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10356         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10357         windows/frames.
10359         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10360         I.e. include text after point in the completion region.
10361         Also, return nil when we're not after/in a symbol.
10363         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10364         default enable-multibyte-characters.
10366 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10368         * international/mule.el: Help the user choose a valid coding-system.
10369         (read-buffer-file-coding-system): New function.
10370         (set-buffer-file-coding-system): Use it.  Prompt the user if the
10371         coding-system cannot encode all the chars.
10373         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10374         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10375         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10376         Don't use *vc-bzr-shelve*.
10378 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
10380         Fix the version number for added files.
10381         * vc-hg.el (vc-hg-working-revision): Check if the file is
10382         registered after hg parent fails (Bug#5961).
10384 2010-04-19  Glenn Morris  <rgm@gnu.org>
10386         * htmlfontify.el (htmlfontify-buffer)
10387         (htmlfontify-copy-and-link-dir): Autoload entry points.
10389 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
10391         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10392         name relative to the project root (Bug#5960).
10394 2010-04-19  Glenn Morris  <rgm@gnu.org>
10396         * vc-git.el (vc-git-print-log): Doc fix.
10398 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
10400         * ido.el (ido-file-internal): Fix 2009-12-02 change.
10402 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
10404         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10405         default settings (Bug#5928).
10407 2010-04-19  Glenn Morris  <rgm@gnu.org>
10409         * progmodes/fortran.el (fortran-match-and-skip-declaration):
10410         New function.
10411         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
10413 2010-04-19  Kenichi Handa  <handa@m17n.org>
10415         * language/indian.el (malayalam-composable-pattern): Fix previous
10416         change (add U+0D4D "SIGN VIRAMA").
10417         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10418         (tamil-composable-pattern): Fix typo in the regexp.
10419         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10420         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10421         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10423 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10425         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10426         paragraph-separate (Bug#5821).
10428 2010-04-19  Juri Linkov  <juri@jurta.org>
10430         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10432         * info.el (Info-find-node-2): Comment out code that skips
10433         breadcrumbs line.
10434         (Info-mouse-follow-link): New command.
10435         (Info-link-keymap): New keymap.
10436         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10437         Return a string with links instead of inserting breadcrumbs
10438         to the Info buffer.
10439         (Info-fontify-node): Comment out code that inserts breadcrumbs.
10440         Instead of putting the `invisible' text property over the Info
10441         header, make an overlay over the Info header with the `invisible'
10442         property and `after-string' set to the string returned by
10443         `Info-breadcrumbs'.
10445 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10447         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10448         Reported by monkey@sandpframing.com.
10450 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10452         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10453         (tmm-get-keymap): Add key-binding shortcuts now that they're not
10454         available in the "keyseq cache" any more.
10456         * custom.el (defcustom): Add edebug spec.
10458 2010-04-18  Juri Linkov  <juri@jurta.org>
10460         Test for special mode-class in view-buffer instead of view-file (bug#5513).
10462         * view.el (view-file, view-buffer): Move test for special mode-class
10463         from view-file to view-buffer.
10465         * tar-mode.el (tar-extract): Turn if's into one cond
10466         like in arc-mode.el.
10468 2010-04-18  Juri Linkov  <juri@jurta.org>
10470         Add 7z archive format support (bug#5475).
10472         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10473         (archive-7z-extract): New defcustom.
10474         (archive-find-type): Add magic string for 7z.
10475         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10476         If `stderr-file' is non-nil, use `(t stderr-file)' for the
10477         `buffer' arg of `call-process'.
10478         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10479         call the function `archive-7z-extract' with the variable
10480         `archive-7z-extract' let-bound to `archive-zip-extract'.
10481         (archive-7z-summarize, archive-7z-extract): New functions.
10483         * international/mule.el (auto-coding-alist):
10484         * files.el (auto-mode-alist): Add 7z file extension.
10486 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10488         * loadup.el: Setup hash-cons for pure data.
10490         Fix duplicate entries in cedet's loaddefs.el files.
10491         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10492         Should make most file-local generated-autoload-file unnecessary.
10493         (print-readably): Silence warnings.
10494         (autoload-find-destination): Take load-name as an arg to make sure
10495         it's the same as the one that will be in the file.
10496         (autoload-generate-file-autoloads): Adjust to above changes.
10497         Try to make the dataflow a bit simpler.
10499         * cvs-status.el (cvs-refontify): Remove unused.
10501 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
10503         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10505         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10506         twos-complement mode.
10508 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
10510         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10511         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
10512         (calc-inverse): Add "Option" to message, as appropriate.
10513         (calc-hyperbolic): Add "Option" to message, as appropriate.
10514         (calc-option, calc-is-option): New functions.
10516         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10517         (calc-option-prefix-help): New function.
10519         * calc/calc-misc.el (calc-help): Add "Option" entry.
10521         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10522         (calc-option-flag): New variable.
10523         (calc-do): Set `calc-option-flag to nil.
10524         (calc-set-mode-line): Add "Opt " as appropriate.
10526 2010-04-16  Juri Linkov  <juri@jurta.org>
10528         Move scrolling commands from simple.el to window.el
10529         because their primitives are implemented in window.c.
10531         * simple.el (scroll-error-top-bottom)
10532         (scroll-up-command, scroll-down-command, scroll-up-line)
10533         (scroll-down-line, scroll-other-window-down)
10534         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10535         * window.el (scroll-error-top-bottom)
10536         (scroll-up-command, scroll-down-command, scroll-up-line)
10537         (scroll-down-line, scroll-other-window-down)
10538         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10539         Move from simple.el to window.el because their primitives are
10540         implemented in window.c.
10542 2010-04-16  Juri Linkov  <juri@jurta.org>
10544         * isearch.el (isearch-lookup-scroll-key): Check both
10545         `isearch-scroll' and `scroll-command' properties.
10546         (scroll-up, scroll-down): Remove `isearch-scroll' property.
10548         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10550         * simple.el (scroll-up-command, scroll-down-command)
10551         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10553 2010-04-15  Juri Linkov  <juri@jurta.org>
10555         * simple.el (scroll-up-command, scroll-down-command)
10556         (scroll-up-line, scroll-down-line): Put `scroll-command'
10557         property on the these symbols.  Remove them from
10558         `scroll-preserve-screen-position-commands'.
10560         * mwheel.el (mwheel-scroll): Put `scroll-command' and
10561         `isearch-scroll' properties on the `mwheel-scroll' symbol.
10562         Remove it from `scroll-preserve-screen-position-commands'.
10564         * isearch.el (isearch-allow-scroll): Doc fix.
10566 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
10568         * net/tramp.el (tramp-error-with-buffer): Don't show the
10569         connection buffer when we are in completion mode.
10570         (tramp-file-name-handler): Catch the error for some operations
10571         when we are in completion mode.  This gives the user the chance to
10572         correct the file name in the minibuffer.
10574 2010-04-15  Glenn Morris  <rgm@gnu.org>
10576         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10578 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
10580         Simplify by using `define-derived-mode'.
10581         * info.el (Info-mode):
10582         * calendar/todo-mode.el (todo-mode):
10583         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10584         (gomoku-mode-map): Move initialization into declaration.
10586 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
10588         Fix Bug#5840.
10589         * ido.el (ido-file-name-all-completions-1):
10590         * minibuffer.el (minibuffer-completion-help):
10591         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10593 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10595         * simple.el (non-essential): New var.
10597         Add a new field `location' to bookmarks for non-file bookmarks.
10598         * bookmark.el (bookmark-location): Use the new field, if present.
10599         (bookmark-insert-location): Undo last change, not needed any more.
10600         * man.el (Man-bookmark-make-record):
10601         * woman.el (woman-bookmark-make-record): Add `location' field.
10603 2010-04-14  Juri Linkov  <juri@jurta.org>
10605         * simple.el (scroll-error-top-bottom): New defcustom.
10606         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
10608         * emulation/pc-select.el (pc-select-override-scroll-error):
10609         Obsolete in favor of `scroll-error-top-bottom'.
10611 2010-04-14  Juri Linkov  <juri@jurta.org>
10613         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10614         `scroll-up-command' and `M-v' to `scroll-down-command'.
10616         * emulation/cua-rect.el (cua--init-rectangles):
10617         * forms.el (forms--change-commands):
10618         * image-mode.el (image-mode-map):
10619         Remap scroll-down-command and scroll-up-command
10620         in addition to scroll-down and scroll-up.
10622 2010-04-14  Juri Linkov  <juri@jurta.org>
10624         * mwheel.el (scroll-preserve-screen-position-commands):
10625         Add mwheel-scroll to this list of commands.
10627         * simple.el (scroll-preserve-screen-position-commands):
10628         Add scroll-up-command, scroll-down-command, scroll-up-line,
10629         scroll-down-line to this list of commands.
10631 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10633         * obsolete/complete.el: Move from lisp/complete.el.
10635         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10637         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10638         to the minor mode function now turns the mode ON unconditionally.
10640 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10642         * vc-dir.el (vc-dir-kill-line): New command.
10643         (vc-dir-mode-map): Bind it to C-k.
10645         * bookmark.el (bookmark-insert-location): Handle a nil filename.
10647         * woman.el: Add bookmark declarations to silence the compiler.
10648         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10649         step to compatibility between man and woman bookmarks.
10650         Adjust for Man-default-bookmark-title renaming.
10651         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
10653         * man.el: Add bookmark declarations to silence the compiler.
10654         (Man-name-local-regexp): Make it match NAME as well.
10655         (Man-getpage-in-background): Return the buffer.
10656         (Man-notify-when-ready): Use `case'.
10657         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10658         Don't hardcode "NAME".  Simplify.
10659         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10660         Rename from Man-bookmark-make-record.
10661         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
10662         we have the actual man-args.  Use Man-getpage-in-background rather
10663         than `man' since the arg is already processed.  Let bookmark.el do the
10664         window handling.  Only wait for the relevant process.
10665         Don't forget to autoload.
10667         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10669 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10671         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10672         New functions.
10673         (woman-mode): Setup bookmark support.
10675         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10676         (man-bookmark-jump): New functions.
10677         (Man-mode): Setup bookmark support.
10679 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
10681         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10682         recognize ssh-keygen prompt (Bug#2817).
10684 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10686         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10688 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10690         Synchronize with Tramp repository.
10692         * net/tramp.el (tramp-completion-function-alist)
10693         (tramp-file-name-regexp, tramp-chunksize)
10694         (tramp-local-coding-commands, tramp-remote-coding-commands):
10695         Fix docstring.
10696         (tramp-remote-process-environment): Use `format' instead of `concat'.
10697         (tramp-handle-directory-files-and-attributes)
10698         (tramp-get-remote-path): Use `copy-tree'.
10699         (tramp-handle-file-name-all-completions): Backward/ XEmacs
10700         compatibility: Use `completion-ignore-case' if
10701         `read-file-name-completion-ignore-case' does not exist.
10702         (tramp-do-copy-or-rename-file-directly): Do not use
10703         `tramp-handle-file-remote-p'.
10704         (tramp-do-copy-or-rename-file-out-of-band):
10705         Use `tramp-compat-delete-directory'.
10706         (tramp-do-copy-or-rename-file-out-of-band)
10707         (tramp-compute-multi-hops, tramp-maybe-open-connection):
10708         Use `format-spec-make'.
10709         (tramp-find-foreign-file-name-handler)
10710         (tramp-advice-make-auto-save-file-name)
10711         (tramp-set-auto-save-file-modes): Remove superfluous check for
10712         `stringp'.  This is done inside `tramp-tramp-file-p'.
10713         (tramp-debug-outline-regexp): New defconst.
10714         (tramp-get-debug-buffer): Use it.
10715         (tramp-check-for-regexp): Use (forward-line 1).
10716         (tramp-set-auto-save-file-modes): Adapt version check.
10718         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10719         Wrap call of `featurep' for 2nd argument.
10720         (tramp-compat-make-temp-file): Simplify fallback implementation.
10721         (tramp-compat-copy-tree): Remove function.
10722         (tramp-compat-delete-directory): Provide implementation for older
10723         Emacsen.
10725         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10726         Do not use `tramp-fish-handle-file-attributes.
10728         * net/trampver.el: Update release number.
10730 2010-04-10  Glenn Morris  <rgm@gnu.org>
10732         * progmodes/compile.el (compilation-save-buffers-predicate):
10733         Add missing :version tag.
10735 2010-04-09  Sam Steingold  <sds@gnu.org>
10737         * progmodes/compile.el (compilation-save-buffers-predicate):
10738         Remove the "autoload" cookie.
10740         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10741         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10742         and `bug-reference-prog-mode' can be used in hooks directly.
10744 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
10746         Add --author support to git commit.
10747         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10748         (vc-git-log-edit-mode): New minor mode.
10749         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10750         New declarations.
10752 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
10754         * vc-hooks.el, vc-git.el: Improve documentation comments.
10756 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10758         Fix some of the problems in defsubst* (bug#5728).
10759         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10760         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10762 2010-04-07  Sam Steingold  <sds@gnu.org>
10764         * progmodes/compile.el (compilation-save-buffers-predicate):
10765         New custom variable.
10766         (compile, recompile): Pass it to `save-some-buffers'.
10768 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
10770         * wid-edit.el (widget-choose): Move cursor to the second line of
10771         the buffer (Bug#5695).
10773 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10775         Add new VC methods: vc-log-incoming and vc-log-outgoing.
10776         * vc.el (vc-print-log-setup-buttons): New function split out from
10777         vc-print-log-internal.
10778         (vc-log-internal-common): New function, a parametrized version of
10779         vc-print-log-internal.
10780         (vc-print-log-internal): Just call vc-log-internal-common with the
10781         right arguments.
10782         (vc-incoming-outgoing-internal):
10783         (vc-log-incoming, vc-log-outgoing): New functions.
10784         (vc-log-view-type): New permanent local variable.
10786         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10788         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10789         of the dynamic bound vc-short-log.
10790         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10792         * vc-git.el (vc-git-log-outgoing): New function.
10793         (vc-git-log-view-mode): Use vc-log-view-type instead
10794         of the dynamic bound vc-short-log.
10796         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10797         of the dynamic bound vc-short-log.  Highlight the tag.
10798         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10799         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10800         (vc-hg-incoming-mode): Remove.
10801         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10803 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10805         Fix default-directory for vc-root-diff.
10806         * vc.el (vc-root-diff): Bind default-directory to the root
10807         directory for the diff command.
10809 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
10811         * progmodes/verilog-mode.el (verilog-forward-sexp):
10812         (verilog-calc-1): Support "disable fork" and "fork wait" multi
10813         word keywords, suggested by Steve Pearlmutter.
10814         (verilog-pretty-declarations): Support lineup of declarations in
10815         port lists.
10816         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10817         fix bug for /* / comments.
10818         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10819         Speed up and simplfy as this is never called with a bound.
10820         (verilog-pretty-declarations): Enhance to line up declarations
10821         inside a parameter list, suggested by Alan Morgan.
10822         (verilog-pretty-expr): Tune assignment regular expression match
10823         string for corner cases; also use markers instead of character
10824         number as indent changes the later.
10826 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
10828         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10829         as missing keyword.
10830         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10831         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
10832         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10833         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
10834         Tennant.
10835         (verilog-keywords):
10836         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10837         1800-2009 keywords, including "global.".
10839 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10841         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10842         appearing in buffer list (if a live buffer name matched a recentf
10843         file basename).  Should use uniquify to offer a real solution.
10845 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10847         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10848         comment to code, and add a :version tag.
10849         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10851 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
10853         Enable recentf-mode if using virtual buffers.
10854         * ido.el (recentf-list): Declare for byte-compiler.
10855         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
10856         (ido-make-buffer-list): Simplify.
10857         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
10859 2010-04-05  Juri Linkov  <juri@jurta.org>
10861         Scrolling commands which scroll a line instead of full screen.
10862         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10864         * simple.el (scroll-up-line, scroll-down-line): New commands.
10865         Put property isearch-scroll=t on them.
10867         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10868         Remove commands.
10870 2010-04-05  Juri Linkov  <juri@jurta.org>
10872         Scrolling commands which do not signal errors at top/bottom.
10873         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10875         * simple.el (scroll-up-command, scroll-down-command): New commands.
10876         Put property isearch-scroll=t on them.
10878         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10879         `scroll-down-command' and [next] from `scroll-up' to
10880         `scroll-up-command'.
10882         * emulation/cua-base.el: Put property CUA=move on
10883         `scroll-up-command' and `scroll-down-command'.
10884         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10885         and `scroll-down-command' to `cua-scroll-down'.
10887 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
10889         * help.el (describe-mode): Return nil.
10891 2010-04-04  John Wiegley  <jwiegley@gmail.com>
10893         * ido.el (ido-use-virtual-buffers): New variable to indicate
10894         whether "virtual buffer" support is enabled for IDO.
10895         (ido-virtual): Face used to indicate virtual buffers in the list.
10896         (ido-buffer-internal): If a buffer is chosen, and no such buffer
10897         exists, but a virtual buffer of that name does (which would be why
10898         it was in the list), recreate the buffer by reopening the file.
10899         (ido-make-buffer-list): If virtual buffers are being used, call
10900         `ido-add-virtual-buffers-to-list' before the make list hook.
10901         (ido-virtual-buffers): New variable which contains a copy of the
10902         current contents of the `recentf-list', albeit pared down for the
10903         sake of speed, and with proper faces applied.
10904         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10905         create a list of "virtual buffers" to present to the user in
10906         addition to the currently open set.  Note that this logic could
10907         get rather slow if that list is too large.  With the default
10908         `recentf-max-saved-items' of 200, there is little speed penalty.
10910 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10912         * font-lock.el: Require CL when compiling.
10913         (font-lock-turn-on-thing-lock): Use `case'.
10915 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
10917         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10918         Zaretskii.
10920 2010-04-02  Juri Linkov  <juri@jurta.org>
10922         * ehelp.el (electric-help-orig-major-mode):
10923         New buffer-local variable.
10924         (electric-help-mode): Set it to original major-mode.  Doc fix.
10925         (with-electric-help): Use `electric-help-orig-major-mode' instead
10926         of (default-value 'major-mode).  Doc fix.
10927         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10929 2010-04-02  Sam Steingold  <sds@gnu.org>
10931         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10932         `vc-hg-command' with a list of flags.
10934         * progmodes/bug-reference.el (bug-reference-bug-regexp):
10935         Also accept "patch" and "RFE".
10936         (bug-reference-fontify): `bug-reference-url-format' can also be a
10937         function to be able to handle the bug kind.
10938         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10940 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
10942         * tmm.el (tmm-get-keymap): Check with symbolp before passing
10943         value to fboundp, it may not be a symbol.
10945 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10947         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10949 2010-03-31  Juri Linkov  <juri@jurta.org>
10951         * simple.el (next-line, previous-line): Re-throw a signal
10952         with `signal' instead of using `ding'.
10953         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10955 2010-03-31  Juri Linkov  <juri@jurta.org>
10957         * simple.el (keyboard-escape-quit): Raise deselecting the active
10958         region higher than exiting the minibuffer.
10959         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10961 2010-03-31  Juri Linkov  <juri@jurta.org>
10963         * image.el (image-animated-p): Use `image-metadata' instead of
10964         `image-extension-data'.  Get GIF extenstion data from metadata
10965         property `extension-data'.
10967 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10969         * simple.el (append-to-buffer): Simplify.
10971 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
10973         * textmodes/artist.el (artist-mode): Fix typo in docstring.
10974         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
10976 2010-03-31  Kenichi Handa  <handa@m17n.org>
10978         * language/sinhala.el (composition-function-table): Fix regexp for
10979         the new Unicode specification.
10981         * language/indian.el (devanagari-composable-pattern)
10982         (tamil-composable-pattern, kannada-composable-pattern)
10983         (malayalam-composable-pattern): Adjust for the new Unicode
10984         specification.
10985         (bengali-composable-pattern, gurmukhi-composable-pattern)
10986         (gujarati-composable-pattern, oriya-composable-pattern)
10987         (telugu-composable-pattern): New variables to cope with the new
10988         Unicode specification.  Use them in composition-function-table.
10990 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10992         Make tmm-menubar work for the Buffers menu again (bug#5726).
10993         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10994         vectors rather than cons cells, as used in menu-bar-update-buffers.
10996 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10998         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10999         (js-insert-and-indent): Revert 2009-08-15 change, restoring
11000         electric punctuation for "{}();,:" (Bug#5586).
11002         * mail/sendmail.el (mail-default-directory): Doc fix.
11004 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11006         * mail/sendmail.el (mail-default-directory): Doc fix.
11008 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
11010         * subr.el (version-regexp-alist, version-to-list)
11011         (version-list-<, version-list-=, version-list-<=)
11012         (version-list-not-zero, version<, version<=, version=): Doc fix.
11013         (Bug#5744).
11015 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
11017         * vc.el (vc-root-diff): Doc fix.
11019 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11021         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11023         * simple.el (append-to-buffer): Fix last change.
11025 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11027         * simple.el (append-to-buffer): Ensure that point is preserved if
11028         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
11029         (Bug#5749)
11031 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11033         * files.el (auto-mode-case-fold): Change default to t.
11035 2010-03-30  Juri Linkov  <juri@jurta.org>
11037         * dired-x.el (dired-omit-mode): Doc fix.
11039 2010-03-30  Juri Linkov  <juri@jurta.org>
11041         * replace.el (occur-accumulate-lines): Move occur-engine related
11042         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11043         to be located after `occur-engine'.
11045 2010-03-30  Juri Linkov  <juri@jurta.org>
11047         Make occur handle multi-line matches cleanly with context.
11048         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11050         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11051         (occur-engine): Add local variables `ret', `prev-after-lines',
11052         `prev-lines'.  Use more arguments for `occur-context-lines'.
11053         Set first elem of its returned list to `data', and the second elem
11054         to `prev-after-lines'.  Don't print the separator line.
11055         In the end, print remaining context after-lines.
11056         (occur-context-lines): Add new arguments `begpt', `endpt',
11057         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
11058         after-lines of the previous match with before-lines of the
11059         current match and not overlap them.  Return a list with two
11060         values: the output line and the list of context after-lines.
11062 2010-03-30  Juri Linkov  <juri@jurta.org>
11064         * replace.el (occur-accumulate-lines): Fix a bug where the first
11065         context line at the beginning of the buffer was missing.
11067 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
11069         * files.el: Make bidi-display-reordering safe variable for boolean
11070         values.
11072 2010-03-29  Phil Hagelberg  <phil@evri.com>
11073             Chong Yidong  <cyd@stupidchicken.com>
11075         * subr.el: Extend progress reporters to perform "spinning".
11076         (progress-reporter-update, progress-reporter-do-update):
11077         Handle non-numeric value arguments.
11078         (progress-reporter--pulse-characters): New var.
11080 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
11082         * progmodes/compile.el (compilation-start): Fix regexp detection
11083         of initial cd command (Bug#5771).
11085 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
11087         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11089 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
11091         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11092         * progmodes/gdb-mi.el: Restore.
11093         * progmodes/gdb-ui.el: Remove.
11094         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11096 2010-03-25  Glenn Morris  <rgm@gnu.org>
11098         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11099         all dired buffers, even tramp ones.  (Bug#5755)
11101 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11103         Add "union tags" in mpc.el.
11104         * mpc.el: Remove backward compatibility code.
11105         (mpc-browser-tags): Change default.
11106         (mpc--find-memoize-union-tags): New var.
11107         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11108         (mpc-cmd-find): Handle the case where the playlist does not exist.
11109         Handle union-tags.
11110         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
11111         (mpc-cmd-add): Use mpc-cmd-flush.
11112         (mpc-tagbrowser-tag-name): New fun.
11113         (mpc-tagbrowser-buf): Use it.
11114         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
11116 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11118         Misc cleanup.
11119         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11120         Use replace-regexp-in-string.
11121         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11122         (makefile-imake-mode-syntax-table): Move init into defvar.
11123         (makefile-mode): Use define-derived-mode.
11125         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11126         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11127         not be present any more.
11129 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11131         * faces.el (set-face-attribute): Fix typo in docstring.
11132         (face-valid-attribute-values): Reflow docstring.
11134 2010-03-24  Glenn Morris  <rgm@gnu.org>
11136         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11138 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11140         * indent.el (indent-for-tab-command): Doc fix.
11142 2010-03-24  Alan Mackenzie  <acm@muc.de>
11144         * progmodes/cc-engine.el (c-remove-stale-state-cache):
11145         Fix off-by-one error.  Fixes bug #5747.
11147 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11149         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11150         (image-dired-read-comment): Doc fix.
11152         * json.el (json-object-type, json-array-type, json-key-type)
11153         (json-false, json-null, json-read-number):
11154         * minibuffer.el (completion-in-region-functions):
11155         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11156         (cal-tex-cursor-week):
11157         * emacs-lisp/trace.el (trace-function):
11158         * eshell/em-basic.el (eshell/printnl):
11159         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11160         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11161         * obsolete/levents.el (allocate-event, event-key, event-object)
11162         (event-point, event-process, event-timestamp, event-to-character)
11163         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11164         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11165         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11166         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11167         (reftex-highlight-selection): Fix typos in docstrings.
11169 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11171         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11173 2010-03-24  Glenn Morris  <rgm@gnu.org>
11175         * mail/rmail.el (rmail-highlight-face): Restore option deleted
11176         2008-02-13 without comment; mark it obsolete.
11177         (rmail-highlight-headers): Use rmail-highlight-face once more.
11179 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11181         * woman.el (woman2-process-escapes): Only consume the newline if
11182         the filler character is on a line by itself (Bug#5729).
11184 2010-03-24  Kenichi Handa  <handa@m17n.org>
11186         * language/indian.el (devanagari-composable-pattern): Add more
11187         consonants.
11189 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11191         * net/trampver.el: Update release number.
11193 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11195         * net/tramp.el (tramp-find-executable):
11196         Use `tramp-get-connection-buffer'.  Make the regexp for checking
11197         output of "wc -l" more robust.
11198         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11199         (tramp-open-connection-setup-interactive-shell): Remove workaround
11200         for OpenSolaris bug, it is not needed anymore.
11202 2010-03-24  Glenn Morris  <rgm@gnu.org>
11204         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
11206 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
11208         * files.el (auto-mode-alist): Accept more verilog file patterns.
11210 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11212         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11214 2010-03-24  Glenn Morris  <rgm@gnu.org>
11216         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11217         log-edit-before-checkin-process.
11219         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11221         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11223         * vc-dispatcher.el (vc-start-logentry): Doc fix.
11224         (log-view-process-buffer, log-edit-extra-flags): Declare.
11226         * log-edit.el (log-edit-before-checkin-process): Doc fix.
11228 2010-03-23  Sam Steingold  <sds@gnu.org>
11230         Fix bug#5620: recalculate all markers on compilation buffer
11231         modifications, not on file modifications.
11232         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11233         variable: the buffer modification time, for buffers not associated with
11234         files.
11235         (compilation-mode): Create it.
11236         (compilation-filter): Update it.
11237         (compilation-next-error-function): Use it instead of
11238         `visited-file-modtime' for timestamp.
11240 2010-03-23  Juri Linkov  <juri@jurta.org>
11242         Implement Occur multi-line matches.
11243         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11245         * replace.el (occur): Doc fix.
11246         (occur-engine): Set `begpt' to the beginning of the first line.
11247         Set `endpt' to the end of the last match line.  At first, count
11248         line numbers between `origpt' and `begpt'.  Split out code from
11249         `out-line' variable to new let-bindings `match-prefix' and
11250         `match-str'.  In `out-line' add non-numeric prefix to all
11251         non-first lines of multi-line matches.  Finally, count lines
11252         between `begpt' and `endpt' and add to `lines'.
11254 2010-03-23  Juri Linkov  <juri@jurta.org>
11256         * replace.el (occur-accumulate-lines, occur-engine):
11257         Use `occur-engine-line' instead of duplicate code.
11258         (occur-engine-line): New function created from duplicate code
11259         in `occur-accumulate-lines' and `occur-engine'.
11261         * replace.el (occur-engine-line): Add optional arg `keep-props'.
11262         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11264 2010-03-23  Juri Linkov  <juri@jurta.org>
11266         * finder.el: Remove TODO tasks.
11268         * info.el (Info-finder-find-node): Add node "all"
11269         with all package info.  Handle a list of multiple keywords
11270         separated by comma.
11271         (info-finder): In interactive use with a prefix argument,
11272         use `completing-read-multiple' to read a list of keywords
11273         separated by comma.
11275 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11277         Add a new completion style `substring'.
11278         * minibuffer.el (completion-basic--pattern): New function.
11279         (completion-basic-try-completion, completion-basic-all-completions):
11280         Use it.
11281         (completion-substring--all-completions)
11282         (completion-substring-try-completion)
11283         (completion-substring-all-completions): New functions.
11284         (completion-styles-alist): New style `substring'.
11286 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11288         Get rid of .elc files after removal of the corresponding .el.
11289         * Makefile.in (compile-clean): New target.
11290         (compile-main): Use it.
11292 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
11294         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11295         don't do make there.  When compiling with separate object dir, there
11296         is no Makefile there.
11298 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11300         Get rid of the ELCFILES abomination, again.
11301         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11302         (all, compile): Don't call compile-last.
11303         (compile-main): Build the "elcfiles" list dynamically.
11304         (compile-targets): New (internal) target.
11306 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
11308         * Makefile.in (top_srcdir): Define.
11309         (abs_top_builddir): Define.
11310         (srcdir): Don't append `/..'.
11311         (EMACS): Use ${abs_top_builddir}.
11312         (all, compile, compile-always, compile-last): Don't set emacswd.
11313         (update-subdirs, update-authors): Use $(top_srcdir) instead of
11314         $(srcdir).
11315         (lisp): Use $(srcdir) instead of @srcdir@.
11317 2010-03-21  Juri Linkov  <juri@jurta.org>
11319         Fix message of multi-line occur regexps and multi-buffer header lines.
11320         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11322         * replace.el (occur-1): Don't display regexp if it is longer
11323         than window-width.  Use `query-replace-descr' to display regexp.
11324         (occur-engine): Don't display regexp in the buffer header for
11325         multi-buffer occur.  Display a separate header line with total
11326         match count and regexp for multi-buffer occur.
11327         Use `query-replace-descr' to display regexp.
11329 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
11331         * net/secrets.el: Fix parenthesis.
11332         (secrets-enabled): Fix parenthesis.
11334 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11336         Use more relative file and directory names.
11337         * Makefile.in (EMACS): Arrange for it to work when we chdir.
11338         (setwins, setwins_almost, setwins_for_subdirs):
11339         Don't `cd'; output relative names.
11340         (all, compile, compile-always, compile-last): Set emacswd.
11341         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11342         Just cd to the lisp source dir so we can use relative file names.
11344         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11346 2010-03-20  Glenn Morris  <rgm@gnu.org>
11348         * textmodes/rst.el: Use faces for font-lock customization, and make the
11349         old -face variables obsolete.
11350         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11351         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11352         (rst-block-face, rst-external-face, rst-definition-face)
11353         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11354         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11355         Make obsolete.
11356         (rst-font-lock-keywords-function): Update for above changes.
11358 2010-03-20  Juri Linkov  <juri@jurta.org>
11360         * s-region.el:
11361         * obsolete/s-region.el: Move to obsolete.
11363 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
11365         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11367 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11369         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11371 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11373         Add special markup processing for commit logs.
11374         * log-edit.el (log-edit-extra-flags): New variable.
11375         (log-edit): Add new argument MODE.  Use that mode when non-nil
11376         instead of the log-view-mode.
11377         (log-view-process-buffer): New function.
11379         * vc.el: Document that the checkin method takes optional
11380         arguments.  Document new backend specific method: log-view-mode.
11381         (vc-default-log-edit-mode): New function.
11382         (vc-checkin): Use a backend specific log-view-mode.
11383         Pass extra arguments to the checkin method.
11384         (vc-modify-change-comment): Pass a dummy extra argument.
11386         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11387         log-edit.
11388         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11389         (vc-finish-logentry): Process the log buffer before passing it
11390         down.  Pass log-edit-extra-flags.
11392         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11393         command.
11394         (log-edit-extra-flags, log-edit-before-checkin-process):
11395         New declarations.
11397         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11398         command.
11399         (log-edit-extra-flags, log-edit-before-checkin-process):
11400         New declarations.
11401         (vc-hg-log-edit-mode): New derived mode.
11403         * vc-arch.el (vc-arch-checkin):
11404         * vc-cvs.el (vc-cvs-checkin):
11405         * vc-git.el (vc-git-checkin):
11406         * vc-mtn.el (vc-mtn-checkin):
11407         * vc-rcs.el (vc-rcs-checkin):
11408         * vc-sccs.el (vc-sccs-checkin):
11409         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11411 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11413         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11414         parent typo).
11416 2010-03-19  Glenn Morris  <rgm@gnu.org>
11418         * password-cache.el (password-cache, password-cache-expiry): Autoload.
11420 2010-03-18  Glenn Morris  <rgm@gnu.org>
11422         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11424         * replace.el (query-replace-history): Give it a doc string.
11425         (map-query-replace-regexp): Use query-replace-from-history-variable
11426         and query-replace-to-history-variable.
11428         * mail/hashcash.el (declare-function): Remove duplicate definition.
11430         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11431         Make it an obsolete alias for report-emacs-bug-address.
11432         (message-strip-special-text-properties): Declare.
11433         (report-emacs-bug): Remove test for a pretest bug address.
11434         Combine message-mode-specific code.
11436         * mail/supercite.el: Don't require sendmail.
11437         (mh-in-header-p): Declare rather than using with-no-warnings.
11438         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11439         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
11441         * calendar/cal-french.el: Convert to utf-8.
11443         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11444         Emacs scripts.
11446 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
11448         * net/secrets.el (secrets-enabled): New variable.  Use it instead
11449         of a subfeature.
11451 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
11453         * net/secrets.el (top): Register the D-Bus signals only when the
11454         service "org.freedesktop.secrets" can be pinged.
11455         Provide subfeature `enabled'.
11457 2010-03-14  Juri Linkov  <juri@jurta.org>
11459         Add finder unknown keywords.
11461         * finder.el (finder-unknown-keywords): New function.
11463         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11464         to create a Finder node with unknown keywords.
11466 2010-03-14  Juri Linkov  <juri@jurta.org>
11468         * finder.el (finder-compile-keywords): Replace `princ' with
11469         `prin1' on a list of symbols interned from keyword strings.
11471         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11472         a comma, then split keywords using a comma and optional whitespace.
11473         Otherwise, split by whitespace.
11475         * complete.el:
11476         * face-remap.el:
11477         * log-view.el:
11478         * net/hmac-def.el:
11479         * net/hmac-md5.el:
11480         * net/netrc.el:
11481         * progmodes/mixal-mode.el: Fix keywords.
11483 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
11485         * Makefile.in (ELCFILES): Add net/secrets.elc.
11487         * net/secrets.el: New file.
11489 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11491         * facemenu.el (list-colors-display, list-colors-print): New arg
11492         callback.  Use it to allow selecting colors.
11494         * wid-edit.el (widget-image-insert): Insert image prop even if the
11495         current display is non-graphic.
11496         (widget-field-value-set): New fun.
11497         (editable-field): Use it.
11498         (widget-field-value-get): Clean up unused var.
11499         (widget-color-value-create, widget-color--choose-action):
11500         New funs.  Allow using list-colors-display to choose color.
11502 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11504         * cus-edit.el: Resort topmost custom groups.
11505         (custom-buffer-sort-alphabetically): Default to t.
11506         (customize-apropos): Use apropos-parse-pattern.
11507         (custom-search-field): New var.
11508         (custom-buffer-create-internal): Add custom-apropos search field.
11509         (custom-add-parent-links): Don't display parent doc.
11510         (custom-group-value-create): Don't sort top-level custom group.
11511         (custom-magic-value-create): Show visibility button before option name.
11513         (custom-variable-state): New fun, from custom-variable-state-set.
11514         (custom-variable-state-set): Use it.
11515         (custom-group-value-create): Hide options with standard values
11516         using the :hidden-states property.  Use progress reporter.
11518         (custom-show): Simplify.
11519         (custom-visibility): Disable images by default.
11520         (custom-variable): New property :hidden-states.
11521         (custom-variable-value-create): Enable images for
11522         custom-visibility widgets.  Use :hidden-states property to
11523         determine initial visibility.
11525         * wid-edit.el (widget-image-find): Give images center ascent.
11526         (visibility): Add :on-image and :off-image properties.
11527         (widget-visibility-value-create): Use them.
11529 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11531         * cus-edit.el (processes): Remove from development group.
11532         (oop, hypermedia): Delete group.
11533         (comm): Promote to top-level group.
11535         * net/browse-url.el (browse-url):
11536         * net/xesam.el (xesam):
11537         * net/tramp.el (tramp):
11538         * net/goto-addr.el (goto-address):
11539         * net/ange-ftp.el (ange-ftp): Put in comm group.
11541         * view.el (view): Remove from editing group.
11543         * uniquify.el (uniquify): Put in files group.
11545         * net/browse-url.el (browse-url):
11546         * ps-print.el (postscript): Put in external group.
11548         * cus-edit.el (outlines):
11549         * textmodes/text-mode.el (text-mode-hook):
11550         * textmodes/table.el (table):
11551         * textmodes/picture.el (picture):
11552         * outline.el (outlines): Put in wp group.
11554         * nxml/nxml-mode.el (nxml): Remove from wp group.
11556         * net/tramp-imap.el (tramp-imap): Put in tramp group.
11558         * mail/metamail.el (metamail): Remove from hypermedia group.
11560         * cus-edit.el (abbrev):
11561         * whitespace.el (whitespace):
11562         * vcursor.el (vcursor):
11563         * reveal.el (reveal):
11564         * hl-line.el (hl-line): Put in convenience group.
11566         * epg-config.el (epg): Put in data group.
11568         * emulation/pc-select.el (pc-select): Put in emulations group.
11570         * calculator.el (calculator): Put in applications group.
11572 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11574         Add .dir-locals.el support for file-less buffers.
11575         * files.el (hack-local-variables): Split out code to apply local
11576         variable settings ...
11577         (hack-local-variables-apply): ... here.  New function.
11578         (hack-dir-local-variables): Use the default directory for when the
11579         buffer does not have an associated file.
11580         (hack-dir-local-variables-non-file-buffer): New function.
11581         * diff-mode.el (diff-mode):
11582         * vc-annotate.el (vc-annotate-mode):
11583         * vc-dir.el (vc-dir-mode):
11584         * log-edit.el (log-edit-mode):
11585         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11587 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11589         Add support for shelving snapshots and for showing shelves.
11590         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11591         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11592         New functions.
11593         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11594         (vc-bzr-extra-menu-map): Map them.
11596 2010-03-11  Glenn Morris  <rgm@gnu.org>
11598         * cus-edit.el (customize-changed-options-previous-release):
11599         Bump to 23.1.
11601         * image.el (image-animate-max-time): Fix :version tag.
11603 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
11605         * Branch for 23.2.
11607 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11609         * vc-git.el (vc-git-revision-table): Include remote branches.
11611 2010-03-10  Kim F. Storm  <storm@cua.dk>
11613         Animated image API.
11614         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11616         * image.el (image-animate-max-time): New defcustom.
11617         (image-animated-types): New defconst.
11618         (create-animated-image, image-animate-timer)
11619         (image-animate-start, image-animate-stop, image-animate-timeout)
11620         (image-animated-p): New functions.
11622         * image-mode.el (image-toggle-display-image):
11623         Replace `create-image' with `create-animated-image'.
11625 2010-03-09  Miles Bader  <miles@gnu.org>
11627         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11628         instead of "format:"; this ensures that the output is
11629         newline-terminated.
11631 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
11633         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11634         that all errors are caught, and that the return value is always a
11635         list (Bug#5692).
11637 2010-03-08  Kenichi Handa  <handa@m17n.org>
11639         * language/misc-lang.el (windows-1256): New coding system.
11640         (cp1256): New alias of windows-1256 (bug#5690).
11642 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
11644         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11645         call to rfc822-bad-address.  (Bug#5692)
11647 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11649         * vc-git.el (vc-git-annotate-extract-revision-at-line):
11650         Use vc-git-root as default directory for revision path (Bug#5657).
11652 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
11654         * calculator.el (calculator): Don't bind split-window-keep-point
11655         (Bug#5674).
11657 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11659         * vc-git.el: Re-flow to fit into 80 columns.
11660         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11661         Remove spurious `quote' element in each case alternative.
11662         (vc-git-show-log-entry): Use prog1.
11663         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11665 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11667         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11669 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
11671         * macros.el (insert-kbd-macro): Look up keyboard macro using the
11672         definition, not the name (Bug#5481).
11674 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11676         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11677         argument with a local variable.  (Bug#5670)
11679 2010-03-02  Juri Linkov  <juri@jurta.org>
11681         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
11683 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
11685         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11686         error when FILENAME and NEWNAME are existing remote directories.
11688         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11689         parameter DIR-FLAG.
11691 2010-03-02  Glenn Morris  <rgm@gnu.org>
11693         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11694         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11696 2010-03-01  Kenichi Handa  <handa@m17n.org>
11698         * language/burmese.el (burmese-composable-pattern): Rename from
11699         myanmar-composable-pattern.
11701         * international/characters.el (script-list):
11702         * international/fontset.el (script-representative-chars):
11703         Change myanmar to burmese.
11704         (otf-script-alist): Likewise.
11705         (setup-default-fontset): Likewise.  Re-fix :otf spec.
11707 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
11709         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11711 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
11713         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11715 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11717         * net/tramp.el (tramp-handle-write-region): START can be a string.
11718         Take care in the checks.  Reported by Dan Davison
11719         <davison@stats.ox.ac.uk>.
11721 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11723         * net/dbus.el (dbus-introspect, dbus-get-property)
11724         (dbus-set-property, dbus-get-all-properties):
11725         Use `dbus-call-method' when noninteractive.  (Bug#5645)
11727 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
11729         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11730         * emacs-lisp/elint.el (elint-add-required-env):
11731         * calendar/icalendar.el (icalendar--add-diary-entry):
11732         * calc/calcalg2.el (math-tracing-integral):
11733         * files.el (recover-session-finish): Use with-current-buffer
11734         instead of save-excursion.
11736 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11738         Fix in-buffer completion when after-change-functions modify the buffer.
11739         * minibuffer.el (completion--replace): New function.
11740         (completion--do-completion): Use it and use relative movement.
11742 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
11744         * international/fontset.el (setup-default-fontset): Fix :otf spec.
11746 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
11748         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11749         Allow the characters _<> in the stack entry (Bug#5653).
11751 2010-02-26  Kenichi Handa  <handa@m17n.org>
11753         * language/burmese.el: Fix entries in composition-function-table.
11754         (myanmar-composable-pattern): New variable.
11756         * international/fontset.el (setup-default-fontset): Add an entry
11757         for myanmar.
11759         * international/characters.el (script-list): Add Myanmar
11760         Extended-A.
11762 2010-02-26  Glenn Morris  <rgm@gnu.org>
11764         * custom.el (custom-initialize-delay): Doc fix.
11766         * mail/sendmail.el (send-mail-function): Autoload the call
11767         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11769 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
11771         * files.el (hack-local-variables-filter): For eval forms, also
11772         check safe-local-variable-p (Bug#5636).
11774 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
11776         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11777         setting the modes by `ignore-errors'.  It might fail, for example
11778         if the file is not owned by the user but the group.
11779         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11781 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
11783         * files.el (directory-listing-before-filename-regexp):
11784         Use stricter matching for iso-style dates, to avoid false matches with
11785         date-like filenames (Bug#5597).
11787         * htmlfontify.el (htmlfontify): Doc fix.
11789         * eshell/eshell.el (eshell): Doc fix.
11791         * startup.el (fancy-about-screen): In mode-line, apply
11792         mode-line-buffer-id face only to the buffer name (Bug#5613).
11794 2010-02-20  Kevin Ryde  <user42@zip.com.au>
11796         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11797         In `watcom' anchor regexp to start of line, to avoid slowness
11798         (Bug#5599).
11800 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
11802         * subr.el (remove-yank-excluded-properties): Explain in a comment
11803         why `category' property is removed.
11805 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
11807         * isearch.el (isearch-update-post-hook, isearch-update):
11808         Revert 2010-02-17 change.
11810 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
11812         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11813         (icalendar--convert-weekly-to-ical)
11814         (icalendar--convert-yearly-to-ical)
11815         (icalendar--convert-block-to-ical)
11816         (icalendar--convert-cyclic-to-ical)
11817         (icalendar--convert-anniversary-to-ical): Take care of time
11818         specifications where hour has 1-digit only (Bug#5549).
11820 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
11822         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11823         of disassemble output in GDB 7.1.
11825 2010-02-19  Glenn Morris  <rgm@gnu.org>
11827         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11828         property.  (Bug#5593)
11830 2010-02-18  Sam Steingold  <sds@gnu.org>
11832         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11834 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11836         Use abbreviated file names in bookmarks (bug#5591).
11837         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11838         calls to expand-file-name.
11839         (bookmark-relocate): Use abbreviated file names in bookmarks.
11840         (bookmark-load): Use abbreviated file names in messages.
11842 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11844         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11845         expand "." and "..".  Reported by Thierry Volpiatto
11846         <thierry.volpiatto@gmail.com>.
11848 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11850         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11851         permissions of the temporary file to "0600".  In case the remote
11852         file has no read permissions for the owner, there might be
11853         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
11855 22010-02-18  Glenn Morris  <rgm@gnu.org>
11857         * emacs-lisp/authors.el (authors-renamed-files-alist):
11858         Add entries for INSTALL.CVS.
11860 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
11862         * vc-bzr.el: Fix typo in Known Bugs section.
11864         * isearch.el (isearch-update-post-hook): New hook.
11865         (isearch-update): Use the new hook.
11867 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
11869         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11870         Fix errors in copying directories.
11871         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11872         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11873         (tramp-handle-delete-file)
11874         (tramp-handle-dired-recursive-delete-directory)
11875         (tramp-handle-write-region): Flush also the cache for the upper
11876         directory.
11878 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
11880         * simple.el (save-interprogram-paste-before-kill): Doc fix.
11882         * cus-edit.el (hardware): Doc fix.
11884         * man.el (man): Add to external custom group.
11886         * delim-col.el (columns): Move to wp custom group.
11888         * doc-view.el (doc-view): Add to data custom group.
11890         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11892         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11893         by ispell-parse-output (Bug#5575).
11895 2010-02-16  Kenichi Handa  <handa@m17n.org>
11897         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11898         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11899         (skkdic-convert): Use `euc-japan' coding system for writing.
11901 2010-02-16  Glenn Morris  <rgm@gnu.org>
11903         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11904         tex-main-file before using it.  (Bug#5562)
11906 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11908         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11909         warnings, since it is annoying for the user to see them each time he
11910         runs the code.
11912 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
11914         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11915         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11916         instead of PROC for caching "first-password-request".  Otherwise,
11917         new processes would not profit from passwords already entered.
11919         * net/tramp-cache.el (tramp-dump-connection-properties):
11920         Don't save "first-password-request" property.
11922 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
11924         * outline.el (outline-head-from-level):
11925         * simple.el (with-wrapper-hook):
11926         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11927         (elint-defun, elint-buffer-env, elint-top-form-logged)
11928         (elint-unbound-variable):
11929         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11930         Fix typos in docstrings.
11932 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
11934         * files.el (insert-directory): When WILDCARD-REGEXP and
11935         FULL-DIRECTORY-P are nil, insert the file entry instead of the
11936         whole directory.  (Bug#5551)
11938         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
11939         dired's alignment sanity.  (Bug#5516)
11941 2010-02-14  Juri Linkov  <juri@jurta.org>
11943         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11944         Remove remaining ^H with their preceding chars.  (Bug#5566)
11946 2010-02-13  Glenn Morris  <rgm@gnu.org>
11948         * simple.el (transpose-subr): Give it a doc-string.
11950         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11951         Doc fixes.
11953 2010-02-12  Juri Linkov  <juri@jurta.org>
11955         * arc-mode.el (archive-unique-fname): Make directories for nested
11956         archives.  (Bug#5540)
11958 2010-02-12  Juri Linkov  <juri@jurta.org>
11960         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
11962 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11964         * subr.el (copy-overlay): Handle deleted overlays.
11966         * man.el (Man-completion-table): Don't signal an error if we can't run
11967         manual-program (bug#4056).
11969 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
11971         * textmodes/artist.el (artist-mt): Fix typos in docstring.
11973 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11975         * info.el (Info-bookmark-jump): Simplify.
11977         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11978         (bookmark-default-handler): Accept new bookmark field `buffer'.
11980 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
11982         * iswitchb.el (iswitchb-completions): Revert last change.
11984 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
11986         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11987         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11988         This prevents file names like "~/" being listed literally.
11990 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
11992         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11993         Remove dead code.  (Bug#5546)
11995 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
11997         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11998         correctly (Bug#5548).
12000 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
12002         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12003         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12005 2010-02-08  Kenichi Handa  <handa@m17n.org>
12007         * international/mule-util.el (with-coding-priority): Add autoload
12008         cookie for putting `lisp-indent-function'.
12010 2010-02-07  Glenn Morris  <rgm@gnu.org>
12012         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12013         Move F2003 named interfaces from keywords-2 to keywords-1, and
12014         use function-name-face rather than constant-face.
12015         Simplify "abstract interface" regexp.
12017 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
12019         * eshell/esh-util.el (eshell-file-attributes): New optional arg
12020         ID-FORMAT.  Pass it to `file-attributes'.
12022         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12024 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
12026         * faces.el (set-face-attribute): Allow calling
12027         internal-set-lisp-face-attribute with 'unspecified family and
12028         foundry argument (Bug#5536).
12030 2010-02-07  Glenn Morris  <rgm@gnu.org>
12032         * progmodes/f90.el (f90-font-lock-keywords-2)
12033         (f90-looking-at-type-like, f90-looking-at-program-block-end):
12034         Handle F2003 named interfaces.
12036 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
12038         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12039         beg and end before calling c-get-state-before-change-functions.
12041 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
12043         * vc-bzr.el (vc-bzr-dir-extra-headers):
12044         Disable the pending merges header.
12046 2010-02-05  Juri Linkov  <juri@jurta.org>
12048         * doc-view.el (doc-view-mode):
12049         * image-mode.el (image-mode): Put property mode-class=special.
12050         (Bug#4896)
12052 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
12054         * vc-svn.el (vc-svn-revision-table): New function.
12056 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
12058         * net/ange-ftp.el (ange-ftp-insert-directory):
12059         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12060         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12061         Handle also directories.  (Bug#5478)
12063 2010-02-05  Glenn Morris  <rgm@gnu.org>
12065         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12067 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
12069         * startup.el (command-line-1): Convert options beginning with a
12070         single dash as well (Bug#5519).
12072 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12074         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12075         * minibuffer.el (completion-initials-expand): Only check the presence
12076         of delims *within* the boundaries, since otherwise the / delim is
12077         always found for files.
12079         Fix up various corner case problems.
12080         * doc-view.el (doc-view-last-page-number): New function.
12081         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12082         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12083         (doc-view-kill-proc): Avoid inf-loop in freak cases.
12084         (doc-view-reconvert-doc): Use the new recursive delete-directory.
12085         (doc-view-convert-current-doc): Don't create the resolution.el file
12086         here any more.
12087         (doc-view-pdf/ps->png): Do it here instead.
12088         (doc-view-already-converted-p): Check that resolution.el is present.
12089         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12090         windows that are not yet showing images.
12092 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
12094         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12095         `dired-uncache' for every elemnt which is an absolute file name.
12097         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12098         directory, handle its directory component.
12099         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12100         function is called permanently and creates noise, otherwise.
12102         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12103         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12104         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
12106 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
12108         * macros.el (apply-macro-to-region-lines):
12109         Minor simplification.  (Bug#5485)
12111 2010-02-04  Glenn Morris  <rgm@gnu.org>
12113         * mail/rmail.el (rmail-show-message-1): Handle malformed
12114         quoted-printable text.  (Bug#5441)
12116         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12118         * simple.el (visual-line-mode): Capitalize lighter.
12120 2010-02-03  John Wiegley  <jwiegley@gmail.com>
12122         * iswitchb.el (iswitchb-completions): Add bookmark files to the
12123         list of files considered for "virtual buffer" completions.
12125 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
12127         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12128         also in case of (and (not full) (not wildcard)).  This is needed
12129         when dired is called with a list of files, which are not in
12130         `default-directory'.  (Bug#5478)
12132 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12134         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12136 2010-02-02  Juri Linkov  <juri@jurta.org>
12138         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12139         from unidiff to allow function-line after @@.
12141 2010-02-02  Juri Linkov  <juri@jurta.org>
12143         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12144         '(RCS SCCS) with inverted condition.
12146 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
12148         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12149         messages.
12151 2010-02-01  Juri Linkov  <juri@jurta.org>
12153         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12154         compare with "pkunzip" and "pkzip" instead of only "pkzip".
12155         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12156         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
12158 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12160         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12161         (doc-view-revert-buffer): New command.
12162         (doc-view-mode-map): Use it.
12164 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
12166         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12167         pending merge is detected.
12169 2010-01-31  Juri Linkov  <juri@jurta.org>
12171         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12172         beginning of interactive spec like all other grep commands do.
12173         Put "all" in front of "gz".  (Bug#5260)
12175 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
12177         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12179 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
12181         * dirtrack.el (dirtrack): Warn instead of signalling error if the
12182         regexp is incorrect (Bug#5476).
12184 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
12186         * net/tramp.el (tramp-handle-insert-directory): Handle also
12187         symlinks, when FILENAME is not in `default-directory'.
12189 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12191         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12192         FILE is not in `default-directory'.  (Bug#5478)
12194         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12195         of SWITCHES.  Handle the case, FILENAME is not in
12196         `default-directory'.  (Bug#5478)
12197         (tramp-register-file-name-handlers): Add safe-magic property.
12199 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
12201         * arc-mode.el (archive-zip-extract): Quote the argument passed to
12202         unzip (Bug#5475).
12204 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
12206         * progmodes/flymake.el (flymake-allowed-file-name-masks)
12207         (flymake-master-make-header-init): Add other C++ filename masks.
12208         (flymake-find-possible-master-files)
12209         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12211 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12213         Fix some busybox annoyances.
12215         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12216         not responding." string.
12217         (tramp-open-connection-setup-interactive-shell): Dump stty
12218         settings.  Enable "neveropen" arg for all `tramp-send-command'
12219         calls.  Handle "=" in variable values properly.
12220         (tramp-find-inline-encoding): Raise an error, when no encoding is
12221         found.
12222         (tramp-wait-for-output): Check, whether PROC buffer is available.
12223         Remove spurious " ^H" sequences, sent by busybox.
12224         (tramp-get-ls-command): Suppress coloring, if possible.
12226 2010-01-28  Glenn Morris  <rgm@gnu.org>
12228         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
12230         * log-edit.el (log-edit-strip-single-file-name): Add missing
12231         :safe, :group, and :version tags.
12233 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
12235         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12236         buffers.  (Bug#5477)
12238 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
12240         * files.el (delete-directory): Handle moving to trash without
12241         first doing recursion (Bug#5436).
12243 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
12245         * vc-hooks.el (vc-path): Mark as obsolete.
12247 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
12249         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12250         names too.
12252         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12253         for the short log.
12254         (vc-bzr-log-view-mode): Adjust regexp for the above change.
12256 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
12258         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12260         * vc-bzr.el (vc-bzr-revision-table): New function.
12262 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
12264         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12265         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
12267 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
12269         Remove support for adding --signoff on commit.
12270         Future support will use an incompatible generic mechanism.
12271         * vc-git.el (vc-git-add-signoff): Remove variable.
12272         (vc-git-toggle-signoff): Remove function.
12273         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12275         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12276         Rename from xterm-set-background-mode.  Return t if the background mode
12277         was set.
12278         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12279         earlier, call it again in case the background mode has changed.
12281 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
12283         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12284         (Bug#3541).
12286 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
12288         * emacs-lisp/assoc.el (aelement): Doc fix.
12289         (aput, adelete, amake): Use lexical-let (Bug#5450).
12291 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
12293         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12294         is the same as subprogram call, not declaration.  (Bug#5435).
12296 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
12298         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12299         (tramp-smb-maybe-open-connection): Use it.
12301 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
12303         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
12305 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12307         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12308         just because we see "encoding: 8bit".
12309         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12311 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
12313         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12315 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
12317         * jka-compr.el (jka-compr-load): If load-file is not in
12318         load-history, try its file-truename version.  (bug#5447)
12320 2010-01-21  Alan Mackenzie  <acm@muc.de>
12322         Fix a situation where deletion of a cpp construct throws an error.
12323         * progmodes/cc-engine.el (c-invalidate-state-cache):
12324         Before invoking c-with-all-but-one-cpps-commented-out, check that the
12325         special cpp construct is still in the buffer.
12326         (c-parse-state): Record the special cpp with markers, not numbers.
12328 2010-01-21  Kenichi Handa  <handa@m17n.org>
12330         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12331         process last-command-event, as it is now decoded first (Bug#5380).
12333 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
12335         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12337 2010-01-20  Glenn Morris  <rgm@gnu.org>
12339         * indent.el (tab-always-indent): Fix custom-type.
12341 2010-01-19  Alan Mackenzie  <acm@muc.de>
12343         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12344         buffer throws "args out of range".
12345         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12346         playing the role of delimiter.
12348 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
12350         * progmodes/ada-mode.el: Fix bug#5400.
12351         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12352         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12353         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
12354         Improve comments in "is" portion.  Handle null procedure declaration.
12355         (ada-move-to-end): Improve doc string.
12357 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
12359         * ido.el (ido-cur-list): Initialize to nil.
12360         Remove obsolete information from commentary.
12361         (ido-choice-list): Initialize to nil.
12362         (ido-get-bufname): Reject minibuffers.
12363         (ido-make-buffer-list): If "default" is a nonexistent
12364         buffer, ignore it, as per the function's comment.
12365         (ido-kill-buffer-internal): New function.
12366         (ido-kill-buffer-at-head): Use it.
12367         (ido-visit-buffer): Likewise.
12369 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
12371         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12373 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
12375         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12376         Fix typos in chart titles.
12378         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12379         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12380         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12381         (describe-class, eieio-describe-generic, describe-generic):
12382         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12383         (eieio-speedbar-expand):
12384         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12385         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12386         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12387         (viper-del-backward-char-in-replace, viper-backward-indent)
12388         (viper-brac-function, viper-register-to-point, viper-submit-report):
12389         * net/tramp.el (tramp-remote-coding-commands):
12390         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12391         Fix typos in docstrings.
12393 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
12395         * mail/sendmail.el (mail-yank-original): Set the mark if the
12396         specified function for yanking does not do it.
12398 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
12400         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
12402         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12403         resyncing a directory.
12405 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
12407         * progmodes/ada-mode.el: Fix bug#1920.
12408         (ada-ident-re): Delete ., allow multibyte characters.
12409         (ada-goto-label-re): New; matches goto labels.
12410         (ada-block-label-re): New; matches block labels.
12411         (ada-label-re): New; matches both.
12412         (ada-named-block-re): Deleted; callers changed to use
12413         `ada-block-label-re' instead.
12414         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12415         Use `ada-block-label-re'.
12416         (ada-indent-on-previous-lines): Improve handling of goto labels.
12417         (ada-get-indent-block-start): Special-case block label.
12418         (ada-get-indent-label): Split into `ada-indent-block-label' and
12419         `ada-indent-goto-label'.
12420         (ada-goto-stmt-start, ada-goto-next-non-ws):
12421         Optionally ignore goto labels.
12422         (ada-goto-next-word): Simplify.
12423         (ada-indent-newline-indent-conditional): Insert newline before
12424         trying to fix indentation; doc fix.
12426 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
12428         * calc/calc.el (calc-command-flags): Give it an initial value.
12430 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
12432         * files.el (minibuffer-with-setup-hook):
12433         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12434         (artist-key-draw-continously, artist-key-do-continously-continously)
12435         (artist-key-set-point-continously, artist-mouse-draw-continously):
12436         Fix typos in docstrings.
12438 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
12440         * nxml/nxml-mode.el (nxml-extend-after-change-region):
12441         Never return t (Bug#3898).
12443 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
12445         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12446         can parse the output of the external commands (Bug#5279).
12448 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
12450         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12452 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
12454         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12456         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12458         * startup.el (command-line): Remove unused --icon-type arg.
12459         Handle --display arg, passing it to command-line-1 (Bug#5392).
12461 2010-01-16  Mario Lang  <mlang@delysid.org>
12463         * emacs-lisp/chart.el (chart-translate-namezone):
12464         * textmodes/artist.el (artist-compute-popup-menu-table):
12465         Remove duplicated words in doc-strings.
12467 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
12469         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12470         to mairix-search to suppress threading (Bug#5342).
12472 2010-01-15  Kenichi Handa  <handa@m17n.org>
12474         * international/mule-cmds.el (canonicalize-coding-system-name):
12475         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12477 2010-01-15  Glenn Morris  <rgm@gnu.org>
12479         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
12481         * wid-edit.el (widget-keymap): Doc fix.
12483         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12484         former seems to be more widely accepted by various svn versions.
12486 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12488         * find-cmd.el (find-constituents):
12489         * vc-arch.el (vc-arch-root):
12490         * window.el (window-body-height, pop-up-frames):
12491         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12492         * progmodes/ada-stmt.el (ada-if):
12493         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12494         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12495         (ispell-encoding8-command, ispell-aspell-supports-utf8)
12496         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12498         * progmodes/flymake.el (flymake-post-syntax-check):
12499         Fix typo in error message.
12501 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12503         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12504         which is always a string.  (Bug#5313)
12506 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12508         * progmodes/ada-xref.el (ada-default-prj-properties):
12509         Simplify previous change.
12511 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12513         * progmodes/ada-xref.el (ada-default-prj-properties):
12514         Default ada_project_path to $ADA_PROJECT_PATH.
12516 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12518         * progmodes/ada-mode.el (ada-create-keymap):
12519         Override `narrow-to-defun' with `ada-narrow-to-defun'.
12521 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12523         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12524         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12525         (ada-get-current-indent, ada-imenu-generic-expression)
12526         (ada-which-function): Check for it.
12528 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12530         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12531         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12533 2010-01-14  Glenn Morris  <rgm@gnu.org>
12535         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
12537 2010-01-14  Kenichi Handa  <handa@m17n.org>
12539         * composite.el (auto-composition-mode): Make it a buffer local
12540         variable (permanent-local).
12541         (auto-composition-function): Set the default value to
12542         auto-compose-chars.
12543         (auto-composition-mode): Make it a simple function, not a minor mode.
12544         (global-auto-composition-mode): Likewise.
12545         (turn-on-auto-composition-if-enabled): Delete it.
12547 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
12549         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12551 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
12553         * files.el (copy-directory): Compute target for recursive
12554         directories with identical names.  (Bug#5343)
12556 2010-01-12  Glenn Morris  <rgm@gnu.org>
12558         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12559         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12561 2010-01-11  Sam Steingold  <sds@gnu.org>
12563         * imenu.el (imenu-default-create-index-function): Detect infinite
12564         loops caused by imenu-prev-index-position-function.
12566 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12568         * htmlfontify.el (htmlfontify-load-rgb-file)
12569         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12570         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12571         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12572         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12573         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12574         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12575         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12576         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12577         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12578         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12579         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12580         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12581         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12582         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12583         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12584         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12585         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12586         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12587         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12588         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12589         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12590         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12591         backslash-quoting from parentheses, etc.
12593 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
12595         * progmodes/js.el: Autoload javascript-mode alias.
12597 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12599         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12600         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12601         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12602         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12603         Fix typos in docstrings.
12604         (ffap-url-regexp): Doc fix.
12605         (ffap-at-mouse): Fix typo in message.
12607 2010-01-11  Glenn Morris  <rgm@gnu.org>
12609         * version.el (emacs-copyright): Set copyright year to 2010.
12611 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12613         * format.el (format-annotate-function): Only set
12614         write-region-post-annotation-function after running to-fn so as not to
12615         affect nested write-region calls (bug#5273).
12617 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
12619         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12620         wisent/python.el.
12622 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12624         * man.el (Man-goto-section): Signal error if the section is not
12625         found (Bug#5317).
12627 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
12629         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12630         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
12632 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12634         * progmodes/compile.el: Don't treat compile-command as safe if
12635         compilation-read-command might be nil (Bug#4218).
12637 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
12639         * startup.el (command-line-1): Use orig-argi to check for ignored X and
12640         NS options.
12642 2010-01-08  Kenichi Handa  <handa@m17n.org>
12644         * international/fontset.el (build-default-fontset-data):
12645         Exclude characters in scripts kana, hangul, han, or cjk-misc.
12647 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
12649         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12650         to `create-file-buffer' as it expects, not just a buffer name.
12651         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12652         to help uniquify.  (Bug#3224)
12654 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
12656         * font-setting.el (font-setting-change-default-font): Use user-spec
12657         instead of name.
12659 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
12661         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12663 2010-01-05  Tom Tromey  <tromey@redhat.com>
12665         * progmodes/python.el (python-font-lock-keywords):
12666         Handle qualified decorators (Bug#881).
12668 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12670         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12671         in a lightweight checkout.
12673 2010-01-05  Kenichi Handa  <handa@m17n.org>
12675         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12677 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12679         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12681 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
12683         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12684         checkouts.  (Bug#618)
12685         (vc-bzr-log-view-mode): Also highlight the author.
12686         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12687         (vc-bzr-shelve-menu-map):
12688         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12689         (vc-bzr-shelve-apply): Make prompt more explicit.
12691 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
12693         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12694         They are valid characters in URL paths (rfc3986), and at least
12695         Firefox does not understand the encoded version (Bug#3166).
12697 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
12699         * progmodes/octave-mod.el (octave-end-keywords)
12700         (octave-block-begin-or-end-regexp, octave-block-match-alist):
12701         Add "end" keyword (Bug#3061).
12702         (octave-end-as-array-index-p): New function.
12703         (calculate-octave-indent): Use it.
12705 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12707         * bookmark.el: Consistently put the text property on the bookmark name.
12708         (bookmark-bmenu-marks-width): Bump back to 2, to include
12709         annotation marks.
12710         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12711         property on the bookmark name, instead of not putting it at all.
12712         (bookmark-bmenu-list): Fix where we put the text property.
12714 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12716         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12717         for showing buffer modified state (as added in the previous change).
12719 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12721         * bookmark.el: Show modified state of bookmark buffer more accurately.
12722         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12723         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12724         (with-buffer-modified-unmodified): New macro.
12725         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12726         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12727         Use new macro to preserve the buffer modified state.
12729 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12731         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12732         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12733         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12734         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12735         (bookmark-bmenu-rename, bookmark-bmenu-locate)
12736         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12737         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12739 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12741         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12742         Make the lines in the generated doc string shorter.  (Bug#4668)
12744 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
12746         * net/rcirc.el: Add follow-link binding (Bug#4738).
12748 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12750         * Makefile.in (bzr-update): Rename from cvs-update.
12751         (cvs-update): New target for backward compatibility.
12753         * makefile.w32-in (bzr-update): Rename from cvs-update.
12754         (cvs-update): New target for backward compatibility.
12756 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12758         * bookmark.el: Remove gratuitous gratitude.
12760 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12762         * bookmark.el (bookmark-bmenu-any-marks): New function.
12763         (bookmark-bmenu-save): Clear buffer modification if no marks.
12765 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12767         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12768         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12769         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12770         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12772         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12773         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12774         To: emacs-devel {_AT_} gnu.org
12775         Subject: bookmark.el bug report
12776         Date: Mon, 28 Dec 2009 14:19:16 +0800
12777         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12779 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12781         * bookmark.el: Improvements suggested by Drew Adams:
12782         (bookmark-bmenu-ensure-position): New name for
12783         `bookmark-bmenu-check-position'.  Just ensure the position,
12784         don't return any meaningful value.
12785         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12786         New constants.
12788 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
12790         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12791         (bookmark-yank-point, bookmark-bmenu-check-position):
12792         Fix typos in docstrings.
12793         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12794         (bookmark-name-from-full-record, bookmark-get-position)
12795         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12796         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12797         Remove useless quoting of parenthesis, etc. in docstrings.
12799         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12800         (ediff-append-custom-diff): Fix typo in error message.
12801         (ediff-meta-mark-equal-files): Fix typos in messages.
12803         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12805         * net/imap-hash.el (imap-hash-make): Doc fix.
12806         (imap-hash-test): Fix typo in error message; reflow docstring.
12807         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12808         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12809         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12810         Fix typos in docstrings.
12811         (imap-hash-open-connection): Fix typo in error message.
12813         * play/gomoku.el (gomoku): Fix typos in docstring.
12815         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12816         (gdb-jsonify-buffer): Fix typos in docstring.
12817         (gdb-goto-breakpoint): Fix typo in error message.
12818         ("Display Other Windows"): Fix typo in help message.
12819         (gdb-speedbar-expand-node): Fix typo in question.
12821         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12822         (idlwave-html-system-help-location, idlwave-html-help-location)
12823         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12824         (idlwave-help-browser-generic-args, idlwave-help-directory)
12825         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12826         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12827         (idlwave-online-help, idlwave-help-html-link)
12828         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12829         Fix typos in docstrings.
12830         (idlwave-help-with-source, idlwave-help-find-routine-definition):
12831         Reflow docstrings.
12832         (idlwave-help-assistant-start): Fix typo in error message.
12834         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12835         (octave-electric-space): Fix typos in docstrings.
12837 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
12839         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12841 2010-01-01  Juri Linkov  <juri@jurta.org>
12843         * comint.el (comint-input-ring-size): Make it a defcustom and
12844         increase the default to 500 (Bug#5148).
12846 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
12848         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12849         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12850         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12852 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
12854         Show working revision correctly for mercurial.
12855         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12856         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12858 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
12860         Declare some functions for the byte-compiler.
12861         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12862         (speedbar-timer-fn, speedbar-change-expand-button-char)
12863         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12865 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
12867         This changeset reverts GDB Graphical Interface to use annotations.
12868         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12870 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
12872         Make vc-dir work on subdirectories of the bzr root.
12873         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12874         Return file names relative to it.
12875         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12876         relative directory to vc-bzr-after-dir-status.
12878 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
12880         * font-lock.el (font-lock-refresh-defaults): New function, which
12881         can be used to let font-lock react to external changes in
12882         variables like font-lock-defaults and keywords.
12883         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12885 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
12887         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12889         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12891 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
12893         Supersede color.diff settings in git log (bug#5211).
12895         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12896         escape chars in its output when the user has color.diff set to `always'.
12897         This fix works on git 1.4.2 and newer (released on 2006-08-13).
12899 2009-12-26  Kevin Ryde  <user42@zip.com.au>
12901         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12902         node.  Keep previous "Index" name to work with past coreutils too.
12904         * man.el (man): Revise docstring a bit to show -a and -l as
12905         examples.  Add -k description since support for it has otherwise
12906         been a secret.  (Further to bug#3717.)
12907         (Man-bgproc-sentinel): When "-k foo" produces no output show error
12908         "no matches" rather than "Can't find manpage", as the latter reads
12909         like -k was interpreted as a page name, which is not so.  (Bug#5431)
12911 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
12913         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12914         switches.  Check also for //SUBDIRED// line.
12916 2009-12-25  Kenichi Handa  <handa@m17n.org>
12918         * language/indian.el (devanagari-composable-pattern): Fix to
12919         handle ZWNJ and ZWJ.  Use it in composition-function-table for
12920         Devanagari.
12921         (malayalam-composable-pattern): Fix previous change.
12923 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12925         * ps-print.el (ps-face-attributes): It was not returning the
12926         attribute face for faces specified as string.  Reported by harven
12927         <harven@free.fr>.  (Bug#5254)
12928         (ps-print-version): New version 7.3.5.
12930 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
12932         * calendar/icalendar.el (icalendar--convert-tz-offset):
12933         Fix timezone names.
12934         (icalendar--convert-tz-offset): Fix the "last-day-problem".
12935         (icalendar--add-diary-entry): Remove the trailing blank that
12936         diary-make-entry inserts.
12938 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
12940         Make `file-expand-wildcards' work for remote files.
12942         * files.el (file-expand-wildcards): In case of remote files, check
12943         only local file name part for wildcards.  Provide feature 'files
12944         and subfeature 'remote-wildcards.  (Bug#5198)
12946         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12947         if there is already an established connection.
12948         (tramp-advice-file-expand-wildcards): Remove it.
12950         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12951         (tramp-advice-file-expand-wildcards): Move from tramp.el.
12952         Activate advice for older GNU Emacs versions.  (Bug#5237)
12954 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
12956         Some doc fixes (more needed).
12958         * find-cmd.el (find-constituents): Reflow docstring.
12959         (find-cmd, find-prune, find-command): Fix typos in docstrings.
12960         (find-generic): Doc fix.
12962 2009-12-17  Juri Linkov  <juri@jurta.org>
12964         Fix regression from 23.1 to allow multiple modes in Local Variables.
12966         * files.el (hack-local-variables-filter): While ignoring duplicates,
12967         don't take `mode' into account.
12968         (hack-local-variables-filter, hack-dir-local-variables):
12969         Don't remove duplicate `mode' from local-variables-alist (like `eval').
12971 2009-12-17  Juri Linkov  <juri@jurta.org>
12973         Make `dired-diff' safer.  (Bug#5225)
12975         * dired-aux.el (dired-diff): Signal an error when `file' equals to
12976         `current' or when `file' is a directory of the `current' file.
12978 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
12980         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12981         unconditionally preloaded files.
12983 2009-12-16  Juri Linkov  <juri@jurta.org>
12985         Revert to old 23.1 logic of using the file at the mark as default.
12986         * dired-aux.el (dired-diff): Use the file at the mark as default
12987         if it's not the same as the current file, and the target dir is
12988         the current dir or the mark is active.  Add the current file
12989         as the arg of `dired-dwim-target-defaults'.  Use the default file
12990         in the prompt.  (Bug#5225)
12992 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
12994         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12995         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12996         (tramp-check-for-regexp): Check also, when an echoing shell stops
12997         to echo sent commands.
12999 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13001         * Makefile.in: Revert last change (Bug#5191).
13003 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
13005         * vc-hg.el (vc-hg-print-log): Fix argument order.
13006         (vc-hg-working-revision): Make sure the command is executed in a
13007         known environment so that we can parse the output.  (Bug#4417)
13009 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13011         * progmodes/python.el (python-symbol-completions): Remove text
13012         properties from symbol string before calling python-send-receive.
13014 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
13016         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13017         when there are values for both file and line.  (Bug#5060)
13019 2009-12-14  Juri Linkov  <juri@jurta.org>
13021         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13022         whitespace after the file name of the first line of unified format,
13023         because git-diff doesn't output whitespace and file modification time
13024         after the file name.
13026 2009-12-14  David Kastrup  <dak@gnu.org>
13028         * info.el (Info-hide-cookies-node): Before hiding a cookie,
13029         check if it already has the `display' property added by
13030         `Info-display-images-node', and not put the `invisible' property
13031         in this case.
13033 2009-12-13  Glenn Morris  <rgm@gnu.org>
13035         * mail/emacsbug.el (message-sort-headers): Define for compiler.
13036         (report-emacs-bug): In message-mode, sort manually before storing
13037         original report text.  (Bug#5178)
13038         Remove superfluous save-excursion.
13040 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
13042         * net/dbus.el (dbus-property-handler): Filter lambda forms out
13043         when responding to "GetAll" properties.
13045 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
13047         * simple.el (compose-mail): Remove mail-setup-with-from from
13048         customization checks.
13050 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
13052         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13053         RAR archives created on Unix systems.
13055 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13057         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13058         the varalias that was accidentally removed by the 2009-11-19 change
13059         (bug#5186).
13061 2009-12-12  Kenichi Handa  <handa@m17n.org>
13063         * language/indian.el (indian-compose-regexp): New function.
13064         (malayalam-composable-pattern): Fix the pattern.
13065         (composition-function-table): Set malayalam-composable-pattern for
13066         Malayalam characters.
13068 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
13070         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13071         rather than down-mouse-1, based on follow-link conventions.
13073         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13074         are compiled.
13076 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
13078         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13079         (verilog-vmm-statement-re, verilog-ovm-statement-re)
13080         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13081         (verilog-leap-to-head, verilog-backward-token):
13082         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
13084 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
13086         * progmodes/verilog-mode.el (verilog-auto-lineup)
13087         (verilog-nameable-item-re): Cleanup user-visible spelling and
13088         documentation errors.  One reported by Gary Delp.
13089         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13090         (verilog-read-decls): Fix AUTOWIRE with types declared in a
13091         package, bug195.  Reported by Pierre-David Pfister.
13093 2009-12-11  Glenn Morris  <rgm@gnu.org>
13095         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13097         * mail/emacsbug.el: No longer require sendmail.
13098         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
13099         (report-emacs-bug-orig-text): Doc fix.
13100         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13101         New local variables, to adapt to different mail-user-agents.
13102         (report-emacs-bug): Fix test for a gnu.org address.
13103         Use overlays for emphasis, since font-lock defeats 'face property.
13104         Pretest bugs also end up at the newsgroup these days.
13105         Stop message-mode stripping text properties.
13106         Set and use the new buffer-local variables.
13107         (report-emacs-bug-hook): Add doc-string.
13108         Remove some unnecessary save-excursions and simplify.
13109         Use the appropriate hook and send-command.
13111         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13112         capitalization of some menu entries.
13114 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13116         * whitespace.el (whitespace-display-char-on):
13117         Ensure `buffer-display-table' is unique when two or more windows are
13118         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13119         New version 12.1.
13121 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
13123         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13124         characters in the Attribute field.
13126 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
13128         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
13130 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13132         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13133         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13134         Disregard autoload-excludes.
13135         (update-directory-autoloads): Obey autoload-excludes here instead.
13136         But don't store its contents in no-autoloads and remove entries that
13137         refer to excludes files.
13139 2009-12-10  Glenn Morris  <rgm@gnu.org>
13141         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13142         (expand-mail-aliases): Define for compiler.
13144         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13145         Define for compiler.
13147         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13148         appropriate for the mail-user-agent in use.
13150 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
13152         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13154 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
13156         Fix short log parsing and fontification.
13157         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13158         Fix fontification for the [merge] label.
13160 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
13162         Drop some properties to avoid surprises (bug#5002).
13163         * htmlfontify.el (hfy-ignored-properties): New defcustom.
13164         (hfy-fontify-buffer): Use it.
13166 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13168         Minor cleanup.
13169         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13170         Adjust all callers.
13171         (ffap-locate-file): Remove unused arg `dir-ok' and make other
13172         args compulsory.  Adjust callers.
13173         (ffap-gopher-at-point): Remove unused var `name'.
13175         Get rid of the ELCFILES abomination.
13176         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13177         (compile-elcfiles): New phony target.
13178         (compile-main): Compute ELCFILES dynamically.
13179         (compile-clean): New target to remove left-over elc files.
13180         (compile, all): Use it.
13182 2009-12-09  Kenichi Handa  <handa@etlken>
13184         * international/mule-diag.el: Require help-mode instead of help-fns.
13186 2009-12-09  Kenichi Handa  <handa@m17n.org>
13188         * international/mule-cmds.el (ucs-names): Supply sufficiently
13189         fine ranges instead of pre-calculating accurate ranges.
13190         Iterate with bigger gc-cons-threshold.
13192 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
13194         Add support for stashing a snapshot of the current tree.
13195         * vc-git.el (vc-git-stash-snapshot): New function.
13196         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13198 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
13200         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13201         instead of `(beginning|end)-of-line'.
13203 2009-12-08  Glenn Morris  <rgm@gnu.org>
13205         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13207         * Makefile.in (ELCFILES): Regenerate.
13209 2009-12-07  Juri Linkov  <juri@jurta.org>
13211         Don't lazy-highlight the comint output in history Isearch mode.
13213         * comint.el (comint-history-isearch-search): Instead of
13214         `comint-line-beginning-position', use `comint-after-pmark-p'
13215         to check if point if before the process mark, and go to
13216         `process-mark' in this case.
13218 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13220         * textmodes/tex-mode.el (latex-complete)
13221         (latex-indent-or-complete): Remove.
13222         (latex-mode): Set completion-at-point-functions instead.
13224         Provide a standard completion command and hook it into TAB.
13225         * minibuffer.el (completion-at-point-functions): New var.
13226         (completion-at-point): New command.
13227         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13228         * progmodes/python.el (python-mode-map): Use completion-at-point.
13229         (python-completion-at-point): Rename from python-partial-symbol and
13230         adjust for use in completion-at-point-functions.
13231         (python-mode): Setup completion-at-point for Python completion.
13232         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13233         extracted from lisp-complete-symbol.
13234         (lisp-complete-symbol): Use it.
13235         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13236         setup completion-at-point for Elisp completion.
13237         (emacs-lisp-mode-map, lisp-interaction-mode-map):
13238         Use completion-at-point.
13239         * ielm.el (ielm-map): Use completion-at-point.
13240         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13241         * progmodes/sym-comp.el: Move to...
13242         * obsolete/sym-comp.el: Move from progmodes.
13244 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
13246         Prevent save-buffer in Rmail buffers from using the coding-system
13247         of the current message, and from clobbering the encoding mnemonics
13248         in the mode line (Bug#4623).
13250         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13251         flag, too.
13252         (rmail-message-encoding): New variable.
13253         (rmail-write-region-annotate): Record the encoding of the current
13254         message in rmail-message-encoding.
13255         (rmail-after-save-hook): New function, restores the encoding of
13256         the current message after the message collection is saved.
13258 2009-12-07  Juri Linkov  <juri@jurta.org>
13260         * progmodes/grep.el (grep-read-files): Use `completing-read'
13261         instead of `read-string'.  Set its `collection' arg to
13262         `read-file-name-internal'.  (Bug#4301)
13264 2009-12-07  Juri Linkov  <juri@jurta.org>
13266         Correctly restore original Isearch point.  (Bug#4994)
13268         * isearch.el (isearch-mode): Move `isearch-push-state' after
13269         `(run-hooks 'isearch-mode-hook)'.
13270         (isearch-cancel): When `isearch-push-state-function' is defined,
13271         let-bind `isearch-cmds' to the first state (the last element of
13272         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13273         function and restores the original point).  Otherwise, move point
13274         to `isearch-opoint'.
13276 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13278         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13279         chars that don't have names, so the table can be built much faster at
13280         run-time.
13282 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
13284         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13285         change.  Suggested by David Kastrup.
13287         * simple.el (compose-mail): Check for incompatibilities and warn.
13288         (compose-mail-user-agent-warnings): New option.
13290 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13292         Support showing a single log entry from vc-annotate.
13293         * vc.el (print-log): Add a new argument: START-REVISION.
13294         (vc-print-log-internal): Add a new optional argument and
13295         pass it to the backend.
13296         (vc-print-log, vc-print-root-log): Adjust callers.
13297         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13298         buffer already displays the requested log entry, use it.
13299         Otherwise display only the log entry in question.
13300         * vc-svn.el (vc-svn-print-log):
13301         * vc-mtn.el (vc-mtn-print-log):
13302         * vc-hg.el (vc-hg-state):
13303         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13304         (vc-git-show-log-entry): Return t on success.
13305         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13306         (vc-bzr-show-log-entry): Return t on success.
13307         * vc-rcs.el (vc-rcs-print-log):
13308         * vc-sccs.el (vc-sccs-print-log):
13309         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13311 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13313         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13314         Add menus to the meta mode.  (Bug#5043)
13316 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13318         * ediff-init.el (ediff-event-key): Use event-to-character instead of
13319         event-key.
13321         * ediff.el (ediff-buffers-internal): Add unwind-protect.
13323 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
13325         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
13326         Berbain <raphael.berbain@gmail.com>.
13328         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
13329         characters.
13330         (tramp-initial-end-of-output): New defconst.
13331         (tramp-methods, tramp-find-shell)
13332         (tramp-open-connection-setup-interactive-shell)
13333         (tramp-maybe-open-connection): Use it.
13334         (tramp-shell-prompt-pattern, tramp-wait-for-output):
13335         Handle existence of `#' and `$'.
13337         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13338         Use `tramp-initial-end-of-output'.
13340 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13342         Get the background mode from the terminal for xterm, and set
13343         faces accordingly.
13344         * term/xterm.el (xterm-set-background-mode): New function.
13345         (terminal-init-xterm): Use it in case xterm supports background
13346         color queries.  Recompute faces after getting the background
13347         color.
13349 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
13351         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13352         number comment back on its own line, for easier parsing.
13354 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13356         Make it work for non-file buffers (bug#5102).
13357         * doc-view.el (doc-view-current-cache-dir):
13358         Use doc-view-buffer-file-name rather than buffer-file-name.
13359         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13361 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
13363         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13364         author field is too short.
13366 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
13368         * vc-git.el (vc-git-print-log): Handle a limit argument.
13369         Display the short log in graph form and with labels.
13370         (vc-git-log-view-mode): Handle labels.
13372         Make vc-revert change VC state from 'added to 'unregistered.
13373         * vc-git.el (vc-git-revert): Call git reset first.
13375 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13377         * net/newst-backend.el, net/newst-plainview.el:
13378         * net/newst-reader.el, net/newst-ticker.el:
13379         * net/newst-treeview.el, net/newsticker.el:
13380         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
13382 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13384         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13386         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13387         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
13388         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13389         Update annotation regexp.
13391         * simple.el (beginning-of-visual-line): Constrain to field
13392         boundaries (Bug#5106).
13394 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13396         * xml.el (xml-substitute-numeric-entities):
13397         Move newsticker--decode-numeric-entities in newst-backend.el to
13398         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13399         * net/newst-backend.el (newsticker--parse-generic-feed)
13400         (newsticker--parse-generic-items)
13401         (newsticker--decode-numeric-entities):
13402         Move newsticker--decode-numeric-entities in newst-backend.el to
13403         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13405 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
13407         * progmodes/js.el (js--js-not): Add null to the list of values.
13409 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13411         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13413 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13415         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13416         delimiter if it is at the end of the current line.
13417         (bibtex-generate-url-list): Fix docstring.
13419 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13421         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13422         minibuffer's content with itself.
13423         Fold the confirm-after-completion case into the `confirm' case.
13424         (completion-pcm-word-delimiters): Add : and / to the delimiters.
13426 2009-12-06  Kevin Ryde  <user42@zip.com.au>
13428         * ffap.el (ffap-rfc-path): Make this a defcustom since
13429         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
13431         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13432         manuals, similar to existing setup for help-mode.  (Bug#3913.)
13434 2009-12-05  Juri Linkov  <juri@jurta.org>
13436         Save and restore dired buffer's point positions too.  (Bug#4880)
13438         * dired.el (dired-save-positions): Return in the first element
13439         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13440         Doc fix.
13441         (dired-restore-positions): First restore buffer's position.
13442         While restoring window's positions, check if window still displays
13443         the original buffer.
13445 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
13447         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13448         if possible.
13450         * shell.el (shell): Require ansi-color (Bug#5113).
13452         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13454         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13456 2009-12-05  Alan Mackenzie  <acm@muc.de>
13458         * progmodes/cc-mode.el (c-before-hack-hook)
13459         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13460         `c-file-style' to work again.  This reversion restores the current
13461         software to its state in Emacs 23.1.  (Bug#4146)
13463 2009-12-05  Kevin Ryde  <user42@zip.com.au>
13465         * textmodes/sgml-mode.el (sgml-lexical-context):
13466         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13468 2009-12-05  Juri Linkov  <juri@jurta.org>
13470         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13471         for virtual nodes.  (Bug#4147)
13472         (Info-find-node-2): Set `Info-current-node-virtual' to nil
13473         when moving from a virtual node.
13474         (Info-mode-menu): Add `Info-virtual-index' to the menu.
13475         (Info-mode): Add `Info-virtual-index' to the docstring.
13477 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13479         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13480         track of the buffer position of the end of a BibTeX entry as this
13481         position may change during reformatting.
13482         (bibtex-format-entry): Remove whitespace before processing
13483         numerical fields so that we recognize the latter properly.
13484         (bibtex-reformat): Do not use push which changes the global value
13485         of bibtex-entry-format.
13486         (bibtex-field-braces-alist, bibtex-field-strings-alist)
13487         (bibtex-field-re-init): Replace only space characters by regexp
13488         for whitespace.
13489         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13490         (bibtex-initialize): Also update bibtex-strings.
13491         (bibtex-kill-field): Preserve white space at end of entry.
13492         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13493         Update bibtex-reference-keys.
13495 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13497         * minibuffer.el (completion-pcm--merge-try): Also consider placing
13498         point after a star, if that's the only place where modifications can
13499         make progress.
13501 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
13503         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13504         in docstrings.
13506 2009-12-04  Juri Linkov  <juri@jurta.org>
13508         * proced.el (proced): Call `(proced-update t)' to update process
13509         information instead of only running proced-post-display-hook.
13510         (proced-send-signal): Add a leading space to the buffer name
13511         " *Marked Processes*" to make this buffer ephemeral.
13513 2009-12-04  Juri Linkov  <juri@jurta.org>
13515         * dired.el (dired-auto-revert-buffer): New defcustom.
13516         (dired-internal-noselect): Use it.
13518 2009-12-04  Juri Linkov  <juri@jurta.org>
13520         Change roles of modes and functions in image-mode.el (Bug#5062).
13522         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13523         in `auto-mode-alist'.
13524         (image-mode-previous-major-mode): New variable.
13525         (image-minor-mode-map): Rename from `image-mode-text-map'.
13526         (image-mode): Move graceful error-handling code from
13527         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
13528         (image-minor-mode): Remove all image-handling code.
13529         Replace `image-mode-text-map' with `image-minor-mode-map'.
13530         Check for `image-type' in mode-line format string.
13531         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13532         (image-mode-as-text): New function with most code from
13533         `image-mode-maybe'.
13534         (image-toggle-display-text): Move code that removes image
13535         properties from `image-toggle-display' to here.
13536         (image-toggle-display-image): New function with code that adds
13537         image properties copied from `image-toggle-display'.
13538         (image-toggle-display): Remove most code with leaving only code
13539         that toggles between `image-mode-as-text' and `image-mode'.
13541 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
13543         * net/newst-treeview.el
13544         (newsticker--treeview-list-highlight-start): Restored call to
13545         save-excursion: Selected item was stuck.
13546         (newsticker--treeview-list-select): New.
13547         (newsticker--treeview-item-show-text)
13548         (newsticker--treeview-item-show)
13549         (newsticker--treeview-item-update): Use new
13550         newsticker-treeview-item-mode.
13551         (newsticker-treeview-update): Keep current item.
13552         (newsticker-treeview-next-new-or-immortal-item): Doc change.
13553         (newsticker--treeview-first-feed): Doc change.
13554         (newsticker-treeview-list-menu)
13555         (newsticker-treeview-item-menu): Add menu entries.
13556         (newsticker-treeview-item-mode): New.
13558         * net/newst-backend.el (newsticker-customize): Delete other
13559         windows.
13561 2009-12-04  Sam Steingold  <sds@gnu.org>
13563         * log-view.el (log-view-mode-map): "q" calls quit-window,
13564         like in all the other non-self-insert buffers.
13566 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13568         Minor cleanup.
13569         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13570         key decoding rather than do it manually via last-input-event +
13571         ascii-character.
13572         (term-exec): Use delete-and-extract-region.
13573         (term-handle-ansi-terminal-messages): Remove unused var `end'.
13574         (term-process-pager): Remove unused var `i'.
13575         (term-dynamic-simple-complete): Make obsolete.
13576         (serial-update-config-menu): Remove unused vars `y' and `str'.
13577         (term-update-mode-line): Remove unused var `temp'.
13579 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13581         Limit the number of log entries displayed by default.
13582         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13583         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13584         using a prefix argument.
13586 2009-12-03  Glenn Morris  <rgm@gnu.org>
13588         * progmodes/idlwave.el (class): Restore still useful declaration.
13590 2009-12-03  Alan Mackenzie  <acm@muc.de>
13592         Enhance `c-parse-state' to run efficiently in "brace deserts".
13594         * progmodes/cc-mode.el (c-basic-common-init):
13595         Call c-state-cache-init.
13596         (c-neutralize-syntax-in-and-mark-CPP): Rename from
13597         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
13598         placing `category' properties value 'c-cpp-delimiter at its boundaries.
13600         * progmodes/cc-langs.el (c-before-font-lock-function):
13601         c-extend-and-neutralize-syntax-in-CPP has been renamed
13602         c-neutralize-syntax-in-and-mark-CPP.
13604         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13605         with `category' properties now, not `syntax-table' ones.
13607         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13608         enhanced (but slower) version of c-end-of-macro that won't land
13609         inside a literal or on another awkward character.
13610         (c-state-cache-too-far, c-state-cache-start)
13611         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13612         (c-state-nonlit-pos-cache-limit, c-state-point-min)
13613         (c-state-point-min-lit-type, c-state-point-min-lit-start)
13614         (c-state-min-scan-pos, c-state-brace-pair-desert)
13615         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13616         buffer local variables.
13617         (c-state-literal-at, c-state-lit-beg)
13618         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13619         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13620         (c-state-cache-top-paren, c-state-cache-after-top-paren)
13621         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13622         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13623         (c-renarrow-state-cache)
13624         (c-append-lower-brace-pair-to-state-cache)
13625         (c-state-push-any-brace-pair, c-append-to-state-cache)
13626         (c-remove-stale-state-cache)
13627         (c-remove-stale-state-cache-backwards, c-state-cache-init)
13628         (c-invalidate-state-cache-1, c-parse-state-1)
13629         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13630         (c-parse-state): Enhance and refactor.
13631         (c-debug-parse-state): Amend to deal with all the new variables.
13633         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13634         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13635         modify to use category text properties rather than syntax-table ones.
13636         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13637         to switch off/on the syntactic paren property of C++ template
13638         delimiters using the category property.
13639         (c-with-<->-as-parens-suppressed): Macro to invoke code with
13640         template delims suppressed.
13641         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13642         New constant/macros which apply category properties to the start
13643         and end of preprocessor constructs.
13644         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13645         "comment out" the syntactic value of characters in preprocessor
13646         constructs.
13647         (c-with-cpps-commented-out)
13648         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13649         with characters in all or all but one preprocessor constructs
13650         "commented out".
13652 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13654         * proced.el (proced-filter-alist): Use regexp-quote.
13656 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
13658         Cleanup.
13659         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13660         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
13661         arguments.  Expand `default-directory'.
13663         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13664         the benefit of returning an expanded localname.
13665         (tramp-tramp-file-p): Handle the case NAME is not a string.
13667 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13669         Add support for bzr shelve/unshelve.
13670         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13671         (vc-bzr-extra-menu-map): New variables.
13672         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13673         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13674         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13675         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13676         (vc-bzr-dir-extra-headers): Display shelves.
13678         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13680 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13682         * textmodes/bibtex.el (bibtex-complete-internal):
13683         Use completion-in-region.
13684         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13686 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13688         Support applying stashes.  Improve UI.
13689         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13690         (vc-git-stash-apply, vc-git-stash-pop)
13691         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13692         (vc-git-stash-menu): New functions.
13693         (vc-git-stash-menu-map): New variable.
13694         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13696 2009-12-03  Glenn Morris  <rgm@gnu.org>
13698         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13699         (vc-print-log-internal): Fix previous change.
13700         (vc-revert): Correct pluralization.
13702 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13704         * progmodes/make-mode.el (makefile-special-targets-list): No need for
13705         it to be an alist any more.
13706         (makefile-complete): Use completion-in-region.
13708         * progmodes/octave-mod.el (octave-complete-symbol):
13709         Use completion-in-region.
13711         Misc cleanup.
13712         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13713         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13714         (idlwave-complete-class): Don't quote lambda.
13715         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13716         (idlwave-mode-map): Move initialization into declaration.
13717         (idlwave-action-and-binding): Use backquotes.
13718         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13719         Simplify.
13720         (idlwave-is-pointer-dereference): Remove unused var `pos'.
13721         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13722         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13723         `parts', and `all-parts'.
13724         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13725         (idlwave-convert-xml-system-routine-info): Remove unused string
13726         `version-string'.
13727         (idlwave-display-user-catalog-widget): Use dolist.
13728         (idlwave-scanning-lib): Declare dynamically-scoped var.
13729         (idlwave-scan-library-catalogs): Remove unused var `flags'.
13730         (completion-highlight-first-word-only): Declare to silence bytecomp.
13731         (idlwave-popup-select): Tighten scope of `resp'.
13732         (idlwave-find-struct-tag): Remove unused var `beg'.
13733         (idlwave-after-load-rinfo-hook): Declare.
13734         (idlwave-sintern-class-info): Remove unused var `taglist'.
13735         (idlwave-find-class-definition): Remove unused var `list'.
13736         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13737         (idlwave-what-module-find-class): Remove unused var `classes'.
13739 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
13741         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13743 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13745         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13746         buffers visited.  Remove redundant current-buffer-saving.
13748 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13750         Use completion-in-buffer and remove uses of dynamic scoping.
13751         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13752         (pascal-buffer-to-use, pascal-flag): Don't declare.
13753         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13754         (pascal-get-completion-decl, pascal-keyword-completion):
13755         Add `pascal-str' argument, save-excursion,
13756         return the found completions, and don't filter with pascal-pred.
13757         (pascal-completion-cache): New var.
13758         (pascal-completion): Don't switch buffer any more (it was never
13759         necessary).  Don't save-excursion any more (it's done by the called
13760         subroutines).  Use a cache to avoid redundant computations.
13761         Use complete-with-action rather than pascal-completion-response and
13762         let it apply the predicate as well.
13763         (pascal-complete-word): Use completion-in-buffer when
13764         pascal-toggle-completions is nil.
13765         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13766         not used any more.
13767         (pascal-comp-defun): Don't change buffer any more.
13768         Use complete-with-action rather than pascal-completion-response and
13769         let it apply the predicate as well.
13770         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13771         when neded.
13773 2009-12-02  Kenichi Handa  <handa@m17n.org>
13775         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13776         shape for all Indic scripts.
13778 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13780         Use completion-in-buffer.
13781         * wid-edit.el (widget-field-text-end): New function.
13782         (widget-field-value-get): Use it.
13783         (widget-string-complete, widget-file-complete)
13784         (widget-color-complete): Use it and completion-in-region.
13785         (widget-complete): Don't narrow the buffer.
13787 2009-12-02  Glenn Morris  <rgm@gnu.org>
13789         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
13790         (rmail-select-summary): Use rmail-pop-to-buffer.
13791         * mail/rmailsum.el: Replace all pop-to-buffer calls with
13792         rmail-pop-to-buffer, to prevent horizontal splits.
13794         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13795         save-excursion with save-current-buffer.
13796         Widen before searching.  (Bug#5093)
13797         (diary-list-sexp-entries): Remove superfluous save-excursion.
13799 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
13801         * woman.el (woman-make-bufname): Handle man-pages with "." in the
13802         name.  (Bug#5038)
13804 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13806         * ido.el (ido-file-internal): Handle filenames at point that do
13807         not have a directory part.  (Bug#5049)
13809 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
13811         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13812         (mpc-songs-jump-to, mpc-resume): Doc fixes.
13814 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
13816         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13817         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13818         any more.
13820 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13822         * comint.el (comint-insert-input): Ignore clicks to the right of
13823         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13825         * vc.el (vc-print-log-internal): Don't wait for the process to
13826         terminate before setting up the major mode.
13828         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13829         in case.
13831         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13832         the last element.
13834         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13836 2009-12-01  Glenn Morris  <rgm@gnu.org>
13838         * window.el (window--display-buffer-2): Fix previous changes.
13840 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
13842         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13844 2009-12-01  Glenn Morris  <rgm@gnu.org>
13846         * Makefile.in (ELCFILES): Add mpc.elc.
13848 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13850         * mpc.el: New file.
13852 2009-12-01  Glenn Morris  <rgm@gnu.org>
13854         * window.el (window-to-use): Define for compiler.
13856         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13857         consistent with others (no final period).
13859         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13860         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
13862 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
13864         Make vc-print-log buttons work.
13865         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13867 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
13869         * savehist.el (savehist-autosave-interval): Allow setting to nil
13870         through customize.  (Bug#5056)
13872 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
13874         Fix references to jit-lock properties.
13875         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13876         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13877         (perl-font-lock-special-syntactic-constructs):
13878         Quote jit-lock-defer-multiline property.
13880 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
13882         * vc-git.el (vc-git-registered): Call vc-git-root only once.
13884 2009-11-30  Juri Linkov  <juri@jurta.org>
13886         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13887         value `buffer' of `multi-isearch-next-buffer-current-function'.
13888         Use `(current-buffer)' when `buffer' is nil.
13889         (multi-isearch-next-buffer-from-list): Don't fallback to
13890         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
13892 2009-11-30  Juri Linkov  <juri@jurta.org>
13894         * misearch.el (multi-isearch-read-buffers): Move canonicalization
13895         of buffers with `get-buffer' to `multi-isearch-buffers'.
13896         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13897         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
13898         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13899         FILES with `expand-file-name' converting relative file names
13900         to absolute.  Doc fix.  (Bug#4727)
13902 2009-11-30  Juri Linkov  <juri@jurta.org>
13904         * misearch.el (multi-isearch-read-buffers)
13905         (multi-isearch-read-matching-buffers): New functions.
13906         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13907         Use them in the `interactive' spec.  Doc fix.
13908         (multi-isearch-read-files, multi-isearch-read-matching-files):
13909         New functions.
13910         (multi-isearch-files, multi-isearch-files-regexp):
13911         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
13913 2009-11-30  Juri Linkov  <juri@jurta.org>
13915         * doc-view.el (doc-view-continuous):
13916         Rename from `doc-view-continuous-mode'.
13917         (doc-view-menu): Move "Toggle display" to the top.
13918         Add submenu "Continuous" with radio buttons "Off"/"On"
13919         and "Save as Default".
13920         (doc-view-scroll-up-or-next-page)
13921         (doc-view-scroll-down-or-previous-page)
13922         (doc-view-next-line-or-next-page)
13923         (doc-view-previous-line-or-previous-page):
13924         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
13926 2009-11-30  Juri Linkov  <juri@jurta.org>
13928         * comint.el (comint-mode-map): Rebind `M-r' from
13929         `comint-previous-matching-input' to
13930         `comint-history-isearch-backward-regexp'.
13931         Unbind `M-s' to allow global key binding `M-s'.
13932         Add menu items for `comint-history-isearch-backward' and
13933         `comint-history-isearch-backward-regexp'.  (Bug#3746)
13935 2009-11-30  Juri Linkov  <juri@jurta.org>
13937         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13938         For def=recenter, replace `recenter' with `recenter-top-bottom'
13939         that is called with `this-command' and `last-command' let-bound
13940         to `recenter-top-bottom'.  When the last `def' was not `recenter',
13941         set `recenter-last-op' to nil.  (Bug#4981)
13943 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13945         Minor cleanup and simplification.
13946         * filecache.el (file-cache-add-directory)
13947         (file-cache-add-directory-recursively)
13948         (file-cache-add-from-file-cache-buffer)
13949         (file-cache-delete-file-regexp, file-cache-delete-directory)
13950         (file-cache-files-matching-internal, file-cache-display): Use dolist.
13951         (file-cache-temp-minibuffer-message): Delete function.
13952         (file-cache-minibuffer-complete): Use minibuffer-message instead.
13954         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13955         Don't signal an error when bumping into EOB in tr, s, or y.
13957 2009-11-29  Juri Linkov  <juri@jurta.org>
13959         * startup.el (fancy-about-text): Fix wording of Guided Tour.
13960         (Bug#4960)
13962         * descr-text.el (describe-char-unidata-list): Use lowercase name
13963         for "Unicode name" like in other tags.
13965 2009-11-29  Juri Linkov  <juri@jurta.org>
13967         * ediff-util.el (ediff-minibuffer-with-setup-hook):
13968         New compatibility macro.
13969         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13971 2009-11-29  Juri Linkov  <juri@jurta.org>
13973         Add defcustom to define the cycling order of `recenter-top-bottom'.
13974         (Bug#4981)
13976         * window.el (recenter-last-op): Doc fix.
13977         (recenter-positions): New defcustom.
13978         (recenter-top-bottom): Rewrite to use `recenter-positions'.
13979         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13981 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
13983         Improve integration of Tramp and ange-ftp in eshell.
13985         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13986         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
13987         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
13989         * eshell/esh-util.el (top): Require also Tramp when compiling.
13990         (eshell-directory-files-and-attributes): Check for FTP remote
13991         connection.
13992         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13993         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13994         (eshell-file-attributes): Handle ".".  Return `entry'.
13996         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13997         (ange-ftp-directory-files-and-attributes)
13998         (ange-ftp-real-directory-files-and-attributes): New defuns.
14000         * net/tramp.el (tramp-maybe-open-connection): Open the remote
14001         shell with "exec" when possible.  This prevents trailing prompts
14002         in `start-file-process'.
14004 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14006         Try and remove assumptions about point-min==1.
14007         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14008         (rng-compute-mode-line-string): Show the validation percentage in
14009         terms of the narrowed text, not the widened text.
14010         (rng-do-some-validation): Don't catch internal errors when debugging.
14011         (rng-first-error): Simplify.
14012         (rng-after-change-function): Remove work around.  AFAIK the bug has
14013         been fixed a while ago.
14015         * image-mode.el (image-minor-mode): Exit more gracefully when the image
14016         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14018         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14020         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14021         `cd' doesn't always do it for us (bug#5067).
14023         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14024         on 2009-10-25 as part of some other change (bug#5067).
14026 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14028         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14029         `suspicious'.
14030         (byte-compile-warnings): Use byte-compile-warning-types.
14031         (byte-compile-save-excursion): Warn about use of set-buffer right
14032         after save-excursion.
14034         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14035         the excursion as well.
14037 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
14039         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14040         providing a Tramp related implementation of "su" and "sudo".
14041         (eshell-unix-initialize): Add "su" and "sudo".
14043 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
14045         * net/socks.el (socks-send-command): Convert binary request to
14046         unibyte before sending.  This fixes mishandling of some port
14047         numbers such as 129.
14049 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14051         * help.el (describe-bindings-internal): Remove `interactive'.
14053         * man.el (Man-completion-table): Trim a terminating "(".
14054         Remove the space between name page a section.
14055         Add the command's description on the `help-echo' property.
14056         Remove `process-connection-type' binding since it's unused by
14057         call-process.
14058         Provide completion for the "<section> <name>" format as well.
14059         (Man-default-man-entry): Remove spurious var shadowing the argument.
14061 2009-11-26  Kevin Ryde  <user42@zip.com.au>
14063         * log-view.el: Add "Keywords: tools", since its other keywords
14064         aren't in finder-known-keywords, and following vc.el.
14066         * sha1.el (sha1-string-external): default-directory "/" in case
14067         otherwise non-existent.  process-connection-type pipe for touch of
14068         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
14070 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14072         Misc coding convention cleanups.
14073         * htmlfontify.el (hfy-init-kludge-hook): Rename from
14074         hfy-init-kludge-hooks.
14075         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14076         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14077         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14078         and push.
14079         (hfy-slant, hfy-weight): Use tables rather than code.
14080         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14081         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14082         (hfy-face-attr-for-class): Initialize `face-spec' directly.
14083         (hfy-face-to-css): Remove `nconc' with single arg.
14084         (hfy-p-to-face-lennart): Use `or'.
14085         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
14086         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14087         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14088         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14089         (hfy-force-fontification): Use run-hooks.
14091 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
14093         Various minor fixes.
14094         * htmlfontify.el (hfy-default-header): Add toggle_invis since
14095         Javascript belongs in the header, not the body.
14096         (hfy-javascript): Remove.
14097         (hfy-fontify-buffer): Don't insert it any more.
14098         (hfy-face-at): Handle (face0 face1 face2) style face properties.
14099         Fix bug in invis handling when there were no invis props in a chunk.
14101 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14103         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14105 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
14107         * finder.el (finder-mode-map): Add a menu.
14109 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
14111         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14112         "unsigned" structs.
14114         (verilog-leap-to-head, verilog-backward-token): Handle "disable
14115         fork" statement better.
14117 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
14119         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14120         (verilog-delete-auto, verilog-delete-empty-auto-pair)
14121         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14122         Reported by Clay Douglass.
14124         (verilog-auto-inst, verilog-auto-star-safe)
14125         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14126         Fix removing "// Interfaces" when saving .* expansions.
14127         Reported by Pierre-David Pfister.
14129 2009-11-26  Glenn Morris  <rgm@gnu.org>
14131         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14132         the scope.
14134 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
14136         * vc-annotate.el (vc-annotate-revision-previous-to-line):
14137         Really use previous revision.
14139 2009-11-25  Kevin Ryde  <user42@zip.com.au>
14141         * man.el (Man-completion-table): default-directory "/" in case
14142         doesn't otherwise exist.  process-environment COLUMNS=999 so as
14143         not to truncate long names.  process-connection-type pipe to avoid
14144         any chance of hitting the pseudo-tty TIOCGWINSZ.
14145         (man): completion-ignore-case t for friendliness and since man
14146         itself is case-insensitive on the command line.
14147         Further to Bug#3717.
14149         * arc-mode.el: Add "Keywords: files", so the details in its
14150         commentary can be reached from finder-by-keyword.
14151         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
14152         editing mode, but it's comms related and sgml-mode.el has "comm"
14153         on that basis too.
14154         * textmodes/bibtex-style.el: Add "Keywords: tex".
14155         * international/isearch-x.el, international/ja-dic-cnv.el:
14156         * international/ja-dic-utl.el, international/kkc.el:
14157         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14159 2009-11-25  Juri Linkov  <juri@jurta.org>
14161         * man.el (Man-completion-table): Modify regexp to include
14162         section names to completion strings.  (Bug#3717)
14164 2009-11-25  Juri Linkov  <juri@jurta.org>
14166         Search recursively in gzipped files.  (Bug#4982)
14168         * progmodes/grep.el (grep-highlight-matches): Add new options
14169         `always' and `auto'.  Doc fix.
14170         (grep-process-setup): Check `grep-highlight-matches' for
14171         `auto-detect' to determine the need to compute grep defaults.
14172         Move Windows/DOS specific --colors settings handling
14173         to `grep-compute-defaults'.  Check `grep-highlight-matches'
14174         to get the value of "--color=".
14175         (grep-compute-defaults): Compute `grep-highlight-matches' when it
14176         has the value `auto-detect'.  Move Windows/DOS specific settings
14177         from `grep-process-setup'.
14178         (zrgrep): New command with alias `rzgrep'.
14180 2009-11-25  Juri Linkov  <juri@jurta.org>
14182         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14183         to nil instead of switching off view-mode.  (Bug#4896)
14185 2009-11-25  Juri Linkov  <juri@jurta.org>
14187         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
14189         * mwheel.el (mwheel-scroll-up-function)
14190         (mwheel-scroll-down-function): New defvars.
14191         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14192         `scroll-up', and `mwheel-scroll-down-function' instead of
14193         `scroll-down'.
14195         * doc-view.el (doc-view-scroll-up-or-next-page)
14196         (doc-view-scroll-down-or-previous-page): Add optional ARG.
14197         Use this ARG in the call to image-scroll-up/image-scroll-down.
14198         Change `interactive' spec to "P".  Goto next/previous page only
14199         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14200         SPC/DEL case).  Doc fix.
14201         (doc-view-next-line-or-next-page)
14202         (doc-view-previous-line-or-previous-page): Rename arg to ARG
14203         for consistency.
14204         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14205         `doc-view-scroll-up-or-next-page', and buffer-local
14206         `mwheel-scroll-down-function' to
14207         `doc-view-scroll-down-or-previous-page'.
14209 2009-11-25  Juri Linkov  <juri@jurta.org>
14211         Provide additional default values (directories at other Dired
14212         windows) via M-n in the minibuffer of some Dired commands.
14214         * dired-aux.el (dired-diff, dired-compare-directories)
14215         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14216         `minibuffer-default' in `minibuffer-with-setup-hook'.
14217         (dired-dwim-target-directory): Find a window that displays Dired
14218         buffer instead of failing when the next window is not Dired.
14219         Use `get-window-with-predicate' to find for the next Dired window.
14220         (dired-dwim-target-defaults): New function.
14222         * ediff-util.el (ediff-read-file-name):
14223         Use `dired-dwim-target-defaults' to set `minibuffer-default'
14224         in `minibuffer-with-setup-hook'.
14226 2009-11-25  Juri Linkov  <juri@jurta.org>
14228         Provide additional default values (file name at point or at the
14229         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
14231         * minibuffer.el (read-file-name-defaults): New function.
14232         (read-file-name): Reset `minibuffer-default' to nil when
14233         it duplicates initial input `insdef'.
14234         Bind `minibuffer-default-add-function' to lambda that
14235         calls `read-file-name-defaults' in `minibuffer-selected-window'.
14236         (minibuffer-insert-file-name-at-point): New command.
14238         * files.el (file-name-at-point-functions): New defcustom.
14239         (find-file-default): Remove defvar.
14240         (find-file-read-args): Don't use `find-file-default'.
14241         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14242         to `read-file-name'.
14243         (find-file-literally): Use `read-file-name' with
14244         `confirm-nonexistent-file-or-buffer'.
14246         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14248         * dired.el (dired-read-dir-and-switches):
14249         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14250         to `read-file-name'.
14251         (dired-file-name-at-point): New function.
14252         (dired-mode): Add hook `dired-file-name-at-point' to
14253         `file-name-at-point-functions'.
14255 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14257         Really make the *Completions* window soft-dedicated (bug#5030).
14258         * window.el (window--display-buffer-2): Add `dedicated' argument.
14259         (display-buffer): Pass it when needed so the dedicated flag is set
14260         after calling set-window-buffer, which would otherwise reset it.
14262 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14264         * progmodes/meta-mode.el (meta-complete-symbol):
14265         * progmodes/etags.el (complete-tag):
14266         * mail/mailabbrev.el (mail-abbrev-complete-alias):
14267         Use completion-in-region.
14269         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14270         (dabbrev-completion): Use completion-in-region.
14271         (dabbrev--abbrev-at-point): Simplify regexp.
14273         * abbrev.el (abbrev--before-point): Use word-motion functions
14274         if :regexp is not specified (bug#5031).
14276         * subr.el (string-prefix-p): New function.
14278         * man.el (Man-completion-cache): New var.
14279         (Man-completion-table): Use it.
14281         * vc.el (vc-print-log-internal): Make `limit' optional for better
14282         compatibility (e.g. with vc-annotate.el).
14284 2009-11-24  Kevin Ryde  <user42@zip.com.au>
14286         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14287         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
14289         * emacs-lisp/elint.el (elint-add-required-env): Better error message
14290         when .el source file not found or other error.
14292 2009-11-24  Markus Triska  <markus.triska@gmx.at>
14294         * linum.el (linum-update-window): Ignore intangible (bug#4996).
14296 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14298         Handle the [back] button properly (bug#4979).
14299         * descr-text.el (describe-text-properties): Add a `buffer' argument.
14300         Use help-setup-xref, help-buffer, and with-help-window.
14301         (describe-char): Add `buffer' argument.
14302         Pass proper command to help-setup-xref.  Don't meddle with
14303         help-xref-stack-item directly.
14304         (describe-text-category): Use with-help-window and help-buffer.
14306         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14307         for the displayed buffer (bug#4887).
14309         * man.el (Man-completion-table): New function.
14310         (man): Use it.
14312 2009-11-24  David Reitter  <david.reitter@gmail.com>
14314         * vc-git.el (vc-git-registered): Use checkout directory (where
14315         .git is) rather than the file's directory and a relative path spec
14316         to work around a bug in git.
14318 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
14320         Improve handling of processes on remote hosts.
14322         * eshell/esh-util.el (eshell-path-env): New defvar.
14323         (eshell-parse-colon-path): New defun.
14324         (eshell-file-attributes): Use `eshell-parse-colon-path'.
14326         * eshell/esh-ext.el (eshell-search-path):
14327         Use `eshell-parse-colon-path'.
14328         (eshell-remote-command): Remove argument HANDLER.
14329         (eshell-external-command): Check for FTP remote connection.
14331         * eshell/esh-proc.el (eshell-gather-process-output):
14332         Use `file-truename', in order to start also symlinked files.
14333         Apply `start-file-process' instead of `start-process'.
14334         Shorten `command' to the local file name part.
14336         * eshell/em-cmpl.el (eshell-complete-commands-list):
14337         Use `eshell-parse-colon-path'.
14339         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14341         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
14342         to `eshell-directory-change-hook'.
14344 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
14346         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14347         because it could be enabled automatically if view-read-only is non-nil.
14349 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
14351         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14352         made on 2009-11-22.
14354 2009-11-24  Glenn Morris  <rgm@gnu.org>
14356         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14357         deleted variable bookmark-bmenu-bookmark-column.
14359 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14361         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14363 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14365         * net/browse-url.el (browse-url-filename-alist): On Windows, add
14366         two slashes to the "file:" prefix.
14367         (browse-url-file-url): De-munge Cygwin filenames before passing
14368         them to Windows browser.
14369         (browse-url-default-windows-browser): Use call-process.
14371 2009-11-23  Juri Linkov  <juri@jurta.org>
14373         Implement DocView Continuous mode.  (Bug#4896)
14374         * doc-view.el (doc-view-continuous-mode): New defcustom.
14375         (doc-view-mode-map): Bind C-n/<down> to
14376         `doc-view-next-line-or-next-page', C-p/<up> to
14377         `doc-view-previous-line-or-previous-page'.
14378         (doc-view-next-line-or-next-page)
14379         (doc-view-previous-line-or-previous-page): New commands.
14381 2009-11-23  Juri Linkov  <juri@jurta.org>
14383         Implement Isearch in comint input history.  (Bug#3746)
14384         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14385         `isearch-mode-hook'.
14386         (comint-history-isearch): New defcustom.
14387         (comint-history-isearch-backward)
14388         (comint-history-isearch-backward-regexp): New commands.
14389         (comint-history-isearch-message-overlay): New buffer-local variable.
14390         (comint-history-isearch-setup, comint-history-isearch-end)
14391         (comint-goto-input, comint-history-isearch-search)
14392         (comint-history-isearch-message, comint-history-isearch-wrap)
14393         (comint-history-isearch-push-state)
14394         (comint-history-isearch-pop-state): New functions.
14396 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
14398         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14399         return.
14400         (tramp-handle-make-symbolic-link)
14401         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14402         Quote file names.
14403         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14404         (tramp-handle-process-file): Use it.
14406 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14408         * window.el (move-to-window-line-last-op): Remove.
14409         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14411 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
14413         Make M-r mirror the new cycling behavior of C-l.
14414         * window.el (move-to-window-line-last-op): New var.
14415         (move-to-window-line-top-bottom): New command.
14416         (global-map): Bind M-r move-to-window-line-top-bottom.
14418 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
14420         * dired-x.el (dired-guess-shell-alist-default):
14421         Support xz format.  (Bug#4953)
14423 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
14425         * emulation/viper-cmd.el: Use viper-last-command-char instead of
14426         last-command-char/last-command-event.
14427         (viper-prefix-arg-value): Do correct conversion of event-char for
14428         XEmacs.
14430         * emulation/viper-util.el, emulation/viper.el:
14431         Use viper-last-command-char instead of
14432         last-command-char/last-command-event.
14434         * ediff-init.el, ediff-mult.el, ediff-util.el:
14435         Replace last-command-char and last-command-event
14436         with (ediff-last-command-char) everywhere.
14438         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14439         created in fundamental mode.
14441         * ediff.el (ediff-version): Revert the change of interactive-p to
14442         called-interactively-p.
14444 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
14446         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14447         generation from word-movement command names.
14449 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
14451         * cus-start.el (all): Add native condition for font-use-system-font.
14453 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
14455         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14456         Correct the patch from 2009-11-18.  (Bug#3910)
14458 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
14460         * progmodes/subword.el: Rename from lisp/subword.el.
14462         * subword.el: Rename to progmodes/subword.el.
14464         * Makefile.in (ELCFILES): Adapt to subword.el move.
14466 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14467             Stefan Monnier  <monnier@iro.umontreal.ca>
14469         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14470         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14471         (bookmark-bmenu-show-filenames): Use push.
14472         (bookmark-bmenu-hide-filenames): Use local var instead of
14473         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
14474         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14475         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14476         filenames now that the bookmark names are always available.
14478 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14480         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14481         (bookmark-search-pattern): Move and leave unbound.
14482         (bookmark-bmenu-mode-map): Change binding.
14483         (bookmark-read-search-input): Simplify.
14484         Don't use text-char-description.  Don't error on non-char events.
14485         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14486         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14487         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14488         Use a local var for the timer.
14489         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14490         (i.e. bookmark-bmenu-search).
14492 2009-11-21  Glenn Morris  <rgm@gnu.org>
14494         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
14496 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14498         * net/browse-url.el (browse-url-default-windows-browser):
14499         Use cygstart for cygwin.
14501 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
14503         * bookmark.el: Formatting and doc fixes only:
14504         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14505         (bookmark-bmenu-search): Wrap to fit within 80 columns.
14506         Minor grammar and punctuation fixes in doc string.
14507         (bookmark-read-search-input): Adjust to fit within 80 columns.
14509 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14511         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14512         (c-backward-into-nomenclature): Adapt to subword renaming.
14514         * subword.el (subword-forward, subword-backward, subword-mark)
14515         (subword-kill, subword-backward-kill, subword-transpose)
14516         (subword-downcase, subword-upcase, subword-capitalize)
14517         (subword-forward-internal, subword-backward-internal):
14518         Rename from forward-subword, backward-subword, mark-subword,
14519         kill-subword, backward-kill-subword, transpose-subwords,
14520         downcase-subword, upcase-subword, capitalize-subword,
14521         forward-subword-internal, backward-subword-internal.
14523 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14525         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14526         New options.
14527         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14528         New vars.
14529         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14530         (bookmark-bmenu-filter-alist-by-regexp)
14531         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14532         (bookmark-bmenu-search): New command.
14533         (bookmark-bmenu-mode-map): Bind it.
14535 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14537         * progmodes/cc-cmds.el: declare-functioned forward-subword and
14538         backward-subword to quit the byte-compiler.
14540         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14542         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14544         * progmodes/cc-cmds.el (c-update-modeline)
14545         (c-forward-into-nomenclature, c-backward-into-nomenclature):
14546         Refer to subword.el functions instead of cc-subword.el.
14548         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14549         subword.el functions instead of cc-subword.el.
14551         * progmodes/cc-subword.el: Rename to subword.el.
14552         * subword.el: Rename from progmodes/cc-subword.el.
14553         (subword-mode-map): Rename from c-subword-mode-map.
14554         (subword-mode): Rename from c-subword-mode.
14555         (global-subword-mode): New global minor mode.
14556         (forward-subword): Rename from c-forward-subword.
14557         (backward-subword): Rename from c-backward-subword.
14558         (mark-subword): Rename from c-mark-subword.
14559         (kill-subword): Rename from c-kill-subword.
14560         (backward-kill-subword): Rename from c-backward-kill-subword.
14561         (transpose-subwords): Rename from c-tranpose-subword.
14562         (downcase-subword): Rename from c-downcase-subword.
14563         (capitalize-subword): Rename from c-capitalize-subword.
14564         (forward-subword-internal): Rename from c-forward-subword-internal.
14565         (backward-subword-internal): Rename from c-backward-subword-internal.
14567 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
14569         * vc.el (vc-deduce-fileset): Allow non-state changing operations
14570         from a dired buffer.
14571         (vc-dired-deduce-fileset): New function.
14572         (vc-root-diff, vc-print-root-log): Use it.
14574         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14575         nil LIMIT argument to vc-print-log-internal.
14577 2009-11-20  Glenn Morris  <rgm@gnu.org>
14579         * Makefile.in (ELCFILES): Regenerate.
14581 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
14583         * calc/calc.el (calc-set-mode-line):
14584         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14585         (math-format-number): Rename `math-format-complement-signed' to
14586         `math-format-twos-complement'.
14588         * calc/calc-bin.el (math-format-twos-complement): Rename from
14589         math-format-complement-signed.
14590         (calc-radix): Rename `calc-complement-signed-mode' to
14591         `calc-twos-complement-mode'.
14592         (calc-octal-radix, calc-hex-radix): Add an argument for
14593         two's complement.
14595         * calc/calc-embed.el (calc-embedded-mode-vars):
14596         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14598         * calc/calc-ext.el (calc-init-extensions):
14599         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14600         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14602         * calc/calc-units.el (math-build-units-table-buffer):
14603         Let `calc-twos-complement-mode' be nil.
14605         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14606         entries.
14608         * calc/calc-vec.el (calcFunc-vunpack):
14609         * calc/calc-aent.el (calc-do-calc-eval):
14610         * calc/calc-forms.el (math-format-date):
14611         * calc/calc-graph.el (calc-graph-plot):
14612         * calc/calc-math.el (math-use-emacs-fn):
14613         * calc/calccomp.el (math-compose-expr):
14614         Let `calc-twos-complement-mode' be nil.
14616 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14618         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14619         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
14620         * minibuffer.el (completion-in-region-functions): New hook.
14621         (completion-in-region): New function.
14622         * emacs-lisp/lisp.el (lisp-complete-symbol):
14623         * pcomplete.el (pcomplete-std-complete): Use it.
14625 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14627         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14628         (latex-complete-alist): New vars.
14629         (latex-string-prefix-p, latex-complete-bibtex-keys)
14630         (latex-complete-envnames, latex-complete-refkeys)
14631         (latex-complete-data): New functions.
14632         (latex-complete, latex-indent-or-complete): New commands.
14634         * window.el (display-buffer-mark-dedicated): New var.
14635         (display-buffer): Obey it.
14636         * minibuffer.el (minibuffer-completion-help): Use it.
14638         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14640         * filecache.el (file-cache-add-file): Use push and cons.
14641         (file-cache-delete-file-regexp): Use push.
14642         (file-cache-complete): Use completion-in-region.
14644         * simple.el (with-wrapper-hook): Fix thinko.
14646         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14647         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14648         Use with-current-buffer and string-to-number.
14649         (hfy-fallback-colour-values): Use assoc-string.
14650         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14651         (hfy-face-at): Remove unused var `found-face'.
14652         (hfy-compile-stylesheet): Remove unused var `css'.
14653         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14654         and `orig-buffer'.
14655         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14656         Use with-current-buffer.
14657         (hfy-text-p): Use expand-file-name and fewer setq.
14659 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
14661         * htmlfontify.el, hfy-cmap.el: New files.
14663 2009-11-19  Juri Linkov  <juri@jurta.org>
14665         * minibuffer.el (completions-format): New defcustom.
14666         (completion--insert-strings): Implement vertical format.
14668         * simple.el (switch-to-completions): Move point to the first
14669         completion when point was at the beginning of the buffer.
14671 2009-11-19  Juri Linkov  <juri@jurta.org>
14673         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
14675         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14677 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
14679         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14680         (mail-signature): Change default to t.
14681         (mail-from-style): Deprecate `system-default' value.
14682         (mail-insert-from-field): For default value of mail-from-style,
14683         default to `angles' unless `angles' needs quoting and `parens'
14684         does not.
14685         (mail-citation-prefix-regexp): Use citation regexp from
14686         message-mode.
14688 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
14690         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14691         Set variables for computing the prompt for reading password.
14693 2009-11-19  Glenn Morris  <rgm@gnu.org>
14695         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
14697         * textmodes/flyspell.el (sgml-lexical-context): Declare.
14699         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14700         (newsticker-treeview-listwindow-height): Fix custom type.
14702 2009-11-19  Kenichi Handa  <handa@m17n.org>
14704         * descr-text.el (describe-char-padded-string): Compose with TAB
14705         only if there's a font for CH.
14706         (describe-char): Fix the condition for detecting a trivial composition.
14708 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
14710         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14711         more accurate version of the regexp.  (Bug#3910)
14713 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14715         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14717 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
14719         * font-setting.el (font-use-system-font): Declare for byte-compiler.
14720         (font-setting-change-default-font): Fix typo in docstring.
14722 2009-11-18  Alan Mackenzie  <acm@muc.de>
14724         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14726 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14728         * font-setting.el (font-use-system-font): Move ...
14730         * cus-start.el (all): ... to here.
14732 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
14734         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14735         Don't set `ad-return-value' if `ad-do-it' doesn't.
14737         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14738         modification time.
14740 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14742         * menu-bar.el: Put "Use system font" in Option-menu.
14743         (menu-bar-options-save): Add font-use-system-font.
14745         * loadup.el: If feature system-font-setting or font-render-setting is
14746         there, load font-setting.
14748         * Makefile.in (ELCFILES): Add font-settings.el.
14749         * font-setting.el: New file.
14751 2009-11-17  Glenn Morris  <rgm@gnu.org>
14753         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14755         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14756         Preserve point in the list buffer.  (Bug#4939)
14757         Use point-at-eol.
14758         (newsticker--treeview-list-update-highlight)
14759         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14761 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14763         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14764         Remove.
14766         * calc/calc-ext.el (calc-init-extensions): Remove references to
14767         symclip.
14769         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14771         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14772         * calc/calc-help.el (calc-b-prefix-help): Remove references to
14773         `calc-symclip'.
14775 2009-11-16  Kevin Ryde  <user42@zip.com.au>
14777         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14778         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14780         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14781         (lm-keywords-list): Allow comma-only separator like "foo,bar".
14782         Ignore trailing spaces by omit-nulls to split-string (fixing
14783         regression from Emacs 21 due to the incompatible split-string
14784         change).  (Bug #4928.)
14786 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
14788         * vc.el (vc-log-show-limit): Default to 2000.
14789         (vc-print-log-internal): Insert buttons to request more entries
14790         when limiting the output.
14792         * vc-sccs.el (vc-sccs-print-log):
14793         * vc-rcs.el (vc-rcs-print-log):
14794         * vc-cvs.el (vc-cvs-print-log):
14795         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14796         LIMIT is non-nil.
14798 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14800         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14801         error when `tramp-gvfs-dbus-event-vector' is set.
14802         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14804 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14806         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14808 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14810         * net/dbus.el (dbus-unregister-service): New defun.
14811         (dbus-register-property): Register the handlers of
14812         "org.freedesktop.DBus.Properties" for SERVICE.
14813         (dbus-property-handler): Fix docstring.
14815 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14817         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14818         Quote doc string reference in defvaralias as it is not in special form.
14819         (byte-compile-output-docform): Doc fix.
14821 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14823         * calc/calc.el (math-2-word-size, math-half-2-word-size)
14824         (calc-complement-signed-mode): New variables.
14825         (calc-set-mode-line): Add indicator for twos-complements.
14826         (math-format-number): Format twos-complement notation.
14828         * calc/calc-bin.el (calc-word-size): Reset the variables
14829         `math-2-word-size' and `math-half-2-word-size'.
14830         (math-format-complement-signed, math-symclip, calcFunc-symclip)
14831         (calc-symclip): New functions.
14833         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14835         * calc/calc-embed.el (calc-embedded-mode-vars):
14836         Add `calc-complement-signed-mode' to the list of modes.
14838         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14839         (calc-b-oper-keys): Add `calc-symclip' to list.
14841         * calc/calc-ext.el (math-read-number-fancy): Read complement
14842         signed numbers.
14843         (calc-init-extensions): Add binding for `calc-symclip'.
14844         Add autoload for `calcFunc-symclip' and `calc-symclip'.
14846         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14847         `calc-symclip'.
14848         (calc-modes-menu): Add item for twos complement mode.
14850         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14852 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14854         * register.el (jump-to-register, insert-register): Handle Semantic
14855         tags.  From commented-out advice in semantic/senator.el.
14857 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
14859         * vc.el (vc-log-show-limit): New variable.
14860         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
14861         when using a prefix argument.
14862         (vc-print-log-internal): Add new argument LIMIT.
14864         * vc-svn.el (vc-svn-print-log):
14865         * vc-mtn.el (vc-mtn-print-log):
14866         * vc-hg.el (vc-hg-print-log):
14867         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14868         pass it to the log command when set.  Make the BUFFER argument
14869         non-optional.
14871         * vc-sccs.el (vc-sccs-print-log):
14872         * vc-rcs.el (vc-rcs-print-log):
14873         * vc-git.el (vc-git-print-log):
14874         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14875         ignore it.  Make the BUFFER argument non-optional
14877         * bindings.el (mode-line-buffer-identification): Do not purecopy.
14879 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14881         * dired.el (dired-mode-map): Move encryption items to "Operate"
14882         menu (Bug#4703).
14884         * strokes.el (strokes-update-window-configuration): Make strokes
14885         buffer current before erasing (Bug#4906).
14887 2009-11-15  Juri Linkov  <juri@jurta.org>
14889         * simple.el (set-mark-default-inactive): Add :type, :group
14890         and :version.  (Bug#4876)
14892 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
14894         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14895         (archive-unique-fname): ... here.  (Bug#4929)
14897 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14899         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14900         with a real fix.
14902         * novice.el (disabled-command-function): Add useful args.
14903         Setup the help buffer so that [back] works.
14904         Remove redundant call to help-mode.
14905         (disabled-command-function): Use `case'.
14906         (en/disable-command): New function extracted from enable-command.
14907         (enable-command, disable-command): Use it.
14909 2009-11-14  Glenn Morris  <rgm@gnu.org>
14911         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14912         constants.  (Bug#4913)
14914         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14916 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14918         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14919         defined in C that have no doc-strings.  (Bug#1063)
14921 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
14923         * cus-edit.el (data, files):
14924         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
14926 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
14928         * simple.el (shell-command): Doc fix (Bug#4891).
14930         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14932 2009-11-14  Glenn Morris  <rgm@gnu.org>
14934         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14935         statements for vc-diff, emerge-quit, and rmail-cease-edit.
14936         If they are already loaded, eval-after-load will do the right thing.
14938         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14939         compiling.
14941         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14943         * simple.el (x-selection-owner-p): Declare.
14944         (read-mail-command): Use custom radio type rather than choice.
14945         (completion-no-auto-exit): Doc fix.
14947         * custom.el (defgroup):
14948         * epg-config.el (epg): Doc fixes.
14950 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
14952         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14953         * international/ccl.el (define-ccl-program): Do not purecopy the
14954         docstring, defconst does it anyway.
14956 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14958         * add-log.el (add-change-log-entry): Avoid displaying the changelog
14959         a second time.
14961         * x-dnd.el (x-dnd-maybe-call-test-function):
14962         * window.el (split-window-vertically):
14963         * whitespace.el (whitespace-help-on):
14964         * vc-rcs.el (vc-rcs-consult-headers):
14965         * userlock.el (ask-user-about-lock-help)
14966         (ask-user-about-supersession-help):
14967         * type-break.el (type-break-force-mode-line-update):
14968         * time-stamp.el (time-stamp-conv-warn):
14969         * terminal.el (te-set-output-log, te-more-break, te-filter)
14970         (te-sentinel, terminal-emulator):
14971         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14972         (term-write-input-ring, term-check-source, term-start-output-log):
14973         (term-display-buffer-line, term-dynamic-list-completions):
14974         (term-ansi-make-term, serial-term):
14975         * subr.el (selective-display):
14976         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14977         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14978         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14979         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14980         (speedbar-remove-localized-speedbar-support)
14981         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14982         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14983         (speedbar-buffers-line-directory):
14984         * simple.el (shell-command-on-region, append-to-buffer)
14985         (prepend-to-buffer):
14986         * shadowfile.el (shadow-save-todo-file):
14987         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14988         (scroll-bar-maybe-set-window-start):
14989         * sb-image.el (speedbar-image-dump):
14990         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14991         (load-save-place-alist-from-file):
14992         * ps-samp.el (ps-print-message-from-summary):
14993         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14994         (ps-background-image, ps-begin-job, ps-do-despool):
14995         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14996         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14997         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14998         (pr-call-process, pr-file-list, pr-interface-save):
14999         * novice.el (disabled-command-function)
15000         (enable-command, disable-command):
15001         * mouse.el (mouse-buffer-menu-alist):
15002         * mouse-copy.el (mouse-kill-preserving-secondary):
15003         * macros.el (kbd-macro-query):
15004         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15005         * informat.el (batch-info-validate):
15006         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15007         * hippie-exp.el (try-expand-dabbrev-visible):
15008         * help-mode.el (help-make-xrefs):
15009         * help-fns.el (describe-variable):
15010         * generic-x.el (bat-generic-mode-run-as-comint):
15011         * finder.el (finder-mouse-select):
15012         * find-dired.el (find-dired-sentinel):
15013         * filesets.el (filesets-file-close):
15014         * files.el (list-directory):
15015         * faces.el (list-faces-display, describe-face):
15016         * facemenu.el (list-colors-display):
15017         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15018         * epg.el (epg--process-filter, epg-cancel):
15019         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15020         (epa--read-signature-type):
15021         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15022         (emerge-file-names):
15023         * ehelp.el (electric-helpify):
15024         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15025         * ediff-vers.el (rcs-ediff-view-revision):
15026         * ediff-util.el (ediff-setup):
15027         * ediff-mult.el (ediff-append-custom-diff):
15028         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15029         (ediff-wordify):
15030         * echistory.el (Electric-command-history-redo-expression):
15031         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15032         * disp-table.el (describe-display-table):
15033         * dired.el (dired-find-buffer-nocreate):
15034         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15035         * dabbrev.el (dabbrev--same-major-mode-p):
15036         * chistory.el (list-command-history):
15037         * apropos.el (apropos-documentation):
15038         * allout.el (allout-obtain-passphrase):
15039         (allout-copy-exposed-to-buffer):
15040         (allout-verify-passphrase): Use with-current-buffer.
15042 2009-11-13  Glenn Morris  <rgm@gnu.org>
15044         * Makefile.in (ELCFILES): Regenerate.
15046 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
15048         * net/dbus.el (dbus-registered-objects-table): Rename from
15049         `dbus-registered-functions-table', because it contains also properties.
15050         (dbus-unregister-object): Unregister also properties.
15051         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15052         Use a timeout of 500 msec, in order to not block.
15053         (dbus-register-property, dbus-property-handler): New defuns.
15055 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15057         * simple.el (minibuffer-default-add-completions): Drop deprecated
15058         4th arg.
15060 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
15062         * textmodes/artist.el (artist-mouse-choose-operation):
15063         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15064         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15065         (artist-compute-up-event-key): New function.
15066         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15068 2009-11-13  Kenichi Handa  <handa@m17n.org>
15070         * language/japan-util.el: Make sure that the value of jisx0208
15071         property is jisx0208 character.
15073 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
15075         * international/mule.el (auto-coding-regexp-alist): Only purecopy
15076         car or each item, not the whole list.
15078 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15080         * minibuffer.el (minibuffer-completion-help):
15081         Use minibuffer-hide-completions.
15083 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
15085         * dired.el (dired-save-positions, dired-restore-positions): New funs.
15086         (dired-revert): Use them (bug#4880).
15088 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15090         * tooltip.el (tooltip-frame-parameters): Undo previous change.
15092 2009-11-12  Juri Linkov  <juri@jurta.org>
15094         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15095         New functions.
15096         (find-file-literally-at-point): Alias of `ffap-literally'.
15098 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15100         * textmodes/ispell.el (ispell-skip-region-alist):
15101         * textmodes/css-mode.el (auto-mode-alist):
15102         * progmodes/compile.el (auto-mode-alist):
15103         * international/mule.el (ctext-non-standard-encodings-alist)
15104         (ctext-non-standard-encodings-regexp):
15105         * simple.el (shell-command-switch, text-read-only):
15106         * replace.el (occur-mode-map):
15107         * paths.el (rmail-file-name):
15108         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15109         * find-file.el (ff-special-constructs):
15110         * files.el (file-name-handler-alist):
15111         * composite.el: Purecopy strings.
15113         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15115 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15117         * widget.el (define-widget): Purecopy the docstring.
15118         * international/mule-cmds.el (charset): Do not purecopy the
15119         docstring here, define-widget does it.
15121         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15122         * textmodes/bibtex-style.el (auto-mode-alist):
15123         * progmodes/inf-lisp.el (inferior-lisp-prompt):
15124         * progmodes/compile.el (compile-command):
15125         * language/korea-util.el (default-korean-keyboard):
15126         * international/mule-conf.el (file-coding-system-alist):
15127         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15128         * tooltip.el (tooltip-frame-parameters):
15129         * newcomment.el (comment-end, comment-padding):
15130         * dired.el (dired-trivial-filenames):
15131         * comint.el (comint-file-name-prefix): Purecopy initial values.
15133 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
15135         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15136         (tramp-advice-minibuffer-electric-tilde): Unload advices via
15137         `tramp-unload'.
15138         (tramp-advice-make-auto-save-file-name)
15139         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15140         after removing the advice.
15142 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15144         * progmodes/grep.el (grep-regexp-alist):
15145         * international/mule-cmds.el (iso-2022-control-alist):
15146         * emacs-lisp/timer.el (timer-duration-words):
15147         * subr.el (version-separator, version-regexp-alist):
15148         * minibuffer.el (completion-styles-alist):
15149         * faces.el (face-attribute-name-alist, list-faces-sample-text):
15150         Change defvars to defconsts.
15152         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15153         * loadup.el ("international/mule-conf"): Load the byte compiled version.
15154         * international/mule-conf.el: Allow to be byte compiled.
15156         * international/mule.el (define-charset): Purecopy props.
15157         (load-with-code-conversion): Purecopy doc string and file name.
15158         (put-charset-property): Purecopy strings.
15159         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15161         * international/mule-cmds.el (register-input-method): Purecopy arguments.
15162         (define-char-code-property): Correctly purecopy the table.
15164         * international/ccl.el (define-ccl-program): Purecopy the docstring.
15166         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15168         * subr.el (add-hook): Purecopy strings.
15169         (eval-after-load): Purecopy load-history-regexp and the form.
15171         * custom.el (custom-declare-group): Purecopy load-file-name.
15173         * subr.el (menu-bar-separator): New defconst.
15174         * net/eudc.el (eudc-tools-menu):
15175         * international/mule-cmds.el (set-coding-system-map)
15176         (mule-menu-keymap):
15177         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15178         * vc-hooks.el (vc-menu-map):
15179         * replace.el (occur-mode-map):
15180         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15181         (menu-bar-edit-menu, menu-bar-goto-menu)
15182         (menu-bar-custom-menu, menu-bar-showhide-menu)
15183         (menu-bar-options-menu, menu-bar-tools-menu)
15184         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15185         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15186         (menu-bar-help-menu):
15187         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15188         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15190         * term/x-win.el (x-gtk-stock-map):
15191         * progmodes/vera-mode.el (auto-mode-alist):
15192         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15193         (inferior-lisp-program, inferior-lisp-load-command):
15194         * progmodes/hideshow.el (hs-special-modes-alist):
15195         * progmodes/gud.el (same-window-regexps):
15196         * progmodes/grep.el (grep-program, find-program, xargs-program):
15197         * net/telnet.el (same-window-regexps):
15198         * net/rlogin.el (same-window-regexps):
15199         * language/ethiopic.el (font-ccl-encoder-alist):
15200         * vc-sccs.el (vc-sccs-master-templates):
15201         * vc-rcs.el (vc-rcs-master-templates):
15202         * subr.el (cl-assertion-failed):
15203         * simple.el (next-error-overlay-arrow-position):
15204         * lpr.el (lpr-command):
15205         * locate.el (locate-ls-subdir-switches):
15206         * info.el (same-window-regexps, info)
15207         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15208         * image-mode.el (image-mode, auto-mode-alist):
15209         * hippie-exp.el (hippie-expand-ignore-buffers):
15210         * format.el (format-alist):
15211         * find-dired.el (find-ls-subdir-switches, find-grep-options)
15212         (find-name-arg):
15213         * facemenu.el (facemenu-keybindings):
15214         * dired.el (dired-listing-switches, dired-chown-program):
15215         * diff.el (diff-switches, diff-command):
15216         * cus-edit.el (same-window-regexps):
15217         * bindings.el (mode-line-mule-info)
15218         (mode-line-buffer-identification): Purecopy strings.
15220 2009-11-11  Juri Linkov  <juri@jurta.org>
15222         * simple.el (dired-get-filename) <declare-function>:
15223         Tell the byte-compiler about dired-get-filename.
15224         (shell-command): In Dired mode, get filename from the current line
15225         as the default value.
15227 2009-11-10  Glenn Morris  <rgm@gnu.org>
15229         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15230         * calendar/holidays.el, progmodes/cperl-mode.el:
15231         Update x-popup-menu declarations.
15233         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15234         (list-load-path-shadows): Use dolist.
15235         (list-load-path-shadows): Use with-current-buffer.
15237 2009-11-10  Juri Linkov  <juri@jurta.org>
15239         * minibuffer.el (read-file-name): Support a list of default values
15240         in `default-filename'.  Use the first file name where only one
15241         element is required.  Doc fix.
15243 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
15245         * net/dbus.el (dbus-unregister-object): Release service, if no
15246         other method is registered for it.
15248 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
15250         * bookmark.el (bookmark-completing-read): Sort bookmark names if
15251         bookmark-sort-flag is non-nil (Bug#4653).
15253 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15255         * emulation/cua-base.el: Add CUA property to some CC mode commands
15256         (Bug#4100).
15258 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15260         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15261         at end of sentence (Bug#4818).
15263 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
15265         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15266         Handle "see declaration of" MSFT statements (Bug#4100).
15268 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
15270         * net/tramp.el (tramp-advice-make-auto-save-file-name)
15271         (tramp-advice-file-expand-wildcards): Unload via
15272         `ad-remove-advice'.
15274         * net/trampver.el: Update release number.
15276 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15278         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15279         `ad-do-it'.
15281 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
15283         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15284         in order to keep context in SELinux.
15286 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15288         * dired-aux.el (dired-query): Place cursor in echo area and allow
15289         C-g.
15291         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15292         menu item if not on a directory (Bug#4701).
15294 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
15296         Sync with Tramp 2.1.17.
15298         * net/tramp.el (tramp-handle-copy-directory): Don't use
15299         `file-remote-p' (due to compatibility).
15301         * net/tramp-compat.el (tramp-compat-copy-directory)
15302         (tramp-compat-delete-directory): New defuns.
15304         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15305         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15306         Use `tramp-compat-delete-directory'.
15308         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15309         (tramp-smb-handle-delete-directory):
15310         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15312         * net/trampver.el: Update release number.
15314 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
15316         * tar-mode.el (tar-copy): Call write-region on the right buffer
15317         (Bug#4857).
15319         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15320         by hand, if necessary (Bug#4878).
15322 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
15324         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15325         align size column (Bug#4839).
15327         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15328         statement.
15330 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15332         * progmodes/ld-script.el (auto-mode-alist):
15333         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15335         * cus-face.el (custom-declare-face): Purecopy face spec.
15337 2009-11-06  Kenichi Handa  <handa@m17n.org>
15339         * international/uni-bidi.el: Re-generated.
15340         * international/uni-category.el: Re-generated.
15341         * international/uni-combining.el: Re-generated.
15342         * international/uni-mirrored.el: Re-generated.
15344 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15346         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15347         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15348         (tex-start-options, slitex-run-command, latex-run-command)
15349         (tex-run-command, tex-directory):
15350         * textmodes/ispell.el (ispell-html-skip-alists)
15351         (ispell-tex-skip-alists, ispell-tex-skip-alists):
15352         * textmodes/fill.el (adaptive-fill-first-line-regexp):
15353         (adaptive-fill-regexp):
15354         * textmodes/dns-mode.el (auto-mode-alist):
15355         * progmodes/python.el (interpreter-mode-alist):
15356         * progmodes/etags.el (tags-compression-info-list):
15357         * progmodes/etags.el (tags-file-name):
15358         * net/browse-url.el (browse-url-galeon-program)
15359         (browse-url-firefox-program):
15360         * mail/sendmail.el (mail-signature-file)
15361         (mail-citation-prefix-regexp):
15362         * international/mule-conf.el (eight-bit):
15363         * international/latexenc.el (latex-inputenc-coding-alist):
15364         * international/fontset.el (x-pixel-size-width-font-regexp):
15365         * emacs-lisp/warnings.el (warning-type-format):
15366         * emacs-lisp/trace.el (trace-buffer):
15367         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15368         (emacs-lisp-mode-map):
15369         * calendar/holidays.el (holiday-solar-holidays)
15370         (holiday-bahai-holidays, holiday-islamic-holidays)
15371         (holiday-christian-holidays, holiday-hebrew-holidays)
15372         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15373         (hebrew-holidays-1, holiday-oriental-holidays)
15374         (holiday-general-holidays):
15375         * x-dnd.el (x-dnd-known-types):
15376         * tool-bar.el (tool-bar):
15377         * startup.el (site-run-file):
15378         * shell.el (shell-dumb-shell-regexp):
15379         * rfn-eshadow.el (file-name-shadow-tty-properties)
15380         (file-name-shadow-properties):
15381         * paths.el (remote-shell-program, news-directory):
15382         * mouse.el ([C-down-mouse-3]):
15383         * menu-bar.el (menu-bar-tools-menu):
15384         * jka-cmpr-hook.el (jka-compr-load-suffixes)
15385         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15386         (jka-compr-compression-info-list):
15387         * isearch.el (search-whitespace-regexp):
15388         * image-file.el (image-file-name-extensions):
15389         * find-dired.el (find-ls-option):
15390         * files.el (directory-listing-before-filename-regexp)
15391         (directory-free-space-args, insert-directory-program)
15392         (list-directory-brief-switches, magic-fallback-mode-alist)
15393         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15394         (automount-dir-prefix):
15395         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15396         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15397         (face-font-registry-alternatives, face-font-registry-alternatives)
15398         (face-font-family-alternatives):
15399         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15400         (facemenu-foreground-menu, facemenu-face-menu):
15401         * epa-hook.el (epa-file-name-regexp):
15402         * dnd.el (dnd-protocol-alist):
15403         * textmodes/rst.el (auto-mode-alist):
15404         * button.el (default-button): Purecopy strings.
15406 2009-11-06  Glenn Morris  <rgm@gnu.org>
15408         * Makefile.in (ELCFILES): Update.
15410 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15412         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15413         * emacs-lisp/levents.el: Move to obsolete/levents.el.
15415         * nxml/xsd-regexp.el (xsdre-gen-categories):
15416         * nxml/xmltok.el (xmltok-parse-entity):
15417         * nxml/rng-parse.el (rng-parse-validate-file):
15418         * nxml/rng-maint.el (rng-format-manual)
15419         (rng-manual-output-force-new-line):
15420         * nxml/rng-loc.el (rng-save-schema-location-1):
15421         * nxml/rng-cmpct.el (rng-c-parse-file):
15422         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15423         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15425 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
15427         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15428         Remove extra save-excursions and make-variable-buffer-local's.
15429         Suggested by Stefan Monnier.
15431         (verilog-getopt-file, verilog-module-inside-filename-p)
15432         (verilog-set-define): Merge GNU 1.35 and repair changes from
15433         switching to using with-current-buffer.
15435         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15436         being treated as a number and confusing AUTORESET.
15437         Reported by Dan Dever.
15439         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15440         Add verilog-auto-ignore-concat to fix backward compatibility with
15441         older verilog-modes.  Reported by Dan Katz.
15443         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15444         containing closing anchors "...$".
15446         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15447         Reported by Wade Smith.
15449         (verilog-batch-execute-func): Comment on function usage.
15451 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
15453         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15454         for labels.
15456         (verilog-label-re, verilog-calc-1): Support proper indent of named
15457         asserts.
15459         (verilog-backward-token, verilog-basic-complete-re)
15460         (verilog-beg-of-statement, verilog-indent-re): Support proper
15461         indent of the assert statement at the beginning of a block of text.
15463         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15464         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15465         tokens as begins.
15467 2009-11-05  Glenn Morris  <rgm@gnu.org>
15469         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15470         Emacs 19.  (Bug#1531)
15471         (byte-compile-fix-header): Update for the above change.
15472         Drop test for epoch::version.
15474         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15475         * cus-dep.el (custom-make-dependencies):
15476         * finder.el (finder-compile-keywords):
15477         Use autoload-rubric's feature argument.
15479         * calendar/diary-lib.el (top-level): Make load behave more like require.
15481         * vc-git.el (vc-git-stash-map): Move definition before use.
15483 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
15485         * custom.el (custom-declare-group): Purecopy standard-value.
15486         (custom-declare-group): Purecopy custom-prefix.
15488         * international/mule.el (load-with-code-conversion):
15489         Call do-after-load-evaluation unconditionally.
15491         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15493 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15495         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15497 2009-11-04  Glenn Morris  <rgm@gnu.org>
15499         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15500         (byte-compile-compatibility): Remove option.
15501         (byte-compile-close-variables, byte-compile-fix-header)
15502         (byte-compile-insert-header, byte-compile-output-docform)
15503         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15504         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15505         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15506         (byte-compile-insert, byte-compile-defun):
15507         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
15508         (byte-defop-compiler19): Remove.
15509         Without byte-compile-compatibility, the 'emacs19-opcode property is not
15510         used by anything.  Replace all calls with byte-defop-compiler.
15512 2009-11-04  Juri Linkov  <juri@jurta.org>
15514         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15515         (menu-bar-options-menu): Don't quote the `prop' arg of
15516         `menu-bar-make-mm-toggle'.
15518 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
15520         * calendar/calendar.el (cal-loaddefs):
15521         * calendar/diary-lib.el (diary-loaddefs):
15522         * calendar/holidays.el (hol-loaddefs):
15523         * eshell/esh-module.el (esh-groups): Load rather than require.
15525 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15527         * calendar/todo-mode.el (todo-add-category): Don't hardcode
15528         point-min==1.
15529         (todo-top-priorities): Only display-buffer when called interactively.
15530         (todo-item-start): Don't save excursion point.
15531         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
15532         (todo-insert-item-here, todo-file-item, todo-remove-item):
15533         Adjust uses of todo-item-start and todo-item-end.
15535         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15536         (autoload-rubric): Don't use any more.
15538         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15539         and only put a prop if it is non-nil.
15541 2009-11-03  Juri Linkov  <juri@jurta.org>
15543         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15544         (menu-bar-options-menu): Fix list quoting (Bug#4429).
15546         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15547         and "Menu" to make top-level menu item visually one unit (like
15548         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15549         multi-word menu items).  Fix :help string for quit-window.
15551 2009-11-03  Glenn Morris  <rgm@gnu.org>
15553         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15554         (byte-compile-file-form-define-abbrev-table)
15555         (byte-compile-file-form-custom-declare-variable)
15556         (byte-compile-variable-ref, byte-compile-defvar):
15557         Whether or not a warning is enabled should only affect whether we issue
15558         the warning, not whether or not we collect the relevant data.
15559         Eg warnings can be turned on and off throughout the course of a file.
15561         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15562         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15564 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15566         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15567         * play/mpuz.el (mpuz-create-buffer):
15568         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15569         (lm-print-y,s,noise, lm-print-w0, lm-init):
15570         * play/gomoku.el (gomoku-prompt-for-move):
15571         * play/fortune.el (fortune-in-buffer):
15572         * play/dissociate.el (dissociated-press):
15573         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15574         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15575         * mail/supercite.el (sc-eref-show):
15576         * mail/smtpmail.el (smtpmail-send-it):
15577         * mail/rmailsum.el (rmail-summary-next-labeled-message)
15578         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15579         (rmail-summary-undelete-many, rmail-summary-rmail-update)
15580         (rmail-summary-goto-msg, rmail-summary-expunge)
15581         (rmail-summary-get-new-mail, rmail-summary-search-backward)
15582         (rmail-summary-add-label, rmail-summary-output-menu)
15583         (rmail-summary-output-body):
15584         * mail/rfc822.el (rfc822-addresses):
15585         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15586         * mail/mailpost.el (post-mail-send-it):
15587         * mail/hashcash.el (hashcash-generate-payment):
15588         * mail/feedmail.el (feedmail-run-the-queue)
15589         (feedmail-queue-send-edit-prompt-help-first)
15590         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15591         (feedmail-deduce-address-list):
15592         * eshell/esh-ext.el (eshell-remote-command):
15593         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15594         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15595         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15596         (viper-save-string-in-file, viper-valid-marker):
15597         * emulation/viper-keym.el (viper-toggle-key):
15598         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15599         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15600         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15601         * emulation/viper-cmd.el (viper-exec-form-in-vi)
15602         (viper-exec-form-in-emacs, viper-brac-function):
15603         * emulation/viper.el (viper-delocalize-var):
15604         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15605         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15606         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15607         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15608         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15609         * emulation/edt.el (edt-electric-helpify):
15610         * emulation/cua-rect.el (cua--rectangle-aux-replace):
15611         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15612         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15613         (cua-indent-to-global-mark-column):
15614         * calendar/diary-lib.el (calendar-mark-1):
15615         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15616         Use with-current-buffer.
15617         * emulation/viper.el (viper-delocalize-var): Use dolist.
15619 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
15621         * comint.el (comint-replace-by-expanded-history-before-point):
15622         Replace !! with the previous input string literally (Bug#1795).
15624 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
15626         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15627         to be made up of whitespace.
15629 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
15631         * minibuffer.el (read-file-name): Don't use file dialogs for
15632         remote directories (Bug#99).
15634 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
15636         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15638 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15640         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15641         instead of deleting the window or frame.
15643 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15645         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15646         Support face colors.
15648         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15649         New function.  Support face colors (Bug#1168).
15650         (tex-common-initialization): Use it.
15652         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15653         mode allows it (Bug#1168).
15655 2009-10-31  Juri Linkov  <juri@jurta.org>
15657         * facemenu.el (list-colors-display): Don't mark buffer as
15658         modified (Bug#3948).
15660 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15662         * international/mule-diag.el (list-character-sets-1):
15663         Minor message fix (Bug#3526).
15665         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15666         Fix face property (Bug#4834).
15667         (etags-list-tags, etags-tags-apropos-additional)
15668         (etags-tags-apropos, tags-select-tags-table): Add follow-link
15669         property.
15671         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15672         items.
15674 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15676         * textmodes/two-column.el (2C-split):
15677         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15678         * textmodes/tex-mode.el (tex-set-buffer-directory):
15679         * textmodes/spell.el (spell-region, spell-string):
15680         * textmodes/reftex.el (reftex-erase-buffer):
15681         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15682         * textmodes/reftex-toc.el (reftex-toc-promote-action):
15683         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15684         (reftex-select-item):
15685         * textmodes/reftex-ref.el (reftex-label-info-update)
15686         (reftex-offer-label-menu):
15687         * textmodes/reftex-index.el (reftex-index-change-entry)
15688         (reftex-index-phrases-info):
15689         * textmodes/reftex-global.el (reftex-create-tags-file)
15690         (reftex-save-all-document-buffers, reftex-ensure-write-access):
15691         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15692         (reftex-view-crossref-from-bibtex):
15693         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15694         (reftex-extract-bib-entries-from-thebibliography)
15695         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15696         * textmodes/refbib.el (r2b-capitalize-title):
15697         (r2b-convert-buffer, r2b-help):
15698         * textmodes/page-ext.el (pages-directory)
15699         (pages-directory-goto-with-mouse):
15700         * textmodes/bibtex.el (bibtex-validate-globally):
15701         * textmodes/bib-mode.el (bib-capitalize-title):
15702         * textmodes/artist.el (artist-clear-buffer, artist-system):
15703         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15704         (local-set-scheme-interaction-buffer, xscheme-process-filter)
15705         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15706         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15707         (xscheme-send-control-g-interrupt, xscheme-start-process)
15708         (xscheme-process-sentinel, xscheme-cd):
15709         * progmodes/verilog-mode.el (verilog-read-always-signals)
15710         (verilog-set-define, verilog-getopt-file)
15711         (verilog-module-inside-filename-p):
15712         * progmodes/sh-script.el:
15713         * progmodes/python.el (python-pdbtrack-get-source-buffer)
15714         (python-pdbtrack-grub-for-buffer, python-execute-file):
15715         * progmodes/octave-inf.el (inferior-octave):
15716         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15717         (idlwave-shell-compile-helper-routines, idlwave-set-local)
15718         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15719         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15720         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15721         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15722         (idlwave-shell-filter, idlwave-shell-examine-highlight)
15723         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15724         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15725         (idlwave-shell-examine-display, idlwave-shell-run-region)
15726         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15727         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15728         * progmodes/idlw-help.el (idlwave-help-get-special-help)
15729         (idlwave-help-get-help-buffer):
15730         * progmodes/gud.el (gud-basic-call, gud-find-class)
15731         (gud-tooltip-activate-mouse-motions-if-enabled):
15732         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15733         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15734         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15735         (ebrowse-tags-next-file):
15736         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15737         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15738         (ebnf-eps-finish-and-write):
15739         * progmodes/cpp.el (cpp-edit-save):
15740         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15741         * progmodes/cc-defs.el (c-emacs-features):
15742         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15743         (antlr-directory-dependencies):
15744         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15745         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15746         (ada-find-any-references, ada-make-filename-from-adaname)
15747         (ada-make-body-gnatstub):
15748         * obsolete/rnews.el (news-list-news-groups):
15749         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15750         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15751         * net/rcirc.el (rcirc-debug):
15752         * net/newst-treeview.el (newsticker--treeview-list-add-item)
15753         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15754         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15755         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15756         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15757         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15758         (newsticker--treeview-list-clear-highlight)
15759         (newsticker--treeview-list-update-highlight)
15760         (newsticker--treeview-list-highlight-start)
15761         (newsticker--treeview-tree-update-highlight)
15762         (newsticker--treeview-get-selected-item)
15763         (newsticker-treeview-mark-list-items-old)
15764         (newsticker--treeview-set-current-node):
15765         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15766         * net/newst-backend.el (newsticker--get-news-by-funcall)
15767         (newsticker--get-news-by-wget, newsticker--image-get)
15768         (newsticker--image-sentinel):
15769         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15770         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15771         (eudc-ph-close-session):
15772         * net/eudc.el (eudc-save-options):
15773         * language/thai-word.el (thai-update-word-table):
15774         * language/japan-util.el (japanese-string-conversion):
15775         * international/titdic-cnv.el (tsang-quick-converter)
15776         (ziranma-converter, ctlau-converter):
15777         * international/mule-cmds.el (describe-language-environment):
15778         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15779         (skkdic-convert-postfix, skkdic-convert-prefix):
15780         (skkdic-convert-okuri-nasi, skkdic-convert):
15781         * emacs-lisp/re-builder.el (reb-update-overlays):
15782         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15783         * emacs-lisp/gulp.el (gulp-send-requests):
15784         * emacs-lisp/find-gc.el (trace-call-tree):
15785         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15786         (eieio-describe-generic):
15787         * emacs-lisp/eieio-base.el (eieio-persistent-read):
15788         * emacs-lisp/edebug.el (edebug-outside-excursion):
15789         * emacs-lisp/debug.el (debugger-make-xrefs):
15790         * emacs-lisp/cust-print.el (custom-prin1-to-string):
15791         * emacs-lisp/chart.el (chart-new-buffer):
15792         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15793         Use with-current-buffer.
15794         * textmodes/artist.el (artist-system): Don't call
15795         copy-sequence on a fresh string.
15796         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15798 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
15800         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15801         is no item to edit.  (Bug#4820)
15802         (todo-top-priorities): Restore point and restore narrowing in Todo
15803         buffer.  (Bug#4820)
15805 2009-10-31  Glenn Morris  <rgm@gnu.org>
15807         * net/ange-ftp.el (top-level): Don't require dired when compiling.
15808         (comint-last-output-start, comint-last-input-start)
15809         (comint-last-input-end): Don't defvar when compiling.
15810         (ange-ftp-process-file): Use bound-and-true-p.
15812         * pcmpl-rpm.el (top-level): Move provide statement to end.
15813         (pcmpl-rpm): Remove unused custom group.
15815         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15817         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15819         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15820         (byte-compile-warnings): Add `constants' as an option.
15821         (byte-compile-callargs-warn, byte-compile-arglist-warn)
15822         (display-call-tree): Update for byte-compile-fdefinition possibly
15823         returning `(macro lambda ...)'.  (Bug#4778)
15824         (byte-compile-variable-ref, byte-compile-setq-default):
15825         Respect `constants' member of byte-compile-warnings.
15827 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15829         * vc-bzr.el (vc-bzr-revision-keywords): New var.
15830         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15831         to "submit:".
15833 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
15835         * textmodes/ispell.el (ispell-skip-region-alist):
15836         * international/mule-conf.el (eight-bit):
15837         * international/fontset.el (font-encoding-alist):
15838         * startup.el (pure-space-overflow-message):
15839         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15840         * paths.el (gnus-nntp-service, rmail-spool-directory)
15841         (term-file-prefix):
15842         * files.el (save-some-buffers-action-alist):
15843         * cmuscheme.el (same-window-buffer-names):
15844         * ielm.el (same-window-buffer-names):
15845         * shell.el (same-window-buffer-names):
15846         * mail/sendmail.el (same-window-buffer-names):
15847         * progmodes/inf-lisp.el (same-window-buffer-names):
15848         * bindings.el (mode-line-client)
15849         (mode-line-column-line-number-mode-map):
15850         * language/tibetan.el (tibetan-precomposition-rule-regexp)
15851         (tibetan-precomposed-regexp): Purecopy string arguments.
15853 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15855         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15856         (calcDigit-nondigit):
15857         * calc/calc-yank.el (calc-copy-to-buffer):
15858         * calc/calc-units.el (calc-invalidate-units-table):
15859         * calc/calc-trail.el (calc-trail-yank):
15860         * calc/calc-store.el (calc-insert-variables):
15861         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15862         * calc/calc-prog.el (calc-read-parse-table):
15863         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15864         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15865         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15866         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15867         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15868         (calc-graph-name, calc-graph-find-command, calc-graph-view)
15869         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15870         * calc/calc-ext.el (calc-realign):
15871         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15872         (calc-embedded-finish-edit, calc-embedded-make-info)
15873         (calc-embedded-finish-command, calc-embedded-stack-change):
15874         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15876         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15877         shell-dynamic-complete-filename in preference to
15878         comint-dynamic-complete-filename.
15880         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15881         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15882         Don't consider whether the display supports colors.
15883         (bookmark-import-new-list): Use dolist.
15884         (bookmark-bmenu-mode-map): Move initialization into declaration.
15885         (bookmark-bmenu-list): Use dolist, simplify.
15886         (bookmark-show-all-annotations): Use save-selected-window and dolist.
15887         (menu-bar-final-items): Use push.
15889 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15891         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15892         it works on remote files.
15893         (vc-hg-diff): Don't pass any `--cwd' argument.
15895 2009-10-27  Kevin Ryde  <user42@zip.com.au>
15897         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15898         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15899         (Further to Bug#3921).
15901 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
15903         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15904         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15905         calling `tramp-imap-put-file'.  Add file size to the call.
15906         (tramp-imap-get-file-entries): Compute also user name, file size,
15907         and date.
15908         (tramp-imap-handle-insert-directory): Insert uid and gid.
15909         (tramp-imap-handle-file-attributes): Transform uid and gid
15910         according to `id-format'.
15911         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
15912         size in header X-Size.
15914 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
15916         * simple.el (transpose-subr): Give clearer error when the mark
15917         is not set.  (Bug#4807)
15919 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
15921         * net/tramp.el (tramp-perl-file-truename): New defconst.
15922         Perl code contributed by yary <not.com@gmail.com> (tiny change).
15923         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15924         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15925         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15927         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15928         Ignore `dired-call-process'.
15929         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15931 2009-10-26  Julian Scheid  <julians37@gmail.com>
15933         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15934         (tramp-get-remote-readlink): New defun.
15935         (tramp-handle-file-truename): Use it.
15936         (tramp-handle-file-exists-p): Check file-attributes cache, assume
15937         file exists if cache value present.
15938         (tramp-check-cached-permissions): New defun.
15939         (tramp-handle-file-readable-p): Use it.
15940         (tramp-handle-file-writable-p): Likewise.
15941         (tramp-handle-file-executable-p): Likewise.
15942         (tramp-handle-file-name-all-completions): Try using Perl to get
15943         partial completions.  When perl not available, combine `cd' and
15944         `ls' into single remote operation and use shell expansion to get
15945         partial remote directory contents.  Set `file-exists-p' cache for
15946         directory and any files returned by ls.  Change cache handling to
15947         support partial directory contents.  Use error message emitted by
15948         remote `cd' or Perl code for local tramp-error.
15949         (tramp-do-copy-or-rename-file-directly): Avoid separate
15950         tramp-send-command-and-check call.
15951         (tramp-handle-process-file): Merge three remote ops into one.
15952         Do not flush all caches when `process-file-side-effects' is set.
15953         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15954         file-attributes shows uid/gid to be set already.
15956 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
15958         * textmodes/tex-mode.el (tex-dvi-view-command)
15959         (tex-show-queue-command, tex-open-quote):
15960         * progmodes/ruby-mode.el (auto-mode-alist)
15961         (interpreter-mode-alist): Purecopy strings.
15963         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15965         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15966         string for the hook, keymap and abbrev table.
15968         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15970         * x-dnd.el (x-dnd-xdnd-to-action):
15971         * startup.el (fancy-startup-text, fancy-about-text): Change to
15972         defconst from defvar.
15974         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15976         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15977         Purecopy initialization strings.
15979         * mail/sendmail.el (mail-header-separator)
15980         (mail-personal-alias-file):
15981         * mail/rmail.el (rmail-default-dont-reply-to-names)
15982         (rmail-ignored-headers, rmail-retry-ignored-headers)
15983         (rmail-highlighted-headers, rmail-secondary-file-directory)
15984         (rmail-secondary-file-regexp):
15985         * files.el (null-device, file-name-invalid-regexp)
15986         (locate-dominating-stop-dir-regexp)
15987         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15988         (interpreter-mode-alist): Use mapcar instead of mapc.
15990         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15992         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15993         (completion-ignored-extensions):
15994         (debug-ignored-errors): Purecopy strings.
15996 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15998         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15999         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16000         (pcomplete--here): Use push.
16002         * subr.el (all-completions): Declare the 4th arg obsolete.
16004 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16006         * pcomplete.el (pcomplete-unquote-argument-function): New var.
16007         (pcomplete-unquote-argument): New function.
16008         (pcomplete--common-suffix): Always pay attention to case.
16009         (pcomplete--table-subvert): Quote and unquote the text.
16010         (pcomplete--common-quoted-suffix): New function.
16011         (pcomplete-std-complete): Use it and pcomplete-begin.
16013         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16014         we're inside a dedicated or minibuffer window.
16016 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
16018         * bookmark.el: Update documentation, especially documentation
16019         of `bookmark-alist' and of the bookmark file format.
16020         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
16022 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
16024         * mail/emacsbug.el (report-emacs-bug): Clarify that the
16025         keybindings apply to the mail buffer (Bug#4003).  Shrink help
16026         window to buffer.
16028         * whitespace.el (whitespace-mode, whitespace-newline-mode)
16029         (global-whitespace-mode, global-whitespace-newline-mode)
16030         (whitespace-toggle-options, global-whitespace-toggle-options):
16031         Doc fix (Bug#3660).
16033         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16034         of xmltok-start before the end tag was inserted (Bug#2840).
16036         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16037         patterns that are preceded by an open-paren (Bug#1320).
16039 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
16041         * files.el (delete-directory): Delete symlinks to directories with
16042         delete-file (Bug#4739).
16044 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
16046         * vc.el (vc-backend-for-registration): Rename from
16047         vc-get-backend-for-registration.  Update callers.
16049         * international/mule-cmds.el (set-language-info-alist):
16050         Purecopy lang-env.
16051         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16052         (charset): Purecopy the name.
16053         (define-char-code-property): Purecopy string arguments.
16055         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16056         Purecopy string arguments.
16058         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16059         * ediff-hook.el (menu-bar-ediff-menu):
16060         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16061         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16063 2009-10-24  Glenn Morris  <rgm@gnu.org>
16065         * comint.el (comint-dynamic-list-completions):
16066         * term.el (term-dynamic-list-completions): Use choose-completion rather
16067         than obsolete alias mouse-choose-completion.
16069         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16070         file-cache-choose-completion.
16071         (file-cache-choose-completion): Handle an optional event argument.
16072         (file-cache-mouse-choose-completion): Make it an obsolete alias.
16074         * progmodes/octave-mod.el (octave-complete-symbol):
16075         Use choose-completion if mouse-choose-completion is ever removed.
16077         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16078         use.
16080         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16081         compiler.
16083         * vc-hooks.el (vc-responsible-backend): Fix declaration.
16085 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16087         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16088         Ignore `pred' now that we receive one.
16089         Handle test-completion specially.
16091 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16093         * vc.el (vc-responsible-backend): Throw an error if not backend is
16094         found.  Remove the REGISTER argument.  Move the code dealing with
16095         REGISTER ...
16096         (vc-get-backend-for-registration): ... here.  New function.
16097         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16098         of vc-responsible-backend, pass the file name instead of the
16099         directory name.
16101 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16103         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16104         New funs.
16105         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
16106         (pcomplete-comint-setup): Don't modify a global var via
16107         accidental side-effects.
16108         (pcomplete-shell-setup): Adjust call accordingly.
16109         (pcomplete-parse-comint-arguments): Use push.
16111 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
16113         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16114         Allow uncapitalized info node names (Bug#3921).
16116         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16117         to the DEBUG file (Bug#3781).
16119 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
16121         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16122         dictionary entry (Bug#4579).
16124 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
16126         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16127         from `rfn-eshadow-update-overlay-hook' when unloading.
16128         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16129         "rsyncc".  Adjust doc string.
16130         (tramp-temp-buffer-file-name): New buffer-local defvar.
16131         (tramp-handle-insert-file-contents, tramp-handle-write-region):
16132         Keep temporary file when indicated by method ("rsync" and
16133         "rsyncc").
16134         (tramp-handle-write-region): Handle APPEND.
16135         (tramp-delete-temp-file-function): New defun.  Added to
16136         `kill-buffer-hook'.
16138 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
16140         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16142 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16144         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16145         (color-name-rgb-alist, tty-standard-colors)
16146         (tty-color-mode-alist): Change to defconst.
16148         * simple.el (mark-inactive): Purecopy message.
16150         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16151         (global-map, yank-menu):
16152         * textmodes/ispell.el (ispell-menu-map):
16153         * net/eudc.el (eudc-tools-menu):
16154         * international/mule-cmds.el (describe-language-environment-map)
16155         (setup-language-environment-map, set-coding-system-map)
16156         (mule-menu-keymap):
16157         * vc-hooks.el (vc-menu-entry, vc-menu-map):
16158         * replace.el (occur-mode-map):
16159         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16161 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
16163         * calc/calc.el (math-read-number, math-read-number-simple):
16164         Use `save-match-data'.
16166 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16168         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16169         rather than fiddling with global-map bindings, since it should only
16170         affect per-terminal settings.
16171         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16173         * minibuffer.el (completion-table-with-terminator): Allow to specify
16174         the terminator-regexp.
16176         * simple.el (switch-to-completions): Look for *Completions* in other
16177         frames as well.
16179         * pcomplete.el: Allow the use of completion-tables.
16180         (pcomplete-std-complete): New command.
16181         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16182         (pcomplete--here): Use a function for `form' rather than an expression,
16183         so it can be byte-compiled.
16184         (pcomplete-here, pcomplete-here*): Adjust accordingly.
16185         Add edebug declaration.
16186         (pcomplete-show-completions): Remove unused var `curbuf'.
16187         (pcomplete-do-complete, pcomplete-stub):
16188         Don't assume `completions' is a list of strings any more.
16190 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
16192         * find-dired.el (find-name-arg): Fix typo in docstring.
16194 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16196         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16197         (pcmpl-linux-fs-types): Same, and update to new modules layout.
16199         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16200         pcomplete-entries.
16202         * comint.el (comint-read-input-ring, comint-write-input-ring)
16203         (comint-substitute-in-file-name)
16204         (comint-dynamic-complete-as-filename)
16205         (comint-dynamic-simple-complete)
16206         (comint-dynamic-list-filename-completions)
16207         (comint-dynamic-list-completions)
16208         (comint-redirect-results-list-from-process): Minor simplifications.
16210 2009-10-21  Kevin Ryde  <user42@zip.com.au>
16212         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16213         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16214         the first form.  And insert a blank line after ";;; Code" since
16215         that's usual style.  (Bug#4612)
16217         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16219 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16221         * minibuffer.el (completion-table-with-terminator): Properly implement
16222         boundaries, in case `terminator' appears in the suffix.
16223         (completion--embedded-envvar-table): Don't return boundaries if
16224         there's no valid completion.  Simplify.
16225         (completion-file-name-table): New completion table extracted from
16226         completion--file-name-table.
16227         (completion--file-name-table): Use it.
16228         (read-file-name-predicate): Declare obsolete.
16229         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16230         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16231         completion-file-name-table, and use the `pred' argument.
16232         * files.el (locate-file-completion-table): Use the `pred' arg rather
16233         than read-file-name-predicate.
16234         (abbreviate-file-name): Use \` rather than ^ for BOS.
16236 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
16238         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16239         vc-responsible-backend to register, it causes problems.
16241 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16243         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16245 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
16247         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16248         (tramp-smb-handle-file-attributes): Use it.
16249         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16250         (tramp-smb-handle-insert-directory): Use `mapc' rather than
16251         `mapcar'.  Use `tramp-smb-get-stat-capability'.
16252         Add `dired-filename' text properties.
16253         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16254         (tramp-smb-maybe-open-connection): Simplify check for smbclient
16255         version.
16257 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16259         * subr.el (read-key-delay): Reduce to 0.01.
16260         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16261         (bug#4751).
16263 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16265         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16267         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16268         (Info-menu): Remove unused vars `last' and `completions'.
16269         (Info-index-nodes): Remove unused var `node'.
16271         * info.el (Info-complete-menu-item): Use complete-with-action.
16273 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
16275         Make vc-annotate work through copies and renames.
16276         * vc-annotate.el (vc-annotate-extract-revision-at-line):
16277         Return the file name too.
16278         (vc-annotate-revision-at-line)
16279         (vc-annotate-find-revision-at-line)
16280         (vc-annotate-revision-previous-to-line)
16281         (vc-annotate-show-log-revision-at-line): Update to get the file
16282         name from vc-annotate-extract-revision-at-line.
16283         (vc-annotate-show-diff-revision-at-line-internal): Change the
16284         argument to mean whether to show a file diff or not.  Get the file
16285         name from vc-annotate-extract-revision-at-line.
16286         (vc-annotate-show-diff-revision-at-line):
16287         Update vc-annotate-show-diff-revision-at-line call.
16288         (vc-annotate-warp-revision): Add an optional file argument.
16290         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16291         (vc-git-annotate-extract-revision-at-line): Also return the file
16292         name if found.
16294         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16295         command.  Remove unused code.
16296         (vc-hg-annotate-re): Update to match --follow output.
16297         (vc-hg-annotate-extract-revision-at-line): Also return the file
16298         name if found.
16300         * vc.el: Update annotate-extract-revision-at-line documentation.
16302 2009-10-18  Kevin Ryde  <user42@zip.com.au>
16304         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16305         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16307         * net/browse-url.el (browse-url): Identify alist with "consp and
16308         not functionp" and let all other things go down the `apply' leg,
16309         as suggested by Stefan.  (Further to bug#4531.)
16311 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
16313         * minibuffer.el (read-file-name): Check for repeat before putting
16314         a default argument in file-name-history (Bug#4657).
16316         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16317         read syntax (Bug#4737).
16319         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16321 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
16323         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16324         (html-tag-alist, html-tag-help): Add descriptions for undocumented
16325         entries and make note of obsolete tags.
16327 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16329         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16331 2009-10-18  Glenn Morris  <rgm@gnu.org>
16333         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16334         grep, so that binary files (eg international/uni-bidi.el) can match.
16335         Remove test for "UnicodeData" files, since it is hopefully unnecessary
16336         now, and in any case the file header format has changed.
16338 2009-10-17  Glenn Morris  <rgm@gnu.org>
16340         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16341         (flyspell-get-word, flyspell-large-region)
16342         (flyspell-auto-correct-previous-word): Doc/error message fixes.
16344 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
16346         * Makefile.in (ELCFILES): Add ede/shell.
16348 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
16350         * term/common-win.el (x-colors): Purecopy it.
16352 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16354         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16355         permissive for when the buffer is empty.
16356         (tar-header-block-tokenize): Decode the username and groupname.
16357         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16359 2009-10-17  Eric Ludlam  <zappo@gnu.org>
16361         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16362         contains multibyte characters, choose first applicable coding
16363         system automatically.
16365 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16367         * international/mule-cmds.el (select-safe-coding-system): If the file
16368         has a coding cookie, use it regardless of any other setting (bug#4712).
16370 2009-10-17  Glenn Morris  <rgm@gnu.org>
16372         * foldout.el (foldout-mouse-swallow-events):
16373         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16375         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16376         (dired-keep-marker-copy, dired-keep-marker-hardlink)
16377         (dired-keep-marker-symlink, dired-dwim-target)
16378         (dired-copy-preserve-time): Do not autoload these defcustoms.
16380         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16381         messages from messing up the file coding.  (Bug#4623)
16383 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
16385         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16386         if no match is found for the current dictionary.  (Bug#4578)
16388         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16389         optional, since that is how it is documented, and this is often called
16390         with a nil argument.  (Bug#4577)
16391         (flyspell-external-point-words, flyspell-auto-correct-word)
16392         (flyspell-correct-word-before-point, flyspell-word-search-forward)
16393         (flyspell-word-search-backward): Remove nil argument in calls to
16394         flyspell-get-word, since it is not needed now.
16396 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
16398         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
16400 2009-10-16  Glenn Morris  <rgm@gnu.org>
16402         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16404 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
16406         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16407         (ange-ftp-file-size): New function.
16408         (ange-ftp-file-attributes): Use it.
16410 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
16412         * net/tramp-smb.el (tramp-smb-version): New defvar.
16413         (tramp-smb-maybe-open-connection): Use it, in order to avoid
16414         repeated checks.
16416 2009-10-16  Glenn Morris  <rgm@gnu.org>
16418         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16419         Maybe copy some custom properties from old to new name.  (Bug#4706)
16421 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
16423         * subr.el (error, sit-for, start-process-shell-command)
16424         (start-file-process-shell-command): Set the calling convention
16425         after the function definition.
16427 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16429         * subr.el (error, sit-for, start-process-shell-command)
16430         (start-file-process-shell-command): Use the new
16431         set-advertised-calling-convention feature.
16433 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
16435         * international/ucs-normalize.el (ucs-normalize-version):
16436         Change to 1.2.
16437         (check-range): Adjust for Unicode 5.2.
16439 2009-10-15  Juri Linkov  <juri@jurta.org>
16441         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16442         to the `menu-item' format.
16444 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
16446         * net/tramp.el (tramp-replace-environment-variables): Do not fail
16447         if the environment variable does not exist.
16449         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16450         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16451         parameter.
16452         (tramp-smb-handle-add-name-to-file)
16453         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16454         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16455         (tramp-smb-handle-file-attributes)
16456         (tramp-smb-do-file-attributes-with-stat)
16457         (tramp-smb-handle-file-local-copy)
16458         (tramp-smb-handle-insert-directory)
16459         (tramp-smb-handle-make-directory)
16460         (tramp-smb-handle-make-directory-internal)
16461         (tramp-smb-handle-make-symbolic-link)
16462         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16463         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16464         (tramp-smb-maybe-open-connection): Apply the changed parameters.
16465         (tramp-smb-read-file-entry): Read Disk names in compressed format.
16466         Handle long file names.
16467         (tramp-smb-get-cifs-capabilities): Check, whether the connection
16468         process is running.
16469         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16470         Read share names with "-g" option.
16472 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
16474         * net/rcirc.el (rcirc-view-log-file): New command.
16475         (rcirc-track-minor-mode-map): Remove C-c ` binding.
16476         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16477         specified.
16479 2009-10-15  Glenn Morris  <rgm@gnu.org>
16481         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16482         from the second command-line argument.
16483         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16484         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16485         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16486         w32-batch-update-autoloads.
16487         * emacs-lisp/autoload.el (autoload-make-program): New variable.
16488         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16490         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16491         the headers cannot be located.  Simplify, subtracting superflous
16492         save-excursions.
16494 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16496         Replace completion-base-size by completion-base-position to fix bugs
16497         such as (bug#4699).
16498         * simple.el (completion-base-position): New var.
16499         (completion-base-size): Mark as obsolete.
16500         (choose-completion): Make it work for mouse events as well.
16501         Pass the new base-position to choose-completion-string.
16502         (choose-completion-guess-base-position): New function, extracted from
16503         choose-completion-delete-max-match.
16504         (choose-completion-delete-max-match): Use it.  Make obsolete.
16505         (choose-completion-string): Use the new base-position info.
16506         (completion-root-regexp): Delete.
16507         (completion-setup-function): Preserve completion-base-position.
16508         Eliminate obsolete base-size manipulation.
16509         * minibuffer.el (display-completion-list): Don't mess with base-size.
16510         (minibuffer-completion-help): Set completion-base-position instead.
16511         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16512         choose-completion.
16513         * textmodes/bibtex.el (bibtex-complete):
16514         * emacs-lisp/crm.el (crm--choose-completion-string):
16515         Adjust to new calling convention.
16516         * complete.el (partial-completion-mode): Use minibufferp to avoid
16517         bumping into incompatible change to choose-completion-string-functions.
16518         * ido.el (ido-choose-completion-string): Make its calling convention
16519         more permissive.
16520         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16521         base-size manipulation.
16522         (comint-dynamic-list-input-ring): Use dotimes and push.
16523         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16524         fundamental-mode.  Use `or'.
16526 2009-10-14  Juri Linkov  <juri@jurta.org>
16528         * misearch.el (multi-isearch-next-buffer-from-list)
16529         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
16531 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16533         * Makefile.in (compile-onefile): Load `bytecomp' rather than
16534         `bytecomp.el'.
16536         * minibuffer.el (completion-pcm--merge-completions): Make sure the
16537         string we return is all made up of text from the completions rather
16538         than part from the completions and part from the input (bug#4219).
16540         * ido.el (ido-everywhere): Use define-minor-mode.
16542         * buff-menu.el (list-buffers, ctl-x-map):
16543         Mark the entry points with ;;;###autoload cookies.
16545 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
16547         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16548         correctly in the detached head case.
16549         (vc-git-print-log): Remove unused binding.
16551         * vc.el (vc-responsible-backend): When a directory is passed for
16552         for registration create a VC repository if no backend is
16553         responsible for the directory argument.
16554         (vc-deduce-fileset): Tell vc-responsible-backend to register.
16556         * vc.el: Move comments about RCS and SCCS ...
16557         * vc-rcs.el:
16558         * vc-sccs.el: ... here, respectively.
16560 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16562         * minibuffer.el (completion--file-name-table): Return nil if there's
16563         no file completion, even if substitute-in-file-name changed
16564         the string (bug#4708).
16566 2009-10-13  Juri Linkov  <juri@jurta.org>
16568         * files-x.el (read-file-local-variable-value): Don't filter out
16569         minor modes from mode name completion (bug#4664).
16571 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16573         * international/mule-cmds.el (ucs-names): Remove exclusion of
16574         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16576 2009-10-13  Kenichi Handa  <handa@m17n.org>
16578         * international/uni-name.el: Regenerated.
16580 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16582         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
16583         should be automatically buffer-local, but isn't.)
16585 2009-10-12  Sam Steingold  <sds@gnu.org>
16587         * progmodes/compile.el (compilation-next-error-function): Fix the
16588         timestamps if the buffer has been visited before.
16589         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16590         non-anchored patterns, like the perl one (bug#3928).
16592 2009-10-12  Glenn Morris  <rgm@gnu.org>
16594         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16595         Let-bind `size'.
16597 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
16599         * proced.el (proced-unload-function): New function.
16601         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16602         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16603         Doc fix.
16605         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16607 2009-10-11  Juri Linkov  <juri@jurta.org>
16609         * files-x.el (read-file-local-variable-value):
16610         Provide default value only for bound variables (bug#4664).
16612 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
16614         * net/tramp.el (tramp-local-host-p): Function shall return nil for
16615         connection methods like smb.
16617         * net/tramp-cache.el (tramp-flush-connection-property): The hash
16618         can be empty.
16620         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16621         (tramp-smb-file-name-handler-alist): Add handlers for
16622         `add-name-to-file', `make-symbolic-link'.
16623         (tramp-smb-handle-add-name-to-file)
16624         (tramp-smb-do-file-attributes-with-stat)
16625         (tramp-smb-handle-make-symbolic-link)
16626         (tramp-smb-get-cifs-capabilities): New defuns.
16627         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16628         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16629         (tramp-smb-handle-file-local-copy)
16630         (tramp-smb-handle-make-directory-internal)
16631         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16632         The file name syntax depends on cifs capabilities.
16633         (tramp-smb-handle-file-attributes):
16634         Call `tramp-smb-do-file-attributes-with-stat' if possible.
16635         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16636         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16638 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
16640         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16641         (eieio-defclass): Apply deftype handler and setf-method properties
16642         directly.
16643         (eieio-add-new-slot): Avoid union function from cl library.
16644         (eieio--typep): New function.
16645         (eieio-perform-slot-validation): Use it.
16647 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16649         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16650         Update documentation to refer to the variables documented in r1.135.
16651         (Bug#4188)
16653 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16655         * bookmark.el (Info-suffix-list): Remove this unused variable.
16656         (bookmark-current-point): Remove this obsolete variable.
16657         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16658         Adjust for removal of bookmark-current-point.
16660         (bookmarks-already-loaded, bookmark-current-buffer)
16661         (bookmark-yank-point): Document.  (Bug#4188)
16663 2009-10-10  Glenn Morris  <rgm@gnu.org>
16665         * frame.el (frame-height): Doc fix.
16667         * calendar/calendar.el (calendar-split-width-threshold): New option.
16668         (calendar-basic-setup): Use calendar-split-width-threshold.
16670 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
16672         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16673         Ideographic Supplement" range (U+1F200..U+1F2FF).
16675 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16677         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16678         since the list will have been rebuilt anyway.  (Bug#4349)
16680 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16682         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16683         (bookmark-bmenu-execute-deletions): Don't save here, as
16684         bookmark-delete will now do so if necessary.
16685         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16686         (Bug#4348)
16688 2009-10-09  Glenn Morris  <rgm@gnu.org>
16690         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16692 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16694         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16695         (bookmark-jump-other-window): Just invoke bookmark-jump with new
16696         argument now, so the two function's behaviors will match.  (Bug#3645)
16698 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
16700         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16701         (tramp-file-name-real-host, tramp-file-name-port):
16702         Apply `save-match-data'.
16704         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16705         case both directories are remote.
16706         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16707         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16709 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16711         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16713 2009-10-07  Glenn Morris  <rgm@gnu.org>
16715         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16716         of concat.
16718 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16720         * files-x.el (read-file-local-variable): Include some
16721         non-user-variables in the completion table (bug#4664).
16723 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
16725         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16726         message.
16728         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16729         (tramp-smb-file-name-handler-alist): Add handler for
16730         `copy-directory', `expand-file-name', `set-file-modes'.
16731         (tramp-smb-handle-copy-directory)
16732         (tramp-smb-handle-expand-file-name)
16733         (tramp-smb-handle-set-file-modes): New defuns.
16734         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16735         (tramp-smb-handle-file-attributes): Simplify check for retrieving
16736         entry.
16737         (tramp-smb-handle-insert-directory): Don't flush the cache.
16738         (tramp-smb-maybe-open-connection): Check for samba client and
16739         server versions.
16741 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
16743         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16744         to not error out of search for "^lisp=" fails.
16746 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16748         * makefile.w32-in (WINS_UPDATES): New macro.
16749         (custom-deps, finder-data, autoloads): Use it.
16751 2009-10-07  Glenn Morris  <rgm@gnu.org>
16753         * Makefile.in (autoloads): Revert previous change.
16754         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16755         the list of preloaded files passed on the command-line, get
16756         it from src/Makefile.
16758         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16759         show the original buffer rather than a random one.
16761 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
16763         * help.el (describe-no-warranty): Place point in a slightly better
16764         position in the GPLv3 text.
16766 2009-10-06  Sam Steingold  <sds@gnu.org>
16768         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16769         the comm attribute is present before calling regexp-quote.
16771 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
16773         * play/animate.el (animate-string): For good effect, make sure
16774         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16776         * play/animate.el (animate-sequence, animate-birthday-present):
16777         * misc.el (butterfly): Don't set `indent-tabs-mode'.
16779 2009-10-06  Glenn Morris  <rgm@gnu.org>
16781         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16783         * emacs-lisp/autoload.el (autoload-excludes): New variable.
16784         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16785         (batch-update-autoloads): Process a string value of autoload-excludes,
16786         set during the build process.
16787         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
16789         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16790         inside with-parsed...  macro so that `v' is defined.
16792         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16793         * progmodes/fortran.el (fortran-end-of-block)
16794         (fortran-beginning-of-block):
16795         Also push mark in the macro case.
16797         * emerge.el (emerge-show-file-name):
16798         * calc/calc.el (calc-quit):
16799         * calc/calc-misc.el (calc-big-or-small):
16800         * calc/calc-graph.el (calc-graph-view):
16801         * calc/calc-ext.el (calc-reset):
16802         * calendar/calendar.el (calendar-basic-setup):
16803         Use window-full-height-p.
16805         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16806         header we don't understand, don't insert another.  (Bug#4624)
16807         If changing mime charset, insert the new one in the right place.
16809 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
16811         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16812         (cal-tex-cursor-month): Correctly increment the end date for diary and
16813         holiday listing.  (Bug#4626)
16815 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16817         * help-fns.el (describe-function-1): Don't burp if the function is not
16818         a symbol.
16820 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
16822         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16823         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16824         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16825         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16827         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16828         (eieio-default-superclass): Reflow docstrings.
16829         (this, class-option-assoc, defclass, eieio-class-un-autoload)
16830         (eieio-unbind-method-implementations, defmethod)
16831         (eieio-validate-slot-value, eieio-validate-class-slot-value)
16832         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16833         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16834         (eieio-slot-originating-class-p, eieio-slot-name-index)
16835         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16836         (constructor, initialize-instance, no-next-method, object-print)
16837         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16838         Fix typos in docstrings.
16839         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16840         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16841         (next-method-p): Doc fixes.
16842         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16843         Fix typos in error messages.
16844         (eieio-defmethod): Fix typo in description of generic method.
16846         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16847         (eieio-persistent-save-interactive, slot-missing):
16848         Fix typos in docstrings.
16849         (eieio-instance-inheritor-slot-boundp): Doc fix.
16851         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16852         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16854         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16855         (eieio-custom-object-apply-reset):
16856         Fix typos in docstrings and error messages.
16858         * emacs-lisp/eieio-datadebug.el (data-debug-show):
16859         Fix typo in docstring.
16861         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16862         (eieio-browse-tree): Doc fix.
16863         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16864         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16865         Fix typos in docstrings.
16867         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16868         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16869         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16870         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16871         Reflow docstrings.
16873 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
16875         * vc-hg.el (log-view-vc-backend): Declare for compiler.
16876         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16877         Set log-view-vc-backend so that diff can work.
16879         * log-view.el (log-view-diff): Use vc-diff-internal instead of
16880         vc-version-diff.
16881         (vc-diff-internal): Autoload this instead of vc-version-diff.
16883 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
16885         * simple.el (eval-expression): Doc fix.
16887         * progmodes/cwarn.el (cwarn-mode): Doc fix.
16889 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
16891         * files.el (directory-files-no-dot-files-regexp): New defconst.
16892         (delete-directory): Use it.
16893         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
16895         * net/tramp.el (tramp-verbose): Fix docstring.
16896         (tramp-methods): Add recursive option to `tramp-copy-args'.
16897         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
16898         "scp1_old", "scp2_old", "rsync", "rsyncc".
16899         (tramp-default-method): Check also for `auth-source-user-or-password'.
16900         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16901         Add handler for `copy-directory'.
16902         (tramp-handle-copy-directory): New defun.
16903         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16904         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16905         Optimize sent command.
16907 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16909         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16910         window if necessary.
16912         * calendar/calendar.el (calendar-basic-setup): Don't call
16913         switch-to-buffer in a dedicated window.
16915 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
16917         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16918         don't do anything related to relocating, just return nil.
16919         (bookmark-error-no-filename): New error.
16920         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16921         bookmark has no file.  Don't even attempt to handle things that
16922         are not files; the whole point of custom handlers is to keep that
16923         knowledge elsewhere anyway.  Tighten some comments.
16924         (bookmark-file-or-variation-thereof): Remove now-unused function.
16925         (bookmark-location): Doc string fix.
16926         (Bug#4250)
16928 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16930         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16931         don't use a file dialog, because they usually don't know how to read
16932         a directory target from the user.  (Bug#4230)
16933         Also, make sure the prompt can display directories as well as files.
16935 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16937         * bookmark.el (bookmark-set, bookmark-buffer-name):
16938         Improve doc strings.  (Bug#1193)
16940 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16942         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16943         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16944         (bookmark-get-annotation, bookmark-set-annotation)
16945         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16946         (bookmark-set-position, bookmark-get-front-context-string)
16947         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16948         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16949         (bookmark-jump-other-window, bookmark-handle-bookmark)
16950         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16951         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16952         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16953         Improve doc strings to say whether bookmark can be a string or
16954         a record or both, and make other consistency and clarity fixes.
16955         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16956         (bookmark-default-annotation-text, bookmark-yank-word)
16957         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16958         (bookmark-import-new-list, bookmark-maybe-rename)
16959         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16960         (bookmark-bmenu-bookmark): Give these doc strings.
16961         (bookmark-bmenu-check-position): Give this a doc string, but also
16962         add a FIXME comment about how the function may be pointless.
16963         (bookmark-default-handler): Rework doc string and change a
16964         parameter name, to clarify that this takes a bookmark record
16965         not a bookmark name.
16966         (bookmark-set): Change a parameter name to indicate its meaning,
16967         and improve the doc string a bit.
16968         (Bug#4188)
16970 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16972         * bookmark.el (bookmark-alist): Document the new `handler' element
16973         in the param alist.
16974         (bookmark-make-record-function): Adjust documentation for above.
16975         (Bug#4193)
16977 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16979         * info.el (Info-bookmark-make-record): Document this function.
16980         (Info-bookmark-jump): Document with a doc string, not just a comment.
16981         (Bug#4203)
16983 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
16985         * files.el (copy-directory): New defun.
16987         * dired-aux.el (dired-copy-file-recursive): Use it.
16989 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
16991         * files-x.el (modify-dir-local-variable)
16992         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16993         docstrings.
16995         * recentf.el (recentf-unload-function): New function.
16997 2009-10-04  Glenn Morris  <rgm@gnu.org>
16999         * window.el (window-full-height-p): Add doc string.
17001 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
17003         * window.el (window-full-height-p): New function.  (Bug#4543)
17005 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
17007         * vc.el: Remove commented out code.
17008         (vc-derived-from-dir-mode): Remove, unused.
17009         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17011 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
17013         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17014         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
17015         there could be recursive loading when `default-directory' is a
17016         remote file name.  (Bug#4614)
17018 2009-10-03  Glenn Morris  <rgm@gnu.org>
17020         * calendar/calendar.el (calendar-basic-setup): Handle the case where
17021         the frame is wide.
17022         (calendar-generate-window): Test for shrinkability rather than width.
17024         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17025         reusing existing buffers, in case we happen to visit two files with the
17026         same basename.  (Bug#4593)
17028 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17030         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17031         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17032         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17033         subdirs of cedet as well.
17034         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17036 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17038         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17039         Obey advertised-signature-table.
17041         * help-fns.el (help-function-arglist): Don't check
17042         advertised-signature-table.
17043         (describe-function-1): Do it here instead so it also applies to subrs.
17045 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
17047         * simple.el (start-file-process): Say in the doc-string, that file
17048         handlers might not support pty association, if PROGRAM is nil.
17050         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17051         HOST and USER are strings.  They are nil, when there are
17052         incomplete entries in ~/.netrc, for example.
17053         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
17054         root directory ("device busy" error otherwise).
17056         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17057         Flush file properties of created directory.
17059 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17061         * makefile.w32-in (WINS_BASIC): Remove cedet.
17062         (WINS_CEDET): Add cedet.
17063         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17065 2009-10-02  Kevin Ryde  <user42@zip.com.au>
17067         * net/browse-url.el (browse-url): Pass any symbol in
17068         browse-url-browser-function to `apply', since if you've mistakenly put
17069         an unbound symbol then the error is clearer.  (Bug#4531)
17071 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17073         * allout.el (allout-init, allout-back-to-current-heading)
17074         (allout-beginning-of-current-entry, allout-ascend-to-depth)
17075         (allout-ascend, allout-up-current-level, allout-end-of-level)
17076         (allout-previous-visible-heading, allout-forward-current-level)
17077         (allout-backward-current-level, allout-show-children):
17078         * apropos.el (apropos-describe-plist):
17079         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17080         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17081         * completion.el (add-completion, add-permanent-completion):
17082         * descr-text.el (describe-text-category, describe-char):
17083         * desktop.el (desktop-lazy-abort):
17084         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17085         * dired.el (dired-build-subdir-alist):
17086         * ediff.el (ediff-version):
17087         * elide-head.el (elide-head, elide-head-show):
17088         * emerge.el (emerge-version):
17089         * env.el (getenv):
17090         * face-remap.el (variable-pitch-mode):
17091         * faces.el (describe-face):
17092         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17093         (dired-at-point):
17094         * files.el (find-file-existing, auto-save-mode):
17095         * font-lock.el (font-lock-fontify-buffer):
17096         * help-fns.el (describe-function, describe-variable)
17097         (describe-syntax, describe-categories):
17098         * help.el (view-lossage, describe-bindings, describe-key)
17099         (describe-mode):
17100         * hexl.el (hexl-current-address):
17101         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17102         * info.el (Info-goto-emacs-key-command-node):
17103         * log-edit.el (log-edit-insert-cvs-template)
17104         (log-edit-insert-cvs-rcstemplate):
17105         * menu-bar.el (menu-bar-mode):
17106         * mouse.el (mouse-appearance-menu):
17107         * newcomment.el (comment-indent-new-line):
17108         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17109         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17110         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17111         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17112         * recentf.el (recentf-mode):
17113         * savehist.el (savehist-mode, savehist-save):
17114         * shadowfile.el (shadow-copy-files):
17115         * simple.el (kill-ring-save, next-line, previous-line)
17116         (normal-erase-is-backspace-mode):
17117         * strokes.el (strokes-update-window-configuration)
17118         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17119         (strokes-xpm-for-stroke):
17120         * time.el (emacs-uptime, emacs-init-time):
17121         * tutorial.el (tutorial--describe-nonstandard-key)
17122         (tutorial--detailed-help):
17123         * type-break.el (type-break-mode)
17124         (type-break-mode-line-message-mode, type-break-query-mode)
17125         (type-break-guesstimate-keystroke-threshold):
17126         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17127         * version.el (emacs-version):
17128         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17129         * winner.el (winner-mode):
17130         * calendar/timeclock.el (timeclock-in, timeclock-out)
17131         (timeclock-status-string, timeclock-change)
17132         (timeclock-workday-remaining-string)
17133         (timeclock-workday-elapsed-string)
17134         (timeclock-when-to-leave-string):
17135         * calendar/todo-mode.el (todo-add-category):
17136         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17137         * emacs-lisp/autoload.el (update-file-autoloads):
17138         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17139         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17140         (checkdoc-message-text, checkdoc-defun):
17141         * emacs-lisp/debug.el (debugger-list-functions):
17142         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17143         * emacs-lisp/eieio-opt.el (eieio-describe-class)
17144         (eieio-describe-generic):
17145         * emacs-lisp/lisp-mnt.el (lm-synopsis):
17146         * emacs-lisp/shadow.el (list-load-path-shadows):
17147         * emulation/cua-base.el (cua-mode):
17148         * emulation/edt.el (edt-set-scroll-margins):
17149         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17150         (tpu-toggle-regexp, tpu-toggle-search-direction)
17151         (tpu-toggle-rectangle, tpu-toggle-control-keys):
17152         * emulation/tpu-extras.el (tpu-set-scroll-margins):
17153         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17154         (viper-set-parsing-style-toggling-macro)
17155         (viper-set-emacs-state-searchstyle-macros):
17156         * emulation/viper.el (viper-set-hooks):
17157         * eshell/esh-mode.el (eshell-truncate-buffer):
17158         * international/mule-cmds.el (prefer-coding-system)
17159         (describe-input-method, describe-language-environment):
17160         * international/mule-diag.el (list-character-sets)
17161         (describe-character-set, describe-coding-system)
17162         (describe-fontset, list-fontsets, list-input-methods):
17163         * mail/sendmail.el (mail-signature):
17164         * net/ange-ftp.el (ange-ftp-copy-file):
17165         * net/browse-url.el (browse-url):
17166         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17167         * net/quickurl.el (quickurl-add-url):
17168         * net/rcirc.el (names, topic):
17169         * net/xesam.el (xesam-mode):
17170         * play/5x5.el (5x5-new-game):
17171         * play/yow.el (apropos-zippy):
17172         * progmodes/ada-mode.el (ada-mode-version):
17173         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17174         (f90-end-of-block)
17175         (f90-beginning-of-block):
17176         * progmodes/fortran.el (fortran-end-of-block)
17177         (fortran-beginning-of-block):
17178         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17179         * progmodes/python.el (python-describe-symbol, python-shell):
17180         * term/ns-win.el (ns-print-buffer):
17181         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17182         * textmodes/flyspell.el (flyspell-mode-on):
17183         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17184         (pages-directory-for-addresses):
17185         * textmodes/table.el (table-recognize-cell)
17186         (table-query-dimension, table-generate-source)
17187         (table-insert-sequence, table--warn-incompatibility):
17188         * textmodes/tex-mode.el (tex-validate-buffer):
17189         * textmodes/texinfmt.el (texinfmt-version)
17190         (texinfo-format-buffer):
17191         Use `called-interactively-p' instead of `interactive-p'.
17193 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17195         * image-mode.el (image-toggle-display):
17196         * emacs-lisp/elp.el (elp-instrument-function):
17197         * emacs-lisp/advice.el (ad-make-advised-definition):
17198         * emacs-lisp/easy-mmode.el (define-minor-mode):
17199         * net/browse-url.el (browse-url-maybe-new-window):
17200         * progmodes/sh-script.el (sh-learn-buffer-indent):
17201         Pass new argument 'any to `called-interactively-p'.
17203 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
17205         * international/uni-bidi.el:
17206         * international/uni-category.el:
17207         * international/uni-combining.el:
17208         * international/uni-comment.el:
17209         * international/uni-decimal.el:
17210         * international/uni-decomposition.el:
17211         * international/uni-digit.el:
17212         * international/uni-lowercase.el:
17213         * international/uni-mirrored.el:
17214         * international/uni-name.el:
17215         * international/uni-numeric.el:
17216         * international/uni-old-name.el:
17217         * international/uni-titlecase.el:
17218         * international/uni-uppercase.el:
17219         Regenerate from Unicode 5.2.0 data.
17221 2009-10-01  Glenn Morris  <rgm@gnu.org>
17223         * Makefile.in (ELCFILES): Regenerate.
17225 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17227         * subr.el (interactive-p): Mark obsolete.
17228         (called-interactively-p): Make the optional-ness of `kind' obsolete.
17229         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17230         advertised-signature-table for subroutines as well.
17232         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17233         (set-advertised-calling-convention): New function.
17234         (make-obsolete, define-obsolete-function-alias)
17235         (make-obsolete-variable, define-obsolete-variable-alias):
17236         Make the optional-ness of `when' obsolete.
17237         (define-obsolete-face-alias): Make `when' non-optional.
17238         * help-fns.el (help-function-arglist):
17239         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17240         Use advertised-signature-table.
17242 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
17244         * files.el (delete-directory): New defun.  The original function
17245         in fileio.c has been renamed to `delete-directory-internal'.
17247         * dired.el (dired-delete-file): Call `delete-directory' with
17248         RECURSIVE parameter.
17250         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17251         parameter RECURSIVE.  Implementation is missing.
17253         * net/tramp.el (tramp-handle-make-directory): Flush upper
17254         directory's file properties.
17255         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17256         (tramp-handle-dired-recursive-delete-directory): Flush directory
17257         properties after the remove command only.
17259         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17260         Handle optional parameter RECURSIVE.
17262         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17263         Handle optional parameter RECURSIVE.
17265         * net/tramp-smb.el (tramp-smb-errors): Add error message for
17266         connection timeout.
17267         (tramp-smb-handle-delete-directory): Handle optional parameter
17268         RECURSIVE.
17270 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17272         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17273         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17274         (byte-compile-defmacro): Use backquotes.
17276         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17278         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17279         has no associated file.
17280         (vc-resynch-buffer): Use vc-dir-buffers.
17282 2009-10-01  Glenn Morris  <rgm@gnu.org>
17284         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17285         (chart-file-count):
17286         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17287         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17288         * emacs-lisp/eieio-opt.el (eieio-describe-class):
17289         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17290         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17291         (eieio-copy-parents-into-subclass, make-instance, class-children)
17292         (eieio-generic-form):
17294         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17295         match-data.  (Bug#4555).
17297         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17298         rather than parsing it as a regexp.  This relaxes the layout
17299         requirements and makes errors easier to detect.
17300         (check-declare-verify): Check file is regular.
17301         (check-declare-directory): Doc fix.
17302         * subr.el (declare-function): Doc fix.
17304         * ibuffer.el (ibuffer-format-qualifier):
17305         * isearch.el (hi-lock-regexp-okay):
17306         * calc/calc.el (math-zerop):
17307         * mail/uce.el (rmail-msgbeg, rmail-msgend):
17308         * term/w32-win.el (setup-default-fontset, set-fontset-font):
17309         Remove unused declarations.
17311 2009-09-30  Eric Ludlam  <zappo@gnu.org>
17313         * emacs-lisp/eieio.el (boolean-p): Delete.
17315 2009-09-30  Glenn Morris  <rgm@gnu.org>
17317         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17319         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17320         filename is not a string.
17322 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
17324         * files.el (safe-local-eval-forms): Fix typo.
17326 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17328         * vc-hooks.el (vc-dir-buffers): New var.
17329         (vc-state-refresh): New function.
17330         (vc-state): Use it.
17331         (vc-after-save): Always ask the backend to recompute the new state.
17332         Always call vc-dir if necessary, using vc-dir-buffers.
17333         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17334         Use vc-dir-buffers.
17335         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17336         (vc-dir-prepare-status-buffer, vc-dir-update)
17337         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17338         Don't call expand-file-name on default-directory.
17340 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17342         * speedbar.el (speedbar-item-delete):
17343         * calc/calc-prog.el (calc-kbd-if):
17344         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17346         * epa.el (epa-key-list-mode-map):
17347         * hi-lock.el (hi-lock-menu): Fix typos in menus.
17349         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17350         (hs-show-hook): Fix typo in docstring.
17352 2009-09-29  Glenn Morris  <rgm@gnu.org>
17354         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17355         file-name-nondirectory call preventing location of cedet files.
17356         (check-declare-verify): Use literal search rather than re-search.
17357         Add basic defmethod and defclass, and define-overloadable-function.
17359         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17360         Use tramp-compat-file-attributes rather than nonexistent
17361         tramp-compat-handle-file-attributes.
17363         * Makefile.in (lisptagsfiles4): New.
17364         (AUTOGENEL): Add cedet loaddefs files.
17365         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17366         (update-elclist, compile-always, backup-compiled-files)
17367         (bootstrap-clean): Add yet another directory level.
17368         (update-elclist): Use LC_COLLATE rather than COLLATE.
17369         (ELCFILES): Update, via `make update-elclist'.
17371 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17373         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17374         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17375         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17377 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17379         * Makefile.in (lisptagsfiles3): Define.
17380         (TAGS, TAGS-LISP): Use it.
17381         (update-elclist): Add third directory level to look for elc files.
17382         (compile-always): Likewise.
17383         (backup-compiled-files): Likewise.
17384         (bootstrap-clean): Likewise.
17385         (ELCFILES): Update.
17387 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
17389         * Makefile.in (ELCFILES): Add CEDET files.
17391 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
17393         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17395         * net/tramp.el (top): Require tramp-imap.
17397         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17398         Use `tramp-compat-handle-file-attributes'.
17400 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
17402         * net/tramp-imap.el: New package.
17404 2009-09-28  Eric Ludlam  <zappo@gnu.org>
17406         * emacs-lisp/chart.el:
17407         * emacs-lisp/eieio-base.el:
17408         * emacs-lisp/eieio-comp.el:
17409         * emacs-lisp/eieio-custom.el:
17410         * emacs-lisp/eieio-datadebug.el:
17411         * emacs-lisp/eieio-opt.el:
17412         * emacs-lisp/eieio-speedbar.el:
17413         * emacs-lisp/eieio.el: New files.
17415 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17417         * whitespace.el (whitespace-trailing-regexp)
17418         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17419         Fix doc string.
17421 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
17423         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17424         menu.
17426         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17427         menu-bar-ediff-menu.
17429         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17430         define-overloadable-function.
17432         * progmodes/autoconf.el: Provide autoconf as well, so that this
17433         file can be `require'd.
17435         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17437         * emacs-lisp/autoload.el (generated-autoload-feature)
17438         (generated-autoload-load-name): New vars.
17439         (autoload-rubric, autoload-generate-file-autoloads): Use them.
17440         (make-autoload): Recognize define-overloadable-function and
17441         defclass forms (for EIEIO).
17443         * Makefile.in (update-subdirs): Exclude cedet directory.
17445 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
17447         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
17449         * faces.el: Default light-background background for region face to
17450         ns_selection_color under NS.
17452 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
17454         * net/imap-hash.el: New library, see NEWS.
17456         * Makefile.in (ELCFILES): Add imap-hash.el.
17458 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17460         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17461         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17462         * help-macro.el (make-help-screen): Avoid using an ambiguous function
17463         definition where the docstring could be taken for the return value.
17465 2009-09-26  Glenn Morris  <rgm@gnu.org>
17467         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17468         Add option to only show images below a certain size.
17469         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17470         save-excursion calls.
17472 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
17474         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17475         subdirectories) and eieio.
17477 2009-09-26  Alan Mackenzie  <acm@muc.de>
17479         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17480         Correct buggy bracketing.  (Bug#4289)
17482         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17483         character constants (as case labels).  (Bug#4289)
17485 2009-09-25  Juri Linkov  <juri@jurta.org>
17487         * files.el (safe-local-eval-forms): Allow time-stamp in
17488         before-save-hook (Bug#4554).
17490 2009-09-25  Drew Adams  <drew.adams@oracle.com>
17492         * menu-bar.el (list-buffers-directory): Doc fix.
17494 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17496         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17497         Try and avoid copying twice the same paragraph.
17498         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17499         Remove save-excursion.
17500         (log-edit-changelog-entry): Do it here instead.
17502 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
17504         * bs.el (bs--get-file-name): Use `list-buffers-directory'
17505         when available, instead of hardcoding mode names.  Doc fix.
17507         * menu-bar.el (list-buffers-directory): Add docstring.
17508         Make automatically buffer-local.
17510         * dired.el (dired-mode):
17511         * files.el (cd-absolute):
17512         * pcvs.el (cvs-temp-buffer):
17513         * pcvs-util.el (cvs-get-buffer-create):
17514         * shell.el (shell-mode):
17515         * vc-dir.el (vc-dir-mode):
17516         Don't make `list-buffers-directory' buffer local.
17518 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
17520         * comint.el (comint-exec, comint-run, make-comint):
17521         Doc fixes (Bug#4542).
17523 2009-09-25  Glenn Morris  <rgm@gnu.org>
17525         * mail/rmailmm.el (rmail-mime): New custom group.
17526         Move all defcustoms in this file into this group.
17527         (rmail-mime-media-type-handlers-alist): Revert previous change.
17528         (rmail-mime-show-images): New option.
17529         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17530         references to it, since it wasn't actually used for anything.
17531         (rmail-mime-insert-image): New function.
17532         (rmail-mime-image): Use rmail-mime-insert-image.
17533         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17534         obey the value of `rmail-mime-show-images' option.  Print the size of
17535         attachments.
17537 2009-09-25  David Engster  <deng@randomsample.de>
17539         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
17541 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17543         * whitespace.el: Does not highlight trailing spaces While point is
17544         at end of line.  Does not highligt spaces at beginning of buffer
17545         while point is at beginning of buffer.  Does not highlight spaces
17546         at end of buffer while point is at end of buffer.  (Bug#4177)
17547         New version 12.0.
17548         (whitespace-display-mappings): Adjust initialization.
17549         (whitespace-point, whitespace-font-lock-refontify): New vars.
17550         (whitespace-color-on, whitespace-color-off): Adjust code.
17551         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17552         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17553         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17555 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
17557         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17559         * textmodes/sgml-mode.el: Remove xml-mode alias.
17561         * files.el (auto-mode-alist, conf-mode-maybe)
17562         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17564 2009-09-24  Alan Mackenzie  <acm@muc.de>
17566         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17567         c-forward-conditionals, but it doesn't move point and doesn't set
17568         the mark.
17569         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17570         (c-down-conditional-with-else, c-backward-conditional)
17571         (c-forward-conditional): Refactor to use c-scan-conditionals.
17573 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17575         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17576         (help-default-arg-highlight): Remove.
17577         (help-highlight-arg): New function.
17578         (help-do-arg-highlight): Use it.
17579         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
17581 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17583         * term.el (term-set-scroll-region, term-handle-ansi-escape):
17584         Undo last change, which didn't fix the problem and introduced others.
17586 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
17588         * progmodes/gdb-mi.el: Don't require speedbar.
17589         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17591 2009-09-24  Glenn Morris  <rgm@gnu.org>
17593         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17595         * term/ns-win.el (ns-reg-to-script): Define for compiler.
17597         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17598         there is no newline after the final mime boundary.  (Bug#4539)
17599         Move markers on insertion so that any buttons inserted don't end up in
17600         the next part of a multipart message.
17601         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
17602         (rmail-mime-bulk-handler): Optionally handle images.
17603         (rmail-mime-image): New button action.
17604         (rmail-mime-image-handler): New function.
17605         (rmail-mime-mode): New mode.
17606         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
17608 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17610         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17611         than just dropping elements from it (bug#4504).
17613         * term.el (term-set-scroll-region): Don't move cursor any more.
17614         (term-handle-ansi-escape): Call term-goto here instead.
17615         Suggested by Ivan Kanis <apple@kanis.eu>.
17617         * term.el: Require CL.
17618         (term-ansi-reset): New function.
17619         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17620         (term-handle-colors-array): Simplify.
17622 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17624         * allout.el (allout-overlay-interior-modification-handler)
17625         (allout-obtain-passphrase):
17626         * epa-file.el (epa-file-write-region):
17627         * ps-print.el (ps-begin-job):
17628         * vc-hooks.el (vc-toggle-read-only):
17629         * vc-rcs.el (vc-rcs-rollback):
17630         * vc-sccs.el (vc-sccs-rollback):
17631         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17632         (vc-version-diff, vc-revert, vc-rollback):
17633         * wdired.el (wdired-check-kill-buffer):
17634         * emacs-lisp/authors.el (authors):
17635         * net/socks.el (socks-open-connection):
17636         * net/zeroconf.el (zeroconf-service-add-hook):
17637         * obsolete/vc-mcvs.el (vc-mcvs-register):
17638         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17639         (gdb-select-frame):
17640         * progmodes/grep.el (lgrep, rgrep):
17641         * progmodes/idlw-help.el (idlwave-help-check-locations)
17642         (idlwave-help-html-link, idlwave-help-assistant-open-link):
17643         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17644         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17645         (reftex-toc-rename-label): Fix typos in error messages.
17647         * dired-aux.el (dired-do-shell-command): Reflow docstring.
17648         (dired-copy-how-to-fn): Doc fix.
17649         (dired-files-attributes, dired-read-shell-command):
17650         Fix typos in docstrings.
17652         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17653         (dired-x-find-file-other-window): Reflow docstrings.
17654         (dired-omit-marker-char, dired-read-shell-command)
17655         (dired-x-submit-report): Fix typos in docstrings.
17657         * shell.el (shell-mode-hook):
17658         * view.el (View-scroll-line-forward):
17659         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17660         Fix typos in docstrings.
17662         * net/dig.el (dig-invoke): Fix typo in docstring.
17663         (query-dig): Reflow docstring.
17665         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17666         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17667         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17668         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17669         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17670         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17671         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17672         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17673         (idlwave-completion-map, idlwave-current-indent)
17674         (idlwave-custom-ampersand-surround, idlwave-customize)
17675         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17676         (idlwave-define-abbrev, idlwave-determine-class-special)
17677         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17678         (idlwave-end-block-reg, idlwave-end-of-statement)
17679         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17680         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17681         (idlwave-explicit-class-listed, idlwave-file-header)
17682         (idlwave-fill-paragraph, idlwave-find-class-definition)
17683         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17684         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17685         (idlwave-in-quote, idlwave-indent-action-table)
17686         (idlwave-indent-expand-table, idlwave-indent-line)
17687         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17688         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17689         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17690         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17691         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17692         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17693         (idlwave-outlawed-buffers, idlwave-popup-select)
17694         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17695         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17696         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17697         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17698         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17699         (idlwave-statement-type, idlwave-struct-skip)
17700         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17701         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17702         (idlwave-what-module-find-class): Fix typos in docstrings.
17703         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17704         (idlwave-calculate-cont-indent, idlwave-expand-equal)
17705         (idlwave-find-module, idlwave-find-structure-definition)
17706         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17707         (idlwave-list-load-path-shadows, idlwave-next-statement)
17708         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17709         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17710         (idlwave-template): Reflow docstrings.
17712         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17713         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17714         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17715         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17716         (idlwave-shell-display-line, idlwave-shell-display-wframe)
17717         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17718         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17719         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17720         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17721         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17722         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17723         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17724         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17725         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17726         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17727         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17728         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17729         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17730         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17731         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17732         Fix typos in docstrings.
17733         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17734         (idlwave-shell-hide-output, idlwave-shell-mode)
17735         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17736         Reflow docstrings.
17738         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17740 2009-09-24  Ivan Kanis  <apple@kanis.eu>
17742         * term.el (term-bold-attribute): New var.
17743         (term-handle-colors-array): Use it.
17745 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
17747         * progmodes/gdb-mi.el (gdb-version): New variable.
17748         (gdb-non-stop-handler): Set gdb-version.
17749         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17750         Condition "--thread" option on gdb-version.
17751         (gdb-invalidate-threads): Remove unused argument.
17753 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17755         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17756         to looking-back to avoid ridiculous slow down in large files (bug#4511).
17758 2009-09-23  Glenn Morris  <rgm@gnu.org>
17760         * mail/rmail.el (rmail-reply): Don't try to add a References header when
17761         replying to mail without References or Message-Id.  (Bug#4525)
17763 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
17765         * term/ns-win.el (ns-reg-to-script): New variable.
17767 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
17769         * epg.el (epg-wait-for-status): Preserve existing 'error results.
17771 2009-09-22  Sam Steingold  <sds@gnu.org>
17773         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17774         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17775         to 1 because hg returns status 1 when nothing is found.
17776         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17778 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17780         * textmodes/fill.el: Convert to utf-8 encoding.
17781         (fill-french-nobreak-p): Remove redundant » and « inherited from our
17782         pre-Unicode days.
17784         * add-log.el (change-log-fill-forward-paragraph): New function.
17785         (change-log-mode): Use it so fill-region DTRT.
17786         Set fill-indent-according-to-mode here rather than in
17787         change-log-fill-paragraph.
17788         (change-log-fill-paragraph): Remove.
17790 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
17792         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17793         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
17795 2009-09-22  Glenn Morris  <rgm@gnu.org>
17797         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17798         the scroll-bar scroll the calendar window rather than the buffer.
17800         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17801         commands that move point (as opposed to scrolling).
17803         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17805         * emacs-lisp/elint.el (elint): New custom group.
17806         (elint-log-buffer): Make it a defcustom.
17807         (elint-scan-preloaded, elint-ignored-warnings)
17808         (elint-directory-skip-re): New options.
17809         (elint-builtin-variables): Doc fix.
17810         (elint-preloaded-env): New variable.
17811         (elint-unknown-builtin-args): Add an entry for encode-time.
17812         (elint-extra-errors): Make it a variable rather than a constant.
17813         (elint-preloaded-skip-re): New constant.
17814         (elint-directory): Skip files matching elint-directory-skip-re.
17815         (elint-features): New variable, local to linted buffers.
17816         (elint-update-env): Initialize elint-features.  Possibly add
17817         elint-preloaded-env to the buffer's environment.
17818         (elint-get-top-forms): Bind elint-current-pos, for log messages.
17819         Skip quoted forms.
17820         (elint-init-form): New function, extracted from elint-init-env.
17821         Make non-list forms a warning rather than an error.
17822         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
17823         easy-menu-define, put that adds an error-condition, and provide.
17824         When requiring cl, also require cl-macs.  Really require cl, to handle
17825         some cl macros.  Store required libraries in the list elint-features,
17826         so as not to re-load them.  Treat cc-require like require.
17827         (elint-init-env): Call elint-init-form to do the work.
17828         Handle eval-and-compile and such like.
17829         (elint-add-required-env): Do not clear messages.
17830         (elint-special-forms): Add handlers for function, defalias, if, when,
17831         unless, and, or.
17832         (elint-form): Add optional argument to ignore elint-special-forms,
17833         useful to prevent recursive calls from handlers.  Doc fix.
17834         Respect elint-ignored-warnings.
17835         (elint-form): Respect elint-ignored-warnings.
17836         (elint-bound-variable, elint-bound-function): New variables.
17837         (elint-unbound-variable): Respect elint-bound-variable.
17838         (elint-get-args): Respect elint-bound-function.
17839         (elint-check-cond-form): Add some simple handling for (f)boundp and
17840         featurep tests.
17841         (elint-check-defalias-form): New handler.
17842         (elint-check-let-form): Make an empty let a warning rather than an
17843         error.
17844         (elint-check-setq-form): Make an empty setq a warning rather than an
17845         error.  Respect elint-ignored-warnings.
17846         (elint-check-defvar-form): Accept null doc-strings.
17847         (elint-check-conditional-form): New handler.  Does some simple-minded
17848         checking of featurep and (f)boundp tests.
17849         (elint-put-function-args): New function.
17850         (elint-initialize): Use elint-scan-doc-file rather than
17851         elint-find-builtin-variables.  Use elint-put-function-args.
17852         Possibly scan preloaded-file-list.
17853         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17854         extend to handle functions as well.
17856 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
17858         * linum.el (linum-delete-overlays, linum-update-window):
17859         Do not modify the right margin.  (Bug#3971)
17861 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
17863         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17864         Use nxml-mode instead of xml-mode.
17866 2009-09-21  Kevin Ryde  <user42@zip.com.au>
17868         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
17870 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17872         * net/dig.el (dig-mode): Use define-derived-mode.
17874 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
17876         * vc-dispatcher.el (vc-do-command): Return the process object in
17877         the asynchronous case.  Use when instead of if.  Do not run
17878         vc-exec-after to display a message if not enabled.  (Bug#4463)
17880         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17881         properties to the stash strings.
17882         (vc-git-stash-list): Return a list of strings.
17883         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17884         (vc-git-stash-show-at-point): New functions.
17885         (vc-git-stash-map): New keymap.
17887         * register.el (ctl-x-r-map): Define the keys here instead of
17888         using autoload.
17890 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
17892         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17893         list, to workaround performance problem (bug#4485).
17895 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
17897         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17899 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
17901         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17902         Document that this option is not recommended to use.
17904 2009-09-19  Glenn Morris  <rgm@gnu.org>
17906         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17907         variable `var'.
17909         * calc/calc-alg.el (var):
17910         * calc/calcalg2.el (var): Define for compiler.
17912 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
17914         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17915         Doc fix (Bug#3932).
17917         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17919         * time-stamp.el (time-stamp-month-dd-yyyy)
17920         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17921         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17922         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17923         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17924         Remove functions that have been obsolete since 1995 (Bug#4436).
17926         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17927         indent buffer only if called interactively (Bug#4452).
17929 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
17930             Eli Zaretskii  <eliz@gnu.org>
17932         This fixes bug#4197 (merged to bug#865, though not identical).
17933         * server.el (server-auth-dir): Add docstring note about FAT32.
17934         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17935         but warn against using them.
17937 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
17939         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17940         older GDB where there is no has_more field.
17942 2009-09-19  Glenn Morris  <rgm@gnu.org>
17944         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17946 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
17948         * files.el (auto-mode-alist): Change default for XML files to nXML
17949         mode (Bug#4169).
17951 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
17953         * server.el (server-ensure-safe-dir): Pass 'integer
17954         to `file-attributes', as suggested.
17956 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17958         * dired-aux.el (dired-query-alist): Remove spurious backslash.
17959         (dired-query): Use read-key.
17961 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
17963         * cus-start.el (ns-use-qd-smoothing): Remove.
17965 2009-09-18  Glenn Morris  <rgm@gnu.org>
17967         * allout.el (top-level): Remove unnecessary progn.
17969         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17971         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17972         definition of abbrev table.
17974         * speedbar.el (speedbar-track-mouse):
17975         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17976         * net/eudc.el (eudc-expand-inline):
17977         * net/newst-backend.el (newsticker--cache-read-feed):
17978         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17979         condition-case handlers.
17981 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
17983         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17984         (gdb-var-list): Add an element for has_more field.
17985         (gdb-non-stop-handler): Enable pretty printing for STL containers.
17986         (gdb-var-create-handler, gdb-var-list-children-handler-1)
17987         (gdb-var-update-handler-1): Parse output of dynamic variable
17988         objects (STL containers).
17989         (gdb-var-delete-1): Pass var1 as an explicit second argument.
17990         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
17992         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17993         gdb-var-list.
17994         (gud-speedbar-buttons): Make node expandable if expression "has more"
17995         children.
17997 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
17999         * startup.el (emacs-quick-startup): Remove variable and all uses.
18000         (command-line): Set `inhibit-x-resources' instead.
18001         (command-line-1): Use `inhibit-x-resources' instead.
18003 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
18005         * subr.el: Fix last change to avoid using the `unless' macro,
18006         which breaks bootstrapping.
18008 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18010         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18011         extended definitions, in case we reload subr.el after having
18012         loaded CL.
18013         (eval-next-after-load): Mark as obsolete.
18015 2009-09-17  Juri Linkov  <juri@jurta.org>
18017         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18018         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18019         (menu-bar-showhide-menu, menu-bar-tools-menu)
18020         (menu-bar-describe-menu, menu-bar-help-menu)
18021         (minibuffer-local-completion-map, minibuffer-local-map):
18022         Fix list quoting.
18024 2009-09-17  Glenn Morris  <rgm@gnu.org>
18026         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18027         arguments, whether or not it has a handler.
18029         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18031         * simple.el (hard-newline): Give it a doc-string.
18033         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18034         (lisp-mode-syntax-table): Give them doc-strings.
18036 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
18038         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18039         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18040         (menu-bar-options-menu, menu-bar-showhide-menu)
18041         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18042         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18043         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18044         (menu-bar-options-menu, menu-bar-tools-menu)
18045         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18046         (menu-bar-help-menu):
18047         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18048         string arguments.
18050         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18051         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18052         calls for the menu names and :help.
18054 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18056         * mouse.el (minor-mode-menu-from-indicator): Pay attention
18057         to :minor-mode-function (bug#4455).
18059 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18061         * startup.el (command-line): Initialize the window-system after
18062         processing the command-line.
18064         * textmodes/page.el (what-page): Make sure we don't inf-loop if
18065         page-delimiter matches the empty string.
18067 2009-09-16  Glenn Morris  <rgm@gnu.org>
18069         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18070         byte-compile-not-obsolete-var.  It's a list now.
18071         (byte-compile-not-obsolete-funcs): New variable.
18072         (byte-compile-warn-obsolete): Don't warn about functions if they are in
18073         byte-compile-not-obsolete-funcs.
18074         (byte-compile-variable-ref, byte-compile-defvar): Update for
18075         byte-compile-not-obsolete-vars name-change and list nature.
18076         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18077         and variables behind (f)boundp tests.
18078         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18080 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18082         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18084 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18086         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18087         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18088         Don't autoload.
18090 2009-09-15  Stephen Eglen  <stephen@gnu.org>
18092         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18093         the virtual-buffers, use the name of the buffer specified by
18094         find-file-noselect, as the match may be a symlink.  (This was a
18095         problem if the target and the symlink had different names.)
18097 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18099         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18101         * desktop.el (desktop-path): Check user-emacs-directory.
18103         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18105         * loadup.el: Use after-load-functions to GC after loading each file.
18106         Remove the explicit GC calls that used to be sprinkled around.
18108         * subr.el (after-load-functions): New hook.
18109         (do-after-load-evaluation): Run it.  Use string-match-p to detect
18110         `obsolete' packages, rather than painfully extracting the relevant
18111         directory name.
18113 2009-09-15  Glenn Morris  <rgm@gnu.org>
18115         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18116         free variable `doc'.
18118         * dired.el (dired-mode-map): Add menu entry for async shell command.
18120         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18121         variables, also consider the .elc files, since the .el files are
18122         normally gzipped (subsequent code locates the .el.gz from the .elc).
18124         * calc/calc-prog.el (arglist): Define for compiler.
18126         * calendar/diary-lib.el (diary-display-function): Change the default to
18127         fancy display.
18128         (body): Define for compiler.
18130         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18131         (byte-compile-file-form, byte-compile-lambda)
18132         (byte-compile-top-level-body, byte-compile-form)
18133         (byte-compile-variable-ref, byte-compile-setq)
18134         (byte-compile-setq-default, byte-compile-body)
18135         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18136         (batch-byte-compile): Give some more local variables with common names
18137         a "bytecomp-" prefix to avoid masking warnings about free variables.
18139         * startup.el (command-line-1): Give local variables with common names a
18140         distinguishing prefix, so as not to hide free variable warnings during
18141         bootstrap.
18143         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18144         clever and add a suffix to make a unique name, just let the user decide
18145         whether or not to overwrite it.  If the input is a directory, write the
18146         default filename to that directory.  (Bug#4388)
18147         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18148         is a filename-as-a-directory.
18150 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18152         * textmodes/page.el (what-page): Don't move to beginning of line.
18153         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18155 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18157         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18159 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
18161         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18162         * help.el (help-for-help-internal): Add purecopy calls for text.
18164         * vc.el (top): print-log method now takes an optional SHORTLOG
18165         argument.  Add a new method: root.
18166         (vc-root-diff, vc-print-root-log): New functions.
18167         (vc-log-short-style): New variable.
18168         (vc-print-log-internal): Add support for showing short logs.
18170         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18171         vc-print-root-log and vc-print-root-diff.
18173         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18174         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18175         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18176         short logs.
18178         * vc-cvs.el (vc-cvs-print-log):
18179         * vc-mtn.el (vc-mtn-print-log):
18180         * vc-rcs.el (vc-rcs-print-log):
18181         * vc-sccs.el (vc-sccs-print-log):
18182         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18183         that is ignored for now.
18185         * vc-mtn.el (vc-mtn-annotate-command):
18186         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18188 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18190         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18191         to function-key-map, and give them ascii-character property.
18192         * term/x-win.el (x-alternatives-map):
18193         * term/ns-win.el (ns-alternatives-map):
18194         * term/internal.el (msdos-key-remapping-map):
18195         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18197 2009-09-14  Glenn Morris  <rgm@gnu.org>
18199         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18200         temp-buffers (2009-09-12).
18202 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18204         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18205         the new read-key function.
18207 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18209         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18210         is defined (Bug#4405).
18212 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
18214         * recentf.el (recentf-cleanup): Use a hash table to find
18215         duplicates (Bug#4407).
18217 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
18219         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18220         kp-0 to ascii equivalents (Bug#4325).
18222 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18224         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18226         * eshell/em-hist.el:
18227         * eshell/em-dirs.el (eshell-complete-user-reference):
18228         Declare pcomplete functions and variables to avoid compiler warnings.
18230 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
18232         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18233         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18234         * eshell/em-alias.el (eshell-aliases-file):
18235         * eshell/em-hist.el (eshell-history-file-name):
18236         Use expand-file-name instead of concat to make file names (Bug#4308).
18238 2009-09-13  Glenn Morris  <rgm@gnu.org>
18240         * ediff-merg.el (ediff-do-merge):
18241         * filesets.el (filesets-run-cmd):
18242         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18243         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18244         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18245         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18246         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18247         Replace empty `let's with `progn'.
18249 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18251         * mail/sendmail.el (send-mail-function):
18252         * tooltip.el (tooltip-mode):
18253         * simple.el (transient-mark-mode):
18254         * rfn-eshadow.el (file-name-shadow-mode):
18255         * frame.el (blink-cursor-mode):
18256         * font-core.el (global-font-lock-mode):
18257         * files.el (temporary-file-directory)
18258         (small-temporary-file-directory, auto-save-file-name-transforms):
18259         * epa-hook.el (auto-encryption-mode):
18260         * composite.el (global-auto-composition-mode):
18261         Use custom-initialize-delay.
18262         * startup.el (command-line): Don't explicitly call
18263         custom-reevaluate-setting for all the above vars.
18264         * custom.el (custom-initialize-safe-set)
18265         (custom-initialize-safe-default): Delete.
18267 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18269         * term/x-win.el (x-initialize-window-system):
18270         * term/w32-win.el (w32-initialize-window-system):
18271         * term/ns-win.el (ns-initialize-window-system): Don't call
18272         mouse-wheel-mode since it's enabled globally by default already.
18274         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18275         actually define the variable, but only silences the byte-compiler.
18276         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18277         before looking it up.
18278         (mouse-wheel-scroll-amount): Also reset the bindings if this value
18279         is changed.
18281 2009-09-12  Glenn Morris  <rgm@gnu.org>
18283         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18284         1000.
18285         (elint-add-required-env): Don't beep on error.
18286         (elint-forms): In case of error, return ENV unchanged.
18287         (elint-init-env): Skip non-list forms.
18288         (elint-log): Handle unknown file positions.
18290 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
18292         * epg.el (epg-make-context): Add autoload cookie.
18293         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18294         (epg-decrypt-string, epg-start-verify, epg-verify-file)
18295         (epg-verify-string, epg-start-sign, epg-sign-file)
18296         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18297         (epg-encrypt-string, epg-start-export-keys)
18298         (epg-export-keys-to-file, epg-export-keys-to-string)
18299         (epg-start-import-keys, epg-import-keys-from-file)
18300         (epg-import-keys-from-string, epg-start-receive-keys)
18301         (epg-receive-keys, epg-import-keys-from-server)
18302         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18303         (epg-sign-keys, epg-start-generate-key)
18304         (epg-generate-key-from-file, epg-generate-key-from-string):
18305         Remove autoload cookie.
18307 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
18309         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18310         reevaluation of trash-directory.
18312         * mwheel.el: Fix last change.
18313         (mouse-wheel-mode): New defvar.
18314         (mouse-wheel-mode): Remove autoload cookie.
18316 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18318         * mwheel.el (mwheel-installed-bindings): New var.
18319         (mouse-wheel-mode): Use it, so as to make sure we really remove all
18320         the bindings we set last time.  Use custom-initialize-delay.
18321         * loadup.el: Load mwheel after term/*-win.el.
18322         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18323         and mouse-wheel-up-event now that their first evaluation is done
18324         sufficiently late to be correct.
18326         * startup.el (tutorial-directory): Make it a defcustom.
18327         Use custom-initialize-delay rather than eval-at-startup to set it.
18328         * image.el (image-load-path): Make it a defcustom.
18329         Use custom-initialize-delay rather than eval-at-startup to set it.
18330         * subr.el (eval-at-startup): Remove.
18331         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18333         * subr.el (do-after-load-evaluation): Warn the user after loading an
18334         obsolete package.
18336 2009-09-12  Glenn Morris  <rgm@gnu.org>
18338         * proced.el (proced-mark-alt): Remove alias.
18339         (proced-mode-map): Remove proced-mark-alt.
18341         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18342         Elint file and directory.  Remove initialization entry.
18344         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18345         commands.
18346         (elint-current-buffer): Set mode-line-process.
18347         (elint-init-env): Handle define-derived-mode.
18348         Fix declare-function with unspecified arglist.  Guard against odd
18349         defalias statements (eg iso-insert's 8859-1-map).
18350         (elint-add-required-env): Use a temp buffer.
18351         (elint-form): Just print the function/macro name, not the whole form.
18352         Return env unchanged if we fail to parse a macro.
18353         (elint-forms): Guard against parse errors.
18354         (elint-output): New function, to handle batch mode.
18355         (elint-log-message): Add optional argument.  Use elint-output.
18356         (elint-set-mode-line): New function.
18358 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
18360         * emacs-lisp/elp.el (elp-not-profilable): Add more
18361         functions (Bug#4233).
18363 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
18365         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18366         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18368 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18370         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18371         (gdb-var-list-children): Use json parsing.
18373 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
18375         * progmodes/js.el (js--proper-indentation): Handle the case where
18376         char-before is null.  Reported by Deniz Dogan.
18378 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18380         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18382 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
18384         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18385         (epg-digest-algorithm-alist): Add SHA224.
18386         (epg-context-set-passphrase-callback)
18387         (epg-context-set-progress-callback): Add description about
18388         callback function.
18390 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18392         * custom.el (custom-delayed-init-variables): New var.
18393         (custom-initialize-delay): New function.
18394         * startup.el (command-line): "Re"evaluate all vars in
18395         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
18396         explicitly any more.
18397         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18398         to avoid creating a ~/.emacs.d at build-time (bug#4347).
18400         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18402 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18404         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18405         (gdb-var-update-handler): Use json parsing.
18407 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18409         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18410         decode annotated text, regardless of language environment.  (Bug#2741)
18412 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18414         * Makefile.in (autoloads): Make rmail.el writable as well.
18416 2009-09-11  Glenn Morris  <rgm@gnu.org>
18418         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18419         loaddefs.el.
18420         * dired.el: Regenerate with extracted autoloads.
18421         * Makefile.in (autoloads): Make dired.el writable.
18423         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18424         * ibuffer.el: Regenerate with extracted autoloads.
18425         * Makefile.in (autoloads): Make ibuffer.el writable.
18427         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18428         * version.el (emacs-copyright, emacs-major-version)
18429         (emacs-minor-version): Reformat doc-strings for make-docfile.
18431         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18432         functions and variables, since they must be stuff specific to some other
18433         platform.
18434         (apropos-print): Make mouse-click message less specific about button.
18436         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18437         that records where a macro was defined.
18438         * help-fns.el (describe-function-1): Mention if a function has a
18439         compiler-macro.
18440         * help-mode.el (help-function-cmacro): New button.
18442         * locate.el (top-level): Always require dired.
18443         (locate-mode-map): Initialize inside the defvar.
18445         * net/ange-ftp.el (dired-compress-file): Declare.
18446         (ange-ftp-dired-compress-file): Add doc string.
18448         * term/ns-win.el (x-display-name, x-setup-function-keys):
18449         Unify doc-strings with X versions.
18451 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18453         * emulation/crisp.el (crisp-mode-map): Move initialization
18454         into declaration.
18455         (crisp-mode): Use define-minor-mode.
18457         * progmodes/xscheme.el (xscheme-evaluation-commands):
18458         Put a :advertised-binding property rather than using
18459         advertised-xscheme-send-previous-expression.
18460         (advertised-xscheme-send-previous-expression): Declare obsolete.
18461         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18462         `advertised-undo'.
18463         (crisp-mode): Add corresponding bindings to
18464         undo's :advertised-binding instead.
18465         * dired.el (dired-mode-map): Put a :advertised-binding property rather
18466         than using dired-advertised-find-file.
18467         (dired-advertised-find-file):
18468         * simple.el (advertised-undo):
18469         * wid-edit.el (advertised-widget-backward): Declare obsolete.
18470         (widget-keymap): Put a :advertised-binding property rather
18471         than using advertised-widget-backward.
18472         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18473         than using advertised-undo.
18474         * tutorial.el (tutorial--default-keys): Adjust accordingly.
18476 2009-09-10  Simon South  <ssouth@slowcomputing.org>
18478         * progmodes/delphi.el (delphi-tab): Indent region when Transient
18479         Mark mode is enabled and region is active; otherwise indent or
18480         insert TAB as usual.
18481         (delphi-mode): Update description of TAB-key binding.
18483 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18485         * subr.el (define-key-rebound-commands): Mark obsolete.
18486         * startup.el (precompute-menubar-bindings): Remove.
18487         (normal-top-level): Remove obsolete code that tried to precompute
18488         menubar bindings.
18489         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18490         define-key-rebound-commands and precompute-menubar-bindings.
18492 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
18494         * net/imap.el (imap-interactive-login): Better messages.
18495         (imap-open): Fix bug with renamed buffer on reconnect.
18496         (imap-authenticate): Add buffer-local imap-last-authenticator variable
18497         for easier debugging and cleaner code.  On successful (guessed based on
18498         server capabilities) secondary authentication, set imap-state
18499         correctly.
18500         (imap-last-authenticator): Define imap-last-authenticator as a variable
18501         to avoid warnings.
18503 2009-09-10  Glenn Morris  <rgm@gnu.org>
18505         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18507         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18508         (byte-compile-file-form-autoload): Don't warn about unknown functions
18509         where the autoload statement comes after the use.
18510         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18511         that any handlers inside the body (eg require) are in turn respected.
18513         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18514         effects.
18516         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18517         and syntax and abbrev tables basic docs, if they don't have any.
18519         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18521         * international/mule-cmds.el (top-level): Require cl when compiling.
18522         (view-hello-file): Use default-value rather than
18523         default-enable-multibyte-characters.
18525         * progmodes/fortran.el: Move all safe and risky properties into the
18526         defcustoms.
18528         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18529         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18530         * mail/undigest.el:
18531         Put autoloads in rmail.el rather than loaddefs.el.
18532         * mail/rmail.el: Regenerate with extracted autoloads.
18534         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18535         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18537 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
18539         Reported in thread for Bug#4375.
18540         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18541         "-data-evaluate-expression" instead of print.
18542         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18543         (gdb-tooltip-print): Parse output from above MI command.
18544         (gdb): Revert 2009-08-11 change.  User should detach inferior
18545         manually.
18547         Remove the word "separate" from IO functions as inferior
18548         output is now never displayed in the GUD buffer.
18550 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
18552         * startup.el (command-line-normalize-file-name): On Windows and
18553         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18555 2009-09-10  Juri Linkov  <juri@jurta.org>
18557         * isearch.el (isearch-text-char-description): Propertize escape
18558         character sequences with the `escape-glyph' face.  (Bug#4344)
18560         * simple.el (shell-command): Set asynchronous process filter to
18561         `comint-output-filter'.  (Bug#4343)
18563         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18564         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
18565         the list.  Move "asm" to the bottom.
18566         (grep-find-ignored-directories): Add `choice' with nil value
18567         to empty the list easily.
18568         (grep-find-ignored-files): New option.
18569         (grep-files-history): Set to nil by default instead of '("ch" "el").
18570         (grep-compute-defaults): Add "<X>" to `grep-template'.
18571         (grep-read-files): Bind new local variables `default-alias' and
18572         `default-extension'.  Use a list of default values for the file prompt.
18573         (lgrep): Add `--exclude=' command line options composed from
18574         `grep-find-ignored-files'.
18575         (rgrep): Add `-name' command line options composed from
18576         `grep-find-ignored-files'.  (Bug#4301)
18578 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
18580         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18581         (bug#4368).
18583 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
18585         * calendar/time-date.el (autoload):
18586         Expand define-obsolete-function-alias into defalias and make-obsolete
18587         for old Emacsen that Gnus supports.
18588         (with-no-warnings): Define it for old Emacsen.
18589         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18590         is available.
18591         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18592         float-time is available; suppress compile warning for time-to-seconds.
18594 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
18596         * net/imap.el (imap-message-map): Docstring fix.
18598 2009-09-09  Glenn Morris  <rgm@gnu.org>
18600         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18601         line numbers too.  (Bug#4374)
18603 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18605         * smerge-mode.el (smerge-remove-props, smerge-refine):
18606         Use with-silent-modifications (bug#4342).
18608         * subr.el (with-silent-modifications): New macro.
18610 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
18612         * files.el (top-level): Require `cl' when compiling.
18614 2009-09-07  Glenn Morris  <rgm@gnu.org>
18616         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18618         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18619         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
18621 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
18623         * vc-git.el (vc-git-annotate-command): Use separator to parse
18624         arguments correctly.
18626 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
18628         * proced.el (proced-mode): Doc fix.
18630 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
18632         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18633         lstat fails.
18634         (tramp-do-file-attributes-with-ls): Check for file existence at
18635         remote end.
18636         (tramp-do-file-attributes-with-stat): Likewise.
18637         (tramp-convert-file-attributes): Return nil when attr is nil.
18639 2009-09-05  Glenn Morris  <rgm@gnu.org>
18641         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18642         properties to this button.
18643         (diary-fancy-display): Don't extend the button to the final newline.
18644         (diary-fancy-display-mode): Continue to define "q" as a local key.
18646         * calendar/cal-china.el (holiday-chinese): Make it slightly more
18647         efficient.
18649         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18651         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18652         (byte-compile-dest-file-function): New option.
18653         (byte-compile-dest-file): Doc fix.
18654         Obey byte-compile-dest-file-function.
18655         (byte-compile-cl-file-p): New function.
18656         (byte-compile-eval): Only suppress noruntime warnings about cl functions
18657         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
18658         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18659         than for file being previously loaded.
18660         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18661         (byte-compile-file-form-require): Handle the case where requiring a file
18662         indirectly causes CL to be loaded.
18664 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18666         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18667         before killing the old buffer, since by the time `kill-buffer' is
18668         run so many buffer variables have been set to nil that it may not
18669         behave as expected.  (Bug#4061)
18671 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18673         * files.el (find-alternate-file): If the old buffer is modified
18674         and visiting a file, behave similarly to `kill-buffer' when
18675         killing it, thus reverting to the pre-1.878 behavior; see
18676         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18677         for discussion.  Also, consult `buffer-file-name' as a variable
18678         not as a function, for consistency with the rest of the code.
18680 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
18682         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18683         also when adding a new directory.
18685         * net/tramp-compat.el (tramp-compat-line-beginning-position):
18686         New defun.
18688 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18690         * files.el (locate-file-completion-table): Make it provide boundary
18691         information, so partial-completion works better.
18693 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
18695         * mail/footnote.el (Footnote-text-under-cursor):
18696         Check footnote-text-marker-alist before using it (bug#4324).
18698 2009-09-04  Glenn Morris  <rgm@gnu.org>
18700         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18701         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18702         * play/solitaire.el, play/tetris.el:
18703         Remove leading * from defcustom and defface docs.
18705         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18706         necessary.
18707         (diary-fancy-overriding-map): New variable.
18708         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18709         Use view-mode.
18711         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18712         goto-line.
18714 2009-09-03  Glenn Morris  <rgm@gnu.org>
18716         * arc-mode.el (archive-mode):
18717         * dos-fns.el (set-default-process-coding-system):
18718         * man.el (Man-getpage-in-background):
18719         * menu-bar.el (menu-bar-describe-menu):
18720         * server.el (server-process-filter):
18721         * startup.el (command-line):
18722         * tar-mode.el (tar-header-block-tokenize, tar-extract):
18723         * w32-fns.el (set-default-process-coding-system):
18724         * x-dnd.el (x-dnd-handle-file-name):
18725         * international/mule-cmds.el (mule-menu-keymap)
18726         (set-default-coding-systems, language-info-alist, set-language-info)
18727         (set-language-environment, standard-display-european-internal)
18728         (set-locale-environment):
18729         * international/mule-diag.el (mule-diag):
18730         * mail/emacsbug.el (report-emacs-bug):
18731         * mail/rmail.el (rmail-mode):
18732         * mail/sendmail.el (mail-setup):
18733         Use default-value rather than default-enable-multibyte-characters.
18735         * progmodes/f90.el: Move all safe properties into the defcustoms.
18736         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18738         * calendar/appt.el (appt-check):
18739         * calendar/diary-lib.el (diary-set-header, diary-live-p)
18740         (diary-check-diary-file, diary-list-entries)
18741         (diary-include-other-diary-files, diary-simple-display)
18742         (diary-fancy-display, diary-print-entries)
18743         (diary-mark-included-diary-files, diary-make-entry):
18744         Don't call substitute-in-file-name on diary-file.
18746 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
18747             Stefan Monnier  <monnier@iro.umontreal.ca>
18749         * mail/footnote.el (footnote-prefix): Make it a defcustom.
18750         (footnote-mode-map): Move initialization into the declaration.
18751         (footnote-minor-mode-map): Define it rather than changing global-map.
18752         (footnote-mode): Use define-minor-mode.
18754 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
18756         * net/tramp.el (tramp-handle-file-attributes-with-ls)
18757         (tramp-do-file-attributes-with-perl)
18758         (tramp-do-file-attributes-with-stat): Rename from
18759         `tramp-handle-file-attributes-with-*'.
18760         (tramp-handle-file-attributes): Use them.
18761         (tramp-do-directory-files-and-attributes-with-perl)
18762         (tramp-do-directory-files-and-attributes-with-stat): Rename from
18763         `tramp-handle-directory-files-and-attributes-with-*'.
18764         (tramp-handle-directory-files-and-attributes): Use them.
18765         (tramp-method-out-of-band-p): Additional parameter SIZE.
18766         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18767         (tramp-handle-write-region): Use it.
18768         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18769         (tramp-handle-vc-registered): Check, whether the first run did
18770         return files to be tested.
18771         (tramp-advice-make-auto-save-file-name): Do not call directly
18772         `tramp-handle-make-auto-save-file-name', because this would bypass
18773         the locking mechanism.
18775         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18776         (file-remote-p, process-file, start-file-process, set-file-times)
18777         (tramp-compat-file-attributes): Compatibility functions shall not
18778         call directly `tramp-handle-*', because this would bypass the
18779         locking mechanism.
18780         (tramp-compat-number-sequence): New defun.
18782 2009-09-02  Glenn Morris  <rgm@gnu.org>
18784         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18785         alias for float-time.
18786         (time-to-number-of-days): In Emacs, use float-time.
18787         * net/newst-backend.el (time-add): Suppress warnings from compat
18788         function.
18789         * time.el (emacs-uptime, emacs-init-time):
18790         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18791         Use float-time rather than time-to-seconds.
18793         * minibuffer.el (completion-initials-expand): Fix typo.
18795         * faces.el (modeline, modeline-inactive, modeline-highlight)
18796         (modeline-buffer-id):
18797         * info.el (info-menu-5): Mark these face aliases as obsolete.
18799 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18801         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18802         space ...
18803         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18804         no "--thread" option.
18805         (gdb-stopped): Don't print "Switched to thread" message when it is
18806         unchanged.
18808 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18810         * minibuffer.el (completion-try-completion)
18811         (completion-all-completions): Remove ill-defined (and
18812         mistakenly installed and luckily never used nor documented)
18813         `completion-styles' property.
18814         (completion-initials-expand, completion-initials-all-completions)
18815         (completion-initials-try-completion): New functions.
18816         (completion-styles-alist): Add doc to each entry.
18817         Add new `initials' entry.
18819 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18821         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18822         MI command -var-evaluate-expression.
18823         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18824         and tweak for case of string child.
18825         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18827 2009-09-01  Glenn Morris  <rgm@gnu.org>
18829         * add-log.el (change-log-date-face, change-log-name-face)
18830         (change-log-email-face, change-log-file-face, change-log-list-face)
18831         (change-log-conditionals-face, change-log-function-face)
18832         (change-log-acknowledgement-face):
18833         * cus-edit.el (custom-invalid-face, custom-rogue-face)
18834         (custom-modified-face, custom-set-face, custom-changed-face)
18835         (custom-saved-face, custom-button-face, custom-button-pressed-face)
18836         (custom-documentation-face, custom-state-face, custom-comment-face)
18837         (custom-comment-tag-face, custom-variable-tag-face)
18838         (custom-variable-button-face, custom-face-tag-face)
18839         (custom-group-tag-face-1, custom-group-tag-face):
18840         * diff-mode.el (diff-header-face, diff-file-header-face)
18841         (diff-index-face, diff-hunk-header-face, diff-removed-face)
18842         (diff-added-face, diff-changed-face, diff-function-face)
18843         (diff-context-face, diff-nonexistent-face):
18844         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18845         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18846         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18847         (Info-title-4-face):
18848         * isearch.el (isearch-lazy-highlight-face):
18849         * log-view.el (log-view-file-face, log-view-message-face):
18850         * paren.el (show-paren-match-face, show-paren-mismatch-face):
18851         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18852         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18853         (cvs-msg-face):
18854         * smerge-mode.el (smerge-mine-face, smerge-other-face)
18855         (smerge-base-face, smerge-markers-face):
18856         * wid-edit.el (widget-documentation-face, widget-button-face)
18857         (widget-field-face, widget-single-line-field-face)
18858         (widget-inactive-face, widget-button-pressed-face):
18859         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18860         (woman-addition-face):
18861         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18862         (eshell-ls-executable-face, eshell-ls-readonly-face)
18863         (eshell-ls-unreadable-face, eshell-ls-special-face)
18864         (eshell-ls-missing-face, eshell-ls-archive-face)
18865         (eshell-ls-backup-face, eshell-ls-product-face)
18866         (eshell-ls-clutter-face):
18867         * eshell/em-prompt.el (eshell-prompt-face):
18868         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18869         * obsolete/old-whitespace.el (whitespace-highlight-face):
18870         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18871         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18872         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18873         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18874         (antlr-font-lock-literal-face):
18875         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18876         (ebrowse-root-class-face, ebrowse-file-name-face)
18877         (ebrowse-default-face, ebrowse-member-attribute-face)
18878         (ebrowse-member-class-face, ebrowse-progress-face):
18879         * progmodes/make-mode.el (makefile-space-face):
18880         * progmodes/sh-script.el (sh-heredoc-face):
18881         * textmodes/flyspell.el (flyspell-incorrect-face)
18882         (flyspell-duplicate-face):
18883         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18884         * textmodes/texinfo.el (texinfo-heading-face):
18885         Mark face aliases with "-face" suffix as obsolete.
18887         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18888         compiler.
18890         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18891         (eudc-bob-sound-menu): Use defvar rather than defconst, since
18892         easy-menu-define wants to modify these.
18894         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18896         * net/browse-url.el (browse-url-file-url):
18897         * term/internal.el (dos-codepage-setup):
18898         Use default-value rather than default-enable-multibyte-characters.
18900         * progmodes/etags.el (etags-goto-tag-location):
18901         * progmodes/flymake.el (flymake-highlight-line)
18902         (flymake-goto-file-and-line, flymake-goto-line):
18903         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18904         (gdb-goto-breakpoint):
18905         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18906         * progmodes/python.el (python-find-function)
18907         (python-pdbtrack-track-stack-file):
18908         * progmodes/verilog-mode.el (verilog-surelint-off):
18909         * term/ns-win.el (ns-open-file-select-line):
18910         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18911         Use forward-line rather than goto-line.
18913         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18914         * textmodes/reftex-index.el (reftex-display-index):
18915         * textmodes/reftex-ref.el (reftex-offer-label-menu):
18916         * textmodes/reftex-toc.el (reftex-toc):
18917         Remove unnecessary bindings of default-major-mode (all are followed by
18918         major-mode check and possible mode switch).
18920 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18922         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18923         Handle watchpoints (bug#4282).
18924         (def-gdb-thread-buffer-command): Enable thread to be selected by
18925         clicking without selecting threads buffer first.
18926         (gdb-current-context-command): Use selected frame so that "up",
18927         "down" etc work in the GUD buffer.
18928         (gdb-update): Find selected frame before rendering stack buffer.
18929         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18931 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18933         * progmodes/sym-comp.el (displayed-completions): Remove.
18934         (symbol-complete): Use minibuffer-complete.
18936 2009-08-31  Glenn Morris  <rgm@gnu.org>
18938         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18940         * apropos.el (apropos-symbols-internal):
18941         Handle (obsolete) face aliases.
18943         * faces.el (describe-face): Adjust the output format to be more like
18944         describe-variable, and to mention (obsolete) face aliases.
18945         Adjust the whitespace so that help-setup-xref works.
18947         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18948         * calendar/diary-lib.el (diary-button-face):
18949         Mark these face aliases as obsolete.
18951         * calendar/calendar.el (calendar-today): Doc fix.
18953 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18955         * progmodes/gdb-mi.el (gdb-control-all-threads)
18956         (gdb-control-current-thread): Force tool bar update.
18957         (gdb-non-stop-handler): New function.
18958         (gdb-init-1): Use it to test if non-stop mode is supported.
18959         Remove unused gdbmi buffer type.
18961 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
18963         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18964         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
18966 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
18968         * comint.el (comint-exec-1): Check command is non-null first.
18969         Part of gdb-mi.el change (2009-08-28).
18971 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18973         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18975 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
18977         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18978         instead of `dolist' to avoid a recursive require when bootstrapping.
18980 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18982         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18984         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18986         * net/imap.el (imap-send-command): Simplify.
18987         (imap-wait-for-tag): point-max -> buffer-size.
18989         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18991         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18992         with constant argument.
18994         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18996         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18998         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18999         Change default, since most of our files don't have a history.
19000         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19001         the user.
19003         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19004         Add comint-run.
19006         * calc/calc.el: Improve commenting convention.
19007         (calc-digit-map, toplevel): Simplify.
19009         * comint.el (comint-insert-input): Be careful to only set point if we
19010         don't delegate to some other command.
19012         * proced.el (proced-signal-list): Make it an alist.
19013         (proced-grammar-alist): Capitalize names.
19014         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19015         Disable undo manually and make it read-only.
19016         Use completion-annotate-function.
19018         * minibuffer.el (minibuffer-message): If the current buffer is not
19019         a minibuffer, insert the message in the echo area rather than at the
19020         end of the buffer.
19021         (completion-annotate-function): New variable.
19022         (minibuffer-completion-help): Use it.
19023         (completion--embedded-envvar-table): Environment vars are
19024         always case-sensitive.
19026 2009-08-30  Glenn Morris  <rgm@gnu.org>
19028         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19029         from fortran-current-defun.
19030         (fortran-beginning-of-subprogram): Be more precise about finding the
19031         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
19032         (fortran-end-of-subprogram): Simplify.
19033         (fortran-current-defun): Use fortran-start-prog-re.
19035 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
19037         * subr.el (do-after-load-evaluation): Simplify.
19039 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
19041         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19043         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
19044         (vc-rcs-print-log): Use it.
19046         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19048 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19050         * paths.el (abbrev-file-name): Move to abbrev.el.
19051         * abbrev.el (abbrev-file-name): Move from paths.el.
19052         Obey user-emacs-directory.
19053         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19054         user-emacs-directory.
19055         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19056         abbrev-file-name and calc-settings-file any more.
19057         * startup.el (command-line): Recompute abbrev-file-name and
19058         abbreviated-home-dir.
19059         (normal-no-mouse-startup-screen): Improve the generic code and get rid
19060         of the special code for when C-h bindings haven't been changed.
19061         (display-startup-echo-area-message): Use with-current-buffer.
19062         (command-line-1): Use a list of strings, rather than a list of lists
19063         of strings for longopts.
19065         * files.el (get-free-disk-space): Use / for default-directory.
19067         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19068         Use with-current-buffer.
19070         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19071         Recognize immutable variables like most-positive-fixnum.
19072         (byte-compile-setq-default): Check and warn if trying to assign
19073         to an immutable variable, or a non-variable.
19075         * progmodes/cc-vars.el (c-comment-continuation-stars):
19076         * progmodes/cc-engine.el (c-looking-at-bos):
19077         * progmodes/cc-cmds.el (c-toggle-auto-state)
19078         (c-forward-into-nomenclature, c-backward-into-nomenclature)
19079         (c-comment-line-break-function): Add version of obsolescence.
19081 2009-08-28  Juri Linkov  <juri@jurta.org>
19083         * files.el (magic-fallback-mode-alist): Add ZIP magic number
19084         associated with `archive-mode'.
19086         * image.el (image-type-header-regexps): Use only JPEG magic number
19087         to determine JPEG images, and don't use `image-jpeg-p' because
19088         Emacs can display non-JFIF non-Exif JPEG images.
19090 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19092         * arc-mode.el (archive-mode):
19093         * emacs-lisp/re-builder.el (re-builder-unload-function):
19094         Protect against the default value of `major-mode' being nil.
19096 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19098         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19099         Fix typos in docstrings.
19101         * progmodes/js.el (js--macro-decl-re): Doc fix.
19102         (js--plain-method-re, js--split-name): Refloc docstring.
19103         (js--class-styles, js--make-merged-item, js--splice-into-items):
19104         Fix typos in docstrings; reflow docstrings.
19105         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19106         (js--variable-decl-matcher, js--inside-pitem-p)
19107         (js--parse-state-at-point, js--get-all-known-symbols)
19108         (js--symbol-history, js-find-symbol, js--js-references)
19109         (js--moz-interactor, js--js-encode-value, js--read-tab):
19110         Fix typos in docstrings.
19112 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19114         * textmodes/reftex.el (reftex-get-file-buffer-force):
19115         * progmodes/verilog-mode.el (verilog-batch-execute-func):
19116         * emulation/viper.el (viper-go-away, viper-set-hooks):
19117         * emacs-lisp/re-builder.el (re-builder-unload-function):
19118         * emacs-lisp/bytecomp.el (byte-compile-file):
19119         * ses.el (ses-unload-function):
19120         * hexl.el (hexl-find-file):
19121         * files.el (normal-mode):
19122         * ehelp.el (with-electric-help):
19123         * autoinsert.el (auto-insert-alist):
19124         * arc-mode.el (archive-mode):
19125         Use (default-value 'major-mode) instead of default-major-mode.
19127         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19128         * international/mule.el (load-with-code-conversion):
19129         * emacs-lisp/debug.el (debug):
19130         * ediff-vers.el (ediff-rcs-get-output-buffer):
19131         * dired.el (dired-internal-noselect): Don't let-bind
19132         default-major-mode around code that doesn't use it.
19133         E.g. buffer creation via get-buffer-create doesn't use it.
19135 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
19137         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19138         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19139         when writing the temp file.  Otherwise, epa-file gets confused.
19140         (tramp-register-file-name-handlers): Make it a defun.  Move also
19141         `epa-file-handler' to the front of `file-name-handler-alist'.
19143 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19145         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19146         start right after a ^M.
19147         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19148         (tramp-completion-file-name-regexp-separate)
19149         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19150         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19151         Don't modify last-coding-system-used by accident.
19152         (tramp-completion-file-name-handler): Apply the checks here,
19153         instead during registration.
19154         (tramp-register-file-name-handlers): Rename from
19155         `tramp-register-file-name-handler'.  Register both
19156         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19157         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
19159 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
19161         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19162         Remove variable ...
19163         (gdb-init-1, gdb-display-separate-io-buffer)
19164         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19165         references to it.
19166         (gdb-inferior-io-mode): Use make-comint-in-buffer.
19167         (gdb-inferior-filter): Use comint-output-filter to stop
19168         echoing and remove ^M characters.
19170 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19172         * emulation/viper-init.el (viper-restore-cursor-type):
19173         * emulation/cua-base.el (cua--update-indications):
19174         Replace default-cursor-type with (default-value 'cursor-type).
19176         * mail/sendmail.el (mail-recover-1):
19177         * international/mule-diag.el (describe-current-coding-system-briefly)
19178         (describe-current-coding-system):
19179         * international/mule-cmds.el (select-safe-coding-system)
19180         (select-message-coding-system)
19181         (set-language-environment-coding-systems, set-locale-environment):
19182         * hexl.el (hexl-insert-multibyte-char):
19183         * dos-w32.el (find-buffer-file-type-coding-system):
19184         * simple.el (what-cursor-position):
19185         Replace uses of default-buffer-file-coding-system
19186         with (default-value 'buffer-file-coding-system).
19188         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19189         Replace uses of default-cursor-in-non-selected-windows
19190         with (default-value 'cursor-in-non-selected-windows).
19191         Use with-current-buffer.
19193         * mail/feedmail.el: Use CL macros.
19194         (feedmail-run-the-queue, feedmail-send-it-immediately):
19195         * dos-w32.el (find-buffer-file-type): Replace uses of
19196         default-buffer-file-type with (default-value 'buffer-file-type).
19198 2009-08-28  Glenn Morris  <rgm@gnu.org>
19200         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19201         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19202         Use default-value of major-mode rather than default-major-mode.
19204 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19206         * Makefile.in (update-elcfiles): Report left over elc files.
19208         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19209         expand-file-name and with-current-buffer.
19210         (mail-get-names, mail-directory): Use with-current-buffer.
19212         * vc.el (vc-read-revision): New function.
19213         (vc-version-diff, vc-merge): Use it.
19215 2009-08-27  Sam Steingold  <sds@gnu.org>
19217         * simple.el (kill-do-not-save-duplicates): New user option.
19218         (kill-new): When it is non-nil, and the new string is the same as
19219         the latest kill, set replace to t to avoid duplicates in kill-ring.
19221 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
19223         * net/tramp.el (tramp-handle-process-file): Do not flush all
19224         caches when `process-file-side-effects' is set.
19225         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19226         instead of `tramp-find-file-exists-command'.
19227         Unset `process-file-side-effects'.
19229 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
19231         * net/tramp.el (tramp-methods): New method "rsyncc".
19232         (top): Add completion function for "rsyncc".
19233         (tramp-message-show-message): New defvar.
19234         (tramp-message, tramp-error): Use it.
19235         (tramp-do-copy-or-rename-file-directly): Extend check for direct
19236         remote copying.
19237         (tramp-do-copy-or-rename-file-out-of-band): Handle new
19238         `tramp-methods' entry `copy-env' of "rsyncc".
19239         (tramp-vc-registered-read-file-names): New defconst.
19240         (tramp-vc-registered-file-names): New defvar.
19241         (tramp-handle-vc-registered): Implement optimization strategy.
19242         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19243         (tramp-vc-file-name-handler): New defun.
19244         (tramp-get-ls-command, tramp-get-test-command)
19245         (tramp-get-file-exists-command, tramp-get-remote-ln)
19246         (tramp-get-remote-perl, tramp-get-remote-stat)
19247         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19249         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19250         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
19251         timestamps.
19252         (tramp-get-file-property): Check for timestamps in
19253         `tramp-cache-inhibit-cache'.
19254         (tramp-set-file-property): Write timestamp.
19256 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19258         * language/japan-util.el (japanese-symbol-table): Add entries for
19259         cp932-2-byte.
19261         * international/characters.el: Add category `j' to cp932-2-byte.
19263 2009-08-27  Kenichi Handa  <handa@m17n.org>
19265         * international/fontset.el (build-default-fontset-data): New macro.
19266         (setup-default-fontset): Use build-default-fontset-data for CJK,
19267         tibetan, ethiopic, and ipa.
19269 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19271         * cus-start.el (default-major-mode): Customize `major-mode' instead.
19272         (enable-multibyte-characters): Not customizable any more.
19274         * subr.el (default-mode-line-format, default-header-line-format)
19275         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19276         (default-direction-reversed, default-truncate-lines)
19277         (default-left-margin, default-tab-width, default-case-fold-search)
19278         (default-left-margin-width, default-right-margin-width)
19279         (default-left-fringe-width, default-right-fringe-width)
19280         (default-fringes-outside-margins, default-scroll-bar-width)
19281         (default-vertical-scroll-bar, default-indicate-empty-lines)
19282         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19283         (default-fringe-cursor-alist, default-scroll-up-aggressively)
19284         (default-scroll-down-aggressively, default-fill-column)
19285         (default-cursor-type, default-buffer-file-type)
19286         (default-cursor-in-non-selected-windows)
19287         (default-buffer-file-coding-system, default-major-mode)
19288         (default-enable-multibyte-characters): Mark as obsolete.
19290 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
19292         * vc-dir.el (vc-dir-update): Remove debug helper.
19294         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19296 2009-08-26  Sam Steingold  <sds@gnu.org>
19298         * simple.el (save-interprogram-paste-before-kill): New user option.
19299         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19300         save the interprogram-paste into kill-ring before overriding it
19301         with the Emacs kill.
19303 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19305         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19306         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19307         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19308         and move to vc-rcs.el.
19309         (vc-default-next-revision): Rename to vc-rcs-next-revision and
19310         move to vc-rcs.el.
19311         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19312         (vc-rcs-update-changelog): Remove.
19313         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19314         and move to vc-rcs.el.
19316         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19317         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19318         renaming.
19319         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19320         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19321         vc.el, renamed to be RCS specific.
19323         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19324         New functions.
19325         (vc-cvs-update-changelog): Move here from vc.el.
19327         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19328         New functions.
19330 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19332         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19334 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19336         * vc-git.el (vc-git-register): Use "git add" for directories.
19337         (vc-git-stash, vc-git-stash-show): New functions.
19338         (vc-git-extra-menu-map): Bind them.
19340         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19341         directory correctly in case the item is a directory itself.
19343         * vc.el: Document the desired behavior for reverted files in the
19344         `added' state.
19345         (vc-default-prettify-state-info): Remove function, unused.
19347         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19349 2009-08-26  Glenn Morris  <rgm@gnu.org>
19351         * bindings.el (standard-mode-line-format): Reposition dashes in
19352         which-func entry.  (Bug#4217)
19354         * files.el (enable-local-variables, enable-local-eval)
19355         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19356         the defcustoms.
19357         (auto-mode-alist, ignored-local-variables)
19358         (save-some-buffers-action-alist): Move risky declarations to the
19359         definitions.
19360         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19361         (font-lock-defaults, format-alist, imenu--index-alist)
19362         (imenu-generic-expression, input-method-alist, minor-mode-alist)
19363         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19364         (mode-line-modified, mode-line-mule-info, mode-line-position)
19365         (mode-line-process, mode-line-remote, outline-level)
19366         (parse-time-rules, rmail-output-file-alist)
19367         (special-display-buffer-names, vc-mode):
19368         Move risky declarations to the relevant files.
19369         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19370         (mode-line-modified, mode-line-process, mode-line-position)
19371         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19372         * font-core.el (font-lock-defaults):
19373         * format.el (format-alist):
19374         * vc-hooks.el (vc-mode):
19375         * window.el (special-display-buffer-names):
19376         * international/mule-cmds.el (input-method-alist):
19377         Define riskiness here (dumped file) rather than in files.el.
19378         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19379         * imenu.el (imenu-generic-expression, imenu--index-alist):
19380         * outline.el (outline-level):
19381         * time.el (display-time-string):
19382         * calendar/parse-time.el (parse-time-rules):
19383         * mail/rmailout.el (rmail-output-file-alist):
19384         Autoload riskiness here, rather than placing in files.el.
19386 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
19388         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19390 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
19392         * simple.el (process-file-side-effects): New defvar.
19394         * dired-aux.el (dired-show-file-type):
19395         * vc.el (vc-diff-internal):
19396         * vc-arch.el (vc-arch-diff):
19397         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19398         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19399         * vc-git.el (vc-git-registered, vc-git-working-revision)
19400         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19401         (vc-git--empty-db-p):
19402         * vc-hooks.el (vc-user-login-name):
19403         * vc-svn.el (vc-svn-registered, vc-svn-state)
19404         (vc-svn-dir-extra-headers, vc-svn-find-revision):
19405         * progmodes/grep.el (grep-probe): Let-bind
19406         `process-file-side-effects' with nil.
19408         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19410         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19411         daemon.  Replace ping by checking for running service for bluez
19412         and zeroconf.  (Bug#4239)
19414 2009-08-25  Kevin Ryde  <user42@zip.com.au>
19416         * net/dig.el (dig): Add autoload cookie.
19418 2009-08-25  Glenn Morris  <rgm@gnu.org>
19420         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19421         load-history for absolute file-names.
19422         (byte-compile-file-form-require): Warn about use of the cl package.
19424         * format.el (format-alist): Doc fix.
19426         * play/bubbles.el (top-level): Don't require cl at run-time.
19428         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19429         run-time cl).
19431 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
19433         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19434         from cl package.
19435         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19437 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
19439         * calc/calc-alg.el (math-trig-rewrite)
19440         (math-hyperbolic-trig-rewrite): New functions.
19441         (calc-simplify): Simplify trig functions when asked.
19443 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19445         * diff-mode.el (diff-find-source-location): Avoid goto-line.
19447 2009-08-24  Kenichi Handa  <handa@m17n.org>
19449         * language/ind-util.el (mapthread): Delete it.
19450         (combinatorial): New function.
19451         (indian--puthash-cv): Use combinatorial instead of mapthread.
19453 2009-08-22  Kevin Ryde  <user42@zip.com.au>
19455         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19456         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19457         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19458         Clarify docstring that the value is strings not symbols.
19459         (checkdoc-list-of-strings-p): New function.
19461 2009-08-22  Glenn Morris  <rgm@gnu.org>
19463         * files.el (auto-mode-alist):
19464         * hippie-exp.el (he-concat-directory-file-name):
19465         * lpr.el (lpr-windows-system, printer-name):
19466         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19467         * ps-print.el (ps-windows-system):
19468         * startup.el (command-line):
19469         * emulation/viper-ex.el (viper-glob-function):
19470         * international/mule-cmds.el (set-language-environment-coding-systems):
19471         * net/ange-ftp.el (ange-ftp-write-region):
19472         * obsolete/fast-lock.el (fast-lock-cache-name):
19473         Remove code for defunct system-types emx, macos, mswindows, next-mach,
19474         unisoft-unix, vax-vms, win32, w32.
19476         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19477         given name if the pattern is not more specific.
19479         * calendar/lunar.el (lunar-phase-names): New option.
19480         (lunar-phase): Doc fix.
19481         (lunar-cycles-per-year): New constant.
19482         (lunar-index): New function.
19483         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19484         (lunar-phase-name): Use lunar-phase-names.
19485         (calendar-lunar-phases): Use format.
19486         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19488         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19489         Copy imenu-example--name-and-position function here for own use.
19490         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19492         * bs.el (bs--redisplay):
19493         * cus-edit.el (custom-redraw):
19494         * ibuffer.el (ibuffer-bury-buffer):
19495         * server.el (server-goto-line-column):
19496         * startup.el (command-line-1):
19497         * strokes.el (strokes-xpm-for-stroke):
19498         * term.el (term-display-buffer-line):
19499         * view.el (View-goto-line):
19500         * calc/calc.el (calc-do, calc-trail-buffer):
19501         * play/gamegrid.el (gamegrid-add-score-insecure):
19502         * progmodes/ada-mode.el (ada-compile-goto-error):
19503         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19504         (ebrowse-select-1st-to-9nth):
19505         * progmodes/cperl-mode.el (cperl-time-fontification):
19506         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19507         * progmodes/gud.el (gud-display-line):
19508         (idlwave-shell-display-line):
19509         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19510         * progmodes/make-mode.el (makefile-browser-toggle):
19511         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19512         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19513         * textmodes/picture.el (picture-draw-rectangle):
19514         * textmodes/reftex-index.el (reftex-index-goto-letter):
19515         (reftex-select-jump-to-previous):
19516         * textmodes/reftex-sel.el (reftex-find-start-point)
19517         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19518         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19519         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19520         * textmodes/tex-mode.el (tex-compilation-parse-errors):
19521         * textmodes/two-column.el (2C-associated-buffer):
19522         Use forward-line rather than goto-line.
19524         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19525         goto-line.
19527         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19528         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19529         (quick-check-list-to-regexp): Declare.
19531         * progmodes/make-mode.el (makefile-browser-insert-selection):
19532         Use goto-char rather than goto-line.
19534         * progmodes/prolog.el (compilation-error-regexp-alist)
19535         (compilation-forget-errors): Declare.
19537 2009-08-22  Juri Linkov  <juri@jurta.org>
19539         * progmodes/grep.el (lgrep, rgrep): At the beginning
19540         set `dir' to `default-directory' unless `dir' is a non-nil
19541         readable directory.  (Bug#4052)
19542         (lgrep, rgrep): Change a weird way to report an error
19543         from using `read-string' to using `error'.
19544         Instead of using interactive arguments in the function body,
19545         add new argument `confirm'.
19547 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19549         * textmodes/remember.el (remember-buffer):
19550         * progmodes/cperl-mode.el (cperl-vc-header-alist):
19551         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19552         (icalendar-extract-ical-from-buffer):
19553         * net/newst-treeview.el (newsticker-groups-filename):
19554         * net/newst-backend.el (newsticker-cache-filename):
19555         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19556         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19557         (speedbar-add-ignored-path-regexp, speedbar-line-path)
19558         (speedbar-buffers-line-path, speedbar-path-line)
19559         (speedbar-buffers-line-path):
19560         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19561         (epg-sign-keys):
19562         * epa.el (epa-display-verify-result):
19563         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19565 2009-08-21  Glenn Morris  <rgm@gnu.org>
19567         * progmodes/js.el (inferior-moz-process): Fix declaration.
19569         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19571         * obsolete/rnewspost.el (news-mail-reply):
19572         Use goto-char rather than goto-line.
19574         * term/ns-win.el (ns-open-file-select-line):
19575         Use line-beginning-position rather than goto-line.
19577         * apropos.el (apropos-command):
19578         * ehelp.el (electric-helpify):
19579         * printing.el (pr-show-setup):
19580         * strokes.el (strokes-help):
19581         * tutorial.el (tutorial--describe-nonstandard-key)
19582         (tutorial--detailed-help):
19583         * woman.el (woman-mini-help, woman-display-extended-fonts):
19584         * calc/calc-help.el (calc-describe-key):
19585         * emulation/edt.el (edt-electric-helpify):
19586         * international/mule-diag.el (mule-diag):
19587         * play/yow.el (apropos-zippy):
19588         * progmodes/python.el (python-describe-symbol):
19589         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19590         * textmodes/table.el (*table--cell-describe-mode)
19591         (*table--cell-describe-bindings):
19592         Use help-print-return-message rather than the now obsolete alias.
19594         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19595         (calendar-cursor-to-visible-date):
19596         * play/5x5.el (5x5-position-cursor):
19597         * play/decipher.el (decipher):
19598         * play/gomoku.el (gomoku-goto-xy):
19599         * play/landmark.el (lm-goto-xy):
19600         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19601         (mpuz-paint-digit):
19602         Use forward-line, not goto-line.
19604         * mail/rmail.el (rmail-obsolete): Delete custom group.
19605         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19606         (rmail-remote-password, rmail-remote-password-required):
19607         Remove unneeded :set-after and :set properties.
19609 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
19611         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19613 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
19615         * loadup.el: Remove leftover macos code.
19617         * vc-git.el (vc-git-annotate-command): Run asynchronously.
19618         Explicitly pass the date format to git blame so that user local
19619         so that the output format can be parsed.
19621 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
19623         * net/dbus.el (top): Don't check for (getenv
19624         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
19626 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
19628         * log-edit.el (log-edit-strip-single-file-name): New var.
19629         (log-edit-insert-changelog): Use it.  Bug#3571
19631 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19633         * subr.el (read-passwd): Use read-key so keypad keys work as well.
19634         Bug#3287
19636         * help.el (help-print-return-message): Rename from
19637         print-help-return-message.
19639         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19640         cvs-mode-map parent hack.
19641         (log-view-mode): Derive from special-mode.
19643         * linum.el (linum-mode): window-size-change-functions is redundant.
19644         Adapt to new window-configuration-change-hook behavior.
19645         (linum-after-size, linum-after-config): Remove.
19647         * imenu.el (imenu-example--name-and-position)
19648         (imenu-example--lisp-extract-index-name)
19649         (imenu-example--create-lisp-index, imenu-example--create-c-index):
19650         Mark as obsolete.
19652         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19653         (inferior-prolog-mode): Use it.
19654         (inferior-prolog-load-file): Reset list of errors.
19656 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19658         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19660         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19662 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
19664         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19665         is running already.
19667 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19669         * subr.el (listify-key-sequence-1): Use normal syntax since those
19670         integers are nowadays always represented by the same (positive) number
19671         on all platforms.
19672         (read-key-empty-map): New const.
19673         (read-key-delay): New var.
19674         (read-key): New function.
19675         (force-mode-line-update): Use with-current-buffer.
19676         (locate-user-emacs-file): Don't forget to abbreviate the file name.
19677         (start-process-shell-command, start-file-process-shell-command):
19678         Discourage the use of command-args.
19680 2009-08-19  Glenn Morris  <rgm@gnu.org>
19682         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19684 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19686         * simple.el (choose-completion-string): Don't rely on
19687         minibuffer-completing-file-name and ad-hoc checks to decide whether
19688         to continue completion or not.
19690         * minibuffer.el (minibuffer-hide-completions): New function.
19691         (completion--do-completion): Use it.
19692         (completions-annotations): New face.
19693         (completion--insert-strings): Use it.
19694         (completion-pcm--delim-wild-regex): Add docstring.
19695         (completion-pcm--string->pattern): Add support for 0-width delimiters
19696         in completion-pcm--delim-wild-regex.
19698 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19700         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19701         Remove unused var `buffer-modified-p'.
19703         * minibuffer.el (completion--do-completion): Move point for the #b001
19704         case as well (bug#4176).
19705         (minibuffer-complete, minibuffer-complete-word): Don't move point.
19707 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
19709         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
19710         and :session buses.
19712 2009-08-18  Kenichi Handa  <handa@m17n.org>
19714         * international/ucs-normalize.el (ucs-normalize-version):
19715         Change to 1.1.
19716         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19717         (utf-8-hfs): Make it perform normalization on encoding too.
19719         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
19720         (sentence-end-without-space): Delete duplicated chars.
19721         (sentence-end-base): Likewise.
19723         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
19724         (html-mode): Delete duplicated chars from sentence-end-base.
19726         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
19727         (texinfo-mode): Delete duplicated chars from sentence-end-base.
19729 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
19731         * files.el (hack-one-local-variable): If the mode function is for
19732         a minor mode, pass it an argument (Bug#4148).
19734 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
19736         * net/tramp.el (tramp-register-completion-file-name-handler):
19737         Check also for (member 'partial-completion completion-styles).
19739 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19741         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19742         abbrev (Bug#3943).
19744 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
19746         * progmodes/cperl-mode.el: Merge upstream 6.2.
19747         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19748         (cperl-forward-re): Check cperl-brace-recursing.
19749         (cperl-highlight-charclass): New function.
19750         (cperl-find-pods-heres): Use it.
19751         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19752         (cperl-beautify-regexp-piece): Fix column calculation.
19753         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19754         (cperl-beautify-level): Don't process entire regexp.
19755         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19756         calling man.
19757         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19758         (cperl-init-faces): Build a list in the normal way.
19760 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19762         * calendar/parse-time.el (parse-time-string-chars): Save match
19763         data.
19765 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19767         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19768         (sql-product): Use it.
19769         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19770         (sql-set-product): Add completion.
19771         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19772         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19773         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19774         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19775         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19776         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19777         (sql-highlight-db2-keywords): Remove.
19778         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19779         (sql-highlight-product): Use derived-mode-p.
19780         (sql-set-sqli-buffer): Use with-current-buffer.
19781         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19782         Simplify.
19784         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19786         * term.el: Fix commenting convention, turn comments into docstrings.
19788 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19790         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19792 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19794         * calendar/parse-time.el (parse-time-string-chars): Compute using
19795         character classes, to handle non-ascii characters (Bug#3190).
19797 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19799         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19800         another heredoc if the user adds another < (Bug#3226).
19802         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19803         Don't initialize based on window-system (Bug#4124).
19805         * facemenu.el (facemenu-read-color): Use a completion function
19806         that accepts any defined color, such as RGB triplets (Bug#3677).
19808         * files.el (get-free-disk-space): Change fallback default
19809         directory to /.  Expand DIR argument before switching to fallback.
19810         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19812 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19814         * files.el (load-library): Doc fix.
19816 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
19818         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19819         (viper-if-string): Redefine C-s in the minibuffer to insert the last
19820         incremental search string.
19822         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19823         XEmacs.
19825         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19826         (ediff-merge-region-is-non-clash)
19827         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19828         Also check if the job is really a merge job.
19830         * ediff.el (ediff-current-file): New function.
19832 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19834         * progmodes/js.el: Edit docstrings throughout to follow Emacs
19835         conventions.
19836         (js-insert-and-indent): Delete function.
19837         (js-mode-map): Don't bind keys to js-insert-and-indent.
19838         (js-beginning-of-defun): Rename from js--beginning-of-defun.
19839         (js-end-of-defun): Rename from js--end-of-defun.
19840         (js-auto-indent-flag): Delete variable.
19842 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
19844         * progmodes/js.el: Remove proclaim statement.
19845         Defvar which-func-imenu-joiner-function to silence compiler.
19847         * files.el (auto-mode-alist): Use js-mode for .js files.
19849         * progmodes/js2-mode.el: Remove file.
19851         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19853         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19855         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19857 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
19858             Karl Landstrom  <karl.landstrom@brgeight.se>
19860         * progmodes/js.el: New file.
19862 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
19864         * timezone.el (timezone-parse-date): Add ability to understand ISO
19865         basic format (minimal separators) dates in addition to the
19866         already-supported extended format dates.
19868 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
19870         * international/ucs-normalize.el: Add a `coding' file variable.
19872         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19874 2009-08-14  Sam Steingold  <sds@gnu.org>
19876         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19878 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
19880         * faces.el (help-argument-name): Define it here instead of
19881         help-fns.el, because in daemon mode help-fns.el may be loaded when
19882         faces are still uninitialized (Bug#1078).
19884         * help-fns.el (help-argument-name): Move defface to faces.el.
19886 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
19888         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19889         create buffer with a pty but no process so that GDB can make the
19890         inferior the controlling process.
19892 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
19894         * international/ucs-normalize.el: New file.
19896 2009-08-13  Richard Stallman  <rms@gnu.org>
19898         * mail/rmail.el (rmail-get-attr-names):
19899         Accept an attribute header that is too short.
19901         * mail/rmail.el (rmail-forget-messages):
19902         Ignore nil elt in rmail-message-vector.  Use dotimes.
19904         * progmodes/compile.el (compilation-goto-locus):
19905         Use next-error-move-function.
19907         * simple.el (next-error-move-function): New variable.
19909 2009-08-12  Juri Linkov  <juri@jurta.org>
19911         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19912         always non-nil.  (Bug#4052)
19914         * replace.el (read-regexp): Return empty string when
19915         `default-value' is nil.
19916         (keep-lines-read-args): Don't use empty string as the
19917         default value for `read-regexp'.  (Bug#2495)
19919 2009-08-12  Juri Linkov  <juri@jurta.org>
19921         * international/mule-cmds.el (ucs-insert): Change arguments
19922         from `arg' to `character', `count', `inherit' to be the same
19923         as in `insert-char'.  Doc fix.  (Bug#4039)
19925         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19927 2009-08-12  Juri Linkov  <juri@jurta.org>
19929         * files-x.el: New file.
19931         * files.el: Move code that deals with adding/deleting
19932         file/directory-local variables to files-x.el.
19934         * Makefile.in (ELCFILES): Add files-x.elc.
19936 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
19938         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19939         to use `goto-line'.
19940         (gdb-place-breakpoints, gdb-get-location): Rewritten without
19941         `goto-line'.
19942         (gdb-invalidate-disassembly): Do not refresh upon receiving
19943         'update signal.  Instead, update all disassembly buffers only after
19944         threads list.
19945         (gdb): Send -target-detach when buffer is killed (Bug#3794).
19946         (gdb-starting): Move -data-list-register-names...
19947         (gdb-stopped): ...here so it's sent when first thread stops.
19948         (gdb-registers-handler-custom): Do nothing if register names are
19949         unknown yet.
19951         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19952         from `gdb-mi.el' to avoid extra tangling.
19954         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19955         change which breaks `gud-def' definitions used in `gdb'.
19956         (gdb-update-gud-running): No extra fuss for updating frame number.
19958 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19960         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19961         (describe-language-environment-map, setup-language-environment-map)
19962         (set-coding-system-map): Move initialization into declaration.
19963         (set-language-info-alist): Last arg to define-key-after can be skipped.
19965         * international/quail.el (quail-completion-1): Simplify.
19966         (quail-define-rules): Use slightly more compact code.
19967         (quail-insert-decode-map): Propertize keys, compact columns.
19969         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19970         Add goto-line.
19972 2009-08-10  Miles Bader  <miles@gnu.org>
19974         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19975         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19976         (js2-instance-member, js2-private-member, js2-private-function-call)
19977         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19978         (js2-magic-paren, js2-external-variable):
19979         Remove "-face" suffix from face names.
19980         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19981         (js2-highlight-undeclared-vars, js2-peek-token)
19982         (js2-parse-function-params, js2-mode-show-errors)
19983         (js2-mode-show-warnings, js2-make-magic-delimiter)
19984         (js2-mode-highlight-magic-parens): Update to use new face names.
19986 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
19988         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19989         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
19991 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
19993         * subr.el: Provide hashtable-print-readable.
19995         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19996         hs-c-like-adjust-block-beginning.
19997         (hs-hide-block-at-point): Stop hiding at the beginning of
19998         hs-block-end-regexp (Bug#700).
20000 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
20002         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20003         a macro.
20004         (gdb-registers-handler-custom): Do not fail when register names
20005         are unavailable.
20007 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20009         * progmodes/gdb-mi.el (gdb-control-all-threads)
20010         (gdb-control-current-thread): Interactive setters for
20011         `gdb-gud-control-all-threads' to use in menu.
20012         (gdb-show-run-p): Show «Go» when process is not active.
20013         (gud-tool-bar-map): Add non-stop/A,T indicator.
20014         Uses gud/thread.xpm and gud/all.xpm.
20016 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
20018         * net/net-utils.el (net-utils-font-lock-keywords): New var.
20019         (nslookup-font-lock-keywords): Make it a variable.
20020         (net-utils-mode): New mode for viewing diagnostic network output.
20021         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20022         (net-utils-run-simple): New function.
20023         (ifconfig, iwconfig, netstat, arp, route): Use it.
20025 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20027         * progmodes/gdb-mi.el (gdb-read-memory-custom)
20028         (gdb-memory-set-address, def-gdb-set-positive-number)
20029         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20030         after changing settings.
20031         (gdb-invalidate-disassembly): Update when first shown.
20032         (gdb-edit-locals-value): Fixed.
20033         (gdb-registers-handler-custom): Print registers in right order and
20034         allow changing register values (only for current thread yet).
20035         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20036         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20037         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20038         (gdb-locals-handler-custom, gdb-registers-handler-custom):
20039         Thread info in mode name.
20040         (gdb-registers-mode-map): TAB to switch to locals.
20042 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
20044         * mail/rmail.el (rmail-add-mbox-headers)
20045         (rmail-set-message-counters-counter): Search for
20046         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
20048 2009-08-08  Glenn Morris  <rgm@gnu.org>
20050         * Makefile.in (ELCFILES): Update.
20052 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20054         * mail/sendmail.el (mail-yank-original):
20055         Set buffer-file-coding-system from the one used by the message whose
20056         text is yanked.
20058         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20059         to "windows" when "pgnuplot" is used.
20060         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20061         Don't call accept-process-output if "pgnuplot" is used.
20062         (calc-graph-init): Don't send -display and -geometry to
20063         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
20064         running "pgnuplot -V" with shell-command-to-string.
20066         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20067         the default.
20069 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20071         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20072         org/org-latex.elc.
20074 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
20076         * vc-dispatcher.el (vc-resynch-window): Update comment.
20078         * term.el (term-handle-ansi-escape): Add comments with the
20079         terminfo capabilities implemented.
20081 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
20083         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20084         (gdb-var-create-handler): Rewritten using JSON parser.
20085         (gdb-propertize-header): Move earlier.
20086         (gdb-set-header): Remove to avoid duplication.
20087         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20088         Refresh disassembly buffers only after threads list have been
20089         update.
20090         (gdb-threads-header, gdb-registers-header): Per-buffer header line
20091         variables.
20093 2009-08-04  Juri Linkov  <juri@jurta.org>
20095         * files.el: Commands to add/delete file/directory-local variables.
20096         (read-file-local-variable, read-file-local-variable-value)
20097         (read-file-local-variable-mode, modify-file-local-variable)
20098         (modify-file-local-variable-prop-line)
20099         (modify-dir-local-variable): New functions.
20100         (add-file-local-variable, delete-file-local-variable)
20101         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20102         (add-dir-local-variable, delete-dir-local-variable)
20103         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20104         (copy-dir-locals-to-file-locals-prop-line): New commands.
20106 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
20108         * abbrev.el (insert-abbrev-table-description): Prettify output.
20109         Suggested by Karl Chen.
20111 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
20113         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20114         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20115         (gdb-overlay-arrow-position, gdb-thread-position)
20116         (gdb-disassembly-position): Declare variables.
20117         (gdb-wait-for-pending): Function now.
20118         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20119         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20120         compilation goes smoothly.
20121         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20122         (gdb-non-stop-setting): New customization setting which replaces
20123         `gdb-non-stop' so changing it doesn't break active GDB session.
20124         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20125         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20126         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20127         (gdb-show-threads-by-default): New customization options.
20128         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20129         routines.
20130         (gdb-get-buffer-create): Send buffers update signal when they are
20131         created.
20132         (gdb-invalidate-locals, gdb-invalidate-registers)
20133         (gdb-invalidate-breakpoints)
20134         (gdb-invalidate-threads, gdb-invalidate-disassembly)
20135         (gdb-invalidate-memory): Accept update signal.
20136         (gdb-current-context-command): Use --frame option.
20137         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20138         Implement `gdb-frame-number' selection logic.
20139         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20140         whether to show GUD toolbar buttons.
20141         (gdb-thread-exited): Unselect current thread when it exits.
20142         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20143         (gdb-mark-line): Routine which sets overlay arrow or inverses
20144         video on fringeless displays.
20145         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20146         to build aligned columns of data in GDB buffers and set text
20147         properties line-by-line.
20148         (gdb-invalidate-breakpoints)
20149         (gdb-breakpoints-list-handler-custom)
20150         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20151         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20152         (gdb-registers-handler-custom): Align data columns.
20153         (gdb-locals-handler-custom): Now prints data like in variable
20154         declarations.
20155         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20156         Remove confusing buttons.
20157         (gdb-invalidate-threads): Append --frame.
20158         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20159         between breakpoints/threads buffers.
20160         (gdb-set-window-buffer): Now can ignore dedicated windows.
20161         (gdb-propertize-header): Use `gdb-set-window-buffer'.
20162         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20163         (def-gdb-thread-buffer-gud-command): Replaces
20164         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20165         for fine thread control.
20166         (gdb-preempt-existing-or-display-buffer): New function used to
20167         display bound buffers without breaking window layout.
20168         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20169         (gdb-select-frame): New version of `gdb-frames-select' which now
20170         sets `gdb-frame-number' so commands may use --frame option instead
20171         of inner debugger state.
20172         (gdb-frame-handler): Do not set `gdb-frame-number'.
20173         (gdb-threads-mode-map): Select threads with mouse.
20175         * progmodes/gud.el (gdb-gud-context-call): Declare function to
20176         avoid compilation warning.
20177         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20178         `gdb-show-stop-p`.
20180         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20181         Argument `key' renamed to `buffer-type'.
20182         (gdb-current-context-buffer-name): Do not add thread info to
20183         buffer name when no thread is selected.
20184         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20185         command (bug 3794).
20186         (gdb-thread-selected): Handle `=thread-selected' notification.
20187         (gdb-wait-for-pending): New macro to deal with congestion problems.
20188         (gdb-breakpoints-list-handler-custom): Don't fail on pending
20189         breakpoints.
20190         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20191         This fixes problem similar to one described in bug 3947.
20192         (gud-menu-map): More menu items.
20193         (gdb-init-1): Reset `gdb-thread-number' to nil.
20195         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20196         non-stop settings.
20198         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20199         (gdb-current-context-command): Do not append --thread if
20200         `gdb-thread-number' is nil.
20201         (gdb-running-threads-count, gdb-stopped-threads-count):
20202         New variables.
20203         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20204         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20205         New customization options.
20206         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20207         GUD commands.
20208         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20209         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20210         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20211         set `gdb-thread-number' and update `gud-running' properly.
20212         (gdb-running): Update threads list when new threads appear.
20213         (gdb-stopped): Support non-stop operation and new thread switching
20214         logic.
20215         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20216         (gdb-json-partial-output): New set of JSON routines.
20217         (def-gdb-auto-update-trigger): New `signal-list' optional
20218         argument.
20219         (gdb-thread-list-handler-custom): Update `gud-running',
20220         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20221         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20222         (gdb-continue-thread, gdb-step-thread): New commands for fine
20223         thread execution control.
20224         (gud-menu-map): New menu items to switch non-stop options.
20225         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20226         (gdb-send): Mimic RET properly (bug 3794).
20228         * progmodes/gdb-mi.el (gdb-rules-name-maker)
20229         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20230         gdb-buffer-rules.
20231         (def-gdb-auto-update-handler): New nopreserve optional argument.
20232         (gdb-stack-list-frames-custom): Print stack from top to bottom.
20234         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20235         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20236         (gdb-parent-mode): New mode to derive other GDB modes from.
20237         (gdb-display-disassembly-for-thread)
20238         (gdb-frame-disassembly-for-thread): New commands for threads
20239         buffer.
20241         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20242         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20243         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20244         (gdb-update): We now store all GDB buffers in a list so that they
20245         can be updated by traversing a list instead of calling invalidate
20246         triggers explicitly.
20247         (def-gdb-trigger-and-handler): New macro to define trigger-handler
20248         pair for GDB buffer.
20249         (gdb-stack-buffer-name): Add thread information.
20250         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20251         handle pending triggers.
20252         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20253         (def-gdb-thread-buffer-simple-command)
20254         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20255         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20256         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20257         New commands which show buffers bound to thread.
20258         (gdb-stack-list-locals-regexp): Remove unused regexp.
20260         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20261         (gdb-locals-buffer-name, gdb-registers-buffer-name)
20262         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20263         to (gud-comint-buffer) in *-buffer-name functions
20264         because (gdb-get-target-string) already does that.
20265         (gdb-locals-handler-custom, gdb-registers-handler-custom)
20266         (gdb-changed-registers-handler): Rewritten without regexps.
20268         * progmodes/gdb-mi.el: Basic thread selection support.
20269         (gdb-thread-number): New variable.
20270         (gdb-current-context-command): New macro which adds --thread
20271         option to command.
20272         (gdb-threads-mode-map): Select thread with SPC.
20273         (gdb-thread-list-handler-custom): Mark current thread with overlay
20274         arrow.  Synchronize GDB thread and Emacs thread.
20275         (gdb-select-thread): New command which selects current thread.
20276         (gdb-invalidate-frames, gdb-invalidate-locals)
20277         (gdb-invalidate-registers): Use --thread option.
20279 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
20281         * net/tramp.el (top): Make check for tramp-gvfs loading more
20282         robust.  (Bug#3977)
20283         (tramp-handle-insert-file-contents): `unwind-protect' must be
20284         inside `with-parsed-tramp-file-name'.
20286         * net/tramp-gvfs.el (top): Remove superfluous message when loading
20287         fails.
20289 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
20291         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20292         directory if CLASSPATH is not set.
20294 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
20296         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20297         New defconst.
20298         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
20300 2009-08-02  Kevin Ryde  <user42@zip.com.au>
20302         * net/newst-backend.el (newsticker--raw-url-list-defaults):
20303         Update freshmeat link.  Delete newsforge.com as it seems gone.
20305 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20307         * select.el (x-set-selection): Doc fix (Bug#4021).
20309         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20311         * help-fns.el (describe-variable): Treat list return values from
20312         dir-locals-find-file properly (Bug#4005).
20314 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
20316         * net/tramp.el (tramp-debug-message): Print also microseconds.
20318 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
20320         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20321         or END is non-nil.
20322         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20323         (tramp-get-debug-buffer): Change `outline-regexp' according to new
20324         format.
20326         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20327         (tramp-get-file-property): Use it.
20329         * autorevert.el (auto-revert-handler):
20330         Allow `auto-revert-tail-mode' for remote files.
20332 2009-08-02  Jason Rumney  <jasonr@gnu.org>
20334         * minibuffer.el (read-file-name): Treat confirm options to
20335         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
20337 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20339         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20340         (font-lock-variable-name-face, font-lock-constant-face):
20341         Darken the colors for light backgrounds.
20343 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
20345         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20346         month names.  (Bug#3987)
20348 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
20350         * simple.el (line-move-finish): Pass whole number to
20351         line-move-to-column.
20352         (line-move-visual): Perform hscroll to the recorded position.
20354 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
20356         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20358 2009-07-29  Alan Mackenzie  <acm@muc.de>
20360         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20362 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
20364         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20365         (gdb-place-breakpoints): Use full path when setting breakpoints.
20367 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
20369         * calc/calc.el (calc-mode-map): Add keybinding for
20370         `calc-transpose-lines'.
20372 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
20374         * calc/calc-misc.el (calc-transpose-lines): New function.
20376 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
20378         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20379         Simplify check for out-of-band methods.
20380         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20381         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
20383 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
20385         * vc-git.el (vc-git-checkin): Fix typo.
20387 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
20389         * progmodes/js2-mode.el: New file.
20391 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
20393         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20394         (gud-menu-map): Adjust tooltip accordingly.
20396 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
20398         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20399         (vc-bzr-log-view-mode): Adjust log-view-file-re.
20401         * add-log.el (change-log-mode-map): Add a menu.
20403 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
20405         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20406         function returns nil.
20407         (dbus-handle-event): Handle special return value :ignore.
20408         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20410 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
20412         * view.el (view-mode-enable): Don't define Helper-return-blurb if
20413         it's not needed.
20415 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
20417         Fix Bug#3888:
20419         * w32-vars.el (x-select-enable-clipboard): Doc fix.
20421         * term/pc-win.el (x-display-name, x-colors)
20422         (x-select-enable-clipboard, x-select-text): Doc fix.
20424         * term/common-win.el (x-display-name, x-colors): Doc fix.
20426         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20427         (xw-defined-colors): Doc fix.
20429         * w32-fns.el (x-select-text, x-setup-function-keys)
20430         (x-get-selection, x-set-selection): Doc fix.
20432         * term/x-win.el (x-select-text, x-setup-function-keys)
20433         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20435         * select.el (x-set-selection): Doc fix.
20437 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
20439         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20440         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
20441         "IsNSSSupportAvailable" method is not available.
20442         Reported by Steve Youngs <steve@sxemacs.org>.
20444 2009-07-24  Kenichi Handa  <handa@m17n.org>
20446         * international/characters.el: Fix setting of category ?C, ?|, ?K,
20447         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
20448         (build-unicode-category-table): Fix range checks.
20450 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
20452         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20453         the buffer we try to sync is current when calling
20454         vc-resynch-buffer.
20456         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20457         not show up to date files.
20459 2009-07-24  Glenn Morris  <rgm@gnu.org>
20461         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20462         Add autoload cookies.  If necessary, initialize.
20463         (elint-log): Handle non-file buffers.
20464         (elint-initialize): Add optional argument to reinitialize.
20465         (elint-find-builtin-variables): Save excursion.
20467 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
20469         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20470         for Lint.
20472 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
20474         * vc.el (vc-print-log-internal): New function, split out from ...
20475         (vc-print-log): ... here.
20476         (vc-dir-move-to-goal-column): Declare.
20478         * vc-git.el (vc-git-add-signoff): New variable.
20479         (vc-git-checkin): Use it.
20480         (vc-git-toggle-signoff): New function.
20481         (vc-git-extra-menu-map): Bind it to menu.
20482         (vc-git--run-command-string): Accept a nil FILE argument.
20483         (vc-git-stash-list): New function.
20484         (vc-git-dir-extra-headers): Use it.
20486 2009-07-23  Glenn Morris  <rgm@gnu.org>
20488         * help-fns.el (describe-variable): Describe ignored and risky local
20489         variables in a similar way to that in which we describe safe ones.
20491         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20492         (byte-compile-output-file-form, byte-compile-output-docform)
20493         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20494         Give some more local variables with common names a "bytecomp-" prefix,
20495         so as not to shadow things during compilation.
20496         * emacs-lisp/cl-macs.el (load-time-value)
20497         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20498         `outbuffer' to `bytecomp-outbuffer'.
20500         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20501         since the next two variables cover them automatically now.
20502         (elint-builtin-variables, elint-autoloaded-variables): New.
20503         (elint-unknown-builtin-args): Remove all members, since they can be
20504         parsed automatically now.
20505         (elint-extra-errors): New.
20506         (elint-env-add-env, elint-env-add-macro): Use cadr.
20507         (elint-current-buffer): Use or.  Change final message.
20508         (elint-get-top-forms): Use line-end-position.
20509         (elint-init-env): Use cadr.  Handle autoload, declare-function,
20510         and defalias.
20511         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
20512         (regexp-assoc): Remove unused function.
20513         (elint-top-form): Set elint-current-pos, to record the start of the
20514         top-level form, for compilation-mode.
20515         (elint-form): Trap errors in macro expansion.  Use dolist.
20516         (elint-unbound-variable): Use elint-builtin-variables and
20517         elint-autoloaded-variables.
20518         (elint-get-args): Use cadr, or.
20519         (elint-check-cond-form): Use dolist, cadr.
20520         (elint-check-condition-case-form): Doc fix.  Use cadr.
20521         Use elint-extra-errors.
20522         (elint-log): New function.
20523         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20524         Distinguish errors and warnings.
20525         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
20526         Use a bytecomp-style format.
20527         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
20528         (elint-get-log-buffer): Use compilation mode.  Disable undo.
20529         Don't truncate lines.
20530         (elint-initialize): Set builtin and autoloaded variable lists.
20531         Only process elint-unknown-builtin-args if non-nil.
20532         (elint-find-builtin-variables, elint-find-autoloaded-variables):
20533         New functions.
20534         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
20536 2009-07-22  Kevin Ryde  <user42@zip.com.au>
20538         * net/newst-backend.el (newsticker--parse-atom-1.0)
20539         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20540         (newsticker--parse-rss-1.0):
20541         * progmodes/idlwave.el (idlwave-mode):
20542         * progmodes/idlw-shell.el (idlwave-shell-mode):
20543         * progmodes/vera-mode.el (vera-mode):
20544         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20545         * progmodes/vhdl-mode.el (vhdl-mode):
20546         * textmodes/table.el (table-generate-source)
20547         (table--warn-incompatibility):
20548         Hyperlink urls in docstrings with URL `...'.
20550 2009-07-22  Glenn Morris  <rgm@gnu.org>
20552         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20553         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20554         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20555         Remove leading * from defcustom docs.
20557         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
20559         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20560         defcustom doc.
20561         (list-load-path-shadows): Optionally, just return shadows as a string.
20563         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20565 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
20567         * mail/rmailedit.el (rmail-edit-mode):
20568         Use auto-save-include-big-deletions.
20570         * mail/rmail.el (rmail-variables):
20571         Use auto-save-include-big-deletions.
20573         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20574         changes.
20576 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
20578         * calc/calc.el (calc-undo-length): New variable.
20579         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20581 2009-07-21  Richard Stallman  <rms@gnu.org>
20583         * files.el (auto-save-mode): Handle buffer-save-size = -2
20584         for toggling mode.
20586 2009-07-21  Glenn Morris  <rgm@gnu.org>
20588         * textmodes/ispell.el (ispell-looking-back): Update declaration.
20590         * calendar/todo-mode.el (calendar-current-date): Update declaration.
20592         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20593         silence compiler.  Instead...
20594         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20595         (ps-print-ensure-fontified): Update for above function name changes.
20597         * printing.el (pr-mh-get-msg-num, pr-mh-show)
20598         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20599         silence compiler.  Instead...
20600         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20601         (mh-show-buffer): Only define for compiler.
20602         (pr-mh-current-message): Update for above function name changes.
20604         * files.el (abort-if-file-too-large): Explicitly pass `filename'
20605         as an argument.
20606         (find-file-noselect, insert-file-1): Update for above change.
20608         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20610         * mail/mailclient.el (mailclient-send-it): Fix message.
20612         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20613         (edebug-eval): Check cl-debug-env is bound.
20614         (print-level, print-circle): Don't redefine built-in variables.
20616         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20617         (custom-print-vectors): Remove old comments from doc.
20619         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20620         (emerge-version): Make the variable an obsolete alias for the
20621         emacs-version variable.  Make the function obsolete.
20622         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20623         Emerge options, rather than merging in into the main Options menu.
20624         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
20625         and auto advance modes.  Disable edit/fast items when not relevant.
20627 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
20629         * term/vt420.el (terminal-init-vt420): Fix typo.
20631 2009-07-20  Sam Steingold  <sds@gnu.org>
20633         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20634         variable (removed from compile.el on 2004-03-11).
20636 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
20638         * files.el (hack-local-variables-filter): Fix last change.
20640 2009-07-19  Juri Linkov  <juri@jurta.org>
20642         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20643         (dir-local-variables-alist): New buffer-local variable.
20644         (hack-local-variables-filter): If variable is not dir-local,
20645         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20646         because file-local overrides dir-local.
20647         (c-postprocess-file-styles) <declare-function>:
20648         Remove obsolete declaration.
20649         (hack-dir-local-variables): Add dir-local variable/value pair to
20650         `dir-local-variables-alist' and remove duplicates.  Doc fix.
20652         * help-fns.el (describe-variable): Add information about
20653         file-local and dir-local variables.
20655 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
20657         * files.el (hack-local-variables-filter): Rewrite.
20659 2009-07-19  Glenn Morris  <rgm@gnu.org>
20661         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20662         Silence compiler by only defining on XEmacs.
20664         * international/mule.el (auto-coding-regexp-alist): Only match
20665         BABYL... at the start of buffer, not of lines.  (Bug#3790)
20667         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20668         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
20669         (cal-menu-context-mouse-menu): Doc fix.
20671         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20673         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
20675 2009-07-18  Juri Linkov  <juri@jurta.org>
20677         * info.el: Virtual Info keyword finder.
20678         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20679         (Info-finder-file): New variable.
20680         (Info-finder-find-file): New function.
20681         (finder-known-keywords, finder-package-info)
20682         (find-library-name, lm-commentary): Use defvar and
20683         declare-function to silence compiler warnings.
20684         (Info-finder-find-node): New function.
20685         (info-finder): New command.
20687         * subr.el (process-kill-buffer-query-function): New function.
20688         (add-hook)<kill-buffer-query-functions>: Add hook
20689         `process-kill-buffer-query-function'.
20691 2009-07-18  Alan Mackenzie  <acm@muc.de>
20693         * progmodes/cc-mode.el (c-before-hack-hook)
20694         (c-postprocess-file-styles): Give invocation of `c-set-style'
20695         DONT-OVERRIDE parameter of t.  Already set style variables will
20696         thus not be overridden by style settings given by `c-file-syle'.
20698         * files.el (hack-local-variables-filter): Remove entries with
20699         duplicate keys from `file-local-variables-alist'.
20701 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20703         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20704         x-set-selection if display-selections-p returns nil for the
20705         current frame.
20707 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
20709         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20711 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20713         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20714         Accept nil in addition to a regexp.
20715         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20716         Accept nil in addition to a regexp.
20717         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20718         buffers that have an associated file.  Handle nil values of
20719         desktop-buffers-not-to-save and desktop-files-not-to-save.
20720         (Bug#3833)
20722         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20723         (x-disown-selection-internal): New functions.
20725 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
20727         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20728         warning.
20729         (gdb-breakpoints-header): Move forward to avoid compiler warning.
20730         (gdb-make-header-line-mouse-map): Remove duplicate definition.
20732 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
20734         * simple.el (set-mark): Revert last change.
20736 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
20738         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20739         rendering of pngs is not possible instead of messaging a long
20740         description.
20742 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
20744         * w32-fns.el (x-selection-owner-p): New function.
20746         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20747         (mouse-yank-at-click, mouse-yank-primary):
20748         If select-active-regions is non-nil, deactivate the mark before
20749         insertion.
20751         * simple.el (deactivate-mark, set-mark): Only save selection if we
20752         own it.
20754 2009-07-17  Kenichi Handa  <handa@m17n.org>
20756         * case-table.el (describe-buffer-case-table): Fix for the case
20757         that KEY is a cons.
20759 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
20761         * vc-rcs.el (vc-rcs-find-file-hook):
20762         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20764 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
20766         * net/tramp.el (tramp-wait-for-output): Handle the case when
20767         commands do not return a newline but a null byte before the shell
20768         prompt.  (Bug#3858)
20770 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20772         * term/ns-win.el (ns-set-alpha): Don't declare.
20773         (ns-set-background-alpha): Remove function.
20775 2009-07-16  Kevin Ryde  <user42@zip.com.au>
20777         * emacs-lisp/copyright.el (copyright-update): Save match-data across
20778         y-or-n-p, for safety.
20780 2009-07-16  Richard Stallman  <rms@gnu.org>
20782         * files.el (auto-save-mode): If buffer-saved-size is -2,
20783         don't clobber it.
20785         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20786         (rmail-retry-ignored-headers): Add more uninteresting fields.
20788 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
20790         * net/rcirc.el (rcirc): Use history variables.
20791         (rcirc-server-name-history, rcirc-nick-name-history)
20792         (rcirc-server-port-history): New variables.
20794 2009-07-15  Kenichi Handa  <handa@m17n.org>
20796         * international/mule-cmds.el (set-language-environment-charset):
20797         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20798         ignore them.
20800         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20801         Delete unibyte-display.
20803 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20805         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20807 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20809         * simple.el (deactivate-mark): Optional argument FORCE.
20810         (set-mark): Use deactivate-mark.
20812         * info.el (Info-search): No need to check transient-mark-mode
20813         before calling deactivate-mark.
20815         * select.el (x-set-selection): Doc fix.
20816         (x-valid-simple-selection-p): Allow buffer values.
20817         (xselect--selection-bounds): Handle buffer values.
20818         Suggested by David De La Harpe Golden.
20820         * mouse.el (mouse-set-region, mouse-drag-track):
20821         Call copy-region-as-kill before setting the mark, to let
20822         select-active-regions work.
20824 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
20826         * simple.el (deactivate-mark): If select-active-regions is
20827         non-nil, copy the selection data into a string.
20828         (activate-mark): If select-active-regions is non-nil, set the
20829         selection to the current buffer.
20830         (set-mark): Update selection if select-active-regions is non-nil.
20832         * select.el (x-valid-simple-selection-p): Allow buffer values.
20834 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20836         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20837         and more featureful message-mode.
20839 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
20841         * select.el (x-set-selection): Doc fix.
20842         (x-valid-simple-selection-p): Disallow selection data consisting
20843         of a list or cons of integers, since that is not used.
20844         (xselect--selection-bounds, xselect--int-to-cons): New functions.
20845         (xselect-convert-to-string, xselect-convert-to-length)
20846         (xselect-convert-to-filename, xselect-convert-to-charpos)
20847         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20849 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
20851         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20852         output in -break-info command (Emacs bug #3794).
20854 2009-07-14  Glenn Morris  <rgm@gnu.org>
20856         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20857         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20858         (edebug-print-length, edebug-print-level, edebug-print-circle)
20859         (edebug-sit-for-seconds, edebug-view-outside)
20860         (edebug-bounce-point, edebug-set-global-break-condition)
20861         (edebug-Go-nonstop-mode, edebug-trace-mode)
20862         (edebug-Trace-fast-mode, edebug-continue-mode)
20863         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20864         (edebug-visit-eval-list): Doc fixes.
20866         * subr.el (def-edebug-spec): Doc fix.
20868 2009-07-14  Kenichi Handa  <handa@m17n.org>
20870         * international/characters.el: Fix setting of category ?C.
20872 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
20874         * term/ns-win.el (x-select-font): defalias x-select-font to
20875         ns-popup-font-panel instead of generate-fontset-menu.
20877 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
20879         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
20881 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
20883         * arc-mode.el (archive-find-type): Allow for a PK00 string before
20884         the PK\003\004 header (Bug#3770).
20886 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
20888         * pcomplete.el (pcomplete-comint-setup): Check for
20889         shell-dynamic-complete-filename too.
20891 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
20893         * simple.el (temporary-goal-column): Change the value for
20894         line-move-visual to a cons cell.
20895         (line-move-visual): Record or set the window hscroll, if
20896         necessary (Bug#3494).
20897         (line-move-1): Handle cons value of temporary-goal-column.
20899 2009-07-11  Kenichi Handa  <handa@m17n.org>
20901         * international/mule-diag.el (describe-character-set): Don't show
20902         width.
20904 2009-07-10  Sam Steingold  <sds@gnu.org>
20906         * progmodes/compile.el (compilation-mode-font-lock-keywords):
20907         Omake sometimes indents the errors it prints, so allow all
20908         regexps to start with spaces.
20910 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
20912         * cus-edit.el (customize-changed-options-previous-release):
20913         Bump value to 22.1.  (Bug#3804)
20915 2009-07-08  Sam Steingold  <sds@gnu.org>
20917         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20918         to be a cons cell (test . ignored-directory) to selectively ignore
20919         some directories depending on the location of the search.
20921 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
20923         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20924         remote user is root, on the local host.
20925         (tramp-local-host-p): Either the local user or the remote user
20926         must be root.  (Bug#3771)
20928 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20930         * progmodes/gdb-mi.el (gdb): Remove description of
20931         gdb-use-separate-io-buffer.
20932         (menu): Don't allow toggling of or enable
20933         gdb-use-separate-io-buffer from menubar.
20935 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20937         * mail/unrmail.el (unrmail): Make sure the message ends with two
20938         newlines (Bug#3769).
20940 2009-07-08  Glenn Morris  <rgm@gnu.org>
20942         * calendar/calendar.el (calendar-current-date): Rework previous change.
20944 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
20946         * calendar/calendar.el (calendar-current-date):
20947         Add an optional argument giving an offset from today.
20949 2009-07-08  Glenn Morris  <rgm@gnu.org>
20951         * tutorial.el (tutorial--describe-nonstandard-key):
20952         Adjust the message for when a key has been unbound.
20953         (help-with-tutorial): Hide the arch-tag.
20955 2009-07-08  Kenichi Handa  <handa@m17n.org>
20957         * international/fontset.el (setup-default-fontset): For each
20958         script, append (not set) font-specs.
20960         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20961         docstring.
20963 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20965         * progmodes/gdb-mi.el (gdb-init-1): Move sending
20966         -data-list-register-names to ...
20967         (gdb-starting): ... here because GDB 7.0 requires execution to
20968         have started when using this MI command.
20969         (gdb-set-header): New function to distinguish select and
20970         unselected tabs in gdb buffers.
20971         (gdb-propertize-header): New macro that uses gdb-set-header.
20972         (gdb-breakpoints-header, gdb-locals-header): Use it.
20973         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20975 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
20977         * Makefile.in (ELCFILES): Remove fadr.elc.
20979 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
20981         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20982         may contain frame information, so `string-match' should be used.
20983         (gdb-update): Disassembly is invalidated through
20984         `gdb-get-selected-frame'.
20985         (gdb-pad-string): New function to pad string with spaces.
20986         (gdb-invalidate-disassembly): Invalidate only if the buffer
20987         exists.
20988         (gdb-disassembly-handler-custom): Column alignment.
20989         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20990         placing new ones.
20991         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20992         end of line, too.
20993         (gdb-frame-handler): Match convention to for disassembly buffer
20994         mode name.
20995         (gdb-stack-list-frames-handler): Rewritten without regexps.
20996         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20997         not highlight breakpoints without line information.
20998         (gdb-input): Add trailing newline to command.
21000         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21001         buffer properly.
21002         (gdb-breakpoints-list-handler-custom): Replacement for
21003         `gdb-break-list-handler'.  Using real parser instead of regexps
21004         now.
21005         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21006         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21007         to place breakpoints.
21008         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21009         functions.
21010         (gdb-disassembly-handler-custom): Show overlay arrow.
21011         (gdb-disassembly-place-breakpoints): Show breakpoints in
21012         disassembly buffer.
21013         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21014         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21015         instead of parsing breakpoints buffer.  Fixed old menu references
21016         in `gud-menu-map'.
21018         * fadr.el: Remove.
21020         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21021         (gdb-memory-address): New variable which holds top address of
21022         memory page shown in memory buffer.
21023         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21024         New customization variables.
21025         New functions:
21026         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21027         display the memory buffer.
21028         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21029         buffer display parameters.
21030         (def-gdb-memory-format, gdb-memory-format-binary)
21031         (gdb-memory-format-octal, gdb-memory-format-unsigned)
21032         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21033         Functions for setting memory buffer format.
21034         (gdb-memory-unit-word, gdb-memory-unit-halfword)
21035         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21036         unit size used in memory buffer.
21037         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21038         Switch to next/previous page of memory buffer.
21039         Now using (bindat-get-field) instead of fadr functions.
21041 2009-07-07  Sam Steingold  <sds@gnu.org>
21043         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21044         non-top-level files.
21046 2009-07-07  Kenichi Handa  <handa@m17n.org>
21048         * international/mule-cmds.el (reset-language-environment):
21049         Put the highset priority to the charset iso-8859-1.
21051 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21053         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21054         to the end of the line when locating the block (Bug#700).
21056 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
21058         * net/tramp.el (tramp-handle-write-region): Flush file properties
21059         in case of short track.
21061 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
21063         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21064         Coded custom representation of verilog error regular expressions
21065         to work with Emacs-22's new format.
21066         (verilog-error-regexp-xemacs-alist): Coded custom representation
21067         of verilog error regular expressions to work with XEmacs format.
21068         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21069         error recognition into XEmacs.
21070         (verilog-error-regexp-add-emacs): Hook routine to install verilog
21071         error recognition into Emacs-22.
21073 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21075         * woman.el: Remove stand-alone closing parentheses.
21076         (woman-file-name, woman2-format-paragraphs)
21077         (woman-leave-blank-lines): Code cleanup.
21078         (woman-use-own-frame): Change default to nil.
21079         (woman-italic, woman-bold, woman-unknown, woman-addition):
21080         Change defaults to inherit from default faces.
21081         (woman2-process-escapes): Consume the newline after a stand-alone
21082         filler character (Bug#3651).
21084 2009-07-06  Glenn Morris  <rgm@gnu.org>
21086         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21087         (top-level): Move provide to the end.
21088         (ffap): Remove defunct URL from custom group.
21090         * subr.el (eval-after-load): Doc fix.
21092 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
21094         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21095         `calc-embedded-word' is called twice.
21097 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21099         * files.el (find-alternate-file-other-window, find-alternate-file):
21100         Obey confirm-nonexistent-file-or-buffer.
21102 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
21104         * dired-aux.el (dired-show-file-type): Handle remote files.
21106 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
21108         * desktop.el (desktop-globals-to-save):
21109         Add file-name-history (Bug#2750).
21111 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
21113         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21115 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
21117         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21118         property on entire argument since this is what eshell-lisp-command
21119         expects.
21121 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
21123         * net/tramp-gvfs.el (tramp-gvfs-methods)
21124         (tramp-gvfs-zeroconf-domain)
21125         (tramp-bluez-discover-devices-timeout): Add version flag.
21126         (tramp-gvfs-handler-mounted-unmounted)
21127         (tramp-gvfs-connection-mounted-p): Polish handling of
21128         incompatibilities between GVFS 0.2 and 1.0.
21130 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
21132         * cus-start.el (all): Add make-pointer-invisible.
21134 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
21136         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21137         formatted correctly.
21139 2009-07-02  Juri Linkov  <juri@jurta.org>
21141         * info.el: Virtual Info files and nodes.
21142         (Info-virtual-files, Info-virtual-nodes): New variables.
21143         (Info-current-node-virtual): New variable.
21144         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21145         New functions.
21146         (Info-file-supports-index-cookies): Use Info-virtual-file-p
21147         to check for a virtual file instead of checking a fixed list
21148         of node names.
21149         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21150         instead of ad-hoc processing of "dir" and (apropos history toc).
21151         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21152         instead of ad-hoc processing of "dir" and (apropos history toc).
21153         Reread a file when moving from a virtual node.
21154         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21155         (Info-directory-toc-nodes, Info-directory-find-file)
21156         (Info-directory-find-node): New functions.
21157         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21158         (Info-history): Move part of code to
21159         `Info-history-find-node'.
21160         (Info-history-toc-nodes, Info-history-find-file)
21161         (Info-history-find-node): New functions.
21162         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21163         (Info-toc): Move part of code to `Info-toc-find-node'.
21164         (Info-toc-find-node): New function.
21165         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
21166         the current Info file name to references because now the node
21167         "*TOC*" belongs to the same Info manual.
21168         (Info-toc-build): Rename from `Info-build-toc'.
21169         (Info-toc-nodes): Rename input argument `file' to `filename'.
21170         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21171         instead of ad-hoc processing of ("dir" apropos history toc).
21172         (Info-index-nodes): Use Info-virtual-file-p
21173         to check for a virtual file instead of checking a fixed list
21174         of node names.
21175         (Info-index-node): Add check for `Info-current-node-virtual'.
21176         Raise `save-match-data' higher up the tree to contain
21177         `search-forward' too (bug fix).
21178         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21179         (Info-virtual-index-nodes): New variable.
21180         (Info-virtual-index-find-node, Info-virtual-index): New functions.
21181         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21182         (Info-apropos-file, Info-apropos-nodes): New variables.
21183         (Info-apropos-toc-nodes, Info-apropos-find-file)
21184         (Info-apropos-find-node, Info-apropos-matches): New functions.
21185         (info-apropos): Move part of code to `Info-apropos-find-node' and
21186         `Info-apropos-matches'.
21187         (Info-mode-map): Bind "I" to `Info-virtual-index'.
21188         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21189         for a virtual file instead of checking a fixed list of node names.
21191         * simple.el (async-shell-command): New command.
21193         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21195         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21196         instead of `mount-info'.
21198 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
21200         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21201         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21203 2009-07-02  Kenichi Handa  <handa@m17n.org>
21205         * international/mule.el (set-keyboard-coding-system): Force *-unix
21206         coding-system to avoid eol conversion.
21208 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
21210         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21211         Add handler for `process-file', `shell-command' and
21212         `start-file-process'.
21213         (tramp-gvfs-handle-shell-command)
21214         (tramp-gvfs-handle-start-file-process)
21215         (tramp-gvfs-handle-process-file): New defuns.
21216         (tramp-synce-list-devices): Simplify check for existence of property.
21218 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
21220         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21222 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
21224         * language/korean.el (set-language-info-alist): Add korean-cp949,
21225         cp949 to spec.
21227 2009-07-01  Kenichi Handa  <handa@m17n.org>
21229         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21231         * international/encoded-kb.el: Deleted.
21233         * international/mule.el (set-keyboard-coding-system): Perform the
21234         necessary setup here instead of calling encoded-kbd-setup-display.
21236 2009-07-01  Glenn Morris  <rgm@gnu.org>
21238         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21240 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
21242         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
21244 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
21246         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21247         Handle also the 'rename case, when setting file modes.  (Bug#3712)
21248         (tramp-default-file-modes): Remove execute permissions.
21250         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21251         (top): Add a default for "synce" in `tramp-default-user-alist'.
21252         Add completion function for "synce" method.
21253         (tramp-hal-service, tramp-hal-path-manager)
21254         (tramp-hal-interface-manager, tramp-hal-interface-device):
21255         New defconst.
21256         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21257         (tramp-synce-list-devices, tramp-synce-parse-device-names):
21258         New defuns.
21260         * net/trampver.el: Update release number.
21262 2009-06-30  Kenichi Handa  <handa@m17n.org>
21264         * international/fontset.el (setup-default-fontset): Add CJK fonts
21265         for symbols and the other miscellaneous characters.
21267         * language/korea-util.el (setup-korean-environment-internal):
21268         Make char-width-table suitable for Korean environments.
21269         (exit-korean-environment): Cancel above.
21271         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21272         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21273         setup-function to make char-width-table suitable for respective
21274         environments, and an exit-function to cancel that.
21276         * language/japan-util.el (setup-japanese-environment-internal):
21277         Call use-cjk-char-width-table with arg `ja_JP'.
21279         * international/characters.el (cjk-char-width-table): Delete it.
21280         (cjk-char-width-table-list): New variable.
21281         (use-cjk-char-width-table): New arg local-name.
21282         (use-default-char-width-table): Fix for the case that Emacs is
21283         already using the default char-width-table.
21285 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
21287         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21288         modes mandatory.  (Bug#3712)
21290 2009-06-29  Alan Mackenzie  <acm@muc.de>
21292         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21293         correction between the visible width of TABs and their number of bytes.
21295 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
21297         * server.el (server-buffer-done): Prevent kill-buffer from
21298         prompting by clearing the buffer modification flag (Bug#3696).
21300 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
21302         * progmodes/verilog-mode.el (verilog-beg-of-statement)
21303         (verilog-endcomment-reason-re): Support unique case and priority case.
21304         (verilog-basic-complete-re): Support localparam lineup.
21305         (verilog-beg-of-statement-1): Fix for robustness, unique case.
21306         (verilog-set-auto-endcomments): Fix for unique case, always_comb
21307         commenting.
21308         (verilog-leap-to-case-head): Now support *nested* unique &
21309         priority case statements.
21310         (verilog-auto-lineup): Make just declarations the default (as it
21311         had been).
21312         (verilog-leap-to-case-head): Support priority/unique case statements.
21313         (verilog-auto-lineup): Rework to give users radio buttons to
21314         select the various styles of automatic lineup.
21315         (verilog-error-regexp-alist): Rework to support the XEmacs style
21316         of error regular expressions from compilers, lint tools &
21317         simulators.  Note that GNU Emacs has made it impossible for a mode
21318         to load such things.
21319         (electric-verilog-terminate-line, verilog-indent-declaration)
21320         (verilog-auto-wiure): Rework for radio button selection of
21321         auto-lineup selection of specification of auto lineup.
21322         (verilog-beg-of-statement-1): Redesign to support proper operation
21323         in additional code, based on testing with auto-lineup.
21324         (verilog-calculate-indent, assignments & declarations)
21325         (verilog-backward-token): Enhance to support auto-lineup of
21326         assignments & declarations.
21327         (verilog-in-directive-p, verilog-at-struct-p): New function for
21328         easy test of whether we are.
21329         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21330         to support safe execution at almost anyline.
21331         (verilog-calc-1): Properly support indenting deep inside generate
21332         blocks.
21333         (verilog-init-font): Remove definition & use of verilog-init-font,
21334         as it is redundant with font-lock-defaults.
21335         (verilog-mode): Alter the definition of verilog-font-lock-defaults
21336         to avoid circular calls if syntax-ppss is a function (as is the
21337         case now in 22.x GNU Emacs) as that function would sometimes call
21338         itself, leading to (nearly) infinite recursion.
21339         (verilog-ovm-begin-re, verilog-ovm-end-re)
21340         (verilog-ovm-statement-re, verilog-leap-to-head)
21341         (verilog-backward-token): Add support for OVM macros.  Some are
21342         complete statements, and others open and close scopes like begin
21343         and end.
21344         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21345         (verilog-defun-level-generate-only-re): Really fix the defun-list
21346         compilation issue.
21347         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21348         coverpoint, constraint and cross statements.
21349         (verilog-defun-level-list, verilog-generate-defun-level-list)
21350         (verilog-all-defun-level-list): Redo these specifications - it is
21351         too hard to support eval-when compile aggregation of lists also
21352         built at when-compile time.
21353         (verilog-defun-level-list): Place defconsts of variables used in
21354         building regular expressions which are built in eval-when-compile
21355         bodies in the same eval-when-compile body to facilitate compile
21356         without load.
21357         (verilog-beg-block-re-ordered): Support indenting
21358         virtual/protected tasks and functions.
21359         (verilog-defun-level-list, verilog-in-generate-region-p)
21360         (verilog-backward-ws&directives, verilog-calc-1): Speed up
21361         indentation of some module items (generate items).
21362         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21363         across virtual/protected tasks and functions.
21365 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
21367         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21368         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
21369         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21370         in concatenations.  Reported by Yishay Belkind.
21371         (verilog-auto-ascii-enum): Support one-hot state machines in
21372         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
21373         (verilog-auto-inst, verilog-auto-inst-port): Include interface
21374         modport in AUTOINST and add vl-modport for users.
21375         Reported by David Rogoff.
21376         (verilog-auto-inout-module, verilog-auto-inst)
21377         (verilog-decls-get-interfaces, verilog-insert-definition)
21378         (verilog-insert-one-definition, verilog-read-decls)
21379         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21380         (verilog-sig-modport, verilog-signals-combine-bus)
21381         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21382         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21383         Suggested by David Rogoff.
21384         (verilog-repair-open-comma): Fix non-insertion of comma when
21385         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
21386         (verilog-make-width-expression): Simplify [A-1:0] expression
21387         widths to just {A{1'b0}}.
21388         (verilog-mode): Cleanup checkdoc warnings.
21389         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21390         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21391         inputs/outputs or data type.  Suggested by Vasu Kandadi.
21392         (next-error-last-buffer): Fix byte-compiler warning.
21393         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21394         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21395         or shell command text during AUTO expansion.  Suggested by Tad Truex.
21396         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21397         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21398         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21399         in AUTOINOUT.  Reported by Matthew Lovell.
21400         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21401         causing use of <= assignments.  Reported by Alex Reed.
21402         (verilog-read-decls): Fix triand, trior, wand, wor to be
21403         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
21404         (verilog-extended-complete-re): Support import "DPI-C" functions.
21405         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21406         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
21407         (verilog-insert-date, verilog-insert-year)
21408         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21409         Windows systems.  Reported by Michael Potts.
21410         (verilog-read-module-name): Fix AUTOINST when the child module
21411         declaration's name is a tick define.  Reported by Elliot Mednick.
21412         (verilog-read-decls): Fix V2K parameter bit subscripts getting
21413         passed to next parameter's definition.  Reported by Bruce T.
21414         (verilog-read-decls): Fix detecting "parameter int" when using
21415         AUTOINSTPARAM.  Reported by Bruce T.
21416         (verilog-goto-defun): Fix goto not finding modules unless first
21417         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
21418         (verilog-mode): Expand -f flag arguments on entry to mode so
21419         verilog-goto-defun will work.  Reported by Lawrence Butcher.
21420         (verilog-getopt): Expand environment variables in -f file
21421         arguments.  Suggested by Lawrence Butcher.
21422         (verilog-set-define): Fix "Symbol's value as variable is void"
21423         when reading enumerations.
21424         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21425         Suggested by Stephen Peltan.
21426         (verilog-read-defines): Fix reading of enumerations in include
21427         files.  Reported by Steve Peltan.
21429 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21431         * files.el (trash-directory): Fix defcustom type.
21433 2009-06-28  Juri Linkov  <juri@jurta.org>
21435         * help-fns.el (describe-function-1): Correctly locate adviced
21436         functions in hyperlink (Bug#2438).
21438 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
21440         * files.el (trash-directory): Change default to nil.
21441         (move-file-to-trash): If trash-directory is nil and
21442         system-move-file-to-trash is unbound, perform freedesktop-style
21443         trashing.
21445 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21447         * files.el (move-file-to-trash): Add freedesktop trash
21448         support (Bug#973).
21450 2009-06-28  Glenn Morris  <rgm@gnu.org>
21452         * autorevert.el (global-auto-revert-non-file-buffers)
21453         (global-auto-revert-mode): Doc fixes.
21455 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
21457         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21459 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
21461         * faces.el (x-handle-named-frame-geometry): Ensure that we have
21462         opened an X connection before calling x-get-resource (Bug#3194).
21464         * play/doctor.el: Remove reference to obsolete website.
21465         (make-doctor-variables): Correct grammar mistake (Bug#2633).
21467 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
21469         Remove find-file-not-found-hook VC method.  (Bug#2757)
21470         * vc-hooks.el (vc-file-not-found-hook)
21471         (vc-default-find-file-not-found-hook): Remove functions.
21472         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21473         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21474         * vc.el:
21475         * vc-hg.el:
21476         * vc-git.el: Do not mention find-file-not-found-hook VC method.
21478 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
21480         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21481         compatibility function for `looking-back'.
21483         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21484         Use `ispell-looking-back'.
21486 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
21488         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21489         rather than `filename'.
21491 2009-06-23  Miles Bader  <miles@gnu.org>
21493         * face-remap.el (text-scale-set): New function.
21495 2009-06-23  Glenn Morris  <rgm@gnu.org>
21497         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21499         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21501         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21503         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21505         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21506         Simplify Persian conditionals.
21508         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21509         variable `filename'.
21511         * comint.el (comint-insert-input): Doc fix.
21513         * Makefile.in (ELCFILES): Fix typo in previous change.
21515 2009-06-23  Miles Bader  <miles@gnu.org>
21517         * cus-start.el: Add entry for `recenter-redisplay'.
21519 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21521         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21522         Add an optional argument for the backend, use it instead of
21523         calling vc-backend.
21524         (vc-mode-line): Add an optional argument for the backend.
21525         Pass the backend to vc-state and vc-working-revision.  Move code for
21526         special handling for vc-state being a buffer to ...
21528         * vc-rcs.el (vc-rcs-find-file-hook):
21529         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
21531         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21532         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21533         vc-stay-local-p and vc-mode-line calls.
21535         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21536         (vc-cvs-diff, vc-cvs-annotate-command)
21537         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21538         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21539         vc-mode-line calls.
21541         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21542         direct comparison.
21543         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21544         backend when calling vc-mode-line.
21545         (vc-register): Do not create a closure for calling the vc register
21546         function, call it directly.
21548 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21550         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21551         to make it obvious item can be clicked.
21553         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21555 2009-06-23  Kenichi Handa  <handa@m17n.org>
21557         * language/korea-util.el (korean-key-bindings): Change the binding
21558         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
21559         same command.
21561 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
21563         Sync with Tramp 2.1.16.
21565         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21567         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
21568         when a loading of a package fails.  Completion function for rsync
21569         is `tramp-completion-function-alist-ssh'.
21570         (all): Replace all calls of `split-string' and
21571         `tramp-split-string' by `tramp-compat-split-string'.
21572         (tramp-default-method): Use `tramp-compat-process-running-p'.
21573         (tramp-default-proxies-alist): Allow also Lisp forms.
21574         (tramp-remote-path): Add choice "Private Directories".
21575         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21576         (tramp-domain-regexp): Allow also "-", "_" and ".".
21577         (tramp-end-of-output): Remove newlines, and add "$" at the end.
21578         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21579         (tramp-debug-message): Insert header line in debug buffer.
21580         (tramp-handle-directory-files-and-attributes-with-stat):
21581         Care about filenames with spaces, or starting with "-".
21582         (tramp-handle-dired-uncache): New defun.
21583         (tramp-handle-insert-directory): Don't flush the directory from
21584         cache, this is handled by `dired-uncache' now.
21585         (tramp-handle-insert-file-contents): Improve error handling.
21586         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21587         Quote `tramp-end-of-output'.
21588         (tramp-action-password): Improve trace message.
21589         (tramp-check-for-regexp): Both echoes must be present, before removing.
21590         (tramp-open-connection-setup-interactive-shell): Trace coding system.
21591         (tramp-compute-multi-hops): Eval cons cells of
21592         `tramp-default-proxies-alist'.
21593         (tramp-maybe-open-connection): Use the same command pattern for
21594         first hop and further hops.
21595         (tramp-wait-for-output): Remove handling of newlines.
21596         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21597         (tramp-split-string): Remove function.  It is handled in
21598         tramp-compat now.
21600         * net/tramp-cmds.el (tramp-bug):
21601         Recommend `tramp-cleanup-all-connections' in the bug mail.
21603         * net/tramp-compat.el (tramp-compat-split-string)
21604         (tramp-compat-process-running-p): New defuns.
21606         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21607         for `dired-uncache'.
21609         * net/tramp-gvfs.el: New package.
21611         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21612         Add handler for `dired-uncache'.
21613         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21615         * net/trampver.el: Update release number.  Make version check fit
21616         for SXEmacs 22.
21618 2009-06-22  Jim Meyering  <meyering@redhat.com>
21620         Automatically handle .xz suffix (XZ-compressed files), too.
21621         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21622         XZ is the successor to LZMA: <http://tukaani.org/xz/>
21624 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
21625             Nick Roberts  <nickrob@snap.net.nz>
21627         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21628         repository (http://sphinx.net.ru/hg/gdb-mi/).
21630 2009-06-22  Glenn Morris  <rgm@gnu.org>
21632         * files.el (dir-locals-collect-mode-variables): Allow for any number of
21633         `mode' and `eval' entries.  (Bug#3430)
21635         * Makefile.in (ELCFILES): Add fadr.elc.
21637         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21638         differing behavior of \n and ^ in strings.  (Bug#3385)
21640         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21642         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21643         property.
21644         (lisp-indent-function): Make it a defcustom.
21646 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
21648         * progmodes/gdb-ui.el: Replace with ...
21649         * progmodes/gdb-mi.el: ... this file.
21650         * progmodes/gud.el: Modify for gdb-mi.el.
21652 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
21654         * fadr.el: New file.
21656 See ChangeLog.14 for earlier changes.
21658 ;; Local Variables:
21659 ;; coding: utf-8
21660 ;; End:
21662   Copyright (C) 2009-2011  Free Software Foundation, Inc.
21664   This file is part of GNU Emacs.
21666   GNU Emacs is free software: you can redistribute it and/or modify
21667   it under the terms of the GNU General Public License as published by
21668   the Free Software Foundation, either version 3 of the License, or
21669   (at your option) any later version.
21671   GNU Emacs is distributed in the hope that it will be useful,
21672   but WITHOUT ANY WARRANTY; without even the implied warranty of
21673   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21674   GNU General Public License for more details.
21676   You should have received a copy of the GNU General Public License
21677   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.