* calc/calc-mtx.el (math-lud-pivot-check): New function.
[emacs.git] / lisp / ChangeLog
blob7e5d94f9703287f178861cfca7029f28ef6fc261
1 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
3         * calc/calc-mtx.el (math-lud-pivot-check): New function.
4         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
5         of potential pivots.
7 2011-01-31  Alan Mackenzie  <acm@muc.de>
9         * progmodes/cc-cmds.el (c-forward-over-illiterals): Continue
10         parsing if we encounter a naked # (Bug#7595).
11         (c-beginning-of-statement): Avoid loop in locating the beginning
12         of a macro.
14 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
16         * files.el (copy-directory): Fix arguments to recursive call.
18 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
20         * files.el (copy-directory): If destination is an existing
21         directory, copy into a subdirectory there.
23 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
25         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
26         files.
28 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
30         * image-dired.el (image-dired-mouse-display-image): No-op if no
31         file is found (Bug#7817).
33         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
35 2011-01-31  Kenichi Handa  <handa@m17n.org>
37         * international/quail.el (quail-keyboard-layout-alist): Remove
38         superfluous SPC for "pc105-uk" (bug#7927).
40 2011-01-31  Glenn Morris  <rgm@gnu.org>
42         * msb.el (msb-menu-bar-update-buffers): Update for changed
43         argument handling of menu-bar-select-frame.  (Bug#7902)
45 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
47         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
48         to the recursion depth (Bug#7722).
50 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
52         * term/ns-win.el (ns-find-file): Expand ns-input-file with
53         command-line-default-directory (Bug#7872).
55 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
57         * progmodes/compile.el (compilation--flush-directory-cache):
58         New function, extracted from compilation--remove-properties.
59         (compilation--remove-properties, compilation--parse-region): Use it.
60         (compilation--previous-directory): Handle one more case.
61         (compilation-enable-debug-messages): Remove.
62         (compilation-parse-errors, compilation--flush-parse): Just remove the
63         left over debug messages.
65 2011-01-31  Sam Steingold  <sds@gnu.org>
67         * progmodes/compile.el (compilation-enable-debug-messages):
68         Add a variable to make the parsing messages introduced in
69         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
70         (compilation-parse-errors, compilation--flush-parse): Use it.
72 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
74         * net/rcirc.el: New customizable nick completion format.
75         (rcirc-nick-completion-format): New defcustom.
76         (rcirc-complete): Use it.
78 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
80         * net/rcirc.el: Clean log filenames (Bug#7933).
81         (rcirc-log-write): Use convert-standard-filename.
82         (rcirc-log-filename-function): Documentation updates.
84 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
86         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
87         Check report-emacs-bug-can-use-osx-open and use that if t.
88         (report-emacs-bug-can-use-osx-open): New function.
89         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
90         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
92 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
94         * vc/vc-dispatcher.el (vc-set-async-update): New function for
95         updating Dired or VC-dir buffers after async command completes.
97         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
98         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
100         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
101         completions if it exists.  Use vc-set-async-update.
102         (vc-git-pull): Use vc-set-async-update.
104         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
105         read-shell-command.  Use vc-set-async-update.
106         (vc-hg-merge-branch): Use vc-set-async-update.
108 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
110         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
111         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
112         (Bug#7931).
114 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
116         * progmodes/compile.el: Avoid an N² behavior in grep.
117         (compilation--previous-directory): New fun.
118         (compilation--previous-directory-cache): New var.
119         (compilation--remove-properties): Flush it.
120         (compilation-directory-properties, compilation-error-properties):
121         Use the new fun to speed up looking for the current directory.
123 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
125         * vc/vc-hg.el (vc-hg-history): New var.
126         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
127         (vc-hg-merge-branch): New function.
129         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
130         the other way around.
132         * vc/vc-git.el (vc-git-branches, vc-git-pull)
133         (vc-git-merge-branch): New functions.
134         (vc-git-history): New var.
136 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
138         * vc/vc-dispatcher.el (vc-do-async-command): New function.
140         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
141         vc-do-async-command.
143         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
144         Callers changed.
146 2011-01-28  Leo  <sdl.web@gmail.com>
148         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
149         highlighting to the "this function is advised" message.
151         * help-mode.el (help-mode-finish): Apply highlighting here, to
152         avoid clobbering by substitute-command-keys (Bug#6304).
154 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
156         * woman.el (woman0-roff-buffer): Process roff escape sequences
157         occurring prior to the first request (Bug#7843).
159 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
161         * progmodes/compile.el: Don't use font-lock any more.
162         (compilation-error-regexp-alist-alist): Change handling of makepp
163         so it preserves the warning/error distinction on subsequent files.
164         Simplify various rules.
165         (compilation-directory-properties): Use font-lock-face.
166         Add a compilation-message property.
167         (compilation-internal-error-properties): Use font-lock-face.
168         Don't set the compilation-debug property here.
169         (compilation--put-prop, compilation--remove-properties)
170         (compilation--parse-region, compilation--ensure-parse)
171         (compilation--ensure-parse): New functions.
172         (compilation-parse-errors): New function, largely inspired of
173         compilation-mode-font-lock-keywords.  Set compilation-debug here.
174         (compilation--parsed): New var.
175         (compilation--flush-parse): Use compilation--ensure-parse.
176         (compilation-start): Don't call font-lock.
177         (compilation-turn-on-font-lock): Remove.
178         (compilation-setup): Don't set font-lock-extra-managed-props not change
179         other font-lock settings, other than keywords.
180         Don't activate font-lock-mode.
181         Set change-major-mode-hook and before-change-functions.
182         (compilation--unsetup): Remove properties and hooks.
183         (compilation-next-single-property-change): New function.
184         (compilation-next-error): Use it to parse when needed.
185         (compile-goto-error): Parse buffer as needed.
186         (compilation--compat-error-properties): Don't need a dummy `face'
187         property any more.
189 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
191         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
192         (compilation-process-setup-function): Fix docstring's false promises.
193         (compilation-error-regexp-alist-alist): Catch omake's continuous
194         recompilation message and avoid reuse of old markers.
195         (compilation-parse-errors-function): Declare obsolete.
196         (compilation-buffer-modtime): Remove.
197         (compilation--make-cdrloc, compilation--loc->col)
198         (compilation--loc->line, compilation--loc->file-struct)
199         (compilation--loc->marker, compilation--loc->visited)
200         (compilation--make-file-struct, compilation--file-struct->file-spec)
201         (compilation--file-struct->formats)
202         (compilation--file-struct->loc-tree): New macros.  Use them.
203         (compilation--message): New defstruct.  Use them.
204         (compilation-next-error-function): Don't mess with timestamps to try
205         and guess when to reparse.
207 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
209         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
210         (tex-old-error-file-name): New function,
211         extracted from tex-compilation-parse-errors.
212         (tex-compilation-parse-errors): Remove.
213         (tex-error-regexp-alist): New var.
214         (tex-shell): Use it to avoid compilation-parse-errors-function.
216         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
217         (grep-mode-font-lock-keywords): Remove regexp that seems like
218         a left-over from before we used compile.el.
219         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
220         modifying the buffer within with-silent-modifications.
222         * progmodes/compile.el: Cleanup text-properties namespace by using
223         `compilation-message' instead of `message', `compilation-directory'
224         instead of `directory', and `compilation-debug' instead of `debug'.
225         (compilation-last-buffer, compilation-parsing-end)
226         (compilation-error-list, compilation-old-error-list): Move to the
227         compatibility part of the code.
228         (compilation-error-properties): If `file' is a function, let it return
229         a file name.
230         (compilation-mode-font-lock-keywords): Be more conservative with the
231         omake "^ *" pattern prefix, to try and minimize the risk of
232         pathologically slow regexp matching.
233         (compilation-start): Use inhibit-read-only.
234         (compilation--unsetup): New function.
235         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
236         (compilation-filter): Minor tweaks.
237         (compilation-next-error-function): Try and avoid abusing variables.
238         (compilation--flush-file-structure): New fun.
239         (compilation-fake-loc): Use it to improve behavior when file is reused.
240         (debug-ignored-errors): Add "Moved past last ...".
241         (compilation--compat-error-properties)
242         (compilation--compat-parse-errors): Rename by doubling the "-".
244         Port features from the previous prolog.el to the new one.
245         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
246         (prolog-program-name, prolog-program-switches, prolog-consult-string)
247         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
248         variable and use a function to compute the value dynamically.
249         (prolog-prompt-regexp): Add regexp for GNU Prolog.
250         (prolog-continued-prompt-regexp): Remove, unused.
251         (prolog-find-value-by-system): Try and use the value of prolog-system
252         in the *prolog* buffer if it helps.
253         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
254         (prolog-zip-on): ..and check prolog-system and version here instead.
255         (prolog-inferior-self-insert-command): New command.
256         (prolog-inferior-mode-map): Use it.
257         (prolog-inferior-error-regexp-alist): New var.
258         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
259         (prolog-input-filter): Use derived-mode-p.
260         (prolog-inferior-guess-flavor): New function.
261         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
262         make-comint to avoid running comint-mode twice.
263         (prolog-inferior-buffer): New fun.
264         (prolog-old-process-region, prolog-old-process-file):
265         Don't call prolog-bsts here...
266         (prolog-build-prolog-command): ...do it here instead.
267         (prolog-old-process-region, prolog-old-process-file):
268         Use compilation-fake-loc and compilation-forget-errors.
269         (prolog-consult-compile-region): Use bolp.
271 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
273         * image-mode.el (image-display-size): Doc fix (Bug#7820).
275 2011-01-27  Sam Steingold  <sds@gnu.org>
277         * midnight.el (clean-buffer-list-kill-never-buffer-names):
278         Remove "*server*" which is never created by emacs server.
280 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
282         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
283         there are some diff switches.
285 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
287         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
288         Copy change made to ruby-font-lock-syntactic-keywords.
290         * htmlfontify.el: Make it obey the font-lock-face text property.
291         Miscellaneous cleanup such as:
292         - Don't hide expressions after a closing paren.
293         - Move initial setq into let.
294         - Hoist common parts out of ifs.
295         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
296         (hfy-face-at): Use get-text-property instead.
297         (hfy-prop-invisible-p): Use invisible-p if available.
298         (htmlfontify-manual): Use \\[...].
299         (hfy-html-quote-regex): Use [...].
300         (hfy-combined-face-spec): Simplify.
301         (hfy-compile-face-map): Don't presume point-min==1.
302         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
303         match end of string.
304         (hfy-text-p): η-reduce.
305         (hfy-tags-for-file): Receive cache-hash directly.
306         (hfy-mark-tag-names): Adjust call.
308 2011-01-27  Glenn Morris  <rgm@gnu.org>
310         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
311         (msb-after-load-hook): Remove eval-after-load wackiness.
313 2011-01-25  Sam Steingold  <sds@gnu.org>
315         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
316         literal "diff" (important for windows-nt).
318 2011-01-25  Glenn Morris  <rgm@gnu.org>
320         * emacs-lisp/copyright.el (copyright-at-end-flag)
321         (copyright-names-regexp): Add safety properties.
322         (copyright-year-ranges): New option.
323         (copyright-find-end): New function, split from copyright-update-year.
324         (copyright-update-year): Use copyright-find-end.
325         (copyright-fix-years): Optionally, convert years to ranges.
326         Handle years continued over comment lines.
327         Do not mess with the fill-prefix.
328         Do not call copyright-update.
329         (copyright-update-directory): Optionally, fix years rather than update.
330         Skip directories.  Find files with only safe local vars.
332 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
334         * files.el (file-name-non-special): Only change buffer-file-name after
335         insert-file-contents if it's `visit'ing the file (bug#7854).
337 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
339         * dired.el (dired-revert): Doc fix (Bug#7758).
341         * simple.el (line-move-visual): Doc fix (Bug#7594).
343 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
345         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
346         here-doc which ends with an underscore.
347         (ruby-mode-set-encoding): Skip shebang line always.
348         (ruby-mode-map): Bind C-c C-c to comment-region.
349         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
350         (ruby-forward-sexp): Stop after literal hash key labels.
351         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
352         bracket.
354 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
356         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
357         the correct buffer (Bug#7650).
359 2011-01-25  Glenn Morris  <rgm@gnu.org>
361         * comint.el (comint-mode): Doc fix.  (Bug#7897)
363         * simple.el (do-auto-fill): Give it a doc string.
365         * button.el (make-text-button): Doc fix.  (See bug#7881)
367 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
369         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
370         Don't move backward, so as not to fall in an inf-loop (bug#7736).
372         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
373         Handle ?" and friends differently (e.g. don't use backrefs).
375 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
377         * calc/calc.el (calc-default-power-reference-level)
378         (calc-default-field-reference-level): New variables.
379         * calc/calc-units.el (math-standard-units):  Add dB and Np.
380         (math-logunits): New variable.
381         (math-extract-logunits, math-logcombine, calcFunc-luplus)
382         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
383         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
384         New functions.
385         (math-find-base-units-rec): Add entry for ln(10).
386         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
387         (calc-ul-prefix-help): New function.
388         * calc/calc-ext.el (calc-init-extensions): Autoload new units
389         functions. Add keybindings for new units functions.
391 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
393         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
394         rcirc buffers.  (Bug#4940)
396 2011-01-22  Glenn Morris  <rgm@gnu.org>
398         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
399         split out from copyright-update-year.
400         (copyright-update): Don't mess with the GPL version if we don't own the
401         copyright.  Update license regexp, and remove no longer needed
402         Esperanto stuff.
403         (copyright-fix-years): Use copyright-find-copyright.
405 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
407         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
409 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
411         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
412         (lm): Rename to landmark.
413         (lm-test-run): Rename to landmark-test-run.
415 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
417         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
418         "Case sensitive" menu item.
420 2011-01-22  Roland McGrath  <roland@frob.com>
422         * comint.el (comint-replace-by-expanded-history-before-point): Fix
423         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
425 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
427         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
429 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
431         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
432         Assume foo(bar) is a manpage reference rather than some unquoted
433         symbol (bug#7705).
435 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
437         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
438         Suggested by Flo <sensorflo@gmail.com>.
440 2011-01-22  Glenn Morris  <rgm@gnu.org>
442         * progmodes/compile.el (compilation-error-regexp-alist):
443         Fix custom type.  (Bug#7812)
445 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
447         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
448         allout-number-siblings, in keeping with what obtained due to
449         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
450         (prefixed) ?i.
451         (allout-before-change-handler): Better expose spots affected by
452         undo.
454 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
456         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
458 2011-01-22  Phil Hagelberg  <phil@evri.com>
460         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
461         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
462         (pcmpl-ssh-config-hosts): New function.
463         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
464         pcmpl-ssh-known-hosts.
466 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
468         * calc/calc-undo.el (calc-undo): Autoload it.
469         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
470         and autoload for `calc-undo'.
471         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
472         * calc/calc-prog.el:
473         * calc/calc-graph.el:
474         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
476 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
478         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
479         keybindings to `calc-undo'.
481 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
483         Don't mess with *temp*.
484         * obsolete/spell.el: Move from textmodes/spell.el.
485         (spell-string):
486         * term.el (term-read-input-ring):
487         * startup.el (display-startup-echo-area-message):
488         * progmodes/antlr-mode.el (antlr-directory-dependencies):
489         * comint.el (comint-read-input-ring): Use with-temp-buffer.
490         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
491         point-min==1.
493 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
495         * allout.el: (allout-institute-keymap): Use fset instead of
496         reapplying defalias.
498         (allout-hotspot-key-handler): Check for non-control-modified
499         bindings for hotspot characters if there are no control-modified
500         versions.
502         * allout.el: Summary - migrate to defining allout mode using
503         define-minor-mode instead of defun.  Significantly clean-up
504         internal keymap provisions, refactoring and, in the process,
505         removing a lot of accumulated cruft.
507         allout-mode-map is now a keymap by virtue of being a defalias to
508         allout-mode-map-value, which contains the actual keymap structure.
510         (allout-mode): Use define-minor-mode rather than defun.
511         Remove now-unnecessary minor-mode setup activities from the body.
512         Specify :keymap as allout-mode-map so the minor-mode-map-alist
513         entry will be '(allout-mode . allout-mode-map) - see
514         allout-mode-map-value, below.  Adjust docstring to track changes.
515         (allout-minor-mode): Remove this defalias, now that we're using
516         define-minor-mode.
517         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
518         keymap is allout-mode-map-value, via defalias.
519         (allout-mode-map-value): The variable holding the actual mode
520         keymap structure, by virtue of defalias from allout-mode-map.
521         (allout-compose-and-institute-keymap): Rename from
522         allout-bind-keys, and including the binding-composition
523         functionality of the former produce-allout-mode-map and
524         allout-setup-mode-map.
525         (allout-institute-keymap): Take over the "setup" part of the former
526         allout-setup-mode-map.  Reassign allout-mode-map-value value and
527         update the defalias.
528         (allout-command-prefix) (allout-prefixed-keybindings)
529         (allout-unprefixed-keybindings):
530         Use allout-compose-and-institute-keymap to process the bindings.
531         (allout-unprefixed-keybindings): Remove extraneous '?' question
532         marks.
533         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
534         user can customize if they want to use that binding.
535         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
536         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
537         elided that, previously, instead of the one for \C-h.)
538         (allout-hotspot-key-handler): Remove attempt to resolve the key
539         through the literal key-string lookup on allout-keybindings-list.
540         That probably hasn't worked for a Long Time, and removal of
541         allout-keybindings-list further simplifies the keybindings
542         situation.
543         (allout-pre-command-business): Use allout-mode-map-value instead
544         of allout-mode-map.
545         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
546         the bindings if they want to use a keybinding having a trailing
547         \C-h.  No deprecation needed since this feature was never in a
548         release.
549         (allout-keybindings-list): Remove.  It's not been useful for a
550         while.  (See allout-hotspot-key-handler changes, above.)
551         (produce-allout-mode-map): Remove.  Consolidate into
552         allout-compose-and-institute-keymap.
553         (allout-mode-map-adjustments): Remove.  No longer necessary with
554         removal of allout-preempt-trailing-ctrl-h.
555         (allout-setup-mode-map): Remove.  Consolidate into
556         allout-compose-and-institute-keymap and allout-institute-keymap.
558 2011-01-20  Glenn Morris  <rgm@gnu.org>
560         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
562         * simple.el (read-expression-history): Remove, it's in minibuf.c.
564 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
566         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
568         * files.el (find-alternate-file, basic-save-buffer)
569         (basic-save-buffer-2, revert-buffer, recover-file)
570         (kill-buffer-ask, abort-if-file-too-large)
571         (set-visited-file-name, write-file, backup-buffer)
572         (basic-save-buffer, save-some-buffers):
573         * dired-aux.el (dired-compress-file): Callers changed.
575 2011-01-19  Glenn Morris  <rgm@gnu.org>
577         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
578         Also check the property status.  (Bug#7861)
580 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
582         * net/tramp.el (tramp-debug-message): Extend function exclude
583         list.  Use `regexp-opt'.
585 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
587         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
588         highlighting doesn't spill over subsequent lines.
590         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
591         keymap expression.  Improve docstring.
593         * electric.el (electric-indent-post-self-insert-function):
594         Don't auto-indent for indent-to-left-margin, it's too often
595         counter-productive.
597 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
599         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
600         spaces if the frame was resized, so that the full visible buffer
601         serves as canvas for strokes.
603 2011-01-16  Glenn Morris  <rgm@gnu.org>
605         * info-xref.el (info-xref-docstrings): Replace cl function.
606         Also skip directories.
608 2011-01-16  Kevin Ryde  <user42@zip.com.au>
610         * info-xref.el: Version 3.
611         (info-xref-check, info-xref-check-all): Move commentary details
612         into docstrings for better visibility.
613         Use compilation-mode for the results buffer.
614         (info-xref-output, info-xref-output-error, info-xref-with-output)
615         (info-xref-filename, info-xref-in-progress):
616         New internals for this.
617         (info-xref-check-list, info-xref-check-buffer)
618         (info-xref-check-all-custom): Use those.
619         (info-xref-output-buffer): Rename from info-xref-results-buffer.
620         (info-xref-output-heading): Rename from info-xref-filename-heading.
621         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
622         (info-xref-filename-heading): Move to output managing section.
623         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
624         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
625         (info-xref-subfile-p): Move to generic section with those two.
626         (info-xref-check-node): New function split from
627         info-xref-check-buffer, shared by info-xref-docstrings.
628         (info-xref-goto-node-p): Move to a checking section with that func.
629         (info-xref-unavail): New counter.
630         (info-xref-check-node): Use it.
631         (info-xref-with-output): Show count of unavailables at end of output.
632         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
633         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
634         (info-xref-check-all-custom): Fix quietening viper-mode and
635         gnus-registry-install -- use setq not let so as not to unbind
636         after load.
638 2011-01-16  Juri Linkov  <juri@jurta.org>
640         * isearch.el (isearch-abort): Don't quit if search has
641         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
643 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
645         * files.el (backup-buffer): Make last-resort backup file in
646         .emacs.d (Bug#6953).
648         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
649         make it with permission 700.
651 2011-01-15  Kenichi Handa  <handa@m17n.org>
653         * mail/rmailmm.el (rmail-mime-insert-header):
654         Set rmail-mime-coding-system to a cons whose car is the last coding
655         system used to decode the header.
656         (rmail-mime-find-header-encoding): New function.
657         (rmail-mime-insert-decoded-text):
658         Override rmail-mime-coding-system if it is a cons.
659         (rmail-show-mime): If only a header part was decoded, find the
660         coding system while ignoring mm-charset-override-alist.
662 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
664         * subr.el (event-start, event-end): Doc fix (Bug#7826).
666 2011-01-15  Kenichi Handa  <handa@m17n.org>
668         * mail/rmailmm.el (rmail-mime-next-item)
669         (rmail-mime-previous-item): Delete them.
670         (rmail-mime-shown-mode): Recursively call for children.
671         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
672         Callers changed.
673         (rmail-mime-raw-mode): Recursively call for children.
674         (rmail-mode-map): Change mapping of tab and backtab to
675         forward-button and backward-button respectively.
676         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
677         button.
678         (rmail-mime-update-tagline): New function.
679         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
680         body display is changed.
681         (rmail-mime-toggle-button): Rename from rmail-mime-image.
682         (rmail-mime-image): Delete this button type.
683         (rmail-mime-toggle): New button type.
684         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
685         body display is changed.  Change the save button label to "Save".
686         Don't process show/hide button here.
687         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
688         the body display is changed.  Unconditionally call
689         rmail-mime-insert for children.
690         (rmail-mime-handle): Update `display' vector of the just inserted
691         entity.
692         (rmail-mime-process): If mail-header-parse-content-type returns
693         nil, use "text/plain" as the fallback type.
694         (rmail-mime-insert): For raw-mode, recursively call
695         rmail-mim-insert for children.
696         (rmail-mime): Handle the case that the current buffer is not rmail
697         buffer (e.g. in summary buffer).
699 2011-01-15  Kenichi Handa  <handa@m17n.org>
701         * mail/rmailmm.el (rmail-mime-next-item)
702         (rmail-mime-previous-item): Skip the body of a non-multipart
703         entity if a tagline is shown.
705 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
707         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
708         (tmm-prompt): Simplify.
709         (tmm-add-prompt): Remove unused var `win'.
711         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
712         to minor mode which used nil accidentally to mean "turn off".
714 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
716         * net/tramp-sh.el (tramp-find-inline-compress)
717         (tramp-get-inline-coding): Quote command after pipe symbol for
718         local calls under W32.  (Bug#6784)
720 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
722         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
723         only when running under W32.
725 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
727         * progmodes/grep.el (grep-compute-defaults): Quote the program
728         file name after the pipe symbol in Grep templates.  (Bug#6784)
729         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
731 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
733         * buff-menu.el (Buffer-menu-buffer-list): New var.
734         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
735         restricted buffer list is not lost on revert (Bug#7749).
737 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
739         * net/ldap.el (ldap-search-internal): Discard stderr output.
741 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
743         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
745 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
747         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
749 2011-01-15  Kenichi Handa  <handa@m17n.org>
751         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
752         part as a plain text.
753         (rmail-mime-process-multipart): Set the default content-type to
754         nil for unknown multipart subtypes (bug#7651).
756 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
758         * hexl.el (hexl-mode-old-*): Remove.
759         (hexl-mode--old-var-vals): New var to replace them.
760         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
761         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
762         Use them to set local vars (bug#7846).
763         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
764         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
765         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
767         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
768         (smerge-resolve--normalize-re): New var.
769         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
770         (smerge-resolve): Use them.
771         * newcomment.el (comment-only-p): New function.
772         (comment-or-uncomment-region): Use it.
774 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
776         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
777         table, get the value before switching to the output buffer.  (Bug#7733)
779 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
781         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
783 2011-01-14  Kim F. Storm  <storm@cua.dk>
785         * emulation/cua-base.el (cua--init-keymaps):
786         Remap exchange-point-and-mark in cua-global-keymap.
788 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
790         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
791         loop keyword.
793 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
795         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
796         Require CL.
797         (easy-menu-create-menu, easy-menu-convert-item-1):
798         Use :label rather than nil for labels.  Use `case'.
799         Add :enable as alias for :active.
800         (easy-menu-binding): Obey :label.
802 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
804         Use run-mode-hooks for major mode hooks (bug#513).
805         * textmodes/reftex-toc.el (reftex-toc-mode-map):
806         Rename from reftex-toc-map.
807         (reftex-toc-mode): Use define-derived-mode.
808         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
809         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
810         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
811         (reftex-select-label-mode, reftex-select-bib-mode):
812         Use define-derived-mode.
813         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
814         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
815         Move init into delcaration.
816         (reftex-index-mode, reftex-index-phrases-mode):
817         Use define-derived-mode.
818         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
819         speedbar-syntax-table.  Move init into declaration.
820         (speedbar-mode-map): Rename from speedbar-key-map.
821         Move init into declaration.
822         (speedbar-file-key-map): Move init into declaration.
823         (speedbar-mode): Use define-derived-mode.
824         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
825         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
826         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
827         (chart-face-list): Move initialization into declaration.
828         (chart-mode): Use define-derived-mode.
829         * calculator.el (calculator-mode-map): Move init into declaration.
830         (calculator-mode): Use define-derived-mode.
832         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
833         work for nested comments.
835         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
836         (prolog-use-prolog-tokenizer-flag): Change default when
837         syntax-propertize can be used.
838         (prolog-syntax-propertize-function): New var.
839         (prolog-mode-variables): Move make-local-variable into `set'.
840         Don't make comment-column local since we don't set it.
841         Set comment-add (as it was in previous prolog.el).  Use dolist.
842         Set syntax-propertize-function.
843         (prolog-mode, prolog-inferior-mode):
844         Call prolog(-inferior)-menu directly, not through the mode-hook.
845         (prolog-buffer-module, prolog-indent-level)
846         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
847         (prolog-comment-limits, prolog-goto-comment-column):
848         Use line-(end|beginning)-position.
849         (prolog-build-prolog-command): Tighten up regexp.
850         (prolog-consult-compile): Move make-local-variable into `set'.
851         (prolog-consult-compile-filter, prolog-goto-next-paren)
852         (prolog-help-on-predicate, prolog-clause-info)
853         (prolog-mark-predicate): Don't let+setq.
854         (prolog-indent-line): Use indent-line-to.
855         Only call prolog-goto-comment-column if necessary.
856         (prolog-indent-level): Use bobp.
857         (prolog-first-pos-on-line): Remove, not used any more.
858         (prolog-in-string-or-comment): Use syntax-ppss if available.
859         (prolog-help-on-predicate): Use read-string.
860         (prolog-goto-predicate-info): Simplify.
861         (prolog-read-predicate): Use `default' rather than `initial'.
862         (prolog-temporary-file): Use make-temp-file to close a security hole.
863         (prolog-toggle-sicstus-sd): New command.
864         (prolog-electric-underscore, prolog-variables-to-anonymous):
865         Use dynamic-scoping as it was meant.
866         (prolog-menu): Move menu definitions to top-level.
867         Use a toggle-button for Sicstus's source debugger.
868         Change "Code" to the more usual "Prolog", and hence change "Prolog"
869         to "System".
870         (prolog-inferior-menu): Reuse prolog-menu's help menu.
871         Move other menu definition to top-level.
873 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
875         * doc-view.el (doc-view-open-text): Use meaningful text buffer
876         name.  Keep original document's directory as default-directory
877         (bug#6446).
878         (doc-view-initiate-display): Fall back to normal mode when
879         doc-view-mode cannot be enabled, also when extracting the document
880         text into a separate buffer (bug#6446).
882         * simple.el (shell-command): Don't error out if shell command
883         buffer contains text with non-nil read-only property when erasing
884         the buffer.
886 2011-01-13  Kim F. Storm  <storm@cua.dk>
888         * ido.el (ido-may-cache-directory): Move "too-big" check later.
889         (ido-next-match, ido-prev-match): Fix stray reordering of matching
890         items when cycling through the matches.
892 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
894         * dired-x.el (dired-omit-verbose): New defcustom that allows
895         disabling the omit messages.
896         (dired-omit-expunge): Use it.
898 2011-01-13  Christian Ohler  <ohler@gnu.org>
900         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
902 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
904         * font-lock.el (font-lock-verbose): Default to nil.
906 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
908         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
909         (compose-mail): New arg RETURN-ACTION.
910         (compose-mail-other-window, compose-mail-other-frame): Likewise.
912         * mail/sendmail.el (mail-return-action): New var.
913         (mail-mode): Make it buffer-local.
914         (mail-bury): Obey it.  Move special Rmail window handling to
915         rmail-mail-return.
916         (mail, mail-setup): New arg RETURN-ACTION.
917         (sendmail-user-agent-compose): Move from simple.el.
919         * mail/rmail.el (rmail-mail-return): New function.
920         (rmail-start-mail): Pass it to compose-mail.
922 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
924         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
925         menus.  Add menu item for customize-themes.
927         * cus-theme.el (customize-themes):
928         * emacs-lisp/package.el (package--list-packages):
929         Use switch-to-buffer.
931 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
933         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
935 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
937         * progmodes/prolog.el: Fix up coding convention and such.
938         (prolog-indent-width): Use the same default as in
939         previous prolog.el rather than tab-width which depends on which buffer
940         is current when the file is loaded.
941         (prolog-electric-newline-flag): Only enable if electric-indent-mode
942         is not available.
943         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
944         (prolog-known-systems): Remove.
945         (prolog-mode-syntax-table, prolog-inferior-mode-map):
946         Move initialization into declaration.
947         (prolog-mode-map): Move initialization into declaration.
948         Remove system-specific mode-map vars, since they referred to the same
949         keymap anyway.
950         (prolog-mode-variables): Obey the user's preference w.r.t
951         adaptive-fill-mode.  Prefer symbol-value to `eval'.
952         (prolog-mode-keybindings-edit): Add compatibility bindings.
953         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
954         (mercury-mode-map): New var.
955         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
956         (prolog-ensure-process, prolog-process-insert-string)
957         (prolog-consult-compile): Use with-current-buffer.
958         (prolog-guess-fill-prefix): Simplify data flow.
959         (prolog-replace-in-string): New function to use instead of
960         replace-in-string.
961         (prolog-enable-sicstus-sd): Don't abuse `eval'.
962         (prolog-uncomment-region): Use `uncomment-region' when available.
963         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
964         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
965         of int-to-char and char-to-int.
966         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
968 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
970         * progmodes/prolog.el: Replace by a whole new file.
972 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
974         * subr.el (eval-after-load): Fix timing for features (bug#7769).
975         (declare-function, undefined, insert-for-yank)
976         (replace-regexp-in-string): Follow checkdoc's recommendations.
978 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
980         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
981         refreshing the diary buffer.
983 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
985         * allout.el: Add 2011 to the file copyright.
986         (allout-encrypt-string): Prevent encryption from adding an extra
987         newline at the end of the topic body.
988         (allout-version): Increment to 2.3.
990 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
992         * net/dbus.el (dbus-unregister-service): Complete doc.
993         Fix call of dbus-error signal.
994         (dbus-register-property): Use `dont-register' keyword.
996 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
998         * net/dbus.el (dbus-unregister-service): Translate returned
999         integer into a symbol.
1000         (dbus-register-property): Use `dbus-register-service' to do the
1001         name registration.
1003 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1005         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1006         Suggested by Joakim Verona.
1008         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1010         * wid-edit.el (visibility): Replace :on-image and :off-image
1011         widget properties with :on-glyph and :off-glyph, for consistency
1012         with the `visibility' widget.
1013         (widget-toggle-value-create, widget-visibility-value-create):
1014         Merge into a single function `widget-toggle-value-create'.
1016         * cus-edit.el (custom-variable-value-create, custom-visibility)
1017         (custom-face-edit-value-create, custom-face-value-create):
1018         Replace :on-image and :off-image widget properties with :on-glyph and
1019         :off-glyph, for consistency with the `visibility' widget.
1021 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
1023         * net/ldap.el (ldap-search-internal): Don't use eval.
1025 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1027         * subr.el (read-char-choice): Use read-key.
1029         * custom.el (custom-safe-themes): Rename from
1030         custom-safe-theme-files.  Add :risky tag.
1031         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1032         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
1034 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1036         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
1037         from Search and add a label to Undo.
1039         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1040         inappropriate buttons and adding :vert-only tags.
1042         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1043         removal of Help tool-bar button.  Remove Undo button for space.
1045         * info.el (info-tool-bar-map): Add :vert-only tags.
1047 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
1049         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1050         image backend support.  Either of them is fine.
1052 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
1054         * subr.el (y-or-n-p): Doc fix.
1056         * custom.el (custom-safe-theme-files): New defcustom.
1057         (custom-theme-load-confirm): New function.
1058         (load-theme): Load theme using `load', confirming with
1059         custom-theme-load-confirm if necessary.
1061         * subr.el (read-char-choice): New function, factored out from
1062         dired-query and hack-local-variables-confirm.
1064         * dired-aux.el (dired-query):
1065         * files.el (hack-local-variables-confirm): Use it.
1067         * dired-aux.el (dired-compress-file):
1068         * files.el (abort-if-file-too-large, find-alternate-file)
1069         (set-visited-file-name, write-file, backup-buffer)
1070         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1071         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1072         Use new format string args for y-or-n-p and yes-or-no-p.
1074 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
1076         * progmodes/compile.el (compilation-error-regexp-alist-alist)
1077         [gcc-include]: Tighten file name match, add match for column
1078         number.  (Bug#7806)
1079         [gnu]: Remove unused group.
1081 2011-01-08  Glenn Morris  <rgm@gnu.org>
1083         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1085         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1087 2011-01-07  Sam Steingold  <sds@gnu.org>
1089         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1090         the `explicit-shell-file-name' because that is the
1091         non-interactive shell.
1093 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
1095         * subr.el (y-or-n-p): Accept format string args.
1097 2011-01-07  Glenn Morris  <rgm@gnu.org>
1099         * Makefile.in (EMACSOPT): Add --no-site-lisp.
1101 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
1103         * allout.el (allout-back-to-current-heading): Ensure return to
1104         the visible containing topic, rather than a collapsed one.
1105         (allout-view-change-hook): Remove hook that was deprecated long ago.
1106         (allout-exposure-change-hook): Remove documentation remarks
1107         concerning removed allout-view-change-hook.
1108         (allout-flag-region): Remove invocation of and documentation
1109         remarks concerning allout-view-change-hook.
1111 2011-01-06  Glenn Morris  <rgm@gnu.org>
1113         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1114         (vc-bzr-annotate-extract-revision-at-line):
1115         Handle authors with embedded spaces.  (Bug#7792)
1117 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
1119         * doc-view.el (doc-view-image-width): New variable.
1120         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1121         backend for PNG images, and do dynamic rescaling instead of
1122         reconverting the whole doc.
1124 2011-01-05  Glenn Morris  <rgm@gnu.org>
1126         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1128 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
1130         * allout.el: Reconcile with changes in line movement behavior for
1131         long text lines that cross more than a single physical window
1132         line, ie when truncate-lines is nil.
1133         (allout-next-visible-heading): Provide for change in line-move
1134         behavior on long lines when truncate-lines is nil.  In that case,
1135         line-move can wind up on the same textual line when it moves to
1136         the next window line, and moving to the bullet position after the
1137         move yields zero advancement.  Add logic to detect and compensate
1138         for the lack of progress.
1139         (allout-current-topic-collapsed-p): move-end-of-line respect for
1140         field boundaries is different when operating with body lines
1141         shorter than window width versus ones greater than window width,
1142         which can yield false negatives in this function.  Avoid
1143         difference by applying move-end-of-line while field-text-motion is
1144         inhibited.
1146 2011-01-04  Glenn Morris  <rgm@gnu.org>
1148         * textmodes/rst.el (rst-compile-toolsets):
1149         Add pdf and s5 to option alist.
1151 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1153         * net/dbus.el (dbus-register-property): Add optional parameter
1154         dont-register-service.  Updated docstring accordingly.
1156 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
1158         * textmodes/rst.el (rst-compile-pdf-preview)
1159         (rst-compile-slides-preview): Remove extra line.
1161 2011-01-04  Glenn Morris  <rgm@gnu.org>
1163         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1164         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
1165         default to `prog' without a .py extension.
1166         (rst-compile-pdf-preview, rst-compile-slides-preview):
1167         Use program names from rst-compile-toolsets, rather than hard-coding.
1168         (rst-portable-mark-active-p): Fix presumed typo.
1170 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1172         * term/w32-win.el (dynamic-library-alist): Set up correctly for
1173         libpng versions both before and after 1.4.0.  (Bug#7716)
1175 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1177         * time.el (display-time-mode): Mention display-time-interval in
1178         the doc string.  (Bug#7713)
1180 2011-01-02  Kenichi Handa  <handa@m17n.org>
1182         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1183         condition-case and return an error message string if something
1184         goes wrong.
1185         (rmail-show-mime): Adjust for the above change.  Insert the
1186         header by rmail-mime-insert-header.
1188 2011-01-02  Kenichi Handa  <handa@m17n.org>
1190         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1191         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1192         (rmail-mime-mbox-buffer)
1193         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1194         (rmail-mime-entity): Argument changed.  All codes handling an
1195         entity object are changed.
1196         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1197         the above change.
1198         (rmail-mime-entity-children, rmail-mime-entity-handler)
1199         (rmail-mime-entity-tagline): New functions.
1200         (rmail-mime-message-p): New function.
1201         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1202         (rmail-mime-entity-segment, rmail-mime-next-item)
1203         (rmail-mime-previous-item, rmail-mime-shown-mode)
1204         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1205         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1206         (rmail-mime-insert-tagline, rmail-mime-insert-header):
1207         New functions.
1208         (rmail-mime-text-handler): Call rmail-mime-insert-text.
1209         (rmail-mime-insert-decoded-text): New function.
1210         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1211         (rmail-mime-insert-image): Argument changed.  Caller changed.
1212         (rmail-mime-image): Call rmail-mime-toggle-hidden.
1213         (rmail-mime-set-bulk-data): New funciton.
1214         (rmail-mime-insert-bulk): Argument changed.
1215         (rmail-mime-multipart-handler): Return t.
1216         (rmail-mime-process-multipart): Argument changed.
1217         Handle "multipart/alternative" here.
1218         (rmail-mime-process): Argument changed.
1219         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1220         (rmail-mime-insert): Argument changed.  Handle raw display mode.
1221         (rmail-mime): Argument changed.  Handle toggling of raw display
1222         mode.
1223         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1224         rmail-mime-view-buffer.
1225         (rmail-insert-mime-forwarded-message): Likewise.
1226         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
1228         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1229         non-nil, handle the header in rmail-show-mime-function.
1231 2011-01-02  Leo  <sdl.web@gmail.com>
1233         * help-fns.el (describe-variable): Fix previous change.
1235 2011-01-02  Juri Linkov  <juri@jurta.org>
1237         * isearch.el (isearch-lazy-highlight-error): New variable.
1238         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1239         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
1240         to the current value of `isearch-error' (Bug#7468).
1242 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1244         * help-fns.el (describe-variable): Don't emit trailing whitespace
1245         (Bug#7511).
1247 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1249         * textmodes/rst.el (rst-compile-pdf-preview)
1250         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1252 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
1254         * emulation/edt-mapper.el: Override mapping of function keys so
1255         that the later call to read-key-sequence works.
1257 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1259         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1260         Unix EOLs.  (Bug#7589)
1262 2011-01-02  Leo  <sdl.web@gmail.com>
1264         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1265         if point is not behind eshell-last-output-end (Bug#7585).
1267 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1269         * files.el (file-local-variables-alist):
1270         Make permanent-local (bug#7767).
1272 2011-01-02  Glenn Morris  <rgm@gnu.org>
1274         * version.el (emacs-copyright): Set short copyright year to 2011.
1276 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
1278         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1279         an existing temp buffer.  (Bug#7746)
1281 2011-01-02  Glenn Morris  <rgm@gnu.org>
1283         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1284         multiple addresses.  (Bug#7760)
1286 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
1288         * allout.el (allout-auto-fill): Do not infinitely recurse - use
1289         do-auto-fill if everything points back to allout-auto-fill.
1290         (allout-mode-deactivate-hook): Declare obsolete, in favor of
1291         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1293 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
1295         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1296         and "scpx".
1298 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1300         * doc-view.el (doc-view-set-doc-type): New function refactored
1301         from doc-view-mode.
1302         (doc-view-fallback-mode): New function.
1303         (doc-view-mode): Use it.
1304         (doc-view-mode-maybe): New function that checks if doc-view-mode
1305         can be used and falls back to the next best mode otherwise.
1307         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1308         DVI, OpenDocument, and MS Office files.
1310 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
1312         * emacs-lisp/rx.el (rx-syntax): Fix typo.
1314 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1316         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1317         on a copy of auto-mode-alist, because that deletes with side
1318         effects.
1320 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1322         * doc-view.el (doc-view-mode, doc-view-toggle-display):
1323         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1324         fallback instead of hard coding fundamental mode.
1326 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1328         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1329         Office) files also for searching.
1331 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1333         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1334         Office) files.  Not yet enabled via auto-mode-list.
1335         (doc-view-unoconv-program): New custom variable.
1336         (doc-view-mode-p): Handle new odf document type.
1337         (doc-view-odf->pdf): New conversion function.
1338         (doc-view-convert-current-doc): Call it for odf files.
1339         (doc-view-mode): Recognize newly supported file extensions.
1341 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
1343         * net/tramp.el (tramp-default-method-alist)
1344         (tramp-default-user-alist)
1345         (tramp-local-host-regexp, tramp-prefix-domain-format)
1346         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1348         * net/tramp-ftp.el:
1349         * net/tramp-gvfs.el:
1350         * net/tramp-gw.el:
1351         * net/tramp-imap.el:
1352         * net/tramp-sh.el:
1353         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1354         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1356 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
1358         * saveplace.el (save-place-alist-to-file): Save list sorted and
1359         pretty-printed, so that it is mergeable by line-based text merging,
1360         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1362 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
1364         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1365         (allout-mode): Argument "toggle" => "force".
1366         Refine the docstring.
1367         Remove special provisions for reactivation, besides the 'force'
1368         argument.
1369         Consolidate layout provisions coce directly into the activation
1370         condition branch, now that we've removed those provisions.
1371         (allout-unload-function): Explicitly activate the mode before
1372         deactivating, if it's initially deactivated.
1373         (allout-set-buffer-multibyte): Properly prevent byte-compiler
1374         warnings for version of function used only where
1375         set-buffer-multibyte is unavailable.
1377 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
1379         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1380         are handled by the menu-bar entries.  As before, don't use
1381         :visibile to avoid changing the tool-bar.
1383 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
1385         * net/secrets.el (secrets-delete-alias): New defun.
1387 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
1389         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1390         methods, otherwise ~/.ssh/config would be ignored.
1392 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1394         * emacs-lisp/rx.el: Make it a superset of sregex.
1395         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1396         of args, add `regex' alias.
1397         (rx-info): Add arg to distinguish head and standalone forms.
1398         (rx-check, rx-form): Pass the corresponding arg.
1399         (rx-**): Simplify.
1400         (rx-repeat): Make it work for any number of args.
1401         (rx-syntax): Make it accept syntax chars as is.
1402         * obsolete/sregex.el: Move from emacs-lisp/.
1403         * emacs-lisp/re-builder.el: Remove sregex support.
1404         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1406 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
1408         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1409         PRIMARY first, then the clipboard.  (Bug#7699)
1411 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1413         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1414         print-number-table.
1416 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
1418         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1419         .emacs.elc (Bug#7530).
1421         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1422         image spec (Bug#7480).
1424 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
1426         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1427         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1428         Move from lisp/.
1430 2010-12-20  Leo  <sdl.web@gmail.com>
1432         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1433         always be performed (Bug#7680).
1435 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
1437         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1438         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
1439         mouse-region-match.
1441         * color.el: Move from gnus/.
1443         * vc/diff.el (diff-better-file-name): Function deleted.
1444         abbreviating file names causes problems with shell-quote-argument.
1445         (diff-no-select): Just use expand-file-name.
1447         * tool-bar.el (tool-bar--image-expression): New function.
1448         (tool-bar-local-item, tool-bar--image-exp): Use it.
1449         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1450         Use :enable instead of :visible to avoid changing the tool-bar
1451         configuration unnecessarily.
1453         * info.el (info-tool-bar-map): Add separators.
1455 2010-12-17  Ken Brown  <kbrown@cornell.edu>
1457         * loadup.el: Use version numbers in Cygwin build.
1459 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
1461         * ido.el (ido-file-internal): Ask for confirmation before
1462         overwriting an existing file (Bug#1238).
1464 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
1466         * tool-bar.el (tool-bar-setup): Add separators.
1468         * menu-bar.el (featurep): Use menu-bar-separator.
1470 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
1472         Migrate allout encryption provisions from pgg to epg.
1474         * allout.el (allout-toggle-current-subtree-encryption)
1475         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1476         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
1477         for simpler universal argument interpretation.
1478         (allout-toggle-subtree-encryption):  Adjust docstring to describe
1479         changed encryption provisions.  Change fetch-pass to keymode-cue, for
1480         simpler universal argument interpretation.  Remove provisions for
1481         handling key type and identity - they'll all be within
1482         allout-encrypt-string or epg/epg or even contained all the way in gpg.
1483         (allout-encrypt-string): Include keymode-cue, for optionally prompting
1484         for keypair recipients (universal argument > 1) and, in addition,
1485         associating the specified recipients with the outline (universal
1486         argument > 4) using a file local variable setting for
1487         'epa-file-encrypt-to'.
1488         Require epa, for recipients handling.
1489         Change how regexp filtering elements are named.
1490         Describe the problem with caching of incorrect symmetric-decryption
1491         keys.
1492         Use the epa-passphrase-callback-function, in case the user is using
1493         GnuPG v1.
1494         Support saving of the selected keypair recipients when invoked with a
1495         keymode-cue > 4.
1496         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1497         Require 'epa.
1498         Establish epg-context with armoring and default epg-protocol.
1499         Remove all passphrase cache, verification, and hinting code.
1500         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1501         No longer used, delete.
1502         (allout-mode): Adjust docstring to describe changed encryption
1503         provisions.  Describe the problem with caching of incorrect
1504         symmetric-decryption keys.
1505         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1506         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1507         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1508         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1509         Obsolete, remove.
1511 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
1513         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1514         key selection prompt; make 'silent as default (Bug#7487).
1516 2010-12-16  Leo  <sdl.web@gmail.com>
1518         * eshell/eshell.el (eshell-directory-name):
1519         Use locate-user-emacs-file (Bug#7578).
1521 2010-12-15  Glenn Morris  <rgm@gnu.org>
1523         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1525 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
1526             Scott Evans <gse@antisleep.com>
1528         * rect.el (rectange--default-line-number-format)
1529         (rectangle-number-line-callback): New functions.
1530         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1532 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
1534         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1535         Delete unused variables.
1536         (move-to-column-force): Remove function obsolete since 21.2.
1538 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
1540         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1541         (tramp-handle-insert-file-contents): Do not set permanent-local
1542         property.
1544         * net/tramp-cache.el (tramp-persistency-file-name):
1545         Use `locate-user-emacs-file' if fboundp.
1547         * net/tramp-sh.el (tramp-methods): Add "ksu".
1548         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
1549         method list.
1551 2010-12-14  Glenn Morris  <rgm@gnu.org>
1553         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1554         (find-tag-marker-ring): Declare.
1555         (js-find-symbol): Require etags.
1557         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1558         Require mail-utils.
1559         (mail-alias-file): Don't autoload.  Doc fix.
1560         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1561         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
1562         Mark as obsolete, and risky.
1563         (mail-setup): Simplify.
1565         * mail/mailalias.el (build-mail-aliases): Make it interactive.
1566         * mail/sendmail.el (build-mail-aliases): Update autoload.
1568         * dired.el (dired-trivial-filenames, dired-chown-program)
1569         (dired-auto-revert-buffer): Remove autoload cookies.
1570         * mail/sendmail.el (mail-recover-1): Require 'dired.
1572         * dired.el (dired-subdir-switches, dired-chown-program)
1573         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1574         Make into defcustoms.
1575         (dired-chown-program): Simplify initialization.
1577         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1579 2010-12-13  Romain Francoise  <romain@orebokech.com>
1581         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1583 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1585         * net/netrc.el (netrc-point-at-eol): Remove the unused
1586         netrc-point-at-old and netrc-bound-and-true-p bindings.
1587         (netrc-parse): Cache the netrc contents.
1589 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1591         * subr.el (posn-col-row): Evaluate header-line-format in the
1592         context of the POSITION window's buffer.
1594 2010-12-13  Glenn Morris  <rgm@gnu.org>
1596         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1597         (with-silent-modifications): Doc fixes.
1599 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1601         * net/tramp.el (tramp-action-password, tramp-process-actions):
1602         Revert previous from.  Use `save-restriction'.
1604 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
1606         * calendar/diary-lib.el (diary-list-sexp-entries):
1607         Handle case of no newline at end of file.  (Bug#7536)
1609 2010-12-13  Glenn Morris  <rgm@gnu.org>
1611         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1613 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1615         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1616         (tramp-process-actions): Do not widen.
1618         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1619         Protect buffer-modified value.  (Bug#7557)
1621 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
1623         * log-edit.el (log-edit-changelog-entries):
1624         Regexp quote filename.  (Bug#7505)
1626 2010-12-13  Tom Breton  <tehom@panix.com>
1628         * cus-edit.el (custom-save-all):
1629         Bind print-length and print-level to nil.  (Bug#7581)
1631 2010-12-13  Glenn Morris  <rgm@gnu.org>
1633         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1634         Run hooks to update menu contents.  (Bug#7586)
1636         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1637         file names, for the sake of MS Windows.  (Bug#7588)
1639 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1641         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1642         empty lines without a leading space.
1644 2010-12-13  Leo  <sdl.web@gmail.com>
1646         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1647         while mapping over marks (Bug#6810).
1649 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1651         * image-dired.el (image-dired-db-file)
1652         (image-dired-temp-image-file, image-dired-gallery-dir)
1653         (image-dired-temp-rotate-image-file): Set default values relative
1654         to image-dired-dir (Bug#7518).
1656 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
1658         * format.el (format-decode-run-method): Pass args FROM and TO, not
1659         point-min and point-max, to shell-command-on-region (Bug#7488).
1661 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
1663         * frame.el (blink-cursor-mode): Make default t for ns.
1665 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1667         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1669 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1671         * comint.el (comint-dynamic-list-input-ring)
1672         (comint-dynamic-complete-filename)
1673         (comint-replace-by-expanded-filename)
1674         (comint-dynamic-simple-complete)
1675         (comint-dynamic-list-filename-completions)
1676         (comint-dynamic-list-completions): Doc fix (Bug#7499).
1678         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1679         Doc fix (Bug#7471).
1681 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
1683         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1684         (Bug#7533).
1686 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
1688         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1689         (Bug#7491).
1691 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1693         * files.el (file-relative-name): Handle UNC file names on
1694         DOS/Windows.  (Bug#4674)
1696 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
1698         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1699         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
1700         (epg-context-set-passphrase-callback): Mention that the callback
1701         is not called when used with GnuPG 2.x.
1703 2010-12-13  Glenn Morris  <rgm@gnu.org>
1705         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1706         Ensure ps-footer-font-size-internal is initialized.
1707         Call ps-get-page-dimensions before trying to use ps-font-for-text.
1709 2010-12-13  Kenichi Handa  <handa@m17n.org>
1711         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1712         within condition-case.
1713         (rmail-show-mime): Don't use condition-case.
1714         (rmail-search-mime-message): New function.
1715         (rmail-search-mime-message-function): Set to
1716         rmail-search-mime-message.
1718 2010-12-13  Leo  <sdl.web@gmail.com>
1720         * ido.el (ido-common-initialization): New function.  (bug#3274)
1721         (ido-mode): Use it.
1722         (ido-completing-read): Call it.
1724 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
1726         * bookmark.el (bookmark-name-from-full-record): Rename back to
1727         this original name from `bookmark-name-from-record' reverting part
1728         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1729         As Drew Adams pointed out, there was no reason to cause churn for
1730         third-party callers.
1732 2010-12-12  Alan Mackenzie  <acm@muc.de>
1734         * progmodes/cc-engine.el (c-forward-type): Before scanning a
1735         template arglist, check that the current language supports this.
1737 2010-12-11  Glenn Morris  <rgm@gnu.org>
1739         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1740         state of the file matches.  (Bug#7544)
1741         (vc-bzr-register, vc-bzr-checkin)
1742         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1743         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1745         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1747 2010-12-11  Karel Klíč  <kklic@redhat.com>
1749         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
1751 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1753         Derive from prog-mode, use derived-mode-p, and fix up various
1754         minor style issues in lisp/progmodes.
1756         * progmodes/vhdl-mode.el (vhdl-mode):
1757         * progmodes/verilog-mode.el (verilog-mode):
1758         * progmodes/vera-mode.el (vera-mode):
1759         * progmodes/sql.el (sql-mode):
1760         * progmodes/scheme.el (scheme-mode):
1761         * progmodes/perl-mode.el (perl-mode):
1762         * progmodes/octave-inf.el (inferior-octave-mode):
1763         * progmodes/autoconf.el (autoconf-mode):
1764         * progmodes/m4-mode.el (m4-mode):
1765         * progmodes/inf-lisp.el (inferior-lisp-mode):
1766         * progmodes/idlwave.el (idlwave-mode):
1767         * progmodes/icon.el (icon-mode):
1768         * progmodes/idlw-help.el (idlwave-help-mode):
1769         * progmodes/dcl-mode.el (dcl-mode):
1770         * progmodes/idlw-shell.el (idlwave-shell-mode):
1771         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1772         (ebrowse-member-mode, ebrowse-electric-position-mode):
1773         Use define-derived-mode.
1775         * progmodes/xscheme.el (exit-scheme-interaction-mode)
1776         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1777         (xscheme-debugger-mode-p, xscheme-send-string-1):
1778         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1779         (tcl-load-file, tcl-restart-with-file):
1780         * progmodes/ps-mode.el (ps-run-running):
1781         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1782         * progmodes/js.el (js--get-all-known-symbols):
1783         * progmodes/inf-lisp.el (inferior-lisp-proc):
1784         * progmodes/idlwave.el (idlwave-beginning-of-statement)
1785         (idlwave-template, idlwave-update-buffer-routine-info)
1786         (idlwave-update-current-buffer-info)
1787         (idlwave-get-routine-info-from-buffers, idlwave-choose)
1788         (idlwave-scan-class-info, idlwave-fix-keywords)
1789         (idlwave-list-buffer-load-path-shadows):
1790         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1791         (idlwave-toolbar-remove):
1792         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1793         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1794         (idlwave-shell-menu-def):
1795         * progmodes/idlw-complete-structtag.el
1796         (idlwave-prepare-structure-tag-completion):
1797         * progmodes/gud.el (gud-set-buffer):
1798         * progmodes/f90.el (f90-backslash-not-special):
1799         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1801         * progmodes/xscheme.el (xscheme-start)
1802         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1803         * progmodes/which-func.el (which-function):
1804         * progmodes/vhdl-mode.el (vhdl-set-style):
1805         * progmodes/verilog-mode.el (verilog-set-compile-command)
1806         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1807         (verilog-set-define, verilog-auto-reeval-locals):
1808         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1809         * progmodes/simula.el (simula-mode):
1810         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1811         * progmodes/python.el (python-check, python-mode):
1812         * progmodes/prolog.el (prolog-mode-variables):
1813         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1814         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1815         * progmodes/delphi.el (delphi-mode):
1816         * progmodes/cc-styles.el (c-setup-paragraph-variables):
1817         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1818         (c-font-lock-init): Move make-local-variable to their setq.
1820         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1821         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1822         make-local-hook.
1823         * progmodes/sh-script.el (sh-require-final-newline): Remove.
1824         (sh-set-shell): Don't set require-final-newline since it's already done
1825         by prog-mode.
1826         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1827         since we never set it.
1828         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1829         Use read-string and standard prompt.
1830         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1831         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1832         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1833         (meta-common-mode-map): Rename from meta-mode-map.
1834         Remove C-m binding, which is a user preference, not mode specific.
1835         (meta-common-mode): New major mode; replace meta-common-initialization.
1836         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1837         around with font-lock.
1838         * progmodes/etags.el (select-tags-table-mode):
1839         Derive from special-mode.
1840         * progmodes/octave-mod.el (octave-mode):
1841         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1842         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1843         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1844         Let define-derived-mode do its job.
1845         * progmodes/cpp.el (cpp-edit-mode-map):
1846         Move initialization into declaration.
1847         (cpp-edit-mode): Use define-derived-mode.
1848         (cpp-edit-load): Use derived-mode-p.
1849         * progmodes/mixal-mode.el (mixal-mode):
1850         * progmodes/f90.el (f90-mode):
1851         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1852         require-final-newline since prog-mode does it already.
1853         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1854         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1855         * progmodes/antlr-mode.el: Require cc-mode upfront.
1856         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1857         the declaration.
1858         (antlr-directory-dependencies, antlr-show-makefile-rules):
1859         Use derived-mode-p.
1860         (antlr-language-option): Don't assume point-min==1.
1861         (antlr-mode): Use define-derived-mode.
1862         * progmodes/ada-mode.el: Use derived-mode-p.
1863         (ada-mode): Use define-derived-mode.
1864         Use hack-local-variables-hook.
1866 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1868         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1869         (texinfo-mode): Don't disable adaptive-fill-mode.
1870         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1871         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1872         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1873         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1874         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1875         (texinfo-insert-@quotation, texinfo-insert-@samp)
1876         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1877         (texinfo-insert-@uref): Use define-skeleton.
1878         (texinfo-insert-@-with-arg): Delete.
1880 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
1882         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1883         nil, do quote archive member names.  (Bug#6144)
1885 2010-12-10  Glenn Morris  <rgm@gnu.org>
1887         * files.el (diff-no-select): Declare.
1889         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1890         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1892         * comint.el (comint-input-ring-file-name): Doc fix.
1894 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
1896         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1897         New functions.
1898         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1899         Use them instead of `nil' and `>', respectively.
1900         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1901         instead of `nil'.
1902         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1903         and menu-bar-positive-p instead of `nil' and `>', respectively.
1904         (Bug#1077)
1906 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1908         * whitespace.el (whitespace-newline-mode): Code fix.
1910 2010-12-09  Glenn Morris  <rgm@gnu.org>
1912         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1913         Rename functions without commas, update callers.
1915 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
1917         * whitespace.el (whitespace-cleanup-region):
1918         Clean up spaces before tabs.  (Bug#7582)
1920 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
1922         * bookmark.el: Adjust parameter names and doc strings to resolve
1923         confusion over whether "bookmark" meant a bookmark name or a
1924         bookmark record.  Along the way, shorten one function's name for
1925         similar reasons.  (Issue #7548)
1926         (bookmark-name-from-record): New name for
1927         `bookmark-name-from-full-record'.  All callers changed.
1928         (bookmark-get-bookmark, bookmark-get-bookmark-record)
1929         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1930         (bookmark-get-annotation, bookmark-set-annotation)
1931         (bookmark-get-filename, bookmark-set-filename)
1932         (bookmark-get-position, bookmark-set-position)
1933         (bookmark-get-front-context-string, bookmark-set-front-context-string)
1934         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1935         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1936         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1937         Rename `bookmark' parameter to `bookmark-name-or-record', to
1938         clearly show its role, and shorten or adjust doc strings accordingly.
1939         (bookmark-set-name): Same, and pass the parameter directly to
1940         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1941         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1942         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1943         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1944         and in some cases shorten doc string accordingly.
1945         (bookmark-rename): Change `old' and `new' parameters to `old-name'
1946         and `new-name', and adjust an internal variable to avoid confusion.
1947         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1948         parameter in doc string.
1950 2010-12-08  Glenn Morris  <rgm@gnu.org>
1952         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1953         from gdb's history file.  (Bug#7575)
1955         * mail/emacsbug.el (report-emacs-bug):
1956         Try to handle some other mail clients.
1958 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1960         * files.el (dir-locals-collect-variables): Don't let errors stop us.
1961         Use string-prefix-p.
1962         (file-name-version-regexp): New var.
1963         (file-name-sans-versions):
1964         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1965         (jka-compr-get-compression-info): Use dolist.
1966         (jka-compr-compression-info-list): Don't bother specifying
1967         version/backup regexps.
1969 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
1971         * simple.el (just-one-space): Make argument n default to 1 if
1972         omitted.
1974 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1976         * electric.el (electric-indent-post-self-insert-function):
1977         Delete trailing newlines even if we don't reindent.
1979 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1981         * minibuffer.el (completion-at-point): Remove the `arg'.
1982         * bindings.el (complete-symbol): Move back from minibuffer.el.
1984 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1986         * simple.el (just-one-space): Delete newlines for negative arg.
1988 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1990         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1991         (ansi-color-filter-apply): Simplify.
1992         (ansi-color-apply): Use `font-lock-face' rather than `face'.
1994 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1996         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1998 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
2000         * dired.el (dired-use-ls-dired): Set default to a special
2001         "unspecified" value.
2002         (dired-insert-directory): When called the first time, check
2003         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2005 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
2007         * replace.el: Add "collect" feature to occur.
2008         (occur-collect-regexp-history): New var.
2009         (occur-read-primary-args): Return a replace string for nlines,
2010         if needed.
2011         (occur): Extend the meaning of nlines.
2013 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2015         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2016         (which-func-update-1): Distinguish symbols from strings.
2017         (which-function): Stay within 80 columns.
2019 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2021         * subr.el (with-demoted-errors): Distinguish symbols from strings.
2023         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2024         Improve docstring.
2025         (comment-style): Use comment-styles's docs to describe values.
2027 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
2029         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2030         and ns-show-prefs (Bug#7535).
2032         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2033         bindings (Bug#7535).
2035 2010-12-03  Glenn Morris  <rgm@gnu.org>
2037         * nxml/nxml-mode.el: Require rng-nxml.
2038         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2039         Remove declarations.
2041         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2042         * nxml/rng-nxml.el, nxml/rng-valid.el:
2043         Remove leading `*' from defcustom docs.
2045         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2046         (normal-top-level-add-to-load-path, tty-handle-args):
2047         Convert comments to basic doc-strings.
2049         * net/browse-url.el (browse-url-url-at-point)
2050         (browse-url-default-browser): Remove autoload cookies.
2052         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2053         Remove more undefined cl functions.
2055         * vc/diff.el (diff-sentinel): Make new arguments optional.
2056         * ibuf-ext.el (diff-sentinel): Update declaration.
2058 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
2060         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2061         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2062         (epg-context-set-passphrase-callback): Mention that the callback
2063         is not called when used with GnuPG 2.x.
2065 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
2067         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2068         (tramp-file-name-port): Check also for `tramp-default-port'.
2069         (tramp-get-connection-name): New defun.
2070         (tramp-get-connection-process): Use it.
2071         (tramp-debug-message): Extend function exclude list.
2072         (tramp-drop-volume-letter): Fix doc string.
2074         * net/tramp-cmds.el: Remove solved todo item.
2076         * net/tramp-efs.el:
2077         * net/tramp-ftp.el:
2078         * net/tramp-gvfs.el:
2079         * net/tramp-gw.el:
2080         * net/tramp-imap.el:
2081         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2082         and `tramp-default-user-alist', respectively.
2084         * net/tramp-gw.el (tramp-gw-open-connection):
2085         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2087         * net/tramp-imap.el (tramp-imap-make-iht): Use just
2088         `tramp-file-name-port'.
2090         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2091         and "psftp".  Exchange "%k" marker with options.
2092         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2093         Compute size of link target.
2094         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2095         `tramp-current-*' up due to gateway methods.  Optimze computing of
2096         copy arguments.  Use `tramp-get-connection-name' and
2097         `tramp-get-connection-buffer'.  Improve debug messages.
2098         (tramp-compute-multi-hops): Remove port determination.
2099         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2101         * net/trampver.el: Update release number.
2103 2010-12-02  Glenn Morris  <rgm@gnu.org>
2105         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2106         Avoid infinite loop over windows.  (Bug#7492)
2108         * progmodes/flymake.el (flymake-check-file-limit):
2109         Allow nil to mean "no limit".
2110         (flymake-check-patch-master-file-buffer): Update for above change.
2111         Allow a .tex file-name extension to be optional.
2112         (flymake-master-tex-init): Also match \include statements.
2114 2010-11-30  Sam Steingold  <sds@gnu.org>
2116         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2117         (nxml-parent-document-set): A function to set `nxml-parent-document'.
2118         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2119         (nxml-mode-hook): Remove `defcustom' (auto-defined by
2120         define-derived-mode').
2121         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2122         users who want to call `nxml-parent-document-set'.
2124 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2126         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2127         stand-alone lines, since that is handled by log-edit-match-to-eoh
2128         (Bug#6465).
2130 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
2132         * dired.el (dired-get-filename): Replace backslashes with slashes
2133         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
2134         * locate.el (locate-default-make-command-line): Don't consider
2135         drive letter and root directory part of
2136         `directory-listing-before-filename-regexp'.  (Bug#7308)
2137         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2139 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2141         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2142         of :smie-open/close-alist.
2143         (smie-next-sexp): Make it accept a "start token" as argument.
2144         (smie-indent-keyword): Be careful not to misidentify tokens that span
2145         more than one line, as empty lines.  Add argument `token'.
2147 2010-11-27  Kenichi Handa  <handa@m17n.org>
2149         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2150         multipart subtypes, insert all as usual.
2152         * mail/rmail.el: Require rfc2047.
2154 2010-11-27  Kenichi Handa  <handa@m17n.org>
2156         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2157         (rmail-mime-entity-disposition)
2158         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2159         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2160         (rmail-mime-save): Handle the case that the button's `data' is a
2161         MIME entity.
2162         (rmail-mime-insert-text): New function.
2163         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2164         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2165         (rmail-mime-insert-bulk): New function mostly copied from the old
2166         rmail-mime-bulk-handler.
2167         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2168         (rmail-mime-process-multipart): New function mostly copied from
2169         the old rmail-mime-multipart-handler.
2170         (rmail-mime-show): Just call rmail-mime-process.
2171         (rmail-mime-process): New function mostly copied from the old
2172         rmail-mime-show.
2173         (rmail-mime-insert-multipart, rmail-mime-parse)
2174         (rmail-mime-insert, rmail-show-mime)
2175         (rmail-insert-mime-forwarded-message)
2176         (rmail-insert-mime-resent-message): New functions.
2177         (rmail-insert-mime-forwarded-message-function): Set to
2178         rmail-insert-mime-forwarded-message.
2179         (rmail-insert-mime-resent-message-function): Set to
2180         rmail-insert-mime-resent-message.
2182         * mail/rmailsum.el: Require rfc2047.
2183         (rmail-header-summary): Handle multiline Subject: field.
2184         (rmail-summary-line-decoder): Change the default to
2185         rfc2047-decode-string.
2187         * mail/rmail.el (rmail-enable-mime): Change the default to t.
2188         (rmail-mime-feature): Change the default to `rmailmm'.
2189         (rmail-quit): Delete the specifal code for rmail-enable-mime.
2190         (rmail-display-labels): Likewise.
2191         (rmail-show-message-1): Check rmail-enable-mime, and use
2192         rmail-show-mime-function for a MIME message.  Decode the headers
2193         according to RFC2047.
2195 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2197         * progmodes/which-func.el (which-func-imenu-joiner-function):
2198         Return a string, as expected.
2199         (which-function-mode): Make sure we stop any previous timer before
2200         starting a new one.
2202 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
2204         * net/tramp.el (tramp-default-method-alist)
2205         (tramp-default-user-alist, tramp-default-proxies-alist):
2206         Adapt custom options type.  (Bug#7445)
2208 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2210         * progmodes/python.el: Add Ipython support (Bug#5390).
2211         (python-shell-prompt-alist)
2212         (python-shell-continuation-prompt-alist): New options.
2213         (python--set-prompt-regexp): New function.
2214         (inferior-python-mode, run-python, python-shell):
2215         Require ansi-color.  Use python--set-prompt-regexp to set the comint
2216         prompt based on the Python interpreter.
2217         (python--prompt-regexp): New var.
2218         (python-check-comint-prompt)
2219         (python-comint-output-filter-function): Use it.
2220         (run-python): Use a pipe (Bug#5694).
2222 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2224         * progmodes/python.el (run-python): Doc fix.
2225         (python-keep-current-directory-in-path): New var (Bug#7454).
2227 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2229         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2230         Prompt user before actually printing.
2232 2010-11-27  Glenn Morris  <rgm@gnu.org>
2234         * startup.el (package-enable-at-startup, package-initialize):
2235         Remove unnecessary declarations.
2237 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
2239         * international/characters.el (glyphless-char-display-control):
2240         Exclude newline and TAB from the c0-control group.
2242 2010-11-27  Glenn Morris  <rgm@gnu.org>
2244         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2245         (expand-mail-aliases): Remove unnecessary autoload.
2247         * allout.el (allout-command-prefix, allout-mode-map): Declare.
2249         * shell.el (shell-dir-cookie-re): Move definition before use.
2251         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2252         Replace undefined CL functions.
2254 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
2256         * simple.el (prog-mode): Set bidi-paragraph-direction to
2257         left-to-right.
2259         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2261 2010-11-26  Glenn Morris  <rgm@gnu.org>
2263         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2264         diary-outlook-formats can be sensitive to calendar-date-style.
2265         (diary-outlook-formats): Simplify the default setting.
2266         (diary-from-outlook-internal): Pass subject and body as arguments.
2267         Use dolist rather than dotimes.  Don't save the diary buffer.
2268         (diary-from-outlook-gnus, diary-from-outlook-rmail):
2269         Pass subject and body as explicit arguments to the -internal function.
2271 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2273         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2274         parsing them.  This makes mailto:...?subject=foo\nbar work.
2276 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2278         * vc/diff.el (diff): Fix last change.
2280 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2282         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
2283         (pcase--dontcare-upats): New var.
2284         (pcase-let, pcase-let*): Generate better code.
2285         Accept the same bodies as `let'.
2286         (pcase-dolist): New macro.
2287         (pcase--trivial-upat-p): New helper function.
2288         (pcase--expand): Strip leading "(let nil" if any.
2290 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2292         * mail/mailclient.el (browse-url): Require.
2293         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2294         use the external browser function to send the mail (bug#7469).
2296         * net/browse-url.el (browse-url-browser-function): Revert the
2297         default back to the previous value, since the new value broke
2298         mailclient.el.
2299         (browse-url-mailto-function): New variable for mailto: URLs.
2300         (browse-url): Use the new variable for mailto: URLs.
2302 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2304         * eshell/esh-cmd.el (eshell-parse-command):
2305         * eshell/esh-arg.el (eshell-parse-arguments):
2306         * eshell/em-script.el (eshell-source-file):
2307         Use with-silent-modifications.
2309 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
2311         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
2312         for a merge location.
2314         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2315         (vc-bzr-merge-branch): Always prompt.
2316         (vc-bzr-async-command): Use the full branch filename.
2318 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2320         * shell.el (shell): Use current-buffer by default if it's already
2321         a shell mode buffer and its process is dead.
2322         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2324 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
2326         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2327         Mention that the keywords should be comma separated.
2329 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
2331         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2332         Accept optional prefix arg meaning to prompt for a command.
2333         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
2334         prefix arg meaning to prompt for a command.
2335         (vc-pull): Alias for vc-update.
2337         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2338         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2339         (vc-bzr-merge-branch): New functions, implementing merge-branch
2340         and pull operations.
2342 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2344         * Makefile.in: Fix up last merge.
2346         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2347         (diff-sentinel): Get them as arguments instead.
2348         (diff-old-file, diff-new-file, diff-extra-args): Remove.
2349         (diff-file-local-copy, diff-better-file-name): New funs.
2350         (diff-no-select): Rename from diff-into-buffer.
2351         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
2352         Prefer closures to buffer-local variables.
2353         (diff): Adjust accordingly.
2354         (diff-buffer-with-file): Move from files.el.
2355         * files.el (diff-buffer-with-file): Move to vc/diff.el.
2356         (diff-buffer-internal): Remove.
2357         (diff-buffer-buffer): Remove.
2358         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2359         the buffer name used, and so as not to mess up windows and frames.
2361 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2363         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2364         (diff-buffer-internal): New function extracted from diff-buffer-with-file
2365         (diff-buffer-with-file): Use it.
2366         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2367         (diff): Use it.
2369 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
2371         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2372         \ref's or \pageref's value as default instead of initial input.
2374 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
2376         * files.el (backup-by-copying-when-mismatch): The default value is
2377         now t.
2379         * startup.el (normal-top-level):
2380         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2381         `backup-by-copying-when-mismatch'.
2383 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
2385         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2387 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2389         * progmodes/python.el (python-font-lock-keywords):
2390         Highlight top-level augmented assignments (Bug#6445).
2392 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
2394         * term/ns-win.el (ns-right-control-modifier)
2395         (ns-right-command-modifier): Defvar them.
2397         * cus-start.el (all): Add ns-right-control-modifier and
2398         ns-right-command-modifier (Bug#7458).
2400 2010-11-20  Glenn Morris  <rgm@gnu.org>
2402         * emacs-lisp/authors.el (authors-ignored-files)
2403         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2405 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
2407         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2408         (report-emacs-bug-parse-query-results)
2409         (report-emacs-bug-create-existing-bugs-buffer): Pass through
2410         keywords used for querying the bug database to show them in the
2411         existing bugs buffer.
2413 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
2415         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2417         * info.el (info-tool-bar-map): Add some :vert-only keywords.
2419 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
2421         * international/characters.el (glyphless-char-display-control):
2422         Make it a defcustom, with update-glyphless-char-display as its
2423         :set attribute.
2424         (top level): Don't call update-glyphless-char-display.
2426 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
2428         Sync with Tramp 2.2.0.
2430         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2431         `file-remote-p' (due to compatibility).
2433         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2434         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2436         * net/trampver.el: Update release number.
2438 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
2440         * faces.el (glyphless-char): Define value for `pc'.
2442 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
2444         Implemented a bug querying mechanism.
2445         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2446         (report-emacs-bug-create-existing-bugs-buffer)
2447         (report-emacs-bug-parse-query-results)
2448         (report-emacs-bug-query-existing-bugs): New functions.
2450 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
2452         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2453         a \ref{} or \pageref{} macro, then use its value as initial input.
2455 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
2457         * calc/calc-units.el (math-build-units-table-buffer):
2458         calc/README: Mention that the TeX specific units won't use the
2459         `tex' prefix in TeX mode.
2460         calc/calc-lang.el (math-variable-table): Don't use the `tex'
2461         prefix for units in TeX mode.
2463 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2465         * simple.el (kill-new, kill-append, kill-region):
2466         * comint.el (comint-kill-region): Make the yank-handler argument
2467         obsolete.
2469 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2471         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2472         that are both openers (resp. closers) and something else.
2473         (smie-grammar): Loosen definition of valid values.
2474         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2475         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2476         (smie-indent-after-keyword): Adjust users.
2477         (smie-indent-keyword): Don't indent empty lines.
2479         * vc-hg.el (vc-hg-program): New var.
2480         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2481         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2483 2010-11-18  Glenn Morris  <rgm@gnu.org>
2485         * emacs-lisp/autoload.el (autoload-find-destination): The function
2486         coding-system-eol-type may return non-numeric values.  (Bug#7414)
2488 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
2490         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2492 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
2494         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
2496 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
2498         * textmodes/picture.el (picture-mouse-set-point): Don't use
2499         posn-col-row; explicitly compute the motion based on the posn at
2500         the window-start (Bug#7390).
2502 2010-11-18  Glenn Morris  <rgm@gnu.org>
2504         * novice.el (disabled-command-function):
2505         Fix 2009-11-15 change.  (Bug#7384)
2507 2010-11-18  Glenn Morris  <rgm@gnu.org>
2509         * calendar/calendar.el (diary-iso-date-forms): Make elements
2510         mutually exclusive.  (Bug#7377)
2512 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2514         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2515         when filling the remaining "unconstrained" values.
2517 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2519         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2520         safety predicate.
2522         * files.el (safe-local-variable-p): Gracefully handle errors.
2524         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2525         Use smie-indent-virtual when indenting relative to an opener.
2526         (smie-rule-separator): Use smie-rule-parent.
2527         (smie-indent-keyword): Consult rules, even for openers at bol.
2528         (smie-indent-comment-close): Try to align closer's content.
2530 2010-11-18  Glenn Morris  <rgm@gnu.org>
2532         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2534 2010-11-18  Glenn Morris  <rgm@gnu.org>
2536         * printing.el (pr-menu-bind): Doc fix.
2538         * speedbar.el (speedbar-toggle-images): Doc fix.
2540         * progmodes/python.el (python-shell): Doc fix.
2542         * wid-edit.el (widget-field-use-before-change)
2543         (widget-use-overlay-change): Doc fixes.
2545 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2547         Minor cleanup to improve style.
2548         * textmodes/rst.el (rst-update-section): Use point-marker.
2549         (rst-get-decoration): Eliminate unneeded assignment.
2550         (rst-promote-region, rst-straighten-decorations)
2551         (rst-section-tree, rst-adjust): Use point-marker.
2552         (rst-toc-mode-mouse-goto): Avoid setq.
2553         (rst-shift-region-guts, rst-shift-region-left)
2554         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2555         (rst-convert-bullets-to-enumeration): Use copy-marker.
2557         * minibuffer.el (completion-fail-discreetly): New var.
2558         (completion--do-completion): Use it.
2560         * electric.el (electric-pair-pairs): New var.
2561         (electric-pair-post-self-insert-function): Use it.
2562         (electric-layout-post-self-insert-function): Don't insert a before
2563         newline unless it's actually needed.
2565 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2567         * progmodes/python.el (run-python): Explain why we remove the current
2568         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
2570         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2572 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2574         * progmodes/octave-mod.el: Rely on elecric-*-modes.
2575         (octave-mode-map): Don't bind ;, SPC, and LF.
2576         (octave-auto-indent, octave-auto-newline): Remove.
2577         (electric-layout-rules): Declare.
2578         (octave-mode): Set electric-layout-rules.
2579         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2580         (octave-reindent-then-newline-and-indent, octave-electric-semi)
2581         (octave-electric-space): Remove.
2583         * electric.el (electric-layout-mode): New minor mode.
2584         (electric--after-char-pos): New function.
2585         (electric-indent-post-self-insert-function): Use it.
2586         (electric-layout-rules): New var.
2587         (electric-layout-post-self-insert-function): New function.
2588         (electric-indent-mode): Make them interact better.
2590 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2592         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2593         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2594         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2596 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
2598         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2599         Make sure to check inside the word (Bug#6761).
2601 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
2603         * startup.el (command-line): If the cursorColor resource is set,
2604         change the cursor face-spec (Bug#7392).
2606 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
2608         The main features of the following allout.el changes are:
2609         - implement user customization for the allout key bindings
2610         - add a customization control by which the user can inhibit use of
2611           a trailing Ctrl-H, so by default it's reserved for use with
2612           describe-prefix-bindings
2613         - adapt to new version of called-interactively-p, while
2614           maintaining backwards compatibility with old version
2615         - fix hotspot navigation so i works properly with meta-modified keys
2617         * allout.el (allout-keybindings, allout-bind-keys)
2618         (allout-keybindings-binding, allout-prefixed-keybindings)
2619         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2620         (allout-keybindings-list, allout-mode-map-adjustments)
2621         (allout-setup-mode-map): Establish allout-mode keymaps as user
2622         customizable settings, and also establish a customizable setting which
2623         regulates whether or not a trailing control-h is reserved for use with
2624         describe-prefix-bindings - and inhibit it by default, so that control-h
2625         *is* reserved for describe-prefix-bindings unless the user changes it.
2627         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2628         and accurately between modified and unmodified events, and handle
2629         modified events more comprehensively.
2631         * allout.el (allout-substring-no-properties):
2632         Alias to use or provide version of `substring-no-properties'.
2633         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2635         * allout.el (allout-next-single-char-property-change):
2636         Alias to use or provide version of `next-single-char-property-change'.
2637         (allout-annotate-hidden, allout-hide-by-annotation):
2638         Use `allout-next-single-char-property-change'.
2640         * allout.el (allout-select-safe-coding-system):
2641         Alias to use or provide version of `select-safe-coding-system'.
2642         (allout-toggle-subtree-encryption):
2643         Use `allout-select-safe-coding-system'.
2645         * allout.el (allout-set-buffer-multibyte):
2646         Alias to use or provide version of `set-buffer-multibyte'.
2647         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2649         * allout.el (allout-called-interactively-p): Macro for using the
2650         different versions of called-interactively-p identically, depending on
2651         the subroutine's argument signature.
2652         (allout-back-to-current-heading, allout-beginning-of-current-entry):
2653         Use `(interactive "p")' instead of `(called-interactively-p)'.
2655         * allout.el (allout-init, allout-ascend, allout-end-of-level)
2656         (allout-previous-visible-heading, allout-forward-current-level)
2657         (allout-backward-current-level, allout-show-children):
2658         Use `allout-called-interactively-p' instead of `called-interactively-p'.
2660         * allout.el (allout-before-change-handler):
2661         Exempt edits to the (overlaid) character after the allout outline
2662         bullet from edit confirmation prompt.
2664         * allout.el (allout-add-resumptions):
2665         Ensure that it respects correct buffer for keybindings.
2667         * allout.el (allout-beginning-of-line):
2668         Use `allout-previous-single-char-property-change' alias for the sake of
2669         diverse compatibility.
2671         * allout.el (allout-end-of-line):
2672         Use `allout-mark-active-p' to encapsulate respect for mark activity.
2674 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
2676         * frame.el (frame-notice-user-settings): Don't clobber other
2677         user-set parameters when calling face-set-after-frame-default in
2678         response to background-color parameter (Bug#7373).
2680 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
2682         * international/characters.el (glyphless-char-display-control):
2683         Rename from glyphless-char-control; all users changed.  Doc fix.
2684         Signal an error if display method is not one of the recognized
2685         symbols.
2687 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
2689         * net/tramp-compat.el (tramp-compat-line-beginning-position)
2690         (tramp-compat-line-end-position): Remove them.
2692         * net/tramp.el (tramp-parse-rhosts-group)
2693         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2694         (tramp-parse-hosts-group, tramp-parse-passwd-group)
2695         (tramp-parse-netrc-group, tramp-parse-putty-group)
2696         * net/tramp-cmds.el (tramp-append-tramp-buffers)
2697         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2698         (tramp-sh-handle-file-selinux-context)
2699         (tramp-sh-handle-file-name-all-completions)
2700         (tramp-sh-handle-insert-directory)
2701         (tramp-sh-handle-expand-file-name, tramp-find-executable)
2702         (tramp-wait-for-output, tramp-send-command-and-read)
2703         * net/tramp-smb.el (tramp-smb-read-file-entry)
2704         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2706         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2707         `point-at-bol'.
2708         (tramp-remote-coding-commands): Add an alternative using "base64
2709         -d -i".  This is needed for older base64 versions from GNU
2710         coreutils.  Reported by Klaus Reichl
2711         <Klaus.Reichl@thalesgroup.com>.
2713 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
2715         * simple.el (count-words-region): New function.
2717 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2719         * shell.el (shell-dir-cookie-re): New custom variable.
2720         (shell-dir-cookie-watcher): New function.
2722         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2723         and compilation-mode (bug#7350).
2725         * vc/smerge-mode.el (smerge-refine): Choose better default part to
2726         highlight when one of them is empty.
2728         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2729         trailing space.
2730         (skeleton-newline): New function.
2731         (skeleton-internal-1): Use it.
2733         * simple.el (open-line): `newline' may strip trailing space.
2735 2010-11-12  Kevin Ryde  <user42@zip.com.au>
2737         * international/mule-cmds.el (princ-list): Use mapc.
2739 2010-11-12  Glenn Morris  <rgm@gnu.org>
2741         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2742         Use it to replace all instances of "*Compile-Log*"
2744 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2746         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2747         indentation specs.
2749 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2751         * progmodes/modula2.el: Use SMIE and skeleton.
2752         (m2-mode-syntax-table): (*..*) can be nested.
2753         Add //...\n.  Fix paren syntax.
2754         (m2-mode-map): Remove LF and TAB bindings.
2755         (m2-indent): Add safety property.
2756         (m2-smie-grammar): New var.
2757         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2758         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2759         (m2-mode): Use define-derived-mode.
2760         (m2-newline, m2-tab): Remove.
2761         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2762         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2763         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2764         (m2-import): Use define-skeleton.
2766 2010-11-11  Glenn Morris  <rgm@gnu.org>
2768         * obsolete/lucid.el: Don't warn about any CL functions in this file.
2770         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2771         (ls-lisp-verbosity): Add custom :set-after property.
2772         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2773         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2774         (ls-lisp-insert-directory): Update caller.
2775         (ls-lisp-set-options): New function.
2776         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2777         Doc fix.
2779         * play/landmark.el (lm-prompt-for-move):
2780         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2782         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2784         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2785         (idlwave-study-twins): Prefix dynamic local variable `name'.
2786         (idlwave-routine-twin-compare): Update for above change.
2788         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2789         Prefix dynamic local variables `name', `kwd', and `link'.
2790         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2791         * progmodes/idlw-complete-structtag.el
2792         (idlwave-complete-structure-tag-help):
2793         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2794         (idlwave-complete-sysvar-tag-help)
2795         (idlwave-complete-class-structure-tag-help):
2796         Update for above name changes.
2798 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2800         * net/browse-url.el (browse-url-browser-function): Change the
2801         default to use `browse-url-mail' on mailto: URLs.
2803 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
2805         * emacs-lisp/package.el (package-read-all-archive-contents):
2806         Reset package-archive-contents to nil before re-reading.
2808 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
2810         * textmodes/flyspell.el (flyspell-word): Do not re-check words
2811         already found as misspellings by (flyspell-large-region), just
2812         do highlighting (bug#7322).
2814 2010-11-10  Glenn Morris  <rgm@gnu.org>
2816         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2818         * emulation/edt.el (edt-with-position): New macro.
2819         (edt-find-forward, edt-find-backward, edt-find-next-forward)
2820         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2821         (edt-paragraph-forward, edt-paragraph-backward): Use it.
2823         * emulation/tpu-extras.el (tpu-with-position): New macro.
2824         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2826         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2828         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2829         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2830         (texinfo-master-menu, texinfo-insert-node-lines)
2831         (texinfo-multiple-files-update):
2832         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2833         Use line-beginning-position.
2835         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2836         No recent Emacs supports system-type `emx'.
2838         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2839         (ada-command-separator, ada-default-prj-properties)
2840         (ada-find-any-references): Update for above name change.
2842         * dirtrack.el (dirtrack-directory-function)
2843         (dirtrack-canonicalize-function):
2844         * filecache.el (file-cache-completion-ignore-case)
2845         (file-cache-case-fold-search, file-cache-ignore-case):
2846         * term.el (serial-port-is-file-p): Cosmetic change.
2848         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2849         Remove non-existent `windows-95' system-type.
2850         * dired.el (dired-chown-program): Remove non-existent `linux'
2851         system-type.
2853         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2854         (ping-program-options): Remove non-existent `linux' system-type.
2856         * startup.el (package-initialize): Update declaration.
2858         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2859         (ls-lisp-handle-switches): Use time-less-p.
2860         (ls-lisp-format-time): Use float-time.
2862         * textmodes/remember.el (remember-time-to-seconds): Remove.
2863         (remember-store-in-mailbox): Use float-time.
2865         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2867         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2868         never a real function.
2869         (with-no-warnings): Remove compat stub, now unused.
2870         (time-less-p): Doc fix.
2871         (time-to-number-of-days): Simplify.
2873         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2874         Remove.
2875         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2876         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2877         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2878         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2879         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2881         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2882         (eshell-shuffle-files, eshell-shorthand-tar-command)
2883         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2884         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2885         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2886         Prefix dynamic local variable `matches'.
2888         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2889         Prefix dynamic local variable `skeleton'.
2891 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2893         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2894         in mail buffer; make yank-action always a command that yanks original
2895         buffer.
2897 2010-11-09  Glenn Morris  <rgm@gnu.org>
2899         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2901 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2903         * minibuffer.el (minibuffer-completion-help): Specify the end of the
2904         completion field (bug#7211).
2906         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2907         Fix handling of backslash escapes.
2908         (python-quote-syntax): Adjust accordingly.
2910 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
2912         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2913         (vc-mtn-workfile-branch): Adjust to new output format.
2915 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2917         * international/mule-cmds.el (princ-list): Mark as obsolete.
2919 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2921         * emacs-lisp/smie.el: New package.
2923 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
2925         * files.el (backup-by-copying-when-mismatch):
2926         Set `permanent-local' property.
2928         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2929         `permanent-local' property for `backup-by-copying-when-mismatch'.
2931 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
2933         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
2935 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
2937         * progmodes/verilog-mode.el (verilog-insert-one-definition)
2938         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2939         AUTOINOUT for SV style multidimensional arrays, bug294.
2940         Reported by Eric Mastromarchi.
2941         (verilog-preprocess): Use with-current-buffer and
2942         font-lock-fontify-buffer to cleanup style issues.
2944 2010-11-09  Glenn Morris  <rgm@gnu.org>
2946         * locate.el (locate, locate-mode): Doc fixes.
2948 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
2950         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2951         user for confirmation.
2952         (server-force-stop): Use it.
2953         (server-start): Use server-force-stop for kill-emacs-hook, to
2954         avoid user interaction while killing Emacs.
2956 2010-11-09  Glenn Morris  <rgm@gnu.org>
2958         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2959         (meta-indent-line): Simplify.
2961         * vc/emerge.el (emerge-line-number-in-buf):
2962         * textmodes/ispell.el (ispell-region):
2963         * textmodes/fill.el (current-fill-column):
2964         * progmodes/xscheme.el (xscheme-send-current-line):
2965         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2966         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2967         * progmodes/sh-script.el (sh-handle-prev-do):
2968         * progmodes/meta-mode.el (meta-indent-line):
2969         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2970         (idlwave-in-quote):
2971         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2972         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2973         * progmodes/fortran.el (fortran-looking-at-if-then):
2974         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2975         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2976         (cperl-find-pods-heres):
2977         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2978         * net/quickurl.el (quickurl-list-insert):
2979         * net/ldap.el (ldap-search-internal):
2980         * net/eudc.el (eudc-expand-inline):
2981         * mail/sendmail.el (sendmail-send-it):
2982         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2983         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2984         (viper-brac-function):
2985         * calc/calc-yank.el (calc-do-grab-region):
2986         * calc/calc-keypd.el (calc-keypad-press):
2987         * term.el (term-move-columns, term-insert-spaces):
2988         * speedbar.el (speedbar-highlight-one-tag-line):
2989         * simple.el (current-word):
2990         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2991         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2992         (Info-scroll-down):
2993         * hippie-exp.el (he-line-beg):
2994         * epa.el (epa--marked-keys):
2995         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2996         (dired-update-file-line, dired-add-entry, dired-remove-entry)
2997         (dired-relist-entry):
2998         * buff-menu.el (Buffer-menu-buffer):
2999         * array.el (current-line):
3000         * allout.el (allout-resolve-xref)
3001         (allout-latex-verbatim-quote-curr-line):
3002         Replace yet more uses of end-of-line etc with line-end-position, etc.
3004 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3006         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3007         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3008         (checkdoc-syntax-table): Initialize in the declaration.
3009         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3010         the mode on unconditionally.
3012         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3013         (extent-end-position, extent-start-position): Remove setf method for
3014         non-existing functions (bug#7319).
3016 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3018         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3019         (smie-precs->prec2): Rename from smie-precs-precedence-table.
3020         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3021         (smie-prec2->grammar): Rename from smie-prec2-levels.
3022         (smie-grammar): Rename from smie-op-levels.
3023         (smie-indent--hanging-p): Rename from smie-hanging-p.
3024         (smie-rule-hanging-p): New alias.
3025         (smie-indent--bolp): Rename from smie-bolp.
3026         (smie-indent--hanging-p): New alias.
3027         (smie--token): New dynamically bound variable.
3028         (smie-indent--parent): New function.
3029         (smie-rule-parent-p): Use it; rename from smie-parent-p.
3030         (smie-rule-next-p): Rename from smie-next-p.
3031         (smie-rule-prev-p): Rename from smie-prev-p.
3032         (smie-rule-sibling-p, smie-rule-parent)
3033         (smie-indent--separator-outdent, smie-rule-separator): New functions.
3034         (smie-rule-separator-outdent): New var.
3035         (smie-indent--rule): Merge with smie-indent--column.
3036         (smie-indent-forward-token, smie-indent-backward-token):
3037         Also recognize close parens.
3038         (smie-indent-keyword): Don't use smie-indent--column any more.
3039         (smie-indent-after-keyword): Ignore closers by default.
3040         (smie-indent-line): Use with-demoted-errors.
3041         * progmodes/octave-mod.el (octave-smie-grammar):
3042         Rename from octave-smie-op-levels.
3043         (octave-smie-rules): Adjust to new behavior.
3044         * progmodes/prolog.el (prolog-smie-grammar):
3045         Rename from prolog-smie-op-levels.
3047 2010-11-07  Glenn Morris  <rgm@gnu.org>
3049         * eshell/esh-util.el (subst-char-in-string)
3050         (directory-files-and-attributes): These compatibility definitions are
3051         not needed on any version of Emacs since at least 21.4.
3053         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3054         (verilog-get-end-of-line): Remove.
3055         (verilog-within-string, verilog-re-search-forward-substr)
3056         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3057         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3058         Use point-at-bol, point-at-eol.
3059         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3060         Remove.
3061         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3062         (electric-pascal-terminate-line, pascal-set-auto-comments)
3063         (pascal-indent-paramlist, pascal-indent-declaration)
3064         (pascal-get-lineup-indent, pascal-func-completion)
3065         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3066         Use point-at-bol, point-at-eol.
3067         * progmodes/flymake.el (flymake-line-beginning-position)
3068         (flymake-line-end-position): Remove.
3069         (flymake-highlight-line): Use point-at-bol, point-at-eol.
3070         * eshell/esh-util.el (line-end-position, line-beginning-position):
3071         Remove compat definitions.
3073         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3074         Use end-of-line N.
3075         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3076         Use line-end-position.
3078         * emacs-lisp/chart.el (chart-zap-chars):
3079         * play/decipher.el (decipher-set-map):
3080         * progmodes/ada-mode.el (ada-get-current-indent)
3081         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3082         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3083         * progmodes/ada-xref.el (ada-initialize-runtime-library)
3084         (ada-get-all-references):
3085         * progmodes/cperl-mode.el (cperl-electric-paren)
3086         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3087         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3088         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3089         (cperl-word-at-point-hard):
3090         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3091         (idlwave-shell-filename-string, idlwave-shell-batch-command)
3092         (idlwave-shell-display-line):
3093         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3094         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3095         * progmodes/js.el (js--re-search-forward-inner)
3096         (js--re-search-backward-inner):
3097         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3098         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3099         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3100         * textmodes/flyspell.el (flyspell-process-localwords):
3101         * textmodes/ispell.el (ispell-buffer-local-parsing)
3102         (ispell-buffer-local-dict, ispell-buffer-local-words):
3103         Use point-at-bol and point-at-eol.
3105         * speedbar.el (speedbar-generic-item-info)
3106         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3107         (speedbar-add-indicator, speedbar-check-vc-this-line)
3108         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3109         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3110         Replace more uses of end-of-line etc with line-end-position.
3112 2010-11-06  Glenn Morris  <rgm@gnu.org>
3114         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3115         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3116         (texinfo-delete-existing-pointers, texinfo-find-pointer)
3117         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3118         (texinfo-multiple-files-update):
3119         * textmodes/table.el (table--probe-cell-left-up)
3120         (table--probe-cell-right-bottom):
3121         * textmodes/picture.el (picture-tab-search):
3122         * textmodes/page-ext.el (pages-copy-header-and-position)
3123         (pages-directory-for-addresses):
3124         * progmodes/vera-mode.el (vera-get-offset):
3125         * progmodes/simula.el (simula-calculate-indent):
3126         * progmodes/python.el (python-pdbtrack-overlay-arrow):
3127         * progmodes/prolog.el (end-of-prolog-clause):
3128         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3129         * progmodes/icon.el (indent-icon-exp):
3130         * progmodes/etags.el (tag-re-match-p):
3131         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3132         * progmodes/ebnf2ps.el (ebnf-begin-file):
3133         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3134         (dcl-save-local-variable):
3135         * play/life.el (life-setup):
3136         * play/gametree.el (gametree-looking-at-ply):
3137         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3138         * mail/sendmail.el (mail-mode-auto-fill):
3139         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3140         * emacs-lisp/edebug.el (edebug-overlay-arrow):
3141         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3142         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3143         (woman-tab-to-tab-stop, WoMan-warn-ignored):
3144         * type-break.el (type-break-file-keystroke-count):
3145         * term.el (term-replace-by-expanded-history-before-point)
3146         (term-skip-prompt, term-extract-string):
3147         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3148         (speedbar-contract-line, speedbar-toggle-line-expansion)
3149         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3150         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3151         * sort.el (sort-skip-fields):
3152         * skeleton.el (skeleton-internal-list):
3153         * simple.el (line-move-finish, line-move-to-column):
3154         * shell.el (shell-forward-command):
3155         * misc.el (copy-from-above-command):
3156         * makesum.el (double-column):
3157         * ebuff-menu.el (electric-buffer-update-highlight):
3158         * dired.el (dired-move-to-end-of-filename):
3159         * dframe.el (dframe-popup-kludge):
3160         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3161         * arc-mode.el (archive-get-lineno):
3162         Use line-end-position and line-beginning-position.
3164         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3165         (idlwave-study-twins): Prefix dynamic local `class'.
3166         (idlwave-routine-twin-compare): Update for above name change.
3168         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3169         Use boundp tests to silence compiler.  Update for changed name of
3170         bytecomp-filename variable.
3172         * emulation/viper-cmd.el (viper-read-string-with-history):
3173         Prefix dynamic local `initial'.
3174         (viper-minibuffer-standard-hook): Update for above name change.
3176         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3177         (elint-init-form): Update for above name change.
3179         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3180         local variables `cbeg' and `cend' a prefix.
3181         (mail-extr-voodoo): Update for above name change.
3183         * textmodes/reftex-toc.el (reftex-toc-do-promote)
3184         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3185         (reftex-toc-promote-action): Doc fix.
3187         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3188         `prompt', `data' a prefix.
3189         (reftex-select-post-command-hook, reftex-select-callback)
3190         (reftex-select-mouse-accept, reftex-select-read-cite):
3191         Update for above name changes.
3193         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3194         `refstyle' to reftex-refstyle.
3195         (reftex-offer-label-menu): Update for above name change.
3196         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3197         `refstyle' name change.
3199         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3200         with with-current-buffer.
3201         (diff, template): Give dynamic local variables a prefix.
3202         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3203         (emerge-line-number-in-buf): Update for above name change.
3204         (emerge-combine-versions-internal): Rename local `template' to
3205         emerge-combine-template.
3206         (emerge-combine-versions-edit): Update for above name change.
3208 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
3210         * textmodes/reftex-cite.el
3211         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3212         entries with whitespace after \bibitem.
3213         (reftex-create-bibtex-file): Match entries containing numbers and
3214         symbol constituents.  Make sure that entries with whitespace at
3215         various places are found.
3217 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
3219         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3221 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
3223         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3225 2010-11-05  Glenn Morris  <rgm@gnu.org>
3227         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3228         (woman2-roff-buffer): Give local variable `request' a prefix.
3229         (woman0-macro): Rename argument `request' in the same way.
3230         (woman-request): New name for `request' dynamic variable.
3231         (woman-unquote, woman-forward-arg): Update for above name change.
3232         (woman1-roff-buffer): Give local variable `unquote' a prefix.
3233         (woman1-unquote): New name for `unquote' dynamic variable.
3234         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3235         (woman-translations): Rename from `translations'.  No longer global.
3236         (woman2-tr, woman-translate): Update for above name change.
3237         (woman-translate): Check for bound variable.
3238         (woman2-roff-buffer): Give local variable `translations' a prefix.
3240         * play/doctor.el: Give all local variables a prefix.  Update callers.
3241         (doc$, doctor-put-meaning): Use backquote.
3243         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3244         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3246         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3247         variables bytes, ptr, op a prefix.
3248         (disassemble-offset): Update for above change.
3250 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3252         * emacs-lisp/package.el (package-unpack): Remove no-op.
3253         (package--builtins, package--dir): Doc fix.
3254         (package-activate-1, package-activate, package-install)
3255         (package-compute-transaction): Fix error message.
3256         (package-delete): Use delete-directory.  Omit system packages.
3257         (package-initialize): Set package-alist to nil first.
3258         (package-menu-mark-delete, package-menu-mark-install): Don't add
3259         symbols that are inconsistent with the package state.
3260         (package-menu-execute): Perform deletions and installations as
3261         single batch operations.
3263 2010-11-03  Glenn Morris  <rgm@gnu.org>
3265         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3266         (props): Remove unnecessary declaration.
3268         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3269         set-process-query-on-exit-flag.
3271         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3272         (reftex-toc-do-promote): Remove unused local `mpos'.
3273         (reftex-toc-restore-region): Make `mpos' local to this function.
3275         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3277         * play/landmark.el (lm-losing-threshold): Correct spelling.
3278         (lm-human-plays): Use new name.
3280         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3281         (gomoku-human-plays): Use new name.
3283         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3284         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3285         (gomoku-score-trans-table, gomoku-winning-threshold)
3286         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3288 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3290         * emacs-lisp/package.el: Don't put built-in packages in
3291         package-alist, to avoid loading inefficiencies.
3292         (package-built-in-p): Make VERSION optional, and treat it as a
3293         minimum acceptable version.
3294         (package-activate): Search separately for built-in packages.
3295         Emit a warning if a dependency fails.
3296         (define-package): Handle most common case, where there is no
3297         obsolete package, first.
3298         (package-compute-transaction): Print required version in error.
3299         (package--initialized): New variable.
3300         (list-packages): Use it.
3301         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
3302         built-in packages in packages-alist; keep it separate.
3303         Set package--initialized.
3304         (describe-package): Avoid activating packages as a side-effect.
3305         Search separately for built-in packages.
3306         (describe-package-1): Handle the case where an elpa package is
3307         simultaneously built-in and available/installed.
3308         (package-installed-p, package--generate-package-list):
3309         Search separately for built-in packages.
3310         (package-load-descriptor): Doc fix.
3312 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3314         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3315         Handle __DATA__ and __END__.
3317 2010-11-02  Noah Friedman  <friedman@splode.com>
3319         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3320         nil, do not ask to recompile files that are not already compiled,
3321         and do not recompile them.
3323 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
3325         * emacs-lisp/package.el (package-initialize): Ensure that
3326         obsoleted built-in packages are not in package-activated-list
3327         during activation.
3328         (describe-package-1): Make the "installed" status override
3329         "built-in".
3331 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3333         * subr.el (version-separator, version-regexp-alist): Remove '*'
3334         from docstring.
3335         (version-list-<=, version<=, version=): Doc fix.
3337 2010-11-01  Kenichi Handa  <handa@m17n.org>
3339         * faces.el (glyphless-char): Inherit underline for tty.
3341 2010-11-01  Kenichi Handa  <handa@m17n.org>
3343         Implement various display methods for glyphless characters.
3345         * international/characters.el (char-acronym-table): New variable.
3346         (glyphless-char-control): New variable.
3347         (update-glyphless-char-display): New funciton.
3349         * faces.el (glyphless-char): New face.
3351 2010-11-01  Glenn Morris  <rgm@gnu.org>
3353         * calendar/holidays.el (general-holidays, oriental-holidays)
3354         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3355         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3356         the definitions of their targets.
3358         * emacs-lisp/smie.el (smie): New custom group.
3359         (smie-blink-matching-inners, smie-indent-basic): Add :group.
3361         * faces.el (xw-defined-colors, x-setup-function-keys):
3362         * mouse-sel.el (x-select-text):
3363         * term/w32console.el (x-setup-function-keys): Update declarations.
3365         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3367         * textmodes/ispell.el (comment-add): Declare.
3369         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3370         Declare.
3372         * info.el (finder-keywords-hash, package-alist): Declare.
3374 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
3376         * finder.el (finder-compile-keywords): Don't use intern-soft,
3377         since package names may not yet exist in the obarray.
3379 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
3381         * vc/vc-arch.el (vc-arch-checkin):
3382         * vc/vc-cvs.el (vc-cvs-checkin):
3383         * vc/vc-mtn.el (vc-mtn-checkin):
3384         * vc/vc-rcs.el (vc-rcs-checkin):
3385         * vc/vc-sccs.el (vc-sccs-checkin):
3386         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3387         since 2010-04-21 commit by Stefan Monnier.
3389 2010-11-01  Glenn Morris  <rgm@gnu.org>
3391         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3393         * startup.el (package-enable-at-startup, package-initialize):
3394         Silence compiler.
3396         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3397         Silence compiler.
3399 2010-10-31  Julien Danjou  <julien@danjou.info>
3401         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3402         (byte-recompile-directory):
3403         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3404         Use `byte-recompile-file'.
3406 2010-10-31  Glenn Morris  <rgm@gnu.org>
3408         * cus-start.el: Handle standard values via a keyword.
3409         Only set version property if specified.
3410         (cursor-in-non-selected-windows, menu-bar-mode)
3411         (tool-bar-mode, show-trailing-whitespace):
3412         Do not specify standard values.
3413         (transient-mark-mode, temporary-file-directory): Use :standard.
3415 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
3417         * term/x-win.el (x-get-selection-value): New function that gets
3418         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3420 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
3422         * net/tramp.el (tramp-handle-insert-file-contents): For root,
3423         preserve owner and group when editing files.  (Bug#7289)
3425 2010-10-31  Glenn Morris  <rgm@gnu.org>
3427         * speedbar.el (speedbar-mode):
3428         * play/fortune.el (fortune-in-buffer, fortune):
3429         * play/gomoku.el (gomoku-mode):
3430         * play/landmark.el (lm-mode):
3431         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3432         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
3434         * select.el (x-selection): Mark it as an obsolete alias.
3436 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3438         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3439         major-mode (bug#7284).
3441 2010-10-31  Glenn Morris  <rgm@gnu.org>
3443         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3444         rather than just an unused variable that inherits from the real one.
3446 2010-10-31  Alan Mackenzie  <acm@muc.de>
3448         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3449         This fixes bug #7185.
3451 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
3453         * startup.el (command-line): Search for package directories, and
3454         don't load package.el if none are found.
3456         * emacs-lisp/package.el (describe-package, list-packages):
3457         Call package-initialize if it has not been called yet.
3459 2010-10-30  Alan Mackenzie  <acm@muc.de>
3461         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3462         which fontifies the tail of an enum.
3463         (c-basic-matchers-after): Insert a call to the above new function.
3464         This fixes bug #7264.
3466 2010-10-30  Glenn Morris  <rgm@gnu.org>
3468         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3469         tool-bar-mode, transient-mark-mode.  (Bug#7306)
3470         Include the :set property in the dumped Emacs.
3472 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3474         SMIE: change indent rules format, improve smie-setup.
3475         * emacs-lisp/smie.el (smie-precs-precedence-table)
3476         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3477         Mark them pure so the tables gets built at compile time.
3478         (smie-bnf-precedence-table): Store the closer-alist in the table.
3479         (smie-prec2-levels): Preserve the closer-alist.
3480         (smie-blink-matching-open): Be more forgiving in case of indentation.
3481         (smie-hanging-p): Rename from smie-indent--hanging-p.
3482         (smie-bolp): Rename from smie-indent--bolp.
3483         (smie--parent, smie--after): New dynamic vars.
3484         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3485         (smie-indent-rules): Remove.
3486         (smie-indent--offset-rule): Remove fun.
3487         (smie-rules-function): New var.
3488         (smie-indent--rule): New fun.
3489         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3490         (smie-indent-exps): Use it.
3491         (smie-setup): Setup paren blinking; add keyword args for token
3492         functions; extract closer-alist from op-levels.
3493         (smie-indent-debug-log): Remove var.
3494         (smie-indent-debug): Remove fun.
3495         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3496         (prolog-smie-rules): New fun to replace it.
3497         (prolog-mode-variables): Simplify.
3498         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3499         it's setup automatically.
3500         (octave-smie-indent-rules): Remove.
3501         (octave-smie-rules): New fun to replace it.
3502         (octave-mode): Simplify.
3504 2010-10-29  Glenn Morris  <rgm@gnu.org>
3506         * files.el (temporary-file-directory): Remove (already defined in C).
3507         * cus-start.el: Add temporary-file-directory.
3509         * abbrev.el (abbrev-mode):
3510         * composite.el (auto-composition-mode):
3511         * menu-bar.el (menu-bar-mode):
3512         * simple.el (transient-mark-mode):
3513         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3514         that they do not define the associated variables twice.
3515         * simple.el (transient-mark-mode): Remove defvar.
3516         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3517         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3518         Handle multiple groups, and also custom-delayed-init-variables.
3519         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3521 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3523         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3524         (pcase-if): Add one minor optimization.
3525         (pcase-split-equal): Rename from pcase-split-eq.
3526         (pcase-split-member): Rename from pcase-split-memq.
3527         (pcase-u1): Add strings to the member optimization.
3528         Add `guard' variant of predicates.
3529         (pcase-q1): Add string patterns.
3531 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3533         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3535 2010-10-28  Glenn Morris  <rgm@gnu.org>
3537         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3538         Move menu-bar related settings to ../menu-bar.el.
3539         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3540         Move ns-specific settings here from term/ns-win.el.
3542         * simple.el (x-selection-owner-p): Remove unused declaration.
3544 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3546         * minibuffer.el (completion-cycling): New var (bug#7266).
3547         (minibuffer-complete, completion--do-completion):
3548         Use completion--flush-all-sorted-completions.
3549         (minibuffer-complete): Only cycle if completion-cycling is set.
3550         (completion--flush-all-sorted-completions): Unset completion-cycling.
3551         (minibuffer-force-complete): Set completion-cycling.
3552         (completion-all-sorted-completions): Move declaration before first use.
3554 2010-10-28  Leo  <sdl.web@gmail.com>
3556         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3557         which changes the order of matches seen by users (bug#7231).
3559 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
3561         * progmodes/compile.el (compilation-mode-font-lock-keywords):
3562         Don't confuse -omega as "-o mega".
3564 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3566         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3567         (log-edit-author): New dynamic var.
3568         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3569         to return the author if different from committer.
3570         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3572         * play/landmark.el: Adjust commenting convention.
3573         (lm-nil-score): Rename from nil-score.
3574         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3575         (OOOOscore): Move into a let in lm-score-trans-table.
3576         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3578         * electric.el (electric-indent-chars): Autoload.
3579         * progmodes/octave-mod.el (octave-mode):
3580         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3581         (ruby-mode-abbrev-table): Merge initialization and declaration.
3583 2010-10-27  Glenn Morris  <rgm@gnu.org>
3585         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3586         variable.
3588         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3590         * term/ns-win.el: Restore require of cl when compiling.
3591         (menu-bar-final-items): Remove non-existent `windows' menu.
3592         (ns-handle-nxopen): Optionally handle the temp-case.
3593         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3594         (ns-insert-file, ns-find-file): Use `pop'.
3596 2010-10-26  Glenn Morris  <rgm@gnu.org>
3598         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3600 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
3602         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3603         global map.
3604         * term/common-win.el (x-setup-function-keys): Remove most of the
3605         keymappings.  Comment on the remaining ones.
3607 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
3609         * server.el (server-port): New option.  (Bug#854)
3610         (server-start): Use server-port.
3612 2010-10-26  Glenn Morris  <rgm@gnu.org>
3614         * term/ns-win.el (ns-version-string): Remove unused declaration.
3615         (ns-invocation-args): Change to x-invocation-args.
3616         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3617         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3618         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3619         Use x-invocation-args instead of ns-invocation-args.
3620         (ns-initialize-window-system, handle-args-function-alist):
3621         Use x-handle-args instead of ns-handle-args.
3622         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3623         * startup.el (command-line-ns-option-alist): Replace
3624         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3625         ns-handle-iconic with the x- equivalents.
3627         * term/common-win.el (x-select-enable-clipboard):
3628         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3630         * term/ns-win.el: No need to require cl when compiling.
3631         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3632         (xw-defined-colors): Use the common-win definitions.
3633         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3634         (ns-handle-iconic): Make it an alias for x-handle-iconic.
3635         * term/common-win.el (x-select-text, x-alternatives-map)
3636         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3637         * loadup.el [ns]: Load common-win.
3639 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
3641         * epa-mail.el (epa-mail-encrypt): Handle local-part only
3642         recipients; expand mail aliases (Bug#7280).
3644 2010-10-25  Glenn Morris  <rgm@gnu.org>
3646         * term/common-win.el (x-handle-switch): Simplify with pop.
3647         Optionally handle numeric switches.
3648         (x-handle-numeric-switch): Just call x-handle-switch.
3649         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3650         (x-handle-name-switch, x-handle-display, x-handle-args):
3651         Simplify with pop.
3653         * term/ns-win.el: Do not require easymenu.
3654         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3655         <spell>: Move adjustments to menu-bar.el.
3656         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3657         <separator-undo, spell>: Move ns-win's adjustments here.
3658         * loadup.el [ns]: Do not load easymenu.
3660 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3662         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3663         Delete (Bug#7222).
3665         * startup.el (fancy-startup-tail): Instead of using inline images,
3666         refer to image files from etc/.
3668         * wid-edit.el (checkbox): Likewise.
3669         (widget-image-find): Center image specs.
3671 2010-10-24  Glenn Morris  <rgm@gnu.org>
3673         * term/ns-win.el (x-select-text): Doc fix.
3674         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3675         (x-select-text): Move to term/common-win.
3676         * term/w32-win.el (xw-defined-colors): Move to common-win.
3677         * term/x-win.el (xw-defined-colors, x-alternatives-map)
3678         (x-setup-function-keys, x-select-text): Move to common-win.
3679         * term/common-win.el (x-select-text, x-alternatives-map)
3680         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3681         definitions here.
3683 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
3685         * net/mairix.el (mairix-searches-mode-map):
3686         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3688 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
3690         * verilog-mode.el (verilog-directive-re): Make this variable
3691         auto-built for efficiency of execution and updating.
3692         (verilog-extended-complete-re): Support 'pure' fucntion & task
3693         declarations (these have no bodies).
3694         (verilog-beg-of-statement): General cleanup to enable support of
3695         'pure' fucntion & task declarations (these have no bodies).
3696         These efforts together fix Verilog bug210 from veripool; which was also
3697         noticed by Steve Pearlmutter.
3698         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3699         (verilog-directive-nest-re, verilog-set-auto-endcomments):
3700         Support `elsif.  Reported by Shankar Giri.
3701         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3702         attribute handling for lining up declarations and assignments.
3703         (verilog-beg-of-statement-1): Fix issue where continued declaration
3704         is indented differently if it is after a begin..end clock.
3705         (verilog-in-attribute-p, verilog-skip-backward-comments)
3706         (verilog-skip-forward-comment-p): Support proper treatment of
3707         attributes by indent code. Reported by Jeff Steele.
3708         (verilog-in-directive-p): Fix comment to correctly describe function.
3709         (verilog-backward-up-list, verilog-in-struct-region-p)
3710         (verilog-backward-token, verilog-in-struct-p)
3711         (verilog-in-coverage-p, verilog-do-indent)
3712         (verilog-pretty-declarations): Use verilog-backward-up-list as
3713         wrapper around backward-up-list inorder to properly skip comments.
3714         Reported by David Rogoff.
3715         (verilog-property-re, verilog-endcomment-reason-re)
3716         (verilog-beg-of-statement, verilog-set-auto-endcomments)
3717         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3718         of if). Reported by Max Bjurling and
3719         (verilog-calc-1): Fix for clocking block in modport
3720         declaration. Reported by Brian Hunter.
3722 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
3724         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3725         (verilog-gate-keywords, verilog-read-sub-decls)
3726         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3727         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3728         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
3729         (verilog-read-decls): Fix spaces in V2K module parameters causing
3730         mis-identification as interfaces, bug287.
3731         (verilog-read-decls): Fix not treating "parameter string" as a
3732         parameter in AUTOINSTPARAM.
3733         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3734         treating `elsif similar to `endif inside AUTOSENSE.
3735         (verilog-do-indent): Implement correct automatic or static task or
3736         function end comment highlight. Reported by Steve Pearlmutter.
3737         (verilog-font-lock-keywords-2): Fix highlighting of single
3738         character pins, bug264.  Reported by Michael Laajanen.
3739         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3740         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3741         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3742         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
3743         (verilog-pretty-expr): Fix interactive arguments, bug272.
3744         Reported by Mark Johnson.
3745         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3746         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3747         bug269. Suggested by Gary Delp.
3748         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3749         (verilog-preprocessor, verilog-set-compile-command):
3750         Create verilog-preprocess and verilog-preprocessor to show
3751         preprocessed output.
3752         (verilog-get-beg-of-line, verilog-get-end-of-line)
3753         (verilog-modi-file-or-buffer, verilog-modi-name)
3754         (verilog-modi-point, verilog-within-string): Move defmacro's
3755         before first use to avoid warning. Reported by Steve Pearlmutter.
3756         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3757         (verilog-colorize-region, verilog-highlight-buffer)
3758         (verilog-highlight-includes, verilog-highlight-modules)
3759         (verilog-highlight-region, verilog-mode): Rename colorize to
3760         highlight to match other packages.  Disable module highlighting,
3761         as received speed complaints, reenable for experimentation only
3762         using new verilog-highlight-modules.
3763         (verilog-read-decls): Fix regexp stack overflow in very large
3764         AUTO_TEMPLATEs, bug250.
3765         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3766         (verilog-scan): Create verilog-save-buffer-state to standardize
3767         making insignificant changes that shouldn't call hooks.
3768         (verilog-save-no-change-functions, verilog-save-scan-cache)
3769         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3770         Create verilog-save-no-change-functions to wrap verilog-scan
3771         preservation, and fix to work with nested preserved calls.
3772         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3773         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3774         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
3775         (verilog-submit-bug-report): Update variable list to be complete.
3776         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3777         breaking on-the-fly font-locking.
3778         (verilog-colorize-buffer, verilog-colorize-include-files)
3779         (verilog-colorize-include-files-buffer, verilog-colorize-region)
3780         (verilog-load-file-at-mouse, verilog-load-file-at-point)
3781         (verilog-mode, verilog-read-inst-module-matcher): With point on a
3782         AUTOINST cell instance name, middle mouse button now finds-file on
3783         it.  Suggested by Brad Dobbie.
3784         (verilog-alw-get-temps, verilog-auto-reset)
3785         (verilog-auto-sense-sigs, verilog-read-always-signals)
3786         (verilog-read-always-signals-recurse): Fix loop indexes being
3787         AUTORESET. AUTORESET now assumes any variables in the
3788         initialization section of a for() should be ignored.
3789         Reported by Dan Dever.
3790         (verilog-error-font-lock-keywords)
3791         (verilog-error-regexp-emacs-alist)
3792         (verilog-error-regexp-xemacs-alist): Fix error detection of
3793         Cadence HAL, reported by David Asher.  Repair drift between the
3794         three similar error variables.
3795         (verilog-modi-lookup, verilog-modi-lookup-cache)
3796         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3797         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3798         Fix slow verilog-auto expansion on very large files.
3799         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3800         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3801         "{1*2{...".  Broke in last revision.
3802         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3803         submodule connections with replications "{#{a},#{b}}".
3805 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
3807         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3808         Fix typo in docstring.
3810 2010-10-24  Kenichi Handa  <handa@m17n.org>
3812         * face-remap.el (text-scale-adjust): Call read-event with a proper
3813         prompt.
3815 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3817         * emacs-lisp/unsafep.el: Don't mark functions that display
3818         messages as safe.  Suggested by Johan Bockgård.
3820 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3822         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3823         Turn comments into docstrings.
3825         * minibuffer.el (completion--replace): Move point where it belongs
3826         when there's a common suffix (bug#7215).
3828 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3830         Merge read-color and facemenu-read-color (Bug#7242).
3832         * faces.el (read-color): Use the completion code from
3833         facemenu-read-color.  Require match in completion.  Doc fix.
3835         * facemenu.el (facemenu-read-color): Alias for read-color.
3836         (facemenu-set-foreground, facemenu-set-background):
3837         Use read-color.
3839         * frame.el (set-background-color, set-foreground-color)
3840         (set-cursor-color, set-mouse-color, set-border-color):
3841         Use read-color.
3843 2010-10-24  Leo  <sdl.web@gmail.com>
3845         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3846         argument of delete-file and delete-directory (Bug#7011).
3848 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3850         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3851         button-buffer-map.
3853 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
3855         * emacs-lisp/package.el (package--generate-package-list): Make the
3856         *Packages* buffer read-only.
3858 2010-10-24  Alan Mackenzie  <acm@muc.de>
3860         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3861         result of `c-beginning-of-decl-1' between invocations of a lambda
3862         function (Bug #7265).
3864 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
3866         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3867         executable is not available on the system (Bug#7268).
3869 2010-10-24  Glenn Morris  <rgm@gnu.org>
3871         * select.el (selection-coding-system, next-selection-coding-system):
3872         Sync doc with C versions.
3874         * w32-vars.el (x-select-enable-clipboard):
3875         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3876         * term/common-win.el (x-select-enable-clipboard): Move here.
3878         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3879         definition of C variable.
3881         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3882         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3883         Don't redefine things that are defined in C.
3884         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3885         (show-trailing-whitespace, auto-hscroll-mode)
3886         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3887         Set up the appropriate custom properties.
3889 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3891         Bind "C-c ]" to ...
3892         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3893         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3894         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3895         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3897 2010-10-23  Glenn Morris  <rgm@gnu.org>
3899         * textmodes/flyspell.el (flyspell-mode): If there was an error,
3900         say what it was.
3902         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3903         Sync docs with C version.
3905         * term/ns-win.el (xw-defined-colors):
3906         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3908         * term/pc-win.el (x-select-enable-clipboard):
3909         * term/x-win.el (x-select-enable-clipboard):
3910         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3912         * comint.el (comint-password-prompt-regexp): Make it less vague.
3913         Bump version.
3915         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3917         * help.el (finder-by-keyword): Remove unnecessary autoload.
3919 2010-10-22  Glenn Morris  <rgm@gnu.org>
3921         * loadup.el: Unconditionally load float-sup.
3922         * paren.el (show-paren-delay):
3923         * emacs-lisp/float-sup.el:
3924         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3925         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3926         (lazy-lock-stealth-verbose): Assume float support.
3927         * ps-print.el: Assume float support on Emacs.
3928         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3929         Remove non-float branch.
3931         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3932         src/Makefile no longer being pre-processed.
3934 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3936         * emacs-lisp/find-func.el (find-library): Use test-completion.
3938 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3940         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3942 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
3944         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3945         space in stat format string.
3946         (tramp-send-command): Unset $PS1 when using here documents, in
3947         order not to get several prompts.
3948         (tramp-get-inline-coding): Return `nil' in case of errors.
3950 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
3952         * hexl.el (hexl-mode, hexl-mode-exit):
3953         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3954         (hexl-revert-buffer-function): New function.
3955         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3957 2010-10-19  Alan Mackenzie  <acm@muc.de>
3959         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3960         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3961         that these keywords aren't wrongly matched as identifiers.
3963         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3964         setting of c-new-BEG and c-new-END from c-before-change to
3965         c-after-change.  (Bug#7181)
3967 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3969         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3970         Don't mark as safe.
3972         * custom.el (custom-theme-set-variables): Likewise.
3973         (load-theme): Add custom-theme-set-faces and
3974         custom-theme-set-variables to safe-functions while loading.
3975         (custom-enabled-themes): Mark as risky.
3977 2010-10-18  Julien Danjou  <julien@danjou.info>
3979         * bindings.el: Remove end dashes in default mode-line-format.
3981 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3983         * bindings.el (global-map): Bind C-d to delete-char and deletechar
3984         to delete-forward-char.
3986         * simple.el (normal-erase-is-backspace-mode): Remap delete to
3987         deletechar, and hence delete-forward-char.
3989 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3991         * repeat.el (repeat): Use read-key (bug#6256).
3993 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3995         * emacs-lisp/unsafep.el: Don't mark functions that display
3996         messages as safe.  Suggested by Johan Bockgård.
3998 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4000         * minibuffer.el (completion--replace): Move point where it belongs
4001         when there's a common suffix (bug#7215).
4003 2010-10-19  Kenichi Handa  <handa@m17n.org>
4005         * international/characters.el: Add category '|' (word breakable)
4006         to fullwidth characters.
4008 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
4010         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4011         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4012         order to make stat results a float.  Patch by Andreas Schwab
4013         <schwab@linux-m68k.org>.
4015 2010-10-18  Julien Danjou  <julien@danjou.info>
4017         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4018         hidden by `make-pointer-invisible'.
4020 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4022         * files.el (locate-file-completion-table): Strip non-matching elements
4023         before checking length of list (bug#7238).
4025 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
4027         * custom.el (custom-theme-set-variables): Mark as a safe function.
4028         (load-theme): Check forms using unsafep.
4030         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4032 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
4034         * textmodes/ispell.el (ispell-aspell-find-dictionary):
4035         Fix aspell data file searching (bug#7230).
4037 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4039         * cus-theme.el (custom-theme--migrate-settings): New var.
4040         (customize-create-theme): Allow editing the `user' theme.
4041         (custom-theme-add-variable, custom-theme-add-var-1)
4042         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4043         to the front of each variable or face widget.
4044         (custom-theme-write): Save theme settings in the correct order.
4045         Optionally, remove saved settings from user customizations.
4046         (custom-theme-write-variables, custom-theme-write-faces):
4047         Save only the checked widgets.
4048         (customize-themes): Add a link for migrating custom settings.
4050         * custom.el (custom-declare-theme, provide-theme):
4051         Use custom-theme-name-valid-p.
4052         (custom-theme-name-valid-p): Remove checks that are now
4053         unnecessary since themes no longer obey load-path.
4055         * cus-edit.el (custom-variable-value-create): For the simple
4056         style, hide documentation string when hidden.
4058 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4060         * cus-edit.el (custom-variable, custom-face): Combine the
4061         :inhibit-magic and :display-style properties into a single
4062         :custom-style property.
4063         (custom-toggle-hide-variable, custom-toggle-hide-face):
4064         New functions.  If hiding an edited value, save it to :shown-value.
4065         (custom-variable-value-create, custom-face-value-create): Use them.
4066         (custom-magic-reset): Allow magic property to be unset.
4068         * custom.el: Custom themes no longer use load-path.
4069         (custom-theme-load-path): New option.  Change built-in theme
4070         directory to etc/.
4071         (custom-enabled-themes): Add custom-theme-load-path dependency.
4072         (custom-theme--load-path): New function.
4073         (load-theme, custom-available-themes): Use it.
4075         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4076         (customize-themes): Link to custom-theme-load-path variable.
4077         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4078         :custom-style property.
4080         * themes/*.el: Moved to etc/.
4082 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
4084         * textmodes/reftex-cite.el
4085         (reftex-extract-bib-entries-from-thebibliography): Do not move
4086         point when searching for \bibitem entries.  Match entries with
4087         spaces or tabs in front of arguments.
4089 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4091         * cus-theme.el (customize-create-theme): Delete overlays after
4092         erasing.  If given a THEME arg, display only the faces of that arg
4093         instead of custom-theme--listed-faces.
4094         (custom-theme-variable-menu, custom-theme-variable-action)
4095         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4096         (custom-theme-add-variable, custom-theme-add-face): Apply value
4097         from the theme settings, instead of the current value.
4098         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4099         (custom-theme-visit-theme): Allow calling outside theme buffers.
4100         (custom-theme-merge-theme): Don't enable the theme when merging.
4101         (custom-theme-write-variables, custom-theme-write-faces): Use the
4102         :shown-value properties to save buffer values, not global ones.
4103         (customize-themes): Display a warning about user customizations.
4105         * cus-edit.el (custom-variable-value-create)
4106         (custom-face-value-create): Obey new special properties
4107         :shown-value and :inhibit-magic.
4109 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
4111         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4112         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
4113         <dale@codefu.org>.
4115 2010-10-14  Kenichi Handa  <handa@m17n.org>
4117         * mail/rmail.el (rmail-show-message-1): Catch an error of
4118         base64-decode-region and just show an error message (bug#7165).
4120         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
4121         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4122         a font-spec (bug#7197).
4124 2010-10-14  Glenn Morris  <rgm@gnu.org>
4126         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4128 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
4130         * international/mule.el (define-coding-system):
4131         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4132         * composite.el (compose-region): Fix typo in docstring.
4134 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
4136         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4137         only after checking the theme-face property.
4139         * faces.el (face-spec-reset-face): Reset all attributes in one
4140         single call to set-face-attribute.
4141         (face-spec-match-p): Make it a defsubst.
4142         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4143         (x-create-frame-with-faces, tty-create-frame-with-faces)
4144         (tty-set-up-initial-frame-faces): Don't recompute face specs in
4145         frame-set-background-mode, since they are recomputed immediately
4146         afterwards in face-set-after-frame-default.
4147         (face-set-after-frame-default): Minor optimization.
4148         (cursor): Provide non-trivial defface spec.
4150         * custom.el (custom-theme-recalc-face): Simplify.
4152 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
4154         * calc/calc-alg.el (math-var): Rename from `var'.
4155         (math-is-polynomial, math-is-poly-rec): Replace `var'
4156         with `math-var'.
4158         * calc/calcalg2.el (math-var): Rename from `var'.
4159         (calcFunc-table, math-scan-for-limits): Replace `var'
4160         with `math-var'.
4162 2010-10-13  Glenn Morris  <rgm@gnu.org>
4164         * subr.el (last): Deal with dotted lists (reported in bug#7174).
4166 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
4168         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4170 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4172         * net/tls.el (tls-program): Remove spurious %s from openssl.
4173         (tls-starttls-switches): Remove starttls hack.
4174         (open-tls-stream): Ditto.
4175         (tls-find-starttls-argument): Ditto.
4177 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
4179         * image.el (image-library-alist): Declare as obsolete alias.
4180         (image-type-available-p): Use `dynamic-library-alist'.
4182         * term/w32-win.el (dynamic-library-alist):
4183         Use instead of `image-library-alist'.
4185 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
4187         * subr.el (last): Make it faster.  (Bug#7174)
4189 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
4191         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
4193 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4195         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4196         (describe-theme-1): Extract doc from unloaded themes.
4198         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4200         * themes/tango-theme.el:
4201         * themes/tango-dark-theme.el:
4202         * themes/wheatgrass-theme.el: New files.
4204 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4206         * cus-theme.el (describe-theme, customize-themes)
4207         (custom-theme-save): New commands.
4208         (custom-new-theme-mode-map): Bind C-x C-s.
4209         (custom-new-theme-mode): Use custom--initialize-widget-variables.
4210         (customize-create-theme): New optional arg THEME.
4211         (custom-theme-revert): Use it.
4212         (custom-theme-visit-theme): Remove dead code.
4213         (custom-theme-merge-theme): Use custom-available-themes.
4214         (custom-theme-write): Make interactive.
4215         (custom-theme-write): Use custom-theme-name-valid-p.
4216         (describe-theme-1, custom-theme-choose-revert)
4217         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4218         New funs.
4219         (custom-theme-allow-multiple-selections): New option.
4220         (custom-theme-choose-mode): New major mode.
4222         * custom.el (custom-theme-set-variables): Remove dead code.
4223         Obey custom--inhibit-theme-enable.
4224         (custom--inhibit-theme-enable): New var.
4225         (provide-theme): Obey it.
4226         (load-theme): Replace load with manual read/eval, in order to
4227         check for correctness.  Use custom-theme-name-valid-p.
4228         (custom-theme-name-valid-p): New function.
4229         (custom-available-themes): Use it.
4231         * cus-edit.el (custom--initialize-widget-variables): New function.
4232         (Custom-mode): Use it.
4234         * cus-face.el (custom-theme-set-faces): Remove dead code.
4235         Obey custom--inhibit-theme-enable.
4237         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4239 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
4241         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4243 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
4245         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4246         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4247         (mac-right-option-modifier): New alias for ns-right-option-modifier.
4249         * cus-start.el (all): ns-right-alternate-modifier is new.
4251 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4253         * emacs-lisp/lisp.el (lisp-completion-at-point):
4254         Use emacs-lisp-mode-syntax-table for the whole function.
4256 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
4258         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4259         instead of font-lock-mode before adding keywords.
4260         Remove hi-lock-mode off code.  Remove inhibit hack.
4261         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4262         non-nil; removed hook inhibit hack.
4264 2010-10-12  Glenn Morris  <rgm@gnu.org>
4266         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4267         (load-path-shadows-find): ... to this.
4268         (list-load-path-shadows): Update for above change.
4270         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4272 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
4274         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4275         Fix comment for declare-function.
4277 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
4279         * custom.el (custom-fix-face-spec): New function; code moved from
4280         custom-face-edit-fix-value.
4281         (custom-push-theme): Use it when checking if a face has been
4282         changed outside customize.
4283         (custom-available-themes): New function.
4284         (load-theme): Use it.
4286         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4288         * custom.el (custom-push-theme): Cleanup (use cond).
4289         (disable-theme): Recompute the saved-face property.
4290         (custom-theme-recalc-face): Follow face alias before setting prop.
4292         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4293         New variables, containing checkbox images.
4295         * startup.el (fancy-startup-tail):
4296         * wid-edit.el (checkbox): Use them.
4298 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
4300         * shell.el (shell-mode-map):
4301         * progmodes/modula2.el (m2-mode-map):
4302         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4303         * play/mpuz.el (mpuz-mode-map):
4304         * play/landmark.el (lm-mode-map):
4305         * play/decipher.el (decipher-mode-map):
4306         * play/5x5.el (5x5-mode-map):
4307         * net/telnet.el (telnet-mode-map):
4308         * net/quickurl.el (quickurl-list-mode-map):
4309         * net/mairix.el (mairix-searches-mode-map):
4310         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4311         * net/dig.el (dig-mode-map):
4312         * mail/mspools.el (mspools-mode-map):
4313         * hexl.el (hexl-mode-map):
4314         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4315         (wordstar-C-o-map, wordstar-C-q-map):
4316         * emacs-lisp/edebug.el (edebug-eval-mode-map):
4317         * emacs-lisp/chart.el (chart-map):
4318         * edmacro.el (edmacro-mode-map):
4319         * erc/erc-list.el (erc-list-menu-mode-map):
4320         * array.el (array-mode-map): Declare and define in one step.
4322         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4324 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
4326         * epa.el (epa-passphrase-callback-function): Display filename
4327         passed as the 3rd arg.
4328         * epa-file.el (epa-file-passphrase-callback-function):
4329         Pass filename to epa-passphrase-callback-function.
4331 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
4333         * cus-edit.el (custom-face-widget-to-spec)
4334         (custom-face-get-current-spec, custom-face-state): New functions.
4335         (custom-face-set, custom-face-mark-to-save)
4336         (custom-face-value-create, custom-face-state-set): Use them.
4338         * cus-theme.el (custom-theme--listed-faces): New var.
4339         (customize-create-theme): Use *Custom Theme* as the buffer name.
4340         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
4341         faces listed in custom-theme--listed-faces.
4342         (custom-theme-revert): New function.
4343         (custom-theme-add-variable, custom-theme-add-face): Insert at the
4344         bottom of the list.
4345         (custom-theme-write): Prompt for theme name if empty.
4346         (custom-theme-write-variables): Use dolist.
4347         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4349 2010-10-09  Alan Mackenzie  <acm@muc.de>
4351         Enhance fontification of declarators to take account of the
4352         presence/absence of "typedef".
4354         * cc-engine.el (c-forward-type): New &optional param
4355         "brace-block-too".
4356         (c-forward-decl-or-cast-1): cdr of return value now indicates the
4357         presence of either or both of a "struct"-like keyword and "typedef".
4359         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4360         fontification of declarators which follow a "}".
4361         (c-font-lock-declarations): Fontify declarators according to the
4362         presence/absence of "typedef".
4364         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4365         for "typedef".
4366         (c-typedef-decl-key): New lang variable built from
4367         c-typedef-decl-kwds.
4369 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4371         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4372         since that's too annoying.  Move the filter groups commands to
4373         TAB/backtab.
4375         * epa.el (epa-passphrase-callback-function): Say what we're
4376         querying the password for.
4378         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4379         behaviour, don't bury the ibuffer buffer when visiting other buffers.
4381 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
4383         * cus-edit.el (custom-commands, custom-buffer-create-internal)
4384         (custom-magic-value-create): Pad button tags with spaces.
4385         (custom-face-edit): New variable.
4386         (custom-face-value-create): Determine whether to use the usual
4387         face editor here, instead of using custom-face-selected.
4388         Pass face defaults to custom-face-edit widget.
4389         (custom-face-selected, custom-display-unselected): Delete widgets.
4390         (custom-display-unselected-match): Function removed.
4391         (custom-face-set, custom-face-mark-to-save):
4392         Accept custom-face-edit widgets as the direct widget child.
4394         * wid-edit.el (widget--completing-widget): New var.
4395         (widget-default-complete): Bind it when doing completion.
4396         (widget-string-complete, widget-file-complete): Use it.
4398 2010-10-09  Glenn Morris  <rgm@gnu.org>
4400         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4401         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4402         (holiday-hebrew-misc): Small simplifications.
4404         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4406         * net/browse-url.el: Don't require thingatpt, term, dired,
4407         executable, or w3-auto when compiling.
4408         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4409         Declare.
4410         (browse-url-text-emacs): Require term.
4412 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4414         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4416 2010-10-08  Glenn Morris  <rgm@gnu.org>
4418         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4420         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4421         (shadows-compare-text-p): Make it an obsolete alias for...
4422         (load-path-shadows-compare-text): ... new name.
4423         (find-emacs-lisp-shadows): Update for above name change.
4424         (load-path-shadows-same-file-or-nonexistent): New name for the old
4425         shadow-same-file-or-nonexistent.
4427 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
4429         * minibuffer.el (completion--some, completion--do-completion)
4430         (minibuffer-complete-and-exit, minibuffer-completion-help)
4431         (completion-basic-try-completion)
4432         (completion-basic-all-completions)
4433         (completion-pcm--find-all-completions): Use lexical-let to
4434         avoid some false matches in variable completion (Bug#7056)
4436 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
4438         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
4440 2010-10-08  Leo  <sdl.web@gmail.com>
4442         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4443         return non-nil if the file exists (Bug#7090).
4445 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4447         * minibuffer.el (completion--replace):
4448         Better preserve markers (bug#7138).
4450 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
4452         * server.el (server-process-filter): Doc fix.
4454 2010-10-08  Drew Adams  <drew.adams@oracle.com>
4456         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
4458 2010-10-08  Glenn Morris  <rgm@gnu.org>
4460         * vc/ediff-wind.el (ediff-setup-control-frame):
4461         * vc/ediff-ptch.el (ediff-default-backup-extension):
4462         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4463         (ediff-exec-process): Remove system-types emx, windows-95.
4465         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
4467 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
4469         * cus-edit.el (custom-variable, custom-face): Doc fix.
4470         (custom-face-edit): Add value-create attribute.
4471         (custom-face-edit-value-create)
4472         (custom-face-edit-value-visibility-action): New functions.
4473         Hide unused face attributes by default, and add a visibility toggle.
4474         (custom-face-edit-deactivate): Show empty values with shadow face.
4475         (custom-face-selected): Only use this for face specs with default
4476         attributes.
4477         (custom-face-value-create): Cleanup.
4479         * wid-edit.el (widget-checklist-value-create): Use dolist.
4480         (widget-checklist-match-find): Make second arg optional.
4482 2010-10-07  Glenn Morris  <rgm@gnu.org>
4484         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4485         Prefix things.
4487         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4488         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4489         load-path-shadows-mode, update references.
4490         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4491         Rename variable and button.
4492         (list-load-path-shadows): Update button caller.
4494 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4496         * emacs-lisp/smie.el (smie-bnf-classify): New function.
4497         (smie-bnf-precedence-table): Use it to remember the closers/openers.
4498         (smie-merge-prec2s): Handle those new entries.
4499         (smie-prec2-levels): Only set precedence to nil for actual
4500         openers/closers.
4501         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4502         that is now unnecessary.
4504 2010-10-07  Miles Bader  <miles@gnu.org>
4506         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4508 2010-10-07  Glenn Morris  <rgm@gnu.org>
4510         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4511         (mail-position-on-field): Remove declarations.
4512         (mail-position-on-field): Autoload it.
4513         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4514         and mail-header-end.  Don't require sendmail.
4516         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4517         (shadow-mode): New mode.
4518         (shadow-find-file): New button.
4519         (list-load-path-shadows): Use shadow-mode and buttons.
4521         * iimage.el (iimage-version): Remove.
4522         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4523         Turn into defcustoms.
4524         (iimage-mode-map): Give it a doc string.
4526         * calendar/appt.el (appt-activate): Give a warning rather than an error
4527         if there is no diary-file.
4529 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
4531         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4532         Use `tramp-handle-find-backup-file-name'.
4534 2010-10-06  Glenn Morris  <rgm@gnu.org>
4536         * font-core.el (font-lock-defaults-alist): Remove variable.
4537         (font-lock-mode): Doc fix.
4538         (font-lock-default-function): Do not consult font-lock-defaults-alist.
4539         * font-lock.el (font-lock-refresh-defaults): Doc fix.
4540         (font-lock-set-defaults): Doc fix.
4541         Do not consult font-lock-defaults-alist.
4543         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4545         * emacs-lisp/cl.el: No longer provide cl-19.
4547 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
4549         * net/tramp.el (tramp-handle-directory-files-and-attributes)
4550         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4551         New defuns, taken from tramp-smb.el.
4552         (tramp-coding-system-change-eol-conversion)
4553         (tramp-set-process-query-on-exit-flag): Remove.
4555         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4556         (tramp-compat-coding-system-change-eol-conversion)
4557         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4558         from tramp.el.
4560         * net/tramp-gvfs.el:
4561         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4562         by `tramp-compat-set-process-query-on-exit-flag'.
4564         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4565         Use `tramp-handle-directory-files-and-attributes',
4566         `tramp-handle-file-exists-p' and
4567         `tramp-handle-file-newer-than-file-p'.
4568         (tramp-imap-handle-file-exists-p)
4569         (tramp-imap-handle-file-executable-p)
4570         (tramp-imap-handle-file-readable-p)
4571         (tramp-imap-handle-directory-files-and-attributes)
4572         (tramp-imap-handle-file-newer-than-file-p): Remove.
4574         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4575         by `tramp-compat-set-process-query-on-exit-flag' and
4576         `tramp-coding-system-change-eol-conversion' by
4577         `tramp-compat-coding-system-change-eol-conversion'.
4579         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4580         Use `tramp-handle-directory-files-and-attributes',
4581         `tramp-handle-file-exists-p' and
4582         `tramp-handle-file-newer-than-file-p'.
4583         (tramp-smb-handle-directory-files-and-attributes)
4584         (tramp-smb-handle-file-exists-p)
4585         (tramp-smb-handle-file-newer-than-file-p): Remove.
4586         (tramp-smb-maybe-open-connection):
4587         Replace `tramp-set-process-query-on-exit-flag' by
4588         `tramp-compat-set-process-query-on-exit-flag'.
4590 2010-10-05  Glenn Morris  <rgm@gnu.org>
4592         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4594 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
4596         Continue reorganization of load dependencies.  (Bug#7156)
4598         * net/tramp.el (tramp-handle-file-local-copy-hook)
4599         (tramp-delete-temp-file-function): Move down.
4600         (tramp-exists-file-name-handler): Move up.
4601         (tramp-register-file-name-handlers): Simplify autoload.
4602         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4603         (tramp-handle-directory-files, tramp-handle-dired-uncache)
4604         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4605         (tramp-handle-file-name-completion)
4606         (tramp-handle-file-name-directory)
4607         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4608         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4609         (tramp-handle-find-backup-file-name)
4610         (tramp-handle-insert-file-contents, tramp-handle-load)
4611         (tramp-handle-substitute-in-file-name)
4612         (tramp-handle-unhandled-file-name-directory)
4613         (tramp-mode-string-to-int, tramp-local-host-p)
4614         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4616         * net/tramp-gvfs.el (top):
4617         * net/tramp-smb.el (top): Do not require 'tramp-sh.
4619         * net/tramp-sh.el (all): Move several objects to tramp.el, see
4620         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4622 2010-10-04  Glenn Morris  <rgm@gnu.org>
4624         * calendar/appt.el (appt-add): Ensure reminders are enabled.
4625         (appt-activate): Give status messages.
4627 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4629         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
4630         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4631         `gnutls-negotiate' (formerly `starttls-negotiate').
4632         Remove trivial wrapper `starttls-open-stream'.
4634 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
4636         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4637         log-outgoing commands.
4638         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4639         to create a buffer local revert-buffer-function variable.
4640         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4641         revert-buffer-function lambda.
4643 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4645         * net/gnutls.el (starttls-negotiate): Use the plist interface to
4646         `gnutls-boot'.  Make TYPE the only required parameter.
4647         Allow TRUSTFILES and KEYFILES to be lists.
4648         (open-ssl-stream): Use it.
4650 2010-10-03  Glenn Morris  <rgm@gnu.org>
4652         * subr.el (directory-sep-char): Remove obsolete variable.
4653         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4654         it is "necessary".
4656         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4657         * vc/vc.el (vc-static-header-alist): Doc fix.
4658         * vc/vc-cvs.el (vc-cvs-header):
4659         * vc/vc-rcs.el (vc-rcs-header):
4660         * vc/vc-sccs.el (vc-sccs-header):
4661         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4662         * obsolete/vc-mcvs.el (vc-mcvs-header):
4663         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4664         on XEmacs.
4666 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4668         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4669         Remove obsolete use of binary-overwrite-mode (Bug#7001).
4671 2010-10-03  Glenn Morris  <rgm@gnu.org>
4673         * obsolete/x-menu.el: Remove file, obsolete since 21.1
4675         * textmodes/rst.el (rst-font-lock-keywords-function):
4676         Drop Emacs 20 code.
4678         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4680         * printing.el: Drop Emacs 20 code.
4682         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4683         without having used appt.el already).
4685         * subr.el (make-local-hook): Remove function obsolete since 21.1.
4686         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4687         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4688         XEmacs.
4689         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4690         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4692         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4693         (charset-width, find-charset-region, chars-in-region, forward-point)
4694         (encode-coding-string, coding-system-p, ccl-execute-on-string)
4695         (define-ccl-program, multibyte-string-p, string-make-multibyte):
4696         Remove compatibility cruft (none of these are used by ps*.el).
4698 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4700         * subr.el (booleanp): Return t instead of a list (Bug#7086).
4702 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4704         * server.el (server-process-filter, server-return-error):
4705         Give emacsclient time to shut down after receiving an error string.
4707 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
4709         * files.el (remote-file-name-inhibit-cache): New defcustom.
4711         * time.el (display-time-file-nonempty-p):
4712         Use `remote-file-name-inhibit-cache'.
4714         * net/tramp.el (tramp-completion-reread-directory-timeout):
4715         Fix docstring.
4717         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4718         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4719         `remote-file-name-inhibit-cache'.  Check also for an integer
4720         value.  Add/increase counter when `tramp-verbose' >= 10.
4721         (tramp-set-file-property): Add/increase counter when
4722         `tramp-verbose' >= 10.
4724         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4725         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4726         (tramp-bug): Set tramp-autoload cookie.  Report all interned
4727         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
4728         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
4729         characters only in strings.
4731         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4732         to backward compatibility.
4734         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4735         (tramp-handle-file-name-all-completions)
4736         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4737         (tramp-open-connection-setup-interactive-shell):
4738         Call `tramp-cleanup-connection' directly.
4740 2010-10-02  Glenn Morris  <rgm@gnu.org>
4742         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4744         * subr.el (char-bytes): Remove obsolete function.
4746         * isearch.el (isearch-return-char): Remove obsolete function.
4748         * mouse.el: No longer provide mldrag.
4749         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4750         Remove obsolete aliases.
4752         * comint.el (comint-kill-output): Remove obsolete alias.
4754         * composite.el (decompose-composite-char): Remove obsolete function.
4755         * ps-def.el (decompose-composite-char): Remove unused function.
4757         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4759         * outline.el (outline-visible): Remove obsolete function.
4761         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4762         * faces.el (internal-find-face, internal-get-face)
4763         (frame-update-faces, frame-update-face-colors)
4764         (x-frob-font-weight, x-frob-font-slant)
4765         (internal-frob-font-weight, internal-frob-font-slant)
4766         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4767         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4768         (x-make-font-bold-italic): Remove functions and aliases, obsolete
4769         since Emacs 21.1.
4770         * emulation/viper-util.el (viper-get-face):
4771         * obsolete/lucid.el (find-face, get-face): Use facep.
4772         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4773         Remove unused functions.
4774         * vc/ediff-util.el (ediff-submit-report): Doc fix.
4776         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4777         delete tempfile if interrupted during compilation.
4779 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4781         * net/tls.el (tls-starttls-switches): Give up on using starttls with
4782         gnutls-cli.
4783         (tls-program): Add --insecure to be consistent with the defaults from
4784         openssl s_client.  Now all three commands are insecure.
4786 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
4788         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4789         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4790         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4792 2010-10-01  Glenn Morris  <rgm@gnu.org>
4794         * obsolete/sc.el: Remove file.
4796         * files.el (temporary-file-directory): On darwin, also try
4797         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4799 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
4801         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4802         Let's not break compatibility gratuitously, shall we?
4804 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4806         * net/tls.el (tls-starttls-switches): New variable.
4807         (tls-find-starttls-argument): Use it.
4808         (open-tls-stream): Ditto.
4810         * net/netrc.el (netrc-credentials): Return the value of the "default"
4811         entry.
4812         (netrc-machine): Ditto.
4814 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
4816         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4818 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
4820         * server.el (server-start): Don't write pid to the authentication file.
4821         (server-create-tty-frame): Don't send pid.
4822         (server-process-filter): Send pid at the start of every connection.
4824 2010-09-30  Glenn Morris  <rgm@gnu.org>
4826         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4827         (show-all-diary-entries): Remove obsolete function aliases.
4829         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4830         Remove options, obsolete since 22.1.
4831         (appt-display-format, appt-display-message):
4832         Remove backwards-compatibility code.
4833         (appt-check): No longer check appt-issue-message.
4834         (appt-make-list): No longer autoload it.  Doc fix.  No longer
4835         activate the package.
4837 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4839         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4840         (starttls-negotiate): Just call boot, and let the handshake be
4841         triggered from the read loop.
4843 2010-09-29  Glenn Morris  <rgm@gnu.org>
4845         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4846         not displaying the diary.
4847         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4848         * calendar/appt.el (appt-check): No longer need to kill diary.
4850         * calendar/diary-lib.el (diary-list-entries): Move the
4851         "Preparing..." message entirely here.
4852         (diary-simple-display, diary-fancy-display): Move "Preparing..."
4853         messages to diary-list-entries.
4854         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4855         diary-display-function.
4857         * calendar/diary-lib.el (diary-include-other-diary-files):
4858         Trap some recursive includes.
4860         * calendar/appt.el (appt-activate): Check diary file.
4862 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
4864         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4865         construction.
4867         * calendar/time-date.el: No need to require cl for Emacs 21.
4869 2010-09-28  Glenn Morris  <rgm@gnu.org>
4871         * calendar/appt.el (appt-check): Minor simplification.
4873 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
4875         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4876         citation prefix.
4878 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
4880         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4881         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
4883 2010-09-27  Kenichi Handa  <handa@m17n.org>
4885         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4886         "ustar" format.
4888 2010-09-27  Kenichi Handa  <handa@m17n.org>
4890         * international/mule.el (define-coding-system): Docstring fixed.
4892         * international/mule-diag.el (describe-character-set): Use princ
4893         with proper print-length and print-level instead of insert.
4895 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
4897         * window.el (walk-windows): Doc fix (bug#7105).
4899 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4901         * emacs-lisp/float-sup.el (e): Remove.
4903 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
4905         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4906         variable.
4907         (starttls-negotiate): Use it.
4909 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4911         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4912         back.
4914 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4916         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4918 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4920         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4922         * net/netrc.el (netrc-store-data): New function.
4924 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
4926         * net/gnutls.el: GnuTLS glue code to set up a connection.
4928 2010-09-25  Julien Danjou  <julien@danjou.info>
4930         * notifications.el: Call dbus-register-signal only if it is bound.
4932 2010-09-25  Glenn Morris  <rgm@gnu.org>
4934         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4935         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4936         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4937         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4938         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4939         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4940         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4941         * eshell/esh-util.el, eshell/esh-var.el:
4942         Remove leading `*' from docs of faces and defcustoms.
4944 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
4946         * eshell/em-ls.el (eshell-ls-archive-regexp):
4947         * eshell/esh-util.el (eshell-tar-regexp):
4948         * ibuffer.el (ibuffer-compressed-file-name-regexp):
4949         * info.el (Info-suffix-list):
4950         * international/mule.el (auto-coding-alist):
4951         * woman.el (woman-file-regexp, woman-file-compression-regexp):
4952         * progmodes/etags.el (tags-compression-info-list):
4953         Support xz compression.
4955 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
4957         * files.el (get-free-disk-space): Don't assume the "df" output
4958         columns line up (Bug#6995).
4960 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4962         * finder.el (finder-unknown-keywords):
4963         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4964         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4966 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4968         * server.el (server-start): Revert part of 2010-08-08 change.  Using
4969         address 127.0.0.1 for local host is now done in Fmake_network_process.
4971 2010-09-24  Glenn Morris  <rgm@gnu.org>
4973         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4974         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4975         * textmodes/css-mode.el, textmodes/dns-mode.el:
4976         Move autoloaded auto-mode-alist entries to files.el.
4977         * files.el (auto-mode-alist): Move entries here.
4979 2010-09-23  Glenn Morris  <rgm@gnu.org>
4981         * isearch.el (isearch-lazy-highlight-cleanup)
4982         (isearch-lazy-highlight-initial-delay)
4983         (isearch-lazy-highlight-interval)
4984         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4985         * net/net-utils.el (ipconfig-program-options):
4986         Move aliases to options before the associated definitions.
4988 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4990         * newcomment.el (comment-normalize-vars): Better test validity of
4991         comment-end-skip.
4993 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4995         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4996         (float-e): New name for `e'.
4997         (degrees-to-radians, radians-to-degrees):
4998         * calendar/solar.el (solar-longitude):
4999         * calculator.el (calculator-registers, calculator-funcall):
5000         * textmodes/artist.el (artist-spray-random-points):
5001         * play/bubbles.el (bubbles--initialize-images): Use new names.
5003 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
5005         Update to CEDET 1.0's version of EIEIO.
5007         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5008         New function.
5009         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5010         (eieio-default-eval-maybe): Eval val instead of unquoting only.
5011         (class-precedence-list): If class is nil, return nil.
5012         (eieio-generic-call): If class of first input arg is nil, don't
5013         look up static methods, and do check for primary methods.
5014         (initialize-instance): See if the default needs to be evaluated
5015         during the constructor.
5016         (eieio-perform-slot-validation-for-default): Don't do the check
5017         for values that will eventually be evaluated.
5018         (eieio-eval-default-p): New function.
5019         (eieio-default-eval-maybe): Use it.
5021 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5023         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5024         method-invocation-order.
5025         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5026         (eieio-class-precedence-dfs): Compute class precedence list using
5027         dfs algorithm.
5028         (eieio-class-precedence-bfs): Compute class precedence list using
5029         bfs algorithm.
5030         (eieio-class-precedence-c3): Compute class precedence list using
5031         c3 algorithm.
5032         (class-precedence-list): New function.
5033         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5034         (inconsistent-class-hierarchy): New error symbol.
5035         (call-next-method): Stow the replacement argument list for future
5036         call-next-method invocations.
5038 2010-09-23  Glenn Morris  <rgm@gnu.org>
5040         * calendar/appt.el (appt-check): If not displaying the diary,
5041         use (diary 1) to only get the entries we need.
5042         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5043         that it is in day order.  (Bug#7019)
5045         * calendar/appt.el (appt-check): Rather than showing the diary,
5046         just turn off invisible display, and only if needed.
5048         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
5050 2010-09-23  Glenn Morris  <rgm@gnu.org>
5052         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5053         (byte-compile-defvar, byte-compile-cl-warn):
5054         Start warnings with lower-case, like the majority.
5056         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5058         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
5060         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5061         * files.el (auto-mode-alist): Move ld-script entries here, further down
5062         the list.
5064         * vc/add-log.el: Don't require timezone when compiling.
5065         (timezone-make-date-sortable): Autoload it.
5066         (change-log-sortable-date-at): Don't require timezone.
5067         Use `ignore-errors'.
5069         * comint.el (comint-use-prompt-regexp-instead-of-fields):
5070         Move alias before definition, so it does not need autoloading.
5072         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5073         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5074         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5075         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5076         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5077         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5078         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5079         * textmodes/tex-mode.el, textmodes/two-column.el:
5080         Remove leading `*' from docs of defcustoms etc.
5082 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
5084         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5086 2010-09-22  Dan Christensen  <jdc@uwo.ca>
5088         * calendar/time-date.el (date-to-time): Try using parse-time-string
5089         first before using the slower timezone-make-date-arpa-standard.
5091 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
5093         * calendar/time-date.el (format-seconds): Comment fix.
5095 2010-09-22  Glenn Morris  <rgm@gnu.org>
5097         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5098         is not automatically buffer-local.
5100 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5102         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5103         (smie-indent-comment): Be more careful with comment-start-skip.
5104         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5105         (smie-indent-functions): Use them.
5107 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
5109         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5111 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
5113         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5114         tool-bar-position.  Don't modify frame parameters here.
5115         (menu-bar-options-save): Add tool-bar-position.
5117         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5119 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5121         * textmodes/reftex-parse.el (reftex-what-macro)
5122         (reftex-context-substring): Let-bind forward-sexp-function to nil
5123         since we don't need/want to treat \begin...\end as a block (bug#7053).
5125         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5127         * simple.el (blink-matching-open): Use syntax-class.
5129         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5130         Set invisibility spec for pascal's outline mode.
5131         (pascal-outline-change): Clean up calling convention.
5132         (pascal-show-all, pascal-hide-other-defuns): Update callers.
5134         * progmodes/prolog.el (prolog-smie-forward-token)
5135         (prolog-smie-backward-token): New functions.
5136         (prolog-mode-variables): Use them to parse "!," correctly.
5137         Set up smie-blink-matching for ".".
5139         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5140         and `end'.
5141         (ispell-region, ispell-process-line): Update users.
5143         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5144         point-min==1.
5146         * textmodes/ispell.el: Fix commenting convention.
5147         (ispell-parse-output): Simplify, use push.
5148         (ispell-region): Use match-string-no-properties.
5149         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5150         (ispell-minor-mode): Use define-minor-mode.
5151         (ispell-message): Remove unused var `skip-regexp'.
5152         (ispell-add-per-file-word-list): Use dynamic let-binding.
5153         Try and use the proper comment marker.
5155         * mail/sendmail.el: Fix commenting convention.
5156         (sendmail-send-it): Use line-beginning-position.
5158         * help-fns.el (describe-variable): Add original value, if applicable.
5160 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
5162         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5164         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5166 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5168         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5169         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5170         (smie-prec2-levels): Use them to better diagnose precedence cycles.
5171         (smie-blink-matching-check): Don't signal a mismatch if car is t.
5172         (smie-blink-matching-open): Rewrite to remove assumptions, so that
5173         something like "." can also be a closer.
5174         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5175         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5176         Rename internal functions to use "--".  Update callers.
5178         * frame.el (make-frame-names-alist): Don't list frames on other displays.
5180         * fringe.el (fringe-styles): New var.
5181         (fringe-mode, fringe-query-style): Use it.
5183 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
5185         * progmodes/sql.el: Version 2.8
5186         (sql-login-params): Update widget structure; changes still needed.
5187         (sql-product-alist): Add :list-all and :list-table features for
5188         SQLite, Postgres and MySQL products.
5189         (sql-redirect): Handle default value.
5190         (sql-execute, sql-execute-feature): New functions.
5191         (sql-read-table-name): New function.
5192         (sql-list-all, sql-list-table): New functions.  User API.
5193         (sql-mode-map, sql-interactive-mode-map): Add key definitions
5194         for above functions.
5195         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5196         for above functions.
5197         (sql-postgres-login-params): Add user and database defaults.
5198         (sql-buffer-live-p): Bug fix.
5199         (sql-product-history): New variable.
5200         (sql-read-product): New function. Use it.
5201         (sql-set-product, sql-product-interactive): Use it.
5202         (sql-connection-history): New variable.
5203         (sql-read-connection): New function.  Use it.
5204         (sql-connect): New function.
5205         (sql-for-each-login): Redesign function interface.
5206         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5207         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
5208         (sql-comint): Check for program.  Existing live buffer.
5209         (sql-comint-postgres): Add port parameter.
5211 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5213         * emacs-lisp/warnings.el: Fix commenting convention.
5214         (display-warning): Use special mode and make the buffer read-only.
5216 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
5218         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5219         empty string when it follows a repeated or optional pattern.
5221 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5223         * indent.el (indent-according-to-mode): Apply syntax-propertize.
5224         (indent-region): Use indent-according-to-mode.
5226 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
5228         * fringe.el (fringe-mode): Doc fix.
5230 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
5232         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5233         refreshing the preview buffer.
5235 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5237         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5238         (latex-syntax-propertize-rules): New consts; replace
5239         tex-font-lock-syntactic-keywords.
5240         (tex-env-mark, latex-env-before-change): New functions.
5241         (latex-electric-env-pair-mode): New minor mode.
5242         (tex-font-lock-verb): Change arguments; do move point.
5243         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5244         representation as a form of comment.
5245         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5246         (doctex-syntax-propertize-rules): New const; replaces
5247         doctex-font-lock-syntactic-keywords.
5248         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5250         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5251         (fortran-make-syntax-propertize-function): New function; replaces
5252         fortran-font-lock-syntactic-keywords.
5253         (fortran-mode): Use it.
5254         (fortran-line-length): Use it.  Improve interactive spec.
5256         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5257         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
5258         when adding surrounding \(..\).
5260         * progmodes/js.el (js-mode): Fix last change (bug#7054).
5262 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5264         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5265         Use with-current-buffer.
5267         * isearch.el (isearch-face): Rename from `isearch'.
5268         (isearch-highlight): Use new name.
5270 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
5272         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5273         5, for `half' width fringes.  (Bug#6933)
5275 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5277         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5278         (byte-compile-defvar): "foo/bar" does not lack a prefix.
5280         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5282 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
5284         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5285         in calculating new frame position.  Add more space between new and
5286         parent on the left (Bug#7048).
5288 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
5290         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5291         defmacro.
5293 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
5295         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5297         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5298         obsolete alias for x-selection-value.
5300         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5302 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
5304         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5305         cookie.
5307 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
5309         * net/tramp-compat.el (tramp-compat-with-temp-message)
5310         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5311         (tramp-compat-process-put): New defuns.
5313         * net/tramp.el (top):
5314         * net/tramp-gvfs.el (top):
5315         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5317         * net/tramp.el (tramp-progress-reporter-update):
5318         Use `tramp-compat-funcall'.
5320         * net/tramp.el (tramp-process-actions):
5321         * net/tramp-gvfs.el (tramp-handle-vc-registered):
5322         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5323         (tramp-get-remote-stat, tramp-get-remote-readlink):
5324         Use `tramp-compat-with-temp-message'.
5326         * net/tramp-sh.el (top): Require 'cl.
5327         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5328         (tramp-open-connection-setup-interactive-shell):
5329         Use `tramp-compat-process-put'.
5331 2010-09-15  Alan Mackenzie  <acm@muc.de>
5333         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5334         indentation.
5335         (c-forward-<>-arglist-recur): Fix an infinite recursion.
5337 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5339         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5340         `lexical' for warnings related to lexical scoping.
5341         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5342         global vars which don't have a prefix and could hence affect lexical
5343         scoping in unrelated files.
5345 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5347         * net/imap.el: Revert back to version
5348         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5349         seem problematic.
5351 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
5353         * obsolete/old-whitespace.el (whitespace-unload-function):
5354         Explicitly pass `obarray' to `unintern' to avoid a warning.
5356 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5358         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5359         Add `when' argument.  Update callers.
5361         * subr.el (unintern): Declare the obarray arg mandatory.
5363 2010-09-14  Glenn Morris  <rgm@gnu.org>
5365         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5366         Doc fixes.
5368         * calendar/diary-lib.el (diary-included-files): New variable.
5369         (diary-list-entries): Maybe initialize diary-included-files.
5370         (diary-include-other-diary-files): Append to diary-included-files.
5371         * calendar/appt.el (appt-update-list): Also check the members of
5372         diary-included-files.  (Bug#6999)
5373         (appt-check): Doc fix.
5375 2010-09-14  David Reitter  <david.reitter@gmail.com>
5377         * simple.el (line-move-visual): Do not truncate goal column to
5378         integer size.  (Bug#7020)
5380 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5382         * repeat.el (repeat): Allow repeating when the last event is a click.
5383         Suggested by Drew Adams (bug#6256).
5385 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
5387         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5388         Replace setting HGRCPATH to "" by some less invasive --config options.
5390 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5392         * font-lock.el (font-lock-beginning-of-syntax-function):
5393         Mark as obsolete.
5395 2010-09-14  Glenn Morris  <rgm@gnu.org>
5397         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5398         and tool-bar modes.  (Bug#6211)
5399         (menu-bar-mode): Move setting of standard-value after the
5400         minor-mode definition, otherwise it seems to have no effect.
5402 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
5404         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5405         Fix typo.  (Bug#6976)
5407 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5409         * whitespace.el: Allow cleaning up blanks without blank
5410         visualization (Bug#6651).  Adjust help window for
5411         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
5412         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
5413         (whitespace-style): Add new value 'face.  Adjust docstring.
5414         (whitespace-space, whitespace-hspace, whitespace-tab):
5415         Adjust foreground property face.
5416         (whitespace-line-column): Adjust docstring and type declaration.
5417         (whitespace-style-value-list, whitespace-toggle-option-alist)
5418         (whitespace-help-text): Adjust const initialization.
5419         (whitespace-toggle-options, global-whitespace-toggle-options):
5420         Adjust docstring.
5421         (whitespace-display-window, whitespace-interactive-char)
5422         (whitespace-style-face-p, whitespace-color-on): Adjust code.
5423         (whitespace-help-scroll): New fun.
5425 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5427         * calendar/time-date.el (format-seconds): Comment fix.
5429 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
5431         * progmodes/sql.el: Version 2.7.
5432         (sql-buffer-live-p): Improve detection.
5433         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5434         (sql-set-sqli-buffer): Use it.
5435         (sql-product-interactive): Run `sql-set-sqli-hook'.
5436         (sql-rename-buffer): Code cleanup.
5437         (sql-redirect, sql-redirect-value): New functions.  More to come.
5439 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
5441         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.
5442         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5443         (TRAMP_SRC): New macro.
5444         ($(lisp)/net/tramp-loaddefs.el): New target.
5446 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
5448         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
5450         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
5452         * net/tramp.el (top): Don't show loading message.  Require just
5453         'tramp-compat, everything else is required there.
5454         Use `ignore-errors' where appropriate.
5455         (tramp-inline-compress-start-size, tramp-copy-size-limit)
5456         (tramp-terminal-type, tramp-end-of-output)
5457         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5458         (tramp-completion-function-alist-ssh)
5459         (tramp-completion-function-alist-telnet)
5460         (tramp-completion-function-alist-su)
5461         (tramp-completion-function-alist-putty, tramp-remote-path)
5462         (tramp-remote-process-environment, tramp-sh-extra-args)
5463         (tramp-actions-before-shell, tramp-uudecode)
5464         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5465         (tramp-perl-file-attributes)
5466         (tramp-perl-directory-files-and-attributes)
5467         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5468         (tramp-perl-encode, tramp-perl-decode)
5469         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5470         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5471         (tramp-handle-make-symbolic-link, tramp-handle-load)
5472         (tramp-handle-file-name-as-directory)
5473         (tramp-handle-file-name-directory)
5474         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5475         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5476         (tramp-do-file-attributes-with-ls)
5477         (tramp-do-file-attributes-with-perl)
5478         (tramp-do-file-attributes-with-stat)
5479         (tramp-handle-set-visited-file-modtime)
5480         (tramp-handle-verify-visited-file-modtime)
5481         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5482         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5483         (tramp-handle-file-selinux-context)
5484         (tramp-handle-set-file-selinux-context)
5485         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5486         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5487         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5488         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5489         (tramp-handle-file-ownership-preserved-p)
5490         (tramp-handle-directory-file-name, tramp-handle-directory-files)
5491         (tramp-handle-directory-files-and-attributes)
5492         (tramp-do-directory-files-and-attributes-with-perl)
5493         (tramp-do-directory-files-and-attributes-with-stat)
5494         (tramp-handle-file-name-all-completions)
5495         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5496         (tramp-handle-copy-file, tramp-handle-copy-directory)
5497         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5498         (tramp-do-copy-or-rename-file-via-buffer)
5499         (tramp-do-copy-or-rename-file-directly)
5500         (tramp-do-copy-or-rename-file-out-of-band)
5501         (tramp-handle-make-directory, tramp-handle-delete-directory)
5502         (tramp-handle-delete-file)
5503         (tramp-handle-dired-recursive-delete-directory)
5504         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5505         (tramp-handle-insert-directory)
5506         (tramp-handle-unhandled-file-name-directory)
5507         (tramp-handle-expand-file-name)
5508         (tramp-handle-substitute-in-file-name)
5509         (tramp-handle-executable-find, tramp-process-sentinel)
5510         (tramp-handle-start-file-process, tramp-handle-process-file)
5511         (tramp-handle-call-process-region, tramp-handle-shell-command)
5512         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5513         (tramp-handle-insert-file-contents)
5514         (tramp-handle-insert-file-contents-literally)
5515         (tramp-handle-find-backup-file-name)
5516         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5517         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5518         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5519         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5520         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5521         (tramp-find-file-exists-command, tramp-open-shell)
5522         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5523         (tramp-open-connection-setup-interactive-shell)
5524         (tramp-local-coding-commands, tramp-remote-coding-commands)
5525         (tramp-find-inline-encoding, tramp-call-local-coding-command)
5526         (tramp-inline-compress-commands, tramp-find-inline-compress)
5527         (tramp-compute-multi-hops, tramp-maybe-open-connection)
5528         (tramp-send-command, tramp-wait-for-output)
5529         (tramp-send-command-and-check, tramp-barf-unless-okay)
5530         (tramp-send-command-and-read, tramp-mode-string-to-int)
5531         (tramp-convert-file-attributes, tramp-check-cached-permissions)
5532         (tramp-file-mode-from-int, tramp-file-mode-permissions)
5533         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5534         (tramp-method-out-of-band-p, tramp-local-host-p)
5535         (tramp-get-remote-path, tramp-get-remote-tmpdir)
5536         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5537         (tramp-get-test-command, tramp-get-test-nt-command)
5538         (tramp-get-file-exists-command, tramp-get-remote-ln)
5539         (tramp-get-remote-perl, tramp-get-remote-stat)
5540         (tramp-get-remote-readlink, tramp-get-remote-trash)
5541         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5542         (tramp-get-local-uid, tramp-get-local-gid)
5543         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5544         tramp-sh.el.
5545         (tramp-methods, tramp-default-method-alist)
5546         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5547         Move initialization to tramp-sh.el.
5548         (tramp-temp-name-prefix): Make it a defconst.
5549         (tramp-dissect-file-name): Don't check anymore for multi-hop
5550         methods.
5551         (tramp-debug-outline-regexp): Add a docstring.
5552         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5553         (tramp-get-debug-buffer): Use it.
5555         * net/tramp-cache.el (top): Set tramp-autoload cookie for
5556         initialization forms.
5557         (tramp-set-connection-property): Don't protect `tramp-message'
5558         call, it isn't necessary any longer.
5559         (tramp-dump-connection-properties): Use `ignore-errors'.
5561         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5562         'password-cache and 'auth-source.
5564         * net/tramp-gvfs.el (top):
5565         * net/tramp-smb.el (top): Require 'tramp-sh.
5567         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5569         * net/tramp-sh.el: New file, derived from tramp.el.
5570         (top): Initialize `tramp-methods', `tramp-default-method-alist',
5571         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5572         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5573         Use `ignore-errors' where appropriate.
5574         (tramp-sh-file-name-handler-alist): Rename from
5575         `tramp-file-name-handler-alist'.
5576         (tramp-send-command-and-check): Return t or nil.  Remove all
5577         `zerop' checks, where called.
5578         (tramp-handle-set-file-modes)
5579         (tramp-do-copy-or-rename-file-directly)
5580         (tramp-handle-delete-directory, tramp-handle-delete-file)
5581         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5582         (tramp-sh-file-name-handler, tramp-send-command-and-check)
5583         (tramp-get-remote-ln): Set tramp-autoload cookie.
5585         * net/tramp-fish.el: Remove file.
5587 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
5589         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5590         buffer-file-name to avoid file-locking.  (Bug#7026)
5592 2010-09-13  Julien Danjou  <julien@danjou.info>
5594         * notifications.el (notifications-notify): Add support for
5595         image-path and sound-name.
5596         (notifications-specification-version): Add this variable.
5598 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5600         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5602 2010-09-12  Leo  <sdl.web@gmail.com>
5604         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5605         (rcirc-completion-start): New variables.
5606         (rcirc-nick-completions): Rename to rcirc-completions.
5607         (rcirc-nick-completion-start-offset): Delete.
5608         (rcirc-completion-at-point): New function for constructing
5609         completion data for both nicks and irc commands.  Add to
5610         completion-at-point-functions in rcirc mode.
5611         (rcirc-complete): Rename from rcirc-nick-complete; use
5612         rcirc-completion-at-point.
5613         (defun-rcirc-command): Update rcirc-client-commands.
5615 2010-09-11  Glenn Morris  <rgm@gnu.org>
5617         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5618         atomically, to avoid parallel build errors.  (Bug#4196)
5620 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
5622         * progmodes/sql.el: Version 2.6
5623         (sql-dialect): Synonym for "sql-product".
5624         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5625         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5626         Set "sql-buffer" to buffer name not buffer object so multiple sql
5627         interactive buffers work properly.  Reverts misguided changes in
5628         earlier work.
5629         (sql-comint): Make sure different buffer name is used if "*SQL*"
5630         buffer is for a different product.
5631         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5632         login param.
5633         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5634         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5635         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5636         Accept new buffer name or prompt for one.
5637         (sql-port): Default to zero.
5638         (sql-comint-mysql): Handle "sql-port" as a numeric.
5639         (sql-port-history): Delete unused variable.
5640         (sql-get-login): Default "sql-port" to a number.
5641         (sql-product-alist): Correct Postgres prompt and terminator regexp.
5642         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5643         "sqlite3" executables.
5644         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5645         (sql-buffer-live-p): New function.
5646         (sql-mode-menu, sql-send-string): Use it.
5647         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5648         syntax pattern.
5649         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5650         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5652 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5654         * net/netrc.el (netrc-credentials): New convenience function.
5656 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5658         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5659         to replace texinfo-font-lock-syntactic-keywords.
5660         (texinfo-mode): Use it.
5662         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5663         Use syntax-propertize-function.
5665         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5666         replace sgml-font-lock-syntactic-keywords.
5667         (sgml-mode): Use it.
5669         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5670         since we don't use it.
5672         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5674         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5675         if available.
5676         (vhdl-fontify-buffer): Adjust.
5678         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5679         replace tcl-font-lock-syntactic-keywords.
5680         (tcl-mode): Use it.
5682         * progmodes/simula.el (simula-syntax-propertize-function): New var to
5683         replace simula-font-lock-syntactic-keywords.
5684         (simula-mode): Use it.
5686         * progmodes/sh-script.el (sh-st-symbol): Remove.
5687         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5688         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5689         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5690         (sh-font-lock-paren): Set syntax-multiline.
5691         (sh-font-lock-syntactic-keywords): Remove.
5692         (sh-syntax-propertize-function): New function to replace it.
5693         (sh-mode): Use it.
5695         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5696         Define while compiling.
5697         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5698         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5699         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5700         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5701         (ruby-here-doc-end-syntax): Only define when
5702         syntax-propertize is not available.
5703         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5704         New functions.
5705         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5706         (electric-indent-chars): Silence bytecompiler.
5707         (ruby-mode): Use prog-mode, syntax-propertize-function, and
5708         electric-indent-chars.
5710         * progmodes/python.el (python-syntax-propertize-function): New var to
5711         replace python-font-lock-syntactic-keywords.
5712         (python-mode): Use it.
5713         (python-quote-syntax): Simplify and adjust to new use.
5715         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5716         replace perl-font-lock-syntactic-keywords.
5717         (perl-syntax-propertize-special-constructs): New fun to replace
5718         perl-font-lock-special-syntactic-constructs.
5719         (perl-font-lock-syntactic-face-function): New fun.
5720         (perl-mode): Use it.
5722         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5723         to replace octave-font-lock-close-quotes.
5724         (octave-syntax-propertize-function): New function to replace
5725         octave-font-lock-syntactic-keywords.
5726         (octave-mode): Use it.
5728         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5729         replaces mixal-font-lock-syntactic-keywords.
5730         (mixal-mode): Use it.
5732         * progmodes/make-mode.el (makefile-syntax-propertize-function):
5733         New var; replaces makefile-font-lock-syntactic-keywords.
5734         (makefile-mode): Use it.
5735         (makefile-imake-mode): Adjust.
5737         * progmodes/js.el (js--regexp-literal): Define while compiling.
5738         (js-syntax-propertize-function): New var; replaces
5739         js-font-lock-syntactic-keywords.
5740         (js-mode): Use it.
5742         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5743         replaces gdb-script-font-lock-syntactic-keywords.
5744         (gdb-script-mode): Use it.
5746         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5747         (fortran--font-lock-syntactic-keywords): New var.
5748         (fortran-line-length): Update syntax-propertize-function and
5749         fortran--font-lock-syntactic-keywords.
5751         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5753         * progmodes/cfengine.el (cfengine-mode):
5754         Use syntax-propertize-function.
5755         (cfengine-font-lock-syntactic-keywords): Remove.
5757         * progmodes/autoconf.el (autoconf-mode):
5758         Use syntax-propertize-function.
5759         (autoconf-font-lock-syntactic-keywords): Remove.
5761         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5762         (ada-after-change-function, ada-initialize-syntax-table-properties)
5763         (ada-handle-syntax-table-properties): Only define when
5764         syntax-propertize is not available.
5765         (ada-mode): Use syntax-propertize-function.
5767         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5768         (font-lock-fontify-syntactic-keywords-region): Move handling of
5769         font-lock-syntactically-fontified to...
5770         (font-lock-default-fontify-region): ...here.
5771         Let syntax-propertize-function take precedence.
5772         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5774         * emacs-lisp/syntax.el (syntax-propertize-function)
5775         (syntax-propertize-chunk-size, syntax-propertize--done)
5776         (syntax-propertize-extend-region-functions): New vars.
5777         (syntax-propertize-wholelines, syntax-propertize-multiline)
5778         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5779         (syntax-propertize): New functions.
5780         (syntax-propertize-rules): New macro.
5781         (syntax-ppss-flush-cache): Set syntax-propertize--done.
5782         (syntax-ppss): Call syntax-propertize.
5784         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5786 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
5788         * textmodes/ispell.el (ispell-init-process): Improve comments.
5789         XEmacs compatibility changes regarding (add-hook) 'local option
5790         and (set-process-query-on-exit-flag).
5792 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
5794         * net/tramp-cache.el (tramp-parse-connection-properties):
5795         Set tramp-autoload cookie.
5797 2010-09-09  Glenn Morris  <rgm@gnu.org>
5799         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5800         (imagemagick-register-types): Doc fix.
5802 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5804         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5806         * progmodes/js.el (require): Require is already "eval-and-compile".
5807         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
5808         (js--re-search-backward): Use js--re-search-forward.
5810         * progmodes/fortran.el (fortran-line-length): Don't recompute
5811         syntactic keywords redundantly a second time.
5813         * progmodes/ada-mode.el: Replace "(set '" with setq.
5814         (ada-mode): Simplify.
5815         (ada-create-case-exception, ada-adjust-case-interactive)
5816         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5817         (ada-search-ignore-string-comment, ada-move-to-start)
5818         (ada-move-to-end): Use with-syntax-table.
5820         * font-lock.el (save-buffer-state): Remove `varlist' arg.
5821         (font-lock-unfontify-region, font-lock-default-fontify-region):
5822         Update usage correspondingly.
5823         (font-lock-fontify-syntactic-keywords-region):
5824         Set parse-sexp-lookup-properties buffer-locally here.
5825         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5827         * simple.el (blink-matching-open): Don't burp if we can't find a match.
5829 2010-09-08  Glenn Morris  <rgm@gnu.org>
5831         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5832         Error if not compiled with -DBYTE_CODE_METER.
5834         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5835         Ignore dir-locals-file.
5837 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5839         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5840         Not a const.
5841         (compilation-error-regexp-alist-alist): Rule out ": " in file names
5842         for the `gnu' messages.
5843         (compilation-set-skip-threshold): New command.
5844         (compilation-start): Use \' rather than $.
5845         (compilation-forget-errors): Use clrhash.
5847 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
5849         * textmodes/ispell.el (ispell-valid-dictionary-list):
5850         Simplify logic.
5852 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
5854         Migrate to Tramp 2.2.  Rearrange load dependencies.
5855         (Bug#1529, Bug#5448, Bug#5705)
5857         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5858         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5859         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5861         * net/tramp.el (top): Remove all other tramp-* loads except
5862         tramp-compat.el.  Remove all changes to tramp-unload-hook for
5863         other tramp-* packages.  Rearrange defun order.  Change calls of
5864         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5865         `tramp-compat-octal-to-decimal' to new function names.
5866         (tramp-terminal-type, tramp-initial-end-of-output)
5867         (tramp-methods, tramp-foreign-file-name-handler-alist)
5868         (tramp-tramp-file-p, tramp-completion-mode-p)
5869         (tramp-send-command-and-check, tramp-get-remote-path)
5870         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5871         (tramp-shell-quote-argument): Set tramp-autoload cookie.
5872         (with-file-property, with-connection-property): Move to
5873         tramp-cache.el.
5874         (tramp-local-call-process, tramp-decimal-to-octal)
5875         (tramp-octal-to-decimal): Move to tramp-compat.el.
5876         (tramp-handle-shell-command): Do not require 'shell.
5877         (tramp-compute-multi-hops): No special handling for tramp-gw-*
5878         symbols.
5879         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5881         * net/tramp-cache.el (top): Require 'tramp.  Add to
5882         `tramp-unload-hook'.
5883         (tramp-cache-data, tramp-get-file-property)
5884         (tramp-set-file-property, tramp-flush-file-property)
5885         (tramp-flush-directory-property, tramp-get-connection-property)
5886         (tramp-set-connection-property, tramp-flush-connection-property)
5887         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5888         cookie.
5889         (with-file-property, with-connection-property): New defuns, moved
5890         from tramp.el.
5891         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5892         macro.
5894         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5895         (tramp-version): Set tramp-autoload cookie.
5897         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
5898         changes to tramp-unload-hook for other tramp-* packages.  Add to
5899         `tramp-unload-hook'.
5900         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5901         (tramp-compat-call-process): New defuns, moved from tramp.el.
5903         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
5904         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5905         Add to `tramp-unload-hook'.  Change call of
5906         `tramp-compat-decimal-to-octal' to new function name.
5907         (tramp-fish-method): Make it a defconst.
5908         (tramp-fish-file-name-p): Make it a defsubst.
5909         (tramp-fish-method, tramp-fish-file-name-handler)
5910         (tramp-fish-file-name-p): Set tramp-autoload cookie.
5912         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5913         `tramp-foreign-file-name-handler-alist'.  Add to
5914         `tramp-unload-hook'.
5915         (tramp-ftp-method): Make it a defconst.
5916         (tramp-ftp-file-name-p): Make it a defsubst.
5917         (tramp-ftp-method, tramp-ftp-file-name-handler)
5918         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5920         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5921         `tramp-foreign-file-name-handler-alist'.  Add to
5922         `tramp-unload-hook'.  Change checks, whether package can be
5923         loaded.
5924         (tramp-gvfs-file-name-p): Make it a defsubst.
5925         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5926         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5927         (tramp-gvfs-handle-file-directory-p): New defun.
5928         (tramp-gvfs-file-name-handler-alist): Use it.
5930         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5931         `tramp-foreign-file-name-handler-alist'.  Add to
5932         `tramp-unload-hook'.
5933         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5934         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5935         defconst.
5936         (tramp-gw-tunnel-method, tramp-gw-socks-method)
5937         (tramp-gw-open-connection): Set tramp-autoload cookie.
5939         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
5940         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5941         Add to `tramp-unload-hook'.  Change checks, whether package can be
5942         loaded.
5943         (tramp-imap-file-name-p): Make it a defsubst.
5944         (tramp-imap-method, tramp-imaps-method)
5945         (tramp-imap-file-name-handler)
5946         (tramp-imap-file-name-p): Set tramp-autoload cookie.
5948         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
5949         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5950         Add to `tramp-unload-hook'.  Change checks, whether package can be
5951         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
5952         function name.
5953         (tramp-smb-tunnel-method): Make it a defconst.
5954         (tramp-smb-file-name-p): Make it a defsubst.
5955         (tramp-smb-method, tramp-smb-file-name-handler)
5956         (tramp-smb-file-name-p): Set tramp-autoload cookie.
5958         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5959         (tramp-uuencode-region): Set tramp-autoload cookie.
5961         * net/trampver.el (top) Add to `tramp-unload-hook'.
5962         (tramp-version, tramp-bug-report-address): Set tramp-autoload
5963         cookie.  Update release number.
5965 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
5967         * textmodes/ispell.el (ispell-start-process): Make sure original
5968         arg list is properly initialized (Bug#6993, Bug#6994).
5970 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
5972         * files.el (directory-abbrev-alist): Use \` as default regexp.
5974         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5975         chars like - or ] (bug#6984).
5976         (rx-any-condense-range): Explode 2-char ranges.
5978 2010-09-06  Glenn Morris  <rgm@gnu.org>
5980         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5982 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5984         * textmodes/bibtex.el:
5985         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5987 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5989         * net/imap.el (imap-message-map): Remove optional buffer parameter,
5990         since no callers use it.
5991         (imap-message-get): Ditto.
5992         (imap-message-put): Ditto.
5993         (imap-mailbox-map): Ditto.
5994         (imap-mailbox-put): Ditto.
5995         (imap-mailbox-get): Ditto.
5996         (imap-mailbox-get): Revert last change for this function.
5998 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6000         * net/imap.el (imap-fetch-safe): Remove function, and alter all
6001         callers to use `imap-fetch' instead.  According to the comments, this
6002         should be safe, since all other IMAP clients use the 1:* syntax.
6003         (imap-enable-exchange-bug-workaround): Remove.
6004         (imap-debug): Remove -- doesn't seem very useful.
6006 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6008         * net/imap.el (imap-log): New convenience function used throughout
6009         instead of repeating the same code all over the place.
6011 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
6013         * mouse.el (mouse-save-then-kill): Save region to kill-ring
6014         when mouse-drag-copy-region is non-nil (Bug#6956).
6016 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
6018         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6019         Improve regexps (Bug#6987).
6020         (dired-sort-toggle): Search more robustly for -t flag.
6022         * files.el (get-free-disk-space): Search more robustly for
6023         "available" column.  Suggested by Ehud Karni
6024         <ehud@unix.mvs.co.il>.
6026 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
6028         * international/uni-bidi.el:
6029         * international/uni-category.el:
6030         * international/uni-combining.el:
6031         * international/uni-decimal.el:
6032         * international/uni-mirrored.el:
6033         * international/uni-name.el: Regenerate.
6035 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6037         * electric.el (electric-indent-post-self-insert-function):
6038         Don't reindent with a sloppy indentation function.
6040         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6041         border case in change-log-mode.
6043 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
6045         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6046         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6047         Recognize leading tab in gcc-include regexp.  Ignore names with
6048         leading "from" or "in" in gnu regexp (Bug#6937).
6050 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6052         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6053         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6054         (ispell-start-process): Avoid setq and simplify logic.
6055         (ispell-init-process): Setup kill-buffer-hook locally when needed.
6056         (kill-buffer-hook): Don't use it globally with code that uses
6057         expand-file-name since that may call kill-buffer via
6058         code_conversion_restore.
6060 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
6062         * emacs-lisp/package.el (package-directory-list): Only call
6063         file-name-nondirectory on a string.
6065 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6067         * emacs-lisp/package.el (package--download-one-archive):
6068         Ensure that archive-contents is valid before saving it.
6069         (package-activate-1, package-mark-obsolete, define-package)
6070         (package-compute-transaction, package-list-maybe-add): Use push.
6072 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6074         Use SMIE's blink-paren for octave-mode.
6075         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6076         Backslashes do not escape single-quotes, single-quotes do.
6077         (octave-block-else-regexp, octave-block-end-regexp)
6078         (octave-block-match-alist): Remove.
6079         (octave-smie-bnf-table): New var, with old content.
6080         (octave-smie-op-levels): Use it.
6081         (octave-smie-closer-alist): New var.
6082         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
6083         (octave-blink-matching-block-open): Remove.
6084         (octave-reindent-then-newline-and-indent, octave-electric-semi)
6085         (octave-electric-space): Let self-insert-command run expand-abbrev and
6086         blink parens.
6088         * electric.el (electricity): New group.
6089         (electric-indent-chars): New var.
6090         (electric-indent-post-self-insert-function): New fun.
6091         (electric-indent-mode): New minor mode.
6092         (electric-pair-skip-self): New custom.
6093         (electric-pair-post-self-insert-function): New function.
6094         (electric-pair-mode): New minor mode.
6096         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6097         calcAlg-blink-matching-open.
6098         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6099         (calc-do-alg-entry): Only touch the part of the keymap that varies.
6100         Use the new blink-matching-check-function.
6102         Provide blink-matching support to SMIE.
6103         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6104         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6105         (smie-blink-matching-check, smie-blink-matching-open): New functions.
6107         * simple.el (newline): Fix last change to properly remove itself from
6108         the hook.
6110 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6112         * simple.el (newline): Eliminate optimization.
6113         Use post-self-insert-hook to set hard-newline and things before
6114         running post-self-insert-hook.
6115         (blink-matching-check-mismatch): New function.
6116         (blink-matching-check-function): New variable.
6117         (blink-matching-open): Use them.
6118         Skip back forward over prefix chars skipped by forward-sexp.
6119         Don't check if the parens are backslash escaped.
6120         (blink-paren-post-self-insert-function): Check backslash escaping here.
6122 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6124         * emacs-lisp/package.el (package-menu-mode-map):
6125         Change package-menu-revert bindings to revert-buffer.
6126         (package-menu-mode): Set revert-buffer-function.
6127         (package-menu-revert): Doc fix.
6129 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
6131         * textmodes/ispell.el (ispell-init-process): Use "~/" as
6132         `default-directory' unless using Ispell per-directory personal
6133         dictionaries and not in a mini-buffer under XEmacs.
6134         (kill-buffer-hook): Do not kill ispell process on exit when
6135         `ispell-process-directory' is "~/".  (Bug#6143)
6137 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
6139         * simple.el (kill-new): Call interprogram-cut-function with only
6140         one argument.
6142         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6143         Remove cut buffer from error message.
6145         * term/x-win.el (x-select-text):
6146         * term/pc-win.el (x-selection-value):
6147         * term/ns-win.el (x-selection-value):
6148         * eshell/em-term.el:
6149         * w32-fns.el (x-get-selection-value):
6150         * mouse-sel.el (mouse-sel-set-selection-function):
6151         * frame.el (display-selections-p): Remove cut-buffer in documentation.
6153         * term/x-win.el: Update documentation for x-last-selected-text-*.
6154         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6155         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6156         (x-select-text): Remove argument PUSH, update documentation.
6157         Remove cut-buffer code.
6158         (x-selection-value-internal): Was previously x-selection-value.
6159         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6160         Update documentation, remove cut-buffer code.
6161         Call x-selection-value-internal.
6162         (x-clipboard-yank): Call x-selection-value-internal.
6163         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6165         * term/pc-win.el (x-last-selected-text):
6166         x-cut-buffer-or-selection-value renamed to x-selection-value
6167         (x-select-text): Remove argument PUSH, update documentation.
6169         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6170         x-cut-buffer-or-selection-value renamed to x-selection-value
6171         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6172         (x-select-text): Remove argument PUSH, update documentation.
6174         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6176         * w32-fns.el (x-last-selected-text):
6177         x-cut-buffer-or-selection-value renamed to x-selection-value.
6178         (x-cut-buffer-max): Remove.
6179         (x-select-text): Remove argument PUSH, update documentation.
6181         * simple.el (interprogram-cut-function): Remove mention of PUSH.
6183         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6185         * mouse-sel.el (mouse-sel-get-selection-function):
6186         x-cut-buffer-or-selection-value renamed to x-selection-value.
6187         (x-select-text): Remove optional push.
6189 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6191         * simple.el (blink-paren-function): Move from C to here.
6192         (blink-paren-post-self-insert-function): New function.
6193         (post-self-insert-hook): Use it.
6195         * emacs-lisp/pcase.el (pcase-split-memq):
6196         Fix overenthusiastic optimisation.
6197         (pcase-u1): Handle the case of a lambda pred.
6199 2010-08-31  Kenichi Handa  <handa@m17n.org>
6201         * international/mule-cmds.el (standard-display-european-internal):
6202         Setup standard-display-table for 8-bit characters by storing 8-bit
6203         characters in the element vector.
6205         * disp-table.el (standard-display-8bit):
6206         Setup standard-display-table for 8-bit characters by storing 8-bit
6207         characters in the element vector.
6208         (standard-display-european): Likewise.
6210 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
6212         * textmodes/nroff-mode.el (nroff-view): New command.
6213         (nroff-mode-map): Bind it to C-c C-c.
6215 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6217         * emacs-lisp/smie.el (smie-down-list): New command.
6219         Remove old indentation and navigation code on octave-mode.
6220         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6221         smie-down-list rather than add a binding for octave-down-block.
6222         (octave-mark-block, octave-blink-matching-block-open):
6223         Rely on forward-sexp-function.
6224         (octave-fill-paragraph): Don't narrow, so you can use
6225         indent-according-to-mode.
6226         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6227         (octave-in-block-p, octave-re-search-forward-kw)
6228         (octave-re-search-backward-kw, octave-indent-calculate)
6229         (octave-end-as-array-index-p, octave-block-end-offset)
6230         (octave-scan-blocks, octave-forward-block, octave-backward-block)
6231         (octave-down-block, octave-backward-up-block, octave-up-block)
6232         (octave-before-magic-comment-p, octave-indent-line): Remove.
6234 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
6236         * emacs-lisp/package.el (package--read-archive-file): Just use
6237         `read', to avoid copying an additional string.
6238         (package-menu-mode): Set header-line-format here.
6239         (package-menu-refresh, package-menu-revert): Signal an error if
6240         not in the Package Menu.
6241         (package-menu-package-list): New var.
6242         (package--generate-package-list): Operate on the current buffer;
6243         don't assume that it is *Packages*, since the user may rename it.
6244         Allow persistent package listings and sort keys using
6245         package-menu-package-list and package-menu-package-sort-key.
6246         (package-menu--version-predicate): Fix version calculation.
6247         (package-menu-sort-by-column): Don't select the window.
6248         (package--list-packages): Create the *Packages* buffer.
6249         Set package-menu-package-list-key.
6250         (list-packages): Sorting by status is now the default.
6251         (package-buffer-info): Use match-string-no-properties.
6252         (define-package): Add a &rest argument for future proofing, but
6253         don't use it yet.
6254         (package-install-from-buffer, package-install-buffer-internal):
6255         Merge into a single function, package-install-from-buffer.
6256         (package-install-file): Change caller.
6258         * finder.el: Load finder-inf using `require'.
6259         (finder-list-matches): Sorting by status is now the default.
6260         (finder-compile-keywords): Simpify printing.
6262 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6264         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6265         (octave-mode-map): Remove special bindings for forward/backward-block
6266         and octave-backward-up-block.  Use smie-close-block.
6267         (octave-continuation-marker-regexp): New var.
6268         (octave-continuation-regexp): Use it.
6269         (octave-operator-table, octave-smie-op-levels)
6270         (octave-operator-regexp, octave-smie-indent-rules): New vars.
6271         (octave-smie-backward-token, octave-smie-forward-token): New funs.
6272         (octave-mode): Use SMIE.
6273         (octave-close-block): Delete.
6275 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
6277         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6278         CLIPBOARD, not in PRIMARY.  (Bug#6944)
6280 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6282         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6283         a list of parents.
6284         (smie-indent-column): Allow indirection through variables.
6286         * composite.el (save-buffer-state): Delete, unused.
6287         * font-lock.el (save-buffer-state): Use with-silent-modifications.
6288         (font-lock-default-fontify-region): Use with-syntax-table.
6289         * jit-lock.el (with-buffer-unmodified): Remove.
6290         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6292         Use `declare' in defmacros.
6293         * window.el (save-selected-window):
6294         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6295         * progmodes/python.el (def-python-skeleton):
6296         * net/dbus.el (dbus-ignore-errors):
6297         * jka-cmpr-hook.el (with-auto-compression-mode):
6298         * international/mule.el (with-category-table):
6299         * emacs-lisp/timer.el (with-timeout):
6300         * emacs-lisp/lisp-mnt.el (lm-with-file):
6301         * emacs-lisp/eieio.el (with-slots):
6302         * emacs-lisp/easymenu.el (easy-menu-define):
6303         * emacs-lisp/debug.el (debugger-env-macro):
6304         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6305         (Multiple-value-call, Multiple-value-prog1):
6306         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6307         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6308         edebug rule to definition.
6309         * emacs-lisp/lisp-mode.el (save-selected-window)
6310         (with-current-buffer, combine-after-change-calls)
6311         (with-output-to-string, with-temp-file, with-temp-buffer)
6312         (with-temp-message, with-syntax-table, read-if, eval-after-load)
6313         (dolist, dotimes, when, unless):
6314         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6316 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
6318         * finder.el: Require `package'.
6319         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
6320         (finder-package-info): Var deleted.
6321         (finder-keywords-hash, finder--builtins-alist): New vars.
6322         (finder-compile-keywords): Compute package--builtins and
6323         finder-keywords-hash instead of finder-keywords-hash, respecting
6324         the "Package" header.
6325         (finder-unknown-keywords, finder-list-matches):
6326         Use finder-keywords-hash and package--list-packages.
6327         (finder-mode): Don't set font-lock-defaults.
6328         (finder-exit): We don't use "*Finder-package*" and "*Finder
6329         Category*" buffers anymore.
6331         * emacs-lisp/package.el (package--builtins-base): Var deleted.
6332         (package--builtins): Set default value to nil.
6333         (package-initialize): Load precomputed value of package--builtins
6334         from finder-inf.el.
6335         (package-alist, package-compute-transaction)
6336         (package-download-transaction): Improve docstring.
6337         (package-read-all-archive-contents): Do not change
6338         package--builtins here.
6339         (list-packages): Make package-list-packages an alias for this.
6340         Sort by status by default.
6341         (package--list-packages): Add optional PACKAGES arg.
6342         (describe-package-1): Use font-lock-face property.  For built-in
6343         packages, insert file commentary.
6344         (package--generate-package-list): Rename from
6345         package-list-packages-internal; all callers changed.  Add optional
6346         PACKAGES arg.  Add alphabetical sort fallbacks.
6347         (package-menu--version-predicate, package-menu--status-predicate)
6348         (package-menu--description-predicate)
6349         (package-menu--name-predicate): New functions.
6351         * info.el (Info-finder-find-node): Search package-alist instead of
6352         finder-package-info.
6354 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
6356         * subr.el (version-regexp-alist): Don't use "a" and "b" for
6357         "alpha" and "beta".
6358         (version-to-list): Handle versions like "10.3d".
6360 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6362         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6363         (macroexp-accumulate): Use `declare'.
6365 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6367         * whitespace.el (whitespace-style): Adjust type declaration.
6369 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
6371         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6372         empty argument to gvfs-copy.
6374 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6376         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6377         handle new TRASH arg of `delete-file'.
6379 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
6381         * net/tramp.el (tramp-handle-insert-directory): Don't use
6382         `forward-word', its default syntax could be changed.
6384 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
6385             Michael Albinus  <michael.albinus@gmx.de>
6387         Implement compression for inline methods.
6389         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6390         (tramp-copy-size-limit): Allow also nil.
6391         (tramp-inline-compress-commands): New defconst.
6392         (tramp-find-inline-compress, tramp-get-inline-compress)
6393         (tramp-get-inline-coding): New defuns.
6394         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6395         replaced by `tramp-get-inline-coding'.
6396         (tramp-handle-file-local-copy, tramp-handle-write-region)
6397         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6399 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
6401         Detect ssh 'ControlMaster' argument automatically in some cases.
6403         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6404         (tramp-default-method): Use it.
6406 2010-08-26  Karel Klíč  <kklic@redhat.com>
6408         * net/tramp.el (tramp-file-name-for-operation):
6409         Add file-selinux-context.
6411 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
6413         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6415 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6417         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6418         (Bug#6907).
6420 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
6422         * progmodes/js.el: Make indentation more customizable (Bug#6914).
6423         (js-paren-indent-offset, js-square-indent-offset)
6424         (js-curly-indent-offset): New options.
6425         (js--proper-indentation): Use them.
6427 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
6429         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6430         instead of inspecting font-lock properties (Bug#6916).
6432 2010-08-26  David Reitter  <david.reitter@gmail.com>
6434         * server.el (server-visit-files): Run pre-command-hook and
6435         post-command-hook for each buffer while it is current (Bug#6910).
6436         (server-execute): Do not run hooks here.
6438 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
6440         Sync with Tramp 2.1.19.
6442         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6443         (tramp-reporter-dump-variable, tramp-load-report-modules)
6444         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6445         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6447         * net/tramp-compat.el (top): Do not autoload
6448         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6449         only when `start-file-process' is not bound.
6450         (byte-compile-not-obsolete-vars): Define if not bound.
6451         (tramp-compat-funcall): New defmacro.
6452         (tramp-compat-line-beginning-position)
6453         (tramp-compat-line-end-position)
6454         (tramp-compat-temporary-file-directory)
6455         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6456         (tramp-compat-copy-file, tramp-compat-copy-directory)
6457         (tramp-compat-delete-file, tramp-compat-delete-directory)
6458         (tramp-compat-number-sequence, tramp-compat-process-running-p):
6459         Use it.
6460         (tramp-advice-file-expand-wildcards): Do not use
6461         `tramp-handle-file-remote-p'.
6462         (tramp-compat-make-temp-file): Simplify fallback implementation.
6463         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6464         (tramp-compat-copy-tree): Remove function.
6465         (tramp-compat-delete-file): New defun.
6466         (tramp-compat-delete-directory): Provide implementation for older
6467         Emacsen.
6468         (tramp-compat-file-attributes): Handle only
6469         `wrong-number-of-arguments' error.
6471         * net/tramp-fish.el (tramp-fish-handle-copy-file):
6472         Add PRESERVE_SELINUX_CONTEXT.
6473         (tramp-fish-handle-delete-file): Add TRASH arg.
6474         (tramp-fish-handle-directory-files-and-attributes):
6475         Do not use `tramp-fish-handle-file-attributes.
6476         (tramp-fish-handle-file-local-copy)
6477         (tramp-fish-handle-insert-file-contents)
6478         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6480         * net/tramp-gvfs.el (top): Require url-util.
6481         (tramp-gvfs-mount-point): Remove.
6482         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6483         and `set-file-selinux-context'.
6484         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6485         (tramp-gvfs-handle-file-selinux-context)
6486         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6487         (with-tramp-dbus-call-method): Format trace message.
6488         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6489         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6490         Implement backup call, when operation on local files fails.
6491         Use progress reporter.  Flush properties of changed files.
6492         (tramp-gvfs-handle-delete-file): Add TRASH arg.
6493         Use `tramp-compat-delete-file'.
6494         (tramp-gvfs-handle-expand-file-name): Expand "~/".
6495         (tramp-gvfs-handle-make-directory): Make more traces.
6496         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6497         (tramp-gvfs-url-file-name): Hexify file name in url.
6498         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6499         into account for the resulting file name.
6500         (tramp-gvfs-handler-askquestion): Preserve current message, in
6501         order to let progress reporter continue afterwards.  (Bug#6257)
6502         Return dummy mountpoint, when the answer is "no".
6503         See `tramp-gvfs-maybe-open-connection'.
6504         (tramp-gvfs-handler-mounted-unmounted)
6505         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6506         attribute "default_location".  Set "prefix" property.
6507         Handle default-location.
6508         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6509         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6510         exists.  Raise an error, if not (due to a corresponding answer
6511         "no" in interactive questions, for example).
6512         Use `tramp-compat-funcall'.
6514         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6515         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6516         (tramp-imap-do-copy-or-rename-file)
6517         (tramp-imap-handle-insert-file-contents)
6518         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6519         (tramp-imap-handle-delete-file): Add TRASH arg.
6521         * net/tramp-smb.el (tramp-smb-handle-copy-file):
6522         Add PRESERVE-SELINUX-CONTEXT.
6523         (tramp-smb-handle-copy-file)
6524         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6525         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6526         Use `with-progress-reporter'.
6527         (tramp-smb-handle-delete-file): Add TRASH arg.
6529         * net/tramp.el (tramp-methods): Move hostname to the end in all
6530         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
6531         appropriate.
6532         (tramp-verbose): Describe verbose level 9.
6533         (tramp-completion-function-alist)
6534         (tramp-file-name-regexp, tramp-chunksize)
6535         (tramp-local-coding-commands, tramp-remote-coding-commands)
6536         (with-connection-property, tramp-completion-mode-p)
6537         (tramp-action-process-alive, tramp-action-out-of-band)
6538         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6539         (tramp-exists-file-name-handler): Fix docstring.
6540         (tramp-remote-process-environment): Use `format' instead of
6541         `concat'.  Protect version string by apostroph.
6542         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6543         XEmacs.
6544         (tramp-file-name-regexp-unified)
6545         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6546         not regard the volume letter as remote filename.  (Bug#5447)
6547         (tramp-perl-file-attributes)
6548         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6549         (tramp-vc-registered-read-file-names): Read input as
6550         here-document, otherwise the command could exceed maximum length
6551         of command line.
6552         (tramp-file-name-handler-alist): Add `file-selinux-context' and
6553         `set-file-selinux-context'.
6554         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6555         backtrace functions.
6556         (tramp-error-with-buffer): Don't show the connection buffer when
6557         we are in completion mode.
6558         (tramp-progress-reporter-update, tramp-remote-selinux-p)
6559         (tramp-handle-file-selinux-context)
6560         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6561         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6562         New defuns.
6563         (with-progress-reporter): New defmacro.
6564         (tramp-debug-outline-regexp): New defconst.
6565         (top, tramp-rfn-eshadow-setup-minibuffer)
6566         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6567         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6568         (tramp-completion-mode-p, tramp-check-for-regexp)
6569         (tramp-open-connection-setup-interactive-shell)
6570         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6571         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6572         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6573         Use `tramp-compat-funcall'.
6574         (tramp-handle-make-symbolic-link): Flush file properties.
6575         (tramp-handle-load, tramp-handle-file-local-copy)
6576         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6577         (tramp-handle-vc-registered, tramp-maybe-send-script)
6578         (tramp-find-shell): Use `with-progress-reporter'.
6579         (tramp-do-file-attributes-with-stat): Add space in format string,
6580         in order to work around a bug in pdksh.  Reported by Gilles Pion
6581         <gpion@lfdj.com>.
6582         (tramp-handle-verify-visited-file-modtime): Do not send a command
6583         when the connection is not established.
6584         (tramp-handle-set-file-times): Simplify the check for utc.
6585         (tramp-handle-directory-files-and-attributes)
6586         (tramp-get-remote-path): Use `copy-tree'.
6587         (tramp-completion-handle-file-name-all-completions): Ensure, that
6588         non remote files are still checked.  Oops.
6589         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6590         Handle PRESERVE-SELINUX-CONTEXT.
6591         (tramp-do-copy-or-rename-file): Add progress reporter.
6592         (tramp-do-copy-or-rename-file-directly): Do not use
6593         `tramp-handle-file-remote-p'.
6594         (tramp-do-copy-or-rename-file-out-of-band):
6595         Use `tramp-compat-delete-directory'.
6596         (tramp-do-copy-or-rename-file-out-of-band)
6597         (tramp-compute-multi-hops, tramp-maybe-open-connection):
6598         Use `format-spec-make'.
6599         (tramp-handle-delete-file): Add TRASH arg.
6600         (tramp-handle-dired-uncache): Flush directory cache, not only file
6601         cache.
6602         (tramp-handle-expand-file-name)
6603         (tramp-completion-handle-file-name-all-completions)
6604         (tramp-completion-handle-file-name-completion):
6605         Use `tramp-connectable-p'.
6606         (tramp-handle-start-file-process): Set connection property "vec".
6607         Use it, in order to invalidate file caches.  Check only for
6608         `remote-tty' process property.
6609         Implement tty setting.  (Bug#4604, Bug#6360)
6610         (tramp-file-name-for-operation): Add `call-process-region' and
6611         `set-file-selinux-context'.
6612         (tramp-find-foreign-file-name-handler)
6613         (tramp-advice-make-auto-save-file-name)
6614         (tramp-set-auto-save-file-modes): Remove superfluous check for
6615         `stringp'.  This is done inside `tramp-tramp-file-p'.
6616         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
6617         operations when we are in completion mode.  This gives the user
6618         the chance to correct the file name in the minibuffer.
6619         (tramp-completion-mode-p): Use `non-essential'.
6620         (tramp-handle-file-name-all-completions): Backward/ XEmacs
6621         compatibility: Use `completion-ignore-case' if
6622         `read-file-name-completion-ignore-case' does not exist.
6623         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6624         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6625         `tramp-open-shell'.
6626         (tramp-action-password): Hide password prompt before next run.
6627         (tramp-process-actions): Widen connection buffer for the trace.
6628         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6629         process property.  Trace stty settings if `tramp-verbose' >= 9.
6630         Apply workaround for IRIX64 bug.  Move argument of last
6631         `tramp-send-command' where it belongs to.
6632         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6633         front of `login-args'.
6634         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6635         on "/dev/null" instead of "/".
6636         (tramp-get-ls-command-with-dired): Make test for "--dired"
6637         stronger.
6638         (tramp-set-auto-save-file-modes): Adapt version check.
6639         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6640         (tramp-handle-process-file): Call the program in a subshell, in
6641         order to preserve working directory.
6642         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6643         `tramp-remote-sh' from `tramp-methods'.
6644         (tramp-get-ls-command): Make test for "--color=never" stronger.
6645         (tramp-check-for-regexp): Use (forward-line 1).
6647         * net/trampver.el: Update release number.
6649 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6651         * help.el (help-map): Bind `C-h P' to describe-package.
6653         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6655         * emacs-lisp/package.el (package-refresh-contents): Catch errors
6656         when downloading archives.
6657         (describe-package-1): Add package commentary.
6658         (package-install-button-action): New function.
6659         (package-menu-mode-map): Bind ? to package-menu-describe-package.
6660         (package-menu-view-commentary): Function removed.
6661         (package-list-packages-internal): Hide the `package' package too.
6663 2010-08-25  Kenichi Handa  <handa@m17n.org>
6665         * language/misc-lang.el ("Arabic"): New language environment.
6666         Setup composition-function-table for Arabic characters.
6668         * international/fontset.el (setup-default-fontset): Fix typo for
6669         arabic OTF spec (fini->fina).
6671 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
6673         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6674         on all frames.
6676 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6678         * whitespace.el: Allow cleaning up blanks without blank
6679         visualization (Bug#6651).  Adjust help window for
6680         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6681         instead of whitespace-line-column (from EmacsWiki).  New version
6682         13.1.
6683         (whitespace-style): Add new value 'face.  Adjust docstring.
6684         (whitespace-space, whitespace-hspace, whitespace-tab):
6685         Adjust foreground property face.
6686         (whitespace-line-column): Adjust docstring and type declaration.
6687         (whitespace-style-value-list, whitespace-toggle-option-alist)
6688         (whitespace-help-text): Adjust const initialization.
6689         (whitespace-toggle-options, global-whitespace-toggle-options):
6690         Adjust docstring.
6691         (whitespace-display-window, whitespace-interactive-char)
6692         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6693         (whitespace-help-scroll): New fun.
6695 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6697         * emacs-lisp/package.el (list-packages): Alias for
6698         package-list-packages.
6700 2010-08-24  Kevin Ryde  <user42@zip.com.au>
6702         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6703         (Bug#5651).
6705         * progmodes/ruby-mode.el (ruby): Add defgroup.
6707 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6709         * progmodes/python.el: Add Ipython support (Bug#5390).
6710         (python-shell-prompt-alist)
6711         (python-shell-continuation-prompt-alist): New options.
6712         (python--set-prompt-regexp): New function.
6713         (inferior-python-mode, run-python, python-shell):
6714         Require ansi-color.  Use python--set-prompt-regexp to set the comint
6715         prompt based on the Python interpreter.
6716         (python--prompt-regexp): New var.
6717         (python-check-comint-prompt)
6718         (python-comint-output-filter-function): Use it.
6719         (run-python): Use a pipe (Bug#5694).
6721 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
6723         * progmodes/python.el (python-send-region): Send a different
6724         Python command if Ipython is in use.
6725         (python-check-version): Use a Python command to find the version.
6727 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6729         * mouse.el (mouse-yank-primary): Avoid setting primary when
6730         deactivating the mark (Bug#6872).
6732 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
6734         * progmodes/python.el (python-block-pairs): Allow use of "finally"
6735         with "else" (Bug#3991).
6737 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
6739         * net/dbus.el: Accept UNIX domain sockets as bus address.
6740         (top): Don't initialize `dbus-registered-objects-table' anymore,
6741         this is done in dbusbind,c.
6742         (dbus-check-event): Adapt test for bus.
6743         (dbus-return-values-table, dbus-unregister-service)
6744         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6745         Adapt doc string.
6747 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
6749         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6751 2010-08-22  Juri Linkov  <juri@jurta.org>
6753         * simple.el (read-extended-command): New function with the logic
6754         for `completing-read' moved to Elisp from `execute-extended-command'.
6755         Use `function-called-at-point' in `minibuffer-default-add-function'
6756         to get a command name for M-n (bug#5364, bug#5214).
6758 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6760         * startup.el (command-line-1): Issue warning for ignored arguments
6761         --unibyte, etc (Bug#6886).
6763 2010-08-22  Leo  <sdl.web@gmail.com>
6765         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6766         (ignore, bright, dim, keyword): Split list of nicknames before
6767         passing to rcirc-add-or-remove (Bug#6894).
6769 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6771         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6773 2010-08-22  Leo  <sdl.web@gmail.com>
6775         Fix buffer-list rename&refresh after killing a buffer in ido.
6776         * ido.el: Revert Óscar's.
6777         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6778         Remember the buffers at head, rather than their name.
6779         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6781 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
6782             Stefan Monnier  <monnier@iro.umontreal.ca>
6784         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6785         extra backslash added to each line (bug#6890).
6787 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6789         * subr.el (read-key): Don't echo keystrokes (bug#6883).
6791 2010-08-22  Glenn Morris  <rgm@gnu.org>
6793         * menu-bar.el (menu-bar-games-menu): Add landmark.
6795 2010-08-22  Glenn Morris  <rgm@gnu.org>
6797         * align.el (align-regexp): Make group and spacing arguments
6798         use the interactive defaults when non-interactive.  (Bug#6698)
6800         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6801         expansion, so as not to need sendmail.
6802         (mail-text-start): Remove declaration.
6803         (rmail-retry-failure): Require sendmail.
6805 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6807         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6809 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
6811         * progmodes/flymake.el (flymake-start-syntax-check-process):
6812         Use `start-file-process' in order to let it run also on remote hosts.
6814 2010-08-22  Kenichi Handa  <handa@m17n.org>
6816         * files.el: Add `word-wrap' as safe local variable.
6818 2010-08-22  Glenn Morris  <rgm@gnu.org>
6820         * woman.el (woman-translate): Case matters.  (Bug#6849)
6822 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6824         * simple.el (kill-region): Doc fix (Bug#6787).
6826 2010-08-22  Glenn Morris  <rgm@gnu.org>
6828         * calendar/diary-lib.el (diary-header-line-format):
6829         Fit it to the window, not the frame.
6831 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
6833         * subr.el (ignore-errors): Add debug declaration.
6835 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
6837         * whitespace.el (whitespace-color-off): Remove post-command-hook
6838         locally.
6840 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6842         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6844 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6846         * cus-edit.el (custom-group-value-create): Add extra newline
6847         before end line (Bug#6876).
6849 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6851         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6852         when extending it.  Before killing on the second click, check if
6853         the buffer is the correct one.  Doc fix.
6854         (mouse-secondary-save-then-kill): Allow usage without first
6855         calling mouse-start-secondary, by defaulting to point.  Don't save
6856         an empty secondary selection.  Doc fix.
6858 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6860         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
6861         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6862         New version 13.0.
6863         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6864         Adjust initialization.
6865         (whitespace-bob-marker, whitespace-eob-marker)
6866         (whitespace-buffer-changed): New vars.
6867         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6868         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6869         (whitespace-post-command-hook, whitespace-display-char-on):
6870         Adjust code.
6871         (whitespace-looking-back, whitespace-buffer-changed): New funs.
6872         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6874 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6876         * files.el (locate-file-completion-table): Only list the .el and .elc
6877         extensions if there's no other choice (bug#5955).
6879         * facemenu.el (facemenu-self-insert-data): New var.
6880         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6881         New functions.
6882         (facemenu-add-face): Use them.
6884         * simple.el (blink-matching-open): Obey forward-sexp-function.
6886 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6888         * simple.el (prog-mode-map): New var.
6889         (prog-indent-sexp): New command.
6891         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6893         * progmodes/prolog.el (smie): Require.
6895         * emacs-lisp/smie.el (smie-default-backward-token)
6896         (smie-default-forward-token): Strip properties.
6897         (smie-next-sexp): Be more careful with associative operators.
6898         (smie-forward-sexp-command): Generalize.
6899         (smie-backward-sexp-command): Simplify.
6900         (smie-closer-alist): New var.
6901         (smie-close-block): New command.
6902         (smie-indent-debug-log): New var.
6903         (smie-indent-offset-rule): Add a few more cases.
6904         (smie-indent-column): New function.
6905         (smie-indent-after-keyword): Use it.
6906         (smie-indent-keyword): Use it.
6907         Fix up the opener code's point position.
6908         (smie-indent-comment): Only applies at BOL.
6909         (smie-indent-debug): New command.
6911         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6912         declarations that are useful before running the macro.
6914 2010-08-18  Joakim Verona  <joakim@verona.se>
6916         * image.el (imagemagick-types-inhibit): New variable.
6917         (imagemagick-register-types): New function.
6918         * image-mode.el (image-transform-properties): New function.
6919         (image-transform-set-scale, image-transform-fit-to-height)
6920         (image-transform-set-rotation, image-transform-set-resize)
6921         (image-transform-fit-to-width, image-transform-fit-to-height):
6922         New functions.
6923         (image-toggle-display-image): Support image transforms.
6925 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
6927         * image.el (create-animated-image): Don't add heuristic mask to image
6928         (Bug#6839).
6930 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
6932         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6933         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6935 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6937         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6939         Font-lock '...' strings, plus various simplifications and fixes.
6940         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6941         (octave-font-lock-close-quotes): New function.
6942         (octave-font-lock-syntactic-keywords): New var.
6943         (octave-mode): Use it.  Set beginning-of-defun-function.
6944         (octave-mode-map): Don't override the <foo>-defun commands.
6945         (octave-mode-menu): Pass it directly to easy-menu-define;
6946         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6947         (octave-block-match-alist): Fix up last change so that
6948         octave-close-block uses the more specific keyword.
6949         (info-lookup-mode): Silence byte-compiler.
6950         (octave-beginning-of-defun): Not interactive any more.
6951         Optimize slightly.
6952         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6953         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6954         (octave-completion-at-point-function): Make sure point is within
6955         beg..end.
6956         (octave-reindent-then-newline-and-indent):
6957         Use reindent-then-newline-and-indent.
6958         (octave-add-octave-menu): Remove.
6960 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
6962         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6963         (report-emacs-bug-can-use-xdg-email): New functions.
6964         (report-emacs-bug): Set can-xdg-email to result of
6965         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
6966         \C-cm to report-emacs-bug-insert-to-mailer and add help text
6967         about it.
6969         * net/browse-url.el (browse-url-default-browser): Add cond
6970         for browse-url-xdg-open.
6971         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6973 2010-08-17  Glenn Morris  <rgm@gnu.org>
6975         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6976         (c-fontify-recorded-types-and-refs): Define for compiler.
6977         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6978         before use.
6980         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6981         Fix format call.
6983 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
6985         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6986         properties.
6987         (tramp-handle-process-file): Call the program in a subshell, in
6988         order to preserve working directory.
6989         (tramp-action-password): Hide password prompt before next run.
6990         (tramp-process-actions): Widen connection buffer for the trace.
6992 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6994         * net/rcirc.el (rcirc-log-process-buffers): New option.
6995         (rcirc-print): Use it.
6996         (rcirc-generate-log-filename): New function.
6997         (rcirc-log-filename-function): Change default to
6998         rcirc-generate-log-filename (Bug#6828).
7000 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
7002         * simple.el (deactivate-mark): If select-active-regions is `only',
7003         only set selection for temporarily active regions.
7005         * cus-start.el: Change defcustom for select-active-regions.
7007 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7009         * mouse.el (mouse--drag-set-mark-and-point): New function.
7010         (mouse-drag-track): Use LOCATION arg to push-mark.
7011         Use mouse--drag-set-mark-and-point to take click-count into
7012         consideration when updating point and mark (Bug#6840).
7014 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7016         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7017         Give the Ruby rule a lower priority than Gnu (Bug#6778).
7019 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7021         * font-lock.el (lisp-font-lock-keywords-2):
7022         Add combine-after-change-calls, condition-case-no-debug,
7023         with-demoted-errors, and with-silent-modifications (Bug#6025).
7025 2010-08-14  Kevin Ryde  <user42@zip.com.au>
7027         * emacs-lisp/copyright.el (copyright-update-year)
7028         (copyright-update): Temporary switch-to-buffer to ensure the
7029         buffer change being queried is visible (Bug#5394).
7031 2010-08-14  Tom Tromey  <tromey@redhat.com>
7033         * progmodes/etags.el (tags-file-name): Mark safe if stringp
7034         (Bug#6733).
7036 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
7038         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7039         MS-DOS.  (Bug#6689)
7041 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
7043         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7044         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7045         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7046         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7047         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7048         Call menu-bar-set-tool-bar-position.
7050 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7052         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7053         comment style (bug#6834).
7054         * progmodes/scheme.el (scheme-mode-syntax-table):
7055         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7056         "b" flag in "' 14b" syntax.
7058         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7059         for (un)commenting the region and performing completion.
7060         (octave-mode-menu): Use standard commands for help and completion.
7061         (octave-mode-syntax-table): Support %{..%} comments (sort of).
7062         (octave-mode): Use define-derived-mode.
7063         Set completion-at-point-functions and don't set columns.
7064         Don't disable adaptive-fill-regexp.
7065         (octave-describe-major-mode, octave-comment-region)
7066         (octave-uncomment-region, octave-comment-indent)
7067         (octave-indent-for-comment): Remove.
7068         (octave-indent-calculate): Rename from calculate-octave-indent.
7069         (octave-indent-line, octave-fill-paragraph): Update caller.
7070         (octave-initialize-completions): No need to make an alist.
7071         (octave-completion-at-point-function): New function.
7072         (octave-complete-symbol): Use it.
7073         (octave-insert-defun): Use define-skeleton.
7075         * progmodes/octave-mod.el (octave-mode): Set comment-add.
7076         (octave-mode-map): Use comment-dwim (bug#6829).
7078 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
7080         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7081         indentation of inserted comment.
7083 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
7085         * faces.el (region): Add type gtk that uses gtk colors.
7087         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7088         Handle theme-name change.
7090 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
7092         * progmodes/sql.el: Version 2.5
7093         (sql-product-alist): Add :prompt-cont-regexp property for several
7094         database products.
7095         (sql-prompt-cont-regexp): New variable.
7096         (sql-output-newline-count, sql-output-by-send):
7097         New variables.  Record number of newlines in input text.
7098         (sql-send-string): Handle multiple filters and count newlines.
7099         (sql-send-magic-terminator): Count terminator newline.
7100         (sql-interactive-remove-continuation-prompt): Filters output to
7101         remove continuation prompts; one for each newline.
7102         (sql-interactive-mode): Set up new variables, prompt regexp and
7103         output filter.
7104         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7105         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7107 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7109         * emacs-lisp/pcase.el: New file.
7111 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
7113         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7114         as here-document, otherwise the command could exceed maximum
7115         length of command line.
7116         (tramp-handle-vc-registered): Call script accordingly.
7117         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7119 2010-08-10  Kenichi Handa  <handa@m17n.org>
7121         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7122         composable pattern.
7124 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
7126         * emacs-lisp/package.el (package-version-split)
7127         (package--version-first-nonzero, package-version-compare):
7128         Functions removed.
7129         (package-directory-list, package-load-all-descriptors)
7130         (package--built-in, package-activate, define-package)
7131         (package-installed-p, package-compute-transaction)
7132         (package-read-all-archive-contents)
7133         (package--add-to-archive-contents, package-buffer-info)
7134         (package-tar-file-info, package-list-packages-internal):
7135         Use version-to-list and version-list-*.
7137         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7138         Use version-to-list.
7139         (package-upload-buffer-internal): Use version-list-<=.
7141 2010-08-09  Kenichi Handa  <handa@m17n.org>
7143         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7144         composable pattern.
7146 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
7148         * tutorial.el (tutorial--default-keys): C-d is now bound to
7149         delete-forward-char (Bug#6826).
7151         * mouse.el (mouse-drag-track): Remove accidentally-removed check
7152         for `double' value of mouse-1-click-follows-link (Bug#6807).
7154 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
7156         * replace.el (replace-highlight): Bind isearch-forward and
7157         isearch-error, ensuring that highlighting is updated if the user
7158         switches the search direction (Bug#6808).
7160         * isearch.el (isearch-lazy-highlight-forward): New var.
7161         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7162         (isearch-lazy-highlight-update): Use it.
7164 2010-08-08  Kenichi Handa  <handa@m17n.org>
7166         * international/mule.el (define-charset): Store NAME as :base property.
7167         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7168         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7169         current priority.  Force using the designation of the specific
7170         charset by adding `charset' text property.  Improve the whole algorithm.
7172 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7174         * emulation/pc-select.el (pc-selection-mode-hook)
7175         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7176         (pc-selection-mode): Fix typos in docstrings.
7178 2010-08-08  Kenichi Handa  <handa@m17n.org>
7180         * language/cyrillic.el: Don't add "microsoft-cp1251" to
7181         ctext-non-standard-encodings-alist here.
7183         * international/mule.el (ctext-non-standard-encodings-alist):
7184         Add "koi8-r" and "microsoft-cp1251".
7185         (ctext-standard-encodings): New variable.
7186         (ctext-non-standard-encodings-table): List only elements for
7187         non-standard encodings.
7188         (ctext-pre-write-conversion): Adjust for the above change.
7189         Check ctext-standard-encodings.
7191         * international/mule-conf.el (compound-text): Doc fix.
7192         (ctext-no-compositions): Doc fix.
7193         (compound-text-with-extensions): Doc fix.
7195 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7197         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7199 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7201         * progmodes/which-func.el (which-func-format): Split help-echo text
7202         into lines, like other mode-line tooltips.
7204         * server.el (server-start): When using TCP sockets, force IPv4
7205         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
7207 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7209         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7211 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7213         * term.el (term-delimiter-argument-list): Reflow docstring.
7214         (term-read-input-ring, term-write-input-ring, term-send-input)
7215         (term-bol, term-erase-in-display, serial-supported-or-barf):
7216         Fix typos in docstrings.
7218 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7220         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7222 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7224         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7226 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
7228         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7229         Fix typo in docstring (bug#6747).
7231 2010-08-08  Leo  <sdl.web@gmail.com>
7233         * eshell/esh-io.el (eshell-get-target): Better detection of
7234         read-only file (Bug#6762).
7236 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7238         * align.el (align-default-spacing): Doc fix.
7239         (align-region-heuristic, align-regexp): Fix typos in docstrings.
7241 2010-08-08  Stephen Peters  <speters@itasoftware.com>
7243         * calendar/icalendar.el
7244         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
7245         (icalendar--get-weekday-numbers): New.
7246         (icalendar--convert-recurring-to-diary): Handle multiple byday
7247         values in weekly rules.  (Bug#6766)
7249 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
7251         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7252         (icalendar--create-uid, icalendar-export-region)
7253         (icalendar--parse-summary-and-rest): Code formatting.
7255 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
7257         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7258         to italicize headers.
7259         (calc-highlight-selections-with-faces): New variable.
7260         (calc-selected-face, calc-nonselected-face): New faces.
7262         * calc/calccomp.el (math-comp-highlight-string): Use
7263         `calc-highlight-selections-with-faces' to determine how to highlight
7264         sub-formulas.
7266         * calc/calc-sel.el (calc-show-selections): Change message to when
7267         using faces to highlight selections.
7269 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
7271         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7272         Add SQLite 3 keywords, functions and datatypes.
7273         (sql-interactive-mode): Remove `comint-process-echoes' set to t
7274         (Bug#6686).
7276 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
7278         * simple.el (select-active-regions): Move to keyboard.c.
7279         (deactivate-mark): Used saved-region-selection.
7280         (select-active-region): Function removed.
7281         (activate-mark, set-mark, push-mark-command)
7282         (handle-shift-selection): Don't call it.
7283         (keyboard-quit): Avoid adding the region to the window selection.
7285         * mouse.el (mouse-drag-track): Remove hacks to deal with old
7286         select-active-regions implementation.
7287         (mouse-yank-at-click): Doc fix.
7289         * cus-start.el: Add custom declaration for select-active-regions.
7291 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
7293         * simple.el (delete-forward-char): Doc fix.
7295         * tutorial.el (help-with-tutorial): Hack safe file-local variables
7296         after reading the tutorial.
7298 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
7300         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7301         Fix for the case that a C style comment has its delimiters alone on
7302         their respective lines.
7304 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
7306         * net/tramp.el (tramp-handle-start-file-process): Set connection
7307         property "vec".
7308         (tramp-process-sentinel): Use it for flushing the cache.
7309         We cannot do it via the process buffer, the buffer could be deleted
7310         already when running the sentinel.
7312 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
7314         * comint.el (comint-mode): Make directory tracking functions
7315         functional on remote files.  (Bug#6764)
7317 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
7319         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7321 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
7323         * emacs-lisp/find-gc.el (find-gc-source-files):
7324         Rename unexec.c => unexcoff.c.
7326         * emacs-lisp/authors.el (authors-fixed-entries):
7327         Rename unexec.c => unexcoff.c.
7329 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
7331         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7332         cache, not only file cache.
7333         (tramp-process-sentinel): New defun.
7334         (tramp-handle-start-file-process): Use it, in order to invalidate
7335         file caches.
7337 2010-08-03  Leo  <sdl.web@gmail.com>
7339         * server.el (server-start): Simplify loop.
7341 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7343         * frame.el (screen-height, screen-width, set-screen-width)
7344         (set-screen-height): Remove ancient compatibility aliases.
7346         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7347         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
7349         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7350         that change current buffer.
7352 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7354         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7355         beginning of the string.  Use `string-match-p'.  (Bug#6765)
7357 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
7359         * cus-start.el (x-gtk-use-system-tooltips): New variable.
7361 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
7363         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7364         (package--builtins): Tweak descriptions.
7365         (package-print-package): Upcase descriptions if necessary.
7366         Show all built-in packages in font-lock-builtin-face.
7367         (package-list-packages-internal): Omit "emacs" package.
7368         Show status of built-in packages as "built-in".
7370 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
7372         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
7373         before killing to preserve the primary selection (Bug#6701).
7375         * term/x-win.el (x-select-text): Doc fix.
7377 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
7379         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7380         (objc-font-lock-extra-types):
7381         * progmodes/cc-mode.el (c-basic-common-init):
7382         * progmodes/cc-langs.el (c-make-mode-syntax-table)
7383         (c++-make-template-syntax-table)
7384         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7385         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7386         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7387         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7388         * progmodes/cc-fonts.el (c-make-inverse-face)
7389         (c-basic-matchers-after):
7390         * progmodes/cc-engine.el (c-forward-keyword-clause)
7391         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7392         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7393         (c-guess-continued-construct, c-guess-basic-syntax):
7394         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7395         The above functions were modified or created.
7397 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
7399         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7401 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
7403         * files.el (bidi-paragraph-direction): Define safe local values.
7405         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7406         language-info-alist.  Remove outdated FIXME in a comment.
7408 2010-07-31  Alan Mackenzie  <acm@muc.de>
7410         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7411         Auto-fill broken in C/C++ modes.
7413 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
7415         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7416         (menu-bar-showhide-tool-bar-menu-customize-disable)
7417         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7418         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7419         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7420         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7421         make a menu for Options => toolbar that can move it.
7423 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
7425         * emacs-lisp/package-x.el (package--make-rss-entry):
7426         (package-maint-add-news-item, package--update-news)
7427         (package-upload-buffer-internal): New arg ARCHIVE-URL.
7429         * emacs-lisp/package.el (package-archive-url): Rename from
7430         package-archive-id.
7431         (package-install): Doc fix.
7432         (package-download-single, package-download-tar, package-install)
7433         (package-menu-view-commentary): Callers changed.
7435 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
7437         * net/tramp.el (tramp-handle-start-file-process): Check only for
7438         `remote-tty' process property.
7439         (tramp-open-shell): Don't check for tty.
7440         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7441         process property.
7443         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7444         host.
7446 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
7448         * emacs-lisp/package.el (package-load-list, package-archives)
7449         (package-archive-contents, package-user-dir)
7450         (package-directory-list, package--builtins, package-alist)
7451         (package-activated-list, package-obsolete-alist): Mark as risky.
7453 2010-07-28  Phil Hagelberg  <phil@evri.com>
7455         Add support for non-default package repositories.
7456         * emacs-lisp/package.el (package-archive-base): Var deleted.
7457         (package-archives): New variable.
7458         (package-archive-contents): Doc fix.
7459         (package-load-descriptor): Do nothing if descriptor file is missing.
7460         (package--write-file-no-coding): New function.
7461         (package-unpack-single): Use it.
7462         (package-archive-id): New function.
7463         (package-download-single, package-download-tar)
7464         (package-menu-view-commentary): Use it.
7465         (package-installed-p): Make second argument optional.
7466         (package-read-all-archive-contents): New function.
7467         (package-initialize): Use it.
7468         (package-read-archive-contents): Add ARCHIVE argument.
7469         (package--add-to-archive-contents): New function.
7470         (package-install): Don't call package-read-archive-contents.
7471         (package--download-one-archive): Store archive file in a
7472         subdirectory of package-user-dir.
7473         (package-menu-execute): Remove spurious line movement.
7475 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
7477         * cus-start.el (tool-bar-style): Add text-image-horiz.
7479 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
7481         * progmodes/gud.el (gud-common-init): Check for remoteness of
7482         `file', and not of `default-directory'.
7484 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
7486         * net/tramp.el (tramp-methods): Move hostname to the end in all
7487         ssh `tramp-login-args'.
7488         (tramp-verbose): Describe verbose level 9.
7489         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7490         (tramp-open-connection-setup-interactive-shell): Trace stty
7491         settings if `tramp-verbose' >= 9.
7492         (tramp-handle-start-file-process): Implement tty setting.
7493         (Bug#4604, Bug#6360)
7495         * net/tramp-cmds.el (tramp-bug): Recommend setting of
7496         `tramp-verbose' to 9.
7498 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
7500         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7501         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7502         Remove references to package `lisp-re' (bug#4369).
7504 2010-07-27  Tom Tromey  <tromey@redhat.com>
7506         * progmodes/js.el (js-mode):
7507         * progmodes/make-mode.el (makefile-mode):
7508         * progmodes/simula.el (simula-mode):
7509         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7511 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
7513         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7515         * time.el (display-time-day-and-date): Remove spurious * in docstring.
7516         (display-time-world-buffer-name, display-time-world-mode-map):
7517         Fix typos in docstrings.
7519 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
7521         * image-mode.el (image-display-size): New function.
7522         (image-forward-hscroll, image-next-line, image-eol, image-eob)
7523         (image-mode-fit-frame): Use it (Bug#6639).
7525 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
7527         * dired.el (dired-buffers-for-dir): Handle list values of
7528         dired-directory (Bug#6636).
7530 2010-07-26  Sam Steingold  <sds@gnu.org>
7532         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7533         Do not call `x-get-selection' the second time, reuse the value.
7535 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
7537         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7538         which consist of control chars only.  Suggested by Richard Stallman.
7540 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
7542         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7543         exists before passing an error to find-file-not-found-functions
7544         (bug#6723).
7546 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
7548         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7549         Remove leading nil element, adjust values.
7550         (tetris-shapes, tetris-shape-scores):
7551         Change representation of shapes and remove some redundancy.
7552         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7553         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7554         Adjust for working with new representation of shapes.
7555         (tetris-shape-rotations): New function.
7556         (tetris-move-bottom, tetris-move-left, tetris-move-right)
7557         (tetris-rotate-prev, tetris-rotate-next):
7558         Adjust for working with the new version of tetris-test-shape.
7560 2010-07-23  Markus Triska  <markus.triska@gmx.at>
7562         * progmodes/ps-mode.el: Use comint (bug#5954).
7563         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7564         (ps-mode-other-newline): Simplify.
7565         (ps-run-mode): Derive from comint-mode instead of
7566         fundamental-mode, yielding input history etc.
7567         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7568         (ps-run-send-string): Adapt for comint-mode.
7569         (ps-run-newline): Remove now unneeded function.
7571 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7573         * net/tramp.el (tramp-methods): Move hostname to the end in all
7574         plink `tramp-login-args'.
7576 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7578         * net/tramp.el (tramp-open-shell): New defun.
7579         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7580         Use it.
7582 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7584         * net/tramp.el (tramp-file-name-regexp-unified)
7585         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7586         not regard the volume letter as remote filename.  (Bug#5447)
7588 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
7590         * custom.el (custom-declare-variable): Give a clearer error message
7591         when the docstring is missing (bug#6476).
7593 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
7595         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
7596         (sql-login-params): New widget definition.
7597         (sql-oracle-login-params, sql-mysql-login-params)
7598         (sql-solid-login-params, sql-sybase-login-params)
7599         (sql-informix-login-params, sql-ingres-login-params)
7600         (sql-ms-login-params, sql-postgres-login-params)
7601         (sql-interbase-login-params, sql-db2-login-params)
7602         (sql-linter-login-params): Use it.
7603         (sql-sqlite-login-params): Use it; Define "database" parameter as
7604         a file name.
7605         (sql-sqlite-program): Change to "sqlite3".
7606         (sql-comint-sqlite): Make sure database name is complete.
7607         (sql-for-each-login): New function.
7608         (sql-connect, sql-save-connection): Use it.
7609         (sql-get-login-ext): New function.
7610         (sql-get-login): Use it.
7611         (sql-make-alternate-buffer-name): Handle :file parameters.
7613 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
7615         * dired.el (dired-no-confirm): Document value t and fix defcustom to
7616         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
7618 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
7620         * dired.el (dired-mode-map): Use command remapping (bug#6632).
7622 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
7624         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7626 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
7628         * net/tramp.el (tramp-get-ls-command)
7629         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7630         instead of "/".
7632 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
7634         * progmodes/sql.el: Version 2.3.
7635         (sql-connection-alist): Change keys from symbols to strings;
7636         enhanced the widget definition.
7637         (sql-mode-menu): Add submenu to select connections.
7638         (sql-interactive-mode-menu): Add "Save Connection" item.
7639         (sql-add-product): Fix menu item.
7640         (sql-get-product-feature): Improved error handling.
7641         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7642         (sql-make-alternate-buffer-name): Simplified.
7643         (sql-product-interactive): Handle missing product.
7644         (sql-connect): Support string keys, minor improvements.
7645         (sql-save-connection): New function.
7646         (sql-connection-menu-filter): New function.
7648 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7650         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7651         (tramp-open-connection-setup-interactive-shell):
7652         Apply workaround for IRIX64 bug.  Move argument of last
7653         `tramp-send-command' where it belongs to.
7655 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7657         * net/tramp.el (tramp-perl-file-attributes)
7658         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7659         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7660         front of `login-args'.
7662 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
7664         * time.el (display-time-world-mode): Define with `define-derived-mode'.
7665         Set `show-trailing-whitespace' to nil.
7666         (display-time-world-display): Simplify.
7668 2010-07-18  Alan Mackenzie  <acm@muc.de>
7670         Enhance `c-file-style' in file/directory local variables.
7671         * progmodes/cc-mode.el (c-count-cfss): New function.
7672         (c-before-hack-hook): Call `c-set-style' differently according to
7673         whether c-file-style was set in file or directory local
7674         variables.
7676 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
7678         * progmodes/sql.el: Version 2.2.
7679         (sql-product, sql-user, sql-database, sql-server, sql-port):
7680         Use defcustom :safe keyword rather than putting safe-local-variable
7681         property.
7682         (sql-password): Use defcustom :risky keyword rather than putting
7683         risky-local-variable property.
7684         (sql-oracle-login-params, sql-sqlite-login-params)
7685         (sql-solid-login-params, sql-sybase-login-params)
7686         (sql-informix-login-params, sql-ingres-login-params)
7687         (sql-ms-login-params, sql-postgres-login-params)
7688         (sql-interbase-login-params, sql-db2-login-params)
7689         (sql-linter-login-params): Add `port' option.
7690         (sql-get-product-feature): Add NO-INDIRECT parameter.
7691         (sql-comint-oracle, sql-comint-sybase)
7692         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7693         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7694         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7695         (sql-comint-linter): Rename sql-connect-* functions to
7696         sql-comint-*.
7697         (sql-product-alist, sql-mode-menu): Rename as above and
7698         :sqli-connect-func to :sqli-comint-func.
7699         (sql-connection): New variable.
7700         (sql-interactive-mode): Set it.
7701         (sql-connection-alist): New variable.
7702         (sql-connect): New function.
7703         (sql--alt-buffer-part, sql--alt-if-not-empty)
7704         (sql-make-alternate-buffer-name): Improved alternative buffer name.
7706 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7708         * image-mode.el (image-bookmark-make-record): Do not set context
7709         in an image (Bug#6650).
7711 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7713         * simple.el (select-active-region): New function.
7714         (push-mark-command, set-mark, activate-mark)
7715         (handle-shift-selection): Use it.
7716         (deactivate-mark): Don't check for size of region.
7718         * mouse.el (mouse-drag-track): Use select-active-region.
7720 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
7722         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7723         "--dired" stronger.
7725 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7727         * term/x-win.el (x-select-enable-primary): Change default to nil.
7728         (x-select-enable-clipboard): Add :version keyword.
7730         * mouse.el (mouse-drag-copy-region):
7731         * simple.el (select-active-regions): Likewise.
7733 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
7735         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7736         (vc-coding-system-for-diff): Use it to decide whether to inherit
7737         from the file the EOL format for reading the diffs of that file.
7738         (Bug#4451)
7740 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
7742         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7743         unibyte, so compressed attachments are not compressed again.
7745 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
7747         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7748         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7749         (tramp-find-shell): Simplify setting connection property.
7750         (tramp-get-ls-command): Make test for "--color=never" stronger.
7752 2010-07-15  Simon South  <ssouth@member.fsf.org>
7754         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7755         blocks within record declarations (i.e. variant parts) correctly.
7757 2010-07-15  Simon South  <ssouth@member.fsf.org>
7759         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7760         over literal tokens when parsing so newlines aren't "absorbed" by
7761         single-line comments.  Corrects the indentation of case blocks
7762         that have a comment on the first line.
7764 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
7766         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7767         by Drew Adams (Bug#5504).
7769 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7771         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7772         now that Unicode is used (Bug#6594).
7774 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
7776         * term/x-win.el (x-select-enable-clipboard): Default to t.
7777         (x-initialize-window-system): Don't overwrite Paste menu item.
7779         * simple.el (select-active-regions): Default to t.
7780         (push-mark-command): Don't overwrite primary with empty string.
7782         * mouse.el: Bind mouse-2 to mouse-yank-primary.
7783         (mouse-drag-copy-region): Default to nil.
7785         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7786         Cut/Copy/Paste menu bar items.
7788 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7790         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7791         Patch applied by Karl Fogel.
7793         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7794         and `bookmark-current-buffer' if they have been already set in
7795         another buffer (e.g gnus-art).
7797 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7798             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7800         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7802         * bookmark.el (bookmark-make-record-default): Allow unneeded
7803         information to be omitted from the record.
7805         Adjust declarations and calls:
7807         * info.el (bookmark-make-record-default): Adjust declaration.
7808         (Info-bookmark-make-record): Adjust call.
7810         * woman.el (bookmark-make-record-default): Adjust declaration.
7811         (woman-bookmark-make-record): Adjust call.
7813         * man.el (bookmark-make-record-default): Adjust declaration.
7814         (Man-bookmark-make-record): Adjust call.
7816         * image-mode.el (bookmark-make-record-default): Adjust declaration.
7818         * doc-view.el (bookmark-make-record-default): Adjust declaration.
7820 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7822         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7823         This is also from Thierry Volpiatto's patch in bug #6444.  However,
7824         because it was extraneous to the functional change in that patch,
7825         and causes a re-indendation, I am committing it separately.
7827 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7829         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7830         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7831         Patch applied by Karl Fogel (Bug#6444).
7833 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
7835         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7837 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
7839         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7840         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
7841         (ns-alternatives-map): Change S-tab binding to backtab
7842         (bug#6616).
7844         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7845         under ns.
7847 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7849         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7850         (Bug#5806)
7852         * language/tv-util.el (tai-viet-re): Remove format.
7854 2010-07-12  Kenichi Handa  <handa@m17n.org>
7856         * language/hebrew.el: Remove no-byte-compile declaration.
7857         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
7858         composition-function-table for 3-character looking back.
7859         (hebrew-font-get-precomposed): New function.
7860         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7862 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
7864         * mouse.el (mouse-drag-track): Handle select-active-regions
7865         (Bug#6612).
7867 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
7869         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7870         empty argument to gvfs-copy.
7872 2010-07-10  Glenn Morris  <rgm@gnu.org>
7874         * calendar/calendar.el (calendar-week-end-day): New function.
7875         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7876         Respect calendar-week-start-day.  (Bug#6606)
7877         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7878         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7879         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7880         respect calendar-week-start-day.
7882 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
7884         * simple.el (use-region-p): Doc fix (Bug#6607).
7886 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
7888         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7889         Add regexps for cucumber and ruby.
7891 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
7893         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7894         (epa-file-insert-file-contents): Hack to prevent
7895         find-file from opening empty buffer when decryption failed
7896         (bug#6568).
7898 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
7900         * textmodes/ispell.el (ispell-alternate-dictionary):
7901         Use file-readable-p.
7902         Return nil if no word-list is found at default locations.
7903         (ispell-complete-word-dict): Default to nil.
7904         (ispell-command-loop): Use 'word-list' when using lookup-words.
7905         (lookup-words): Use ispell-complete-word-dict or
7906         ispell-alternate-dictionary.  Check for word-list availability
7907         and handle errors if needed with better messages (Bug#6539).
7908         (ispell-complete-word): Use ispell-complete-word-dict or
7909         ispell-alternate-dictionary.
7911 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
7913         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7914         builtins (BufferError, BytesWarning, WindowsError; callables
7915         bin, bytearray, bytes, format, memoryview, next, print; __package__).
7917 2010-07-07  Glenn Morris  <rgm@gnu.org>
7919         * play/zone.el (top-level): Do not require timer, tabify, or cl.
7920         (zone-shift-left): Ignore intangibility, and any errors from
7921         forward-char.
7922         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
7923         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7924         deleting, and copying text properties.
7925         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7926         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7927         to point-max is hard.
7928         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7929         (zone-fill-out-screen): Ignore intangibility.
7931 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
7933         * menu-bar.el (menu-bar-mode):
7934         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7935         if it has been set.
7937         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7938         word/line selection (Bug#6565).
7940 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
7942         * net/dbus.el (dbus-send-signal): Declare function.
7944 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
7946         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7947         (dbus-register-property): New optional argument EMITS-SIGNAL.
7948         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7950 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
7952         * mouse.el (mouse-drag-overlay): Variable deleted.
7953         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7954         (mouse--remap-link-click-p): New function.
7955         (mouse-drag-track): Handle dragging by using temporary Transient
7956         Mark mode, instead of a special overlay.
7957         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7958         mouse-show-mark.
7960         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7961         deleted.
7963 2010-07-02  Juri Linkov  <juri@jurta.org>
7965         * autoinsert.el (auto-insert-alist): Fix readability
7966         by using dotted pair notation for lambda.
7968 2010-07-02  Juri Linkov  <juri@jurta.org>
7970         * faces.el (read-face-name): Rename arg `string-describing-default'
7971         to `default'.  Doc fix.  Display the default value in quotes
7972         in the prompt.  With empty input, return the `default' arg,
7973         unless the default value is a string (in which case return nil).
7974         (describe-face): Replace the string `default' arg of `read-face-name'
7975         with the symbol `default'.
7977 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
7979         * emulation/viper-cmd.el (viper-delete-backward-char)
7980         (viper-del-backward-char-in-insert)
7981         (viper-del-backward-char-in-replace, viper-change)
7982         (viper-backward-indent): Replace delete-backward-char with
7983         delete-char (Bug#6552).
7985 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
7987         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7989 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7991         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7992         argument passed to frame-creation-function (Bug#5378).
7994         * faces.el (x-handle-named-frame-geometry)
7995         (x-handle-reverse-video, x-create-frame-with-faces)
7996         (face-set-after-frame-default, tty-create-frame-with-faces):
7997         Don't separately consult default-frame-alist.  It is now passed as the
7998         PARAMETER argument.
8000 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
8002         * startup.el (command-line): Don't call tool-bar-setup in a
8003         tty-only build.
8005 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8007         * ruler-mode.el (ruler--save-header-line-format): New fun.
8008         (ruler-mode): Use it as a setter function, so as not to overwrite
8009         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8011 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
8013         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
8014         (vc-root-diff, vc-print-root-log, vc-log-incoming)
8015         (vc-log-outgoing): Use it.
8016         (vc-diff-internal): Set diff-vc-backend.
8018         * vc/diff-mode.el (diff-vc-backend): New var.
8020 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
8022         * dynamic-setting.el (font-setting-change-default-font):
8023         Remove call to message.
8025 2010-06-28  Kenichi Handa  <handa@m17n.org>
8027         * international/quail.el (quail-insert-kbd-layout): Fix the
8028         showing of untranslated characters.
8030 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
8032         * simple.el (delete-active-region): New option.
8033         (delete-backward-char): Implement in Lisp.
8034         (delete-forward-char): New command.
8036         * mouse.el (mouse-region-delete-keys): Deleted.
8037         (mouse-show-mark): Simplify.
8039         * bindings.el (global-map): Bind delete and DEL, the former to
8040         delete-forward-char.
8042 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
8044         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8045         (ruby-mode): Bind indent-line-function (Bug#5119).
8047 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8049         * startup.el (command-line): Recognize "0" X resource value.
8051 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8053         * startup.el (command-line): Use X resources to set the value of
8054         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8056         * menu-bar.el (menu-bar-mode):
8057         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8058         Set init-value to t.
8060         * frame.el (frame-notice-user-settings): Don't change
8061         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8062         vice versa (Bug#2249).
8064 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
8066         * w32-fns.el (w32-convert-standard-filename): Doc fix.
8068 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
8070         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8071         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8073         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8074         default directories are expanded (Bug#6143).
8076 2010-06-24  Juri Linkov  <juri@jurta.org>
8078         * minibuffer.el (completions-format): Change default from nil to
8079         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
8081 2010-06-24  Juri Linkov  <juri@jurta.org>
8083         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8084         buffer-locally to lambda that re-runs the vc diff command.
8085         (Bug#6447)
8087 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
8089         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8090         echo area is in use (Bug#3412).
8092 2010-06-22  Glenn Morris  <rgm@gnu.org>
8094         * textmodes/texinfmt.el (texinfo-format-region)
8095         (texinfo-raise-lower-sections, texinfo-format-separate-node)
8096         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8097         (texinfo-format-option, texinfo-noindent):
8098         Use line-beginning-position and line-end-position.
8100         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8101         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8102         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8103         utf-8 characters.
8105 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
8107         * play/zone.el (zone-fall-through-ws): Fix next-line ->
8108         forward-line fallout.
8110 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
8112         * mouse.el (mouse-appearance-menu): Add docstring.
8114         * help.el (describe-key): Print up-event using key-description.
8116 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
8118         * net/zeroconf.el (zeroconf-resolve-service)
8119         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8120         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8122 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
8124         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8126 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
8128         Avoid displaying files with a nil state in vc-dir.
8129         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8130         cases that cause insertion.
8131         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8132         with a nil state.
8134 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8136         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8138 2010-06-29  Leo  <sdl.web@gmail.com>
8140         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
8142 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8144         * generic-x.el (bat-generic-mode): Fix regexp for command line
8145         switches (Bug#5719).
8147 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
8149         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8150         of nconc to avoid pure storage error (Bug#6239).
8152 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
8154         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8155         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8156         bindings of bookmark-automatically-show-annotations (Bug#6515).
8158 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
8160         * arc-mode.el (archive-zip-extract): Don't quote the file name on
8161         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
8163 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8165         * comint.el (make-comint, make-comint-in-buffer): Mention return
8166         value in the docstrings.  (Bug#6498)
8168 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
8170         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8171         since it is not present when using some non-default switches.
8173 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
8175         * simple.el (compose-mail): Fix doc string to refer to
8176         `compose-mail-user-agent-warnings', instead of to the
8177         nonexistent `compose-mail-check-user-agent'.
8179 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
8181         Fix an indentation bug:
8183         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8184         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8185         of existing values.
8187         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8188         (c-clear->-pair-props-if-match-before): now return t when they've
8189         cleared properties, nil otherwise.
8190         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8191         by taking account of the existing value.
8193         * progmodes/cc-defs.el
8194         (c-clear-char-property-with-value-function): Fix this to clear the
8195         property rather than overwriting it with nil.
8197 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
8199         * emacs-lisp/package.el (package-print-package): Add link to
8200         package description via describe-package.
8201         (describe-package-1): List package requirements.  Add button to
8202         perform installation.
8203         (package-menu-describe-package): New command.
8205         * help-mode.el (help-package): New button type.
8207 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
8209         * emacs-lisp/package.el: Move package-list-packages binding to
8210         menu-bar.el.
8211         (describe-package, describe-package-1, package--dir): New funs.
8212         (package-activate-1): Use package--dir.
8214         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8216         * help-mode.el (help-package-def): New button type.
8218         * menu-bar.el: Move package-list-packages binding here from
8219         package.el.
8221 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
8223         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
8225 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8227         * emacs-lisp/edebug.el (edebug-read-list):
8228         Phase out old-style backquotes.
8230 2010-06-17  Juri Linkov  <juri@jurta.org>
8232         * help-mode.el (help-mode): Set buffer-local variable
8233         revert-buffer-function to help-mode-revert-buffer.
8234         (help-mode-revert-buffer): New function.
8236         * info.el (Info-revert-find-node): Check for major-mode Info-mode
8237         before popping to "*info*" (like in other Info functions).
8238         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
8239         old-history-forward.  Pop to old-buffer-name or "*info*" to
8240         recreate the killed buffer.  Set Info-history-forward from
8241         old-history-forward.
8242         (Info-breadcrumbs-depth): Add :group and :version.
8244 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
8246         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8248 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
8250         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8251         for languages like Portuguese with pt_{BR,PT} and no plain pt.
8253 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
8255         * emacs-lisp/package.el (package-menu-mode-map):
8256         Move initialization into declaration.
8258         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8260 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
8262         * emacs-lisp/package.el (package-archive-base): Point to
8263         elpa.gnu.org.
8264         (package-enable, package-load-list): New defcustoms.
8265         (package-user-dir, package-directory-list): Turn into defcustoms.
8266         Don't include package-user-dir in package-directory-list.
8267         (package--builtins-base): Don't include Emacs as a "package".
8268         (package-subdirectory-regexp): New var.
8269         (package-load-all-descriptors, package-compute-transaction)
8270         (package-download-transaction): Obey package-load-list.
8271         (package-activate-1): Rename from package-do-activate.
8272         (package-list-packages-internal): Check package-load-list.
8273         (package-load-descriptor, package-generate-autoloads)
8274         (package-unpack, package-unpack-single)
8275         (package--read-archive-file, package-delete):
8276         Use expand-file-name.
8278         * emacs-lisp/package-x.el: New file.  Package uploading
8279         functionality split out from package.el.
8281         * startup.el (command-line): Load packages after reading init file.
8283 2010-06-17  Tom Tromey  <tromey@redhat.com>
8285         * emacs-lisp/package.el: New file.
8287 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8289         Fix vc-annotate for renamed files when using Git.
8290         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8291         ls-files.  Doe not pass the object as a file name to cat-file, it
8292         is not a file name.
8293         (vc-git-annotate-command): Pass the file name using -- to avoid
8294         ambiguity with the revision.
8295         (vc-git-previous-revision): Pass a relative file name.
8297 2010-06-22  Glenn Morris  <rgm@gnu.org>
8299         * progmodes/js.el (js-mode-map): Use standard capitalization and
8300         ellipses for menu entries.
8302         * wid-edit.el (widget-complete): Doc fix.
8304 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
8306         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8308 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8310         Fix annotating other revisions for renamed files in vc-annotate.
8311         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8312         VC backend.  Use it when non-nil.
8313         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8314         (Bug#6487).
8316         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8317         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8318         Do not pass the file name to the 'previous-revision call when we
8319         don't want a file diff.  (Bug#6489)
8321 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8323         Fix finding revisions for renamed files in vc-annotate.
8324         * vc/vc.el (vc-find-revision): Add an optional argument for
8325         the VC backend.  Use it when non-nil.
8326         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8327         backend to vc-find-revision.  (Bug#6487)
8329 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8331         Fix reading file names in Git annotate buffers.
8332         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8333         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
8335 2010-06-20  Alan Mackenzie  <acm@muc.de>
8337         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8338         in file local variables, set it first.
8340 2010-06-19  Glenn Morris  <rgm@gnu.org>
8342         * descr-text.el (describe-char-unicode-data): Insert separating
8343         space when needed.  (Bug#6422)
8345         * progmodes/idlwave.el (idlwave-action-and-binding):
8346         Fix typo in 2009-12-03 change.  (Bug#6450)
8348 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8350         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8351         handling for `lambda' (misunderstanding).
8353 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
8355         * calc/calc-poly.el (math-accum-factors): Make sure that
8356         constants aren't distributed after they are factored out.
8358 2010-06-16  Juri Linkov  <juri@jurta.org>
8360         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8361         `list-colors-print'.  (Bug#6332)
8363         * subr.el (read-quoted-char): Fix up last change (bug#6290).
8365 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8367         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8368         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
8370         * font-lock.el (font-lock-major-mode): Rename from
8371         font-lock-mode-major-mode to distinguish it from
8372         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8373         (font-lock-set-defaults):
8374         * font-core.el (font-lock-default-function): Adjust users.
8375         (font-lock-mode): Don't set it at all.
8377 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8379         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8381 2010-06-16  Glenn Morris  <rgm@gnu.org>
8383         * calendar/appt.el (appt-time-msg-list): Doc fix.
8384         (appt-check): Let-bind appt-warn-time.
8385         (appt-add): Make the 3rd argument optional.
8386         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
8387         Only add WARNTIME to the output list if non-nil.
8389 2010-06-16  Ivan Kanis  <apple@kanis.eu>
8391         * calendar/appt.el (appt-check): Let the 3rd element of
8392         appt-time-msg-list specify the warning time.
8393         (appt-add): Add new argument with the warning time.  (Bug#5176)
8395 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8397         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8398         older than version 1.6.  (Bug#6361)
8400 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
8402         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8403         used by cl-do-arglist.  (Bug#6408)
8405 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
8407         * textmodes/ispell.el (ispell-dictionary-base-alist):
8408         Fix portuguese casechars/not-casechars for missing 'çÇ'.
8409         Suggested by Rolando Pereira (bug#6434).
8411 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
8413         * facemenu.el (list-colors-sort): Doc fix.
8415 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8417         * progmodes/sql.el (sql-connect-mysql): Fix typo.
8419 2010-06-14  Juri Linkov  <juri@jurta.org>
8421         Add sort option `list-colors-sort'.  (Bug#6332)
8422         * facemenu.el (color-rgb-to-hsv): New function.
8423         (list-colors-sort): New defcustom.
8424         (list-colors-sort-key): New function.
8425         (list-colors-display): Doc fix.  Sort list according to the option
8426         `list-colors-sort'.
8427         (list-colors-print): Add HSV values to `help-echo' property of
8428         RGB strings.
8430 2010-06-14  Juri Linkov  <juri@jurta.org>
8432         * compare-w.el: Move to the "vc" subdirectory.
8434 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8436         * image-mode.el (image-mode-map): Remap left-char and right-char.
8438         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8440 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
8442         * term/common-win.el (x-colors): Add all the color names defined
8443         in rgb.txt (Bug#6332).
8445         * facemenu.el (list-colors-print): Don't print extra names if it
8446         will overflow the window width.
8448         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8449         change (Bug#6343).
8451 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
8453         * files.el (make-directory): Doc fix (bug#6396).
8455 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
8457         * net/tramp.el (tramp-remote-process-environment): Protect version
8458         string by apostroph.
8459         (tramp-shell-prompt-pattern): Do not use a shy group in case of
8460         XEmacs.
8461         (tramp-file-name-for-operation): Add `call-process-region'.
8462         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8464         * net/tramp-compat.el (top): Do not autoload
8465         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
8466         only when `start-file-process' is not bound.
8467         (tramp-advice-file-expand-wildcards): Do not use
8468         `tramp-handle-file-remote-p'.
8469         (tramp-compat-make-temp-file): Handle the case, that
8470         `make-temp-file' has no third argument EXTENSION.
8472 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
8474         * makefile.w32-in (WINS_BASIC): Include new directory vc.
8476         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8478 2010-06-11  Juri Linkov  <juri@jurta.org>
8480         * finder.el (finder-known-keywords): Add keyword "vc"
8481         for version control.
8483         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8484         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8485         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8486         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8488 2010-06-11  Juri Linkov  <juri@jurta.org>
8490         Move version control related files to the "vc" subdirectory.
8491         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8492         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8493         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8494         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8495         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8496         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8497         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8498         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8499         Move files to the "vc" subdirectory.
8501 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
8503         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8504         (Bug#6367).
8506 2010-06-11  Stephen Eglen  <stephen@gnu.org>
8508         * shell.el: Bind `shell-resync-dirs' to M-RET.
8510 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
8512         * notifications.el: Move file from lisp/net, because it is
8513         supposed to talk locally to the user.
8515 2010-06-10  Julien Danjou  <julien@danjou.info>
8517         * net/notifications.el (notifications-on-action-signal)
8518         (notifications-on-closed-signal): Pass notification id as first
8519         argument to the callback functions.  Add docstrings.
8520         (notifications-notify): Fix docstring.
8522 2010-06-10  Glenn Morris  <rgm@gnu.org>
8524         * emacs-lisp/authors.el (authors-ignored-files)
8525         (authors-valid-file-names): Add some files.
8527 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8529         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8530         merge conflict, giving preference to the emacs-23 version of the code.
8532 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8534         * emacs-lisp/advice.el (ad-compile-function):
8535         Define warning-suppress-types before we let-bind it (bug#6275).
8537         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8538         declare it, make it buffer-local and permanent-local (bug#6324).
8539         (vc-resynch-window): Adjust name.
8540         * vc-hooks.el (vc-find-file-hook): Adjust name.
8542 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
8544         * net/notifications.el (notifications-notify): Fix docstring.
8546 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8548         Update to Unicode 6.0.0 beta.
8549         * international/charprop.el: Update copyright.
8550         * international/mule-cmds.el (ucs-names): Update character ranges.
8551         * international/uni-bidi.el:
8552         * international/uni-category.el:
8553         * international/uni-combining.el:
8554         * international/uni-comment.el:
8555         * international/uni-decimal.el:
8556         * international/uni-decomposition.el:
8557         * international/uni-digit.el:
8558         * international/uni-lowercase.el:
8559         * international/uni-mirrored.el:
8560         * international/uni-name.el:
8561         * international/uni-numeric.el:
8562         * international/uni-old-name.el:
8563         * international/uni-titlecase.el:
8564         * international/uni-uppercase.el: Regenerate.
8566 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8568         * emacs-lisp/smie.el (comment-string-strip): Declare function.
8569         (smie-precs-precedence-table): Fix typo in docstring.
8571         * vc-mtn.el (log-edit-extract-headers): Declare function.
8573         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8575         * net/notifications.el (dbus-register-signal): Declare function.
8576         (notifications-notify): Fix typos and reflow docstring.
8578 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8580         Improve VC create/retrieve tag/branch.
8581         * vc.el (vc-create-tag): Do not read the directory name for VCs
8582         with repository revision granularity.  Adjust the tag/branch
8583         prompt.  Reset VC properties.
8584         (vc-retrieve-tag): Do not read the directory name for VCs
8585         with repository revision granularity.  Reset VC properties.
8587 2010-06-09  Julien Danjou  <julien@danjou.info>
8589         * net/notifications.el: New file.
8591 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8593         Add optional support for resetting VC properties.
8594         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8595         call vc-file-clearprops when true.
8596         (vc-resynch-buffer): Add new optional argument, pass it down.
8597         (vc-resynch-buffers-in-directory): Likewise.
8599         Improve support for special markup in the VC commit message.
8600         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8601         * vc-hg.el (vc-hg-checkin): Add support for Date:.
8602         * vc-git.el (vc-git-checkin):
8603         * vc-bzr.el (vc-bzr-checkin): Likewise.
8605 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8607         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8608         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8610 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
8612         * iimage.el: Remove images as soon as the underlying text is modified.
8613         (iimage-modification-hook): New function.
8614         (iimage-mode-buffer): Use it.
8616 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8618         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8619         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
8620         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
8621         (smie-indent-keyword): Add handling of open-paren keywords.
8622         (smie-indent-comment-continue): Don't assume comment-continue.
8624 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
8626         * window.el (pop-to-buffer): Remove the conditional that
8627         compares new-window and old-window, so it will reselect
8628         the selected window unconditionally.
8629         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8631 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8633         * emacs-lisp/smie.el (smie-indent-offset-after)
8634         (smie-indent-forward-token, smie-indent-backward-token): New functions.
8635         (smie-indent-after-keyword): Use them.
8636         (smie-indent-fixindent): Only applies to the indentation of the BOL.
8637         (smie-indent-keyword): Tweak the black magic.
8638         (smie-indent-comment-continue): Strip comment-continue before use.
8639         (smie-indent-functions): Indent comments before keywords.
8641 2010-06-06  Juri Linkov  <juri@jurta.org>
8643         * isearch.el (isearch-lazy-highlight-search): Fix looping
8644         by checking for empty match.  This syncs this loop with the
8645         similar loop in `isearch-search'.  (Bug#6362)
8647 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
8649         * net/dbus.el (dbus-register-method): Declare function.
8650         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8651         (dbus-introspect): Doc fix.
8652         (dbus-event-bus-name, dbus-introspect-get-interface)
8653         (dbus-introspect-get-argument): Reflow docstrings.
8655 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
8657         vc-log-incoming/vc-log-outgoing fixes for Git.
8658         * vc-git.el (vc-git-log-view-mode): Fix font lock for
8659         incoming/outgoing logs.
8660         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8661         instead of vc-git-compute-remote.
8662         (vc-git-compute-remote): Remove.
8664 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
8666         * term/common-win.el (x-colors): Add "dark green" and "dark
8667         turquoise" (Bug#6332).
8669 2010-06-04  Juri Linkov  <juri@jurta.org>
8671         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8672         Instead of setting `replace' to t and replacing the same string
8673         with itself, don't do certain actions when
8674         kill-do-not-save-duplicates is non-nil and string is equal to car
8675         of kill-ring: don't call menu-bar-update-yank-menu, don't push
8676         interprogram-paste strings to kill-ring, and don't push the input
8677         argument `string' to kill-ring.
8678         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8680 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8682         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8684 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
8686         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8687         (tramp-gvfs-handler-mounted-unmounted)
8688         (tramp-gvfs-connection-mounted-p): Handle default-location.
8690         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8691         move files to trash.
8693 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8695         * international/mule-cmds.el (nonascii-insert-offset)
8696         (nonascii-translation-table): Add obsolescence information.
8698         * international/mule.el (make-translation-table-from-vector): Doc fix.
8700 2010-06-03  Glenn Morris  <rgm@gnu.org>
8702         * desktop.el (desktop-clear-preserve-buffers):
8703         Add "*Warnings*" buffer.  (Bug#6336)
8705 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
8707         vc-log-incoming/vc-log-outgoing improvements for Git.
8708         * vc-git.el (vc-git-log-outgoing): Use the same format as the
8709         short log.
8710         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
8712         Add bindings for vc-log-incoming and vc-log-outgoing.
8713         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8714         and vc-log-outgoing.
8715         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8716         and vc-log-outgoing.
8718 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8720         * net/rcirc.el (rcirc-sort-nicknames): Remove.
8721         (rcirc-handler-366): Always sort nicknames.
8723 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
8725         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8727 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8729         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8731 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8733         * net/rcirc.el (rcirc-sort-nicknames): Change default.
8734         (rcirc-sort-nicknames-join): Avoid setq.
8736 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8738         * net/rcirc.el (rcirc-sort-nicknames): New custom.
8739         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8740         (rcirc-handler-366): Use them.
8742 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8744         Split smie-indent-calculate into more manageable chunks.
8745         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8746         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8747         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8748         (smie-indent-exps): Extract from smie-indent-calculate.
8749         (smie-indent-functions): New var.
8750         (smie-indent-functions): Use them.
8752 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8754         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8755         (smie-indent-calculate): Simplify and cleanup.
8757 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
8759         * net/tramp-gvfs.el (top): Require url-util.
8760         (tramp-gvfs-mount-point): Remove.
8761         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8762         New defuns.
8763         (with-tramp-dbus-call-method): Format trace message.
8764         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8765         Implement backup call, when operation on local files fails.
8766         Use progress reporter.  Flush properties of changed files.
8767         (tramp-gvfs-handle-make-directory): Make more traces.
8768         (tramp-gvfs-url-file-name): Hexify file name in url.
8769         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8770         into account for the resulting file name.
8771         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8772         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
8773         (tramp-gvfs-handler-mounted-unmounted)
8774         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8775         attribute "default_location".  Set "prefix" property.
8776         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8777         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8778         exists.  Raise an error, if not (due to a corresponding answer
8779         "no" in interactive questions, for example).
8781 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
8783         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8785 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
8787         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8788         right-*.  (Bug#6265)
8790 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
8792         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8793         * vc-git.el (vc-git-compute-remote): New function.
8794         (vc-git-log-outgoing): Use it instead of hard coding a value.
8795         (vc-git-log-incoming): New function.
8797         Improve state updating for VC tag commands.
8798         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8799         to update the state of all buffers in the directory.
8801         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8803 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8805         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8806         `file-directory-p' to the filename part rather than to the whole text.
8808 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8810         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8812 2010-05-31  Drew Adams  <drew.adams@oracle.com>
8814         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8816 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
8818         * subr.el (momentary-string-display): Just use read-event to read
8819         the exit event (Bug#6238).
8821 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
8823         * international/mule.el (define-coding-system): Doc fix (bug#6313).
8825 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8827         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8828         Suggested by Eli Zaretskii <eliz@gnu.org>.
8830 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8832         * minibuffer.el (completion-file-name-table): Don't return a boundary
8833         past the end of `string' (bug#6299).
8834         (completion--file-name-table): Delegate to completion-file-name-table
8835         for the `boundaries' case.
8837 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8839         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8840         movement commands.
8842         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8843         `path-separator', but maintain compatibility with Emacs 20.2.
8845 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8847         * server.el (server-process-filter): Receive parent-id argument
8848         from emacsclient.
8849         (server-create-window-system-frame): New arg.  Pass parent-id as
8850         frame parameter.
8852 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
8854         Bidi-sensitive word movement with arrow keys.
8855         * subr.el (right-arrow-command, left-arrow-command): Move to
8856         bindings.el.
8858         * bindings.el (right-char, left-char): Move from subr.el and
8859         rename from right-arrow-command and left-arrow-command.
8860         (right-word, left-word): New functions.
8861         (global-map) <right>: Bind to right-char.
8862         (global-map) <left>: Bind to left-char.
8863         (global-map) <C-right>: Bind to right-word.
8864         (global-map) <C-left>: Bind to left-word.
8866         * ls-lisp.el (ls-lisp-classify-file): New function.
8867         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8868         (ls-lisp-classify): Call ls-lisp-classify-file.
8869         (insert-directory): Remove blanks from switches.
8871 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8873         * ansi-color.el: Delete unused escape sequences (Bug#6085).
8874         (ansi-color-drop-regexp): New constant.
8875         (ansi-color-apply, ansi-color-filter-region)
8876         (ansi-color-apply-on-region): Delete unrecognized control sequences.
8877         (ansi-color-apply): Build string list before calling concat.
8879 2010-05-28  Juri Linkov  <juri@jurta.org>
8881         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8882         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8883         (Bug#5270)
8885 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8887         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8888         to ignored backtrace functions.
8889         (with-progress-reporter): Expand docstring.
8890         (tramp-handle-delete-file): Implement TRASH argument.
8891         (tramp-get-remote-trash): New defun.
8893 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8895         * net/tramp-compat.el (tramp-compat-delete-file):
8896         Use `symbol-value' for backward compatibility.
8898         * net/tramp.el (tramp-handle-make-symbolic-link)
8899         (tramp-handle-load)
8900         (tramp-do-copy-or-rename-file-via-buffer)
8901         (tramp-do-copy-or-rename-file-directly)
8902         (tramp-do-copy-or-rename-file-out-of-band)
8903         (tramp-handle-process-file, tramp-handle-call-process-region)
8904         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8905         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8906         (tramp-delete-temp-file-function): Use `delete-file' instead
8907         of `tramp-compat-delete-file'.
8909         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8910         (tramp-fish-handle-make-symbolic-link)
8911         (tramp-fish-handle-process-file): Use `delete-file' instead
8912         of `tramp-compat-delete-file'.
8914         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8915         Use `delete-file' instead of `tramp-compat-delete-file'.
8917         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8918         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8919         `tramp-compat-delete-file'.
8921         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8922         Use `delete-file' instead of `tramp-compat-delete-file'.
8924         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8925         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8926         (tramp-smb-handle-write-region): Use `delete-file' instead of
8927         `tramp-compat-delete-file'.
8928         (tramp-smb-handle-delete-directory): Use 'trash as arg.
8930 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8932         * dired.el (dired-delete-file): New arg TRASH.
8933         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
8934         (dired-do-flagged-delete, dired-do-delete): Use trash.
8936         * speedbar.el (speedbar-item-delete): Allow trashing.
8938         * files.el (delete-directory): New arg TRASH.
8940         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8941         (ange-ftp-rename-remote-to-remote)
8942         (ange-ftp-rename-local-to-remote)
8943         (ange-ftp-rename-remote-to-local, ange-ftp-load)
8944         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8945         `delete-file'.
8946         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8947         allow trashing.
8949         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8950         handle new TRASH arg of `delete-file'.
8952         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8953         (tramp-handle-make-symbolic-link, tramp-handle-load)
8954         (tramp-do-copy-or-rename-file-via-buffer)
8955         (tramp-do-copy-or-rename-file-directly)
8956         (tramp-do-copy-or-rename-file-out-of-band)
8957         (tramp-handle-process-file, tramp-handle-call-process-region)
8958         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8959         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8960         (tramp-delete-temp-file-function): Use null TRASH arg in
8961         tramp-compat-delete-file call.
8963         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8964         (tramp-fish-handle-delete-file)
8965         (tramp-fish-handle-make-symbolic-link)
8966         (tramp-fish-handle-process-file): Use null TRASH arg in
8967         `tramp-compat-delete-file' call.
8969         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8970         arg in `tramp-compat-delete-file' call.
8972         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8973         (tramp-gvfs-handle-write-region): Use null TRASH arg in
8974         `tramp-compat-delete-file' call.
8976         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8977         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8978         `tramp-compat-delete-file' call.
8980         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8981         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8982         (tramp-smb-handle-write-region): Use null TRASH arg in
8983         tramp-compat-delete-file call.
8984         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8985         (tramp-smb-handle-delete-file): Rename arg.
8987         * diff.el (diff-sentinel):
8988         * epg.el (epg--make-temp-file, epg-decrypt-string)
8989         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8990         * jka-compr.el (jka-compr-partial-uncompress)
8991         (jka-compr-call-process, jka-compr-write-region):
8992         * server.el (server-sentinel): Remove optional arg from
8993         delete-file, reverting 2010-05-03 change.
8995 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8997         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8998         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9000 2010-05-27  Kenichi Handa  <handa@m17n.org>
9002         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9003         element of GSTRING is nil.
9005 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9007         * emacs-lisp/smie.el (smie-forward-token-function)
9008         (smie-backward-token-function): New vars.
9009         (smie-backward-sexp, smie-forward-sexp)
9010         (smie-indent-hanging-p, smie-indent-calculate): Use them.
9011         (smie-default-backward-token): Rename from smie-backward-token and
9012         skip comments.
9013         (smie-default-forward-token): Rename from smie-forward-token and
9014         skip comments.
9015         (smie-next-sexp): Handle nil results from next-token.
9016         (smie-indent-calculate): Add a new case for special `fixindent' comments.
9018 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9020         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9021         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9023 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
9025         * htmlfontify.el (hfy-face-resolve-face): New function.
9026         (hfy-face-to-style): Use it (Bug#6279).
9028 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9030         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9031         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9033 2010-05-26  Glenn Morris  <rgm@gnu.org>
9035         * emulation/edt.el (edt-load-keys): Use locate-library.
9037 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
9039         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9040         (log-edit-changelog-entries): Doc fix.
9041         (log-edit-changelog-insert-entries): Args changed.
9042         Rename relative filenames in ChangeLog entries.  Delete tabs.
9043         (log-edit-insert-changelog-entries): Reorganize return value of
9044         `log-edit-changelog-entries' to pass filenames to
9045         log-edit-changelog-insert-entries.
9047 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9049         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9050         `image-dired-dired-insert-marked-thumbs' to
9051         `image-dired-dired-toggle-marked-thumbs'.
9053         * image-dired.el: Require cl when compiling.
9054         (image-dired-dired-toggle-marked-thumbs): Rename from
9055         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
9056         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
9057         to 'no-dir.  Skip files whose names don't match
9058         `image-file-name-regexp'.  When file has a thumbnail overlay,
9059         delete it.  (Bug#5270)
9061 2010-05-25  Juri Linkov  <juri@jurta.org>
9063         * image-mode.el (image-mode): Add image-after-revert-hook to
9064         after-revert-hook.
9065         (image-after-revert-hook): New function.  (Bug#5669)
9067 2010-05-25  Juri Linkov  <juri@jurta.org>
9069         * image.el (image-animated-p): When delay between animated images
9070         is 0, set it to 10 (0.1 sec).  (Bug#6258)
9072 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
9074         * net/tramp.el (tramp-handle-insert-directory): Don't use
9075         `forward-word', its default syntax could be changed.
9077 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
9079         * net/tramp.el (tramp-progress-reporter-update): New defun.
9080         (with-progress-reporter): Use it.
9081         (tramp-process-actions):
9082         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9083         Preserve current message, in order to let progress reporter continue
9084         afterwards.  (Bug#6257)
9086 2010-05-25  Glenn Morris  <rgm@gnu.org>
9088         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9089         Add :version.
9091 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9093         * net/rcirc.el (rcirc-default-user-name): Change to "user".
9094         (rcirc-default-full-name): Change to "unknown".
9095         (rcirc-user-name-history): Add variable.
9097 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9098             Jonathan Rockway  <jon@jrock.us>
9100         * net/rcirc.el (rcirc-server-alist): Add :pass.
9101         (rcirc): When prompting for connection parameters, also prompt for
9102         username and password.
9103         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
9104         value to server when connecting.
9106 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9108         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9109         (smie-merge-prec2s): Pass the tables as separate args.
9110         (smie-bnf-precedence-table): Adjust call accordingly.
9111         (smie-prec2-levels): Set levels at the end.
9113         Replace Lisp calls to delete-backward-char by delete-char.
9114         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9115         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9116         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9117         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9118         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9119         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9120         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9121         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9122         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9123         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9124         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9125         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9126         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9127         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9128         delete-backward-char by calls to delete-char.
9130 2010-05-25  Kenichi Handa  <handa@m17n.org>
9132         * language/hebrew.el (hebrew-shape-gstring): New function.
9133         Register it in composition-function-table for all Hebrew combining
9134         characters.
9136 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9138         * epa.el (epa--select-keys): Don't explicitly delete the window since
9139         that can fail (e.g. sole window in frame).  Use dedication instead.
9141 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9143         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9145 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
9147         * image.el (image-refresh): Define as an alias for image-flush.
9149         * image-mode.el (image-toggle-display-image): Caller changed.
9151 2010-05-21  Juri Linkov  <juri@jurta.org>
9153         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9154         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
9155         whitespace, call wildcard-to-regexp on substrings and concat them
9156         with "\\|".  (Bug#6114)
9158 2010-05-21  Alan Mackenzie  <acm@muc.de>
9160         * progmodes/cc-engine.el (c-parse-state-get-strategy):
9161         Replace parameter `here' with `here-' and `here-plus', which sandwich
9162         any pertinent CPP construct.
9163         (c-remove-stale-state-cache-backwards): Fix a bug which happens
9164         when doing (c-parse-state) in a CPP construct: Exclude any "new"
9165         CPP construct from taking part in the scanning.
9167 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
9169         * net/tramp.el (tramp-do-copy-or-rename-file)
9170         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9171         Tune `with-progress-reporter' messages.
9172         (tramp-handle-vc-registered):
9173         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9174         (tramp-fish-handle-insert-file-contents)
9175         (tramp-fish-maybe-open-connection):
9176         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9177         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9178         (tramp-imap-handle-insert-file-contents)
9179         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9181 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
9183         * add-log.el (change-log-font-lock-keywords):
9184         Highlight all authors in multi-author entries.
9186         * smerge-mode.el (smerge-refine-ignore-whitespace)
9187         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9188         Fix typos in docstrings.
9189         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9191 2010-05-21  Glenn Morris  <rgm@gnu.org>
9193         * progmodes/fortran.el (fortran-mode):
9194         * progmodes/f90.el (f90-mode): Derive from prog-mode.
9196         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9197         having a relative path in src/Makefile.in.
9199 2010-05-20  Kevin Ryde  <user42@zip.com.au>
9201         * help-mode.el (help-make-xrefs): For Info node links turn
9202         newlines into spaces.  Link node names with newlines are matched
9203         by help-xref-info-regexp and buttonized, this change ensures they
9204         can be followed successfully with RET.  (Bug#6206)
9206 2010-05-20  Juri Linkov  <juri@jurta.org>
9208         * locate.el (locate): Use pop-to-buffer instead of
9209         switch-to-buffer-other-window.  (Bug#6204)
9211 2010-05-20  Juri Linkov  <juri@jurta.org>
9213         * replace.el (replace-highlight): Fix lazy-highlighting
9214         for `M-s w str M-% str RET'.
9216 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
9218         * isearch.el (isearch-yank-word-or-char): Pull next subword
9219         when `subword-mode' is activated.  (Bug#6220)
9221 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
9223         * isearch.el (isearch-update-post-hook): New hook.
9224         (isearch-update): Use the new hook.  (Bug#6225)
9226 2010-05-20  Juri Linkov  <juri@jurta.org>
9228         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9229         [f1], [help], and (char-to-string help-char) instead of "\C-h".
9230         (Bug#6222)
9232 2010-05-20  Juri Linkov  <juri@jurta.org>
9234         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9235         (Bug#6223)
9237 2010-05-20  Juri Linkov  <juri@jurta.org>
9239         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9240         FILE-NAME to read from the minibuffer when called interactively
9241         with prefix argument instead of using buffer-file-name.
9242         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9244         * dired.el: Update autoloads.
9246 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
9248         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9249         nxml-finish-element, for consistency with SGML mode.
9251         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9252         octave-close-block.
9254 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
9256         * composite.el: Require cl when compiling.
9257         (reference-point-alist, compose-gstring-for-graphic)
9258         (compose-gstring-for-terminal): Fix typos in docstrings.
9260 2010-05-19  Juri Linkov  <juri@jurta.org>
9262         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9263         set-window-parameter.
9265 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9267         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9268         where appropriate.
9269         (tramp-maybe-open-connection): Use it.
9271 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
9273         * simple.el (move-end-of-line): Make sure we are at line beginning
9274         before backing up to end of previous line.
9276 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9278         * password-cache.el (password-cache-remove): Fix docstring.
9280         * net/secrets.el: Autoload the widget functions.
9281         (secrets-search-items, secrets-create-item)
9282         (secrets-get-attributes, secrets-expand-item): Attributes will be
9283         stored on the password database without leading ":", as all other
9284         clients do as well.
9285         (secrets-mode): Fix docstring.
9286         (secrets-show-secrets): Provide it as autoloaded command only when
9287         D-Bus support is available.  Check existence of Secret Service API.
9289 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9291         * indent.el (indent-region): Deactivate region (bug#6200).
9293 2010-05-19  Glenn Morris  <rgm@gnu.org>
9295         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
9297 2010-05-19  Kenichi Handa  <handa@m17n.org>
9299         * composite.el: Register compose-gstring-for-graphic in
9300         composition-function-table only for combining characters (Mn, Mc, Me).
9302 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
9304         * calc/calc-trail.el (calc-trail-isearch-forward)
9305         (calc-trail-isearch-backward): Ensure that the new window
9306         point is set correctly.
9308 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9310         * subr.el (read-quoted-char): Resolve modifiers after key
9311         remapping (bug#6212).
9313 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
9315         Add visualization code for secrets.
9316         * net/secrets.el (secrets-mode): New major mode.
9317         (secrets-show-secrets, secrets-show-collections)
9318         (secrets-expand-collection, secrets-expand-item)
9319         (secrets-tree-widget-after-toggle-function)
9320         (secrets-tree-widget-show-password): New defuns.
9322 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9324         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9325         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9326         handled in smie-next-sexp.
9327         (smie-indent-calculate): Provide a starting indentation (so the
9328         recursion is well-founded ;-).
9330         Fix handling of non-associative equal levels.
9331         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9332         when it's not needed.
9333         (smie-op-left, smie-op-right): New functions.
9334         (smie-next-sexp): New function, extracted from smie-backward-sexp.
9335         Better handle equal levels to distinguish the associative case from
9336         the "multi-keyword construct" case.
9337         (smie-backward-sexp, smie-forward-sexp): Use it.
9339 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
9341         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9343         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9344         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9346 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9348         Provide a simple generic indentation engine and use it for Prolog.
9349         * emacs-lisp/smie.el: New file.
9350         * progmodes/prolog.el (prolog-smie-op-levels)
9351         (prolog-smie-indent-rules): New var.
9352         (prolog-mode-variables): Use them to configure SMIE.
9353         (prolog-indent-line, prolog-indent-level): Remove.
9355 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9357         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9358         order before computing the averages.
9360 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
9362         * calc/calc-vec.el (calc-histogram):
9363         (calcFunc-histogram): Allow vectors as inputs.
9364         (math-vector-avg): New function.
9366         * calc/calc-ext.el (math-group-float): Have the number of digits
9367         being grouped depend on the radix (Bug#6189).
9369 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
9371         * version.el (emacs-copyright, emacs-version): Don't define here,
9372         now that emacs.c defines it.
9374 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
9376         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9377         "Describe Language Environment" menu item.
9379         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9381         Bidi-sensitive movement with arrow keys.
9382         * subr.el (right-arrow-command, left-arrow-command): New functions.
9384         * bindings.el (global-map): Bind them to right and left arrow keys.
9386         Don't override standard definition of convert-standard-filename.
9387         * files.el (convert-standard-filename):
9388         Call w32-convert-standard-filename and dos-convert-standard-filename on
9389         the corresponding systems.
9391         * w32-fns.el (w32-convert-standard-filename): Rename from
9392         convert-standard-filename.  Doc fix.
9394         * dos-fns.el (dos-convert-standard-filename): Doc fix.
9395         (convert-standard-filename): Don't defalias.
9396         (register-name-alist, make-register, register-value)
9397         (set-register-value, intdos): Obsolete aliases for the
9398         corresponding dos-* functions and variables.
9399         (dos-intdos): Add a doc string.
9401 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
9403         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9404         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9405         (math-compose-tex-func):
9406         * calc/calccomp.el (math-compose-expr):
9407         * calc/calc-ext.el (math-format-flat-expr-fancy):
9408         * calc/calc-store.el (calc-read-var-name):
9409         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9411         * calc/calc.el (var-π, var-φ, var-γ): New variables.
9412         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9413         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9414         (math-standard-units): Add units.
9416 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9418         * progmodes/asm-mode.el (asm-mode):
9419         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9421         * pcomplete.el (pcomplete-completions-at-point): New function,
9422         extracted from pcomplete-std-complete.
9423         (pcomplete-std-complete): Use it.
9425 2010-05-15  Glenn Morris  <rgm@gnu.org>
9427         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9428         Remove references to CVS, RCS and Old directories.
9430 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
9432         * calc/calc-bin.el (math-format-twos-complement): Group digits when
9433         appropriate.
9435 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9437         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9438         (sh-mode-syntax-table): Give it a default value instead.
9439         (sh-header-marker): Make buffer-local.
9440         (sh-mode): Move make-local-variable to the corresponding setq.
9441         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9442         Use complete-with-action.
9444         * simple.el (prog-mode): New (abstract) major mode.
9445         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9446         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9448 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
9450         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9451         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9452         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9453         (sql-make-alternate-buffer-name, sql-placeholders-filter)
9454         (sql-escape-newlines-filter, sql-input-sender)
9455         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9457 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
9459         Add TeX open-block and close-block keybindings to SGML, and vice versa.
9461         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9462         latex-open-block and C-c / to latex-close-block.
9464         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9465         and C-c C-e to sgml-close-tag.
9467 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
9469         * net/tramp.el (with-progress-reporter): Create reporter object
9470         only when the message would be displayed.  Handle nested calls.
9471         (tramp-handle-load, tramp-handle-file-local-copy)
9472         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9473         (tramp-maybe-send-script, tramp-find-shell):
9474         Use `with-progress-reporter'.
9475         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9476         Fix message text.
9478         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9479         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9480         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9481         Use `with-progress-reporter'.
9483 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
9485         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9486         process everytime when spellchecking from the minibuffer (bug#6143).
9488 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9490         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9492         * dos-fns.el: Add "dos-" prefix for namespace control.
9493         (convert-standard-filename): Define as alias for
9494         dos-convert-standard-filename but only if applicable.
9496 2010-05-12  Alan Mackenzie  <acm@muc.de>
9498         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9499         Push the mark at the start of these functions when appropriate.
9501 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9503         * minibuffer.el (completion-cycle-threshold): New custom var.
9504         (completion--do-completion): Use it.
9505         (minibuffer-complete): Use cycling if appropriate.
9507 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
9509         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9510         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9512 2010-05-11  Juri Linkov  <juri@jurta.org>
9514         * scroll-all.el (scroll-all-check-to-scroll):
9515         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9517 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9519         * iimage.el (iimage-mode-map): Move initialization into declaration.
9520         (iimage-mode-buffer): Use with-silent-modifications.
9521         Simplify calling convention.  Adjust callers.
9522         (iimage-mode): Don't run hook redundantly.
9524         * minibuffer.el (completion-pcm--pattern->regex):
9525         Fix last change (bug#6160).
9527 2010-05-10  Juri Linkov  <juri@jurta.org>
9529         Remove nodes visited during Isearch from the Info history.
9530         * info.el (Info-isearch-initial-history)
9531         (Info-isearch-initial-history-list): New variables.
9532         (Info-isearch-start): Record initial values of
9533         Info-isearch-initial-history and Info-isearch-initial-history-list.
9534         Add Info-isearch-end to isearch-mode-end-hook.
9535         (Info-isearch-end): New function.
9537 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
9539         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9540         format string, in order to work around a bug in pdksh.
9541         Reported by Gilles Pion <gpion@lfdj.com>.
9542         (tramp-handle-verify-visited-file-modtime): Do not send a command
9543         when the connection is not established.
9544         (tramp-handle-set-file-times): Simplify the check for utc.
9546 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
9548         Fix use of `filter-buffer-substring' (rework previous change).
9549         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9550         (cua-repeat-replace-region):
9551         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9552         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9553         (cua-cut-region-to-global-mark): Use it.
9555 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
9557         * progmodes/sql.el: Version 2.1.
9558         (sql-product-alist): Redesign structure of product info.
9559         (sql-product, sql-user, sql-server, sql-database): Safe variables.
9560         (sql-port, sql-port-history): New variables.
9561         (sql-interactive-product): New variable.
9562         (sql-send-terminator): New variable.
9563         (sql-imenu-generic-expression): Add "Types" imenu entry.
9564         (sql-oracle-login-params, sql-sqlite-login-params)
9565         (sql-mysql-login-params, sql-solid-login-params)
9566         (sql-sybase-login-params, sql-informix-login-params)
9567         (sql-ingres-login-params, sql-ms-login-params)
9568         (sql-postgres-login-params, sql-interbase-login-params)
9569         (sql-db2-login-params, sql-linter-login-params)
9570         (sql-oracle-scan-on): New variables.
9571         (sql-mode-map): Add C-c C-i to start interactive mode.
9572         (sql-mode-menu): Update existing menu entries.
9573         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9574         (sql-mode-oracle-font-lock-keywords)
9575         (sql-mode-postgres-font-lock-keywords)
9576         (sql-mode-ms-font-lock-keywords)
9577         (sql-mode-sybase-font-lock-keywords)
9578         (sql-mode-informix-font-lock-keywords)
9579         (sql-mode-interbase-font-lock-keywords)
9580         (sql-mode-ingres-font-lock-keywords)
9581         (sql-mode-solid-font-lock-keywords)
9582         (sql-mode-mysql-font-lock-keywords)
9583         (sql-mode-sqlite-font-lock-keywords)
9584         (sql-mode-db2-font-lock-keywords)
9585         (sql-mode-linter-font-lock-keywords): Update initialization to
9586         reduce run-time complexity.
9587         (sql-add-product, sql-del-product): New functions.
9588         (sql-set-product-feature, sql-get-product-feature): New functions.
9589         (sql-product-font-lock): Update product API.
9590         (sql-add-product-keywords): New function.
9591         (sql-highlight-product): Update product API.
9592         (sql-help-list-products): New function.
9593         (sql-help): Dynamically lists free and non-free products.
9594         (sql-get-login): Correct bug in handling history and added
9595         prompt for port.
9596         (sql-copy-column): Copy without properties.
9597         (sqli-input-sender): Apply filters to SQLi input.
9598         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9599         Implement as a filter.
9600         (sql-escape-newlines-filter): Implement as a filter.
9601         (sql-remove-tabs-filter): New function.
9602         (sql-send-magic-terminator): New function.
9603         (sql-send-string): Implement magic terminator.
9604         (sql-send-region): Use `sql-send-string'.
9605         (sql-interactive-mode): Use product API.
9606         (sql-product-interactive): Use product API.
9607         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9608         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9609         (sql-db2, sql-linter): Use `sql-product-interactive'.
9610         (sql-connect): New function.
9611         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9612         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9613         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9614         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9615         Use `sql-connect'.
9617 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9619         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9620         New custom variable.
9621         (completion-pcm--string->pattern): Use it.
9622         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9623         Make it handle any symbol as `any'.
9624         (completion-pcm--merge-completions): Extract common suffix for the new
9625         `prefix' symbol as well.
9626         (completion-substring--all-completions): Use the new `prefix' symbol.
9628 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
9630         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9631         not bound.
9632         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9633         (tramp-compat-funcall): New defmacro.
9634         (tramp-compat-line-beginning-position)
9635         (tramp-compat-line-end-position)
9636         (tramp-compat-temporary-file-directory)
9637         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9638         (tramp-compat-copy-file, tramp-compat-copy-directory)
9639         (tramp-compat-delete-file, tramp-compat-delete-directory)
9640         (tramp-compat-number-sequence, tramp-compat-process-running-p)
9641         * net/tramp.el (top, with-progress-reporter)
9642         (tramp-rfn-eshadow-setup-minibuffer)
9643         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9644         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9645         (tramp-completion-mode-p, tramp-check-for-regexp)
9646         (tramp-open-connection-setup-interactive-shell)
9647         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9648         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9649         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9650         * net/tramp-cmds.el (tramp-cleanup-all-connections)
9651         (tramp-reporter-dump-variable, tramp-load-report-modules)
9652         (tramp-append-tramp-buffers)
9653         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9655         * net/tramp-imap.el (top): Autoload `epg-make-context'.
9657 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9659         * progmodes/compile.el (compilation-buffer-modtime): Rename from
9660         buffer-modtime.  Adjust users.
9662 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9664         * international/mule.el (auto-coding-alist): Only purecopy
9665         car of each item, not the whole list (Bug#6083).
9667 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9669         * progmodes/js.el (js-mode): Make paragraph variables local before
9670         calling c-setup-paragraph-variables (Bug#6071).
9672 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
9674         * composite.el (compose-region, reference-point-alist): Fix typos
9675         in the doc strings.
9677 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9679         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9680         gnuplot's "set" command.
9682 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9684         * abbrev.el (last-abbrev-text): Doc fix.
9685         (abbrev-prefix-mark): Don't escape parenthesis.
9687 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
9689         * composite.el (find-composition): Doc fix.
9691 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9693         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9694         (sql-oracle-program, sql-sqlite-options)
9695         (sql-query-placeholders-and-send): Doc fixes.
9696         (sql-set-product, sql-interactive-mode): Reflow docstrings.
9697         (sql-imenu-generic-expression, sql-buffer)
9698         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9699         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9700         (sql-mode-sybase-font-lock-keywords)
9701         (sql-mode-informix-font-lock-keywords)
9702         (sql-mode-interbase-font-lock-keywords)
9703         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9704         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9705         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9706         (sql-product-feature, sql-highlight-product)
9707         (comint-line-beginning-position, sql-rename-buffer)
9708         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9709         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9710         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9711         Fix typos in docstrings.
9713 2010-05-08  Juri Linkov  <juri@jurta.org>
9715         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9716         property instead of `invisible' and `after-string' (bug#5998).
9718 2010-05-08  Juri Linkov  <juri@jurta.org>
9720         * image-mode.el (image-mode-as-text): Fix typo in docstring.
9722 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9724         * filecache.el (file-cache-add-directory-list)
9725         (file-cache-add-directory-recursively): Fix typos in docstrings.
9727 2010-05-08  Kenichi Handa  <handa@m17n.org>
9729         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9730         (gujarati-composable-pattern): Fix typo.
9732 2010-05-08  Kenichi Handa  <handa@m17n.org>
9734         * language/indian.el (oriya-composable-pattern)
9735         (tamil-composable-pattern, malayalam-composable-pattern):
9736         Add two-part vowels to "v" (vowel sign).
9738 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9740         * files.el (copy-directory): Handle symlinks (Bug#5982).
9742 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
9744         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9745         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
9746         (Bug#5846).
9748 2010-05-08  Glenn Morris  <rgm@gnu.org>
9750         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9752         * minibuffer.el (completion-at-point): Doc fix.
9754 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9756         * electric.el (Electric-command-loop): Minor tweak.
9758         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9759         better with dedicated windows.
9761 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
9763         * Version 23.2 released.
9765 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9766             Stefan Monnier  <monnier@iro.umontreal.ca>
9768         Highlight vendor specific properties.
9769         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9770         (css-proprietary-property): New face.
9771         (css-font-lock-keywords): Use them.
9773 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
9775         * cus-start.el (all): Add native condition for tool-bar-* symbols.
9777 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9779         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9780         * files.el (auto-mode-alist): Remove redundant entries.
9782         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9783         * simple.el (auto-save-mode): Move from files.el.
9784         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9786 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
9788         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9790 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
9792         * mail/binhex.el (binhex-decode-region-internal)
9793         * mail/uudecode.el (uudecode-decode-region-internal)
9794         * net/dns.el (dns-read-string-name, dns-write, dns-read)
9795         (dns-read-type, dns-query)
9796         * pgg-parse.el (pgg-parse-armor)
9797         * pgg.el (pgg-verify-region)
9798         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9799         XEmacs.
9801         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9803 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
9805         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9807         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9808         * emulation/cua-base.el (cua-repeat-replace-region):
9809         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9810         (cua-cut-region-to-global-mark):
9811         Remove text properties with `set-text-properties'.
9813 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
9815         * net/tramp.el (top, with-progress-reporter):
9816         Use `symbol-function' inside `funcall'.
9818         * net/tramp-compat.el (tramp-compat-file-attributes)
9819         (tramp-compat-delete-file, tramp-compat-delete-directory):
9820         Handle only `wrong-number-of-arguments' error.
9822         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9823         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9824         inside `funcall'.
9826 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9828         * minibuffer.el (completion--sreverse, completion--common-suffix):
9829         New functions.
9830         (completion-pcm--merge-completions): Extract common suffix when safe.
9832         * emacs-lisp/easy-mmode.el (define-minor-mode):
9833         Make :variable more flexible.
9834         * files.el (auto-save-mode): Use it to define using define-minor-mode.
9836 2010-05-05  Juri Linkov  <juri@jurta.org>
9838         Add `slow' and `history' tags to the desktop data.
9840         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9841         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9842         (Info-finder-find-node): Require `finder.el' to be able
9843         to restore node from the desktop.
9844         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
9845         data `Info-history' and `slow' tag in the assoc list.
9846         (Info-restore-desktop-buffer): Don't restore nodes with the
9847         `slow' tag.  Restore `Info-history'.
9849 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
9851         Add FORCE argument to `delete-file'.
9853         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9854         forcing to delete the temporary file.
9855         (ange-ftp-delete-file): Add FORCE arg.
9856         (ange-ftp-rename-remote-to-remote)
9857         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9858         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9859         Force file deletion.
9861         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9863         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9864         (tramp-handle-make-symbolic-link, tramp-handle-load)
9865         (tramp-do-copy-or-rename-file-via-buffer)
9866         (tramp-do-copy-or-rename-file-directly)
9867         (tramp-do-copy-or-rename-file-out-of-band)
9868         (tramp-handle-process-file, tramp-handle-call-process-region)
9869         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9870         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9871         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9873         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9874         (tramp-fish-handle-make-symbolic-link)
9875         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9877         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9878         Use `tramp-compat-delete-file'.
9880         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9881         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9883         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9884         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9886         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9887         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9888         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9889         Use `tramp-compat-delete-file'.
9891 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9893         Minor cleanups.
9894         * subr.el (add-minor-mode): Use push.
9895         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9896         * emulation/edt.el (edt-select-mode): Simplify.
9898         Use define-minor-mode in more cases.
9899         * term/tvi970.el (tvi970-set-keypad-mode):
9900         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9901         (normal-erase-is-backspace-mode):
9902         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9903         (set-scroll-bar-mode-1): (Re)move to its sole caller.
9904         (get-scroll-bar-mode): New function.
9905         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9907         Use define-minor-mode for less obvious cases.
9908         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9909         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9910         * international/iso-ascii.el (iso-ascii-mode):
9911         * frame.el (auto-raise-mode, auto-lower-mode):
9912         * composite.el (global-auto-composition-mode): Use define-minor-mode.
9914 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
9916         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9917         in order to see error messages for failed logins.
9919 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
9921         * diff.el (diff-sentinel):
9923         * epg.el (epg--make-temp-file, epg-decrypt-string)
9924         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9926         * jka-compr.el (jka-compr-partial-uncompress)
9927         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9929         * server.el (server-sentinel): Use delete-file's new FORCE arg
9930         (Bug#6070).
9932 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9934         Use define-minor-mode where applicable.
9935         * view.el (view-mode):
9936         * type-break.el (type-break-query-mode)
9937         (type-break-mode-line-message-mode):
9938         * textmodes/reftex.el (reftex-mode):
9939         * term/vt100.el (vt100-wide-mode):
9940         * tar-mode.el (tar-subfile-mode):
9941         * savehist.el (savehist-mode):
9942         * ibuf-ext.el (ibuffer-auto-mode):
9943         * composite.el (auto-composition-mode):
9944         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9945         Use define-minor-mode.
9946         (vhdl-mode): Use static mode-line format.
9947         (vhdl-mode-line-update): Delete.
9948         (vhdl-create-mode-menu, vhdl-activate-customizations)
9949         (vhdl-hs-minor-mode): Don't bother calling it.
9951 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9953         * simple.el (with-wrapper-hook): Move.
9954         (buffer-substring-filters): Mark obsolete.
9955         (filter-buffer-substring-functions): New variable.
9956         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
9958 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
9959             Michael Albinus  <michael.albinus@gmx.de>
9961         Implement compression for inline methods.
9963         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9964         (tramp-copy-size-limit): Allow also nil.
9965         (tramp-inline-compress-commands): New defconst.
9966         (tramp-find-inline-compress, tramp-get-inline-compress)
9967         (tramp-get-inline-coding): New defuns.
9968         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9969         replaced by `tramp-get-inline-coding'.
9970         (tramp-handle-file-local-copy, tramp-handle-write-region)
9971         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9973 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9975         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9976         Remove unused functions.
9978         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9979         Set find-tag-default-function as a variable rather than a property.
9981         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9982         * progmodes/etags.el (tags-completion-at-point-function):
9983         Remove left over interactive spec.  Add autoloading stub.
9984         (complete-tag): Use tags-completion-at-point-function.
9986 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
9988         * minibuffer.el (tags-completion-at-point-function): Fix return value.
9990 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9992         * ido.el (ido-init-completion-maps): Remove C-v binding.
9993         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9995 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9997         * minibuffer.el (tags-completion-at-point-function): New function.
9998         (completion-at-point-functions): Use it.
10000         * progmodes/etags.el (complete-tag): Revert last change.
10002 2010-04-29  Alan Mackenzie  <acm@muc.de>
10004         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10005         off-by-one error (in end of macro position).
10007 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10009         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10010         firefox is absent.  Don't autoload.
10011         (browse-url-galeon-program): Don't autoload.
10013 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10015         * bindings.el (complete-symbol): Move into minibuffer.el.
10017         * minibuffer.el (complete-tag): Move from etags.el.  If tags
10018         completion cannot be performed, return nil instead of signalling
10019         an error.
10020         (completion-at-point): Make it an alias for complete-symbol.
10021         (complete-symbol): Move from bindings.el, and replace with the
10022         body of completion-at-point.
10024         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10026 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
10028         * net/tramp.el (tramp-remote-selinux-p): New defun.
10029         (tramp-handle-file-selinux-context)
10030         (tramp-handle-set-file-selinux-context): Use it.
10032 2010-04-28  Sam Steingold  <sds@gnu.org>
10034         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10035         `safe-local-variable' if the value is a string or a symbol with
10036         the property `bug-reference-url-format'.
10038 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10040         * progmodes/bug-reference.el (bug-reference-url-format):
10041         Revert 2010-04-27 change due to security risk.
10043 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10045         Make it possible to locally disable a globally enabled mode.
10046         * simple.el (fundamental-mode): Run fundamental-mode-hook.
10047         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10048         rather than kill-all-local-variables so it runs fundamental-mode-hook.
10049         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10050         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10051         that subsequent hooks get a chance to disable it.
10053 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10055         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10056         Avoid re-enabling a minor mode after the user turned the minor mode
10057         off if MODE-enable-in-buffers is run twice (typically once from
10058         fundamental-mode's after-change-major-mode-hook and a second time from
10059         run-mode-hook's own after-change-major-mode-hook).
10061         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10063 2010-04-27  Sam Steingold  <sds@gnu.org>
10065         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10066         `safe-local-variable' if the value is a string or a function, as
10067         documented and implemented on 2010-04-02.
10069 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
10071         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10072         when method is 'kill.
10074 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
10076         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10077         condition in default directory check.
10078         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10079         Kill ispell process when killing its associated buffer.
10081 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
10083         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10084         but we aren't using it.
10086 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
10088         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10089         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10091 2010-04-24  Glenn Morris  <rgm@gnu.org>
10093         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10094         Ignore VCS-ignore files, and deleted nextstep preferences files.
10095         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10096         (authors-ambiguous-files): New list.
10097         (authors-valid-file-names): Add some deleted files.
10098         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10099         (authors-disambiguate-file-name): New function.  (Bug#5501)
10100         (authors-canonical-file-name): Doc fix.
10101         Don't warn about obsolete files.
10102         (authors-canonical-file-name, authors-scan-el):
10103         Use authors-disambiguate-file-name.
10105         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10106         Add autoload cookies.
10107         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10108         (generated-autoload-file): Set file-local value to "htmlfontify.el".
10109         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10110         They have definitions / compiler macros in cl.el.
10111         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10112         Replace manual autoloads with generated ones.
10113         (htmlfontify-unload-rgb-file): Remove autoload.
10114         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10116 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10118         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10119         (byte-compile-setq-default): Optimize for the
10120         single-var case and don't call byte-compile-form in this case to avoid
10121         inf-loop with byte-compile-set-default.
10123         * progmodes/compile.el (compilation-start): Abbreviate default directory.
10125 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
10127         Implement SELINUX backends.
10129         * net/tramp.el (tramp-file-name-handler-alist):
10130         Add `file-selinux-context' and `set-file-selinux-context'.
10131         (tramp-handle-file-selinux-context)
10132         (tramp-handle-set-file-selinux-context): New defuns.
10133         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10134         Handle PRESERVE-SELINUX-CONTEXT.
10136         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10137         Add `file-selinux-context' and `set-file-selinux-context'.
10138         (tramp-gvfs-handle-file-selinux-context)
10139         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10140         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10142         * net/ange-ftp.el (ange-ftp-copy-file):
10143         * net/tramp-fish.el (tramp-fish-handle-copy-file):
10144         * net/tramp-imap.el (tramp-imap-handle-copy-file):
10145         * net/tramp-smb.el (tramp-smb-handle-copy-file):
10146         Add PRESERVE-SELINUX-CONTEXT.
10148 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10150         Synchronize with Tramp repository.
10152         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10153         (tramp-action-process-alive, tramp-action-out-of-band)
10154         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10155         (tramp-exists-file-name-handler): Fix docstring.
10156         (with-progress-reporter): New defmacro.
10157         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10158         (tramp-maybe-open-connection): Use it.
10160 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
10162         Detect ssh 'ControlMaster' argument automatically in some cases.
10164         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10165         (tramp-default-method): Use it.
10167 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10169         * net/tramp.el (tramp-handle-copy-file): Add new optional
10170         parameter `preserve-selinux-context'.
10171         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10173 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10175         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10176         Ensure, that non remote files are still checked.  Oops.
10178 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
10180         Fix Bug#5840.
10182         * icomplete.el (icomplete-completions): Use `non-essential'.
10184         * net/tramp.el (tramp-connectable-p): New defun.
10185         (tramp-handle-expand-file-name)
10186         (tramp-completion-handle-file-name-all-completions)
10187         (tramp-completion-handle-file-name-completion): Use it.
10189 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10191         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10193 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
10195         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10197         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10199         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10200         is present.
10202         * info.el (info-tool-bar-map): Add labels.
10204         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10206         * cus-edit.el (custom-commands): Add labels for tool bar.
10207         (custom-buffer-create-internal, Custom-mode): Adjust for
10208         labels in custom-commands.
10210         * dynamic-setting.el: Renamed from font-setting.el.
10212 2010-04-21  John Wiegley  <jwiegley@gmail.com>
10214         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10215         toggles the use of virtual buffers.
10216         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10217         (ido-toggle-virtual-buffers): New function.
10219 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
10221         Use `define-derived-mode'; fix window selection; doc fixes.
10222         * play/tetris.el (tetris, tetris-update-speed-function)
10223         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10224         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10225         (tetris-rotate-next, tetris-end-game, tetris-start-game)
10226         (tetris-pause-game): Fix typos in docstrings.
10227         (tetris-mode-map, tetris-null-map):
10228         Move initialization into declaration.
10229         (tetris-mode): Define with `define-derived-mode';
10230         set show-trailing-whitespace to nil.
10231         (tetris): Prefer window already displaying the "*Tetris*" buffer.
10233 2010-04-21  Karel Klíč  <kklic@redhat.com>
10235         * files.el (backup-buffer): Handle SELinux context, and return it
10236         if a backup was made by renaming.
10237         (backup-buffer-copy): Set SELinux context to the target file.
10238         (basic-save-buffer): Set SELinux context of the newly written file.
10239         (basic-save-buffer-1): Now it also returns any SELinux context.
10240         (basic-save-buffer-2): Set SELinux context of the newly created file,
10241         and return it.
10242         * net/tramp.el (tramp-file-name-for-operation):
10243         Add file-selinux-context.
10245 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10247         Make the log-edit comments use RFC822 format throughout.
10249         * vc.el (vc-checkin, vc-modify-change-comment):
10250         Adjust to new vc-start/finish-logentry.
10251         (vc-find-conflicted-file): New command.
10252         (vc-transfer-file): Adjust to new vc-checkin.
10253         (vc-next-action): Improve scoping.
10255         * vc-hg.el (vc-hg-log-edit-mode): Remove.
10256         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
10258         * vc-git.el (vc-git-log-edit-mode): Remove.
10259         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
10260         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10262         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10263         (vc-start-logentry): Remove argument `extra'.
10264         (vc-finish-logentry): Remove extra args.
10266         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10267         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
10268         (vc-bzr-conflicted-files): New function.
10270         * log-edit.el (log-edit-extra-flags)
10271         (log-edit-before-checkin-process): Remove.
10272         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10273         (log-edit-headers-alist): New var.
10274         (log-edit-header-contents-regexp): New const.
10275         (log-edit-match-to-eoh): New function.
10276         (log-edit-font-lock-keywords): Use them.
10277         (log-edit): Insert a "Summary:" header as default.
10278         (log-edit-mode): Mark font-lock rules as case-insensitive.
10279         (log-edit-done): Cleanup headers.
10280         (log-view-process-buffer): Remove.
10281         (log-edit-extract-headers): New function to replace it.
10283 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
10285         * subr.el (default-direction-reversed): Remove obsolescence info.
10287 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10289         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10290         windows/frames.
10292         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10293         I.e. include text after point in the completion region.
10294         Also, return nil when we're not after/in a symbol.
10296         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10297         default enable-multibyte-characters.
10299 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10301         * international/mule.el: Help the user choose a valid coding-system.
10302         (read-buffer-file-coding-system): New function.
10303         (set-buffer-file-coding-system): Use it.  Prompt the user if the
10304         coding-system cannot encode all the chars.
10306         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10307         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10308         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10309         Don't use *vc-bzr-shelve*.
10311 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
10313         Fix the version number for added files.
10314         * vc-hg.el (vc-hg-working-revision): Check if the file is
10315         registered after hg parent fails (Bug#5961).
10317 2010-04-19  Glenn Morris  <rgm@gnu.org>
10319         * htmlfontify.el (htmlfontify-buffer)
10320         (htmlfontify-copy-and-link-dir): Autoload entry points.
10322 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
10324         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10325         name relative to the project root (Bug#5960).
10327 2010-04-19  Glenn Morris  <rgm@gnu.org>
10329         * vc-git.el (vc-git-print-log): Doc fix.
10331 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
10333         * ido.el (ido-file-internal): Fix 2009-12-02 change.
10335 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
10337         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10338         default settings (Bug#5928).
10340 2010-04-19  Glenn Morris  <rgm@gnu.org>
10342         * progmodes/fortran.el (fortran-match-and-skip-declaration):
10343         New function.
10344         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
10346 2010-04-19  Kenichi Handa  <handa@m17n.org>
10348         * language/indian.el (malayalam-composable-pattern): Fix previous
10349         change (add U+0D4D "SIGN VIRAMA").
10350         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10351         (tamil-composable-pattern): Fix typo in the regexp.
10352         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10353         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10354         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10356 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10358         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10359         paragraph-separate (Bug#5821).
10361 2010-04-19  Juri Linkov  <juri@jurta.org>
10363         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10365         * info.el (Info-find-node-2): Comment out code that skips
10366         breadcrumbs line.
10367         (Info-mouse-follow-link): New command.
10368         (Info-link-keymap): New keymap.
10369         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10370         Return a string with links instead of inserting breadcrumbs
10371         to the Info buffer.
10372         (Info-fontify-node): Comment out code that inserts breadcrumbs.
10373         Instead of putting the `invisible' text property over the Info
10374         header, make an overlay over the Info header with the `invisible'
10375         property and `after-string' set to the string returned by
10376         `Info-breadcrumbs'.
10378 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10380         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10381         Reported by monkey@sandpframing.com.
10383 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10385         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10386         (tmm-get-keymap): Add key-binding shortcuts now that they're not
10387         available in the "keyseq cache" any more.
10389         * custom.el (defcustom): Add edebug spec.
10391 2010-04-18  Juri Linkov  <juri@jurta.org>
10393         Test for special mode-class in view-buffer instead of view-file (bug#5513).
10395         * view.el (view-file, view-buffer): Move test for special mode-class
10396         from view-file to view-buffer.
10398         * tar-mode.el (tar-extract): Turn if's into one cond
10399         like in arc-mode.el.
10401 2010-04-18  Juri Linkov  <juri@jurta.org>
10403         Add 7z archive format support (bug#5475).
10405         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10406         (archive-7z-extract): New defcustom.
10407         (archive-find-type): Add magic string for 7z.
10408         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10409         If `stderr-file' is non-nil, use `(t stderr-file)' for the
10410         `buffer' arg of `call-process'.
10411         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10412         call the function `archive-7z-extract' with the variable
10413         `archive-7z-extract' let-bound to `archive-zip-extract'.
10414         (archive-7z-summarize, archive-7z-extract): New functions.
10416         * international/mule.el (auto-coding-alist):
10417         * files.el (auto-mode-alist): Add 7z file extension.
10419 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10421         * loadup.el: Setup hash-cons for pure data.
10423         Fix duplicate entries in cedet's loaddefs.el files.
10424         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10425         Should make most file-local generated-autoload-file unnecessary.
10426         (print-readably): Silence warnings.
10427         (autoload-find-destination): Take load-name as an arg to make sure
10428         it's the same as the one that will be in the file.
10429         (autoload-generate-file-autoloads): Adjust to above changes.
10430         Try to make the dataflow a bit simpler.
10432         * cvs-status.el (cvs-refontify): Remove unused.
10434 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
10436         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10438         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10439         twos-complement mode.
10441 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
10443         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10444         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
10445         (calc-inverse): Add "Option" to message, as appropriate.
10446         (calc-hyperbolic): Add "Option" to message, as appropriate.
10447         (calc-option, calc-is-option): New functions.
10449         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10450         (calc-option-prefix-help): New function.
10452         * calc/calc-misc.el (calc-help): Add "Option" entry.
10454         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10455         (calc-option-flag): New variable.
10456         (calc-do): Set `calc-option-flag to nil.
10457         (calc-set-mode-line): Add "Opt " as appropriate.
10459 2010-04-16  Juri Linkov  <juri@jurta.org>
10461         Move scrolling commands from simple.el to window.el
10462         because their primitives are implemented in window.c.
10464         * simple.el (scroll-error-top-bottom)
10465         (scroll-up-command, scroll-down-command, scroll-up-line)
10466         (scroll-down-line, scroll-other-window-down)
10467         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10468         * window.el (scroll-error-top-bottom)
10469         (scroll-up-command, scroll-down-command, scroll-up-line)
10470         (scroll-down-line, scroll-other-window-down)
10471         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10472         Move from simple.el to window.el because their primitives are
10473         implemented in window.c.
10475 2010-04-16  Juri Linkov  <juri@jurta.org>
10477         * isearch.el (isearch-lookup-scroll-key): Check both
10478         `isearch-scroll' and `scroll-command' properties.
10479         (scroll-up, scroll-down): Remove `isearch-scroll' property.
10481         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10483         * simple.el (scroll-up-command, scroll-down-command)
10484         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10486 2010-04-15  Juri Linkov  <juri@jurta.org>
10488         * simple.el (scroll-up-command, scroll-down-command)
10489         (scroll-up-line, scroll-down-line): Put `scroll-command'
10490         property on the these symbols.  Remove them from
10491         `scroll-preserve-screen-position-commands'.
10493         * mwheel.el (mwheel-scroll): Put `scroll-command' and
10494         `isearch-scroll' properties on the `mwheel-scroll' symbol.
10495         Remove it from `scroll-preserve-screen-position-commands'.
10497         * isearch.el (isearch-allow-scroll): Doc fix.
10499 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
10501         * net/tramp.el (tramp-error-with-buffer): Don't show the
10502         connection buffer when we are in completion mode.
10503         (tramp-file-name-handler): Catch the error for some operations
10504         when we are in completion mode.  This gives the user the chance to
10505         correct the file name in the minibuffer.
10507 2010-04-15  Glenn Morris  <rgm@gnu.org>
10509         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10511 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
10513         Simplify by using `define-derived-mode'.
10514         * info.el (Info-mode):
10515         * calendar/todo-mode.el (todo-mode):
10516         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10517         (gomoku-mode-map): Move initialization into declaration.
10519 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
10521         Fix Bug#5840.
10522         * ido.el (ido-file-name-all-completions-1):
10523         * minibuffer.el (minibuffer-completion-help):
10524         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10526 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10528         * simple.el (non-essential): New var.
10530         Add a new field `location' to bookmarks for non-file bookmarks.
10531         * bookmark.el (bookmark-location): Use the new field, if present.
10532         (bookmark-insert-location): Undo last change, not needed any more.
10533         * man.el (Man-bookmark-make-record):
10534         * woman.el (woman-bookmark-make-record): Add `location' field.
10536 2010-04-14  Juri Linkov  <juri@jurta.org>
10538         * simple.el (scroll-error-top-bottom): New defcustom.
10539         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
10541         * emulation/pc-select.el (pc-select-override-scroll-error):
10542         Obsolete in favor of `scroll-error-top-bottom'.
10544 2010-04-14  Juri Linkov  <juri@jurta.org>
10546         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10547         `scroll-up-command' and `M-v' to `scroll-down-command'.
10549         * emulation/cua-rect.el (cua--init-rectangles):
10550         * forms.el (forms--change-commands):
10551         * image-mode.el (image-mode-map):
10552         Remap scroll-down-command and scroll-up-command
10553         in addition to scroll-down and scroll-up.
10555 2010-04-14  Juri Linkov  <juri@jurta.org>
10557         * mwheel.el (scroll-preserve-screen-position-commands):
10558         Add mwheel-scroll to this list of commands.
10560         * simple.el (scroll-preserve-screen-position-commands):
10561         Add scroll-up-command, scroll-down-command, scroll-up-line,
10562         scroll-down-line to this list of commands.
10564 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10566         * obsolete/complete.el: Move from lisp/complete.el.
10568         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10570         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10571         to the minor mode function now turns the mode ON unconditionally.
10573 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10575         * vc-dir.el (vc-dir-kill-line): New command.
10576         (vc-dir-mode-map): Bind it to C-k.
10578         * bookmark.el (bookmark-insert-location): Handle a nil filename.
10580         * woman.el: Add bookmark declarations to silence the compiler.
10581         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10582         step to compatibility between man and woman bookmarks.
10583         Adjust for Man-default-bookmark-title renaming.
10584         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
10586         * man.el: Add bookmark declarations to silence the compiler.
10587         (Man-name-local-regexp): Make it match NAME as well.
10588         (Man-getpage-in-background): Return the buffer.
10589         (Man-notify-when-ready): Use `case'.
10590         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10591         Don't hardcode "NAME".  Simplify.
10592         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10593         Rename from Man-bookmark-make-record.
10594         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
10595         we have the actual man-args.  Use Man-getpage-in-background rather
10596         than `man' since the arg is already processed.  Let bookmark.el do the
10597         window handling.  Only wait for the relevant process.
10598         Don't forget to autoload.
10600         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10602 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10604         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10605         New functions.
10606         (woman-mode): Setup bookmark support.
10608         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10609         (man-bookmark-jump): New functions.
10610         (Man-mode): Setup bookmark support.
10612 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
10614         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10615         recognize ssh-keygen prompt (Bug#2817).
10617 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10619         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10621 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10623         Synchronize with Tramp repository.
10625         * net/tramp.el (tramp-completion-function-alist)
10626         (tramp-file-name-regexp, tramp-chunksize)
10627         (tramp-local-coding-commands, tramp-remote-coding-commands):
10628         Fix docstring.
10629         (tramp-remote-process-environment): Use `format' instead of `concat'.
10630         (tramp-handle-directory-files-and-attributes)
10631         (tramp-get-remote-path): Use `copy-tree'.
10632         (tramp-handle-file-name-all-completions): Backward/ XEmacs
10633         compatibility: Use `completion-ignore-case' if
10634         `read-file-name-completion-ignore-case' does not exist.
10635         (tramp-do-copy-or-rename-file-directly): Do not use
10636         `tramp-handle-file-remote-p'.
10637         (tramp-do-copy-or-rename-file-out-of-band):
10638         Use `tramp-compat-delete-directory'.
10639         (tramp-do-copy-or-rename-file-out-of-band)
10640         (tramp-compute-multi-hops, tramp-maybe-open-connection):
10641         Use `format-spec-make'.
10642         (tramp-find-foreign-file-name-handler)
10643         (tramp-advice-make-auto-save-file-name)
10644         (tramp-set-auto-save-file-modes): Remove superfluous check for
10645         `stringp'.  This is done inside `tramp-tramp-file-p'.
10646         (tramp-debug-outline-regexp): New defconst.
10647         (tramp-get-debug-buffer): Use it.
10648         (tramp-check-for-regexp): Use (forward-line 1).
10649         (tramp-set-auto-save-file-modes): Adapt version check.
10651         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10652         Wrap call of `featurep' for 2nd argument.
10653         (tramp-compat-make-temp-file): Simplify fallback implementation.
10654         (tramp-compat-copy-tree): Remove function.
10655         (tramp-compat-delete-directory): Provide implementation for older
10656         Emacsen.
10658         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10659         Do not use `tramp-fish-handle-file-attributes.
10661         * net/trampver.el: Update release number.
10663 2010-04-10  Glenn Morris  <rgm@gnu.org>
10665         * progmodes/compile.el (compilation-save-buffers-predicate):
10666         Add missing :version tag.
10668 2010-04-09  Sam Steingold  <sds@gnu.org>
10670         * progmodes/compile.el (compilation-save-buffers-predicate):
10671         Remove the "autoload" cookie.
10673         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10674         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10675         and `bug-reference-prog-mode' can be used in hooks directly.
10677 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
10679         Add --author support to git commit.
10680         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10681         (vc-git-log-edit-mode): New minor mode.
10682         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10683         New declarations.
10685 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
10687         * vc-hooks.el, vc-git.el: Improve documentation comments.
10689 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10691         Fix some of the problems in defsubst* (bug#5728).
10692         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10693         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10695 2010-04-07  Sam Steingold  <sds@gnu.org>
10697         * progmodes/compile.el (compilation-save-buffers-predicate):
10698         New custom variable.
10699         (compile, recompile): Pass it to `save-some-buffers'.
10701 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
10703         * wid-edit.el (widget-choose): Move cursor to the second line of
10704         the buffer (Bug#5695).
10706 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10708         Add new VC methods: vc-log-incoming and vc-log-outgoing.
10709         * vc.el (vc-print-log-setup-buttons): New function split out from
10710         vc-print-log-internal.
10711         (vc-log-internal-common): New function, a parametrized version of
10712         vc-print-log-internal.
10713         (vc-print-log-internal): Just call vc-log-internal-common with the
10714         right arguments.
10715         (vc-incoming-outgoing-internal):
10716         (vc-log-incoming, vc-log-outgoing): New functions.
10717         (vc-log-view-type): New permanent local variable.
10719         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10721         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10722         of the dynamic bound vc-short-log.
10723         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10725         * vc-git.el (vc-git-log-outgoing): New function.
10726         (vc-git-log-view-mode): Use vc-log-view-type instead
10727         of the dynamic bound vc-short-log.
10729         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10730         of the dynamic bound vc-short-log.  Highlight the tag.
10731         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10732         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10733         (vc-hg-incoming-mode): Remove.
10734         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10736 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10738         Fix default-directory for vc-root-diff.
10739         * vc.el (vc-root-diff): Bind default-directory to the root
10740         directory for the diff command.
10742 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
10744         * progmodes/verilog-mode.el (verilog-forward-sexp):
10745         (verilog-calc-1): Support "disable fork" and "fork wait" multi
10746         word keywords, suggested by Steve Pearlmutter.
10747         (verilog-pretty-declarations): Support lineup of declarations in
10748         port lists.
10749         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10750         fix bug for /* / comments.
10751         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10752         Speed up and simplfy as this is never called with a bound.
10753         (verilog-pretty-declarations): Enhance to line up declarations
10754         inside a parameter list, suggested by Alan Morgan.
10755         (verilog-pretty-expr): Tune assignment regular expression match
10756         string for corner cases; also use markers instead of character
10757         number as indent changes the later.
10759 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
10761         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10762         as missing keyword.
10763         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10764         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
10765         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10766         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
10767         Tennant.
10768         (verilog-keywords):
10769         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10770         1800-2009 keywords, including "global.".
10772 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10774         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10775         appearing in buffer list (if a live buffer name matched a recentf
10776         file basename).  Should use uniquify to offer a real solution.
10778 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10780         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10781         comment to code, and add a :version tag.
10782         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10784 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
10786         Enable recentf-mode if using virtual buffers.
10787         * ido.el (recentf-list): Declare for byte-compiler.
10788         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
10789         (ido-make-buffer-list): Simplify.
10790         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
10792 2010-04-05  Juri Linkov  <juri@jurta.org>
10794         Scrolling commands which scroll a line instead of full screen.
10795         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10797         * simple.el (scroll-up-line, scroll-down-line): New commands.
10798         Put property isearch-scroll=t on them.
10800         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10801         Remove commands.
10803 2010-04-05  Juri Linkov  <juri@jurta.org>
10805         Scrolling commands which do not signal errors at top/bottom.
10806         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10808         * simple.el (scroll-up-command, scroll-down-command): New commands.
10809         Put property isearch-scroll=t on them.
10811         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10812         `scroll-down-command' and [next] from `scroll-up' to
10813         `scroll-up-command'.
10815         * emulation/cua-base.el: Put property CUA=move on
10816         `scroll-up-command' and `scroll-down-command'.
10817         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10818         and `scroll-down-command' to `cua-scroll-down'.
10820 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
10822         * help.el (describe-mode): Return nil.
10824 2010-04-04  John Wiegley  <jwiegley@gmail.com>
10826         * ido.el (ido-use-virtual-buffers): New variable to indicate
10827         whether "virtual buffer" support is enabled for IDO.
10828         (ido-virtual): Face used to indicate virtual buffers in the list.
10829         (ido-buffer-internal): If a buffer is chosen, and no such buffer
10830         exists, but a virtual buffer of that name does (which would be why
10831         it was in the list), recreate the buffer by reopening the file.
10832         (ido-make-buffer-list): If virtual buffers are being used, call
10833         `ido-add-virtual-buffers-to-list' before the make list hook.
10834         (ido-virtual-buffers): New variable which contains a copy of the
10835         current contents of the `recentf-list', albeit pared down for the
10836         sake of speed, and with proper faces applied.
10837         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10838         create a list of "virtual buffers" to present to the user in
10839         addition to the currently open set.  Note that this logic could
10840         get rather slow if that list is too large.  With the default
10841         `recentf-max-saved-items' of 200, there is little speed penalty.
10843 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10845         * font-lock.el: Require CL when compiling.
10846         (font-lock-turn-on-thing-lock): Use `case'.
10848 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
10850         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10851         Zaretskii.
10853 2010-04-02  Juri Linkov  <juri@jurta.org>
10855         * ehelp.el (electric-help-orig-major-mode):
10856         New buffer-local variable.
10857         (electric-help-mode): Set it to original major-mode.  Doc fix.
10858         (with-electric-help): Use `electric-help-orig-major-mode' instead
10859         of (default-value 'major-mode).  Doc fix.
10860         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10862 2010-04-02  Sam Steingold  <sds@gnu.org>
10864         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10865         `vc-hg-command' with a list of flags.
10867         * progmodes/bug-reference.el (bug-reference-bug-regexp):
10868         Also accept "patch" and "RFE".
10869         (bug-reference-fontify): `bug-reference-url-format' can also be a
10870         function to be able to handle the bug kind.
10871         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10873 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
10875         * tmm.el (tmm-get-keymap): Check with symbolp before passing
10876         value to fboundp, it may not be a symbol.
10878 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10880         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10882 2010-03-31  Juri Linkov  <juri@jurta.org>
10884         * simple.el (next-line, previous-line): Re-throw a signal
10885         with `signal' instead of using `ding'.
10886         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10888 2010-03-31  Juri Linkov  <juri@jurta.org>
10890         * simple.el (keyboard-escape-quit): Raise deselecting the active
10891         region higher than exiting the minibuffer.
10892         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10894 2010-03-31  Juri Linkov  <juri@jurta.org>
10896         * image.el (image-animated-p): Use `image-metadata' instead of
10897         `image-extension-data'.  Get GIF extenstion data from metadata
10898         property `extension-data'.
10900 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10902         * simple.el (append-to-buffer): Simplify.
10904 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
10906         * textmodes/artist.el (artist-mode): Fix typo in docstring.
10907         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
10909 2010-03-31  Kenichi Handa  <handa@m17n.org>
10911         * language/sinhala.el (composition-function-table): Fix regexp for
10912         the new Unicode specification.
10914         * language/indian.el (devanagari-composable-pattern)
10915         (tamil-composable-pattern, kannada-composable-pattern)
10916         (malayalam-composable-pattern): Adjust for the new Unicode
10917         specification.
10918         (bengali-composable-pattern, gurmukhi-composable-pattern)
10919         (gujarati-composable-pattern, oriya-composable-pattern)
10920         (telugu-composable-pattern): New variables to cope with the new
10921         Unicode specification.  Use them in composition-function-table.
10923 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10925         Make tmm-menubar work for the Buffers menu again (bug#5726).
10926         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10927         vectors rather than cons cells, as used in menu-bar-update-buffers.
10929 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10931         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10932         (js-insert-and-indent): Revert 2009-08-15 change, restoring
10933         electric punctuation for "{}();,:" (Bug#5586).
10935         * mail/sendmail.el (mail-default-directory): Doc fix.
10937 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10939         * mail/sendmail.el (mail-default-directory): Doc fix.
10941 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
10943         * subr.el (version-regexp-alist, version-to-list)
10944         (version-list-<, version-list-=, version-list-<=)
10945         (version-list-not-zero, version<, version<=, version=): Doc fix.
10946         (Bug#5744).
10948 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
10950         * vc.el (vc-root-diff): Doc fix.
10952 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10954         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10956         * simple.el (append-to-buffer): Fix last change.
10958 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10960         * simple.el (append-to-buffer): Ensure that point is preserved if
10961         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
10962         (Bug#5749)
10964 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10966         * files.el (auto-mode-case-fold): Change default to t.
10968 2010-03-30  Juri Linkov  <juri@jurta.org>
10970         * dired-x.el (dired-omit-mode): Doc fix.
10972 2010-03-30  Juri Linkov  <juri@jurta.org>
10974         * replace.el (occur-accumulate-lines): Move occur-engine related
10975         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10976         to be located after `occur-engine'.
10978 2010-03-30  Juri Linkov  <juri@jurta.org>
10980         Make occur handle multi-line matches cleanly with context.
10981         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10983         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10984         (occur-engine): Add local variables `ret', `prev-after-lines',
10985         `prev-lines'.  Use more arguments for `occur-context-lines'.
10986         Set first elem of its returned list to `data', and the second elem
10987         to `prev-after-lines'.  Don't print the separator line.
10988         In the end, print remaining context after-lines.
10989         (occur-context-lines): Add new arguments `begpt', `endpt',
10990         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
10991         after-lines of the previous match with before-lines of the
10992         current match and not overlap them.  Return a list with two
10993         values: the output line and the list of context after-lines.
10995 2010-03-30  Juri Linkov  <juri@jurta.org>
10997         * replace.el (occur-accumulate-lines): Fix a bug where the first
10998         context line at the beginning of the buffer was missing.
11000 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
11002         * files.el: Make bidi-display-reordering safe variable for boolean
11003         values.
11005 2010-03-29  Phil Hagelberg  <phil@evri.com>
11006             Chong Yidong  <cyd@stupidchicken.com>
11008         * subr.el: Extend progress reporters to perform "spinning".
11009         (progress-reporter-update, progress-reporter-do-update):
11010         Handle non-numeric value arguments.
11011         (progress-reporter--pulse-characters): New var.
11013 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
11015         * progmodes/compile.el (compilation-start): Fix regexp detection
11016         of initial cd command (Bug#5771).
11018 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
11020         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11022 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
11024         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11025         * progmodes/gdb-mi.el: Restore.
11026         * progmodes/gdb-ui.el: Remove.
11027         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11029 2010-03-25  Glenn Morris  <rgm@gnu.org>
11031         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11032         all dired buffers, even tramp ones.  (Bug#5755)
11034 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11036         Add "union tags" in mpc.el.
11037         * mpc.el: Remove backward compatibility code.
11038         (mpc-browser-tags): Change default.
11039         (mpc--find-memoize-union-tags): New var.
11040         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11041         (mpc-cmd-find): Handle the case where the playlist does not exist.
11042         Handle union-tags.
11043         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
11044         (mpc-cmd-add): Use mpc-cmd-flush.
11045         (mpc-tagbrowser-tag-name): New fun.
11046         (mpc-tagbrowser-buf): Use it.
11047         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
11049 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11051         Misc cleanup.
11052         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11053         Use replace-regexp-in-string.
11054         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11055         (makefile-imake-mode-syntax-table): Move init into defvar.
11056         (makefile-mode): Use define-derived-mode.
11058         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11059         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11060         not be present any more.
11062 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11064         * faces.el (set-face-attribute): Fix typo in docstring.
11065         (face-valid-attribute-values): Reflow docstring.
11067 2010-03-24  Glenn Morris  <rgm@gnu.org>
11069         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11071 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11073         * indent.el (indent-for-tab-command): Doc fix.
11075 2010-03-24  Alan Mackenzie  <acm@muc.de>
11077         * progmodes/cc-engine.el (c-remove-stale-state-cache):
11078         Fix off-by-one error.  Fixes bug #5747.
11080 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11082         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11083         (image-dired-read-comment): Doc fix.
11085         * json.el (json-object-type, json-array-type, json-key-type)
11086         (json-false, json-null, json-read-number):
11087         * minibuffer.el (completion-in-region-functions):
11088         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11089         (cal-tex-cursor-week):
11090         * emacs-lisp/trace.el (trace-function):
11091         * eshell/em-basic.el (eshell/printnl):
11092         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11093         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11094         * obsolete/levents.el (allocate-event, event-key, event-object)
11095         (event-point, event-process, event-timestamp, event-to-character)
11096         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11097         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11098         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11099         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11100         (reftex-highlight-selection): Fix typos in docstrings.
11102 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11104         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11106 2010-03-24  Glenn Morris  <rgm@gnu.org>
11108         * mail/rmail.el (rmail-highlight-face): Restore option deleted
11109         2008-02-13 without comment; mark it obsolete.
11110         (rmail-highlight-headers): Use rmail-highlight-face once more.
11112 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11114         * woman.el (woman2-process-escapes): Only consume the newline if
11115         the filler character is on a line by itself (Bug#5729).
11117 2010-03-24  Kenichi Handa  <handa@m17n.org>
11119         * language/indian.el (devanagari-composable-pattern): Add more
11120         consonants.
11122 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11124         * net/trampver.el: Update release number.
11126 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11128         * net/tramp.el (tramp-find-executable):
11129         Use `tramp-get-connection-buffer'.  Make the regexp for checking
11130         output of "wc -l" more robust.
11131         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11132         (tramp-open-connection-setup-interactive-shell): Remove workaround
11133         for OpenSolaris bug, it is not needed anymore.
11135 2010-03-24  Glenn Morris  <rgm@gnu.org>
11137         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
11139 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
11141         * files.el (auto-mode-alist): Accept more verilog file patterns.
11143 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11145         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11147 2010-03-24  Glenn Morris  <rgm@gnu.org>
11149         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11150         log-edit-before-checkin-process.
11152         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11154         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11156         * vc-dispatcher.el (vc-start-logentry): Doc fix.
11157         (log-view-process-buffer, log-edit-extra-flags): Declare.
11159         * log-edit.el (log-edit-before-checkin-process): Doc fix.
11161 2010-03-23  Sam Steingold  <sds@gnu.org>
11163         Fix bug#5620: recalculate all markers on compilation buffer
11164         modifications, not on file modifications.
11165         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11166         variable: the buffer modification time, for buffers not associated with
11167         files.
11168         (compilation-mode): Create it.
11169         (compilation-filter): Update it.
11170         (compilation-next-error-function): Use it instead of
11171         `visited-file-modtime' for timestamp.
11173 2010-03-23  Juri Linkov  <juri@jurta.org>
11175         Implement Occur multi-line matches.
11176         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11178         * replace.el (occur): Doc fix.
11179         (occur-engine): Set `begpt' to the beginning of the first line.
11180         Set `endpt' to the end of the last match line.  At first, count
11181         line numbers between `origpt' and `begpt'.  Split out code from
11182         `out-line' variable to new let-bindings `match-prefix' and
11183         `match-str'.  In `out-line' add non-numeric prefix to all
11184         non-first lines of multi-line matches.  Finally, count lines
11185         between `begpt' and `endpt' and add to `lines'.
11187 2010-03-23  Juri Linkov  <juri@jurta.org>
11189         * replace.el (occur-accumulate-lines, occur-engine):
11190         Use `occur-engine-line' instead of duplicate code.
11191         (occur-engine-line): New function created from duplicate code
11192         in `occur-accumulate-lines' and `occur-engine'.
11194         * replace.el (occur-engine-line): Add optional arg `keep-props'.
11195         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11197 2010-03-23  Juri Linkov  <juri@jurta.org>
11199         * finder.el: Remove TODO tasks.
11201         * info.el (Info-finder-find-node): Add node "all"
11202         with all package info.  Handle a list of multiple keywords
11203         separated by comma.
11204         (info-finder): In interactive use with a prefix argument,
11205         use `completing-read-multiple' to read a list of keywords
11206         separated by comma.
11208 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11210         Add a new completion style `substring'.
11211         * minibuffer.el (completion-basic--pattern): New function.
11212         (completion-basic-try-completion, completion-basic-all-completions):
11213         Use it.
11214         (completion-substring--all-completions)
11215         (completion-substring-try-completion)
11216         (completion-substring-all-completions): New functions.
11217         (completion-styles-alist): New style `substring'.
11219 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11221         Get rid of .elc files after removal of the corresponding .el.
11222         * Makefile.in (compile-clean): New target.
11223         (compile-main): Use it.
11225 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
11227         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11228         don't do make there.  When compiling with separate object dir, there
11229         is no Makefile there.
11231 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11233         Get rid of the ELCFILES abomination, again.
11234         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11235         (all, compile): Don't call compile-last.
11236         (compile-main): Build the "elcfiles" list dynamically.
11237         (compile-targets): New (internal) target.
11239 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
11241         * Makefile.in (top_srcdir): Define.
11242         (abs_top_builddir): Define.
11243         (srcdir): Don't append `/..'.
11244         (EMACS): Use ${abs_top_builddir}.
11245         (all, compile, compile-always, compile-last): Don't set emacswd.
11246         (update-subdirs, update-authors): Use $(top_srcdir) instead of
11247         $(srcdir).
11248         (lisp): Use $(srcdir) instead of @srcdir@.
11250 2010-03-21  Juri Linkov  <juri@jurta.org>
11252         Fix message of multi-line occur regexps and multi-buffer header lines.
11253         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11255         * replace.el (occur-1): Don't display regexp if it is longer
11256         than window-width.  Use `query-replace-descr' to display regexp.
11257         (occur-engine): Don't display regexp in the buffer header for
11258         multi-buffer occur.  Display a separate header line with total
11259         match count and regexp for multi-buffer occur.
11260         Use `query-replace-descr' to display regexp.
11262 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
11264         * net/secrets.el: Fix parenthesis.
11265         (secrets-enabled): Fix parenthesis.
11267 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11269         Use more relative file and directory names.
11270         * Makefile.in (EMACS): Arrange for it to work when we chdir.
11271         (setwins, setwins_almost, setwins_for_subdirs):
11272         Don't `cd'; output relative names.
11273         (all, compile, compile-always, compile-last): Set emacswd.
11274         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11275         Just cd to the lisp source dir so we can use relative file names.
11277         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11279 2010-03-20  Glenn Morris  <rgm@gnu.org>
11281         * textmodes/rst.el: Use faces for font-lock customization, and make the
11282         old -face variables obsolete.
11283         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11284         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11285         (rst-block-face, rst-external-face, rst-definition-face)
11286         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11287         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11288         Make obsolete.
11289         (rst-font-lock-keywords-function): Update for above changes.
11291 2010-03-20  Juri Linkov  <juri@jurta.org>
11293         * s-region.el:
11294         * obsolete/s-region.el: Move to obsolete.
11296 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
11298         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11300 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11302         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11304 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11306         Add special markup processing for commit logs.
11307         * log-edit.el (log-edit-extra-flags): New variable.
11308         (log-edit): Add new argument MODE.  Use that mode when non-nil
11309         instead of the log-view-mode.
11310         (log-view-process-buffer): New function.
11312         * vc.el: Document that the checkin method takes optional
11313         arguments.  Document new backend specific method: log-view-mode.
11314         (vc-default-log-edit-mode): New function.
11315         (vc-checkin): Use a backend specific log-view-mode.
11316         Pass extra arguments to the checkin method.
11317         (vc-modify-change-comment): Pass a dummy extra argument.
11319         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11320         log-edit.
11321         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11322         (vc-finish-logentry): Process the log buffer before passing it
11323         down.  Pass log-edit-extra-flags.
11325         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11326         command.
11327         (log-edit-extra-flags, log-edit-before-checkin-process):
11328         New declarations.
11330         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11331         command.
11332         (log-edit-extra-flags, log-edit-before-checkin-process):
11333         New declarations.
11334         (vc-hg-log-edit-mode): New derived mode.
11336         * vc-arch.el (vc-arch-checkin):
11337         * vc-cvs.el (vc-cvs-checkin):
11338         * vc-git.el (vc-git-checkin):
11339         * vc-mtn.el (vc-mtn-checkin):
11340         * vc-rcs.el (vc-rcs-checkin):
11341         * vc-sccs.el (vc-sccs-checkin):
11342         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11344 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11346         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11347         parent typo).
11349 2010-03-19  Glenn Morris  <rgm@gnu.org>
11351         * password-cache.el (password-cache, password-cache-expiry): Autoload.
11353 2010-03-18  Glenn Morris  <rgm@gnu.org>
11355         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11357         * replace.el (query-replace-history): Give it a doc string.
11358         (map-query-replace-regexp): Use query-replace-from-history-variable
11359         and query-replace-to-history-variable.
11361         * mail/hashcash.el (declare-function): Remove duplicate definition.
11363         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11364         Make it an obsolete alias for report-emacs-bug-address.
11365         (message-strip-special-text-properties): Declare.
11366         (report-emacs-bug): Remove test for a pretest bug address.
11367         Combine message-mode-specific code.
11369         * mail/supercite.el: Don't require sendmail.
11370         (mh-in-header-p): Declare rather than using with-no-warnings.
11371         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11372         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
11374         * calendar/cal-french.el: Convert to utf-8.
11376         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11377         Emacs scripts.
11379 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
11381         * net/secrets.el (secrets-enabled): New variable.  Use it instead
11382         of a subfeature.
11384 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
11386         * net/secrets.el (top): Register the D-Bus signals only when the
11387         service "org.freedesktop.secrets" can be pinged.
11388         Provide subfeature `enabled'.
11390 2010-03-14  Juri Linkov  <juri@jurta.org>
11392         Add finder unknown keywords.
11394         * finder.el (finder-unknown-keywords): New function.
11396         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11397         to create a Finder node with unknown keywords.
11399 2010-03-14  Juri Linkov  <juri@jurta.org>
11401         * finder.el (finder-compile-keywords): Replace `princ' with
11402         `prin1' on a list of symbols interned from keyword strings.
11404         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11405         a comma, then split keywords using a comma and optional whitespace.
11406         Otherwise, split by whitespace.
11408         * complete.el:
11409         * face-remap.el:
11410         * log-view.el:
11411         * net/hmac-def.el:
11412         * net/hmac-md5.el:
11413         * net/netrc.el:
11414         * progmodes/mixal-mode.el: Fix keywords.
11416 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
11418         * Makefile.in (ELCFILES): Add net/secrets.elc.
11420         * net/secrets.el: New file.
11422 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11424         * facemenu.el (list-colors-display, list-colors-print): New arg
11425         callback.  Use it to allow selecting colors.
11427         * wid-edit.el (widget-image-insert): Insert image prop even if the
11428         current display is non-graphic.
11429         (widget-field-value-set): New fun.
11430         (editable-field): Use it.
11431         (widget-field-value-get): Clean up unused var.
11432         (widget-color-value-create, widget-color--choose-action):
11433         New funs.  Allow using list-colors-display to choose color.
11435 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11437         * cus-edit.el: Resort topmost custom groups.
11438         (custom-buffer-sort-alphabetically): Default to t.
11439         (customize-apropos): Use apropos-parse-pattern.
11440         (custom-search-field): New var.
11441         (custom-buffer-create-internal): Add custom-apropos search field.
11442         (custom-add-parent-links): Don't display parent doc.
11443         (custom-group-value-create): Don't sort top-level custom group.
11444         (custom-magic-value-create): Show visibility button before option name.
11446         (custom-variable-state): New fun, from custom-variable-state-set.
11447         (custom-variable-state-set): Use it.
11448         (custom-group-value-create): Hide options with standard values
11449         using the :hidden-states property.  Use progress reporter.
11451         (custom-show): Simplify.
11452         (custom-visibility): Disable images by default.
11453         (custom-variable): New property :hidden-states.
11454         (custom-variable-value-create): Enable images for
11455         custom-visibility widgets.  Use :hidden-states property to
11456         determine initial visibility.
11458         * wid-edit.el (widget-image-find): Give images center ascent.
11459         (visibility): Add :on-image and :off-image properties.
11460         (widget-visibility-value-create): Use them.
11462 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11464         * cus-edit.el (processes): Remove from development group.
11465         (oop, hypermedia): Delete group.
11466         (comm): Promote to top-level group.
11468         * net/browse-url.el (browse-url):
11469         * net/xesam.el (xesam):
11470         * net/tramp.el (tramp):
11471         * net/goto-addr.el (goto-address):
11472         * net/ange-ftp.el (ange-ftp): Put in comm group.
11474         * view.el (view): Remove from editing group.
11476         * uniquify.el (uniquify): Put in files group.
11478         * net/browse-url.el (browse-url):
11479         * ps-print.el (postscript): Put in external group.
11481         * cus-edit.el (outlines):
11482         * textmodes/text-mode.el (text-mode-hook):
11483         * textmodes/table.el (table):
11484         * textmodes/picture.el (picture):
11485         * outline.el (outlines): Put in wp group.
11487         * nxml/nxml-mode.el (nxml): Remove from wp group.
11489         * net/tramp-imap.el (tramp-imap): Put in tramp group.
11491         * mail/metamail.el (metamail): Remove from hypermedia group.
11493         * cus-edit.el (abbrev):
11494         * whitespace.el (whitespace):
11495         * vcursor.el (vcursor):
11496         * reveal.el (reveal):
11497         * hl-line.el (hl-line): Put in convenience group.
11499         * epg-config.el (epg): Put in data group.
11501         * emulation/pc-select.el (pc-select): Put in emulations group.
11503         * calculator.el (calculator): Put in applications group.
11505 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11507         Add .dir-locals.el support for file-less buffers.
11508         * files.el (hack-local-variables): Split out code to apply local
11509         variable settings ...
11510         (hack-local-variables-apply): ... here.  New function.
11511         (hack-dir-local-variables): Use the default directory for when the
11512         buffer does not have an associated file.
11513         (hack-dir-local-variables-non-file-buffer): New function.
11514         * diff-mode.el (diff-mode):
11515         * vc-annotate.el (vc-annotate-mode):
11516         * vc-dir.el (vc-dir-mode):
11517         * log-edit.el (log-edit-mode):
11518         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11520 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11522         Add support for shelving snapshots and for showing shelves.
11523         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11524         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11525         New functions.
11526         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11527         (vc-bzr-extra-menu-map): Map them.
11529 2010-03-11  Glenn Morris  <rgm@gnu.org>
11531         * cus-edit.el (customize-changed-options-previous-release):
11532         Bump to 23.1.
11534         * image.el (image-animate-max-time): Fix :version tag.
11536 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
11538         * Branch for 23.2.
11540 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11542         * vc-git.el (vc-git-revision-table): Include remote branches.
11544 2010-03-10  Kim F. Storm  <storm@cua.dk>
11546         Animated image API.
11547         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11549         * image.el (image-animate-max-time): New defcustom.
11550         (image-animated-types): New defconst.
11551         (create-animated-image, image-animate-timer)
11552         (image-animate-start, image-animate-stop, image-animate-timeout)
11553         (image-animated-p): New functions.
11555         * image-mode.el (image-toggle-display-image):
11556         Replace `create-image' with `create-animated-image'.
11558 2010-03-09  Miles Bader  <miles@gnu.org>
11560         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11561         instead of "format:"; this ensures that the output is
11562         newline-terminated.
11564 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
11566         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11567         that all errors are caught, and that the return value is always a
11568         list (Bug#5692).
11570 2010-03-08  Kenichi Handa  <handa@m17n.org>
11572         * language/misc-lang.el (windows-1256): New coding system.
11573         (cp1256): New alias of windows-1256 (bug#5690).
11575 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
11577         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11578         call to rfc822-bad-address.  (Bug#5692)
11580 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11582         * vc-git.el (vc-git-annotate-extract-revision-at-line):
11583         Use vc-git-root as default directory for revision path (Bug#5657).
11585 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
11587         * calculator.el (calculator): Don't bind split-window-keep-point
11588         (Bug#5674).
11590 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11592         * vc-git.el: Re-flow to fit into 80 columns.
11593         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11594         Remove spurious `quote' element in each case alternative.
11595         (vc-git-show-log-entry): Use prog1.
11596         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11598 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11600         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11602 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
11604         * macros.el (insert-kbd-macro): Look up keyboard macro using the
11605         definition, not the name (Bug#5481).
11607 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11609         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11610         argument with a local variable.  (Bug#5670)
11612 2010-03-02  Juri Linkov  <juri@jurta.org>
11614         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
11616 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
11618         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11619         error when FILENAME and NEWNAME are existing remote directories.
11621         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11622         parameter DIR-FLAG.
11624 2010-03-02  Glenn Morris  <rgm@gnu.org>
11626         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11627         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11629 2010-03-01  Kenichi Handa  <handa@m17n.org>
11631         * language/burmese.el (burmese-composable-pattern): Rename from
11632         myanmar-composable-pattern.
11634         * international/characters.el (script-list):
11635         * international/fontset.el (script-representative-chars):
11636         Change myanmar to burmese.
11637         (otf-script-alist): Likewise.
11638         (setup-default-fontset): Likewise.  Re-fix :otf spec.
11640 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
11642         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11644 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
11646         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11648 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11650         * net/tramp.el (tramp-handle-write-region): START can be a string.
11651         Take care in the checks.  Reported by Dan Davison
11652         <davison@stats.ox.ac.uk>.
11654 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11656         * net/dbus.el (dbus-introspect, dbus-get-property)
11657         (dbus-set-property, dbus-get-all-properties):
11658         Use `dbus-call-method' when noninteractive.  (Bug#5645)
11660 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
11662         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11663         * emacs-lisp/elint.el (elint-add-required-env):
11664         * calendar/icalendar.el (icalendar--add-diary-entry):
11665         * calc/calcalg2.el (math-tracing-integral):
11666         * files.el (recover-session-finish): Use with-current-buffer
11667         instead of save-excursion.
11669 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11671         Fix in-buffer completion when after-change-functions modify the buffer.
11672         * minibuffer.el (completion--replace): New function.
11673         (completion--do-completion): Use it and use relative movement.
11675 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
11677         * international/fontset.el (setup-default-fontset): Fix :otf spec.
11679 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
11681         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11682         Allow the characters _<> in the stack entry (Bug#5653).
11684 2010-02-26  Kenichi Handa  <handa@m17n.org>
11686         * language/burmese.el: Fix entries in composition-function-table.
11687         (myanmar-composable-pattern): New variable.
11689         * international/fontset.el (setup-default-fontset): Add an entry
11690         for myanmar.
11692         * international/characters.el (script-list): Add Myanmar
11693         Extended-A.
11695 2010-02-26  Glenn Morris  <rgm@gnu.org>
11697         * custom.el (custom-initialize-delay): Doc fix.
11699         * mail/sendmail.el (send-mail-function): Autoload the call
11700         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11702 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
11704         * files.el (hack-local-variables-filter): For eval forms, also
11705         check safe-local-variable-p (Bug#5636).
11707 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
11709         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11710         setting the modes by `ignore-errors'.  It might fail, for example
11711         if the file is not owned by the user but the group.
11712         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11714 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
11716         * files.el (directory-listing-before-filename-regexp):
11717         Use stricter matching for iso-style dates, to avoid false matches with
11718         date-like filenames (Bug#5597).
11720         * htmlfontify.el (htmlfontify): Doc fix.
11722         * eshell/eshell.el (eshell): Doc fix.
11724         * startup.el (fancy-about-screen): In mode-line, apply
11725         mode-line-buffer-id face only to the buffer name (Bug#5613).
11727 2010-02-20  Kevin Ryde  <user42@zip.com.au>
11729         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11730         In `watcom' anchor regexp to start of line, to avoid slowness
11731         (Bug#5599).
11733 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
11735         * subr.el (remove-yank-excluded-properties): Explain in a comment
11736         why `category' property is removed.
11738 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
11740         * isearch.el (isearch-update-post-hook, isearch-update):
11741         Revert 2010-02-17 change.
11743 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
11745         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11746         (icalendar--convert-weekly-to-ical)
11747         (icalendar--convert-yearly-to-ical)
11748         (icalendar--convert-block-to-ical)
11749         (icalendar--convert-cyclic-to-ical)
11750         (icalendar--convert-anniversary-to-ical): Take care of time
11751         specifications where hour has 1-digit only (Bug#5549).
11753 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
11755         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11756         of disassemble output in GDB 7.1.
11758 2010-02-19  Glenn Morris  <rgm@gnu.org>
11760         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11761         property.  (Bug#5593)
11763 2010-02-18  Sam Steingold  <sds@gnu.org>
11765         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11767 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11769         Use abbreviated file names in bookmarks (bug#5591).
11770         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11771         calls to expand-file-name.
11772         (bookmark-relocate): Use abbreviated file names in bookmarks.
11773         (bookmark-load): Use abbreviated file names in messages.
11775 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11777         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11778         expand "." and "..".  Reported by Thierry Volpiatto
11779         <thierry.volpiatto@gmail.com>.
11781 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11783         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11784         permissions of the temporary file to "0600".  In case the remote
11785         file has no read permissions for the owner, there might be
11786         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
11788 22010-02-18  Glenn Morris  <rgm@gnu.org>
11790         * emacs-lisp/authors.el (authors-renamed-files-alist):
11791         Add entries for INSTALL.CVS.
11793 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
11795         * vc-bzr.el: Fix typo in Known Bugs section.
11797         * isearch.el (isearch-update-post-hook): New hook.
11798         (isearch-update): Use the new hook.
11800 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
11802         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11803         Fix errors in copying directories.
11804         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11805         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11806         (tramp-handle-delete-file)
11807         (tramp-handle-dired-recursive-delete-directory)
11808         (tramp-handle-write-region): Flush also the cache for the upper
11809         directory.
11811 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
11813         * simple.el (save-interprogram-paste-before-kill): Doc fix.
11815         * cus-edit.el (hardware): Doc fix.
11817         * man.el (man): Add to external custom group.
11819         * delim-col.el (columns): Move to wp custom group.
11821         * doc-view.el (doc-view): Add to data custom group.
11823         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11825         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11826         by ispell-parse-output (Bug#5575).
11828 2010-02-16  Kenichi Handa  <handa@m17n.org>
11830         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11831         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11832         (skkdic-convert): Use `euc-japan' coding system for writing.
11834 2010-02-16  Glenn Morris  <rgm@gnu.org>
11836         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11837         tex-main-file before using it.  (Bug#5562)
11839 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11841         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11842         warnings, since it is annoying for the user to see them each time he
11843         runs the code.
11845 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
11847         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11848         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11849         instead of PROC for caching "first-password-request".  Otherwise,
11850         new processes would not profit from passwords already entered.
11852         * net/tramp-cache.el (tramp-dump-connection-properties):
11853         Don't save "first-password-request" property.
11855 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
11857         * outline.el (outline-head-from-level):
11858         * simple.el (with-wrapper-hook):
11859         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11860         (elint-defun, elint-buffer-env, elint-top-form-logged)
11861         (elint-unbound-variable):
11862         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11863         Fix typos in docstrings.
11865 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
11867         * files.el (insert-directory): When WILDCARD-REGEXP and
11868         FULL-DIRECTORY-P are nil, insert the file entry instead of the
11869         whole directory.  (Bug#5551)
11871         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
11872         dired's alignment sanity.  (Bug#5516)
11874 2010-02-14  Juri Linkov  <juri@jurta.org>
11876         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11877         Remove remaining ^H with their preceding chars.  (Bug#5566)
11879 2010-02-13  Glenn Morris  <rgm@gnu.org>
11881         * simple.el (transpose-subr): Give it a doc-string.
11883         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11884         Doc fixes.
11886 2010-02-12  Juri Linkov  <juri@jurta.org>
11888         * arc-mode.el (archive-unique-fname): Make directories for nested
11889         archives.  (Bug#5540)
11891 2010-02-12  Juri Linkov  <juri@jurta.org>
11893         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
11895 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11897         * subr.el (copy-overlay): Handle deleted overlays.
11899         * man.el (Man-completion-table): Don't signal an error if we can't run
11900         manual-program (bug#4056).
11902 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
11904         * textmodes/artist.el (artist-mt): Fix typos in docstring.
11906 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11908         * info.el (Info-bookmark-jump): Simplify.
11910         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11911         (bookmark-default-handler): Accept new bookmark field `buffer'.
11913 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
11915         * iswitchb.el (iswitchb-completions): Revert last change.
11917 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
11919         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11920         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11921         This prevents file names like "~/" being listed literally.
11923 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
11925         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11926         Remove dead code.  (Bug#5546)
11928 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
11930         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11931         correctly (Bug#5548).
11933 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
11935         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11936         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11938 2010-02-08  Kenichi Handa  <handa@m17n.org>
11940         * international/mule-util.el (with-coding-priority): Add autoload
11941         cookie for putting `lisp-indent-function'.
11943 2010-02-07  Glenn Morris  <rgm@gnu.org>
11945         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11946         Move F2003 named interfaces from keywords-2 to keywords-1, and
11947         use function-name-face rather than constant-face.
11948         Simplify "abstract interface" regexp.
11950 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
11952         * eshell/esh-util.el (eshell-file-attributes): New optional arg
11953         ID-FORMAT.  Pass it to `file-attributes'.
11955         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11957 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
11959         * faces.el (set-face-attribute): Allow calling
11960         internal-set-lisp-face-attribute with 'unspecified family and
11961         foundry argument (Bug#5536).
11963 2010-02-07  Glenn Morris  <rgm@gnu.org>
11965         * progmodes/f90.el (f90-font-lock-keywords-2)
11966         (f90-looking-at-type-like, f90-looking-at-program-block-end):
11967         Handle F2003 named interfaces.
11969 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
11971         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11972         beg and end before calling c-get-state-before-change-functions.
11974 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
11976         * vc-bzr.el (vc-bzr-dir-extra-headers):
11977         Disable the pending merges header.
11979 2010-02-05  Juri Linkov  <juri@jurta.org>
11981         * doc-view.el (doc-view-mode):
11982         * image-mode.el (image-mode): Put property mode-class=special.
11983         (Bug#4896)
11985 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
11987         * vc-svn.el (vc-svn-revision-table): New function.
11989 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
11991         * net/ange-ftp.el (ange-ftp-insert-directory):
11992         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11993         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11994         Handle also directories.  (Bug#5478)
11996 2010-02-05  Glenn Morris  <rgm@gnu.org>
11998         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12000 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
12002         * startup.el (command-line-1): Convert options beginning with a
12003         single dash as well (Bug#5519).
12005 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12007         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12008         * minibuffer.el (completion-initials-expand): Only check the presence
12009         of delims *within* the boundaries, since otherwise the / delim is
12010         always found for files.
12012         Fix up various corner case problems.
12013         * doc-view.el (doc-view-last-page-number): New function.
12014         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12015         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12016         (doc-view-kill-proc): Avoid inf-loop in freak cases.
12017         (doc-view-reconvert-doc): Use the new recursive delete-directory.
12018         (doc-view-convert-current-doc): Don't create the resolution.el file
12019         here any more.
12020         (doc-view-pdf/ps->png): Do it here instead.
12021         (doc-view-already-converted-p): Check that resolution.el is present.
12022         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12023         windows that are not yet showing images.
12025 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
12027         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12028         `dired-uncache' for every elemnt which is an absolute file name.
12030         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12031         directory, handle its directory component.
12032         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12033         function is called permanently and creates noise, otherwise.
12035         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12036         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12037         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
12039 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
12041         * macros.el (apply-macro-to-region-lines):
12042         Minor simplification.  (Bug#5485)
12044 2010-02-04  Glenn Morris  <rgm@gnu.org>
12046         * mail/rmail.el (rmail-show-message-1): Handle malformed
12047         quoted-printable text.  (Bug#5441)
12049         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12051         * simple.el (visual-line-mode): Capitalize lighter.
12053 2010-02-03  John Wiegley  <jwiegley@gmail.com>
12055         * iswitchb.el (iswitchb-completions): Add bookmark files to the
12056         list of files considered for "virtual buffer" completions.
12058 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
12060         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12061         also in case of (and (not full) (not wildcard)).  This is needed
12062         when dired is called with a list of files, which are not in
12063         `default-directory'.  (Bug#5478)
12065 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12067         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12069 2010-02-02  Juri Linkov  <juri@jurta.org>
12071         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12072         from unidiff to allow function-line after @@.
12074 2010-02-02  Juri Linkov  <juri@jurta.org>
12076         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12077         '(RCS SCCS) with inverted condition.
12079 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
12081         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12082         messages.
12084 2010-02-01  Juri Linkov  <juri@jurta.org>
12086         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12087         compare with "pkunzip" and "pkzip" instead of only "pkzip".
12088         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12089         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
12091 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12093         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12094         (doc-view-revert-buffer): New command.
12095         (doc-view-mode-map): Use it.
12097 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
12099         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12100         pending merge is detected.
12102 2010-01-31  Juri Linkov  <juri@jurta.org>
12104         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12105         beginning of interactive spec like all other grep commands do.
12106         Put "all" in front of "gz".  (Bug#5260)
12108 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
12110         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12112 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
12114         * dirtrack.el (dirtrack): Warn instead of signalling error if the
12115         regexp is incorrect (Bug#5476).
12117 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
12119         * net/tramp.el (tramp-handle-insert-directory): Handle also
12120         symlinks, when FILENAME is not in `default-directory'.
12122 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12124         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12125         FILE is not in `default-directory'.  (Bug#5478)
12127         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12128         of SWITCHES.  Handle the case, FILENAME is not in
12129         `default-directory'.  (Bug#5478)
12130         (tramp-register-file-name-handlers): Add safe-magic property.
12132 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
12134         * arc-mode.el (archive-zip-extract): Quote the argument passed to
12135         unzip (Bug#5475).
12137 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
12139         * progmodes/flymake.el (flymake-allowed-file-name-masks)
12140         (flymake-master-make-header-init): Add other C++ filename masks.
12141         (flymake-find-possible-master-files)
12142         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12144 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12146         Fix some busybox annoyances.
12148         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12149         not responding." string.
12150         (tramp-open-connection-setup-interactive-shell): Dump stty
12151         settings.  Enable "neveropen" arg for all `tramp-send-command'
12152         calls.  Handle "=" in variable values properly.
12153         (tramp-find-inline-encoding): Raise an error, when no encoding is
12154         found.
12155         (tramp-wait-for-output): Check, whether PROC buffer is available.
12156         Remove spurious " ^H" sequences, sent by busybox.
12157         (tramp-get-ls-command): Suppress coloring, if possible.
12159 2010-01-28  Glenn Morris  <rgm@gnu.org>
12161         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
12163         * log-edit.el (log-edit-strip-single-file-name): Add missing
12164         :safe, :group, and :version tags.
12166 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
12168         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12169         buffers.  (Bug#5477)
12171 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
12173         * files.el (delete-directory): Handle moving to trash without
12174         first doing recursion (Bug#5436).
12176 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
12178         * vc-hooks.el (vc-path): Mark as obsolete.
12180 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
12182         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12183         names too.
12185         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12186         for the short log.
12187         (vc-bzr-log-view-mode): Adjust regexp for the above change.
12189 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
12191         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12193         * vc-bzr.el (vc-bzr-revision-table): New function.
12195 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
12197         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12198         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
12200 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
12202         Remove support for adding --signoff on commit.
12203         Future support will use an incompatible generic mechanism.
12204         * vc-git.el (vc-git-add-signoff): Remove variable.
12205         (vc-git-toggle-signoff): Remove function.
12206         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12208         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12209         Rename from xterm-set-background-mode.  Return t if the background mode
12210         was set.
12211         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12212         earlier, call it again in case the background mode has changed.
12214 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
12216         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12217         (Bug#3541).
12219 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
12221         * emacs-lisp/assoc.el (aelement): Doc fix.
12222         (aput, adelete, amake): Use lexical-let (Bug#5450).
12224 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
12226         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12227         is the same as subprogram call, not declaration.  (Bug#5435).
12229 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
12231         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12232         (tramp-smb-maybe-open-connection): Use it.
12234 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
12236         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
12238 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12240         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12241         just because we see "encoding: 8bit".
12242         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12244 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
12246         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12248 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
12250         * jka-compr.el (jka-compr-load): If load-file is not in
12251         load-history, try its file-truename version.  (bug#5447)
12253 2010-01-21  Alan Mackenzie  <acm@muc.de>
12255         Fix a situation where deletion of a cpp construct throws an error.
12256         * progmodes/cc-engine.el (c-invalidate-state-cache):
12257         Before invoking c-with-all-but-one-cpps-commented-out, check that the
12258         special cpp construct is still in the buffer.
12259         (c-parse-state): Record the special cpp with markers, not numbers.
12261 2010-01-21  Kenichi Handa  <handa@m17n.org>
12263         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12264         process last-command-event, as it is now decoded first (Bug#5380).
12266 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
12268         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12270 2010-01-20  Glenn Morris  <rgm@gnu.org>
12272         * indent.el (tab-always-indent): Fix custom-type.
12274 2010-01-19  Alan Mackenzie  <acm@muc.de>
12276         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12277         buffer throws "args out of range".
12278         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12279         playing the role of delimiter.
12281 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
12283         * progmodes/ada-mode.el: Fix bug#5400.
12284         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12285         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12286         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
12287         Improve comments in "is" portion.  Handle null procedure declaration.
12288         (ada-move-to-end): Improve doc string.
12290 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
12292         * ido.el (ido-cur-list): Initialize to nil.
12293         Remove obsolete information from commentary.
12294         (ido-choice-list): Initialize to nil.
12295         (ido-get-bufname): Reject minibuffers.
12296         (ido-make-buffer-list): If "default" is a nonexistent
12297         buffer, ignore it, as per the function's comment.
12298         (ido-kill-buffer-internal): New function.
12299         (ido-kill-buffer-at-head): Use it.
12300         (ido-visit-buffer): Likewise.
12302 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
12304         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12306 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
12308         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12309         Fix typos in chart titles.
12311         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12312         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12313         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12314         (describe-class, eieio-describe-generic, describe-generic):
12315         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12316         (eieio-speedbar-expand):
12317         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12318         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12319         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12320         (viper-del-backward-char-in-replace, viper-backward-indent)
12321         (viper-brac-function, viper-register-to-point, viper-submit-report):
12322         * net/tramp.el (tramp-remote-coding-commands):
12323         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12324         Fix typos in docstrings.
12326 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
12328         * mail/sendmail.el (mail-yank-original): Set the mark if the
12329         specified function for yanking does not do it.
12331 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
12333         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
12335         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12336         resyncing a directory.
12338 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
12340         * progmodes/ada-mode.el: Fix bug#1920.
12341         (ada-ident-re): Delete ., allow multibyte characters.
12342         (ada-goto-label-re): New; matches goto labels.
12343         (ada-block-label-re): New; matches block labels.
12344         (ada-label-re): New; matches both.
12345         (ada-named-block-re): Deleted; callers changed to use
12346         `ada-block-label-re' instead.
12347         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12348         Use `ada-block-label-re'.
12349         (ada-indent-on-previous-lines): Improve handling of goto labels.
12350         (ada-get-indent-block-start): Special-case block label.
12351         (ada-get-indent-label): Split into `ada-indent-block-label' and
12352         `ada-indent-goto-label'.
12353         (ada-goto-stmt-start, ada-goto-next-non-ws):
12354         Optionally ignore goto labels.
12355         (ada-goto-next-word): Simplify.
12356         (ada-indent-newline-indent-conditional): Insert newline before
12357         trying to fix indentation; doc fix.
12359 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
12361         * calc/calc.el (calc-command-flags): Give it an initial value.
12363 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
12365         * files.el (minibuffer-with-setup-hook):
12366         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12367         (artist-key-draw-continously, artist-key-do-continously-continously)
12368         (artist-key-set-point-continously, artist-mouse-draw-continously):
12369         Fix typos in docstrings.
12371 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
12373         * nxml/nxml-mode.el (nxml-extend-after-change-region):
12374         Never return t (Bug#3898).
12376 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
12378         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12379         can parse the output of the external commands (Bug#5279).
12381 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
12383         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12385 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
12387         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12389         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12391         * startup.el (command-line): Remove unused --icon-type arg.
12392         Handle --display arg, passing it to command-line-1 (Bug#5392).
12394 2010-01-16  Mario Lang  <mlang@delysid.org>
12396         * emacs-lisp/chart.el (chart-translate-namezone):
12397         * textmodes/artist.el (artist-compute-popup-menu-table):
12398         Remove duplicated words in doc-strings.
12400 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
12402         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12403         to mairix-search to suppress threading (Bug#5342).
12405 2010-01-15  Kenichi Handa  <handa@m17n.org>
12407         * international/mule-cmds.el (canonicalize-coding-system-name):
12408         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12410 2010-01-15  Glenn Morris  <rgm@gnu.org>
12412         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
12414         * wid-edit.el (widget-keymap): Doc fix.
12416         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12417         former seems to be more widely accepted by various svn versions.
12419 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12421         * find-cmd.el (find-constituents):
12422         * vc-arch.el (vc-arch-root):
12423         * window.el (window-body-height, pop-up-frames):
12424         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12425         * progmodes/ada-stmt.el (ada-if):
12426         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12427         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12428         (ispell-encoding8-command, ispell-aspell-supports-utf8)
12429         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12431         * progmodes/flymake.el (flymake-post-syntax-check):
12432         Fix typo in error message.
12434 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12436         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12437         which is always a string.  (Bug#5313)
12439 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12441         * progmodes/ada-xref.el (ada-default-prj-properties):
12442         Simplify previous change.
12444 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12446         * progmodes/ada-xref.el (ada-default-prj-properties):
12447         Default ada_project_path to $ADA_PROJECT_PATH.
12449 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12451         * progmodes/ada-mode.el (ada-create-keymap):
12452         Override `narrow-to-defun' with `ada-narrow-to-defun'.
12454 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12456         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12457         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12458         (ada-get-current-indent, ada-imenu-generic-expression)
12459         (ada-which-function): Check for it.
12461 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12463         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12464         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12466 2010-01-14  Glenn Morris  <rgm@gnu.org>
12468         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
12470 2010-01-14  Kenichi Handa  <handa@m17n.org>
12472         * composite.el (auto-composition-mode): Make it a buffer local
12473         variable (permanent-local).
12474         (auto-composition-function): Set the default value to
12475         auto-compose-chars.
12476         (auto-composition-mode): Make it a simple function, not a minor mode.
12477         (global-auto-composition-mode): Likewise.
12478         (turn-on-auto-composition-if-enabled): Delete it.
12480 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
12482         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12484 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
12486         * files.el (copy-directory): Compute target for recursive
12487         directories with identical names.  (Bug#5343)
12489 2010-01-12  Glenn Morris  <rgm@gnu.org>
12491         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12492         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12494 2010-01-11  Sam Steingold  <sds@gnu.org>
12496         * imenu.el (imenu-default-create-index-function): Detect infinite
12497         loops caused by imenu-prev-index-position-function.
12499 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12501         * htmlfontify.el (htmlfontify-load-rgb-file)
12502         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12503         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12504         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12505         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12506         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12507         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12508         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12509         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12510         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12511         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12512         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12513         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12514         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12515         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12516         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12517         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12518         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12519         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12520         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12521         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12522         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12523         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12524         backslash-quoting from parentheses, etc.
12526 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
12528         * progmodes/js.el: Autoload javascript-mode alias.
12530 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12532         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12533         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12534         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12535         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12536         Fix typos in docstrings.
12537         (ffap-url-regexp): Doc fix.
12538         (ffap-at-mouse): Fix typo in message.
12540 2010-01-11  Glenn Morris  <rgm@gnu.org>
12542         * version.el (emacs-copyright): Set copyright year to 2010.
12544 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12546         * format.el (format-annotate-function): Only set
12547         write-region-post-annotation-function after running to-fn so as not to
12548         affect nested write-region calls (bug#5273).
12550 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
12552         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12553         wisent/python.el.
12555 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12557         * man.el (Man-goto-section): Signal error if the section is not
12558         found (Bug#5317).
12560 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
12562         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12563         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
12565 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12567         * progmodes/compile.el: Don't treat compile-command as safe if
12568         compilation-read-command might be nil (Bug#4218).
12570 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
12572         * startup.el (command-line-1): Use orig-argi to check for ignored X and
12573         NS options.
12575 2010-01-08  Kenichi Handa  <handa@m17n.org>
12577         * international/fontset.el (build-default-fontset-data):
12578         Exclude characters in scripts kana, hangul, han, or cjk-misc.
12580 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
12582         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12583         to `create-file-buffer' as it expects, not just a buffer name.
12584         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12585         to help uniquify.  (Bug#3224)
12587 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
12589         * font-setting.el (font-setting-change-default-font): Use user-spec
12590         instead of name.
12592 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
12594         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12596 2010-01-05  Tom Tromey  <tromey@redhat.com>
12598         * progmodes/python.el (python-font-lock-keywords):
12599         Handle qualified decorators (Bug#881).
12601 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12603         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12604         in a lightweight checkout.
12606 2010-01-05  Kenichi Handa  <handa@m17n.org>
12608         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12610 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12612         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12614 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
12616         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12617         checkouts.  (Bug#618)
12618         (vc-bzr-log-view-mode): Also highlight the author.
12619         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12620         (vc-bzr-shelve-menu-map):
12621         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12622         (vc-bzr-shelve-apply): Make prompt more explicit.
12624 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
12626         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12627         They are valid characters in URL paths (rfc3986), and at least
12628         Firefox does not understand the encoded version (Bug#3166).
12630 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
12632         * progmodes/octave-mod.el (octave-end-keywords)
12633         (octave-block-begin-or-end-regexp, octave-block-match-alist):
12634         Add "end" keyword (Bug#3061).
12635         (octave-end-as-array-index-p): New function.
12636         (calculate-octave-indent): Use it.
12638 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12640         * bookmark.el: Consistently put the text property on the bookmark name.
12641         (bookmark-bmenu-marks-width): Bump back to 2, to include
12642         annotation marks.
12643         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12644         property on the bookmark name, instead of not putting it at all.
12645         (bookmark-bmenu-list): Fix where we put the text property.
12647 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12649         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12650         for showing buffer modified state (as added in the previous change).
12652 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12654         * bookmark.el: Show modified state of bookmark buffer more accurately.
12655         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12656         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12657         (with-buffer-modified-unmodified): New macro.
12658         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12659         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12660         Use new macro to preserve the buffer modified state.
12662 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12664         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12665         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12666         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12667         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12668         (bookmark-bmenu-rename, bookmark-bmenu-locate)
12669         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12670         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12672 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12674         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12675         Make the lines in the generated doc string shorter.  (Bug#4668)
12677 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
12679         * net/rcirc.el: Add follow-link binding (Bug#4738).
12681 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12683         * Makefile.in (bzr-update): Rename from cvs-update.
12684         (cvs-update): New target for backward compatibility.
12686         * makefile.w32-in (bzr-update): Rename from cvs-update.
12687         (cvs-update): New target for backward compatibility.
12689 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12691         * bookmark.el: Remove gratuitous gratitude.
12693 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12695         * bookmark.el (bookmark-bmenu-any-marks): New function.
12696         (bookmark-bmenu-save): Clear buffer modification if no marks.
12698 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12700         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12701         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12702         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12703         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12705         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12706         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12707         To: emacs-devel {_AT_} gnu.org
12708         Subject: bookmark.el bug report
12709         Date: Mon, 28 Dec 2009 14:19:16 +0800
12710         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12712 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12714         * bookmark.el: Improvements suggested by Drew Adams:
12715         (bookmark-bmenu-ensure-position): New name for
12716         `bookmark-bmenu-check-position'.  Just ensure the position,
12717         don't return any meaningful value.
12718         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12719         New constants.
12721 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
12723         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12724         (bookmark-yank-point, bookmark-bmenu-check-position):
12725         Fix typos in docstrings.
12726         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12727         (bookmark-name-from-full-record, bookmark-get-position)
12728         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12729         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12730         Remove useless quoting of parenthesis, etc. in docstrings.
12732         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12733         (ediff-append-custom-diff): Fix typo in error message.
12734         (ediff-meta-mark-equal-files): Fix typos in messages.
12736         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12738         * net/imap-hash.el (imap-hash-make): Doc fix.
12739         (imap-hash-test): Fix typo in error message; reflow docstring.
12740         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12741         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12742         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12743         Fix typos in docstrings.
12744         (imap-hash-open-connection): Fix typo in error message.
12746         * play/gomoku.el (gomoku): Fix typos in docstring.
12748         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12749         (gdb-jsonify-buffer): Fix typos in docstring.
12750         (gdb-goto-breakpoint): Fix typo in error message.
12751         ("Display Other Windows"): Fix typo in help message.
12752         (gdb-speedbar-expand-node): Fix typo in question.
12754         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12755         (idlwave-html-system-help-location, idlwave-html-help-location)
12756         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12757         (idlwave-help-browser-generic-args, idlwave-help-directory)
12758         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12759         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12760         (idlwave-online-help, idlwave-help-html-link)
12761         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12762         Fix typos in docstrings.
12763         (idlwave-help-with-source, idlwave-help-find-routine-definition):
12764         Reflow docstrings.
12765         (idlwave-help-assistant-start): Fix typo in error message.
12767         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12768         (octave-electric-space): Fix typos in docstrings.
12770 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
12772         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12774 2010-01-01  Juri Linkov  <juri@jurta.org>
12776         * comint.el (comint-input-ring-size): Make it a defcustom and
12777         increase the default to 500 (Bug#5148).
12779 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
12781         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12782         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12783         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12785 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
12787         Show working revision correctly for mercurial.
12788         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12789         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12791 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
12793         Declare some functions for the byte-compiler.
12794         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12795         (speedbar-timer-fn, speedbar-change-expand-button-char)
12796         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12798 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
12800         This changeset reverts GDB Graphical Interface to use annotations.
12801         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12803 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
12805         Make vc-dir work on subdirectories of the bzr root.
12806         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12807         Return file names relative to it.
12808         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12809         relative directory to vc-bzr-after-dir-status.
12811 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
12813         * font-lock.el (font-lock-refresh-defaults): New function, which
12814         can be used to let font-lock react to external changes in
12815         variables like font-lock-defaults and keywords.
12816         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12818 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
12820         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12822         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12824 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
12826         Supersede color.diff settings in git log (bug#5211).
12828         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12829         escape chars in its output when the user has color.diff set to `always'.
12830         This fix works on git 1.4.2 and newer (released on 2006-08-13).
12832 2009-12-26  Kevin Ryde  <user42@zip.com.au>
12834         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12835         node.  Keep previous "Index" name to work with past coreutils too.
12837         * man.el (man): Revise docstring a bit to show -a and -l as
12838         examples.  Add -k description since support for it has otherwise
12839         been a secret.  (Further to bug#3717.)
12840         (Man-bgproc-sentinel): When "-k foo" produces no output show error
12841         "no matches" rather than "Can't find manpage", as the latter reads
12842         like -k was interpreted as a page name, which is not so.  (Bug#5431)
12844 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
12846         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12847         switches.  Check also for //SUBDIRED// line.
12849 2009-12-25  Kenichi Handa  <handa@m17n.org>
12851         * language/indian.el (devanagari-composable-pattern): Fix to
12852         handle ZWNJ and ZWJ.  Use it in composition-function-table for
12853         Devanagari.
12854         (malayalam-composable-pattern): Fix previous change.
12856 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12858         * ps-print.el (ps-face-attributes): It was not returning the
12859         attribute face for faces specified as string.  Reported by harven
12860         <harven@free.fr>.  (Bug#5254)
12861         (ps-print-version): New version 7.3.5.
12863 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
12865         * calendar/icalendar.el (icalendar--convert-tz-offset):
12866         Fix timezone names.
12867         (icalendar--convert-tz-offset): Fix the "last-day-problem".
12868         (icalendar--add-diary-entry): Remove the trailing blank that
12869         diary-make-entry inserts.
12871 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
12873         Make `file-expand-wildcards' work for remote files.
12875         * files.el (file-expand-wildcards): In case of remote files, check
12876         only local file name part for wildcards.  Provide feature 'files
12877         and subfeature 'remote-wildcards.  (Bug#5198)
12879         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12880         if there is already an established connection.
12881         (tramp-advice-file-expand-wildcards): Remove it.
12883         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12884         (tramp-advice-file-expand-wildcards): Move from tramp.el.
12885         Activate advice for older GNU Emacs versions.  (Bug#5237)
12887 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
12889         Some doc fixes (more needed).
12891         * find-cmd.el (find-constituents): Reflow docstring.
12892         (find-cmd, find-prune, find-command): Fix typos in docstrings.
12893         (find-generic): Doc fix.
12895 2009-12-17  Juri Linkov  <juri@jurta.org>
12897         Fix regression from 23.1 to allow multiple modes in Local Variables.
12899         * files.el (hack-local-variables-filter): While ignoring duplicates,
12900         don't take `mode' into account.
12901         (hack-local-variables-filter, hack-dir-local-variables):
12902         Don't remove duplicate `mode' from local-variables-alist (like `eval').
12904 2009-12-17  Juri Linkov  <juri@jurta.org>
12906         Make `dired-diff' safer.  (Bug#5225)
12908         * dired-aux.el (dired-diff): Signal an error when `file' equals to
12909         `current' or when `file' is a directory of the `current' file.
12911 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
12913         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12914         unconditionally preloaded files.
12916 2009-12-16  Juri Linkov  <juri@jurta.org>
12918         Revert to old 23.1 logic of using the file at the mark as default.
12919         * dired-aux.el (dired-diff): Use the file at the mark as default
12920         if it's not the same as the current file, and the target dir is
12921         the current dir or the mark is active.  Add the current file
12922         as the arg of `dired-dwim-target-defaults'.  Use the default file
12923         in the prompt.  (Bug#5225)
12925 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
12927         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12928         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12929         (tramp-check-for-regexp): Check also, when an echoing shell stops
12930         to echo sent commands.
12932 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12934         * Makefile.in: Revert last change (Bug#5191).
12936 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
12938         * vc-hg.el (vc-hg-print-log): Fix argument order.
12939         (vc-hg-working-revision): Make sure the command is executed in a
12940         known environment so that we can parse the output.  (Bug#4417)
12942 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12944         * progmodes/python.el (python-symbol-completions): Remove text
12945         properties from symbol string before calling python-send-receive.
12947 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
12949         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12950         when there are values for both file and line.  (Bug#5060)
12952 2009-12-14  Juri Linkov  <juri@jurta.org>
12954         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12955         whitespace after the file name of the first line of unified format,
12956         because git-diff doesn't output whitespace and file modification time
12957         after the file name.
12959 2009-12-14  David Kastrup  <dak@gnu.org>
12961         * info.el (Info-hide-cookies-node): Before hiding a cookie,
12962         check if it already has the `display' property added by
12963         `Info-display-images-node', and not put the `invisible' property
12964         in this case.
12966 2009-12-13  Glenn Morris  <rgm@gnu.org>
12968         * mail/emacsbug.el (message-sort-headers): Define for compiler.
12969         (report-emacs-bug): In message-mode, sort manually before storing
12970         original report text.  (Bug#5178)
12971         Remove superfluous save-excursion.
12973 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
12975         * net/dbus.el (dbus-property-handler): Filter lambda forms out
12976         when responding to "GetAll" properties.
12978 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
12980         * simple.el (compose-mail): Remove mail-setup-with-from from
12981         customization checks.
12983 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
12985         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12986         RAR archives created on Unix systems.
12988 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12990         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12991         the varalias that was accidentally removed by the 2009-11-19 change
12992         (bug#5186).
12994 2009-12-12  Kenichi Handa  <handa@m17n.org>
12996         * language/indian.el (indian-compose-regexp): New function.
12997         (malayalam-composable-pattern): Fix the pattern.
12998         (composition-function-table): Set malayalam-composable-pattern for
12999         Malayalam characters.
13001 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
13003         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13004         rather than down-mouse-1, based on follow-link conventions.
13006         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13007         are compiled.
13009 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
13011         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13012         (verilog-vmm-statement-re, verilog-ovm-statement-re)
13013         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13014         (verilog-leap-to-head, verilog-backward-token):
13015         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
13017 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
13019         * progmodes/verilog-mode.el (verilog-auto-lineup)
13020         (verilog-nameable-item-re): Cleanup user-visible spelling and
13021         documentation errors.  One reported by Gary Delp.
13022         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13023         (verilog-read-decls): Fix AUTOWIRE with types declared in a
13024         package, bug195.  Reported by Pierre-David Pfister.
13026 2009-12-11  Glenn Morris  <rgm@gnu.org>
13028         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13030         * mail/emacsbug.el: No longer require sendmail.
13031         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
13032         (report-emacs-bug-orig-text): Doc fix.
13033         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13034         New local variables, to adapt to different mail-user-agents.
13035         (report-emacs-bug): Fix test for a gnu.org address.
13036         Use overlays for emphasis, since font-lock defeats 'face property.
13037         Pretest bugs also end up at the newsgroup these days.
13038         Stop message-mode stripping text properties.
13039         Set and use the new buffer-local variables.
13040         (report-emacs-bug-hook): Add doc-string.
13041         Remove some unnecessary save-excursions and simplify.
13042         Use the appropriate hook and send-command.
13044         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13045         capitalization of some menu entries.
13047 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13049         * whitespace.el (whitespace-display-char-on):
13050         Ensure `buffer-display-table' is unique when two or more windows are
13051         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13052         New version 12.1.
13054 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
13056         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13057         characters in the Attribute field.
13059 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
13061         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
13063 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13065         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13066         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13067         Disregard autoload-excludes.
13068         (update-directory-autoloads): Obey autoload-excludes here instead.
13069         But don't store its contents in no-autoloads and remove entries that
13070         refer to excludes files.
13072 2009-12-10  Glenn Morris  <rgm@gnu.org>
13074         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13075         (expand-mail-aliases): Define for compiler.
13077         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13078         Define for compiler.
13080         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13081         appropriate for the mail-user-agent in use.
13083 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
13085         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13087 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
13089         Fix short log parsing and fontification.
13090         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13091         Fix fontification for the [merge] label.
13093 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
13095         Drop some properties to avoid surprises (bug#5002).
13096         * htmlfontify.el (hfy-ignored-properties): New defcustom.
13097         (hfy-fontify-buffer): Use it.
13099 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13101         Minor cleanup.
13102         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13103         Adjust all callers.
13104         (ffap-locate-file): Remove unused arg `dir-ok' and make other
13105         args compulsory.  Adjust callers.
13106         (ffap-gopher-at-point): Remove unused var `name'.
13108         Get rid of the ELCFILES abomination.
13109         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13110         (compile-elcfiles): New phony target.
13111         (compile-main): Compute ELCFILES dynamically.
13112         (compile-clean): New target to remove left-over elc files.
13113         (compile, all): Use it.
13115 2009-12-09  Kenichi Handa  <handa@etlken>
13117         * international/mule-diag.el: Require help-mode instead of help-fns.
13119 2009-12-09  Kenichi Handa  <handa@m17n.org>
13121         * international/mule-cmds.el (ucs-names): Supply sufficiently
13122         fine ranges instead of pre-calculating accurate ranges.
13123         Iterate with bigger gc-cons-threshold.
13125 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
13127         Add support for stashing a snapshot of the current tree.
13128         * vc-git.el (vc-git-stash-snapshot): New function.
13129         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13131 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
13133         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13134         instead of `(beginning|end)-of-line'.
13136 2009-12-08  Glenn Morris  <rgm@gnu.org>
13138         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13140         * Makefile.in (ELCFILES): Regenerate.
13142 2009-12-07  Juri Linkov  <juri@jurta.org>
13144         Don't lazy-highlight the comint output in history Isearch mode.
13146         * comint.el (comint-history-isearch-search): Instead of
13147         `comint-line-beginning-position', use `comint-after-pmark-p'
13148         to check if point if before the process mark, and go to
13149         `process-mark' in this case.
13151 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13153         * textmodes/tex-mode.el (latex-complete)
13154         (latex-indent-or-complete): Remove.
13155         (latex-mode): Set completion-at-point-functions instead.
13157         Provide a standard completion command and hook it into TAB.
13158         * minibuffer.el (completion-at-point-functions): New var.
13159         (completion-at-point): New command.
13160         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13161         * progmodes/python.el (python-mode-map): Use completion-at-point.
13162         (python-completion-at-point): Rename from python-partial-symbol and
13163         adjust for use in completion-at-point-functions.
13164         (python-mode): Setup completion-at-point for Python completion.
13165         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13166         extracted from lisp-complete-symbol.
13167         (lisp-complete-symbol): Use it.
13168         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13169         setup completion-at-point for Elisp completion.
13170         (emacs-lisp-mode-map, lisp-interaction-mode-map):
13171         Use completion-at-point.
13172         * ielm.el (ielm-map): Use completion-at-point.
13173         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13174         * progmodes/sym-comp.el: Move to...
13175         * obsolete/sym-comp.el: Move from progmodes.
13177 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
13179         Prevent save-buffer in Rmail buffers from using the coding-system
13180         of the current message, and from clobbering the encoding mnemonics
13181         in the mode line (Bug#4623).
13183         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13184         flag, too.
13185         (rmail-message-encoding): New variable.
13186         (rmail-write-region-annotate): Record the encoding of the current
13187         message in rmail-message-encoding.
13188         (rmail-after-save-hook): New function, restores the encoding of
13189         the current message after the message collection is saved.
13191 2009-12-07  Juri Linkov  <juri@jurta.org>
13193         * progmodes/grep.el (grep-read-files): Use `completing-read'
13194         instead of `read-string'.  Set its `collection' arg to
13195         `read-file-name-internal'.  (Bug#4301)
13197 2009-12-07  Juri Linkov  <juri@jurta.org>
13199         Correctly restore original Isearch point.  (Bug#4994)
13201         * isearch.el (isearch-mode): Move `isearch-push-state' after
13202         `(run-hooks 'isearch-mode-hook)'.
13203         (isearch-cancel): When `isearch-push-state-function' is defined,
13204         let-bind `isearch-cmds' to the first state (the last element of
13205         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13206         function and restores the original point).  Otherwise, move point
13207         to `isearch-opoint'.
13209 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13211         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13212         chars that don't have names, so the table can be built much faster at
13213         run-time.
13215 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
13217         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13218         change.  Suggested by David Kastrup.
13220         * simple.el (compose-mail): Check for incompatibilities and warn.
13221         (compose-mail-user-agent-warnings): New option.
13223 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13225         Support showing a single log entry from vc-annotate.
13226         * vc.el (print-log): Add a new argument: START-REVISION.
13227         (vc-print-log-internal): Add a new optional argument and
13228         pass it to the backend.
13229         (vc-print-log, vc-print-root-log): Adjust callers.
13230         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13231         buffer already displays the requested log entry, use it.
13232         Otherwise display only the log entry in question.
13233         * vc-svn.el (vc-svn-print-log):
13234         * vc-mtn.el (vc-mtn-print-log):
13235         * vc-hg.el (vc-hg-state):
13236         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13237         (vc-git-show-log-entry): Return t on success.
13238         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13239         (vc-bzr-show-log-entry): Return t on success.
13240         * vc-rcs.el (vc-rcs-print-log):
13241         * vc-sccs.el (vc-sccs-print-log):
13242         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13244 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13246         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13247         Add menus to the meta mode.  (Bug#5043)
13249 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13251         * ediff-init.el (ediff-event-key): Use event-to-character instead of
13252         event-key.
13254         * ediff.el (ediff-buffers-internal): Add unwind-protect.
13256 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
13258         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
13259         Berbain <raphael.berbain@gmail.com>.
13261         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
13262         characters.
13263         (tramp-initial-end-of-output): New defconst.
13264         (tramp-methods, tramp-find-shell)
13265         (tramp-open-connection-setup-interactive-shell)
13266         (tramp-maybe-open-connection): Use it.
13267         (tramp-shell-prompt-pattern, tramp-wait-for-output):
13268         Handle existence of `#' and `$'.
13270         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13271         Use `tramp-initial-end-of-output'.
13273 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13275         Get the background mode from the terminal for xterm, and set
13276         faces accordingly.
13277         * term/xterm.el (xterm-set-background-mode): New function.
13278         (terminal-init-xterm): Use it in case xterm supports background
13279         color queries.  Recompute faces after getting the background
13280         color.
13282 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
13284         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13285         number comment back on its own line, for easier parsing.
13287 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13289         Make it work for non-file buffers (bug#5102).
13290         * doc-view.el (doc-view-current-cache-dir):
13291         Use doc-view-buffer-file-name rather than buffer-file-name.
13292         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13294 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
13296         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13297         author field is too short.
13299 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
13301         * vc-git.el (vc-git-print-log): Handle a limit argument.
13302         Display the short log in graph form and with labels.
13303         (vc-git-log-view-mode): Handle labels.
13305         Make vc-revert change VC state from 'added to 'unregistered.
13306         * vc-git.el (vc-git-revert): Call git reset first.
13308 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13310         * net/newst-backend.el, net/newst-plainview.el:
13311         * net/newst-reader.el, net/newst-ticker.el:
13312         * net/newst-treeview.el, net/newsticker.el:
13313         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
13315 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13317         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13319         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13320         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
13321         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13322         Update annotation regexp.
13324         * simple.el (beginning-of-visual-line): Constrain to field
13325         boundaries (Bug#5106).
13327 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13329         * xml.el (xml-substitute-numeric-entities):
13330         Move newsticker--decode-numeric-entities in newst-backend.el to
13331         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13332         * net/newst-backend.el (newsticker--parse-generic-feed)
13333         (newsticker--parse-generic-items)
13334         (newsticker--decode-numeric-entities):
13335         Move newsticker--decode-numeric-entities in newst-backend.el to
13336         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13338 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
13340         * progmodes/js.el (js--js-not): Add null to the list of values.
13342 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13344         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13346 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13348         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13349         delimiter if it is at the end of the current line.
13350         (bibtex-generate-url-list): Fix docstring.
13352 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13354         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13355         minibuffer's content with itself.
13356         Fold the confirm-after-completion case into the `confirm' case.
13357         (completion-pcm-word-delimiters): Add : and / to the delimiters.
13359 2009-12-06  Kevin Ryde  <user42@zip.com.au>
13361         * ffap.el (ffap-rfc-path): Make this a defcustom since
13362         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
13364         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13365         manuals, similar to existing setup for help-mode.  (Bug#3913.)
13367 2009-12-05  Juri Linkov  <juri@jurta.org>
13369         Save and restore dired buffer's point positions too.  (Bug#4880)
13371         * dired.el (dired-save-positions): Return in the first element
13372         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13373         Doc fix.
13374         (dired-restore-positions): First restore buffer's position.
13375         While restoring window's positions, check if window still displays
13376         the original buffer.
13378 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
13380         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13381         if possible.
13383         * shell.el (shell): Require ansi-color (Bug#5113).
13385         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13387         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13389 2009-12-05  Alan Mackenzie  <acm@muc.de>
13391         * progmodes/cc-mode.el (c-before-hack-hook)
13392         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13393         `c-file-style' to work again.  This reversion restores the current
13394         software to its state in Emacs 23.1.  (Bug#4146)
13396 2009-12-05  Kevin Ryde  <user42@zip.com.au>
13398         * textmodes/sgml-mode.el (sgml-lexical-context):
13399         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13401 2009-12-05  Juri Linkov  <juri@jurta.org>
13403         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13404         for virtual nodes.  (Bug#4147)
13405         (Info-find-node-2): Set `Info-current-node-virtual' to nil
13406         when moving from a virtual node.
13407         (Info-mode-menu): Add `Info-virtual-index' to the menu.
13408         (Info-mode): Add `Info-virtual-index' to the docstring.
13410 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13412         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13413         track of the buffer position of the end of a BibTeX entry as this
13414         position may change during reformatting.
13415         (bibtex-format-entry): Remove whitespace before processing
13416         numerical fields so that we recognize the latter properly.
13417         (bibtex-reformat): Do not use push which changes the global value
13418         of bibtex-entry-format.
13419         (bibtex-field-braces-alist, bibtex-field-strings-alist)
13420         (bibtex-field-re-init): Replace only space characters by regexp
13421         for whitespace.
13422         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13423         (bibtex-initialize): Also update bibtex-strings.
13424         (bibtex-kill-field): Preserve white space at end of entry.
13425         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13426         Update bibtex-reference-keys.
13428 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13430         * minibuffer.el (completion-pcm--merge-try): Also consider placing
13431         point after a star, if that's the only place where modifications can
13432         make progress.
13434 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
13436         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13437         in docstrings.
13439 2009-12-04  Juri Linkov  <juri@jurta.org>
13441         * proced.el (proced): Call `(proced-update t)' to update process
13442         information instead of only running proced-post-display-hook.
13443         (proced-send-signal): Add a leading space to the buffer name
13444         " *Marked Processes*" to make this buffer ephemeral.
13446 2009-12-04  Juri Linkov  <juri@jurta.org>
13448         * dired.el (dired-auto-revert-buffer): New defcustom.
13449         (dired-internal-noselect): Use it.
13451 2009-12-04  Juri Linkov  <juri@jurta.org>
13453         Change roles of modes and functions in image-mode.el (Bug#5062).
13455         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13456         in `auto-mode-alist'.
13457         (image-mode-previous-major-mode): New variable.
13458         (image-minor-mode-map): Rename from `image-mode-text-map'.
13459         (image-mode): Move graceful error-handling code from
13460         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
13461         (image-minor-mode): Remove all image-handling code.
13462         Replace `image-mode-text-map' with `image-minor-mode-map'.
13463         Check for `image-type' in mode-line format string.
13464         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13465         (image-mode-as-text): New function with most code from
13466         `image-mode-maybe'.
13467         (image-toggle-display-text): Move code that removes image
13468         properties from `image-toggle-display' to here.
13469         (image-toggle-display-image): New function with code that adds
13470         image properties copied from `image-toggle-display'.
13471         (image-toggle-display): Remove most code with leaving only code
13472         that toggles between `image-mode-as-text' and `image-mode'.
13474 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
13476         * net/newst-treeview.el
13477         (newsticker--treeview-list-highlight-start): Restored call to
13478         save-excursion: Selected item was stuck.
13479         (newsticker--treeview-list-select): New.
13480         (newsticker--treeview-item-show-text)
13481         (newsticker--treeview-item-show)
13482         (newsticker--treeview-item-update): Use new
13483         newsticker-treeview-item-mode.
13484         (newsticker-treeview-update): Keep current item.
13485         (newsticker-treeview-next-new-or-immortal-item): Doc change.
13486         (newsticker--treeview-first-feed): Doc change.
13487         (newsticker-treeview-list-menu)
13488         (newsticker-treeview-item-menu): Add menu entries.
13489         (newsticker-treeview-item-mode): New.
13491         * net/newst-backend.el (newsticker-customize): Delete other
13492         windows.
13494 2009-12-04  Sam Steingold  <sds@gnu.org>
13496         * log-view.el (log-view-mode-map): "q" calls quit-window,
13497         like in all the other non-self-insert buffers.
13499 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13501         Minor cleanup.
13502         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13503         key decoding rather than do it manually via last-input-event +
13504         ascii-character.
13505         (term-exec): Use delete-and-extract-region.
13506         (term-handle-ansi-terminal-messages): Remove unused var `end'.
13507         (term-process-pager): Remove unused var `i'.
13508         (term-dynamic-simple-complete): Make obsolete.
13509         (serial-update-config-menu): Remove unused vars `y' and `str'.
13510         (term-update-mode-line): Remove unused var `temp'.
13512 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13514         Limit the number of log entries displayed by default.
13515         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13516         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13517         using a prefix argument.
13519 2009-12-03  Glenn Morris  <rgm@gnu.org>
13521         * progmodes/idlwave.el (class): Restore still useful declaration.
13523 2009-12-03  Alan Mackenzie  <acm@muc.de>
13525         Enhance `c-parse-state' to run efficiently in "brace deserts".
13527         * progmodes/cc-mode.el (c-basic-common-init):
13528         Call c-state-cache-init.
13529         (c-neutralize-syntax-in-and-mark-CPP): Rename from
13530         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
13531         placing `category' properties value 'c-cpp-delimiter at its boundaries.
13533         * progmodes/cc-langs.el (c-before-font-lock-function):
13534         c-extend-and-neutralize-syntax-in-CPP has been renamed
13535         c-neutralize-syntax-in-and-mark-CPP.
13537         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13538         with `category' properties now, not `syntax-table' ones.
13540         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13541         enhanced (but slower) version of c-end-of-macro that won't land
13542         inside a literal or on another awkward character.
13543         (c-state-cache-too-far, c-state-cache-start)
13544         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13545         (c-state-nonlit-pos-cache-limit, c-state-point-min)
13546         (c-state-point-min-lit-type, c-state-point-min-lit-start)
13547         (c-state-min-scan-pos, c-state-brace-pair-desert)
13548         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13549         buffer local variables.
13550         (c-state-literal-at, c-state-lit-beg)
13551         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13552         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13553         (c-state-cache-top-paren, c-state-cache-after-top-paren)
13554         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13555         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13556         (c-renarrow-state-cache)
13557         (c-append-lower-brace-pair-to-state-cache)
13558         (c-state-push-any-brace-pair, c-append-to-state-cache)
13559         (c-remove-stale-state-cache)
13560         (c-remove-stale-state-cache-backwards, c-state-cache-init)
13561         (c-invalidate-state-cache-1, c-parse-state-1)
13562         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13563         (c-parse-state): Enhance and refactor.
13564         (c-debug-parse-state): Amend to deal with all the new variables.
13566         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13567         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13568         modify to use category text properties rather than syntax-table ones.
13569         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13570         to switch off/on the syntactic paren property of C++ template
13571         delimiters using the category property.
13572         (c-with-<->-as-parens-suppressed): Macro to invoke code with
13573         template delims suppressed.
13574         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13575         New constant/macros which apply category properties to the start
13576         and end of preprocessor constructs.
13577         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13578         "comment out" the syntactic value of characters in preprocessor
13579         constructs.
13580         (c-with-cpps-commented-out)
13581         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13582         with characters in all or all but one preprocessor constructs
13583         "commented out".
13585 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13587         * proced.el (proced-filter-alist): Use regexp-quote.
13589 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
13591         Cleanup.
13592         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13593         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
13594         arguments.  Expand `default-directory'.
13596         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13597         the benefit of returning an expanded localname.
13598         (tramp-tramp-file-p): Handle the case NAME is not a string.
13600 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13602         Add support for bzr shelve/unshelve.
13603         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13604         (vc-bzr-extra-menu-map): New variables.
13605         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13606         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13607         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13608         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13609         (vc-bzr-dir-extra-headers): Display shelves.
13611         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13613 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13615         * textmodes/bibtex.el (bibtex-complete-internal):
13616         Use completion-in-region.
13617         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13619 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13621         Support applying stashes.  Improve UI.
13622         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13623         (vc-git-stash-apply, vc-git-stash-pop)
13624         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13625         (vc-git-stash-menu): New functions.
13626         (vc-git-stash-menu-map): New variable.
13627         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13629 2009-12-03  Glenn Morris  <rgm@gnu.org>
13631         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13632         (vc-print-log-internal): Fix previous change.
13633         (vc-revert): Correct pluralization.
13635 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13637         * progmodes/make-mode.el (makefile-special-targets-list): No need for
13638         it to be an alist any more.
13639         (makefile-complete): Use completion-in-region.
13641         * progmodes/octave-mod.el (octave-complete-symbol):
13642         Use completion-in-region.
13644         Misc cleanup.
13645         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13646         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13647         (idlwave-complete-class): Don't quote lambda.
13648         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13649         (idlwave-mode-map): Move initialization into declaration.
13650         (idlwave-action-and-binding): Use backquotes.
13651         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13652         Simplify.
13653         (idlwave-is-pointer-dereference): Remove unused var `pos'.
13654         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13655         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13656         `parts', and `all-parts'.
13657         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13658         (idlwave-convert-xml-system-routine-info): Remove unused string
13659         `version-string'.
13660         (idlwave-display-user-catalog-widget): Use dolist.
13661         (idlwave-scanning-lib): Declare dynamically-scoped var.
13662         (idlwave-scan-library-catalogs): Remove unused var `flags'.
13663         (completion-highlight-first-word-only): Declare to silence bytecomp.
13664         (idlwave-popup-select): Tighten scope of `resp'.
13665         (idlwave-find-struct-tag): Remove unused var `beg'.
13666         (idlwave-after-load-rinfo-hook): Declare.
13667         (idlwave-sintern-class-info): Remove unused var `taglist'.
13668         (idlwave-find-class-definition): Remove unused var `list'.
13669         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13670         (idlwave-what-module-find-class): Remove unused var `classes'.
13672 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
13674         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13676 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13678         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13679         buffers visited.  Remove redundant current-buffer-saving.
13681 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13683         Use completion-in-buffer and remove uses of dynamic scoping.
13684         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13685         (pascal-buffer-to-use, pascal-flag): Don't declare.
13686         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13687         (pascal-get-completion-decl, pascal-keyword-completion):
13688         Add `pascal-str' argument, save-excursion,
13689         return the found completions, and don't filter with pascal-pred.
13690         (pascal-completion-cache): New var.
13691         (pascal-completion): Don't switch buffer any more (it was never
13692         necessary).  Don't save-excursion any more (it's done by the called
13693         subroutines).  Use a cache to avoid redundant computations.
13694         Use complete-with-action rather than pascal-completion-response and
13695         let it apply the predicate as well.
13696         (pascal-complete-word): Use completion-in-buffer when
13697         pascal-toggle-completions is nil.
13698         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13699         not used any more.
13700         (pascal-comp-defun): Don't change buffer any more.
13701         Use complete-with-action rather than pascal-completion-response and
13702         let it apply the predicate as well.
13703         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13704         when neded.
13706 2009-12-02  Kenichi Handa  <handa@m17n.org>
13708         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13709         shape for all Indic scripts.
13711 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13713         Use completion-in-buffer.
13714         * wid-edit.el (widget-field-text-end): New function.
13715         (widget-field-value-get): Use it.
13716         (widget-string-complete, widget-file-complete)
13717         (widget-color-complete): Use it and completion-in-region.
13718         (widget-complete): Don't narrow the buffer.
13720 2009-12-02  Glenn Morris  <rgm@gnu.org>
13722         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
13723         (rmail-select-summary): Use rmail-pop-to-buffer.
13724         * mail/rmailsum.el: Replace all pop-to-buffer calls with
13725         rmail-pop-to-buffer, to prevent horizontal splits.
13727         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13728         save-excursion with save-current-buffer.
13729         Widen before searching.  (Bug#5093)
13730         (diary-list-sexp-entries): Remove superfluous save-excursion.
13732 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
13734         * woman.el (woman-make-bufname): Handle man-pages with "." in the
13735         name.  (Bug#5038)
13737 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13739         * ido.el (ido-file-internal): Handle filenames at point that do
13740         not have a directory part.  (Bug#5049)
13742 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
13744         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13745         (mpc-songs-jump-to, mpc-resume): Doc fixes.
13747 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
13749         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13750         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13751         any more.
13753 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13755         * comint.el (comint-insert-input): Ignore clicks to the right of
13756         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13758         * vc.el (vc-print-log-internal): Don't wait for the process to
13759         terminate before setting up the major mode.
13761         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13762         in case.
13764         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13765         the last element.
13767         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13769 2009-12-01  Glenn Morris  <rgm@gnu.org>
13771         * window.el (window--display-buffer-2): Fix previous changes.
13773 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
13775         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13777 2009-12-01  Glenn Morris  <rgm@gnu.org>
13779         * Makefile.in (ELCFILES): Add mpc.elc.
13781 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13783         * mpc.el: New file.
13785 2009-12-01  Glenn Morris  <rgm@gnu.org>
13787         * window.el (window-to-use): Define for compiler.
13789         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13790         consistent with others (no final period).
13792         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13793         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
13795 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
13797         Make vc-print-log buttons work.
13798         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13800 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
13802         * savehist.el (savehist-autosave-interval): Allow setting to nil
13803         through customize.  (Bug#5056)
13805 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
13807         Fix references to jit-lock properties.
13808         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13809         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13810         (perl-font-lock-special-syntactic-constructs):
13811         Quote jit-lock-defer-multiline property.
13813 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
13815         * vc-git.el (vc-git-registered): Call vc-git-root only once.
13817 2009-11-30  Juri Linkov  <juri@jurta.org>
13819         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13820         value `buffer' of `multi-isearch-next-buffer-current-function'.
13821         Use `(current-buffer)' when `buffer' is nil.
13822         (multi-isearch-next-buffer-from-list): Don't fallback to
13823         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
13825 2009-11-30  Juri Linkov  <juri@jurta.org>
13827         * misearch.el (multi-isearch-read-buffers): Move canonicalization
13828         of buffers with `get-buffer' to `multi-isearch-buffers'.
13829         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13830         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
13831         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13832         FILES with `expand-file-name' converting relative file names
13833         to absolute.  Doc fix.  (Bug#4727)
13835 2009-11-30  Juri Linkov  <juri@jurta.org>
13837         * misearch.el (multi-isearch-read-buffers)
13838         (multi-isearch-read-matching-buffers): New functions.
13839         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13840         Use them in the `interactive' spec.  Doc fix.
13841         (multi-isearch-read-files, multi-isearch-read-matching-files):
13842         New functions.
13843         (multi-isearch-files, multi-isearch-files-regexp):
13844         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
13846 2009-11-30  Juri Linkov  <juri@jurta.org>
13848         * doc-view.el (doc-view-continuous):
13849         Rename from `doc-view-continuous-mode'.
13850         (doc-view-menu): Move "Toggle display" to the top.
13851         Add submenu "Continuous" with radio buttons "Off"/"On"
13852         and "Save as Default".
13853         (doc-view-scroll-up-or-next-page)
13854         (doc-view-scroll-down-or-previous-page)
13855         (doc-view-next-line-or-next-page)
13856         (doc-view-previous-line-or-previous-page):
13857         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
13859 2009-11-30  Juri Linkov  <juri@jurta.org>
13861         * comint.el (comint-mode-map): Rebind `M-r' from
13862         `comint-previous-matching-input' to
13863         `comint-history-isearch-backward-regexp'.
13864         Unbind `M-s' to allow global key binding `M-s'.
13865         Add menu items for `comint-history-isearch-backward' and
13866         `comint-history-isearch-backward-regexp'.  (Bug#3746)
13868 2009-11-30  Juri Linkov  <juri@jurta.org>
13870         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13871         For def=recenter, replace `recenter' with `recenter-top-bottom'
13872         that is called with `this-command' and `last-command' let-bound
13873         to `recenter-top-bottom'.  When the last `def' was not `recenter',
13874         set `recenter-last-op' to nil.  (Bug#4981)
13876 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13878         Minor cleanup and simplification.
13879         * filecache.el (file-cache-add-directory)
13880         (file-cache-add-directory-recursively)
13881         (file-cache-add-from-file-cache-buffer)
13882         (file-cache-delete-file-regexp, file-cache-delete-directory)
13883         (file-cache-files-matching-internal, file-cache-display): Use dolist.
13884         (file-cache-temp-minibuffer-message): Delete function.
13885         (file-cache-minibuffer-complete): Use minibuffer-message instead.
13887         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13888         Don't signal an error when bumping into EOB in tr, s, or y.
13890 2009-11-29  Juri Linkov  <juri@jurta.org>
13892         * startup.el (fancy-about-text): Fix wording of Guided Tour.
13893         (Bug#4960)
13895         * descr-text.el (describe-char-unidata-list): Use lowercase name
13896         for "Unicode name" like in other tags.
13898 2009-11-29  Juri Linkov  <juri@jurta.org>
13900         * ediff-util.el (ediff-minibuffer-with-setup-hook):
13901         New compatibility macro.
13902         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13904 2009-11-29  Juri Linkov  <juri@jurta.org>
13906         Add defcustom to define the cycling order of `recenter-top-bottom'.
13907         (Bug#4981)
13909         * window.el (recenter-last-op): Doc fix.
13910         (recenter-positions): New defcustom.
13911         (recenter-top-bottom): Rewrite to use `recenter-positions'.
13912         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13914 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
13916         Improve integration of Tramp and ange-ftp in eshell.
13918         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13919         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
13920         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
13922         * eshell/esh-util.el (top): Require also Tramp when compiling.
13923         (eshell-directory-files-and-attributes): Check for FTP remote
13924         connection.
13925         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13926         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13927         (eshell-file-attributes): Handle ".".  Return `entry'.
13929         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13930         (ange-ftp-directory-files-and-attributes)
13931         (ange-ftp-real-directory-files-and-attributes): New defuns.
13933         * net/tramp.el (tramp-maybe-open-connection): Open the remote
13934         shell with "exec" when possible.  This prevents trailing prompts
13935         in `start-file-process'.
13937 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13939         Try and remove assumptions about point-min==1.
13940         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13941         (rng-compute-mode-line-string): Show the validation percentage in
13942         terms of the narrowed text, not the widened text.
13943         (rng-do-some-validation): Don't catch internal errors when debugging.
13944         (rng-first-error): Simplify.
13945         (rng-after-change-function): Remove work around.  AFAIK the bug has
13946         been fixed a while ago.
13948         * image-mode.el (image-minor-mode): Exit more gracefully when the image
13949         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13951         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13953         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13954         `cd' doesn't always do it for us (bug#5067).
13956         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13957         on 2009-10-25 as part of some other change (bug#5067).
13959 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13961         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13962         `suspicious'.
13963         (byte-compile-warnings): Use byte-compile-warning-types.
13964         (byte-compile-save-excursion): Warn about use of set-buffer right
13965         after save-excursion.
13967         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13968         the excursion as well.
13970 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
13972         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13973         providing a Tramp related implementation of "su" and "sudo".
13974         (eshell-unix-initialize): Add "su" and "sudo".
13976 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
13978         * net/socks.el (socks-send-command): Convert binary request to
13979         unibyte before sending.  This fixes mishandling of some port
13980         numbers such as 129.
13982 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13984         * help.el (describe-bindings-internal): Remove `interactive'.
13986         * man.el (Man-completion-table): Trim a terminating "(".
13987         Remove the space between name page a section.
13988         Add the command's description on the `help-echo' property.
13989         Remove `process-connection-type' binding since it's unused by
13990         call-process.
13991         Provide completion for the "<section> <name>" format as well.
13992         (Man-default-man-entry): Remove spurious var shadowing the argument.
13994 2009-11-26  Kevin Ryde  <user42@zip.com.au>
13996         * log-view.el: Add "Keywords: tools", since its other keywords
13997         aren't in finder-known-keywords, and following vc.el.
13999         * sha1.el (sha1-string-external): default-directory "/" in case
14000         otherwise non-existent.  process-connection-type pipe for touch of
14001         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
14003 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14005         Misc coding convention cleanups.
14006         * htmlfontify.el (hfy-init-kludge-hook): Rename from
14007         hfy-init-kludge-hooks.
14008         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14009         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14010         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14011         and push.
14012         (hfy-slant, hfy-weight): Use tables rather than code.
14013         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14014         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14015         (hfy-face-attr-for-class): Initialize `face-spec' directly.
14016         (hfy-face-to-css): Remove `nconc' with single arg.
14017         (hfy-p-to-face-lennart): Use `or'.
14018         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
14019         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14020         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14021         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14022         (hfy-force-fontification): Use run-hooks.
14024 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
14026         Various minor fixes.
14027         * htmlfontify.el (hfy-default-header): Add toggle_invis since
14028         Javascript belongs in the header, not the body.
14029         (hfy-javascript): Remove.
14030         (hfy-fontify-buffer): Don't insert it any more.
14031         (hfy-face-at): Handle (face0 face1 face2) style face properties.
14032         Fix bug in invis handling when there were no invis props in a chunk.
14034 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14036         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14038 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
14040         * finder.el (finder-mode-map): Add a menu.
14042 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
14044         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14045         "unsigned" structs.
14047         (verilog-leap-to-head, verilog-backward-token): Handle "disable
14048         fork" statement better.
14050 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
14052         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14053         (verilog-delete-auto, verilog-delete-empty-auto-pair)
14054         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14055         Reported by Clay Douglass.
14057         (verilog-auto-inst, verilog-auto-star-safe)
14058         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14059         Fix removing "// Interfaces" when saving .* expansions.
14060         Reported by Pierre-David Pfister.
14062 2009-11-26  Glenn Morris  <rgm@gnu.org>
14064         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14065         the scope.
14067 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
14069         * vc-annotate.el (vc-annotate-revision-previous-to-line):
14070         Really use previous revision.
14072 2009-11-25  Kevin Ryde  <user42@zip.com.au>
14074         * man.el (Man-completion-table): default-directory "/" in case
14075         doesn't otherwise exist.  process-environment COLUMNS=999 so as
14076         not to truncate long names.  process-connection-type pipe to avoid
14077         any chance of hitting the pseudo-tty TIOCGWINSZ.
14078         (man): completion-ignore-case t for friendliness and since man
14079         itself is case-insensitive on the command line.
14080         Further to Bug#3717.
14082         * arc-mode.el: Add "Keywords: files", so the details in its
14083         commentary can be reached from finder-by-keyword.
14084         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
14085         editing mode, but it's comms related and sgml-mode.el has "comm"
14086         on that basis too.
14087         * textmodes/bibtex-style.el: Add "Keywords: tex".
14088         * international/isearch-x.el, international/ja-dic-cnv.el:
14089         * international/ja-dic-utl.el, international/kkc.el:
14090         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14092 2009-11-25  Juri Linkov  <juri@jurta.org>
14094         * man.el (Man-completion-table): Modify regexp to include
14095         section names to completion strings.  (Bug#3717)
14097 2009-11-25  Juri Linkov  <juri@jurta.org>
14099         Search recursively in gzipped files.  (Bug#4982)
14101         * progmodes/grep.el (grep-highlight-matches): Add new options
14102         `always' and `auto'.  Doc fix.
14103         (grep-process-setup): Check `grep-highlight-matches' for
14104         `auto-detect' to determine the need to compute grep defaults.
14105         Move Windows/DOS specific --colors settings handling
14106         to `grep-compute-defaults'.  Check `grep-highlight-matches'
14107         to get the value of "--color=".
14108         (grep-compute-defaults): Compute `grep-highlight-matches' when it
14109         has the value `auto-detect'.  Move Windows/DOS specific settings
14110         from `grep-process-setup'.
14111         (zrgrep): New command with alias `rzgrep'.
14113 2009-11-25  Juri Linkov  <juri@jurta.org>
14115         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14116         to nil instead of switching off view-mode.  (Bug#4896)
14118 2009-11-25  Juri Linkov  <juri@jurta.org>
14120         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
14122         * mwheel.el (mwheel-scroll-up-function)
14123         (mwheel-scroll-down-function): New defvars.
14124         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14125         `scroll-up', and `mwheel-scroll-down-function' instead of
14126         `scroll-down'.
14128         * doc-view.el (doc-view-scroll-up-or-next-page)
14129         (doc-view-scroll-down-or-previous-page): Add optional ARG.
14130         Use this ARG in the call to image-scroll-up/image-scroll-down.
14131         Change `interactive' spec to "P".  Goto next/previous page only
14132         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14133         SPC/DEL case).  Doc fix.
14134         (doc-view-next-line-or-next-page)
14135         (doc-view-previous-line-or-previous-page): Rename arg to ARG
14136         for consistency.
14137         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14138         `doc-view-scroll-up-or-next-page', and buffer-local
14139         `mwheel-scroll-down-function' to
14140         `doc-view-scroll-down-or-previous-page'.
14142 2009-11-25  Juri Linkov  <juri@jurta.org>
14144         Provide additional default values (directories at other Dired
14145         windows) via M-n in the minibuffer of some Dired commands.
14147         * dired-aux.el (dired-diff, dired-compare-directories)
14148         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14149         `minibuffer-default' in `minibuffer-with-setup-hook'.
14150         (dired-dwim-target-directory): Find a window that displays Dired
14151         buffer instead of failing when the next window is not Dired.
14152         Use `get-window-with-predicate' to find for the next Dired window.
14153         (dired-dwim-target-defaults): New function.
14155         * ediff-util.el (ediff-read-file-name):
14156         Use `dired-dwim-target-defaults' to set `minibuffer-default'
14157         in `minibuffer-with-setup-hook'.
14159 2009-11-25  Juri Linkov  <juri@jurta.org>
14161         Provide additional default values (file name at point or at the
14162         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
14164         * minibuffer.el (read-file-name-defaults): New function.
14165         (read-file-name): Reset `minibuffer-default' to nil when
14166         it duplicates initial input `insdef'.
14167         Bind `minibuffer-default-add-function' to lambda that
14168         calls `read-file-name-defaults' in `minibuffer-selected-window'.
14169         (minibuffer-insert-file-name-at-point): New command.
14171         * files.el (file-name-at-point-functions): New defcustom.
14172         (find-file-default): Remove defvar.
14173         (find-file-read-args): Don't use `find-file-default'.
14174         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14175         to `read-file-name'.
14176         (find-file-literally): Use `read-file-name' with
14177         `confirm-nonexistent-file-or-buffer'.
14179         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14181         * dired.el (dired-read-dir-and-switches):
14182         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14183         to `read-file-name'.
14184         (dired-file-name-at-point): New function.
14185         (dired-mode): Add hook `dired-file-name-at-point' to
14186         `file-name-at-point-functions'.
14188 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14190         Really make the *Completions* window soft-dedicated (bug#5030).
14191         * window.el (window--display-buffer-2): Add `dedicated' argument.
14192         (display-buffer): Pass it when needed so the dedicated flag is set
14193         after calling set-window-buffer, which would otherwise reset it.
14195 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14197         * progmodes/meta-mode.el (meta-complete-symbol):
14198         * progmodes/etags.el (complete-tag):
14199         * mail/mailabbrev.el (mail-abbrev-complete-alias):
14200         Use completion-in-region.
14202         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14203         (dabbrev-completion): Use completion-in-region.
14204         (dabbrev--abbrev-at-point): Simplify regexp.
14206         * abbrev.el (abbrev--before-point): Use word-motion functions
14207         if :regexp is not specified (bug#5031).
14209         * subr.el (string-prefix-p): New function.
14211         * man.el (Man-completion-cache): New var.
14212         (Man-completion-table): Use it.
14214         * vc.el (vc-print-log-internal): Make `limit' optional for better
14215         compatibility (e.g. with vc-annotate.el).
14217 2009-11-24  Kevin Ryde  <user42@zip.com.au>
14219         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14220         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
14222         * emacs-lisp/elint.el (elint-add-required-env): Better error message
14223         when .el source file not found or other error.
14225 2009-11-24  Markus Triska  <markus.triska@gmx.at>
14227         * linum.el (linum-update-window): Ignore intangible (bug#4996).
14229 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14231         Handle the [back] button properly (bug#4979).
14232         * descr-text.el (describe-text-properties): Add a `buffer' argument.
14233         Use help-setup-xref, help-buffer, and with-help-window.
14234         (describe-char): Add `buffer' argument.
14235         Pass proper command to help-setup-xref.  Don't meddle with
14236         help-xref-stack-item directly.
14237         (describe-text-category): Use with-help-window and help-buffer.
14239         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14240         for the displayed buffer (bug#4887).
14242         * man.el (Man-completion-table): New function.
14243         (man): Use it.
14245 2009-11-24  David Reitter  <david.reitter@gmail.com>
14247         * vc-git.el (vc-git-registered): Use checkout directory (where
14248         .git is) rather than the file's directory and a relative path spec
14249         to work around a bug in git.
14251 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
14253         Improve handling of processes on remote hosts.
14255         * eshell/esh-util.el (eshell-path-env): New defvar.
14256         (eshell-parse-colon-path): New defun.
14257         (eshell-file-attributes): Use `eshell-parse-colon-path'.
14259         * eshell/esh-ext.el (eshell-search-path):
14260         Use `eshell-parse-colon-path'.
14261         (eshell-remote-command): Remove argument HANDLER.
14262         (eshell-external-command): Check for FTP remote connection.
14264         * eshell/esh-proc.el (eshell-gather-process-output):
14265         Use `file-truename', in order to start also symlinked files.
14266         Apply `start-file-process' instead of `start-process'.
14267         Shorten `command' to the local file name part.
14269         * eshell/em-cmpl.el (eshell-complete-commands-list):
14270         Use `eshell-parse-colon-path'.
14272         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14274         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
14275         to `eshell-directory-change-hook'.
14277 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
14279         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14280         because it could be enabled automatically if view-read-only is non-nil.
14282 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
14284         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14285         made on 2009-11-22.
14287 2009-11-24  Glenn Morris  <rgm@gnu.org>
14289         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14290         deleted variable bookmark-bmenu-bookmark-column.
14292 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14294         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14296 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14298         * net/browse-url.el (browse-url-filename-alist): On Windows, add
14299         two slashes to the "file:" prefix.
14300         (browse-url-file-url): De-munge Cygwin filenames before passing
14301         them to Windows browser.
14302         (browse-url-default-windows-browser): Use call-process.
14304 2009-11-23  Juri Linkov  <juri@jurta.org>
14306         Implement DocView Continuous mode.  (Bug#4896)
14307         * doc-view.el (doc-view-continuous-mode): New defcustom.
14308         (doc-view-mode-map): Bind C-n/<down> to
14309         `doc-view-next-line-or-next-page', C-p/<up> to
14310         `doc-view-previous-line-or-previous-page'.
14311         (doc-view-next-line-or-next-page)
14312         (doc-view-previous-line-or-previous-page): New commands.
14314 2009-11-23  Juri Linkov  <juri@jurta.org>
14316         Implement Isearch in comint input history.  (Bug#3746)
14317         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14318         `isearch-mode-hook'.
14319         (comint-history-isearch): New defcustom.
14320         (comint-history-isearch-backward)
14321         (comint-history-isearch-backward-regexp): New commands.
14322         (comint-history-isearch-message-overlay): New buffer-local variable.
14323         (comint-history-isearch-setup, comint-history-isearch-end)
14324         (comint-goto-input, comint-history-isearch-search)
14325         (comint-history-isearch-message, comint-history-isearch-wrap)
14326         (comint-history-isearch-push-state)
14327         (comint-history-isearch-pop-state): New functions.
14329 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
14331         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14332         return.
14333         (tramp-handle-make-symbolic-link)
14334         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14335         Quote file names.
14336         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14337         (tramp-handle-process-file): Use it.
14339 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14341         * window.el (move-to-window-line-last-op): Remove.
14342         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14344 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
14346         Make M-r mirror the new cycling behavior of C-l.
14347         * window.el (move-to-window-line-last-op): New var.
14348         (move-to-window-line-top-bottom): New command.
14349         (global-map): Bind M-r move-to-window-line-top-bottom.
14351 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
14353         * dired-x.el (dired-guess-shell-alist-default):
14354         Support xz format.  (Bug#4953)
14356 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
14358         * emulation/viper-cmd.el: Use viper-last-command-char instead of
14359         last-command-char/last-command-event.
14360         (viper-prefix-arg-value): Do correct conversion of event-char for
14361         XEmacs.
14363         * emulation/viper-util.el, emulation/viper.el:
14364         Use viper-last-command-char instead of
14365         last-command-char/last-command-event.
14367         * ediff-init.el, ediff-mult.el, ediff-util.el:
14368         Replace last-command-char and last-command-event
14369         with (ediff-last-command-char) everywhere.
14371         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14372         created in fundamental mode.
14374         * ediff.el (ediff-version): Revert the change of interactive-p to
14375         called-interactively-p.
14377 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
14379         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14380         generation from word-movement command names.
14382 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
14384         * cus-start.el (all): Add native condition for font-use-system-font.
14386 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
14388         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14389         Correct the patch from 2009-11-18.  (Bug#3910)
14391 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
14393         * progmodes/subword.el: Rename from lisp/subword.el.
14395         * subword.el: Rename to progmodes/subword.el.
14397         * Makefile.in (ELCFILES): Adapt to subword.el move.
14399 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14400             Stefan Monnier  <monnier@iro.umontreal.ca>
14402         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14403         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14404         (bookmark-bmenu-show-filenames): Use push.
14405         (bookmark-bmenu-hide-filenames): Use local var instead of
14406         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
14407         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14408         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14409         filenames now that the bookmark names are always available.
14411 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14413         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14414         (bookmark-search-pattern): Move and leave unbound.
14415         (bookmark-bmenu-mode-map): Change binding.
14416         (bookmark-read-search-input): Simplify.
14417         Don't use text-char-description.  Don't error on non-char events.
14418         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14419         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14420         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14421         Use a local var for the timer.
14422         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14423         (i.e. bookmark-bmenu-search).
14425 2009-11-21  Glenn Morris  <rgm@gnu.org>
14427         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
14429 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14431         * net/browse-url.el (browse-url-default-windows-browser):
14432         Use cygstart for cygwin.
14434 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
14436         * bookmark.el: Formatting and doc fixes only:
14437         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14438         (bookmark-bmenu-search): Wrap to fit within 80 columns.
14439         Minor grammar and punctuation fixes in doc string.
14440         (bookmark-read-search-input): Adjust to fit within 80 columns.
14442 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14444         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14445         (c-backward-into-nomenclature): Adapt to subword renaming.
14447         * subword.el (subword-forward, subword-backward, subword-mark)
14448         (subword-kill, subword-backward-kill, subword-transpose)
14449         (subword-downcase, subword-upcase, subword-capitalize)
14450         (subword-forward-internal, subword-backward-internal):
14451         Rename from forward-subword, backward-subword, mark-subword,
14452         kill-subword, backward-kill-subword, transpose-subwords,
14453         downcase-subword, upcase-subword, capitalize-subword,
14454         forward-subword-internal, backward-subword-internal.
14456 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14458         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14459         New options.
14460         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14461         New vars.
14462         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14463         (bookmark-bmenu-filter-alist-by-regexp)
14464         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14465         (bookmark-bmenu-search): New command.
14466         (bookmark-bmenu-mode-map): Bind it.
14468 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14470         * progmodes/cc-cmds.el: declare-functioned forward-subword and
14471         backward-subword to quit the byte-compiler.
14473         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14475         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14477         * progmodes/cc-cmds.el (c-update-modeline)
14478         (c-forward-into-nomenclature, c-backward-into-nomenclature):
14479         Refer to subword.el functions instead of cc-subword.el.
14481         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14482         subword.el functions instead of cc-subword.el.
14484         * progmodes/cc-subword.el: Rename to subword.el.
14485         * subword.el: Rename from progmodes/cc-subword.el.
14486         (subword-mode-map): Rename from c-subword-mode-map.
14487         (subword-mode): Rename from c-subword-mode.
14488         (global-subword-mode): New global minor mode.
14489         (forward-subword): Rename from c-forward-subword.
14490         (backward-subword): Rename from c-backward-subword.
14491         (mark-subword): Rename from c-mark-subword.
14492         (kill-subword): Rename from c-kill-subword.
14493         (backward-kill-subword): Rename from c-backward-kill-subword.
14494         (transpose-subwords): Rename from c-tranpose-subword.
14495         (downcase-subword): Rename from c-downcase-subword.
14496         (capitalize-subword): Rename from c-capitalize-subword.
14497         (forward-subword-internal): Rename from c-forward-subword-internal.
14498         (backward-subword-internal): Rename from c-backward-subword-internal.
14500 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
14502         * vc.el (vc-deduce-fileset): Allow non-state changing operations
14503         from a dired buffer.
14504         (vc-dired-deduce-fileset): New function.
14505         (vc-root-diff, vc-print-root-log): Use it.
14507         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14508         nil LIMIT argument to vc-print-log-internal.
14510 2009-11-20  Glenn Morris  <rgm@gnu.org>
14512         * Makefile.in (ELCFILES): Regenerate.
14514 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
14516         * calc/calc.el (calc-set-mode-line):
14517         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14518         (math-format-number): Rename `math-format-complement-signed' to
14519         `math-format-twos-complement'.
14521         * calc/calc-bin.el (math-format-twos-complement): Rename from
14522         math-format-complement-signed.
14523         (calc-radix): Rename `calc-complement-signed-mode' to
14524         `calc-twos-complement-mode'.
14525         (calc-octal-radix, calc-hex-radix): Add an argument for
14526         two's complement.
14528         * calc/calc-embed.el (calc-embedded-mode-vars):
14529         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14531         * calc/calc-ext.el (calc-init-extensions):
14532         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14533         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14535         * calc/calc-units.el (math-build-units-table-buffer):
14536         Let `calc-twos-complement-mode' be nil.
14538         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14539         entries.
14541         * calc/calc-vec.el (calcFunc-vunpack):
14542         * calc/calc-aent.el (calc-do-calc-eval):
14543         * calc/calc-forms.el (math-format-date):
14544         * calc/calc-graph.el (calc-graph-plot):
14545         * calc/calc-math.el (math-use-emacs-fn):
14546         * calc/calccomp.el (math-compose-expr):
14547         Let `calc-twos-complement-mode' be nil.
14549 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14551         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14552         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
14553         * minibuffer.el (completion-in-region-functions): New hook.
14554         (completion-in-region): New function.
14555         * emacs-lisp/lisp.el (lisp-complete-symbol):
14556         * pcomplete.el (pcomplete-std-complete): Use it.
14558 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14560         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14561         (latex-complete-alist): New vars.
14562         (latex-string-prefix-p, latex-complete-bibtex-keys)
14563         (latex-complete-envnames, latex-complete-refkeys)
14564         (latex-complete-data): New functions.
14565         (latex-complete, latex-indent-or-complete): New commands.
14567         * window.el (display-buffer-mark-dedicated): New var.
14568         (display-buffer): Obey it.
14569         * minibuffer.el (minibuffer-completion-help): Use it.
14571         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14573         * filecache.el (file-cache-add-file): Use push and cons.
14574         (file-cache-delete-file-regexp): Use push.
14575         (file-cache-complete): Use completion-in-region.
14577         * simple.el (with-wrapper-hook): Fix thinko.
14579         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14580         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14581         Use with-current-buffer and string-to-number.
14582         (hfy-fallback-colour-values): Use assoc-string.
14583         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14584         (hfy-face-at): Remove unused var `found-face'.
14585         (hfy-compile-stylesheet): Remove unused var `css'.
14586         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14587         and `orig-buffer'.
14588         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14589         Use with-current-buffer.
14590         (hfy-text-p): Use expand-file-name and fewer setq.
14592 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
14594         * htmlfontify.el, hfy-cmap.el: New files.
14596 2009-11-19  Juri Linkov  <juri@jurta.org>
14598         * minibuffer.el (completions-format): New defcustom.
14599         (completion--insert-strings): Implement vertical format.
14601         * simple.el (switch-to-completions): Move point to the first
14602         completion when point was at the beginning of the buffer.
14604 2009-11-19  Juri Linkov  <juri@jurta.org>
14606         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
14608         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14610 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
14612         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14613         (mail-signature): Change default to t.
14614         (mail-from-style): Deprecate `system-default' value.
14615         (mail-insert-from-field): For default value of mail-from-style,
14616         default to `angles' unless `angles' needs quoting and `parens'
14617         does not.
14618         (mail-citation-prefix-regexp): Use citation regexp from
14619         message-mode.
14621 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
14623         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14624         Set variables for computing the prompt for reading password.
14626 2009-11-19  Glenn Morris  <rgm@gnu.org>
14628         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
14630         * textmodes/flyspell.el (sgml-lexical-context): Declare.
14632         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14633         (newsticker-treeview-listwindow-height): Fix custom type.
14635 2009-11-19  Kenichi Handa  <handa@m17n.org>
14637         * descr-text.el (describe-char-padded-string): Compose with TAB
14638         only if there's a font for CH.
14639         (describe-char): Fix the condition for detecting a trivial composition.
14641 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
14643         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14644         more accurate version of the regexp.  (Bug#3910)
14646 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14648         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14650 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
14652         * font-setting.el (font-use-system-font): Declare for byte-compiler.
14653         (font-setting-change-default-font): Fix typo in docstring.
14655 2009-11-18  Alan Mackenzie  <acm@muc.de>
14657         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14659 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14661         * font-setting.el (font-use-system-font): Move ...
14663         * cus-start.el (all): ... to here.
14665 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
14667         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14668         Don't set `ad-return-value' if `ad-do-it' doesn't.
14670         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14671         modification time.
14673 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14675         * menu-bar.el: Put "Use system font" in Option-menu.
14676         (menu-bar-options-save): Add font-use-system-font.
14678         * loadup.el: If feature system-font-setting or font-render-setting is
14679         there, load font-setting.
14681         * Makefile.in (ELCFILES): Add font-settings.el.
14682         * font-setting.el: New file.
14684 2009-11-17  Glenn Morris  <rgm@gnu.org>
14686         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14688         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14689         Preserve point in the list buffer.  (Bug#4939)
14690         Use point-at-eol.
14691         (newsticker--treeview-list-update-highlight)
14692         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14694 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14696         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14697         Remove.
14699         * calc/calc-ext.el (calc-init-extensions): Remove references to
14700         symclip.
14702         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14704         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14705         * calc/calc-help.el (calc-b-prefix-help): Remove references to
14706         `calc-symclip'.
14708 2009-11-16  Kevin Ryde  <user42@zip.com.au>
14710         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14711         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14713         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14714         (lm-keywords-list): Allow comma-only separator like "foo,bar".
14715         Ignore trailing spaces by omit-nulls to split-string (fixing
14716         regression from Emacs 21 due to the incompatible split-string
14717         change).  (Bug #4928.)
14719 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
14721         * vc.el (vc-log-show-limit): Default to 2000.
14722         (vc-print-log-internal): Insert buttons to request more entries
14723         when limiting the output.
14725         * vc-sccs.el (vc-sccs-print-log):
14726         * vc-rcs.el (vc-rcs-print-log):
14727         * vc-cvs.el (vc-cvs-print-log):
14728         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14729         LIMIT is non-nil.
14731 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14733         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14734         error when `tramp-gvfs-dbus-event-vector' is set.
14735         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14737 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14739         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14741 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14743         * net/dbus.el (dbus-unregister-service): New defun.
14744         (dbus-register-property): Register the handlers of
14745         "org.freedesktop.DBus.Properties" for SERVICE.
14746         (dbus-property-handler): Fix docstring.
14748 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14750         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14751         Quote doc string reference in defvaralias as it is not in special form.
14752         (byte-compile-output-docform): Doc fix.
14754 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14756         * calc/calc.el (math-2-word-size, math-half-2-word-size)
14757         (calc-complement-signed-mode): New variables.
14758         (calc-set-mode-line): Add indicator for twos-complements.
14759         (math-format-number): Format twos-complement notation.
14761         * calc/calc-bin.el (calc-word-size): Reset the variables
14762         `math-2-word-size' and `math-half-2-word-size'.
14763         (math-format-complement-signed, math-symclip, calcFunc-symclip)
14764         (calc-symclip): New functions.
14766         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14768         * calc/calc-embed.el (calc-embedded-mode-vars):
14769         Add `calc-complement-signed-mode' to the list of modes.
14771         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14772         (calc-b-oper-keys): Add `calc-symclip' to list.
14774         * calc/calc-ext.el (math-read-number-fancy): Read complement
14775         signed numbers.
14776         (calc-init-extensions): Add binding for `calc-symclip'.
14777         Add autoload for `calcFunc-symclip' and `calc-symclip'.
14779         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14780         `calc-symclip'.
14781         (calc-modes-menu): Add item for twos complement mode.
14783         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14785 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14787         * register.el (jump-to-register, insert-register): Handle Semantic
14788         tags.  From commented-out advice in semantic/senator.el.
14790 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
14792         * vc.el (vc-log-show-limit): New variable.
14793         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
14794         when using a prefix argument.
14795         (vc-print-log-internal): Add new argument LIMIT.
14797         * vc-svn.el (vc-svn-print-log):
14798         * vc-mtn.el (vc-mtn-print-log):
14799         * vc-hg.el (vc-hg-print-log):
14800         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14801         pass it to the log command when set.  Make the BUFFER argument
14802         non-optional.
14804         * vc-sccs.el (vc-sccs-print-log):
14805         * vc-rcs.el (vc-rcs-print-log):
14806         * vc-git.el (vc-git-print-log):
14807         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14808         ignore it.  Make the BUFFER argument non-optional
14810         * bindings.el (mode-line-buffer-identification): Do not purecopy.
14812 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14814         * dired.el (dired-mode-map): Move encryption items to "Operate"
14815         menu (Bug#4703).
14817         * strokes.el (strokes-update-window-configuration): Make strokes
14818         buffer current before erasing (Bug#4906).
14820 2009-11-15  Juri Linkov  <juri@jurta.org>
14822         * simple.el (set-mark-default-inactive): Add :type, :group
14823         and :version.  (Bug#4876)
14825 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
14827         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14828         (archive-unique-fname): ... here.  (Bug#4929)
14830 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14832         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14833         with a real fix.
14835         * novice.el (disabled-command-function): Add useful args.
14836         Setup the help buffer so that [back] works.
14837         Remove redundant call to help-mode.
14838         (disabled-command-function): Use `case'.
14839         (en/disable-command): New function extracted from enable-command.
14840         (enable-command, disable-command): Use it.
14842 2009-11-14  Glenn Morris  <rgm@gnu.org>
14844         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14845         constants.  (Bug#4913)
14847         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14849 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14851         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14852         defined in C that have no doc-strings.  (Bug#1063)
14854 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
14856         * cus-edit.el (data, files):
14857         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
14859 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
14861         * simple.el (shell-command): Doc fix (Bug#4891).
14863         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14865 2009-11-14  Glenn Morris  <rgm@gnu.org>
14867         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14868         statements for vc-diff, emerge-quit, and rmail-cease-edit.
14869         If they are already loaded, eval-after-load will do the right thing.
14871         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14872         compiling.
14874         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14876         * simple.el (x-selection-owner-p): Declare.
14877         (read-mail-command): Use custom radio type rather than choice.
14878         (completion-no-auto-exit): Doc fix.
14880         * custom.el (defgroup):
14881         * epg-config.el (epg): Doc fixes.
14883 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
14885         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14886         * international/ccl.el (define-ccl-program): Do not purecopy the
14887         docstring, defconst does it anyway.
14889 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14891         * add-log.el (add-change-log-entry): Avoid displaying the changelog
14892         a second time.
14894         * x-dnd.el (x-dnd-maybe-call-test-function):
14895         * window.el (split-window-vertically):
14896         * whitespace.el (whitespace-help-on):
14897         * vc-rcs.el (vc-rcs-consult-headers):
14898         * userlock.el (ask-user-about-lock-help)
14899         (ask-user-about-supersession-help):
14900         * type-break.el (type-break-force-mode-line-update):
14901         * time-stamp.el (time-stamp-conv-warn):
14902         * terminal.el (te-set-output-log, te-more-break, te-filter)
14903         (te-sentinel, terminal-emulator):
14904         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14905         (term-write-input-ring, term-check-source, term-start-output-log):
14906         (term-display-buffer-line, term-dynamic-list-completions):
14907         (term-ansi-make-term, serial-term):
14908         * subr.el (selective-display):
14909         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14910         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14911         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14912         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14913         (speedbar-remove-localized-speedbar-support)
14914         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14915         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14916         (speedbar-buffers-line-directory):
14917         * simple.el (shell-command-on-region, append-to-buffer)
14918         (prepend-to-buffer):
14919         * shadowfile.el (shadow-save-todo-file):
14920         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14921         (scroll-bar-maybe-set-window-start):
14922         * sb-image.el (speedbar-image-dump):
14923         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14924         (load-save-place-alist-from-file):
14925         * ps-samp.el (ps-print-message-from-summary):
14926         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14927         (ps-background-image, ps-begin-job, ps-do-despool):
14928         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14929         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14930         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14931         (pr-call-process, pr-file-list, pr-interface-save):
14932         * novice.el (disabled-command-function)
14933         (enable-command, disable-command):
14934         * mouse.el (mouse-buffer-menu-alist):
14935         * mouse-copy.el (mouse-kill-preserving-secondary):
14936         * macros.el (kbd-macro-query):
14937         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14938         * informat.el (batch-info-validate):
14939         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14940         * hippie-exp.el (try-expand-dabbrev-visible):
14941         * help-mode.el (help-make-xrefs):
14942         * help-fns.el (describe-variable):
14943         * generic-x.el (bat-generic-mode-run-as-comint):
14944         * finder.el (finder-mouse-select):
14945         * find-dired.el (find-dired-sentinel):
14946         * filesets.el (filesets-file-close):
14947         * files.el (list-directory):
14948         * faces.el (list-faces-display, describe-face):
14949         * facemenu.el (list-colors-display):
14950         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14951         * epg.el (epg--process-filter, epg-cancel):
14952         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14953         (epa--read-signature-type):
14954         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14955         (emerge-file-names):
14956         * ehelp.el (electric-helpify):
14957         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14958         * ediff-vers.el (rcs-ediff-view-revision):
14959         * ediff-util.el (ediff-setup):
14960         * ediff-mult.el (ediff-append-custom-diff):
14961         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14962         (ediff-wordify):
14963         * echistory.el (Electric-command-history-redo-expression):
14964         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14965         * disp-table.el (describe-display-table):
14966         * dired.el (dired-find-buffer-nocreate):
14967         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14968         * dabbrev.el (dabbrev--same-major-mode-p):
14969         * chistory.el (list-command-history):
14970         * apropos.el (apropos-documentation):
14971         * allout.el (allout-obtain-passphrase):
14972         (allout-copy-exposed-to-buffer):
14973         (allout-verify-passphrase): Use with-current-buffer.
14975 2009-11-13  Glenn Morris  <rgm@gnu.org>
14977         * Makefile.in (ELCFILES): Regenerate.
14979 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
14981         * net/dbus.el (dbus-registered-objects-table): Rename from
14982         `dbus-registered-functions-table', because it contains also properties.
14983         (dbus-unregister-object): Unregister also properties.
14984         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14985         Use a timeout of 500 msec, in order to not block.
14986         (dbus-register-property, dbus-property-handler): New defuns.
14988 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14990         * simple.el (minibuffer-default-add-completions): Drop deprecated
14991         4th arg.
14993 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
14995         * textmodes/artist.el (artist-mouse-choose-operation):
14996         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14997         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14998         (artist-compute-up-event-key): New function.
14999         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15001 2009-11-13  Kenichi Handa  <handa@m17n.org>
15003         * language/japan-util.el: Make sure that the value of jisx0208
15004         property is jisx0208 character.
15006 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
15008         * international/mule.el (auto-coding-regexp-alist): Only purecopy
15009         car or each item, not the whole list.
15011 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15013         * minibuffer.el (minibuffer-completion-help):
15014         Use minibuffer-hide-completions.
15016 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
15018         * dired.el (dired-save-positions, dired-restore-positions): New funs.
15019         (dired-revert): Use them (bug#4880).
15021 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15023         * tooltip.el (tooltip-frame-parameters): Undo previous change.
15025 2009-11-12  Juri Linkov  <juri@jurta.org>
15027         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15028         New functions.
15029         (find-file-literally-at-point): Alias of `ffap-literally'.
15031 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15033         * textmodes/ispell.el (ispell-skip-region-alist):
15034         * textmodes/css-mode.el (auto-mode-alist):
15035         * progmodes/compile.el (auto-mode-alist):
15036         * international/mule.el (ctext-non-standard-encodings-alist)
15037         (ctext-non-standard-encodings-regexp):
15038         * simple.el (shell-command-switch, text-read-only):
15039         * replace.el (occur-mode-map):
15040         * paths.el (rmail-file-name):
15041         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15042         * find-file.el (ff-special-constructs):
15043         * files.el (file-name-handler-alist):
15044         * composite.el: Purecopy strings.
15046         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15048 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15050         * widget.el (define-widget): Purecopy the docstring.
15051         * international/mule-cmds.el (charset): Do not purecopy the
15052         docstring here, define-widget does it.
15054         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15055         * textmodes/bibtex-style.el (auto-mode-alist):
15056         * progmodes/inf-lisp.el (inferior-lisp-prompt):
15057         * progmodes/compile.el (compile-command):
15058         * language/korea-util.el (default-korean-keyboard):
15059         * international/mule-conf.el (file-coding-system-alist):
15060         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15061         * tooltip.el (tooltip-frame-parameters):
15062         * newcomment.el (comment-end, comment-padding):
15063         * dired.el (dired-trivial-filenames):
15064         * comint.el (comint-file-name-prefix): Purecopy initial values.
15066 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
15068         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15069         (tramp-advice-minibuffer-electric-tilde): Unload advices via
15070         `tramp-unload'.
15071         (tramp-advice-make-auto-save-file-name)
15072         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15073         after removing the advice.
15075 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15077         * progmodes/grep.el (grep-regexp-alist):
15078         * international/mule-cmds.el (iso-2022-control-alist):
15079         * emacs-lisp/timer.el (timer-duration-words):
15080         * subr.el (version-separator, version-regexp-alist):
15081         * minibuffer.el (completion-styles-alist):
15082         * faces.el (face-attribute-name-alist, list-faces-sample-text):
15083         Change defvars to defconsts.
15085         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15086         * loadup.el ("international/mule-conf"): Load the byte compiled version.
15087         * international/mule-conf.el: Allow to be byte compiled.
15089         * international/mule.el (define-charset): Purecopy props.
15090         (load-with-code-conversion): Purecopy doc string and file name.
15091         (put-charset-property): Purecopy strings.
15092         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15094         * international/mule-cmds.el (register-input-method): Purecopy arguments.
15095         (define-char-code-property): Correctly purecopy the table.
15097         * international/ccl.el (define-ccl-program): Purecopy the docstring.
15099         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15101         * subr.el (add-hook): Purecopy strings.
15102         (eval-after-load): Purecopy load-history-regexp and the form.
15104         * custom.el (custom-declare-group): Purecopy load-file-name.
15106         * subr.el (menu-bar-separator): New defconst.
15107         * net/eudc.el (eudc-tools-menu):
15108         * international/mule-cmds.el (set-coding-system-map)
15109         (mule-menu-keymap):
15110         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15111         * vc-hooks.el (vc-menu-map):
15112         * replace.el (occur-mode-map):
15113         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15114         (menu-bar-edit-menu, menu-bar-goto-menu)
15115         (menu-bar-custom-menu, menu-bar-showhide-menu)
15116         (menu-bar-options-menu, menu-bar-tools-menu)
15117         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15118         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15119         (menu-bar-help-menu):
15120         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15121         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15123         * term/x-win.el (x-gtk-stock-map):
15124         * progmodes/vera-mode.el (auto-mode-alist):
15125         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15126         (inferior-lisp-program, inferior-lisp-load-command):
15127         * progmodes/hideshow.el (hs-special-modes-alist):
15128         * progmodes/gud.el (same-window-regexps):
15129         * progmodes/grep.el (grep-program, find-program, xargs-program):
15130         * net/telnet.el (same-window-regexps):
15131         * net/rlogin.el (same-window-regexps):
15132         * language/ethiopic.el (font-ccl-encoder-alist):
15133         * vc-sccs.el (vc-sccs-master-templates):
15134         * vc-rcs.el (vc-rcs-master-templates):
15135         * subr.el (cl-assertion-failed):
15136         * simple.el (next-error-overlay-arrow-position):
15137         * lpr.el (lpr-command):
15138         * locate.el (locate-ls-subdir-switches):
15139         * info.el (same-window-regexps, info)
15140         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15141         * image-mode.el (image-mode, auto-mode-alist):
15142         * hippie-exp.el (hippie-expand-ignore-buffers):
15143         * format.el (format-alist):
15144         * find-dired.el (find-ls-subdir-switches, find-grep-options)
15145         (find-name-arg):
15146         * facemenu.el (facemenu-keybindings):
15147         * dired.el (dired-listing-switches, dired-chown-program):
15148         * diff.el (diff-switches, diff-command):
15149         * cus-edit.el (same-window-regexps):
15150         * bindings.el (mode-line-mule-info)
15151         (mode-line-buffer-identification): Purecopy strings.
15153 2009-11-11  Juri Linkov  <juri@jurta.org>
15155         * simple.el (dired-get-filename) <declare-function>:
15156         Tell the byte-compiler about dired-get-filename.
15157         (shell-command): In Dired mode, get filename from the current line
15158         as the default value.
15160 2009-11-10  Glenn Morris  <rgm@gnu.org>
15162         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15163         * calendar/holidays.el, progmodes/cperl-mode.el:
15164         Update x-popup-menu declarations.
15166         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15167         (list-load-path-shadows): Use dolist.
15168         (list-load-path-shadows): Use with-current-buffer.
15170 2009-11-10  Juri Linkov  <juri@jurta.org>
15172         * minibuffer.el (read-file-name): Support a list of default values
15173         in `default-filename'.  Use the first file name where only one
15174         element is required.  Doc fix.
15176 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
15178         * net/dbus.el (dbus-unregister-object): Release service, if no
15179         other method is registered for it.
15181 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
15183         * bookmark.el (bookmark-completing-read): Sort bookmark names if
15184         bookmark-sort-flag is non-nil (Bug#4653).
15186 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15188         * emulation/cua-base.el: Add CUA property to some CC mode commands
15189         (Bug#4100).
15191 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15193         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15194         at end of sentence (Bug#4818).
15196 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
15198         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15199         Handle "see declaration of" MSFT statements (Bug#4100).
15201 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
15203         * net/tramp.el (tramp-advice-make-auto-save-file-name)
15204         (tramp-advice-file-expand-wildcards): Unload via
15205         `ad-remove-advice'.
15207         * net/trampver.el: Update release number.
15209 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15211         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15212         `ad-do-it'.
15214 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
15216         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15217         in order to keep context in SELinux.
15219 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15221         * dired-aux.el (dired-query): Place cursor in echo area and allow
15222         C-g.
15224         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15225         menu item if not on a directory (Bug#4701).
15227 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
15229         Sync with Tramp 2.1.17.
15231         * net/tramp.el (tramp-handle-copy-directory): Don't use
15232         `file-remote-p' (due to compatibility).
15234         * net/tramp-compat.el (tramp-compat-copy-directory)
15235         (tramp-compat-delete-directory): New defuns.
15237         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15238         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15239         Use `tramp-compat-delete-directory'.
15241         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15242         (tramp-smb-handle-delete-directory):
15243         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15245         * net/trampver.el: Update release number.
15247 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
15249         * tar-mode.el (tar-copy): Call write-region on the right buffer
15250         (Bug#4857).
15252         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15253         by hand, if necessary (Bug#4878).
15255 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
15257         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15258         align size column (Bug#4839).
15260         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15261         statement.
15263 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15265         * progmodes/ld-script.el (auto-mode-alist):
15266         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15268         * cus-face.el (custom-declare-face): Purecopy face spec.
15270 2009-11-06  Kenichi Handa  <handa@m17n.org>
15272         * international/uni-bidi.el: Re-generated.
15273         * international/uni-category.el: Re-generated.
15274         * international/uni-combining.el: Re-generated.
15275         * international/uni-mirrored.el: Re-generated.
15277 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15279         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15280         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15281         (tex-start-options, slitex-run-command, latex-run-command)
15282         (tex-run-command, tex-directory):
15283         * textmodes/ispell.el (ispell-html-skip-alists)
15284         (ispell-tex-skip-alists, ispell-tex-skip-alists):
15285         * textmodes/fill.el (adaptive-fill-first-line-regexp):
15286         (adaptive-fill-regexp):
15287         * textmodes/dns-mode.el (auto-mode-alist):
15288         * progmodes/python.el (interpreter-mode-alist):
15289         * progmodes/etags.el (tags-compression-info-list):
15290         * progmodes/etags.el (tags-file-name):
15291         * net/browse-url.el (browse-url-galeon-program)
15292         (browse-url-firefox-program):
15293         * mail/sendmail.el (mail-signature-file)
15294         (mail-citation-prefix-regexp):
15295         * international/mule-conf.el (eight-bit):
15296         * international/latexenc.el (latex-inputenc-coding-alist):
15297         * international/fontset.el (x-pixel-size-width-font-regexp):
15298         * emacs-lisp/warnings.el (warning-type-format):
15299         * emacs-lisp/trace.el (trace-buffer):
15300         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15301         (emacs-lisp-mode-map):
15302         * calendar/holidays.el (holiday-solar-holidays)
15303         (holiday-bahai-holidays, holiday-islamic-holidays)
15304         (holiday-christian-holidays, holiday-hebrew-holidays)
15305         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15306         (hebrew-holidays-1, holiday-oriental-holidays)
15307         (holiday-general-holidays):
15308         * x-dnd.el (x-dnd-known-types):
15309         * tool-bar.el (tool-bar):
15310         * startup.el (site-run-file):
15311         * shell.el (shell-dumb-shell-regexp):
15312         * rfn-eshadow.el (file-name-shadow-tty-properties)
15313         (file-name-shadow-properties):
15314         * paths.el (remote-shell-program, news-directory):
15315         * mouse.el ([C-down-mouse-3]):
15316         * menu-bar.el (menu-bar-tools-menu):
15317         * jka-cmpr-hook.el (jka-compr-load-suffixes)
15318         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15319         (jka-compr-compression-info-list):
15320         * isearch.el (search-whitespace-regexp):
15321         * image-file.el (image-file-name-extensions):
15322         * find-dired.el (find-ls-option):
15323         * files.el (directory-listing-before-filename-regexp)
15324         (directory-free-space-args, insert-directory-program)
15325         (list-directory-brief-switches, magic-fallback-mode-alist)
15326         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15327         (automount-dir-prefix):
15328         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15329         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15330         (face-font-registry-alternatives, face-font-registry-alternatives)
15331         (face-font-family-alternatives):
15332         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15333         (facemenu-foreground-menu, facemenu-face-menu):
15334         * epa-hook.el (epa-file-name-regexp):
15335         * dnd.el (dnd-protocol-alist):
15336         * textmodes/rst.el (auto-mode-alist):
15337         * button.el (default-button): Purecopy strings.
15339 2009-11-06  Glenn Morris  <rgm@gnu.org>
15341         * Makefile.in (ELCFILES): Update.
15343 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15345         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15346         * emacs-lisp/levents.el: Move to obsolete/levents.el.
15348         * nxml/xsd-regexp.el (xsdre-gen-categories):
15349         * nxml/xmltok.el (xmltok-parse-entity):
15350         * nxml/rng-parse.el (rng-parse-validate-file):
15351         * nxml/rng-maint.el (rng-format-manual)
15352         (rng-manual-output-force-new-line):
15353         * nxml/rng-loc.el (rng-save-schema-location-1):
15354         * nxml/rng-cmpct.el (rng-c-parse-file):
15355         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15356         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15358 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
15360         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15361         Remove extra save-excursions and make-variable-buffer-local's.
15362         Suggested by Stefan Monnier.
15364         (verilog-getopt-file, verilog-module-inside-filename-p)
15365         (verilog-set-define): Merge GNU 1.35 and repair changes from
15366         switching to using with-current-buffer.
15368         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15369         being treated as a number and confusing AUTORESET.
15370         Reported by Dan Dever.
15372         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15373         Add verilog-auto-ignore-concat to fix backward compatibility with
15374         older verilog-modes.  Reported by Dan Katz.
15376         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15377         containing closing anchors "...$".
15379         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15380         Reported by Wade Smith.
15382         (verilog-batch-execute-func): Comment on function usage.
15384 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
15386         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15387         for labels.
15389         (verilog-label-re, verilog-calc-1): Support proper indent of named
15390         asserts.
15392         (verilog-backward-token, verilog-basic-complete-re)
15393         (verilog-beg-of-statement, verilog-indent-re): Support proper
15394         indent of the assert statement at the beginning of a block of text.
15396         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15397         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15398         tokens as begins.
15400 2009-11-05  Glenn Morris  <rgm@gnu.org>
15402         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15403         Emacs 19.  (Bug#1531)
15404         (byte-compile-fix-header): Update for the above change.
15405         Drop test for epoch::version.
15407         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15408         * cus-dep.el (custom-make-dependencies):
15409         * finder.el (finder-compile-keywords):
15410         Use autoload-rubric's feature argument.
15412         * calendar/diary-lib.el (top-level): Make load behave more like require.
15414         * vc-git.el (vc-git-stash-map): Move definition before use.
15416 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
15418         * custom.el (custom-declare-group): Purecopy standard-value.
15419         (custom-declare-group): Purecopy custom-prefix.
15421         * international/mule.el (load-with-code-conversion):
15422         Call do-after-load-evaluation unconditionally.
15424         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15426 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15428         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15430 2009-11-04  Glenn Morris  <rgm@gnu.org>
15432         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15433         (byte-compile-compatibility): Remove option.
15434         (byte-compile-close-variables, byte-compile-fix-header)
15435         (byte-compile-insert-header, byte-compile-output-docform)
15436         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15437         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15438         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15439         (byte-compile-insert, byte-compile-defun):
15440         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
15441         (byte-defop-compiler19): Remove.
15442         Without byte-compile-compatibility, the 'emacs19-opcode property is not
15443         used by anything.  Replace all calls with byte-defop-compiler.
15445 2009-11-04  Juri Linkov  <juri@jurta.org>
15447         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15448         (menu-bar-options-menu): Don't quote the `prop' arg of
15449         `menu-bar-make-mm-toggle'.
15451 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
15453         * calendar/calendar.el (cal-loaddefs):
15454         * calendar/diary-lib.el (diary-loaddefs):
15455         * calendar/holidays.el (hol-loaddefs):
15456         * eshell/esh-module.el (esh-groups): Load rather than require.
15458 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15460         * calendar/todo-mode.el (todo-add-category): Don't hardcode
15461         point-min==1.
15462         (todo-top-priorities): Only display-buffer when called interactively.
15463         (todo-item-start): Don't save excursion point.
15464         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
15465         (todo-insert-item-here, todo-file-item, todo-remove-item):
15466         Adjust uses of todo-item-start and todo-item-end.
15468         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15469         (autoload-rubric): Don't use any more.
15471         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15472         and only put a prop if it is non-nil.
15474 2009-11-03  Juri Linkov  <juri@jurta.org>
15476         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15477         (menu-bar-options-menu): Fix list quoting (Bug#4429).
15479         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15480         and "Menu" to make top-level menu item visually one unit (like
15481         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15482         multi-word menu items).  Fix :help string for quit-window.
15484 2009-11-03  Glenn Morris  <rgm@gnu.org>
15486         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15487         (byte-compile-file-form-define-abbrev-table)
15488         (byte-compile-file-form-custom-declare-variable)
15489         (byte-compile-variable-ref, byte-compile-defvar):
15490         Whether or not a warning is enabled should only affect whether we issue
15491         the warning, not whether or not we collect the relevant data.
15492         Eg warnings can be turned on and off throughout the course of a file.
15494         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15495         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15497 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15499         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15500         * play/mpuz.el (mpuz-create-buffer):
15501         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15502         (lm-print-y,s,noise, lm-print-w0, lm-init):
15503         * play/gomoku.el (gomoku-prompt-for-move):
15504         * play/fortune.el (fortune-in-buffer):
15505         * play/dissociate.el (dissociated-press):
15506         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15507         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15508         * mail/supercite.el (sc-eref-show):
15509         * mail/smtpmail.el (smtpmail-send-it):
15510         * mail/rmailsum.el (rmail-summary-next-labeled-message)
15511         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15512         (rmail-summary-undelete-many, rmail-summary-rmail-update)
15513         (rmail-summary-goto-msg, rmail-summary-expunge)
15514         (rmail-summary-get-new-mail, rmail-summary-search-backward)
15515         (rmail-summary-add-label, rmail-summary-output-menu)
15516         (rmail-summary-output-body):
15517         * mail/rfc822.el (rfc822-addresses):
15518         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15519         * mail/mailpost.el (post-mail-send-it):
15520         * mail/hashcash.el (hashcash-generate-payment):
15521         * mail/feedmail.el (feedmail-run-the-queue)
15522         (feedmail-queue-send-edit-prompt-help-first)
15523         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15524         (feedmail-deduce-address-list):
15525         * eshell/esh-ext.el (eshell-remote-command):
15526         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15527         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15528         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15529         (viper-save-string-in-file, viper-valid-marker):
15530         * emulation/viper-keym.el (viper-toggle-key):
15531         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15532         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15533         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15534         * emulation/viper-cmd.el (viper-exec-form-in-vi)
15535         (viper-exec-form-in-emacs, viper-brac-function):
15536         * emulation/viper.el (viper-delocalize-var):
15537         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15538         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15539         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15540         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15541         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15542         * emulation/edt.el (edt-electric-helpify):
15543         * emulation/cua-rect.el (cua--rectangle-aux-replace):
15544         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15545         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15546         (cua-indent-to-global-mark-column):
15547         * calendar/diary-lib.el (calendar-mark-1):
15548         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15549         Use with-current-buffer.
15550         * emulation/viper.el (viper-delocalize-var): Use dolist.
15552 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
15554         * comint.el (comint-replace-by-expanded-history-before-point):
15555         Replace !! with the previous input string literally (Bug#1795).
15557 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
15559         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15560         to be made up of whitespace.
15562 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
15564         * minibuffer.el (read-file-name): Don't use file dialogs for
15565         remote directories (Bug#99).
15567 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
15569         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15571 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15573         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15574         instead of deleting the window or frame.
15576 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15578         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15579         Support face colors.
15581         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15582         New function.  Support face colors (Bug#1168).
15583         (tex-common-initialization): Use it.
15585         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15586         mode allows it (Bug#1168).
15588 2009-10-31  Juri Linkov  <juri@jurta.org>
15590         * facemenu.el (list-colors-display): Don't mark buffer as
15591         modified (Bug#3948).
15593 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15595         * international/mule-diag.el (list-character-sets-1):
15596         Minor message fix (Bug#3526).
15598         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15599         Fix face property (Bug#4834).
15600         (etags-list-tags, etags-tags-apropos-additional)
15601         (etags-tags-apropos, tags-select-tags-table): Add follow-link
15602         property.
15604         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15605         items.
15607 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15609         * textmodes/two-column.el (2C-split):
15610         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15611         * textmodes/tex-mode.el (tex-set-buffer-directory):
15612         * textmodes/spell.el (spell-region, spell-string):
15613         * textmodes/reftex.el (reftex-erase-buffer):
15614         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15615         * textmodes/reftex-toc.el (reftex-toc-promote-action):
15616         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15617         (reftex-select-item):
15618         * textmodes/reftex-ref.el (reftex-label-info-update)
15619         (reftex-offer-label-menu):
15620         * textmodes/reftex-index.el (reftex-index-change-entry)
15621         (reftex-index-phrases-info):
15622         * textmodes/reftex-global.el (reftex-create-tags-file)
15623         (reftex-save-all-document-buffers, reftex-ensure-write-access):
15624         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15625         (reftex-view-crossref-from-bibtex):
15626         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15627         (reftex-extract-bib-entries-from-thebibliography)
15628         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15629         * textmodes/refbib.el (r2b-capitalize-title):
15630         (r2b-convert-buffer, r2b-help):
15631         * textmodes/page-ext.el (pages-directory)
15632         (pages-directory-goto-with-mouse):
15633         * textmodes/bibtex.el (bibtex-validate-globally):
15634         * textmodes/bib-mode.el (bib-capitalize-title):
15635         * textmodes/artist.el (artist-clear-buffer, artist-system):
15636         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15637         (local-set-scheme-interaction-buffer, xscheme-process-filter)
15638         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15639         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15640         (xscheme-send-control-g-interrupt, xscheme-start-process)
15641         (xscheme-process-sentinel, xscheme-cd):
15642         * progmodes/verilog-mode.el (verilog-read-always-signals)
15643         (verilog-set-define, verilog-getopt-file)
15644         (verilog-module-inside-filename-p):
15645         * progmodes/sh-script.el:
15646         * progmodes/python.el (python-pdbtrack-get-source-buffer)
15647         (python-pdbtrack-grub-for-buffer, python-execute-file):
15648         * progmodes/octave-inf.el (inferior-octave):
15649         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15650         (idlwave-shell-compile-helper-routines, idlwave-set-local)
15651         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15652         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15653         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15654         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15655         (idlwave-shell-filter, idlwave-shell-examine-highlight)
15656         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15657         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15658         (idlwave-shell-examine-display, idlwave-shell-run-region)
15659         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15660         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15661         * progmodes/idlw-help.el (idlwave-help-get-special-help)
15662         (idlwave-help-get-help-buffer):
15663         * progmodes/gud.el (gud-basic-call, gud-find-class)
15664         (gud-tooltip-activate-mouse-motions-if-enabled):
15665         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15666         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15667         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15668         (ebrowse-tags-next-file):
15669         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15670         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15671         (ebnf-eps-finish-and-write):
15672         * progmodes/cpp.el (cpp-edit-save):
15673         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15674         * progmodes/cc-defs.el (c-emacs-features):
15675         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15676         (antlr-directory-dependencies):
15677         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15678         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15679         (ada-find-any-references, ada-make-filename-from-adaname)
15680         (ada-make-body-gnatstub):
15681         * obsolete/rnews.el (news-list-news-groups):
15682         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15683         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15684         * net/rcirc.el (rcirc-debug):
15685         * net/newst-treeview.el (newsticker--treeview-list-add-item)
15686         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15687         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15688         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15689         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15690         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15691         (newsticker--treeview-list-clear-highlight)
15692         (newsticker--treeview-list-update-highlight)
15693         (newsticker--treeview-list-highlight-start)
15694         (newsticker--treeview-tree-update-highlight)
15695         (newsticker--treeview-get-selected-item)
15696         (newsticker-treeview-mark-list-items-old)
15697         (newsticker--treeview-set-current-node):
15698         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15699         * net/newst-backend.el (newsticker--get-news-by-funcall)
15700         (newsticker--get-news-by-wget, newsticker--image-get)
15701         (newsticker--image-sentinel):
15702         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15703         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15704         (eudc-ph-close-session):
15705         * net/eudc.el (eudc-save-options):
15706         * language/thai-word.el (thai-update-word-table):
15707         * language/japan-util.el (japanese-string-conversion):
15708         * international/titdic-cnv.el (tsang-quick-converter)
15709         (ziranma-converter, ctlau-converter):
15710         * international/mule-cmds.el (describe-language-environment):
15711         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15712         (skkdic-convert-postfix, skkdic-convert-prefix):
15713         (skkdic-convert-okuri-nasi, skkdic-convert):
15714         * emacs-lisp/re-builder.el (reb-update-overlays):
15715         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15716         * emacs-lisp/gulp.el (gulp-send-requests):
15717         * emacs-lisp/find-gc.el (trace-call-tree):
15718         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15719         (eieio-describe-generic):
15720         * emacs-lisp/eieio-base.el (eieio-persistent-read):
15721         * emacs-lisp/edebug.el (edebug-outside-excursion):
15722         * emacs-lisp/debug.el (debugger-make-xrefs):
15723         * emacs-lisp/cust-print.el (custom-prin1-to-string):
15724         * emacs-lisp/chart.el (chart-new-buffer):
15725         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15726         Use with-current-buffer.
15727         * textmodes/artist.el (artist-system): Don't call
15728         copy-sequence on a fresh string.
15729         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15731 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
15733         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15734         is no item to edit.  (Bug#4820)
15735         (todo-top-priorities): Restore point and restore narrowing in Todo
15736         buffer.  (Bug#4820)
15738 2009-10-31  Glenn Morris  <rgm@gnu.org>
15740         * net/ange-ftp.el (top-level): Don't require dired when compiling.
15741         (comint-last-output-start, comint-last-input-start)
15742         (comint-last-input-end): Don't defvar when compiling.
15743         (ange-ftp-process-file): Use bound-and-true-p.
15745         * pcmpl-rpm.el (top-level): Move provide statement to end.
15746         (pcmpl-rpm): Remove unused custom group.
15748         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15750         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15752         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15753         (byte-compile-warnings): Add `constants' as an option.
15754         (byte-compile-callargs-warn, byte-compile-arglist-warn)
15755         (display-call-tree): Update for byte-compile-fdefinition possibly
15756         returning `(macro lambda ...)'.  (Bug#4778)
15757         (byte-compile-variable-ref, byte-compile-setq-default):
15758         Respect `constants' member of byte-compile-warnings.
15760 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15762         * vc-bzr.el (vc-bzr-revision-keywords): New var.
15763         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15764         to "submit:".
15766 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
15768         * textmodes/ispell.el (ispell-skip-region-alist):
15769         * international/mule-conf.el (eight-bit):
15770         * international/fontset.el (font-encoding-alist):
15771         * startup.el (pure-space-overflow-message):
15772         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15773         * paths.el (gnus-nntp-service, rmail-spool-directory)
15774         (term-file-prefix):
15775         * files.el (save-some-buffers-action-alist):
15776         * cmuscheme.el (same-window-buffer-names):
15777         * ielm.el (same-window-buffer-names):
15778         * shell.el (same-window-buffer-names):
15779         * mail/sendmail.el (same-window-buffer-names):
15780         * progmodes/inf-lisp.el (same-window-buffer-names):
15781         * bindings.el (mode-line-client)
15782         (mode-line-column-line-number-mode-map):
15783         * language/tibetan.el (tibetan-precomposition-rule-regexp)
15784         (tibetan-precomposed-regexp): Purecopy string arguments.
15786 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15788         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15789         (calcDigit-nondigit):
15790         * calc/calc-yank.el (calc-copy-to-buffer):
15791         * calc/calc-units.el (calc-invalidate-units-table):
15792         * calc/calc-trail.el (calc-trail-yank):
15793         * calc/calc-store.el (calc-insert-variables):
15794         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15795         * calc/calc-prog.el (calc-read-parse-table):
15796         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15797         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15798         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15799         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15800         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15801         (calc-graph-name, calc-graph-find-command, calc-graph-view)
15802         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15803         * calc/calc-ext.el (calc-realign):
15804         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15805         (calc-embedded-finish-edit, calc-embedded-make-info)
15806         (calc-embedded-finish-command, calc-embedded-stack-change):
15807         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15809         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15810         shell-dynamic-complete-filename in preference to
15811         comint-dynamic-complete-filename.
15813         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15814         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15815         Don't consider whether the display supports colors.
15816         (bookmark-import-new-list): Use dolist.
15817         (bookmark-bmenu-mode-map): Move initialization into declaration.
15818         (bookmark-bmenu-list): Use dolist, simplify.
15819         (bookmark-show-all-annotations): Use save-selected-window and dolist.
15820         (menu-bar-final-items): Use push.
15822 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15824         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15825         it works on remote files.
15826         (vc-hg-diff): Don't pass any `--cwd' argument.
15828 2009-10-27  Kevin Ryde  <user42@zip.com.au>
15830         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15831         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15832         (Further to Bug#3921).
15834 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
15836         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15837         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15838         calling `tramp-imap-put-file'.  Add file size to the call.
15839         (tramp-imap-get-file-entries): Compute also user name, file size,
15840         and date.
15841         (tramp-imap-handle-insert-directory): Insert uid and gid.
15842         (tramp-imap-handle-file-attributes): Transform uid and gid
15843         according to `id-format'.
15844         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
15845         size in header X-Size.
15847 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
15849         * simple.el (transpose-subr): Give clearer error when the mark
15850         is not set.  (Bug#4807)
15852 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
15854         * net/tramp.el (tramp-perl-file-truename): New defconst.
15855         Perl code contributed by yary <not.com@gmail.com> (tiny change).
15856         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15857         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15858         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15860         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15861         Ignore `dired-call-process'.
15862         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15864 2009-10-26  Julian Scheid  <julians37@gmail.com>
15866         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15867         (tramp-get-remote-readlink): New defun.
15868         (tramp-handle-file-truename): Use it.
15869         (tramp-handle-file-exists-p): Check file-attributes cache, assume
15870         file exists if cache value present.
15871         (tramp-check-cached-permissions): New defun.
15872         (tramp-handle-file-readable-p): Use it.
15873         (tramp-handle-file-writable-p): Likewise.
15874         (tramp-handle-file-executable-p): Likewise.
15875         (tramp-handle-file-name-all-completions): Try using Perl to get
15876         partial completions.  When perl not available, combine `cd' and
15877         `ls' into single remote operation and use shell expansion to get
15878         partial remote directory contents.  Set `file-exists-p' cache for
15879         directory and any files returned by ls.  Change cache handling to
15880         support partial directory contents.  Use error message emitted by
15881         remote `cd' or Perl code for local tramp-error.
15882         (tramp-do-copy-or-rename-file-directly): Avoid separate
15883         tramp-send-command-and-check call.
15884         (tramp-handle-process-file): Merge three remote ops into one.
15885         Do not flush all caches when `process-file-side-effects' is set.
15886         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15887         file-attributes shows uid/gid to be set already.
15889 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
15891         * textmodes/tex-mode.el (tex-dvi-view-command)
15892         (tex-show-queue-command, tex-open-quote):
15893         * progmodes/ruby-mode.el (auto-mode-alist)
15894         (interpreter-mode-alist): Purecopy strings.
15896         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15898         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15899         string for the hook, keymap and abbrev table.
15901         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15903         * x-dnd.el (x-dnd-xdnd-to-action):
15904         * startup.el (fancy-startup-text, fancy-about-text): Change to
15905         defconst from defvar.
15907         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15909         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15910         Purecopy initialization strings.
15912         * mail/sendmail.el (mail-header-separator)
15913         (mail-personal-alias-file):
15914         * mail/rmail.el (rmail-default-dont-reply-to-names)
15915         (rmail-ignored-headers, rmail-retry-ignored-headers)
15916         (rmail-highlighted-headers, rmail-secondary-file-directory)
15917         (rmail-secondary-file-regexp):
15918         * files.el (null-device, file-name-invalid-regexp)
15919         (locate-dominating-stop-dir-regexp)
15920         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15921         (interpreter-mode-alist): Use mapcar instead of mapc.
15923         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15925         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15926         (completion-ignored-extensions):
15927         (debug-ignored-errors): Purecopy strings.
15929 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15931         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15932         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15933         (pcomplete--here): Use push.
15935         * subr.el (all-completions): Declare the 4th arg obsolete.
15937 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15939         * pcomplete.el (pcomplete-unquote-argument-function): New var.
15940         (pcomplete-unquote-argument): New function.
15941         (pcomplete--common-suffix): Always pay attention to case.
15942         (pcomplete--table-subvert): Quote and unquote the text.
15943         (pcomplete--common-quoted-suffix): New function.
15944         (pcomplete-std-complete): Use it and pcomplete-begin.
15946         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15947         we're inside a dedicated or minibuffer window.
15949 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
15951         * bookmark.el: Update documentation, especially documentation
15952         of `bookmark-alist' and of the bookmark file format.
15953         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
15955 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
15957         * mail/emacsbug.el (report-emacs-bug): Clarify that the
15958         keybindings apply to the mail buffer (Bug#4003).  Shrink help
15959         window to buffer.
15961         * whitespace.el (whitespace-mode, whitespace-newline-mode)
15962         (global-whitespace-mode, global-whitespace-newline-mode)
15963         (whitespace-toggle-options, global-whitespace-toggle-options):
15964         Doc fix (Bug#3660).
15966         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15967         of xmltok-start before the end tag was inserted (Bug#2840).
15969         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15970         patterns that are preceded by an open-paren (Bug#1320).
15972 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
15974         * files.el (delete-directory): Delete symlinks to directories with
15975         delete-file (Bug#4739).
15977 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
15979         * vc.el (vc-backend-for-registration): Rename from
15980         vc-get-backend-for-registration.  Update callers.
15982         * international/mule-cmds.el (set-language-info-alist):
15983         Purecopy lang-env.
15984         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15985         (charset): Purecopy the name.
15986         (define-char-code-property): Purecopy string arguments.
15988         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15989         Purecopy string arguments.
15991         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15992         * ediff-hook.el (menu-bar-ediff-menu):
15993         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15994         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15996 2009-10-24  Glenn Morris  <rgm@gnu.org>
15998         * comint.el (comint-dynamic-list-completions):
15999         * term.el (term-dynamic-list-completions): Use choose-completion rather
16000         than obsolete alias mouse-choose-completion.
16002         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16003         file-cache-choose-completion.
16004         (file-cache-choose-completion): Handle an optional event argument.
16005         (file-cache-mouse-choose-completion): Make it an obsolete alias.
16007         * progmodes/octave-mod.el (octave-complete-symbol):
16008         Use choose-completion if mouse-choose-completion is ever removed.
16010         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16011         use.
16013         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16014         compiler.
16016         * vc-hooks.el (vc-responsible-backend): Fix declaration.
16018 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16020         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16021         Ignore `pred' now that we receive one.
16022         Handle test-completion specially.
16024 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16026         * vc.el (vc-responsible-backend): Throw an error if not backend is
16027         found.  Remove the REGISTER argument.  Move the code dealing with
16028         REGISTER ...
16029         (vc-get-backend-for-registration): ... here.  New function.
16030         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16031         of vc-responsible-backend, pass the file name instead of the
16032         directory name.
16034 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16036         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16037         New funs.
16038         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
16039         (pcomplete-comint-setup): Don't modify a global var via
16040         accidental side-effects.
16041         (pcomplete-shell-setup): Adjust call accordingly.
16042         (pcomplete-parse-comint-arguments): Use push.
16044 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
16046         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16047         Allow uncapitalized info node names (Bug#3921).
16049         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16050         to the DEBUG file (Bug#3781).
16052 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
16054         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16055         dictionary entry (Bug#4579).
16057 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
16059         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16060         from `rfn-eshadow-update-overlay-hook' when unloading.
16061         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16062         "rsyncc".  Adjust doc string.
16063         (tramp-temp-buffer-file-name): New buffer-local defvar.
16064         (tramp-handle-insert-file-contents, tramp-handle-write-region):
16065         Keep temporary file when indicated by method ("rsync" and
16066         "rsyncc").
16067         (tramp-handle-write-region): Handle APPEND.
16068         (tramp-delete-temp-file-function): New defun.  Added to
16069         `kill-buffer-hook'.
16071 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
16073         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16075 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16077         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16078         (color-name-rgb-alist, tty-standard-colors)
16079         (tty-color-mode-alist): Change to defconst.
16081         * simple.el (mark-inactive): Purecopy message.
16083         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16084         (global-map, yank-menu):
16085         * textmodes/ispell.el (ispell-menu-map):
16086         * net/eudc.el (eudc-tools-menu):
16087         * international/mule-cmds.el (describe-language-environment-map)
16088         (setup-language-environment-map, set-coding-system-map)
16089         (mule-menu-keymap):
16090         * vc-hooks.el (vc-menu-entry, vc-menu-map):
16091         * replace.el (occur-mode-map):
16092         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16094 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
16096         * calc/calc.el (math-read-number, math-read-number-simple):
16097         Use `save-match-data'.
16099 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16101         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16102         rather than fiddling with global-map bindings, since it should only
16103         affect per-terminal settings.
16104         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16106         * minibuffer.el (completion-table-with-terminator): Allow to specify
16107         the terminator-regexp.
16109         * simple.el (switch-to-completions): Look for *Completions* in other
16110         frames as well.
16112         * pcomplete.el: Allow the use of completion-tables.
16113         (pcomplete-std-complete): New command.
16114         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16115         (pcomplete--here): Use a function for `form' rather than an expression,
16116         so it can be byte-compiled.
16117         (pcomplete-here, pcomplete-here*): Adjust accordingly.
16118         Add edebug declaration.
16119         (pcomplete-show-completions): Remove unused var `curbuf'.
16120         (pcomplete-do-complete, pcomplete-stub):
16121         Don't assume `completions' is a list of strings any more.
16123 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
16125         * find-dired.el (find-name-arg): Fix typo in docstring.
16127 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16129         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16130         (pcmpl-linux-fs-types): Same, and update to new modules layout.
16132         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16133         pcomplete-entries.
16135         * comint.el (comint-read-input-ring, comint-write-input-ring)
16136         (comint-substitute-in-file-name)
16137         (comint-dynamic-complete-as-filename)
16138         (comint-dynamic-simple-complete)
16139         (comint-dynamic-list-filename-completions)
16140         (comint-dynamic-list-completions)
16141         (comint-redirect-results-list-from-process): Minor simplifications.
16143 2009-10-21  Kevin Ryde  <user42@zip.com.au>
16145         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16146         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16147         the first form.  And insert a blank line after ";;; Code" since
16148         that's usual style.  (Bug#4612)
16150         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16152 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16154         * minibuffer.el (completion-table-with-terminator): Properly implement
16155         boundaries, in case `terminator' appears in the suffix.
16156         (completion--embedded-envvar-table): Don't return boundaries if
16157         there's no valid completion.  Simplify.
16158         (completion-file-name-table): New completion table extracted from
16159         completion--file-name-table.
16160         (completion--file-name-table): Use it.
16161         (read-file-name-predicate): Declare obsolete.
16162         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16163         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16164         completion-file-name-table, and use the `pred' argument.
16165         * files.el (locate-file-completion-table): Use the `pred' arg rather
16166         than read-file-name-predicate.
16167         (abbreviate-file-name): Use \` rather than ^ for BOS.
16169 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
16171         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16172         vc-responsible-backend to register, it causes problems.
16174 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16176         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16178 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
16180         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16181         (tramp-smb-handle-file-attributes): Use it.
16182         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16183         (tramp-smb-handle-insert-directory): Use `mapc' rather than
16184         `mapcar'.  Use `tramp-smb-get-stat-capability'.
16185         Add `dired-filename' text properties.
16186         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16187         (tramp-smb-maybe-open-connection): Simplify check for smbclient
16188         version.
16190 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16192         * subr.el (read-key-delay): Reduce to 0.01.
16193         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16194         (bug#4751).
16196 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16198         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16200         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16201         (Info-menu): Remove unused vars `last' and `completions'.
16202         (Info-index-nodes): Remove unused var `node'.
16204         * info.el (Info-complete-menu-item): Use complete-with-action.
16206 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
16208         Make vc-annotate work through copies and renames.
16209         * vc-annotate.el (vc-annotate-extract-revision-at-line):
16210         Return the file name too.
16211         (vc-annotate-revision-at-line)
16212         (vc-annotate-find-revision-at-line)
16213         (vc-annotate-revision-previous-to-line)
16214         (vc-annotate-show-log-revision-at-line): Update to get the file
16215         name from vc-annotate-extract-revision-at-line.
16216         (vc-annotate-show-diff-revision-at-line-internal): Change the
16217         argument to mean whether to show a file diff or not.  Get the file
16218         name from vc-annotate-extract-revision-at-line.
16219         (vc-annotate-show-diff-revision-at-line):
16220         Update vc-annotate-show-diff-revision-at-line call.
16221         (vc-annotate-warp-revision): Add an optional file argument.
16223         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16224         (vc-git-annotate-extract-revision-at-line): Also return the file
16225         name if found.
16227         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16228         command.  Remove unused code.
16229         (vc-hg-annotate-re): Update to match --follow output.
16230         (vc-hg-annotate-extract-revision-at-line): Also return the file
16231         name if found.
16233         * vc.el: Update annotate-extract-revision-at-line documentation.
16235 2009-10-18  Kevin Ryde  <user42@zip.com.au>
16237         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16238         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16240         * net/browse-url.el (browse-url): Identify alist with "consp and
16241         not functionp" and let all other things go down the `apply' leg,
16242         as suggested by Stefan.  (Further to bug#4531.)
16244 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
16246         * minibuffer.el (read-file-name): Check for repeat before putting
16247         a default argument in file-name-history (Bug#4657).
16249         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16250         read syntax (Bug#4737).
16252         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16254 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
16256         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16257         (html-tag-alist, html-tag-help): Add descriptions for undocumented
16258         entries and make note of obsolete tags.
16260 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16262         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16264 2009-10-18  Glenn Morris  <rgm@gnu.org>
16266         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16267         grep, so that binary files (eg international/uni-bidi.el) can match.
16268         Remove test for "UnicodeData" files, since it is hopefully unnecessary
16269         now, and in any case the file header format has changed.
16271 2009-10-17  Glenn Morris  <rgm@gnu.org>
16273         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16274         (flyspell-get-word, flyspell-large-region)
16275         (flyspell-auto-correct-previous-word): Doc/error message fixes.
16277 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
16279         * Makefile.in (ELCFILES): Add ede/shell.
16281 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
16283         * term/common-win.el (x-colors): Purecopy it.
16285 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16287         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16288         permissive for when the buffer is empty.
16289         (tar-header-block-tokenize): Decode the username and groupname.
16290         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16292 2009-10-17  Eric Ludlam  <zappo@gnu.org>
16294         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16295         contains multibyte characters, choose first applicable coding
16296         system automatically.
16298 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16300         * international/mule-cmds.el (select-safe-coding-system): If the file
16301         has a coding cookie, use it regardless of any other setting (bug#4712).
16303 2009-10-17  Glenn Morris  <rgm@gnu.org>
16305         * foldout.el (foldout-mouse-swallow-events):
16306         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16308         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16309         (dired-keep-marker-copy, dired-keep-marker-hardlink)
16310         (dired-keep-marker-symlink, dired-dwim-target)
16311         (dired-copy-preserve-time): Do not autoload these defcustoms.
16313         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16314         messages from messing up the file coding.  (Bug#4623)
16316 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
16318         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16319         if no match is found for the current dictionary.  (Bug#4578)
16321         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16322         optional, since that is how it is documented, and this is often called
16323         with a nil argument.  (Bug#4577)
16324         (flyspell-external-point-words, flyspell-auto-correct-word)
16325         (flyspell-correct-word-before-point, flyspell-word-search-forward)
16326         (flyspell-word-search-backward): Remove nil argument in calls to
16327         flyspell-get-word, since it is not needed now.
16329 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
16331         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
16333 2009-10-16  Glenn Morris  <rgm@gnu.org>
16335         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16337 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
16339         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16340         (ange-ftp-file-size): New function.
16341         (ange-ftp-file-attributes): Use it.
16343 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
16345         * net/tramp-smb.el (tramp-smb-version): New defvar.
16346         (tramp-smb-maybe-open-connection): Use it, in order to avoid
16347         repeated checks.
16349 2009-10-16  Glenn Morris  <rgm@gnu.org>
16351         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16352         Maybe copy some custom properties from old to new name.  (Bug#4706)
16354 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
16356         * subr.el (error, sit-for, start-process-shell-command)
16357         (start-file-process-shell-command): Set the calling convention
16358         after the function definition.
16360 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16362         * subr.el (error, sit-for, start-process-shell-command)
16363         (start-file-process-shell-command): Use the new
16364         set-advertised-calling-convention feature.
16366 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
16368         * international/ucs-normalize.el (ucs-normalize-version):
16369         Change to 1.2.
16370         (check-range): Adjust for Unicode 5.2.
16372 2009-10-15  Juri Linkov  <juri@jurta.org>
16374         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16375         to the `menu-item' format.
16377 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
16379         * net/tramp.el (tramp-replace-environment-variables): Do not fail
16380         if the environment variable does not exist.
16382         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16383         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16384         parameter.
16385         (tramp-smb-handle-add-name-to-file)
16386         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16387         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16388         (tramp-smb-handle-file-attributes)
16389         (tramp-smb-do-file-attributes-with-stat)
16390         (tramp-smb-handle-file-local-copy)
16391         (tramp-smb-handle-insert-directory)
16392         (tramp-smb-handle-make-directory)
16393         (tramp-smb-handle-make-directory-internal)
16394         (tramp-smb-handle-make-symbolic-link)
16395         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16396         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16397         (tramp-smb-maybe-open-connection): Apply the changed parameters.
16398         (tramp-smb-read-file-entry): Read Disk names in compressed format.
16399         Handle long file names.
16400         (tramp-smb-get-cifs-capabilities): Check, whether the connection
16401         process is running.
16402         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16403         Read share names with "-g" option.
16405 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
16407         * net/rcirc.el (rcirc-view-log-file): New command.
16408         (rcirc-track-minor-mode-map): Remove C-c ` binding.
16409         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16410         specified.
16412 2009-10-15  Glenn Morris  <rgm@gnu.org>
16414         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16415         from the second command-line argument.
16416         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16417         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16418         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16419         w32-batch-update-autoloads.
16420         * emacs-lisp/autoload.el (autoload-make-program): New variable.
16421         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16423         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16424         the headers cannot be located.  Simplify, subtracting superflous
16425         save-excursions.
16427 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16429         Replace completion-base-size by completion-base-position to fix bugs
16430         such as (bug#4699).
16431         * simple.el (completion-base-position): New var.
16432         (completion-base-size): Mark as obsolete.
16433         (choose-completion): Make it work for mouse events as well.
16434         Pass the new base-position to choose-completion-string.
16435         (choose-completion-guess-base-position): New function, extracted from
16436         choose-completion-delete-max-match.
16437         (choose-completion-delete-max-match): Use it.  Make obsolete.
16438         (choose-completion-string): Use the new base-position info.
16439         (completion-root-regexp): Delete.
16440         (completion-setup-function): Preserve completion-base-position.
16441         Eliminate obsolete base-size manipulation.
16442         * minibuffer.el (display-completion-list): Don't mess with base-size.
16443         (minibuffer-completion-help): Set completion-base-position instead.
16444         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16445         choose-completion.
16446         * textmodes/bibtex.el (bibtex-complete):
16447         * emacs-lisp/crm.el (crm--choose-completion-string):
16448         Adjust to new calling convention.
16449         * complete.el (partial-completion-mode): Use minibufferp to avoid
16450         bumping into incompatible change to choose-completion-string-functions.
16451         * ido.el (ido-choose-completion-string): Make its calling convention
16452         more permissive.
16453         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16454         base-size manipulation.
16455         (comint-dynamic-list-input-ring): Use dotimes and push.
16456         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16457         fundamental-mode.  Use `or'.
16459 2009-10-14  Juri Linkov  <juri@jurta.org>
16461         * misearch.el (multi-isearch-next-buffer-from-list)
16462         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
16464 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16466         * Makefile.in (compile-onefile): Load `bytecomp' rather than
16467         `bytecomp.el'.
16469         * minibuffer.el (completion-pcm--merge-completions): Make sure the
16470         string we return is all made up of text from the completions rather
16471         than part from the completions and part from the input (bug#4219).
16473         * ido.el (ido-everywhere): Use define-minor-mode.
16475         * buff-menu.el (list-buffers, ctl-x-map):
16476         Mark the entry points with ;;;###autoload cookies.
16478 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
16480         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16481         correctly in the detached head case.
16482         (vc-git-print-log): Remove unused binding.
16484         * vc.el (vc-responsible-backend): When a directory is passed for
16485         for registration create a VC repository if no backend is
16486         responsible for the directory argument.
16487         (vc-deduce-fileset): Tell vc-responsible-backend to register.
16489         * vc.el: Move comments about RCS and SCCS ...
16490         * vc-rcs.el:
16491         * vc-sccs.el: ... here, respectively.
16493 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16495         * minibuffer.el (completion--file-name-table): Return nil if there's
16496         no file completion, even if substitute-in-file-name changed
16497         the string (bug#4708).
16499 2009-10-13  Juri Linkov  <juri@jurta.org>
16501         * files-x.el (read-file-local-variable-value): Don't filter out
16502         minor modes from mode name completion (bug#4664).
16504 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16506         * international/mule-cmds.el (ucs-names): Remove exclusion of
16507         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16509 2009-10-13  Kenichi Handa  <handa@m17n.org>
16511         * international/uni-name.el: Regenerated.
16513 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16515         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
16516         should be automatically buffer-local, but isn't.)
16518 2009-10-12  Sam Steingold  <sds@gnu.org>
16520         * progmodes/compile.el (compilation-next-error-function): Fix the
16521         timestamps if the buffer has been visited before.
16522         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16523         non-anchored patterns, like the perl one (bug#3928).
16525 2009-10-12  Glenn Morris  <rgm@gnu.org>
16527         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16528         Let-bind `size'.
16530 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
16532         * proced.el (proced-unload-function): New function.
16534         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16535         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16536         Doc fix.
16538         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16540 2009-10-11  Juri Linkov  <juri@jurta.org>
16542         * files-x.el (read-file-local-variable-value):
16543         Provide default value only for bound variables (bug#4664).
16545 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
16547         * net/tramp.el (tramp-local-host-p): Function shall return nil for
16548         connection methods like smb.
16550         * net/tramp-cache.el (tramp-flush-connection-property): The hash
16551         can be empty.
16553         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16554         (tramp-smb-file-name-handler-alist): Add handlers for
16555         `add-name-to-file', `make-symbolic-link'.
16556         (tramp-smb-handle-add-name-to-file)
16557         (tramp-smb-do-file-attributes-with-stat)
16558         (tramp-smb-handle-make-symbolic-link)
16559         (tramp-smb-get-cifs-capabilities): New defuns.
16560         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16561         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16562         (tramp-smb-handle-file-local-copy)
16563         (tramp-smb-handle-make-directory-internal)
16564         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16565         The file name syntax depends on cifs capabilities.
16566         (tramp-smb-handle-file-attributes):
16567         Call `tramp-smb-do-file-attributes-with-stat' if possible.
16568         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16569         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16571 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
16573         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16574         (eieio-defclass): Apply deftype handler and setf-method properties
16575         directly.
16576         (eieio-add-new-slot): Avoid union function from cl library.
16577         (eieio--typep): New function.
16578         (eieio-perform-slot-validation): Use it.
16580 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16582         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16583         Update documentation to refer to the variables documented in r1.135.
16584         (Bug#4188)
16586 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16588         * bookmark.el (Info-suffix-list): Remove this unused variable.
16589         (bookmark-current-point): Remove this obsolete variable.
16590         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16591         Adjust for removal of bookmark-current-point.
16593         (bookmarks-already-loaded, bookmark-current-buffer)
16594         (bookmark-yank-point): Document.  (Bug#4188)
16596 2009-10-10  Glenn Morris  <rgm@gnu.org>
16598         * frame.el (frame-height): Doc fix.
16600         * calendar/calendar.el (calendar-split-width-threshold): New option.
16601         (calendar-basic-setup): Use calendar-split-width-threshold.
16603 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
16605         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16606         Ideographic Supplement" range (U+1F200..U+1F2FF).
16608 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16610         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16611         since the list will have been rebuilt anyway.  (Bug#4349)
16613 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16615         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16616         (bookmark-bmenu-execute-deletions): Don't save here, as
16617         bookmark-delete will now do so if necessary.
16618         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16619         (Bug#4348)
16621 2009-10-09  Glenn Morris  <rgm@gnu.org>
16623         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16625 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16627         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16628         (bookmark-jump-other-window): Just invoke bookmark-jump with new
16629         argument now, so the two function's behaviors will match.  (Bug#3645)
16631 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
16633         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16634         (tramp-file-name-real-host, tramp-file-name-port):
16635         Apply `save-match-data'.
16637         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16638         case both directories are remote.
16639         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16640         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16642 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16644         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16646 2009-10-07  Glenn Morris  <rgm@gnu.org>
16648         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16649         of concat.
16651 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16653         * files-x.el (read-file-local-variable): Include some
16654         non-user-variables in the completion table (bug#4664).
16656 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
16658         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16659         message.
16661         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16662         (tramp-smb-file-name-handler-alist): Add handler for
16663         `copy-directory', `expand-file-name', `set-file-modes'.
16664         (tramp-smb-handle-copy-directory)
16665         (tramp-smb-handle-expand-file-name)
16666         (tramp-smb-handle-set-file-modes): New defuns.
16667         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16668         (tramp-smb-handle-file-attributes): Simplify check for retrieving
16669         entry.
16670         (tramp-smb-handle-insert-directory): Don't flush the cache.
16671         (tramp-smb-maybe-open-connection): Check for samba client and
16672         server versions.
16674 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
16676         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16677         to not error out of search for "^lisp=" fails.
16679 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16681         * makefile.w32-in (WINS_UPDATES): New macro.
16682         (custom-deps, finder-data, autoloads): Use it.
16684 2009-10-07  Glenn Morris  <rgm@gnu.org>
16686         * Makefile.in (autoloads): Revert previous change.
16687         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16688         the list of preloaded files passed on the command-line, get
16689         it from src/Makefile.
16691         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16692         show the original buffer rather than a random one.
16694 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
16696         * help.el (describe-no-warranty): Place point in a slightly better
16697         position in the GPLv3 text.
16699 2009-10-06  Sam Steingold  <sds@gnu.org>
16701         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16702         the comm attribute is present before calling regexp-quote.
16704 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
16706         * play/animate.el (animate-string): For good effect, make sure
16707         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16709         * play/animate.el (animate-sequence, animate-birthday-present):
16710         * misc.el (butterfly): Don't set `indent-tabs-mode'.
16712 2009-10-06  Glenn Morris  <rgm@gnu.org>
16714         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16716         * emacs-lisp/autoload.el (autoload-excludes): New variable.
16717         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16718         (batch-update-autoloads): Process a string value of autoload-excludes,
16719         set during the build process.
16720         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
16722         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16723         inside with-parsed...  macro so that `v' is defined.
16725         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16726         * progmodes/fortran.el (fortran-end-of-block)
16727         (fortran-beginning-of-block):
16728         Also push mark in the macro case.
16730         * emerge.el (emerge-show-file-name):
16731         * calc/calc.el (calc-quit):
16732         * calc/calc-misc.el (calc-big-or-small):
16733         * calc/calc-graph.el (calc-graph-view):
16734         * calc/calc-ext.el (calc-reset):
16735         * calendar/calendar.el (calendar-basic-setup):
16736         Use window-full-height-p.
16738         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16739         header we don't understand, don't insert another.  (Bug#4624)
16740         If changing mime charset, insert the new one in the right place.
16742 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
16744         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16745         (cal-tex-cursor-month): Correctly increment the end date for diary and
16746         holiday listing.  (Bug#4626)
16748 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16750         * help-fns.el (describe-function-1): Don't burp if the function is not
16751         a symbol.
16753 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
16755         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16756         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16757         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16758         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16760         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16761         (eieio-default-superclass): Reflow docstrings.
16762         (this, class-option-assoc, defclass, eieio-class-un-autoload)
16763         (eieio-unbind-method-implementations, defmethod)
16764         (eieio-validate-slot-value, eieio-validate-class-slot-value)
16765         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16766         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16767         (eieio-slot-originating-class-p, eieio-slot-name-index)
16768         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16769         (constructor, initialize-instance, no-next-method, object-print)
16770         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16771         Fix typos in docstrings.
16772         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16773         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16774         (next-method-p): Doc fixes.
16775         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16776         Fix typos in error messages.
16777         (eieio-defmethod): Fix typo in description of generic method.
16779         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16780         (eieio-persistent-save-interactive, slot-missing):
16781         Fix typos in docstrings.
16782         (eieio-instance-inheritor-slot-boundp): Doc fix.
16784         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16785         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16787         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16788         (eieio-custom-object-apply-reset):
16789         Fix typos in docstrings and error messages.
16791         * emacs-lisp/eieio-datadebug.el (data-debug-show):
16792         Fix typo in docstring.
16794         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16795         (eieio-browse-tree): Doc fix.
16796         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16797         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16798         Fix typos in docstrings.
16800         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16801         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16802         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16803         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16804         Reflow docstrings.
16806 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
16808         * vc-hg.el (log-view-vc-backend): Declare for compiler.
16809         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16810         Set log-view-vc-backend so that diff can work.
16812         * log-view.el (log-view-diff): Use vc-diff-internal instead of
16813         vc-version-diff.
16814         (vc-diff-internal): Autoload this instead of vc-version-diff.
16816 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
16818         * simple.el (eval-expression): Doc fix.
16820         * progmodes/cwarn.el (cwarn-mode): Doc fix.
16822 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
16824         * files.el (directory-files-no-dot-files-regexp): New defconst.
16825         (delete-directory): Use it.
16826         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
16828         * net/tramp.el (tramp-verbose): Fix docstring.
16829         (tramp-methods): Add recursive option to `tramp-copy-args'.
16830         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
16831         "scp1_old", "scp2_old", "rsync", "rsyncc".
16832         (tramp-default-method): Check also for `auth-source-user-or-password'.
16833         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16834         Add handler for `copy-directory'.
16835         (tramp-handle-copy-directory): New defun.
16836         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16837         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16838         Optimize sent command.
16840 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16842         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16843         window if necessary.
16845         * calendar/calendar.el (calendar-basic-setup): Don't call
16846         switch-to-buffer in a dedicated window.
16848 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
16850         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16851         don't do anything related to relocating, just return nil.
16852         (bookmark-error-no-filename): New error.
16853         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16854         bookmark has no file.  Don't even attempt to handle things that
16855         are not files; the whole point of custom handlers is to keep that
16856         knowledge elsewhere anyway.  Tighten some comments.
16857         (bookmark-file-or-variation-thereof): Remove now-unused function.
16858         (bookmark-location): Doc string fix.
16859         (Bug#4250)
16861 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16863         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16864         don't use a file dialog, because they usually don't know how to read
16865         a directory target from the user.  (Bug#4230)
16866         Also, make sure the prompt can display directories as well as files.
16868 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16870         * bookmark.el (bookmark-set, bookmark-buffer-name):
16871         Improve doc strings.  (Bug#1193)
16873 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16875         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16876         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16877         (bookmark-get-annotation, bookmark-set-annotation)
16878         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16879         (bookmark-set-position, bookmark-get-front-context-string)
16880         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16881         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16882         (bookmark-jump-other-window, bookmark-handle-bookmark)
16883         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16884         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16885         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16886         Improve doc strings to say whether bookmark can be a string or
16887         a record or both, and make other consistency and clarity fixes.
16888         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16889         (bookmark-default-annotation-text, bookmark-yank-word)
16890         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16891         (bookmark-import-new-list, bookmark-maybe-rename)
16892         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16893         (bookmark-bmenu-bookmark): Give these doc strings.
16894         (bookmark-bmenu-check-position): Give this a doc string, but also
16895         add a FIXME comment about how the function may be pointless.
16896         (bookmark-default-handler): Rework doc string and change a
16897         parameter name, to clarify that this takes a bookmark record
16898         not a bookmark name.
16899         (bookmark-set): Change a parameter name to indicate its meaning,
16900         and improve the doc string a bit.
16901         (Bug#4188)
16903 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16905         * bookmark.el (bookmark-alist): Document the new `handler' element
16906         in the param alist.
16907         (bookmark-make-record-function): Adjust documentation for above.
16908         (Bug#4193)
16910 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16912         * info.el (Info-bookmark-make-record): Document this function.
16913         (Info-bookmark-jump): Document with a doc string, not just a comment.
16914         (Bug#4203)
16916 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
16918         * files.el (copy-directory): New defun.
16920         * dired-aux.el (dired-copy-file-recursive): Use it.
16922 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
16924         * files-x.el (modify-dir-local-variable)
16925         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16926         docstrings.
16928         * recentf.el (recentf-unload-function): New function.
16930 2009-10-04  Glenn Morris  <rgm@gnu.org>
16932         * window.el (window-full-height-p): Add doc string.
16934 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
16936         * window.el (window-full-height-p): New function.  (Bug#4543)
16938 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
16940         * vc.el: Remove commented out code.
16941         (vc-derived-from-dir-mode): Remove, unused.
16942         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16944 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
16946         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16947         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
16948         there could be recursive loading when `default-directory' is a
16949         remote file name.  (Bug#4614)
16951 2009-10-03  Glenn Morris  <rgm@gnu.org>
16953         * calendar/calendar.el (calendar-basic-setup): Handle the case where
16954         the frame is wide.
16955         (calendar-generate-window): Test for shrinkability rather than width.
16957         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16958         reusing existing buffers, in case we happen to visit two files with the
16959         same basename.  (Bug#4593)
16961 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16963         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16964         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16965         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16966         subdirs of cedet as well.
16967         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16969 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16971         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16972         Obey advertised-signature-table.
16974         * help-fns.el (help-function-arglist): Don't check
16975         advertised-signature-table.
16976         (describe-function-1): Do it here instead so it also applies to subrs.
16978 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
16980         * simple.el (start-file-process): Say in the doc-string, that file
16981         handlers might not support pty association, if PROGRAM is nil.
16983         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16984         HOST and USER are strings.  They are nil, when there are
16985         incomplete entries in ~/.netrc, for example.
16986         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
16987         root directory ("device busy" error otherwise).
16989         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16990         Flush file properties of created directory.
16992 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16994         * makefile.w32-in (WINS_BASIC): Remove cedet.
16995         (WINS_CEDET): Add cedet.
16996         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16998 2009-10-02  Kevin Ryde  <user42@zip.com.au>
17000         * net/browse-url.el (browse-url): Pass any symbol in
17001         browse-url-browser-function to `apply', since if you've mistakenly put
17002         an unbound symbol then the error is clearer.  (Bug#4531)
17004 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17006         * allout.el (allout-init, allout-back-to-current-heading)
17007         (allout-beginning-of-current-entry, allout-ascend-to-depth)
17008         (allout-ascend, allout-up-current-level, allout-end-of-level)
17009         (allout-previous-visible-heading, allout-forward-current-level)
17010         (allout-backward-current-level, allout-show-children):
17011         * apropos.el (apropos-describe-plist):
17012         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17013         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17014         * completion.el (add-completion, add-permanent-completion):
17015         * descr-text.el (describe-text-category, describe-char):
17016         * desktop.el (desktop-lazy-abort):
17017         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17018         * dired.el (dired-build-subdir-alist):
17019         * ediff.el (ediff-version):
17020         * elide-head.el (elide-head, elide-head-show):
17021         * emerge.el (emerge-version):
17022         * env.el (getenv):
17023         * face-remap.el (variable-pitch-mode):
17024         * faces.el (describe-face):
17025         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17026         (dired-at-point):
17027         * files.el (find-file-existing, auto-save-mode):
17028         * font-lock.el (font-lock-fontify-buffer):
17029         * help-fns.el (describe-function, describe-variable)
17030         (describe-syntax, describe-categories):
17031         * help.el (view-lossage, describe-bindings, describe-key)
17032         (describe-mode):
17033         * hexl.el (hexl-current-address):
17034         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17035         * info.el (Info-goto-emacs-key-command-node):
17036         * log-edit.el (log-edit-insert-cvs-template)
17037         (log-edit-insert-cvs-rcstemplate):
17038         * menu-bar.el (menu-bar-mode):
17039         * mouse.el (mouse-appearance-menu):
17040         * newcomment.el (comment-indent-new-line):
17041         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17042         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17043         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17044         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17045         * recentf.el (recentf-mode):
17046         * savehist.el (savehist-mode, savehist-save):
17047         * shadowfile.el (shadow-copy-files):
17048         * simple.el (kill-ring-save, next-line, previous-line)
17049         (normal-erase-is-backspace-mode):
17050         * strokes.el (strokes-update-window-configuration)
17051         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17052         (strokes-xpm-for-stroke):
17053         * time.el (emacs-uptime, emacs-init-time):
17054         * tutorial.el (tutorial--describe-nonstandard-key)
17055         (tutorial--detailed-help):
17056         * type-break.el (type-break-mode)
17057         (type-break-mode-line-message-mode, type-break-query-mode)
17058         (type-break-guesstimate-keystroke-threshold):
17059         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17060         * version.el (emacs-version):
17061         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17062         * winner.el (winner-mode):
17063         * calendar/timeclock.el (timeclock-in, timeclock-out)
17064         (timeclock-status-string, timeclock-change)
17065         (timeclock-workday-remaining-string)
17066         (timeclock-workday-elapsed-string)
17067         (timeclock-when-to-leave-string):
17068         * calendar/todo-mode.el (todo-add-category):
17069         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17070         * emacs-lisp/autoload.el (update-file-autoloads):
17071         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17072         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17073         (checkdoc-message-text, checkdoc-defun):
17074         * emacs-lisp/debug.el (debugger-list-functions):
17075         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17076         * emacs-lisp/eieio-opt.el (eieio-describe-class)
17077         (eieio-describe-generic):
17078         * emacs-lisp/lisp-mnt.el (lm-synopsis):
17079         * emacs-lisp/shadow.el (list-load-path-shadows):
17080         * emulation/cua-base.el (cua-mode):
17081         * emulation/edt.el (edt-set-scroll-margins):
17082         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17083         (tpu-toggle-regexp, tpu-toggle-search-direction)
17084         (tpu-toggle-rectangle, tpu-toggle-control-keys):
17085         * emulation/tpu-extras.el (tpu-set-scroll-margins):
17086         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17087         (viper-set-parsing-style-toggling-macro)
17088         (viper-set-emacs-state-searchstyle-macros):
17089         * emulation/viper.el (viper-set-hooks):
17090         * eshell/esh-mode.el (eshell-truncate-buffer):
17091         * international/mule-cmds.el (prefer-coding-system)
17092         (describe-input-method, describe-language-environment):
17093         * international/mule-diag.el (list-character-sets)
17094         (describe-character-set, describe-coding-system)
17095         (describe-fontset, list-fontsets, list-input-methods):
17096         * mail/sendmail.el (mail-signature):
17097         * net/ange-ftp.el (ange-ftp-copy-file):
17098         * net/browse-url.el (browse-url):
17099         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17100         * net/quickurl.el (quickurl-add-url):
17101         * net/rcirc.el (names, topic):
17102         * net/xesam.el (xesam-mode):
17103         * play/5x5.el (5x5-new-game):
17104         * play/yow.el (apropos-zippy):
17105         * progmodes/ada-mode.el (ada-mode-version):
17106         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17107         (f90-end-of-block)
17108         (f90-beginning-of-block):
17109         * progmodes/fortran.el (fortran-end-of-block)
17110         (fortran-beginning-of-block):
17111         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17112         * progmodes/python.el (python-describe-symbol, python-shell):
17113         * term/ns-win.el (ns-print-buffer):
17114         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17115         * textmodes/flyspell.el (flyspell-mode-on):
17116         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17117         (pages-directory-for-addresses):
17118         * textmodes/table.el (table-recognize-cell)
17119         (table-query-dimension, table-generate-source)
17120         (table-insert-sequence, table--warn-incompatibility):
17121         * textmodes/tex-mode.el (tex-validate-buffer):
17122         * textmodes/texinfmt.el (texinfmt-version)
17123         (texinfo-format-buffer):
17124         Use `called-interactively-p' instead of `interactive-p'.
17126 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17128         * image-mode.el (image-toggle-display):
17129         * emacs-lisp/elp.el (elp-instrument-function):
17130         * emacs-lisp/advice.el (ad-make-advised-definition):
17131         * emacs-lisp/easy-mmode.el (define-minor-mode):
17132         * net/browse-url.el (browse-url-maybe-new-window):
17133         * progmodes/sh-script.el (sh-learn-buffer-indent):
17134         Pass new argument 'any to `called-interactively-p'.
17136 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
17138         * international/uni-bidi.el:
17139         * international/uni-category.el:
17140         * international/uni-combining.el:
17141         * international/uni-comment.el:
17142         * international/uni-decimal.el:
17143         * international/uni-decomposition.el:
17144         * international/uni-digit.el:
17145         * international/uni-lowercase.el:
17146         * international/uni-mirrored.el:
17147         * international/uni-name.el:
17148         * international/uni-numeric.el:
17149         * international/uni-old-name.el:
17150         * international/uni-titlecase.el:
17151         * international/uni-uppercase.el:
17152         Regenerate from Unicode 5.2.0 data.
17154 2009-10-01  Glenn Morris  <rgm@gnu.org>
17156         * Makefile.in (ELCFILES): Regenerate.
17158 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17160         * subr.el (interactive-p): Mark obsolete.
17161         (called-interactively-p): Make the optional-ness of `kind' obsolete.
17162         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17163         advertised-signature-table for subroutines as well.
17165         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17166         (set-advertised-calling-convention): New function.
17167         (make-obsolete, define-obsolete-function-alias)
17168         (make-obsolete-variable, define-obsolete-variable-alias):
17169         Make the optional-ness of `when' obsolete.
17170         (define-obsolete-face-alias): Make `when' non-optional.
17171         * help-fns.el (help-function-arglist):
17172         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17173         Use advertised-signature-table.
17175 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
17177         * files.el (delete-directory): New defun.  The original function
17178         in fileio.c has been renamed to `delete-directory-internal'.
17180         * dired.el (dired-delete-file): Call `delete-directory' with
17181         RECURSIVE parameter.
17183         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17184         parameter RECURSIVE.  Implementation is missing.
17186         * net/tramp.el (tramp-handle-make-directory): Flush upper
17187         directory's file properties.
17188         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17189         (tramp-handle-dired-recursive-delete-directory): Flush directory
17190         properties after the remove command only.
17192         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17193         Handle optional parameter RECURSIVE.
17195         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17196         Handle optional parameter RECURSIVE.
17198         * net/tramp-smb.el (tramp-smb-errors): Add error message for
17199         connection timeout.
17200         (tramp-smb-handle-delete-directory): Handle optional parameter
17201         RECURSIVE.
17203 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17205         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17206         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17207         (byte-compile-defmacro): Use backquotes.
17209         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17211         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17212         has no associated file.
17213         (vc-resynch-buffer): Use vc-dir-buffers.
17215 2009-10-01  Glenn Morris  <rgm@gnu.org>
17217         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17218         (chart-file-count):
17219         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17220         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17221         * emacs-lisp/eieio-opt.el (eieio-describe-class):
17222         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17223         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17224         (eieio-copy-parents-into-subclass, make-instance, class-children)
17225         (eieio-generic-form):
17227         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17228         match-data.  (Bug#4555).
17230         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17231         rather than parsing it as a regexp.  This relaxes the layout
17232         requirements and makes errors easier to detect.
17233         (check-declare-verify): Check file is regular.
17234         (check-declare-directory): Doc fix.
17235         * subr.el (declare-function): Doc fix.
17237         * ibuffer.el (ibuffer-format-qualifier):
17238         * isearch.el (hi-lock-regexp-okay):
17239         * calc/calc.el (math-zerop):
17240         * mail/uce.el (rmail-msgbeg, rmail-msgend):
17241         * term/w32-win.el (setup-default-fontset, set-fontset-font):
17242         Remove unused declarations.
17244 2009-09-30  Eric Ludlam  <zappo@gnu.org>
17246         * emacs-lisp/eieio.el (boolean-p): Delete.
17248 2009-09-30  Glenn Morris  <rgm@gnu.org>
17250         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17252         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17253         filename is not a string.
17255 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
17257         * files.el (safe-local-eval-forms): Fix typo.
17259 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17261         * vc-hooks.el (vc-dir-buffers): New var.
17262         (vc-state-refresh): New function.
17263         (vc-state): Use it.
17264         (vc-after-save): Always ask the backend to recompute the new state.
17265         Always call vc-dir if necessary, using vc-dir-buffers.
17266         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17267         Use vc-dir-buffers.
17268         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17269         (vc-dir-prepare-status-buffer, vc-dir-update)
17270         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17271         Don't call expand-file-name on default-directory.
17273 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17275         * speedbar.el (speedbar-item-delete):
17276         * calc/calc-prog.el (calc-kbd-if):
17277         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17279         * epa.el (epa-key-list-mode-map):
17280         * hi-lock.el (hi-lock-menu): Fix typos in menus.
17282         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17283         (hs-show-hook): Fix typo in docstring.
17285 2009-09-29  Glenn Morris  <rgm@gnu.org>
17287         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17288         file-name-nondirectory call preventing location of cedet files.
17289         (check-declare-verify): Use literal search rather than re-search.
17290         Add basic defmethod and defclass, and define-overloadable-function.
17292         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17293         Use tramp-compat-file-attributes rather than nonexistent
17294         tramp-compat-handle-file-attributes.
17296         * Makefile.in (lisptagsfiles4): New.
17297         (AUTOGENEL): Add cedet loaddefs files.
17298         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17299         (update-elclist, compile-always, backup-compiled-files)
17300         (bootstrap-clean): Add yet another directory level.
17301         (update-elclist): Use LC_COLLATE rather than COLLATE.
17302         (ELCFILES): Update, via `make update-elclist'.
17304 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17306         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17307         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17308         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17310 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17312         * Makefile.in (lisptagsfiles3): Define.
17313         (TAGS, TAGS-LISP): Use it.
17314         (update-elclist): Add third directory level to look for elc files.
17315         (compile-always): Likewise.
17316         (backup-compiled-files): Likewise.
17317         (bootstrap-clean): Likewise.
17318         (ELCFILES): Update.
17320 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
17322         * Makefile.in (ELCFILES): Add CEDET files.
17324 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
17326         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17328         * net/tramp.el (top): Require tramp-imap.
17330         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17331         Use `tramp-compat-handle-file-attributes'.
17333 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
17335         * net/tramp-imap.el: New package.
17337 2009-09-28  Eric Ludlam  <zappo@gnu.org>
17339         * emacs-lisp/chart.el:
17340         * emacs-lisp/eieio-base.el:
17341         * emacs-lisp/eieio-comp.el:
17342         * emacs-lisp/eieio-custom.el:
17343         * emacs-lisp/eieio-datadebug.el:
17344         * emacs-lisp/eieio-opt.el:
17345         * emacs-lisp/eieio-speedbar.el:
17346         * emacs-lisp/eieio.el: New files.
17348 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17350         * whitespace.el (whitespace-trailing-regexp)
17351         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17352         Fix doc string.
17354 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
17356         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17357         menu.
17359         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17360         menu-bar-ediff-menu.
17362         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17363         define-overloadable-function.
17365         * progmodes/autoconf.el: Provide autoconf as well, so that this
17366         file can be `require'd.
17368         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17370         * emacs-lisp/autoload.el (generated-autoload-feature)
17371         (generated-autoload-load-name): New vars.
17372         (autoload-rubric, autoload-generate-file-autoloads): Use them.
17373         (make-autoload): Recognize define-overloadable-function and
17374         defclass forms (for EIEIO).
17376         * Makefile.in (update-subdirs): Exclude cedet directory.
17378 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
17380         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
17382         * faces.el: Default light-background background for region face to
17383         ns_selection_color under NS.
17385 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
17387         * net/imap-hash.el: New library, see NEWS.
17389         * Makefile.in (ELCFILES): Add imap-hash.el.
17391 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17393         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17394         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17395         * help-macro.el (make-help-screen): Avoid using an ambiguous function
17396         definition where the docstring could be taken for the return value.
17398 2009-09-26  Glenn Morris  <rgm@gnu.org>
17400         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17401         Add option to only show images below a certain size.
17402         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17403         save-excursion calls.
17405 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
17407         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17408         subdirectories) and eieio.
17410 2009-09-26  Alan Mackenzie  <acm@muc.de>
17412         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17413         Correct buggy bracketing.  (Bug#4289)
17415         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17416         character constants (as case labels).  (Bug#4289)
17418 2009-09-25  Juri Linkov  <juri@jurta.org>
17420         * files.el (safe-local-eval-forms): Allow time-stamp in
17421         before-save-hook (Bug#4554).
17423 2009-09-25  Drew Adams  <drew.adams@oracle.com>
17425         * menu-bar.el (list-buffers-directory): Doc fix.
17427 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17429         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17430         Try and avoid copying twice the same paragraph.
17431         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17432         Remove save-excursion.
17433         (log-edit-changelog-entry): Do it here instead.
17435 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
17437         * bs.el (bs--get-file-name): Use `list-buffers-directory'
17438         when available, instead of hardcoding mode names.  Doc fix.
17440         * menu-bar.el (list-buffers-directory): Add docstring.
17441         Make automatically buffer-local.
17443         * dired.el (dired-mode):
17444         * files.el (cd-absolute):
17445         * pcvs.el (cvs-temp-buffer):
17446         * pcvs-util.el (cvs-get-buffer-create):
17447         * shell.el (shell-mode):
17448         * vc-dir.el (vc-dir-mode):
17449         Don't make `list-buffers-directory' buffer local.
17451 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
17453         * comint.el (comint-exec, comint-run, make-comint):
17454         Doc fixes (Bug#4542).
17456 2009-09-25  Glenn Morris  <rgm@gnu.org>
17458         * mail/rmailmm.el (rmail-mime): New custom group.
17459         Move all defcustoms in this file into this group.
17460         (rmail-mime-media-type-handlers-alist): Revert previous change.
17461         (rmail-mime-show-images): New option.
17462         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17463         references to it, since it wasn't actually used for anything.
17464         (rmail-mime-insert-image): New function.
17465         (rmail-mime-image): Use rmail-mime-insert-image.
17466         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17467         obey the value of `rmail-mime-show-images' option.  Print the size of
17468         attachments.
17470 2009-09-25  David Engster  <deng@randomsample.de>
17472         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
17474 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17476         * whitespace.el: Does not highlight trailing spaces While point is
17477         at end of line.  Does not highligt spaces at beginning of buffer
17478         while point is at beginning of buffer.  Does not highlight spaces
17479         at end of buffer while point is at end of buffer.  (Bug#4177)
17480         New version 12.0.
17481         (whitespace-display-mappings): Adjust initialization.
17482         (whitespace-point, whitespace-font-lock-refontify): New vars.
17483         (whitespace-color-on, whitespace-color-off): Adjust code.
17484         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17485         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17486         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17488 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
17490         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17492         * textmodes/sgml-mode.el: Remove xml-mode alias.
17494         * files.el (auto-mode-alist, conf-mode-maybe)
17495         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17497 2009-09-24  Alan Mackenzie  <acm@muc.de>
17499         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17500         c-forward-conditionals, but it doesn't move point and doesn't set
17501         the mark.
17502         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17503         (c-down-conditional-with-else, c-backward-conditional)
17504         (c-forward-conditional): Refactor to use c-scan-conditionals.
17506 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17508         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17509         (help-default-arg-highlight): Remove.
17510         (help-highlight-arg): New function.
17511         (help-do-arg-highlight): Use it.
17512         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
17514 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17516         * term.el (term-set-scroll-region, term-handle-ansi-escape):
17517         Undo last change, which didn't fix the problem and introduced others.
17519 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
17521         * progmodes/gdb-mi.el: Don't require speedbar.
17522         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17524 2009-09-24  Glenn Morris  <rgm@gnu.org>
17526         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17528         * term/ns-win.el (ns-reg-to-script): Define for compiler.
17530         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17531         there is no newline after the final mime boundary.  (Bug#4539)
17532         Move markers on insertion so that any buttons inserted don't end up in
17533         the next part of a multipart message.
17534         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
17535         (rmail-mime-bulk-handler): Optionally handle images.
17536         (rmail-mime-image): New button action.
17537         (rmail-mime-image-handler): New function.
17538         (rmail-mime-mode): New mode.
17539         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
17541 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17543         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17544         than just dropping elements from it (bug#4504).
17546         * term.el (term-set-scroll-region): Don't move cursor any more.
17547         (term-handle-ansi-escape): Call term-goto here instead.
17548         Suggested by Ivan Kanis <apple@kanis.eu>.
17550         * term.el: Require CL.
17551         (term-ansi-reset): New function.
17552         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17553         (term-handle-colors-array): Simplify.
17555 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17557         * allout.el (allout-overlay-interior-modification-handler)
17558         (allout-obtain-passphrase):
17559         * epa-file.el (epa-file-write-region):
17560         * ps-print.el (ps-begin-job):
17561         * vc-hooks.el (vc-toggle-read-only):
17562         * vc-rcs.el (vc-rcs-rollback):
17563         * vc-sccs.el (vc-sccs-rollback):
17564         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17565         (vc-version-diff, vc-revert, vc-rollback):
17566         * wdired.el (wdired-check-kill-buffer):
17567         * emacs-lisp/authors.el (authors):
17568         * net/socks.el (socks-open-connection):
17569         * net/zeroconf.el (zeroconf-service-add-hook):
17570         * obsolete/vc-mcvs.el (vc-mcvs-register):
17571         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17572         (gdb-select-frame):
17573         * progmodes/grep.el (lgrep, rgrep):
17574         * progmodes/idlw-help.el (idlwave-help-check-locations)
17575         (idlwave-help-html-link, idlwave-help-assistant-open-link):
17576         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17577         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17578         (reftex-toc-rename-label): Fix typos in error messages.
17580         * dired-aux.el (dired-do-shell-command): Reflow docstring.
17581         (dired-copy-how-to-fn): Doc fix.
17582         (dired-files-attributes, dired-read-shell-command):
17583         Fix typos in docstrings.
17585         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17586         (dired-x-find-file-other-window): Reflow docstrings.
17587         (dired-omit-marker-char, dired-read-shell-command)
17588         (dired-x-submit-report): Fix typos in docstrings.
17590         * shell.el (shell-mode-hook):
17591         * view.el (View-scroll-line-forward):
17592         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17593         Fix typos in docstrings.
17595         * net/dig.el (dig-invoke): Fix typo in docstring.
17596         (query-dig): Reflow docstring.
17598         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17599         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17600         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17601         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17602         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17603         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17604         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17605         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17606         (idlwave-completion-map, idlwave-current-indent)
17607         (idlwave-custom-ampersand-surround, idlwave-customize)
17608         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17609         (idlwave-define-abbrev, idlwave-determine-class-special)
17610         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17611         (idlwave-end-block-reg, idlwave-end-of-statement)
17612         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17613         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17614         (idlwave-explicit-class-listed, idlwave-file-header)
17615         (idlwave-fill-paragraph, idlwave-find-class-definition)
17616         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17617         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17618         (idlwave-in-quote, idlwave-indent-action-table)
17619         (idlwave-indent-expand-table, idlwave-indent-line)
17620         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17621         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17622         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17623         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17624         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17625         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17626         (idlwave-outlawed-buffers, idlwave-popup-select)
17627         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17628         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17629         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17630         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17631         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17632         (idlwave-statement-type, idlwave-struct-skip)
17633         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17634         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17635         (idlwave-what-module-find-class): Fix typos in docstrings.
17636         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17637         (idlwave-calculate-cont-indent, idlwave-expand-equal)
17638         (idlwave-find-module, idlwave-find-structure-definition)
17639         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17640         (idlwave-list-load-path-shadows, idlwave-next-statement)
17641         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17642         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17643         (idlwave-template): Reflow docstrings.
17645         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17646         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17647         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17648         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17649         (idlwave-shell-display-line, idlwave-shell-display-wframe)
17650         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17651         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17652         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17653         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17654         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17655         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17656         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17657         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17658         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17659         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17660         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17661         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17662         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17663         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17664         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17665         Fix typos in docstrings.
17666         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17667         (idlwave-shell-hide-output, idlwave-shell-mode)
17668         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17669         Reflow docstrings.
17671         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17673 2009-09-24  Ivan Kanis  <apple@kanis.eu>
17675         * term.el (term-bold-attribute): New var.
17676         (term-handle-colors-array): Use it.
17678 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
17680         * progmodes/gdb-mi.el (gdb-version): New variable.
17681         (gdb-non-stop-handler): Set gdb-version.
17682         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17683         Condition "--thread" option on gdb-version.
17684         (gdb-invalidate-threads): Remove unused argument.
17686 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17688         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17689         to looking-back to avoid ridiculous slow down in large files (bug#4511).
17691 2009-09-23  Glenn Morris  <rgm@gnu.org>
17693         * mail/rmail.el (rmail-reply): Don't try to add a References header when
17694         replying to mail without References or Message-Id.  (Bug#4525)
17696 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
17698         * term/ns-win.el (ns-reg-to-script): New variable.
17700 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
17702         * epg.el (epg-wait-for-status): Preserve existing 'error results.
17704 2009-09-22  Sam Steingold  <sds@gnu.org>
17706         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17707         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17708         to 1 because hg returns status 1 when nothing is found.
17709         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17711 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17713         * textmodes/fill.el: Convert to utf-8 encoding.
17714         (fill-french-nobreak-p): Remove redundant » and « inherited from our
17715         pre-Unicode days.
17717         * add-log.el (change-log-fill-forward-paragraph): New function.
17718         (change-log-mode): Use it so fill-region DTRT.
17719         Set fill-indent-according-to-mode here rather than in
17720         change-log-fill-paragraph.
17721         (change-log-fill-paragraph): Remove.
17723 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
17725         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17726         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
17728 2009-09-22  Glenn Morris  <rgm@gnu.org>
17730         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17731         the scroll-bar scroll the calendar window rather than the buffer.
17733         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17734         commands that move point (as opposed to scrolling).
17736         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17738         * emacs-lisp/elint.el (elint): New custom group.
17739         (elint-log-buffer): Make it a defcustom.
17740         (elint-scan-preloaded, elint-ignored-warnings)
17741         (elint-directory-skip-re): New options.
17742         (elint-builtin-variables): Doc fix.
17743         (elint-preloaded-env): New variable.
17744         (elint-unknown-builtin-args): Add an entry for encode-time.
17745         (elint-extra-errors): Make it a variable rather than a constant.
17746         (elint-preloaded-skip-re): New constant.
17747         (elint-directory): Skip files matching elint-directory-skip-re.
17748         (elint-features): New variable, local to linted buffers.
17749         (elint-update-env): Initialize elint-features.  Possibly add
17750         elint-preloaded-env to the buffer's environment.
17751         (elint-get-top-forms): Bind elint-current-pos, for log messages.
17752         Skip quoted forms.
17753         (elint-init-form): New function, extracted from elint-init-env.
17754         Make non-list forms a warning rather than an error.
17755         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
17756         easy-menu-define, put that adds an error-condition, and provide.
17757         When requiring cl, also require cl-macs.  Really require cl, to handle
17758         some cl macros.  Store required libraries in the list elint-features,
17759         so as not to re-load them.  Treat cc-require like require.
17760         (elint-init-env): Call elint-init-form to do the work.
17761         Handle eval-and-compile and such like.
17762         (elint-add-required-env): Do not clear messages.
17763         (elint-special-forms): Add handlers for function, defalias, if, when,
17764         unless, and, or.
17765         (elint-form): Add optional argument to ignore elint-special-forms,
17766         useful to prevent recursive calls from handlers.  Doc fix.
17767         Respect elint-ignored-warnings.
17768         (elint-form): Respect elint-ignored-warnings.
17769         (elint-bound-variable, elint-bound-function): New variables.
17770         (elint-unbound-variable): Respect elint-bound-variable.
17771         (elint-get-args): Respect elint-bound-function.
17772         (elint-check-cond-form): Add some simple handling for (f)boundp and
17773         featurep tests.
17774         (elint-check-defalias-form): New handler.
17775         (elint-check-let-form): Make an empty let a warning rather than an
17776         error.
17777         (elint-check-setq-form): Make an empty setq a warning rather than an
17778         error.  Respect elint-ignored-warnings.
17779         (elint-check-defvar-form): Accept null doc-strings.
17780         (elint-check-conditional-form): New handler.  Does some simple-minded
17781         checking of featurep and (f)boundp tests.
17782         (elint-put-function-args): New function.
17783         (elint-initialize): Use elint-scan-doc-file rather than
17784         elint-find-builtin-variables.  Use elint-put-function-args.
17785         Possibly scan preloaded-file-list.
17786         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17787         extend to handle functions as well.
17789 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
17791         * linum.el (linum-delete-overlays, linum-update-window):
17792         Do not modify the right margin.  (Bug#3971)
17794 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
17796         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17797         Use nxml-mode instead of xml-mode.
17799 2009-09-21  Kevin Ryde  <user42@zip.com.au>
17801         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
17803 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17805         * net/dig.el (dig-mode): Use define-derived-mode.
17807 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
17809         * vc-dispatcher.el (vc-do-command): Return the process object in
17810         the asynchronous case.  Use when instead of if.  Do not run
17811         vc-exec-after to display a message if not enabled.  (Bug#4463)
17813         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17814         properties to the stash strings.
17815         (vc-git-stash-list): Return a list of strings.
17816         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17817         (vc-git-stash-show-at-point): New functions.
17818         (vc-git-stash-map): New keymap.
17820         * register.el (ctl-x-r-map): Define the keys here instead of
17821         using autoload.
17823 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
17825         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17826         list, to workaround performance problem (bug#4485).
17828 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
17830         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17832 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
17834         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17835         Document that this option is not recommended to use.
17837 2009-09-19  Glenn Morris  <rgm@gnu.org>
17839         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17840         variable `var'.
17842         * calc/calc-alg.el (var):
17843         * calc/calcalg2.el (var): Define for compiler.
17845 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
17847         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17848         Doc fix (Bug#3932).
17850         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17852         * time-stamp.el (time-stamp-month-dd-yyyy)
17853         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17854         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17855         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17856         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17857         Remove functions that have been obsolete since 1995 (Bug#4436).
17859         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17860         indent buffer only if called interactively (Bug#4452).
17862 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
17863             Eli Zaretskii  <eliz@gnu.org>
17865         This fixes bug#4197 (merged to bug#865, though not identical).
17866         * server.el (server-auth-dir): Add docstring note about FAT32.
17867         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17868         but warn against using them.
17870 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
17872         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17873         older GDB where there is no has_more field.
17875 2009-09-19  Glenn Morris  <rgm@gnu.org>
17877         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17879 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
17881         * files.el (auto-mode-alist): Change default for XML files to nXML
17882         mode (Bug#4169).
17884 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
17886         * server.el (server-ensure-safe-dir): Pass 'integer
17887         to `file-attributes', as suggested.
17889 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17891         * dired-aux.el (dired-query-alist): Remove spurious backslash.
17892         (dired-query): Use read-key.
17894 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
17896         * cus-start.el (ns-use-qd-smoothing): Remove.
17898 2009-09-18  Glenn Morris  <rgm@gnu.org>
17900         * allout.el (top-level): Remove unnecessary progn.
17902         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17904         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17905         definition of abbrev table.
17907         * speedbar.el (speedbar-track-mouse):
17908         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17909         * net/eudc.el (eudc-expand-inline):
17910         * net/newst-backend.el (newsticker--cache-read-feed):
17911         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17912         condition-case handlers.
17914 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
17916         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17917         (gdb-var-list): Add an element for has_more field.
17918         (gdb-non-stop-handler): Enable pretty printing for STL containers.
17919         (gdb-var-create-handler, gdb-var-list-children-handler-1)
17920         (gdb-var-update-handler-1): Parse output of dynamic variable
17921         objects (STL containers).
17922         (gdb-var-delete-1): Pass var1 as an explicit second argument.
17923         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
17925         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17926         gdb-var-list.
17927         (gud-speedbar-buttons): Make node expandable if expression "has more"
17928         children.
17930 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
17932         * startup.el (emacs-quick-startup): Remove variable and all uses.
17933         (command-line): Set `inhibit-x-resources' instead.
17934         (command-line-1): Use `inhibit-x-resources' instead.
17936 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
17938         * subr.el: Fix last change to avoid using the `unless' macro,
17939         which breaks bootstrapping.
17941 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17943         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17944         extended definitions, in case we reload subr.el after having
17945         loaded CL.
17946         (eval-next-after-load): Mark as obsolete.
17948 2009-09-17  Juri Linkov  <juri@jurta.org>
17950         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17951         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17952         (menu-bar-showhide-menu, menu-bar-tools-menu)
17953         (menu-bar-describe-menu, menu-bar-help-menu)
17954         (minibuffer-local-completion-map, minibuffer-local-map):
17955         Fix list quoting.
17957 2009-09-17  Glenn Morris  <rgm@gnu.org>
17959         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17960         arguments, whether or not it has a handler.
17962         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17964         * simple.el (hard-newline): Give it a doc-string.
17966         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17967         (lisp-mode-syntax-table): Give them doc-strings.
17969 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
17971         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17972         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17973         (menu-bar-options-menu, menu-bar-showhide-menu)
17974         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17975         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17976         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17977         (menu-bar-options-menu, menu-bar-tools-menu)
17978         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17979         (menu-bar-help-menu):
17980         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17981         string arguments.
17983         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17984         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17985         calls for the menu names and :help.
17987 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17989         * mouse.el (minor-mode-menu-from-indicator): Pay attention
17990         to :minor-mode-function (bug#4455).
17992 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17994         * startup.el (command-line): Initialize the window-system after
17995         processing the command-line.
17997         * textmodes/page.el (what-page): Make sure we don't inf-loop if
17998         page-delimiter matches the empty string.
18000 2009-09-16  Glenn Morris  <rgm@gnu.org>
18002         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18003         byte-compile-not-obsolete-var.  It's a list now.
18004         (byte-compile-not-obsolete-funcs): New variable.
18005         (byte-compile-warn-obsolete): Don't warn about functions if they are in
18006         byte-compile-not-obsolete-funcs.
18007         (byte-compile-variable-ref, byte-compile-defvar): Update for
18008         byte-compile-not-obsolete-vars name-change and list nature.
18009         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18010         and variables behind (f)boundp tests.
18011         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18013 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18015         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18017 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18019         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18020         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18021         Don't autoload.
18023 2009-09-15  Stephen Eglen  <stephen@gnu.org>
18025         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18026         the virtual-buffers, use the name of the buffer specified by
18027         find-file-noselect, as the match may be a symlink.  (This was a
18028         problem if the target and the symlink had different names.)
18030 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18032         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18034         * desktop.el (desktop-path): Check user-emacs-directory.
18036         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18038         * loadup.el: Use after-load-functions to GC after loading each file.
18039         Remove the explicit GC calls that used to be sprinkled around.
18041         * subr.el (after-load-functions): New hook.
18042         (do-after-load-evaluation): Run it.  Use string-match-p to detect
18043         `obsolete' packages, rather than painfully extracting the relevant
18044         directory name.
18046 2009-09-15  Glenn Morris  <rgm@gnu.org>
18048         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18049         free variable `doc'.
18051         * dired.el (dired-mode-map): Add menu entry for async shell command.
18053         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18054         variables, also consider the .elc files, since the .el files are
18055         normally gzipped (subsequent code locates the .el.gz from the .elc).
18057         * calc/calc-prog.el (arglist): Define for compiler.
18059         * calendar/diary-lib.el (diary-display-function): Change the default to
18060         fancy display.
18061         (body): Define for compiler.
18063         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18064         (byte-compile-file-form, byte-compile-lambda)
18065         (byte-compile-top-level-body, byte-compile-form)
18066         (byte-compile-variable-ref, byte-compile-setq)
18067         (byte-compile-setq-default, byte-compile-body)
18068         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18069         (batch-byte-compile): Give some more local variables with common names
18070         a "bytecomp-" prefix to avoid masking warnings about free variables.
18072         * startup.el (command-line-1): Give local variables with common names a
18073         distinguishing prefix, so as not to hide free variable warnings during
18074         bootstrap.
18076         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18077         clever and add a suffix to make a unique name, just let the user decide
18078         whether or not to overwrite it.  If the input is a directory, write the
18079         default filename to that directory.  (Bug#4388)
18080         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18081         is a filename-as-a-directory.
18083 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18085         * textmodes/page.el (what-page): Don't move to beginning of line.
18086         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18088 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18090         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18092 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
18094         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18095         * help.el (help-for-help-internal): Add purecopy calls for text.
18097         * vc.el (top): print-log method now takes an optional SHORTLOG
18098         argument.  Add a new method: root.
18099         (vc-root-diff, vc-print-root-log): New functions.
18100         (vc-log-short-style): New variable.
18101         (vc-print-log-internal): Add support for showing short logs.
18103         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18104         vc-print-root-log and vc-print-root-diff.
18106         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18107         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18108         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18109         short logs.
18111         * vc-cvs.el (vc-cvs-print-log):
18112         * vc-mtn.el (vc-mtn-print-log):
18113         * vc-rcs.el (vc-rcs-print-log):
18114         * vc-sccs.el (vc-sccs-print-log):
18115         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18116         that is ignored for now.
18118         * vc-mtn.el (vc-mtn-annotate-command):
18119         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18121 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18123         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18124         to function-key-map, and give them ascii-character property.
18125         * term/x-win.el (x-alternatives-map):
18126         * term/ns-win.el (ns-alternatives-map):
18127         * term/internal.el (msdos-key-remapping-map):
18128         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18130 2009-09-14  Glenn Morris  <rgm@gnu.org>
18132         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18133         temp-buffers (2009-09-12).
18135 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18137         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18138         the new read-key function.
18140 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18142         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18143         is defined (Bug#4405).
18145 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
18147         * recentf.el (recentf-cleanup): Use a hash table to find
18148         duplicates (Bug#4407).
18150 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
18152         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18153         kp-0 to ascii equivalents (Bug#4325).
18155 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18157         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18159         * eshell/em-hist.el:
18160         * eshell/em-dirs.el (eshell-complete-user-reference):
18161         Declare pcomplete functions and variables to avoid compiler warnings.
18163 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
18165         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18166         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18167         * eshell/em-alias.el (eshell-aliases-file):
18168         * eshell/em-hist.el (eshell-history-file-name):
18169         Use expand-file-name instead of concat to make file names (Bug#4308).
18171 2009-09-13  Glenn Morris  <rgm@gnu.org>
18173         * ediff-merg.el (ediff-do-merge):
18174         * filesets.el (filesets-run-cmd):
18175         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18176         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18177         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18178         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18179         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18180         Replace empty `let's with `progn'.
18182 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18184         * mail/sendmail.el (send-mail-function):
18185         * tooltip.el (tooltip-mode):
18186         * simple.el (transient-mark-mode):
18187         * rfn-eshadow.el (file-name-shadow-mode):
18188         * frame.el (blink-cursor-mode):
18189         * font-core.el (global-font-lock-mode):
18190         * files.el (temporary-file-directory)
18191         (small-temporary-file-directory, auto-save-file-name-transforms):
18192         * epa-hook.el (auto-encryption-mode):
18193         * composite.el (global-auto-composition-mode):
18194         Use custom-initialize-delay.
18195         * startup.el (command-line): Don't explicitly call
18196         custom-reevaluate-setting for all the above vars.
18197         * custom.el (custom-initialize-safe-set)
18198         (custom-initialize-safe-default): Delete.
18200 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18202         * term/x-win.el (x-initialize-window-system):
18203         * term/w32-win.el (w32-initialize-window-system):
18204         * term/ns-win.el (ns-initialize-window-system): Don't call
18205         mouse-wheel-mode since it's enabled globally by default already.
18207         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18208         actually define the variable, but only silences the byte-compiler.
18209         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18210         before looking it up.
18211         (mouse-wheel-scroll-amount): Also reset the bindings if this value
18212         is changed.
18214 2009-09-12  Glenn Morris  <rgm@gnu.org>
18216         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18217         1000.
18218         (elint-add-required-env): Don't beep on error.
18219         (elint-forms): In case of error, return ENV unchanged.
18220         (elint-init-env): Skip non-list forms.
18221         (elint-log): Handle unknown file positions.
18223 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
18225         * epg.el (epg-make-context): Add autoload cookie.
18226         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18227         (epg-decrypt-string, epg-start-verify, epg-verify-file)
18228         (epg-verify-string, epg-start-sign, epg-sign-file)
18229         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18230         (epg-encrypt-string, epg-start-export-keys)
18231         (epg-export-keys-to-file, epg-export-keys-to-string)
18232         (epg-start-import-keys, epg-import-keys-from-file)
18233         (epg-import-keys-from-string, epg-start-receive-keys)
18234         (epg-receive-keys, epg-import-keys-from-server)
18235         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18236         (epg-sign-keys, epg-start-generate-key)
18237         (epg-generate-key-from-file, epg-generate-key-from-string):
18238         Remove autoload cookie.
18240 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
18242         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18243         reevaluation of trash-directory.
18245         * mwheel.el: Fix last change.
18246         (mouse-wheel-mode): New defvar.
18247         (mouse-wheel-mode): Remove autoload cookie.
18249 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18251         * mwheel.el (mwheel-installed-bindings): New var.
18252         (mouse-wheel-mode): Use it, so as to make sure we really remove all
18253         the bindings we set last time.  Use custom-initialize-delay.
18254         * loadup.el: Load mwheel after term/*-win.el.
18255         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18256         and mouse-wheel-up-event now that their first evaluation is done
18257         sufficiently late to be correct.
18259         * startup.el (tutorial-directory): Make it a defcustom.
18260         Use custom-initialize-delay rather than eval-at-startup to set it.
18261         * image.el (image-load-path): Make it a defcustom.
18262         Use custom-initialize-delay rather than eval-at-startup to set it.
18263         * subr.el (eval-at-startup): Remove.
18264         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18266         * subr.el (do-after-load-evaluation): Warn the user after loading an
18267         obsolete package.
18269 2009-09-12  Glenn Morris  <rgm@gnu.org>
18271         * proced.el (proced-mark-alt): Remove alias.
18272         (proced-mode-map): Remove proced-mark-alt.
18274         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18275         Elint file and directory.  Remove initialization entry.
18277         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18278         commands.
18279         (elint-current-buffer): Set mode-line-process.
18280         (elint-init-env): Handle define-derived-mode.
18281         Fix declare-function with unspecified arglist.  Guard against odd
18282         defalias statements (eg iso-insert's 8859-1-map).
18283         (elint-add-required-env): Use a temp buffer.
18284         (elint-form): Just print the function/macro name, not the whole form.
18285         Return env unchanged if we fail to parse a macro.
18286         (elint-forms): Guard against parse errors.
18287         (elint-output): New function, to handle batch mode.
18288         (elint-log-message): Add optional argument.  Use elint-output.
18289         (elint-set-mode-line): New function.
18291 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
18293         * emacs-lisp/elp.el (elp-not-profilable): Add more
18294         functions (Bug#4233).
18296 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
18298         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18299         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18301 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18303         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18304         (gdb-var-list-children): Use json parsing.
18306 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
18308         * progmodes/js.el (js--proper-indentation): Handle the case where
18309         char-before is null.  Reported by Deniz Dogan.
18311 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18313         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18315 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
18317         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18318         (epg-digest-algorithm-alist): Add SHA224.
18319         (epg-context-set-passphrase-callback)
18320         (epg-context-set-progress-callback): Add description about
18321         callback function.
18323 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18325         * custom.el (custom-delayed-init-variables): New var.
18326         (custom-initialize-delay): New function.
18327         * startup.el (command-line): "Re"evaluate all vars in
18328         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
18329         explicitly any more.
18330         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18331         to avoid creating a ~/.emacs.d at build-time (bug#4347).
18333         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18335 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18337         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18338         (gdb-var-update-handler): Use json parsing.
18340 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18342         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18343         decode annotated text, regardless of language environment.  (Bug#2741)
18345 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18347         * Makefile.in (autoloads): Make rmail.el writable as well.
18349 2009-09-11  Glenn Morris  <rgm@gnu.org>
18351         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18352         loaddefs.el.
18353         * dired.el: Regenerate with extracted autoloads.
18354         * Makefile.in (autoloads): Make dired.el writable.
18356         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18357         * ibuffer.el: Regenerate with extracted autoloads.
18358         * Makefile.in (autoloads): Make ibuffer.el writable.
18360         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18361         * version.el (emacs-copyright, emacs-major-version)
18362         (emacs-minor-version): Reformat doc-strings for make-docfile.
18364         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18365         functions and variables, since they must be stuff specific to some other
18366         platform.
18367         (apropos-print): Make mouse-click message less specific about button.
18369         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18370         that records where a macro was defined.
18371         * help-fns.el (describe-function-1): Mention if a function has a
18372         compiler-macro.
18373         * help-mode.el (help-function-cmacro): New button.
18375         * locate.el (top-level): Always require dired.
18376         (locate-mode-map): Initialize inside the defvar.
18378         * net/ange-ftp.el (dired-compress-file): Declare.
18379         (ange-ftp-dired-compress-file): Add doc string.
18381         * term/ns-win.el (x-display-name, x-setup-function-keys):
18382         Unify doc-strings with X versions.
18384 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18386         * emulation/crisp.el (crisp-mode-map): Move initialization
18387         into declaration.
18388         (crisp-mode): Use define-minor-mode.
18390         * progmodes/xscheme.el (xscheme-evaluation-commands):
18391         Put a :advertised-binding property rather than using
18392         advertised-xscheme-send-previous-expression.
18393         (advertised-xscheme-send-previous-expression): Declare obsolete.
18394         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18395         `advertised-undo'.
18396         (crisp-mode): Add corresponding bindings to
18397         undo's :advertised-binding instead.
18398         * dired.el (dired-mode-map): Put a :advertised-binding property rather
18399         than using dired-advertised-find-file.
18400         (dired-advertised-find-file):
18401         * simple.el (advertised-undo):
18402         * wid-edit.el (advertised-widget-backward): Declare obsolete.
18403         (widget-keymap): Put a :advertised-binding property rather
18404         than using advertised-widget-backward.
18405         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18406         than using advertised-undo.
18407         * tutorial.el (tutorial--default-keys): Adjust accordingly.
18409 2009-09-10  Simon South  <ssouth@slowcomputing.org>
18411         * progmodes/delphi.el (delphi-tab): Indent region when Transient
18412         Mark mode is enabled and region is active; otherwise indent or
18413         insert TAB as usual.
18414         (delphi-mode): Update description of TAB-key binding.
18416 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18418         * subr.el (define-key-rebound-commands): Mark obsolete.
18419         * startup.el (precompute-menubar-bindings): Remove.
18420         (normal-top-level): Remove obsolete code that tried to precompute
18421         menubar bindings.
18422         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18423         define-key-rebound-commands and precompute-menubar-bindings.
18425 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
18427         * net/imap.el (imap-interactive-login): Better messages.
18428         (imap-open): Fix bug with renamed buffer on reconnect.
18429         (imap-authenticate): Add buffer-local imap-last-authenticator variable
18430         for easier debugging and cleaner code.  On successful (guessed based on
18431         server capabilities) secondary authentication, set imap-state
18432         correctly.
18433         (imap-last-authenticator): Define imap-last-authenticator as a variable
18434         to avoid warnings.
18436 2009-09-10  Glenn Morris  <rgm@gnu.org>
18438         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18440         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18441         (byte-compile-file-form-autoload): Don't warn about unknown functions
18442         where the autoload statement comes after the use.
18443         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18444         that any handlers inside the body (eg require) are in turn respected.
18446         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18447         effects.
18449         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18450         and syntax and abbrev tables basic docs, if they don't have any.
18452         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18454         * international/mule-cmds.el (top-level): Require cl when compiling.
18455         (view-hello-file): Use default-value rather than
18456         default-enable-multibyte-characters.
18458         * progmodes/fortran.el: Move all safe and risky properties into the
18459         defcustoms.
18461         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18462         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18463         * mail/undigest.el:
18464         Put autoloads in rmail.el rather than loaddefs.el.
18465         * mail/rmail.el: Regenerate with extracted autoloads.
18467         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18468         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18470 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
18472         Reported in thread for Bug#4375.
18473         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18474         "-data-evaluate-expression" instead of print.
18475         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18476         (gdb-tooltip-print): Parse output from above MI command.
18477         (gdb): Revert 2009-08-11 change.  User should detach inferior
18478         manually.
18480         Remove the word "separate" from IO functions as inferior
18481         output is now never displayed in the GUD buffer.
18483 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
18485         * startup.el (command-line-normalize-file-name): On Windows and
18486         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18488 2009-09-10  Juri Linkov  <juri@jurta.org>
18490         * isearch.el (isearch-text-char-description): Propertize escape
18491         character sequences with the `escape-glyph' face.  (Bug#4344)
18493         * simple.el (shell-command): Set asynchronous process filter to
18494         `comint-output-filter'.  (Bug#4343)
18496         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18497         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
18498         the list.  Move "asm" to the bottom.
18499         (grep-find-ignored-directories): Add `choice' with nil value
18500         to empty the list easily.
18501         (grep-find-ignored-files): New option.
18502         (grep-files-history): Set to nil by default instead of '("ch" "el").
18503         (grep-compute-defaults): Add "<X>" to `grep-template'.
18504         (grep-read-files): Bind new local variables `default-alias' and
18505         `default-extension'.  Use a list of default values for the file prompt.
18506         (lgrep): Add `--exclude=' command line options composed from
18507         `grep-find-ignored-files'.
18508         (rgrep): Add `-name' command line options composed from
18509         `grep-find-ignored-files'.  (Bug#4301)
18511 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
18513         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18514         (bug#4368).
18516 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
18518         * calendar/time-date.el (autoload):
18519         Expand define-obsolete-function-alias into defalias and make-obsolete
18520         for old Emacsen that Gnus supports.
18521         (with-no-warnings): Define it for old Emacsen.
18522         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18523         is available.
18524         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18525         float-time is available; suppress compile warning for time-to-seconds.
18527 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
18529         * net/imap.el (imap-message-map): Docstring fix.
18531 2009-09-09  Glenn Morris  <rgm@gnu.org>
18533         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18534         line numbers too.  (Bug#4374)
18536 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18538         * smerge-mode.el (smerge-remove-props, smerge-refine):
18539         Use with-silent-modifications (bug#4342).
18541         * subr.el (with-silent-modifications): New macro.
18543 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
18545         * files.el (top-level): Require `cl' when compiling.
18547 2009-09-07  Glenn Morris  <rgm@gnu.org>
18549         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18551         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18552         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
18554 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
18556         * vc-git.el (vc-git-annotate-command): Use separator to parse
18557         arguments correctly.
18559 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
18561         * proced.el (proced-mode): Doc fix.
18563 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
18565         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18566         lstat fails.
18567         (tramp-do-file-attributes-with-ls): Check for file existence at
18568         remote end.
18569         (tramp-do-file-attributes-with-stat): Likewise.
18570         (tramp-convert-file-attributes): Return nil when attr is nil.
18572 2009-09-05  Glenn Morris  <rgm@gnu.org>
18574         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18575         properties to this button.
18576         (diary-fancy-display): Don't extend the button to the final newline.
18577         (diary-fancy-display-mode): Continue to define "q" as a local key.
18579         * calendar/cal-china.el (holiday-chinese): Make it slightly more
18580         efficient.
18582         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18584         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18585         (byte-compile-dest-file-function): New option.
18586         (byte-compile-dest-file): Doc fix.
18587         Obey byte-compile-dest-file-function.
18588         (byte-compile-cl-file-p): New function.
18589         (byte-compile-eval): Only suppress noruntime warnings about cl functions
18590         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
18591         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18592         than for file being previously loaded.
18593         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18594         (byte-compile-file-form-require): Handle the case where requiring a file
18595         indirectly causes CL to be loaded.
18597 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18599         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18600         before killing the old buffer, since by the time `kill-buffer' is
18601         run so many buffer variables have been set to nil that it may not
18602         behave as expected.  (Bug#4061)
18604 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18606         * files.el (find-alternate-file): If the old buffer is modified
18607         and visiting a file, behave similarly to `kill-buffer' when
18608         killing it, thus reverting to the pre-1.878 behavior; see
18609         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18610         for discussion.  Also, consult `buffer-file-name' as a variable
18611         not as a function, for consistency with the rest of the code.
18613 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
18615         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18616         also when adding a new directory.
18618         * net/tramp-compat.el (tramp-compat-line-beginning-position):
18619         New defun.
18621 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18623         * files.el (locate-file-completion-table): Make it provide boundary
18624         information, so partial-completion works better.
18626 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
18628         * mail/footnote.el (Footnote-text-under-cursor):
18629         Check footnote-text-marker-alist before using it (bug#4324).
18631 2009-09-04  Glenn Morris  <rgm@gnu.org>
18633         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18634         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18635         * play/solitaire.el, play/tetris.el:
18636         Remove leading * from defcustom and defface docs.
18638         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18639         necessary.
18640         (diary-fancy-overriding-map): New variable.
18641         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18642         Use view-mode.
18644         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18645         goto-line.
18647 2009-09-03  Glenn Morris  <rgm@gnu.org>
18649         * arc-mode.el (archive-mode):
18650         * dos-fns.el (set-default-process-coding-system):
18651         * man.el (Man-getpage-in-background):
18652         * menu-bar.el (menu-bar-describe-menu):
18653         * server.el (server-process-filter):
18654         * startup.el (command-line):
18655         * tar-mode.el (tar-header-block-tokenize, tar-extract):
18656         * w32-fns.el (set-default-process-coding-system):
18657         * x-dnd.el (x-dnd-handle-file-name):
18658         * international/mule-cmds.el (mule-menu-keymap)
18659         (set-default-coding-systems, language-info-alist, set-language-info)
18660         (set-language-environment, standard-display-european-internal)
18661         (set-locale-environment):
18662         * international/mule-diag.el (mule-diag):
18663         * mail/emacsbug.el (report-emacs-bug):
18664         * mail/rmail.el (rmail-mode):
18665         * mail/sendmail.el (mail-setup):
18666         Use default-value rather than default-enable-multibyte-characters.
18668         * progmodes/f90.el: Move all safe properties into the defcustoms.
18669         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18671         * calendar/appt.el (appt-check):
18672         * calendar/diary-lib.el (diary-set-header, diary-live-p)
18673         (diary-check-diary-file, diary-list-entries)
18674         (diary-include-other-diary-files, diary-simple-display)
18675         (diary-fancy-display, diary-print-entries)
18676         (diary-mark-included-diary-files, diary-make-entry):
18677         Don't call substitute-in-file-name on diary-file.
18679 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
18680             Stefan Monnier  <monnier@iro.umontreal.ca>
18682         * mail/footnote.el (footnote-prefix): Make it a defcustom.
18683         (footnote-mode-map): Move initialization into the declaration.
18684         (footnote-minor-mode-map): Define it rather than changing global-map.
18685         (footnote-mode): Use define-minor-mode.
18687 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
18689         * net/tramp.el (tramp-handle-file-attributes-with-ls)
18690         (tramp-do-file-attributes-with-perl)
18691         (tramp-do-file-attributes-with-stat): Rename from
18692         `tramp-handle-file-attributes-with-*'.
18693         (tramp-handle-file-attributes): Use them.
18694         (tramp-do-directory-files-and-attributes-with-perl)
18695         (tramp-do-directory-files-and-attributes-with-stat): Rename from
18696         `tramp-handle-directory-files-and-attributes-with-*'.
18697         (tramp-handle-directory-files-and-attributes): Use them.
18698         (tramp-method-out-of-band-p): Additional parameter SIZE.
18699         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18700         (tramp-handle-write-region): Use it.
18701         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18702         (tramp-handle-vc-registered): Check, whether the first run did
18703         return files to be tested.
18704         (tramp-advice-make-auto-save-file-name): Do not call directly
18705         `tramp-handle-make-auto-save-file-name', because this would bypass
18706         the locking mechanism.
18708         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18709         (file-remote-p, process-file, start-file-process, set-file-times)
18710         (tramp-compat-file-attributes): Compatibility functions shall not
18711         call directly `tramp-handle-*', because this would bypass the
18712         locking mechanism.
18713         (tramp-compat-number-sequence): New defun.
18715 2009-09-02  Glenn Morris  <rgm@gnu.org>
18717         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18718         alias for float-time.
18719         (time-to-number-of-days): In Emacs, use float-time.
18720         * net/newst-backend.el (time-add): Suppress warnings from compat
18721         function.
18722         * time.el (emacs-uptime, emacs-init-time):
18723         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18724         Use float-time rather than time-to-seconds.
18726         * minibuffer.el (completion-initials-expand): Fix typo.
18728         * faces.el (modeline, modeline-inactive, modeline-highlight)
18729         (modeline-buffer-id):
18730         * info.el (info-menu-5): Mark these face aliases as obsolete.
18732 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18734         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18735         space ...
18736         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18737         no "--thread" option.
18738         (gdb-stopped): Don't print "Switched to thread" message when it is
18739         unchanged.
18741 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18743         * minibuffer.el (completion-try-completion)
18744         (completion-all-completions): Remove ill-defined (and
18745         mistakenly installed and luckily never used nor documented)
18746         `completion-styles' property.
18747         (completion-initials-expand, completion-initials-all-completions)
18748         (completion-initials-try-completion): New functions.
18749         (completion-styles-alist): Add doc to each entry.
18750         Add new `initials' entry.
18752 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18754         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18755         MI command -var-evaluate-expression.
18756         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18757         and tweak for case of string child.
18758         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18760 2009-09-01  Glenn Morris  <rgm@gnu.org>
18762         * add-log.el (change-log-date-face, change-log-name-face)
18763         (change-log-email-face, change-log-file-face, change-log-list-face)
18764         (change-log-conditionals-face, change-log-function-face)
18765         (change-log-acknowledgement-face):
18766         * cus-edit.el (custom-invalid-face, custom-rogue-face)
18767         (custom-modified-face, custom-set-face, custom-changed-face)
18768         (custom-saved-face, custom-button-face, custom-button-pressed-face)
18769         (custom-documentation-face, custom-state-face, custom-comment-face)
18770         (custom-comment-tag-face, custom-variable-tag-face)
18771         (custom-variable-button-face, custom-face-tag-face)
18772         (custom-group-tag-face-1, custom-group-tag-face):
18773         * diff-mode.el (diff-header-face, diff-file-header-face)
18774         (diff-index-face, diff-hunk-header-face, diff-removed-face)
18775         (diff-added-face, diff-changed-face, diff-function-face)
18776         (diff-context-face, diff-nonexistent-face):
18777         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18778         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18779         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18780         (Info-title-4-face):
18781         * isearch.el (isearch-lazy-highlight-face):
18782         * log-view.el (log-view-file-face, log-view-message-face):
18783         * paren.el (show-paren-match-face, show-paren-mismatch-face):
18784         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18785         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18786         (cvs-msg-face):
18787         * smerge-mode.el (smerge-mine-face, smerge-other-face)
18788         (smerge-base-face, smerge-markers-face):
18789         * wid-edit.el (widget-documentation-face, widget-button-face)
18790         (widget-field-face, widget-single-line-field-face)
18791         (widget-inactive-face, widget-button-pressed-face):
18792         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18793         (woman-addition-face):
18794         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18795         (eshell-ls-executable-face, eshell-ls-readonly-face)
18796         (eshell-ls-unreadable-face, eshell-ls-special-face)
18797         (eshell-ls-missing-face, eshell-ls-archive-face)
18798         (eshell-ls-backup-face, eshell-ls-product-face)
18799         (eshell-ls-clutter-face):
18800         * eshell/em-prompt.el (eshell-prompt-face):
18801         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18802         * obsolete/old-whitespace.el (whitespace-highlight-face):
18803         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18804         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18805         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18806         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18807         (antlr-font-lock-literal-face):
18808         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18809         (ebrowse-root-class-face, ebrowse-file-name-face)
18810         (ebrowse-default-face, ebrowse-member-attribute-face)
18811         (ebrowse-member-class-face, ebrowse-progress-face):
18812         * progmodes/make-mode.el (makefile-space-face):
18813         * progmodes/sh-script.el (sh-heredoc-face):
18814         * textmodes/flyspell.el (flyspell-incorrect-face)
18815         (flyspell-duplicate-face):
18816         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18817         * textmodes/texinfo.el (texinfo-heading-face):
18818         Mark face aliases with "-face" suffix as obsolete.
18820         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18821         compiler.
18823         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18824         (eudc-bob-sound-menu): Use defvar rather than defconst, since
18825         easy-menu-define wants to modify these.
18827         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18829         * net/browse-url.el (browse-url-file-url):
18830         * term/internal.el (dos-codepage-setup):
18831         Use default-value rather than default-enable-multibyte-characters.
18833         * progmodes/etags.el (etags-goto-tag-location):
18834         * progmodes/flymake.el (flymake-highlight-line)
18835         (flymake-goto-file-and-line, flymake-goto-line):
18836         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18837         (gdb-goto-breakpoint):
18838         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18839         * progmodes/python.el (python-find-function)
18840         (python-pdbtrack-track-stack-file):
18841         * progmodes/verilog-mode.el (verilog-surelint-off):
18842         * term/ns-win.el (ns-open-file-select-line):
18843         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18844         Use forward-line rather than goto-line.
18846         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18847         * textmodes/reftex-index.el (reftex-display-index):
18848         * textmodes/reftex-ref.el (reftex-offer-label-menu):
18849         * textmodes/reftex-toc.el (reftex-toc):
18850         Remove unnecessary bindings of default-major-mode (all are followed by
18851         major-mode check and possible mode switch).
18853 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18855         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18856         Handle watchpoints (bug#4282).
18857         (def-gdb-thread-buffer-command): Enable thread to be selected by
18858         clicking without selecting threads buffer first.
18859         (gdb-current-context-command): Use selected frame so that "up",
18860         "down" etc work in the GUD buffer.
18861         (gdb-update): Find selected frame before rendering stack buffer.
18862         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18864 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18866         * progmodes/sym-comp.el (displayed-completions): Remove.
18867         (symbol-complete): Use minibuffer-complete.
18869 2009-08-31  Glenn Morris  <rgm@gnu.org>
18871         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18873         * apropos.el (apropos-symbols-internal):
18874         Handle (obsolete) face aliases.
18876         * faces.el (describe-face): Adjust the output format to be more like
18877         describe-variable, and to mention (obsolete) face aliases.
18878         Adjust the whitespace so that help-setup-xref works.
18880         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18881         * calendar/diary-lib.el (diary-button-face):
18882         Mark these face aliases as obsolete.
18884         * calendar/calendar.el (calendar-today): Doc fix.
18886 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18888         * progmodes/gdb-mi.el (gdb-control-all-threads)
18889         (gdb-control-current-thread): Force tool bar update.
18890         (gdb-non-stop-handler): New function.
18891         (gdb-init-1): Use it to test if non-stop mode is supported.
18892         Remove unused gdbmi buffer type.
18894 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
18896         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18897         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
18899 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
18901         * comint.el (comint-exec-1): Check command is non-null first.
18902         Part of gdb-mi.el change (2009-08-28).
18904 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18906         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18908 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
18910         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18911         instead of `dolist' to avoid a recursive require when bootstrapping.
18913 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18915         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18917         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18919         * net/imap.el (imap-send-command): Simplify.
18920         (imap-wait-for-tag): point-max -> buffer-size.
18922         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18924         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18925         with constant argument.
18927         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18929         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18931         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18932         Change default, since most of our files don't have a history.
18933         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18934         the user.
18936         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18937         Add comint-run.
18939         * calc/calc.el: Improve commenting convention.
18940         (calc-digit-map, toplevel): Simplify.
18942         * comint.el (comint-insert-input): Be careful to only set point if we
18943         don't delegate to some other command.
18945         * proced.el (proced-signal-list): Make it an alist.
18946         (proced-grammar-alist): Capitalize names.
18947         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18948         Disable undo manually and make it read-only.
18949         Use completion-annotate-function.
18951         * minibuffer.el (minibuffer-message): If the current buffer is not
18952         a minibuffer, insert the message in the echo area rather than at the
18953         end of the buffer.
18954         (completion-annotate-function): New variable.
18955         (minibuffer-completion-help): Use it.
18956         (completion--embedded-envvar-table): Environment vars are
18957         always case-sensitive.
18959 2009-08-30  Glenn Morris  <rgm@gnu.org>
18961         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18962         from fortran-current-defun.
18963         (fortran-beginning-of-subprogram): Be more precise about finding the
18964         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
18965         (fortran-end-of-subprogram): Simplify.
18966         (fortran-current-defun): Use fortran-start-prog-re.
18968 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
18970         * subr.el (do-after-load-evaluation): Simplify.
18972 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
18974         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18976         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
18977         (vc-rcs-print-log): Use it.
18979         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18981 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18983         * paths.el (abbrev-file-name): Move to abbrev.el.
18984         * abbrev.el (abbrev-file-name): Move from paths.el.
18985         Obey user-emacs-directory.
18986         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18987         user-emacs-directory.
18988         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18989         abbrev-file-name and calc-settings-file any more.
18990         * startup.el (command-line): Recompute abbrev-file-name and
18991         abbreviated-home-dir.
18992         (normal-no-mouse-startup-screen): Improve the generic code and get rid
18993         of the special code for when C-h bindings haven't been changed.
18994         (display-startup-echo-area-message): Use with-current-buffer.
18995         (command-line-1): Use a list of strings, rather than a list of lists
18996         of strings for longopts.
18998         * files.el (get-free-disk-space): Use / for default-directory.
19000         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19001         Use with-current-buffer.
19003         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19004         Recognize immutable variables like most-positive-fixnum.
19005         (byte-compile-setq-default): Check and warn if trying to assign
19006         to an immutable variable, or a non-variable.
19008         * progmodes/cc-vars.el (c-comment-continuation-stars):
19009         * progmodes/cc-engine.el (c-looking-at-bos):
19010         * progmodes/cc-cmds.el (c-toggle-auto-state)
19011         (c-forward-into-nomenclature, c-backward-into-nomenclature)
19012         (c-comment-line-break-function): Add version of obsolescence.
19014 2009-08-28  Juri Linkov  <juri@jurta.org>
19016         * files.el (magic-fallback-mode-alist): Add ZIP magic number
19017         associated with `archive-mode'.
19019         * image.el (image-type-header-regexps): Use only JPEG magic number
19020         to determine JPEG images, and don't use `image-jpeg-p' because
19021         Emacs can display non-JFIF non-Exif JPEG images.
19023 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19025         * arc-mode.el (archive-mode):
19026         * emacs-lisp/re-builder.el (re-builder-unload-function):
19027         Protect against the default value of `major-mode' being nil.
19029 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19031         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19032         Fix typos in docstrings.
19034         * progmodes/js.el (js--macro-decl-re): Doc fix.
19035         (js--plain-method-re, js--split-name): Refloc docstring.
19036         (js--class-styles, js--make-merged-item, js--splice-into-items):
19037         Fix typos in docstrings; reflow docstrings.
19038         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19039         (js--variable-decl-matcher, js--inside-pitem-p)
19040         (js--parse-state-at-point, js--get-all-known-symbols)
19041         (js--symbol-history, js-find-symbol, js--js-references)
19042         (js--moz-interactor, js--js-encode-value, js--read-tab):
19043         Fix typos in docstrings.
19045 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19047         * textmodes/reftex.el (reftex-get-file-buffer-force):
19048         * progmodes/verilog-mode.el (verilog-batch-execute-func):
19049         * emulation/viper.el (viper-go-away, viper-set-hooks):
19050         * emacs-lisp/re-builder.el (re-builder-unload-function):
19051         * emacs-lisp/bytecomp.el (byte-compile-file):
19052         * ses.el (ses-unload-function):
19053         * hexl.el (hexl-find-file):
19054         * files.el (normal-mode):
19055         * ehelp.el (with-electric-help):
19056         * autoinsert.el (auto-insert-alist):
19057         * arc-mode.el (archive-mode):
19058         Use (default-value 'major-mode) instead of default-major-mode.
19060         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19061         * international/mule.el (load-with-code-conversion):
19062         * emacs-lisp/debug.el (debug):
19063         * ediff-vers.el (ediff-rcs-get-output-buffer):
19064         * dired.el (dired-internal-noselect): Don't let-bind
19065         default-major-mode around code that doesn't use it.
19066         E.g. buffer creation via get-buffer-create doesn't use it.
19068 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
19070         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19071         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19072         when writing the temp file.  Otherwise, epa-file gets confused.
19073         (tramp-register-file-name-handlers): Make it a defun.  Move also
19074         `epa-file-handler' to the front of `file-name-handler-alist'.
19076 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19078         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19079         start right after a ^M.
19080         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19081         (tramp-completion-file-name-regexp-separate)
19082         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19083         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19084         Don't modify last-coding-system-used by accident.
19085         (tramp-completion-file-name-handler): Apply the checks here,
19086         instead during registration.
19087         (tramp-register-file-name-handlers): Rename from
19088         `tramp-register-file-name-handler'.  Register both
19089         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19090         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
19092 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
19094         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19095         Remove variable ...
19096         (gdb-init-1, gdb-display-separate-io-buffer)
19097         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19098         references to it.
19099         (gdb-inferior-io-mode): Use make-comint-in-buffer.
19100         (gdb-inferior-filter): Use comint-output-filter to stop
19101         echoing and remove ^M characters.
19103 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19105         * emulation/viper-init.el (viper-restore-cursor-type):
19106         * emulation/cua-base.el (cua--update-indications):
19107         Replace default-cursor-type with (default-value 'cursor-type).
19109         * mail/sendmail.el (mail-recover-1):
19110         * international/mule-diag.el (describe-current-coding-system-briefly)
19111         (describe-current-coding-system):
19112         * international/mule-cmds.el (select-safe-coding-system)
19113         (select-message-coding-system)
19114         (set-language-environment-coding-systems, set-locale-environment):
19115         * hexl.el (hexl-insert-multibyte-char):
19116         * dos-w32.el (find-buffer-file-type-coding-system):
19117         * simple.el (what-cursor-position):
19118         Replace uses of default-buffer-file-coding-system
19119         with (default-value 'buffer-file-coding-system).
19121         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19122         Replace uses of default-cursor-in-non-selected-windows
19123         with (default-value 'cursor-in-non-selected-windows).
19124         Use with-current-buffer.
19126         * mail/feedmail.el: Use CL macros.
19127         (feedmail-run-the-queue, feedmail-send-it-immediately):
19128         * dos-w32.el (find-buffer-file-type): Replace uses of
19129         default-buffer-file-type with (default-value 'buffer-file-type).
19131 2009-08-28  Glenn Morris  <rgm@gnu.org>
19133         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19134         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19135         Use default-value of major-mode rather than default-major-mode.
19137 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19139         * Makefile.in (update-elcfiles): Report left over elc files.
19141         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19142         expand-file-name and with-current-buffer.
19143         (mail-get-names, mail-directory): Use with-current-buffer.
19145         * vc.el (vc-read-revision): New function.
19146         (vc-version-diff, vc-merge): Use it.
19148 2009-08-27  Sam Steingold  <sds@gnu.org>
19150         * simple.el (kill-do-not-save-duplicates): New user option.
19151         (kill-new): When it is non-nil, and the new string is the same as
19152         the latest kill, set replace to t to avoid duplicates in kill-ring.
19154 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
19156         * net/tramp.el (tramp-handle-process-file): Do not flush all
19157         caches when `process-file-side-effects' is set.
19158         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19159         instead of `tramp-find-file-exists-command'.
19160         Unset `process-file-side-effects'.
19162 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
19164         * net/tramp.el (tramp-methods): New method "rsyncc".
19165         (top): Add completion function for "rsyncc".
19166         (tramp-message-show-message): New defvar.
19167         (tramp-message, tramp-error): Use it.
19168         (tramp-do-copy-or-rename-file-directly): Extend check for direct
19169         remote copying.
19170         (tramp-do-copy-or-rename-file-out-of-band): Handle new
19171         `tramp-methods' entry `copy-env' of "rsyncc".
19172         (tramp-vc-registered-read-file-names): New defconst.
19173         (tramp-vc-registered-file-names): New defvar.
19174         (tramp-handle-vc-registered): Implement optimization strategy.
19175         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19176         (tramp-vc-file-name-handler): New defun.
19177         (tramp-get-ls-command, tramp-get-test-command)
19178         (tramp-get-file-exists-command, tramp-get-remote-ln)
19179         (tramp-get-remote-perl, tramp-get-remote-stat)
19180         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19182         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19183         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
19184         timestamps.
19185         (tramp-get-file-property): Check for timestamps in
19186         `tramp-cache-inhibit-cache'.
19187         (tramp-set-file-property): Write timestamp.
19189 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19191         * language/japan-util.el (japanese-symbol-table): Add entries for
19192         cp932-2-byte.
19194         * international/characters.el: Add category `j' to cp932-2-byte.
19196 2009-08-27  Kenichi Handa  <handa@m17n.org>
19198         * international/fontset.el (build-default-fontset-data): New macro.
19199         (setup-default-fontset): Use build-default-fontset-data for CJK,
19200         tibetan, ethiopic, and ipa.
19202 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19204         * cus-start.el (default-major-mode): Customize `major-mode' instead.
19205         (enable-multibyte-characters): Not customizable any more.
19207         * subr.el (default-mode-line-format, default-header-line-format)
19208         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19209         (default-direction-reversed, default-truncate-lines)
19210         (default-left-margin, default-tab-width, default-case-fold-search)
19211         (default-left-margin-width, default-right-margin-width)
19212         (default-left-fringe-width, default-right-fringe-width)
19213         (default-fringes-outside-margins, default-scroll-bar-width)
19214         (default-vertical-scroll-bar, default-indicate-empty-lines)
19215         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19216         (default-fringe-cursor-alist, default-scroll-up-aggressively)
19217         (default-scroll-down-aggressively, default-fill-column)
19218         (default-cursor-type, default-buffer-file-type)
19219         (default-cursor-in-non-selected-windows)
19220         (default-buffer-file-coding-system, default-major-mode)
19221         (default-enable-multibyte-characters): Mark as obsolete.
19223 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
19225         * vc-dir.el (vc-dir-update): Remove debug helper.
19227         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19229 2009-08-26  Sam Steingold  <sds@gnu.org>
19231         * simple.el (save-interprogram-paste-before-kill): New user option.
19232         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19233         save the interprogram-paste into kill-ring before overriding it
19234         with the Emacs kill.
19236 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19238         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19239         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19240         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19241         and move to vc-rcs.el.
19242         (vc-default-next-revision): Rename to vc-rcs-next-revision and
19243         move to vc-rcs.el.
19244         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19245         (vc-rcs-update-changelog): Remove.
19246         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19247         and move to vc-rcs.el.
19249         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19250         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19251         renaming.
19252         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19253         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19254         vc.el, renamed to be RCS specific.
19256         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19257         New functions.
19258         (vc-cvs-update-changelog): Move here from vc.el.
19260         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19261         New functions.
19263 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19265         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19267 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19269         * vc-git.el (vc-git-register): Use "git add" for directories.
19270         (vc-git-stash, vc-git-stash-show): New functions.
19271         (vc-git-extra-menu-map): Bind them.
19273         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19274         directory correctly in case the item is a directory itself.
19276         * vc.el: Document the desired behavior for reverted files in the
19277         `added' state.
19278         (vc-default-prettify-state-info): Remove function, unused.
19280         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19282 2009-08-26  Glenn Morris  <rgm@gnu.org>
19284         * bindings.el (standard-mode-line-format): Reposition dashes in
19285         which-func entry.  (Bug#4217)
19287         * files.el (enable-local-variables, enable-local-eval)
19288         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19289         the defcustoms.
19290         (auto-mode-alist, ignored-local-variables)
19291         (save-some-buffers-action-alist): Move risky declarations to the
19292         definitions.
19293         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19294         (font-lock-defaults, format-alist, imenu--index-alist)
19295         (imenu-generic-expression, input-method-alist, minor-mode-alist)
19296         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19297         (mode-line-modified, mode-line-mule-info, mode-line-position)
19298         (mode-line-process, mode-line-remote, outline-level)
19299         (parse-time-rules, rmail-output-file-alist)
19300         (special-display-buffer-names, vc-mode):
19301         Move risky declarations to the relevant files.
19302         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19303         (mode-line-modified, mode-line-process, mode-line-position)
19304         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19305         * font-core.el (font-lock-defaults):
19306         * format.el (format-alist):
19307         * vc-hooks.el (vc-mode):
19308         * window.el (special-display-buffer-names):
19309         * international/mule-cmds.el (input-method-alist):
19310         Define riskiness here (dumped file) rather than in files.el.
19311         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19312         * imenu.el (imenu-generic-expression, imenu--index-alist):
19313         * outline.el (outline-level):
19314         * time.el (display-time-string):
19315         * calendar/parse-time.el (parse-time-rules):
19316         * mail/rmailout.el (rmail-output-file-alist):
19317         Autoload riskiness here, rather than placing in files.el.
19319 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
19321         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19323 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
19325         * simple.el (process-file-side-effects): New defvar.
19327         * dired-aux.el (dired-show-file-type):
19328         * vc.el (vc-diff-internal):
19329         * vc-arch.el (vc-arch-diff):
19330         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19331         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19332         * vc-git.el (vc-git-registered, vc-git-working-revision)
19333         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19334         (vc-git--empty-db-p):
19335         * vc-hooks.el (vc-user-login-name):
19336         * vc-svn.el (vc-svn-registered, vc-svn-state)
19337         (vc-svn-dir-extra-headers, vc-svn-find-revision):
19338         * progmodes/grep.el (grep-probe): Let-bind
19339         `process-file-side-effects' with nil.
19341         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19343         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19344         daemon.  Replace ping by checking for running service for bluez
19345         and zeroconf.  (Bug#4239)
19347 2009-08-25  Kevin Ryde  <user42@zip.com.au>
19349         * net/dig.el (dig): Add autoload cookie.
19351 2009-08-25  Glenn Morris  <rgm@gnu.org>
19353         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19354         load-history for absolute file-names.
19355         (byte-compile-file-form-require): Warn about use of the cl package.
19357         * format.el (format-alist): Doc fix.
19359         * play/bubbles.el (top-level): Don't require cl at run-time.
19361         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19362         run-time cl).
19364 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
19366         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19367         from cl package.
19368         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19370 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
19372         * calc/calc-alg.el (math-trig-rewrite)
19373         (math-hyperbolic-trig-rewrite): New functions.
19374         (calc-simplify): Simplify trig functions when asked.
19376 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19378         * diff-mode.el (diff-find-source-location): Avoid goto-line.
19380 2009-08-24  Kenichi Handa  <handa@m17n.org>
19382         * language/ind-util.el (mapthread): Delete it.
19383         (combinatorial): New function.
19384         (indian--puthash-cv): Use combinatorial instead of mapthread.
19386 2009-08-22  Kevin Ryde  <user42@zip.com.au>
19388         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19389         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19390         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19391         Clarify docstring that the value is strings not symbols.
19392         (checkdoc-list-of-strings-p): New function.
19394 2009-08-22  Glenn Morris  <rgm@gnu.org>
19396         * files.el (auto-mode-alist):
19397         * hippie-exp.el (he-concat-directory-file-name):
19398         * lpr.el (lpr-windows-system, printer-name):
19399         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19400         * ps-print.el (ps-windows-system):
19401         * startup.el (command-line):
19402         * emulation/viper-ex.el (viper-glob-function):
19403         * international/mule-cmds.el (set-language-environment-coding-systems):
19404         * net/ange-ftp.el (ange-ftp-write-region):
19405         * obsolete/fast-lock.el (fast-lock-cache-name):
19406         Remove code for defunct system-types emx, macos, mswindows, next-mach,
19407         unisoft-unix, vax-vms, win32, w32.
19409         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19410         given name if the pattern is not more specific.
19412         * calendar/lunar.el (lunar-phase-names): New option.
19413         (lunar-phase): Doc fix.
19414         (lunar-cycles-per-year): New constant.
19415         (lunar-index): New function.
19416         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19417         (lunar-phase-name): Use lunar-phase-names.
19418         (calendar-lunar-phases): Use format.
19419         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19421         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19422         Copy imenu-example--name-and-position function here for own use.
19423         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19425         * bs.el (bs--redisplay):
19426         * cus-edit.el (custom-redraw):
19427         * ibuffer.el (ibuffer-bury-buffer):
19428         * server.el (server-goto-line-column):
19429         * startup.el (command-line-1):
19430         * strokes.el (strokes-xpm-for-stroke):
19431         * term.el (term-display-buffer-line):
19432         * view.el (View-goto-line):
19433         * calc/calc.el (calc-do, calc-trail-buffer):
19434         * play/gamegrid.el (gamegrid-add-score-insecure):
19435         * progmodes/ada-mode.el (ada-compile-goto-error):
19436         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19437         (ebrowse-select-1st-to-9nth):
19438         * progmodes/cperl-mode.el (cperl-time-fontification):
19439         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19440         * progmodes/gud.el (gud-display-line):
19441         (idlwave-shell-display-line):
19442         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19443         * progmodes/make-mode.el (makefile-browser-toggle):
19444         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19445         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19446         * textmodes/picture.el (picture-draw-rectangle):
19447         * textmodes/reftex-index.el (reftex-index-goto-letter):
19448         (reftex-select-jump-to-previous):
19449         * textmodes/reftex-sel.el (reftex-find-start-point)
19450         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19451         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19452         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19453         * textmodes/tex-mode.el (tex-compilation-parse-errors):
19454         * textmodes/two-column.el (2C-associated-buffer):
19455         Use forward-line rather than goto-line.
19457         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19458         goto-line.
19460         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19461         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19462         (quick-check-list-to-regexp): Declare.
19464         * progmodes/make-mode.el (makefile-browser-insert-selection):
19465         Use goto-char rather than goto-line.
19467         * progmodes/prolog.el (compilation-error-regexp-alist)
19468         (compilation-forget-errors): Declare.
19470 2009-08-22  Juri Linkov  <juri@jurta.org>
19472         * progmodes/grep.el (lgrep, rgrep): At the beginning
19473         set `dir' to `default-directory' unless `dir' is a non-nil
19474         readable directory.  (Bug#4052)
19475         (lgrep, rgrep): Change a weird way to report an error
19476         from using `read-string' to using `error'.
19477         Instead of using interactive arguments in the function body,
19478         add new argument `confirm'.
19480 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19482         * textmodes/remember.el (remember-buffer):
19483         * progmodes/cperl-mode.el (cperl-vc-header-alist):
19484         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19485         (icalendar-extract-ical-from-buffer):
19486         * net/newst-treeview.el (newsticker-groups-filename):
19487         * net/newst-backend.el (newsticker-cache-filename):
19488         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19489         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19490         (speedbar-add-ignored-path-regexp, speedbar-line-path)
19491         (speedbar-buffers-line-path, speedbar-path-line)
19492         (speedbar-buffers-line-path):
19493         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19494         (epg-sign-keys):
19495         * epa.el (epa-display-verify-result):
19496         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19498 2009-08-21  Glenn Morris  <rgm@gnu.org>
19500         * progmodes/js.el (inferior-moz-process): Fix declaration.
19502         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19504         * obsolete/rnewspost.el (news-mail-reply):
19505         Use goto-char rather than goto-line.
19507         * term/ns-win.el (ns-open-file-select-line):
19508         Use line-beginning-position rather than goto-line.
19510         * apropos.el (apropos-command):
19511         * ehelp.el (electric-helpify):
19512         * printing.el (pr-show-setup):
19513         * strokes.el (strokes-help):
19514         * tutorial.el (tutorial--describe-nonstandard-key)
19515         (tutorial--detailed-help):
19516         * woman.el (woman-mini-help, woman-display-extended-fonts):
19517         * calc/calc-help.el (calc-describe-key):
19518         * emulation/edt.el (edt-electric-helpify):
19519         * international/mule-diag.el (mule-diag):
19520         * play/yow.el (apropos-zippy):
19521         * progmodes/python.el (python-describe-symbol):
19522         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19523         * textmodes/table.el (*table--cell-describe-mode)
19524         (*table--cell-describe-bindings):
19525         Use help-print-return-message rather than the now obsolete alias.
19527         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19528         (calendar-cursor-to-visible-date):
19529         * play/5x5.el (5x5-position-cursor):
19530         * play/decipher.el (decipher):
19531         * play/gomoku.el (gomoku-goto-xy):
19532         * play/landmark.el (lm-goto-xy):
19533         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19534         (mpuz-paint-digit):
19535         Use forward-line, not goto-line.
19537         * mail/rmail.el (rmail-obsolete): Delete custom group.
19538         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19539         (rmail-remote-password, rmail-remote-password-required):
19540         Remove unneeded :set-after and :set properties.
19542 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
19544         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19546 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
19548         * loadup.el: Remove leftover macos code.
19550         * vc-git.el (vc-git-annotate-command): Run asynchronously.
19551         Explicitly pass the date format to git blame so that user local
19552         so that the output format can be parsed.
19554 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
19556         * net/dbus.el (top): Don't check for (getenv
19557         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
19559 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
19561         * log-edit.el (log-edit-strip-single-file-name): New var.
19562         (log-edit-insert-changelog): Use it.  Bug#3571
19564 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19566         * subr.el (read-passwd): Use read-key so keypad keys work as well.
19567         Bug#3287
19569         * help.el (help-print-return-message): Rename from
19570         print-help-return-message.
19572         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19573         cvs-mode-map parent hack.
19574         (log-view-mode): Derive from special-mode.
19576         * linum.el (linum-mode): window-size-change-functions is redundant.
19577         Adapt to new window-configuration-change-hook behavior.
19578         (linum-after-size, linum-after-config): Remove.
19580         * imenu.el (imenu-example--name-and-position)
19581         (imenu-example--lisp-extract-index-name)
19582         (imenu-example--create-lisp-index, imenu-example--create-c-index):
19583         Mark as obsolete.
19585         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19586         (inferior-prolog-mode): Use it.
19587         (inferior-prolog-load-file): Reset list of errors.
19589 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19591         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19593         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19595 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
19597         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19598         is running already.
19600 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19602         * subr.el (listify-key-sequence-1): Use normal syntax since those
19603         integers are nowadays always represented by the same (positive) number
19604         on all platforms.
19605         (read-key-empty-map): New const.
19606         (read-key-delay): New var.
19607         (read-key): New function.
19608         (force-mode-line-update): Use with-current-buffer.
19609         (locate-user-emacs-file): Don't forget to abbreviate the file name.
19610         (start-process-shell-command, start-file-process-shell-command):
19611         Discourage the use of command-args.
19613 2009-08-19  Glenn Morris  <rgm@gnu.org>
19615         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19617 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19619         * simple.el (choose-completion-string): Don't rely on
19620         minibuffer-completing-file-name and ad-hoc checks to decide whether
19621         to continue completion or not.
19623         * minibuffer.el (minibuffer-hide-completions): New function.
19624         (completion--do-completion): Use it.
19625         (completions-annotations): New face.
19626         (completion--insert-strings): Use it.
19627         (completion-pcm--delim-wild-regex): Add docstring.
19628         (completion-pcm--string->pattern): Add support for 0-width delimiters
19629         in completion-pcm--delim-wild-regex.
19631 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19633         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19634         Remove unused var `buffer-modified-p'.
19636         * minibuffer.el (completion--do-completion): Move point for the #b001
19637         case as well (bug#4176).
19638         (minibuffer-complete, minibuffer-complete-word): Don't move point.
19640 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
19642         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
19643         and :session buses.
19645 2009-08-18  Kenichi Handa  <handa@m17n.org>
19647         * international/ucs-normalize.el (ucs-normalize-version):
19648         Change to 1.1.
19649         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19650         (utf-8-hfs): Make it perform normalization on encoding too.
19652         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
19653         (sentence-end-without-space): Delete duplicated chars.
19654         (sentence-end-base): Likewise.
19656         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
19657         (html-mode): Delete duplicated chars from sentence-end-base.
19659         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
19660         (texinfo-mode): Delete duplicated chars from sentence-end-base.
19662 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
19664         * files.el (hack-one-local-variable): If the mode function is for
19665         a minor mode, pass it an argument (Bug#4148).
19667 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
19669         * net/tramp.el (tramp-register-completion-file-name-handler):
19670         Check also for (member 'partial-completion completion-styles).
19672 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19674         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19675         abbrev (Bug#3943).
19677 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
19679         * progmodes/cperl-mode.el: Merge upstream 6.2.
19680         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19681         (cperl-forward-re): Check cperl-brace-recursing.
19682         (cperl-highlight-charclass): New function.
19683         (cperl-find-pods-heres): Use it.
19684         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19685         (cperl-beautify-regexp-piece): Fix column calculation.
19686         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19687         (cperl-beautify-level): Don't process entire regexp.
19688         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19689         calling man.
19690         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19691         (cperl-init-faces): Build a list in the normal way.
19693 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19695         * calendar/parse-time.el (parse-time-string-chars): Save match
19696         data.
19698 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19700         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19701         (sql-product): Use it.
19702         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19703         (sql-set-product): Add completion.
19704         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19705         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19706         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19707         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19708         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19709         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19710         (sql-highlight-db2-keywords): Remove.
19711         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19712         (sql-highlight-product): Use derived-mode-p.
19713         (sql-set-sqli-buffer): Use with-current-buffer.
19714         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19715         Simplify.
19717         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19719         * term.el: Fix commenting convention, turn comments into docstrings.
19721 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19723         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19725 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19727         * calendar/parse-time.el (parse-time-string-chars): Compute using
19728         character classes, to handle non-ascii characters (Bug#3190).
19730 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19732         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19733         another heredoc if the user adds another < (Bug#3226).
19735         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19736         Don't initialize based on window-system (Bug#4124).
19738         * facemenu.el (facemenu-read-color): Use a completion function
19739         that accepts any defined color, such as RGB triplets (Bug#3677).
19741         * files.el (get-free-disk-space): Change fallback default
19742         directory to /.  Expand DIR argument before switching to fallback.
19743         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19745 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19747         * files.el (load-library): Doc fix.
19749 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
19751         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19752         (viper-if-string): Redefine C-s in the minibuffer to insert the last
19753         incremental search string.
19755         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19756         XEmacs.
19758         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19759         (ediff-merge-region-is-non-clash)
19760         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19761         Also check if the job is really a merge job.
19763         * ediff.el (ediff-current-file): New function.
19765 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19767         * progmodes/js.el: Edit docstrings throughout to follow Emacs
19768         conventions.
19769         (js-insert-and-indent): Delete function.
19770         (js-mode-map): Don't bind keys to js-insert-and-indent.
19771         (js-beginning-of-defun): Rename from js--beginning-of-defun.
19772         (js-end-of-defun): Rename from js--end-of-defun.
19773         (js-auto-indent-flag): Delete variable.
19775 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
19777         * progmodes/js.el: Remove proclaim statement.
19778         Defvar which-func-imenu-joiner-function to silence compiler.
19780         * files.el (auto-mode-alist): Use js-mode for .js files.
19782         * progmodes/js2-mode.el: Remove file.
19784         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19786         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19788         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19790 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
19791             Karl Landstrom  <karl.landstrom@brgeight.se>
19793         * progmodes/js.el: New file.
19795 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
19797         * timezone.el (timezone-parse-date): Add ability to understand ISO
19798         basic format (minimal separators) dates in addition to the
19799         already-supported extended format dates.
19801 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
19803         * international/ucs-normalize.el: Add a `coding' file variable.
19805         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19807 2009-08-14  Sam Steingold  <sds@gnu.org>
19809         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19811 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
19813         * faces.el (help-argument-name): Define it here instead of
19814         help-fns.el, because in daemon mode help-fns.el may be loaded when
19815         faces are still uninitialized (Bug#1078).
19817         * help-fns.el (help-argument-name): Move defface to faces.el.
19819 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
19821         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19822         create buffer with a pty but no process so that GDB can make the
19823         inferior the controlling process.
19825 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
19827         * international/ucs-normalize.el: New file.
19829 2009-08-13  Richard Stallman  <rms@gnu.org>
19831         * mail/rmail.el (rmail-get-attr-names):
19832         Accept an attribute header that is too short.
19834         * mail/rmail.el (rmail-forget-messages):
19835         Ignore nil elt in rmail-message-vector.  Use dotimes.
19837         * progmodes/compile.el (compilation-goto-locus):
19838         Use next-error-move-function.
19840         * simple.el (next-error-move-function): New variable.
19842 2009-08-12  Juri Linkov  <juri@jurta.org>
19844         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19845         always non-nil.  (Bug#4052)
19847         * replace.el (read-regexp): Return empty string when
19848         `default-value' is nil.
19849         (keep-lines-read-args): Don't use empty string as the
19850         default value for `read-regexp'.  (Bug#2495)
19852 2009-08-12  Juri Linkov  <juri@jurta.org>
19854         * international/mule-cmds.el (ucs-insert): Change arguments
19855         from `arg' to `character', `count', `inherit' to be the same
19856         as in `insert-char'.  Doc fix.  (Bug#4039)
19858         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19860 2009-08-12  Juri Linkov  <juri@jurta.org>
19862         * files-x.el: New file.
19864         * files.el: Move code that deals with adding/deleting
19865         file/directory-local variables to files-x.el.
19867         * Makefile.in (ELCFILES): Add files-x.elc.
19869 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
19871         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19872         to use `goto-line'.
19873         (gdb-place-breakpoints, gdb-get-location): Rewritten without
19874         `goto-line'.
19875         (gdb-invalidate-disassembly): Do not refresh upon receiving
19876         'update signal.  Instead, update all disassembly buffers only after
19877         threads list.
19878         (gdb): Send -target-detach when buffer is killed (Bug#3794).
19879         (gdb-starting): Move -data-list-register-names...
19880         (gdb-stopped): ...here so it's sent when first thread stops.
19881         (gdb-registers-handler-custom): Do nothing if register names are
19882         unknown yet.
19884         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19885         from `gdb-mi.el' to avoid extra tangling.
19887         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19888         change which breaks `gud-def' definitions used in `gdb'.
19889         (gdb-update-gud-running): No extra fuss for updating frame number.
19891 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19893         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19894         (describe-language-environment-map, setup-language-environment-map)
19895         (set-coding-system-map): Move initialization into declaration.
19896         (set-language-info-alist): Last arg to define-key-after can be skipped.
19898         * international/quail.el (quail-completion-1): Simplify.
19899         (quail-define-rules): Use slightly more compact code.
19900         (quail-insert-decode-map): Propertize keys, compact columns.
19902         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19903         Add goto-line.
19905 2009-08-10  Miles Bader  <miles@gnu.org>
19907         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19908         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19909         (js2-instance-member, js2-private-member, js2-private-function-call)
19910         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19911         (js2-magic-paren, js2-external-variable):
19912         Remove "-face" suffix from face names.
19913         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19914         (js2-highlight-undeclared-vars, js2-peek-token)
19915         (js2-parse-function-params, js2-mode-show-errors)
19916         (js2-mode-show-warnings, js2-make-magic-delimiter)
19917         (js2-mode-highlight-magic-parens): Update to use new face names.
19919 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
19921         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19922         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
19924 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
19926         * subr.el: Provide hashtable-print-readable.
19928         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19929         hs-c-like-adjust-block-beginning.
19930         (hs-hide-block-at-point): Stop hiding at the beginning of
19931         hs-block-end-regexp (Bug#700).
19933 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
19935         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19936         a macro.
19937         (gdb-registers-handler-custom): Do not fail when register names
19938         are unavailable.
19940 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19942         * progmodes/gdb-mi.el (gdb-control-all-threads)
19943         (gdb-control-current-thread): Interactive setters for
19944         `gdb-gud-control-all-threads' to use in menu.
19945         (gdb-show-run-p): Show «Go» when process is not active.
19946         (gud-tool-bar-map): Add non-stop/A,T indicator.
19947         Uses gud/thread.xpm and gud/all.xpm.
19949 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
19951         * net/net-utils.el (net-utils-font-lock-keywords): New var.
19952         (nslookup-font-lock-keywords): Make it a variable.
19953         (net-utils-mode): New mode for viewing diagnostic network output.
19954         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19955         (net-utils-run-simple): New function.
19956         (ifconfig, iwconfig, netstat, arp, route): Use it.
19958 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19960         * progmodes/gdb-mi.el (gdb-read-memory-custom)
19961         (gdb-memory-set-address, def-gdb-set-positive-number)
19962         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19963         after changing settings.
19964         (gdb-invalidate-disassembly): Update when first shown.
19965         (gdb-edit-locals-value): Fixed.
19966         (gdb-registers-handler-custom): Print registers in right order and
19967         allow changing register values (only for current thread yet).
19968         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19969         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19970         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19971         (gdb-locals-handler-custom, gdb-registers-handler-custom):
19972         Thread info in mode name.
19973         (gdb-registers-mode-map): TAB to switch to locals.
19975 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
19977         * mail/rmail.el (rmail-add-mbox-headers)
19978         (rmail-set-message-counters-counter): Search for
19979         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
19981 2009-08-08  Glenn Morris  <rgm@gnu.org>
19983         * Makefile.in (ELCFILES): Update.
19985 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19987         * mail/sendmail.el (mail-yank-original):
19988         Set buffer-file-coding-system from the one used by the message whose
19989         text is yanked.
19991         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19992         to "windows" when "pgnuplot" is used.
19993         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19994         Don't call accept-process-output if "pgnuplot" is used.
19995         (calc-graph-init): Don't send -display and -geometry to
19996         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
19997         running "pgnuplot -V" with shell-command-to-string.
19999         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20000         the default.
20002 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20004         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20005         org/org-latex.elc.
20007 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
20009         * vc-dispatcher.el (vc-resynch-window): Update comment.
20011         * term.el (term-handle-ansi-escape): Add comments with the
20012         terminfo capabilities implemented.
20014 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
20016         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20017         (gdb-var-create-handler): Rewritten using JSON parser.
20018         (gdb-propertize-header): Move earlier.
20019         (gdb-set-header): Remove to avoid duplication.
20020         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20021         Refresh disassembly buffers only after threads list have been
20022         update.
20023         (gdb-threads-header, gdb-registers-header): Per-buffer header line
20024         variables.
20026 2009-08-04  Juri Linkov  <juri@jurta.org>
20028         * files.el: Commands to add/delete file/directory-local variables.
20029         (read-file-local-variable, read-file-local-variable-value)
20030         (read-file-local-variable-mode, modify-file-local-variable)
20031         (modify-file-local-variable-prop-line)
20032         (modify-dir-local-variable): New functions.
20033         (add-file-local-variable, delete-file-local-variable)
20034         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20035         (add-dir-local-variable, delete-dir-local-variable)
20036         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20037         (copy-dir-locals-to-file-locals-prop-line): New commands.
20039 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
20041         * abbrev.el (insert-abbrev-table-description): Prettify output.
20042         Suggested by Karl Chen.
20044 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
20046         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20047         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20048         (gdb-overlay-arrow-position, gdb-thread-position)
20049         (gdb-disassembly-position): Declare variables.
20050         (gdb-wait-for-pending): Function now.
20051         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20052         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20053         compilation goes smoothly.
20054         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20055         (gdb-non-stop-setting): New customization setting which replaces
20056         `gdb-non-stop' so changing it doesn't break active GDB session.
20057         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20058         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20059         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20060         (gdb-show-threads-by-default): New customization options.
20061         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20062         routines.
20063         (gdb-get-buffer-create): Send buffers update signal when they are
20064         created.
20065         (gdb-invalidate-locals, gdb-invalidate-registers)
20066         (gdb-invalidate-breakpoints)
20067         (gdb-invalidate-threads, gdb-invalidate-disassembly)
20068         (gdb-invalidate-memory): Accept update signal.
20069         (gdb-current-context-command): Use --frame option.
20070         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20071         Implement `gdb-frame-number' selection logic.
20072         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20073         whether to show GUD toolbar buttons.
20074         (gdb-thread-exited): Unselect current thread when it exits.
20075         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20076         (gdb-mark-line): Routine which sets overlay arrow or inverses
20077         video on fringeless displays.
20078         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20079         to build aligned columns of data in GDB buffers and set text
20080         properties line-by-line.
20081         (gdb-invalidate-breakpoints)
20082         (gdb-breakpoints-list-handler-custom)
20083         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20084         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20085         (gdb-registers-handler-custom): Align data columns.
20086         (gdb-locals-handler-custom): Now prints data like in variable
20087         declarations.
20088         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20089         Remove confusing buttons.
20090         (gdb-invalidate-threads): Append --frame.
20091         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20092         between breakpoints/threads buffers.
20093         (gdb-set-window-buffer): Now can ignore dedicated windows.
20094         (gdb-propertize-header): Use `gdb-set-window-buffer'.
20095         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20096         (def-gdb-thread-buffer-gud-command): Replaces
20097         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20098         for fine thread control.
20099         (gdb-preempt-existing-or-display-buffer): New function used to
20100         display bound buffers without breaking window layout.
20101         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20102         (gdb-select-frame): New version of `gdb-frames-select' which now
20103         sets `gdb-frame-number' so commands may use --frame option instead
20104         of inner debugger state.
20105         (gdb-frame-handler): Do not set `gdb-frame-number'.
20106         (gdb-threads-mode-map): Select threads with mouse.
20108         * progmodes/gud.el (gdb-gud-context-call): Declare function to
20109         avoid compilation warning.
20110         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20111         `gdb-show-stop-p`.
20113         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20114         Argument `key' renamed to `buffer-type'.
20115         (gdb-current-context-buffer-name): Do not add thread info to
20116         buffer name when no thread is selected.
20117         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20118         command (bug 3794).
20119         (gdb-thread-selected): Handle `=thread-selected' notification.
20120         (gdb-wait-for-pending): New macro to deal with congestion problems.
20121         (gdb-breakpoints-list-handler-custom): Don't fail on pending
20122         breakpoints.
20123         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20124         This fixes problem similar to one described in bug 3947.
20125         (gud-menu-map): More menu items.
20126         (gdb-init-1): Reset `gdb-thread-number' to nil.
20128         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20129         non-stop settings.
20131         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20132         (gdb-current-context-command): Do not append --thread if
20133         `gdb-thread-number' is nil.
20134         (gdb-running-threads-count, gdb-stopped-threads-count):
20135         New variables.
20136         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20137         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20138         New customization options.
20139         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20140         GUD commands.
20141         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20142         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20143         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20144         set `gdb-thread-number' and update `gud-running' properly.
20145         (gdb-running): Update threads list when new threads appear.
20146         (gdb-stopped): Support non-stop operation and new thread switching
20147         logic.
20148         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20149         (gdb-json-partial-output): New set of JSON routines.
20150         (def-gdb-auto-update-trigger): New `signal-list' optional
20151         argument.
20152         (gdb-thread-list-handler-custom): Update `gud-running',
20153         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20154         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20155         (gdb-continue-thread, gdb-step-thread): New commands for fine
20156         thread execution control.
20157         (gud-menu-map): New menu items to switch non-stop options.
20158         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20159         (gdb-send): Mimic RET properly (bug 3794).
20161         * progmodes/gdb-mi.el (gdb-rules-name-maker)
20162         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20163         gdb-buffer-rules.
20164         (def-gdb-auto-update-handler): New nopreserve optional argument.
20165         (gdb-stack-list-frames-custom): Print stack from top to bottom.
20167         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20168         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20169         (gdb-parent-mode): New mode to derive other GDB modes from.
20170         (gdb-display-disassembly-for-thread)
20171         (gdb-frame-disassembly-for-thread): New commands for threads
20172         buffer.
20174         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20175         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20176         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20177         (gdb-update): We now store all GDB buffers in a list so that they
20178         can be updated by traversing a list instead of calling invalidate
20179         triggers explicitly.
20180         (def-gdb-trigger-and-handler): New macro to define trigger-handler
20181         pair for GDB buffer.
20182         (gdb-stack-buffer-name): Add thread information.
20183         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20184         handle pending triggers.
20185         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20186         (def-gdb-thread-buffer-simple-command)
20187         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20188         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20189         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20190         New commands which show buffers bound to thread.
20191         (gdb-stack-list-locals-regexp): Remove unused regexp.
20193         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20194         (gdb-locals-buffer-name, gdb-registers-buffer-name)
20195         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20196         to (gud-comint-buffer) in *-buffer-name functions
20197         because (gdb-get-target-string) already does that.
20198         (gdb-locals-handler-custom, gdb-registers-handler-custom)
20199         (gdb-changed-registers-handler): Rewritten without regexps.
20201         * progmodes/gdb-mi.el: Basic thread selection support.
20202         (gdb-thread-number): New variable.
20203         (gdb-current-context-command): New macro which adds --thread
20204         option to command.
20205         (gdb-threads-mode-map): Select thread with SPC.
20206         (gdb-thread-list-handler-custom): Mark current thread with overlay
20207         arrow.  Synchronize GDB thread and Emacs thread.
20208         (gdb-select-thread): New command which selects current thread.
20209         (gdb-invalidate-frames, gdb-invalidate-locals)
20210         (gdb-invalidate-registers): Use --thread option.
20212 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
20214         * net/tramp.el (top): Make check for tramp-gvfs loading more
20215         robust.  (Bug#3977)
20216         (tramp-handle-insert-file-contents): `unwind-protect' must be
20217         inside `with-parsed-tramp-file-name'.
20219         * net/tramp-gvfs.el (top): Remove superfluous message when loading
20220         fails.
20222 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
20224         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20225         directory if CLASSPATH is not set.
20227 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
20229         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20230         New defconst.
20231         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
20233 2009-08-02  Kevin Ryde  <user42@zip.com.au>
20235         * net/newst-backend.el (newsticker--raw-url-list-defaults):
20236         Update freshmeat link.  Delete newsforge.com as it seems gone.
20238 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20240         * select.el (x-set-selection): Doc fix (Bug#4021).
20242         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20244         * help-fns.el (describe-variable): Treat list return values from
20245         dir-locals-find-file properly (Bug#4005).
20247 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
20249         * net/tramp.el (tramp-debug-message): Print also microseconds.
20251 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
20253         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20254         or END is non-nil.
20255         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20256         (tramp-get-debug-buffer): Change `outline-regexp' according to new
20257         format.
20259         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20260         (tramp-get-file-property): Use it.
20262         * autorevert.el (auto-revert-handler):
20263         Allow `auto-revert-tail-mode' for remote files.
20265 2009-08-02  Jason Rumney  <jasonr@gnu.org>
20267         * minibuffer.el (read-file-name): Treat confirm options to
20268         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
20270 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20272         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20273         (font-lock-variable-name-face, font-lock-constant-face):
20274         Darken the colors for light backgrounds.
20276 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
20278         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20279         month names.  (Bug#3987)
20281 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
20283         * simple.el (line-move-finish): Pass whole number to
20284         line-move-to-column.
20285         (line-move-visual): Perform hscroll to the recorded position.
20287 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
20289         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20291 2009-07-29  Alan Mackenzie  <acm@muc.de>
20293         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20295 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
20297         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20298         (gdb-place-breakpoints): Use full path when setting breakpoints.
20300 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
20302         * calc/calc.el (calc-mode-map): Add keybinding for
20303         `calc-transpose-lines'.
20305 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
20307         * calc/calc-misc.el (calc-transpose-lines): New function.
20309 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
20311         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20312         Simplify check for out-of-band methods.
20313         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20314         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
20316 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
20318         * vc-git.el (vc-git-checkin): Fix typo.
20320 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
20322         * progmodes/js2-mode.el: New file.
20324 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
20326         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20327         (gud-menu-map): Adjust tooltip accordingly.
20329 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
20331         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20332         (vc-bzr-log-view-mode): Adjust log-view-file-re.
20334         * add-log.el (change-log-mode-map): Add a menu.
20336 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
20338         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20339         function returns nil.
20340         (dbus-handle-event): Handle special return value :ignore.
20341         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20343 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
20345         * view.el (view-mode-enable): Don't define Helper-return-blurb if
20346         it's not needed.
20348 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
20350         Fix Bug#3888:
20352         * w32-vars.el (x-select-enable-clipboard): Doc fix.
20354         * term/pc-win.el (x-display-name, x-colors)
20355         (x-select-enable-clipboard, x-select-text): Doc fix.
20357         * term/common-win.el (x-display-name, x-colors): Doc fix.
20359         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20360         (xw-defined-colors): Doc fix.
20362         * w32-fns.el (x-select-text, x-setup-function-keys)
20363         (x-get-selection, x-set-selection): Doc fix.
20365         * term/x-win.el (x-select-text, x-setup-function-keys)
20366         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20368         * select.el (x-set-selection): Doc fix.
20370 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
20372         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20373         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
20374         "IsNSSSupportAvailable" method is not available.
20375         Reported by Steve Youngs <steve@sxemacs.org>.
20377 2009-07-24  Kenichi Handa  <handa@m17n.org>
20379         * international/characters.el: Fix setting of category ?C, ?|, ?K,
20380         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
20381         (build-unicode-category-table): Fix range checks.
20383 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
20385         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20386         the buffer we try to sync is current when calling
20387         vc-resynch-buffer.
20389         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20390         not show up to date files.
20392 2009-07-24  Glenn Morris  <rgm@gnu.org>
20394         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20395         Add autoload cookies.  If necessary, initialize.
20396         (elint-log): Handle non-file buffers.
20397         (elint-initialize): Add optional argument to reinitialize.
20398         (elint-find-builtin-variables): Save excursion.
20400 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
20402         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20403         for Lint.
20405 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
20407         * vc.el (vc-print-log-internal): New function, split out from ...
20408         (vc-print-log): ... here.
20409         (vc-dir-move-to-goal-column): Declare.
20411         * vc-git.el (vc-git-add-signoff): New variable.
20412         (vc-git-checkin): Use it.
20413         (vc-git-toggle-signoff): New function.
20414         (vc-git-extra-menu-map): Bind it to menu.
20415         (vc-git--run-command-string): Accept a nil FILE argument.
20416         (vc-git-stash-list): New function.
20417         (vc-git-dir-extra-headers): Use it.
20419 2009-07-23  Glenn Morris  <rgm@gnu.org>
20421         * help-fns.el (describe-variable): Describe ignored and risky local
20422         variables in a similar way to that in which we describe safe ones.
20424         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20425         (byte-compile-output-file-form, byte-compile-output-docform)
20426         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20427         Give some more local variables with common names a "bytecomp-" prefix,
20428         so as not to shadow things during compilation.
20429         * emacs-lisp/cl-macs.el (load-time-value)
20430         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20431         `outbuffer' to `bytecomp-outbuffer'.
20433         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20434         since the next two variables cover them automatically now.
20435         (elint-builtin-variables, elint-autoloaded-variables): New.
20436         (elint-unknown-builtin-args): Remove all members, since they can be
20437         parsed automatically now.
20438         (elint-extra-errors): New.
20439         (elint-env-add-env, elint-env-add-macro): Use cadr.
20440         (elint-current-buffer): Use or.  Change final message.
20441         (elint-get-top-forms): Use line-end-position.
20442         (elint-init-env): Use cadr.  Handle autoload, declare-function,
20443         and defalias.
20444         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
20445         (regexp-assoc): Remove unused function.
20446         (elint-top-form): Set elint-current-pos, to record the start of the
20447         top-level form, for compilation-mode.
20448         (elint-form): Trap errors in macro expansion.  Use dolist.
20449         (elint-unbound-variable): Use elint-builtin-variables and
20450         elint-autoloaded-variables.
20451         (elint-get-args): Use cadr, or.
20452         (elint-check-cond-form): Use dolist, cadr.
20453         (elint-check-condition-case-form): Doc fix.  Use cadr.
20454         Use elint-extra-errors.
20455         (elint-log): New function.
20456         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20457         Distinguish errors and warnings.
20458         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
20459         Use a bytecomp-style format.
20460         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
20461         (elint-get-log-buffer): Use compilation mode.  Disable undo.
20462         Don't truncate lines.
20463         (elint-initialize): Set builtin and autoloaded variable lists.
20464         Only process elint-unknown-builtin-args if non-nil.
20465         (elint-find-builtin-variables, elint-find-autoloaded-variables):
20466         New functions.
20467         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
20469 2009-07-22  Kevin Ryde  <user42@zip.com.au>
20471         * net/newst-backend.el (newsticker--parse-atom-1.0)
20472         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20473         (newsticker--parse-rss-1.0):
20474         * progmodes/idlwave.el (idlwave-mode):
20475         * progmodes/idlw-shell.el (idlwave-shell-mode):
20476         * progmodes/vera-mode.el (vera-mode):
20477         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20478         * progmodes/vhdl-mode.el (vhdl-mode):
20479         * textmodes/table.el (table-generate-source)
20480         (table--warn-incompatibility):
20481         Hyperlink urls in docstrings with URL `...'.
20483 2009-07-22  Glenn Morris  <rgm@gnu.org>
20485         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20486         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20487         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20488         Remove leading * from defcustom docs.
20490         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
20492         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20493         defcustom doc.
20494         (list-load-path-shadows): Optionally, just return shadows as a string.
20496         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20498 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
20500         * mail/rmailedit.el (rmail-edit-mode):
20501         Use auto-save-include-big-deletions.
20503         * mail/rmail.el (rmail-variables):
20504         Use auto-save-include-big-deletions.
20506         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20507         changes.
20509 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
20511         * calc/calc.el (calc-undo-length): New variable.
20512         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20514 2009-07-21  Richard Stallman  <rms@gnu.org>
20516         * files.el (auto-save-mode): Handle buffer-save-size = -2
20517         for toggling mode.
20519 2009-07-21  Glenn Morris  <rgm@gnu.org>
20521         * textmodes/ispell.el (ispell-looking-back): Update declaration.
20523         * calendar/todo-mode.el (calendar-current-date): Update declaration.
20525         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20526         silence compiler.  Instead...
20527         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20528         (ps-print-ensure-fontified): Update for above function name changes.
20530         * printing.el (pr-mh-get-msg-num, pr-mh-show)
20531         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20532         silence compiler.  Instead...
20533         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20534         (mh-show-buffer): Only define for compiler.
20535         (pr-mh-current-message): Update for above function name changes.
20537         * files.el (abort-if-file-too-large): Explicitly pass `filename'
20538         as an argument.
20539         (find-file-noselect, insert-file-1): Update for above change.
20541         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20543         * mail/mailclient.el (mailclient-send-it): Fix message.
20545         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20546         (edebug-eval): Check cl-debug-env is bound.
20547         (print-level, print-circle): Don't redefine built-in variables.
20549         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20550         (custom-print-vectors): Remove old comments from doc.
20552         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20553         (emerge-version): Make the variable an obsolete alias for the
20554         emacs-version variable.  Make the function obsolete.
20555         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20556         Emerge options, rather than merging in into the main Options menu.
20557         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
20558         and auto advance modes.  Disable edit/fast items when not relevant.
20560 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
20562         * term/vt420.el (terminal-init-vt420): Fix typo.
20564 2009-07-20  Sam Steingold  <sds@gnu.org>
20566         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20567         variable (removed from compile.el on 2004-03-11).
20569 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
20571         * files.el (hack-local-variables-filter): Fix last change.
20573 2009-07-19  Juri Linkov  <juri@jurta.org>
20575         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20576         (dir-local-variables-alist): New buffer-local variable.
20577         (hack-local-variables-filter): If variable is not dir-local,
20578         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20579         because file-local overrides dir-local.
20580         (c-postprocess-file-styles) <declare-function>:
20581         Remove obsolete declaration.
20582         (hack-dir-local-variables): Add dir-local variable/value pair to
20583         `dir-local-variables-alist' and remove duplicates.  Doc fix.
20585         * help-fns.el (describe-variable): Add information about
20586         file-local and dir-local variables.
20588 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
20590         * files.el (hack-local-variables-filter): Rewrite.
20592 2009-07-19  Glenn Morris  <rgm@gnu.org>
20594         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20595         Silence compiler by only defining on XEmacs.
20597         * international/mule.el (auto-coding-regexp-alist): Only match
20598         BABYL... at the start of buffer, not of lines.  (Bug#3790)
20600         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20601         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
20602         (cal-menu-context-mouse-menu): Doc fix.
20604         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20606         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
20608 2009-07-18  Juri Linkov  <juri@jurta.org>
20610         * info.el: Virtual Info keyword finder.
20611         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20612         (Info-finder-file): New variable.
20613         (Info-finder-find-file): New function.
20614         (finder-known-keywords, finder-package-info)
20615         (find-library-name, lm-commentary): Use defvar and
20616         declare-function to silence compiler warnings.
20617         (Info-finder-find-node): New function.
20618         (info-finder): New command.
20620         * subr.el (process-kill-buffer-query-function): New function.
20621         (add-hook)<kill-buffer-query-functions>: Add hook
20622         `process-kill-buffer-query-function'.
20624 2009-07-18  Alan Mackenzie  <acm@muc.de>
20626         * progmodes/cc-mode.el (c-before-hack-hook)
20627         (c-postprocess-file-styles): Give invocation of `c-set-style'
20628         DONT-OVERRIDE parameter of t.  Already set style variables will
20629         thus not be overridden by style settings given by `c-file-syle'.
20631         * files.el (hack-local-variables-filter): Remove entries with
20632         duplicate keys from `file-local-variables-alist'.
20634 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20636         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20637         x-set-selection if display-selections-p returns nil for the
20638         current frame.
20640 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
20642         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20644 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20646         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20647         Accept nil in addition to a regexp.
20648         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20649         Accept nil in addition to a regexp.
20650         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20651         buffers that have an associated file.  Handle nil values of
20652         desktop-buffers-not-to-save and desktop-files-not-to-save.
20653         (Bug#3833)
20655         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20656         (x-disown-selection-internal): New functions.
20658 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
20660         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20661         warning.
20662         (gdb-breakpoints-header): Move forward to avoid compiler warning.
20663         (gdb-make-header-line-mouse-map): Remove duplicate definition.
20665 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
20667         * simple.el (set-mark): Revert last change.
20669 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
20671         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20672         rendering of pngs is not possible instead of messaging a long
20673         description.
20675 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
20677         * w32-fns.el (x-selection-owner-p): New function.
20679         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20680         (mouse-yank-at-click, mouse-yank-primary):
20681         If select-active-regions is non-nil, deactivate the mark before
20682         insertion.
20684         * simple.el (deactivate-mark, set-mark): Only save selection if we
20685         own it.
20687 2009-07-17  Kenichi Handa  <handa@m17n.org>
20689         * case-table.el (describe-buffer-case-table): Fix for the case
20690         that KEY is a cons.
20692 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
20694         * vc-rcs.el (vc-rcs-find-file-hook):
20695         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20697 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
20699         * net/tramp.el (tramp-wait-for-output): Handle the case when
20700         commands do not return a newline but a null byte before the shell
20701         prompt.  (Bug#3858)
20703 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20705         * term/ns-win.el (ns-set-alpha): Don't declare.
20706         (ns-set-background-alpha): Remove function.
20708 2009-07-16  Kevin Ryde  <user42@zip.com.au>
20710         * emacs-lisp/copyright.el (copyright-update): Save match-data across
20711         y-or-n-p, for safety.
20713 2009-07-16  Richard Stallman  <rms@gnu.org>
20715         * files.el (auto-save-mode): If buffer-saved-size is -2,
20716         don't clobber it.
20718         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20719         (rmail-retry-ignored-headers): Add more uninteresting fields.
20721 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
20723         * net/rcirc.el (rcirc): Use history variables.
20724         (rcirc-server-name-history, rcirc-nick-name-history)
20725         (rcirc-server-port-history): New variables.
20727 2009-07-15  Kenichi Handa  <handa@m17n.org>
20729         * international/mule-cmds.el (set-language-environment-charset):
20730         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20731         ignore them.
20733         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20734         Delete unibyte-display.
20736 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20738         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20740 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20742         * simple.el (deactivate-mark): Optional argument FORCE.
20743         (set-mark): Use deactivate-mark.
20745         * info.el (Info-search): No need to check transient-mark-mode
20746         before calling deactivate-mark.
20748         * select.el (x-set-selection): Doc fix.
20749         (x-valid-simple-selection-p): Allow buffer values.
20750         (xselect--selection-bounds): Handle buffer values.
20751         Suggested by David De La Harpe Golden.
20753         * mouse.el (mouse-set-region, mouse-drag-track):
20754         Call copy-region-as-kill before setting the mark, to let
20755         select-active-regions work.
20757 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
20759         * simple.el (deactivate-mark): If select-active-regions is
20760         non-nil, copy the selection data into a string.
20761         (activate-mark): If select-active-regions is non-nil, set the
20762         selection to the current buffer.
20763         (set-mark): Update selection if select-active-regions is non-nil.
20765         * select.el (x-valid-simple-selection-p): Allow buffer values.
20767 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20769         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20770         and more featureful message-mode.
20772 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
20774         * select.el (x-set-selection): Doc fix.
20775         (x-valid-simple-selection-p): Disallow selection data consisting
20776         of a list or cons of integers, since that is not used.
20777         (xselect--selection-bounds, xselect--int-to-cons): New functions.
20778         (xselect-convert-to-string, xselect-convert-to-length)
20779         (xselect-convert-to-filename, xselect-convert-to-charpos)
20780         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20782 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
20784         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20785         output in -break-info command (Emacs bug #3794).
20787 2009-07-14  Glenn Morris  <rgm@gnu.org>
20789         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20790         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20791         (edebug-print-length, edebug-print-level, edebug-print-circle)
20792         (edebug-sit-for-seconds, edebug-view-outside)
20793         (edebug-bounce-point, edebug-set-global-break-condition)
20794         (edebug-Go-nonstop-mode, edebug-trace-mode)
20795         (edebug-Trace-fast-mode, edebug-continue-mode)
20796         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20797         (edebug-visit-eval-list): Doc fixes.
20799         * subr.el (def-edebug-spec): Doc fix.
20801 2009-07-14  Kenichi Handa  <handa@m17n.org>
20803         * international/characters.el: Fix setting of category ?C.
20805 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
20807         * term/ns-win.el (x-select-font): defalias x-select-font to
20808         ns-popup-font-panel instead of generate-fontset-menu.
20810 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
20812         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
20814 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
20816         * arc-mode.el (archive-find-type): Allow for a PK00 string before
20817         the PK\003\004 header (Bug#3770).
20819 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
20821         * pcomplete.el (pcomplete-comint-setup): Check for
20822         shell-dynamic-complete-filename too.
20824 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
20826         * simple.el (temporary-goal-column): Change the value for
20827         line-move-visual to a cons cell.
20828         (line-move-visual): Record or set the window hscroll, if
20829         necessary (Bug#3494).
20830         (line-move-1): Handle cons value of temporary-goal-column.
20832 2009-07-11  Kenichi Handa  <handa@m17n.org>
20834         * international/mule-diag.el (describe-character-set): Don't show
20835         width.
20837 2009-07-10  Sam Steingold  <sds@gnu.org>
20839         * progmodes/compile.el (compilation-mode-font-lock-keywords):
20840         Omake sometimes indents the errors it prints, so allow all
20841         regexps to start with spaces.
20843 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
20845         * cus-edit.el (customize-changed-options-previous-release):
20846         Bump value to 22.1.  (Bug#3804)
20848 2009-07-08  Sam Steingold  <sds@gnu.org>
20850         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20851         to be a cons cell (test . ignored-directory) to selectively ignore
20852         some directories depending on the location of the search.
20854 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
20856         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20857         remote user is root, on the local host.
20858         (tramp-local-host-p): Either the local user or the remote user
20859         must be root.  (Bug#3771)
20861 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20863         * progmodes/gdb-mi.el (gdb): Remove description of
20864         gdb-use-separate-io-buffer.
20865         (menu): Don't allow toggling of or enable
20866         gdb-use-separate-io-buffer from menubar.
20868 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20870         * mail/unrmail.el (unrmail): Make sure the message ends with two
20871         newlines (Bug#3769).
20873 2009-07-08  Glenn Morris  <rgm@gnu.org>
20875         * calendar/calendar.el (calendar-current-date): Rework previous change.
20877 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
20879         * calendar/calendar.el (calendar-current-date):
20880         Add an optional argument giving an offset from today.
20882 2009-07-08  Glenn Morris  <rgm@gnu.org>
20884         * tutorial.el (tutorial--describe-nonstandard-key):
20885         Adjust the message for when a key has been unbound.
20886         (help-with-tutorial): Hide the arch-tag.
20888 2009-07-08  Kenichi Handa  <handa@m17n.org>
20890         * international/fontset.el (setup-default-fontset): For each
20891         script, append (not set) font-specs.
20893         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20894         docstring.
20896 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20898         * progmodes/gdb-mi.el (gdb-init-1): Move sending
20899         -data-list-register-names to ...
20900         (gdb-starting): ... here because GDB 7.0 requires execution to
20901         have started when using this MI command.
20902         (gdb-set-header): New function to distinguish select and
20903         unselected tabs in gdb buffers.
20904         (gdb-propertize-header): New macro that uses gdb-set-header.
20905         (gdb-breakpoints-header, gdb-locals-header): Use it.
20906         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20908 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
20910         * Makefile.in (ELCFILES): Remove fadr.elc.
20912 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
20914         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20915         may contain frame information, so `string-match' should be used.
20916         (gdb-update): Disassembly is invalidated through
20917         `gdb-get-selected-frame'.
20918         (gdb-pad-string): New function to pad string with spaces.
20919         (gdb-invalidate-disassembly): Invalidate only if the buffer
20920         exists.
20921         (gdb-disassembly-handler-custom): Column alignment.
20922         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20923         placing new ones.
20924         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20925         end of line, too.
20926         (gdb-frame-handler): Match convention to for disassembly buffer
20927         mode name.
20928         (gdb-stack-list-frames-handler): Rewritten without regexps.
20929         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20930         not highlight breakpoints without line information.
20931         (gdb-input): Add trailing newline to command.
20933         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20934         buffer properly.
20935         (gdb-breakpoints-list-handler-custom): Replacement for
20936         `gdb-break-list-handler'.  Using real parser instead of regexps
20937         now.
20938         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20939         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20940         to place breakpoints.
20941         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20942         functions.
20943         (gdb-disassembly-handler-custom): Show overlay arrow.
20944         (gdb-disassembly-place-breakpoints): Show breakpoints in
20945         disassembly buffer.
20946         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20947         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20948         instead of parsing breakpoints buffer.  Fixed old menu references
20949         in `gud-menu-map'.
20951         * fadr.el: Remove.
20953         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20954         (gdb-memory-address): New variable which holds top address of
20955         memory page shown in memory buffer.
20956         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20957         New customization variables.
20958         New functions:
20959         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20960         display the memory buffer.
20961         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20962         buffer display parameters.
20963         (def-gdb-memory-format, gdb-memory-format-binary)
20964         (gdb-memory-format-octal, gdb-memory-format-unsigned)
20965         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20966         Functions for setting memory buffer format.
20967         (gdb-memory-unit-word, gdb-memory-unit-halfword)
20968         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20969         unit size used in memory buffer.
20970         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20971         Switch to next/previous page of memory buffer.
20972         Now using (bindat-get-field) instead of fadr functions.
20974 2009-07-07  Sam Steingold  <sds@gnu.org>
20976         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20977         non-top-level files.
20979 2009-07-07  Kenichi Handa  <handa@m17n.org>
20981         * international/mule-cmds.el (reset-language-environment):
20982         Put the highset priority to the charset iso-8859-1.
20984 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20986         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20987         to the end of the line when locating the block (Bug#700).
20989 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
20991         * net/tramp.el (tramp-handle-write-region): Flush file properties
20992         in case of short track.
20994 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
20996         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20997         Coded custom representation of verilog error regular expressions
20998         to work with Emacs-22's new format.
20999         (verilog-error-regexp-xemacs-alist): Coded custom representation
21000         of verilog error regular expressions to work with XEmacs format.
21001         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21002         error recognition into XEmacs.
21003         (verilog-error-regexp-add-emacs): Hook routine to install verilog
21004         error recognition into Emacs-22.
21006 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21008         * woman.el: Remove stand-alone closing parentheses.
21009         (woman-file-name, woman2-format-paragraphs)
21010         (woman-leave-blank-lines): Code cleanup.
21011         (woman-use-own-frame): Change default to nil.
21012         (woman-italic, woman-bold, woman-unknown, woman-addition):
21013         Change defaults to inherit from default faces.
21014         (woman2-process-escapes): Consume the newline after a stand-alone
21015         filler character (Bug#3651).
21017 2009-07-06  Glenn Morris  <rgm@gnu.org>
21019         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21020         (top-level): Move provide to the end.
21021         (ffap): Remove defunct URL from custom group.
21023         * subr.el (eval-after-load): Doc fix.
21025 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
21027         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21028         `calc-embedded-word' is called twice.
21030 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21032         * files.el (find-alternate-file-other-window, find-alternate-file):
21033         Obey confirm-nonexistent-file-or-buffer.
21035 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
21037         * dired-aux.el (dired-show-file-type): Handle remote files.
21039 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
21041         * desktop.el (desktop-globals-to-save):
21042         Add file-name-history (Bug#2750).
21044 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
21046         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21048 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
21050         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21051         property on entire argument since this is what eshell-lisp-command
21052         expects.
21054 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
21056         * net/tramp-gvfs.el (tramp-gvfs-methods)
21057         (tramp-gvfs-zeroconf-domain)
21058         (tramp-bluez-discover-devices-timeout): Add version flag.
21059         (tramp-gvfs-handler-mounted-unmounted)
21060         (tramp-gvfs-connection-mounted-p): Polish handling of
21061         incompatibilities between GVFS 0.2 and 1.0.
21063 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
21065         * cus-start.el (all): Add make-pointer-invisible.
21067 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
21069         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21070         formatted correctly.
21072 2009-07-02  Juri Linkov  <juri@jurta.org>
21074         * info.el: Virtual Info files and nodes.
21075         (Info-virtual-files, Info-virtual-nodes): New variables.
21076         (Info-current-node-virtual): New variable.
21077         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21078         New functions.
21079         (Info-file-supports-index-cookies): Use Info-virtual-file-p
21080         to check for a virtual file instead of checking a fixed list
21081         of node names.
21082         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21083         instead of ad-hoc processing of "dir" and (apropos history toc).
21084         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21085         instead of ad-hoc processing of "dir" and (apropos history toc).
21086         Reread a file when moving from a virtual node.
21087         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21088         (Info-directory-toc-nodes, Info-directory-find-file)
21089         (Info-directory-find-node): New functions.
21090         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21091         (Info-history): Move part of code to
21092         `Info-history-find-node'.
21093         (Info-history-toc-nodes, Info-history-find-file)
21094         (Info-history-find-node): New functions.
21095         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21096         (Info-toc): Move part of code to `Info-toc-find-node'.
21097         (Info-toc-find-node): New function.
21098         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
21099         the current Info file name to references because now the node
21100         "*TOC*" belongs to the same Info manual.
21101         (Info-toc-build): Rename from `Info-build-toc'.
21102         (Info-toc-nodes): Rename input argument `file' to `filename'.
21103         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21104         instead of ad-hoc processing of ("dir" apropos history toc).
21105         (Info-index-nodes): Use Info-virtual-file-p
21106         to check for a virtual file instead of checking a fixed list
21107         of node names.
21108         (Info-index-node): Add check for `Info-current-node-virtual'.
21109         Raise `save-match-data' higher up the tree to contain
21110         `search-forward' too (bug fix).
21111         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21112         (Info-virtual-index-nodes): New variable.
21113         (Info-virtual-index-find-node, Info-virtual-index): New functions.
21114         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21115         (Info-apropos-file, Info-apropos-nodes): New variables.
21116         (Info-apropos-toc-nodes, Info-apropos-find-file)
21117         (Info-apropos-find-node, Info-apropos-matches): New functions.
21118         (info-apropos): Move part of code to `Info-apropos-find-node' and
21119         `Info-apropos-matches'.
21120         (Info-mode-map): Bind "I" to `Info-virtual-index'.
21121         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21122         for a virtual file instead of checking a fixed list of node names.
21124         * simple.el (async-shell-command): New command.
21126         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21128         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21129         instead of `mount-info'.
21131 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
21133         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21134         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21136 2009-07-02  Kenichi Handa  <handa@m17n.org>
21138         * international/mule.el (set-keyboard-coding-system): Force *-unix
21139         coding-system to avoid eol conversion.
21141 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
21143         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21144         Add handler for `process-file', `shell-command' and
21145         `start-file-process'.
21146         (tramp-gvfs-handle-shell-command)
21147         (tramp-gvfs-handle-start-file-process)
21148         (tramp-gvfs-handle-process-file): New defuns.
21149         (tramp-synce-list-devices): Simplify check for existence of property.
21151 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
21153         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21155 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
21157         * language/korean.el (set-language-info-alist): Add korean-cp949,
21158         cp949 to spec.
21160 2009-07-01  Kenichi Handa  <handa@m17n.org>
21162         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21164         * international/encoded-kb.el: Deleted.
21166         * international/mule.el (set-keyboard-coding-system): Perform the
21167         necessary setup here instead of calling encoded-kbd-setup-display.
21169 2009-07-01  Glenn Morris  <rgm@gnu.org>
21171         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21173 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
21175         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
21177 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
21179         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21180         Handle also the 'rename case, when setting file modes.  (Bug#3712)
21181         (tramp-default-file-modes): Remove execute permissions.
21183         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21184         (top): Add a default for "synce" in `tramp-default-user-alist'.
21185         Add completion function for "synce" method.
21186         (tramp-hal-service, tramp-hal-path-manager)
21187         (tramp-hal-interface-manager, tramp-hal-interface-device):
21188         New defconst.
21189         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21190         (tramp-synce-list-devices, tramp-synce-parse-device-names):
21191         New defuns.
21193         * net/trampver.el: Update release number.
21195 2009-06-30  Kenichi Handa  <handa@m17n.org>
21197         * international/fontset.el (setup-default-fontset): Add CJK fonts
21198         for symbols and the other miscellaneous characters.
21200         * language/korea-util.el (setup-korean-environment-internal):
21201         Make char-width-table suitable for Korean environments.
21202         (exit-korean-environment): Cancel above.
21204         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21205         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21206         setup-function to make char-width-table suitable for respective
21207         environments, and an exit-function to cancel that.
21209         * language/japan-util.el (setup-japanese-environment-internal):
21210         Call use-cjk-char-width-table with arg `ja_JP'.
21212         * international/characters.el (cjk-char-width-table): Delete it.
21213         (cjk-char-width-table-list): New variable.
21214         (use-cjk-char-width-table): New arg local-name.
21215         (use-default-char-width-table): Fix for the case that Emacs is
21216         already using the default char-width-table.
21218 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
21220         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21221         modes mandatory.  (Bug#3712)
21223 2009-06-29  Alan Mackenzie  <acm@muc.de>
21225         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21226         correction between the visible width of TABs and their number of bytes.
21228 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
21230         * server.el (server-buffer-done): Prevent kill-buffer from
21231         prompting by clearing the buffer modification flag (Bug#3696).
21233 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
21235         * progmodes/verilog-mode.el (verilog-beg-of-statement)
21236         (verilog-endcomment-reason-re): Support unique case and priority case.
21237         (verilog-basic-complete-re): Support localparam lineup.
21238         (verilog-beg-of-statement-1): Fix for robustness, unique case.
21239         (verilog-set-auto-endcomments): Fix for unique case, always_comb
21240         commenting.
21241         (verilog-leap-to-case-head): Now support *nested* unique &
21242         priority case statements.
21243         (verilog-auto-lineup): Make just declarations the default (as it
21244         had been).
21245         (verilog-leap-to-case-head): Support priority/unique case statements.
21246         (verilog-auto-lineup): Rework to give users radio buttons to
21247         select the various styles of automatic lineup.
21248         (verilog-error-regexp-alist): Rework to support the XEmacs style
21249         of error regular expressions from compilers, lint tools &
21250         simulators.  Note that GNU Emacs has made it impossible for a mode
21251         to load such things.
21252         (electric-verilog-terminate-line, verilog-indent-declaration)
21253         (verilog-auto-wiure): Rework for radio button selection of
21254         auto-lineup selection of specification of auto lineup.
21255         (verilog-beg-of-statement-1): Redesign to support proper operation
21256         in additional code, based on testing with auto-lineup.
21257         (verilog-calculate-indent, assignments & declarations)
21258         (verilog-backward-token): Enhance to support auto-lineup of
21259         assignments & declarations.
21260         (verilog-in-directive-p, verilog-at-struct-p): New function for
21261         easy test of whether we are.
21262         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21263         to support safe execution at almost anyline.
21264         (verilog-calc-1): Properly support indenting deep inside generate
21265         blocks.
21266         (verilog-init-font): Remove definition & use of verilog-init-font,
21267         as it is redundant with font-lock-defaults.
21268         (verilog-mode): Alter the definition of verilog-font-lock-defaults
21269         to avoid circular calls if syntax-ppss is a function (as is the
21270         case now in 22.x GNU Emacs) as that function would sometimes call
21271         itself, leading to (nearly) infinite recursion.
21272         (verilog-ovm-begin-re, verilog-ovm-end-re)
21273         (verilog-ovm-statement-re, verilog-leap-to-head)
21274         (verilog-backward-token): Add support for OVM macros.  Some are
21275         complete statements, and others open and close scopes like begin
21276         and end.
21277         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21278         (verilog-defun-level-generate-only-re): Really fix the defun-list
21279         compilation issue.
21280         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21281         coverpoint, constraint and cross statements.
21282         (verilog-defun-level-list, verilog-generate-defun-level-list)
21283         (verilog-all-defun-level-list): Redo these specifications - it is
21284         too hard to support eval-when compile aggregation of lists also
21285         built at when-compile time.
21286         (verilog-defun-level-list): Place defconsts of variables used in
21287         building regular expressions which are built in eval-when-compile
21288         bodies in the same eval-when-compile body to facilitate compile
21289         without load.
21290         (verilog-beg-block-re-ordered): Support indenting
21291         virtual/protected tasks and functions.
21292         (verilog-defun-level-list, verilog-in-generate-region-p)
21293         (verilog-backward-ws&directives, verilog-calc-1): Speed up
21294         indentation of some module items (generate items).
21295         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21296         across virtual/protected tasks and functions.
21298 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
21300         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21301         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
21302         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21303         in concatenations.  Reported by Yishay Belkind.
21304         (verilog-auto-ascii-enum): Support one-hot state machines in
21305         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
21306         (verilog-auto-inst, verilog-auto-inst-port): Include interface
21307         modport in AUTOINST and add vl-modport for users.
21308         Reported by David Rogoff.
21309         (verilog-auto-inout-module, verilog-auto-inst)
21310         (verilog-decls-get-interfaces, verilog-insert-definition)
21311         (verilog-insert-one-definition, verilog-read-decls)
21312         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21313         (verilog-sig-modport, verilog-signals-combine-bus)
21314         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21315         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21316         Suggested by David Rogoff.
21317         (verilog-repair-open-comma): Fix non-insertion of comma when
21318         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
21319         (verilog-make-width-expression): Simplify [A-1:0] expression
21320         widths to just {A{1'b0}}.
21321         (verilog-mode): Cleanup checkdoc warnings.
21322         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21323         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21324         inputs/outputs or data type.  Suggested by Vasu Kandadi.
21325         (next-error-last-buffer): Fix byte-compiler warning.
21326         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21327         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21328         or shell command text during AUTO expansion.  Suggested by Tad Truex.
21329         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21330         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21331         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21332         in AUTOINOUT.  Reported by Matthew Lovell.
21333         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21334         causing use of <= assignments.  Reported by Alex Reed.
21335         (verilog-read-decls): Fix triand, trior, wand, wor to be
21336         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
21337         (verilog-extended-complete-re): Support import "DPI-C" functions.
21338         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21339         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
21340         (verilog-insert-date, verilog-insert-year)
21341         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21342         Windows systems.  Reported by Michael Potts.
21343         (verilog-read-module-name): Fix AUTOINST when the child module
21344         declaration's name is a tick define.  Reported by Elliot Mednick.
21345         (verilog-read-decls): Fix V2K parameter bit subscripts getting
21346         passed to next parameter's definition.  Reported by Bruce T.
21347         (verilog-read-decls): Fix detecting "parameter int" when using
21348         AUTOINSTPARAM.  Reported by Bruce T.
21349         (verilog-goto-defun): Fix goto not finding modules unless first
21350         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
21351         (verilog-mode): Expand -f flag arguments on entry to mode so
21352         verilog-goto-defun will work.  Reported by Lawrence Butcher.
21353         (verilog-getopt): Expand environment variables in -f file
21354         arguments.  Suggested by Lawrence Butcher.
21355         (verilog-set-define): Fix "Symbol's value as variable is void"
21356         when reading enumerations.
21357         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21358         Suggested by Stephen Peltan.
21359         (verilog-read-defines): Fix reading of enumerations in include
21360         files.  Reported by Steve Peltan.
21362 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21364         * files.el (trash-directory): Fix defcustom type.
21366 2009-06-28  Juri Linkov  <juri@jurta.org>
21368         * help-fns.el (describe-function-1): Correctly locate adviced
21369         functions in hyperlink (Bug#2438).
21371 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
21373         * files.el (trash-directory): Change default to nil.
21374         (move-file-to-trash): If trash-directory is nil and
21375         system-move-file-to-trash is unbound, perform freedesktop-style
21376         trashing.
21378 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21380         * files.el (move-file-to-trash): Add freedesktop trash
21381         support (Bug#973).
21383 2009-06-28  Glenn Morris  <rgm@gnu.org>
21385         * autorevert.el (global-auto-revert-non-file-buffers)
21386         (global-auto-revert-mode): Doc fixes.
21388 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
21390         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21392 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
21394         * faces.el (x-handle-named-frame-geometry): Ensure that we have
21395         opened an X connection before calling x-get-resource (Bug#3194).
21397         * play/doctor.el: Remove reference to obsolete website.
21398         (make-doctor-variables): Correct grammar mistake (Bug#2633).
21400 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
21402         Remove find-file-not-found-hook VC method.  (Bug#2757)
21403         * vc-hooks.el (vc-file-not-found-hook)
21404         (vc-default-find-file-not-found-hook): Remove functions.
21405         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21406         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21407         * vc.el:
21408         * vc-hg.el:
21409         * vc-git.el: Do not mention find-file-not-found-hook VC method.
21411 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
21413         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21414         compatibility function for `looking-back'.
21416         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21417         Use `ispell-looking-back'.
21419 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
21421         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21422         rather than `filename'.
21424 2009-06-23  Miles Bader  <miles@gnu.org>
21426         * face-remap.el (text-scale-set): New function.
21428 2009-06-23  Glenn Morris  <rgm@gnu.org>
21430         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21432         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21434         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21436         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21438         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21439         Simplify Persian conditionals.
21441         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21442         variable `filename'.
21444         * comint.el (comint-insert-input): Doc fix.
21446         * Makefile.in (ELCFILES): Fix typo in previous change.
21448 2009-06-23  Miles Bader  <miles@gnu.org>
21450         * cus-start.el: Add entry for `recenter-redisplay'.
21452 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21454         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21455         Add an optional argument for the backend, use it instead of
21456         calling vc-backend.
21457         (vc-mode-line): Add an optional argument for the backend.
21458         Pass the backend to vc-state and vc-working-revision.  Move code for
21459         special handling for vc-state being a buffer to ...
21461         * vc-rcs.el (vc-rcs-find-file-hook):
21462         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
21464         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21465         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21466         vc-stay-local-p and vc-mode-line calls.
21468         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21469         (vc-cvs-diff, vc-cvs-annotate-command)
21470         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21471         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21472         vc-mode-line calls.
21474         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21475         direct comparison.
21476         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21477         backend when calling vc-mode-line.
21478         (vc-register): Do not create a closure for calling the vc register
21479         function, call it directly.
21481 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21483         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21484         to make it obvious item can be clicked.
21486         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21488 2009-06-23  Kenichi Handa  <handa@m17n.org>
21490         * language/korea-util.el (korean-key-bindings): Change the binding
21491         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
21492         same command.
21494 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
21496         Sync with Tramp 2.1.16.
21498         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21500         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
21501         when a loading of a package fails.  Completion function for rsync
21502         is `tramp-completion-function-alist-ssh'.
21503         (all): Replace all calls of `split-string' and
21504         `tramp-split-string' by `tramp-compat-split-string'.
21505         (tramp-default-method): Use `tramp-compat-process-running-p'.
21506         (tramp-default-proxies-alist): Allow also Lisp forms.
21507         (tramp-remote-path): Add choice "Private Directories".
21508         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21509         (tramp-domain-regexp): Allow also "-", "_" and ".".
21510         (tramp-end-of-output): Remove newlines, and add "$" at the end.
21511         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21512         (tramp-debug-message): Insert header line in debug buffer.
21513         (tramp-handle-directory-files-and-attributes-with-stat):
21514         Care about filenames with spaces, or starting with "-".
21515         (tramp-handle-dired-uncache): New defun.
21516         (tramp-handle-insert-directory): Don't flush the directory from
21517         cache, this is handled by `dired-uncache' now.
21518         (tramp-handle-insert-file-contents): Improve error handling.
21519         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21520         Quote `tramp-end-of-output'.
21521         (tramp-action-password): Improve trace message.
21522         (tramp-check-for-regexp): Both echoes must be present, before removing.
21523         (tramp-open-connection-setup-interactive-shell): Trace coding system.
21524         (tramp-compute-multi-hops): Eval cons cells of
21525         `tramp-default-proxies-alist'.
21526         (tramp-maybe-open-connection): Use the same command pattern for
21527         first hop and further hops.
21528         (tramp-wait-for-output): Remove handling of newlines.
21529         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21530         (tramp-split-string): Remove function.  It is handled in
21531         tramp-compat now.
21533         * net/tramp-cmds.el (tramp-bug):
21534         Recommend `tramp-cleanup-all-connections' in the bug mail.
21536         * net/tramp-compat.el (tramp-compat-split-string)
21537         (tramp-compat-process-running-p): New defuns.
21539         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21540         for `dired-uncache'.
21542         * net/tramp-gvfs.el: New package.
21544         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21545         Add handler for `dired-uncache'.
21546         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21548         * net/trampver.el: Update release number.  Make version check fit
21549         for SXEmacs 22.
21551 2009-06-22  Jim Meyering  <meyering@redhat.com>
21553         Automatically handle .xz suffix (XZ-compressed files), too.
21554         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21555         XZ is the successor to LZMA: <http://tukaani.org/xz/>
21557 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
21558             Nick Roberts  <nickrob@snap.net.nz>
21560         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21561         repository (http://sphinx.net.ru/hg/gdb-mi/).
21563 2009-06-22  Glenn Morris  <rgm@gnu.org>
21565         * files.el (dir-locals-collect-mode-variables): Allow for any number of
21566         `mode' and `eval' entries.  (Bug#3430)
21568         * Makefile.in (ELCFILES): Add fadr.elc.
21570         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21571         differing behavior of \n and ^ in strings.  (Bug#3385)
21573         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21575         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21576         property.
21577         (lisp-indent-function): Make it a defcustom.
21579 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
21581         * progmodes/gdb-ui.el: Replace with ...
21582         * progmodes/gdb-mi.el: ... this file.
21583         * progmodes/gud.el: Modify for gdb-mi.el.
21585 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
21587         * fadr.el: New file.
21589 See ChangeLog.14 for earlier changes.
21591 ;; Local Variables:
21592 ;; coding: utf-8
21593 ;; End:
21595   Copyright (C) 2009-2011  Free Software Foundation, Inc.
21597   This file is part of GNU Emacs.
21599   GNU Emacs is free software: you can redistribute it and/or modify
21600   it under the terms of the GNU General Public License as published by
21601   the Free Software Foundation, either version 3 of the License, or
21602   (at your option) any later version.
21604   GNU Emacs is distributed in the hope that it will be useful,
21605   but WITHOUT ANY WARRANTY; without even the implied warranty of
21606   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21607   GNU General Public License for more details.
21609   You should have received a copy of the GNU General Public License
21610   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.