* lisp/progmodes/compile.el (compilation-next-error): Check there's
[emacs.git] / lisp / ChangeLog
blobd482991e7c47ba93ba9285a5f892cc074a886b5e
1 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * progmodes/compile.el (compilation-next-error): Check there's
4         a message before using it (bug#7941).
6 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
8         * calc/calc-mtx.el (math-lud-pivot-check): New function.
9         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
10         of potential pivots.
12 2011-01-31  Alan Mackenzie  <acm@muc.de>
14         * progmodes/cc-cmds.el (c-forward-over-illiterals):
15         Continue parsing if we encounter a naked # (Bug#7595).
16         (c-beginning-of-statement): Avoid loop in locating the beginning
17         of a macro.
19 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
21         * files.el (copy-directory): Fix arguments to recursive call.
23 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
25         * files.el (copy-directory): If destination is an existing
26         directory, copy into a subdirectory there.
28 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
30         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
31         files.
33 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
35         * image-dired.el (image-dired-mouse-display-image): No-op if no
36         file is found (Bug#7817).
38         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
40 2011-01-31  Kenichi Handa  <handa@m17n.org>
42         * international/quail.el (quail-keyboard-layout-alist):
43         Remove superfluous SPC for "pc105-uk" (bug#7927).
45 2011-01-31  Glenn Morris  <rgm@gnu.org>
47         * msb.el (msb-menu-bar-update-buffers): Update for changed
48         argument handling of menu-bar-select-frame.  (Bug#7902)
50 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
52         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
53         to the recursion depth (Bug#7722).
55 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
57         * term/ns-win.el (ns-find-file): Expand ns-input-file with
58         command-line-default-directory (Bug#7872).
60 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
62         * progmodes/compile.el (compilation--flush-directory-cache):
63         New function, extracted from compilation--remove-properties.
64         (compilation--remove-properties, compilation--parse-region): Use it.
65         (compilation--previous-directory): Handle one more case.
66         (compilation-enable-debug-messages): Remove.
67         (compilation-parse-errors, compilation--flush-parse): Just remove the
68         left over debug messages.
70 2011-01-31  Sam Steingold  <sds@gnu.org>
72         * progmodes/compile.el (compilation-enable-debug-messages):
73         Add a variable to make the parsing messages introduced in
74         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
75         (compilation-parse-errors, compilation--flush-parse): Use it.
77 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
79         * net/rcirc.el: New customizable nick completion format. (Bug#6314)
80         (rcirc-nick-completion-format): New defcustom.
81         (rcirc-complete): Use it.
83 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
85         * net/rcirc.el: Clean log filenames (Bug#7933).
86         (rcirc-log-write): Use convert-standard-filename.
87         (rcirc-log-filename-function): Documentation updates.
89 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
91         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
92         Check report-emacs-bug-can-use-osx-open and use that if t.
93         (report-emacs-bug-can-use-osx-open): New function.
94         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
95         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
97 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
99         * vc/vc-dispatcher.el (vc-set-async-update): New function for
100         updating Dired or VC-dir buffers after async command completes.
102         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
103         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
105         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
106         completions if it exists.  Use vc-set-async-update.
107         (vc-git-pull): Use vc-set-async-update.
109         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
110         read-shell-command.  Use vc-set-async-update.
111         (vc-hg-merge-branch): Use vc-set-async-update.
113 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
115         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
116         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
117         (Bug#7931).
119 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
121         * progmodes/compile.el: Avoid an N² behavior in grep.
122         (compilation--previous-directory): New fun.
123         (compilation--previous-directory-cache): New var.
124         (compilation--remove-properties): Flush it.
125         (compilation-directory-properties, compilation-error-properties):
126         Use the new fun to speed up looking for the current directory.
128 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
130         * vc/vc-hg.el (vc-hg-history): New var.
131         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
132         (vc-hg-merge-branch): New function.
134         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
135         the other way around.
137         * vc/vc-git.el (vc-git-branches, vc-git-pull)
138         (vc-git-merge-branch): New functions.
139         (vc-git-history): New var.
141 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
143         * vc/vc-dispatcher.el (vc-do-async-command): New function.
145         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
146         vc-do-async-command.
148         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
149         Callers changed.
151 2011-01-28  Leo  <sdl.web@gmail.com>
153         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
154         highlighting to the "this function is advised" message.
156         * help-mode.el (help-mode-finish): Apply highlighting here, to
157         avoid clobbering by substitute-command-keys (Bug#6304).
159 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
161         * woman.el (woman0-roff-buffer): Process roff escape sequences
162         occurring prior to the first request (Bug#7843).
164 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
166         * progmodes/compile.el: Don't use font-lock any more.
167         (compilation-error-regexp-alist-alist): Change handling of makepp
168         so it preserves the warning/error distinction on subsequent files.
169         Simplify various rules.
170         (compilation-directory-properties): Use font-lock-face.
171         Add a compilation-message property.
172         (compilation-internal-error-properties): Use font-lock-face.
173         Don't set the compilation-debug property here.
174         (compilation--put-prop, compilation--remove-properties)
175         (compilation--parse-region, compilation--ensure-parse)
176         (compilation--ensure-parse): New functions.
177         (compilation-parse-errors): New function, largely inspired of
178         compilation-mode-font-lock-keywords.  Set compilation-debug here.
179         (compilation--parsed): New var.
180         (compilation--flush-parse): Use compilation--ensure-parse.
181         (compilation-start): Don't call font-lock.
182         (compilation-turn-on-font-lock): Remove.
183         (compilation-setup): Don't set font-lock-extra-managed-props not change
184         other font-lock settings, other than keywords.
185         Don't activate font-lock-mode.
186         Set change-major-mode-hook and before-change-functions.
187         (compilation--unsetup): Remove properties and hooks.
188         (compilation-next-single-property-change): New function.
189         (compilation-next-error): Use it to parse when needed.
190         (compile-goto-error): Parse buffer as needed.
191         (compilation--compat-error-properties): Don't need a dummy `face'
192         property any more.
194 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
196         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
197         (compilation-process-setup-function): Fix docstring's false promises.
198         (compilation-error-regexp-alist-alist): Catch omake's continuous
199         recompilation message and avoid reuse of old markers.
200         (compilation-parse-errors-function): Declare obsolete.
201         (compilation-buffer-modtime): Remove.
202         (compilation--make-cdrloc, compilation--loc->col)
203         (compilation--loc->line, compilation--loc->file-struct)
204         (compilation--loc->marker, compilation--loc->visited)
205         (compilation--make-file-struct, compilation--file-struct->file-spec)
206         (compilation--file-struct->formats)
207         (compilation--file-struct->loc-tree): New macros.  Use them.
208         (compilation--message): New defstruct.  Use them.
209         (compilation-next-error-function): Don't mess with timestamps to try
210         and guess when to reparse.
212 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
214         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
215         (tex-old-error-file-name): New function,
216         extracted from tex-compilation-parse-errors.
217         (tex-compilation-parse-errors): Remove.
218         (tex-error-regexp-alist): New var.
219         (tex-shell): Use it to avoid compilation-parse-errors-function.
221         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
222         (grep-mode-font-lock-keywords): Remove regexp that seems like
223         a left-over from before we used compile.el.
224         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
225         modifying the buffer within with-silent-modifications.
227         * progmodes/compile.el: Cleanup text-properties namespace by using
228         `compilation-message' instead of `message', `compilation-directory'
229         instead of `directory', and `compilation-debug' instead of `debug'.
230         (compilation-last-buffer, compilation-parsing-end)
231         (compilation-error-list, compilation-old-error-list): Move to the
232         compatibility part of the code.
233         (compilation-error-properties): If `file' is a function, let it return
234         a file name.
235         (compilation-mode-font-lock-keywords): Be more conservative with the
236         omake "^ *" pattern prefix, to try and minimize the risk of
237         pathologically slow regexp matching.
238         (compilation-start): Use inhibit-read-only.
239         (compilation--unsetup): New function.
240         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
241         (compilation-filter): Minor tweaks.
242         (compilation-next-error-function): Try and avoid abusing variables.
243         (compilation--flush-file-structure): New fun.
244         (compilation-fake-loc): Use it to improve behavior when file is reused.
245         (debug-ignored-errors): Add "Moved past last ...".
246         (compilation--compat-error-properties)
247         (compilation--compat-parse-errors): Rename by doubling the "-".
249         Port features from the previous prolog.el to the new one.
250         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
251         (prolog-program-name, prolog-program-switches, prolog-consult-string)
252         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
253         variable and use a function to compute the value dynamically.
254         (prolog-prompt-regexp): Add regexp for GNU Prolog.
255         (prolog-continued-prompt-regexp): Remove, unused.
256         (prolog-find-value-by-system): Try and use the value of prolog-system
257         in the *prolog* buffer if it helps.
258         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
259         (prolog-zip-on): ..and check prolog-system and version here instead.
260         (prolog-inferior-self-insert-command): New command.
261         (prolog-inferior-mode-map): Use it.
262         (prolog-inferior-error-regexp-alist): New var.
263         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
264         (prolog-input-filter): Use derived-mode-p.
265         (prolog-inferior-guess-flavor): New function.
266         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
267         make-comint to avoid running comint-mode twice.
268         (prolog-inferior-buffer): New fun.
269         (prolog-old-process-region, prolog-old-process-file):
270         Don't call prolog-bsts here...
271         (prolog-build-prolog-command): ...do it here instead.
272         (prolog-old-process-region, prolog-old-process-file):
273         Use compilation-fake-loc and compilation-forget-errors.
274         (prolog-consult-compile-region): Use bolp.
276 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
278         * image-mode.el (image-display-size): Doc fix (Bug#7820).
280 2011-01-27  Sam Steingold  <sds@gnu.org>
282         * midnight.el (clean-buffer-list-kill-never-buffer-names):
283         Remove "*server*" which is never created by emacs server.
285 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
287         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
288         there are some diff switches.
290 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
292         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
293         Copy change made to ruby-font-lock-syntactic-keywords.
295         * htmlfontify.el: Make it obey the font-lock-face text property.
296         Miscellaneous cleanup such as:
297         - Don't hide expressions after a closing paren.
298         - Move initial setq into let.
299         - Hoist common parts out of ifs.
300         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
301         (hfy-face-at): Use get-text-property instead.
302         (hfy-prop-invisible-p): Use invisible-p if available.
303         (htmlfontify-manual): Use \\[...].
304         (hfy-html-quote-regex): Use [...].
305         (hfy-combined-face-spec): Simplify.
306         (hfy-compile-face-map): Don't presume point-min==1.
307         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
308         match end of string.
309         (hfy-text-p): η-reduce.
310         (hfy-tags-for-file): Receive cache-hash directly.
311         (hfy-mark-tag-names): Adjust call.
313 2011-01-27  Glenn Morris  <rgm@gnu.org>
315         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
316         (msb-after-load-hook): Remove eval-after-load wackiness.
318 2011-01-25  Sam Steingold  <sds@gnu.org>
320         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
321         literal "diff" (important for windows-nt).
323 2011-01-25  Glenn Morris  <rgm@gnu.org>
325         * emacs-lisp/copyright.el (copyright-at-end-flag)
326         (copyright-names-regexp): Add safety properties.
327         (copyright-year-ranges): New option.
328         (copyright-find-end): New function, split from copyright-update-year.
329         (copyright-update-year): Use copyright-find-end.
330         (copyright-fix-years): Optionally, convert years to ranges.
331         Handle years continued over comment lines.
332         Do not mess with the fill-prefix.
333         Do not call copyright-update.
334         (copyright-update-directory): Optionally, fix years rather than update.
335         Skip directories.  Find files with only safe local vars.
337 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
339         * files.el (file-name-non-special): Only change buffer-file-name after
340         insert-file-contents if it's `visit'ing the file (bug#7854).
342 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
344         * dired.el (dired-revert): Doc fix (Bug#7758).
346         * simple.el (line-move-visual): Doc fix (Bug#7594).
348 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
350         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
351         here-doc which ends with an underscore.
352         (ruby-mode-set-encoding): Skip shebang line always.
353         (ruby-mode-map): Bind C-c C-c to comment-region.
354         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
355         (ruby-forward-sexp): Stop after literal hash key labels.
356         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
357         bracket.
359 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
361         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
362         the correct buffer (Bug#7650).
364 2011-01-25  Glenn Morris  <rgm@gnu.org>
366         * comint.el (comint-mode): Doc fix.  (Bug#7897)
368         * simple.el (do-auto-fill): Give it a doc string.
370         * button.el (make-text-button): Doc fix.  (See bug#7881)
372 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
374         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
375         Don't move backward, so as not to fall in an inf-loop (bug#7736).
377         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
378         Handle ?" and friends differently (e.g. don't use backrefs).
380 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
382         * calc/calc.el (calc-default-power-reference-level)
383         (calc-default-field-reference-level): New variables.
384         * calc/calc-units.el (math-standard-units):  Add dB and Np.
385         (math-logunits): New variable.
386         (math-extract-logunits, math-logcombine, calcFunc-luplus)
387         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
388         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
389         New functions.
390         (math-find-base-units-rec): Add entry for ln(10).
391         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
392         (calc-ul-prefix-help): New function.
393         * calc/calc-ext.el (calc-init-extensions): Autoload new units
394         functions. Add keybindings for new units functions.
396 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
398         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
399         rcirc buffers.  (Bug#4940)
401 2011-01-22  Glenn Morris  <rgm@gnu.org>
403         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
404         split out from copyright-update-year.
405         (copyright-update): Don't mess with the GPL version if we don't own the
406         copyright.  Update license regexp, and remove no longer needed
407         Esperanto stuff.
408         (copyright-fix-years): Use copyright-find-copyright.
410 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
412         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
414 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
416         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
417         (lm): Rename to landmark.
418         (lm-test-run): Rename to landmark-test-run.
420 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
422         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
423         "Case sensitive" menu item.
425 2011-01-22  Roland McGrath  <roland@frob.com>
427         * comint.el (comint-replace-by-expanded-history-before-point): Fix
428         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
430 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
432         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
434 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
436         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
437         Assume foo(bar) is a manpage reference rather than some unquoted
438         symbol (bug#7705).
440 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
442         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
443         Suggested by Flo <sensorflo@gmail.com>.
445 2011-01-22  Glenn Morris  <rgm@gnu.org>
447         * progmodes/compile.el (compilation-error-regexp-alist):
448         Fix custom type.  (Bug#7812)
450 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
452         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
453         allout-number-siblings, in keeping with what obtained due to
454         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
455         (prefixed) ?i.
456         (allout-before-change-handler): Better expose spots affected by
457         undo.
459 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
461         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
463 2011-01-22  Phil Hagelberg  <phil@evri.com>
465         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
466         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
467         (pcmpl-ssh-config-hosts): New function.
468         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
469         pcmpl-ssh-known-hosts.
471 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
473         * calc/calc-undo.el (calc-undo): Autoload it.
474         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
475         and autoload for `calc-undo'.
476         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
477         * calc/calc-prog.el:
478         * calc/calc-graph.el:
479         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
481 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
483         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
484         keybindings to `calc-undo'.
486 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
488         Don't mess with *temp*.
489         * obsolete/spell.el: Move from textmodes/spell.el.
490         (spell-string):
491         * term.el (term-read-input-ring):
492         * startup.el (display-startup-echo-area-message):
493         * progmodes/antlr-mode.el (antlr-directory-dependencies):
494         * comint.el (comint-read-input-ring): Use with-temp-buffer.
495         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
496         point-min==1.
498 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
500         * allout.el: (allout-institute-keymap): Use fset instead of
501         reapplying defalias.
503         (allout-hotspot-key-handler): Check for non-control-modified
504         bindings for hotspot characters if there are no control-modified
505         versions.
507         * allout.el: Summary - migrate to defining allout mode using
508         define-minor-mode instead of defun.  Significantly clean-up
509         internal keymap provisions, refactoring and, in the process,
510         removing a lot of accumulated cruft.
512         allout-mode-map is now a keymap by virtue of being a defalias to
513         allout-mode-map-value, which contains the actual keymap structure.
515         (allout-mode): Use define-minor-mode rather than defun.
516         Remove now-unnecessary minor-mode setup activities from the body.
517         Specify :keymap as allout-mode-map so the minor-mode-map-alist
518         entry will be '(allout-mode . allout-mode-map) - see
519         allout-mode-map-value, below.  Adjust docstring to track changes.
520         (allout-minor-mode): Remove this defalias, now that we're using
521         define-minor-mode.
522         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
523         keymap is allout-mode-map-value, via defalias.
524         (allout-mode-map-value): The variable holding the actual mode
525         keymap structure, by virtue of defalias from allout-mode-map.
526         (allout-compose-and-institute-keymap): Rename from
527         allout-bind-keys, and including the binding-composition
528         functionality of the former produce-allout-mode-map and
529         allout-setup-mode-map.
530         (allout-institute-keymap): Take over the "setup" part of the former
531         allout-setup-mode-map.  Reassign allout-mode-map-value value and
532         update the defalias.
533         (allout-command-prefix) (allout-prefixed-keybindings)
534         (allout-unprefixed-keybindings):
535         Use allout-compose-and-institute-keymap to process the bindings.
536         (allout-unprefixed-keybindings): Remove extraneous '?' question
537         marks.
538         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
539         user can customize if they want to use that binding.
540         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
541         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
542         elided that, previously, instead of the one for \C-h.)
543         (allout-hotspot-key-handler): Remove attempt to resolve the key
544         through the literal key-string lookup on allout-keybindings-list.
545         That probably hasn't worked for a Long Time, and removal of
546         allout-keybindings-list further simplifies the keybindings
547         situation.
548         (allout-pre-command-business): Use allout-mode-map-value instead
549         of allout-mode-map.
550         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
551         the bindings if they want to use a keybinding having a trailing
552         \C-h.  No deprecation needed since this feature was never in a
553         release.
554         (allout-keybindings-list): Remove.  It's not been useful for a
555         while.  (See allout-hotspot-key-handler changes, above.)
556         (produce-allout-mode-map): Remove.  Consolidate into
557         allout-compose-and-institute-keymap.
558         (allout-mode-map-adjustments): Remove.  No longer necessary with
559         removal of allout-preempt-trailing-ctrl-h.
560         (allout-setup-mode-map): Remove.  Consolidate into
561         allout-compose-and-institute-keymap and allout-institute-keymap.
563 2011-01-20  Glenn Morris  <rgm@gnu.org>
565         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
567         * simple.el (read-expression-history): Remove, it's in minibuf.c.
569 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
571         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
573         * files.el (find-alternate-file, basic-save-buffer)
574         (basic-save-buffer-2, revert-buffer, recover-file)
575         (kill-buffer-ask, abort-if-file-too-large)
576         (set-visited-file-name, write-file, backup-buffer)
577         (basic-save-buffer, save-some-buffers):
578         * dired-aux.el (dired-compress-file): Callers changed.
580 2011-01-19  Glenn Morris  <rgm@gnu.org>
582         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
583         Also check the property status.  (Bug#7861)
585 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
587         * net/tramp.el (tramp-debug-message): Extend function exclude
588         list.  Use `regexp-opt'.
590 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
592         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
593         highlighting doesn't spill over subsequent lines.
595         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
596         keymap expression.  Improve docstring.
598         * electric.el (electric-indent-post-self-insert-function):
599         Don't auto-indent for indent-to-left-margin, it's too often
600         counter-productive.
602 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
604         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
605         spaces if the frame was resized, so that the full visible buffer
606         serves as canvas for strokes.
608 2011-01-16  Glenn Morris  <rgm@gnu.org>
610         * info-xref.el (info-xref-docstrings): Replace cl function.
611         Also skip directories.
613 2011-01-16  Kevin Ryde  <user42@zip.com.au>
615         * info-xref.el: Version 3.
616         (info-xref-check, info-xref-check-all): Move commentary details
617         into docstrings for better visibility.
618         Use compilation-mode for the results buffer.
619         (info-xref-output, info-xref-output-error, info-xref-with-output)
620         (info-xref-filename, info-xref-in-progress):
621         New internals for this.
622         (info-xref-check-list, info-xref-check-buffer)
623         (info-xref-check-all-custom): Use those.
624         (info-xref-output-buffer): Rename from info-xref-results-buffer.
625         (info-xref-output-heading): Rename from info-xref-filename-heading.
626         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
627         (info-xref-filename-heading): Move to output managing section.
628         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
629         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
630         (info-xref-subfile-p): Move to generic section with those two.
631         (info-xref-check-node): New function split from
632         info-xref-check-buffer, shared by info-xref-docstrings.
633         (info-xref-goto-node-p): Move to a checking section with that func.
634         (info-xref-unavail): New counter.
635         (info-xref-check-node): Use it.
636         (info-xref-with-output): Show count of unavailables at end of output.
637         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
638         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
639         (info-xref-check-all-custom): Fix quietening viper-mode and
640         gnus-registry-install -- use setq not let so as not to unbind
641         after load.
643 2011-01-16  Juri Linkov  <juri@jurta.org>
645         * isearch.el (isearch-abort): Don't quit if search has
646         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
648 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
650         * files.el (backup-buffer): Make last-resort backup file in
651         .emacs.d (Bug#6953).
653         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
654         make it with permission 700.
656 2011-01-15  Kenichi Handa  <handa@m17n.org>
658         * mail/rmailmm.el (rmail-mime-insert-header):
659         Set rmail-mime-coding-system to a cons whose car is the last coding
660         system used to decode the header.
661         (rmail-mime-find-header-encoding): New function.
662         (rmail-mime-insert-decoded-text):
663         Override rmail-mime-coding-system if it is a cons.
664         (rmail-show-mime): If only a header part was decoded, find the
665         coding system while ignoring mm-charset-override-alist.
667 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
669         * subr.el (event-start, event-end): Doc fix (Bug#7826).
671 2011-01-15  Kenichi Handa  <handa@m17n.org>
673         * mail/rmailmm.el (rmail-mime-next-item)
674         (rmail-mime-previous-item): Delete them.
675         (rmail-mime-shown-mode): Recursively call for children.
676         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
677         Callers changed.
678         (rmail-mime-raw-mode): Recursively call for children.
679         (rmail-mode-map): Change mapping of tab and backtab to
680         forward-button and backward-button respectively.
681         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
682         button.
683         (rmail-mime-update-tagline): New function.
684         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
685         body display is changed.
686         (rmail-mime-toggle-button): Rename from rmail-mime-image.
687         (rmail-mime-image): Delete this button type.
688         (rmail-mime-toggle): New button type.
689         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
690         body display is changed.  Change the save button label to "Save".
691         Don't process show/hide button here.
692         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
693         the body display is changed.  Unconditionally call
694         rmail-mime-insert for children.
695         (rmail-mime-handle): Update `display' vector of the just inserted
696         entity.
697         (rmail-mime-process): If mail-header-parse-content-type returns
698         nil, use "text/plain" as the fallback type.
699         (rmail-mime-insert): For raw-mode, recursively call
700         rmail-mim-insert for children.
701         (rmail-mime): Handle the case that the current buffer is not rmail
702         buffer (e.g. in summary buffer).
704 2011-01-15  Kenichi Handa  <handa@m17n.org>
706         * mail/rmailmm.el (rmail-mime-next-item)
707         (rmail-mime-previous-item): Skip the body of a non-multipart
708         entity if a tagline is shown.
710 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
712         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
713         (tmm-prompt): Simplify.
714         (tmm-add-prompt): Remove unused var `win'.
716         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
717         to minor mode which used nil accidentally to mean "turn off".
719 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
721         * net/tramp-sh.el (tramp-find-inline-compress)
722         (tramp-get-inline-coding): Quote command after pipe symbol for
723         local calls under W32.  (Bug#6784)
725 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
727         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
728         only when running under W32.
730 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
732         * progmodes/grep.el (grep-compute-defaults): Quote the program
733         file name after the pipe symbol in Grep templates.  (Bug#6784)
734         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
736 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
738         * buff-menu.el (Buffer-menu-buffer-list): New var.
739         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
740         restricted buffer list is not lost on revert (Bug#7749).
742 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
744         * net/ldap.el (ldap-search-internal): Discard stderr output.
746 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
748         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
750 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
752         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
754 2011-01-15  Kenichi Handa  <handa@m17n.org>
756         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
757         part as a plain text.
758         (rmail-mime-process-multipart): Set the default content-type to
759         nil for unknown multipart subtypes (bug#7651).
761 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
763         * hexl.el (hexl-mode-old-*): Remove.
764         (hexl-mode--old-var-vals): New var to replace them.
765         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
766         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
767         Use them to set local vars (bug#7846).
768         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
769         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
770         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
772         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
773         (smerge-resolve--normalize-re): New var.
774         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
775         (smerge-resolve): Use them.
776         * newcomment.el (comment-only-p): New function.
777         (comment-or-uncomment-region): Use it.
779 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
781         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
782         table, get the value before switching to the output buffer.  (Bug#7733)
784 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
786         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
788 2011-01-14  Kim F. Storm  <storm@cua.dk>
790         * emulation/cua-base.el (cua--init-keymaps):
791         Remap exchange-point-and-mark in cua-global-keymap.
793 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
795         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
796         loop keyword.
798 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
800         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
801         Require CL.
802         (easy-menu-create-menu, easy-menu-convert-item-1):
803         Use :label rather than nil for labels.  Use `case'.
804         Add :enable as alias for :active.
805         (easy-menu-binding): Obey :label.
807 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
809         Use run-mode-hooks for major mode hooks (bug#513).
810         * textmodes/reftex-toc.el (reftex-toc-mode-map):
811         Rename from reftex-toc-map.
812         (reftex-toc-mode): Use define-derived-mode.
813         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
814         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
815         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
816         (reftex-select-label-mode, reftex-select-bib-mode):
817         Use define-derived-mode.
818         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
819         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
820         Move init into delcaration.
821         (reftex-index-mode, reftex-index-phrases-mode):
822         Use define-derived-mode.
823         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
824         speedbar-syntax-table.  Move init into declaration.
825         (speedbar-mode-map): Rename from speedbar-key-map.
826         Move init into declaration.
827         (speedbar-file-key-map): Move init into declaration.
828         (speedbar-mode): Use define-derived-mode.
829         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
830         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
831         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
832         (chart-face-list): Move initialization into declaration.
833         (chart-mode): Use define-derived-mode.
834         * calculator.el (calculator-mode-map): Move init into declaration.
835         (calculator-mode): Use define-derived-mode.
837         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
838         work for nested comments.
840         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
841         (prolog-use-prolog-tokenizer-flag): Change default when
842         syntax-propertize can be used.
843         (prolog-syntax-propertize-function): New var.
844         (prolog-mode-variables): Move make-local-variable into `set'.
845         Don't make comment-column local since we don't set it.
846         Set comment-add (as it was in previous prolog.el).  Use dolist.
847         Set syntax-propertize-function.
848         (prolog-mode, prolog-inferior-mode):
849         Call prolog(-inferior)-menu directly, not through the mode-hook.
850         (prolog-buffer-module, prolog-indent-level)
851         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
852         (prolog-comment-limits, prolog-goto-comment-column):
853         Use line-(end|beginning)-position.
854         (prolog-build-prolog-command): Tighten up regexp.
855         (prolog-consult-compile): Move make-local-variable into `set'.
856         (prolog-consult-compile-filter, prolog-goto-next-paren)
857         (prolog-help-on-predicate, prolog-clause-info)
858         (prolog-mark-predicate): Don't let+setq.
859         (prolog-indent-line): Use indent-line-to.
860         Only call prolog-goto-comment-column if necessary.
861         (prolog-indent-level): Use bobp.
862         (prolog-first-pos-on-line): Remove, not used any more.
863         (prolog-in-string-or-comment): Use syntax-ppss if available.
864         (prolog-help-on-predicate): Use read-string.
865         (prolog-goto-predicate-info): Simplify.
866         (prolog-read-predicate): Use `default' rather than `initial'.
867         (prolog-temporary-file): Use make-temp-file to close a security hole.
868         (prolog-toggle-sicstus-sd): New command.
869         (prolog-electric-underscore, prolog-variables-to-anonymous):
870         Use dynamic-scoping as it was meant.
871         (prolog-menu): Move menu definitions to top-level.
872         Use a toggle-button for Sicstus's source debugger.
873         Change "Code" to the more usual "Prolog", and hence change "Prolog"
874         to "System".
875         (prolog-inferior-menu): Reuse prolog-menu's help menu.
876         Move other menu definition to top-level.
878 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
880         * doc-view.el (doc-view-open-text): Use meaningful text buffer
881         name.  Keep original document's directory as default-directory
882         (bug#6446).
883         (doc-view-initiate-display): Fall back to normal mode when
884         doc-view-mode cannot be enabled, also when extracting the document
885         text into a separate buffer (bug#6446).
887         * simple.el (shell-command): Don't error out if shell command
888         buffer contains text with non-nil read-only property when erasing
889         the buffer.
891 2011-01-13  Kim F. Storm  <storm@cua.dk>
893         * ido.el (ido-may-cache-directory): Move "too-big" check later.
894         (ido-next-match, ido-prev-match): Fix stray reordering of matching
895         items when cycling through the matches.
897 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
899         * dired-x.el (dired-omit-verbose): New defcustom that allows
900         disabling the omit messages.
901         (dired-omit-expunge): Use it.
903 2011-01-13  Christian Ohler  <ohler@gnu.org>
905         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
907 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
909         * font-lock.el (font-lock-verbose): Default to nil.
911 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
913         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
914         (compose-mail): New arg RETURN-ACTION.
915         (compose-mail-other-window, compose-mail-other-frame): Likewise.
917         * mail/sendmail.el (mail-return-action): New var.
918         (mail-mode): Make it buffer-local.
919         (mail-bury): Obey it.  Move special Rmail window handling to
920         rmail-mail-return.
921         (mail, mail-setup): New arg RETURN-ACTION.
922         (sendmail-user-agent-compose): Move from simple.el.
924         * mail/rmail.el (rmail-mail-return): New function.
925         (rmail-start-mail): Pass it to compose-mail.
927 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
929         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
930         menus.  Add menu item for customize-themes.
932         * cus-theme.el (customize-themes):
933         * emacs-lisp/package.el (package--list-packages):
934         Use switch-to-buffer.
936 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
938         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
940 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
942         * progmodes/prolog.el: Fix up coding convention and such.
943         (prolog-indent-width): Use the same default as in
944         previous prolog.el rather than tab-width which depends on which buffer
945         is current when the file is loaded.
946         (prolog-electric-newline-flag): Only enable if electric-indent-mode
947         is not available.
948         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
949         (prolog-known-systems): Remove.
950         (prolog-mode-syntax-table, prolog-inferior-mode-map):
951         Move initialization into declaration.
952         (prolog-mode-map): Move initialization into declaration.
953         Remove system-specific mode-map vars, since they referred to the same
954         keymap anyway.
955         (prolog-mode-variables): Obey the user's preference w.r.t
956         adaptive-fill-mode.  Prefer symbol-value to `eval'.
957         (prolog-mode-keybindings-edit): Add compatibility bindings.
958         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
959         (mercury-mode-map): New var.
960         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
961         (prolog-ensure-process, prolog-process-insert-string)
962         (prolog-consult-compile): Use with-current-buffer.
963         (prolog-guess-fill-prefix): Simplify data flow.
964         (prolog-replace-in-string): New function to use instead of
965         replace-in-string.
966         (prolog-enable-sicstus-sd): Don't abuse `eval'.
967         (prolog-uncomment-region): Use `uncomment-region' when available.
968         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
969         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
970         of int-to-char and char-to-int.
971         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
973 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
975         * progmodes/prolog.el: Replace by a whole new file.
977 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
979         * subr.el (eval-after-load): Fix timing for features (bug#7769).
980         (declare-function, undefined, insert-for-yank)
981         (replace-regexp-in-string): Follow checkdoc's recommendations.
983 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
985         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
986         refreshing the diary buffer.
988 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
990         * allout.el: Add 2011 to the file copyright.
991         (allout-encrypt-string): Prevent encryption from adding an extra
992         newline at the end of the topic body.
993         (allout-version): Increment to 2.3.
995 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
997         * net/dbus.el (dbus-unregister-service): Complete doc.
998         Fix call of dbus-error signal.
999         (dbus-register-property): Use `dont-register' keyword.
1001 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1003         * net/dbus.el (dbus-unregister-service): Translate returned
1004         integer into a symbol.
1005         (dbus-register-property): Use `dbus-register-service' to do the
1006         name registration.
1008 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1010         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1011         Suggested by Joakim Verona.
1013         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1015         * wid-edit.el (visibility): Replace :on-image and :off-image
1016         widget properties with :on-glyph and :off-glyph, for consistency
1017         with the `visibility' widget.
1018         (widget-toggle-value-create, widget-visibility-value-create):
1019         Merge into a single function `widget-toggle-value-create'.
1021         * cus-edit.el (custom-variable-value-create, custom-visibility)
1022         (custom-face-edit-value-create, custom-face-value-create):
1023         Replace :on-image and :off-image widget properties with :on-glyph and
1024         :off-glyph, for consistency with the `visibility' widget.
1026 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
1028         * net/ldap.el (ldap-search-internal): Don't use eval.
1030 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1032         * subr.el (read-char-choice): Use read-key.
1034         * custom.el (custom-safe-themes): Rename from
1035         custom-safe-theme-files.  Add :risky tag.
1036         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1037         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
1039 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1041         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
1042         from Search and add a label to Undo.
1044         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1045         inappropriate buttons and adding :vert-only tags.
1047         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1048         removal of Help tool-bar button.  Remove Undo button for space.
1050         * info.el (info-tool-bar-map): Add :vert-only tags.
1052 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
1054         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1055         image backend support.  Either of them is fine.
1057 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
1059         * subr.el (y-or-n-p): Doc fix.
1061         * custom.el (custom-safe-theme-files): New defcustom.
1062         (custom-theme-load-confirm): New function.
1063         (load-theme): Load theme using `load', confirming with
1064         custom-theme-load-confirm if necessary.
1066         * subr.el (read-char-choice): New function, factored out from
1067         dired-query and hack-local-variables-confirm.
1069         * dired-aux.el (dired-query):
1070         * files.el (hack-local-variables-confirm): Use it.
1072         * dired-aux.el (dired-compress-file):
1073         * files.el (abort-if-file-too-large, find-alternate-file)
1074         (set-visited-file-name, write-file, backup-buffer)
1075         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1076         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1077         Use new format string args for y-or-n-p and yes-or-no-p.
1079 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
1081         * progmodes/compile.el (compilation-error-regexp-alist-alist)
1082         [gcc-include]: Tighten file name match, add match for column
1083         number.  (Bug#7806)
1084         [gnu]: Remove unused group.
1086 2011-01-08  Glenn Morris  <rgm@gnu.org>
1088         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1090         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1092 2011-01-07  Sam Steingold  <sds@gnu.org>
1094         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1095         the `explicit-shell-file-name' because that is the
1096         non-interactive shell.
1098 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
1100         * subr.el (y-or-n-p): Accept format string args.
1102 2011-01-07  Glenn Morris  <rgm@gnu.org>
1104         * Makefile.in (EMACSOPT): Add --no-site-lisp.
1106 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
1108         * allout.el (allout-back-to-current-heading): Ensure return to
1109         the visible containing topic, rather than a collapsed one.
1110         (allout-view-change-hook): Remove hook that was deprecated long ago.
1111         (allout-exposure-change-hook): Remove documentation remarks
1112         concerning removed allout-view-change-hook.
1113         (allout-flag-region): Remove invocation of and documentation
1114         remarks concerning allout-view-change-hook.
1116 2011-01-06  Glenn Morris  <rgm@gnu.org>
1118         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1119         (vc-bzr-annotate-extract-revision-at-line):
1120         Handle authors with embedded spaces.  (Bug#7792)
1122 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
1124         * doc-view.el (doc-view-image-width): New variable.
1125         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1126         backend for PNG images, and do dynamic rescaling instead of
1127         reconverting the whole doc.
1129 2011-01-05  Glenn Morris  <rgm@gnu.org>
1131         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1133 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
1135         * allout.el: Reconcile with changes in line movement behavior for
1136         long text lines that cross more than a single physical window
1137         line, ie when truncate-lines is nil.
1138         (allout-next-visible-heading): Provide for change in line-move
1139         behavior on long lines when truncate-lines is nil.  In that case,
1140         line-move can wind up on the same textual line when it moves to
1141         the next window line, and moving to the bullet position after the
1142         move yields zero advancement.  Add logic to detect and compensate
1143         for the lack of progress.
1144         (allout-current-topic-collapsed-p): move-end-of-line respect for
1145         field boundaries is different when operating with body lines
1146         shorter than window width versus ones greater than window width,
1147         which can yield false negatives in this function.  Avoid
1148         difference by applying move-end-of-line while field-text-motion is
1149         inhibited.
1151 2011-01-04  Glenn Morris  <rgm@gnu.org>
1153         * textmodes/rst.el (rst-compile-toolsets):
1154         Add pdf and s5 to option alist.
1156 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1158         * net/dbus.el (dbus-register-property): Add optional parameter
1159         dont-register-service.  Updated docstring accordingly.
1161 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
1163         * textmodes/rst.el (rst-compile-pdf-preview)
1164         (rst-compile-slides-preview): Remove extra line.
1166 2011-01-04  Glenn Morris  <rgm@gnu.org>
1168         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1169         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
1170         default to `prog' without a .py extension.
1171         (rst-compile-pdf-preview, rst-compile-slides-preview):
1172         Use program names from rst-compile-toolsets, rather than hard-coding.
1173         (rst-portable-mark-active-p): Fix presumed typo.
1175 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1177         * term/w32-win.el (dynamic-library-alist): Set up correctly for
1178         libpng versions both before and after 1.4.0.  (Bug#7716)
1180 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1182         * time.el (display-time-mode): Mention display-time-interval in
1183         the doc string.  (Bug#7713)
1185 2011-01-02  Kenichi Handa  <handa@m17n.org>
1187         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1188         condition-case and return an error message string if something
1189         goes wrong.
1190         (rmail-show-mime): Adjust for the above change.  Insert the
1191         header by rmail-mime-insert-header.
1193 2011-01-02  Kenichi Handa  <handa@m17n.org>
1195         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1196         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1197         (rmail-mime-mbox-buffer)
1198         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1199         (rmail-mime-entity): Argument changed.  All codes handling an
1200         entity object are changed.
1201         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1202         the above change.
1203         (rmail-mime-entity-children, rmail-mime-entity-handler)
1204         (rmail-mime-entity-tagline): New functions.
1205         (rmail-mime-message-p): New function.
1206         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1207         (rmail-mime-entity-segment, rmail-mime-next-item)
1208         (rmail-mime-previous-item, rmail-mime-shown-mode)
1209         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1210         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1211         (rmail-mime-insert-tagline, rmail-mime-insert-header):
1212         New functions.
1213         (rmail-mime-text-handler): Call rmail-mime-insert-text.
1214         (rmail-mime-insert-decoded-text): New function.
1215         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1216         (rmail-mime-insert-image): Argument changed.  Caller changed.
1217         (rmail-mime-image): Call rmail-mime-toggle-hidden.
1218         (rmail-mime-set-bulk-data): New funciton.
1219         (rmail-mime-insert-bulk): Argument changed.
1220         (rmail-mime-multipart-handler): Return t.
1221         (rmail-mime-process-multipart): Argument changed.
1222         Handle "multipart/alternative" here.
1223         (rmail-mime-process): Argument changed.
1224         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1225         (rmail-mime-insert): Argument changed.  Handle raw display mode.
1226         (rmail-mime): Argument changed.  Handle toggling of raw display
1227         mode.
1228         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1229         rmail-mime-view-buffer.
1230         (rmail-insert-mime-forwarded-message): Likewise.
1231         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
1233         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1234         non-nil, handle the header in rmail-show-mime-function.
1236 2011-01-02  Leo  <sdl.web@gmail.com>
1238         * help-fns.el (describe-variable): Fix previous change.
1240 2011-01-02  Juri Linkov  <juri@jurta.org>
1242         * isearch.el (isearch-lazy-highlight-error): New variable.
1243         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1244         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
1245         to the current value of `isearch-error' (Bug#7468).
1247 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1249         * help-fns.el (describe-variable): Don't emit trailing whitespace
1250         (Bug#7511).
1252 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1254         * textmodes/rst.el (rst-compile-pdf-preview)
1255         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1257 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
1259         * emulation/edt-mapper.el: Override mapping of function keys so
1260         that the later call to read-key-sequence works.
1262 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1264         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1265         Unix EOLs.  (Bug#7589)
1267 2011-01-02  Leo  <sdl.web@gmail.com>
1269         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1270         if point is not behind eshell-last-output-end (Bug#7585).
1272 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1274         * files.el (file-local-variables-alist):
1275         Make permanent-local (bug#7767).
1277 2011-01-02  Glenn Morris  <rgm@gnu.org>
1279         * version.el (emacs-copyright): Set short copyright year to 2011.
1281 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
1283         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1284         an existing temp buffer.  (Bug#7746)
1286 2011-01-02  Glenn Morris  <rgm@gnu.org>
1288         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1289         multiple addresses.  (Bug#7760)
1291 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
1293         * allout.el (allout-auto-fill): Do not infinitely recurse - use
1294         do-auto-fill if everything points back to allout-auto-fill.
1295         (allout-mode-deactivate-hook): Declare obsolete, in favor of
1296         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1298 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
1300         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1301         and "scpx".
1303 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1305         * doc-view.el (doc-view-set-doc-type): New function refactored
1306         from doc-view-mode.
1307         (doc-view-fallback-mode): New function.
1308         (doc-view-mode): Use it.
1309         (doc-view-mode-maybe): New function that checks if doc-view-mode
1310         can be used and falls back to the next best mode otherwise.
1312         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1313         DVI, OpenDocument, and MS Office files.
1315 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
1317         * emacs-lisp/rx.el (rx-syntax): Fix typo.
1319 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1321         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1322         on a copy of auto-mode-alist, because that deletes with side
1323         effects.
1325 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1327         * doc-view.el (doc-view-mode, doc-view-toggle-display):
1328         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1329         fallback instead of hard coding fundamental mode.
1331 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1333         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1334         Office) files also for searching.
1336 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1338         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1339         Office) files.  Not yet enabled via auto-mode-list.
1340         (doc-view-unoconv-program): New custom variable.
1341         (doc-view-mode-p): Handle new odf document type.
1342         (doc-view-odf->pdf): New conversion function.
1343         (doc-view-convert-current-doc): Call it for odf files.
1344         (doc-view-mode): Recognize newly supported file extensions.
1346 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
1348         * net/tramp.el (tramp-default-method-alist)
1349         (tramp-default-user-alist)
1350         (tramp-local-host-regexp, tramp-prefix-domain-format)
1351         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1353         * net/tramp-ftp.el:
1354         * net/tramp-gvfs.el:
1355         * net/tramp-gw.el:
1356         * net/tramp-imap.el:
1357         * net/tramp-sh.el:
1358         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1359         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1361 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
1363         * saveplace.el (save-place-alist-to-file): Save list sorted and
1364         pretty-printed, so that it is mergeable by line-based text merging,
1365         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1367 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
1369         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1370         (allout-mode): Argument "toggle" => "force".
1371         Refine the docstring.
1372         Remove special provisions for reactivation, besides the 'force'
1373         argument.
1374         Consolidate layout provisions coce directly into the activation
1375         condition branch, now that we've removed those provisions.
1376         (allout-unload-function): Explicitly activate the mode before
1377         deactivating, if it's initially deactivated.
1378         (allout-set-buffer-multibyte): Properly prevent byte-compiler
1379         warnings for version of function used only where
1380         set-buffer-multibyte is unavailable.
1382 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
1384         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1385         are handled by the menu-bar entries.  As before, don't use
1386         :visibile to avoid changing the tool-bar.
1388 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
1390         * net/secrets.el (secrets-delete-alias): New defun.
1392 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
1394         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1395         methods, otherwise ~/.ssh/config would be ignored.
1397 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1399         * emacs-lisp/rx.el: Make it a superset of sregex.
1400         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1401         of args, add `regex' alias.
1402         (rx-info): Add arg to distinguish head and standalone forms.
1403         (rx-check, rx-form): Pass the corresponding arg.
1404         (rx-**): Simplify.
1405         (rx-repeat): Make it work for any number of args.
1406         (rx-syntax): Make it accept syntax chars as is.
1407         * obsolete/sregex.el: Move from emacs-lisp/.
1408         * emacs-lisp/re-builder.el: Remove sregex support.
1409         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1411 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
1413         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1414         PRIMARY first, then the clipboard.  (Bug#7699)
1416 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1418         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1419         print-number-table.
1421 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
1423         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1424         .emacs.elc (Bug#7530).
1426         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1427         image spec (Bug#7480).
1429 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
1431         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1432         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1433         Move from lisp/.
1435 2010-12-20  Leo  <sdl.web@gmail.com>
1437         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1438         always be performed (Bug#7680).
1440 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
1442         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1443         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
1444         mouse-region-match.
1446         * color.el: Move from gnus/.
1448         * vc/diff.el (diff-better-file-name): Function deleted.
1449         abbreviating file names causes problems with shell-quote-argument.
1450         (diff-no-select): Just use expand-file-name.
1452         * tool-bar.el (tool-bar--image-expression): New function.
1453         (tool-bar-local-item, tool-bar--image-exp): Use it.
1454         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1455         Use :enable instead of :visible to avoid changing the tool-bar
1456         configuration unnecessarily.
1458         * info.el (info-tool-bar-map): Add separators.
1460 2010-12-17  Ken Brown  <kbrown@cornell.edu>
1462         * loadup.el: Use version numbers in Cygwin build.
1464 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
1466         * ido.el (ido-file-internal): Ask for confirmation before
1467         overwriting an existing file (Bug#1238).
1469 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
1471         * tool-bar.el (tool-bar-setup): Add separators.
1473         * menu-bar.el (featurep): Use menu-bar-separator.
1475 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
1477         Migrate allout encryption provisions from pgg to epg.
1479         * allout.el (allout-toggle-current-subtree-encryption)
1480         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1481         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
1482         for simpler universal argument interpretation.
1483         (allout-toggle-subtree-encryption):  Adjust docstring to describe
1484         changed encryption provisions.  Change fetch-pass to keymode-cue, for
1485         simpler universal argument interpretation.  Remove provisions for
1486         handling key type and identity - they'll all be within
1487         allout-encrypt-string or epg/epg or even contained all the way in gpg.
1488         (allout-encrypt-string): Include keymode-cue, for optionally prompting
1489         for keypair recipients (universal argument > 1) and, in addition,
1490         associating the specified recipients with the outline (universal
1491         argument > 4) using a file local variable setting for
1492         'epa-file-encrypt-to'.
1493         Require epa, for recipients handling.
1494         Change how regexp filtering elements are named.
1495         Describe the problem with caching of incorrect symmetric-decryption
1496         keys.
1497         Use the epa-passphrase-callback-function, in case the user is using
1498         GnuPG v1.
1499         Support saving of the selected keypair recipients when invoked with a
1500         keymode-cue > 4.
1501         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1502         Require 'epa.
1503         Establish epg-context with armoring and default epg-protocol.
1504         Remove all passphrase cache, verification, and hinting code.
1505         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1506         No longer used, delete.
1507         (allout-mode): Adjust docstring to describe changed encryption
1508         provisions.  Describe the problem with caching of incorrect
1509         symmetric-decryption keys.
1510         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1511         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1512         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1513         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1514         Obsolete, remove.
1516 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
1518         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1519         key selection prompt; make 'silent as default (Bug#7487).
1521 2010-12-16  Leo  <sdl.web@gmail.com>
1523         * eshell/eshell.el (eshell-directory-name):
1524         Use locate-user-emacs-file (Bug#7578).
1526 2010-12-15  Glenn Morris  <rgm@gnu.org>
1528         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1530 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
1531             Scott Evans <gse@antisleep.com>
1533         * rect.el (rectange--default-line-number-format)
1534         (rectangle-number-line-callback): New functions.
1535         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1537 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
1539         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1540         Delete unused variables.
1541         (move-to-column-force): Remove function obsolete since 21.2.
1543 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
1545         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1546         (tramp-handle-insert-file-contents): Do not set permanent-local
1547         property.
1549         * net/tramp-cache.el (tramp-persistency-file-name):
1550         Use `locate-user-emacs-file' if fboundp.
1552         * net/tramp-sh.el (tramp-methods): Add "ksu".
1553         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
1554         method list.
1556 2010-12-14  Glenn Morris  <rgm@gnu.org>
1558         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1559         (find-tag-marker-ring): Declare.
1560         (js-find-symbol): Require etags.
1562         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1563         Require mail-utils.
1564         (mail-alias-file): Don't autoload.  Doc fix.
1565         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1566         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
1567         Mark as obsolete, and risky.
1568         (mail-setup): Simplify.
1570         * mail/mailalias.el (build-mail-aliases): Make it interactive.
1571         * mail/sendmail.el (build-mail-aliases): Update autoload.
1573         * dired.el (dired-trivial-filenames, dired-chown-program)
1574         (dired-auto-revert-buffer): Remove autoload cookies.
1575         * mail/sendmail.el (mail-recover-1): Require 'dired.
1577         * dired.el (dired-subdir-switches, dired-chown-program)
1578         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1579         Make into defcustoms.
1580         (dired-chown-program): Simplify initialization.
1582         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1584 2010-12-13  Romain Francoise  <romain@orebokech.com>
1586         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1588 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1590         * net/netrc.el (netrc-point-at-eol): Remove the unused
1591         netrc-point-at-old and netrc-bound-and-true-p bindings.
1592         (netrc-parse): Cache the netrc contents.
1594 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1596         * subr.el (posn-col-row): Evaluate header-line-format in the
1597         context of the POSITION window's buffer.
1599 2010-12-13  Glenn Morris  <rgm@gnu.org>
1601         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1602         (with-silent-modifications): Doc fixes.
1604 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1606         * net/tramp.el (tramp-action-password, tramp-process-actions):
1607         Revert previous from.  Use `save-restriction'.
1609 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
1611         * calendar/diary-lib.el (diary-list-sexp-entries):
1612         Handle case of no newline at end of file.  (Bug#7536)
1614 2010-12-13  Glenn Morris  <rgm@gnu.org>
1616         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1618 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1620         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1621         (tramp-process-actions): Do not widen.
1623         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1624         Protect buffer-modified value.  (Bug#7557)
1626 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
1628         * log-edit.el (log-edit-changelog-entries):
1629         Regexp quote filename.  (Bug#7505)
1631 2010-12-13  Tom Breton  <tehom@panix.com>
1633         * cus-edit.el (custom-save-all):
1634         Bind print-length and print-level to nil.  (Bug#7581)
1636 2010-12-13  Glenn Morris  <rgm@gnu.org>
1638         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1639         Run hooks to update menu contents.  (Bug#7586)
1641         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1642         file names, for the sake of MS Windows.  (Bug#7588)
1644 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1646         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1647         empty lines without a leading space.
1649 2010-12-13  Leo  <sdl.web@gmail.com>
1651         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1652         while mapping over marks (Bug#6810).
1654 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1656         * image-dired.el (image-dired-db-file)
1657         (image-dired-temp-image-file, image-dired-gallery-dir)
1658         (image-dired-temp-rotate-image-file): Set default values relative
1659         to image-dired-dir (Bug#7518).
1661 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
1663         * format.el (format-decode-run-method): Pass args FROM and TO, not
1664         point-min and point-max, to shell-command-on-region (Bug#7488).
1666 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
1668         * frame.el (blink-cursor-mode): Make default t for ns.
1670 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1672         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1674 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1676         * comint.el (comint-dynamic-list-input-ring)
1677         (comint-dynamic-complete-filename)
1678         (comint-replace-by-expanded-filename)
1679         (comint-dynamic-simple-complete)
1680         (comint-dynamic-list-filename-completions)
1681         (comint-dynamic-list-completions): Doc fix (Bug#7499).
1683         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1684         Doc fix (Bug#7471).
1686 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
1688         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1689         (Bug#7533).
1691 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
1693         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1694         (Bug#7491).
1696 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1698         * files.el (file-relative-name): Handle UNC file names on
1699         DOS/Windows.  (Bug#4674)
1701 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
1703         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1704         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
1705         (epg-context-set-passphrase-callback): Mention that the callback
1706         is not called when used with GnuPG 2.x.
1708 2010-12-13  Glenn Morris  <rgm@gnu.org>
1710         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1711         Ensure ps-footer-font-size-internal is initialized.
1712         Call ps-get-page-dimensions before trying to use ps-font-for-text.
1714 2010-12-13  Kenichi Handa  <handa@m17n.org>
1716         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1717         within condition-case.
1718         (rmail-show-mime): Don't use condition-case.
1719         (rmail-search-mime-message): New function.
1720         (rmail-search-mime-message-function): Set to
1721         rmail-search-mime-message.
1723 2010-12-13  Leo  <sdl.web@gmail.com>
1725         * ido.el (ido-common-initialization): New function.  (bug#3274)
1726         (ido-mode): Use it.
1727         (ido-completing-read): Call it.
1729 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
1731         * bookmark.el (bookmark-name-from-full-record): Rename back to
1732         this original name from `bookmark-name-from-record' reverting part
1733         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1734         As Drew Adams pointed out, there was no reason to cause churn for
1735         third-party callers.
1737 2010-12-12  Alan Mackenzie  <acm@muc.de>
1739         * progmodes/cc-engine.el (c-forward-type): Before scanning a
1740         template arglist, check that the current language supports this.
1742 2010-12-11  Glenn Morris  <rgm@gnu.org>
1744         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1745         state of the file matches.  (Bug#7544)
1746         (vc-bzr-register, vc-bzr-checkin)
1747         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1748         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1750         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1752 2010-12-11  Karel Klíč  <kklic@redhat.com>
1754         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
1756 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1758         Derive from prog-mode, use derived-mode-p, and fix up various
1759         minor style issues in lisp/progmodes.
1761         * progmodes/vhdl-mode.el (vhdl-mode):
1762         * progmodes/verilog-mode.el (verilog-mode):
1763         * progmodes/vera-mode.el (vera-mode):
1764         * progmodes/sql.el (sql-mode):
1765         * progmodes/scheme.el (scheme-mode):
1766         * progmodes/perl-mode.el (perl-mode):
1767         * progmodes/octave-inf.el (inferior-octave-mode):
1768         * progmodes/autoconf.el (autoconf-mode):
1769         * progmodes/m4-mode.el (m4-mode):
1770         * progmodes/inf-lisp.el (inferior-lisp-mode):
1771         * progmodes/idlwave.el (idlwave-mode):
1772         * progmodes/icon.el (icon-mode):
1773         * progmodes/idlw-help.el (idlwave-help-mode):
1774         * progmodes/dcl-mode.el (dcl-mode):
1775         * progmodes/idlw-shell.el (idlwave-shell-mode):
1776         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1777         (ebrowse-member-mode, ebrowse-electric-position-mode):
1778         Use define-derived-mode.
1780         * progmodes/xscheme.el (exit-scheme-interaction-mode)
1781         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1782         (xscheme-debugger-mode-p, xscheme-send-string-1):
1783         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1784         (tcl-load-file, tcl-restart-with-file):
1785         * progmodes/ps-mode.el (ps-run-running):
1786         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1787         * progmodes/js.el (js--get-all-known-symbols):
1788         * progmodes/inf-lisp.el (inferior-lisp-proc):
1789         * progmodes/idlwave.el (idlwave-beginning-of-statement)
1790         (idlwave-template, idlwave-update-buffer-routine-info)
1791         (idlwave-update-current-buffer-info)
1792         (idlwave-get-routine-info-from-buffers, idlwave-choose)
1793         (idlwave-scan-class-info, idlwave-fix-keywords)
1794         (idlwave-list-buffer-load-path-shadows):
1795         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1796         (idlwave-toolbar-remove):
1797         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1798         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1799         (idlwave-shell-menu-def):
1800         * progmodes/idlw-complete-structtag.el
1801         (idlwave-prepare-structure-tag-completion):
1802         * progmodes/gud.el (gud-set-buffer):
1803         * progmodes/f90.el (f90-backslash-not-special):
1804         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1806         * progmodes/xscheme.el (xscheme-start)
1807         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1808         * progmodes/which-func.el (which-function):
1809         * progmodes/vhdl-mode.el (vhdl-set-style):
1810         * progmodes/verilog-mode.el (verilog-set-compile-command)
1811         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1812         (verilog-set-define, verilog-auto-reeval-locals):
1813         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1814         * progmodes/simula.el (simula-mode):
1815         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1816         * progmodes/python.el (python-check, python-mode):
1817         * progmodes/prolog.el (prolog-mode-variables):
1818         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1819         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1820         * progmodes/delphi.el (delphi-mode):
1821         * progmodes/cc-styles.el (c-setup-paragraph-variables):
1822         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1823         (c-font-lock-init): Move make-local-variable to their setq.
1825         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1826         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1827         make-local-hook.
1828         * progmodes/sh-script.el (sh-require-final-newline): Remove.
1829         (sh-set-shell): Don't set require-final-newline since it's already done
1830         by prog-mode.
1831         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1832         since we never set it.
1833         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1834         Use read-string and standard prompt.
1835         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1836         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1837         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1838         (meta-common-mode-map): Rename from meta-mode-map.
1839         Remove C-m binding, which is a user preference, not mode specific.
1840         (meta-common-mode): New major mode; replace meta-common-initialization.
1841         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1842         around with font-lock.
1843         * progmodes/etags.el (select-tags-table-mode):
1844         Derive from special-mode.
1845         * progmodes/octave-mod.el (octave-mode):
1846         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1847         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1848         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1849         Let define-derived-mode do its job.
1850         * progmodes/cpp.el (cpp-edit-mode-map):
1851         Move initialization into declaration.
1852         (cpp-edit-mode): Use define-derived-mode.
1853         (cpp-edit-load): Use derived-mode-p.
1854         * progmodes/mixal-mode.el (mixal-mode):
1855         * progmodes/f90.el (f90-mode):
1856         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1857         require-final-newline since prog-mode does it already.
1858         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1859         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1860         * progmodes/antlr-mode.el: Require cc-mode upfront.
1861         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1862         the declaration.
1863         (antlr-directory-dependencies, antlr-show-makefile-rules):
1864         Use derived-mode-p.
1865         (antlr-language-option): Don't assume point-min==1.
1866         (antlr-mode): Use define-derived-mode.
1867         * progmodes/ada-mode.el: Use derived-mode-p.
1868         (ada-mode): Use define-derived-mode.
1869         Use hack-local-variables-hook.
1871 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1873         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1874         (texinfo-mode): Don't disable adaptive-fill-mode.
1875         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1876         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1877         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1878         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1879         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1880         (texinfo-insert-@quotation, texinfo-insert-@samp)
1881         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1882         (texinfo-insert-@uref): Use define-skeleton.
1883         (texinfo-insert-@-with-arg): Delete.
1885 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
1887         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1888         nil, do quote archive member names.  (Bug#6144)
1890 2010-12-10  Glenn Morris  <rgm@gnu.org>
1892         * files.el (diff-no-select): Declare.
1894         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1895         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1897         * comint.el (comint-input-ring-file-name): Doc fix.
1899 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
1901         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1902         New functions.
1903         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1904         Use them instead of `nil' and `>', respectively.
1905         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1906         instead of `nil'.
1907         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1908         and menu-bar-positive-p instead of `nil' and `>', respectively.
1909         (Bug#1077)
1911 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1913         * whitespace.el (whitespace-newline-mode): Code fix.
1915 2010-12-09  Glenn Morris  <rgm@gnu.org>
1917         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1918         Rename functions without commas, update callers.
1920 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
1922         * whitespace.el (whitespace-cleanup-region):
1923         Clean up spaces before tabs.  (Bug#7582)
1925 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
1927         * bookmark.el: Adjust parameter names and doc strings to resolve
1928         confusion over whether "bookmark" meant a bookmark name or a
1929         bookmark record.  Along the way, shorten one function's name for
1930         similar reasons.  (Issue #7548)
1931         (bookmark-name-from-record): New name for
1932         `bookmark-name-from-full-record'.  All callers changed.
1933         (bookmark-get-bookmark, bookmark-get-bookmark-record)
1934         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1935         (bookmark-get-annotation, bookmark-set-annotation)
1936         (bookmark-get-filename, bookmark-set-filename)
1937         (bookmark-get-position, bookmark-set-position)
1938         (bookmark-get-front-context-string, bookmark-set-front-context-string)
1939         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1940         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1941         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1942         Rename `bookmark' parameter to `bookmark-name-or-record', to
1943         clearly show its role, and shorten or adjust doc strings accordingly.
1944         (bookmark-set-name): Same, and pass the parameter directly to
1945         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1946         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1947         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1948         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1949         and in some cases shorten doc string accordingly.
1950         (bookmark-rename): Change `old' and `new' parameters to `old-name'
1951         and `new-name', and adjust an internal variable to avoid confusion.
1952         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1953         parameter in doc string.
1955 2010-12-08  Glenn Morris  <rgm@gnu.org>
1957         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1958         from gdb's history file.  (Bug#7575)
1960         * mail/emacsbug.el (report-emacs-bug):
1961         Try to handle some other mail clients.
1963 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1965         * files.el (dir-locals-collect-variables): Don't let errors stop us.
1966         Use string-prefix-p.
1967         (file-name-version-regexp): New var.
1968         (file-name-sans-versions):
1969         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1970         (jka-compr-get-compression-info): Use dolist.
1971         (jka-compr-compression-info-list): Don't bother specifying
1972         version/backup regexps.
1974 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
1976         * simple.el (just-one-space): Make argument n default to 1 if
1977         omitted.
1979 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1981         * electric.el (electric-indent-post-self-insert-function):
1982         Delete trailing newlines even if we don't reindent.
1984 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1986         * minibuffer.el (completion-at-point): Remove the `arg'.
1987         * bindings.el (complete-symbol): Move back from minibuffer.el.
1989 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1991         * simple.el (just-one-space): Delete newlines for negative arg.
1993 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1995         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1996         (ansi-color-filter-apply): Simplify.
1997         (ansi-color-apply): Use `font-lock-face' rather than `face'.
1999 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2001         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2003 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
2005         * dired.el (dired-use-ls-dired): Set default to a special
2006         "unspecified" value.
2007         (dired-insert-directory): When called the first time, check
2008         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2010 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
2012         * replace.el: Add "collect" feature to occur.
2013         (occur-collect-regexp-history): New var.
2014         (occur-read-primary-args): Return a replace string for nlines,
2015         if needed.
2016         (occur): Extend the meaning of nlines.
2018 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2020         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2021         (which-func-update-1): Distinguish symbols from strings.
2022         (which-function): Stay within 80 columns.
2024 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2026         * subr.el (with-demoted-errors): Distinguish symbols from strings.
2028         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2029         Improve docstring.
2030         (comment-style): Use comment-styles's docs to describe values.
2032 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
2034         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2035         and ns-show-prefs (Bug#7535).
2037         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2038         bindings (Bug#7535).
2040 2010-12-03  Glenn Morris  <rgm@gnu.org>
2042         * nxml/nxml-mode.el: Require rng-nxml.
2043         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2044         Remove declarations.
2046         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2047         * nxml/rng-nxml.el, nxml/rng-valid.el:
2048         Remove leading `*' from defcustom docs.
2050         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2051         (normal-top-level-add-to-load-path, tty-handle-args):
2052         Convert comments to basic doc-strings.
2054         * net/browse-url.el (browse-url-url-at-point)
2055         (browse-url-default-browser): Remove autoload cookies.
2057         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2058         Remove more undefined cl functions.
2060         * vc/diff.el (diff-sentinel): Make new arguments optional.
2061         * ibuf-ext.el (diff-sentinel): Update declaration.
2063 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
2065         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2066         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2067         (epg-context-set-passphrase-callback): Mention that the callback
2068         is not called when used with GnuPG 2.x.
2070 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
2072         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2073         (tramp-file-name-port): Check also for `tramp-default-port'.
2074         (tramp-get-connection-name): New defun.
2075         (tramp-get-connection-process): Use it.
2076         (tramp-debug-message): Extend function exclude list.
2077         (tramp-drop-volume-letter): Fix doc string.
2079         * net/tramp-cmds.el: Remove solved todo item.
2081         * net/tramp-efs.el:
2082         * net/tramp-ftp.el:
2083         * net/tramp-gvfs.el:
2084         * net/tramp-gw.el:
2085         * net/tramp-imap.el:
2086         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2087         and `tramp-default-user-alist', respectively.
2089         * net/tramp-gw.el (tramp-gw-open-connection):
2090         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2092         * net/tramp-imap.el (tramp-imap-make-iht): Use just
2093         `tramp-file-name-port'.
2095         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2096         and "psftp".  Exchange "%k" marker with options.
2097         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2098         Compute size of link target.
2099         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2100         `tramp-current-*' up due to gateway methods.  Optimze computing of
2101         copy arguments.  Use `tramp-get-connection-name' and
2102         `tramp-get-connection-buffer'.  Improve debug messages.
2103         (tramp-compute-multi-hops): Remove port determination.
2104         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2106         * net/trampver.el: Update release number.
2108 2010-12-02  Glenn Morris  <rgm@gnu.org>
2110         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2111         Avoid infinite loop over windows.  (Bug#7492)
2113         * progmodes/flymake.el (flymake-check-file-limit):
2114         Allow nil to mean "no limit".
2115         (flymake-check-patch-master-file-buffer): Update for above change.
2116         Allow a .tex file-name extension to be optional.
2117         (flymake-master-tex-init): Also match \include statements.
2119 2010-11-30  Sam Steingold  <sds@gnu.org>
2121         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2122         (nxml-parent-document-set): A function to set `nxml-parent-document'.
2123         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2124         (nxml-mode-hook): Remove `defcustom' (auto-defined by
2125         define-derived-mode').
2126         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2127         users who want to call `nxml-parent-document-set'.
2129 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2131         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2132         stand-alone lines, since that is handled by log-edit-match-to-eoh
2133         (Bug#6465).
2135 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
2137         * dired.el (dired-get-filename): Replace backslashes with slashes
2138         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
2139         * locate.el (locate-default-make-command-line): Don't consider
2140         drive letter and root directory part of
2141         `directory-listing-before-filename-regexp'.  (Bug#7308)
2142         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2144 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2146         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2147         of :smie-open/close-alist.
2148         (smie-next-sexp): Make it accept a "start token" as argument.
2149         (smie-indent-keyword): Be careful not to misidentify tokens that span
2150         more than one line, as empty lines.  Add argument `token'.
2152 2010-11-27  Kenichi Handa  <handa@m17n.org>
2154         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2155         multipart subtypes, insert all as usual.
2157         * mail/rmail.el: Require rfc2047.
2159 2010-11-27  Kenichi Handa  <handa@m17n.org>
2161         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2162         (rmail-mime-entity-disposition)
2163         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2164         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2165         (rmail-mime-save): Handle the case that the button's `data' is a
2166         MIME entity.
2167         (rmail-mime-insert-text): New function.
2168         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2169         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2170         (rmail-mime-insert-bulk): New function mostly copied from the old
2171         rmail-mime-bulk-handler.
2172         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2173         (rmail-mime-process-multipart): New function mostly copied from
2174         the old rmail-mime-multipart-handler.
2175         (rmail-mime-show): Just call rmail-mime-process.
2176         (rmail-mime-process): New function mostly copied from the old
2177         rmail-mime-show.
2178         (rmail-mime-insert-multipart, rmail-mime-parse)
2179         (rmail-mime-insert, rmail-show-mime)
2180         (rmail-insert-mime-forwarded-message)
2181         (rmail-insert-mime-resent-message): New functions.
2182         (rmail-insert-mime-forwarded-message-function): Set to
2183         rmail-insert-mime-forwarded-message.
2184         (rmail-insert-mime-resent-message-function): Set to
2185         rmail-insert-mime-resent-message.
2187         * mail/rmailsum.el: Require rfc2047.
2188         (rmail-header-summary): Handle multiline Subject: field.
2189         (rmail-summary-line-decoder): Change the default to
2190         rfc2047-decode-string.
2192         * mail/rmail.el (rmail-enable-mime): Change the default to t.
2193         (rmail-mime-feature): Change the default to `rmailmm'.
2194         (rmail-quit): Delete the specifal code for rmail-enable-mime.
2195         (rmail-display-labels): Likewise.
2196         (rmail-show-message-1): Check rmail-enable-mime, and use
2197         rmail-show-mime-function for a MIME message.  Decode the headers
2198         according to RFC2047.
2200 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2202         * progmodes/which-func.el (which-func-imenu-joiner-function):
2203         Return a string, as expected.
2204         (which-function-mode): Make sure we stop any previous timer before
2205         starting a new one.
2207 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
2209         * net/tramp.el (tramp-default-method-alist)
2210         (tramp-default-user-alist, tramp-default-proxies-alist):
2211         Adapt custom options type.  (Bug#7445)
2213 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2215         * progmodes/python.el: Add Ipython support (Bug#5390).
2216         (python-shell-prompt-alist)
2217         (python-shell-continuation-prompt-alist): New options.
2218         (python--set-prompt-regexp): New function.
2219         (inferior-python-mode, run-python, python-shell):
2220         Require ansi-color.  Use python--set-prompt-regexp to set the comint
2221         prompt based on the Python interpreter.
2222         (python--prompt-regexp): New var.
2223         (python-check-comint-prompt)
2224         (python-comint-output-filter-function): Use it.
2225         (run-python): Use a pipe (Bug#5694).
2227 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2229         * progmodes/python.el (run-python): Doc fix.
2230         (python-keep-current-directory-in-path): New var (Bug#7454).
2232 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2234         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2235         Prompt user before actually printing.
2237 2010-11-27  Glenn Morris  <rgm@gnu.org>
2239         * startup.el (package-enable-at-startup, package-initialize):
2240         Remove unnecessary declarations.
2242 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
2244         * international/characters.el (glyphless-char-display-control):
2245         Exclude newline and TAB from the c0-control group.
2247 2010-11-27  Glenn Morris  <rgm@gnu.org>
2249         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2250         (expand-mail-aliases): Remove unnecessary autoload.
2252         * allout.el (allout-command-prefix, allout-mode-map): Declare.
2254         * shell.el (shell-dir-cookie-re): Move definition before use.
2256         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2257         Replace undefined CL functions.
2259 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
2261         * simple.el (prog-mode): Set bidi-paragraph-direction to
2262         left-to-right.
2264         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2266 2010-11-26  Glenn Morris  <rgm@gnu.org>
2268         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2269         diary-outlook-formats can be sensitive to calendar-date-style.
2270         (diary-outlook-formats): Simplify the default setting.
2271         (diary-from-outlook-internal): Pass subject and body as arguments.
2272         Use dolist rather than dotimes.  Don't save the diary buffer.
2273         (diary-from-outlook-gnus, diary-from-outlook-rmail):
2274         Pass subject and body as explicit arguments to the -internal function.
2276 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2278         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2279         parsing them.  This makes mailto:...?subject=foo\nbar work.
2281 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2283         * vc/diff.el (diff): Fix last change.
2285 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2287         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
2288         (pcase--dontcare-upats): New var.
2289         (pcase-let, pcase-let*): Generate better code.
2290         Accept the same bodies as `let'.
2291         (pcase-dolist): New macro.
2292         (pcase--trivial-upat-p): New helper function.
2293         (pcase--expand): Strip leading "(let nil" if any.
2295 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2297         * mail/mailclient.el (browse-url): Require.
2298         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2299         use the external browser function to send the mail (bug#7469).
2301         * net/browse-url.el (browse-url-browser-function): Revert the
2302         default back to the previous value, since the new value broke
2303         mailclient.el.
2304         (browse-url-mailto-function): New variable for mailto: URLs.
2305         (browse-url): Use the new variable for mailto: URLs.
2307 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2309         * eshell/esh-cmd.el (eshell-parse-command):
2310         * eshell/esh-arg.el (eshell-parse-arguments):
2311         * eshell/em-script.el (eshell-source-file):
2312         Use with-silent-modifications.
2314 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
2316         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
2317         for a merge location.
2319         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2320         (vc-bzr-merge-branch): Always prompt.
2321         (vc-bzr-async-command): Use the full branch filename.
2323 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2325         * shell.el (shell): Use current-buffer by default if it's already
2326         a shell mode buffer and its process is dead.
2327         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2329 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
2331         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2332         Mention that the keywords should be comma separated.
2334 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
2336         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2337         Accept optional prefix arg meaning to prompt for a command.
2338         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
2339         prefix arg meaning to prompt for a command.
2340         (vc-pull): Alias for vc-update.
2342         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2343         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2344         (vc-bzr-merge-branch): New functions, implementing merge-branch
2345         and pull operations.
2347 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2349         * Makefile.in: Fix up last merge.
2351         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2352         (diff-sentinel): Get them as arguments instead.
2353         (diff-old-file, diff-new-file, diff-extra-args): Remove.
2354         (diff-file-local-copy, diff-better-file-name): New funs.
2355         (diff-no-select): Rename from diff-into-buffer.
2356         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
2357         Prefer closures to buffer-local variables.
2358         (diff): Adjust accordingly.
2359         (diff-buffer-with-file): Move from files.el.
2360         * files.el (diff-buffer-with-file): Move to vc/diff.el.
2361         (diff-buffer-internal): Remove.
2362         (diff-buffer-buffer): Remove.
2363         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2364         the buffer name used, and so as not to mess up windows and frames.
2366 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2368         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2369         (diff-buffer-internal): New function extracted from diff-buffer-with-file
2370         (diff-buffer-with-file): Use it.
2371         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2372         (diff): Use it.
2374 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
2376         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2377         \ref's or \pageref's value as default instead of initial input.
2379 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
2381         * files.el (backup-by-copying-when-mismatch): The default value is
2382         now t.
2384         * startup.el (normal-top-level):
2385         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2386         `backup-by-copying-when-mismatch'.
2388 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
2390         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2392 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2394         * progmodes/python.el (python-font-lock-keywords):
2395         Highlight top-level augmented assignments (Bug#6445).
2397 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
2399         * term/ns-win.el (ns-right-control-modifier)
2400         (ns-right-command-modifier): Defvar them.
2402         * cus-start.el (all): Add ns-right-control-modifier and
2403         ns-right-command-modifier (Bug#7458).
2405 2010-11-20  Glenn Morris  <rgm@gnu.org>
2407         * emacs-lisp/authors.el (authors-ignored-files)
2408         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2410 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
2412         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2413         (report-emacs-bug-parse-query-results)
2414         (report-emacs-bug-create-existing-bugs-buffer): Pass through
2415         keywords used for querying the bug database to show them in the
2416         existing bugs buffer.
2418 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
2420         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2422         * info.el (info-tool-bar-map): Add some :vert-only keywords.
2424 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
2426         * international/characters.el (glyphless-char-display-control):
2427         Make it a defcustom, with update-glyphless-char-display as its
2428         :set attribute.
2429         (top level): Don't call update-glyphless-char-display.
2431 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
2433         Sync with Tramp 2.2.0.
2435         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2436         `file-remote-p' (due to compatibility).
2438         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2439         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2441         * net/trampver.el: Update release number.
2443 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
2445         * faces.el (glyphless-char): Define value for `pc'.
2447 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
2449         Implemented a bug querying mechanism.
2450         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2451         (report-emacs-bug-create-existing-bugs-buffer)
2452         (report-emacs-bug-parse-query-results)
2453         (report-emacs-bug-query-existing-bugs): New functions.
2455 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
2457         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2458         a \ref{} or \pageref{} macro, then use its value as initial input.
2460 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
2462         * calc/calc-units.el (math-build-units-table-buffer):
2463         calc/README: Mention that the TeX specific units won't use the
2464         `tex' prefix in TeX mode.
2465         calc/calc-lang.el (math-variable-table): Don't use the `tex'
2466         prefix for units in TeX mode.
2468 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2470         * simple.el (kill-new, kill-append, kill-region):
2471         * comint.el (comint-kill-region): Make the yank-handler argument
2472         obsolete.
2474 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2476         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2477         that are both openers (resp. closers) and something else.
2478         (smie-grammar): Loosen definition of valid values.
2479         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2480         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2481         (smie-indent-after-keyword): Adjust users.
2482         (smie-indent-keyword): Don't indent empty lines.
2484         * vc-hg.el (vc-hg-program): New var.
2485         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2486         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2488 2010-11-18  Glenn Morris  <rgm@gnu.org>
2490         * emacs-lisp/autoload.el (autoload-find-destination): The function
2491         coding-system-eol-type may return non-numeric values.  (Bug#7414)
2493 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
2495         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2497 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
2499         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
2501 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
2503         * textmodes/picture.el (picture-mouse-set-point): Don't use
2504         posn-col-row; explicitly compute the motion based on the posn at
2505         the window-start (Bug#7390).
2507 2010-11-18  Glenn Morris  <rgm@gnu.org>
2509         * novice.el (disabled-command-function):
2510         Fix 2009-11-15 change.  (Bug#7384)
2512 2010-11-18  Glenn Morris  <rgm@gnu.org>
2514         * calendar/calendar.el (diary-iso-date-forms): Make elements
2515         mutually exclusive.  (Bug#7377)
2517 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2519         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2520         when filling the remaining "unconstrained" values.
2522 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2524         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2525         safety predicate.
2527         * files.el (safe-local-variable-p): Gracefully handle errors.
2529         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2530         Use smie-indent-virtual when indenting relative to an opener.
2531         (smie-rule-separator): Use smie-rule-parent.
2532         (smie-indent-keyword): Consult rules, even for openers at bol.
2533         (smie-indent-comment-close): Try to align closer's content.
2535 2010-11-18  Glenn Morris  <rgm@gnu.org>
2537         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2539 2010-11-18  Glenn Morris  <rgm@gnu.org>
2541         * printing.el (pr-menu-bind): Doc fix.
2543         * speedbar.el (speedbar-toggle-images): Doc fix.
2545         * progmodes/python.el (python-shell): Doc fix.
2547         * wid-edit.el (widget-field-use-before-change)
2548         (widget-use-overlay-change): Doc fixes.
2550 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2552         Minor cleanup to improve style.
2553         * textmodes/rst.el (rst-update-section): Use point-marker.
2554         (rst-get-decoration): Eliminate unneeded assignment.
2555         (rst-promote-region, rst-straighten-decorations)
2556         (rst-section-tree, rst-adjust): Use point-marker.
2557         (rst-toc-mode-mouse-goto): Avoid setq.
2558         (rst-shift-region-guts, rst-shift-region-left)
2559         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2560         (rst-convert-bullets-to-enumeration): Use copy-marker.
2562         * minibuffer.el (completion-fail-discreetly): New var.
2563         (completion--do-completion): Use it.
2565         * electric.el (electric-pair-pairs): New var.
2566         (electric-pair-post-self-insert-function): Use it.
2567         (electric-layout-post-self-insert-function): Don't insert a before
2568         newline unless it's actually needed.
2570 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2572         * progmodes/python.el (run-python): Explain why we remove the current
2573         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
2575         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2577 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2579         * progmodes/octave-mod.el: Rely on elecric-*-modes.
2580         (octave-mode-map): Don't bind ;, SPC, and LF.
2581         (octave-auto-indent, octave-auto-newline): Remove.
2582         (electric-layout-rules): Declare.
2583         (octave-mode): Set electric-layout-rules.
2584         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2585         (octave-reindent-then-newline-and-indent, octave-electric-semi)
2586         (octave-electric-space): Remove.
2588         * electric.el (electric-layout-mode): New minor mode.
2589         (electric--after-char-pos): New function.
2590         (electric-indent-post-self-insert-function): Use it.
2591         (electric-layout-rules): New var.
2592         (electric-layout-post-self-insert-function): New function.
2593         (electric-indent-mode): Make them interact better.
2595 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2597         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2598         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2599         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2601 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
2603         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2604         Make sure to check inside the word (Bug#6761).
2606 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
2608         * startup.el (command-line): If the cursorColor resource is set,
2609         change the cursor face-spec (Bug#7392).
2611 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
2613         The main features of the following allout.el changes are:
2614         - implement user customization for the allout key bindings
2615         - add a customization control by which the user can inhibit use of
2616           a trailing Ctrl-H, so by default it's reserved for use with
2617           describe-prefix-bindings
2618         - adapt to new version of called-interactively-p, while
2619           maintaining backwards compatibility with old version
2620         - fix hotspot navigation so i works properly with meta-modified keys
2622         * allout.el (allout-keybindings, allout-bind-keys)
2623         (allout-keybindings-binding, allout-prefixed-keybindings)
2624         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2625         (allout-keybindings-list, allout-mode-map-adjustments)
2626         (allout-setup-mode-map): Establish allout-mode keymaps as user
2627         customizable settings, and also establish a customizable setting which
2628         regulates whether or not a trailing control-h is reserved for use with
2629         describe-prefix-bindings - and inhibit it by default, so that control-h
2630         *is* reserved for describe-prefix-bindings unless the user changes it.
2632         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2633         and accurately between modified and unmodified events, and handle
2634         modified events more comprehensively.
2636         * allout.el (allout-substring-no-properties):
2637         Alias to use or provide version of `substring-no-properties'.
2638         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2640         * allout.el (allout-next-single-char-property-change):
2641         Alias to use or provide version of `next-single-char-property-change'.
2642         (allout-annotate-hidden, allout-hide-by-annotation):
2643         Use `allout-next-single-char-property-change'.
2645         * allout.el (allout-select-safe-coding-system):
2646         Alias to use or provide version of `select-safe-coding-system'.
2647         (allout-toggle-subtree-encryption):
2648         Use `allout-select-safe-coding-system'.
2650         * allout.el (allout-set-buffer-multibyte):
2651         Alias to use or provide version of `set-buffer-multibyte'.
2652         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2654         * allout.el (allout-called-interactively-p): Macro for using the
2655         different versions of called-interactively-p identically, depending on
2656         the subroutine's argument signature.
2657         (allout-back-to-current-heading, allout-beginning-of-current-entry):
2658         Use `(interactive "p")' instead of `(called-interactively-p)'.
2660         * allout.el (allout-init, allout-ascend, allout-end-of-level)
2661         (allout-previous-visible-heading, allout-forward-current-level)
2662         (allout-backward-current-level, allout-show-children):
2663         Use `allout-called-interactively-p' instead of `called-interactively-p'.
2665         * allout.el (allout-before-change-handler):
2666         Exempt edits to the (overlaid) character after the allout outline
2667         bullet from edit confirmation prompt.
2669         * allout.el (allout-add-resumptions):
2670         Ensure that it respects correct buffer for keybindings.
2672         * allout.el (allout-beginning-of-line):
2673         Use `allout-previous-single-char-property-change' alias for the sake of
2674         diverse compatibility.
2676         * allout.el (allout-end-of-line):
2677         Use `allout-mark-active-p' to encapsulate respect for mark activity.
2679 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
2681         * frame.el (frame-notice-user-settings): Don't clobber other
2682         user-set parameters when calling face-set-after-frame-default in
2683         response to background-color parameter (Bug#7373).
2685 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
2687         * international/characters.el (glyphless-char-display-control):
2688         Rename from glyphless-char-control; all users changed.  Doc fix.
2689         Signal an error if display method is not one of the recognized
2690         symbols.
2692 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
2694         * net/tramp-compat.el (tramp-compat-line-beginning-position)
2695         (tramp-compat-line-end-position): Remove them.
2697         * net/tramp.el (tramp-parse-rhosts-group)
2698         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2699         (tramp-parse-hosts-group, tramp-parse-passwd-group)
2700         (tramp-parse-netrc-group, tramp-parse-putty-group)
2701         * net/tramp-cmds.el (tramp-append-tramp-buffers)
2702         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2703         (tramp-sh-handle-file-selinux-context)
2704         (tramp-sh-handle-file-name-all-completions)
2705         (tramp-sh-handle-insert-directory)
2706         (tramp-sh-handle-expand-file-name, tramp-find-executable)
2707         (tramp-wait-for-output, tramp-send-command-and-read)
2708         * net/tramp-smb.el (tramp-smb-read-file-entry)
2709         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2711         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2712         `point-at-bol'.
2713         (tramp-remote-coding-commands): Add an alternative using "base64
2714         -d -i".  This is needed for older base64 versions from GNU
2715         coreutils.  Reported by Klaus Reichl
2716         <Klaus.Reichl@thalesgroup.com>.
2718 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
2720         * simple.el (count-words-region): New function.
2722 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2724         * shell.el (shell-dir-cookie-re): New custom variable.
2725         (shell-dir-cookie-watcher): New function.
2727         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2728         and compilation-mode (bug#7350).
2730         * vc/smerge-mode.el (smerge-refine): Choose better default part to
2731         highlight when one of them is empty.
2733         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2734         trailing space.
2735         (skeleton-newline): New function.
2736         (skeleton-internal-1): Use it.
2738         * simple.el (open-line): `newline' may strip trailing space.
2740 2010-11-12  Kevin Ryde  <user42@zip.com.au>
2742         * international/mule-cmds.el (princ-list): Use mapc.
2744 2010-11-12  Glenn Morris  <rgm@gnu.org>
2746         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2747         Use it to replace all instances of "*Compile-Log*"
2749 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2751         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2752         indentation specs.
2754 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2756         * progmodes/modula2.el: Use SMIE and skeleton.
2757         (m2-mode-syntax-table): (*..*) can be nested.
2758         Add //...\n.  Fix paren syntax.
2759         (m2-mode-map): Remove LF and TAB bindings.
2760         (m2-indent): Add safety property.
2761         (m2-smie-grammar): New var.
2762         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2763         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2764         (m2-mode): Use define-derived-mode.
2765         (m2-newline, m2-tab): Remove.
2766         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2767         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2768         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2769         (m2-import): Use define-skeleton.
2771 2010-11-11  Glenn Morris  <rgm@gnu.org>
2773         * obsolete/lucid.el: Don't warn about any CL functions in this file.
2775         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2776         (ls-lisp-verbosity): Add custom :set-after property.
2777         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2778         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2779         (ls-lisp-insert-directory): Update caller.
2780         (ls-lisp-set-options): New function.
2781         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2782         Doc fix.
2784         * play/landmark.el (lm-prompt-for-move):
2785         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2787         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2789         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2790         (idlwave-study-twins): Prefix dynamic local variable `name'.
2791         (idlwave-routine-twin-compare): Update for above change.
2793         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2794         Prefix dynamic local variables `name', `kwd', and `link'.
2795         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2796         * progmodes/idlw-complete-structtag.el
2797         (idlwave-complete-structure-tag-help):
2798         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2799         (idlwave-complete-sysvar-tag-help)
2800         (idlwave-complete-class-structure-tag-help):
2801         Update for above name changes.
2803 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2805         * net/browse-url.el (browse-url-browser-function): Change the
2806         default to use `browse-url-mail' on mailto: URLs.
2808 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
2810         * emacs-lisp/package.el (package-read-all-archive-contents):
2811         Reset package-archive-contents to nil before re-reading.
2813 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
2815         * textmodes/flyspell.el (flyspell-word): Do not re-check words
2816         already found as misspellings by (flyspell-large-region), just
2817         do highlighting (bug#7322).
2819 2010-11-10  Glenn Morris  <rgm@gnu.org>
2821         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2823         * emulation/edt.el (edt-with-position): New macro.
2824         (edt-find-forward, edt-find-backward, edt-find-next-forward)
2825         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2826         (edt-paragraph-forward, edt-paragraph-backward): Use it.
2828         * emulation/tpu-extras.el (tpu-with-position): New macro.
2829         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2831         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2833         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2834         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2835         (texinfo-master-menu, texinfo-insert-node-lines)
2836         (texinfo-multiple-files-update):
2837         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2838         Use line-beginning-position.
2840         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2841         No recent Emacs supports system-type `emx'.
2843         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2844         (ada-command-separator, ada-default-prj-properties)
2845         (ada-find-any-references): Update for above name change.
2847         * dirtrack.el (dirtrack-directory-function)
2848         (dirtrack-canonicalize-function):
2849         * filecache.el (file-cache-completion-ignore-case)
2850         (file-cache-case-fold-search, file-cache-ignore-case):
2851         * term.el (serial-port-is-file-p): Cosmetic change.
2853         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2854         Remove non-existent `windows-95' system-type.
2855         * dired.el (dired-chown-program): Remove non-existent `linux'
2856         system-type.
2858         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2859         (ping-program-options): Remove non-existent `linux' system-type.
2861         * startup.el (package-initialize): Update declaration.
2863         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2864         (ls-lisp-handle-switches): Use time-less-p.
2865         (ls-lisp-format-time): Use float-time.
2867         * textmodes/remember.el (remember-time-to-seconds): Remove.
2868         (remember-store-in-mailbox): Use float-time.
2870         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2872         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2873         never a real function.
2874         (with-no-warnings): Remove compat stub, now unused.
2875         (time-less-p): Doc fix.
2876         (time-to-number-of-days): Simplify.
2878         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2879         Remove.
2880         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2881         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2882         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2883         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2884         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2886         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2887         (eshell-shuffle-files, eshell-shorthand-tar-command)
2888         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2889         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2890         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2891         Prefix dynamic local variable `matches'.
2893         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2894         Prefix dynamic local variable `skeleton'.
2896 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2898         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2899         in mail buffer; make yank-action always a command that yanks original
2900         buffer.
2902 2010-11-09  Glenn Morris  <rgm@gnu.org>
2904         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2906 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2908         * minibuffer.el (minibuffer-completion-help): Specify the end of the
2909         completion field (bug#7211).
2911         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2912         Fix handling of backslash escapes.
2913         (python-quote-syntax): Adjust accordingly.
2915 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
2917         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2918         (vc-mtn-workfile-branch): Adjust to new output format.
2920 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2922         * international/mule-cmds.el (princ-list): Mark as obsolete.
2924 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2926         * emacs-lisp/smie.el: New package.
2928 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
2930         * files.el (backup-by-copying-when-mismatch):
2931         Set `permanent-local' property.
2933         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2934         `permanent-local' property for `backup-by-copying-when-mismatch'.
2936 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
2938         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
2940 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
2942         * progmodes/verilog-mode.el (verilog-insert-one-definition)
2943         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2944         AUTOINOUT for SV style multidimensional arrays, bug294.
2945         Reported by Eric Mastromarchi.
2946         (verilog-preprocess): Use with-current-buffer and
2947         font-lock-fontify-buffer to cleanup style issues.
2949 2010-11-09  Glenn Morris  <rgm@gnu.org>
2951         * locate.el (locate, locate-mode): Doc fixes.
2953 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
2955         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2956         user for confirmation.
2957         (server-force-stop): Use it.
2958         (server-start): Use server-force-stop for kill-emacs-hook, to
2959         avoid user interaction while killing Emacs.
2961 2010-11-09  Glenn Morris  <rgm@gnu.org>
2963         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2964         (meta-indent-line): Simplify.
2966         * vc/emerge.el (emerge-line-number-in-buf):
2967         * textmodes/ispell.el (ispell-region):
2968         * textmodes/fill.el (current-fill-column):
2969         * progmodes/xscheme.el (xscheme-send-current-line):
2970         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2971         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2972         * progmodes/sh-script.el (sh-handle-prev-do):
2973         * progmodes/meta-mode.el (meta-indent-line):
2974         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2975         (idlwave-in-quote):
2976         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2977         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2978         * progmodes/fortran.el (fortran-looking-at-if-then):
2979         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2980         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2981         (cperl-find-pods-heres):
2982         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2983         * net/quickurl.el (quickurl-list-insert):
2984         * net/ldap.el (ldap-search-internal):
2985         * net/eudc.el (eudc-expand-inline):
2986         * mail/sendmail.el (sendmail-send-it):
2987         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2988         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2989         (viper-brac-function):
2990         * calc/calc-yank.el (calc-do-grab-region):
2991         * calc/calc-keypd.el (calc-keypad-press):
2992         * term.el (term-move-columns, term-insert-spaces):
2993         * speedbar.el (speedbar-highlight-one-tag-line):
2994         * simple.el (current-word):
2995         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2996         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2997         (Info-scroll-down):
2998         * hippie-exp.el (he-line-beg):
2999         * epa.el (epa--marked-keys):
3000         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3001         (dired-update-file-line, dired-add-entry, dired-remove-entry)
3002         (dired-relist-entry):
3003         * buff-menu.el (Buffer-menu-buffer):
3004         * array.el (current-line):
3005         * allout.el (allout-resolve-xref)
3006         (allout-latex-verbatim-quote-curr-line):
3007         Replace yet more uses of end-of-line etc with line-end-position, etc.
3009 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3011         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3012         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3013         (checkdoc-syntax-table): Initialize in the declaration.
3014         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3015         the mode on unconditionally.
3017         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3018         (extent-end-position, extent-start-position): Remove setf method for
3019         non-existing functions (bug#7319).
3021 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3023         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3024         (smie-precs->prec2): Rename from smie-precs-precedence-table.
3025         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3026         (smie-prec2->grammar): Rename from smie-prec2-levels.
3027         (smie-grammar): Rename from smie-op-levels.
3028         (smie-indent--hanging-p): Rename from smie-hanging-p.
3029         (smie-rule-hanging-p): New alias.
3030         (smie-indent--bolp): Rename from smie-bolp.
3031         (smie-indent--hanging-p): New alias.
3032         (smie--token): New dynamically bound variable.
3033         (smie-indent--parent): New function.
3034         (smie-rule-parent-p): Use it; rename from smie-parent-p.
3035         (smie-rule-next-p): Rename from smie-next-p.
3036         (smie-rule-prev-p): Rename from smie-prev-p.
3037         (smie-rule-sibling-p, smie-rule-parent)
3038         (smie-indent--separator-outdent, smie-rule-separator): New functions.
3039         (smie-rule-separator-outdent): New var.
3040         (smie-indent--rule): Merge with smie-indent--column.
3041         (smie-indent-forward-token, smie-indent-backward-token):
3042         Also recognize close parens.
3043         (smie-indent-keyword): Don't use smie-indent--column any more.
3044         (smie-indent-after-keyword): Ignore closers by default.
3045         (smie-indent-line): Use with-demoted-errors.
3046         * progmodes/octave-mod.el (octave-smie-grammar):
3047         Rename from octave-smie-op-levels.
3048         (octave-smie-rules): Adjust to new behavior.
3049         * progmodes/prolog.el (prolog-smie-grammar):
3050         Rename from prolog-smie-op-levels.
3052 2010-11-07  Glenn Morris  <rgm@gnu.org>
3054         * eshell/esh-util.el (subst-char-in-string)
3055         (directory-files-and-attributes): These compatibility definitions are
3056         not needed on any version of Emacs since at least 21.4.
3058         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3059         (verilog-get-end-of-line): Remove.
3060         (verilog-within-string, verilog-re-search-forward-substr)
3061         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3062         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3063         Use point-at-bol, point-at-eol.
3064         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3065         Remove.
3066         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3067         (electric-pascal-terminate-line, pascal-set-auto-comments)
3068         (pascal-indent-paramlist, pascal-indent-declaration)
3069         (pascal-get-lineup-indent, pascal-func-completion)
3070         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3071         Use point-at-bol, point-at-eol.
3072         * progmodes/flymake.el (flymake-line-beginning-position)
3073         (flymake-line-end-position): Remove.
3074         (flymake-highlight-line): Use point-at-bol, point-at-eol.
3075         * eshell/esh-util.el (line-end-position, line-beginning-position):
3076         Remove compat definitions.
3078         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3079         Use end-of-line N.
3080         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3081         Use line-end-position.
3083         * emacs-lisp/chart.el (chart-zap-chars):
3084         * play/decipher.el (decipher-set-map):
3085         * progmodes/ada-mode.el (ada-get-current-indent)
3086         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3087         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3088         * progmodes/ada-xref.el (ada-initialize-runtime-library)
3089         (ada-get-all-references):
3090         * progmodes/cperl-mode.el (cperl-electric-paren)
3091         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3092         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3093         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3094         (cperl-word-at-point-hard):
3095         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3096         (idlwave-shell-filename-string, idlwave-shell-batch-command)
3097         (idlwave-shell-display-line):
3098         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3099         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3100         * progmodes/js.el (js--re-search-forward-inner)
3101         (js--re-search-backward-inner):
3102         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3103         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3104         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3105         * textmodes/flyspell.el (flyspell-process-localwords):
3106         * textmodes/ispell.el (ispell-buffer-local-parsing)
3107         (ispell-buffer-local-dict, ispell-buffer-local-words):
3108         Use point-at-bol and point-at-eol.
3110         * speedbar.el (speedbar-generic-item-info)
3111         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3112         (speedbar-add-indicator, speedbar-check-vc-this-line)
3113         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3114         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3115         Replace more uses of end-of-line etc with line-end-position.
3117 2010-11-06  Glenn Morris  <rgm@gnu.org>
3119         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3120         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3121         (texinfo-delete-existing-pointers, texinfo-find-pointer)
3122         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3123         (texinfo-multiple-files-update):
3124         * textmodes/table.el (table--probe-cell-left-up)
3125         (table--probe-cell-right-bottom):
3126         * textmodes/picture.el (picture-tab-search):
3127         * textmodes/page-ext.el (pages-copy-header-and-position)
3128         (pages-directory-for-addresses):
3129         * progmodes/vera-mode.el (vera-get-offset):
3130         * progmodes/simula.el (simula-calculate-indent):
3131         * progmodes/python.el (python-pdbtrack-overlay-arrow):
3132         * progmodes/prolog.el (end-of-prolog-clause):
3133         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3134         * progmodes/icon.el (indent-icon-exp):
3135         * progmodes/etags.el (tag-re-match-p):
3136         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3137         * progmodes/ebnf2ps.el (ebnf-begin-file):
3138         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3139         (dcl-save-local-variable):
3140         * play/life.el (life-setup):
3141         * play/gametree.el (gametree-looking-at-ply):
3142         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3143         * mail/sendmail.el (mail-mode-auto-fill):
3144         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3145         * emacs-lisp/edebug.el (edebug-overlay-arrow):
3146         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3147         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3148         (woman-tab-to-tab-stop, WoMan-warn-ignored):
3149         * type-break.el (type-break-file-keystroke-count):
3150         * term.el (term-replace-by-expanded-history-before-point)
3151         (term-skip-prompt, term-extract-string):
3152         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3153         (speedbar-contract-line, speedbar-toggle-line-expansion)
3154         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3155         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3156         * sort.el (sort-skip-fields):
3157         * skeleton.el (skeleton-internal-list):
3158         * simple.el (line-move-finish, line-move-to-column):
3159         * shell.el (shell-forward-command):
3160         * misc.el (copy-from-above-command):
3161         * makesum.el (double-column):
3162         * ebuff-menu.el (electric-buffer-update-highlight):
3163         * dired.el (dired-move-to-end-of-filename):
3164         * dframe.el (dframe-popup-kludge):
3165         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3166         * arc-mode.el (archive-get-lineno):
3167         Use line-end-position and line-beginning-position.
3169         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3170         (idlwave-study-twins): Prefix dynamic local `class'.
3171         (idlwave-routine-twin-compare): Update for above name change.
3173         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3174         Use boundp tests to silence compiler.  Update for changed name of
3175         bytecomp-filename variable.
3177         * emulation/viper-cmd.el (viper-read-string-with-history):
3178         Prefix dynamic local `initial'.
3179         (viper-minibuffer-standard-hook): Update for above name change.
3181         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3182         (elint-init-form): Update for above name change.
3184         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3185         local variables `cbeg' and `cend' a prefix.
3186         (mail-extr-voodoo): Update for above name change.
3188         * textmodes/reftex-toc.el (reftex-toc-do-promote)
3189         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3190         (reftex-toc-promote-action): Doc fix.
3192         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3193         `prompt', `data' a prefix.
3194         (reftex-select-post-command-hook, reftex-select-callback)
3195         (reftex-select-mouse-accept, reftex-select-read-cite):
3196         Update for above name changes.
3198         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3199         `refstyle' to reftex-refstyle.
3200         (reftex-offer-label-menu): Update for above name change.
3201         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3202         `refstyle' name change.
3204         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3205         with with-current-buffer.
3206         (diff, template): Give dynamic local variables a prefix.
3207         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3208         (emerge-line-number-in-buf): Update for above name change.
3209         (emerge-combine-versions-internal): Rename local `template' to
3210         emerge-combine-template.
3211         (emerge-combine-versions-edit): Update for above name change.
3213 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
3215         * textmodes/reftex-cite.el
3216         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3217         entries with whitespace after \bibitem.
3218         (reftex-create-bibtex-file): Match entries containing numbers and
3219         symbol constituents.  Make sure that entries with whitespace at
3220         various places are found.
3222 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
3224         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3226 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
3228         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3230 2010-11-05  Glenn Morris  <rgm@gnu.org>
3232         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3233         (woman2-roff-buffer): Give local variable `request' a prefix.
3234         (woman0-macro): Rename argument `request' in the same way.
3235         (woman-request): New name for `request' dynamic variable.
3236         (woman-unquote, woman-forward-arg): Update for above name change.
3237         (woman1-roff-buffer): Give local variable `unquote' a prefix.
3238         (woman1-unquote): New name for `unquote' dynamic variable.
3239         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3240         (woman-translations): Rename from `translations'.  No longer global.
3241         (woman2-tr, woman-translate): Update for above name change.
3242         (woman-translate): Check for bound variable.
3243         (woman2-roff-buffer): Give local variable `translations' a prefix.
3245         * play/doctor.el: Give all local variables a prefix.  Update callers.
3246         (doc$, doctor-put-meaning): Use backquote.
3248         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3249         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3251         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3252         variables bytes, ptr, op a prefix.
3253         (disassemble-offset): Update for above change.
3255 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3257         * emacs-lisp/package.el (package-unpack): Remove no-op.
3258         (package--builtins, package--dir): Doc fix.
3259         (package-activate-1, package-activate, package-install)
3260         (package-compute-transaction): Fix error message.
3261         (package-delete): Use delete-directory.  Omit system packages.
3262         (package-initialize): Set package-alist to nil first.
3263         (package-menu-mark-delete, package-menu-mark-install): Don't add
3264         symbols that are inconsistent with the package state.
3265         (package-menu-execute): Perform deletions and installations as
3266         single batch operations.
3268 2010-11-03  Glenn Morris  <rgm@gnu.org>
3270         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3271         (props): Remove unnecessary declaration.
3273         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3274         set-process-query-on-exit-flag.
3276         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3277         (reftex-toc-do-promote): Remove unused local `mpos'.
3278         (reftex-toc-restore-region): Make `mpos' local to this function.
3280         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3282         * play/landmark.el (lm-losing-threshold): Correct spelling.
3283         (lm-human-plays): Use new name.
3285         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3286         (gomoku-human-plays): Use new name.
3288         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3289         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3290         (gomoku-score-trans-table, gomoku-winning-threshold)
3291         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3293 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3295         * emacs-lisp/package.el: Don't put built-in packages in
3296         package-alist, to avoid loading inefficiencies.
3297         (package-built-in-p): Make VERSION optional, and treat it as a
3298         minimum acceptable version.
3299         (package-activate): Search separately for built-in packages.
3300         Emit a warning if a dependency fails.
3301         (define-package): Handle most common case, where there is no
3302         obsolete package, first.
3303         (package-compute-transaction): Print required version in error.
3304         (package--initialized): New variable.
3305         (list-packages): Use it.
3306         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
3307         built-in packages in packages-alist; keep it separate.
3308         Set package--initialized.
3309         (describe-package): Avoid activating packages as a side-effect.
3310         Search separately for built-in packages.
3311         (describe-package-1): Handle the case where an elpa package is
3312         simultaneously built-in and available/installed.
3313         (package-installed-p, package--generate-package-list):
3314         Search separately for built-in packages.
3315         (package-load-descriptor): Doc fix.
3317 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3319         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3320         Handle __DATA__ and __END__.
3322 2010-11-02  Noah Friedman  <friedman@splode.com>
3324         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3325         nil, do not ask to recompile files that are not already compiled,
3326         and do not recompile them.
3328 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
3330         * emacs-lisp/package.el (package-initialize): Ensure that
3331         obsoleted built-in packages are not in package-activated-list
3332         during activation.
3333         (describe-package-1): Make the "installed" status override
3334         "built-in".
3336 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3338         * subr.el (version-separator, version-regexp-alist): Remove '*'
3339         from docstring.
3340         (version-list-<=, version<=, version=): Doc fix.
3342 2010-11-01  Kenichi Handa  <handa@m17n.org>
3344         * faces.el (glyphless-char): Inherit underline for tty.
3346 2010-11-01  Kenichi Handa  <handa@m17n.org>
3348         Implement various display methods for glyphless characters.
3350         * international/characters.el (char-acronym-table): New variable.
3351         (glyphless-char-control): New variable.
3352         (update-glyphless-char-display): New funciton.
3354         * faces.el (glyphless-char): New face.
3356 2010-11-01  Glenn Morris  <rgm@gnu.org>
3358         * calendar/holidays.el (general-holidays, oriental-holidays)
3359         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3360         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3361         the definitions of their targets.
3363         * emacs-lisp/smie.el (smie): New custom group.
3364         (smie-blink-matching-inners, smie-indent-basic): Add :group.
3366         * faces.el (xw-defined-colors, x-setup-function-keys):
3367         * mouse-sel.el (x-select-text):
3368         * term/w32console.el (x-setup-function-keys): Update declarations.
3370         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3372         * textmodes/ispell.el (comment-add): Declare.
3374         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3375         Declare.
3377         * info.el (finder-keywords-hash, package-alist): Declare.
3379 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
3381         * finder.el (finder-compile-keywords): Don't use intern-soft,
3382         since package names may not yet exist in the obarray.
3384 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
3386         * vc/vc-arch.el (vc-arch-checkin):
3387         * vc/vc-cvs.el (vc-cvs-checkin):
3388         * vc/vc-mtn.el (vc-mtn-checkin):
3389         * vc/vc-rcs.el (vc-rcs-checkin):
3390         * vc/vc-sccs.el (vc-sccs-checkin):
3391         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3392         since 2010-04-21 commit by Stefan Monnier.
3394 2010-11-01  Glenn Morris  <rgm@gnu.org>
3396         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3398         * startup.el (package-enable-at-startup, package-initialize):
3399         Silence compiler.
3401         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3402         Silence compiler.
3404 2010-10-31  Julien Danjou  <julien@danjou.info>
3406         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3407         (byte-recompile-directory):
3408         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3409         Use `byte-recompile-file'.
3411 2010-10-31  Glenn Morris  <rgm@gnu.org>
3413         * cus-start.el: Handle standard values via a keyword.
3414         Only set version property if specified.
3415         (cursor-in-non-selected-windows, menu-bar-mode)
3416         (tool-bar-mode, show-trailing-whitespace):
3417         Do not specify standard values.
3418         (transient-mark-mode, temporary-file-directory): Use :standard.
3420 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
3422         * term/x-win.el (x-get-selection-value): New function that gets
3423         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3425 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
3427         * net/tramp.el (tramp-handle-insert-file-contents): For root,
3428         preserve owner and group when editing files.  (Bug#7289)
3430 2010-10-31  Glenn Morris  <rgm@gnu.org>
3432         * speedbar.el (speedbar-mode):
3433         * play/fortune.el (fortune-in-buffer, fortune):
3434         * play/gomoku.el (gomoku-mode):
3435         * play/landmark.el (lm-mode):
3436         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3437         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
3439         * select.el (x-selection): Mark it as an obsolete alias.
3441 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3443         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3444         major-mode (bug#7284).
3446 2010-10-31  Glenn Morris  <rgm@gnu.org>
3448         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3449         rather than just an unused variable that inherits from the real one.
3451 2010-10-31  Alan Mackenzie  <acm@muc.de>
3453         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3454         This fixes bug #7185.
3456 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
3458         * startup.el (command-line): Search for package directories, and
3459         don't load package.el if none are found.
3461         * emacs-lisp/package.el (describe-package, list-packages):
3462         Call package-initialize if it has not been called yet.
3464 2010-10-30  Alan Mackenzie  <acm@muc.de>
3466         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3467         which fontifies the tail of an enum.
3468         (c-basic-matchers-after): Insert a call to the above new function.
3469         This fixes bug #7264.
3471 2010-10-30  Glenn Morris  <rgm@gnu.org>
3473         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3474         tool-bar-mode, transient-mark-mode.  (Bug#7306)
3475         Include the :set property in the dumped Emacs.
3477 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3479         SMIE: change indent rules format, improve smie-setup.
3480         * emacs-lisp/smie.el (smie-precs-precedence-table)
3481         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3482         Mark them pure so the tables gets built at compile time.
3483         (smie-bnf-precedence-table): Store the closer-alist in the table.
3484         (smie-prec2-levels): Preserve the closer-alist.
3485         (smie-blink-matching-open): Be more forgiving in case of indentation.
3486         (smie-hanging-p): Rename from smie-indent--hanging-p.
3487         (smie-bolp): Rename from smie-indent--bolp.
3488         (smie--parent, smie--after): New dynamic vars.
3489         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3490         (smie-indent-rules): Remove.
3491         (smie-indent--offset-rule): Remove fun.
3492         (smie-rules-function): New var.
3493         (smie-indent--rule): New fun.
3494         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3495         (smie-indent-exps): Use it.
3496         (smie-setup): Setup paren blinking; add keyword args for token
3497         functions; extract closer-alist from op-levels.
3498         (smie-indent-debug-log): Remove var.
3499         (smie-indent-debug): Remove fun.
3500         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3501         (prolog-smie-rules): New fun to replace it.
3502         (prolog-mode-variables): Simplify.
3503         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3504         it's setup automatically.
3505         (octave-smie-indent-rules): Remove.
3506         (octave-smie-rules): New fun to replace it.
3507         (octave-mode): Simplify.
3509 2010-10-29  Glenn Morris  <rgm@gnu.org>
3511         * files.el (temporary-file-directory): Remove (already defined in C).
3512         * cus-start.el: Add temporary-file-directory.
3514         * abbrev.el (abbrev-mode):
3515         * composite.el (auto-composition-mode):
3516         * menu-bar.el (menu-bar-mode):
3517         * simple.el (transient-mark-mode):
3518         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3519         that they do not define the associated variables twice.
3520         * simple.el (transient-mark-mode): Remove defvar.
3521         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3522         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3523         Handle multiple groups, and also custom-delayed-init-variables.
3524         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3526 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3528         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3529         (pcase-if): Add one minor optimization.
3530         (pcase-split-equal): Rename from pcase-split-eq.
3531         (pcase-split-member): Rename from pcase-split-memq.
3532         (pcase-u1): Add strings to the member optimization.
3533         Add `guard' variant of predicates.
3534         (pcase-q1): Add string patterns.
3536 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3538         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3540 2010-10-28  Glenn Morris  <rgm@gnu.org>
3542         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3543         Move menu-bar related settings to ../menu-bar.el.
3544         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3545         Move ns-specific settings here from term/ns-win.el.
3547         * simple.el (x-selection-owner-p): Remove unused declaration.
3549 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         * minibuffer.el (completion-cycling): New var (bug#7266).
3552         (minibuffer-complete, completion--do-completion):
3553         Use completion--flush-all-sorted-completions.
3554         (minibuffer-complete): Only cycle if completion-cycling is set.
3555         (completion--flush-all-sorted-completions): Unset completion-cycling.
3556         (minibuffer-force-complete): Set completion-cycling.
3557         (completion-all-sorted-completions): Move declaration before first use.
3559 2010-10-28  Leo  <sdl.web@gmail.com>
3561         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3562         which changes the order of matches seen by users (bug#7231).
3564 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
3566         * progmodes/compile.el (compilation-mode-font-lock-keywords):
3567         Don't confuse -omega as "-o mega".
3569 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3571         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3572         (log-edit-author): New dynamic var.
3573         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3574         to return the author if different from committer.
3575         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3577         * play/landmark.el: Adjust commenting convention.
3578         (lm-nil-score): Rename from nil-score.
3579         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3580         (OOOOscore): Move into a let in lm-score-trans-table.
3581         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3583         * electric.el (electric-indent-chars): Autoload.
3584         * progmodes/octave-mod.el (octave-mode):
3585         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3586         (ruby-mode-abbrev-table): Merge initialization and declaration.
3588 2010-10-27  Glenn Morris  <rgm@gnu.org>
3590         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3591         variable.
3593         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3595         * term/ns-win.el: Restore require of cl when compiling.
3596         (menu-bar-final-items): Remove non-existent `windows' menu.
3597         (ns-handle-nxopen): Optionally handle the temp-case.
3598         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3599         (ns-insert-file, ns-find-file): Use `pop'.
3601 2010-10-26  Glenn Morris  <rgm@gnu.org>
3603         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3605 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
3607         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3608         global map.
3609         * term/common-win.el (x-setup-function-keys): Remove most of the
3610         keymappings.  Comment on the remaining ones.
3612 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
3614         * server.el (server-port): New option.  (Bug#854)
3615         (server-start): Use server-port.
3617 2010-10-26  Glenn Morris  <rgm@gnu.org>
3619         * term/ns-win.el (ns-version-string): Remove unused declaration.
3620         (ns-invocation-args): Change to x-invocation-args.
3621         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3622         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3623         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3624         Use x-invocation-args instead of ns-invocation-args.
3625         (ns-initialize-window-system, handle-args-function-alist):
3626         Use x-handle-args instead of ns-handle-args.
3627         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3628         * startup.el (command-line-ns-option-alist): Replace
3629         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3630         ns-handle-iconic with the x- equivalents.
3632         * term/common-win.el (x-select-enable-clipboard):
3633         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3635         * term/ns-win.el: No need to require cl when compiling.
3636         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3637         (xw-defined-colors): Use the common-win definitions.
3638         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3639         (ns-handle-iconic): Make it an alias for x-handle-iconic.
3640         * term/common-win.el (x-select-text, x-alternatives-map)
3641         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3642         * loadup.el [ns]: Load common-win.
3644 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
3646         * epa-mail.el (epa-mail-encrypt): Handle local-part only
3647         recipients; expand mail aliases (Bug#7280).
3649 2010-10-25  Glenn Morris  <rgm@gnu.org>
3651         * term/common-win.el (x-handle-switch): Simplify with pop.
3652         Optionally handle numeric switches.
3653         (x-handle-numeric-switch): Just call x-handle-switch.
3654         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3655         (x-handle-name-switch, x-handle-display, x-handle-args):
3656         Simplify with pop.
3658         * term/ns-win.el: Do not require easymenu.
3659         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3660         <spell>: Move adjustments to menu-bar.el.
3661         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3662         <separator-undo, spell>: Move ns-win's adjustments here.
3663         * loadup.el [ns]: Do not load easymenu.
3665 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3667         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3668         Delete (Bug#7222).
3670         * startup.el (fancy-startup-tail): Instead of using inline images,
3671         refer to image files from etc/.
3673         * wid-edit.el (checkbox): Likewise.
3674         (widget-image-find): Center image specs.
3676 2010-10-24  Glenn Morris  <rgm@gnu.org>
3678         * term/ns-win.el (x-select-text): Doc fix.
3679         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3680         (x-select-text): Move to term/common-win.
3681         * term/w32-win.el (xw-defined-colors): Move to common-win.
3682         * term/x-win.el (xw-defined-colors, x-alternatives-map)
3683         (x-setup-function-keys, x-select-text): Move to common-win.
3684         * term/common-win.el (x-select-text, x-alternatives-map)
3685         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3686         definitions here.
3688 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
3690         * net/mairix.el (mairix-searches-mode-map):
3691         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3693 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
3695         * verilog-mode.el (verilog-directive-re): Make this variable
3696         auto-built for efficiency of execution and updating.
3697         (verilog-extended-complete-re): Support 'pure' fucntion & task
3698         declarations (these have no bodies).
3699         (verilog-beg-of-statement): General cleanup to enable support of
3700         'pure' fucntion & task declarations (these have no bodies).
3701         These efforts together fix Verilog bug210 from veripool; which was also
3702         noticed by Steve Pearlmutter.
3703         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3704         (verilog-directive-nest-re, verilog-set-auto-endcomments):
3705         Support `elsif.  Reported by Shankar Giri.
3706         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3707         attribute handling for lining up declarations and assignments.
3708         (verilog-beg-of-statement-1): Fix issue where continued declaration
3709         is indented differently if it is after a begin..end clock.
3710         (verilog-in-attribute-p, verilog-skip-backward-comments)
3711         (verilog-skip-forward-comment-p): Support proper treatment of
3712         attributes by indent code. Reported by Jeff Steele.
3713         (verilog-in-directive-p): Fix comment to correctly describe function.
3714         (verilog-backward-up-list, verilog-in-struct-region-p)
3715         (verilog-backward-token, verilog-in-struct-p)
3716         (verilog-in-coverage-p, verilog-do-indent)
3717         (verilog-pretty-declarations): Use verilog-backward-up-list as
3718         wrapper around backward-up-list inorder to properly skip comments.
3719         Reported by David Rogoff.
3720         (verilog-property-re, verilog-endcomment-reason-re)
3721         (verilog-beg-of-statement, verilog-set-auto-endcomments)
3722         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3723         of if). Reported by Max Bjurling and
3724         (verilog-calc-1): Fix for clocking block in modport
3725         declaration. Reported by Brian Hunter.
3727 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
3729         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3730         (verilog-gate-keywords, verilog-read-sub-decls)
3731         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3732         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3733         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
3734         (verilog-read-decls): Fix spaces in V2K module parameters causing
3735         mis-identification as interfaces, bug287.
3736         (verilog-read-decls): Fix not treating "parameter string" as a
3737         parameter in AUTOINSTPARAM.
3738         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3739         treating `elsif similar to `endif inside AUTOSENSE.
3740         (verilog-do-indent): Implement correct automatic or static task or
3741         function end comment highlight. Reported by Steve Pearlmutter.
3742         (verilog-font-lock-keywords-2): Fix highlighting of single
3743         character pins, bug264.  Reported by Michael Laajanen.
3744         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3745         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3746         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3747         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
3748         (verilog-pretty-expr): Fix interactive arguments, bug272.
3749         Reported by Mark Johnson.
3750         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3751         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3752         bug269. Suggested by Gary Delp.
3753         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3754         (verilog-preprocessor, verilog-set-compile-command):
3755         Create verilog-preprocess and verilog-preprocessor to show
3756         preprocessed output.
3757         (verilog-get-beg-of-line, verilog-get-end-of-line)
3758         (verilog-modi-file-or-buffer, verilog-modi-name)
3759         (verilog-modi-point, verilog-within-string): Move defmacro's
3760         before first use to avoid warning. Reported by Steve Pearlmutter.
3761         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3762         (verilog-colorize-region, verilog-highlight-buffer)
3763         (verilog-highlight-includes, verilog-highlight-modules)
3764         (verilog-highlight-region, verilog-mode): Rename colorize to
3765         highlight to match other packages.  Disable module highlighting,
3766         as received speed complaints, reenable for experimentation only
3767         using new verilog-highlight-modules.
3768         (verilog-read-decls): Fix regexp stack overflow in very large
3769         AUTO_TEMPLATEs, bug250.
3770         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3771         (verilog-scan): Create verilog-save-buffer-state to standardize
3772         making insignificant changes that shouldn't call hooks.
3773         (verilog-save-no-change-functions, verilog-save-scan-cache)
3774         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3775         Create verilog-save-no-change-functions to wrap verilog-scan
3776         preservation, and fix to work with nested preserved calls.
3777         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3778         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3779         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
3780         (verilog-submit-bug-report): Update variable list to be complete.
3781         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3782         breaking on-the-fly font-locking.
3783         (verilog-colorize-buffer, verilog-colorize-include-files)
3784         (verilog-colorize-include-files-buffer, verilog-colorize-region)
3785         (verilog-load-file-at-mouse, verilog-load-file-at-point)
3786         (verilog-mode, verilog-read-inst-module-matcher): With point on a
3787         AUTOINST cell instance name, middle mouse button now finds-file on
3788         it.  Suggested by Brad Dobbie.
3789         (verilog-alw-get-temps, verilog-auto-reset)
3790         (verilog-auto-sense-sigs, verilog-read-always-signals)
3791         (verilog-read-always-signals-recurse): Fix loop indexes being
3792         AUTORESET. AUTORESET now assumes any variables in the
3793         initialization section of a for() should be ignored.
3794         Reported by Dan Dever.
3795         (verilog-error-font-lock-keywords)
3796         (verilog-error-regexp-emacs-alist)
3797         (verilog-error-regexp-xemacs-alist): Fix error detection of
3798         Cadence HAL, reported by David Asher.  Repair drift between the
3799         three similar error variables.
3800         (verilog-modi-lookup, verilog-modi-lookup-cache)
3801         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3802         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3803         Fix slow verilog-auto expansion on very large files.
3804         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3805         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3806         "{1*2{...".  Broke in last revision.
3807         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3808         submodule connections with replications "{#{a},#{b}}".
3810 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
3812         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3813         Fix typo in docstring.
3815 2010-10-24  Kenichi Handa  <handa@m17n.org>
3817         * face-remap.el (text-scale-adjust): Call read-event with a proper
3818         prompt.
3820 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3822         * emacs-lisp/unsafep.el: Don't mark functions that display
3823         messages as safe.  Suggested by Johan Bockgård.
3825 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3827         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3828         Turn comments into docstrings.
3830         * minibuffer.el (completion--replace): Move point where it belongs
3831         when there's a common suffix (bug#7215).
3833 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3835         Merge read-color and facemenu-read-color (Bug#7242).
3837         * faces.el (read-color): Use the completion code from
3838         facemenu-read-color.  Require match in completion.  Doc fix.
3840         * facemenu.el (facemenu-read-color): Alias for read-color.
3841         (facemenu-set-foreground, facemenu-set-background):
3842         Use read-color.
3844         * frame.el (set-background-color, set-foreground-color)
3845         (set-cursor-color, set-mouse-color, set-border-color):
3846         Use read-color.
3848 2010-10-24  Leo  <sdl.web@gmail.com>
3850         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3851         argument of delete-file and delete-directory (Bug#7011).
3853 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3855         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3856         button-buffer-map.
3858 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
3860         * emacs-lisp/package.el (package--generate-package-list): Make the
3861         *Packages* buffer read-only.
3863 2010-10-24  Alan Mackenzie  <acm@muc.de>
3865         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3866         result of `c-beginning-of-decl-1' between invocations of a lambda
3867         function (Bug #7265).
3869 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
3871         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3872         executable is not available on the system (Bug#7268).
3874 2010-10-24  Glenn Morris  <rgm@gnu.org>
3876         * select.el (selection-coding-system, next-selection-coding-system):
3877         Sync doc with C versions.
3879         * w32-vars.el (x-select-enable-clipboard):
3880         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3881         * term/common-win.el (x-select-enable-clipboard): Move here.
3883         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3884         definition of C variable.
3886         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3887         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3888         Don't redefine things that are defined in C.
3889         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3890         (show-trailing-whitespace, auto-hscroll-mode)
3891         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3892         Set up the appropriate custom properties.
3894 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3896         Bind "C-c ]" to ...
3897         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3898         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3899         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3900         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3902 2010-10-23  Glenn Morris  <rgm@gnu.org>
3904         * textmodes/flyspell.el (flyspell-mode): If there was an error,
3905         say what it was.
3907         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3908         Sync docs with C version.
3910         * term/ns-win.el (xw-defined-colors):
3911         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3913         * term/pc-win.el (x-select-enable-clipboard):
3914         * term/x-win.el (x-select-enable-clipboard):
3915         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3917         * comint.el (comint-password-prompt-regexp): Make it less vague.
3918         Bump version.
3920         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3922         * help.el (finder-by-keyword): Remove unnecessary autoload.
3924 2010-10-22  Glenn Morris  <rgm@gnu.org>
3926         * loadup.el: Unconditionally load float-sup.
3927         * paren.el (show-paren-delay):
3928         * emacs-lisp/float-sup.el:
3929         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3930         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3931         (lazy-lock-stealth-verbose): Assume float support.
3932         * ps-print.el: Assume float support on Emacs.
3933         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3934         Remove non-float branch.
3936         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3937         src/Makefile no longer being pre-processed.
3939 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3941         * emacs-lisp/find-func.el (find-library): Use test-completion.
3943 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3945         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3947 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
3949         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3950         space in stat format string.
3951         (tramp-send-command): Unset $PS1 when using here documents, in
3952         order not to get several prompts.
3953         (tramp-get-inline-coding): Return `nil' in case of errors.
3955 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
3957         * hexl.el (hexl-mode, hexl-mode-exit):
3958         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3959         (hexl-revert-buffer-function): New function.
3960         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3962 2010-10-19  Alan Mackenzie  <acm@muc.de>
3964         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3965         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3966         that these keywords aren't wrongly matched as identifiers.
3968         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3969         setting of c-new-BEG and c-new-END from c-before-change to
3970         c-after-change.  (Bug#7181)
3972 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3974         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3975         Don't mark as safe.
3977         * custom.el (custom-theme-set-variables): Likewise.
3978         (load-theme): Add custom-theme-set-faces and
3979         custom-theme-set-variables to safe-functions while loading.
3980         (custom-enabled-themes): Mark as risky.
3982 2010-10-18  Julien Danjou  <julien@danjou.info>
3984         * bindings.el: Remove end dashes in default mode-line-format.
3986 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3988         * bindings.el (global-map): Bind C-d to delete-char and deletechar
3989         to delete-forward-char.
3991         * simple.el (normal-erase-is-backspace-mode): Remap delete to
3992         deletechar, and hence delete-forward-char.
3994 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3996         * repeat.el (repeat): Use read-key (bug#6256).
3998 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4000         * emacs-lisp/unsafep.el: Don't mark functions that display
4001         messages as safe.  Suggested by Johan Bockgård.
4003 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4005         * minibuffer.el (completion--replace): Move point where it belongs
4006         when there's a common suffix (bug#7215).
4008 2010-10-19  Kenichi Handa  <handa@m17n.org>
4010         * international/characters.el: Add category '|' (word breakable)
4011         to fullwidth characters.
4013 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
4015         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4016         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4017         order to make stat results a float.  Patch by Andreas Schwab
4018         <schwab@linux-m68k.org>.
4020 2010-10-18  Julien Danjou  <julien@danjou.info>
4022         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4023         hidden by `make-pointer-invisible'.
4025 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4027         * files.el (locate-file-completion-table): Strip non-matching elements
4028         before checking length of list (bug#7238).
4030 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
4032         * custom.el (custom-theme-set-variables): Mark as a safe function.
4033         (load-theme): Check forms using unsafep.
4035         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4037 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
4039         * textmodes/ispell.el (ispell-aspell-find-dictionary):
4040         Fix aspell data file searching (bug#7230).
4042 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4044         * cus-theme.el (custom-theme--migrate-settings): New var.
4045         (customize-create-theme): Allow editing the `user' theme.
4046         (custom-theme-add-variable, custom-theme-add-var-1)
4047         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4048         to the front of each variable or face widget.
4049         (custom-theme-write): Save theme settings in the correct order.
4050         Optionally, remove saved settings from user customizations.
4051         (custom-theme-write-variables, custom-theme-write-faces):
4052         Save only the checked widgets.
4053         (customize-themes): Add a link for migrating custom settings.
4055         * custom.el (custom-declare-theme, provide-theme):
4056         Use custom-theme-name-valid-p.
4057         (custom-theme-name-valid-p): Remove checks that are now
4058         unnecessary since themes no longer obey load-path.
4060         * cus-edit.el (custom-variable-value-create): For the simple
4061         style, hide documentation string when hidden.
4063 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4065         * cus-edit.el (custom-variable, custom-face): Combine the
4066         :inhibit-magic and :display-style properties into a single
4067         :custom-style property.
4068         (custom-toggle-hide-variable, custom-toggle-hide-face):
4069         New functions.  If hiding an edited value, save it to :shown-value.
4070         (custom-variable-value-create, custom-face-value-create): Use them.
4071         (custom-magic-reset): Allow magic property to be unset.
4073         * custom.el: Custom themes no longer use load-path.
4074         (custom-theme-load-path): New option.  Change built-in theme
4075         directory to etc/.
4076         (custom-enabled-themes): Add custom-theme-load-path dependency.
4077         (custom-theme--load-path): New function.
4078         (load-theme, custom-available-themes): Use it.
4080         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4081         (customize-themes): Link to custom-theme-load-path variable.
4082         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4083         :custom-style property.
4085         * themes/*.el: Moved to etc/.
4087 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
4089         * textmodes/reftex-cite.el
4090         (reftex-extract-bib-entries-from-thebibliography): Do not move
4091         point when searching for \bibitem entries.  Match entries with
4092         spaces or tabs in front of arguments.
4094 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4096         * cus-theme.el (customize-create-theme): Delete overlays after
4097         erasing.  If given a THEME arg, display only the faces of that arg
4098         instead of custom-theme--listed-faces.
4099         (custom-theme-variable-menu, custom-theme-variable-action)
4100         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4101         (custom-theme-add-variable, custom-theme-add-face): Apply value
4102         from the theme settings, instead of the current value.
4103         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4104         (custom-theme-visit-theme): Allow calling outside theme buffers.
4105         (custom-theme-merge-theme): Don't enable the theme when merging.
4106         (custom-theme-write-variables, custom-theme-write-faces): Use the
4107         :shown-value properties to save buffer values, not global ones.
4108         (customize-themes): Display a warning about user customizations.
4110         * cus-edit.el (custom-variable-value-create)
4111         (custom-face-value-create): Obey new special properties
4112         :shown-value and :inhibit-magic.
4114 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
4116         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4117         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
4118         <dale@codefu.org>.
4120 2010-10-14  Kenichi Handa  <handa@m17n.org>
4122         * mail/rmail.el (rmail-show-message-1): Catch an error of
4123         base64-decode-region and just show an error message (bug#7165).
4125         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
4126         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4127         a font-spec (bug#7197).
4129 2010-10-14  Glenn Morris  <rgm@gnu.org>
4131         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4133 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
4135         * international/mule.el (define-coding-system):
4136         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4137         * composite.el (compose-region): Fix typo in docstring.
4139 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
4141         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4142         only after checking the theme-face property.
4144         * faces.el (face-spec-reset-face): Reset all attributes in one
4145         single call to set-face-attribute.
4146         (face-spec-match-p): Make it a defsubst.
4147         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4148         (x-create-frame-with-faces, tty-create-frame-with-faces)
4149         (tty-set-up-initial-frame-faces): Don't recompute face specs in
4150         frame-set-background-mode, since they are recomputed immediately
4151         afterwards in face-set-after-frame-default.
4152         (face-set-after-frame-default): Minor optimization.
4153         (cursor): Provide non-trivial defface spec.
4155         * custom.el (custom-theme-recalc-face): Simplify.
4157 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
4159         * calc/calc-alg.el (math-var): Rename from `var'.
4160         (math-is-polynomial, math-is-poly-rec): Replace `var'
4161         with `math-var'.
4163         * calc/calcalg2.el (math-var): Rename from `var'.
4164         (calcFunc-table, math-scan-for-limits): Replace `var'
4165         with `math-var'.
4167 2010-10-13  Glenn Morris  <rgm@gnu.org>
4169         * subr.el (last): Deal with dotted lists (reported in bug#7174).
4171 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
4173         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4175 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4177         * net/tls.el (tls-program): Remove spurious %s from openssl.
4178         (tls-starttls-switches): Remove starttls hack.
4179         (open-tls-stream): Ditto.
4180         (tls-find-starttls-argument): Ditto.
4182 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
4184         * image.el (image-library-alist): Declare as obsolete alias.
4185         (image-type-available-p): Use `dynamic-library-alist'.
4187         * term/w32-win.el (dynamic-library-alist):
4188         Use instead of `image-library-alist'.
4190 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
4192         * subr.el (last): Make it faster.  (Bug#7174)
4194 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
4196         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
4198 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4200         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4201         (describe-theme-1): Extract doc from unloaded themes.
4203         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4205         * themes/tango-theme.el:
4206         * themes/tango-dark-theme.el:
4207         * themes/wheatgrass-theme.el: New files.
4209 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4211         * cus-theme.el (describe-theme, customize-themes)
4212         (custom-theme-save): New commands.
4213         (custom-new-theme-mode-map): Bind C-x C-s.
4214         (custom-new-theme-mode): Use custom--initialize-widget-variables.
4215         (customize-create-theme): New optional arg THEME.
4216         (custom-theme-revert): Use it.
4217         (custom-theme-visit-theme): Remove dead code.
4218         (custom-theme-merge-theme): Use custom-available-themes.
4219         (custom-theme-write): Make interactive.
4220         (custom-theme-write): Use custom-theme-name-valid-p.
4221         (describe-theme-1, custom-theme-choose-revert)
4222         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4223         New funs.
4224         (custom-theme-allow-multiple-selections): New option.
4225         (custom-theme-choose-mode): New major mode.
4227         * custom.el (custom-theme-set-variables): Remove dead code.
4228         Obey custom--inhibit-theme-enable.
4229         (custom--inhibit-theme-enable): New var.
4230         (provide-theme): Obey it.
4231         (load-theme): Replace load with manual read/eval, in order to
4232         check for correctness.  Use custom-theme-name-valid-p.
4233         (custom-theme-name-valid-p): New function.
4234         (custom-available-themes): Use it.
4236         * cus-edit.el (custom--initialize-widget-variables): New function.
4237         (Custom-mode): Use it.
4239         * cus-face.el (custom-theme-set-faces): Remove dead code.
4240         Obey custom--inhibit-theme-enable.
4242         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4244 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
4246         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4248 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
4250         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4251         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4252         (mac-right-option-modifier): New alias for ns-right-option-modifier.
4254         * cus-start.el (all): ns-right-alternate-modifier is new.
4256 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4258         * emacs-lisp/lisp.el (lisp-completion-at-point):
4259         Use emacs-lisp-mode-syntax-table for the whole function.
4261 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
4263         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4264         instead of font-lock-mode before adding keywords.
4265         Remove hi-lock-mode off code.  Remove inhibit hack.
4266         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4267         non-nil; removed hook inhibit hack.
4269 2010-10-12  Glenn Morris  <rgm@gnu.org>
4271         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4272         (load-path-shadows-find): ... to this.
4273         (list-load-path-shadows): Update for above change.
4275         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4277 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
4279         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4280         Fix comment for declare-function.
4282 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
4284         * custom.el (custom-fix-face-spec): New function; code moved from
4285         custom-face-edit-fix-value.
4286         (custom-push-theme): Use it when checking if a face has been
4287         changed outside customize.
4288         (custom-available-themes): New function.
4289         (load-theme): Use it.
4291         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4293         * custom.el (custom-push-theme): Cleanup (use cond).
4294         (disable-theme): Recompute the saved-face property.
4295         (custom-theme-recalc-face): Follow face alias before setting prop.
4297         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4298         New variables, containing checkbox images.
4300         * startup.el (fancy-startup-tail):
4301         * wid-edit.el (checkbox): Use them.
4303 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
4305         * shell.el (shell-mode-map):
4306         * progmodes/modula2.el (m2-mode-map):
4307         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4308         * play/mpuz.el (mpuz-mode-map):
4309         * play/landmark.el (lm-mode-map):
4310         * play/decipher.el (decipher-mode-map):
4311         * play/5x5.el (5x5-mode-map):
4312         * net/telnet.el (telnet-mode-map):
4313         * net/quickurl.el (quickurl-list-mode-map):
4314         * net/mairix.el (mairix-searches-mode-map):
4315         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4316         * net/dig.el (dig-mode-map):
4317         * mail/mspools.el (mspools-mode-map):
4318         * hexl.el (hexl-mode-map):
4319         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4320         (wordstar-C-o-map, wordstar-C-q-map):
4321         * emacs-lisp/edebug.el (edebug-eval-mode-map):
4322         * emacs-lisp/chart.el (chart-map):
4323         * edmacro.el (edmacro-mode-map):
4324         * erc/erc-list.el (erc-list-menu-mode-map):
4325         * array.el (array-mode-map): Declare and define in one step.
4327         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4329 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
4331         * epa.el (epa-passphrase-callback-function): Display filename
4332         passed as the 3rd arg.
4333         * epa-file.el (epa-file-passphrase-callback-function):
4334         Pass filename to epa-passphrase-callback-function.
4336 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
4338         * cus-edit.el (custom-face-widget-to-spec)
4339         (custom-face-get-current-spec, custom-face-state): New functions.
4340         (custom-face-set, custom-face-mark-to-save)
4341         (custom-face-value-create, custom-face-state-set): Use them.
4343         * cus-theme.el (custom-theme--listed-faces): New var.
4344         (customize-create-theme): Use *Custom Theme* as the buffer name.
4345         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
4346         faces listed in custom-theme--listed-faces.
4347         (custom-theme-revert): New function.
4348         (custom-theme-add-variable, custom-theme-add-face): Insert at the
4349         bottom of the list.
4350         (custom-theme-write): Prompt for theme name if empty.
4351         (custom-theme-write-variables): Use dolist.
4352         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4354 2010-10-09  Alan Mackenzie  <acm@muc.de>
4356         Enhance fontification of declarators to take account of the
4357         presence/absence of "typedef".
4359         * cc-engine.el (c-forward-type): New &optional param
4360         "brace-block-too".
4361         (c-forward-decl-or-cast-1): cdr of return value now indicates the
4362         presence of either or both of a "struct"-like keyword and "typedef".
4364         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4365         fontification of declarators which follow a "}".
4366         (c-font-lock-declarations): Fontify declarators according to the
4367         presence/absence of "typedef".
4369         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4370         for "typedef".
4371         (c-typedef-decl-key): New lang variable built from
4372         c-typedef-decl-kwds.
4374 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4376         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4377         since that's too annoying.  Move the filter groups commands to
4378         TAB/backtab.
4380         * epa.el (epa-passphrase-callback-function): Say what we're
4381         querying the password for.
4383         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4384         behaviour, don't bury the ibuffer buffer when visiting other buffers.
4386 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
4388         * cus-edit.el (custom-commands, custom-buffer-create-internal)
4389         (custom-magic-value-create): Pad button tags with spaces.
4390         (custom-face-edit): New variable.
4391         (custom-face-value-create): Determine whether to use the usual
4392         face editor here, instead of using custom-face-selected.
4393         Pass face defaults to custom-face-edit widget.
4394         (custom-face-selected, custom-display-unselected): Delete widgets.
4395         (custom-display-unselected-match): Function removed.
4396         (custom-face-set, custom-face-mark-to-save):
4397         Accept custom-face-edit widgets as the direct widget child.
4399         * wid-edit.el (widget--completing-widget): New var.
4400         (widget-default-complete): Bind it when doing completion.
4401         (widget-string-complete, widget-file-complete): Use it.
4403 2010-10-09  Glenn Morris  <rgm@gnu.org>
4405         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4406         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4407         (holiday-hebrew-misc): Small simplifications.
4409         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4411         * net/browse-url.el: Don't require thingatpt, term, dired,
4412         executable, or w3-auto when compiling.
4413         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4414         Declare.
4415         (browse-url-text-emacs): Require term.
4417 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4419         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4421 2010-10-08  Glenn Morris  <rgm@gnu.org>
4423         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4425         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4426         (shadows-compare-text-p): Make it an obsolete alias for...
4427         (load-path-shadows-compare-text): ... new name.
4428         (find-emacs-lisp-shadows): Update for above name change.
4429         (load-path-shadows-same-file-or-nonexistent): New name for the old
4430         shadow-same-file-or-nonexistent.
4432 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
4434         * minibuffer.el (completion--some, completion--do-completion)
4435         (minibuffer-complete-and-exit, minibuffer-completion-help)
4436         (completion-basic-try-completion)
4437         (completion-basic-all-completions)
4438         (completion-pcm--find-all-completions): Use lexical-let to
4439         avoid some false matches in variable completion (Bug#7056)
4441 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
4443         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
4445 2010-10-08  Leo  <sdl.web@gmail.com>
4447         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4448         return non-nil if the file exists (Bug#7090).
4450 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4452         * minibuffer.el (completion--replace):
4453         Better preserve markers (bug#7138).
4455 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
4457         * server.el (server-process-filter): Doc fix.
4459 2010-10-08  Drew Adams  <drew.adams@oracle.com>
4461         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
4463 2010-10-08  Glenn Morris  <rgm@gnu.org>
4465         * vc/ediff-wind.el (ediff-setup-control-frame):
4466         * vc/ediff-ptch.el (ediff-default-backup-extension):
4467         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4468         (ediff-exec-process): Remove system-types emx, windows-95.
4470         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
4472 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
4474         * cus-edit.el (custom-variable, custom-face): Doc fix.
4475         (custom-face-edit): Add value-create attribute.
4476         (custom-face-edit-value-create)
4477         (custom-face-edit-value-visibility-action): New functions.
4478         Hide unused face attributes by default, and add a visibility toggle.
4479         (custom-face-edit-deactivate): Show empty values with shadow face.
4480         (custom-face-selected): Only use this for face specs with default
4481         attributes.
4482         (custom-face-value-create): Cleanup.
4484         * wid-edit.el (widget-checklist-value-create): Use dolist.
4485         (widget-checklist-match-find): Make second arg optional.
4487 2010-10-07  Glenn Morris  <rgm@gnu.org>
4489         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4490         Prefix things.
4492         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4493         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4494         load-path-shadows-mode, update references.
4495         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4496         Rename variable and button.
4497         (list-load-path-shadows): Update button caller.
4499 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4501         * emacs-lisp/smie.el (smie-bnf-classify): New function.
4502         (smie-bnf-precedence-table): Use it to remember the closers/openers.
4503         (smie-merge-prec2s): Handle those new entries.
4504         (smie-prec2-levels): Only set precedence to nil for actual
4505         openers/closers.
4506         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4507         that is now unnecessary.
4509 2010-10-07  Miles Bader  <miles@gnu.org>
4511         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4513 2010-10-07  Glenn Morris  <rgm@gnu.org>
4515         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4516         (mail-position-on-field): Remove declarations.
4517         (mail-position-on-field): Autoload it.
4518         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4519         and mail-header-end.  Don't require sendmail.
4521         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4522         (shadow-mode): New mode.
4523         (shadow-find-file): New button.
4524         (list-load-path-shadows): Use shadow-mode and buttons.
4526         * iimage.el (iimage-version): Remove.
4527         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4528         Turn into defcustoms.
4529         (iimage-mode-map): Give it a doc string.
4531         * calendar/appt.el (appt-activate): Give a warning rather than an error
4532         if there is no diary-file.
4534 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
4536         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4537         Use `tramp-handle-find-backup-file-name'.
4539 2010-10-06  Glenn Morris  <rgm@gnu.org>
4541         * font-core.el (font-lock-defaults-alist): Remove variable.
4542         (font-lock-mode): Doc fix.
4543         (font-lock-default-function): Do not consult font-lock-defaults-alist.
4544         * font-lock.el (font-lock-refresh-defaults): Doc fix.
4545         (font-lock-set-defaults): Doc fix.
4546         Do not consult font-lock-defaults-alist.
4548         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4550         * emacs-lisp/cl.el: No longer provide cl-19.
4552 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
4554         * net/tramp.el (tramp-handle-directory-files-and-attributes)
4555         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4556         New defuns, taken from tramp-smb.el.
4557         (tramp-coding-system-change-eol-conversion)
4558         (tramp-set-process-query-on-exit-flag): Remove.
4560         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4561         (tramp-compat-coding-system-change-eol-conversion)
4562         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4563         from tramp.el.
4565         * net/tramp-gvfs.el:
4566         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4567         by `tramp-compat-set-process-query-on-exit-flag'.
4569         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4570         Use `tramp-handle-directory-files-and-attributes',
4571         `tramp-handle-file-exists-p' and
4572         `tramp-handle-file-newer-than-file-p'.
4573         (tramp-imap-handle-file-exists-p)
4574         (tramp-imap-handle-file-executable-p)
4575         (tramp-imap-handle-file-readable-p)
4576         (tramp-imap-handle-directory-files-and-attributes)
4577         (tramp-imap-handle-file-newer-than-file-p): Remove.
4579         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4580         by `tramp-compat-set-process-query-on-exit-flag' and
4581         `tramp-coding-system-change-eol-conversion' by
4582         `tramp-compat-coding-system-change-eol-conversion'.
4584         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4585         Use `tramp-handle-directory-files-and-attributes',
4586         `tramp-handle-file-exists-p' and
4587         `tramp-handle-file-newer-than-file-p'.
4588         (tramp-smb-handle-directory-files-and-attributes)
4589         (tramp-smb-handle-file-exists-p)
4590         (tramp-smb-handle-file-newer-than-file-p): Remove.
4591         (tramp-smb-maybe-open-connection):
4592         Replace `tramp-set-process-query-on-exit-flag' by
4593         `tramp-compat-set-process-query-on-exit-flag'.
4595 2010-10-05  Glenn Morris  <rgm@gnu.org>
4597         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4599 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
4601         Continue reorganization of load dependencies.  (Bug#7156)
4603         * net/tramp.el (tramp-handle-file-local-copy-hook)
4604         (tramp-delete-temp-file-function): Move down.
4605         (tramp-exists-file-name-handler): Move up.
4606         (tramp-register-file-name-handlers): Simplify autoload.
4607         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4608         (tramp-handle-directory-files, tramp-handle-dired-uncache)
4609         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4610         (tramp-handle-file-name-completion)
4611         (tramp-handle-file-name-directory)
4612         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4613         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4614         (tramp-handle-find-backup-file-name)
4615         (tramp-handle-insert-file-contents, tramp-handle-load)
4616         (tramp-handle-substitute-in-file-name)
4617         (tramp-handle-unhandled-file-name-directory)
4618         (tramp-mode-string-to-int, tramp-local-host-p)
4619         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4621         * net/tramp-gvfs.el (top):
4622         * net/tramp-smb.el (top): Do not require 'tramp-sh.
4624         * net/tramp-sh.el (all): Move several objects to tramp.el, see
4625         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4627 2010-10-04  Glenn Morris  <rgm@gnu.org>
4629         * calendar/appt.el (appt-add): Ensure reminders are enabled.
4630         (appt-activate): Give status messages.
4632 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4634         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
4635         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4636         `gnutls-negotiate' (formerly `starttls-negotiate').
4637         Remove trivial wrapper `starttls-open-stream'.
4639 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
4641         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4642         log-outgoing commands.
4643         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4644         to create a buffer local revert-buffer-function variable.
4645         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4646         revert-buffer-function lambda.
4648 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4650         * net/gnutls.el (starttls-negotiate): Use the plist interface to
4651         `gnutls-boot'.  Make TYPE the only required parameter.
4652         Allow TRUSTFILES and KEYFILES to be lists.
4653         (open-ssl-stream): Use it.
4655 2010-10-03  Glenn Morris  <rgm@gnu.org>
4657         * subr.el (directory-sep-char): Remove obsolete variable.
4658         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4659         it is "necessary".
4661         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4662         * vc/vc.el (vc-static-header-alist): Doc fix.
4663         * vc/vc-cvs.el (vc-cvs-header):
4664         * vc/vc-rcs.el (vc-rcs-header):
4665         * vc/vc-sccs.el (vc-sccs-header):
4666         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4667         * obsolete/vc-mcvs.el (vc-mcvs-header):
4668         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4669         on XEmacs.
4671 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4673         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4674         Remove obsolete use of binary-overwrite-mode (Bug#7001).
4676 2010-10-03  Glenn Morris  <rgm@gnu.org>
4678         * obsolete/x-menu.el: Remove file, obsolete since 21.1
4680         * textmodes/rst.el (rst-font-lock-keywords-function):
4681         Drop Emacs 20 code.
4683         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4685         * printing.el: Drop Emacs 20 code.
4687         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4688         without having used appt.el already).
4690         * subr.el (make-local-hook): Remove function obsolete since 21.1.
4691         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4692         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4693         XEmacs.
4694         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4695         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4697         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4698         (charset-width, find-charset-region, chars-in-region, forward-point)
4699         (encode-coding-string, coding-system-p, ccl-execute-on-string)
4700         (define-ccl-program, multibyte-string-p, string-make-multibyte):
4701         Remove compatibility cruft (none of these are used by ps*.el).
4703 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4705         * subr.el (booleanp): Return t instead of a list (Bug#7086).
4707 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4709         * server.el (server-process-filter, server-return-error):
4710         Give emacsclient time to shut down after receiving an error string.
4712 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
4714         * files.el (remote-file-name-inhibit-cache): New defcustom.
4716         * time.el (display-time-file-nonempty-p):
4717         Use `remote-file-name-inhibit-cache'.
4719         * net/tramp.el (tramp-completion-reread-directory-timeout):
4720         Fix docstring.
4722         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4723         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4724         `remote-file-name-inhibit-cache'.  Check also for an integer
4725         value.  Add/increase counter when `tramp-verbose' >= 10.
4726         (tramp-set-file-property): Add/increase counter when
4727         `tramp-verbose' >= 10.
4729         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4730         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4731         (tramp-bug): Set tramp-autoload cookie.  Report all interned
4732         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
4733         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
4734         characters only in strings.
4736         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4737         to backward compatibility.
4739         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4740         (tramp-handle-file-name-all-completions)
4741         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4742         (tramp-open-connection-setup-interactive-shell):
4743         Call `tramp-cleanup-connection' directly.
4745 2010-10-02  Glenn Morris  <rgm@gnu.org>
4747         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4749         * subr.el (char-bytes): Remove obsolete function.
4751         * isearch.el (isearch-return-char): Remove obsolete function.
4753         * mouse.el: No longer provide mldrag.
4754         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4755         Remove obsolete aliases.
4757         * comint.el (comint-kill-output): Remove obsolete alias.
4759         * composite.el (decompose-composite-char): Remove obsolete function.
4760         * ps-def.el (decompose-composite-char): Remove unused function.
4762         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4764         * outline.el (outline-visible): Remove obsolete function.
4766         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4767         * faces.el (internal-find-face, internal-get-face)
4768         (frame-update-faces, frame-update-face-colors)
4769         (x-frob-font-weight, x-frob-font-slant)
4770         (internal-frob-font-weight, internal-frob-font-slant)
4771         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4772         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4773         (x-make-font-bold-italic): Remove functions and aliases, obsolete
4774         since Emacs 21.1.
4775         * emulation/viper-util.el (viper-get-face):
4776         * obsolete/lucid.el (find-face, get-face): Use facep.
4777         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4778         Remove unused functions.
4779         * vc/ediff-util.el (ediff-submit-report): Doc fix.
4781         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4782         delete tempfile if interrupted during compilation.
4784 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4786         * net/tls.el (tls-starttls-switches): Give up on using starttls with
4787         gnutls-cli.
4788         (tls-program): Add --insecure to be consistent with the defaults from
4789         openssl s_client.  Now all three commands are insecure.
4791 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
4793         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4794         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4795         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4797 2010-10-01  Glenn Morris  <rgm@gnu.org>
4799         * obsolete/sc.el: Remove file.
4801         * files.el (temporary-file-directory): On darwin, also try
4802         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4804 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
4806         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4807         Let's not break compatibility gratuitously, shall we?
4809 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4811         * net/tls.el (tls-starttls-switches): New variable.
4812         (tls-find-starttls-argument): Use it.
4813         (open-tls-stream): Ditto.
4815         * net/netrc.el (netrc-credentials): Return the value of the "default"
4816         entry.
4817         (netrc-machine): Ditto.
4819 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
4821         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4823 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
4825         * server.el (server-start): Don't write pid to the authentication file.
4826         (server-create-tty-frame): Don't send pid.
4827         (server-process-filter): Send pid at the start of every connection.
4829 2010-09-30  Glenn Morris  <rgm@gnu.org>
4831         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4832         (show-all-diary-entries): Remove obsolete function aliases.
4834         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4835         Remove options, obsolete since 22.1.
4836         (appt-display-format, appt-display-message):
4837         Remove backwards-compatibility code.
4838         (appt-check): No longer check appt-issue-message.
4839         (appt-make-list): No longer autoload it.  Doc fix.  No longer
4840         activate the package.
4842 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4844         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4845         (starttls-negotiate): Just call boot, and let the handshake be
4846         triggered from the read loop.
4848 2010-09-29  Glenn Morris  <rgm@gnu.org>
4850         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4851         not displaying the diary.
4852         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4853         * calendar/appt.el (appt-check): No longer need to kill diary.
4855         * calendar/diary-lib.el (diary-list-entries): Move the
4856         "Preparing..." message entirely here.
4857         (diary-simple-display, diary-fancy-display): Move "Preparing..."
4858         messages to diary-list-entries.
4859         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4860         diary-display-function.
4862         * calendar/diary-lib.el (diary-include-other-diary-files):
4863         Trap some recursive includes.
4865         * calendar/appt.el (appt-activate): Check diary file.
4867 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
4869         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4870         construction.
4872         * calendar/time-date.el: No need to require cl for Emacs 21.
4874 2010-09-28  Glenn Morris  <rgm@gnu.org>
4876         * calendar/appt.el (appt-check): Minor simplification.
4878 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
4880         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4881         citation prefix.
4883 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
4885         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4886         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
4888 2010-09-27  Kenichi Handa  <handa@m17n.org>
4890         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4891         "ustar" format.
4893 2010-09-27  Kenichi Handa  <handa@m17n.org>
4895         * international/mule.el (define-coding-system): Docstring fixed.
4897         * international/mule-diag.el (describe-character-set): Use princ
4898         with proper print-length and print-level instead of insert.
4900 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
4902         * window.el (walk-windows): Doc fix (bug#7105).
4904 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4906         * emacs-lisp/float-sup.el (e): Remove.
4908 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
4910         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4911         variable.
4912         (starttls-negotiate): Use it.
4914 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4916         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4917         back.
4919 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4921         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4923 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4925         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4927         * net/netrc.el (netrc-store-data): New function.
4929 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
4931         * net/gnutls.el: GnuTLS glue code to set up a connection.
4933 2010-09-25  Julien Danjou  <julien@danjou.info>
4935         * notifications.el: Call dbus-register-signal only if it is bound.
4937 2010-09-25  Glenn Morris  <rgm@gnu.org>
4939         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4940         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4941         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4942         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4943         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4944         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4945         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4946         * eshell/esh-util.el, eshell/esh-var.el:
4947         Remove leading `*' from docs of faces and defcustoms.
4949 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
4951         * eshell/em-ls.el (eshell-ls-archive-regexp):
4952         * eshell/esh-util.el (eshell-tar-regexp):
4953         * ibuffer.el (ibuffer-compressed-file-name-regexp):
4954         * info.el (Info-suffix-list):
4955         * international/mule.el (auto-coding-alist):
4956         * woman.el (woman-file-regexp, woman-file-compression-regexp):
4957         * progmodes/etags.el (tags-compression-info-list):
4958         Support xz compression.
4960 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
4962         * files.el (get-free-disk-space): Don't assume the "df" output
4963         columns line up (Bug#6995).
4965 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4967         * finder.el (finder-unknown-keywords):
4968         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4969         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4971 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4973         * server.el (server-start): Revert part of 2010-08-08 change.  Using
4974         address 127.0.0.1 for local host is now done in Fmake_network_process.
4976 2010-09-24  Glenn Morris  <rgm@gnu.org>
4978         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4979         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4980         * textmodes/css-mode.el, textmodes/dns-mode.el:
4981         Move autoloaded auto-mode-alist entries to files.el.
4982         * files.el (auto-mode-alist): Move entries here.
4984 2010-09-23  Glenn Morris  <rgm@gnu.org>
4986         * isearch.el (isearch-lazy-highlight-cleanup)
4987         (isearch-lazy-highlight-initial-delay)
4988         (isearch-lazy-highlight-interval)
4989         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4990         * net/net-utils.el (ipconfig-program-options):
4991         Move aliases to options before the associated definitions.
4993 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4995         * newcomment.el (comment-normalize-vars): Better test validity of
4996         comment-end-skip.
4998 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5000         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5001         (float-e): New name for `e'.
5002         (degrees-to-radians, radians-to-degrees):
5003         * calendar/solar.el (solar-longitude):
5004         * calculator.el (calculator-registers, calculator-funcall):
5005         * textmodes/artist.el (artist-spray-random-points):
5006         * play/bubbles.el (bubbles--initialize-images): Use new names.
5008 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
5010         Update to CEDET 1.0's version of EIEIO.
5012         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5013         New function.
5014         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5015         (eieio-default-eval-maybe): Eval val instead of unquoting only.
5016         (class-precedence-list): If class is nil, return nil.
5017         (eieio-generic-call): If class of first input arg is nil, don't
5018         look up static methods, and do check for primary methods.
5019         (initialize-instance): See if the default needs to be evaluated
5020         during the constructor.
5021         (eieio-perform-slot-validation-for-default): Don't do the check
5022         for values that will eventually be evaluated.
5023         (eieio-eval-default-p): New function.
5024         (eieio-default-eval-maybe): Use it.
5026 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5028         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5029         method-invocation-order.
5030         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5031         (eieio-class-precedence-dfs): Compute class precedence list using
5032         dfs algorithm.
5033         (eieio-class-precedence-bfs): Compute class precedence list using
5034         bfs algorithm.
5035         (eieio-class-precedence-c3): Compute class precedence list using
5036         c3 algorithm.
5037         (class-precedence-list): New function.
5038         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5039         (inconsistent-class-hierarchy): New error symbol.
5040         (call-next-method): Stow the replacement argument list for future
5041         call-next-method invocations.
5043 2010-09-23  Glenn Morris  <rgm@gnu.org>
5045         * calendar/appt.el (appt-check): If not displaying the diary,
5046         use (diary 1) to only get the entries we need.
5047         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5048         that it is in day order.  (Bug#7019)
5050         * calendar/appt.el (appt-check): Rather than showing the diary,
5051         just turn off invisible display, and only if needed.
5053         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
5055 2010-09-23  Glenn Morris  <rgm@gnu.org>
5057         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5058         (byte-compile-defvar, byte-compile-cl-warn):
5059         Start warnings with lower-case, like the majority.
5061         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5063         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
5065         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5066         * files.el (auto-mode-alist): Move ld-script entries here, further down
5067         the list.
5069         * vc/add-log.el: Don't require timezone when compiling.
5070         (timezone-make-date-sortable): Autoload it.
5071         (change-log-sortable-date-at): Don't require timezone.
5072         Use `ignore-errors'.
5074         * comint.el (comint-use-prompt-regexp-instead-of-fields):
5075         Move alias before definition, so it does not need autoloading.
5077         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5078         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5079         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5080         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5081         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5082         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5083         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5084         * textmodes/tex-mode.el, textmodes/two-column.el:
5085         Remove leading `*' from docs of defcustoms etc.
5087 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
5089         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5091 2010-09-22  Dan Christensen  <jdc@uwo.ca>
5093         * calendar/time-date.el (date-to-time): Try using parse-time-string
5094         first before using the slower timezone-make-date-arpa-standard.
5096 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
5098         * calendar/time-date.el (format-seconds): Comment fix.
5100 2010-09-22  Glenn Morris  <rgm@gnu.org>
5102         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5103         is not automatically buffer-local.
5105 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5107         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5108         (smie-indent-comment): Be more careful with comment-start-skip.
5109         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5110         (smie-indent-functions): Use them.
5112 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
5114         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5116 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
5118         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5119         tool-bar-position.  Don't modify frame parameters here.
5120         (menu-bar-options-save): Add tool-bar-position.
5122         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5124 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5126         * textmodes/reftex-parse.el (reftex-what-macro)
5127         (reftex-context-substring): Let-bind forward-sexp-function to nil
5128         since we don't need/want to treat \begin...\end as a block (bug#7053).
5130         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5132         * simple.el (blink-matching-open): Use syntax-class.
5134         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5135         Set invisibility spec for pascal's outline mode.
5136         (pascal-outline-change): Clean up calling convention.
5137         (pascal-show-all, pascal-hide-other-defuns): Update callers.
5139         * progmodes/prolog.el (prolog-smie-forward-token)
5140         (prolog-smie-backward-token): New functions.
5141         (prolog-mode-variables): Use them to parse "!," correctly.
5142         Set up smie-blink-matching for ".".
5144         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5145         and `end'.
5146         (ispell-region, ispell-process-line): Update users.
5148         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5149         point-min==1.
5151         * textmodes/ispell.el: Fix commenting convention.
5152         (ispell-parse-output): Simplify, use push.
5153         (ispell-region): Use match-string-no-properties.
5154         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5155         (ispell-minor-mode): Use define-minor-mode.
5156         (ispell-message): Remove unused var `skip-regexp'.
5157         (ispell-add-per-file-word-list): Use dynamic let-binding.
5158         Try and use the proper comment marker.
5160         * mail/sendmail.el: Fix commenting convention.
5161         (sendmail-send-it): Use line-beginning-position.
5163         * help-fns.el (describe-variable): Add original value, if applicable.
5165 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
5167         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5169         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5171 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5173         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5174         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5175         (smie-prec2-levels): Use them to better diagnose precedence cycles.
5176         (smie-blink-matching-check): Don't signal a mismatch if car is t.
5177         (smie-blink-matching-open): Rewrite to remove assumptions, so that
5178         something like "." can also be a closer.
5179         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5180         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5181         Rename internal functions to use "--".  Update callers.
5183         * frame.el (make-frame-names-alist): Don't list frames on other displays.
5185         * fringe.el (fringe-styles): New var.
5186         (fringe-mode, fringe-query-style): Use it.
5188 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
5190         * progmodes/sql.el: Version 2.8
5191         (sql-login-params): Update widget structure; changes still needed.
5192         (sql-product-alist): Add :list-all and :list-table features for
5193         SQLite, Postgres and MySQL products.
5194         (sql-redirect): Handle default value.
5195         (sql-execute, sql-execute-feature): New functions.
5196         (sql-read-table-name): New function.
5197         (sql-list-all, sql-list-table): New functions.  User API.
5198         (sql-mode-map, sql-interactive-mode-map): Add key definitions
5199         for above functions.
5200         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5201         for above functions.
5202         (sql-postgres-login-params): Add user and database defaults.
5203         (sql-buffer-live-p): Bug fix.
5204         (sql-product-history): New variable.
5205         (sql-read-product): New function. Use it.
5206         (sql-set-product, sql-product-interactive): Use it.
5207         (sql-connection-history): New variable.
5208         (sql-read-connection): New function.  Use it.
5209         (sql-connect): New function.
5210         (sql-for-each-login): Redesign function interface.
5211         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5212         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
5213         (sql-comint): Check for program.  Existing live buffer.
5214         (sql-comint-postgres): Add port parameter.
5216 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5218         * emacs-lisp/warnings.el: Fix commenting convention.
5219         (display-warning): Use special mode and make the buffer read-only.
5221 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
5223         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5224         empty string when it follows a repeated or optional pattern.
5226 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5228         * indent.el (indent-according-to-mode): Apply syntax-propertize.
5229         (indent-region): Use indent-according-to-mode.
5231 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
5233         * fringe.el (fringe-mode): Doc fix.
5235 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
5237         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5238         refreshing the preview buffer.
5240 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5242         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5243         (latex-syntax-propertize-rules): New consts; replace
5244         tex-font-lock-syntactic-keywords.
5245         (tex-env-mark, latex-env-before-change): New functions.
5246         (latex-electric-env-pair-mode): New minor mode.
5247         (tex-font-lock-verb): Change arguments; do move point.
5248         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5249         representation as a form of comment.
5250         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5251         (doctex-syntax-propertize-rules): New const; replaces
5252         doctex-font-lock-syntactic-keywords.
5253         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5255         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5256         (fortran-make-syntax-propertize-function): New function; replaces
5257         fortran-font-lock-syntactic-keywords.
5258         (fortran-mode): Use it.
5259         (fortran-line-length): Use it.  Improve interactive spec.
5261         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5262         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
5263         when adding surrounding \(..\).
5265         * progmodes/js.el (js-mode): Fix last change (bug#7054).
5267 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5269         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5270         Use with-current-buffer.
5272         * isearch.el (isearch-face): Rename from `isearch'.
5273         (isearch-highlight): Use new name.
5275 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
5277         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5278         5, for `half' width fringes.  (Bug#6933)
5280 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5282         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5283         (byte-compile-defvar): "foo/bar" does not lack a prefix.
5285         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5287 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
5289         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5290         in calculating new frame position.  Add more space between new and
5291         parent on the left (Bug#7048).
5293 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
5295         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5296         defmacro.
5298 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
5300         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5302         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5303         obsolete alias for x-selection-value.
5305         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5307 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
5309         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5310         cookie.
5312 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
5314         * net/tramp-compat.el (tramp-compat-with-temp-message)
5315         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5316         (tramp-compat-process-put): New defuns.
5318         * net/tramp.el (top):
5319         * net/tramp-gvfs.el (top):
5320         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5322         * net/tramp.el (tramp-progress-reporter-update):
5323         Use `tramp-compat-funcall'.
5325         * net/tramp.el (tramp-process-actions):
5326         * net/tramp-gvfs.el (tramp-handle-vc-registered):
5327         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5328         (tramp-get-remote-stat, tramp-get-remote-readlink):
5329         Use `tramp-compat-with-temp-message'.
5331         * net/tramp-sh.el (top): Require 'cl.
5332         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5333         (tramp-open-connection-setup-interactive-shell):
5334         Use `tramp-compat-process-put'.
5336 2010-09-15  Alan Mackenzie  <acm@muc.de>
5338         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5339         indentation.
5340         (c-forward-<>-arglist-recur): Fix an infinite recursion.
5342 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5344         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5345         `lexical' for warnings related to lexical scoping.
5346         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5347         global vars which don't have a prefix and could hence affect lexical
5348         scoping in unrelated files.
5350 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5352         * net/imap.el: Revert back to version
5353         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5354         seem problematic.
5356 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
5358         * obsolete/old-whitespace.el (whitespace-unload-function):
5359         Explicitly pass `obarray' to `unintern' to avoid a warning.
5361 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5363         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5364         Add `when' argument.  Update callers.
5366         * subr.el (unintern): Declare the obarray arg mandatory.
5368 2010-09-14  Glenn Morris  <rgm@gnu.org>
5370         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5371         Doc fixes.
5373         * calendar/diary-lib.el (diary-included-files): New variable.
5374         (diary-list-entries): Maybe initialize diary-included-files.
5375         (diary-include-other-diary-files): Append to diary-included-files.
5376         * calendar/appt.el (appt-update-list): Also check the members of
5377         diary-included-files.  (Bug#6999)
5378         (appt-check): Doc fix.
5380 2010-09-14  David Reitter  <david.reitter@gmail.com>
5382         * simple.el (line-move-visual): Do not truncate goal column to
5383         integer size.  (Bug#7020)
5385 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5387         * repeat.el (repeat): Allow repeating when the last event is a click.
5388         Suggested by Drew Adams (bug#6256).
5390 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
5392         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5393         Replace setting HGRCPATH to "" by some less invasive --config options.
5395 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5397         * font-lock.el (font-lock-beginning-of-syntax-function):
5398         Mark as obsolete.
5400 2010-09-14  Glenn Morris  <rgm@gnu.org>
5402         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5403         and tool-bar modes.  (Bug#6211)
5404         (menu-bar-mode): Move setting of standard-value after the
5405         minor-mode definition, otherwise it seems to have no effect.
5407 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
5409         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5410         Fix typo.  (Bug#6976)
5412 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5414         * whitespace.el: Allow cleaning up blanks without blank
5415         visualization (Bug#6651).  Adjust help window for
5416         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
5417         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
5418         (whitespace-style): Add new value 'face.  Adjust docstring.
5419         (whitespace-space, whitespace-hspace, whitespace-tab):
5420         Adjust foreground property face.
5421         (whitespace-line-column): Adjust docstring and type declaration.
5422         (whitespace-style-value-list, whitespace-toggle-option-alist)
5423         (whitespace-help-text): Adjust const initialization.
5424         (whitespace-toggle-options, global-whitespace-toggle-options):
5425         Adjust docstring.
5426         (whitespace-display-window, whitespace-interactive-char)
5427         (whitespace-style-face-p, whitespace-color-on): Adjust code.
5428         (whitespace-help-scroll): New fun.
5430 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5432         * calendar/time-date.el (format-seconds): Comment fix.
5434 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
5436         * progmodes/sql.el: Version 2.7.
5437         (sql-buffer-live-p): Improve detection.
5438         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5439         (sql-set-sqli-buffer): Use it.
5440         (sql-product-interactive): Run `sql-set-sqli-hook'.
5441         (sql-rename-buffer): Code cleanup.
5442         (sql-redirect, sql-redirect-value): New functions.  More to come.
5444 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
5446         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.
5447         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5448         (TRAMP_SRC): New macro.
5449         ($(lisp)/net/tramp-loaddefs.el): New target.
5451 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
5453         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
5455         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
5457         * net/tramp.el (top): Don't show loading message.  Require just
5458         'tramp-compat, everything else is required there.
5459         Use `ignore-errors' where appropriate.
5460         (tramp-inline-compress-start-size, tramp-copy-size-limit)
5461         (tramp-terminal-type, tramp-end-of-output)
5462         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5463         (tramp-completion-function-alist-ssh)
5464         (tramp-completion-function-alist-telnet)
5465         (tramp-completion-function-alist-su)
5466         (tramp-completion-function-alist-putty, tramp-remote-path)
5467         (tramp-remote-process-environment, tramp-sh-extra-args)
5468         (tramp-actions-before-shell, tramp-uudecode)
5469         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5470         (tramp-perl-file-attributes)
5471         (tramp-perl-directory-files-and-attributes)
5472         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5473         (tramp-perl-encode, tramp-perl-decode)
5474         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5475         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5476         (tramp-handle-make-symbolic-link, tramp-handle-load)
5477         (tramp-handle-file-name-as-directory)
5478         (tramp-handle-file-name-directory)
5479         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5480         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5481         (tramp-do-file-attributes-with-ls)
5482         (tramp-do-file-attributes-with-perl)
5483         (tramp-do-file-attributes-with-stat)
5484         (tramp-handle-set-visited-file-modtime)
5485         (tramp-handle-verify-visited-file-modtime)
5486         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5487         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5488         (tramp-handle-file-selinux-context)
5489         (tramp-handle-set-file-selinux-context)
5490         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5491         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5492         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5493         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5494         (tramp-handle-file-ownership-preserved-p)
5495         (tramp-handle-directory-file-name, tramp-handle-directory-files)
5496         (tramp-handle-directory-files-and-attributes)
5497         (tramp-do-directory-files-and-attributes-with-perl)
5498         (tramp-do-directory-files-and-attributes-with-stat)
5499         (tramp-handle-file-name-all-completions)
5500         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5501         (tramp-handle-copy-file, tramp-handle-copy-directory)
5502         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5503         (tramp-do-copy-or-rename-file-via-buffer)
5504         (tramp-do-copy-or-rename-file-directly)
5505         (tramp-do-copy-or-rename-file-out-of-band)
5506         (tramp-handle-make-directory, tramp-handle-delete-directory)
5507         (tramp-handle-delete-file)
5508         (tramp-handle-dired-recursive-delete-directory)
5509         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5510         (tramp-handle-insert-directory)
5511         (tramp-handle-unhandled-file-name-directory)
5512         (tramp-handle-expand-file-name)
5513         (tramp-handle-substitute-in-file-name)
5514         (tramp-handle-executable-find, tramp-process-sentinel)
5515         (tramp-handle-start-file-process, tramp-handle-process-file)
5516         (tramp-handle-call-process-region, tramp-handle-shell-command)
5517         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5518         (tramp-handle-insert-file-contents)
5519         (tramp-handle-insert-file-contents-literally)
5520         (tramp-handle-find-backup-file-name)
5521         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5522         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5523         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5524         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5525         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5526         (tramp-find-file-exists-command, tramp-open-shell)
5527         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5528         (tramp-open-connection-setup-interactive-shell)
5529         (tramp-local-coding-commands, tramp-remote-coding-commands)
5530         (tramp-find-inline-encoding, tramp-call-local-coding-command)
5531         (tramp-inline-compress-commands, tramp-find-inline-compress)
5532         (tramp-compute-multi-hops, tramp-maybe-open-connection)
5533         (tramp-send-command, tramp-wait-for-output)
5534         (tramp-send-command-and-check, tramp-barf-unless-okay)
5535         (tramp-send-command-and-read, tramp-mode-string-to-int)
5536         (tramp-convert-file-attributes, tramp-check-cached-permissions)
5537         (tramp-file-mode-from-int, tramp-file-mode-permissions)
5538         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5539         (tramp-method-out-of-band-p, tramp-local-host-p)
5540         (tramp-get-remote-path, tramp-get-remote-tmpdir)
5541         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5542         (tramp-get-test-command, tramp-get-test-nt-command)
5543         (tramp-get-file-exists-command, tramp-get-remote-ln)
5544         (tramp-get-remote-perl, tramp-get-remote-stat)
5545         (tramp-get-remote-readlink, tramp-get-remote-trash)
5546         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5547         (tramp-get-local-uid, tramp-get-local-gid)
5548         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5549         tramp-sh.el.
5550         (tramp-methods, tramp-default-method-alist)
5551         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5552         Move initialization to tramp-sh.el.
5553         (tramp-temp-name-prefix): Make it a defconst.
5554         (tramp-dissect-file-name): Don't check anymore for multi-hop
5555         methods.
5556         (tramp-debug-outline-regexp): Add a docstring.
5557         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5558         (tramp-get-debug-buffer): Use it.
5560         * net/tramp-cache.el (top): Set tramp-autoload cookie for
5561         initialization forms.
5562         (tramp-set-connection-property): Don't protect `tramp-message'
5563         call, it isn't necessary any longer.
5564         (tramp-dump-connection-properties): Use `ignore-errors'.
5566         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5567         'password-cache and 'auth-source.
5569         * net/tramp-gvfs.el (top):
5570         * net/tramp-smb.el (top): Require 'tramp-sh.
5572         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5574         * net/tramp-sh.el: New file, derived from tramp.el.
5575         (top): Initialize `tramp-methods', `tramp-default-method-alist',
5576         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5577         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5578         Use `ignore-errors' where appropriate.
5579         (tramp-sh-file-name-handler-alist): Rename from
5580         `tramp-file-name-handler-alist'.
5581         (tramp-send-command-and-check): Return t or nil.  Remove all
5582         `zerop' checks, where called.
5583         (tramp-handle-set-file-modes)
5584         (tramp-do-copy-or-rename-file-directly)
5585         (tramp-handle-delete-directory, tramp-handle-delete-file)
5586         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5587         (tramp-sh-file-name-handler, tramp-send-command-and-check)
5588         (tramp-get-remote-ln): Set tramp-autoload cookie.
5590         * net/tramp-fish.el: Remove file.
5592 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
5594         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5595         buffer-file-name to avoid file-locking.  (Bug#7026)
5597 2010-09-13  Julien Danjou  <julien@danjou.info>
5599         * notifications.el (notifications-notify): Add support for
5600         image-path and sound-name.
5601         (notifications-specification-version): Add this variable.
5603 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5605         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5607 2010-09-12  Leo  <sdl.web@gmail.com>
5609         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5610         (rcirc-completion-start): New variables.
5611         (rcirc-nick-completions): Rename to rcirc-completions.
5612         (rcirc-nick-completion-start-offset): Delete.
5613         (rcirc-completion-at-point): New function for constructing
5614         completion data for both nicks and irc commands.  Add to
5615         completion-at-point-functions in rcirc mode.
5616         (rcirc-complete): Rename from rcirc-nick-complete; use
5617         rcirc-completion-at-point.
5618         (defun-rcirc-command): Update rcirc-client-commands.
5620 2010-09-11  Glenn Morris  <rgm@gnu.org>
5622         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5623         atomically, to avoid parallel build errors.  (Bug#4196)
5625 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
5627         * progmodes/sql.el: Version 2.6
5628         (sql-dialect): Synonym for "sql-product".
5629         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5630         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5631         Set "sql-buffer" to buffer name not buffer object so multiple sql
5632         interactive buffers work properly.  Reverts misguided changes in
5633         earlier work.
5634         (sql-comint): Make sure different buffer name is used if "*SQL*"
5635         buffer is for a different product.
5636         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5637         login param.
5638         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5639         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5640         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5641         Accept new buffer name or prompt for one.
5642         (sql-port): Default to zero.
5643         (sql-comint-mysql): Handle "sql-port" as a numeric.
5644         (sql-port-history): Delete unused variable.
5645         (sql-get-login): Default "sql-port" to a number.
5646         (sql-product-alist): Correct Postgres prompt and terminator regexp.
5647         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5648         "sqlite3" executables.
5649         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5650         (sql-buffer-live-p): New function.
5651         (sql-mode-menu, sql-send-string): Use it.
5652         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5653         syntax pattern.
5654         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5655         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5657 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5659         * net/netrc.el (netrc-credentials): New convenience function.
5661 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5663         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5664         to replace texinfo-font-lock-syntactic-keywords.
5665         (texinfo-mode): Use it.
5667         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5668         Use syntax-propertize-function.
5670         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5671         replace sgml-font-lock-syntactic-keywords.
5672         (sgml-mode): Use it.
5674         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5675         since we don't use it.
5677         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5679         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5680         if available.
5681         (vhdl-fontify-buffer): Adjust.
5683         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5684         replace tcl-font-lock-syntactic-keywords.
5685         (tcl-mode): Use it.
5687         * progmodes/simula.el (simula-syntax-propertize-function): New var to
5688         replace simula-font-lock-syntactic-keywords.
5689         (simula-mode): Use it.
5691         * progmodes/sh-script.el (sh-st-symbol): Remove.
5692         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5693         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5694         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5695         (sh-font-lock-paren): Set syntax-multiline.
5696         (sh-font-lock-syntactic-keywords): Remove.
5697         (sh-syntax-propertize-function): New function to replace it.
5698         (sh-mode): Use it.
5700         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5701         Define while compiling.
5702         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5703         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5704         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5705         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5706         (ruby-here-doc-end-syntax): Only define when
5707         syntax-propertize is not available.
5708         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5709         New functions.
5710         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5711         (electric-indent-chars): Silence bytecompiler.
5712         (ruby-mode): Use prog-mode, syntax-propertize-function, and
5713         electric-indent-chars.
5715         * progmodes/python.el (python-syntax-propertize-function): New var to
5716         replace python-font-lock-syntactic-keywords.
5717         (python-mode): Use it.
5718         (python-quote-syntax): Simplify and adjust to new use.
5720         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5721         replace perl-font-lock-syntactic-keywords.
5722         (perl-syntax-propertize-special-constructs): New fun to replace
5723         perl-font-lock-special-syntactic-constructs.
5724         (perl-font-lock-syntactic-face-function): New fun.
5725         (perl-mode): Use it.
5727         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5728         to replace octave-font-lock-close-quotes.
5729         (octave-syntax-propertize-function): New function to replace
5730         octave-font-lock-syntactic-keywords.
5731         (octave-mode): Use it.
5733         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5734         replaces mixal-font-lock-syntactic-keywords.
5735         (mixal-mode): Use it.
5737         * progmodes/make-mode.el (makefile-syntax-propertize-function):
5738         New var; replaces makefile-font-lock-syntactic-keywords.
5739         (makefile-mode): Use it.
5740         (makefile-imake-mode): Adjust.
5742         * progmodes/js.el (js--regexp-literal): Define while compiling.
5743         (js-syntax-propertize-function): New var; replaces
5744         js-font-lock-syntactic-keywords.
5745         (js-mode): Use it.
5747         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5748         replaces gdb-script-font-lock-syntactic-keywords.
5749         (gdb-script-mode): Use it.
5751         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5752         (fortran--font-lock-syntactic-keywords): New var.
5753         (fortran-line-length): Update syntax-propertize-function and
5754         fortran--font-lock-syntactic-keywords.
5756         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5758         * progmodes/cfengine.el (cfengine-mode):
5759         Use syntax-propertize-function.
5760         (cfengine-font-lock-syntactic-keywords): Remove.
5762         * progmodes/autoconf.el (autoconf-mode):
5763         Use syntax-propertize-function.
5764         (autoconf-font-lock-syntactic-keywords): Remove.
5766         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5767         (ada-after-change-function, ada-initialize-syntax-table-properties)
5768         (ada-handle-syntax-table-properties): Only define when
5769         syntax-propertize is not available.
5770         (ada-mode): Use syntax-propertize-function.
5772         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5773         (font-lock-fontify-syntactic-keywords-region): Move handling of
5774         font-lock-syntactically-fontified to...
5775         (font-lock-default-fontify-region): ...here.
5776         Let syntax-propertize-function take precedence.
5777         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5779         * emacs-lisp/syntax.el (syntax-propertize-function)
5780         (syntax-propertize-chunk-size, syntax-propertize--done)
5781         (syntax-propertize-extend-region-functions): New vars.
5782         (syntax-propertize-wholelines, syntax-propertize-multiline)
5783         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5784         (syntax-propertize): New functions.
5785         (syntax-propertize-rules): New macro.
5786         (syntax-ppss-flush-cache): Set syntax-propertize--done.
5787         (syntax-ppss): Call syntax-propertize.
5789         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5791 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
5793         * textmodes/ispell.el (ispell-init-process): Improve comments.
5794         XEmacs compatibility changes regarding (add-hook) 'local option
5795         and (set-process-query-on-exit-flag).
5797 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
5799         * net/tramp-cache.el (tramp-parse-connection-properties):
5800         Set tramp-autoload cookie.
5802 2010-09-09  Glenn Morris  <rgm@gnu.org>
5804         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5805         (imagemagick-register-types): Doc fix.
5807 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5809         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5811         * progmodes/js.el (require): Require is already "eval-and-compile".
5812         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
5813         (js--re-search-backward): Use js--re-search-forward.
5815         * progmodes/fortran.el (fortran-line-length): Don't recompute
5816         syntactic keywords redundantly a second time.
5818         * progmodes/ada-mode.el: Replace "(set '" with setq.
5819         (ada-mode): Simplify.
5820         (ada-create-case-exception, ada-adjust-case-interactive)
5821         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5822         (ada-search-ignore-string-comment, ada-move-to-start)
5823         (ada-move-to-end): Use with-syntax-table.
5825         * font-lock.el (save-buffer-state): Remove `varlist' arg.
5826         (font-lock-unfontify-region, font-lock-default-fontify-region):
5827         Update usage correspondingly.
5828         (font-lock-fontify-syntactic-keywords-region):
5829         Set parse-sexp-lookup-properties buffer-locally here.
5830         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5832         * simple.el (blink-matching-open): Don't burp if we can't find a match.
5834 2010-09-08  Glenn Morris  <rgm@gnu.org>
5836         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5837         Error if not compiled with -DBYTE_CODE_METER.
5839         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5840         Ignore dir-locals-file.
5842 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5844         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5845         Not a const.
5846         (compilation-error-regexp-alist-alist): Rule out ": " in file names
5847         for the `gnu' messages.
5848         (compilation-set-skip-threshold): New command.
5849         (compilation-start): Use \' rather than $.
5850         (compilation-forget-errors): Use clrhash.
5852 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
5854         * textmodes/ispell.el (ispell-valid-dictionary-list):
5855         Simplify logic.
5857 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
5859         Migrate to Tramp 2.2.  Rearrange load dependencies.
5860         (Bug#1529, Bug#5448, Bug#5705)
5862         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5863         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5864         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5866         * net/tramp.el (top): Remove all other tramp-* loads except
5867         tramp-compat.el.  Remove all changes to tramp-unload-hook for
5868         other tramp-* packages.  Rearrange defun order.  Change calls of
5869         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5870         `tramp-compat-octal-to-decimal' to new function names.
5871         (tramp-terminal-type, tramp-initial-end-of-output)
5872         (tramp-methods, tramp-foreign-file-name-handler-alist)
5873         (tramp-tramp-file-p, tramp-completion-mode-p)
5874         (tramp-send-command-and-check, tramp-get-remote-path)
5875         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5876         (tramp-shell-quote-argument): Set tramp-autoload cookie.
5877         (with-file-property, with-connection-property): Move to
5878         tramp-cache.el.
5879         (tramp-local-call-process, tramp-decimal-to-octal)
5880         (tramp-octal-to-decimal): Move to tramp-compat.el.
5881         (tramp-handle-shell-command): Do not require 'shell.
5882         (tramp-compute-multi-hops): No special handling for tramp-gw-*
5883         symbols.
5884         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5886         * net/tramp-cache.el (top): Require 'tramp.  Add to
5887         `tramp-unload-hook'.
5888         (tramp-cache-data, tramp-get-file-property)
5889         (tramp-set-file-property, tramp-flush-file-property)
5890         (tramp-flush-directory-property, tramp-get-connection-property)
5891         (tramp-set-connection-property, tramp-flush-connection-property)
5892         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5893         cookie.
5894         (with-file-property, with-connection-property): New defuns, moved
5895         from tramp.el.
5896         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5897         macro.
5899         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5900         (tramp-version): Set tramp-autoload cookie.
5902         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
5903         changes to tramp-unload-hook for other tramp-* packages.  Add to
5904         `tramp-unload-hook'.
5905         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5906         (tramp-compat-call-process): New defuns, moved from tramp.el.
5908         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
5909         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5910         Add to `tramp-unload-hook'.  Change call of
5911         `tramp-compat-decimal-to-octal' to new function name.
5912         (tramp-fish-method): Make it a defconst.
5913         (tramp-fish-file-name-p): Make it a defsubst.
5914         (tramp-fish-method, tramp-fish-file-name-handler)
5915         (tramp-fish-file-name-p): Set tramp-autoload cookie.
5917         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5918         `tramp-foreign-file-name-handler-alist'.  Add to
5919         `tramp-unload-hook'.
5920         (tramp-ftp-method): Make it a defconst.
5921         (tramp-ftp-file-name-p): Make it a defsubst.
5922         (tramp-ftp-method, tramp-ftp-file-name-handler)
5923         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5925         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5926         `tramp-foreign-file-name-handler-alist'.  Add to
5927         `tramp-unload-hook'.  Change checks, whether package can be
5928         loaded.
5929         (tramp-gvfs-file-name-p): Make it a defsubst.
5930         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5931         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5932         (tramp-gvfs-handle-file-directory-p): New defun.
5933         (tramp-gvfs-file-name-handler-alist): Use it.
5935         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5936         `tramp-foreign-file-name-handler-alist'.  Add to
5937         `tramp-unload-hook'.
5938         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5939         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5940         defconst.
5941         (tramp-gw-tunnel-method, tramp-gw-socks-method)
5942         (tramp-gw-open-connection): Set tramp-autoload cookie.
5944         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
5945         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5946         Add to `tramp-unload-hook'.  Change checks, whether package can be
5947         loaded.
5948         (tramp-imap-file-name-p): Make it a defsubst.
5949         (tramp-imap-method, tramp-imaps-method)
5950         (tramp-imap-file-name-handler)
5951         (tramp-imap-file-name-p): Set tramp-autoload cookie.
5953         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
5954         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5955         Add to `tramp-unload-hook'.  Change checks, whether package can be
5956         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
5957         function name.
5958         (tramp-smb-tunnel-method): Make it a defconst.
5959         (tramp-smb-file-name-p): Make it a defsubst.
5960         (tramp-smb-method, tramp-smb-file-name-handler)
5961         (tramp-smb-file-name-p): Set tramp-autoload cookie.
5963         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5964         (tramp-uuencode-region): Set tramp-autoload cookie.
5966         * net/trampver.el (top) Add to `tramp-unload-hook'.
5967         (tramp-version, tramp-bug-report-address): Set tramp-autoload
5968         cookie.  Update release number.
5970 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
5972         * textmodes/ispell.el (ispell-start-process): Make sure original
5973         arg list is properly initialized (Bug#6993, Bug#6994).
5975 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
5977         * files.el (directory-abbrev-alist): Use \` as default regexp.
5979         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5980         chars like - or ] (bug#6984).
5981         (rx-any-condense-range): Explode 2-char ranges.
5983 2010-09-06  Glenn Morris  <rgm@gnu.org>
5985         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5987 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5989         * textmodes/bibtex.el:
5990         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5992 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5994         * net/imap.el (imap-message-map): Remove optional buffer parameter,
5995         since no callers use it.
5996         (imap-message-get): Ditto.
5997         (imap-message-put): Ditto.
5998         (imap-mailbox-map): Ditto.
5999         (imap-mailbox-put): Ditto.
6000         (imap-mailbox-get): Ditto.
6001         (imap-mailbox-get): Revert last change for this function.
6003 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6005         * net/imap.el (imap-fetch-safe): Remove function, and alter all
6006         callers to use `imap-fetch' instead.  According to the comments, this
6007         should be safe, since all other IMAP clients use the 1:* syntax.
6008         (imap-enable-exchange-bug-workaround): Remove.
6009         (imap-debug): Remove -- doesn't seem very useful.
6011 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6013         * net/imap.el (imap-log): New convenience function used throughout
6014         instead of repeating the same code all over the place.
6016 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
6018         * mouse.el (mouse-save-then-kill): Save region to kill-ring
6019         when mouse-drag-copy-region is non-nil (Bug#6956).
6021 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
6023         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6024         Improve regexps (Bug#6987).
6025         (dired-sort-toggle): Search more robustly for -t flag.
6027         * files.el (get-free-disk-space): Search more robustly for
6028         "available" column.  Suggested by Ehud Karni
6029         <ehud@unix.mvs.co.il>.
6031 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
6033         * international/uni-bidi.el:
6034         * international/uni-category.el:
6035         * international/uni-combining.el:
6036         * international/uni-decimal.el:
6037         * international/uni-mirrored.el:
6038         * international/uni-name.el: Regenerate.
6040 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6042         * electric.el (electric-indent-post-self-insert-function):
6043         Don't reindent with a sloppy indentation function.
6045         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6046         border case in change-log-mode.
6048 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
6050         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6051         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6052         Recognize leading tab in gcc-include regexp.  Ignore names with
6053         leading "from" or "in" in gnu regexp (Bug#6937).
6055 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6057         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6058         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6059         (ispell-start-process): Avoid setq and simplify logic.
6060         (ispell-init-process): Setup kill-buffer-hook locally when needed.
6061         (kill-buffer-hook): Don't use it globally with code that uses
6062         expand-file-name since that may call kill-buffer via
6063         code_conversion_restore.
6065 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
6067         * emacs-lisp/package.el (package-directory-list): Only call
6068         file-name-nondirectory on a string.
6070 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6072         * emacs-lisp/package.el (package--download-one-archive):
6073         Ensure that archive-contents is valid before saving it.
6074         (package-activate-1, package-mark-obsolete, define-package)
6075         (package-compute-transaction, package-list-maybe-add): Use push.
6077 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6079         Use SMIE's blink-paren for octave-mode.
6080         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6081         Backslashes do not escape single-quotes, single-quotes do.
6082         (octave-block-else-regexp, octave-block-end-regexp)
6083         (octave-block-match-alist): Remove.
6084         (octave-smie-bnf-table): New var, with old content.
6085         (octave-smie-op-levels): Use it.
6086         (octave-smie-closer-alist): New var.
6087         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
6088         (octave-blink-matching-block-open): Remove.
6089         (octave-reindent-then-newline-and-indent, octave-electric-semi)
6090         (octave-electric-space): Let self-insert-command run expand-abbrev and
6091         blink parens.
6093         * electric.el (electricity): New group.
6094         (electric-indent-chars): New var.
6095         (electric-indent-post-self-insert-function): New fun.
6096         (electric-indent-mode): New minor mode.
6097         (electric-pair-skip-self): New custom.
6098         (electric-pair-post-self-insert-function): New function.
6099         (electric-pair-mode): New minor mode.
6101         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6102         calcAlg-blink-matching-open.
6103         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6104         (calc-do-alg-entry): Only touch the part of the keymap that varies.
6105         Use the new blink-matching-check-function.
6107         Provide blink-matching support to SMIE.
6108         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6109         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6110         (smie-blink-matching-check, smie-blink-matching-open): New functions.
6112         * simple.el (newline): Fix last change to properly remove itself from
6113         the hook.
6115 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6117         * simple.el (newline): Eliminate optimization.
6118         Use post-self-insert-hook to set hard-newline and things before
6119         running post-self-insert-hook.
6120         (blink-matching-check-mismatch): New function.
6121         (blink-matching-check-function): New variable.
6122         (blink-matching-open): Use them.
6123         Skip back forward over prefix chars skipped by forward-sexp.
6124         Don't check if the parens are backslash escaped.
6125         (blink-paren-post-self-insert-function): Check backslash escaping here.
6127 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6129         * emacs-lisp/package.el (package-menu-mode-map):
6130         Change package-menu-revert bindings to revert-buffer.
6131         (package-menu-mode): Set revert-buffer-function.
6132         (package-menu-revert): Doc fix.
6134 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
6136         * textmodes/ispell.el (ispell-init-process): Use "~/" as
6137         `default-directory' unless using Ispell per-directory personal
6138         dictionaries and not in a mini-buffer under XEmacs.
6139         (kill-buffer-hook): Do not kill ispell process on exit when
6140         `ispell-process-directory' is "~/".  (Bug#6143)
6142 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
6144         * simple.el (kill-new): Call interprogram-cut-function with only
6145         one argument.
6147         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6148         Remove cut buffer from error message.
6150         * term/x-win.el (x-select-text):
6151         * term/pc-win.el (x-selection-value):
6152         * term/ns-win.el (x-selection-value):
6153         * eshell/em-term.el:
6154         * w32-fns.el (x-get-selection-value):
6155         * mouse-sel.el (mouse-sel-set-selection-function):
6156         * frame.el (display-selections-p): Remove cut-buffer in documentation.
6158         * term/x-win.el: Update documentation for x-last-selected-text-*.
6159         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6160         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6161         (x-select-text): Remove argument PUSH, update documentation.
6162         Remove cut-buffer code.
6163         (x-selection-value-internal): Was previously x-selection-value.
6164         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6165         Update documentation, remove cut-buffer code.
6166         Call x-selection-value-internal.
6167         (x-clipboard-yank): Call x-selection-value-internal.
6168         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6170         * term/pc-win.el (x-last-selected-text):
6171         x-cut-buffer-or-selection-value renamed to x-selection-value
6172         (x-select-text): Remove argument PUSH, update documentation.
6174         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6175         x-cut-buffer-or-selection-value renamed to x-selection-value
6176         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6177         (x-select-text): Remove argument PUSH, update documentation.
6179         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6181         * w32-fns.el (x-last-selected-text):
6182         x-cut-buffer-or-selection-value renamed to x-selection-value.
6183         (x-cut-buffer-max): Remove.
6184         (x-select-text): Remove argument PUSH, update documentation.
6186         * simple.el (interprogram-cut-function): Remove mention of PUSH.
6188         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6190         * mouse-sel.el (mouse-sel-get-selection-function):
6191         x-cut-buffer-or-selection-value renamed to x-selection-value.
6192         (x-select-text): Remove optional push.
6194 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6196         * simple.el (blink-paren-function): Move from C to here.
6197         (blink-paren-post-self-insert-function): New function.
6198         (post-self-insert-hook): Use it.
6200         * emacs-lisp/pcase.el (pcase-split-memq):
6201         Fix overenthusiastic optimisation.
6202         (pcase-u1): Handle the case of a lambda pred.
6204 2010-08-31  Kenichi Handa  <handa@m17n.org>
6206         * international/mule-cmds.el (standard-display-european-internal):
6207         Setup standard-display-table for 8-bit characters by storing 8-bit
6208         characters in the element vector.
6210         * disp-table.el (standard-display-8bit):
6211         Setup standard-display-table for 8-bit characters by storing 8-bit
6212         characters in the element vector.
6213         (standard-display-european): Likewise.
6215 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
6217         * textmodes/nroff-mode.el (nroff-view): New command.
6218         (nroff-mode-map): Bind it to C-c C-c.
6220 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6222         * emacs-lisp/smie.el (smie-down-list): New command.
6224         Remove old indentation and navigation code on octave-mode.
6225         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6226         smie-down-list rather than add a binding for octave-down-block.
6227         (octave-mark-block, octave-blink-matching-block-open):
6228         Rely on forward-sexp-function.
6229         (octave-fill-paragraph): Don't narrow, so you can use
6230         indent-according-to-mode.
6231         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6232         (octave-in-block-p, octave-re-search-forward-kw)
6233         (octave-re-search-backward-kw, octave-indent-calculate)
6234         (octave-end-as-array-index-p, octave-block-end-offset)
6235         (octave-scan-blocks, octave-forward-block, octave-backward-block)
6236         (octave-down-block, octave-backward-up-block, octave-up-block)
6237         (octave-before-magic-comment-p, octave-indent-line): Remove.
6239 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
6241         * emacs-lisp/package.el (package--read-archive-file): Just use
6242         `read', to avoid copying an additional string.
6243         (package-menu-mode): Set header-line-format here.
6244         (package-menu-refresh, package-menu-revert): Signal an error if
6245         not in the Package Menu.
6246         (package-menu-package-list): New var.
6247         (package--generate-package-list): Operate on the current buffer;
6248         don't assume that it is *Packages*, since the user may rename it.
6249         Allow persistent package listings and sort keys using
6250         package-menu-package-list and package-menu-package-sort-key.
6251         (package-menu--version-predicate): Fix version calculation.
6252         (package-menu-sort-by-column): Don't select the window.
6253         (package--list-packages): Create the *Packages* buffer.
6254         Set package-menu-package-list-key.
6255         (list-packages): Sorting by status is now the default.
6256         (package-buffer-info): Use match-string-no-properties.
6257         (define-package): Add a &rest argument for future proofing, but
6258         don't use it yet.
6259         (package-install-from-buffer, package-install-buffer-internal):
6260         Merge into a single function, package-install-from-buffer.
6261         (package-install-file): Change caller.
6263         * finder.el: Load finder-inf using `require'.
6264         (finder-list-matches): Sorting by status is now the default.
6265         (finder-compile-keywords): Simpify printing.
6267 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6269         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6270         (octave-mode-map): Remove special bindings for forward/backward-block
6271         and octave-backward-up-block.  Use smie-close-block.
6272         (octave-continuation-marker-regexp): New var.
6273         (octave-continuation-regexp): Use it.
6274         (octave-operator-table, octave-smie-op-levels)
6275         (octave-operator-regexp, octave-smie-indent-rules): New vars.
6276         (octave-smie-backward-token, octave-smie-forward-token): New funs.
6277         (octave-mode): Use SMIE.
6278         (octave-close-block): Delete.
6280 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
6282         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6283         CLIPBOARD, not in PRIMARY.  (Bug#6944)
6285 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6287         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6288         a list of parents.
6289         (smie-indent-column): Allow indirection through variables.
6291         * composite.el (save-buffer-state): Delete, unused.
6292         * font-lock.el (save-buffer-state): Use with-silent-modifications.
6293         (font-lock-default-fontify-region): Use with-syntax-table.
6294         * jit-lock.el (with-buffer-unmodified): Remove.
6295         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6297         Use `declare' in defmacros.
6298         * window.el (save-selected-window):
6299         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6300         * progmodes/python.el (def-python-skeleton):
6301         * net/dbus.el (dbus-ignore-errors):
6302         * jka-cmpr-hook.el (with-auto-compression-mode):
6303         * international/mule.el (with-category-table):
6304         * emacs-lisp/timer.el (with-timeout):
6305         * emacs-lisp/lisp-mnt.el (lm-with-file):
6306         * emacs-lisp/eieio.el (with-slots):
6307         * emacs-lisp/easymenu.el (easy-menu-define):
6308         * emacs-lisp/debug.el (debugger-env-macro):
6309         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6310         (Multiple-value-call, Multiple-value-prog1):
6311         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6312         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6313         edebug rule to definition.
6314         * emacs-lisp/lisp-mode.el (save-selected-window)
6315         (with-current-buffer, combine-after-change-calls)
6316         (with-output-to-string, with-temp-file, with-temp-buffer)
6317         (with-temp-message, with-syntax-table, read-if, eval-after-load)
6318         (dolist, dotimes, when, unless):
6319         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6321 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
6323         * finder.el: Require `package'.
6324         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
6325         (finder-package-info): Var deleted.
6326         (finder-keywords-hash, finder--builtins-alist): New vars.
6327         (finder-compile-keywords): Compute package--builtins and
6328         finder-keywords-hash instead of finder-keywords-hash, respecting
6329         the "Package" header.
6330         (finder-unknown-keywords, finder-list-matches):
6331         Use finder-keywords-hash and package--list-packages.
6332         (finder-mode): Don't set font-lock-defaults.
6333         (finder-exit): We don't use "*Finder-package*" and "*Finder
6334         Category*" buffers anymore.
6336         * emacs-lisp/package.el (package--builtins-base): Var deleted.
6337         (package--builtins): Set default value to nil.
6338         (package-initialize): Load precomputed value of package--builtins
6339         from finder-inf.el.
6340         (package-alist, package-compute-transaction)
6341         (package-download-transaction): Improve docstring.
6342         (package-read-all-archive-contents): Do not change
6343         package--builtins here.
6344         (list-packages): Make package-list-packages an alias for this.
6345         Sort by status by default.
6346         (package--list-packages): Add optional PACKAGES arg.
6347         (describe-package-1): Use font-lock-face property.  For built-in
6348         packages, insert file commentary.
6349         (package--generate-package-list): Rename from
6350         package-list-packages-internal; all callers changed.  Add optional
6351         PACKAGES arg.  Add alphabetical sort fallbacks.
6352         (package-menu--version-predicate, package-menu--status-predicate)
6353         (package-menu--description-predicate)
6354         (package-menu--name-predicate): New functions.
6356         * info.el (Info-finder-find-node): Search package-alist instead of
6357         finder-package-info.
6359 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
6361         * subr.el (version-regexp-alist): Don't use "a" and "b" for
6362         "alpha" and "beta".
6363         (version-to-list): Handle versions like "10.3d".
6365 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6367         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6368         (macroexp-accumulate): Use `declare'.
6370 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6372         * whitespace.el (whitespace-style): Adjust type declaration.
6374 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
6376         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6377         empty argument to gvfs-copy.
6379 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6381         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6382         handle new TRASH arg of `delete-file'.
6384 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
6386         * net/tramp.el (tramp-handle-insert-directory): Don't use
6387         `forward-word', its default syntax could be changed.
6389 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
6390             Michael Albinus  <michael.albinus@gmx.de>
6392         Implement compression for inline methods.
6394         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6395         (tramp-copy-size-limit): Allow also nil.
6396         (tramp-inline-compress-commands): New defconst.
6397         (tramp-find-inline-compress, tramp-get-inline-compress)
6398         (tramp-get-inline-coding): New defuns.
6399         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6400         replaced by `tramp-get-inline-coding'.
6401         (tramp-handle-file-local-copy, tramp-handle-write-region)
6402         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6404 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
6406         Detect ssh 'ControlMaster' argument automatically in some cases.
6408         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6409         (tramp-default-method): Use it.
6411 2010-08-26  Karel Klíč  <kklic@redhat.com>
6413         * net/tramp.el (tramp-file-name-for-operation):
6414         Add file-selinux-context.
6416 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
6418         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6420 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6422         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6423         (Bug#6907).
6425 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
6427         * progmodes/js.el: Make indentation more customizable (Bug#6914).
6428         (js-paren-indent-offset, js-square-indent-offset)
6429         (js-curly-indent-offset): New options.
6430         (js--proper-indentation): Use them.
6432 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
6434         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6435         instead of inspecting font-lock properties (Bug#6916).
6437 2010-08-26  David Reitter  <david.reitter@gmail.com>
6439         * server.el (server-visit-files): Run pre-command-hook and
6440         post-command-hook for each buffer while it is current (Bug#6910).
6441         (server-execute): Do not run hooks here.
6443 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
6445         Sync with Tramp 2.1.19.
6447         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6448         (tramp-reporter-dump-variable, tramp-load-report-modules)
6449         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6450         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6452         * net/tramp-compat.el (top): Do not autoload
6453         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6454         only when `start-file-process' is not bound.
6455         (byte-compile-not-obsolete-vars): Define if not bound.
6456         (tramp-compat-funcall): New defmacro.
6457         (tramp-compat-line-beginning-position)
6458         (tramp-compat-line-end-position)
6459         (tramp-compat-temporary-file-directory)
6460         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6461         (tramp-compat-copy-file, tramp-compat-copy-directory)
6462         (tramp-compat-delete-file, tramp-compat-delete-directory)
6463         (tramp-compat-number-sequence, tramp-compat-process-running-p):
6464         Use it.
6465         (tramp-advice-file-expand-wildcards): Do not use
6466         `tramp-handle-file-remote-p'.
6467         (tramp-compat-make-temp-file): Simplify fallback implementation.
6468         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6469         (tramp-compat-copy-tree): Remove function.
6470         (tramp-compat-delete-file): New defun.
6471         (tramp-compat-delete-directory): Provide implementation for older
6472         Emacsen.
6473         (tramp-compat-file-attributes): Handle only
6474         `wrong-number-of-arguments' error.
6476         * net/tramp-fish.el (tramp-fish-handle-copy-file):
6477         Add PRESERVE_SELINUX_CONTEXT.
6478         (tramp-fish-handle-delete-file): Add TRASH arg.
6479         (tramp-fish-handle-directory-files-and-attributes):
6480         Do not use `tramp-fish-handle-file-attributes.
6481         (tramp-fish-handle-file-local-copy)
6482         (tramp-fish-handle-insert-file-contents)
6483         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6485         * net/tramp-gvfs.el (top): Require url-util.
6486         (tramp-gvfs-mount-point): Remove.
6487         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6488         and `set-file-selinux-context'.
6489         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6490         (tramp-gvfs-handle-file-selinux-context)
6491         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6492         (with-tramp-dbus-call-method): Format trace message.
6493         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6494         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6495         Implement backup call, when operation on local files fails.
6496         Use progress reporter.  Flush properties of changed files.
6497         (tramp-gvfs-handle-delete-file): Add TRASH arg.
6498         Use `tramp-compat-delete-file'.
6499         (tramp-gvfs-handle-expand-file-name): Expand "~/".
6500         (tramp-gvfs-handle-make-directory): Make more traces.
6501         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6502         (tramp-gvfs-url-file-name): Hexify file name in url.
6503         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6504         into account for the resulting file name.
6505         (tramp-gvfs-handler-askquestion): Preserve current message, in
6506         order to let progress reporter continue afterwards.  (Bug#6257)
6507         Return dummy mountpoint, when the answer is "no".
6508         See `tramp-gvfs-maybe-open-connection'.
6509         (tramp-gvfs-handler-mounted-unmounted)
6510         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6511         attribute "default_location".  Set "prefix" property.
6512         Handle default-location.
6513         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6514         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6515         exists.  Raise an error, if not (due to a corresponding answer
6516         "no" in interactive questions, for example).
6517         Use `tramp-compat-funcall'.
6519         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6520         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6521         (tramp-imap-do-copy-or-rename-file)
6522         (tramp-imap-handle-insert-file-contents)
6523         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6524         (tramp-imap-handle-delete-file): Add TRASH arg.
6526         * net/tramp-smb.el (tramp-smb-handle-copy-file):
6527         Add PRESERVE-SELINUX-CONTEXT.
6528         (tramp-smb-handle-copy-file)
6529         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6530         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6531         Use `with-progress-reporter'.
6532         (tramp-smb-handle-delete-file): Add TRASH arg.
6534         * net/tramp.el (tramp-methods): Move hostname to the end in all
6535         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
6536         appropriate.
6537         (tramp-verbose): Describe verbose level 9.
6538         (tramp-completion-function-alist)
6539         (tramp-file-name-regexp, tramp-chunksize)
6540         (tramp-local-coding-commands, tramp-remote-coding-commands)
6541         (with-connection-property, tramp-completion-mode-p)
6542         (tramp-action-process-alive, tramp-action-out-of-band)
6543         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6544         (tramp-exists-file-name-handler): Fix docstring.
6545         (tramp-remote-process-environment): Use `format' instead of
6546         `concat'.  Protect version string by apostroph.
6547         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6548         XEmacs.
6549         (tramp-file-name-regexp-unified)
6550         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6551         not regard the volume letter as remote filename.  (Bug#5447)
6552         (tramp-perl-file-attributes)
6553         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6554         (tramp-vc-registered-read-file-names): Read input as
6555         here-document, otherwise the command could exceed maximum length
6556         of command line.
6557         (tramp-file-name-handler-alist): Add `file-selinux-context' and
6558         `set-file-selinux-context'.
6559         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6560         backtrace functions.
6561         (tramp-error-with-buffer): Don't show the connection buffer when
6562         we are in completion mode.
6563         (tramp-progress-reporter-update, tramp-remote-selinux-p)
6564         (tramp-handle-file-selinux-context)
6565         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6566         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6567         New defuns.
6568         (with-progress-reporter): New defmacro.
6569         (tramp-debug-outline-regexp): New defconst.
6570         (top, tramp-rfn-eshadow-setup-minibuffer)
6571         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6572         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6573         (tramp-completion-mode-p, tramp-check-for-regexp)
6574         (tramp-open-connection-setup-interactive-shell)
6575         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6576         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6577         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6578         Use `tramp-compat-funcall'.
6579         (tramp-handle-make-symbolic-link): Flush file properties.
6580         (tramp-handle-load, tramp-handle-file-local-copy)
6581         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6582         (tramp-handle-vc-registered, tramp-maybe-send-script)
6583         (tramp-find-shell): Use `with-progress-reporter'.
6584         (tramp-do-file-attributes-with-stat): Add space in format string,
6585         in order to work around a bug in pdksh.  Reported by Gilles Pion
6586         <gpion@lfdj.com>.
6587         (tramp-handle-verify-visited-file-modtime): Do not send a command
6588         when the connection is not established.
6589         (tramp-handle-set-file-times): Simplify the check for utc.
6590         (tramp-handle-directory-files-and-attributes)
6591         (tramp-get-remote-path): Use `copy-tree'.
6592         (tramp-completion-handle-file-name-all-completions): Ensure, that
6593         non remote files are still checked.  Oops.
6594         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6595         Handle PRESERVE-SELINUX-CONTEXT.
6596         (tramp-do-copy-or-rename-file): Add progress reporter.
6597         (tramp-do-copy-or-rename-file-directly): Do not use
6598         `tramp-handle-file-remote-p'.
6599         (tramp-do-copy-or-rename-file-out-of-band):
6600         Use `tramp-compat-delete-directory'.
6601         (tramp-do-copy-or-rename-file-out-of-band)
6602         (tramp-compute-multi-hops, tramp-maybe-open-connection):
6603         Use `format-spec-make'.
6604         (tramp-handle-delete-file): Add TRASH arg.
6605         (tramp-handle-dired-uncache): Flush directory cache, not only file
6606         cache.
6607         (tramp-handle-expand-file-name)
6608         (tramp-completion-handle-file-name-all-completions)
6609         (tramp-completion-handle-file-name-completion):
6610         Use `tramp-connectable-p'.
6611         (tramp-handle-start-file-process): Set connection property "vec".
6612         Use it, in order to invalidate file caches.  Check only for
6613         `remote-tty' process property.
6614         Implement tty setting.  (Bug#4604, Bug#6360)
6615         (tramp-file-name-for-operation): Add `call-process-region' and
6616         `set-file-selinux-context'.
6617         (tramp-find-foreign-file-name-handler)
6618         (tramp-advice-make-auto-save-file-name)
6619         (tramp-set-auto-save-file-modes): Remove superfluous check for
6620         `stringp'.  This is done inside `tramp-tramp-file-p'.
6621         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
6622         operations when we are in completion mode.  This gives the user
6623         the chance to correct the file name in the minibuffer.
6624         (tramp-completion-mode-p): Use `non-essential'.
6625         (tramp-handle-file-name-all-completions): Backward/ XEmacs
6626         compatibility: Use `completion-ignore-case' if
6627         `read-file-name-completion-ignore-case' does not exist.
6628         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6629         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6630         `tramp-open-shell'.
6631         (tramp-action-password): Hide password prompt before next run.
6632         (tramp-process-actions): Widen connection buffer for the trace.
6633         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6634         process property.  Trace stty settings if `tramp-verbose' >= 9.
6635         Apply workaround for IRIX64 bug.  Move argument of last
6636         `tramp-send-command' where it belongs to.
6637         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6638         front of `login-args'.
6639         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6640         on "/dev/null" instead of "/".
6641         (tramp-get-ls-command-with-dired): Make test for "--dired"
6642         stronger.
6643         (tramp-set-auto-save-file-modes): Adapt version check.
6644         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6645         (tramp-handle-process-file): Call the program in a subshell, in
6646         order to preserve working directory.
6647         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6648         `tramp-remote-sh' from `tramp-methods'.
6649         (tramp-get-ls-command): Make test for "--color=never" stronger.
6650         (tramp-check-for-regexp): Use (forward-line 1).
6652         * net/trampver.el: Update release number.
6654 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6656         * help.el (help-map): Bind `C-h P' to describe-package.
6658         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6660         * emacs-lisp/package.el (package-refresh-contents): Catch errors
6661         when downloading archives.
6662         (describe-package-1): Add package commentary.
6663         (package-install-button-action): New function.
6664         (package-menu-mode-map): Bind ? to package-menu-describe-package.
6665         (package-menu-view-commentary): Function removed.
6666         (package-list-packages-internal): Hide the `package' package too.
6668 2010-08-25  Kenichi Handa  <handa@m17n.org>
6670         * language/misc-lang.el ("Arabic"): New language environment.
6671         Setup composition-function-table for Arabic characters.
6673         * international/fontset.el (setup-default-fontset): Fix typo for
6674         arabic OTF spec (fini->fina).
6676 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
6678         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6679         on all frames.
6681 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6683         * whitespace.el: Allow cleaning up blanks without blank
6684         visualization (Bug#6651).  Adjust help window for
6685         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6686         instead of whitespace-line-column (from EmacsWiki).  New version
6687         13.1.
6688         (whitespace-style): Add new value 'face.  Adjust docstring.
6689         (whitespace-space, whitespace-hspace, whitespace-tab):
6690         Adjust foreground property face.
6691         (whitespace-line-column): Adjust docstring and type declaration.
6692         (whitespace-style-value-list, whitespace-toggle-option-alist)
6693         (whitespace-help-text): Adjust const initialization.
6694         (whitespace-toggle-options, global-whitespace-toggle-options):
6695         Adjust docstring.
6696         (whitespace-display-window, whitespace-interactive-char)
6697         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6698         (whitespace-help-scroll): New fun.
6700 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6702         * emacs-lisp/package.el (list-packages): Alias for
6703         package-list-packages.
6705 2010-08-24  Kevin Ryde  <user42@zip.com.au>
6707         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6708         (Bug#5651).
6710         * progmodes/ruby-mode.el (ruby): Add defgroup.
6712 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6714         * progmodes/python.el: Add Ipython support (Bug#5390).
6715         (python-shell-prompt-alist)
6716         (python-shell-continuation-prompt-alist): New options.
6717         (python--set-prompt-regexp): New function.
6718         (inferior-python-mode, run-python, python-shell):
6719         Require ansi-color.  Use python--set-prompt-regexp to set the comint
6720         prompt based on the Python interpreter.
6721         (python--prompt-regexp): New var.
6722         (python-check-comint-prompt)
6723         (python-comint-output-filter-function): Use it.
6724         (run-python): Use a pipe (Bug#5694).
6726 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
6728         * progmodes/python.el (python-send-region): Send a different
6729         Python command if Ipython is in use.
6730         (python-check-version): Use a Python command to find the version.
6732 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6734         * mouse.el (mouse-yank-primary): Avoid setting primary when
6735         deactivating the mark (Bug#6872).
6737 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
6739         * progmodes/python.el (python-block-pairs): Allow use of "finally"
6740         with "else" (Bug#3991).
6742 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
6744         * net/dbus.el: Accept UNIX domain sockets as bus address.
6745         (top): Don't initialize `dbus-registered-objects-table' anymore,
6746         this is done in dbusbind,c.
6747         (dbus-check-event): Adapt test for bus.
6748         (dbus-return-values-table, dbus-unregister-service)
6749         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6750         Adapt doc string.
6752 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
6754         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6756 2010-08-22  Juri Linkov  <juri@jurta.org>
6758         * simple.el (read-extended-command): New function with the logic
6759         for `completing-read' moved to Elisp from `execute-extended-command'.
6760         Use `function-called-at-point' in `minibuffer-default-add-function'
6761         to get a command name for M-n (bug#5364, bug#5214).
6763 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6765         * startup.el (command-line-1): Issue warning for ignored arguments
6766         --unibyte, etc (Bug#6886).
6768 2010-08-22  Leo  <sdl.web@gmail.com>
6770         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6771         (ignore, bright, dim, keyword): Split list of nicknames before
6772         passing to rcirc-add-or-remove (Bug#6894).
6774 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6776         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6778 2010-08-22  Leo  <sdl.web@gmail.com>
6780         Fix buffer-list rename&refresh after killing a buffer in ido.
6781         * ido.el: Revert Óscar's.
6782         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6783         Remember the buffers at head, rather than their name.
6784         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6786 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
6787             Stefan Monnier  <monnier@iro.umontreal.ca>
6789         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6790         extra backslash added to each line (bug#6890).
6792 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6794         * subr.el (read-key): Don't echo keystrokes (bug#6883).
6796 2010-08-22  Glenn Morris  <rgm@gnu.org>
6798         * menu-bar.el (menu-bar-games-menu): Add landmark.
6800 2010-08-22  Glenn Morris  <rgm@gnu.org>
6802         * align.el (align-regexp): Make group and spacing arguments
6803         use the interactive defaults when non-interactive.  (Bug#6698)
6805         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6806         expansion, so as not to need sendmail.
6807         (mail-text-start): Remove declaration.
6808         (rmail-retry-failure): Require sendmail.
6810 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6812         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6814 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
6816         * progmodes/flymake.el (flymake-start-syntax-check-process):
6817         Use `start-file-process' in order to let it run also on remote hosts.
6819 2010-08-22  Kenichi Handa  <handa@m17n.org>
6821         * files.el: Add `word-wrap' as safe local variable.
6823 2010-08-22  Glenn Morris  <rgm@gnu.org>
6825         * woman.el (woman-translate): Case matters.  (Bug#6849)
6827 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6829         * simple.el (kill-region): Doc fix (Bug#6787).
6831 2010-08-22  Glenn Morris  <rgm@gnu.org>
6833         * calendar/diary-lib.el (diary-header-line-format):
6834         Fit it to the window, not the frame.
6836 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
6838         * subr.el (ignore-errors): Add debug declaration.
6840 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
6842         * whitespace.el (whitespace-color-off): Remove post-command-hook
6843         locally.
6845 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6847         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6849 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6851         * cus-edit.el (custom-group-value-create): Add extra newline
6852         before end line (Bug#6876).
6854 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6856         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6857         when extending it.  Before killing on the second click, check if
6858         the buffer is the correct one.  Doc fix.
6859         (mouse-secondary-save-then-kill): Allow usage without first
6860         calling mouse-start-secondary, by defaulting to point.  Don't save
6861         an empty secondary selection.  Doc fix.
6863 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6865         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
6866         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6867         New version 13.0.
6868         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6869         Adjust initialization.
6870         (whitespace-bob-marker, whitespace-eob-marker)
6871         (whitespace-buffer-changed): New vars.
6872         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6873         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6874         (whitespace-post-command-hook, whitespace-display-char-on):
6875         Adjust code.
6876         (whitespace-looking-back, whitespace-buffer-changed): New funs.
6877         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6879 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6881         * files.el (locate-file-completion-table): Only list the .el and .elc
6882         extensions if there's no other choice (bug#5955).
6884         * facemenu.el (facemenu-self-insert-data): New var.
6885         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6886         New functions.
6887         (facemenu-add-face): Use them.
6889         * simple.el (blink-matching-open): Obey forward-sexp-function.
6891 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6893         * simple.el (prog-mode-map): New var.
6894         (prog-indent-sexp): New command.
6896         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6898         * progmodes/prolog.el (smie): Require.
6900         * emacs-lisp/smie.el (smie-default-backward-token)
6901         (smie-default-forward-token): Strip properties.
6902         (smie-next-sexp): Be more careful with associative operators.
6903         (smie-forward-sexp-command): Generalize.
6904         (smie-backward-sexp-command): Simplify.
6905         (smie-closer-alist): New var.
6906         (smie-close-block): New command.
6907         (smie-indent-debug-log): New var.
6908         (smie-indent-offset-rule): Add a few more cases.
6909         (smie-indent-column): New function.
6910         (smie-indent-after-keyword): Use it.
6911         (smie-indent-keyword): Use it.
6912         Fix up the opener code's point position.
6913         (smie-indent-comment): Only applies at BOL.
6914         (smie-indent-debug): New command.
6916         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6917         declarations that are useful before running the macro.
6919 2010-08-18  Joakim Verona  <joakim@verona.se>
6921         * image.el (imagemagick-types-inhibit): New variable.
6922         (imagemagick-register-types): New function.
6923         * image-mode.el (image-transform-properties): New function.
6924         (image-transform-set-scale, image-transform-fit-to-height)
6925         (image-transform-set-rotation, image-transform-set-resize)
6926         (image-transform-fit-to-width, image-transform-fit-to-height):
6927         New functions.
6928         (image-toggle-display-image): Support image transforms.
6930 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
6932         * image.el (create-animated-image): Don't add heuristic mask to image
6933         (Bug#6839).
6935 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
6937         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6938         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6940 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6942         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6944         Font-lock '...' strings, plus various simplifications and fixes.
6945         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6946         (octave-font-lock-close-quotes): New function.
6947         (octave-font-lock-syntactic-keywords): New var.
6948         (octave-mode): Use it.  Set beginning-of-defun-function.
6949         (octave-mode-map): Don't override the <foo>-defun commands.
6950         (octave-mode-menu): Pass it directly to easy-menu-define;
6951         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6952         (octave-block-match-alist): Fix up last change so that
6953         octave-close-block uses the more specific keyword.
6954         (info-lookup-mode): Silence byte-compiler.
6955         (octave-beginning-of-defun): Not interactive any more.
6956         Optimize slightly.
6957         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6958         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6959         (octave-completion-at-point-function): Make sure point is within
6960         beg..end.
6961         (octave-reindent-then-newline-and-indent):
6962         Use reindent-then-newline-and-indent.
6963         (octave-add-octave-menu): Remove.
6965 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
6967         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6968         (report-emacs-bug-can-use-xdg-email): New functions.
6969         (report-emacs-bug): Set can-xdg-email to result of
6970         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
6971         \C-cm to report-emacs-bug-insert-to-mailer and add help text
6972         about it.
6974         * net/browse-url.el (browse-url-default-browser): Add cond
6975         for browse-url-xdg-open.
6976         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6978 2010-08-17  Glenn Morris  <rgm@gnu.org>
6980         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6981         (c-fontify-recorded-types-and-refs): Define for compiler.
6982         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6983         before use.
6985         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6986         Fix format call.
6988 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
6990         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6991         properties.
6992         (tramp-handle-process-file): Call the program in a subshell, in
6993         order to preserve working directory.
6994         (tramp-action-password): Hide password prompt before next run.
6995         (tramp-process-actions): Widen connection buffer for the trace.
6997 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6999         * net/rcirc.el (rcirc-log-process-buffers): New option.
7000         (rcirc-print): Use it.
7001         (rcirc-generate-log-filename): New function.
7002         (rcirc-log-filename-function): Change default to
7003         rcirc-generate-log-filename (Bug#6828).
7005 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
7007         * simple.el (deactivate-mark): If select-active-regions is `only',
7008         only set selection for temporarily active regions.
7010         * cus-start.el: Change defcustom for select-active-regions.
7012 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7014         * mouse.el (mouse--drag-set-mark-and-point): New function.
7015         (mouse-drag-track): Use LOCATION arg to push-mark.
7016         Use mouse--drag-set-mark-and-point to take click-count into
7017         consideration when updating point and mark (Bug#6840).
7019 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7021         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7022         Give the Ruby rule a lower priority than Gnu (Bug#6778).
7024 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7026         * font-lock.el (lisp-font-lock-keywords-2):
7027         Add combine-after-change-calls, condition-case-no-debug,
7028         with-demoted-errors, and with-silent-modifications (Bug#6025).
7030 2010-08-14  Kevin Ryde  <user42@zip.com.au>
7032         * emacs-lisp/copyright.el (copyright-update-year)
7033         (copyright-update): Temporary switch-to-buffer to ensure the
7034         buffer change being queried is visible (Bug#5394).
7036 2010-08-14  Tom Tromey  <tromey@redhat.com>
7038         * progmodes/etags.el (tags-file-name): Mark safe if stringp
7039         (Bug#6733).
7041 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
7043         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7044         MS-DOS.  (Bug#6689)
7046 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
7048         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7049         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7050         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7051         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7052         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7053         Call menu-bar-set-tool-bar-position.
7055 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7057         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7058         comment style (bug#6834).
7059         * progmodes/scheme.el (scheme-mode-syntax-table):
7060         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7061         "b" flag in "' 14b" syntax.
7063         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7064         for (un)commenting the region and performing completion.
7065         (octave-mode-menu): Use standard commands for help and completion.
7066         (octave-mode-syntax-table): Support %{..%} comments (sort of).
7067         (octave-mode): Use define-derived-mode.
7068         Set completion-at-point-functions and don't set columns.
7069         Don't disable adaptive-fill-regexp.
7070         (octave-describe-major-mode, octave-comment-region)
7071         (octave-uncomment-region, octave-comment-indent)
7072         (octave-indent-for-comment): Remove.
7073         (octave-indent-calculate): Rename from calculate-octave-indent.
7074         (octave-indent-line, octave-fill-paragraph): Update caller.
7075         (octave-initialize-completions): No need to make an alist.
7076         (octave-completion-at-point-function): New function.
7077         (octave-complete-symbol): Use it.
7078         (octave-insert-defun): Use define-skeleton.
7080         * progmodes/octave-mod.el (octave-mode): Set comment-add.
7081         (octave-mode-map): Use comment-dwim (bug#6829).
7083 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
7085         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7086         indentation of inserted comment.
7088 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
7090         * faces.el (region): Add type gtk that uses gtk colors.
7092         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7093         Handle theme-name change.
7095 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
7097         * progmodes/sql.el: Version 2.5
7098         (sql-product-alist): Add :prompt-cont-regexp property for several
7099         database products.
7100         (sql-prompt-cont-regexp): New variable.
7101         (sql-output-newline-count, sql-output-by-send):
7102         New variables.  Record number of newlines in input text.
7103         (sql-send-string): Handle multiple filters and count newlines.
7104         (sql-send-magic-terminator): Count terminator newline.
7105         (sql-interactive-remove-continuation-prompt): Filters output to
7106         remove continuation prompts; one for each newline.
7107         (sql-interactive-mode): Set up new variables, prompt regexp and
7108         output filter.
7109         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7110         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7112 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7114         * emacs-lisp/pcase.el: New file.
7116 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
7118         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7119         as here-document, otherwise the command could exceed maximum
7120         length of command line.
7121         (tramp-handle-vc-registered): Call script accordingly.
7122         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7124 2010-08-10  Kenichi Handa  <handa@m17n.org>
7126         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7127         composable pattern.
7129 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
7131         * emacs-lisp/package.el (package-version-split)
7132         (package--version-first-nonzero, package-version-compare):
7133         Functions removed.
7134         (package-directory-list, package-load-all-descriptors)
7135         (package--built-in, package-activate, define-package)
7136         (package-installed-p, package-compute-transaction)
7137         (package-read-all-archive-contents)
7138         (package--add-to-archive-contents, package-buffer-info)
7139         (package-tar-file-info, package-list-packages-internal):
7140         Use version-to-list and version-list-*.
7142         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7143         Use version-to-list.
7144         (package-upload-buffer-internal): Use version-list-<=.
7146 2010-08-09  Kenichi Handa  <handa@m17n.org>
7148         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7149         composable pattern.
7151 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
7153         * tutorial.el (tutorial--default-keys): C-d is now bound to
7154         delete-forward-char (Bug#6826).
7156         * mouse.el (mouse-drag-track): Remove accidentally-removed check
7157         for `double' value of mouse-1-click-follows-link (Bug#6807).
7159 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
7161         * replace.el (replace-highlight): Bind isearch-forward and
7162         isearch-error, ensuring that highlighting is updated if the user
7163         switches the search direction (Bug#6808).
7165         * isearch.el (isearch-lazy-highlight-forward): New var.
7166         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7167         (isearch-lazy-highlight-update): Use it.
7169 2010-08-08  Kenichi Handa  <handa@m17n.org>
7171         * international/mule.el (define-charset): Store NAME as :base property.
7172         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7173         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7174         current priority.  Force using the designation of the specific
7175         charset by adding `charset' text property.  Improve the whole algorithm.
7177 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7179         * emulation/pc-select.el (pc-selection-mode-hook)
7180         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7181         (pc-selection-mode): Fix typos in docstrings.
7183 2010-08-08  Kenichi Handa  <handa@m17n.org>
7185         * language/cyrillic.el: Don't add "microsoft-cp1251" to
7186         ctext-non-standard-encodings-alist here.
7188         * international/mule.el (ctext-non-standard-encodings-alist):
7189         Add "koi8-r" and "microsoft-cp1251".
7190         (ctext-standard-encodings): New variable.
7191         (ctext-non-standard-encodings-table): List only elements for
7192         non-standard encodings.
7193         (ctext-pre-write-conversion): Adjust for the above change.
7194         Check ctext-standard-encodings.
7196         * international/mule-conf.el (compound-text): Doc fix.
7197         (ctext-no-compositions): Doc fix.
7198         (compound-text-with-extensions): Doc fix.
7200 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7202         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7204 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7206         * progmodes/which-func.el (which-func-format): Split help-echo text
7207         into lines, like other mode-line tooltips.
7209         * server.el (server-start): When using TCP sockets, force IPv4
7210         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
7212 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7214         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7216 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7218         * term.el (term-delimiter-argument-list): Reflow docstring.
7219         (term-read-input-ring, term-write-input-ring, term-send-input)
7220         (term-bol, term-erase-in-display, serial-supported-or-barf):
7221         Fix typos in docstrings.
7223 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7225         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7227 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7229         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7231 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
7233         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7234         Fix typo in docstring (bug#6747).
7236 2010-08-08  Leo  <sdl.web@gmail.com>
7238         * eshell/esh-io.el (eshell-get-target): Better detection of
7239         read-only file (Bug#6762).
7241 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7243         * align.el (align-default-spacing): Doc fix.
7244         (align-region-heuristic, align-regexp): Fix typos in docstrings.
7246 2010-08-08  Stephen Peters  <speters@itasoftware.com>
7248         * calendar/icalendar.el
7249         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
7250         (icalendar--get-weekday-numbers): New.
7251         (icalendar--convert-recurring-to-diary): Handle multiple byday
7252         values in weekly rules.  (Bug#6766)
7254 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
7256         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7257         (icalendar--create-uid, icalendar-export-region)
7258         (icalendar--parse-summary-and-rest): Code formatting.
7260 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
7262         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7263         to italicize headers.
7264         (calc-highlight-selections-with-faces): New variable.
7265         (calc-selected-face, calc-nonselected-face): New faces.
7267         * calc/calccomp.el (math-comp-highlight-string): Use
7268         `calc-highlight-selections-with-faces' to determine how to highlight
7269         sub-formulas.
7271         * calc/calc-sel.el (calc-show-selections): Change message to when
7272         using faces to highlight selections.
7274 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
7276         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7277         Add SQLite 3 keywords, functions and datatypes.
7278         (sql-interactive-mode): Remove `comint-process-echoes' set to t
7279         (Bug#6686).
7281 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
7283         * simple.el (select-active-regions): Move to keyboard.c.
7284         (deactivate-mark): Used saved-region-selection.
7285         (select-active-region): Function removed.
7286         (activate-mark, set-mark, push-mark-command)
7287         (handle-shift-selection): Don't call it.
7288         (keyboard-quit): Avoid adding the region to the window selection.
7290         * mouse.el (mouse-drag-track): Remove hacks to deal with old
7291         select-active-regions implementation.
7292         (mouse-yank-at-click): Doc fix.
7294         * cus-start.el: Add custom declaration for select-active-regions.
7296 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
7298         * simple.el (delete-forward-char): Doc fix.
7300         * tutorial.el (help-with-tutorial): Hack safe file-local variables
7301         after reading the tutorial.
7303 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
7305         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7306         Fix for the case that a C style comment has its delimiters alone on
7307         their respective lines.
7309 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
7311         * net/tramp.el (tramp-handle-start-file-process): Set connection
7312         property "vec".
7313         (tramp-process-sentinel): Use it for flushing the cache.
7314         We cannot do it via the process buffer, the buffer could be deleted
7315         already when running the sentinel.
7317 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
7319         * comint.el (comint-mode): Make directory tracking functions
7320         functional on remote files.  (Bug#6764)
7322 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
7324         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7326 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
7328         * emacs-lisp/find-gc.el (find-gc-source-files):
7329         Rename unexec.c => unexcoff.c.
7331         * emacs-lisp/authors.el (authors-fixed-entries):
7332         Rename unexec.c => unexcoff.c.
7334 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
7336         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7337         cache, not only file cache.
7338         (tramp-process-sentinel): New defun.
7339         (tramp-handle-start-file-process): Use it, in order to invalidate
7340         file caches.
7342 2010-08-03  Leo  <sdl.web@gmail.com>
7344         * server.el (server-start): Simplify loop.
7346 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7348         * frame.el (screen-height, screen-width, set-screen-width)
7349         (set-screen-height): Remove ancient compatibility aliases.
7351         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7352         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
7354         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7355         that change current buffer.
7357 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7359         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7360         beginning of the string.  Use `string-match-p'.  (Bug#6765)
7362 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
7364         * cus-start.el (x-gtk-use-system-tooltips): New variable.
7366 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
7368         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7369         (package--builtins): Tweak descriptions.
7370         (package-print-package): Upcase descriptions if necessary.
7371         Show all built-in packages in font-lock-builtin-face.
7372         (package-list-packages-internal): Omit "emacs" package.
7373         Show status of built-in packages as "built-in".
7375 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
7377         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
7378         before killing to preserve the primary selection (Bug#6701).
7380         * term/x-win.el (x-select-text): Doc fix.
7382 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
7384         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7385         (objc-font-lock-extra-types):
7386         * progmodes/cc-mode.el (c-basic-common-init):
7387         * progmodes/cc-langs.el (c-make-mode-syntax-table)
7388         (c++-make-template-syntax-table)
7389         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7390         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7391         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7392         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7393         * progmodes/cc-fonts.el (c-make-inverse-face)
7394         (c-basic-matchers-after):
7395         * progmodes/cc-engine.el (c-forward-keyword-clause)
7396         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7397         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7398         (c-guess-continued-construct, c-guess-basic-syntax):
7399         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7400         The above functions were modified or created.
7402 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
7404         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7406 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
7408         * files.el (bidi-paragraph-direction): Define safe local values.
7410         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7411         language-info-alist.  Remove outdated FIXME in a comment.
7413 2010-07-31  Alan Mackenzie  <acm@muc.de>
7415         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7416         Auto-fill broken in C/C++ modes.
7418 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
7420         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7421         (menu-bar-showhide-tool-bar-menu-customize-disable)
7422         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7423         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7424         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7425         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7426         make a menu for Options => toolbar that can move it.
7428 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
7430         * emacs-lisp/package-x.el (package--make-rss-entry):
7431         (package-maint-add-news-item, package--update-news)
7432         (package-upload-buffer-internal): New arg ARCHIVE-URL.
7434         * emacs-lisp/package.el (package-archive-url): Rename from
7435         package-archive-id.
7436         (package-install): Doc fix.
7437         (package-download-single, package-download-tar, package-install)
7438         (package-menu-view-commentary): Callers changed.
7440 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
7442         * net/tramp.el (tramp-handle-start-file-process): Check only for
7443         `remote-tty' process property.
7444         (tramp-open-shell): Don't check for tty.
7445         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7446         process property.
7448         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7449         host.
7451 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
7453         * emacs-lisp/package.el (package-load-list, package-archives)
7454         (package-archive-contents, package-user-dir)
7455         (package-directory-list, package--builtins, package-alist)
7456         (package-activated-list, package-obsolete-alist): Mark as risky.
7458 2010-07-28  Phil Hagelberg  <phil@evri.com>
7460         Add support for non-default package repositories.
7461         * emacs-lisp/package.el (package-archive-base): Var deleted.
7462         (package-archives): New variable.
7463         (package-archive-contents): Doc fix.
7464         (package-load-descriptor): Do nothing if descriptor file is missing.
7465         (package--write-file-no-coding): New function.
7466         (package-unpack-single): Use it.
7467         (package-archive-id): New function.
7468         (package-download-single, package-download-tar)
7469         (package-menu-view-commentary): Use it.
7470         (package-installed-p): Make second argument optional.
7471         (package-read-all-archive-contents): New function.
7472         (package-initialize): Use it.
7473         (package-read-archive-contents): Add ARCHIVE argument.
7474         (package--add-to-archive-contents): New function.
7475         (package-install): Don't call package-read-archive-contents.
7476         (package--download-one-archive): Store archive file in a
7477         subdirectory of package-user-dir.
7478         (package-menu-execute): Remove spurious line movement.
7480 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
7482         * cus-start.el (tool-bar-style): Add text-image-horiz.
7484 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
7486         * progmodes/gud.el (gud-common-init): Check for remoteness of
7487         `file', and not of `default-directory'.
7489 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
7491         * net/tramp.el (tramp-methods): Move hostname to the end in all
7492         ssh `tramp-login-args'.
7493         (tramp-verbose): Describe verbose level 9.
7494         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7495         (tramp-open-connection-setup-interactive-shell): Trace stty
7496         settings if `tramp-verbose' >= 9.
7497         (tramp-handle-start-file-process): Implement tty setting.
7498         (Bug#4604, Bug#6360)
7500         * net/tramp-cmds.el (tramp-bug): Recommend setting of
7501         `tramp-verbose' to 9.
7503 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
7505         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7506         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7507         Remove references to package `lisp-re' (bug#4369).
7509 2010-07-27  Tom Tromey  <tromey@redhat.com>
7511         * progmodes/js.el (js-mode):
7512         * progmodes/make-mode.el (makefile-mode):
7513         * progmodes/simula.el (simula-mode):
7514         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7516 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
7518         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7520         * time.el (display-time-day-and-date): Remove spurious * in docstring.
7521         (display-time-world-buffer-name, display-time-world-mode-map):
7522         Fix typos in docstrings.
7524 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
7526         * image-mode.el (image-display-size): New function.
7527         (image-forward-hscroll, image-next-line, image-eol, image-eob)
7528         (image-mode-fit-frame): Use it (Bug#6639).
7530 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
7532         * dired.el (dired-buffers-for-dir): Handle list values of
7533         dired-directory (Bug#6636).
7535 2010-07-26  Sam Steingold  <sds@gnu.org>
7537         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7538         Do not call `x-get-selection' the second time, reuse the value.
7540 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
7542         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7543         which consist of control chars only.  Suggested by Richard Stallman.
7545 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
7547         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7548         exists before passing an error to find-file-not-found-functions
7549         (bug#6723).
7551 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
7553         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7554         Remove leading nil element, adjust values.
7555         (tetris-shapes, tetris-shape-scores):
7556         Change representation of shapes and remove some redundancy.
7557         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7558         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7559         Adjust for working with new representation of shapes.
7560         (tetris-shape-rotations): New function.
7561         (tetris-move-bottom, tetris-move-left, tetris-move-right)
7562         (tetris-rotate-prev, tetris-rotate-next):
7563         Adjust for working with the new version of tetris-test-shape.
7565 2010-07-23  Markus Triska  <markus.triska@gmx.at>
7567         * progmodes/ps-mode.el: Use comint (bug#5954).
7568         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7569         (ps-mode-other-newline): Simplify.
7570         (ps-run-mode): Derive from comint-mode instead of
7571         fundamental-mode, yielding input history etc.
7572         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7573         (ps-run-send-string): Adapt for comint-mode.
7574         (ps-run-newline): Remove now unneeded function.
7576 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7578         * net/tramp.el (tramp-methods): Move hostname to the end in all
7579         plink `tramp-login-args'.
7581 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7583         * net/tramp.el (tramp-open-shell): New defun.
7584         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7585         Use it.
7587 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7589         * net/tramp.el (tramp-file-name-regexp-unified)
7590         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7591         not regard the volume letter as remote filename.  (Bug#5447)
7593 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
7595         * custom.el (custom-declare-variable): Give a clearer error message
7596         when the docstring is missing (bug#6476).
7598 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
7600         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
7601         (sql-login-params): New widget definition.
7602         (sql-oracle-login-params, sql-mysql-login-params)
7603         (sql-solid-login-params, sql-sybase-login-params)
7604         (sql-informix-login-params, sql-ingres-login-params)
7605         (sql-ms-login-params, sql-postgres-login-params)
7606         (sql-interbase-login-params, sql-db2-login-params)
7607         (sql-linter-login-params): Use it.
7608         (sql-sqlite-login-params): Use it; Define "database" parameter as
7609         a file name.
7610         (sql-sqlite-program): Change to "sqlite3".
7611         (sql-comint-sqlite): Make sure database name is complete.
7612         (sql-for-each-login): New function.
7613         (sql-connect, sql-save-connection): Use it.
7614         (sql-get-login-ext): New function.
7615         (sql-get-login): Use it.
7616         (sql-make-alternate-buffer-name): Handle :file parameters.
7618 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
7620         * dired.el (dired-no-confirm): Document value t and fix defcustom to
7621         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
7623 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
7625         * dired.el (dired-mode-map): Use command remapping (bug#6632).
7627 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
7629         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7631 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
7633         * net/tramp.el (tramp-get-ls-command)
7634         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7635         instead of "/".
7637 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
7639         * progmodes/sql.el: Version 2.3.
7640         (sql-connection-alist): Change keys from symbols to strings;
7641         enhanced the widget definition.
7642         (sql-mode-menu): Add submenu to select connections.
7643         (sql-interactive-mode-menu): Add "Save Connection" item.
7644         (sql-add-product): Fix menu item.
7645         (sql-get-product-feature): Improved error handling.
7646         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7647         (sql-make-alternate-buffer-name): Simplified.
7648         (sql-product-interactive): Handle missing product.
7649         (sql-connect): Support string keys, minor improvements.
7650         (sql-save-connection): New function.
7651         (sql-connection-menu-filter): New function.
7653 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7655         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7656         (tramp-open-connection-setup-interactive-shell):
7657         Apply workaround for IRIX64 bug.  Move argument of last
7658         `tramp-send-command' where it belongs to.
7660 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7662         * net/tramp.el (tramp-perl-file-attributes)
7663         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7664         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7665         front of `login-args'.
7667 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
7669         * time.el (display-time-world-mode): Define with `define-derived-mode'.
7670         Set `show-trailing-whitespace' to nil.
7671         (display-time-world-display): Simplify.
7673 2010-07-18  Alan Mackenzie  <acm@muc.de>
7675         Enhance `c-file-style' in file/directory local variables.
7676         * progmodes/cc-mode.el (c-count-cfss): New function.
7677         (c-before-hack-hook): Call `c-set-style' differently according to
7678         whether c-file-style was set in file or directory local
7679         variables.
7681 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
7683         * progmodes/sql.el: Version 2.2.
7684         (sql-product, sql-user, sql-database, sql-server, sql-port):
7685         Use defcustom :safe keyword rather than putting safe-local-variable
7686         property.
7687         (sql-password): Use defcustom :risky keyword rather than putting
7688         risky-local-variable property.
7689         (sql-oracle-login-params, sql-sqlite-login-params)
7690         (sql-solid-login-params, sql-sybase-login-params)
7691         (sql-informix-login-params, sql-ingres-login-params)
7692         (sql-ms-login-params, sql-postgres-login-params)
7693         (sql-interbase-login-params, sql-db2-login-params)
7694         (sql-linter-login-params): Add `port' option.
7695         (sql-get-product-feature): Add NO-INDIRECT parameter.
7696         (sql-comint-oracle, sql-comint-sybase)
7697         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7698         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7699         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7700         (sql-comint-linter): Rename sql-connect-* functions to
7701         sql-comint-*.
7702         (sql-product-alist, sql-mode-menu): Rename as above and
7703         :sqli-connect-func to :sqli-comint-func.
7704         (sql-connection): New variable.
7705         (sql-interactive-mode): Set it.
7706         (sql-connection-alist): New variable.
7707         (sql-connect): New function.
7708         (sql--alt-buffer-part, sql--alt-if-not-empty)
7709         (sql-make-alternate-buffer-name): Improved alternative buffer name.
7711 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7713         * image-mode.el (image-bookmark-make-record): Do not set context
7714         in an image (Bug#6650).
7716 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7718         * simple.el (select-active-region): New function.
7719         (push-mark-command, set-mark, activate-mark)
7720         (handle-shift-selection): Use it.
7721         (deactivate-mark): Don't check for size of region.
7723         * mouse.el (mouse-drag-track): Use select-active-region.
7725 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
7727         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7728         "--dired" stronger.
7730 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7732         * term/x-win.el (x-select-enable-primary): Change default to nil.
7733         (x-select-enable-clipboard): Add :version keyword.
7735         * mouse.el (mouse-drag-copy-region):
7736         * simple.el (select-active-regions): Likewise.
7738 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
7740         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7741         (vc-coding-system-for-diff): Use it to decide whether to inherit
7742         from the file the EOL format for reading the diffs of that file.
7743         (Bug#4451)
7745 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
7747         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7748         unibyte, so compressed attachments are not compressed again.
7750 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
7752         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7753         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7754         (tramp-find-shell): Simplify setting connection property.
7755         (tramp-get-ls-command): Make test for "--color=never" stronger.
7757 2010-07-15  Simon South  <ssouth@member.fsf.org>
7759         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7760         blocks within record declarations (i.e. variant parts) correctly.
7762 2010-07-15  Simon South  <ssouth@member.fsf.org>
7764         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7765         over literal tokens when parsing so newlines aren't "absorbed" by
7766         single-line comments.  Corrects the indentation of case blocks
7767         that have a comment on the first line.
7769 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
7771         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7772         by Drew Adams (Bug#5504).
7774 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7776         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7777         now that Unicode is used (Bug#6594).
7779 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
7781         * term/x-win.el (x-select-enable-clipboard): Default to t.
7782         (x-initialize-window-system): Don't overwrite Paste menu item.
7784         * simple.el (select-active-regions): Default to t.
7785         (push-mark-command): Don't overwrite primary with empty string.
7787         * mouse.el: Bind mouse-2 to mouse-yank-primary.
7788         (mouse-drag-copy-region): Default to nil.
7790         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7791         Cut/Copy/Paste menu bar items.
7793 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7795         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7796         Patch applied by Karl Fogel.
7798         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7799         and `bookmark-current-buffer' if they have been already set in
7800         another buffer (e.g gnus-art).
7802 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7803             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7805         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7807         * bookmark.el (bookmark-make-record-default): Allow unneeded
7808         information to be omitted from the record.
7810         Adjust declarations and calls:
7812         * info.el (bookmark-make-record-default): Adjust declaration.
7813         (Info-bookmark-make-record): Adjust call.
7815         * woman.el (bookmark-make-record-default): Adjust declaration.
7816         (woman-bookmark-make-record): Adjust call.
7818         * man.el (bookmark-make-record-default): Adjust declaration.
7819         (Man-bookmark-make-record): Adjust call.
7821         * image-mode.el (bookmark-make-record-default): Adjust declaration.
7823         * doc-view.el (bookmark-make-record-default): Adjust declaration.
7825 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7827         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7828         This is also from Thierry Volpiatto's patch in bug #6444.  However,
7829         because it was extraneous to the functional change in that patch,
7830         and causes a re-indendation, I am committing it separately.
7832 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7834         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7835         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7836         Patch applied by Karl Fogel (Bug#6444).
7838 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
7840         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7842 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
7844         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7845         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
7846         (ns-alternatives-map): Change S-tab binding to backtab
7847         (bug#6616).
7849         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7850         under ns.
7852 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7854         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7855         (Bug#5806)
7857         * language/tv-util.el (tai-viet-re): Remove format.
7859 2010-07-12  Kenichi Handa  <handa@m17n.org>
7861         * language/hebrew.el: Remove no-byte-compile declaration.
7862         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
7863         composition-function-table for 3-character looking back.
7864         (hebrew-font-get-precomposed): New function.
7865         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7867 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
7869         * mouse.el (mouse-drag-track): Handle select-active-regions
7870         (Bug#6612).
7872 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
7874         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7875         empty argument to gvfs-copy.
7877 2010-07-10  Glenn Morris  <rgm@gnu.org>
7879         * calendar/calendar.el (calendar-week-end-day): New function.
7880         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7881         Respect calendar-week-start-day.  (Bug#6606)
7882         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7883         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7884         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7885         respect calendar-week-start-day.
7887 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
7889         * simple.el (use-region-p): Doc fix (Bug#6607).
7891 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
7893         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7894         Add regexps for cucumber and ruby.
7896 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
7898         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7899         (epa-file-insert-file-contents): Hack to prevent
7900         find-file from opening empty buffer when decryption failed
7901         (bug#6568).
7903 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
7905         * textmodes/ispell.el (ispell-alternate-dictionary):
7906         Use file-readable-p.
7907         Return nil if no word-list is found at default locations.
7908         (ispell-complete-word-dict): Default to nil.
7909         (ispell-command-loop): Use 'word-list' when using lookup-words.
7910         (lookup-words): Use ispell-complete-word-dict or
7911         ispell-alternate-dictionary.  Check for word-list availability
7912         and handle errors if needed with better messages (Bug#6539).
7913         (ispell-complete-word): Use ispell-complete-word-dict or
7914         ispell-alternate-dictionary.
7916 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
7918         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7919         builtins (BufferError, BytesWarning, WindowsError; callables
7920         bin, bytearray, bytes, format, memoryview, next, print; __package__).
7922 2010-07-07  Glenn Morris  <rgm@gnu.org>
7924         * play/zone.el (top-level): Do not require timer, tabify, or cl.
7925         (zone-shift-left): Ignore intangibility, and any errors from
7926         forward-char.
7927         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
7928         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7929         deleting, and copying text properties.
7930         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7931         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7932         to point-max is hard.
7933         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7934         (zone-fill-out-screen): Ignore intangibility.
7936 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
7938         * menu-bar.el (menu-bar-mode):
7939         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7940         if it has been set.
7942         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7943         word/line selection (Bug#6565).
7945 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
7947         * net/dbus.el (dbus-send-signal): Declare function.
7949 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
7951         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7952         (dbus-register-property): New optional argument EMITS-SIGNAL.
7953         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7955 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
7957         * mouse.el (mouse-drag-overlay): Variable deleted.
7958         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7959         (mouse--remap-link-click-p): New function.
7960         (mouse-drag-track): Handle dragging by using temporary Transient
7961         Mark mode, instead of a special overlay.
7962         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7963         mouse-show-mark.
7965         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7966         deleted.
7968 2010-07-02  Juri Linkov  <juri@jurta.org>
7970         * autoinsert.el (auto-insert-alist): Fix readability
7971         by using dotted pair notation for lambda.
7973 2010-07-02  Juri Linkov  <juri@jurta.org>
7975         * faces.el (read-face-name): Rename arg `string-describing-default'
7976         to `default'.  Doc fix.  Display the default value in quotes
7977         in the prompt.  With empty input, return the `default' arg,
7978         unless the default value is a string (in which case return nil).
7979         (describe-face): Replace the string `default' arg of `read-face-name'
7980         with the symbol `default'.
7982 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
7984         * emulation/viper-cmd.el (viper-delete-backward-char)
7985         (viper-del-backward-char-in-insert)
7986         (viper-del-backward-char-in-replace, viper-change)
7987         (viper-backward-indent): Replace delete-backward-char with
7988         delete-char (Bug#6552).
7990 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
7992         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7994 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7996         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7997         argument passed to frame-creation-function (Bug#5378).
7999         * faces.el (x-handle-named-frame-geometry)
8000         (x-handle-reverse-video, x-create-frame-with-faces)
8001         (face-set-after-frame-default, tty-create-frame-with-faces):
8002         Don't separately consult default-frame-alist.  It is now passed as the
8003         PARAMETER argument.
8005 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
8007         * startup.el (command-line): Don't call tool-bar-setup in a
8008         tty-only build.
8010 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8012         * ruler-mode.el (ruler--save-header-line-format): New fun.
8013         (ruler-mode): Use it as a setter function, so as not to overwrite
8014         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8016 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
8018         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
8019         (vc-root-diff, vc-print-root-log, vc-log-incoming)
8020         (vc-log-outgoing): Use it.
8021         (vc-diff-internal): Set diff-vc-backend.
8023         * vc/diff-mode.el (diff-vc-backend): New var.
8025 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
8027         * dynamic-setting.el (font-setting-change-default-font):
8028         Remove call to message.
8030 2010-06-28  Kenichi Handa  <handa@m17n.org>
8032         * international/quail.el (quail-insert-kbd-layout): Fix the
8033         showing of untranslated characters.
8035 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
8037         * simple.el (delete-active-region): New option.
8038         (delete-backward-char): Implement in Lisp.
8039         (delete-forward-char): New command.
8041         * mouse.el (mouse-region-delete-keys): Deleted.
8042         (mouse-show-mark): Simplify.
8044         * bindings.el (global-map): Bind delete and DEL, the former to
8045         delete-forward-char.
8047 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
8049         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8050         (ruby-mode): Bind indent-line-function (Bug#5119).
8052 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8054         * startup.el (command-line): Recognize "0" X resource value.
8056 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8058         * startup.el (command-line): Use X resources to set the value of
8059         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8061         * menu-bar.el (menu-bar-mode):
8062         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8063         Set init-value to t.
8065         * frame.el (frame-notice-user-settings): Don't change
8066         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8067         vice versa (Bug#2249).
8069 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
8071         * w32-fns.el (w32-convert-standard-filename): Doc fix.
8073 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
8075         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8076         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8078         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8079         default directories are expanded (Bug#6143).
8081 2010-06-24  Juri Linkov  <juri@jurta.org>
8083         * minibuffer.el (completions-format): Change default from nil to
8084         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
8086 2010-06-24  Juri Linkov  <juri@jurta.org>
8088         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8089         buffer-locally to lambda that re-runs the vc diff command.
8090         (Bug#6447)
8092 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
8094         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8095         echo area is in use (Bug#3412).
8097 2010-06-22  Glenn Morris  <rgm@gnu.org>
8099         * textmodes/texinfmt.el (texinfo-format-region)
8100         (texinfo-raise-lower-sections, texinfo-format-separate-node)
8101         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8102         (texinfo-format-option, texinfo-noindent):
8103         Use line-beginning-position and line-end-position.
8105         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8106         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8107         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8108         utf-8 characters.
8110 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
8112         * play/zone.el (zone-fall-through-ws): Fix next-line ->
8113         forward-line fallout.
8115 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
8117         * mouse.el (mouse-appearance-menu): Add docstring.
8119         * help.el (describe-key): Print up-event using key-description.
8121 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
8123         * net/zeroconf.el (zeroconf-resolve-service)
8124         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8125         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8127 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
8129         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8131 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
8133         Avoid displaying files with a nil state in vc-dir.
8134         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8135         cases that cause insertion.
8136         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8137         with a nil state.
8139 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8141         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8143 2010-06-29  Leo  <sdl.web@gmail.com>
8145         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
8147 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8149         * generic-x.el (bat-generic-mode): Fix regexp for command line
8150         switches (Bug#5719).
8152 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
8154         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8155         of nconc to avoid pure storage error (Bug#6239).
8157 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
8159         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8160         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8161         bindings of bookmark-automatically-show-annotations (Bug#6515).
8163 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
8165         * arc-mode.el (archive-zip-extract): Don't quote the file name on
8166         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
8168 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8170         * comint.el (make-comint, make-comint-in-buffer): Mention return
8171         value in the docstrings.  (Bug#6498)
8173 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
8175         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8176         since it is not present when using some non-default switches.
8178 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
8180         * simple.el (compose-mail): Fix doc string to refer to
8181         `compose-mail-user-agent-warnings', instead of to the
8182         nonexistent `compose-mail-check-user-agent'.
8184 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
8186         Fix an indentation bug:
8188         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8189         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8190         of existing values.
8192         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8193         (c-clear->-pair-props-if-match-before): now return t when they've
8194         cleared properties, nil otherwise.
8195         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8196         by taking account of the existing value.
8198         * progmodes/cc-defs.el
8199         (c-clear-char-property-with-value-function): Fix this to clear the
8200         property rather than overwriting it with nil.
8202 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
8204         * emacs-lisp/package.el (package-print-package): Add link to
8205         package description via describe-package.
8206         (describe-package-1): List package requirements.  Add button to
8207         perform installation.
8208         (package-menu-describe-package): New command.
8210         * help-mode.el (help-package): New button type.
8212 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
8214         * emacs-lisp/package.el: Move package-list-packages binding to
8215         menu-bar.el.
8216         (describe-package, describe-package-1, package--dir): New funs.
8217         (package-activate-1): Use package--dir.
8219         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8221         * help-mode.el (help-package-def): New button type.
8223         * menu-bar.el: Move package-list-packages binding here from
8224         package.el.
8226 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
8228         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
8230 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8232         * emacs-lisp/edebug.el (edebug-read-list):
8233         Phase out old-style backquotes.
8235 2010-06-17  Juri Linkov  <juri@jurta.org>
8237         * help-mode.el (help-mode): Set buffer-local variable
8238         revert-buffer-function to help-mode-revert-buffer.
8239         (help-mode-revert-buffer): New function.
8241         * info.el (Info-revert-find-node): Check for major-mode Info-mode
8242         before popping to "*info*" (like in other Info functions).
8243         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
8244         old-history-forward.  Pop to old-buffer-name or "*info*" to
8245         recreate the killed buffer.  Set Info-history-forward from
8246         old-history-forward.
8247         (Info-breadcrumbs-depth): Add :group and :version.
8249 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
8251         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8253 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
8255         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8256         for languages like Portuguese with pt_{BR,PT} and no plain pt.
8258 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
8260         * emacs-lisp/package.el (package-menu-mode-map):
8261         Move initialization into declaration.
8263         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8265 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
8267         * emacs-lisp/package.el (package-archive-base): Point to
8268         elpa.gnu.org.
8269         (package-enable, package-load-list): New defcustoms.
8270         (package-user-dir, package-directory-list): Turn into defcustoms.
8271         Don't include package-user-dir in package-directory-list.
8272         (package--builtins-base): Don't include Emacs as a "package".
8273         (package-subdirectory-regexp): New var.
8274         (package-load-all-descriptors, package-compute-transaction)
8275         (package-download-transaction): Obey package-load-list.
8276         (package-activate-1): Rename from package-do-activate.
8277         (package-list-packages-internal): Check package-load-list.
8278         (package-load-descriptor, package-generate-autoloads)
8279         (package-unpack, package-unpack-single)
8280         (package--read-archive-file, package-delete):
8281         Use expand-file-name.
8283         * emacs-lisp/package-x.el: New file.  Package uploading
8284         functionality split out from package.el.
8286         * startup.el (command-line): Load packages after reading init file.
8288 2010-06-17  Tom Tromey  <tromey@redhat.com>
8290         * emacs-lisp/package.el: New file.
8292 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8294         Fix vc-annotate for renamed files when using Git.
8295         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8296         ls-files.  Doe not pass the object as a file name to cat-file, it
8297         is not a file name.
8298         (vc-git-annotate-command): Pass the file name using -- to avoid
8299         ambiguity with the revision.
8300         (vc-git-previous-revision): Pass a relative file name.
8302 2010-06-22  Glenn Morris  <rgm@gnu.org>
8304         * progmodes/js.el (js-mode-map): Use standard capitalization and
8305         ellipses for menu entries.
8307         * wid-edit.el (widget-complete): Doc fix.
8309 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
8311         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8313 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8315         Fix annotating other revisions for renamed files in vc-annotate.
8316         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8317         VC backend.  Use it when non-nil.
8318         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8319         (Bug#6487).
8321         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8322         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8323         Do not pass the file name to the 'previous-revision call when we
8324         don't want a file diff.  (Bug#6489)
8326 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8328         Fix finding revisions for renamed files in vc-annotate.
8329         * vc/vc.el (vc-find-revision): Add an optional argument for
8330         the VC backend.  Use it when non-nil.
8331         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8332         backend to vc-find-revision.  (Bug#6487)
8334 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8336         Fix reading file names in Git annotate buffers.
8337         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8338         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
8340 2010-06-20  Alan Mackenzie  <acm@muc.de>
8342         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8343         in file local variables, set it first.
8345 2010-06-19  Glenn Morris  <rgm@gnu.org>
8347         * descr-text.el (describe-char-unicode-data): Insert separating
8348         space when needed.  (Bug#6422)
8350         * progmodes/idlwave.el (idlwave-action-and-binding):
8351         Fix typo in 2009-12-03 change.  (Bug#6450)
8353 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8355         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8356         handling for `lambda' (misunderstanding).
8358 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
8360         * calc/calc-poly.el (math-accum-factors): Make sure that
8361         constants aren't distributed after they are factored out.
8363 2010-06-16  Juri Linkov  <juri@jurta.org>
8365         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8366         `list-colors-print'.  (Bug#6332)
8368         * subr.el (read-quoted-char): Fix up last change (bug#6290).
8370 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8372         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8373         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
8375         * font-lock.el (font-lock-major-mode): Rename from
8376         font-lock-mode-major-mode to distinguish it from
8377         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8378         (font-lock-set-defaults):
8379         * font-core.el (font-lock-default-function): Adjust users.
8380         (font-lock-mode): Don't set it at all.
8382 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8384         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8386 2010-06-16  Glenn Morris  <rgm@gnu.org>
8388         * calendar/appt.el (appt-time-msg-list): Doc fix.
8389         (appt-check): Let-bind appt-warn-time.
8390         (appt-add): Make the 3rd argument optional.
8391         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
8392         Only add WARNTIME to the output list if non-nil.
8394 2010-06-16  Ivan Kanis  <apple@kanis.eu>
8396         * calendar/appt.el (appt-check): Let the 3rd element of
8397         appt-time-msg-list specify the warning time.
8398         (appt-add): Add new argument with the warning time.  (Bug#5176)
8400 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8402         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8403         older than version 1.6.  (Bug#6361)
8405 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
8407         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8408         used by cl-do-arglist.  (Bug#6408)
8410 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
8412         * textmodes/ispell.el (ispell-dictionary-base-alist):
8413         Fix portuguese casechars/not-casechars for missing 'çÇ'.
8414         Suggested by Rolando Pereira (bug#6434).
8416 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
8418         * facemenu.el (list-colors-sort): Doc fix.
8420 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8422         * progmodes/sql.el (sql-connect-mysql): Fix typo.
8424 2010-06-14  Juri Linkov  <juri@jurta.org>
8426         Add sort option `list-colors-sort'.  (Bug#6332)
8427         * facemenu.el (color-rgb-to-hsv): New function.
8428         (list-colors-sort): New defcustom.
8429         (list-colors-sort-key): New function.
8430         (list-colors-display): Doc fix.  Sort list according to the option
8431         `list-colors-sort'.
8432         (list-colors-print): Add HSV values to `help-echo' property of
8433         RGB strings.
8435 2010-06-14  Juri Linkov  <juri@jurta.org>
8437         * compare-w.el: Move to the "vc" subdirectory.
8439 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8441         * image-mode.el (image-mode-map): Remap left-char and right-char.
8443         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8445 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
8447         * term/common-win.el (x-colors): Add all the color names defined
8448         in rgb.txt (Bug#6332).
8450         * facemenu.el (list-colors-print): Don't print extra names if it
8451         will overflow the window width.
8453         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8454         change (Bug#6343).
8456 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
8458         * files.el (make-directory): Doc fix (bug#6396).
8460 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
8462         * net/tramp.el (tramp-remote-process-environment): Protect version
8463         string by apostroph.
8464         (tramp-shell-prompt-pattern): Do not use a shy group in case of
8465         XEmacs.
8466         (tramp-file-name-for-operation): Add `call-process-region'.
8467         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8469         * net/tramp-compat.el (top): Do not autoload
8470         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
8471         only when `start-file-process' is not bound.
8472         (tramp-advice-file-expand-wildcards): Do not use
8473         `tramp-handle-file-remote-p'.
8474         (tramp-compat-make-temp-file): Handle the case, that
8475         `make-temp-file' has no third argument EXTENSION.
8477 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
8479         * makefile.w32-in (WINS_BASIC): Include new directory vc.
8481         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8483 2010-06-11  Juri Linkov  <juri@jurta.org>
8485         * finder.el (finder-known-keywords): Add keyword "vc"
8486         for version control.
8488         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8489         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8490         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8491         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8493 2010-06-11  Juri Linkov  <juri@jurta.org>
8495         Move version control related files to the "vc" subdirectory.
8496         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8497         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8498         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8499         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8500         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8501         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8502         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8503         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8504         Move files to the "vc" subdirectory.
8506 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
8508         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8509         (Bug#6367).
8511 2010-06-11  Stephen Eglen  <stephen@gnu.org>
8513         * shell.el: Bind `shell-resync-dirs' to M-RET.
8515 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
8517         * notifications.el: Move file from lisp/net, because it is
8518         supposed to talk locally to the user.
8520 2010-06-10  Julien Danjou  <julien@danjou.info>
8522         * net/notifications.el (notifications-on-action-signal)
8523         (notifications-on-closed-signal): Pass notification id as first
8524         argument to the callback functions.  Add docstrings.
8525         (notifications-notify): Fix docstring.
8527 2010-06-10  Glenn Morris  <rgm@gnu.org>
8529         * emacs-lisp/authors.el (authors-ignored-files)
8530         (authors-valid-file-names): Add some files.
8532 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8534         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8535         merge conflict, giving preference to the emacs-23 version of the code.
8537 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8539         * emacs-lisp/advice.el (ad-compile-function):
8540         Define warning-suppress-types before we let-bind it (bug#6275).
8542         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8543         declare it, make it buffer-local and permanent-local (bug#6324).
8544         (vc-resynch-window): Adjust name.
8545         * vc-hooks.el (vc-find-file-hook): Adjust name.
8547 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
8549         * net/notifications.el (notifications-notify): Fix docstring.
8551 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8553         Update to Unicode 6.0.0 beta.
8554         * international/charprop.el: Update copyright.
8555         * international/mule-cmds.el (ucs-names): Update character ranges.
8556         * international/uni-bidi.el:
8557         * international/uni-category.el:
8558         * international/uni-combining.el:
8559         * international/uni-comment.el:
8560         * international/uni-decimal.el:
8561         * international/uni-decomposition.el:
8562         * international/uni-digit.el:
8563         * international/uni-lowercase.el:
8564         * international/uni-mirrored.el:
8565         * international/uni-name.el:
8566         * international/uni-numeric.el:
8567         * international/uni-old-name.el:
8568         * international/uni-titlecase.el:
8569         * international/uni-uppercase.el: Regenerate.
8571 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8573         * emacs-lisp/smie.el (comment-string-strip): Declare function.
8574         (smie-precs-precedence-table): Fix typo in docstring.
8576         * vc-mtn.el (log-edit-extract-headers): Declare function.
8578         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8580         * net/notifications.el (dbus-register-signal): Declare function.
8581         (notifications-notify): Fix typos and reflow docstring.
8583 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8585         Improve VC create/retrieve tag/branch.
8586         * vc.el (vc-create-tag): Do not read the directory name for VCs
8587         with repository revision granularity.  Adjust the tag/branch
8588         prompt.  Reset VC properties.
8589         (vc-retrieve-tag): Do not read the directory name for VCs
8590         with repository revision granularity.  Reset VC properties.
8592 2010-06-09  Julien Danjou  <julien@danjou.info>
8594         * net/notifications.el: New file.
8596 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8598         Add optional support for resetting VC properties.
8599         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8600         call vc-file-clearprops when true.
8601         (vc-resynch-buffer): Add new optional argument, pass it down.
8602         (vc-resynch-buffers-in-directory): Likewise.
8604         Improve support for special markup in the VC commit message.
8605         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8606         * vc-hg.el (vc-hg-checkin): Add support for Date:.
8607         * vc-git.el (vc-git-checkin):
8608         * vc-bzr.el (vc-bzr-checkin): Likewise.
8610 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8612         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8613         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8615 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
8617         * iimage.el: Remove images as soon as the underlying text is modified.
8618         (iimage-modification-hook): New function.
8619         (iimage-mode-buffer): Use it.
8621 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8623         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8624         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
8625         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
8626         (smie-indent-keyword): Add handling of open-paren keywords.
8627         (smie-indent-comment-continue): Don't assume comment-continue.
8629 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
8631         * window.el (pop-to-buffer): Remove the conditional that
8632         compares new-window and old-window, so it will reselect
8633         the selected window unconditionally.
8634         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8636 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8638         * emacs-lisp/smie.el (smie-indent-offset-after)
8639         (smie-indent-forward-token, smie-indent-backward-token): New functions.
8640         (smie-indent-after-keyword): Use them.
8641         (smie-indent-fixindent): Only applies to the indentation of the BOL.
8642         (smie-indent-keyword): Tweak the black magic.
8643         (smie-indent-comment-continue): Strip comment-continue before use.
8644         (smie-indent-functions): Indent comments before keywords.
8646 2010-06-06  Juri Linkov  <juri@jurta.org>
8648         * isearch.el (isearch-lazy-highlight-search): Fix looping
8649         by checking for empty match.  This syncs this loop with the
8650         similar loop in `isearch-search'.  (Bug#6362)
8652 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
8654         * net/dbus.el (dbus-register-method): Declare function.
8655         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8656         (dbus-introspect): Doc fix.
8657         (dbus-event-bus-name, dbus-introspect-get-interface)
8658         (dbus-introspect-get-argument): Reflow docstrings.
8660 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
8662         vc-log-incoming/vc-log-outgoing fixes for Git.
8663         * vc-git.el (vc-git-log-view-mode): Fix font lock for
8664         incoming/outgoing logs.
8665         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8666         instead of vc-git-compute-remote.
8667         (vc-git-compute-remote): Remove.
8669 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
8671         * term/common-win.el (x-colors): Add "dark green" and "dark
8672         turquoise" (Bug#6332).
8674 2010-06-04  Juri Linkov  <juri@jurta.org>
8676         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8677         Instead of setting `replace' to t and replacing the same string
8678         with itself, don't do certain actions when
8679         kill-do-not-save-duplicates is non-nil and string is equal to car
8680         of kill-ring: don't call menu-bar-update-yank-menu, don't push
8681         interprogram-paste strings to kill-ring, and don't push the input
8682         argument `string' to kill-ring.
8683         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8685 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8687         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8689 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
8691         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8692         (tramp-gvfs-handler-mounted-unmounted)
8693         (tramp-gvfs-connection-mounted-p): Handle default-location.
8695         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8696         move files to trash.
8698 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8700         * international/mule-cmds.el (nonascii-insert-offset)
8701         (nonascii-translation-table): Add obsolescence information.
8703         * international/mule.el (make-translation-table-from-vector): Doc fix.
8705 2010-06-03  Glenn Morris  <rgm@gnu.org>
8707         * desktop.el (desktop-clear-preserve-buffers):
8708         Add "*Warnings*" buffer.  (Bug#6336)
8710 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
8712         vc-log-incoming/vc-log-outgoing improvements for Git.
8713         * vc-git.el (vc-git-log-outgoing): Use the same format as the
8714         short log.
8715         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
8717         Add bindings for vc-log-incoming and vc-log-outgoing.
8718         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8719         and vc-log-outgoing.
8720         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8721         and vc-log-outgoing.
8723 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8725         * net/rcirc.el (rcirc-sort-nicknames): Remove.
8726         (rcirc-handler-366): Always sort nicknames.
8728 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
8730         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8732 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8734         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8736 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8738         * net/rcirc.el (rcirc-sort-nicknames): Change default.
8739         (rcirc-sort-nicknames-join): Avoid setq.
8741 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8743         * net/rcirc.el (rcirc-sort-nicknames): New custom.
8744         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8745         (rcirc-handler-366): Use them.
8747 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8749         Split smie-indent-calculate into more manageable chunks.
8750         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8751         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8752         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8753         (smie-indent-exps): Extract from smie-indent-calculate.
8754         (smie-indent-functions): New var.
8755         (smie-indent-functions): Use them.
8757 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8759         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8760         (smie-indent-calculate): Simplify and cleanup.
8762 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
8764         * net/tramp-gvfs.el (top): Require url-util.
8765         (tramp-gvfs-mount-point): Remove.
8766         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8767         New defuns.
8768         (with-tramp-dbus-call-method): Format trace message.
8769         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8770         Implement backup call, when operation on local files fails.
8771         Use progress reporter.  Flush properties of changed files.
8772         (tramp-gvfs-handle-make-directory): Make more traces.
8773         (tramp-gvfs-url-file-name): Hexify file name in url.
8774         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8775         into account for the resulting file name.
8776         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8777         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
8778         (tramp-gvfs-handler-mounted-unmounted)
8779         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8780         attribute "default_location".  Set "prefix" property.
8781         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8782         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8783         exists.  Raise an error, if not (due to a corresponding answer
8784         "no" in interactive questions, for example).
8786 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
8788         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8790 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
8792         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8793         right-*.  (Bug#6265)
8795 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
8797         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8798         * vc-git.el (vc-git-compute-remote): New function.
8799         (vc-git-log-outgoing): Use it instead of hard coding a value.
8800         (vc-git-log-incoming): New function.
8802         Improve state updating for VC tag commands.
8803         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8804         to update the state of all buffers in the directory.
8806         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8808 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8810         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8811         `file-directory-p' to the filename part rather than to the whole text.
8813 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8815         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8817 2010-05-31  Drew Adams  <drew.adams@oracle.com>
8819         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8821 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
8823         * subr.el (momentary-string-display): Just use read-event to read
8824         the exit event (Bug#6238).
8826 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
8828         * international/mule.el (define-coding-system): Doc fix (bug#6313).
8830 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8832         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8833         Suggested by Eli Zaretskii <eliz@gnu.org>.
8835 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8837         * minibuffer.el (completion-file-name-table): Don't return a boundary
8838         past the end of `string' (bug#6299).
8839         (completion--file-name-table): Delegate to completion-file-name-table
8840         for the `boundaries' case.
8842 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8844         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8845         movement commands.
8847         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8848         `path-separator', but maintain compatibility with Emacs 20.2.
8850 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8852         * server.el (server-process-filter): Receive parent-id argument
8853         from emacsclient.
8854         (server-create-window-system-frame): New arg.  Pass parent-id as
8855         frame parameter.
8857 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
8859         Bidi-sensitive word movement with arrow keys.
8860         * subr.el (right-arrow-command, left-arrow-command): Move to
8861         bindings.el.
8863         * bindings.el (right-char, left-char): Move from subr.el and
8864         rename from right-arrow-command and left-arrow-command.
8865         (right-word, left-word): New functions.
8866         (global-map) <right>: Bind to right-char.
8867         (global-map) <left>: Bind to left-char.
8868         (global-map) <C-right>: Bind to right-word.
8869         (global-map) <C-left>: Bind to left-word.
8871         * ls-lisp.el (ls-lisp-classify-file): New function.
8872         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8873         (ls-lisp-classify): Call ls-lisp-classify-file.
8874         (insert-directory): Remove blanks from switches.
8876 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8878         * ansi-color.el: Delete unused escape sequences (Bug#6085).
8879         (ansi-color-drop-regexp): New constant.
8880         (ansi-color-apply, ansi-color-filter-region)
8881         (ansi-color-apply-on-region): Delete unrecognized control sequences.
8882         (ansi-color-apply): Build string list before calling concat.
8884 2010-05-28  Juri Linkov  <juri@jurta.org>
8886         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8887         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8888         (Bug#5270)
8890 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8892         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8893         to ignored backtrace functions.
8894         (with-progress-reporter): Expand docstring.
8895         (tramp-handle-delete-file): Implement TRASH argument.
8896         (tramp-get-remote-trash): New defun.
8898 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8900         * net/tramp-compat.el (tramp-compat-delete-file):
8901         Use `symbol-value' for backward compatibility.
8903         * net/tramp.el (tramp-handle-make-symbolic-link)
8904         (tramp-handle-load)
8905         (tramp-do-copy-or-rename-file-via-buffer)
8906         (tramp-do-copy-or-rename-file-directly)
8907         (tramp-do-copy-or-rename-file-out-of-band)
8908         (tramp-handle-process-file, tramp-handle-call-process-region)
8909         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8910         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8911         (tramp-delete-temp-file-function): Use `delete-file' instead
8912         of `tramp-compat-delete-file'.
8914         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8915         (tramp-fish-handle-make-symbolic-link)
8916         (tramp-fish-handle-process-file): Use `delete-file' instead
8917         of `tramp-compat-delete-file'.
8919         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8920         Use `delete-file' instead of `tramp-compat-delete-file'.
8922         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8923         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8924         `tramp-compat-delete-file'.
8926         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8927         Use `delete-file' instead of `tramp-compat-delete-file'.
8929         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8930         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8931         (tramp-smb-handle-write-region): Use `delete-file' instead of
8932         `tramp-compat-delete-file'.
8933         (tramp-smb-handle-delete-directory): Use 'trash as arg.
8935 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8937         * dired.el (dired-delete-file): New arg TRASH.
8938         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
8939         (dired-do-flagged-delete, dired-do-delete): Use trash.
8941         * speedbar.el (speedbar-item-delete): Allow trashing.
8943         * files.el (delete-directory): New arg TRASH.
8945         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8946         (ange-ftp-rename-remote-to-remote)
8947         (ange-ftp-rename-local-to-remote)
8948         (ange-ftp-rename-remote-to-local, ange-ftp-load)
8949         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8950         `delete-file'.
8951         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8952         allow trashing.
8954         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8955         handle new TRASH arg of `delete-file'.
8957         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8958         (tramp-handle-make-symbolic-link, tramp-handle-load)
8959         (tramp-do-copy-or-rename-file-via-buffer)
8960         (tramp-do-copy-or-rename-file-directly)
8961         (tramp-do-copy-or-rename-file-out-of-band)
8962         (tramp-handle-process-file, tramp-handle-call-process-region)
8963         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8964         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8965         (tramp-delete-temp-file-function): Use null TRASH arg in
8966         tramp-compat-delete-file call.
8968         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8969         (tramp-fish-handle-delete-file)
8970         (tramp-fish-handle-make-symbolic-link)
8971         (tramp-fish-handle-process-file): Use null TRASH arg in
8972         `tramp-compat-delete-file' call.
8974         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8975         arg in `tramp-compat-delete-file' call.
8977         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8978         (tramp-gvfs-handle-write-region): Use null TRASH arg in
8979         `tramp-compat-delete-file' call.
8981         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8982         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8983         `tramp-compat-delete-file' call.
8985         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8986         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8987         (tramp-smb-handle-write-region): Use null TRASH arg in
8988         tramp-compat-delete-file call.
8989         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8990         (tramp-smb-handle-delete-file): Rename arg.
8992         * diff.el (diff-sentinel):
8993         * epg.el (epg--make-temp-file, epg-decrypt-string)
8994         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8995         * jka-compr.el (jka-compr-partial-uncompress)
8996         (jka-compr-call-process, jka-compr-write-region):
8997         * server.el (server-sentinel): Remove optional arg from
8998         delete-file, reverting 2010-05-03 change.
9000 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9002         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9003         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9005 2010-05-27  Kenichi Handa  <handa@m17n.org>
9007         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9008         element of GSTRING is nil.
9010 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9012         * emacs-lisp/smie.el (smie-forward-token-function)
9013         (smie-backward-token-function): New vars.
9014         (smie-backward-sexp, smie-forward-sexp)
9015         (smie-indent-hanging-p, smie-indent-calculate): Use them.
9016         (smie-default-backward-token): Rename from smie-backward-token and
9017         skip comments.
9018         (smie-default-forward-token): Rename from smie-forward-token and
9019         skip comments.
9020         (smie-next-sexp): Handle nil results from next-token.
9021         (smie-indent-calculate): Add a new case for special `fixindent' comments.
9023 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9025         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9026         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9028 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
9030         * htmlfontify.el (hfy-face-resolve-face): New function.
9031         (hfy-face-to-style): Use it (Bug#6279).
9033 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9035         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9036         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9038 2010-05-26  Glenn Morris  <rgm@gnu.org>
9040         * emulation/edt.el (edt-load-keys): Use locate-library.
9042 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
9044         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9045         (log-edit-changelog-entries): Doc fix.
9046         (log-edit-changelog-insert-entries): Args changed.
9047         Rename relative filenames in ChangeLog entries.  Delete tabs.
9048         (log-edit-insert-changelog-entries): Reorganize return value of
9049         `log-edit-changelog-entries' to pass filenames to
9050         log-edit-changelog-insert-entries.
9052 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9054         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9055         `image-dired-dired-insert-marked-thumbs' to
9056         `image-dired-dired-toggle-marked-thumbs'.
9058         * image-dired.el: Require cl when compiling.
9059         (image-dired-dired-toggle-marked-thumbs): Rename from
9060         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
9061         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
9062         to 'no-dir.  Skip files whose names don't match
9063         `image-file-name-regexp'.  When file has a thumbnail overlay,
9064         delete it.  (Bug#5270)
9066 2010-05-25  Juri Linkov  <juri@jurta.org>
9068         * image-mode.el (image-mode): Add image-after-revert-hook to
9069         after-revert-hook.
9070         (image-after-revert-hook): New function.  (Bug#5669)
9072 2010-05-25  Juri Linkov  <juri@jurta.org>
9074         * image.el (image-animated-p): When delay between animated images
9075         is 0, set it to 10 (0.1 sec).  (Bug#6258)
9077 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
9079         * net/tramp.el (tramp-handle-insert-directory): Don't use
9080         `forward-word', its default syntax could be changed.
9082 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
9084         * net/tramp.el (tramp-progress-reporter-update): New defun.
9085         (with-progress-reporter): Use it.
9086         (tramp-process-actions):
9087         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9088         Preserve current message, in order to let progress reporter continue
9089         afterwards.  (Bug#6257)
9091 2010-05-25  Glenn Morris  <rgm@gnu.org>
9093         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9094         Add :version.
9096 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9098         * net/rcirc.el (rcirc-default-user-name): Change to "user".
9099         (rcirc-default-full-name): Change to "unknown".
9100         (rcirc-user-name-history): Add variable.
9102 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9103             Jonathan Rockway  <jon@jrock.us>
9105         * net/rcirc.el (rcirc-server-alist): Add :pass.
9106         (rcirc): When prompting for connection parameters, also prompt for
9107         username and password.
9108         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
9109         value to server when connecting.
9111 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9113         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9114         (smie-merge-prec2s): Pass the tables as separate args.
9115         (smie-bnf-precedence-table): Adjust call accordingly.
9116         (smie-prec2-levels): Set levels at the end.
9118         Replace Lisp calls to delete-backward-char by delete-char.
9119         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9120         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9121         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9122         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9123         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9124         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9125         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9126         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9127         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9128         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9129         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9130         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9131         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9132         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9133         delete-backward-char by calls to delete-char.
9135 2010-05-25  Kenichi Handa  <handa@m17n.org>
9137         * language/hebrew.el (hebrew-shape-gstring): New function.
9138         Register it in composition-function-table for all Hebrew combining
9139         characters.
9141 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9143         * epa.el (epa--select-keys): Don't explicitly delete the window since
9144         that can fail (e.g. sole window in frame).  Use dedication instead.
9146 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9148         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9150 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
9152         * image.el (image-refresh): Define as an alias for image-flush.
9154         * image-mode.el (image-toggle-display-image): Caller changed.
9156 2010-05-21  Juri Linkov  <juri@jurta.org>
9158         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9159         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
9160         whitespace, call wildcard-to-regexp on substrings and concat them
9161         with "\\|".  (Bug#6114)
9163 2010-05-21  Alan Mackenzie  <acm@muc.de>
9165         * progmodes/cc-engine.el (c-parse-state-get-strategy):
9166         Replace parameter `here' with `here-' and `here-plus', which sandwich
9167         any pertinent CPP construct.
9168         (c-remove-stale-state-cache-backwards): Fix a bug which happens
9169         when doing (c-parse-state) in a CPP construct: Exclude any "new"
9170         CPP construct from taking part in the scanning.
9172 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
9174         * net/tramp.el (tramp-do-copy-or-rename-file)
9175         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9176         Tune `with-progress-reporter' messages.
9177         (tramp-handle-vc-registered):
9178         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9179         (tramp-fish-handle-insert-file-contents)
9180         (tramp-fish-maybe-open-connection):
9181         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9182         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9183         (tramp-imap-handle-insert-file-contents)
9184         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9186 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
9188         * add-log.el (change-log-font-lock-keywords):
9189         Highlight all authors in multi-author entries.
9191         * smerge-mode.el (smerge-refine-ignore-whitespace)
9192         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9193         Fix typos in docstrings.
9194         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9196 2010-05-21  Glenn Morris  <rgm@gnu.org>
9198         * progmodes/fortran.el (fortran-mode):
9199         * progmodes/f90.el (f90-mode): Derive from prog-mode.
9201         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9202         having a relative path in src/Makefile.in.
9204 2010-05-20  Kevin Ryde  <user42@zip.com.au>
9206         * help-mode.el (help-make-xrefs): For Info node links turn
9207         newlines into spaces.  Link node names with newlines are matched
9208         by help-xref-info-regexp and buttonized, this change ensures they
9209         can be followed successfully with RET.  (Bug#6206)
9211 2010-05-20  Juri Linkov  <juri@jurta.org>
9213         * locate.el (locate): Use pop-to-buffer instead of
9214         switch-to-buffer-other-window.  (Bug#6204)
9216 2010-05-20  Juri Linkov  <juri@jurta.org>
9218         * replace.el (replace-highlight): Fix lazy-highlighting
9219         for `M-s w str M-% str RET'.
9221 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
9223         * isearch.el (isearch-yank-word-or-char): Pull next subword
9224         when `subword-mode' is activated.  (Bug#6220)
9226 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
9228         * isearch.el (isearch-update-post-hook): New hook.
9229         (isearch-update): Use the new hook.  (Bug#6225)
9231 2010-05-20  Juri Linkov  <juri@jurta.org>
9233         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9234         [f1], [help], and (char-to-string help-char) instead of "\C-h".
9235         (Bug#6222)
9237 2010-05-20  Juri Linkov  <juri@jurta.org>
9239         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9240         (Bug#6223)
9242 2010-05-20  Juri Linkov  <juri@jurta.org>
9244         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9245         FILE-NAME to read from the minibuffer when called interactively
9246         with prefix argument instead of using buffer-file-name.
9247         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9249         * dired.el: Update autoloads.
9251 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
9253         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9254         nxml-finish-element, for consistency with SGML mode.
9256         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9257         octave-close-block.
9259 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
9261         * composite.el: Require cl when compiling.
9262         (reference-point-alist, compose-gstring-for-graphic)
9263         (compose-gstring-for-terminal): Fix typos in docstrings.
9265 2010-05-19  Juri Linkov  <juri@jurta.org>
9267         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9268         set-window-parameter.
9270 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9272         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9273         where appropriate.
9274         (tramp-maybe-open-connection): Use it.
9276 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
9278         * simple.el (move-end-of-line): Make sure we are at line beginning
9279         before backing up to end of previous line.
9281 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9283         * password-cache.el (password-cache-remove): Fix docstring.
9285         * net/secrets.el: Autoload the widget functions.
9286         (secrets-search-items, secrets-create-item)
9287         (secrets-get-attributes, secrets-expand-item): Attributes will be
9288         stored on the password database without leading ":", as all other
9289         clients do as well.
9290         (secrets-mode): Fix docstring.
9291         (secrets-show-secrets): Provide it as autoloaded command only when
9292         D-Bus support is available.  Check existence of Secret Service API.
9294 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9296         * indent.el (indent-region): Deactivate region (bug#6200).
9298 2010-05-19  Glenn Morris  <rgm@gnu.org>
9300         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
9302 2010-05-19  Kenichi Handa  <handa@m17n.org>
9304         * composite.el: Register compose-gstring-for-graphic in
9305         composition-function-table only for combining characters (Mn, Mc, Me).
9307 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
9309         * calc/calc-trail.el (calc-trail-isearch-forward)
9310         (calc-trail-isearch-backward): Ensure that the new window
9311         point is set correctly.
9313 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9315         * subr.el (read-quoted-char): Resolve modifiers after key
9316         remapping (bug#6212).
9318 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
9320         Add visualization code for secrets.
9321         * net/secrets.el (secrets-mode): New major mode.
9322         (secrets-show-secrets, secrets-show-collections)
9323         (secrets-expand-collection, secrets-expand-item)
9324         (secrets-tree-widget-after-toggle-function)
9325         (secrets-tree-widget-show-password): New defuns.
9327 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9329         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9330         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9331         handled in smie-next-sexp.
9332         (smie-indent-calculate): Provide a starting indentation (so the
9333         recursion is well-founded ;-).
9335         Fix handling of non-associative equal levels.
9336         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9337         when it's not needed.
9338         (smie-op-left, smie-op-right): New functions.
9339         (smie-next-sexp): New function, extracted from smie-backward-sexp.
9340         Better handle equal levels to distinguish the associative case from
9341         the "multi-keyword construct" case.
9342         (smie-backward-sexp, smie-forward-sexp): Use it.
9344 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
9346         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9348         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9349         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9351 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9353         Provide a simple generic indentation engine and use it for Prolog.
9354         * emacs-lisp/smie.el: New file.
9355         * progmodes/prolog.el (prolog-smie-op-levels)
9356         (prolog-smie-indent-rules): New var.
9357         (prolog-mode-variables): Use them to configure SMIE.
9358         (prolog-indent-line, prolog-indent-level): Remove.
9360 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9362         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9363         order before computing the averages.
9365 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
9367         * calc/calc-vec.el (calc-histogram):
9368         (calcFunc-histogram): Allow vectors as inputs.
9369         (math-vector-avg): New function.
9371         * calc/calc-ext.el (math-group-float): Have the number of digits
9372         being grouped depend on the radix (Bug#6189).
9374 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
9376         * version.el (emacs-copyright, emacs-version): Don't define here,
9377         now that emacs.c defines it.
9379 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
9381         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9382         "Describe Language Environment" menu item.
9384         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9386         Bidi-sensitive movement with arrow keys.
9387         * subr.el (right-arrow-command, left-arrow-command): New functions.
9389         * bindings.el (global-map): Bind them to right and left arrow keys.
9391         Don't override standard definition of convert-standard-filename.
9392         * files.el (convert-standard-filename):
9393         Call w32-convert-standard-filename and dos-convert-standard-filename on
9394         the corresponding systems.
9396         * w32-fns.el (w32-convert-standard-filename): Rename from
9397         convert-standard-filename.  Doc fix.
9399         * dos-fns.el (dos-convert-standard-filename): Doc fix.
9400         (convert-standard-filename): Don't defalias.
9401         (register-name-alist, make-register, register-value)
9402         (set-register-value, intdos): Obsolete aliases for the
9403         corresponding dos-* functions and variables.
9404         (dos-intdos): Add a doc string.
9406 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
9408         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9409         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9410         (math-compose-tex-func):
9411         * calc/calccomp.el (math-compose-expr):
9412         * calc/calc-ext.el (math-format-flat-expr-fancy):
9413         * calc/calc-store.el (calc-read-var-name):
9414         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9416         * calc/calc.el (var-π, var-φ, var-γ): New variables.
9417         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9418         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9419         (math-standard-units): Add units.
9421 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9423         * progmodes/asm-mode.el (asm-mode):
9424         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9426         * pcomplete.el (pcomplete-completions-at-point): New function,
9427         extracted from pcomplete-std-complete.
9428         (pcomplete-std-complete): Use it.
9430 2010-05-15  Glenn Morris  <rgm@gnu.org>
9432         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9433         Remove references to CVS, RCS and Old directories.
9435 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
9437         * calc/calc-bin.el (math-format-twos-complement): Group digits when
9438         appropriate.
9440 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9442         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9443         (sh-mode-syntax-table): Give it a default value instead.
9444         (sh-header-marker): Make buffer-local.
9445         (sh-mode): Move make-local-variable to the corresponding setq.
9446         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9447         Use complete-with-action.
9449         * simple.el (prog-mode): New (abstract) major mode.
9450         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9451         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9453 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
9455         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9456         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9457         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9458         (sql-make-alternate-buffer-name, sql-placeholders-filter)
9459         (sql-escape-newlines-filter, sql-input-sender)
9460         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9462 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
9464         Add TeX open-block and close-block keybindings to SGML, and vice versa.
9466         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9467         latex-open-block and C-c / to latex-close-block.
9469         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9470         and C-c C-e to sgml-close-tag.
9472 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
9474         * net/tramp.el (with-progress-reporter): Create reporter object
9475         only when the message would be displayed.  Handle nested calls.
9476         (tramp-handle-load, tramp-handle-file-local-copy)
9477         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9478         (tramp-maybe-send-script, tramp-find-shell):
9479         Use `with-progress-reporter'.
9480         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9481         Fix message text.
9483         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9484         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9485         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9486         Use `with-progress-reporter'.
9488 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
9490         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9491         process everytime when spellchecking from the minibuffer (bug#6143).
9493 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9495         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9497         * dos-fns.el: Add "dos-" prefix for namespace control.
9498         (convert-standard-filename): Define as alias for
9499         dos-convert-standard-filename but only if applicable.
9501 2010-05-12  Alan Mackenzie  <acm@muc.de>
9503         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9504         Push the mark at the start of these functions when appropriate.
9506 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9508         * minibuffer.el (completion-cycle-threshold): New custom var.
9509         (completion--do-completion): Use it.
9510         (minibuffer-complete): Use cycling if appropriate.
9512 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
9514         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9515         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9517 2010-05-11  Juri Linkov  <juri@jurta.org>
9519         * scroll-all.el (scroll-all-check-to-scroll):
9520         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9522 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9524         * iimage.el (iimage-mode-map): Move initialization into declaration.
9525         (iimage-mode-buffer): Use with-silent-modifications.
9526         Simplify calling convention.  Adjust callers.
9527         (iimage-mode): Don't run hook redundantly.
9529         * minibuffer.el (completion-pcm--pattern->regex):
9530         Fix last change (bug#6160).
9532 2010-05-10  Juri Linkov  <juri@jurta.org>
9534         Remove nodes visited during Isearch from the Info history.
9535         * info.el (Info-isearch-initial-history)
9536         (Info-isearch-initial-history-list): New variables.
9537         (Info-isearch-start): Record initial values of
9538         Info-isearch-initial-history and Info-isearch-initial-history-list.
9539         Add Info-isearch-end to isearch-mode-end-hook.
9540         (Info-isearch-end): New function.
9542 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
9544         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9545         format string, in order to work around a bug in pdksh.
9546         Reported by Gilles Pion <gpion@lfdj.com>.
9547         (tramp-handle-verify-visited-file-modtime): Do not send a command
9548         when the connection is not established.
9549         (tramp-handle-set-file-times): Simplify the check for utc.
9551 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
9553         Fix use of `filter-buffer-substring' (rework previous change).
9554         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9555         (cua-repeat-replace-region):
9556         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9557         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9558         (cua-cut-region-to-global-mark): Use it.
9560 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
9562         * progmodes/sql.el: Version 2.1.
9563         (sql-product-alist): Redesign structure of product info.
9564         (sql-product, sql-user, sql-server, sql-database): Safe variables.
9565         (sql-port, sql-port-history): New variables.
9566         (sql-interactive-product): New variable.
9567         (sql-send-terminator): New variable.
9568         (sql-imenu-generic-expression): Add "Types" imenu entry.
9569         (sql-oracle-login-params, sql-sqlite-login-params)
9570         (sql-mysql-login-params, sql-solid-login-params)
9571         (sql-sybase-login-params, sql-informix-login-params)
9572         (sql-ingres-login-params, sql-ms-login-params)
9573         (sql-postgres-login-params, sql-interbase-login-params)
9574         (sql-db2-login-params, sql-linter-login-params)
9575         (sql-oracle-scan-on): New variables.
9576         (sql-mode-map): Add C-c C-i to start interactive mode.
9577         (sql-mode-menu): Update existing menu entries.
9578         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9579         (sql-mode-oracle-font-lock-keywords)
9580         (sql-mode-postgres-font-lock-keywords)
9581         (sql-mode-ms-font-lock-keywords)
9582         (sql-mode-sybase-font-lock-keywords)
9583         (sql-mode-informix-font-lock-keywords)
9584         (sql-mode-interbase-font-lock-keywords)
9585         (sql-mode-ingres-font-lock-keywords)
9586         (sql-mode-solid-font-lock-keywords)
9587         (sql-mode-mysql-font-lock-keywords)
9588         (sql-mode-sqlite-font-lock-keywords)
9589         (sql-mode-db2-font-lock-keywords)
9590         (sql-mode-linter-font-lock-keywords): Update initialization to
9591         reduce run-time complexity.
9592         (sql-add-product, sql-del-product): New functions.
9593         (sql-set-product-feature, sql-get-product-feature): New functions.
9594         (sql-product-font-lock): Update product API.
9595         (sql-add-product-keywords): New function.
9596         (sql-highlight-product): Update product API.
9597         (sql-help-list-products): New function.
9598         (sql-help): Dynamically lists free and non-free products.
9599         (sql-get-login): Correct bug in handling history and added
9600         prompt for port.
9601         (sql-copy-column): Copy without properties.
9602         (sqli-input-sender): Apply filters to SQLi input.
9603         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9604         Implement as a filter.
9605         (sql-escape-newlines-filter): Implement as a filter.
9606         (sql-remove-tabs-filter): New function.
9607         (sql-send-magic-terminator): New function.
9608         (sql-send-string): Implement magic terminator.
9609         (sql-send-region): Use `sql-send-string'.
9610         (sql-interactive-mode): Use product API.
9611         (sql-product-interactive): Use product API.
9612         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9613         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9614         (sql-db2, sql-linter): Use `sql-product-interactive'.
9615         (sql-connect): New function.
9616         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9617         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9618         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9619         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9620         Use `sql-connect'.
9622 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9624         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9625         New custom variable.
9626         (completion-pcm--string->pattern): Use it.
9627         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9628         Make it handle any symbol as `any'.
9629         (completion-pcm--merge-completions): Extract common suffix for the new
9630         `prefix' symbol as well.
9631         (completion-substring--all-completions): Use the new `prefix' symbol.
9633 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
9635         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9636         not bound.
9637         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9638         (tramp-compat-funcall): New defmacro.
9639         (tramp-compat-line-beginning-position)
9640         (tramp-compat-line-end-position)
9641         (tramp-compat-temporary-file-directory)
9642         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9643         (tramp-compat-copy-file, tramp-compat-copy-directory)
9644         (tramp-compat-delete-file, tramp-compat-delete-directory)
9645         (tramp-compat-number-sequence, tramp-compat-process-running-p)
9646         * net/tramp.el (top, with-progress-reporter)
9647         (tramp-rfn-eshadow-setup-minibuffer)
9648         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9649         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9650         (tramp-completion-mode-p, tramp-check-for-regexp)
9651         (tramp-open-connection-setup-interactive-shell)
9652         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9653         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9654         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9655         * net/tramp-cmds.el (tramp-cleanup-all-connections)
9656         (tramp-reporter-dump-variable, tramp-load-report-modules)
9657         (tramp-append-tramp-buffers)
9658         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9660         * net/tramp-imap.el (top): Autoload `epg-make-context'.
9662 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9664         * progmodes/compile.el (compilation-buffer-modtime): Rename from
9665         buffer-modtime.  Adjust users.
9667 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9669         * international/mule.el (auto-coding-alist): Only purecopy
9670         car of each item, not the whole list (Bug#6083).
9672 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9674         * progmodes/js.el (js-mode): Make paragraph variables local before
9675         calling c-setup-paragraph-variables (Bug#6071).
9677 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
9679         * composite.el (compose-region, reference-point-alist): Fix typos
9680         in the doc strings.
9682 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9684         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9685         gnuplot's "set" command.
9687 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9689         * abbrev.el (last-abbrev-text): Doc fix.
9690         (abbrev-prefix-mark): Don't escape parenthesis.
9692 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
9694         * composite.el (find-composition): Doc fix.
9696 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9698         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9699         (sql-oracle-program, sql-sqlite-options)
9700         (sql-query-placeholders-and-send): Doc fixes.
9701         (sql-set-product, sql-interactive-mode): Reflow docstrings.
9702         (sql-imenu-generic-expression, sql-buffer)
9703         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9704         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9705         (sql-mode-sybase-font-lock-keywords)
9706         (sql-mode-informix-font-lock-keywords)
9707         (sql-mode-interbase-font-lock-keywords)
9708         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9709         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9710         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9711         (sql-product-feature, sql-highlight-product)
9712         (comint-line-beginning-position, sql-rename-buffer)
9713         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9714         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9715         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9716         Fix typos in docstrings.
9718 2010-05-08  Juri Linkov  <juri@jurta.org>
9720         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9721         property instead of `invisible' and `after-string' (bug#5998).
9723 2010-05-08  Juri Linkov  <juri@jurta.org>
9725         * image-mode.el (image-mode-as-text): Fix typo in docstring.
9727 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9729         * filecache.el (file-cache-add-directory-list)
9730         (file-cache-add-directory-recursively): Fix typos in docstrings.
9732 2010-05-08  Kenichi Handa  <handa@m17n.org>
9734         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9735         (gujarati-composable-pattern): Fix typo.
9737 2010-05-08  Kenichi Handa  <handa@m17n.org>
9739         * language/indian.el (oriya-composable-pattern)
9740         (tamil-composable-pattern, malayalam-composable-pattern):
9741         Add two-part vowels to "v" (vowel sign).
9743 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9745         * files.el (copy-directory): Handle symlinks (Bug#5982).
9747 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
9749         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9750         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
9751         (Bug#5846).
9753 2010-05-08  Glenn Morris  <rgm@gnu.org>
9755         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9757         * minibuffer.el (completion-at-point): Doc fix.
9759 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9761         * electric.el (Electric-command-loop): Minor tweak.
9763         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9764         better with dedicated windows.
9766 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
9768         * Version 23.2 released.
9770 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9771             Stefan Monnier  <monnier@iro.umontreal.ca>
9773         Highlight vendor specific properties.
9774         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9775         (css-proprietary-property): New face.
9776         (css-font-lock-keywords): Use them.
9778 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
9780         * cus-start.el (all): Add native condition for tool-bar-* symbols.
9782 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9784         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9785         * files.el (auto-mode-alist): Remove redundant entries.
9787         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9788         * simple.el (auto-save-mode): Move from files.el.
9789         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9791 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
9793         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9795 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
9797         * mail/binhex.el (binhex-decode-region-internal)
9798         * mail/uudecode.el (uudecode-decode-region-internal)
9799         * net/dns.el (dns-read-string-name, dns-write, dns-read)
9800         (dns-read-type, dns-query)
9801         * pgg-parse.el (pgg-parse-armor)
9802         * pgg.el (pgg-verify-region)
9803         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9804         XEmacs.
9806         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9808 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
9810         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9812         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9813         * emulation/cua-base.el (cua-repeat-replace-region):
9814         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9815         (cua-cut-region-to-global-mark):
9816         Remove text properties with `set-text-properties'.
9818 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
9820         * net/tramp.el (top, with-progress-reporter):
9821         Use `symbol-function' inside `funcall'.
9823         * net/tramp-compat.el (tramp-compat-file-attributes)
9824         (tramp-compat-delete-file, tramp-compat-delete-directory):
9825         Handle only `wrong-number-of-arguments' error.
9827         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9828         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9829         inside `funcall'.
9831 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9833         * minibuffer.el (completion--sreverse, completion--common-suffix):
9834         New functions.
9835         (completion-pcm--merge-completions): Extract common suffix when safe.
9837         * emacs-lisp/easy-mmode.el (define-minor-mode):
9838         Make :variable more flexible.
9839         * files.el (auto-save-mode): Use it to define using define-minor-mode.
9841 2010-05-05  Juri Linkov  <juri@jurta.org>
9843         Add `slow' and `history' tags to the desktop data.
9845         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9846         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9847         (Info-finder-find-node): Require `finder.el' to be able
9848         to restore node from the desktop.
9849         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
9850         data `Info-history' and `slow' tag in the assoc list.
9851         (Info-restore-desktop-buffer): Don't restore nodes with the
9852         `slow' tag.  Restore `Info-history'.
9854 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
9856         Add FORCE argument to `delete-file'.
9858         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9859         forcing to delete the temporary file.
9860         (ange-ftp-delete-file): Add FORCE arg.
9861         (ange-ftp-rename-remote-to-remote)
9862         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9863         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9864         Force file deletion.
9866         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9868         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9869         (tramp-handle-make-symbolic-link, tramp-handle-load)
9870         (tramp-do-copy-or-rename-file-via-buffer)
9871         (tramp-do-copy-or-rename-file-directly)
9872         (tramp-do-copy-or-rename-file-out-of-band)
9873         (tramp-handle-process-file, tramp-handle-call-process-region)
9874         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9875         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9876         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9878         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9879         (tramp-fish-handle-make-symbolic-link)
9880         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9882         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9883         Use `tramp-compat-delete-file'.
9885         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9886         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9888         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9889         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9891         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9892         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9893         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9894         Use `tramp-compat-delete-file'.
9896 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9898         Minor cleanups.
9899         * subr.el (add-minor-mode): Use push.
9900         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9901         * emulation/edt.el (edt-select-mode): Simplify.
9903         Use define-minor-mode in more cases.
9904         * term/tvi970.el (tvi970-set-keypad-mode):
9905         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9906         (normal-erase-is-backspace-mode):
9907         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9908         (set-scroll-bar-mode-1): (Re)move to its sole caller.
9909         (get-scroll-bar-mode): New function.
9910         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9912         Use define-minor-mode for less obvious cases.
9913         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9914         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9915         * international/iso-ascii.el (iso-ascii-mode):
9916         * frame.el (auto-raise-mode, auto-lower-mode):
9917         * composite.el (global-auto-composition-mode): Use define-minor-mode.
9919 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
9921         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9922         in order to see error messages for failed logins.
9924 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
9926         * diff.el (diff-sentinel):
9928         * epg.el (epg--make-temp-file, epg-decrypt-string)
9929         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9931         * jka-compr.el (jka-compr-partial-uncompress)
9932         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9934         * server.el (server-sentinel): Use delete-file's new FORCE arg
9935         (Bug#6070).
9937 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9939         Use define-minor-mode where applicable.
9940         * view.el (view-mode):
9941         * type-break.el (type-break-query-mode)
9942         (type-break-mode-line-message-mode):
9943         * textmodes/reftex.el (reftex-mode):
9944         * term/vt100.el (vt100-wide-mode):
9945         * tar-mode.el (tar-subfile-mode):
9946         * savehist.el (savehist-mode):
9947         * ibuf-ext.el (ibuffer-auto-mode):
9948         * composite.el (auto-composition-mode):
9949         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9950         Use define-minor-mode.
9951         (vhdl-mode): Use static mode-line format.
9952         (vhdl-mode-line-update): Delete.
9953         (vhdl-create-mode-menu, vhdl-activate-customizations)
9954         (vhdl-hs-minor-mode): Don't bother calling it.
9956 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9958         * simple.el (with-wrapper-hook): Move.
9959         (buffer-substring-filters): Mark obsolete.
9960         (filter-buffer-substring-functions): New variable.
9961         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
9963 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
9964             Michael Albinus  <michael.albinus@gmx.de>
9966         Implement compression for inline methods.
9968         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9969         (tramp-copy-size-limit): Allow also nil.
9970         (tramp-inline-compress-commands): New defconst.
9971         (tramp-find-inline-compress, tramp-get-inline-compress)
9972         (tramp-get-inline-coding): New defuns.
9973         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9974         replaced by `tramp-get-inline-coding'.
9975         (tramp-handle-file-local-copy, tramp-handle-write-region)
9976         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9978 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9980         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9981         Remove unused functions.
9983         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9984         Set find-tag-default-function as a variable rather than a property.
9986         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9987         * progmodes/etags.el (tags-completion-at-point-function):
9988         Remove left over interactive spec.  Add autoloading stub.
9989         (complete-tag): Use tags-completion-at-point-function.
9991 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
9993         * minibuffer.el (tags-completion-at-point-function): Fix return value.
9995 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9997         * ido.el (ido-init-completion-maps): Remove C-v binding.
9998         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10000 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10002         * minibuffer.el (tags-completion-at-point-function): New function.
10003         (completion-at-point-functions): Use it.
10005         * progmodes/etags.el (complete-tag): Revert last change.
10007 2010-04-29  Alan Mackenzie  <acm@muc.de>
10009         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10010         off-by-one error (in end of macro position).
10012 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10014         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10015         firefox is absent.  Don't autoload.
10016         (browse-url-galeon-program): Don't autoload.
10018 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10020         * bindings.el (complete-symbol): Move into minibuffer.el.
10022         * minibuffer.el (complete-tag): Move from etags.el.  If tags
10023         completion cannot be performed, return nil instead of signalling
10024         an error.
10025         (completion-at-point): Make it an alias for complete-symbol.
10026         (complete-symbol): Move from bindings.el, and replace with the
10027         body of completion-at-point.
10029         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10031 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
10033         * net/tramp.el (tramp-remote-selinux-p): New defun.
10034         (tramp-handle-file-selinux-context)
10035         (tramp-handle-set-file-selinux-context): Use it.
10037 2010-04-28  Sam Steingold  <sds@gnu.org>
10039         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10040         `safe-local-variable' if the value is a string or a symbol with
10041         the property `bug-reference-url-format'.
10043 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10045         * progmodes/bug-reference.el (bug-reference-url-format):
10046         Revert 2010-04-27 change due to security risk.
10048 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10050         Make it possible to locally disable a globally enabled mode.
10051         * simple.el (fundamental-mode): Run fundamental-mode-hook.
10052         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10053         rather than kill-all-local-variables so it runs fundamental-mode-hook.
10054         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10055         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10056         that subsequent hooks get a chance to disable it.
10058 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10060         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10061         Avoid re-enabling a minor mode after the user turned the minor mode
10062         off if MODE-enable-in-buffers is run twice (typically once from
10063         fundamental-mode's after-change-major-mode-hook and a second time from
10064         run-mode-hook's own after-change-major-mode-hook).
10066         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10068 2010-04-27  Sam Steingold  <sds@gnu.org>
10070         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10071         `safe-local-variable' if the value is a string or a function, as
10072         documented and implemented on 2010-04-02.
10074 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
10076         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10077         when method is 'kill.
10079 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
10081         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10082         condition in default directory check.
10083         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10084         Kill ispell process when killing its associated buffer.
10086 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
10088         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10089         but we aren't using it.
10091 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
10093         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10094         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10096 2010-04-24  Glenn Morris  <rgm@gnu.org>
10098         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10099         Ignore VCS-ignore files, and deleted nextstep preferences files.
10100         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10101         (authors-ambiguous-files): New list.
10102         (authors-valid-file-names): Add some deleted files.
10103         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10104         (authors-disambiguate-file-name): New function.  (Bug#5501)
10105         (authors-canonical-file-name): Doc fix.
10106         Don't warn about obsolete files.
10107         (authors-canonical-file-name, authors-scan-el):
10108         Use authors-disambiguate-file-name.
10110         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10111         Add autoload cookies.
10112         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10113         (generated-autoload-file): Set file-local value to "htmlfontify.el".
10114         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10115         They have definitions / compiler macros in cl.el.
10116         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10117         Replace manual autoloads with generated ones.
10118         (htmlfontify-unload-rgb-file): Remove autoload.
10119         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10121 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10123         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10124         (byte-compile-setq-default): Optimize for the
10125         single-var case and don't call byte-compile-form in this case to avoid
10126         inf-loop with byte-compile-set-default.
10128         * progmodes/compile.el (compilation-start): Abbreviate default directory.
10130 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
10132         Implement SELINUX backends.
10134         * net/tramp.el (tramp-file-name-handler-alist):
10135         Add `file-selinux-context' and `set-file-selinux-context'.
10136         (tramp-handle-file-selinux-context)
10137         (tramp-handle-set-file-selinux-context): New defuns.
10138         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10139         Handle PRESERVE-SELINUX-CONTEXT.
10141         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10142         Add `file-selinux-context' and `set-file-selinux-context'.
10143         (tramp-gvfs-handle-file-selinux-context)
10144         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10145         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10147         * net/ange-ftp.el (ange-ftp-copy-file):
10148         * net/tramp-fish.el (tramp-fish-handle-copy-file):
10149         * net/tramp-imap.el (tramp-imap-handle-copy-file):
10150         * net/tramp-smb.el (tramp-smb-handle-copy-file):
10151         Add PRESERVE-SELINUX-CONTEXT.
10153 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10155         Synchronize with Tramp repository.
10157         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10158         (tramp-action-process-alive, tramp-action-out-of-band)
10159         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10160         (tramp-exists-file-name-handler): Fix docstring.
10161         (with-progress-reporter): New defmacro.
10162         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10163         (tramp-maybe-open-connection): Use it.
10165 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
10167         Detect ssh 'ControlMaster' argument automatically in some cases.
10169         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10170         (tramp-default-method): Use it.
10172 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10174         * net/tramp.el (tramp-handle-copy-file): Add new optional
10175         parameter `preserve-selinux-context'.
10176         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10178 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10180         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10181         Ensure, that non remote files are still checked.  Oops.
10183 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
10185         Fix Bug#5840.
10187         * icomplete.el (icomplete-completions): Use `non-essential'.
10189         * net/tramp.el (tramp-connectable-p): New defun.
10190         (tramp-handle-expand-file-name)
10191         (tramp-completion-handle-file-name-all-completions)
10192         (tramp-completion-handle-file-name-completion): Use it.
10194 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10196         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10198 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
10200         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10202         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10204         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10205         is present.
10207         * info.el (info-tool-bar-map): Add labels.
10209         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10211         * cus-edit.el (custom-commands): Add labels for tool bar.
10212         (custom-buffer-create-internal, Custom-mode): Adjust for
10213         labels in custom-commands.
10215         * dynamic-setting.el: Renamed from font-setting.el.
10217 2010-04-21  John Wiegley  <jwiegley@gmail.com>
10219         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10220         toggles the use of virtual buffers.
10221         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10222         (ido-toggle-virtual-buffers): New function.
10224 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
10226         Use `define-derived-mode'; fix window selection; doc fixes.
10227         * play/tetris.el (tetris, tetris-update-speed-function)
10228         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10229         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10230         (tetris-rotate-next, tetris-end-game, tetris-start-game)
10231         (tetris-pause-game): Fix typos in docstrings.
10232         (tetris-mode-map, tetris-null-map):
10233         Move initialization into declaration.
10234         (tetris-mode): Define with `define-derived-mode';
10235         set show-trailing-whitespace to nil.
10236         (tetris): Prefer window already displaying the "*Tetris*" buffer.
10238 2010-04-21  Karel Klíč  <kklic@redhat.com>
10240         * files.el (backup-buffer): Handle SELinux context, and return it
10241         if a backup was made by renaming.
10242         (backup-buffer-copy): Set SELinux context to the target file.
10243         (basic-save-buffer): Set SELinux context of the newly written file.
10244         (basic-save-buffer-1): Now it also returns any SELinux context.
10245         (basic-save-buffer-2): Set SELinux context of the newly created file,
10246         and return it.
10247         * net/tramp.el (tramp-file-name-for-operation):
10248         Add file-selinux-context.
10250 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10252         Make the log-edit comments use RFC822 format throughout.
10254         * vc.el (vc-checkin, vc-modify-change-comment):
10255         Adjust to new vc-start/finish-logentry.
10256         (vc-find-conflicted-file): New command.
10257         (vc-transfer-file): Adjust to new vc-checkin.
10258         (vc-next-action): Improve scoping.
10260         * vc-hg.el (vc-hg-log-edit-mode): Remove.
10261         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
10263         * vc-git.el (vc-git-log-edit-mode): Remove.
10264         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
10265         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10267         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10268         (vc-start-logentry): Remove argument `extra'.
10269         (vc-finish-logentry): Remove extra args.
10271         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10272         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
10273         (vc-bzr-conflicted-files): New function.
10275         * log-edit.el (log-edit-extra-flags)
10276         (log-edit-before-checkin-process): Remove.
10277         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10278         (log-edit-headers-alist): New var.
10279         (log-edit-header-contents-regexp): New const.
10280         (log-edit-match-to-eoh): New function.
10281         (log-edit-font-lock-keywords): Use them.
10282         (log-edit): Insert a "Summary:" header as default.
10283         (log-edit-mode): Mark font-lock rules as case-insensitive.
10284         (log-edit-done): Cleanup headers.
10285         (log-view-process-buffer): Remove.
10286         (log-edit-extract-headers): New function to replace it.
10288 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
10290         * subr.el (default-direction-reversed): Remove obsolescence info.
10292 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10294         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10295         windows/frames.
10297         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10298         I.e. include text after point in the completion region.
10299         Also, return nil when we're not after/in a symbol.
10301         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10302         default enable-multibyte-characters.
10304 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10306         * international/mule.el: Help the user choose a valid coding-system.
10307         (read-buffer-file-coding-system): New function.
10308         (set-buffer-file-coding-system): Use it.  Prompt the user if the
10309         coding-system cannot encode all the chars.
10311         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10312         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10313         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10314         Don't use *vc-bzr-shelve*.
10316 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
10318         Fix the version number for added files.
10319         * vc-hg.el (vc-hg-working-revision): Check if the file is
10320         registered after hg parent fails (Bug#5961).
10322 2010-04-19  Glenn Morris  <rgm@gnu.org>
10324         * htmlfontify.el (htmlfontify-buffer)
10325         (htmlfontify-copy-and-link-dir): Autoload entry points.
10327 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
10329         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10330         name relative to the project root (Bug#5960).
10332 2010-04-19  Glenn Morris  <rgm@gnu.org>
10334         * vc-git.el (vc-git-print-log): Doc fix.
10336 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
10338         * ido.el (ido-file-internal): Fix 2009-12-02 change.
10340 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
10342         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10343         default settings (Bug#5928).
10345 2010-04-19  Glenn Morris  <rgm@gnu.org>
10347         * progmodes/fortran.el (fortran-match-and-skip-declaration):
10348         New function.
10349         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
10351 2010-04-19  Kenichi Handa  <handa@m17n.org>
10353         * language/indian.el (malayalam-composable-pattern): Fix previous
10354         change (add U+0D4D "SIGN VIRAMA").
10355         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10356         (tamil-composable-pattern): Fix typo in the regexp.
10357         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10358         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10359         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10361 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10363         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10364         paragraph-separate (Bug#5821).
10366 2010-04-19  Juri Linkov  <juri@jurta.org>
10368         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10370         * info.el (Info-find-node-2): Comment out code that skips
10371         breadcrumbs line.
10372         (Info-mouse-follow-link): New command.
10373         (Info-link-keymap): New keymap.
10374         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10375         Return a string with links instead of inserting breadcrumbs
10376         to the Info buffer.
10377         (Info-fontify-node): Comment out code that inserts breadcrumbs.
10378         Instead of putting the `invisible' text property over the Info
10379         header, make an overlay over the Info header with the `invisible'
10380         property and `after-string' set to the string returned by
10381         `Info-breadcrumbs'.
10383 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10385         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10386         Reported by monkey@sandpframing.com.
10388 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10390         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10391         (tmm-get-keymap): Add key-binding shortcuts now that they're not
10392         available in the "keyseq cache" any more.
10394         * custom.el (defcustom): Add edebug spec.
10396 2010-04-18  Juri Linkov  <juri@jurta.org>
10398         Test for special mode-class in view-buffer instead of view-file (bug#5513).
10400         * view.el (view-file, view-buffer): Move test for special mode-class
10401         from view-file to view-buffer.
10403         * tar-mode.el (tar-extract): Turn if's into one cond
10404         like in arc-mode.el.
10406 2010-04-18  Juri Linkov  <juri@jurta.org>
10408         Add 7z archive format support (bug#5475).
10410         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10411         (archive-7z-extract): New defcustom.
10412         (archive-find-type): Add magic string for 7z.
10413         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10414         If `stderr-file' is non-nil, use `(t stderr-file)' for the
10415         `buffer' arg of `call-process'.
10416         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10417         call the function `archive-7z-extract' with the variable
10418         `archive-7z-extract' let-bound to `archive-zip-extract'.
10419         (archive-7z-summarize, archive-7z-extract): New functions.
10421         * international/mule.el (auto-coding-alist):
10422         * files.el (auto-mode-alist): Add 7z file extension.
10424 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10426         * loadup.el: Setup hash-cons for pure data.
10428         Fix duplicate entries in cedet's loaddefs.el files.
10429         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10430         Should make most file-local generated-autoload-file unnecessary.
10431         (print-readably): Silence warnings.
10432         (autoload-find-destination): Take load-name as an arg to make sure
10433         it's the same as the one that will be in the file.
10434         (autoload-generate-file-autoloads): Adjust to above changes.
10435         Try to make the dataflow a bit simpler.
10437         * cvs-status.el (cvs-refontify): Remove unused.
10439 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
10441         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10443         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10444         twos-complement mode.
10446 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
10448         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10449         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
10450         (calc-inverse): Add "Option" to message, as appropriate.
10451         (calc-hyperbolic): Add "Option" to message, as appropriate.
10452         (calc-option, calc-is-option): New functions.
10454         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10455         (calc-option-prefix-help): New function.
10457         * calc/calc-misc.el (calc-help): Add "Option" entry.
10459         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10460         (calc-option-flag): New variable.
10461         (calc-do): Set `calc-option-flag to nil.
10462         (calc-set-mode-line): Add "Opt " as appropriate.
10464 2010-04-16  Juri Linkov  <juri@jurta.org>
10466         Move scrolling commands from simple.el to window.el
10467         because their primitives are implemented in window.c.
10469         * simple.el (scroll-error-top-bottom)
10470         (scroll-up-command, scroll-down-command, scroll-up-line)
10471         (scroll-down-line, scroll-other-window-down)
10472         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10473         * window.el (scroll-error-top-bottom)
10474         (scroll-up-command, scroll-down-command, scroll-up-line)
10475         (scroll-down-line, scroll-other-window-down)
10476         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10477         Move from simple.el to window.el because their primitives are
10478         implemented in window.c.
10480 2010-04-16  Juri Linkov  <juri@jurta.org>
10482         * isearch.el (isearch-lookup-scroll-key): Check both
10483         `isearch-scroll' and `scroll-command' properties.
10484         (scroll-up, scroll-down): Remove `isearch-scroll' property.
10486         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10488         * simple.el (scroll-up-command, scroll-down-command)
10489         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10491 2010-04-15  Juri Linkov  <juri@jurta.org>
10493         * simple.el (scroll-up-command, scroll-down-command)
10494         (scroll-up-line, scroll-down-line): Put `scroll-command'
10495         property on the these symbols.  Remove them from
10496         `scroll-preserve-screen-position-commands'.
10498         * mwheel.el (mwheel-scroll): Put `scroll-command' and
10499         `isearch-scroll' properties on the `mwheel-scroll' symbol.
10500         Remove it from `scroll-preserve-screen-position-commands'.
10502         * isearch.el (isearch-allow-scroll): Doc fix.
10504 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
10506         * net/tramp.el (tramp-error-with-buffer): Don't show the
10507         connection buffer when we are in completion mode.
10508         (tramp-file-name-handler): Catch the error for some operations
10509         when we are in completion mode.  This gives the user the chance to
10510         correct the file name in the minibuffer.
10512 2010-04-15  Glenn Morris  <rgm@gnu.org>
10514         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10516 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
10518         Simplify by using `define-derived-mode'.
10519         * info.el (Info-mode):
10520         * calendar/todo-mode.el (todo-mode):
10521         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10522         (gomoku-mode-map): Move initialization into declaration.
10524 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
10526         Fix Bug#5840.
10527         * ido.el (ido-file-name-all-completions-1):
10528         * minibuffer.el (minibuffer-completion-help):
10529         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10531 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10533         * simple.el (non-essential): New var.
10535         Add a new field `location' to bookmarks for non-file bookmarks.
10536         * bookmark.el (bookmark-location): Use the new field, if present.
10537         (bookmark-insert-location): Undo last change, not needed any more.
10538         * man.el (Man-bookmark-make-record):
10539         * woman.el (woman-bookmark-make-record): Add `location' field.
10541 2010-04-14  Juri Linkov  <juri@jurta.org>
10543         * simple.el (scroll-error-top-bottom): New defcustom.
10544         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
10546         * emulation/pc-select.el (pc-select-override-scroll-error):
10547         Obsolete in favor of `scroll-error-top-bottom'.
10549 2010-04-14  Juri Linkov  <juri@jurta.org>
10551         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10552         `scroll-up-command' and `M-v' to `scroll-down-command'.
10554         * emulation/cua-rect.el (cua--init-rectangles):
10555         * forms.el (forms--change-commands):
10556         * image-mode.el (image-mode-map):
10557         Remap scroll-down-command and scroll-up-command
10558         in addition to scroll-down and scroll-up.
10560 2010-04-14  Juri Linkov  <juri@jurta.org>
10562         * mwheel.el (scroll-preserve-screen-position-commands):
10563         Add mwheel-scroll to this list of commands.
10565         * simple.el (scroll-preserve-screen-position-commands):
10566         Add scroll-up-command, scroll-down-command, scroll-up-line,
10567         scroll-down-line to this list of commands.
10569 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10571         * obsolete/complete.el: Move from lisp/complete.el.
10573         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10575         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10576         to the minor mode function now turns the mode ON unconditionally.
10578 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10580         * vc-dir.el (vc-dir-kill-line): New command.
10581         (vc-dir-mode-map): Bind it to C-k.
10583         * bookmark.el (bookmark-insert-location): Handle a nil filename.
10585         * woman.el: Add bookmark declarations to silence the compiler.
10586         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10587         step to compatibility between man and woman bookmarks.
10588         Adjust for Man-default-bookmark-title renaming.
10589         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
10591         * man.el: Add bookmark declarations to silence the compiler.
10592         (Man-name-local-regexp): Make it match NAME as well.
10593         (Man-getpage-in-background): Return the buffer.
10594         (Man-notify-when-ready): Use `case'.
10595         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10596         Don't hardcode "NAME".  Simplify.
10597         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10598         Rename from Man-bookmark-make-record.
10599         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
10600         we have the actual man-args.  Use Man-getpage-in-background rather
10601         than `man' since the arg is already processed.  Let bookmark.el do the
10602         window handling.  Only wait for the relevant process.
10603         Don't forget to autoload.
10605         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10607 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10609         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10610         New functions.
10611         (woman-mode): Setup bookmark support.
10613         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10614         (man-bookmark-jump): New functions.
10615         (Man-mode): Setup bookmark support.
10617 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
10619         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10620         recognize ssh-keygen prompt (Bug#2817).
10622 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10624         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10626 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10628         Synchronize with Tramp repository.
10630         * net/tramp.el (tramp-completion-function-alist)
10631         (tramp-file-name-regexp, tramp-chunksize)
10632         (tramp-local-coding-commands, tramp-remote-coding-commands):
10633         Fix docstring.
10634         (tramp-remote-process-environment): Use `format' instead of `concat'.
10635         (tramp-handle-directory-files-and-attributes)
10636         (tramp-get-remote-path): Use `copy-tree'.
10637         (tramp-handle-file-name-all-completions): Backward/ XEmacs
10638         compatibility: Use `completion-ignore-case' if
10639         `read-file-name-completion-ignore-case' does not exist.
10640         (tramp-do-copy-or-rename-file-directly): Do not use
10641         `tramp-handle-file-remote-p'.
10642         (tramp-do-copy-or-rename-file-out-of-band):
10643         Use `tramp-compat-delete-directory'.
10644         (tramp-do-copy-or-rename-file-out-of-band)
10645         (tramp-compute-multi-hops, tramp-maybe-open-connection):
10646         Use `format-spec-make'.
10647         (tramp-find-foreign-file-name-handler)
10648         (tramp-advice-make-auto-save-file-name)
10649         (tramp-set-auto-save-file-modes): Remove superfluous check for
10650         `stringp'.  This is done inside `tramp-tramp-file-p'.
10651         (tramp-debug-outline-regexp): New defconst.
10652         (tramp-get-debug-buffer): Use it.
10653         (tramp-check-for-regexp): Use (forward-line 1).
10654         (tramp-set-auto-save-file-modes): Adapt version check.
10656         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10657         Wrap call of `featurep' for 2nd argument.
10658         (tramp-compat-make-temp-file): Simplify fallback implementation.
10659         (tramp-compat-copy-tree): Remove function.
10660         (tramp-compat-delete-directory): Provide implementation for older
10661         Emacsen.
10663         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10664         Do not use `tramp-fish-handle-file-attributes.
10666         * net/trampver.el: Update release number.
10668 2010-04-10  Glenn Morris  <rgm@gnu.org>
10670         * progmodes/compile.el (compilation-save-buffers-predicate):
10671         Add missing :version tag.
10673 2010-04-09  Sam Steingold  <sds@gnu.org>
10675         * progmodes/compile.el (compilation-save-buffers-predicate):
10676         Remove the "autoload" cookie.
10678         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10679         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10680         and `bug-reference-prog-mode' can be used in hooks directly.
10682 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
10684         Add --author support to git commit.
10685         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10686         (vc-git-log-edit-mode): New minor mode.
10687         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10688         New declarations.
10690 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
10692         * vc-hooks.el, vc-git.el: Improve documentation comments.
10694 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10696         Fix some of the problems in defsubst* (bug#5728).
10697         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10698         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10700 2010-04-07  Sam Steingold  <sds@gnu.org>
10702         * progmodes/compile.el (compilation-save-buffers-predicate):
10703         New custom variable.
10704         (compile, recompile): Pass it to `save-some-buffers'.
10706 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
10708         * wid-edit.el (widget-choose): Move cursor to the second line of
10709         the buffer (Bug#5695).
10711 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10713         Add new VC methods: vc-log-incoming and vc-log-outgoing.
10714         * vc.el (vc-print-log-setup-buttons): New function split out from
10715         vc-print-log-internal.
10716         (vc-log-internal-common): New function, a parametrized version of
10717         vc-print-log-internal.
10718         (vc-print-log-internal): Just call vc-log-internal-common with the
10719         right arguments.
10720         (vc-incoming-outgoing-internal):
10721         (vc-log-incoming, vc-log-outgoing): New functions.
10722         (vc-log-view-type): New permanent local variable.
10724         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10726         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10727         of the dynamic bound vc-short-log.
10728         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10730         * vc-git.el (vc-git-log-outgoing): New function.
10731         (vc-git-log-view-mode): Use vc-log-view-type instead
10732         of the dynamic bound vc-short-log.
10734         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10735         of the dynamic bound vc-short-log.  Highlight the tag.
10736         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10737         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10738         (vc-hg-incoming-mode): Remove.
10739         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10741 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10743         Fix default-directory for vc-root-diff.
10744         * vc.el (vc-root-diff): Bind default-directory to the root
10745         directory for the diff command.
10747 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
10749         * progmodes/verilog-mode.el (verilog-forward-sexp):
10750         (verilog-calc-1): Support "disable fork" and "fork wait" multi
10751         word keywords, suggested by Steve Pearlmutter.
10752         (verilog-pretty-declarations): Support lineup of declarations in
10753         port lists.
10754         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10755         fix bug for /* / comments.
10756         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10757         Speed up and simplfy as this is never called with a bound.
10758         (verilog-pretty-declarations): Enhance to line up declarations
10759         inside a parameter list, suggested by Alan Morgan.
10760         (verilog-pretty-expr): Tune assignment regular expression match
10761         string for corner cases; also use markers instead of character
10762         number as indent changes the later.
10764 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
10766         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10767         as missing keyword.
10768         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10769         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
10770         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10771         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
10772         Tennant.
10773         (verilog-keywords):
10774         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10775         1800-2009 keywords, including "global.".
10777 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10779         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10780         appearing in buffer list (if a live buffer name matched a recentf
10781         file basename).  Should use uniquify to offer a real solution.
10783 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10785         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10786         comment to code, and add a :version tag.
10787         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10789 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
10791         Enable recentf-mode if using virtual buffers.
10792         * ido.el (recentf-list): Declare for byte-compiler.
10793         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
10794         (ido-make-buffer-list): Simplify.
10795         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
10797 2010-04-05  Juri Linkov  <juri@jurta.org>
10799         Scrolling commands which scroll a line instead of full screen.
10800         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10802         * simple.el (scroll-up-line, scroll-down-line): New commands.
10803         Put property isearch-scroll=t on them.
10805         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10806         Remove commands.
10808 2010-04-05  Juri Linkov  <juri@jurta.org>
10810         Scrolling commands which do not signal errors at top/bottom.
10811         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10813         * simple.el (scroll-up-command, scroll-down-command): New commands.
10814         Put property isearch-scroll=t on them.
10816         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10817         `scroll-down-command' and [next] from `scroll-up' to
10818         `scroll-up-command'.
10820         * emulation/cua-base.el: Put property CUA=move on
10821         `scroll-up-command' and `scroll-down-command'.
10822         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10823         and `scroll-down-command' to `cua-scroll-down'.
10825 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
10827         * help.el (describe-mode): Return nil.
10829 2010-04-04  John Wiegley  <jwiegley@gmail.com>
10831         * ido.el (ido-use-virtual-buffers): New variable to indicate
10832         whether "virtual buffer" support is enabled for IDO.
10833         (ido-virtual): Face used to indicate virtual buffers in the list.
10834         (ido-buffer-internal): If a buffer is chosen, and no such buffer
10835         exists, but a virtual buffer of that name does (which would be why
10836         it was in the list), recreate the buffer by reopening the file.
10837         (ido-make-buffer-list): If virtual buffers are being used, call
10838         `ido-add-virtual-buffers-to-list' before the make list hook.
10839         (ido-virtual-buffers): New variable which contains a copy of the
10840         current contents of the `recentf-list', albeit pared down for the
10841         sake of speed, and with proper faces applied.
10842         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10843         create a list of "virtual buffers" to present to the user in
10844         addition to the currently open set.  Note that this logic could
10845         get rather slow if that list is too large.  With the default
10846         `recentf-max-saved-items' of 200, there is little speed penalty.
10848 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10850         * font-lock.el: Require CL when compiling.
10851         (font-lock-turn-on-thing-lock): Use `case'.
10853 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
10855         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10856         Zaretskii.
10858 2010-04-02  Juri Linkov  <juri@jurta.org>
10860         * ehelp.el (electric-help-orig-major-mode):
10861         New buffer-local variable.
10862         (electric-help-mode): Set it to original major-mode.  Doc fix.
10863         (with-electric-help): Use `electric-help-orig-major-mode' instead
10864         of (default-value 'major-mode).  Doc fix.
10865         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10867 2010-04-02  Sam Steingold  <sds@gnu.org>
10869         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10870         `vc-hg-command' with a list of flags.
10872         * progmodes/bug-reference.el (bug-reference-bug-regexp):
10873         Also accept "patch" and "RFE".
10874         (bug-reference-fontify): `bug-reference-url-format' can also be a
10875         function to be able to handle the bug kind.
10876         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10878 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
10880         * tmm.el (tmm-get-keymap): Check with symbolp before passing
10881         value to fboundp, it may not be a symbol.
10883 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10885         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10887 2010-03-31  Juri Linkov  <juri@jurta.org>
10889         * simple.el (next-line, previous-line): Re-throw a signal
10890         with `signal' instead of using `ding'.
10891         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10893 2010-03-31  Juri Linkov  <juri@jurta.org>
10895         * simple.el (keyboard-escape-quit): Raise deselecting the active
10896         region higher than exiting the minibuffer.
10897         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10899 2010-03-31  Juri Linkov  <juri@jurta.org>
10901         * image.el (image-animated-p): Use `image-metadata' instead of
10902         `image-extension-data'.  Get GIF extenstion data from metadata
10903         property `extension-data'.
10905 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10907         * simple.el (append-to-buffer): Simplify.
10909 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
10911         * textmodes/artist.el (artist-mode): Fix typo in docstring.
10912         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
10914 2010-03-31  Kenichi Handa  <handa@m17n.org>
10916         * language/sinhala.el (composition-function-table): Fix regexp for
10917         the new Unicode specification.
10919         * language/indian.el (devanagari-composable-pattern)
10920         (tamil-composable-pattern, kannada-composable-pattern)
10921         (malayalam-composable-pattern): Adjust for the new Unicode
10922         specification.
10923         (bengali-composable-pattern, gurmukhi-composable-pattern)
10924         (gujarati-composable-pattern, oriya-composable-pattern)
10925         (telugu-composable-pattern): New variables to cope with the new
10926         Unicode specification.  Use them in composition-function-table.
10928 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10930         Make tmm-menubar work for the Buffers menu again (bug#5726).
10931         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10932         vectors rather than cons cells, as used in menu-bar-update-buffers.
10934 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10936         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10937         (js-insert-and-indent): Revert 2009-08-15 change, restoring
10938         electric punctuation for "{}();,:" (Bug#5586).
10940         * mail/sendmail.el (mail-default-directory): Doc fix.
10942 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10944         * mail/sendmail.el (mail-default-directory): Doc fix.
10946 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
10948         * subr.el (version-regexp-alist, version-to-list)
10949         (version-list-<, version-list-=, version-list-<=)
10950         (version-list-not-zero, version<, version<=, version=): Doc fix.
10951         (Bug#5744).
10953 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
10955         * vc.el (vc-root-diff): Doc fix.
10957 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10959         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10961         * simple.el (append-to-buffer): Fix last change.
10963 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10965         * simple.el (append-to-buffer): Ensure that point is preserved if
10966         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
10967         (Bug#5749)
10969 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10971         * files.el (auto-mode-case-fold): Change default to t.
10973 2010-03-30  Juri Linkov  <juri@jurta.org>
10975         * dired-x.el (dired-omit-mode): Doc fix.
10977 2010-03-30  Juri Linkov  <juri@jurta.org>
10979         * replace.el (occur-accumulate-lines): Move occur-engine related
10980         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10981         to be located after `occur-engine'.
10983 2010-03-30  Juri Linkov  <juri@jurta.org>
10985         Make occur handle multi-line matches cleanly with context.
10986         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10988         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10989         (occur-engine): Add local variables `ret', `prev-after-lines',
10990         `prev-lines'.  Use more arguments for `occur-context-lines'.
10991         Set first elem of its returned list to `data', and the second elem
10992         to `prev-after-lines'.  Don't print the separator line.
10993         In the end, print remaining context after-lines.
10994         (occur-context-lines): Add new arguments `begpt', `endpt',
10995         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
10996         after-lines of the previous match with before-lines of the
10997         current match and not overlap them.  Return a list with two
10998         values: the output line and the list of context after-lines.
11000 2010-03-30  Juri Linkov  <juri@jurta.org>
11002         * replace.el (occur-accumulate-lines): Fix a bug where the first
11003         context line at the beginning of the buffer was missing.
11005 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
11007         * files.el: Make bidi-display-reordering safe variable for boolean
11008         values.
11010 2010-03-29  Phil Hagelberg  <phil@evri.com>
11011             Chong Yidong  <cyd@stupidchicken.com>
11013         * subr.el: Extend progress reporters to perform "spinning".
11014         (progress-reporter-update, progress-reporter-do-update):
11015         Handle non-numeric value arguments.
11016         (progress-reporter--pulse-characters): New var.
11018 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
11020         * progmodes/compile.el (compilation-start): Fix regexp detection
11021         of initial cd command (Bug#5771).
11023 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
11025         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11027 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
11029         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11030         * progmodes/gdb-mi.el: Restore.
11031         * progmodes/gdb-ui.el: Remove.
11032         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11034 2010-03-25  Glenn Morris  <rgm@gnu.org>
11036         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11037         all dired buffers, even tramp ones.  (Bug#5755)
11039 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11041         Add "union tags" in mpc.el.
11042         * mpc.el: Remove backward compatibility code.
11043         (mpc-browser-tags): Change default.
11044         (mpc--find-memoize-union-tags): New var.
11045         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11046         (mpc-cmd-find): Handle the case where the playlist does not exist.
11047         Handle union-tags.
11048         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
11049         (mpc-cmd-add): Use mpc-cmd-flush.
11050         (mpc-tagbrowser-tag-name): New fun.
11051         (mpc-tagbrowser-buf): Use it.
11052         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
11054 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11056         Misc cleanup.
11057         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11058         Use replace-regexp-in-string.
11059         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11060         (makefile-imake-mode-syntax-table): Move init into defvar.
11061         (makefile-mode): Use define-derived-mode.
11063         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11064         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11065         not be present any more.
11067 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11069         * faces.el (set-face-attribute): Fix typo in docstring.
11070         (face-valid-attribute-values): Reflow docstring.
11072 2010-03-24  Glenn Morris  <rgm@gnu.org>
11074         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11076 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11078         * indent.el (indent-for-tab-command): Doc fix.
11080 2010-03-24  Alan Mackenzie  <acm@muc.de>
11082         * progmodes/cc-engine.el (c-remove-stale-state-cache):
11083         Fix off-by-one error.  Fixes bug #5747.
11085 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11087         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11088         (image-dired-read-comment): Doc fix.
11090         * json.el (json-object-type, json-array-type, json-key-type)
11091         (json-false, json-null, json-read-number):
11092         * minibuffer.el (completion-in-region-functions):
11093         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11094         (cal-tex-cursor-week):
11095         * emacs-lisp/trace.el (trace-function):
11096         * eshell/em-basic.el (eshell/printnl):
11097         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11098         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11099         * obsolete/levents.el (allocate-event, event-key, event-object)
11100         (event-point, event-process, event-timestamp, event-to-character)
11101         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11102         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11103         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11104         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11105         (reftex-highlight-selection): Fix typos in docstrings.
11107 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11109         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11111 2010-03-24  Glenn Morris  <rgm@gnu.org>
11113         * mail/rmail.el (rmail-highlight-face): Restore option deleted
11114         2008-02-13 without comment; mark it obsolete.
11115         (rmail-highlight-headers): Use rmail-highlight-face once more.
11117 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11119         * woman.el (woman2-process-escapes): Only consume the newline if
11120         the filler character is on a line by itself (Bug#5729).
11122 2010-03-24  Kenichi Handa  <handa@m17n.org>
11124         * language/indian.el (devanagari-composable-pattern): Add more
11125         consonants.
11127 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11129         * net/trampver.el: Update release number.
11131 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11133         * net/tramp.el (tramp-find-executable):
11134         Use `tramp-get-connection-buffer'.  Make the regexp for checking
11135         output of "wc -l" more robust.
11136         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11137         (tramp-open-connection-setup-interactive-shell): Remove workaround
11138         for OpenSolaris bug, it is not needed anymore.
11140 2010-03-24  Glenn Morris  <rgm@gnu.org>
11142         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
11144 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
11146         * files.el (auto-mode-alist): Accept more verilog file patterns.
11148 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11150         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11152 2010-03-24  Glenn Morris  <rgm@gnu.org>
11154         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11155         log-edit-before-checkin-process.
11157         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11159         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11161         * vc-dispatcher.el (vc-start-logentry): Doc fix.
11162         (log-view-process-buffer, log-edit-extra-flags): Declare.
11164         * log-edit.el (log-edit-before-checkin-process): Doc fix.
11166 2010-03-23  Sam Steingold  <sds@gnu.org>
11168         Fix bug#5620: recalculate all markers on compilation buffer
11169         modifications, not on file modifications.
11170         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11171         variable: the buffer modification time, for buffers not associated with
11172         files.
11173         (compilation-mode): Create it.
11174         (compilation-filter): Update it.
11175         (compilation-next-error-function): Use it instead of
11176         `visited-file-modtime' for timestamp.
11178 2010-03-23  Juri Linkov  <juri@jurta.org>
11180         Implement Occur multi-line matches.
11181         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11183         * replace.el (occur): Doc fix.
11184         (occur-engine): Set `begpt' to the beginning of the first line.
11185         Set `endpt' to the end of the last match line.  At first, count
11186         line numbers between `origpt' and `begpt'.  Split out code from
11187         `out-line' variable to new let-bindings `match-prefix' and
11188         `match-str'.  In `out-line' add non-numeric prefix to all
11189         non-first lines of multi-line matches.  Finally, count lines
11190         between `begpt' and `endpt' and add to `lines'.
11192 2010-03-23  Juri Linkov  <juri@jurta.org>
11194         * replace.el (occur-accumulate-lines, occur-engine):
11195         Use `occur-engine-line' instead of duplicate code.
11196         (occur-engine-line): New function created from duplicate code
11197         in `occur-accumulate-lines' and `occur-engine'.
11199         * replace.el (occur-engine-line): Add optional arg `keep-props'.
11200         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11202 2010-03-23  Juri Linkov  <juri@jurta.org>
11204         * finder.el: Remove TODO tasks.
11206         * info.el (Info-finder-find-node): Add node "all"
11207         with all package info.  Handle a list of multiple keywords
11208         separated by comma.
11209         (info-finder): In interactive use with a prefix argument,
11210         use `completing-read-multiple' to read a list of keywords
11211         separated by comma.
11213 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11215         Add a new completion style `substring'.
11216         * minibuffer.el (completion-basic--pattern): New function.
11217         (completion-basic-try-completion, completion-basic-all-completions):
11218         Use it.
11219         (completion-substring--all-completions)
11220         (completion-substring-try-completion)
11221         (completion-substring-all-completions): New functions.
11222         (completion-styles-alist): New style `substring'.
11224 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11226         Get rid of .elc files after removal of the corresponding .el.
11227         * Makefile.in (compile-clean): New target.
11228         (compile-main): Use it.
11230 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
11232         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11233         don't do make there.  When compiling with separate object dir, there
11234         is no Makefile there.
11236 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11238         Get rid of the ELCFILES abomination, again.
11239         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11240         (all, compile): Don't call compile-last.
11241         (compile-main): Build the "elcfiles" list dynamically.
11242         (compile-targets): New (internal) target.
11244 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
11246         * Makefile.in (top_srcdir): Define.
11247         (abs_top_builddir): Define.
11248         (srcdir): Don't append `/..'.
11249         (EMACS): Use ${abs_top_builddir}.
11250         (all, compile, compile-always, compile-last): Don't set emacswd.
11251         (update-subdirs, update-authors): Use $(top_srcdir) instead of
11252         $(srcdir).
11253         (lisp): Use $(srcdir) instead of @srcdir@.
11255 2010-03-21  Juri Linkov  <juri@jurta.org>
11257         Fix message of multi-line occur regexps and multi-buffer header lines.
11258         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11260         * replace.el (occur-1): Don't display regexp if it is longer
11261         than window-width.  Use `query-replace-descr' to display regexp.
11262         (occur-engine): Don't display regexp in the buffer header for
11263         multi-buffer occur.  Display a separate header line with total
11264         match count and regexp for multi-buffer occur.
11265         Use `query-replace-descr' to display regexp.
11267 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
11269         * net/secrets.el: Fix parenthesis.
11270         (secrets-enabled): Fix parenthesis.
11272 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11274         Use more relative file and directory names.
11275         * Makefile.in (EMACS): Arrange for it to work when we chdir.
11276         (setwins, setwins_almost, setwins_for_subdirs):
11277         Don't `cd'; output relative names.
11278         (all, compile, compile-always, compile-last): Set emacswd.
11279         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11280         Just cd to the lisp source dir so we can use relative file names.
11282         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11284 2010-03-20  Glenn Morris  <rgm@gnu.org>
11286         * textmodes/rst.el: Use faces for font-lock customization, and make the
11287         old -face variables obsolete.
11288         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11289         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11290         (rst-block-face, rst-external-face, rst-definition-face)
11291         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11292         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11293         Make obsolete.
11294         (rst-font-lock-keywords-function): Update for above changes.
11296 2010-03-20  Juri Linkov  <juri@jurta.org>
11298         * s-region.el:
11299         * obsolete/s-region.el: Move to obsolete.
11301 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
11303         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11305 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11307         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11309 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11311         Add special markup processing for commit logs.
11312         * log-edit.el (log-edit-extra-flags): New variable.
11313         (log-edit): Add new argument MODE.  Use that mode when non-nil
11314         instead of the log-view-mode.
11315         (log-view-process-buffer): New function.
11317         * vc.el: Document that the checkin method takes optional
11318         arguments.  Document new backend specific method: log-view-mode.
11319         (vc-default-log-edit-mode): New function.
11320         (vc-checkin): Use a backend specific log-view-mode.
11321         Pass extra arguments to the checkin method.
11322         (vc-modify-change-comment): Pass a dummy extra argument.
11324         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11325         log-edit.
11326         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11327         (vc-finish-logentry): Process the log buffer before passing it
11328         down.  Pass log-edit-extra-flags.
11330         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11331         command.
11332         (log-edit-extra-flags, log-edit-before-checkin-process):
11333         New declarations.
11335         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11336         command.
11337         (log-edit-extra-flags, log-edit-before-checkin-process):
11338         New declarations.
11339         (vc-hg-log-edit-mode): New derived mode.
11341         * vc-arch.el (vc-arch-checkin):
11342         * vc-cvs.el (vc-cvs-checkin):
11343         * vc-git.el (vc-git-checkin):
11344         * vc-mtn.el (vc-mtn-checkin):
11345         * vc-rcs.el (vc-rcs-checkin):
11346         * vc-sccs.el (vc-sccs-checkin):
11347         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11349 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11351         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11352         parent typo).
11354 2010-03-19  Glenn Morris  <rgm@gnu.org>
11356         * password-cache.el (password-cache, password-cache-expiry): Autoload.
11358 2010-03-18  Glenn Morris  <rgm@gnu.org>
11360         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11362         * replace.el (query-replace-history): Give it a doc string.
11363         (map-query-replace-regexp): Use query-replace-from-history-variable
11364         and query-replace-to-history-variable.
11366         * mail/hashcash.el (declare-function): Remove duplicate definition.
11368         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11369         Make it an obsolete alias for report-emacs-bug-address.
11370         (message-strip-special-text-properties): Declare.
11371         (report-emacs-bug): Remove test for a pretest bug address.
11372         Combine message-mode-specific code.
11374         * mail/supercite.el: Don't require sendmail.
11375         (mh-in-header-p): Declare rather than using with-no-warnings.
11376         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11377         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
11379         * calendar/cal-french.el: Convert to utf-8.
11381         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11382         Emacs scripts.
11384 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
11386         * net/secrets.el (secrets-enabled): New variable.  Use it instead
11387         of a subfeature.
11389 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
11391         * net/secrets.el (top): Register the D-Bus signals only when the
11392         service "org.freedesktop.secrets" can be pinged.
11393         Provide subfeature `enabled'.
11395 2010-03-14  Juri Linkov  <juri@jurta.org>
11397         Add finder unknown keywords.
11399         * finder.el (finder-unknown-keywords): New function.
11401         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11402         to create a Finder node with unknown keywords.
11404 2010-03-14  Juri Linkov  <juri@jurta.org>
11406         * finder.el (finder-compile-keywords): Replace `princ' with
11407         `prin1' on a list of symbols interned from keyword strings.
11409         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11410         a comma, then split keywords using a comma and optional whitespace.
11411         Otherwise, split by whitespace.
11413         * complete.el:
11414         * face-remap.el:
11415         * log-view.el:
11416         * net/hmac-def.el:
11417         * net/hmac-md5.el:
11418         * net/netrc.el:
11419         * progmodes/mixal-mode.el: Fix keywords.
11421 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
11423         * Makefile.in (ELCFILES): Add net/secrets.elc.
11425         * net/secrets.el: New file.
11427 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11429         * facemenu.el (list-colors-display, list-colors-print): New arg
11430         callback.  Use it to allow selecting colors.
11432         * wid-edit.el (widget-image-insert): Insert image prop even if the
11433         current display is non-graphic.
11434         (widget-field-value-set): New fun.
11435         (editable-field): Use it.
11436         (widget-field-value-get): Clean up unused var.
11437         (widget-color-value-create, widget-color--choose-action):
11438         New funs.  Allow using list-colors-display to choose color.
11440 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11442         * cus-edit.el: Resort topmost custom groups.
11443         (custom-buffer-sort-alphabetically): Default to t.
11444         (customize-apropos): Use apropos-parse-pattern.
11445         (custom-search-field): New var.
11446         (custom-buffer-create-internal): Add custom-apropos search field.
11447         (custom-add-parent-links): Don't display parent doc.
11448         (custom-group-value-create): Don't sort top-level custom group.
11449         (custom-magic-value-create): Show visibility button before option name.
11451         (custom-variable-state): New fun, from custom-variable-state-set.
11452         (custom-variable-state-set): Use it.
11453         (custom-group-value-create): Hide options with standard values
11454         using the :hidden-states property.  Use progress reporter.
11456         (custom-show): Simplify.
11457         (custom-visibility): Disable images by default.
11458         (custom-variable): New property :hidden-states.
11459         (custom-variable-value-create): Enable images for
11460         custom-visibility widgets.  Use :hidden-states property to
11461         determine initial visibility.
11463         * wid-edit.el (widget-image-find): Give images center ascent.
11464         (visibility): Add :on-image and :off-image properties.
11465         (widget-visibility-value-create): Use them.
11467 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11469         * cus-edit.el (processes): Remove from development group.
11470         (oop, hypermedia): Delete group.
11471         (comm): Promote to top-level group.
11473         * net/browse-url.el (browse-url):
11474         * net/xesam.el (xesam):
11475         * net/tramp.el (tramp):
11476         * net/goto-addr.el (goto-address):
11477         * net/ange-ftp.el (ange-ftp): Put in comm group.
11479         * view.el (view): Remove from editing group.
11481         * uniquify.el (uniquify): Put in files group.
11483         * net/browse-url.el (browse-url):
11484         * ps-print.el (postscript): Put in external group.
11486         * cus-edit.el (outlines):
11487         * textmodes/text-mode.el (text-mode-hook):
11488         * textmodes/table.el (table):
11489         * textmodes/picture.el (picture):
11490         * outline.el (outlines): Put in wp group.
11492         * nxml/nxml-mode.el (nxml): Remove from wp group.
11494         * net/tramp-imap.el (tramp-imap): Put in tramp group.
11496         * mail/metamail.el (metamail): Remove from hypermedia group.
11498         * cus-edit.el (abbrev):
11499         * whitespace.el (whitespace):
11500         * vcursor.el (vcursor):
11501         * reveal.el (reveal):
11502         * hl-line.el (hl-line): Put in convenience group.
11504         * epg-config.el (epg): Put in data group.
11506         * emulation/pc-select.el (pc-select): Put in emulations group.
11508         * calculator.el (calculator): Put in applications group.
11510 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11512         Add .dir-locals.el support for file-less buffers.
11513         * files.el (hack-local-variables): Split out code to apply local
11514         variable settings ...
11515         (hack-local-variables-apply): ... here.  New function.
11516         (hack-dir-local-variables): Use the default directory for when the
11517         buffer does not have an associated file.
11518         (hack-dir-local-variables-non-file-buffer): New function.
11519         * diff-mode.el (diff-mode):
11520         * vc-annotate.el (vc-annotate-mode):
11521         * vc-dir.el (vc-dir-mode):
11522         * log-edit.el (log-edit-mode):
11523         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11525 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11527         Add support for shelving snapshots and for showing shelves.
11528         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11529         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11530         New functions.
11531         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11532         (vc-bzr-extra-menu-map): Map them.
11534 2010-03-11  Glenn Morris  <rgm@gnu.org>
11536         * cus-edit.el (customize-changed-options-previous-release):
11537         Bump to 23.1.
11539         * image.el (image-animate-max-time): Fix :version tag.
11541 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
11543         * Branch for 23.2.
11545 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11547         * vc-git.el (vc-git-revision-table): Include remote branches.
11549 2010-03-10  Kim F. Storm  <storm@cua.dk>
11551         Animated image API.
11552         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11554         * image.el (image-animate-max-time): New defcustom.
11555         (image-animated-types): New defconst.
11556         (create-animated-image, image-animate-timer)
11557         (image-animate-start, image-animate-stop, image-animate-timeout)
11558         (image-animated-p): New functions.
11560         * image-mode.el (image-toggle-display-image):
11561         Replace `create-image' with `create-animated-image'.
11563 2010-03-09  Miles Bader  <miles@gnu.org>
11565         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11566         instead of "format:"; this ensures that the output is
11567         newline-terminated.
11569 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
11571         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11572         that all errors are caught, and that the return value is always a
11573         list (Bug#5692).
11575 2010-03-08  Kenichi Handa  <handa@m17n.org>
11577         * language/misc-lang.el (windows-1256): New coding system.
11578         (cp1256): New alias of windows-1256 (bug#5690).
11580 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
11582         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11583         call to rfc822-bad-address.  (Bug#5692)
11585 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11587         * vc-git.el (vc-git-annotate-extract-revision-at-line):
11588         Use vc-git-root as default directory for revision path (Bug#5657).
11590 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
11592         * calculator.el (calculator): Don't bind split-window-keep-point
11593         (Bug#5674).
11595 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11597         * vc-git.el: Re-flow to fit into 80 columns.
11598         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11599         Remove spurious `quote' element in each case alternative.
11600         (vc-git-show-log-entry): Use prog1.
11601         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11603 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11605         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11607 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
11609         * macros.el (insert-kbd-macro): Look up keyboard macro using the
11610         definition, not the name (Bug#5481).
11612 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11614         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11615         argument with a local variable.  (Bug#5670)
11617 2010-03-02  Juri Linkov  <juri@jurta.org>
11619         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
11621 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
11623         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11624         error when FILENAME and NEWNAME are existing remote directories.
11626         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11627         parameter DIR-FLAG.
11629 2010-03-02  Glenn Morris  <rgm@gnu.org>
11631         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11632         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11634 2010-03-01  Kenichi Handa  <handa@m17n.org>
11636         * language/burmese.el (burmese-composable-pattern): Rename from
11637         myanmar-composable-pattern.
11639         * international/characters.el (script-list):
11640         * international/fontset.el (script-representative-chars):
11641         Change myanmar to burmese.
11642         (otf-script-alist): Likewise.
11643         (setup-default-fontset): Likewise.  Re-fix :otf spec.
11645 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
11647         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11649 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
11651         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11653 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11655         * net/tramp.el (tramp-handle-write-region): START can be a string.
11656         Take care in the checks.  Reported by Dan Davison
11657         <davison@stats.ox.ac.uk>.
11659 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11661         * net/dbus.el (dbus-introspect, dbus-get-property)
11662         (dbus-set-property, dbus-get-all-properties):
11663         Use `dbus-call-method' when noninteractive.  (Bug#5645)
11665 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
11667         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11668         * emacs-lisp/elint.el (elint-add-required-env):
11669         * calendar/icalendar.el (icalendar--add-diary-entry):
11670         * calc/calcalg2.el (math-tracing-integral):
11671         * files.el (recover-session-finish): Use with-current-buffer
11672         instead of save-excursion.
11674 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11676         Fix in-buffer completion when after-change-functions modify the buffer.
11677         * minibuffer.el (completion--replace): New function.
11678         (completion--do-completion): Use it and use relative movement.
11680 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
11682         * international/fontset.el (setup-default-fontset): Fix :otf spec.
11684 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
11686         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11687         Allow the characters _<> in the stack entry (Bug#5653).
11689 2010-02-26  Kenichi Handa  <handa@m17n.org>
11691         * language/burmese.el: Fix entries in composition-function-table.
11692         (myanmar-composable-pattern): New variable.
11694         * international/fontset.el (setup-default-fontset): Add an entry
11695         for myanmar.
11697         * international/characters.el (script-list): Add Myanmar
11698         Extended-A.
11700 2010-02-26  Glenn Morris  <rgm@gnu.org>
11702         * custom.el (custom-initialize-delay): Doc fix.
11704         * mail/sendmail.el (send-mail-function): Autoload the call
11705         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11707 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
11709         * files.el (hack-local-variables-filter): For eval forms, also
11710         check safe-local-variable-p (Bug#5636).
11712 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
11714         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11715         setting the modes by `ignore-errors'.  It might fail, for example
11716         if the file is not owned by the user but the group.
11717         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11719 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
11721         * files.el (directory-listing-before-filename-regexp):
11722         Use stricter matching for iso-style dates, to avoid false matches with
11723         date-like filenames (Bug#5597).
11725         * htmlfontify.el (htmlfontify): Doc fix.
11727         * eshell/eshell.el (eshell): Doc fix.
11729         * startup.el (fancy-about-screen): In mode-line, apply
11730         mode-line-buffer-id face only to the buffer name (Bug#5613).
11732 2010-02-20  Kevin Ryde  <user42@zip.com.au>
11734         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11735         In `watcom' anchor regexp to start of line, to avoid slowness
11736         (Bug#5599).
11738 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
11740         * subr.el (remove-yank-excluded-properties): Explain in a comment
11741         why `category' property is removed.
11743 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
11745         * isearch.el (isearch-update-post-hook, isearch-update):
11746         Revert 2010-02-17 change.
11748 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
11750         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11751         (icalendar--convert-weekly-to-ical)
11752         (icalendar--convert-yearly-to-ical)
11753         (icalendar--convert-block-to-ical)
11754         (icalendar--convert-cyclic-to-ical)
11755         (icalendar--convert-anniversary-to-ical): Take care of time
11756         specifications where hour has 1-digit only (Bug#5549).
11758 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
11760         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11761         of disassemble output in GDB 7.1.
11763 2010-02-19  Glenn Morris  <rgm@gnu.org>
11765         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11766         property.  (Bug#5593)
11768 2010-02-18  Sam Steingold  <sds@gnu.org>
11770         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11772 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11774         Use abbreviated file names in bookmarks (bug#5591).
11775         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11776         calls to expand-file-name.
11777         (bookmark-relocate): Use abbreviated file names in bookmarks.
11778         (bookmark-load): Use abbreviated file names in messages.
11780 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11782         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11783         expand "." and "..".  Reported by Thierry Volpiatto
11784         <thierry.volpiatto@gmail.com>.
11786 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11788         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11789         permissions of the temporary file to "0600".  In case the remote
11790         file has no read permissions for the owner, there might be
11791         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
11793 22010-02-18  Glenn Morris  <rgm@gnu.org>
11795         * emacs-lisp/authors.el (authors-renamed-files-alist):
11796         Add entries for INSTALL.CVS.
11798 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
11800         * vc-bzr.el: Fix typo in Known Bugs section.
11802         * isearch.el (isearch-update-post-hook): New hook.
11803         (isearch-update): Use the new hook.
11805 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
11807         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11808         Fix errors in copying directories.
11809         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11810         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11811         (tramp-handle-delete-file)
11812         (tramp-handle-dired-recursive-delete-directory)
11813         (tramp-handle-write-region): Flush also the cache for the upper
11814         directory.
11816 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
11818         * simple.el (save-interprogram-paste-before-kill): Doc fix.
11820         * cus-edit.el (hardware): Doc fix.
11822         * man.el (man): Add to external custom group.
11824         * delim-col.el (columns): Move to wp custom group.
11826         * doc-view.el (doc-view): Add to data custom group.
11828         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11830         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11831         by ispell-parse-output (Bug#5575).
11833 2010-02-16  Kenichi Handa  <handa@m17n.org>
11835         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11836         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11837         (skkdic-convert): Use `euc-japan' coding system for writing.
11839 2010-02-16  Glenn Morris  <rgm@gnu.org>
11841         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11842         tex-main-file before using it.  (Bug#5562)
11844 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11846         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11847         warnings, since it is annoying for the user to see them each time he
11848         runs the code.
11850 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
11852         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11853         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11854         instead of PROC for caching "first-password-request".  Otherwise,
11855         new processes would not profit from passwords already entered.
11857         * net/tramp-cache.el (tramp-dump-connection-properties):
11858         Don't save "first-password-request" property.
11860 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
11862         * outline.el (outline-head-from-level):
11863         * simple.el (with-wrapper-hook):
11864         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11865         (elint-defun, elint-buffer-env, elint-top-form-logged)
11866         (elint-unbound-variable):
11867         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11868         Fix typos in docstrings.
11870 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
11872         * files.el (insert-directory): When WILDCARD-REGEXP and
11873         FULL-DIRECTORY-P are nil, insert the file entry instead of the
11874         whole directory.  (Bug#5551)
11876         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
11877         dired's alignment sanity.  (Bug#5516)
11879 2010-02-14  Juri Linkov  <juri@jurta.org>
11881         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11882         Remove remaining ^H with their preceding chars.  (Bug#5566)
11884 2010-02-13  Glenn Morris  <rgm@gnu.org>
11886         * simple.el (transpose-subr): Give it a doc-string.
11888         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11889         Doc fixes.
11891 2010-02-12  Juri Linkov  <juri@jurta.org>
11893         * arc-mode.el (archive-unique-fname): Make directories for nested
11894         archives.  (Bug#5540)
11896 2010-02-12  Juri Linkov  <juri@jurta.org>
11898         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
11900 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11902         * subr.el (copy-overlay): Handle deleted overlays.
11904         * man.el (Man-completion-table): Don't signal an error if we can't run
11905         manual-program (bug#4056).
11907 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
11909         * textmodes/artist.el (artist-mt): Fix typos in docstring.
11911 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11913         * info.el (Info-bookmark-jump): Simplify.
11915         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11916         (bookmark-default-handler): Accept new bookmark field `buffer'.
11918 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
11920         * iswitchb.el (iswitchb-completions): Revert last change.
11922 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
11924         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11925         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11926         This prevents file names like "~/" being listed literally.
11928 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
11930         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11931         Remove dead code.  (Bug#5546)
11933 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
11935         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11936         correctly (Bug#5548).
11938 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
11940         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11941         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11943 2010-02-08  Kenichi Handa  <handa@m17n.org>
11945         * international/mule-util.el (with-coding-priority): Add autoload
11946         cookie for putting `lisp-indent-function'.
11948 2010-02-07  Glenn Morris  <rgm@gnu.org>
11950         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11951         Move F2003 named interfaces from keywords-2 to keywords-1, and
11952         use function-name-face rather than constant-face.
11953         Simplify "abstract interface" regexp.
11955 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
11957         * eshell/esh-util.el (eshell-file-attributes): New optional arg
11958         ID-FORMAT.  Pass it to `file-attributes'.
11960         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11962 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
11964         * faces.el (set-face-attribute): Allow calling
11965         internal-set-lisp-face-attribute with 'unspecified family and
11966         foundry argument (Bug#5536).
11968 2010-02-07  Glenn Morris  <rgm@gnu.org>
11970         * progmodes/f90.el (f90-font-lock-keywords-2)
11971         (f90-looking-at-type-like, f90-looking-at-program-block-end):
11972         Handle F2003 named interfaces.
11974 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
11976         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11977         beg and end before calling c-get-state-before-change-functions.
11979 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
11981         * vc-bzr.el (vc-bzr-dir-extra-headers):
11982         Disable the pending merges header.
11984 2010-02-05  Juri Linkov  <juri@jurta.org>
11986         * doc-view.el (doc-view-mode):
11987         * image-mode.el (image-mode): Put property mode-class=special.
11988         (Bug#4896)
11990 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
11992         * vc-svn.el (vc-svn-revision-table): New function.
11994 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
11996         * net/ange-ftp.el (ange-ftp-insert-directory):
11997         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11998         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11999         Handle also directories.  (Bug#5478)
12001 2010-02-05  Glenn Morris  <rgm@gnu.org>
12003         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12005 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
12007         * startup.el (command-line-1): Convert options beginning with a
12008         single dash as well (Bug#5519).
12010 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12012         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12013         * minibuffer.el (completion-initials-expand): Only check the presence
12014         of delims *within* the boundaries, since otherwise the / delim is
12015         always found for files.
12017         Fix up various corner case problems.
12018         * doc-view.el (doc-view-last-page-number): New function.
12019         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12020         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12021         (doc-view-kill-proc): Avoid inf-loop in freak cases.
12022         (doc-view-reconvert-doc): Use the new recursive delete-directory.
12023         (doc-view-convert-current-doc): Don't create the resolution.el file
12024         here any more.
12025         (doc-view-pdf/ps->png): Do it here instead.
12026         (doc-view-already-converted-p): Check that resolution.el is present.
12027         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12028         windows that are not yet showing images.
12030 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
12032         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12033         `dired-uncache' for every elemnt which is an absolute file name.
12035         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12036         directory, handle its directory component.
12037         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12038         function is called permanently and creates noise, otherwise.
12040         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12041         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12042         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
12044 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
12046         * macros.el (apply-macro-to-region-lines):
12047         Minor simplification.  (Bug#5485)
12049 2010-02-04  Glenn Morris  <rgm@gnu.org>
12051         * mail/rmail.el (rmail-show-message-1): Handle malformed
12052         quoted-printable text.  (Bug#5441)
12054         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12056         * simple.el (visual-line-mode): Capitalize lighter.
12058 2010-02-03  John Wiegley  <jwiegley@gmail.com>
12060         * iswitchb.el (iswitchb-completions): Add bookmark files to the
12061         list of files considered for "virtual buffer" completions.
12063 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
12065         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12066         also in case of (and (not full) (not wildcard)).  This is needed
12067         when dired is called with a list of files, which are not in
12068         `default-directory'.  (Bug#5478)
12070 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12072         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12074 2010-02-02  Juri Linkov  <juri@jurta.org>
12076         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12077         from unidiff to allow function-line after @@.
12079 2010-02-02  Juri Linkov  <juri@jurta.org>
12081         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12082         '(RCS SCCS) with inverted condition.
12084 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
12086         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12087         messages.
12089 2010-02-01  Juri Linkov  <juri@jurta.org>
12091         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12092         compare with "pkunzip" and "pkzip" instead of only "pkzip".
12093         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12094         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
12096 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12098         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12099         (doc-view-revert-buffer): New command.
12100         (doc-view-mode-map): Use it.
12102 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
12104         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12105         pending merge is detected.
12107 2010-01-31  Juri Linkov  <juri@jurta.org>
12109         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12110         beginning of interactive spec like all other grep commands do.
12111         Put "all" in front of "gz".  (Bug#5260)
12113 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
12115         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12117 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
12119         * dirtrack.el (dirtrack): Warn instead of signalling error if the
12120         regexp is incorrect (Bug#5476).
12122 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
12124         * net/tramp.el (tramp-handle-insert-directory): Handle also
12125         symlinks, when FILENAME is not in `default-directory'.
12127 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12129         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12130         FILE is not in `default-directory'.  (Bug#5478)
12132         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12133         of SWITCHES.  Handle the case, FILENAME is not in
12134         `default-directory'.  (Bug#5478)
12135         (tramp-register-file-name-handlers): Add safe-magic property.
12137 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
12139         * arc-mode.el (archive-zip-extract): Quote the argument passed to
12140         unzip (Bug#5475).
12142 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
12144         * progmodes/flymake.el (flymake-allowed-file-name-masks)
12145         (flymake-master-make-header-init): Add other C++ filename masks.
12146         (flymake-find-possible-master-files)
12147         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12149 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12151         Fix some busybox annoyances.
12153         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12154         not responding." string.
12155         (tramp-open-connection-setup-interactive-shell): Dump stty
12156         settings.  Enable "neveropen" arg for all `tramp-send-command'
12157         calls.  Handle "=" in variable values properly.
12158         (tramp-find-inline-encoding): Raise an error, when no encoding is
12159         found.
12160         (tramp-wait-for-output): Check, whether PROC buffer is available.
12161         Remove spurious " ^H" sequences, sent by busybox.
12162         (tramp-get-ls-command): Suppress coloring, if possible.
12164 2010-01-28  Glenn Morris  <rgm@gnu.org>
12166         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
12168         * log-edit.el (log-edit-strip-single-file-name): Add missing
12169         :safe, :group, and :version tags.
12171 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
12173         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12174         buffers.  (Bug#5477)
12176 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
12178         * files.el (delete-directory): Handle moving to trash without
12179         first doing recursion (Bug#5436).
12181 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
12183         * vc-hooks.el (vc-path): Mark as obsolete.
12185 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
12187         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12188         names too.
12190         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12191         for the short log.
12192         (vc-bzr-log-view-mode): Adjust regexp for the above change.
12194 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
12196         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12198         * vc-bzr.el (vc-bzr-revision-table): New function.
12200 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
12202         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12203         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
12205 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
12207         Remove support for adding --signoff on commit.
12208         Future support will use an incompatible generic mechanism.
12209         * vc-git.el (vc-git-add-signoff): Remove variable.
12210         (vc-git-toggle-signoff): Remove function.
12211         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12213         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12214         Rename from xterm-set-background-mode.  Return t if the background mode
12215         was set.
12216         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12217         earlier, call it again in case the background mode has changed.
12219 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
12221         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12222         (Bug#3541).
12224 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
12226         * emacs-lisp/assoc.el (aelement): Doc fix.
12227         (aput, adelete, amake): Use lexical-let (Bug#5450).
12229 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
12231         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12232         is the same as subprogram call, not declaration.  (Bug#5435).
12234 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
12236         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12237         (tramp-smb-maybe-open-connection): Use it.
12239 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
12241         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
12243 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12245         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12246         just because we see "encoding: 8bit".
12247         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12249 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
12251         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12253 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
12255         * jka-compr.el (jka-compr-load): If load-file is not in
12256         load-history, try its file-truename version.  (bug#5447)
12258 2010-01-21  Alan Mackenzie  <acm@muc.de>
12260         Fix a situation where deletion of a cpp construct throws an error.
12261         * progmodes/cc-engine.el (c-invalidate-state-cache):
12262         Before invoking c-with-all-but-one-cpps-commented-out, check that the
12263         special cpp construct is still in the buffer.
12264         (c-parse-state): Record the special cpp with markers, not numbers.
12266 2010-01-21  Kenichi Handa  <handa@m17n.org>
12268         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12269         process last-command-event, as it is now decoded first (Bug#5380).
12271 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
12273         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12275 2010-01-20  Glenn Morris  <rgm@gnu.org>
12277         * indent.el (tab-always-indent): Fix custom-type.
12279 2010-01-19  Alan Mackenzie  <acm@muc.de>
12281         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12282         buffer throws "args out of range".
12283         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12284         playing the role of delimiter.
12286 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
12288         * progmodes/ada-mode.el: Fix bug#5400.
12289         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12290         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12291         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
12292         Improve comments in "is" portion.  Handle null procedure declaration.
12293         (ada-move-to-end): Improve doc string.
12295 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
12297         * ido.el (ido-cur-list): Initialize to nil.
12298         Remove obsolete information from commentary.
12299         (ido-choice-list): Initialize to nil.
12300         (ido-get-bufname): Reject minibuffers.
12301         (ido-make-buffer-list): If "default" is a nonexistent
12302         buffer, ignore it, as per the function's comment.
12303         (ido-kill-buffer-internal): New function.
12304         (ido-kill-buffer-at-head): Use it.
12305         (ido-visit-buffer): Likewise.
12307 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
12309         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12311 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
12313         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12314         Fix typos in chart titles.
12316         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12317         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12318         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12319         (describe-class, eieio-describe-generic, describe-generic):
12320         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12321         (eieio-speedbar-expand):
12322         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12323         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12324         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12325         (viper-del-backward-char-in-replace, viper-backward-indent)
12326         (viper-brac-function, viper-register-to-point, viper-submit-report):
12327         * net/tramp.el (tramp-remote-coding-commands):
12328         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12329         Fix typos in docstrings.
12331 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
12333         * mail/sendmail.el (mail-yank-original): Set the mark if the
12334         specified function for yanking does not do it.
12336 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
12338         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
12340         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12341         resyncing a directory.
12343 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
12345         * progmodes/ada-mode.el: Fix bug#1920.
12346         (ada-ident-re): Delete ., allow multibyte characters.
12347         (ada-goto-label-re): New; matches goto labels.
12348         (ada-block-label-re): New; matches block labels.
12349         (ada-label-re): New; matches both.
12350         (ada-named-block-re): Deleted; callers changed to use
12351         `ada-block-label-re' instead.
12352         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12353         Use `ada-block-label-re'.
12354         (ada-indent-on-previous-lines): Improve handling of goto labels.
12355         (ada-get-indent-block-start): Special-case block label.
12356         (ada-get-indent-label): Split into `ada-indent-block-label' and
12357         `ada-indent-goto-label'.
12358         (ada-goto-stmt-start, ada-goto-next-non-ws):
12359         Optionally ignore goto labels.
12360         (ada-goto-next-word): Simplify.
12361         (ada-indent-newline-indent-conditional): Insert newline before
12362         trying to fix indentation; doc fix.
12364 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
12366         * calc/calc.el (calc-command-flags): Give it an initial value.
12368 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
12370         * files.el (minibuffer-with-setup-hook):
12371         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12372         (artist-key-draw-continously, artist-key-do-continously-continously)
12373         (artist-key-set-point-continously, artist-mouse-draw-continously):
12374         Fix typos in docstrings.
12376 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
12378         * nxml/nxml-mode.el (nxml-extend-after-change-region):
12379         Never return t (Bug#3898).
12381 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
12383         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12384         can parse the output of the external commands (Bug#5279).
12386 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
12388         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12390 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
12392         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12394         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12396         * startup.el (command-line): Remove unused --icon-type arg.
12397         Handle --display arg, passing it to command-line-1 (Bug#5392).
12399 2010-01-16  Mario Lang  <mlang@delysid.org>
12401         * emacs-lisp/chart.el (chart-translate-namezone):
12402         * textmodes/artist.el (artist-compute-popup-menu-table):
12403         Remove duplicated words in doc-strings.
12405 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
12407         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12408         to mairix-search to suppress threading (Bug#5342).
12410 2010-01-15  Kenichi Handa  <handa@m17n.org>
12412         * international/mule-cmds.el (canonicalize-coding-system-name):
12413         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12415 2010-01-15  Glenn Morris  <rgm@gnu.org>
12417         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
12419         * wid-edit.el (widget-keymap): Doc fix.
12421         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12422         former seems to be more widely accepted by various svn versions.
12424 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12426         * find-cmd.el (find-constituents):
12427         * vc-arch.el (vc-arch-root):
12428         * window.el (window-body-height, pop-up-frames):
12429         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12430         * progmodes/ada-stmt.el (ada-if):
12431         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12432         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12433         (ispell-encoding8-command, ispell-aspell-supports-utf8)
12434         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12436         * progmodes/flymake.el (flymake-post-syntax-check):
12437         Fix typo in error message.
12439 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12441         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12442         which is always a string.  (Bug#5313)
12444 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12446         * progmodes/ada-xref.el (ada-default-prj-properties):
12447         Simplify previous change.
12449 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12451         * progmodes/ada-xref.el (ada-default-prj-properties):
12452         Default ada_project_path to $ADA_PROJECT_PATH.
12454 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12456         * progmodes/ada-mode.el (ada-create-keymap):
12457         Override `narrow-to-defun' with `ada-narrow-to-defun'.
12459 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12461         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12462         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12463         (ada-get-current-indent, ada-imenu-generic-expression)
12464         (ada-which-function): Check for it.
12466 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12468         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12469         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12471 2010-01-14  Glenn Morris  <rgm@gnu.org>
12473         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
12475 2010-01-14  Kenichi Handa  <handa@m17n.org>
12477         * composite.el (auto-composition-mode): Make it a buffer local
12478         variable (permanent-local).
12479         (auto-composition-function): Set the default value to
12480         auto-compose-chars.
12481         (auto-composition-mode): Make it a simple function, not a minor mode.
12482         (global-auto-composition-mode): Likewise.
12483         (turn-on-auto-composition-if-enabled): Delete it.
12485 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
12487         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12489 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
12491         * files.el (copy-directory): Compute target for recursive
12492         directories with identical names.  (Bug#5343)
12494 2010-01-12  Glenn Morris  <rgm@gnu.org>
12496         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12497         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12499 2010-01-11  Sam Steingold  <sds@gnu.org>
12501         * imenu.el (imenu-default-create-index-function): Detect infinite
12502         loops caused by imenu-prev-index-position-function.
12504 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12506         * htmlfontify.el (htmlfontify-load-rgb-file)
12507         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12508         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12509         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12510         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12511         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12512         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12513         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12514         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12515         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12516         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12517         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12518         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12519         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12520         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12521         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12522         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12523         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12524         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12525         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12526         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12527         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12528         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12529         backslash-quoting from parentheses, etc.
12531 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
12533         * progmodes/js.el: Autoload javascript-mode alias.
12535 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12537         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12538         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12539         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12540         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12541         Fix typos in docstrings.
12542         (ffap-url-regexp): Doc fix.
12543         (ffap-at-mouse): Fix typo in message.
12545 2010-01-11  Glenn Morris  <rgm@gnu.org>
12547         * version.el (emacs-copyright): Set copyright year to 2010.
12549 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12551         * format.el (format-annotate-function): Only set
12552         write-region-post-annotation-function after running to-fn so as not to
12553         affect nested write-region calls (bug#5273).
12555 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
12557         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12558         wisent/python.el.
12560 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12562         * man.el (Man-goto-section): Signal error if the section is not
12563         found (Bug#5317).
12565 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
12567         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12568         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
12570 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12572         * progmodes/compile.el: Don't treat compile-command as safe if
12573         compilation-read-command might be nil (Bug#4218).
12575 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
12577         * startup.el (command-line-1): Use orig-argi to check for ignored X and
12578         NS options.
12580 2010-01-08  Kenichi Handa  <handa@m17n.org>
12582         * international/fontset.el (build-default-fontset-data):
12583         Exclude characters in scripts kana, hangul, han, or cjk-misc.
12585 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
12587         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12588         to `create-file-buffer' as it expects, not just a buffer name.
12589         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12590         to help uniquify.  (Bug#3224)
12592 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
12594         * font-setting.el (font-setting-change-default-font): Use user-spec
12595         instead of name.
12597 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
12599         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12601 2010-01-05  Tom Tromey  <tromey@redhat.com>
12603         * progmodes/python.el (python-font-lock-keywords):
12604         Handle qualified decorators (Bug#881).
12606 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12608         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12609         in a lightweight checkout.
12611 2010-01-05  Kenichi Handa  <handa@m17n.org>
12613         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12615 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12617         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12619 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
12621         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12622         checkouts.  (Bug#618)
12623         (vc-bzr-log-view-mode): Also highlight the author.
12624         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12625         (vc-bzr-shelve-menu-map):
12626         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12627         (vc-bzr-shelve-apply): Make prompt more explicit.
12629 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
12631         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12632         They are valid characters in URL paths (rfc3986), and at least
12633         Firefox does not understand the encoded version (Bug#3166).
12635 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
12637         * progmodes/octave-mod.el (octave-end-keywords)
12638         (octave-block-begin-or-end-regexp, octave-block-match-alist):
12639         Add "end" keyword (Bug#3061).
12640         (octave-end-as-array-index-p): New function.
12641         (calculate-octave-indent): Use it.
12643 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12645         * bookmark.el: Consistently put the text property on the bookmark name.
12646         (bookmark-bmenu-marks-width): Bump back to 2, to include
12647         annotation marks.
12648         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12649         property on the bookmark name, instead of not putting it at all.
12650         (bookmark-bmenu-list): Fix where we put the text property.
12652 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12654         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12655         for showing buffer modified state (as added in the previous change).
12657 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12659         * bookmark.el: Show modified state of bookmark buffer more accurately.
12660         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12661         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12662         (with-buffer-modified-unmodified): New macro.
12663         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12664         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12665         Use new macro to preserve the buffer modified state.
12667 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12669         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12670         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12671         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12672         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12673         (bookmark-bmenu-rename, bookmark-bmenu-locate)
12674         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12675         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12677 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12679         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12680         Make the lines in the generated doc string shorter.  (Bug#4668)
12682 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
12684         * net/rcirc.el: Add follow-link binding (Bug#4738).
12686 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12688         * Makefile.in (bzr-update): Rename from cvs-update.
12689         (cvs-update): New target for backward compatibility.
12691         * makefile.w32-in (bzr-update): Rename from cvs-update.
12692         (cvs-update): New target for backward compatibility.
12694 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12696         * bookmark.el: Remove gratuitous gratitude.
12698 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12700         * bookmark.el (bookmark-bmenu-any-marks): New function.
12701         (bookmark-bmenu-save): Clear buffer modification if no marks.
12703 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12705         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12706         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12707         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12708         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12710         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12711         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12712         To: emacs-devel {_AT_} gnu.org
12713         Subject: bookmark.el bug report
12714         Date: Mon, 28 Dec 2009 14:19:16 +0800
12715         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12717 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12719         * bookmark.el: Improvements suggested by Drew Adams:
12720         (bookmark-bmenu-ensure-position): New name for
12721         `bookmark-bmenu-check-position'.  Just ensure the position,
12722         don't return any meaningful value.
12723         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12724         New constants.
12726 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
12728         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12729         (bookmark-yank-point, bookmark-bmenu-check-position):
12730         Fix typos in docstrings.
12731         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12732         (bookmark-name-from-full-record, bookmark-get-position)
12733         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12734         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12735         Remove useless quoting of parenthesis, etc. in docstrings.
12737         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12738         (ediff-append-custom-diff): Fix typo in error message.
12739         (ediff-meta-mark-equal-files): Fix typos in messages.
12741         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12743         * net/imap-hash.el (imap-hash-make): Doc fix.
12744         (imap-hash-test): Fix typo in error message; reflow docstring.
12745         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12746         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12747         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12748         Fix typos in docstrings.
12749         (imap-hash-open-connection): Fix typo in error message.
12751         * play/gomoku.el (gomoku): Fix typos in docstring.
12753         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12754         (gdb-jsonify-buffer): Fix typos in docstring.
12755         (gdb-goto-breakpoint): Fix typo in error message.
12756         ("Display Other Windows"): Fix typo in help message.
12757         (gdb-speedbar-expand-node): Fix typo in question.
12759         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12760         (idlwave-html-system-help-location, idlwave-html-help-location)
12761         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12762         (idlwave-help-browser-generic-args, idlwave-help-directory)
12763         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12764         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12765         (idlwave-online-help, idlwave-help-html-link)
12766         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12767         Fix typos in docstrings.
12768         (idlwave-help-with-source, idlwave-help-find-routine-definition):
12769         Reflow docstrings.
12770         (idlwave-help-assistant-start): Fix typo in error message.
12772         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12773         (octave-electric-space): Fix typos in docstrings.
12775 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
12777         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12779 2010-01-01  Juri Linkov  <juri@jurta.org>
12781         * comint.el (comint-input-ring-size): Make it a defcustom and
12782         increase the default to 500 (Bug#5148).
12784 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
12786         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12787         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12788         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12790 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
12792         Show working revision correctly for mercurial.
12793         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12794         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12796 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
12798         Declare some functions for the byte-compiler.
12799         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12800         (speedbar-timer-fn, speedbar-change-expand-button-char)
12801         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12803 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
12805         This changeset reverts GDB Graphical Interface to use annotations.
12806         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12808 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
12810         Make vc-dir work on subdirectories of the bzr root.
12811         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12812         Return file names relative to it.
12813         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12814         relative directory to vc-bzr-after-dir-status.
12816 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
12818         * font-lock.el (font-lock-refresh-defaults): New function, which
12819         can be used to let font-lock react to external changes in
12820         variables like font-lock-defaults and keywords.
12821         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12823 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
12825         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12827         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12829 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
12831         Supersede color.diff settings in git log (bug#5211).
12833         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12834         escape chars in its output when the user has color.diff set to `always'.
12835         This fix works on git 1.4.2 and newer (released on 2006-08-13).
12837 2009-12-26  Kevin Ryde  <user42@zip.com.au>
12839         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12840         node.  Keep previous "Index" name to work with past coreutils too.
12842         * man.el (man): Revise docstring a bit to show -a and -l as
12843         examples.  Add -k description since support for it has otherwise
12844         been a secret.  (Further to bug#3717.)
12845         (Man-bgproc-sentinel): When "-k foo" produces no output show error
12846         "no matches" rather than "Can't find manpage", as the latter reads
12847         like -k was interpreted as a page name, which is not so.  (Bug#5431)
12849 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
12851         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12852         switches.  Check also for //SUBDIRED// line.
12854 2009-12-25  Kenichi Handa  <handa@m17n.org>
12856         * language/indian.el (devanagari-composable-pattern): Fix to
12857         handle ZWNJ and ZWJ.  Use it in composition-function-table for
12858         Devanagari.
12859         (malayalam-composable-pattern): Fix previous change.
12861 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12863         * ps-print.el (ps-face-attributes): It was not returning the
12864         attribute face for faces specified as string.  Reported by harven
12865         <harven@free.fr>.  (Bug#5254)
12866         (ps-print-version): New version 7.3.5.
12868 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
12870         * calendar/icalendar.el (icalendar--convert-tz-offset):
12871         Fix timezone names.
12872         (icalendar--convert-tz-offset): Fix the "last-day-problem".
12873         (icalendar--add-diary-entry): Remove the trailing blank that
12874         diary-make-entry inserts.
12876 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
12878         Make `file-expand-wildcards' work for remote files.
12880         * files.el (file-expand-wildcards): In case of remote files, check
12881         only local file name part for wildcards.  Provide feature 'files
12882         and subfeature 'remote-wildcards.  (Bug#5198)
12884         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12885         if there is already an established connection.
12886         (tramp-advice-file-expand-wildcards): Remove it.
12888         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12889         (tramp-advice-file-expand-wildcards): Move from tramp.el.
12890         Activate advice for older GNU Emacs versions.  (Bug#5237)
12892 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
12894         Some doc fixes (more needed).
12896         * find-cmd.el (find-constituents): Reflow docstring.
12897         (find-cmd, find-prune, find-command): Fix typos in docstrings.
12898         (find-generic): Doc fix.
12900 2009-12-17  Juri Linkov  <juri@jurta.org>
12902         Fix regression from 23.1 to allow multiple modes in Local Variables.
12904         * files.el (hack-local-variables-filter): While ignoring duplicates,
12905         don't take `mode' into account.
12906         (hack-local-variables-filter, hack-dir-local-variables):
12907         Don't remove duplicate `mode' from local-variables-alist (like `eval').
12909 2009-12-17  Juri Linkov  <juri@jurta.org>
12911         Make `dired-diff' safer.  (Bug#5225)
12913         * dired-aux.el (dired-diff): Signal an error when `file' equals to
12914         `current' or when `file' is a directory of the `current' file.
12916 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
12918         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12919         unconditionally preloaded files.
12921 2009-12-16  Juri Linkov  <juri@jurta.org>
12923         Revert to old 23.1 logic of using the file at the mark as default.
12924         * dired-aux.el (dired-diff): Use the file at the mark as default
12925         if it's not the same as the current file, and the target dir is
12926         the current dir or the mark is active.  Add the current file
12927         as the arg of `dired-dwim-target-defaults'.  Use the default file
12928         in the prompt.  (Bug#5225)
12930 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
12932         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12933         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12934         (tramp-check-for-regexp): Check also, when an echoing shell stops
12935         to echo sent commands.
12937 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12939         * Makefile.in: Revert last change (Bug#5191).
12941 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
12943         * vc-hg.el (vc-hg-print-log): Fix argument order.
12944         (vc-hg-working-revision): Make sure the command is executed in a
12945         known environment so that we can parse the output.  (Bug#4417)
12947 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12949         * progmodes/python.el (python-symbol-completions): Remove text
12950         properties from symbol string before calling python-send-receive.
12952 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
12954         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12955         when there are values for both file and line.  (Bug#5060)
12957 2009-12-14  Juri Linkov  <juri@jurta.org>
12959         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12960         whitespace after the file name of the first line of unified format,
12961         because git-diff doesn't output whitespace and file modification time
12962         after the file name.
12964 2009-12-14  David Kastrup  <dak@gnu.org>
12966         * info.el (Info-hide-cookies-node): Before hiding a cookie,
12967         check if it already has the `display' property added by
12968         `Info-display-images-node', and not put the `invisible' property
12969         in this case.
12971 2009-12-13  Glenn Morris  <rgm@gnu.org>
12973         * mail/emacsbug.el (message-sort-headers): Define for compiler.
12974         (report-emacs-bug): In message-mode, sort manually before storing
12975         original report text.  (Bug#5178)
12976         Remove superfluous save-excursion.
12978 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
12980         * net/dbus.el (dbus-property-handler): Filter lambda forms out
12981         when responding to "GetAll" properties.
12983 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
12985         * simple.el (compose-mail): Remove mail-setup-with-from from
12986         customization checks.
12988 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
12990         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12991         RAR archives created on Unix systems.
12993 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12995         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12996         the varalias that was accidentally removed by the 2009-11-19 change
12997         (bug#5186).
12999 2009-12-12  Kenichi Handa  <handa@m17n.org>
13001         * language/indian.el (indian-compose-regexp): New function.
13002         (malayalam-composable-pattern): Fix the pattern.
13003         (composition-function-table): Set malayalam-composable-pattern for
13004         Malayalam characters.
13006 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
13008         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13009         rather than down-mouse-1, based on follow-link conventions.
13011         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13012         are compiled.
13014 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
13016         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13017         (verilog-vmm-statement-re, verilog-ovm-statement-re)
13018         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13019         (verilog-leap-to-head, verilog-backward-token):
13020         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
13022 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
13024         * progmodes/verilog-mode.el (verilog-auto-lineup)
13025         (verilog-nameable-item-re): Cleanup user-visible spelling and
13026         documentation errors.  One reported by Gary Delp.
13027         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13028         (verilog-read-decls): Fix AUTOWIRE with types declared in a
13029         package, bug195.  Reported by Pierre-David Pfister.
13031 2009-12-11  Glenn Morris  <rgm@gnu.org>
13033         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13035         * mail/emacsbug.el: No longer require sendmail.
13036         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
13037         (report-emacs-bug-orig-text): Doc fix.
13038         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13039         New local variables, to adapt to different mail-user-agents.
13040         (report-emacs-bug): Fix test for a gnu.org address.
13041         Use overlays for emphasis, since font-lock defeats 'face property.
13042         Pretest bugs also end up at the newsgroup these days.
13043         Stop message-mode stripping text properties.
13044         Set and use the new buffer-local variables.
13045         (report-emacs-bug-hook): Add doc-string.
13046         Remove some unnecessary save-excursions and simplify.
13047         Use the appropriate hook and send-command.
13049         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13050         capitalization of some menu entries.
13052 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13054         * whitespace.el (whitespace-display-char-on):
13055         Ensure `buffer-display-table' is unique when two or more windows are
13056         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13057         New version 12.1.
13059 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
13061         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13062         characters in the Attribute field.
13064 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
13066         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
13068 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13070         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13071         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13072         Disregard autoload-excludes.
13073         (update-directory-autoloads): Obey autoload-excludes here instead.
13074         But don't store its contents in no-autoloads and remove entries that
13075         refer to excludes files.
13077 2009-12-10  Glenn Morris  <rgm@gnu.org>
13079         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13080         (expand-mail-aliases): Define for compiler.
13082         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13083         Define for compiler.
13085         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13086         appropriate for the mail-user-agent in use.
13088 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
13090         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13092 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
13094         Fix short log parsing and fontification.
13095         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13096         Fix fontification for the [merge] label.
13098 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
13100         Drop some properties to avoid surprises (bug#5002).
13101         * htmlfontify.el (hfy-ignored-properties): New defcustom.
13102         (hfy-fontify-buffer): Use it.
13104 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13106         Minor cleanup.
13107         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13108         Adjust all callers.
13109         (ffap-locate-file): Remove unused arg `dir-ok' and make other
13110         args compulsory.  Adjust callers.
13111         (ffap-gopher-at-point): Remove unused var `name'.
13113         Get rid of the ELCFILES abomination.
13114         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13115         (compile-elcfiles): New phony target.
13116         (compile-main): Compute ELCFILES dynamically.
13117         (compile-clean): New target to remove left-over elc files.
13118         (compile, all): Use it.
13120 2009-12-09  Kenichi Handa  <handa@etlken>
13122         * international/mule-diag.el: Require help-mode instead of help-fns.
13124 2009-12-09  Kenichi Handa  <handa@m17n.org>
13126         * international/mule-cmds.el (ucs-names): Supply sufficiently
13127         fine ranges instead of pre-calculating accurate ranges.
13128         Iterate with bigger gc-cons-threshold.
13130 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
13132         Add support for stashing a snapshot of the current tree.
13133         * vc-git.el (vc-git-stash-snapshot): New function.
13134         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13136 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
13138         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13139         instead of `(beginning|end)-of-line'.
13141 2009-12-08  Glenn Morris  <rgm@gnu.org>
13143         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13145         * Makefile.in (ELCFILES): Regenerate.
13147 2009-12-07  Juri Linkov  <juri@jurta.org>
13149         Don't lazy-highlight the comint output in history Isearch mode.
13151         * comint.el (comint-history-isearch-search): Instead of
13152         `comint-line-beginning-position', use `comint-after-pmark-p'
13153         to check if point if before the process mark, and go to
13154         `process-mark' in this case.
13156 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13158         * textmodes/tex-mode.el (latex-complete)
13159         (latex-indent-or-complete): Remove.
13160         (latex-mode): Set completion-at-point-functions instead.
13162         Provide a standard completion command and hook it into TAB.
13163         * minibuffer.el (completion-at-point-functions): New var.
13164         (completion-at-point): New command.
13165         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13166         * progmodes/python.el (python-mode-map): Use completion-at-point.
13167         (python-completion-at-point): Rename from python-partial-symbol and
13168         adjust for use in completion-at-point-functions.
13169         (python-mode): Setup completion-at-point for Python completion.
13170         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13171         extracted from lisp-complete-symbol.
13172         (lisp-complete-symbol): Use it.
13173         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13174         setup completion-at-point for Elisp completion.
13175         (emacs-lisp-mode-map, lisp-interaction-mode-map):
13176         Use completion-at-point.
13177         * ielm.el (ielm-map): Use completion-at-point.
13178         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13179         * progmodes/sym-comp.el: Move to...
13180         * obsolete/sym-comp.el: Move from progmodes.
13182 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
13184         Prevent save-buffer in Rmail buffers from using the coding-system
13185         of the current message, and from clobbering the encoding mnemonics
13186         in the mode line (Bug#4623).
13188         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13189         flag, too.
13190         (rmail-message-encoding): New variable.
13191         (rmail-write-region-annotate): Record the encoding of the current
13192         message in rmail-message-encoding.
13193         (rmail-after-save-hook): New function, restores the encoding of
13194         the current message after the message collection is saved.
13196 2009-12-07  Juri Linkov  <juri@jurta.org>
13198         * progmodes/grep.el (grep-read-files): Use `completing-read'
13199         instead of `read-string'.  Set its `collection' arg to
13200         `read-file-name-internal'.  (Bug#4301)
13202 2009-12-07  Juri Linkov  <juri@jurta.org>
13204         Correctly restore original Isearch point.  (Bug#4994)
13206         * isearch.el (isearch-mode): Move `isearch-push-state' after
13207         `(run-hooks 'isearch-mode-hook)'.
13208         (isearch-cancel): When `isearch-push-state-function' is defined,
13209         let-bind `isearch-cmds' to the first state (the last element of
13210         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13211         function and restores the original point).  Otherwise, move point
13212         to `isearch-opoint'.
13214 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13216         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13217         chars that don't have names, so the table can be built much faster at
13218         run-time.
13220 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
13222         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13223         change.  Suggested by David Kastrup.
13225         * simple.el (compose-mail): Check for incompatibilities and warn.
13226         (compose-mail-user-agent-warnings): New option.
13228 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13230         Support showing a single log entry from vc-annotate.
13231         * vc.el (print-log): Add a new argument: START-REVISION.
13232         (vc-print-log-internal): Add a new optional argument and
13233         pass it to the backend.
13234         (vc-print-log, vc-print-root-log): Adjust callers.
13235         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13236         buffer already displays the requested log entry, use it.
13237         Otherwise display only the log entry in question.
13238         * vc-svn.el (vc-svn-print-log):
13239         * vc-mtn.el (vc-mtn-print-log):
13240         * vc-hg.el (vc-hg-state):
13241         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13242         (vc-git-show-log-entry): Return t on success.
13243         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13244         (vc-bzr-show-log-entry): Return t on success.
13245         * vc-rcs.el (vc-rcs-print-log):
13246         * vc-sccs.el (vc-sccs-print-log):
13247         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13249 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13251         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13252         Add menus to the meta mode.  (Bug#5043)
13254 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13256         * ediff-init.el (ediff-event-key): Use event-to-character instead of
13257         event-key.
13259         * ediff.el (ediff-buffers-internal): Add unwind-protect.
13261 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
13263         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
13264         Berbain <raphael.berbain@gmail.com>.
13266         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
13267         characters.
13268         (tramp-initial-end-of-output): New defconst.
13269         (tramp-methods, tramp-find-shell)
13270         (tramp-open-connection-setup-interactive-shell)
13271         (tramp-maybe-open-connection): Use it.
13272         (tramp-shell-prompt-pattern, tramp-wait-for-output):
13273         Handle existence of `#' and `$'.
13275         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13276         Use `tramp-initial-end-of-output'.
13278 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13280         Get the background mode from the terminal for xterm, and set
13281         faces accordingly.
13282         * term/xterm.el (xterm-set-background-mode): New function.
13283         (terminal-init-xterm): Use it in case xterm supports background
13284         color queries.  Recompute faces after getting the background
13285         color.
13287 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
13289         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13290         number comment back on its own line, for easier parsing.
13292 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13294         Make it work for non-file buffers (bug#5102).
13295         * doc-view.el (doc-view-current-cache-dir):
13296         Use doc-view-buffer-file-name rather than buffer-file-name.
13297         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13299 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
13301         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13302         author field is too short.
13304 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
13306         * vc-git.el (vc-git-print-log): Handle a limit argument.
13307         Display the short log in graph form and with labels.
13308         (vc-git-log-view-mode): Handle labels.
13310         Make vc-revert change VC state from 'added to 'unregistered.
13311         * vc-git.el (vc-git-revert): Call git reset first.
13313 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13315         * net/newst-backend.el, net/newst-plainview.el:
13316         * net/newst-reader.el, net/newst-ticker.el:
13317         * net/newst-treeview.el, net/newsticker.el:
13318         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
13320 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13322         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13324         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13325         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
13326         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13327         Update annotation regexp.
13329         * simple.el (beginning-of-visual-line): Constrain to field
13330         boundaries (Bug#5106).
13332 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13334         * xml.el (xml-substitute-numeric-entities):
13335         Move newsticker--decode-numeric-entities in newst-backend.el to
13336         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13337         * net/newst-backend.el (newsticker--parse-generic-feed)
13338         (newsticker--parse-generic-items)
13339         (newsticker--decode-numeric-entities):
13340         Move newsticker--decode-numeric-entities in newst-backend.el to
13341         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13343 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
13345         * progmodes/js.el (js--js-not): Add null to the list of values.
13347 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13349         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13351 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13353         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13354         delimiter if it is at the end of the current line.
13355         (bibtex-generate-url-list): Fix docstring.
13357 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13359         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13360         minibuffer's content with itself.
13361         Fold the confirm-after-completion case into the `confirm' case.
13362         (completion-pcm-word-delimiters): Add : and / to the delimiters.
13364 2009-12-06  Kevin Ryde  <user42@zip.com.au>
13366         * ffap.el (ffap-rfc-path): Make this a defcustom since
13367         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
13369         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13370         manuals, similar to existing setup for help-mode.  (Bug#3913.)
13372 2009-12-05  Juri Linkov  <juri@jurta.org>
13374         Save and restore dired buffer's point positions too.  (Bug#4880)
13376         * dired.el (dired-save-positions): Return in the first element
13377         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13378         Doc fix.
13379         (dired-restore-positions): First restore buffer's position.
13380         While restoring window's positions, check if window still displays
13381         the original buffer.
13383 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
13385         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13386         if possible.
13388         * shell.el (shell): Require ansi-color (Bug#5113).
13390         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13392         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13394 2009-12-05  Alan Mackenzie  <acm@muc.de>
13396         * progmodes/cc-mode.el (c-before-hack-hook)
13397         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13398         `c-file-style' to work again.  This reversion restores the current
13399         software to its state in Emacs 23.1.  (Bug#4146)
13401 2009-12-05  Kevin Ryde  <user42@zip.com.au>
13403         * textmodes/sgml-mode.el (sgml-lexical-context):
13404         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13406 2009-12-05  Juri Linkov  <juri@jurta.org>
13408         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13409         for virtual nodes.  (Bug#4147)
13410         (Info-find-node-2): Set `Info-current-node-virtual' to nil
13411         when moving from a virtual node.
13412         (Info-mode-menu): Add `Info-virtual-index' to the menu.
13413         (Info-mode): Add `Info-virtual-index' to the docstring.
13415 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13417         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13418         track of the buffer position of the end of a BibTeX entry as this
13419         position may change during reformatting.
13420         (bibtex-format-entry): Remove whitespace before processing
13421         numerical fields so that we recognize the latter properly.
13422         (bibtex-reformat): Do not use push which changes the global value
13423         of bibtex-entry-format.
13424         (bibtex-field-braces-alist, bibtex-field-strings-alist)
13425         (bibtex-field-re-init): Replace only space characters by regexp
13426         for whitespace.
13427         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13428         (bibtex-initialize): Also update bibtex-strings.
13429         (bibtex-kill-field): Preserve white space at end of entry.
13430         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13431         Update bibtex-reference-keys.
13433 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13435         * minibuffer.el (completion-pcm--merge-try): Also consider placing
13436         point after a star, if that's the only place where modifications can
13437         make progress.
13439 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
13441         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13442         in docstrings.
13444 2009-12-04  Juri Linkov  <juri@jurta.org>
13446         * proced.el (proced): Call `(proced-update t)' to update process
13447         information instead of only running proced-post-display-hook.
13448         (proced-send-signal): Add a leading space to the buffer name
13449         " *Marked Processes*" to make this buffer ephemeral.
13451 2009-12-04  Juri Linkov  <juri@jurta.org>
13453         * dired.el (dired-auto-revert-buffer): New defcustom.
13454         (dired-internal-noselect): Use it.
13456 2009-12-04  Juri Linkov  <juri@jurta.org>
13458         Change roles of modes and functions in image-mode.el (Bug#5062).
13460         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13461         in `auto-mode-alist'.
13462         (image-mode-previous-major-mode): New variable.
13463         (image-minor-mode-map): Rename from `image-mode-text-map'.
13464         (image-mode): Move graceful error-handling code from
13465         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
13466         (image-minor-mode): Remove all image-handling code.
13467         Replace `image-mode-text-map' with `image-minor-mode-map'.
13468         Check for `image-type' in mode-line format string.
13469         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13470         (image-mode-as-text): New function with most code from
13471         `image-mode-maybe'.
13472         (image-toggle-display-text): Move code that removes image
13473         properties from `image-toggle-display' to here.
13474         (image-toggle-display-image): New function with code that adds
13475         image properties copied from `image-toggle-display'.
13476         (image-toggle-display): Remove most code with leaving only code
13477         that toggles between `image-mode-as-text' and `image-mode'.
13479 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
13481         * net/newst-treeview.el
13482         (newsticker--treeview-list-highlight-start): Restored call to
13483         save-excursion: Selected item was stuck.
13484         (newsticker--treeview-list-select): New.
13485         (newsticker--treeview-item-show-text)
13486         (newsticker--treeview-item-show)
13487         (newsticker--treeview-item-update): Use new
13488         newsticker-treeview-item-mode.
13489         (newsticker-treeview-update): Keep current item.
13490         (newsticker-treeview-next-new-or-immortal-item): Doc change.
13491         (newsticker--treeview-first-feed): Doc change.
13492         (newsticker-treeview-list-menu)
13493         (newsticker-treeview-item-menu): Add menu entries.
13494         (newsticker-treeview-item-mode): New.
13496         * net/newst-backend.el (newsticker-customize): Delete other
13497         windows.
13499 2009-12-04  Sam Steingold  <sds@gnu.org>
13501         * log-view.el (log-view-mode-map): "q" calls quit-window,
13502         like in all the other non-self-insert buffers.
13504 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13506         Minor cleanup.
13507         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13508         key decoding rather than do it manually via last-input-event +
13509         ascii-character.
13510         (term-exec): Use delete-and-extract-region.
13511         (term-handle-ansi-terminal-messages): Remove unused var `end'.
13512         (term-process-pager): Remove unused var `i'.
13513         (term-dynamic-simple-complete): Make obsolete.
13514         (serial-update-config-menu): Remove unused vars `y' and `str'.
13515         (term-update-mode-line): Remove unused var `temp'.
13517 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13519         Limit the number of log entries displayed by default.
13520         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13521         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13522         using a prefix argument.
13524 2009-12-03  Glenn Morris  <rgm@gnu.org>
13526         * progmodes/idlwave.el (class): Restore still useful declaration.
13528 2009-12-03  Alan Mackenzie  <acm@muc.de>
13530         Enhance `c-parse-state' to run efficiently in "brace deserts".
13532         * progmodes/cc-mode.el (c-basic-common-init):
13533         Call c-state-cache-init.
13534         (c-neutralize-syntax-in-and-mark-CPP): Rename from
13535         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
13536         placing `category' properties value 'c-cpp-delimiter at its boundaries.
13538         * progmodes/cc-langs.el (c-before-font-lock-function):
13539         c-extend-and-neutralize-syntax-in-CPP has been renamed
13540         c-neutralize-syntax-in-and-mark-CPP.
13542         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13543         with `category' properties now, not `syntax-table' ones.
13545         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13546         enhanced (but slower) version of c-end-of-macro that won't land
13547         inside a literal or on another awkward character.
13548         (c-state-cache-too-far, c-state-cache-start)
13549         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13550         (c-state-nonlit-pos-cache-limit, c-state-point-min)
13551         (c-state-point-min-lit-type, c-state-point-min-lit-start)
13552         (c-state-min-scan-pos, c-state-brace-pair-desert)
13553         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13554         buffer local variables.
13555         (c-state-literal-at, c-state-lit-beg)
13556         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13557         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13558         (c-state-cache-top-paren, c-state-cache-after-top-paren)
13559         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13560         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13561         (c-renarrow-state-cache)
13562         (c-append-lower-brace-pair-to-state-cache)
13563         (c-state-push-any-brace-pair, c-append-to-state-cache)
13564         (c-remove-stale-state-cache)
13565         (c-remove-stale-state-cache-backwards, c-state-cache-init)
13566         (c-invalidate-state-cache-1, c-parse-state-1)
13567         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13568         (c-parse-state): Enhance and refactor.
13569         (c-debug-parse-state): Amend to deal with all the new variables.
13571         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13572         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13573         modify to use category text properties rather than syntax-table ones.
13574         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13575         to switch off/on the syntactic paren property of C++ template
13576         delimiters using the category property.
13577         (c-with-<->-as-parens-suppressed): Macro to invoke code with
13578         template delims suppressed.
13579         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13580         New constant/macros which apply category properties to the start
13581         and end of preprocessor constructs.
13582         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13583         "comment out" the syntactic value of characters in preprocessor
13584         constructs.
13585         (c-with-cpps-commented-out)
13586         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13587         with characters in all or all but one preprocessor constructs
13588         "commented out".
13590 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13592         * proced.el (proced-filter-alist): Use regexp-quote.
13594 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
13596         Cleanup.
13597         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13598         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
13599         arguments.  Expand `default-directory'.
13601         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13602         the benefit of returning an expanded localname.
13603         (tramp-tramp-file-p): Handle the case NAME is not a string.
13605 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13607         Add support for bzr shelve/unshelve.
13608         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13609         (vc-bzr-extra-menu-map): New variables.
13610         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13611         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13612         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13613         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13614         (vc-bzr-dir-extra-headers): Display shelves.
13616         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13618 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13620         * textmodes/bibtex.el (bibtex-complete-internal):
13621         Use completion-in-region.
13622         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13624 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13626         Support applying stashes.  Improve UI.
13627         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13628         (vc-git-stash-apply, vc-git-stash-pop)
13629         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13630         (vc-git-stash-menu): New functions.
13631         (vc-git-stash-menu-map): New variable.
13632         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13634 2009-12-03  Glenn Morris  <rgm@gnu.org>
13636         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13637         (vc-print-log-internal): Fix previous change.
13638         (vc-revert): Correct pluralization.
13640 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13642         * progmodes/make-mode.el (makefile-special-targets-list): No need for
13643         it to be an alist any more.
13644         (makefile-complete): Use completion-in-region.
13646         * progmodes/octave-mod.el (octave-complete-symbol):
13647         Use completion-in-region.
13649         Misc cleanup.
13650         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13651         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13652         (idlwave-complete-class): Don't quote lambda.
13653         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13654         (idlwave-mode-map): Move initialization into declaration.
13655         (idlwave-action-and-binding): Use backquotes.
13656         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13657         Simplify.
13658         (idlwave-is-pointer-dereference): Remove unused var `pos'.
13659         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13660         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13661         `parts', and `all-parts'.
13662         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13663         (idlwave-convert-xml-system-routine-info): Remove unused string
13664         `version-string'.
13665         (idlwave-display-user-catalog-widget): Use dolist.
13666         (idlwave-scanning-lib): Declare dynamically-scoped var.
13667         (idlwave-scan-library-catalogs): Remove unused var `flags'.
13668         (completion-highlight-first-word-only): Declare to silence bytecomp.
13669         (idlwave-popup-select): Tighten scope of `resp'.
13670         (idlwave-find-struct-tag): Remove unused var `beg'.
13671         (idlwave-after-load-rinfo-hook): Declare.
13672         (idlwave-sintern-class-info): Remove unused var `taglist'.
13673         (idlwave-find-class-definition): Remove unused var `list'.
13674         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13675         (idlwave-what-module-find-class): Remove unused var `classes'.
13677 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
13679         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13681 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13683         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13684         buffers visited.  Remove redundant current-buffer-saving.
13686 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13688         Use completion-in-buffer and remove uses of dynamic scoping.
13689         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13690         (pascal-buffer-to-use, pascal-flag): Don't declare.
13691         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13692         (pascal-get-completion-decl, pascal-keyword-completion):
13693         Add `pascal-str' argument, save-excursion,
13694         return the found completions, and don't filter with pascal-pred.
13695         (pascal-completion-cache): New var.
13696         (pascal-completion): Don't switch buffer any more (it was never
13697         necessary).  Don't save-excursion any more (it's done by the called
13698         subroutines).  Use a cache to avoid redundant computations.
13699         Use complete-with-action rather than pascal-completion-response and
13700         let it apply the predicate as well.
13701         (pascal-complete-word): Use completion-in-buffer when
13702         pascal-toggle-completions is nil.
13703         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13704         not used any more.
13705         (pascal-comp-defun): Don't change buffer any more.
13706         Use complete-with-action rather than pascal-completion-response and
13707         let it apply the predicate as well.
13708         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13709         when neded.
13711 2009-12-02  Kenichi Handa  <handa@m17n.org>
13713         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13714         shape for all Indic scripts.
13716 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13718         Use completion-in-buffer.
13719         * wid-edit.el (widget-field-text-end): New function.
13720         (widget-field-value-get): Use it.
13721         (widget-string-complete, widget-file-complete)
13722         (widget-color-complete): Use it and completion-in-region.
13723         (widget-complete): Don't narrow the buffer.
13725 2009-12-02  Glenn Morris  <rgm@gnu.org>
13727         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
13728         (rmail-select-summary): Use rmail-pop-to-buffer.
13729         * mail/rmailsum.el: Replace all pop-to-buffer calls with
13730         rmail-pop-to-buffer, to prevent horizontal splits.
13732         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13733         save-excursion with save-current-buffer.
13734         Widen before searching.  (Bug#5093)
13735         (diary-list-sexp-entries): Remove superfluous save-excursion.
13737 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
13739         * woman.el (woman-make-bufname): Handle man-pages with "." in the
13740         name.  (Bug#5038)
13742 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13744         * ido.el (ido-file-internal): Handle filenames at point that do
13745         not have a directory part.  (Bug#5049)
13747 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
13749         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13750         (mpc-songs-jump-to, mpc-resume): Doc fixes.
13752 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
13754         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13755         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13756         any more.
13758 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13760         * comint.el (comint-insert-input): Ignore clicks to the right of
13761         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13763         * vc.el (vc-print-log-internal): Don't wait for the process to
13764         terminate before setting up the major mode.
13766         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13767         in case.
13769         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13770         the last element.
13772         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13774 2009-12-01  Glenn Morris  <rgm@gnu.org>
13776         * window.el (window--display-buffer-2): Fix previous changes.
13778 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
13780         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13782 2009-12-01  Glenn Morris  <rgm@gnu.org>
13784         * Makefile.in (ELCFILES): Add mpc.elc.
13786 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13788         * mpc.el: New file.
13790 2009-12-01  Glenn Morris  <rgm@gnu.org>
13792         * window.el (window-to-use): Define for compiler.
13794         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13795         consistent with others (no final period).
13797         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13798         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
13800 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
13802         Make vc-print-log buttons work.
13803         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13805 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
13807         * savehist.el (savehist-autosave-interval): Allow setting to nil
13808         through customize.  (Bug#5056)
13810 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
13812         Fix references to jit-lock properties.
13813         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13814         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13815         (perl-font-lock-special-syntactic-constructs):
13816         Quote jit-lock-defer-multiline property.
13818 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
13820         * vc-git.el (vc-git-registered): Call vc-git-root only once.
13822 2009-11-30  Juri Linkov  <juri@jurta.org>
13824         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13825         value `buffer' of `multi-isearch-next-buffer-current-function'.
13826         Use `(current-buffer)' when `buffer' is nil.
13827         (multi-isearch-next-buffer-from-list): Don't fallback to
13828         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
13830 2009-11-30  Juri Linkov  <juri@jurta.org>
13832         * misearch.el (multi-isearch-read-buffers): Move canonicalization
13833         of buffers with `get-buffer' to `multi-isearch-buffers'.
13834         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13835         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
13836         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13837         FILES with `expand-file-name' converting relative file names
13838         to absolute.  Doc fix.  (Bug#4727)
13840 2009-11-30  Juri Linkov  <juri@jurta.org>
13842         * misearch.el (multi-isearch-read-buffers)
13843         (multi-isearch-read-matching-buffers): New functions.
13844         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13845         Use them in the `interactive' spec.  Doc fix.
13846         (multi-isearch-read-files, multi-isearch-read-matching-files):
13847         New functions.
13848         (multi-isearch-files, multi-isearch-files-regexp):
13849         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
13851 2009-11-30  Juri Linkov  <juri@jurta.org>
13853         * doc-view.el (doc-view-continuous):
13854         Rename from `doc-view-continuous-mode'.
13855         (doc-view-menu): Move "Toggle display" to the top.
13856         Add submenu "Continuous" with radio buttons "Off"/"On"
13857         and "Save as Default".
13858         (doc-view-scroll-up-or-next-page)
13859         (doc-view-scroll-down-or-previous-page)
13860         (doc-view-next-line-or-next-page)
13861         (doc-view-previous-line-or-previous-page):
13862         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
13864 2009-11-30  Juri Linkov  <juri@jurta.org>
13866         * comint.el (comint-mode-map): Rebind `M-r' from
13867         `comint-previous-matching-input' to
13868         `comint-history-isearch-backward-regexp'.
13869         Unbind `M-s' to allow global key binding `M-s'.
13870         Add menu items for `comint-history-isearch-backward' and
13871         `comint-history-isearch-backward-regexp'.  (Bug#3746)
13873 2009-11-30  Juri Linkov  <juri@jurta.org>
13875         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13876         For def=recenter, replace `recenter' with `recenter-top-bottom'
13877         that is called with `this-command' and `last-command' let-bound
13878         to `recenter-top-bottom'.  When the last `def' was not `recenter',
13879         set `recenter-last-op' to nil.  (Bug#4981)
13881 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13883         Minor cleanup and simplification.
13884         * filecache.el (file-cache-add-directory)
13885         (file-cache-add-directory-recursively)
13886         (file-cache-add-from-file-cache-buffer)
13887         (file-cache-delete-file-regexp, file-cache-delete-directory)
13888         (file-cache-files-matching-internal, file-cache-display): Use dolist.
13889         (file-cache-temp-minibuffer-message): Delete function.
13890         (file-cache-minibuffer-complete): Use minibuffer-message instead.
13892         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13893         Don't signal an error when bumping into EOB in tr, s, or y.
13895 2009-11-29  Juri Linkov  <juri@jurta.org>
13897         * startup.el (fancy-about-text): Fix wording of Guided Tour.
13898         (Bug#4960)
13900         * descr-text.el (describe-char-unidata-list): Use lowercase name
13901         for "Unicode name" like in other tags.
13903 2009-11-29  Juri Linkov  <juri@jurta.org>
13905         * ediff-util.el (ediff-minibuffer-with-setup-hook):
13906         New compatibility macro.
13907         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13909 2009-11-29  Juri Linkov  <juri@jurta.org>
13911         Add defcustom to define the cycling order of `recenter-top-bottom'.
13912         (Bug#4981)
13914         * window.el (recenter-last-op): Doc fix.
13915         (recenter-positions): New defcustom.
13916         (recenter-top-bottom): Rewrite to use `recenter-positions'.
13917         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13919 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
13921         Improve integration of Tramp and ange-ftp in eshell.
13923         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13924         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
13925         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
13927         * eshell/esh-util.el (top): Require also Tramp when compiling.
13928         (eshell-directory-files-and-attributes): Check for FTP remote
13929         connection.
13930         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13931         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13932         (eshell-file-attributes): Handle ".".  Return `entry'.
13934         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13935         (ange-ftp-directory-files-and-attributes)
13936         (ange-ftp-real-directory-files-and-attributes): New defuns.
13938         * net/tramp.el (tramp-maybe-open-connection): Open the remote
13939         shell with "exec" when possible.  This prevents trailing prompts
13940         in `start-file-process'.
13942 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13944         Try and remove assumptions about point-min==1.
13945         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13946         (rng-compute-mode-line-string): Show the validation percentage in
13947         terms of the narrowed text, not the widened text.
13948         (rng-do-some-validation): Don't catch internal errors when debugging.
13949         (rng-first-error): Simplify.
13950         (rng-after-change-function): Remove work around.  AFAIK the bug has
13951         been fixed a while ago.
13953         * image-mode.el (image-minor-mode): Exit more gracefully when the image
13954         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13956         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13958         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13959         `cd' doesn't always do it for us (bug#5067).
13961         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13962         on 2009-10-25 as part of some other change (bug#5067).
13964 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13966         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13967         `suspicious'.
13968         (byte-compile-warnings): Use byte-compile-warning-types.
13969         (byte-compile-save-excursion): Warn about use of set-buffer right
13970         after save-excursion.
13972         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13973         the excursion as well.
13975 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
13977         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13978         providing a Tramp related implementation of "su" and "sudo".
13979         (eshell-unix-initialize): Add "su" and "sudo".
13981 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
13983         * net/socks.el (socks-send-command): Convert binary request to
13984         unibyte before sending.  This fixes mishandling of some port
13985         numbers such as 129.
13987 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13989         * help.el (describe-bindings-internal): Remove `interactive'.
13991         * man.el (Man-completion-table): Trim a terminating "(".
13992         Remove the space between name page a section.
13993         Add the command's description on the `help-echo' property.
13994         Remove `process-connection-type' binding since it's unused by
13995         call-process.
13996         Provide completion for the "<section> <name>" format as well.
13997         (Man-default-man-entry): Remove spurious var shadowing the argument.
13999 2009-11-26  Kevin Ryde  <user42@zip.com.au>
14001         * log-view.el: Add "Keywords: tools", since its other keywords
14002         aren't in finder-known-keywords, and following vc.el.
14004         * sha1.el (sha1-string-external): default-directory "/" in case
14005         otherwise non-existent.  process-connection-type pipe for touch of
14006         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
14008 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14010         Misc coding convention cleanups.
14011         * htmlfontify.el (hfy-init-kludge-hook): Rename from
14012         hfy-init-kludge-hooks.
14013         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14014         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14015         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14016         and push.
14017         (hfy-slant, hfy-weight): Use tables rather than code.
14018         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14019         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14020         (hfy-face-attr-for-class): Initialize `face-spec' directly.
14021         (hfy-face-to-css): Remove `nconc' with single arg.
14022         (hfy-p-to-face-lennart): Use `or'.
14023         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
14024         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14025         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14026         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14027         (hfy-force-fontification): Use run-hooks.
14029 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
14031         Various minor fixes.
14032         * htmlfontify.el (hfy-default-header): Add toggle_invis since
14033         Javascript belongs in the header, not the body.
14034         (hfy-javascript): Remove.
14035         (hfy-fontify-buffer): Don't insert it any more.
14036         (hfy-face-at): Handle (face0 face1 face2) style face properties.
14037         Fix bug in invis handling when there were no invis props in a chunk.
14039 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14041         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14043 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
14045         * finder.el (finder-mode-map): Add a menu.
14047 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
14049         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14050         "unsigned" structs.
14052         (verilog-leap-to-head, verilog-backward-token): Handle "disable
14053         fork" statement better.
14055 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
14057         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14058         (verilog-delete-auto, verilog-delete-empty-auto-pair)
14059         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14060         Reported by Clay Douglass.
14062         (verilog-auto-inst, verilog-auto-star-safe)
14063         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14064         Fix removing "// Interfaces" when saving .* expansions.
14065         Reported by Pierre-David Pfister.
14067 2009-11-26  Glenn Morris  <rgm@gnu.org>
14069         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14070         the scope.
14072 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
14074         * vc-annotate.el (vc-annotate-revision-previous-to-line):
14075         Really use previous revision.
14077 2009-11-25  Kevin Ryde  <user42@zip.com.au>
14079         * man.el (Man-completion-table): default-directory "/" in case
14080         doesn't otherwise exist.  process-environment COLUMNS=999 so as
14081         not to truncate long names.  process-connection-type pipe to avoid
14082         any chance of hitting the pseudo-tty TIOCGWINSZ.
14083         (man): completion-ignore-case t for friendliness and since man
14084         itself is case-insensitive on the command line.
14085         Further to Bug#3717.
14087         * arc-mode.el: Add "Keywords: files", so the details in its
14088         commentary can be reached from finder-by-keyword.
14089         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
14090         editing mode, but it's comms related and sgml-mode.el has "comm"
14091         on that basis too.
14092         * textmodes/bibtex-style.el: Add "Keywords: tex".
14093         * international/isearch-x.el, international/ja-dic-cnv.el:
14094         * international/ja-dic-utl.el, international/kkc.el:
14095         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14097 2009-11-25  Juri Linkov  <juri@jurta.org>
14099         * man.el (Man-completion-table): Modify regexp to include
14100         section names to completion strings.  (Bug#3717)
14102 2009-11-25  Juri Linkov  <juri@jurta.org>
14104         Search recursively in gzipped files.  (Bug#4982)
14106         * progmodes/grep.el (grep-highlight-matches): Add new options
14107         `always' and `auto'.  Doc fix.
14108         (grep-process-setup): Check `grep-highlight-matches' for
14109         `auto-detect' to determine the need to compute grep defaults.
14110         Move Windows/DOS specific --colors settings handling
14111         to `grep-compute-defaults'.  Check `grep-highlight-matches'
14112         to get the value of "--color=".
14113         (grep-compute-defaults): Compute `grep-highlight-matches' when it
14114         has the value `auto-detect'.  Move Windows/DOS specific settings
14115         from `grep-process-setup'.
14116         (zrgrep): New command with alias `rzgrep'.
14118 2009-11-25  Juri Linkov  <juri@jurta.org>
14120         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14121         to nil instead of switching off view-mode.  (Bug#4896)
14123 2009-11-25  Juri Linkov  <juri@jurta.org>
14125         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
14127         * mwheel.el (mwheel-scroll-up-function)
14128         (mwheel-scroll-down-function): New defvars.
14129         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14130         `scroll-up', and `mwheel-scroll-down-function' instead of
14131         `scroll-down'.
14133         * doc-view.el (doc-view-scroll-up-or-next-page)
14134         (doc-view-scroll-down-or-previous-page): Add optional ARG.
14135         Use this ARG in the call to image-scroll-up/image-scroll-down.
14136         Change `interactive' spec to "P".  Goto next/previous page only
14137         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14138         SPC/DEL case).  Doc fix.
14139         (doc-view-next-line-or-next-page)
14140         (doc-view-previous-line-or-previous-page): Rename arg to ARG
14141         for consistency.
14142         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14143         `doc-view-scroll-up-or-next-page', and buffer-local
14144         `mwheel-scroll-down-function' to
14145         `doc-view-scroll-down-or-previous-page'.
14147 2009-11-25  Juri Linkov  <juri@jurta.org>
14149         Provide additional default values (directories at other Dired
14150         windows) via M-n in the minibuffer of some Dired commands.
14152         * dired-aux.el (dired-diff, dired-compare-directories)
14153         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14154         `minibuffer-default' in `minibuffer-with-setup-hook'.
14155         (dired-dwim-target-directory): Find a window that displays Dired
14156         buffer instead of failing when the next window is not Dired.
14157         Use `get-window-with-predicate' to find for the next Dired window.
14158         (dired-dwim-target-defaults): New function.
14160         * ediff-util.el (ediff-read-file-name):
14161         Use `dired-dwim-target-defaults' to set `minibuffer-default'
14162         in `minibuffer-with-setup-hook'.
14164 2009-11-25  Juri Linkov  <juri@jurta.org>
14166         Provide additional default values (file name at point or at the
14167         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
14169         * minibuffer.el (read-file-name-defaults): New function.
14170         (read-file-name): Reset `minibuffer-default' to nil when
14171         it duplicates initial input `insdef'.
14172         Bind `minibuffer-default-add-function' to lambda that
14173         calls `read-file-name-defaults' in `minibuffer-selected-window'.
14174         (minibuffer-insert-file-name-at-point): New command.
14176         * files.el (file-name-at-point-functions): New defcustom.
14177         (find-file-default): Remove defvar.
14178         (find-file-read-args): Don't use `find-file-default'.
14179         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14180         to `read-file-name'.
14181         (find-file-literally): Use `read-file-name' with
14182         `confirm-nonexistent-file-or-buffer'.
14184         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14186         * dired.el (dired-read-dir-and-switches):
14187         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14188         to `read-file-name'.
14189         (dired-file-name-at-point): New function.
14190         (dired-mode): Add hook `dired-file-name-at-point' to
14191         `file-name-at-point-functions'.
14193 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14195         Really make the *Completions* window soft-dedicated (bug#5030).
14196         * window.el (window--display-buffer-2): Add `dedicated' argument.
14197         (display-buffer): Pass it when needed so the dedicated flag is set
14198         after calling set-window-buffer, which would otherwise reset it.
14200 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14202         * progmodes/meta-mode.el (meta-complete-symbol):
14203         * progmodes/etags.el (complete-tag):
14204         * mail/mailabbrev.el (mail-abbrev-complete-alias):
14205         Use completion-in-region.
14207         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14208         (dabbrev-completion): Use completion-in-region.
14209         (dabbrev--abbrev-at-point): Simplify regexp.
14211         * abbrev.el (abbrev--before-point): Use word-motion functions
14212         if :regexp is not specified (bug#5031).
14214         * subr.el (string-prefix-p): New function.
14216         * man.el (Man-completion-cache): New var.
14217         (Man-completion-table): Use it.
14219         * vc.el (vc-print-log-internal): Make `limit' optional for better
14220         compatibility (e.g. with vc-annotate.el).
14222 2009-11-24  Kevin Ryde  <user42@zip.com.au>
14224         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14225         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
14227         * emacs-lisp/elint.el (elint-add-required-env): Better error message
14228         when .el source file not found or other error.
14230 2009-11-24  Markus Triska  <markus.triska@gmx.at>
14232         * linum.el (linum-update-window): Ignore intangible (bug#4996).
14234 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14236         Handle the [back] button properly (bug#4979).
14237         * descr-text.el (describe-text-properties): Add a `buffer' argument.
14238         Use help-setup-xref, help-buffer, and with-help-window.
14239         (describe-char): Add `buffer' argument.
14240         Pass proper command to help-setup-xref.  Don't meddle with
14241         help-xref-stack-item directly.
14242         (describe-text-category): Use with-help-window and help-buffer.
14244         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14245         for the displayed buffer (bug#4887).
14247         * man.el (Man-completion-table): New function.
14248         (man): Use it.
14250 2009-11-24  David Reitter  <david.reitter@gmail.com>
14252         * vc-git.el (vc-git-registered): Use checkout directory (where
14253         .git is) rather than the file's directory and a relative path spec
14254         to work around a bug in git.
14256 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
14258         Improve handling of processes on remote hosts.
14260         * eshell/esh-util.el (eshell-path-env): New defvar.
14261         (eshell-parse-colon-path): New defun.
14262         (eshell-file-attributes): Use `eshell-parse-colon-path'.
14264         * eshell/esh-ext.el (eshell-search-path):
14265         Use `eshell-parse-colon-path'.
14266         (eshell-remote-command): Remove argument HANDLER.
14267         (eshell-external-command): Check for FTP remote connection.
14269         * eshell/esh-proc.el (eshell-gather-process-output):
14270         Use `file-truename', in order to start also symlinked files.
14271         Apply `start-file-process' instead of `start-process'.
14272         Shorten `command' to the local file name part.
14274         * eshell/em-cmpl.el (eshell-complete-commands-list):
14275         Use `eshell-parse-colon-path'.
14277         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14279         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
14280         to `eshell-directory-change-hook'.
14282 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
14284         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14285         because it could be enabled automatically if view-read-only is non-nil.
14287 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
14289         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14290         made on 2009-11-22.
14292 2009-11-24  Glenn Morris  <rgm@gnu.org>
14294         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14295         deleted variable bookmark-bmenu-bookmark-column.
14297 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14299         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14301 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14303         * net/browse-url.el (browse-url-filename-alist): On Windows, add
14304         two slashes to the "file:" prefix.
14305         (browse-url-file-url): De-munge Cygwin filenames before passing
14306         them to Windows browser.
14307         (browse-url-default-windows-browser): Use call-process.
14309 2009-11-23  Juri Linkov  <juri@jurta.org>
14311         Implement DocView Continuous mode.  (Bug#4896)
14312         * doc-view.el (doc-view-continuous-mode): New defcustom.
14313         (doc-view-mode-map): Bind C-n/<down> to
14314         `doc-view-next-line-or-next-page', C-p/<up> to
14315         `doc-view-previous-line-or-previous-page'.
14316         (doc-view-next-line-or-next-page)
14317         (doc-view-previous-line-or-previous-page): New commands.
14319 2009-11-23  Juri Linkov  <juri@jurta.org>
14321         Implement Isearch in comint input history.  (Bug#3746)
14322         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14323         `isearch-mode-hook'.
14324         (comint-history-isearch): New defcustom.
14325         (comint-history-isearch-backward)
14326         (comint-history-isearch-backward-regexp): New commands.
14327         (comint-history-isearch-message-overlay): New buffer-local variable.
14328         (comint-history-isearch-setup, comint-history-isearch-end)
14329         (comint-goto-input, comint-history-isearch-search)
14330         (comint-history-isearch-message, comint-history-isearch-wrap)
14331         (comint-history-isearch-push-state)
14332         (comint-history-isearch-pop-state): New functions.
14334 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
14336         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14337         return.
14338         (tramp-handle-make-symbolic-link)
14339         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14340         Quote file names.
14341         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14342         (tramp-handle-process-file): Use it.
14344 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14346         * window.el (move-to-window-line-last-op): Remove.
14347         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14349 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
14351         Make M-r mirror the new cycling behavior of C-l.
14352         * window.el (move-to-window-line-last-op): New var.
14353         (move-to-window-line-top-bottom): New command.
14354         (global-map): Bind M-r move-to-window-line-top-bottom.
14356 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
14358         * dired-x.el (dired-guess-shell-alist-default):
14359         Support xz format.  (Bug#4953)
14361 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
14363         * emulation/viper-cmd.el: Use viper-last-command-char instead of
14364         last-command-char/last-command-event.
14365         (viper-prefix-arg-value): Do correct conversion of event-char for
14366         XEmacs.
14368         * emulation/viper-util.el, emulation/viper.el:
14369         Use viper-last-command-char instead of
14370         last-command-char/last-command-event.
14372         * ediff-init.el, ediff-mult.el, ediff-util.el:
14373         Replace last-command-char and last-command-event
14374         with (ediff-last-command-char) everywhere.
14376         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14377         created in fundamental mode.
14379         * ediff.el (ediff-version): Revert the change of interactive-p to
14380         called-interactively-p.
14382 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
14384         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14385         generation from word-movement command names.
14387 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
14389         * cus-start.el (all): Add native condition for font-use-system-font.
14391 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
14393         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14394         Correct the patch from 2009-11-18.  (Bug#3910)
14396 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
14398         * progmodes/subword.el: Rename from lisp/subword.el.
14400         * subword.el: Rename to progmodes/subword.el.
14402         * Makefile.in (ELCFILES): Adapt to subword.el move.
14404 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14405             Stefan Monnier  <monnier@iro.umontreal.ca>
14407         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14408         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14409         (bookmark-bmenu-show-filenames): Use push.
14410         (bookmark-bmenu-hide-filenames): Use local var instead of
14411         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
14412         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14413         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14414         filenames now that the bookmark names are always available.
14416 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14418         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14419         (bookmark-search-pattern): Move and leave unbound.
14420         (bookmark-bmenu-mode-map): Change binding.
14421         (bookmark-read-search-input): Simplify.
14422         Don't use text-char-description.  Don't error on non-char events.
14423         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14424         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14425         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14426         Use a local var for the timer.
14427         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14428         (i.e. bookmark-bmenu-search).
14430 2009-11-21  Glenn Morris  <rgm@gnu.org>
14432         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
14434 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14436         * net/browse-url.el (browse-url-default-windows-browser):
14437         Use cygstart for cygwin.
14439 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
14441         * bookmark.el: Formatting and doc fixes only:
14442         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14443         (bookmark-bmenu-search): Wrap to fit within 80 columns.
14444         Minor grammar and punctuation fixes in doc string.
14445         (bookmark-read-search-input): Adjust to fit within 80 columns.
14447 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14449         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14450         (c-backward-into-nomenclature): Adapt to subword renaming.
14452         * subword.el (subword-forward, subword-backward, subword-mark)
14453         (subword-kill, subword-backward-kill, subword-transpose)
14454         (subword-downcase, subword-upcase, subword-capitalize)
14455         (subword-forward-internal, subword-backward-internal):
14456         Rename from forward-subword, backward-subword, mark-subword,
14457         kill-subword, backward-kill-subword, transpose-subwords,
14458         downcase-subword, upcase-subword, capitalize-subword,
14459         forward-subword-internal, backward-subword-internal.
14461 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14463         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14464         New options.
14465         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14466         New vars.
14467         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14468         (bookmark-bmenu-filter-alist-by-regexp)
14469         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14470         (bookmark-bmenu-search): New command.
14471         (bookmark-bmenu-mode-map): Bind it.
14473 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14475         * progmodes/cc-cmds.el: declare-functioned forward-subword and
14476         backward-subword to quit the byte-compiler.
14478         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14480         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14482         * progmodes/cc-cmds.el (c-update-modeline)
14483         (c-forward-into-nomenclature, c-backward-into-nomenclature):
14484         Refer to subword.el functions instead of cc-subword.el.
14486         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14487         subword.el functions instead of cc-subword.el.
14489         * progmodes/cc-subword.el: Rename to subword.el.
14490         * subword.el: Rename from progmodes/cc-subword.el.
14491         (subword-mode-map): Rename from c-subword-mode-map.
14492         (subword-mode): Rename from c-subword-mode.
14493         (global-subword-mode): New global minor mode.
14494         (forward-subword): Rename from c-forward-subword.
14495         (backward-subword): Rename from c-backward-subword.
14496         (mark-subword): Rename from c-mark-subword.
14497         (kill-subword): Rename from c-kill-subword.
14498         (backward-kill-subword): Rename from c-backward-kill-subword.
14499         (transpose-subwords): Rename from c-tranpose-subword.
14500         (downcase-subword): Rename from c-downcase-subword.
14501         (capitalize-subword): Rename from c-capitalize-subword.
14502         (forward-subword-internal): Rename from c-forward-subword-internal.
14503         (backward-subword-internal): Rename from c-backward-subword-internal.
14505 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
14507         * vc.el (vc-deduce-fileset): Allow non-state changing operations
14508         from a dired buffer.
14509         (vc-dired-deduce-fileset): New function.
14510         (vc-root-diff, vc-print-root-log): Use it.
14512         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14513         nil LIMIT argument to vc-print-log-internal.
14515 2009-11-20  Glenn Morris  <rgm@gnu.org>
14517         * Makefile.in (ELCFILES): Regenerate.
14519 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
14521         * calc/calc.el (calc-set-mode-line):
14522         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14523         (math-format-number): Rename `math-format-complement-signed' to
14524         `math-format-twos-complement'.
14526         * calc/calc-bin.el (math-format-twos-complement): Rename from
14527         math-format-complement-signed.
14528         (calc-radix): Rename `calc-complement-signed-mode' to
14529         `calc-twos-complement-mode'.
14530         (calc-octal-radix, calc-hex-radix): Add an argument for
14531         two's complement.
14533         * calc/calc-embed.el (calc-embedded-mode-vars):
14534         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14536         * calc/calc-ext.el (calc-init-extensions):
14537         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14538         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14540         * calc/calc-units.el (math-build-units-table-buffer):
14541         Let `calc-twos-complement-mode' be nil.
14543         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14544         entries.
14546         * calc/calc-vec.el (calcFunc-vunpack):
14547         * calc/calc-aent.el (calc-do-calc-eval):
14548         * calc/calc-forms.el (math-format-date):
14549         * calc/calc-graph.el (calc-graph-plot):
14550         * calc/calc-math.el (math-use-emacs-fn):
14551         * calc/calccomp.el (math-compose-expr):
14552         Let `calc-twos-complement-mode' be nil.
14554 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14556         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14557         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
14558         * minibuffer.el (completion-in-region-functions): New hook.
14559         (completion-in-region): New function.
14560         * emacs-lisp/lisp.el (lisp-complete-symbol):
14561         * pcomplete.el (pcomplete-std-complete): Use it.
14563 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14565         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14566         (latex-complete-alist): New vars.
14567         (latex-string-prefix-p, latex-complete-bibtex-keys)
14568         (latex-complete-envnames, latex-complete-refkeys)
14569         (latex-complete-data): New functions.
14570         (latex-complete, latex-indent-or-complete): New commands.
14572         * window.el (display-buffer-mark-dedicated): New var.
14573         (display-buffer): Obey it.
14574         * minibuffer.el (minibuffer-completion-help): Use it.
14576         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14578         * filecache.el (file-cache-add-file): Use push and cons.
14579         (file-cache-delete-file-regexp): Use push.
14580         (file-cache-complete): Use completion-in-region.
14582         * simple.el (with-wrapper-hook): Fix thinko.
14584         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14585         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14586         Use with-current-buffer and string-to-number.
14587         (hfy-fallback-colour-values): Use assoc-string.
14588         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14589         (hfy-face-at): Remove unused var `found-face'.
14590         (hfy-compile-stylesheet): Remove unused var `css'.
14591         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14592         and `orig-buffer'.
14593         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14594         Use with-current-buffer.
14595         (hfy-text-p): Use expand-file-name and fewer setq.
14597 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
14599         * htmlfontify.el, hfy-cmap.el: New files.
14601 2009-11-19  Juri Linkov  <juri@jurta.org>
14603         * minibuffer.el (completions-format): New defcustom.
14604         (completion--insert-strings): Implement vertical format.
14606         * simple.el (switch-to-completions): Move point to the first
14607         completion when point was at the beginning of the buffer.
14609 2009-11-19  Juri Linkov  <juri@jurta.org>
14611         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
14613         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14615 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
14617         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14618         (mail-signature): Change default to t.
14619         (mail-from-style): Deprecate `system-default' value.
14620         (mail-insert-from-field): For default value of mail-from-style,
14621         default to `angles' unless `angles' needs quoting and `parens'
14622         does not.
14623         (mail-citation-prefix-regexp): Use citation regexp from
14624         message-mode.
14626 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
14628         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14629         Set variables for computing the prompt for reading password.
14631 2009-11-19  Glenn Morris  <rgm@gnu.org>
14633         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
14635         * textmodes/flyspell.el (sgml-lexical-context): Declare.
14637         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14638         (newsticker-treeview-listwindow-height): Fix custom type.
14640 2009-11-19  Kenichi Handa  <handa@m17n.org>
14642         * descr-text.el (describe-char-padded-string): Compose with TAB
14643         only if there's a font for CH.
14644         (describe-char): Fix the condition for detecting a trivial composition.
14646 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
14648         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14649         more accurate version of the regexp.  (Bug#3910)
14651 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14653         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14655 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
14657         * font-setting.el (font-use-system-font): Declare for byte-compiler.
14658         (font-setting-change-default-font): Fix typo in docstring.
14660 2009-11-18  Alan Mackenzie  <acm@muc.de>
14662         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14664 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14666         * font-setting.el (font-use-system-font): Move ...
14668         * cus-start.el (all): ... to here.
14670 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
14672         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14673         Don't set `ad-return-value' if `ad-do-it' doesn't.
14675         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14676         modification time.
14678 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14680         * menu-bar.el: Put "Use system font" in Option-menu.
14681         (menu-bar-options-save): Add font-use-system-font.
14683         * loadup.el: If feature system-font-setting or font-render-setting is
14684         there, load font-setting.
14686         * Makefile.in (ELCFILES): Add font-settings.el.
14687         * font-setting.el: New file.
14689 2009-11-17  Glenn Morris  <rgm@gnu.org>
14691         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14693         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14694         Preserve point in the list buffer.  (Bug#4939)
14695         Use point-at-eol.
14696         (newsticker--treeview-list-update-highlight)
14697         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14699 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14701         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14702         Remove.
14704         * calc/calc-ext.el (calc-init-extensions): Remove references to
14705         symclip.
14707         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14709         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14710         * calc/calc-help.el (calc-b-prefix-help): Remove references to
14711         `calc-symclip'.
14713 2009-11-16  Kevin Ryde  <user42@zip.com.au>
14715         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14716         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14718         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14719         (lm-keywords-list): Allow comma-only separator like "foo,bar".
14720         Ignore trailing spaces by omit-nulls to split-string (fixing
14721         regression from Emacs 21 due to the incompatible split-string
14722         change).  (Bug #4928.)
14724 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
14726         * vc.el (vc-log-show-limit): Default to 2000.
14727         (vc-print-log-internal): Insert buttons to request more entries
14728         when limiting the output.
14730         * vc-sccs.el (vc-sccs-print-log):
14731         * vc-rcs.el (vc-rcs-print-log):
14732         * vc-cvs.el (vc-cvs-print-log):
14733         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14734         LIMIT is non-nil.
14736 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14738         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14739         error when `tramp-gvfs-dbus-event-vector' is set.
14740         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14742 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14744         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14746 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14748         * net/dbus.el (dbus-unregister-service): New defun.
14749         (dbus-register-property): Register the handlers of
14750         "org.freedesktop.DBus.Properties" for SERVICE.
14751         (dbus-property-handler): Fix docstring.
14753 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14755         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14756         Quote doc string reference in defvaralias as it is not in special form.
14757         (byte-compile-output-docform): Doc fix.
14759 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14761         * calc/calc.el (math-2-word-size, math-half-2-word-size)
14762         (calc-complement-signed-mode): New variables.
14763         (calc-set-mode-line): Add indicator for twos-complements.
14764         (math-format-number): Format twos-complement notation.
14766         * calc/calc-bin.el (calc-word-size): Reset the variables
14767         `math-2-word-size' and `math-half-2-word-size'.
14768         (math-format-complement-signed, math-symclip, calcFunc-symclip)
14769         (calc-symclip): New functions.
14771         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14773         * calc/calc-embed.el (calc-embedded-mode-vars):
14774         Add `calc-complement-signed-mode' to the list of modes.
14776         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14777         (calc-b-oper-keys): Add `calc-symclip' to list.
14779         * calc/calc-ext.el (math-read-number-fancy): Read complement
14780         signed numbers.
14781         (calc-init-extensions): Add binding for `calc-symclip'.
14782         Add autoload for `calcFunc-symclip' and `calc-symclip'.
14784         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14785         `calc-symclip'.
14786         (calc-modes-menu): Add item for twos complement mode.
14788         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14790 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14792         * register.el (jump-to-register, insert-register): Handle Semantic
14793         tags.  From commented-out advice in semantic/senator.el.
14795 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
14797         * vc.el (vc-log-show-limit): New variable.
14798         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
14799         when using a prefix argument.
14800         (vc-print-log-internal): Add new argument LIMIT.
14802         * vc-svn.el (vc-svn-print-log):
14803         * vc-mtn.el (vc-mtn-print-log):
14804         * vc-hg.el (vc-hg-print-log):
14805         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14806         pass it to the log command when set.  Make the BUFFER argument
14807         non-optional.
14809         * vc-sccs.el (vc-sccs-print-log):
14810         * vc-rcs.el (vc-rcs-print-log):
14811         * vc-git.el (vc-git-print-log):
14812         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14813         ignore it.  Make the BUFFER argument non-optional
14815         * bindings.el (mode-line-buffer-identification): Do not purecopy.
14817 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14819         * dired.el (dired-mode-map): Move encryption items to "Operate"
14820         menu (Bug#4703).
14822         * strokes.el (strokes-update-window-configuration): Make strokes
14823         buffer current before erasing (Bug#4906).
14825 2009-11-15  Juri Linkov  <juri@jurta.org>
14827         * simple.el (set-mark-default-inactive): Add :type, :group
14828         and :version.  (Bug#4876)
14830 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
14832         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14833         (archive-unique-fname): ... here.  (Bug#4929)
14835 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14837         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14838         with a real fix.
14840         * novice.el (disabled-command-function): Add useful args.
14841         Setup the help buffer so that [back] works.
14842         Remove redundant call to help-mode.
14843         (disabled-command-function): Use `case'.
14844         (en/disable-command): New function extracted from enable-command.
14845         (enable-command, disable-command): Use it.
14847 2009-11-14  Glenn Morris  <rgm@gnu.org>
14849         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14850         constants.  (Bug#4913)
14852         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14854 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14856         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14857         defined in C that have no doc-strings.  (Bug#1063)
14859 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
14861         * cus-edit.el (data, files):
14862         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
14864 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
14866         * simple.el (shell-command): Doc fix (Bug#4891).
14868         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14870 2009-11-14  Glenn Morris  <rgm@gnu.org>
14872         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14873         statements for vc-diff, emerge-quit, and rmail-cease-edit.
14874         If they are already loaded, eval-after-load will do the right thing.
14876         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14877         compiling.
14879         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14881         * simple.el (x-selection-owner-p): Declare.
14882         (read-mail-command): Use custom radio type rather than choice.
14883         (completion-no-auto-exit): Doc fix.
14885         * custom.el (defgroup):
14886         * epg-config.el (epg): Doc fixes.
14888 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
14890         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14891         * international/ccl.el (define-ccl-program): Do not purecopy the
14892         docstring, defconst does it anyway.
14894 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14896         * add-log.el (add-change-log-entry): Avoid displaying the changelog
14897         a second time.
14899         * x-dnd.el (x-dnd-maybe-call-test-function):
14900         * window.el (split-window-vertically):
14901         * whitespace.el (whitespace-help-on):
14902         * vc-rcs.el (vc-rcs-consult-headers):
14903         * userlock.el (ask-user-about-lock-help)
14904         (ask-user-about-supersession-help):
14905         * type-break.el (type-break-force-mode-line-update):
14906         * time-stamp.el (time-stamp-conv-warn):
14907         * terminal.el (te-set-output-log, te-more-break, te-filter)
14908         (te-sentinel, terminal-emulator):
14909         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14910         (term-write-input-ring, term-check-source, term-start-output-log):
14911         (term-display-buffer-line, term-dynamic-list-completions):
14912         (term-ansi-make-term, serial-term):
14913         * subr.el (selective-display):
14914         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14915         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14916         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14917         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14918         (speedbar-remove-localized-speedbar-support)
14919         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14920         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14921         (speedbar-buffers-line-directory):
14922         * simple.el (shell-command-on-region, append-to-buffer)
14923         (prepend-to-buffer):
14924         * shadowfile.el (shadow-save-todo-file):
14925         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14926         (scroll-bar-maybe-set-window-start):
14927         * sb-image.el (speedbar-image-dump):
14928         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14929         (load-save-place-alist-from-file):
14930         * ps-samp.el (ps-print-message-from-summary):
14931         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14932         (ps-background-image, ps-begin-job, ps-do-despool):
14933         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14934         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14935         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14936         (pr-call-process, pr-file-list, pr-interface-save):
14937         * novice.el (disabled-command-function)
14938         (enable-command, disable-command):
14939         * mouse.el (mouse-buffer-menu-alist):
14940         * mouse-copy.el (mouse-kill-preserving-secondary):
14941         * macros.el (kbd-macro-query):
14942         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14943         * informat.el (batch-info-validate):
14944         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14945         * hippie-exp.el (try-expand-dabbrev-visible):
14946         * help-mode.el (help-make-xrefs):
14947         * help-fns.el (describe-variable):
14948         * generic-x.el (bat-generic-mode-run-as-comint):
14949         * finder.el (finder-mouse-select):
14950         * find-dired.el (find-dired-sentinel):
14951         * filesets.el (filesets-file-close):
14952         * files.el (list-directory):
14953         * faces.el (list-faces-display, describe-face):
14954         * facemenu.el (list-colors-display):
14955         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14956         * epg.el (epg--process-filter, epg-cancel):
14957         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14958         (epa--read-signature-type):
14959         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14960         (emerge-file-names):
14961         * ehelp.el (electric-helpify):
14962         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14963         * ediff-vers.el (rcs-ediff-view-revision):
14964         * ediff-util.el (ediff-setup):
14965         * ediff-mult.el (ediff-append-custom-diff):
14966         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14967         (ediff-wordify):
14968         * echistory.el (Electric-command-history-redo-expression):
14969         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14970         * disp-table.el (describe-display-table):
14971         * dired.el (dired-find-buffer-nocreate):
14972         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14973         * dabbrev.el (dabbrev--same-major-mode-p):
14974         * chistory.el (list-command-history):
14975         * apropos.el (apropos-documentation):
14976         * allout.el (allout-obtain-passphrase):
14977         (allout-copy-exposed-to-buffer):
14978         (allout-verify-passphrase): Use with-current-buffer.
14980 2009-11-13  Glenn Morris  <rgm@gnu.org>
14982         * Makefile.in (ELCFILES): Regenerate.
14984 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
14986         * net/dbus.el (dbus-registered-objects-table): Rename from
14987         `dbus-registered-functions-table', because it contains also properties.
14988         (dbus-unregister-object): Unregister also properties.
14989         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14990         Use a timeout of 500 msec, in order to not block.
14991         (dbus-register-property, dbus-property-handler): New defuns.
14993 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14995         * simple.el (minibuffer-default-add-completions): Drop deprecated
14996         4th arg.
14998 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
15000         * textmodes/artist.el (artist-mouse-choose-operation):
15001         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15002         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15003         (artist-compute-up-event-key): New function.
15004         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15006 2009-11-13  Kenichi Handa  <handa@m17n.org>
15008         * language/japan-util.el: Make sure that the value of jisx0208
15009         property is jisx0208 character.
15011 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
15013         * international/mule.el (auto-coding-regexp-alist): Only purecopy
15014         car or each item, not the whole list.
15016 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15018         * minibuffer.el (minibuffer-completion-help):
15019         Use minibuffer-hide-completions.
15021 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
15023         * dired.el (dired-save-positions, dired-restore-positions): New funs.
15024         (dired-revert): Use them (bug#4880).
15026 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15028         * tooltip.el (tooltip-frame-parameters): Undo previous change.
15030 2009-11-12  Juri Linkov  <juri@jurta.org>
15032         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15033         New functions.
15034         (find-file-literally-at-point): Alias of `ffap-literally'.
15036 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15038         * textmodes/ispell.el (ispell-skip-region-alist):
15039         * textmodes/css-mode.el (auto-mode-alist):
15040         * progmodes/compile.el (auto-mode-alist):
15041         * international/mule.el (ctext-non-standard-encodings-alist)
15042         (ctext-non-standard-encodings-regexp):
15043         * simple.el (shell-command-switch, text-read-only):
15044         * replace.el (occur-mode-map):
15045         * paths.el (rmail-file-name):
15046         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15047         * find-file.el (ff-special-constructs):
15048         * files.el (file-name-handler-alist):
15049         * composite.el: Purecopy strings.
15051         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15053 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15055         * widget.el (define-widget): Purecopy the docstring.
15056         * international/mule-cmds.el (charset): Do not purecopy the
15057         docstring here, define-widget does it.
15059         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15060         * textmodes/bibtex-style.el (auto-mode-alist):
15061         * progmodes/inf-lisp.el (inferior-lisp-prompt):
15062         * progmodes/compile.el (compile-command):
15063         * language/korea-util.el (default-korean-keyboard):
15064         * international/mule-conf.el (file-coding-system-alist):
15065         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15066         * tooltip.el (tooltip-frame-parameters):
15067         * newcomment.el (comment-end, comment-padding):
15068         * dired.el (dired-trivial-filenames):
15069         * comint.el (comint-file-name-prefix): Purecopy initial values.
15071 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
15073         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15074         (tramp-advice-minibuffer-electric-tilde): Unload advices via
15075         `tramp-unload'.
15076         (tramp-advice-make-auto-save-file-name)
15077         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15078         after removing the advice.
15080 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15082         * progmodes/grep.el (grep-regexp-alist):
15083         * international/mule-cmds.el (iso-2022-control-alist):
15084         * emacs-lisp/timer.el (timer-duration-words):
15085         * subr.el (version-separator, version-regexp-alist):
15086         * minibuffer.el (completion-styles-alist):
15087         * faces.el (face-attribute-name-alist, list-faces-sample-text):
15088         Change defvars to defconsts.
15090         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15091         * loadup.el ("international/mule-conf"): Load the byte compiled version.
15092         * international/mule-conf.el: Allow to be byte compiled.
15094         * international/mule.el (define-charset): Purecopy props.
15095         (load-with-code-conversion): Purecopy doc string and file name.
15096         (put-charset-property): Purecopy strings.
15097         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15099         * international/mule-cmds.el (register-input-method): Purecopy arguments.
15100         (define-char-code-property): Correctly purecopy the table.
15102         * international/ccl.el (define-ccl-program): Purecopy the docstring.
15104         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15106         * subr.el (add-hook): Purecopy strings.
15107         (eval-after-load): Purecopy load-history-regexp and the form.
15109         * custom.el (custom-declare-group): Purecopy load-file-name.
15111         * subr.el (menu-bar-separator): New defconst.
15112         * net/eudc.el (eudc-tools-menu):
15113         * international/mule-cmds.el (set-coding-system-map)
15114         (mule-menu-keymap):
15115         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15116         * vc-hooks.el (vc-menu-map):
15117         * replace.el (occur-mode-map):
15118         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15119         (menu-bar-edit-menu, menu-bar-goto-menu)
15120         (menu-bar-custom-menu, menu-bar-showhide-menu)
15121         (menu-bar-options-menu, menu-bar-tools-menu)
15122         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15123         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15124         (menu-bar-help-menu):
15125         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15126         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15128         * term/x-win.el (x-gtk-stock-map):
15129         * progmodes/vera-mode.el (auto-mode-alist):
15130         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15131         (inferior-lisp-program, inferior-lisp-load-command):
15132         * progmodes/hideshow.el (hs-special-modes-alist):
15133         * progmodes/gud.el (same-window-regexps):
15134         * progmodes/grep.el (grep-program, find-program, xargs-program):
15135         * net/telnet.el (same-window-regexps):
15136         * net/rlogin.el (same-window-regexps):
15137         * language/ethiopic.el (font-ccl-encoder-alist):
15138         * vc-sccs.el (vc-sccs-master-templates):
15139         * vc-rcs.el (vc-rcs-master-templates):
15140         * subr.el (cl-assertion-failed):
15141         * simple.el (next-error-overlay-arrow-position):
15142         * lpr.el (lpr-command):
15143         * locate.el (locate-ls-subdir-switches):
15144         * info.el (same-window-regexps, info)
15145         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15146         * image-mode.el (image-mode, auto-mode-alist):
15147         * hippie-exp.el (hippie-expand-ignore-buffers):
15148         * format.el (format-alist):
15149         * find-dired.el (find-ls-subdir-switches, find-grep-options)
15150         (find-name-arg):
15151         * facemenu.el (facemenu-keybindings):
15152         * dired.el (dired-listing-switches, dired-chown-program):
15153         * diff.el (diff-switches, diff-command):
15154         * cus-edit.el (same-window-regexps):
15155         * bindings.el (mode-line-mule-info)
15156         (mode-line-buffer-identification): Purecopy strings.
15158 2009-11-11  Juri Linkov  <juri@jurta.org>
15160         * simple.el (dired-get-filename) <declare-function>:
15161         Tell the byte-compiler about dired-get-filename.
15162         (shell-command): In Dired mode, get filename from the current line
15163         as the default value.
15165 2009-11-10  Glenn Morris  <rgm@gnu.org>
15167         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15168         * calendar/holidays.el, progmodes/cperl-mode.el:
15169         Update x-popup-menu declarations.
15171         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15172         (list-load-path-shadows): Use dolist.
15173         (list-load-path-shadows): Use with-current-buffer.
15175 2009-11-10  Juri Linkov  <juri@jurta.org>
15177         * minibuffer.el (read-file-name): Support a list of default values
15178         in `default-filename'.  Use the first file name where only one
15179         element is required.  Doc fix.
15181 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
15183         * net/dbus.el (dbus-unregister-object): Release service, if no
15184         other method is registered for it.
15186 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
15188         * bookmark.el (bookmark-completing-read): Sort bookmark names if
15189         bookmark-sort-flag is non-nil (Bug#4653).
15191 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15193         * emulation/cua-base.el: Add CUA property to some CC mode commands
15194         (Bug#4100).
15196 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15198         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15199         at end of sentence (Bug#4818).
15201 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
15203         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15204         Handle "see declaration of" MSFT statements (Bug#4100).
15206 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
15208         * net/tramp.el (tramp-advice-make-auto-save-file-name)
15209         (tramp-advice-file-expand-wildcards): Unload via
15210         `ad-remove-advice'.
15212         * net/trampver.el: Update release number.
15214 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15216         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15217         `ad-do-it'.
15219 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
15221         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15222         in order to keep context in SELinux.
15224 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15226         * dired-aux.el (dired-query): Place cursor in echo area and allow
15227         C-g.
15229         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15230         menu item if not on a directory (Bug#4701).
15232 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
15234         Sync with Tramp 2.1.17.
15236         * net/tramp.el (tramp-handle-copy-directory): Don't use
15237         `file-remote-p' (due to compatibility).
15239         * net/tramp-compat.el (tramp-compat-copy-directory)
15240         (tramp-compat-delete-directory): New defuns.
15242         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15243         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15244         Use `tramp-compat-delete-directory'.
15246         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15247         (tramp-smb-handle-delete-directory):
15248         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15250         * net/trampver.el: Update release number.
15252 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
15254         * tar-mode.el (tar-copy): Call write-region on the right buffer
15255         (Bug#4857).
15257         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15258         by hand, if necessary (Bug#4878).
15260 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
15262         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15263         align size column (Bug#4839).
15265         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15266         statement.
15268 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15270         * progmodes/ld-script.el (auto-mode-alist):
15271         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15273         * cus-face.el (custom-declare-face): Purecopy face spec.
15275 2009-11-06  Kenichi Handa  <handa@m17n.org>
15277         * international/uni-bidi.el: Re-generated.
15278         * international/uni-category.el: Re-generated.
15279         * international/uni-combining.el: Re-generated.
15280         * international/uni-mirrored.el: Re-generated.
15282 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15284         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15285         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15286         (tex-start-options, slitex-run-command, latex-run-command)
15287         (tex-run-command, tex-directory):
15288         * textmodes/ispell.el (ispell-html-skip-alists)
15289         (ispell-tex-skip-alists, ispell-tex-skip-alists):
15290         * textmodes/fill.el (adaptive-fill-first-line-regexp):
15291         (adaptive-fill-regexp):
15292         * textmodes/dns-mode.el (auto-mode-alist):
15293         * progmodes/python.el (interpreter-mode-alist):
15294         * progmodes/etags.el (tags-compression-info-list):
15295         * progmodes/etags.el (tags-file-name):
15296         * net/browse-url.el (browse-url-galeon-program)
15297         (browse-url-firefox-program):
15298         * mail/sendmail.el (mail-signature-file)
15299         (mail-citation-prefix-regexp):
15300         * international/mule-conf.el (eight-bit):
15301         * international/latexenc.el (latex-inputenc-coding-alist):
15302         * international/fontset.el (x-pixel-size-width-font-regexp):
15303         * emacs-lisp/warnings.el (warning-type-format):
15304         * emacs-lisp/trace.el (trace-buffer):
15305         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15306         (emacs-lisp-mode-map):
15307         * calendar/holidays.el (holiday-solar-holidays)
15308         (holiday-bahai-holidays, holiday-islamic-holidays)
15309         (holiday-christian-holidays, holiday-hebrew-holidays)
15310         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15311         (hebrew-holidays-1, holiday-oriental-holidays)
15312         (holiday-general-holidays):
15313         * x-dnd.el (x-dnd-known-types):
15314         * tool-bar.el (tool-bar):
15315         * startup.el (site-run-file):
15316         * shell.el (shell-dumb-shell-regexp):
15317         * rfn-eshadow.el (file-name-shadow-tty-properties)
15318         (file-name-shadow-properties):
15319         * paths.el (remote-shell-program, news-directory):
15320         * mouse.el ([C-down-mouse-3]):
15321         * menu-bar.el (menu-bar-tools-menu):
15322         * jka-cmpr-hook.el (jka-compr-load-suffixes)
15323         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15324         (jka-compr-compression-info-list):
15325         * isearch.el (search-whitespace-regexp):
15326         * image-file.el (image-file-name-extensions):
15327         * find-dired.el (find-ls-option):
15328         * files.el (directory-listing-before-filename-regexp)
15329         (directory-free-space-args, insert-directory-program)
15330         (list-directory-brief-switches, magic-fallback-mode-alist)
15331         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15332         (automount-dir-prefix):
15333         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15334         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15335         (face-font-registry-alternatives, face-font-registry-alternatives)
15336         (face-font-family-alternatives):
15337         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15338         (facemenu-foreground-menu, facemenu-face-menu):
15339         * epa-hook.el (epa-file-name-regexp):
15340         * dnd.el (dnd-protocol-alist):
15341         * textmodes/rst.el (auto-mode-alist):
15342         * button.el (default-button): Purecopy strings.
15344 2009-11-06  Glenn Morris  <rgm@gnu.org>
15346         * Makefile.in (ELCFILES): Update.
15348 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15350         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15351         * emacs-lisp/levents.el: Move to obsolete/levents.el.
15353         * nxml/xsd-regexp.el (xsdre-gen-categories):
15354         * nxml/xmltok.el (xmltok-parse-entity):
15355         * nxml/rng-parse.el (rng-parse-validate-file):
15356         * nxml/rng-maint.el (rng-format-manual)
15357         (rng-manual-output-force-new-line):
15358         * nxml/rng-loc.el (rng-save-schema-location-1):
15359         * nxml/rng-cmpct.el (rng-c-parse-file):
15360         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15361         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15363 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
15365         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15366         Remove extra save-excursions and make-variable-buffer-local's.
15367         Suggested by Stefan Monnier.
15369         (verilog-getopt-file, verilog-module-inside-filename-p)
15370         (verilog-set-define): Merge GNU 1.35 and repair changes from
15371         switching to using with-current-buffer.
15373         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15374         being treated as a number and confusing AUTORESET.
15375         Reported by Dan Dever.
15377         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15378         Add verilog-auto-ignore-concat to fix backward compatibility with
15379         older verilog-modes.  Reported by Dan Katz.
15381         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15382         containing closing anchors "...$".
15384         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15385         Reported by Wade Smith.
15387         (verilog-batch-execute-func): Comment on function usage.
15389 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
15391         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15392         for labels.
15394         (verilog-label-re, verilog-calc-1): Support proper indent of named
15395         asserts.
15397         (verilog-backward-token, verilog-basic-complete-re)
15398         (verilog-beg-of-statement, verilog-indent-re): Support proper
15399         indent of the assert statement at the beginning of a block of text.
15401         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15402         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15403         tokens as begins.
15405 2009-11-05  Glenn Morris  <rgm@gnu.org>
15407         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15408         Emacs 19.  (Bug#1531)
15409         (byte-compile-fix-header): Update for the above change.
15410         Drop test for epoch::version.
15412         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15413         * cus-dep.el (custom-make-dependencies):
15414         * finder.el (finder-compile-keywords):
15415         Use autoload-rubric's feature argument.
15417         * calendar/diary-lib.el (top-level): Make load behave more like require.
15419         * vc-git.el (vc-git-stash-map): Move definition before use.
15421 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
15423         * custom.el (custom-declare-group): Purecopy standard-value.
15424         (custom-declare-group): Purecopy custom-prefix.
15426         * international/mule.el (load-with-code-conversion):
15427         Call do-after-load-evaluation unconditionally.
15429         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15431 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15433         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15435 2009-11-04  Glenn Morris  <rgm@gnu.org>
15437         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15438         (byte-compile-compatibility): Remove option.
15439         (byte-compile-close-variables, byte-compile-fix-header)
15440         (byte-compile-insert-header, byte-compile-output-docform)
15441         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15442         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15443         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15444         (byte-compile-insert, byte-compile-defun):
15445         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
15446         (byte-defop-compiler19): Remove.
15447         Without byte-compile-compatibility, the 'emacs19-opcode property is not
15448         used by anything.  Replace all calls with byte-defop-compiler.
15450 2009-11-04  Juri Linkov  <juri@jurta.org>
15452         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15453         (menu-bar-options-menu): Don't quote the `prop' arg of
15454         `menu-bar-make-mm-toggle'.
15456 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
15458         * calendar/calendar.el (cal-loaddefs):
15459         * calendar/diary-lib.el (diary-loaddefs):
15460         * calendar/holidays.el (hol-loaddefs):
15461         * eshell/esh-module.el (esh-groups): Load rather than require.
15463 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15465         * calendar/todo-mode.el (todo-add-category): Don't hardcode
15466         point-min==1.
15467         (todo-top-priorities): Only display-buffer when called interactively.
15468         (todo-item-start): Don't save excursion point.
15469         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
15470         (todo-insert-item-here, todo-file-item, todo-remove-item):
15471         Adjust uses of todo-item-start and todo-item-end.
15473         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15474         (autoload-rubric): Don't use any more.
15476         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15477         and only put a prop if it is non-nil.
15479 2009-11-03  Juri Linkov  <juri@jurta.org>
15481         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15482         (menu-bar-options-menu): Fix list quoting (Bug#4429).
15484         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15485         and "Menu" to make top-level menu item visually one unit (like
15486         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15487         multi-word menu items).  Fix :help string for quit-window.
15489 2009-11-03  Glenn Morris  <rgm@gnu.org>
15491         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15492         (byte-compile-file-form-define-abbrev-table)
15493         (byte-compile-file-form-custom-declare-variable)
15494         (byte-compile-variable-ref, byte-compile-defvar):
15495         Whether or not a warning is enabled should only affect whether we issue
15496         the warning, not whether or not we collect the relevant data.
15497         Eg warnings can be turned on and off throughout the course of a file.
15499         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15500         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15502 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15504         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15505         * play/mpuz.el (mpuz-create-buffer):
15506         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15507         (lm-print-y,s,noise, lm-print-w0, lm-init):
15508         * play/gomoku.el (gomoku-prompt-for-move):
15509         * play/fortune.el (fortune-in-buffer):
15510         * play/dissociate.el (dissociated-press):
15511         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15512         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15513         * mail/supercite.el (sc-eref-show):
15514         * mail/smtpmail.el (smtpmail-send-it):
15515         * mail/rmailsum.el (rmail-summary-next-labeled-message)
15516         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15517         (rmail-summary-undelete-many, rmail-summary-rmail-update)
15518         (rmail-summary-goto-msg, rmail-summary-expunge)
15519         (rmail-summary-get-new-mail, rmail-summary-search-backward)
15520         (rmail-summary-add-label, rmail-summary-output-menu)
15521         (rmail-summary-output-body):
15522         * mail/rfc822.el (rfc822-addresses):
15523         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15524         * mail/mailpost.el (post-mail-send-it):
15525         * mail/hashcash.el (hashcash-generate-payment):
15526         * mail/feedmail.el (feedmail-run-the-queue)
15527         (feedmail-queue-send-edit-prompt-help-first)
15528         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15529         (feedmail-deduce-address-list):
15530         * eshell/esh-ext.el (eshell-remote-command):
15531         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15532         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15533         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15534         (viper-save-string-in-file, viper-valid-marker):
15535         * emulation/viper-keym.el (viper-toggle-key):
15536         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15537         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15538         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15539         * emulation/viper-cmd.el (viper-exec-form-in-vi)
15540         (viper-exec-form-in-emacs, viper-brac-function):
15541         * emulation/viper.el (viper-delocalize-var):
15542         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15543         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15544         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15545         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15546         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15547         * emulation/edt.el (edt-electric-helpify):
15548         * emulation/cua-rect.el (cua--rectangle-aux-replace):
15549         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15550         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15551         (cua-indent-to-global-mark-column):
15552         * calendar/diary-lib.el (calendar-mark-1):
15553         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15554         Use with-current-buffer.
15555         * emulation/viper.el (viper-delocalize-var): Use dolist.
15557 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
15559         * comint.el (comint-replace-by-expanded-history-before-point):
15560         Replace !! with the previous input string literally (Bug#1795).
15562 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
15564         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15565         to be made up of whitespace.
15567 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
15569         * minibuffer.el (read-file-name): Don't use file dialogs for
15570         remote directories (Bug#99).
15572 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
15574         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15576 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15578         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15579         instead of deleting the window or frame.
15581 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15583         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15584         Support face colors.
15586         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15587         New function.  Support face colors (Bug#1168).
15588         (tex-common-initialization): Use it.
15590         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15591         mode allows it (Bug#1168).
15593 2009-10-31  Juri Linkov  <juri@jurta.org>
15595         * facemenu.el (list-colors-display): Don't mark buffer as
15596         modified (Bug#3948).
15598 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15600         * international/mule-diag.el (list-character-sets-1):
15601         Minor message fix (Bug#3526).
15603         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15604         Fix face property (Bug#4834).
15605         (etags-list-tags, etags-tags-apropos-additional)
15606         (etags-tags-apropos, tags-select-tags-table): Add follow-link
15607         property.
15609         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15610         items.
15612 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15614         * textmodes/two-column.el (2C-split):
15615         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15616         * textmodes/tex-mode.el (tex-set-buffer-directory):
15617         * textmodes/spell.el (spell-region, spell-string):
15618         * textmodes/reftex.el (reftex-erase-buffer):
15619         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15620         * textmodes/reftex-toc.el (reftex-toc-promote-action):
15621         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15622         (reftex-select-item):
15623         * textmodes/reftex-ref.el (reftex-label-info-update)
15624         (reftex-offer-label-menu):
15625         * textmodes/reftex-index.el (reftex-index-change-entry)
15626         (reftex-index-phrases-info):
15627         * textmodes/reftex-global.el (reftex-create-tags-file)
15628         (reftex-save-all-document-buffers, reftex-ensure-write-access):
15629         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15630         (reftex-view-crossref-from-bibtex):
15631         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15632         (reftex-extract-bib-entries-from-thebibliography)
15633         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15634         * textmodes/refbib.el (r2b-capitalize-title):
15635         (r2b-convert-buffer, r2b-help):
15636         * textmodes/page-ext.el (pages-directory)
15637         (pages-directory-goto-with-mouse):
15638         * textmodes/bibtex.el (bibtex-validate-globally):
15639         * textmodes/bib-mode.el (bib-capitalize-title):
15640         * textmodes/artist.el (artist-clear-buffer, artist-system):
15641         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15642         (local-set-scheme-interaction-buffer, xscheme-process-filter)
15643         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15644         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15645         (xscheme-send-control-g-interrupt, xscheme-start-process)
15646         (xscheme-process-sentinel, xscheme-cd):
15647         * progmodes/verilog-mode.el (verilog-read-always-signals)
15648         (verilog-set-define, verilog-getopt-file)
15649         (verilog-module-inside-filename-p):
15650         * progmodes/sh-script.el:
15651         * progmodes/python.el (python-pdbtrack-get-source-buffer)
15652         (python-pdbtrack-grub-for-buffer, python-execute-file):
15653         * progmodes/octave-inf.el (inferior-octave):
15654         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15655         (idlwave-shell-compile-helper-routines, idlwave-set-local)
15656         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15657         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15658         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15659         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15660         (idlwave-shell-filter, idlwave-shell-examine-highlight)
15661         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15662         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15663         (idlwave-shell-examine-display, idlwave-shell-run-region)
15664         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15665         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15666         * progmodes/idlw-help.el (idlwave-help-get-special-help)
15667         (idlwave-help-get-help-buffer):
15668         * progmodes/gud.el (gud-basic-call, gud-find-class)
15669         (gud-tooltip-activate-mouse-motions-if-enabled):
15670         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15671         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15672         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15673         (ebrowse-tags-next-file):
15674         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15675         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15676         (ebnf-eps-finish-and-write):
15677         * progmodes/cpp.el (cpp-edit-save):
15678         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15679         * progmodes/cc-defs.el (c-emacs-features):
15680         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15681         (antlr-directory-dependencies):
15682         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15683         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15684         (ada-find-any-references, ada-make-filename-from-adaname)
15685         (ada-make-body-gnatstub):
15686         * obsolete/rnews.el (news-list-news-groups):
15687         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15688         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15689         * net/rcirc.el (rcirc-debug):
15690         * net/newst-treeview.el (newsticker--treeview-list-add-item)
15691         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15692         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15693         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15694         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15695         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15696         (newsticker--treeview-list-clear-highlight)
15697         (newsticker--treeview-list-update-highlight)
15698         (newsticker--treeview-list-highlight-start)
15699         (newsticker--treeview-tree-update-highlight)
15700         (newsticker--treeview-get-selected-item)
15701         (newsticker-treeview-mark-list-items-old)
15702         (newsticker--treeview-set-current-node):
15703         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15704         * net/newst-backend.el (newsticker--get-news-by-funcall)
15705         (newsticker--get-news-by-wget, newsticker--image-get)
15706         (newsticker--image-sentinel):
15707         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15708         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15709         (eudc-ph-close-session):
15710         * net/eudc.el (eudc-save-options):
15711         * language/thai-word.el (thai-update-word-table):
15712         * language/japan-util.el (japanese-string-conversion):
15713         * international/titdic-cnv.el (tsang-quick-converter)
15714         (ziranma-converter, ctlau-converter):
15715         * international/mule-cmds.el (describe-language-environment):
15716         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15717         (skkdic-convert-postfix, skkdic-convert-prefix):
15718         (skkdic-convert-okuri-nasi, skkdic-convert):
15719         * emacs-lisp/re-builder.el (reb-update-overlays):
15720         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15721         * emacs-lisp/gulp.el (gulp-send-requests):
15722         * emacs-lisp/find-gc.el (trace-call-tree):
15723         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15724         (eieio-describe-generic):
15725         * emacs-lisp/eieio-base.el (eieio-persistent-read):
15726         * emacs-lisp/edebug.el (edebug-outside-excursion):
15727         * emacs-lisp/debug.el (debugger-make-xrefs):
15728         * emacs-lisp/cust-print.el (custom-prin1-to-string):
15729         * emacs-lisp/chart.el (chart-new-buffer):
15730         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15731         Use with-current-buffer.
15732         * textmodes/artist.el (artist-system): Don't call
15733         copy-sequence on a fresh string.
15734         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15736 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
15738         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15739         is no item to edit.  (Bug#4820)
15740         (todo-top-priorities): Restore point and restore narrowing in Todo
15741         buffer.  (Bug#4820)
15743 2009-10-31  Glenn Morris  <rgm@gnu.org>
15745         * net/ange-ftp.el (top-level): Don't require dired when compiling.
15746         (comint-last-output-start, comint-last-input-start)
15747         (comint-last-input-end): Don't defvar when compiling.
15748         (ange-ftp-process-file): Use bound-and-true-p.
15750         * pcmpl-rpm.el (top-level): Move provide statement to end.
15751         (pcmpl-rpm): Remove unused custom group.
15753         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15755         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15757         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15758         (byte-compile-warnings): Add `constants' as an option.
15759         (byte-compile-callargs-warn, byte-compile-arglist-warn)
15760         (display-call-tree): Update for byte-compile-fdefinition possibly
15761         returning `(macro lambda ...)'.  (Bug#4778)
15762         (byte-compile-variable-ref, byte-compile-setq-default):
15763         Respect `constants' member of byte-compile-warnings.
15765 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15767         * vc-bzr.el (vc-bzr-revision-keywords): New var.
15768         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15769         to "submit:".
15771 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
15773         * textmodes/ispell.el (ispell-skip-region-alist):
15774         * international/mule-conf.el (eight-bit):
15775         * international/fontset.el (font-encoding-alist):
15776         * startup.el (pure-space-overflow-message):
15777         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15778         * paths.el (gnus-nntp-service, rmail-spool-directory)
15779         (term-file-prefix):
15780         * files.el (save-some-buffers-action-alist):
15781         * cmuscheme.el (same-window-buffer-names):
15782         * ielm.el (same-window-buffer-names):
15783         * shell.el (same-window-buffer-names):
15784         * mail/sendmail.el (same-window-buffer-names):
15785         * progmodes/inf-lisp.el (same-window-buffer-names):
15786         * bindings.el (mode-line-client)
15787         (mode-line-column-line-number-mode-map):
15788         * language/tibetan.el (tibetan-precomposition-rule-regexp)
15789         (tibetan-precomposed-regexp): Purecopy string arguments.
15791 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15793         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15794         (calcDigit-nondigit):
15795         * calc/calc-yank.el (calc-copy-to-buffer):
15796         * calc/calc-units.el (calc-invalidate-units-table):
15797         * calc/calc-trail.el (calc-trail-yank):
15798         * calc/calc-store.el (calc-insert-variables):
15799         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15800         * calc/calc-prog.el (calc-read-parse-table):
15801         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15802         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15803         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15804         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15805         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15806         (calc-graph-name, calc-graph-find-command, calc-graph-view)
15807         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15808         * calc/calc-ext.el (calc-realign):
15809         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15810         (calc-embedded-finish-edit, calc-embedded-make-info)
15811         (calc-embedded-finish-command, calc-embedded-stack-change):
15812         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15814         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15815         shell-dynamic-complete-filename in preference to
15816         comint-dynamic-complete-filename.
15818         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15819         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15820         Don't consider whether the display supports colors.
15821         (bookmark-import-new-list): Use dolist.
15822         (bookmark-bmenu-mode-map): Move initialization into declaration.
15823         (bookmark-bmenu-list): Use dolist, simplify.
15824         (bookmark-show-all-annotations): Use save-selected-window and dolist.
15825         (menu-bar-final-items): Use push.
15827 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15829         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15830         it works on remote files.
15831         (vc-hg-diff): Don't pass any `--cwd' argument.
15833 2009-10-27  Kevin Ryde  <user42@zip.com.au>
15835         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15836         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15837         (Further to Bug#3921).
15839 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
15841         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15842         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15843         calling `tramp-imap-put-file'.  Add file size to the call.
15844         (tramp-imap-get-file-entries): Compute also user name, file size,
15845         and date.
15846         (tramp-imap-handle-insert-directory): Insert uid and gid.
15847         (tramp-imap-handle-file-attributes): Transform uid and gid
15848         according to `id-format'.
15849         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
15850         size in header X-Size.
15852 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
15854         * simple.el (transpose-subr): Give clearer error when the mark
15855         is not set.  (Bug#4807)
15857 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
15859         * net/tramp.el (tramp-perl-file-truename): New defconst.
15860         Perl code contributed by yary <not.com@gmail.com> (tiny change).
15861         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15862         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15863         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15865         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15866         Ignore `dired-call-process'.
15867         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15869 2009-10-26  Julian Scheid  <julians37@gmail.com>
15871         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15872         (tramp-get-remote-readlink): New defun.
15873         (tramp-handle-file-truename): Use it.
15874         (tramp-handle-file-exists-p): Check file-attributes cache, assume
15875         file exists if cache value present.
15876         (tramp-check-cached-permissions): New defun.
15877         (tramp-handle-file-readable-p): Use it.
15878         (tramp-handle-file-writable-p): Likewise.
15879         (tramp-handle-file-executable-p): Likewise.
15880         (tramp-handle-file-name-all-completions): Try using Perl to get
15881         partial completions.  When perl not available, combine `cd' and
15882         `ls' into single remote operation and use shell expansion to get
15883         partial remote directory contents.  Set `file-exists-p' cache for
15884         directory and any files returned by ls.  Change cache handling to
15885         support partial directory contents.  Use error message emitted by
15886         remote `cd' or Perl code for local tramp-error.
15887         (tramp-do-copy-or-rename-file-directly): Avoid separate
15888         tramp-send-command-and-check call.
15889         (tramp-handle-process-file): Merge three remote ops into one.
15890         Do not flush all caches when `process-file-side-effects' is set.
15891         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15892         file-attributes shows uid/gid to be set already.
15894 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
15896         * textmodes/tex-mode.el (tex-dvi-view-command)
15897         (tex-show-queue-command, tex-open-quote):
15898         * progmodes/ruby-mode.el (auto-mode-alist)
15899         (interpreter-mode-alist): Purecopy strings.
15901         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15903         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15904         string for the hook, keymap and abbrev table.
15906         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15908         * x-dnd.el (x-dnd-xdnd-to-action):
15909         * startup.el (fancy-startup-text, fancy-about-text): Change to
15910         defconst from defvar.
15912         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15914         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15915         Purecopy initialization strings.
15917         * mail/sendmail.el (mail-header-separator)
15918         (mail-personal-alias-file):
15919         * mail/rmail.el (rmail-default-dont-reply-to-names)
15920         (rmail-ignored-headers, rmail-retry-ignored-headers)
15921         (rmail-highlighted-headers, rmail-secondary-file-directory)
15922         (rmail-secondary-file-regexp):
15923         * files.el (null-device, file-name-invalid-regexp)
15924         (locate-dominating-stop-dir-regexp)
15925         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15926         (interpreter-mode-alist): Use mapcar instead of mapc.
15928         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15930         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15931         (completion-ignored-extensions):
15932         (debug-ignored-errors): Purecopy strings.
15934 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15936         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15937         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15938         (pcomplete--here): Use push.
15940         * subr.el (all-completions): Declare the 4th arg obsolete.
15942 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15944         * pcomplete.el (pcomplete-unquote-argument-function): New var.
15945         (pcomplete-unquote-argument): New function.
15946         (pcomplete--common-suffix): Always pay attention to case.
15947         (pcomplete--table-subvert): Quote and unquote the text.
15948         (pcomplete--common-quoted-suffix): New function.
15949         (pcomplete-std-complete): Use it and pcomplete-begin.
15951         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15952         we're inside a dedicated or minibuffer window.
15954 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
15956         * bookmark.el: Update documentation, especially documentation
15957         of `bookmark-alist' and of the bookmark file format.
15958         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
15960 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
15962         * mail/emacsbug.el (report-emacs-bug): Clarify that the
15963         keybindings apply to the mail buffer (Bug#4003).  Shrink help
15964         window to buffer.
15966         * whitespace.el (whitespace-mode, whitespace-newline-mode)
15967         (global-whitespace-mode, global-whitespace-newline-mode)
15968         (whitespace-toggle-options, global-whitespace-toggle-options):
15969         Doc fix (Bug#3660).
15971         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15972         of xmltok-start before the end tag was inserted (Bug#2840).
15974         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15975         patterns that are preceded by an open-paren (Bug#1320).
15977 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
15979         * files.el (delete-directory): Delete symlinks to directories with
15980         delete-file (Bug#4739).
15982 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
15984         * vc.el (vc-backend-for-registration): Rename from
15985         vc-get-backend-for-registration.  Update callers.
15987         * international/mule-cmds.el (set-language-info-alist):
15988         Purecopy lang-env.
15989         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15990         (charset): Purecopy the name.
15991         (define-char-code-property): Purecopy string arguments.
15993         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15994         Purecopy string arguments.
15996         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15997         * ediff-hook.el (menu-bar-ediff-menu):
15998         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15999         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16001 2009-10-24  Glenn Morris  <rgm@gnu.org>
16003         * comint.el (comint-dynamic-list-completions):
16004         * term.el (term-dynamic-list-completions): Use choose-completion rather
16005         than obsolete alias mouse-choose-completion.
16007         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16008         file-cache-choose-completion.
16009         (file-cache-choose-completion): Handle an optional event argument.
16010         (file-cache-mouse-choose-completion): Make it an obsolete alias.
16012         * progmodes/octave-mod.el (octave-complete-symbol):
16013         Use choose-completion if mouse-choose-completion is ever removed.
16015         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16016         use.
16018         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16019         compiler.
16021         * vc-hooks.el (vc-responsible-backend): Fix declaration.
16023 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16025         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16026         Ignore `pred' now that we receive one.
16027         Handle test-completion specially.
16029 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16031         * vc.el (vc-responsible-backend): Throw an error if not backend is
16032         found.  Remove the REGISTER argument.  Move the code dealing with
16033         REGISTER ...
16034         (vc-get-backend-for-registration): ... here.  New function.
16035         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16036         of vc-responsible-backend, pass the file name instead of the
16037         directory name.
16039 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16041         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16042         New funs.
16043         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
16044         (pcomplete-comint-setup): Don't modify a global var via
16045         accidental side-effects.
16046         (pcomplete-shell-setup): Adjust call accordingly.
16047         (pcomplete-parse-comint-arguments): Use push.
16049 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
16051         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16052         Allow uncapitalized info node names (Bug#3921).
16054         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16055         to the DEBUG file (Bug#3781).
16057 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
16059         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16060         dictionary entry (Bug#4579).
16062 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
16064         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16065         from `rfn-eshadow-update-overlay-hook' when unloading.
16066         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16067         "rsyncc".  Adjust doc string.
16068         (tramp-temp-buffer-file-name): New buffer-local defvar.
16069         (tramp-handle-insert-file-contents, tramp-handle-write-region):
16070         Keep temporary file when indicated by method ("rsync" and
16071         "rsyncc").
16072         (tramp-handle-write-region): Handle APPEND.
16073         (tramp-delete-temp-file-function): New defun.  Added to
16074         `kill-buffer-hook'.
16076 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
16078         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16080 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16082         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16083         (color-name-rgb-alist, tty-standard-colors)
16084         (tty-color-mode-alist): Change to defconst.
16086         * simple.el (mark-inactive): Purecopy message.
16088         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16089         (global-map, yank-menu):
16090         * textmodes/ispell.el (ispell-menu-map):
16091         * net/eudc.el (eudc-tools-menu):
16092         * international/mule-cmds.el (describe-language-environment-map)
16093         (setup-language-environment-map, set-coding-system-map)
16094         (mule-menu-keymap):
16095         * vc-hooks.el (vc-menu-entry, vc-menu-map):
16096         * replace.el (occur-mode-map):
16097         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16099 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
16101         * calc/calc.el (math-read-number, math-read-number-simple):
16102         Use `save-match-data'.
16104 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16106         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16107         rather than fiddling with global-map bindings, since it should only
16108         affect per-terminal settings.
16109         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16111         * minibuffer.el (completion-table-with-terminator): Allow to specify
16112         the terminator-regexp.
16114         * simple.el (switch-to-completions): Look for *Completions* in other
16115         frames as well.
16117         * pcomplete.el: Allow the use of completion-tables.
16118         (pcomplete-std-complete): New command.
16119         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16120         (pcomplete--here): Use a function for `form' rather than an expression,
16121         so it can be byte-compiled.
16122         (pcomplete-here, pcomplete-here*): Adjust accordingly.
16123         Add edebug declaration.
16124         (pcomplete-show-completions): Remove unused var `curbuf'.
16125         (pcomplete-do-complete, pcomplete-stub):
16126         Don't assume `completions' is a list of strings any more.
16128 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
16130         * find-dired.el (find-name-arg): Fix typo in docstring.
16132 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16134         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16135         (pcmpl-linux-fs-types): Same, and update to new modules layout.
16137         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16138         pcomplete-entries.
16140         * comint.el (comint-read-input-ring, comint-write-input-ring)
16141         (comint-substitute-in-file-name)
16142         (comint-dynamic-complete-as-filename)
16143         (comint-dynamic-simple-complete)
16144         (comint-dynamic-list-filename-completions)
16145         (comint-dynamic-list-completions)
16146         (comint-redirect-results-list-from-process): Minor simplifications.
16148 2009-10-21  Kevin Ryde  <user42@zip.com.au>
16150         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16151         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16152         the first form.  And insert a blank line after ";;; Code" since
16153         that's usual style.  (Bug#4612)
16155         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16157 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16159         * minibuffer.el (completion-table-with-terminator): Properly implement
16160         boundaries, in case `terminator' appears in the suffix.
16161         (completion--embedded-envvar-table): Don't return boundaries if
16162         there's no valid completion.  Simplify.
16163         (completion-file-name-table): New completion table extracted from
16164         completion--file-name-table.
16165         (completion--file-name-table): Use it.
16166         (read-file-name-predicate): Declare obsolete.
16167         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16168         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16169         completion-file-name-table, and use the `pred' argument.
16170         * files.el (locate-file-completion-table): Use the `pred' arg rather
16171         than read-file-name-predicate.
16172         (abbreviate-file-name): Use \` rather than ^ for BOS.
16174 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
16176         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16177         vc-responsible-backend to register, it causes problems.
16179 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16181         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16183 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
16185         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16186         (tramp-smb-handle-file-attributes): Use it.
16187         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16188         (tramp-smb-handle-insert-directory): Use `mapc' rather than
16189         `mapcar'.  Use `tramp-smb-get-stat-capability'.
16190         Add `dired-filename' text properties.
16191         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16192         (tramp-smb-maybe-open-connection): Simplify check for smbclient
16193         version.
16195 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16197         * subr.el (read-key-delay): Reduce to 0.01.
16198         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16199         (bug#4751).
16201 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16203         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16205         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16206         (Info-menu): Remove unused vars `last' and `completions'.
16207         (Info-index-nodes): Remove unused var `node'.
16209         * info.el (Info-complete-menu-item): Use complete-with-action.
16211 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
16213         Make vc-annotate work through copies and renames.
16214         * vc-annotate.el (vc-annotate-extract-revision-at-line):
16215         Return the file name too.
16216         (vc-annotate-revision-at-line)
16217         (vc-annotate-find-revision-at-line)
16218         (vc-annotate-revision-previous-to-line)
16219         (vc-annotate-show-log-revision-at-line): Update to get the file
16220         name from vc-annotate-extract-revision-at-line.
16221         (vc-annotate-show-diff-revision-at-line-internal): Change the
16222         argument to mean whether to show a file diff or not.  Get the file
16223         name from vc-annotate-extract-revision-at-line.
16224         (vc-annotate-show-diff-revision-at-line):
16225         Update vc-annotate-show-diff-revision-at-line call.
16226         (vc-annotate-warp-revision): Add an optional file argument.
16228         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16229         (vc-git-annotate-extract-revision-at-line): Also return the file
16230         name if found.
16232         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16233         command.  Remove unused code.
16234         (vc-hg-annotate-re): Update to match --follow output.
16235         (vc-hg-annotate-extract-revision-at-line): Also return the file
16236         name if found.
16238         * vc.el: Update annotate-extract-revision-at-line documentation.
16240 2009-10-18  Kevin Ryde  <user42@zip.com.au>
16242         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16243         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16245         * net/browse-url.el (browse-url): Identify alist with "consp and
16246         not functionp" and let all other things go down the `apply' leg,
16247         as suggested by Stefan.  (Further to bug#4531.)
16249 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
16251         * minibuffer.el (read-file-name): Check for repeat before putting
16252         a default argument in file-name-history (Bug#4657).
16254         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16255         read syntax (Bug#4737).
16257         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16259 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
16261         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16262         (html-tag-alist, html-tag-help): Add descriptions for undocumented
16263         entries and make note of obsolete tags.
16265 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16267         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16269 2009-10-18  Glenn Morris  <rgm@gnu.org>
16271         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16272         grep, so that binary files (eg international/uni-bidi.el) can match.
16273         Remove test for "UnicodeData" files, since it is hopefully unnecessary
16274         now, and in any case the file header format has changed.
16276 2009-10-17  Glenn Morris  <rgm@gnu.org>
16278         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16279         (flyspell-get-word, flyspell-large-region)
16280         (flyspell-auto-correct-previous-word): Doc/error message fixes.
16282 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
16284         * Makefile.in (ELCFILES): Add ede/shell.
16286 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
16288         * term/common-win.el (x-colors): Purecopy it.
16290 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16292         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16293         permissive for when the buffer is empty.
16294         (tar-header-block-tokenize): Decode the username and groupname.
16295         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16297 2009-10-17  Eric Ludlam  <zappo@gnu.org>
16299         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16300         contains multibyte characters, choose first applicable coding
16301         system automatically.
16303 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16305         * international/mule-cmds.el (select-safe-coding-system): If the file
16306         has a coding cookie, use it regardless of any other setting (bug#4712).
16308 2009-10-17  Glenn Morris  <rgm@gnu.org>
16310         * foldout.el (foldout-mouse-swallow-events):
16311         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16313         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16314         (dired-keep-marker-copy, dired-keep-marker-hardlink)
16315         (dired-keep-marker-symlink, dired-dwim-target)
16316         (dired-copy-preserve-time): Do not autoload these defcustoms.
16318         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16319         messages from messing up the file coding.  (Bug#4623)
16321 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
16323         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16324         if no match is found for the current dictionary.  (Bug#4578)
16326         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16327         optional, since that is how it is documented, and this is often called
16328         with a nil argument.  (Bug#4577)
16329         (flyspell-external-point-words, flyspell-auto-correct-word)
16330         (flyspell-correct-word-before-point, flyspell-word-search-forward)
16331         (flyspell-word-search-backward): Remove nil argument in calls to
16332         flyspell-get-word, since it is not needed now.
16334 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
16336         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
16338 2009-10-16  Glenn Morris  <rgm@gnu.org>
16340         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16342 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
16344         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16345         (ange-ftp-file-size): New function.
16346         (ange-ftp-file-attributes): Use it.
16348 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
16350         * net/tramp-smb.el (tramp-smb-version): New defvar.
16351         (tramp-smb-maybe-open-connection): Use it, in order to avoid
16352         repeated checks.
16354 2009-10-16  Glenn Morris  <rgm@gnu.org>
16356         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16357         Maybe copy some custom properties from old to new name.  (Bug#4706)
16359 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
16361         * subr.el (error, sit-for, start-process-shell-command)
16362         (start-file-process-shell-command): Set the calling convention
16363         after the function definition.
16365 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16367         * subr.el (error, sit-for, start-process-shell-command)
16368         (start-file-process-shell-command): Use the new
16369         set-advertised-calling-convention feature.
16371 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
16373         * international/ucs-normalize.el (ucs-normalize-version):
16374         Change to 1.2.
16375         (check-range): Adjust for Unicode 5.2.
16377 2009-10-15  Juri Linkov  <juri@jurta.org>
16379         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16380         to the `menu-item' format.
16382 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
16384         * net/tramp.el (tramp-replace-environment-variables): Do not fail
16385         if the environment variable does not exist.
16387         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16388         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16389         parameter.
16390         (tramp-smb-handle-add-name-to-file)
16391         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16392         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16393         (tramp-smb-handle-file-attributes)
16394         (tramp-smb-do-file-attributes-with-stat)
16395         (tramp-smb-handle-file-local-copy)
16396         (tramp-smb-handle-insert-directory)
16397         (tramp-smb-handle-make-directory)
16398         (tramp-smb-handle-make-directory-internal)
16399         (tramp-smb-handle-make-symbolic-link)
16400         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16401         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16402         (tramp-smb-maybe-open-connection): Apply the changed parameters.
16403         (tramp-smb-read-file-entry): Read Disk names in compressed format.
16404         Handle long file names.
16405         (tramp-smb-get-cifs-capabilities): Check, whether the connection
16406         process is running.
16407         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16408         Read share names with "-g" option.
16410 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
16412         * net/rcirc.el (rcirc-view-log-file): New command.
16413         (rcirc-track-minor-mode-map): Remove C-c ` binding.
16414         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16415         specified.
16417 2009-10-15  Glenn Morris  <rgm@gnu.org>
16419         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16420         from the second command-line argument.
16421         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16422         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16423         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16424         w32-batch-update-autoloads.
16425         * emacs-lisp/autoload.el (autoload-make-program): New variable.
16426         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16428         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16429         the headers cannot be located.  Simplify, subtracting superflous
16430         save-excursions.
16432 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16434         Replace completion-base-size by completion-base-position to fix bugs
16435         such as (bug#4699).
16436         * simple.el (completion-base-position): New var.
16437         (completion-base-size): Mark as obsolete.
16438         (choose-completion): Make it work for mouse events as well.
16439         Pass the new base-position to choose-completion-string.
16440         (choose-completion-guess-base-position): New function, extracted from
16441         choose-completion-delete-max-match.
16442         (choose-completion-delete-max-match): Use it.  Make obsolete.
16443         (choose-completion-string): Use the new base-position info.
16444         (completion-root-regexp): Delete.
16445         (completion-setup-function): Preserve completion-base-position.
16446         Eliminate obsolete base-size manipulation.
16447         * minibuffer.el (display-completion-list): Don't mess with base-size.
16448         (minibuffer-completion-help): Set completion-base-position instead.
16449         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16450         choose-completion.
16451         * textmodes/bibtex.el (bibtex-complete):
16452         * emacs-lisp/crm.el (crm--choose-completion-string):
16453         Adjust to new calling convention.
16454         * complete.el (partial-completion-mode): Use minibufferp to avoid
16455         bumping into incompatible change to choose-completion-string-functions.
16456         * ido.el (ido-choose-completion-string): Make its calling convention
16457         more permissive.
16458         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16459         base-size manipulation.
16460         (comint-dynamic-list-input-ring): Use dotimes and push.
16461         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16462         fundamental-mode.  Use `or'.
16464 2009-10-14  Juri Linkov  <juri@jurta.org>
16466         * misearch.el (multi-isearch-next-buffer-from-list)
16467         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
16469 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16471         * Makefile.in (compile-onefile): Load `bytecomp' rather than
16472         `bytecomp.el'.
16474         * minibuffer.el (completion-pcm--merge-completions): Make sure the
16475         string we return is all made up of text from the completions rather
16476         than part from the completions and part from the input (bug#4219).
16478         * ido.el (ido-everywhere): Use define-minor-mode.
16480         * buff-menu.el (list-buffers, ctl-x-map):
16481         Mark the entry points with ;;;###autoload cookies.
16483 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
16485         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16486         correctly in the detached head case.
16487         (vc-git-print-log): Remove unused binding.
16489         * vc.el (vc-responsible-backend): When a directory is passed for
16490         for registration create a VC repository if no backend is
16491         responsible for the directory argument.
16492         (vc-deduce-fileset): Tell vc-responsible-backend to register.
16494         * vc.el: Move comments about RCS and SCCS ...
16495         * vc-rcs.el:
16496         * vc-sccs.el: ... here, respectively.
16498 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16500         * minibuffer.el (completion--file-name-table): Return nil if there's
16501         no file completion, even if substitute-in-file-name changed
16502         the string (bug#4708).
16504 2009-10-13  Juri Linkov  <juri@jurta.org>
16506         * files-x.el (read-file-local-variable-value): Don't filter out
16507         minor modes from mode name completion (bug#4664).
16509 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16511         * international/mule-cmds.el (ucs-names): Remove exclusion of
16512         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16514 2009-10-13  Kenichi Handa  <handa@m17n.org>
16516         * international/uni-name.el: Regenerated.
16518 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16520         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
16521         should be automatically buffer-local, but isn't.)
16523 2009-10-12  Sam Steingold  <sds@gnu.org>
16525         * progmodes/compile.el (compilation-next-error-function): Fix the
16526         timestamps if the buffer has been visited before.
16527         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16528         non-anchored patterns, like the perl one (bug#3928).
16530 2009-10-12  Glenn Morris  <rgm@gnu.org>
16532         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16533         Let-bind `size'.
16535 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
16537         * proced.el (proced-unload-function): New function.
16539         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16540         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16541         Doc fix.
16543         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16545 2009-10-11  Juri Linkov  <juri@jurta.org>
16547         * files-x.el (read-file-local-variable-value):
16548         Provide default value only for bound variables (bug#4664).
16550 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
16552         * net/tramp.el (tramp-local-host-p): Function shall return nil for
16553         connection methods like smb.
16555         * net/tramp-cache.el (tramp-flush-connection-property): The hash
16556         can be empty.
16558         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16559         (tramp-smb-file-name-handler-alist): Add handlers for
16560         `add-name-to-file', `make-symbolic-link'.
16561         (tramp-smb-handle-add-name-to-file)
16562         (tramp-smb-do-file-attributes-with-stat)
16563         (tramp-smb-handle-make-symbolic-link)
16564         (tramp-smb-get-cifs-capabilities): New defuns.
16565         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16566         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16567         (tramp-smb-handle-file-local-copy)
16568         (tramp-smb-handle-make-directory-internal)
16569         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16570         The file name syntax depends on cifs capabilities.
16571         (tramp-smb-handle-file-attributes):
16572         Call `tramp-smb-do-file-attributes-with-stat' if possible.
16573         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16574         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16576 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
16578         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16579         (eieio-defclass): Apply deftype handler and setf-method properties
16580         directly.
16581         (eieio-add-new-slot): Avoid union function from cl library.
16582         (eieio--typep): New function.
16583         (eieio-perform-slot-validation): Use it.
16585 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16587         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16588         Update documentation to refer to the variables documented in r1.135.
16589         (Bug#4188)
16591 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16593         * bookmark.el (Info-suffix-list): Remove this unused variable.
16594         (bookmark-current-point): Remove this obsolete variable.
16595         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16596         Adjust for removal of bookmark-current-point.
16598         (bookmarks-already-loaded, bookmark-current-buffer)
16599         (bookmark-yank-point): Document.  (Bug#4188)
16601 2009-10-10  Glenn Morris  <rgm@gnu.org>
16603         * frame.el (frame-height): Doc fix.
16605         * calendar/calendar.el (calendar-split-width-threshold): New option.
16606         (calendar-basic-setup): Use calendar-split-width-threshold.
16608 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
16610         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16611         Ideographic Supplement" range (U+1F200..U+1F2FF).
16613 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16615         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16616         since the list will have been rebuilt anyway.  (Bug#4349)
16618 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16620         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16621         (bookmark-bmenu-execute-deletions): Don't save here, as
16622         bookmark-delete will now do so if necessary.
16623         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16624         (Bug#4348)
16626 2009-10-09  Glenn Morris  <rgm@gnu.org>
16628         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16630 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16632         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16633         (bookmark-jump-other-window): Just invoke bookmark-jump with new
16634         argument now, so the two function's behaviors will match.  (Bug#3645)
16636 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
16638         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16639         (tramp-file-name-real-host, tramp-file-name-port):
16640         Apply `save-match-data'.
16642         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16643         case both directories are remote.
16644         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16645         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16647 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16649         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16651 2009-10-07  Glenn Morris  <rgm@gnu.org>
16653         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16654         of concat.
16656 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16658         * files-x.el (read-file-local-variable): Include some
16659         non-user-variables in the completion table (bug#4664).
16661 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
16663         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16664         message.
16666         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16667         (tramp-smb-file-name-handler-alist): Add handler for
16668         `copy-directory', `expand-file-name', `set-file-modes'.
16669         (tramp-smb-handle-copy-directory)
16670         (tramp-smb-handle-expand-file-name)
16671         (tramp-smb-handle-set-file-modes): New defuns.
16672         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16673         (tramp-smb-handle-file-attributes): Simplify check for retrieving
16674         entry.
16675         (tramp-smb-handle-insert-directory): Don't flush the cache.
16676         (tramp-smb-maybe-open-connection): Check for samba client and
16677         server versions.
16679 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
16681         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16682         to not error out of search for "^lisp=" fails.
16684 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16686         * makefile.w32-in (WINS_UPDATES): New macro.
16687         (custom-deps, finder-data, autoloads): Use it.
16689 2009-10-07  Glenn Morris  <rgm@gnu.org>
16691         * Makefile.in (autoloads): Revert previous change.
16692         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16693         the list of preloaded files passed on the command-line, get
16694         it from src/Makefile.
16696         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16697         show the original buffer rather than a random one.
16699 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
16701         * help.el (describe-no-warranty): Place point in a slightly better
16702         position in the GPLv3 text.
16704 2009-10-06  Sam Steingold  <sds@gnu.org>
16706         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16707         the comm attribute is present before calling regexp-quote.
16709 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
16711         * play/animate.el (animate-string): For good effect, make sure
16712         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16714         * play/animate.el (animate-sequence, animate-birthday-present):
16715         * misc.el (butterfly): Don't set `indent-tabs-mode'.
16717 2009-10-06  Glenn Morris  <rgm@gnu.org>
16719         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16721         * emacs-lisp/autoload.el (autoload-excludes): New variable.
16722         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16723         (batch-update-autoloads): Process a string value of autoload-excludes,
16724         set during the build process.
16725         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
16727         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16728         inside with-parsed...  macro so that `v' is defined.
16730         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16731         * progmodes/fortran.el (fortran-end-of-block)
16732         (fortran-beginning-of-block):
16733         Also push mark in the macro case.
16735         * emerge.el (emerge-show-file-name):
16736         * calc/calc.el (calc-quit):
16737         * calc/calc-misc.el (calc-big-or-small):
16738         * calc/calc-graph.el (calc-graph-view):
16739         * calc/calc-ext.el (calc-reset):
16740         * calendar/calendar.el (calendar-basic-setup):
16741         Use window-full-height-p.
16743         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16744         header we don't understand, don't insert another.  (Bug#4624)
16745         If changing mime charset, insert the new one in the right place.
16747 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
16749         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16750         (cal-tex-cursor-month): Correctly increment the end date for diary and
16751         holiday listing.  (Bug#4626)
16753 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16755         * help-fns.el (describe-function-1): Don't burp if the function is not
16756         a symbol.
16758 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
16760         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16761         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16762         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16763         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16765         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16766         (eieio-default-superclass): Reflow docstrings.
16767         (this, class-option-assoc, defclass, eieio-class-un-autoload)
16768         (eieio-unbind-method-implementations, defmethod)
16769         (eieio-validate-slot-value, eieio-validate-class-slot-value)
16770         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16771         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16772         (eieio-slot-originating-class-p, eieio-slot-name-index)
16773         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16774         (constructor, initialize-instance, no-next-method, object-print)
16775         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16776         Fix typos in docstrings.
16777         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16778         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16779         (next-method-p): Doc fixes.
16780         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16781         Fix typos in error messages.
16782         (eieio-defmethod): Fix typo in description of generic method.
16784         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16785         (eieio-persistent-save-interactive, slot-missing):
16786         Fix typos in docstrings.
16787         (eieio-instance-inheritor-slot-boundp): Doc fix.
16789         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16790         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16792         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16793         (eieio-custom-object-apply-reset):
16794         Fix typos in docstrings and error messages.
16796         * emacs-lisp/eieio-datadebug.el (data-debug-show):
16797         Fix typo in docstring.
16799         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16800         (eieio-browse-tree): Doc fix.
16801         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16802         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16803         Fix typos in docstrings.
16805         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16806         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16807         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16808         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16809         Reflow docstrings.
16811 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
16813         * vc-hg.el (log-view-vc-backend): Declare for compiler.
16814         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16815         Set log-view-vc-backend so that diff can work.
16817         * log-view.el (log-view-diff): Use vc-diff-internal instead of
16818         vc-version-diff.
16819         (vc-diff-internal): Autoload this instead of vc-version-diff.
16821 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
16823         * simple.el (eval-expression): Doc fix.
16825         * progmodes/cwarn.el (cwarn-mode): Doc fix.
16827 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
16829         * files.el (directory-files-no-dot-files-regexp): New defconst.
16830         (delete-directory): Use it.
16831         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
16833         * net/tramp.el (tramp-verbose): Fix docstring.
16834         (tramp-methods): Add recursive option to `tramp-copy-args'.
16835         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
16836         "scp1_old", "scp2_old", "rsync", "rsyncc".
16837         (tramp-default-method): Check also for `auth-source-user-or-password'.
16838         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16839         Add handler for `copy-directory'.
16840         (tramp-handle-copy-directory): New defun.
16841         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16842         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16843         Optimize sent command.
16845 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16847         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16848         window if necessary.
16850         * calendar/calendar.el (calendar-basic-setup): Don't call
16851         switch-to-buffer in a dedicated window.
16853 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
16855         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16856         don't do anything related to relocating, just return nil.
16857         (bookmark-error-no-filename): New error.
16858         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16859         bookmark has no file.  Don't even attempt to handle things that
16860         are not files; the whole point of custom handlers is to keep that
16861         knowledge elsewhere anyway.  Tighten some comments.
16862         (bookmark-file-or-variation-thereof): Remove now-unused function.
16863         (bookmark-location): Doc string fix.
16864         (Bug#4250)
16866 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16868         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16869         don't use a file dialog, because they usually don't know how to read
16870         a directory target from the user.  (Bug#4230)
16871         Also, make sure the prompt can display directories as well as files.
16873 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16875         * bookmark.el (bookmark-set, bookmark-buffer-name):
16876         Improve doc strings.  (Bug#1193)
16878 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16880         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16881         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16882         (bookmark-get-annotation, bookmark-set-annotation)
16883         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16884         (bookmark-set-position, bookmark-get-front-context-string)
16885         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16886         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16887         (bookmark-jump-other-window, bookmark-handle-bookmark)
16888         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16889         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16890         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16891         Improve doc strings to say whether bookmark can be a string or
16892         a record or both, and make other consistency and clarity fixes.
16893         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16894         (bookmark-default-annotation-text, bookmark-yank-word)
16895         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16896         (bookmark-import-new-list, bookmark-maybe-rename)
16897         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16898         (bookmark-bmenu-bookmark): Give these doc strings.
16899         (bookmark-bmenu-check-position): Give this a doc string, but also
16900         add a FIXME comment about how the function may be pointless.
16901         (bookmark-default-handler): Rework doc string and change a
16902         parameter name, to clarify that this takes a bookmark record
16903         not a bookmark name.
16904         (bookmark-set): Change a parameter name to indicate its meaning,
16905         and improve the doc string a bit.
16906         (Bug#4188)
16908 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16910         * bookmark.el (bookmark-alist): Document the new `handler' element
16911         in the param alist.
16912         (bookmark-make-record-function): Adjust documentation for above.
16913         (Bug#4193)
16915 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16917         * info.el (Info-bookmark-make-record): Document this function.
16918         (Info-bookmark-jump): Document with a doc string, not just a comment.
16919         (Bug#4203)
16921 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
16923         * files.el (copy-directory): New defun.
16925         * dired-aux.el (dired-copy-file-recursive): Use it.
16927 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
16929         * files-x.el (modify-dir-local-variable)
16930         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16931         docstrings.
16933         * recentf.el (recentf-unload-function): New function.
16935 2009-10-04  Glenn Morris  <rgm@gnu.org>
16937         * window.el (window-full-height-p): Add doc string.
16939 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
16941         * window.el (window-full-height-p): New function.  (Bug#4543)
16943 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
16945         * vc.el: Remove commented out code.
16946         (vc-derived-from-dir-mode): Remove, unused.
16947         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16949 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
16951         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16952         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
16953         there could be recursive loading when `default-directory' is a
16954         remote file name.  (Bug#4614)
16956 2009-10-03  Glenn Morris  <rgm@gnu.org>
16958         * calendar/calendar.el (calendar-basic-setup): Handle the case where
16959         the frame is wide.
16960         (calendar-generate-window): Test for shrinkability rather than width.
16962         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16963         reusing existing buffers, in case we happen to visit two files with the
16964         same basename.  (Bug#4593)
16966 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16968         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16969         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16970         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16971         subdirs of cedet as well.
16972         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16974 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16976         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16977         Obey advertised-signature-table.
16979         * help-fns.el (help-function-arglist): Don't check
16980         advertised-signature-table.
16981         (describe-function-1): Do it here instead so it also applies to subrs.
16983 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
16985         * simple.el (start-file-process): Say in the doc-string, that file
16986         handlers might not support pty association, if PROGRAM is nil.
16988         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16989         HOST and USER are strings.  They are nil, when there are
16990         incomplete entries in ~/.netrc, for example.
16991         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
16992         root directory ("device busy" error otherwise).
16994         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16995         Flush file properties of created directory.
16997 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16999         * makefile.w32-in (WINS_BASIC): Remove cedet.
17000         (WINS_CEDET): Add cedet.
17001         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17003 2009-10-02  Kevin Ryde  <user42@zip.com.au>
17005         * net/browse-url.el (browse-url): Pass any symbol in
17006         browse-url-browser-function to `apply', since if you've mistakenly put
17007         an unbound symbol then the error is clearer.  (Bug#4531)
17009 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17011         * allout.el (allout-init, allout-back-to-current-heading)
17012         (allout-beginning-of-current-entry, allout-ascend-to-depth)
17013         (allout-ascend, allout-up-current-level, allout-end-of-level)
17014         (allout-previous-visible-heading, allout-forward-current-level)
17015         (allout-backward-current-level, allout-show-children):
17016         * apropos.el (apropos-describe-plist):
17017         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17018         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17019         * completion.el (add-completion, add-permanent-completion):
17020         * descr-text.el (describe-text-category, describe-char):
17021         * desktop.el (desktop-lazy-abort):
17022         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17023         * dired.el (dired-build-subdir-alist):
17024         * ediff.el (ediff-version):
17025         * elide-head.el (elide-head, elide-head-show):
17026         * emerge.el (emerge-version):
17027         * env.el (getenv):
17028         * face-remap.el (variable-pitch-mode):
17029         * faces.el (describe-face):
17030         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17031         (dired-at-point):
17032         * files.el (find-file-existing, auto-save-mode):
17033         * font-lock.el (font-lock-fontify-buffer):
17034         * help-fns.el (describe-function, describe-variable)
17035         (describe-syntax, describe-categories):
17036         * help.el (view-lossage, describe-bindings, describe-key)
17037         (describe-mode):
17038         * hexl.el (hexl-current-address):
17039         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17040         * info.el (Info-goto-emacs-key-command-node):
17041         * log-edit.el (log-edit-insert-cvs-template)
17042         (log-edit-insert-cvs-rcstemplate):
17043         * menu-bar.el (menu-bar-mode):
17044         * mouse.el (mouse-appearance-menu):
17045         * newcomment.el (comment-indent-new-line):
17046         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17047         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17048         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17049         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17050         * recentf.el (recentf-mode):
17051         * savehist.el (savehist-mode, savehist-save):
17052         * shadowfile.el (shadow-copy-files):
17053         * simple.el (kill-ring-save, next-line, previous-line)
17054         (normal-erase-is-backspace-mode):
17055         * strokes.el (strokes-update-window-configuration)
17056         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17057         (strokes-xpm-for-stroke):
17058         * time.el (emacs-uptime, emacs-init-time):
17059         * tutorial.el (tutorial--describe-nonstandard-key)
17060         (tutorial--detailed-help):
17061         * type-break.el (type-break-mode)
17062         (type-break-mode-line-message-mode, type-break-query-mode)
17063         (type-break-guesstimate-keystroke-threshold):
17064         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17065         * version.el (emacs-version):
17066         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17067         * winner.el (winner-mode):
17068         * calendar/timeclock.el (timeclock-in, timeclock-out)
17069         (timeclock-status-string, timeclock-change)
17070         (timeclock-workday-remaining-string)
17071         (timeclock-workday-elapsed-string)
17072         (timeclock-when-to-leave-string):
17073         * calendar/todo-mode.el (todo-add-category):
17074         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17075         * emacs-lisp/autoload.el (update-file-autoloads):
17076         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17077         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17078         (checkdoc-message-text, checkdoc-defun):
17079         * emacs-lisp/debug.el (debugger-list-functions):
17080         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17081         * emacs-lisp/eieio-opt.el (eieio-describe-class)
17082         (eieio-describe-generic):
17083         * emacs-lisp/lisp-mnt.el (lm-synopsis):
17084         * emacs-lisp/shadow.el (list-load-path-shadows):
17085         * emulation/cua-base.el (cua-mode):
17086         * emulation/edt.el (edt-set-scroll-margins):
17087         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17088         (tpu-toggle-regexp, tpu-toggle-search-direction)
17089         (tpu-toggle-rectangle, tpu-toggle-control-keys):
17090         * emulation/tpu-extras.el (tpu-set-scroll-margins):
17091         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17092         (viper-set-parsing-style-toggling-macro)
17093         (viper-set-emacs-state-searchstyle-macros):
17094         * emulation/viper.el (viper-set-hooks):
17095         * eshell/esh-mode.el (eshell-truncate-buffer):
17096         * international/mule-cmds.el (prefer-coding-system)
17097         (describe-input-method, describe-language-environment):
17098         * international/mule-diag.el (list-character-sets)
17099         (describe-character-set, describe-coding-system)
17100         (describe-fontset, list-fontsets, list-input-methods):
17101         * mail/sendmail.el (mail-signature):
17102         * net/ange-ftp.el (ange-ftp-copy-file):
17103         * net/browse-url.el (browse-url):
17104         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17105         * net/quickurl.el (quickurl-add-url):
17106         * net/rcirc.el (names, topic):
17107         * net/xesam.el (xesam-mode):
17108         * play/5x5.el (5x5-new-game):
17109         * play/yow.el (apropos-zippy):
17110         * progmodes/ada-mode.el (ada-mode-version):
17111         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17112         (f90-end-of-block)
17113         (f90-beginning-of-block):
17114         * progmodes/fortran.el (fortran-end-of-block)
17115         (fortran-beginning-of-block):
17116         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17117         * progmodes/python.el (python-describe-symbol, python-shell):
17118         * term/ns-win.el (ns-print-buffer):
17119         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17120         * textmodes/flyspell.el (flyspell-mode-on):
17121         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17122         (pages-directory-for-addresses):
17123         * textmodes/table.el (table-recognize-cell)
17124         (table-query-dimension, table-generate-source)
17125         (table-insert-sequence, table--warn-incompatibility):
17126         * textmodes/tex-mode.el (tex-validate-buffer):
17127         * textmodes/texinfmt.el (texinfmt-version)
17128         (texinfo-format-buffer):
17129         Use `called-interactively-p' instead of `interactive-p'.
17131 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17133         * image-mode.el (image-toggle-display):
17134         * emacs-lisp/elp.el (elp-instrument-function):
17135         * emacs-lisp/advice.el (ad-make-advised-definition):
17136         * emacs-lisp/easy-mmode.el (define-minor-mode):
17137         * net/browse-url.el (browse-url-maybe-new-window):
17138         * progmodes/sh-script.el (sh-learn-buffer-indent):
17139         Pass new argument 'any to `called-interactively-p'.
17141 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
17143         * international/uni-bidi.el:
17144         * international/uni-category.el:
17145         * international/uni-combining.el:
17146         * international/uni-comment.el:
17147         * international/uni-decimal.el:
17148         * international/uni-decomposition.el:
17149         * international/uni-digit.el:
17150         * international/uni-lowercase.el:
17151         * international/uni-mirrored.el:
17152         * international/uni-name.el:
17153         * international/uni-numeric.el:
17154         * international/uni-old-name.el:
17155         * international/uni-titlecase.el:
17156         * international/uni-uppercase.el:
17157         Regenerate from Unicode 5.2.0 data.
17159 2009-10-01  Glenn Morris  <rgm@gnu.org>
17161         * Makefile.in (ELCFILES): Regenerate.
17163 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17165         * subr.el (interactive-p): Mark obsolete.
17166         (called-interactively-p): Make the optional-ness of `kind' obsolete.
17167         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17168         advertised-signature-table for subroutines as well.
17170         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17171         (set-advertised-calling-convention): New function.
17172         (make-obsolete, define-obsolete-function-alias)
17173         (make-obsolete-variable, define-obsolete-variable-alias):
17174         Make the optional-ness of `when' obsolete.
17175         (define-obsolete-face-alias): Make `when' non-optional.
17176         * help-fns.el (help-function-arglist):
17177         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17178         Use advertised-signature-table.
17180 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
17182         * files.el (delete-directory): New defun.  The original function
17183         in fileio.c has been renamed to `delete-directory-internal'.
17185         * dired.el (dired-delete-file): Call `delete-directory' with
17186         RECURSIVE parameter.
17188         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17189         parameter RECURSIVE.  Implementation is missing.
17191         * net/tramp.el (tramp-handle-make-directory): Flush upper
17192         directory's file properties.
17193         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17194         (tramp-handle-dired-recursive-delete-directory): Flush directory
17195         properties after the remove command only.
17197         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17198         Handle optional parameter RECURSIVE.
17200         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17201         Handle optional parameter RECURSIVE.
17203         * net/tramp-smb.el (tramp-smb-errors): Add error message for
17204         connection timeout.
17205         (tramp-smb-handle-delete-directory): Handle optional parameter
17206         RECURSIVE.
17208 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17210         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17211         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17212         (byte-compile-defmacro): Use backquotes.
17214         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17216         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17217         has no associated file.
17218         (vc-resynch-buffer): Use vc-dir-buffers.
17220 2009-10-01  Glenn Morris  <rgm@gnu.org>
17222         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17223         (chart-file-count):
17224         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17225         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17226         * emacs-lisp/eieio-opt.el (eieio-describe-class):
17227         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17228         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17229         (eieio-copy-parents-into-subclass, make-instance, class-children)
17230         (eieio-generic-form):
17232         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17233         match-data.  (Bug#4555).
17235         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17236         rather than parsing it as a regexp.  This relaxes the layout
17237         requirements and makes errors easier to detect.
17238         (check-declare-verify): Check file is regular.
17239         (check-declare-directory): Doc fix.
17240         * subr.el (declare-function): Doc fix.
17242         * ibuffer.el (ibuffer-format-qualifier):
17243         * isearch.el (hi-lock-regexp-okay):
17244         * calc/calc.el (math-zerop):
17245         * mail/uce.el (rmail-msgbeg, rmail-msgend):
17246         * term/w32-win.el (setup-default-fontset, set-fontset-font):
17247         Remove unused declarations.
17249 2009-09-30  Eric Ludlam  <zappo@gnu.org>
17251         * emacs-lisp/eieio.el (boolean-p): Delete.
17253 2009-09-30  Glenn Morris  <rgm@gnu.org>
17255         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17257         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17258         filename is not a string.
17260 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
17262         * files.el (safe-local-eval-forms): Fix typo.
17264 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17266         * vc-hooks.el (vc-dir-buffers): New var.
17267         (vc-state-refresh): New function.
17268         (vc-state): Use it.
17269         (vc-after-save): Always ask the backend to recompute the new state.
17270         Always call vc-dir if necessary, using vc-dir-buffers.
17271         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17272         Use vc-dir-buffers.
17273         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17274         (vc-dir-prepare-status-buffer, vc-dir-update)
17275         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17276         Don't call expand-file-name on default-directory.
17278 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17280         * speedbar.el (speedbar-item-delete):
17281         * calc/calc-prog.el (calc-kbd-if):
17282         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17284         * epa.el (epa-key-list-mode-map):
17285         * hi-lock.el (hi-lock-menu): Fix typos in menus.
17287         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17288         (hs-show-hook): Fix typo in docstring.
17290 2009-09-29  Glenn Morris  <rgm@gnu.org>
17292         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17293         file-name-nondirectory call preventing location of cedet files.
17294         (check-declare-verify): Use literal search rather than re-search.
17295         Add basic defmethod and defclass, and define-overloadable-function.
17297         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17298         Use tramp-compat-file-attributes rather than nonexistent
17299         tramp-compat-handle-file-attributes.
17301         * Makefile.in (lisptagsfiles4): New.
17302         (AUTOGENEL): Add cedet loaddefs files.
17303         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17304         (update-elclist, compile-always, backup-compiled-files)
17305         (bootstrap-clean): Add yet another directory level.
17306         (update-elclist): Use LC_COLLATE rather than COLLATE.
17307         (ELCFILES): Update, via `make update-elclist'.
17309 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17311         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17312         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17313         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17315 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17317         * Makefile.in (lisptagsfiles3): Define.
17318         (TAGS, TAGS-LISP): Use it.
17319         (update-elclist): Add third directory level to look for elc files.
17320         (compile-always): Likewise.
17321         (backup-compiled-files): Likewise.
17322         (bootstrap-clean): Likewise.
17323         (ELCFILES): Update.
17325 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
17327         * Makefile.in (ELCFILES): Add CEDET files.
17329 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
17331         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17333         * net/tramp.el (top): Require tramp-imap.
17335         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17336         Use `tramp-compat-handle-file-attributes'.
17338 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
17340         * net/tramp-imap.el: New package.
17342 2009-09-28  Eric Ludlam  <zappo@gnu.org>
17344         * emacs-lisp/chart.el:
17345         * emacs-lisp/eieio-base.el:
17346         * emacs-lisp/eieio-comp.el:
17347         * emacs-lisp/eieio-custom.el:
17348         * emacs-lisp/eieio-datadebug.el:
17349         * emacs-lisp/eieio-opt.el:
17350         * emacs-lisp/eieio-speedbar.el:
17351         * emacs-lisp/eieio.el: New files.
17353 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17355         * whitespace.el (whitespace-trailing-regexp)
17356         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17357         Fix doc string.
17359 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
17361         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17362         menu.
17364         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17365         menu-bar-ediff-menu.
17367         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17368         define-overloadable-function.
17370         * progmodes/autoconf.el: Provide autoconf as well, so that this
17371         file can be `require'd.
17373         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17375         * emacs-lisp/autoload.el (generated-autoload-feature)
17376         (generated-autoload-load-name): New vars.
17377         (autoload-rubric, autoload-generate-file-autoloads): Use them.
17378         (make-autoload): Recognize define-overloadable-function and
17379         defclass forms (for EIEIO).
17381         * Makefile.in (update-subdirs): Exclude cedet directory.
17383 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
17385         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
17387         * faces.el: Default light-background background for region face to
17388         ns_selection_color under NS.
17390 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
17392         * net/imap-hash.el: New library, see NEWS.
17394         * Makefile.in (ELCFILES): Add imap-hash.el.
17396 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17398         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17399         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17400         * help-macro.el (make-help-screen): Avoid using an ambiguous function
17401         definition where the docstring could be taken for the return value.
17403 2009-09-26  Glenn Morris  <rgm@gnu.org>
17405         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17406         Add option to only show images below a certain size.
17407         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17408         save-excursion calls.
17410 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
17412         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17413         subdirectories) and eieio.
17415 2009-09-26  Alan Mackenzie  <acm@muc.de>
17417         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17418         Correct buggy bracketing.  (Bug#4289)
17420         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17421         character constants (as case labels).  (Bug#4289)
17423 2009-09-25  Juri Linkov  <juri@jurta.org>
17425         * files.el (safe-local-eval-forms): Allow time-stamp in
17426         before-save-hook (Bug#4554).
17428 2009-09-25  Drew Adams  <drew.adams@oracle.com>
17430         * menu-bar.el (list-buffers-directory): Doc fix.
17432 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17434         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17435         Try and avoid copying twice the same paragraph.
17436         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17437         Remove save-excursion.
17438         (log-edit-changelog-entry): Do it here instead.
17440 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
17442         * bs.el (bs--get-file-name): Use `list-buffers-directory'
17443         when available, instead of hardcoding mode names.  Doc fix.
17445         * menu-bar.el (list-buffers-directory): Add docstring.
17446         Make automatically buffer-local.
17448         * dired.el (dired-mode):
17449         * files.el (cd-absolute):
17450         * pcvs.el (cvs-temp-buffer):
17451         * pcvs-util.el (cvs-get-buffer-create):
17452         * shell.el (shell-mode):
17453         * vc-dir.el (vc-dir-mode):
17454         Don't make `list-buffers-directory' buffer local.
17456 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
17458         * comint.el (comint-exec, comint-run, make-comint):
17459         Doc fixes (Bug#4542).
17461 2009-09-25  Glenn Morris  <rgm@gnu.org>
17463         * mail/rmailmm.el (rmail-mime): New custom group.
17464         Move all defcustoms in this file into this group.
17465         (rmail-mime-media-type-handlers-alist): Revert previous change.
17466         (rmail-mime-show-images): New option.
17467         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17468         references to it, since it wasn't actually used for anything.
17469         (rmail-mime-insert-image): New function.
17470         (rmail-mime-image): Use rmail-mime-insert-image.
17471         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17472         obey the value of `rmail-mime-show-images' option.  Print the size of
17473         attachments.
17475 2009-09-25  David Engster  <deng@randomsample.de>
17477         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
17479 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17481         * whitespace.el: Does not highlight trailing spaces While point is
17482         at end of line.  Does not highligt spaces at beginning of buffer
17483         while point is at beginning of buffer.  Does not highlight spaces
17484         at end of buffer while point is at end of buffer.  (Bug#4177)
17485         New version 12.0.
17486         (whitespace-display-mappings): Adjust initialization.
17487         (whitespace-point, whitespace-font-lock-refontify): New vars.
17488         (whitespace-color-on, whitespace-color-off): Adjust code.
17489         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17490         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17491         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17493 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
17495         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17497         * textmodes/sgml-mode.el: Remove xml-mode alias.
17499         * files.el (auto-mode-alist, conf-mode-maybe)
17500         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17502 2009-09-24  Alan Mackenzie  <acm@muc.de>
17504         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17505         c-forward-conditionals, but it doesn't move point and doesn't set
17506         the mark.
17507         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17508         (c-down-conditional-with-else, c-backward-conditional)
17509         (c-forward-conditional): Refactor to use c-scan-conditionals.
17511 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17513         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17514         (help-default-arg-highlight): Remove.
17515         (help-highlight-arg): New function.
17516         (help-do-arg-highlight): Use it.
17517         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
17519 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17521         * term.el (term-set-scroll-region, term-handle-ansi-escape):
17522         Undo last change, which didn't fix the problem and introduced others.
17524 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
17526         * progmodes/gdb-mi.el: Don't require speedbar.
17527         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17529 2009-09-24  Glenn Morris  <rgm@gnu.org>
17531         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17533         * term/ns-win.el (ns-reg-to-script): Define for compiler.
17535         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17536         there is no newline after the final mime boundary.  (Bug#4539)
17537         Move markers on insertion so that any buttons inserted don't end up in
17538         the next part of a multipart message.
17539         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
17540         (rmail-mime-bulk-handler): Optionally handle images.
17541         (rmail-mime-image): New button action.
17542         (rmail-mime-image-handler): New function.
17543         (rmail-mime-mode): New mode.
17544         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
17546 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17548         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17549         than just dropping elements from it (bug#4504).
17551         * term.el (term-set-scroll-region): Don't move cursor any more.
17552         (term-handle-ansi-escape): Call term-goto here instead.
17553         Suggested by Ivan Kanis <apple@kanis.eu>.
17555         * term.el: Require CL.
17556         (term-ansi-reset): New function.
17557         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17558         (term-handle-colors-array): Simplify.
17560 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17562         * allout.el (allout-overlay-interior-modification-handler)
17563         (allout-obtain-passphrase):
17564         * epa-file.el (epa-file-write-region):
17565         * ps-print.el (ps-begin-job):
17566         * vc-hooks.el (vc-toggle-read-only):
17567         * vc-rcs.el (vc-rcs-rollback):
17568         * vc-sccs.el (vc-sccs-rollback):
17569         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17570         (vc-version-diff, vc-revert, vc-rollback):
17571         * wdired.el (wdired-check-kill-buffer):
17572         * emacs-lisp/authors.el (authors):
17573         * net/socks.el (socks-open-connection):
17574         * net/zeroconf.el (zeroconf-service-add-hook):
17575         * obsolete/vc-mcvs.el (vc-mcvs-register):
17576         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17577         (gdb-select-frame):
17578         * progmodes/grep.el (lgrep, rgrep):
17579         * progmodes/idlw-help.el (idlwave-help-check-locations)
17580         (idlwave-help-html-link, idlwave-help-assistant-open-link):
17581         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17582         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17583         (reftex-toc-rename-label): Fix typos in error messages.
17585         * dired-aux.el (dired-do-shell-command): Reflow docstring.
17586         (dired-copy-how-to-fn): Doc fix.
17587         (dired-files-attributes, dired-read-shell-command):
17588         Fix typos in docstrings.
17590         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17591         (dired-x-find-file-other-window): Reflow docstrings.
17592         (dired-omit-marker-char, dired-read-shell-command)
17593         (dired-x-submit-report): Fix typos in docstrings.
17595         * shell.el (shell-mode-hook):
17596         * view.el (View-scroll-line-forward):
17597         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17598         Fix typos in docstrings.
17600         * net/dig.el (dig-invoke): Fix typo in docstring.
17601         (query-dig): Reflow docstring.
17603         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17604         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17605         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17606         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17607         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17608         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17609         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17610         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17611         (idlwave-completion-map, idlwave-current-indent)
17612         (idlwave-custom-ampersand-surround, idlwave-customize)
17613         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17614         (idlwave-define-abbrev, idlwave-determine-class-special)
17615         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17616         (idlwave-end-block-reg, idlwave-end-of-statement)
17617         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17618         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17619         (idlwave-explicit-class-listed, idlwave-file-header)
17620         (idlwave-fill-paragraph, idlwave-find-class-definition)
17621         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17622         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17623         (idlwave-in-quote, idlwave-indent-action-table)
17624         (idlwave-indent-expand-table, idlwave-indent-line)
17625         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17626         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17627         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17628         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17629         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17630         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17631         (idlwave-outlawed-buffers, idlwave-popup-select)
17632         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17633         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17634         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17635         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17636         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17637         (idlwave-statement-type, idlwave-struct-skip)
17638         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17639         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17640         (idlwave-what-module-find-class): Fix typos in docstrings.
17641         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17642         (idlwave-calculate-cont-indent, idlwave-expand-equal)
17643         (idlwave-find-module, idlwave-find-structure-definition)
17644         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17645         (idlwave-list-load-path-shadows, idlwave-next-statement)
17646         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17647         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17648         (idlwave-template): Reflow docstrings.
17650         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17651         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17652         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17653         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17654         (idlwave-shell-display-line, idlwave-shell-display-wframe)
17655         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17656         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17657         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17658         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17659         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17660         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17661         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17662         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17663         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17664         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17665         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17666         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17667         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17668         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17669         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17670         Fix typos in docstrings.
17671         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17672         (idlwave-shell-hide-output, idlwave-shell-mode)
17673         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17674         Reflow docstrings.
17676         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17678 2009-09-24  Ivan Kanis  <apple@kanis.eu>
17680         * term.el (term-bold-attribute): New var.
17681         (term-handle-colors-array): Use it.
17683 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
17685         * progmodes/gdb-mi.el (gdb-version): New variable.
17686         (gdb-non-stop-handler): Set gdb-version.
17687         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17688         Condition "--thread" option on gdb-version.
17689         (gdb-invalidate-threads): Remove unused argument.
17691 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17693         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17694         to looking-back to avoid ridiculous slow down in large files (bug#4511).
17696 2009-09-23  Glenn Morris  <rgm@gnu.org>
17698         * mail/rmail.el (rmail-reply): Don't try to add a References header when
17699         replying to mail without References or Message-Id.  (Bug#4525)
17701 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
17703         * term/ns-win.el (ns-reg-to-script): New variable.
17705 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
17707         * epg.el (epg-wait-for-status): Preserve existing 'error results.
17709 2009-09-22  Sam Steingold  <sds@gnu.org>
17711         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17712         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17713         to 1 because hg returns status 1 when nothing is found.
17714         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17716 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17718         * textmodes/fill.el: Convert to utf-8 encoding.
17719         (fill-french-nobreak-p): Remove redundant » and « inherited from our
17720         pre-Unicode days.
17722         * add-log.el (change-log-fill-forward-paragraph): New function.
17723         (change-log-mode): Use it so fill-region DTRT.
17724         Set fill-indent-according-to-mode here rather than in
17725         change-log-fill-paragraph.
17726         (change-log-fill-paragraph): Remove.
17728 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
17730         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17731         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
17733 2009-09-22  Glenn Morris  <rgm@gnu.org>
17735         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17736         the scroll-bar scroll the calendar window rather than the buffer.
17738         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17739         commands that move point (as opposed to scrolling).
17741         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17743         * emacs-lisp/elint.el (elint): New custom group.
17744         (elint-log-buffer): Make it a defcustom.
17745         (elint-scan-preloaded, elint-ignored-warnings)
17746         (elint-directory-skip-re): New options.
17747         (elint-builtin-variables): Doc fix.
17748         (elint-preloaded-env): New variable.
17749         (elint-unknown-builtin-args): Add an entry for encode-time.
17750         (elint-extra-errors): Make it a variable rather than a constant.
17751         (elint-preloaded-skip-re): New constant.
17752         (elint-directory): Skip files matching elint-directory-skip-re.
17753         (elint-features): New variable, local to linted buffers.
17754         (elint-update-env): Initialize elint-features.  Possibly add
17755         elint-preloaded-env to the buffer's environment.
17756         (elint-get-top-forms): Bind elint-current-pos, for log messages.
17757         Skip quoted forms.
17758         (elint-init-form): New function, extracted from elint-init-env.
17759         Make non-list forms a warning rather than an error.
17760         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
17761         easy-menu-define, put that adds an error-condition, and provide.
17762         When requiring cl, also require cl-macs.  Really require cl, to handle
17763         some cl macros.  Store required libraries in the list elint-features,
17764         so as not to re-load them.  Treat cc-require like require.
17765         (elint-init-env): Call elint-init-form to do the work.
17766         Handle eval-and-compile and such like.
17767         (elint-add-required-env): Do not clear messages.
17768         (elint-special-forms): Add handlers for function, defalias, if, when,
17769         unless, and, or.
17770         (elint-form): Add optional argument to ignore elint-special-forms,
17771         useful to prevent recursive calls from handlers.  Doc fix.
17772         Respect elint-ignored-warnings.
17773         (elint-form): Respect elint-ignored-warnings.
17774         (elint-bound-variable, elint-bound-function): New variables.
17775         (elint-unbound-variable): Respect elint-bound-variable.
17776         (elint-get-args): Respect elint-bound-function.
17777         (elint-check-cond-form): Add some simple handling for (f)boundp and
17778         featurep tests.
17779         (elint-check-defalias-form): New handler.
17780         (elint-check-let-form): Make an empty let a warning rather than an
17781         error.
17782         (elint-check-setq-form): Make an empty setq a warning rather than an
17783         error.  Respect elint-ignored-warnings.
17784         (elint-check-defvar-form): Accept null doc-strings.
17785         (elint-check-conditional-form): New handler.  Does some simple-minded
17786         checking of featurep and (f)boundp tests.
17787         (elint-put-function-args): New function.
17788         (elint-initialize): Use elint-scan-doc-file rather than
17789         elint-find-builtin-variables.  Use elint-put-function-args.
17790         Possibly scan preloaded-file-list.
17791         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17792         extend to handle functions as well.
17794 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
17796         * linum.el (linum-delete-overlays, linum-update-window):
17797         Do not modify the right margin.  (Bug#3971)
17799 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
17801         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17802         Use nxml-mode instead of xml-mode.
17804 2009-09-21  Kevin Ryde  <user42@zip.com.au>
17806         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
17808 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17810         * net/dig.el (dig-mode): Use define-derived-mode.
17812 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
17814         * vc-dispatcher.el (vc-do-command): Return the process object in
17815         the asynchronous case.  Use when instead of if.  Do not run
17816         vc-exec-after to display a message if not enabled.  (Bug#4463)
17818         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17819         properties to the stash strings.
17820         (vc-git-stash-list): Return a list of strings.
17821         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17822         (vc-git-stash-show-at-point): New functions.
17823         (vc-git-stash-map): New keymap.
17825         * register.el (ctl-x-r-map): Define the keys here instead of
17826         using autoload.
17828 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
17830         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17831         list, to workaround performance problem (bug#4485).
17833 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
17835         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17837 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
17839         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17840         Document that this option is not recommended to use.
17842 2009-09-19  Glenn Morris  <rgm@gnu.org>
17844         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17845         variable `var'.
17847         * calc/calc-alg.el (var):
17848         * calc/calcalg2.el (var): Define for compiler.
17850 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
17852         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17853         Doc fix (Bug#3932).
17855         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17857         * time-stamp.el (time-stamp-month-dd-yyyy)
17858         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17859         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17860         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17861         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17862         Remove functions that have been obsolete since 1995 (Bug#4436).
17864         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17865         indent buffer only if called interactively (Bug#4452).
17867 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
17868             Eli Zaretskii  <eliz@gnu.org>
17870         This fixes bug#4197 (merged to bug#865, though not identical).
17871         * server.el (server-auth-dir): Add docstring note about FAT32.
17872         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17873         but warn against using them.
17875 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
17877         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17878         older GDB where there is no has_more field.
17880 2009-09-19  Glenn Morris  <rgm@gnu.org>
17882         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17884 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
17886         * files.el (auto-mode-alist): Change default for XML files to nXML
17887         mode (Bug#4169).
17889 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
17891         * server.el (server-ensure-safe-dir): Pass 'integer
17892         to `file-attributes', as suggested.
17894 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17896         * dired-aux.el (dired-query-alist): Remove spurious backslash.
17897         (dired-query): Use read-key.
17899 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
17901         * cus-start.el (ns-use-qd-smoothing): Remove.
17903 2009-09-18  Glenn Morris  <rgm@gnu.org>
17905         * allout.el (top-level): Remove unnecessary progn.
17907         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17909         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17910         definition of abbrev table.
17912         * speedbar.el (speedbar-track-mouse):
17913         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17914         * net/eudc.el (eudc-expand-inline):
17915         * net/newst-backend.el (newsticker--cache-read-feed):
17916         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17917         condition-case handlers.
17919 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
17921         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17922         (gdb-var-list): Add an element for has_more field.
17923         (gdb-non-stop-handler): Enable pretty printing for STL containers.
17924         (gdb-var-create-handler, gdb-var-list-children-handler-1)
17925         (gdb-var-update-handler-1): Parse output of dynamic variable
17926         objects (STL containers).
17927         (gdb-var-delete-1): Pass var1 as an explicit second argument.
17928         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
17930         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17931         gdb-var-list.
17932         (gud-speedbar-buttons): Make node expandable if expression "has more"
17933         children.
17935 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
17937         * startup.el (emacs-quick-startup): Remove variable and all uses.
17938         (command-line): Set `inhibit-x-resources' instead.
17939         (command-line-1): Use `inhibit-x-resources' instead.
17941 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
17943         * subr.el: Fix last change to avoid using the `unless' macro,
17944         which breaks bootstrapping.
17946 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17948         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17949         extended definitions, in case we reload subr.el after having
17950         loaded CL.
17951         (eval-next-after-load): Mark as obsolete.
17953 2009-09-17  Juri Linkov  <juri@jurta.org>
17955         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17956         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17957         (menu-bar-showhide-menu, menu-bar-tools-menu)
17958         (menu-bar-describe-menu, menu-bar-help-menu)
17959         (minibuffer-local-completion-map, minibuffer-local-map):
17960         Fix list quoting.
17962 2009-09-17  Glenn Morris  <rgm@gnu.org>
17964         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17965         arguments, whether or not it has a handler.
17967         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17969         * simple.el (hard-newline): Give it a doc-string.
17971         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17972         (lisp-mode-syntax-table): Give them doc-strings.
17974 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
17976         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17977         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17978         (menu-bar-options-menu, menu-bar-showhide-menu)
17979         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17980         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17981         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17982         (menu-bar-options-menu, menu-bar-tools-menu)
17983         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17984         (menu-bar-help-menu):
17985         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17986         string arguments.
17988         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17989         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17990         calls for the menu names and :help.
17992 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17994         * mouse.el (minor-mode-menu-from-indicator): Pay attention
17995         to :minor-mode-function (bug#4455).
17997 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17999         * startup.el (command-line): Initialize the window-system after
18000         processing the command-line.
18002         * textmodes/page.el (what-page): Make sure we don't inf-loop if
18003         page-delimiter matches the empty string.
18005 2009-09-16  Glenn Morris  <rgm@gnu.org>
18007         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18008         byte-compile-not-obsolete-var.  It's a list now.
18009         (byte-compile-not-obsolete-funcs): New variable.
18010         (byte-compile-warn-obsolete): Don't warn about functions if they are in
18011         byte-compile-not-obsolete-funcs.
18012         (byte-compile-variable-ref, byte-compile-defvar): Update for
18013         byte-compile-not-obsolete-vars name-change and list nature.
18014         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18015         and variables behind (f)boundp tests.
18016         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18018 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18020         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18022 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18024         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18025         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18026         Don't autoload.
18028 2009-09-15  Stephen Eglen  <stephen@gnu.org>
18030         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18031         the virtual-buffers, use the name of the buffer specified by
18032         find-file-noselect, as the match may be a symlink.  (This was a
18033         problem if the target and the symlink had different names.)
18035 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18037         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18039         * desktop.el (desktop-path): Check user-emacs-directory.
18041         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18043         * loadup.el: Use after-load-functions to GC after loading each file.
18044         Remove the explicit GC calls that used to be sprinkled around.
18046         * subr.el (after-load-functions): New hook.
18047         (do-after-load-evaluation): Run it.  Use string-match-p to detect
18048         `obsolete' packages, rather than painfully extracting the relevant
18049         directory name.
18051 2009-09-15  Glenn Morris  <rgm@gnu.org>
18053         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18054         free variable `doc'.
18056         * dired.el (dired-mode-map): Add menu entry for async shell command.
18058         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18059         variables, also consider the .elc files, since the .el files are
18060         normally gzipped (subsequent code locates the .el.gz from the .elc).
18062         * calc/calc-prog.el (arglist): Define for compiler.
18064         * calendar/diary-lib.el (diary-display-function): Change the default to
18065         fancy display.
18066         (body): Define for compiler.
18068         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18069         (byte-compile-file-form, byte-compile-lambda)
18070         (byte-compile-top-level-body, byte-compile-form)
18071         (byte-compile-variable-ref, byte-compile-setq)
18072         (byte-compile-setq-default, byte-compile-body)
18073         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18074         (batch-byte-compile): Give some more local variables with common names
18075         a "bytecomp-" prefix to avoid masking warnings about free variables.
18077         * startup.el (command-line-1): Give local variables with common names a
18078         distinguishing prefix, so as not to hide free variable warnings during
18079         bootstrap.
18081         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18082         clever and add a suffix to make a unique name, just let the user decide
18083         whether or not to overwrite it.  If the input is a directory, write the
18084         default filename to that directory.  (Bug#4388)
18085         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18086         is a filename-as-a-directory.
18088 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18090         * textmodes/page.el (what-page): Don't move to beginning of line.
18091         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18093 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18095         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18097 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
18099         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18100         * help.el (help-for-help-internal): Add purecopy calls for text.
18102         * vc.el (top): print-log method now takes an optional SHORTLOG
18103         argument.  Add a new method: root.
18104         (vc-root-diff, vc-print-root-log): New functions.
18105         (vc-log-short-style): New variable.
18106         (vc-print-log-internal): Add support for showing short logs.
18108         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18109         vc-print-root-log and vc-print-root-diff.
18111         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18112         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18113         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18114         short logs.
18116         * vc-cvs.el (vc-cvs-print-log):
18117         * vc-mtn.el (vc-mtn-print-log):
18118         * vc-rcs.el (vc-rcs-print-log):
18119         * vc-sccs.el (vc-sccs-print-log):
18120         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18121         that is ignored for now.
18123         * vc-mtn.el (vc-mtn-annotate-command):
18124         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18126 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18128         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18129         to function-key-map, and give them ascii-character property.
18130         * term/x-win.el (x-alternatives-map):
18131         * term/ns-win.el (ns-alternatives-map):
18132         * term/internal.el (msdos-key-remapping-map):
18133         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18135 2009-09-14  Glenn Morris  <rgm@gnu.org>
18137         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18138         temp-buffers (2009-09-12).
18140 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18142         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18143         the new read-key function.
18145 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18147         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18148         is defined (Bug#4405).
18150 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
18152         * recentf.el (recentf-cleanup): Use a hash table to find
18153         duplicates (Bug#4407).
18155 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
18157         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18158         kp-0 to ascii equivalents (Bug#4325).
18160 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18162         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18164         * eshell/em-hist.el:
18165         * eshell/em-dirs.el (eshell-complete-user-reference):
18166         Declare pcomplete functions and variables to avoid compiler warnings.
18168 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
18170         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18171         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18172         * eshell/em-alias.el (eshell-aliases-file):
18173         * eshell/em-hist.el (eshell-history-file-name):
18174         Use expand-file-name instead of concat to make file names (Bug#4308).
18176 2009-09-13  Glenn Morris  <rgm@gnu.org>
18178         * ediff-merg.el (ediff-do-merge):
18179         * filesets.el (filesets-run-cmd):
18180         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18181         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18182         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18183         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18184         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18185         Replace empty `let's with `progn'.
18187 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18189         * mail/sendmail.el (send-mail-function):
18190         * tooltip.el (tooltip-mode):
18191         * simple.el (transient-mark-mode):
18192         * rfn-eshadow.el (file-name-shadow-mode):
18193         * frame.el (blink-cursor-mode):
18194         * font-core.el (global-font-lock-mode):
18195         * files.el (temporary-file-directory)
18196         (small-temporary-file-directory, auto-save-file-name-transforms):
18197         * epa-hook.el (auto-encryption-mode):
18198         * composite.el (global-auto-composition-mode):
18199         Use custom-initialize-delay.
18200         * startup.el (command-line): Don't explicitly call
18201         custom-reevaluate-setting for all the above vars.
18202         * custom.el (custom-initialize-safe-set)
18203         (custom-initialize-safe-default): Delete.
18205 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18207         * term/x-win.el (x-initialize-window-system):
18208         * term/w32-win.el (w32-initialize-window-system):
18209         * term/ns-win.el (ns-initialize-window-system): Don't call
18210         mouse-wheel-mode since it's enabled globally by default already.
18212         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18213         actually define the variable, but only silences the byte-compiler.
18214         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18215         before looking it up.
18216         (mouse-wheel-scroll-amount): Also reset the bindings if this value
18217         is changed.
18219 2009-09-12  Glenn Morris  <rgm@gnu.org>
18221         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18222         1000.
18223         (elint-add-required-env): Don't beep on error.
18224         (elint-forms): In case of error, return ENV unchanged.
18225         (elint-init-env): Skip non-list forms.
18226         (elint-log): Handle unknown file positions.
18228 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
18230         * epg.el (epg-make-context): Add autoload cookie.
18231         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18232         (epg-decrypt-string, epg-start-verify, epg-verify-file)
18233         (epg-verify-string, epg-start-sign, epg-sign-file)
18234         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18235         (epg-encrypt-string, epg-start-export-keys)
18236         (epg-export-keys-to-file, epg-export-keys-to-string)
18237         (epg-start-import-keys, epg-import-keys-from-file)
18238         (epg-import-keys-from-string, epg-start-receive-keys)
18239         (epg-receive-keys, epg-import-keys-from-server)
18240         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18241         (epg-sign-keys, epg-start-generate-key)
18242         (epg-generate-key-from-file, epg-generate-key-from-string):
18243         Remove autoload cookie.
18245 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
18247         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18248         reevaluation of trash-directory.
18250         * mwheel.el: Fix last change.
18251         (mouse-wheel-mode): New defvar.
18252         (mouse-wheel-mode): Remove autoload cookie.
18254 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18256         * mwheel.el (mwheel-installed-bindings): New var.
18257         (mouse-wheel-mode): Use it, so as to make sure we really remove all
18258         the bindings we set last time.  Use custom-initialize-delay.
18259         * loadup.el: Load mwheel after term/*-win.el.
18260         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18261         and mouse-wheel-up-event now that their first evaluation is done
18262         sufficiently late to be correct.
18264         * startup.el (tutorial-directory): Make it a defcustom.
18265         Use custom-initialize-delay rather than eval-at-startup to set it.
18266         * image.el (image-load-path): Make it a defcustom.
18267         Use custom-initialize-delay rather than eval-at-startup to set it.
18268         * subr.el (eval-at-startup): Remove.
18269         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18271         * subr.el (do-after-load-evaluation): Warn the user after loading an
18272         obsolete package.
18274 2009-09-12  Glenn Morris  <rgm@gnu.org>
18276         * proced.el (proced-mark-alt): Remove alias.
18277         (proced-mode-map): Remove proced-mark-alt.
18279         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18280         Elint file and directory.  Remove initialization entry.
18282         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18283         commands.
18284         (elint-current-buffer): Set mode-line-process.
18285         (elint-init-env): Handle define-derived-mode.
18286         Fix declare-function with unspecified arglist.  Guard against odd
18287         defalias statements (eg iso-insert's 8859-1-map).
18288         (elint-add-required-env): Use a temp buffer.
18289         (elint-form): Just print the function/macro name, not the whole form.
18290         Return env unchanged if we fail to parse a macro.
18291         (elint-forms): Guard against parse errors.
18292         (elint-output): New function, to handle batch mode.
18293         (elint-log-message): Add optional argument.  Use elint-output.
18294         (elint-set-mode-line): New function.
18296 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
18298         * emacs-lisp/elp.el (elp-not-profilable): Add more
18299         functions (Bug#4233).
18301 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
18303         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18304         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18306 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18308         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18309         (gdb-var-list-children): Use json parsing.
18311 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
18313         * progmodes/js.el (js--proper-indentation): Handle the case where
18314         char-before is null.  Reported by Deniz Dogan.
18316 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18318         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18320 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
18322         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18323         (epg-digest-algorithm-alist): Add SHA224.
18324         (epg-context-set-passphrase-callback)
18325         (epg-context-set-progress-callback): Add description about
18326         callback function.
18328 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18330         * custom.el (custom-delayed-init-variables): New var.
18331         (custom-initialize-delay): New function.
18332         * startup.el (command-line): "Re"evaluate all vars in
18333         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
18334         explicitly any more.
18335         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18336         to avoid creating a ~/.emacs.d at build-time (bug#4347).
18338         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18340 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18342         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18343         (gdb-var-update-handler): Use json parsing.
18345 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18347         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18348         decode annotated text, regardless of language environment.  (Bug#2741)
18350 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18352         * Makefile.in (autoloads): Make rmail.el writable as well.
18354 2009-09-11  Glenn Morris  <rgm@gnu.org>
18356         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18357         loaddefs.el.
18358         * dired.el: Regenerate with extracted autoloads.
18359         * Makefile.in (autoloads): Make dired.el writable.
18361         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18362         * ibuffer.el: Regenerate with extracted autoloads.
18363         * Makefile.in (autoloads): Make ibuffer.el writable.
18365         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18366         * version.el (emacs-copyright, emacs-major-version)
18367         (emacs-minor-version): Reformat doc-strings for make-docfile.
18369         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18370         functions and variables, since they must be stuff specific to some other
18371         platform.
18372         (apropos-print): Make mouse-click message less specific about button.
18374         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18375         that records where a macro was defined.
18376         * help-fns.el (describe-function-1): Mention if a function has a
18377         compiler-macro.
18378         * help-mode.el (help-function-cmacro): New button.
18380         * locate.el (top-level): Always require dired.
18381         (locate-mode-map): Initialize inside the defvar.
18383         * net/ange-ftp.el (dired-compress-file): Declare.
18384         (ange-ftp-dired-compress-file): Add doc string.
18386         * term/ns-win.el (x-display-name, x-setup-function-keys):
18387         Unify doc-strings with X versions.
18389 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18391         * emulation/crisp.el (crisp-mode-map): Move initialization
18392         into declaration.
18393         (crisp-mode): Use define-minor-mode.
18395         * progmodes/xscheme.el (xscheme-evaluation-commands):
18396         Put a :advertised-binding property rather than using
18397         advertised-xscheme-send-previous-expression.
18398         (advertised-xscheme-send-previous-expression): Declare obsolete.
18399         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18400         `advertised-undo'.
18401         (crisp-mode): Add corresponding bindings to
18402         undo's :advertised-binding instead.
18403         * dired.el (dired-mode-map): Put a :advertised-binding property rather
18404         than using dired-advertised-find-file.
18405         (dired-advertised-find-file):
18406         * simple.el (advertised-undo):
18407         * wid-edit.el (advertised-widget-backward): Declare obsolete.
18408         (widget-keymap): Put a :advertised-binding property rather
18409         than using advertised-widget-backward.
18410         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18411         than using advertised-undo.
18412         * tutorial.el (tutorial--default-keys): Adjust accordingly.
18414 2009-09-10  Simon South  <ssouth@slowcomputing.org>
18416         * progmodes/delphi.el (delphi-tab): Indent region when Transient
18417         Mark mode is enabled and region is active; otherwise indent or
18418         insert TAB as usual.
18419         (delphi-mode): Update description of TAB-key binding.
18421 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18423         * subr.el (define-key-rebound-commands): Mark obsolete.
18424         * startup.el (precompute-menubar-bindings): Remove.
18425         (normal-top-level): Remove obsolete code that tried to precompute
18426         menubar bindings.
18427         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18428         define-key-rebound-commands and precompute-menubar-bindings.
18430 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
18432         * net/imap.el (imap-interactive-login): Better messages.
18433         (imap-open): Fix bug with renamed buffer on reconnect.
18434         (imap-authenticate): Add buffer-local imap-last-authenticator variable
18435         for easier debugging and cleaner code.  On successful (guessed based on
18436         server capabilities) secondary authentication, set imap-state
18437         correctly.
18438         (imap-last-authenticator): Define imap-last-authenticator as a variable
18439         to avoid warnings.
18441 2009-09-10  Glenn Morris  <rgm@gnu.org>
18443         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18445         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18446         (byte-compile-file-form-autoload): Don't warn about unknown functions
18447         where the autoload statement comes after the use.
18448         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18449         that any handlers inside the body (eg require) are in turn respected.
18451         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18452         effects.
18454         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18455         and syntax and abbrev tables basic docs, if they don't have any.
18457         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18459         * international/mule-cmds.el (top-level): Require cl when compiling.
18460         (view-hello-file): Use default-value rather than
18461         default-enable-multibyte-characters.
18463         * progmodes/fortran.el: Move all safe and risky properties into the
18464         defcustoms.
18466         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18467         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18468         * mail/undigest.el:
18469         Put autoloads in rmail.el rather than loaddefs.el.
18470         * mail/rmail.el: Regenerate with extracted autoloads.
18472         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18473         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18475 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
18477         Reported in thread for Bug#4375.
18478         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18479         "-data-evaluate-expression" instead of print.
18480         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18481         (gdb-tooltip-print): Parse output from above MI command.
18482         (gdb): Revert 2009-08-11 change.  User should detach inferior
18483         manually.
18485         Remove the word "separate" from IO functions as inferior
18486         output is now never displayed in the GUD buffer.
18488 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
18490         * startup.el (command-line-normalize-file-name): On Windows and
18491         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18493 2009-09-10  Juri Linkov  <juri@jurta.org>
18495         * isearch.el (isearch-text-char-description): Propertize escape
18496         character sequences with the `escape-glyph' face.  (Bug#4344)
18498         * simple.el (shell-command): Set asynchronous process filter to
18499         `comint-output-filter'.  (Bug#4343)
18501         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18502         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
18503         the list.  Move "asm" to the bottom.
18504         (grep-find-ignored-directories): Add `choice' with nil value
18505         to empty the list easily.
18506         (grep-find-ignored-files): New option.
18507         (grep-files-history): Set to nil by default instead of '("ch" "el").
18508         (grep-compute-defaults): Add "<X>" to `grep-template'.
18509         (grep-read-files): Bind new local variables `default-alias' and
18510         `default-extension'.  Use a list of default values for the file prompt.
18511         (lgrep): Add `--exclude=' command line options composed from
18512         `grep-find-ignored-files'.
18513         (rgrep): Add `-name' command line options composed from
18514         `grep-find-ignored-files'.  (Bug#4301)
18516 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
18518         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18519         (bug#4368).
18521 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
18523         * calendar/time-date.el (autoload):
18524         Expand define-obsolete-function-alias into defalias and make-obsolete
18525         for old Emacsen that Gnus supports.
18526         (with-no-warnings): Define it for old Emacsen.
18527         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18528         is available.
18529         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18530         float-time is available; suppress compile warning for time-to-seconds.
18532 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
18534         * net/imap.el (imap-message-map): Docstring fix.
18536 2009-09-09  Glenn Morris  <rgm@gnu.org>
18538         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18539         line numbers too.  (Bug#4374)
18541 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18543         * smerge-mode.el (smerge-remove-props, smerge-refine):
18544         Use with-silent-modifications (bug#4342).
18546         * subr.el (with-silent-modifications): New macro.
18548 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
18550         * files.el (top-level): Require `cl' when compiling.
18552 2009-09-07  Glenn Morris  <rgm@gnu.org>
18554         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18556         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18557         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
18559 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
18561         * vc-git.el (vc-git-annotate-command): Use separator to parse
18562         arguments correctly.
18564 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
18566         * proced.el (proced-mode): Doc fix.
18568 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
18570         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18571         lstat fails.
18572         (tramp-do-file-attributes-with-ls): Check for file existence at
18573         remote end.
18574         (tramp-do-file-attributes-with-stat): Likewise.
18575         (tramp-convert-file-attributes): Return nil when attr is nil.
18577 2009-09-05  Glenn Morris  <rgm@gnu.org>
18579         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18580         properties to this button.
18581         (diary-fancy-display): Don't extend the button to the final newline.
18582         (diary-fancy-display-mode): Continue to define "q" as a local key.
18584         * calendar/cal-china.el (holiday-chinese): Make it slightly more
18585         efficient.
18587         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18589         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18590         (byte-compile-dest-file-function): New option.
18591         (byte-compile-dest-file): Doc fix.
18592         Obey byte-compile-dest-file-function.
18593         (byte-compile-cl-file-p): New function.
18594         (byte-compile-eval): Only suppress noruntime warnings about cl functions
18595         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
18596         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18597         than for file being previously loaded.
18598         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18599         (byte-compile-file-form-require): Handle the case where requiring a file
18600         indirectly causes CL to be loaded.
18602 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18604         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18605         before killing the old buffer, since by the time `kill-buffer' is
18606         run so many buffer variables have been set to nil that it may not
18607         behave as expected.  (Bug#4061)
18609 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18611         * files.el (find-alternate-file): If the old buffer is modified
18612         and visiting a file, behave similarly to `kill-buffer' when
18613         killing it, thus reverting to the pre-1.878 behavior; see
18614         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18615         for discussion.  Also, consult `buffer-file-name' as a variable
18616         not as a function, for consistency with the rest of the code.
18618 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
18620         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18621         also when adding a new directory.
18623         * net/tramp-compat.el (tramp-compat-line-beginning-position):
18624         New defun.
18626 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18628         * files.el (locate-file-completion-table): Make it provide boundary
18629         information, so partial-completion works better.
18631 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
18633         * mail/footnote.el (Footnote-text-under-cursor):
18634         Check footnote-text-marker-alist before using it (bug#4324).
18636 2009-09-04  Glenn Morris  <rgm@gnu.org>
18638         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18639         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18640         * play/solitaire.el, play/tetris.el:
18641         Remove leading * from defcustom and defface docs.
18643         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18644         necessary.
18645         (diary-fancy-overriding-map): New variable.
18646         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18647         Use view-mode.
18649         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18650         goto-line.
18652 2009-09-03  Glenn Morris  <rgm@gnu.org>
18654         * arc-mode.el (archive-mode):
18655         * dos-fns.el (set-default-process-coding-system):
18656         * man.el (Man-getpage-in-background):
18657         * menu-bar.el (menu-bar-describe-menu):
18658         * server.el (server-process-filter):
18659         * startup.el (command-line):
18660         * tar-mode.el (tar-header-block-tokenize, tar-extract):
18661         * w32-fns.el (set-default-process-coding-system):
18662         * x-dnd.el (x-dnd-handle-file-name):
18663         * international/mule-cmds.el (mule-menu-keymap)
18664         (set-default-coding-systems, language-info-alist, set-language-info)
18665         (set-language-environment, standard-display-european-internal)
18666         (set-locale-environment):
18667         * international/mule-diag.el (mule-diag):
18668         * mail/emacsbug.el (report-emacs-bug):
18669         * mail/rmail.el (rmail-mode):
18670         * mail/sendmail.el (mail-setup):
18671         Use default-value rather than default-enable-multibyte-characters.
18673         * progmodes/f90.el: Move all safe properties into the defcustoms.
18674         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18676         * calendar/appt.el (appt-check):
18677         * calendar/diary-lib.el (diary-set-header, diary-live-p)
18678         (diary-check-diary-file, diary-list-entries)
18679         (diary-include-other-diary-files, diary-simple-display)
18680         (diary-fancy-display, diary-print-entries)
18681         (diary-mark-included-diary-files, diary-make-entry):
18682         Don't call substitute-in-file-name on diary-file.
18684 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
18685             Stefan Monnier  <monnier@iro.umontreal.ca>
18687         * mail/footnote.el (footnote-prefix): Make it a defcustom.
18688         (footnote-mode-map): Move initialization into the declaration.
18689         (footnote-minor-mode-map): Define it rather than changing global-map.
18690         (footnote-mode): Use define-minor-mode.
18692 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
18694         * net/tramp.el (tramp-handle-file-attributes-with-ls)
18695         (tramp-do-file-attributes-with-perl)
18696         (tramp-do-file-attributes-with-stat): Rename from
18697         `tramp-handle-file-attributes-with-*'.
18698         (tramp-handle-file-attributes): Use them.
18699         (tramp-do-directory-files-and-attributes-with-perl)
18700         (tramp-do-directory-files-and-attributes-with-stat): Rename from
18701         `tramp-handle-directory-files-and-attributes-with-*'.
18702         (tramp-handle-directory-files-and-attributes): Use them.
18703         (tramp-method-out-of-band-p): Additional parameter SIZE.
18704         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18705         (tramp-handle-write-region): Use it.
18706         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18707         (tramp-handle-vc-registered): Check, whether the first run did
18708         return files to be tested.
18709         (tramp-advice-make-auto-save-file-name): Do not call directly
18710         `tramp-handle-make-auto-save-file-name', because this would bypass
18711         the locking mechanism.
18713         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18714         (file-remote-p, process-file, start-file-process, set-file-times)
18715         (tramp-compat-file-attributes): Compatibility functions shall not
18716         call directly `tramp-handle-*', because this would bypass the
18717         locking mechanism.
18718         (tramp-compat-number-sequence): New defun.
18720 2009-09-02  Glenn Morris  <rgm@gnu.org>
18722         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18723         alias for float-time.
18724         (time-to-number-of-days): In Emacs, use float-time.
18725         * net/newst-backend.el (time-add): Suppress warnings from compat
18726         function.
18727         * time.el (emacs-uptime, emacs-init-time):
18728         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18729         Use float-time rather than time-to-seconds.
18731         * minibuffer.el (completion-initials-expand): Fix typo.
18733         * faces.el (modeline, modeline-inactive, modeline-highlight)
18734         (modeline-buffer-id):
18735         * info.el (info-menu-5): Mark these face aliases as obsolete.
18737 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18739         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18740         space ...
18741         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18742         no "--thread" option.
18743         (gdb-stopped): Don't print "Switched to thread" message when it is
18744         unchanged.
18746 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18748         * minibuffer.el (completion-try-completion)
18749         (completion-all-completions): Remove ill-defined (and
18750         mistakenly installed and luckily never used nor documented)
18751         `completion-styles' property.
18752         (completion-initials-expand, completion-initials-all-completions)
18753         (completion-initials-try-completion): New functions.
18754         (completion-styles-alist): Add doc to each entry.
18755         Add new `initials' entry.
18757 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18759         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18760         MI command -var-evaluate-expression.
18761         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18762         and tweak for case of string child.
18763         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18765 2009-09-01  Glenn Morris  <rgm@gnu.org>
18767         * add-log.el (change-log-date-face, change-log-name-face)
18768         (change-log-email-face, change-log-file-face, change-log-list-face)
18769         (change-log-conditionals-face, change-log-function-face)
18770         (change-log-acknowledgement-face):
18771         * cus-edit.el (custom-invalid-face, custom-rogue-face)
18772         (custom-modified-face, custom-set-face, custom-changed-face)
18773         (custom-saved-face, custom-button-face, custom-button-pressed-face)
18774         (custom-documentation-face, custom-state-face, custom-comment-face)
18775         (custom-comment-tag-face, custom-variable-tag-face)
18776         (custom-variable-button-face, custom-face-tag-face)
18777         (custom-group-tag-face-1, custom-group-tag-face):
18778         * diff-mode.el (diff-header-face, diff-file-header-face)
18779         (diff-index-face, diff-hunk-header-face, diff-removed-face)
18780         (diff-added-face, diff-changed-face, diff-function-face)
18781         (diff-context-face, diff-nonexistent-face):
18782         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18783         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18784         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18785         (Info-title-4-face):
18786         * isearch.el (isearch-lazy-highlight-face):
18787         * log-view.el (log-view-file-face, log-view-message-face):
18788         * paren.el (show-paren-match-face, show-paren-mismatch-face):
18789         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18790         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18791         (cvs-msg-face):
18792         * smerge-mode.el (smerge-mine-face, smerge-other-face)
18793         (smerge-base-face, smerge-markers-face):
18794         * wid-edit.el (widget-documentation-face, widget-button-face)
18795         (widget-field-face, widget-single-line-field-face)
18796         (widget-inactive-face, widget-button-pressed-face):
18797         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18798         (woman-addition-face):
18799         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18800         (eshell-ls-executable-face, eshell-ls-readonly-face)
18801         (eshell-ls-unreadable-face, eshell-ls-special-face)
18802         (eshell-ls-missing-face, eshell-ls-archive-face)
18803         (eshell-ls-backup-face, eshell-ls-product-face)
18804         (eshell-ls-clutter-face):
18805         * eshell/em-prompt.el (eshell-prompt-face):
18806         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18807         * obsolete/old-whitespace.el (whitespace-highlight-face):
18808         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18809         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18810         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18811         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18812         (antlr-font-lock-literal-face):
18813         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18814         (ebrowse-root-class-face, ebrowse-file-name-face)
18815         (ebrowse-default-face, ebrowse-member-attribute-face)
18816         (ebrowse-member-class-face, ebrowse-progress-face):
18817         * progmodes/make-mode.el (makefile-space-face):
18818         * progmodes/sh-script.el (sh-heredoc-face):
18819         * textmodes/flyspell.el (flyspell-incorrect-face)
18820         (flyspell-duplicate-face):
18821         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18822         * textmodes/texinfo.el (texinfo-heading-face):
18823         Mark face aliases with "-face" suffix as obsolete.
18825         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18826         compiler.
18828         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18829         (eudc-bob-sound-menu): Use defvar rather than defconst, since
18830         easy-menu-define wants to modify these.
18832         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18834         * net/browse-url.el (browse-url-file-url):
18835         * term/internal.el (dos-codepage-setup):
18836         Use default-value rather than default-enable-multibyte-characters.
18838         * progmodes/etags.el (etags-goto-tag-location):
18839         * progmodes/flymake.el (flymake-highlight-line)
18840         (flymake-goto-file-and-line, flymake-goto-line):
18841         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18842         (gdb-goto-breakpoint):
18843         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18844         * progmodes/python.el (python-find-function)
18845         (python-pdbtrack-track-stack-file):
18846         * progmodes/verilog-mode.el (verilog-surelint-off):
18847         * term/ns-win.el (ns-open-file-select-line):
18848         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18849         Use forward-line rather than goto-line.
18851         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18852         * textmodes/reftex-index.el (reftex-display-index):
18853         * textmodes/reftex-ref.el (reftex-offer-label-menu):
18854         * textmodes/reftex-toc.el (reftex-toc):
18855         Remove unnecessary bindings of default-major-mode (all are followed by
18856         major-mode check and possible mode switch).
18858 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18860         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18861         Handle watchpoints (bug#4282).
18862         (def-gdb-thread-buffer-command): Enable thread to be selected by
18863         clicking without selecting threads buffer first.
18864         (gdb-current-context-command): Use selected frame so that "up",
18865         "down" etc work in the GUD buffer.
18866         (gdb-update): Find selected frame before rendering stack buffer.
18867         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18869 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18871         * progmodes/sym-comp.el (displayed-completions): Remove.
18872         (symbol-complete): Use minibuffer-complete.
18874 2009-08-31  Glenn Morris  <rgm@gnu.org>
18876         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18878         * apropos.el (apropos-symbols-internal):
18879         Handle (obsolete) face aliases.
18881         * faces.el (describe-face): Adjust the output format to be more like
18882         describe-variable, and to mention (obsolete) face aliases.
18883         Adjust the whitespace so that help-setup-xref works.
18885         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18886         * calendar/diary-lib.el (diary-button-face):
18887         Mark these face aliases as obsolete.
18889         * calendar/calendar.el (calendar-today): Doc fix.
18891 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18893         * progmodes/gdb-mi.el (gdb-control-all-threads)
18894         (gdb-control-current-thread): Force tool bar update.
18895         (gdb-non-stop-handler): New function.
18896         (gdb-init-1): Use it to test if non-stop mode is supported.
18897         Remove unused gdbmi buffer type.
18899 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
18901         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18902         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
18904 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
18906         * comint.el (comint-exec-1): Check command is non-null first.
18907         Part of gdb-mi.el change (2009-08-28).
18909 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18911         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18913 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
18915         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18916         instead of `dolist' to avoid a recursive require when bootstrapping.
18918 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18920         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18922         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18924         * net/imap.el (imap-send-command): Simplify.
18925         (imap-wait-for-tag): point-max -> buffer-size.
18927         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18929         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18930         with constant argument.
18932         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18934         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18936         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18937         Change default, since most of our files don't have a history.
18938         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18939         the user.
18941         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18942         Add comint-run.
18944         * calc/calc.el: Improve commenting convention.
18945         (calc-digit-map, toplevel): Simplify.
18947         * comint.el (comint-insert-input): Be careful to only set point if we
18948         don't delegate to some other command.
18950         * proced.el (proced-signal-list): Make it an alist.
18951         (proced-grammar-alist): Capitalize names.
18952         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18953         Disable undo manually and make it read-only.
18954         Use completion-annotate-function.
18956         * minibuffer.el (minibuffer-message): If the current buffer is not
18957         a minibuffer, insert the message in the echo area rather than at the
18958         end of the buffer.
18959         (completion-annotate-function): New variable.
18960         (minibuffer-completion-help): Use it.
18961         (completion--embedded-envvar-table): Environment vars are
18962         always case-sensitive.
18964 2009-08-30  Glenn Morris  <rgm@gnu.org>
18966         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18967         from fortran-current-defun.
18968         (fortran-beginning-of-subprogram): Be more precise about finding the
18969         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
18970         (fortran-end-of-subprogram): Simplify.
18971         (fortran-current-defun): Use fortran-start-prog-re.
18973 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
18975         * subr.el (do-after-load-evaluation): Simplify.
18977 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
18979         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18981         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
18982         (vc-rcs-print-log): Use it.
18984         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18986 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18988         * paths.el (abbrev-file-name): Move to abbrev.el.
18989         * abbrev.el (abbrev-file-name): Move from paths.el.
18990         Obey user-emacs-directory.
18991         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18992         user-emacs-directory.
18993         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18994         abbrev-file-name and calc-settings-file any more.
18995         * startup.el (command-line): Recompute abbrev-file-name and
18996         abbreviated-home-dir.
18997         (normal-no-mouse-startup-screen): Improve the generic code and get rid
18998         of the special code for when C-h bindings haven't been changed.
18999         (display-startup-echo-area-message): Use with-current-buffer.
19000         (command-line-1): Use a list of strings, rather than a list of lists
19001         of strings for longopts.
19003         * files.el (get-free-disk-space): Use / for default-directory.
19005         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19006         Use with-current-buffer.
19008         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19009         Recognize immutable variables like most-positive-fixnum.
19010         (byte-compile-setq-default): Check and warn if trying to assign
19011         to an immutable variable, or a non-variable.
19013         * progmodes/cc-vars.el (c-comment-continuation-stars):
19014         * progmodes/cc-engine.el (c-looking-at-bos):
19015         * progmodes/cc-cmds.el (c-toggle-auto-state)
19016         (c-forward-into-nomenclature, c-backward-into-nomenclature)
19017         (c-comment-line-break-function): Add version of obsolescence.
19019 2009-08-28  Juri Linkov  <juri@jurta.org>
19021         * files.el (magic-fallback-mode-alist): Add ZIP magic number
19022         associated with `archive-mode'.
19024         * image.el (image-type-header-regexps): Use only JPEG magic number
19025         to determine JPEG images, and don't use `image-jpeg-p' because
19026         Emacs can display non-JFIF non-Exif JPEG images.
19028 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19030         * arc-mode.el (archive-mode):
19031         * emacs-lisp/re-builder.el (re-builder-unload-function):
19032         Protect against the default value of `major-mode' being nil.
19034 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19036         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19037         Fix typos in docstrings.
19039         * progmodes/js.el (js--macro-decl-re): Doc fix.
19040         (js--plain-method-re, js--split-name): Refloc docstring.
19041         (js--class-styles, js--make-merged-item, js--splice-into-items):
19042         Fix typos in docstrings; reflow docstrings.
19043         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19044         (js--variable-decl-matcher, js--inside-pitem-p)
19045         (js--parse-state-at-point, js--get-all-known-symbols)
19046         (js--symbol-history, js-find-symbol, js--js-references)
19047         (js--moz-interactor, js--js-encode-value, js--read-tab):
19048         Fix typos in docstrings.
19050 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19052         * textmodes/reftex.el (reftex-get-file-buffer-force):
19053         * progmodes/verilog-mode.el (verilog-batch-execute-func):
19054         * emulation/viper.el (viper-go-away, viper-set-hooks):
19055         * emacs-lisp/re-builder.el (re-builder-unload-function):
19056         * emacs-lisp/bytecomp.el (byte-compile-file):
19057         * ses.el (ses-unload-function):
19058         * hexl.el (hexl-find-file):
19059         * files.el (normal-mode):
19060         * ehelp.el (with-electric-help):
19061         * autoinsert.el (auto-insert-alist):
19062         * arc-mode.el (archive-mode):
19063         Use (default-value 'major-mode) instead of default-major-mode.
19065         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19066         * international/mule.el (load-with-code-conversion):
19067         * emacs-lisp/debug.el (debug):
19068         * ediff-vers.el (ediff-rcs-get-output-buffer):
19069         * dired.el (dired-internal-noselect): Don't let-bind
19070         default-major-mode around code that doesn't use it.
19071         E.g. buffer creation via get-buffer-create doesn't use it.
19073 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
19075         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19076         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19077         when writing the temp file.  Otherwise, epa-file gets confused.
19078         (tramp-register-file-name-handlers): Make it a defun.  Move also
19079         `epa-file-handler' to the front of `file-name-handler-alist'.
19081 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19083         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19084         start right after a ^M.
19085         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19086         (tramp-completion-file-name-regexp-separate)
19087         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19088         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19089         Don't modify last-coding-system-used by accident.
19090         (tramp-completion-file-name-handler): Apply the checks here,
19091         instead during registration.
19092         (tramp-register-file-name-handlers): Rename from
19093         `tramp-register-file-name-handler'.  Register both
19094         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19095         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
19097 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
19099         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19100         Remove variable ...
19101         (gdb-init-1, gdb-display-separate-io-buffer)
19102         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19103         references to it.
19104         (gdb-inferior-io-mode): Use make-comint-in-buffer.
19105         (gdb-inferior-filter): Use comint-output-filter to stop
19106         echoing and remove ^M characters.
19108 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19110         * emulation/viper-init.el (viper-restore-cursor-type):
19111         * emulation/cua-base.el (cua--update-indications):
19112         Replace default-cursor-type with (default-value 'cursor-type).
19114         * mail/sendmail.el (mail-recover-1):
19115         * international/mule-diag.el (describe-current-coding-system-briefly)
19116         (describe-current-coding-system):
19117         * international/mule-cmds.el (select-safe-coding-system)
19118         (select-message-coding-system)
19119         (set-language-environment-coding-systems, set-locale-environment):
19120         * hexl.el (hexl-insert-multibyte-char):
19121         * dos-w32.el (find-buffer-file-type-coding-system):
19122         * simple.el (what-cursor-position):
19123         Replace uses of default-buffer-file-coding-system
19124         with (default-value 'buffer-file-coding-system).
19126         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19127         Replace uses of default-cursor-in-non-selected-windows
19128         with (default-value 'cursor-in-non-selected-windows).
19129         Use with-current-buffer.
19131         * mail/feedmail.el: Use CL macros.
19132         (feedmail-run-the-queue, feedmail-send-it-immediately):
19133         * dos-w32.el (find-buffer-file-type): Replace uses of
19134         default-buffer-file-type with (default-value 'buffer-file-type).
19136 2009-08-28  Glenn Morris  <rgm@gnu.org>
19138         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19139         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19140         Use default-value of major-mode rather than default-major-mode.
19142 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19144         * Makefile.in (update-elcfiles): Report left over elc files.
19146         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19147         expand-file-name and with-current-buffer.
19148         (mail-get-names, mail-directory): Use with-current-buffer.
19150         * vc.el (vc-read-revision): New function.
19151         (vc-version-diff, vc-merge): Use it.
19153 2009-08-27  Sam Steingold  <sds@gnu.org>
19155         * simple.el (kill-do-not-save-duplicates): New user option.
19156         (kill-new): When it is non-nil, and the new string is the same as
19157         the latest kill, set replace to t to avoid duplicates in kill-ring.
19159 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
19161         * net/tramp.el (tramp-handle-process-file): Do not flush all
19162         caches when `process-file-side-effects' is set.
19163         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19164         instead of `tramp-find-file-exists-command'.
19165         Unset `process-file-side-effects'.
19167 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
19169         * net/tramp.el (tramp-methods): New method "rsyncc".
19170         (top): Add completion function for "rsyncc".
19171         (tramp-message-show-message): New defvar.
19172         (tramp-message, tramp-error): Use it.
19173         (tramp-do-copy-or-rename-file-directly): Extend check for direct
19174         remote copying.
19175         (tramp-do-copy-or-rename-file-out-of-band): Handle new
19176         `tramp-methods' entry `copy-env' of "rsyncc".
19177         (tramp-vc-registered-read-file-names): New defconst.
19178         (tramp-vc-registered-file-names): New defvar.
19179         (tramp-handle-vc-registered): Implement optimization strategy.
19180         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19181         (tramp-vc-file-name-handler): New defun.
19182         (tramp-get-ls-command, tramp-get-test-command)
19183         (tramp-get-file-exists-command, tramp-get-remote-ln)
19184         (tramp-get-remote-perl, tramp-get-remote-stat)
19185         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19187         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19188         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
19189         timestamps.
19190         (tramp-get-file-property): Check for timestamps in
19191         `tramp-cache-inhibit-cache'.
19192         (tramp-set-file-property): Write timestamp.
19194 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19196         * language/japan-util.el (japanese-symbol-table): Add entries for
19197         cp932-2-byte.
19199         * international/characters.el: Add category `j' to cp932-2-byte.
19201 2009-08-27  Kenichi Handa  <handa@m17n.org>
19203         * international/fontset.el (build-default-fontset-data): New macro.
19204         (setup-default-fontset): Use build-default-fontset-data for CJK,
19205         tibetan, ethiopic, and ipa.
19207 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19209         * cus-start.el (default-major-mode): Customize `major-mode' instead.
19210         (enable-multibyte-characters): Not customizable any more.
19212         * subr.el (default-mode-line-format, default-header-line-format)
19213         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19214         (default-direction-reversed, default-truncate-lines)
19215         (default-left-margin, default-tab-width, default-case-fold-search)
19216         (default-left-margin-width, default-right-margin-width)
19217         (default-left-fringe-width, default-right-fringe-width)
19218         (default-fringes-outside-margins, default-scroll-bar-width)
19219         (default-vertical-scroll-bar, default-indicate-empty-lines)
19220         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19221         (default-fringe-cursor-alist, default-scroll-up-aggressively)
19222         (default-scroll-down-aggressively, default-fill-column)
19223         (default-cursor-type, default-buffer-file-type)
19224         (default-cursor-in-non-selected-windows)
19225         (default-buffer-file-coding-system, default-major-mode)
19226         (default-enable-multibyte-characters): Mark as obsolete.
19228 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
19230         * vc-dir.el (vc-dir-update): Remove debug helper.
19232         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19234 2009-08-26  Sam Steingold  <sds@gnu.org>
19236         * simple.el (save-interprogram-paste-before-kill): New user option.
19237         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19238         save the interprogram-paste into kill-ring before overriding it
19239         with the Emacs kill.
19241 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19243         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19244         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19245         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19246         and move to vc-rcs.el.
19247         (vc-default-next-revision): Rename to vc-rcs-next-revision and
19248         move to vc-rcs.el.
19249         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19250         (vc-rcs-update-changelog): Remove.
19251         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19252         and move to vc-rcs.el.
19254         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19255         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19256         renaming.
19257         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19258         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19259         vc.el, renamed to be RCS specific.
19261         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19262         New functions.
19263         (vc-cvs-update-changelog): Move here from vc.el.
19265         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19266         New functions.
19268 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19270         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19272 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19274         * vc-git.el (vc-git-register): Use "git add" for directories.
19275         (vc-git-stash, vc-git-stash-show): New functions.
19276         (vc-git-extra-menu-map): Bind them.
19278         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19279         directory correctly in case the item is a directory itself.
19281         * vc.el: Document the desired behavior for reverted files in the
19282         `added' state.
19283         (vc-default-prettify-state-info): Remove function, unused.
19285         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19287 2009-08-26  Glenn Morris  <rgm@gnu.org>
19289         * bindings.el (standard-mode-line-format): Reposition dashes in
19290         which-func entry.  (Bug#4217)
19292         * files.el (enable-local-variables, enable-local-eval)
19293         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19294         the defcustoms.
19295         (auto-mode-alist, ignored-local-variables)
19296         (save-some-buffers-action-alist): Move risky declarations to the
19297         definitions.
19298         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19299         (font-lock-defaults, format-alist, imenu--index-alist)
19300         (imenu-generic-expression, input-method-alist, minor-mode-alist)
19301         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19302         (mode-line-modified, mode-line-mule-info, mode-line-position)
19303         (mode-line-process, mode-line-remote, outline-level)
19304         (parse-time-rules, rmail-output-file-alist)
19305         (special-display-buffer-names, vc-mode):
19306         Move risky declarations to the relevant files.
19307         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19308         (mode-line-modified, mode-line-process, mode-line-position)
19309         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19310         * font-core.el (font-lock-defaults):
19311         * format.el (format-alist):
19312         * vc-hooks.el (vc-mode):
19313         * window.el (special-display-buffer-names):
19314         * international/mule-cmds.el (input-method-alist):
19315         Define riskiness here (dumped file) rather than in files.el.
19316         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19317         * imenu.el (imenu-generic-expression, imenu--index-alist):
19318         * outline.el (outline-level):
19319         * time.el (display-time-string):
19320         * calendar/parse-time.el (parse-time-rules):
19321         * mail/rmailout.el (rmail-output-file-alist):
19322         Autoload riskiness here, rather than placing in files.el.
19324 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
19326         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19328 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
19330         * simple.el (process-file-side-effects): New defvar.
19332         * dired-aux.el (dired-show-file-type):
19333         * vc.el (vc-diff-internal):
19334         * vc-arch.el (vc-arch-diff):
19335         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19336         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19337         * vc-git.el (vc-git-registered, vc-git-working-revision)
19338         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19339         (vc-git--empty-db-p):
19340         * vc-hooks.el (vc-user-login-name):
19341         * vc-svn.el (vc-svn-registered, vc-svn-state)
19342         (vc-svn-dir-extra-headers, vc-svn-find-revision):
19343         * progmodes/grep.el (grep-probe): Let-bind
19344         `process-file-side-effects' with nil.
19346         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19348         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19349         daemon.  Replace ping by checking for running service for bluez
19350         and zeroconf.  (Bug#4239)
19352 2009-08-25  Kevin Ryde  <user42@zip.com.au>
19354         * net/dig.el (dig): Add autoload cookie.
19356 2009-08-25  Glenn Morris  <rgm@gnu.org>
19358         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19359         load-history for absolute file-names.
19360         (byte-compile-file-form-require): Warn about use of the cl package.
19362         * format.el (format-alist): Doc fix.
19364         * play/bubbles.el (top-level): Don't require cl at run-time.
19366         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19367         run-time cl).
19369 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
19371         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19372         from cl package.
19373         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19375 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
19377         * calc/calc-alg.el (math-trig-rewrite)
19378         (math-hyperbolic-trig-rewrite): New functions.
19379         (calc-simplify): Simplify trig functions when asked.
19381 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19383         * diff-mode.el (diff-find-source-location): Avoid goto-line.
19385 2009-08-24  Kenichi Handa  <handa@m17n.org>
19387         * language/ind-util.el (mapthread): Delete it.
19388         (combinatorial): New function.
19389         (indian--puthash-cv): Use combinatorial instead of mapthread.
19391 2009-08-22  Kevin Ryde  <user42@zip.com.au>
19393         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19394         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19395         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19396         Clarify docstring that the value is strings not symbols.
19397         (checkdoc-list-of-strings-p): New function.
19399 2009-08-22  Glenn Morris  <rgm@gnu.org>
19401         * files.el (auto-mode-alist):
19402         * hippie-exp.el (he-concat-directory-file-name):
19403         * lpr.el (lpr-windows-system, printer-name):
19404         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19405         * ps-print.el (ps-windows-system):
19406         * startup.el (command-line):
19407         * emulation/viper-ex.el (viper-glob-function):
19408         * international/mule-cmds.el (set-language-environment-coding-systems):
19409         * net/ange-ftp.el (ange-ftp-write-region):
19410         * obsolete/fast-lock.el (fast-lock-cache-name):
19411         Remove code for defunct system-types emx, macos, mswindows, next-mach,
19412         unisoft-unix, vax-vms, win32, w32.
19414         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19415         given name if the pattern is not more specific.
19417         * calendar/lunar.el (lunar-phase-names): New option.
19418         (lunar-phase): Doc fix.
19419         (lunar-cycles-per-year): New constant.
19420         (lunar-index): New function.
19421         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19422         (lunar-phase-name): Use lunar-phase-names.
19423         (calendar-lunar-phases): Use format.
19424         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19426         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19427         Copy imenu-example--name-and-position function here for own use.
19428         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19430         * bs.el (bs--redisplay):
19431         * cus-edit.el (custom-redraw):
19432         * ibuffer.el (ibuffer-bury-buffer):
19433         * server.el (server-goto-line-column):
19434         * startup.el (command-line-1):
19435         * strokes.el (strokes-xpm-for-stroke):
19436         * term.el (term-display-buffer-line):
19437         * view.el (View-goto-line):
19438         * calc/calc.el (calc-do, calc-trail-buffer):
19439         * play/gamegrid.el (gamegrid-add-score-insecure):
19440         * progmodes/ada-mode.el (ada-compile-goto-error):
19441         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19442         (ebrowse-select-1st-to-9nth):
19443         * progmodes/cperl-mode.el (cperl-time-fontification):
19444         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19445         * progmodes/gud.el (gud-display-line):
19446         (idlwave-shell-display-line):
19447         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19448         * progmodes/make-mode.el (makefile-browser-toggle):
19449         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19450         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19451         * textmodes/picture.el (picture-draw-rectangle):
19452         * textmodes/reftex-index.el (reftex-index-goto-letter):
19453         (reftex-select-jump-to-previous):
19454         * textmodes/reftex-sel.el (reftex-find-start-point)
19455         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19456         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19457         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19458         * textmodes/tex-mode.el (tex-compilation-parse-errors):
19459         * textmodes/two-column.el (2C-associated-buffer):
19460         Use forward-line rather than goto-line.
19462         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19463         goto-line.
19465         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19466         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19467         (quick-check-list-to-regexp): Declare.
19469         * progmodes/make-mode.el (makefile-browser-insert-selection):
19470         Use goto-char rather than goto-line.
19472         * progmodes/prolog.el (compilation-error-regexp-alist)
19473         (compilation-forget-errors): Declare.
19475 2009-08-22  Juri Linkov  <juri@jurta.org>
19477         * progmodes/grep.el (lgrep, rgrep): At the beginning
19478         set `dir' to `default-directory' unless `dir' is a non-nil
19479         readable directory.  (Bug#4052)
19480         (lgrep, rgrep): Change a weird way to report an error
19481         from using `read-string' to using `error'.
19482         Instead of using interactive arguments in the function body,
19483         add new argument `confirm'.
19485 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19487         * textmodes/remember.el (remember-buffer):
19488         * progmodes/cperl-mode.el (cperl-vc-header-alist):
19489         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19490         (icalendar-extract-ical-from-buffer):
19491         * net/newst-treeview.el (newsticker-groups-filename):
19492         * net/newst-backend.el (newsticker-cache-filename):
19493         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19494         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19495         (speedbar-add-ignored-path-regexp, speedbar-line-path)
19496         (speedbar-buffers-line-path, speedbar-path-line)
19497         (speedbar-buffers-line-path):
19498         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19499         (epg-sign-keys):
19500         * epa.el (epa-display-verify-result):
19501         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19503 2009-08-21  Glenn Morris  <rgm@gnu.org>
19505         * progmodes/js.el (inferior-moz-process): Fix declaration.
19507         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19509         * obsolete/rnewspost.el (news-mail-reply):
19510         Use goto-char rather than goto-line.
19512         * term/ns-win.el (ns-open-file-select-line):
19513         Use line-beginning-position rather than goto-line.
19515         * apropos.el (apropos-command):
19516         * ehelp.el (electric-helpify):
19517         * printing.el (pr-show-setup):
19518         * strokes.el (strokes-help):
19519         * tutorial.el (tutorial--describe-nonstandard-key)
19520         (tutorial--detailed-help):
19521         * woman.el (woman-mini-help, woman-display-extended-fonts):
19522         * calc/calc-help.el (calc-describe-key):
19523         * emulation/edt.el (edt-electric-helpify):
19524         * international/mule-diag.el (mule-diag):
19525         * play/yow.el (apropos-zippy):
19526         * progmodes/python.el (python-describe-symbol):
19527         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19528         * textmodes/table.el (*table--cell-describe-mode)
19529         (*table--cell-describe-bindings):
19530         Use help-print-return-message rather than the now obsolete alias.
19532         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19533         (calendar-cursor-to-visible-date):
19534         * play/5x5.el (5x5-position-cursor):
19535         * play/decipher.el (decipher):
19536         * play/gomoku.el (gomoku-goto-xy):
19537         * play/landmark.el (lm-goto-xy):
19538         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19539         (mpuz-paint-digit):
19540         Use forward-line, not goto-line.
19542         * mail/rmail.el (rmail-obsolete): Delete custom group.
19543         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19544         (rmail-remote-password, rmail-remote-password-required):
19545         Remove unneeded :set-after and :set properties.
19547 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
19549         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19551 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
19553         * loadup.el: Remove leftover macos code.
19555         * vc-git.el (vc-git-annotate-command): Run asynchronously.
19556         Explicitly pass the date format to git blame so that user local
19557         so that the output format can be parsed.
19559 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
19561         * net/dbus.el (top): Don't check for (getenv
19562         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
19564 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
19566         * log-edit.el (log-edit-strip-single-file-name): New var.
19567         (log-edit-insert-changelog): Use it.  Bug#3571
19569 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19571         * subr.el (read-passwd): Use read-key so keypad keys work as well.
19572         Bug#3287
19574         * help.el (help-print-return-message): Rename from
19575         print-help-return-message.
19577         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19578         cvs-mode-map parent hack.
19579         (log-view-mode): Derive from special-mode.
19581         * linum.el (linum-mode): window-size-change-functions is redundant.
19582         Adapt to new window-configuration-change-hook behavior.
19583         (linum-after-size, linum-after-config): Remove.
19585         * imenu.el (imenu-example--name-and-position)
19586         (imenu-example--lisp-extract-index-name)
19587         (imenu-example--create-lisp-index, imenu-example--create-c-index):
19588         Mark as obsolete.
19590         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19591         (inferior-prolog-mode): Use it.
19592         (inferior-prolog-load-file): Reset list of errors.
19594 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19596         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19598         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19600 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
19602         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19603         is running already.
19605 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19607         * subr.el (listify-key-sequence-1): Use normal syntax since those
19608         integers are nowadays always represented by the same (positive) number
19609         on all platforms.
19610         (read-key-empty-map): New const.
19611         (read-key-delay): New var.
19612         (read-key): New function.
19613         (force-mode-line-update): Use with-current-buffer.
19614         (locate-user-emacs-file): Don't forget to abbreviate the file name.
19615         (start-process-shell-command, start-file-process-shell-command):
19616         Discourage the use of command-args.
19618 2009-08-19  Glenn Morris  <rgm@gnu.org>
19620         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19622 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19624         * simple.el (choose-completion-string): Don't rely on
19625         minibuffer-completing-file-name and ad-hoc checks to decide whether
19626         to continue completion or not.
19628         * minibuffer.el (minibuffer-hide-completions): New function.
19629         (completion--do-completion): Use it.
19630         (completions-annotations): New face.
19631         (completion--insert-strings): Use it.
19632         (completion-pcm--delim-wild-regex): Add docstring.
19633         (completion-pcm--string->pattern): Add support for 0-width delimiters
19634         in completion-pcm--delim-wild-regex.
19636 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19638         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19639         Remove unused var `buffer-modified-p'.
19641         * minibuffer.el (completion--do-completion): Move point for the #b001
19642         case as well (bug#4176).
19643         (minibuffer-complete, minibuffer-complete-word): Don't move point.
19645 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
19647         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
19648         and :session buses.
19650 2009-08-18  Kenichi Handa  <handa@m17n.org>
19652         * international/ucs-normalize.el (ucs-normalize-version):
19653         Change to 1.1.
19654         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19655         (utf-8-hfs): Make it perform normalization on encoding too.
19657         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
19658         (sentence-end-without-space): Delete duplicated chars.
19659         (sentence-end-base): Likewise.
19661         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
19662         (html-mode): Delete duplicated chars from sentence-end-base.
19664         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
19665         (texinfo-mode): Delete duplicated chars from sentence-end-base.
19667 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
19669         * files.el (hack-one-local-variable): If the mode function is for
19670         a minor mode, pass it an argument (Bug#4148).
19672 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
19674         * net/tramp.el (tramp-register-completion-file-name-handler):
19675         Check also for (member 'partial-completion completion-styles).
19677 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19679         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19680         abbrev (Bug#3943).
19682 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
19684         * progmodes/cperl-mode.el: Merge upstream 6.2.
19685         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19686         (cperl-forward-re): Check cperl-brace-recursing.
19687         (cperl-highlight-charclass): New function.
19688         (cperl-find-pods-heres): Use it.
19689         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19690         (cperl-beautify-regexp-piece): Fix column calculation.
19691         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19692         (cperl-beautify-level): Don't process entire regexp.
19693         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19694         calling man.
19695         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19696         (cperl-init-faces): Build a list in the normal way.
19698 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19700         * calendar/parse-time.el (parse-time-string-chars): Save match
19701         data.
19703 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19705         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19706         (sql-product): Use it.
19707         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19708         (sql-set-product): Add completion.
19709         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19710         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19711         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19712         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19713         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19714         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19715         (sql-highlight-db2-keywords): Remove.
19716         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19717         (sql-highlight-product): Use derived-mode-p.
19718         (sql-set-sqli-buffer): Use with-current-buffer.
19719         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19720         Simplify.
19722         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19724         * term.el: Fix commenting convention, turn comments into docstrings.
19726 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19728         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19730 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19732         * calendar/parse-time.el (parse-time-string-chars): Compute using
19733         character classes, to handle non-ascii characters (Bug#3190).
19735 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19737         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19738         another heredoc if the user adds another < (Bug#3226).
19740         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19741         Don't initialize based on window-system (Bug#4124).
19743         * facemenu.el (facemenu-read-color): Use a completion function
19744         that accepts any defined color, such as RGB triplets (Bug#3677).
19746         * files.el (get-free-disk-space): Change fallback default
19747         directory to /.  Expand DIR argument before switching to fallback.
19748         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19750 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19752         * files.el (load-library): Doc fix.
19754 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
19756         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19757         (viper-if-string): Redefine C-s in the minibuffer to insert the last
19758         incremental search string.
19760         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19761         XEmacs.
19763         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19764         (ediff-merge-region-is-non-clash)
19765         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19766         Also check if the job is really a merge job.
19768         * ediff.el (ediff-current-file): New function.
19770 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19772         * progmodes/js.el: Edit docstrings throughout to follow Emacs
19773         conventions.
19774         (js-insert-and-indent): Delete function.
19775         (js-mode-map): Don't bind keys to js-insert-and-indent.
19776         (js-beginning-of-defun): Rename from js--beginning-of-defun.
19777         (js-end-of-defun): Rename from js--end-of-defun.
19778         (js-auto-indent-flag): Delete variable.
19780 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
19782         * progmodes/js.el: Remove proclaim statement.
19783         Defvar which-func-imenu-joiner-function to silence compiler.
19785         * files.el (auto-mode-alist): Use js-mode for .js files.
19787         * progmodes/js2-mode.el: Remove file.
19789         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19791         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19793         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19795 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
19796             Karl Landstrom  <karl.landstrom@brgeight.se>
19798         * progmodes/js.el: New file.
19800 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
19802         * timezone.el (timezone-parse-date): Add ability to understand ISO
19803         basic format (minimal separators) dates in addition to the
19804         already-supported extended format dates.
19806 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
19808         * international/ucs-normalize.el: Add a `coding' file variable.
19810         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19812 2009-08-14  Sam Steingold  <sds@gnu.org>
19814         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19816 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
19818         * faces.el (help-argument-name): Define it here instead of
19819         help-fns.el, because in daemon mode help-fns.el may be loaded when
19820         faces are still uninitialized (Bug#1078).
19822         * help-fns.el (help-argument-name): Move defface to faces.el.
19824 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
19826         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19827         create buffer with a pty but no process so that GDB can make the
19828         inferior the controlling process.
19830 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
19832         * international/ucs-normalize.el: New file.
19834 2009-08-13  Richard Stallman  <rms@gnu.org>
19836         * mail/rmail.el (rmail-get-attr-names):
19837         Accept an attribute header that is too short.
19839         * mail/rmail.el (rmail-forget-messages):
19840         Ignore nil elt in rmail-message-vector.  Use dotimes.
19842         * progmodes/compile.el (compilation-goto-locus):
19843         Use next-error-move-function.
19845         * simple.el (next-error-move-function): New variable.
19847 2009-08-12  Juri Linkov  <juri@jurta.org>
19849         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19850         always non-nil.  (Bug#4052)
19852         * replace.el (read-regexp): Return empty string when
19853         `default-value' is nil.
19854         (keep-lines-read-args): Don't use empty string as the
19855         default value for `read-regexp'.  (Bug#2495)
19857 2009-08-12  Juri Linkov  <juri@jurta.org>
19859         * international/mule-cmds.el (ucs-insert): Change arguments
19860         from `arg' to `character', `count', `inherit' to be the same
19861         as in `insert-char'.  Doc fix.  (Bug#4039)
19863         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19865 2009-08-12  Juri Linkov  <juri@jurta.org>
19867         * files-x.el: New file.
19869         * files.el: Move code that deals with adding/deleting
19870         file/directory-local variables to files-x.el.
19872         * Makefile.in (ELCFILES): Add files-x.elc.
19874 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
19876         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19877         to use `goto-line'.
19878         (gdb-place-breakpoints, gdb-get-location): Rewritten without
19879         `goto-line'.
19880         (gdb-invalidate-disassembly): Do not refresh upon receiving
19881         'update signal.  Instead, update all disassembly buffers only after
19882         threads list.
19883         (gdb): Send -target-detach when buffer is killed (Bug#3794).
19884         (gdb-starting): Move -data-list-register-names...
19885         (gdb-stopped): ...here so it's sent when first thread stops.
19886         (gdb-registers-handler-custom): Do nothing if register names are
19887         unknown yet.
19889         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19890         from `gdb-mi.el' to avoid extra tangling.
19892         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19893         change which breaks `gud-def' definitions used in `gdb'.
19894         (gdb-update-gud-running): No extra fuss for updating frame number.
19896 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19898         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19899         (describe-language-environment-map, setup-language-environment-map)
19900         (set-coding-system-map): Move initialization into declaration.
19901         (set-language-info-alist): Last arg to define-key-after can be skipped.
19903         * international/quail.el (quail-completion-1): Simplify.
19904         (quail-define-rules): Use slightly more compact code.
19905         (quail-insert-decode-map): Propertize keys, compact columns.
19907         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19908         Add goto-line.
19910 2009-08-10  Miles Bader  <miles@gnu.org>
19912         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19913         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19914         (js2-instance-member, js2-private-member, js2-private-function-call)
19915         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19916         (js2-magic-paren, js2-external-variable):
19917         Remove "-face" suffix from face names.
19918         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19919         (js2-highlight-undeclared-vars, js2-peek-token)
19920         (js2-parse-function-params, js2-mode-show-errors)
19921         (js2-mode-show-warnings, js2-make-magic-delimiter)
19922         (js2-mode-highlight-magic-parens): Update to use new face names.
19924 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
19926         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19927         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
19929 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
19931         * subr.el: Provide hashtable-print-readable.
19933         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19934         hs-c-like-adjust-block-beginning.
19935         (hs-hide-block-at-point): Stop hiding at the beginning of
19936         hs-block-end-regexp (Bug#700).
19938 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
19940         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19941         a macro.
19942         (gdb-registers-handler-custom): Do not fail when register names
19943         are unavailable.
19945 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19947         * progmodes/gdb-mi.el (gdb-control-all-threads)
19948         (gdb-control-current-thread): Interactive setters for
19949         `gdb-gud-control-all-threads' to use in menu.
19950         (gdb-show-run-p): Show «Go» when process is not active.
19951         (gud-tool-bar-map): Add non-stop/A,T indicator.
19952         Uses gud/thread.xpm and gud/all.xpm.
19954 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
19956         * net/net-utils.el (net-utils-font-lock-keywords): New var.
19957         (nslookup-font-lock-keywords): Make it a variable.
19958         (net-utils-mode): New mode for viewing diagnostic network output.
19959         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19960         (net-utils-run-simple): New function.
19961         (ifconfig, iwconfig, netstat, arp, route): Use it.
19963 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19965         * progmodes/gdb-mi.el (gdb-read-memory-custom)
19966         (gdb-memory-set-address, def-gdb-set-positive-number)
19967         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19968         after changing settings.
19969         (gdb-invalidate-disassembly): Update when first shown.
19970         (gdb-edit-locals-value): Fixed.
19971         (gdb-registers-handler-custom): Print registers in right order and
19972         allow changing register values (only for current thread yet).
19973         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19974         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19975         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19976         (gdb-locals-handler-custom, gdb-registers-handler-custom):
19977         Thread info in mode name.
19978         (gdb-registers-mode-map): TAB to switch to locals.
19980 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
19982         * mail/rmail.el (rmail-add-mbox-headers)
19983         (rmail-set-message-counters-counter): Search for
19984         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
19986 2009-08-08  Glenn Morris  <rgm@gnu.org>
19988         * Makefile.in (ELCFILES): Update.
19990 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19992         * mail/sendmail.el (mail-yank-original):
19993         Set buffer-file-coding-system from the one used by the message whose
19994         text is yanked.
19996         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19997         to "windows" when "pgnuplot" is used.
19998         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19999         Don't call accept-process-output if "pgnuplot" is used.
20000         (calc-graph-init): Don't send -display and -geometry to
20001         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
20002         running "pgnuplot -V" with shell-command-to-string.
20004         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20005         the default.
20007 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20009         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20010         org/org-latex.elc.
20012 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
20014         * vc-dispatcher.el (vc-resynch-window): Update comment.
20016         * term.el (term-handle-ansi-escape): Add comments with the
20017         terminfo capabilities implemented.
20019 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
20021         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20022         (gdb-var-create-handler): Rewritten using JSON parser.
20023         (gdb-propertize-header): Move earlier.
20024         (gdb-set-header): Remove to avoid duplication.
20025         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20026         Refresh disassembly buffers only after threads list have been
20027         update.
20028         (gdb-threads-header, gdb-registers-header): Per-buffer header line
20029         variables.
20031 2009-08-04  Juri Linkov  <juri@jurta.org>
20033         * files.el: Commands to add/delete file/directory-local variables.
20034         (read-file-local-variable, read-file-local-variable-value)
20035         (read-file-local-variable-mode, modify-file-local-variable)
20036         (modify-file-local-variable-prop-line)
20037         (modify-dir-local-variable): New functions.
20038         (add-file-local-variable, delete-file-local-variable)
20039         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20040         (add-dir-local-variable, delete-dir-local-variable)
20041         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20042         (copy-dir-locals-to-file-locals-prop-line): New commands.
20044 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
20046         * abbrev.el (insert-abbrev-table-description): Prettify output.
20047         Suggested by Karl Chen.
20049 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
20051         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20052         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20053         (gdb-overlay-arrow-position, gdb-thread-position)
20054         (gdb-disassembly-position): Declare variables.
20055         (gdb-wait-for-pending): Function now.
20056         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20057         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20058         compilation goes smoothly.
20059         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20060         (gdb-non-stop-setting): New customization setting which replaces
20061         `gdb-non-stop' so changing it doesn't break active GDB session.
20062         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20063         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20064         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20065         (gdb-show-threads-by-default): New customization options.
20066         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20067         routines.
20068         (gdb-get-buffer-create): Send buffers update signal when they are
20069         created.
20070         (gdb-invalidate-locals, gdb-invalidate-registers)
20071         (gdb-invalidate-breakpoints)
20072         (gdb-invalidate-threads, gdb-invalidate-disassembly)
20073         (gdb-invalidate-memory): Accept update signal.
20074         (gdb-current-context-command): Use --frame option.
20075         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20076         Implement `gdb-frame-number' selection logic.
20077         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20078         whether to show GUD toolbar buttons.
20079         (gdb-thread-exited): Unselect current thread when it exits.
20080         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20081         (gdb-mark-line): Routine which sets overlay arrow or inverses
20082         video on fringeless displays.
20083         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20084         to build aligned columns of data in GDB buffers and set text
20085         properties line-by-line.
20086         (gdb-invalidate-breakpoints)
20087         (gdb-breakpoints-list-handler-custom)
20088         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20089         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20090         (gdb-registers-handler-custom): Align data columns.
20091         (gdb-locals-handler-custom): Now prints data like in variable
20092         declarations.
20093         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20094         Remove confusing buttons.
20095         (gdb-invalidate-threads): Append --frame.
20096         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20097         between breakpoints/threads buffers.
20098         (gdb-set-window-buffer): Now can ignore dedicated windows.
20099         (gdb-propertize-header): Use `gdb-set-window-buffer'.
20100         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20101         (def-gdb-thread-buffer-gud-command): Replaces
20102         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20103         for fine thread control.
20104         (gdb-preempt-existing-or-display-buffer): New function used to
20105         display bound buffers without breaking window layout.
20106         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20107         (gdb-select-frame): New version of `gdb-frames-select' which now
20108         sets `gdb-frame-number' so commands may use --frame option instead
20109         of inner debugger state.
20110         (gdb-frame-handler): Do not set `gdb-frame-number'.
20111         (gdb-threads-mode-map): Select threads with mouse.
20113         * progmodes/gud.el (gdb-gud-context-call): Declare function to
20114         avoid compilation warning.
20115         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20116         `gdb-show-stop-p`.
20118         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20119         Argument `key' renamed to `buffer-type'.
20120         (gdb-current-context-buffer-name): Do not add thread info to
20121         buffer name when no thread is selected.
20122         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20123         command (bug 3794).
20124         (gdb-thread-selected): Handle `=thread-selected' notification.
20125         (gdb-wait-for-pending): New macro to deal with congestion problems.
20126         (gdb-breakpoints-list-handler-custom): Don't fail on pending
20127         breakpoints.
20128         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20129         This fixes problem similar to one described in bug 3947.
20130         (gud-menu-map): More menu items.
20131         (gdb-init-1): Reset `gdb-thread-number' to nil.
20133         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20134         non-stop settings.
20136         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20137         (gdb-current-context-command): Do not append --thread if
20138         `gdb-thread-number' is nil.
20139         (gdb-running-threads-count, gdb-stopped-threads-count):
20140         New variables.
20141         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20142         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20143         New customization options.
20144         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20145         GUD commands.
20146         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20147         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20148         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20149         set `gdb-thread-number' and update `gud-running' properly.
20150         (gdb-running): Update threads list when new threads appear.
20151         (gdb-stopped): Support non-stop operation and new thread switching
20152         logic.
20153         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20154         (gdb-json-partial-output): New set of JSON routines.
20155         (def-gdb-auto-update-trigger): New `signal-list' optional
20156         argument.
20157         (gdb-thread-list-handler-custom): Update `gud-running',
20158         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20159         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20160         (gdb-continue-thread, gdb-step-thread): New commands for fine
20161         thread execution control.
20162         (gud-menu-map): New menu items to switch non-stop options.
20163         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20164         (gdb-send): Mimic RET properly (bug 3794).
20166         * progmodes/gdb-mi.el (gdb-rules-name-maker)
20167         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20168         gdb-buffer-rules.
20169         (def-gdb-auto-update-handler): New nopreserve optional argument.
20170         (gdb-stack-list-frames-custom): Print stack from top to bottom.
20172         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20173         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20174         (gdb-parent-mode): New mode to derive other GDB modes from.
20175         (gdb-display-disassembly-for-thread)
20176         (gdb-frame-disassembly-for-thread): New commands for threads
20177         buffer.
20179         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20180         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20181         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20182         (gdb-update): We now store all GDB buffers in a list so that they
20183         can be updated by traversing a list instead of calling invalidate
20184         triggers explicitly.
20185         (def-gdb-trigger-and-handler): New macro to define trigger-handler
20186         pair for GDB buffer.
20187         (gdb-stack-buffer-name): Add thread information.
20188         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20189         handle pending triggers.
20190         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20191         (def-gdb-thread-buffer-simple-command)
20192         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20193         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20194         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20195         New commands which show buffers bound to thread.
20196         (gdb-stack-list-locals-regexp): Remove unused regexp.
20198         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20199         (gdb-locals-buffer-name, gdb-registers-buffer-name)
20200         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20201         to (gud-comint-buffer) in *-buffer-name functions
20202         because (gdb-get-target-string) already does that.
20203         (gdb-locals-handler-custom, gdb-registers-handler-custom)
20204         (gdb-changed-registers-handler): Rewritten without regexps.
20206         * progmodes/gdb-mi.el: Basic thread selection support.
20207         (gdb-thread-number): New variable.
20208         (gdb-current-context-command): New macro which adds --thread
20209         option to command.
20210         (gdb-threads-mode-map): Select thread with SPC.
20211         (gdb-thread-list-handler-custom): Mark current thread with overlay
20212         arrow.  Synchronize GDB thread and Emacs thread.
20213         (gdb-select-thread): New command which selects current thread.
20214         (gdb-invalidate-frames, gdb-invalidate-locals)
20215         (gdb-invalidate-registers): Use --thread option.
20217 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
20219         * net/tramp.el (top): Make check for tramp-gvfs loading more
20220         robust.  (Bug#3977)
20221         (tramp-handle-insert-file-contents): `unwind-protect' must be
20222         inside `with-parsed-tramp-file-name'.
20224         * net/tramp-gvfs.el (top): Remove superfluous message when loading
20225         fails.
20227 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
20229         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20230         directory if CLASSPATH is not set.
20232 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
20234         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20235         New defconst.
20236         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
20238 2009-08-02  Kevin Ryde  <user42@zip.com.au>
20240         * net/newst-backend.el (newsticker--raw-url-list-defaults):
20241         Update freshmeat link.  Delete newsforge.com as it seems gone.
20243 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20245         * select.el (x-set-selection): Doc fix (Bug#4021).
20247         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20249         * help-fns.el (describe-variable): Treat list return values from
20250         dir-locals-find-file properly (Bug#4005).
20252 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
20254         * net/tramp.el (tramp-debug-message): Print also microseconds.
20256 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
20258         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20259         or END is non-nil.
20260         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20261         (tramp-get-debug-buffer): Change `outline-regexp' according to new
20262         format.
20264         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20265         (tramp-get-file-property): Use it.
20267         * autorevert.el (auto-revert-handler):
20268         Allow `auto-revert-tail-mode' for remote files.
20270 2009-08-02  Jason Rumney  <jasonr@gnu.org>
20272         * minibuffer.el (read-file-name): Treat confirm options to
20273         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
20275 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20277         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20278         (font-lock-variable-name-face, font-lock-constant-face):
20279         Darken the colors for light backgrounds.
20281 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
20283         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20284         month names.  (Bug#3987)
20286 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
20288         * simple.el (line-move-finish): Pass whole number to
20289         line-move-to-column.
20290         (line-move-visual): Perform hscroll to the recorded position.
20292 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
20294         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20296 2009-07-29  Alan Mackenzie  <acm@muc.de>
20298         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20300 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
20302         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20303         (gdb-place-breakpoints): Use full path when setting breakpoints.
20305 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
20307         * calc/calc.el (calc-mode-map): Add keybinding for
20308         `calc-transpose-lines'.
20310 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
20312         * calc/calc-misc.el (calc-transpose-lines): New function.
20314 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
20316         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20317         Simplify check for out-of-band methods.
20318         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20319         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
20321 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
20323         * vc-git.el (vc-git-checkin): Fix typo.
20325 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
20327         * progmodes/js2-mode.el: New file.
20329 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
20331         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20332         (gud-menu-map): Adjust tooltip accordingly.
20334 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
20336         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20337         (vc-bzr-log-view-mode): Adjust log-view-file-re.
20339         * add-log.el (change-log-mode-map): Add a menu.
20341 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
20343         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20344         function returns nil.
20345         (dbus-handle-event): Handle special return value :ignore.
20346         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20348 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
20350         * view.el (view-mode-enable): Don't define Helper-return-blurb if
20351         it's not needed.
20353 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
20355         Fix Bug#3888:
20357         * w32-vars.el (x-select-enable-clipboard): Doc fix.
20359         * term/pc-win.el (x-display-name, x-colors)
20360         (x-select-enable-clipboard, x-select-text): Doc fix.
20362         * term/common-win.el (x-display-name, x-colors): Doc fix.
20364         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20365         (xw-defined-colors): Doc fix.
20367         * w32-fns.el (x-select-text, x-setup-function-keys)
20368         (x-get-selection, x-set-selection): Doc fix.
20370         * term/x-win.el (x-select-text, x-setup-function-keys)
20371         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20373         * select.el (x-set-selection): Doc fix.
20375 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
20377         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20378         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
20379         "IsNSSSupportAvailable" method is not available.
20380         Reported by Steve Youngs <steve@sxemacs.org>.
20382 2009-07-24  Kenichi Handa  <handa@m17n.org>
20384         * international/characters.el: Fix setting of category ?C, ?|, ?K,
20385         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
20386         (build-unicode-category-table): Fix range checks.
20388 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
20390         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20391         the buffer we try to sync is current when calling
20392         vc-resynch-buffer.
20394         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20395         not show up to date files.
20397 2009-07-24  Glenn Morris  <rgm@gnu.org>
20399         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20400         Add autoload cookies.  If necessary, initialize.
20401         (elint-log): Handle non-file buffers.
20402         (elint-initialize): Add optional argument to reinitialize.
20403         (elint-find-builtin-variables): Save excursion.
20405 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
20407         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20408         for Lint.
20410 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
20412         * vc.el (vc-print-log-internal): New function, split out from ...
20413         (vc-print-log): ... here.
20414         (vc-dir-move-to-goal-column): Declare.
20416         * vc-git.el (vc-git-add-signoff): New variable.
20417         (vc-git-checkin): Use it.
20418         (vc-git-toggle-signoff): New function.
20419         (vc-git-extra-menu-map): Bind it to menu.
20420         (vc-git--run-command-string): Accept a nil FILE argument.
20421         (vc-git-stash-list): New function.
20422         (vc-git-dir-extra-headers): Use it.
20424 2009-07-23  Glenn Morris  <rgm@gnu.org>
20426         * help-fns.el (describe-variable): Describe ignored and risky local
20427         variables in a similar way to that in which we describe safe ones.
20429         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20430         (byte-compile-output-file-form, byte-compile-output-docform)
20431         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20432         Give some more local variables with common names a "bytecomp-" prefix,
20433         so as not to shadow things during compilation.
20434         * emacs-lisp/cl-macs.el (load-time-value)
20435         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20436         `outbuffer' to `bytecomp-outbuffer'.
20438         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20439         since the next two variables cover them automatically now.
20440         (elint-builtin-variables, elint-autoloaded-variables): New.
20441         (elint-unknown-builtin-args): Remove all members, since they can be
20442         parsed automatically now.
20443         (elint-extra-errors): New.
20444         (elint-env-add-env, elint-env-add-macro): Use cadr.
20445         (elint-current-buffer): Use or.  Change final message.
20446         (elint-get-top-forms): Use line-end-position.
20447         (elint-init-env): Use cadr.  Handle autoload, declare-function,
20448         and defalias.
20449         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
20450         (regexp-assoc): Remove unused function.
20451         (elint-top-form): Set elint-current-pos, to record the start of the
20452         top-level form, for compilation-mode.
20453         (elint-form): Trap errors in macro expansion.  Use dolist.
20454         (elint-unbound-variable): Use elint-builtin-variables and
20455         elint-autoloaded-variables.
20456         (elint-get-args): Use cadr, or.
20457         (elint-check-cond-form): Use dolist, cadr.
20458         (elint-check-condition-case-form): Doc fix.  Use cadr.
20459         Use elint-extra-errors.
20460         (elint-log): New function.
20461         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20462         Distinguish errors and warnings.
20463         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
20464         Use a bytecomp-style format.
20465         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
20466         (elint-get-log-buffer): Use compilation mode.  Disable undo.
20467         Don't truncate lines.
20468         (elint-initialize): Set builtin and autoloaded variable lists.
20469         Only process elint-unknown-builtin-args if non-nil.
20470         (elint-find-builtin-variables, elint-find-autoloaded-variables):
20471         New functions.
20472         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
20474 2009-07-22  Kevin Ryde  <user42@zip.com.au>
20476         * net/newst-backend.el (newsticker--parse-atom-1.0)
20477         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20478         (newsticker--parse-rss-1.0):
20479         * progmodes/idlwave.el (idlwave-mode):
20480         * progmodes/idlw-shell.el (idlwave-shell-mode):
20481         * progmodes/vera-mode.el (vera-mode):
20482         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20483         * progmodes/vhdl-mode.el (vhdl-mode):
20484         * textmodes/table.el (table-generate-source)
20485         (table--warn-incompatibility):
20486         Hyperlink urls in docstrings with URL `...'.
20488 2009-07-22  Glenn Morris  <rgm@gnu.org>
20490         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20491         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20492         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20493         Remove leading * from defcustom docs.
20495         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
20497         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20498         defcustom doc.
20499         (list-load-path-shadows): Optionally, just return shadows as a string.
20501         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20503 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
20505         * mail/rmailedit.el (rmail-edit-mode):
20506         Use auto-save-include-big-deletions.
20508         * mail/rmail.el (rmail-variables):
20509         Use auto-save-include-big-deletions.
20511         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20512         changes.
20514 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
20516         * calc/calc.el (calc-undo-length): New variable.
20517         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20519 2009-07-21  Richard Stallman  <rms@gnu.org>
20521         * files.el (auto-save-mode): Handle buffer-save-size = -2
20522         for toggling mode.
20524 2009-07-21  Glenn Morris  <rgm@gnu.org>
20526         * textmodes/ispell.el (ispell-looking-back): Update declaration.
20528         * calendar/todo-mode.el (calendar-current-date): Update declaration.
20530         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20531         silence compiler.  Instead...
20532         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20533         (ps-print-ensure-fontified): Update for above function name changes.
20535         * printing.el (pr-mh-get-msg-num, pr-mh-show)
20536         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20537         silence compiler.  Instead...
20538         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20539         (mh-show-buffer): Only define for compiler.
20540         (pr-mh-current-message): Update for above function name changes.
20542         * files.el (abort-if-file-too-large): Explicitly pass `filename'
20543         as an argument.
20544         (find-file-noselect, insert-file-1): Update for above change.
20546         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20548         * mail/mailclient.el (mailclient-send-it): Fix message.
20550         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20551         (edebug-eval): Check cl-debug-env is bound.
20552         (print-level, print-circle): Don't redefine built-in variables.
20554         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20555         (custom-print-vectors): Remove old comments from doc.
20557         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20558         (emerge-version): Make the variable an obsolete alias for the
20559         emacs-version variable.  Make the function obsolete.
20560         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20561         Emerge options, rather than merging in into the main Options menu.
20562         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
20563         and auto advance modes.  Disable edit/fast items when not relevant.
20565 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
20567         * term/vt420.el (terminal-init-vt420): Fix typo.
20569 2009-07-20  Sam Steingold  <sds@gnu.org>
20571         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20572         variable (removed from compile.el on 2004-03-11).
20574 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
20576         * files.el (hack-local-variables-filter): Fix last change.
20578 2009-07-19  Juri Linkov  <juri@jurta.org>
20580         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20581         (dir-local-variables-alist): New buffer-local variable.
20582         (hack-local-variables-filter): If variable is not dir-local,
20583         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20584         because file-local overrides dir-local.
20585         (c-postprocess-file-styles) <declare-function>:
20586         Remove obsolete declaration.
20587         (hack-dir-local-variables): Add dir-local variable/value pair to
20588         `dir-local-variables-alist' and remove duplicates.  Doc fix.
20590         * help-fns.el (describe-variable): Add information about
20591         file-local and dir-local variables.
20593 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
20595         * files.el (hack-local-variables-filter): Rewrite.
20597 2009-07-19  Glenn Morris  <rgm@gnu.org>
20599         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20600         Silence compiler by only defining on XEmacs.
20602         * international/mule.el (auto-coding-regexp-alist): Only match
20603         BABYL... at the start of buffer, not of lines.  (Bug#3790)
20605         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20606         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
20607         (cal-menu-context-mouse-menu): Doc fix.
20609         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20611         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
20613 2009-07-18  Juri Linkov  <juri@jurta.org>
20615         * info.el: Virtual Info keyword finder.
20616         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20617         (Info-finder-file): New variable.
20618         (Info-finder-find-file): New function.
20619         (finder-known-keywords, finder-package-info)
20620         (find-library-name, lm-commentary): Use defvar and
20621         declare-function to silence compiler warnings.
20622         (Info-finder-find-node): New function.
20623         (info-finder): New command.
20625         * subr.el (process-kill-buffer-query-function): New function.
20626         (add-hook)<kill-buffer-query-functions>: Add hook
20627         `process-kill-buffer-query-function'.
20629 2009-07-18  Alan Mackenzie  <acm@muc.de>
20631         * progmodes/cc-mode.el (c-before-hack-hook)
20632         (c-postprocess-file-styles): Give invocation of `c-set-style'
20633         DONT-OVERRIDE parameter of t.  Already set style variables will
20634         thus not be overridden by style settings given by `c-file-syle'.
20636         * files.el (hack-local-variables-filter): Remove entries with
20637         duplicate keys from `file-local-variables-alist'.
20639 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20641         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20642         x-set-selection if display-selections-p returns nil for the
20643         current frame.
20645 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
20647         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20649 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20651         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20652         Accept nil in addition to a regexp.
20653         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20654         Accept nil in addition to a regexp.
20655         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20656         buffers that have an associated file.  Handle nil values of
20657         desktop-buffers-not-to-save and desktop-files-not-to-save.
20658         (Bug#3833)
20660         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20661         (x-disown-selection-internal): New functions.
20663 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
20665         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20666         warning.
20667         (gdb-breakpoints-header): Move forward to avoid compiler warning.
20668         (gdb-make-header-line-mouse-map): Remove duplicate definition.
20670 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
20672         * simple.el (set-mark): Revert last change.
20674 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
20676         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20677         rendering of pngs is not possible instead of messaging a long
20678         description.
20680 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
20682         * w32-fns.el (x-selection-owner-p): New function.
20684         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20685         (mouse-yank-at-click, mouse-yank-primary):
20686         If select-active-regions is non-nil, deactivate the mark before
20687         insertion.
20689         * simple.el (deactivate-mark, set-mark): Only save selection if we
20690         own it.
20692 2009-07-17  Kenichi Handa  <handa@m17n.org>
20694         * case-table.el (describe-buffer-case-table): Fix for the case
20695         that KEY is a cons.
20697 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
20699         * vc-rcs.el (vc-rcs-find-file-hook):
20700         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20702 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
20704         * net/tramp.el (tramp-wait-for-output): Handle the case when
20705         commands do not return a newline but a null byte before the shell
20706         prompt.  (Bug#3858)
20708 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20710         * term/ns-win.el (ns-set-alpha): Don't declare.
20711         (ns-set-background-alpha): Remove function.
20713 2009-07-16  Kevin Ryde  <user42@zip.com.au>
20715         * emacs-lisp/copyright.el (copyright-update): Save match-data across
20716         y-or-n-p, for safety.
20718 2009-07-16  Richard Stallman  <rms@gnu.org>
20720         * files.el (auto-save-mode): If buffer-saved-size is -2,
20721         don't clobber it.
20723         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20724         (rmail-retry-ignored-headers): Add more uninteresting fields.
20726 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
20728         * net/rcirc.el (rcirc): Use history variables.
20729         (rcirc-server-name-history, rcirc-nick-name-history)
20730         (rcirc-server-port-history): New variables.
20732 2009-07-15  Kenichi Handa  <handa@m17n.org>
20734         * international/mule-cmds.el (set-language-environment-charset):
20735         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20736         ignore them.
20738         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20739         Delete unibyte-display.
20741 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20743         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20745 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20747         * simple.el (deactivate-mark): Optional argument FORCE.
20748         (set-mark): Use deactivate-mark.
20750         * info.el (Info-search): No need to check transient-mark-mode
20751         before calling deactivate-mark.
20753         * select.el (x-set-selection): Doc fix.
20754         (x-valid-simple-selection-p): Allow buffer values.
20755         (xselect--selection-bounds): Handle buffer values.
20756         Suggested by David De La Harpe Golden.
20758         * mouse.el (mouse-set-region, mouse-drag-track):
20759         Call copy-region-as-kill before setting the mark, to let
20760         select-active-regions work.
20762 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
20764         * simple.el (deactivate-mark): If select-active-regions is
20765         non-nil, copy the selection data into a string.
20766         (activate-mark): If select-active-regions is non-nil, set the
20767         selection to the current buffer.
20768         (set-mark): Update selection if select-active-regions is non-nil.
20770         * select.el (x-valid-simple-selection-p): Allow buffer values.
20772 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20774         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20775         and more featureful message-mode.
20777 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
20779         * select.el (x-set-selection): Doc fix.
20780         (x-valid-simple-selection-p): Disallow selection data consisting
20781         of a list or cons of integers, since that is not used.
20782         (xselect--selection-bounds, xselect--int-to-cons): New functions.
20783         (xselect-convert-to-string, xselect-convert-to-length)
20784         (xselect-convert-to-filename, xselect-convert-to-charpos)
20785         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20787 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
20789         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20790         output in -break-info command (Emacs bug #3794).
20792 2009-07-14  Glenn Morris  <rgm@gnu.org>
20794         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20795         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20796         (edebug-print-length, edebug-print-level, edebug-print-circle)
20797         (edebug-sit-for-seconds, edebug-view-outside)
20798         (edebug-bounce-point, edebug-set-global-break-condition)
20799         (edebug-Go-nonstop-mode, edebug-trace-mode)
20800         (edebug-Trace-fast-mode, edebug-continue-mode)
20801         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20802         (edebug-visit-eval-list): Doc fixes.
20804         * subr.el (def-edebug-spec): Doc fix.
20806 2009-07-14  Kenichi Handa  <handa@m17n.org>
20808         * international/characters.el: Fix setting of category ?C.
20810 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
20812         * term/ns-win.el (x-select-font): defalias x-select-font to
20813         ns-popup-font-panel instead of generate-fontset-menu.
20815 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
20817         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
20819 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
20821         * arc-mode.el (archive-find-type): Allow for a PK00 string before
20822         the PK\003\004 header (Bug#3770).
20824 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
20826         * pcomplete.el (pcomplete-comint-setup): Check for
20827         shell-dynamic-complete-filename too.
20829 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
20831         * simple.el (temporary-goal-column): Change the value for
20832         line-move-visual to a cons cell.
20833         (line-move-visual): Record or set the window hscroll, if
20834         necessary (Bug#3494).
20835         (line-move-1): Handle cons value of temporary-goal-column.
20837 2009-07-11  Kenichi Handa  <handa@m17n.org>
20839         * international/mule-diag.el (describe-character-set): Don't show
20840         width.
20842 2009-07-10  Sam Steingold  <sds@gnu.org>
20844         * progmodes/compile.el (compilation-mode-font-lock-keywords):
20845         Omake sometimes indents the errors it prints, so allow all
20846         regexps to start with spaces.
20848 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
20850         * cus-edit.el (customize-changed-options-previous-release):
20851         Bump value to 22.1.  (Bug#3804)
20853 2009-07-08  Sam Steingold  <sds@gnu.org>
20855         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20856         to be a cons cell (test . ignored-directory) to selectively ignore
20857         some directories depending on the location of the search.
20859 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
20861         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20862         remote user is root, on the local host.
20863         (tramp-local-host-p): Either the local user or the remote user
20864         must be root.  (Bug#3771)
20866 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20868         * progmodes/gdb-mi.el (gdb): Remove description of
20869         gdb-use-separate-io-buffer.
20870         (menu): Don't allow toggling of or enable
20871         gdb-use-separate-io-buffer from menubar.
20873 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20875         * mail/unrmail.el (unrmail): Make sure the message ends with two
20876         newlines (Bug#3769).
20878 2009-07-08  Glenn Morris  <rgm@gnu.org>
20880         * calendar/calendar.el (calendar-current-date): Rework previous change.
20882 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
20884         * calendar/calendar.el (calendar-current-date):
20885         Add an optional argument giving an offset from today.
20887 2009-07-08  Glenn Morris  <rgm@gnu.org>
20889         * tutorial.el (tutorial--describe-nonstandard-key):
20890         Adjust the message for when a key has been unbound.
20891         (help-with-tutorial): Hide the arch-tag.
20893 2009-07-08  Kenichi Handa  <handa@m17n.org>
20895         * international/fontset.el (setup-default-fontset): For each
20896         script, append (not set) font-specs.
20898         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20899         docstring.
20901 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20903         * progmodes/gdb-mi.el (gdb-init-1): Move sending
20904         -data-list-register-names to ...
20905         (gdb-starting): ... here because GDB 7.0 requires execution to
20906         have started when using this MI command.
20907         (gdb-set-header): New function to distinguish select and
20908         unselected tabs in gdb buffers.
20909         (gdb-propertize-header): New macro that uses gdb-set-header.
20910         (gdb-breakpoints-header, gdb-locals-header): Use it.
20911         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20913 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
20915         * Makefile.in (ELCFILES): Remove fadr.elc.
20917 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
20919         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20920         may contain frame information, so `string-match' should be used.
20921         (gdb-update): Disassembly is invalidated through
20922         `gdb-get-selected-frame'.
20923         (gdb-pad-string): New function to pad string with spaces.
20924         (gdb-invalidate-disassembly): Invalidate only if the buffer
20925         exists.
20926         (gdb-disassembly-handler-custom): Column alignment.
20927         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20928         placing new ones.
20929         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20930         end of line, too.
20931         (gdb-frame-handler): Match convention to for disassembly buffer
20932         mode name.
20933         (gdb-stack-list-frames-handler): Rewritten without regexps.
20934         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20935         not highlight breakpoints without line information.
20936         (gdb-input): Add trailing newline to command.
20938         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20939         buffer properly.
20940         (gdb-breakpoints-list-handler-custom): Replacement for
20941         `gdb-break-list-handler'.  Using real parser instead of regexps
20942         now.
20943         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20944         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20945         to place breakpoints.
20946         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20947         functions.
20948         (gdb-disassembly-handler-custom): Show overlay arrow.
20949         (gdb-disassembly-place-breakpoints): Show breakpoints in
20950         disassembly buffer.
20951         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20952         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20953         instead of parsing breakpoints buffer.  Fixed old menu references
20954         in `gud-menu-map'.
20956         * fadr.el: Remove.
20958         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20959         (gdb-memory-address): New variable which holds top address of
20960         memory page shown in memory buffer.
20961         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20962         New customization variables.
20963         New functions:
20964         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20965         display the memory buffer.
20966         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20967         buffer display parameters.
20968         (def-gdb-memory-format, gdb-memory-format-binary)
20969         (gdb-memory-format-octal, gdb-memory-format-unsigned)
20970         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20971         Functions for setting memory buffer format.
20972         (gdb-memory-unit-word, gdb-memory-unit-halfword)
20973         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20974         unit size used in memory buffer.
20975         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20976         Switch to next/previous page of memory buffer.
20977         Now using (bindat-get-field) instead of fadr functions.
20979 2009-07-07  Sam Steingold  <sds@gnu.org>
20981         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20982         non-top-level files.
20984 2009-07-07  Kenichi Handa  <handa@m17n.org>
20986         * international/mule-cmds.el (reset-language-environment):
20987         Put the highset priority to the charset iso-8859-1.
20989 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20991         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20992         to the end of the line when locating the block (Bug#700).
20994 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
20996         * net/tramp.el (tramp-handle-write-region): Flush file properties
20997         in case of short track.
20999 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
21001         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21002         Coded custom representation of verilog error regular expressions
21003         to work with Emacs-22's new format.
21004         (verilog-error-regexp-xemacs-alist): Coded custom representation
21005         of verilog error regular expressions to work with XEmacs format.
21006         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21007         error recognition into XEmacs.
21008         (verilog-error-regexp-add-emacs): Hook routine to install verilog
21009         error recognition into Emacs-22.
21011 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21013         * woman.el: Remove stand-alone closing parentheses.
21014         (woman-file-name, woman2-format-paragraphs)
21015         (woman-leave-blank-lines): Code cleanup.
21016         (woman-use-own-frame): Change default to nil.
21017         (woman-italic, woman-bold, woman-unknown, woman-addition):
21018         Change defaults to inherit from default faces.
21019         (woman2-process-escapes): Consume the newline after a stand-alone
21020         filler character (Bug#3651).
21022 2009-07-06  Glenn Morris  <rgm@gnu.org>
21024         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21025         (top-level): Move provide to the end.
21026         (ffap): Remove defunct URL from custom group.
21028         * subr.el (eval-after-load): Doc fix.
21030 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
21032         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21033         `calc-embedded-word' is called twice.
21035 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21037         * files.el (find-alternate-file-other-window, find-alternate-file):
21038         Obey confirm-nonexistent-file-or-buffer.
21040 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
21042         * dired-aux.el (dired-show-file-type): Handle remote files.
21044 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
21046         * desktop.el (desktop-globals-to-save):
21047         Add file-name-history (Bug#2750).
21049 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
21051         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21053 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
21055         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21056         property on entire argument since this is what eshell-lisp-command
21057         expects.
21059 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
21061         * net/tramp-gvfs.el (tramp-gvfs-methods)
21062         (tramp-gvfs-zeroconf-domain)
21063         (tramp-bluez-discover-devices-timeout): Add version flag.
21064         (tramp-gvfs-handler-mounted-unmounted)
21065         (tramp-gvfs-connection-mounted-p): Polish handling of
21066         incompatibilities between GVFS 0.2 and 1.0.
21068 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
21070         * cus-start.el (all): Add make-pointer-invisible.
21072 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
21074         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21075         formatted correctly.
21077 2009-07-02  Juri Linkov  <juri@jurta.org>
21079         * info.el: Virtual Info files and nodes.
21080         (Info-virtual-files, Info-virtual-nodes): New variables.
21081         (Info-current-node-virtual): New variable.
21082         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21083         New functions.
21084         (Info-file-supports-index-cookies): Use Info-virtual-file-p
21085         to check for a virtual file instead of checking a fixed list
21086         of node names.
21087         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21088         instead of ad-hoc processing of "dir" and (apropos history toc).
21089         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21090         instead of ad-hoc processing of "dir" and (apropos history toc).
21091         Reread a file when moving from a virtual node.
21092         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21093         (Info-directory-toc-nodes, Info-directory-find-file)
21094         (Info-directory-find-node): New functions.
21095         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21096         (Info-history): Move part of code to
21097         `Info-history-find-node'.
21098         (Info-history-toc-nodes, Info-history-find-file)
21099         (Info-history-find-node): New functions.
21100         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21101         (Info-toc): Move part of code to `Info-toc-find-node'.
21102         (Info-toc-find-node): New function.
21103         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
21104         the current Info file name to references because now the node
21105         "*TOC*" belongs to the same Info manual.
21106         (Info-toc-build): Rename from `Info-build-toc'.
21107         (Info-toc-nodes): Rename input argument `file' to `filename'.
21108         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21109         instead of ad-hoc processing of ("dir" apropos history toc).
21110         (Info-index-nodes): Use Info-virtual-file-p
21111         to check for a virtual file instead of checking a fixed list
21112         of node names.
21113         (Info-index-node): Add check for `Info-current-node-virtual'.
21114         Raise `save-match-data' higher up the tree to contain
21115         `search-forward' too (bug fix).
21116         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21117         (Info-virtual-index-nodes): New variable.
21118         (Info-virtual-index-find-node, Info-virtual-index): New functions.
21119         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21120         (Info-apropos-file, Info-apropos-nodes): New variables.
21121         (Info-apropos-toc-nodes, Info-apropos-find-file)
21122         (Info-apropos-find-node, Info-apropos-matches): New functions.
21123         (info-apropos): Move part of code to `Info-apropos-find-node' and
21124         `Info-apropos-matches'.
21125         (Info-mode-map): Bind "I" to `Info-virtual-index'.
21126         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21127         for a virtual file instead of checking a fixed list of node names.
21129         * simple.el (async-shell-command): New command.
21131         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21133         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21134         instead of `mount-info'.
21136 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
21138         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21139         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21141 2009-07-02  Kenichi Handa  <handa@m17n.org>
21143         * international/mule.el (set-keyboard-coding-system): Force *-unix
21144         coding-system to avoid eol conversion.
21146 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
21148         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21149         Add handler for `process-file', `shell-command' and
21150         `start-file-process'.
21151         (tramp-gvfs-handle-shell-command)
21152         (tramp-gvfs-handle-start-file-process)
21153         (tramp-gvfs-handle-process-file): New defuns.
21154         (tramp-synce-list-devices): Simplify check for existence of property.
21156 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
21158         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21160 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
21162         * language/korean.el (set-language-info-alist): Add korean-cp949,
21163         cp949 to spec.
21165 2009-07-01  Kenichi Handa  <handa@m17n.org>
21167         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21169         * international/encoded-kb.el: Deleted.
21171         * international/mule.el (set-keyboard-coding-system): Perform the
21172         necessary setup here instead of calling encoded-kbd-setup-display.
21174 2009-07-01  Glenn Morris  <rgm@gnu.org>
21176         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21178 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
21180         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
21182 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
21184         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21185         Handle also the 'rename case, when setting file modes.  (Bug#3712)
21186         (tramp-default-file-modes): Remove execute permissions.
21188         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21189         (top): Add a default for "synce" in `tramp-default-user-alist'.
21190         Add completion function for "synce" method.
21191         (tramp-hal-service, tramp-hal-path-manager)
21192         (tramp-hal-interface-manager, tramp-hal-interface-device):
21193         New defconst.
21194         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21195         (tramp-synce-list-devices, tramp-synce-parse-device-names):
21196         New defuns.
21198         * net/trampver.el: Update release number.
21200 2009-06-30  Kenichi Handa  <handa@m17n.org>
21202         * international/fontset.el (setup-default-fontset): Add CJK fonts
21203         for symbols and the other miscellaneous characters.
21205         * language/korea-util.el (setup-korean-environment-internal):
21206         Make char-width-table suitable for Korean environments.
21207         (exit-korean-environment): Cancel above.
21209         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21210         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21211         setup-function to make char-width-table suitable for respective
21212         environments, and an exit-function to cancel that.
21214         * language/japan-util.el (setup-japanese-environment-internal):
21215         Call use-cjk-char-width-table with arg `ja_JP'.
21217         * international/characters.el (cjk-char-width-table): Delete it.
21218         (cjk-char-width-table-list): New variable.
21219         (use-cjk-char-width-table): New arg local-name.
21220         (use-default-char-width-table): Fix for the case that Emacs is
21221         already using the default char-width-table.
21223 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
21225         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21226         modes mandatory.  (Bug#3712)
21228 2009-06-29  Alan Mackenzie  <acm@muc.de>
21230         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21231         correction between the visible width of TABs and their number of bytes.
21233 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
21235         * server.el (server-buffer-done): Prevent kill-buffer from
21236         prompting by clearing the buffer modification flag (Bug#3696).
21238 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
21240         * progmodes/verilog-mode.el (verilog-beg-of-statement)
21241         (verilog-endcomment-reason-re): Support unique case and priority case.
21242         (verilog-basic-complete-re): Support localparam lineup.
21243         (verilog-beg-of-statement-1): Fix for robustness, unique case.
21244         (verilog-set-auto-endcomments): Fix for unique case, always_comb
21245         commenting.
21246         (verilog-leap-to-case-head): Now support *nested* unique &
21247         priority case statements.
21248         (verilog-auto-lineup): Make just declarations the default (as it
21249         had been).
21250         (verilog-leap-to-case-head): Support priority/unique case statements.
21251         (verilog-auto-lineup): Rework to give users radio buttons to
21252         select the various styles of automatic lineup.
21253         (verilog-error-regexp-alist): Rework to support the XEmacs style
21254         of error regular expressions from compilers, lint tools &
21255         simulators.  Note that GNU Emacs has made it impossible for a mode
21256         to load such things.
21257         (electric-verilog-terminate-line, verilog-indent-declaration)
21258         (verilog-auto-wiure): Rework for radio button selection of
21259         auto-lineup selection of specification of auto lineup.
21260         (verilog-beg-of-statement-1): Redesign to support proper operation
21261         in additional code, based on testing with auto-lineup.
21262         (verilog-calculate-indent, assignments & declarations)
21263         (verilog-backward-token): Enhance to support auto-lineup of
21264         assignments & declarations.
21265         (verilog-in-directive-p, verilog-at-struct-p): New function for
21266         easy test of whether we are.
21267         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21268         to support safe execution at almost anyline.
21269         (verilog-calc-1): Properly support indenting deep inside generate
21270         blocks.
21271         (verilog-init-font): Remove definition & use of verilog-init-font,
21272         as it is redundant with font-lock-defaults.
21273         (verilog-mode): Alter the definition of verilog-font-lock-defaults
21274         to avoid circular calls if syntax-ppss is a function (as is the
21275         case now in 22.x GNU Emacs) as that function would sometimes call
21276         itself, leading to (nearly) infinite recursion.
21277         (verilog-ovm-begin-re, verilog-ovm-end-re)
21278         (verilog-ovm-statement-re, verilog-leap-to-head)
21279         (verilog-backward-token): Add support for OVM macros.  Some are
21280         complete statements, and others open and close scopes like begin
21281         and end.
21282         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21283         (verilog-defun-level-generate-only-re): Really fix the defun-list
21284         compilation issue.
21285         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21286         coverpoint, constraint and cross statements.
21287         (verilog-defun-level-list, verilog-generate-defun-level-list)
21288         (verilog-all-defun-level-list): Redo these specifications - it is
21289         too hard to support eval-when compile aggregation of lists also
21290         built at when-compile time.
21291         (verilog-defun-level-list): Place defconsts of variables used in
21292         building regular expressions which are built in eval-when-compile
21293         bodies in the same eval-when-compile body to facilitate compile
21294         without load.
21295         (verilog-beg-block-re-ordered): Support indenting
21296         virtual/protected tasks and functions.
21297         (verilog-defun-level-list, verilog-in-generate-region-p)
21298         (verilog-backward-ws&directives, verilog-calc-1): Speed up
21299         indentation of some module items (generate items).
21300         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21301         across virtual/protected tasks and functions.
21303 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
21305         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21306         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
21307         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21308         in concatenations.  Reported by Yishay Belkind.
21309         (verilog-auto-ascii-enum): Support one-hot state machines in
21310         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
21311         (verilog-auto-inst, verilog-auto-inst-port): Include interface
21312         modport in AUTOINST and add vl-modport for users.
21313         Reported by David Rogoff.
21314         (verilog-auto-inout-module, verilog-auto-inst)
21315         (verilog-decls-get-interfaces, verilog-insert-definition)
21316         (verilog-insert-one-definition, verilog-read-decls)
21317         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21318         (verilog-sig-modport, verilog-signals-combine-bus)
21319         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21320         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21321         Suggested by David Rogoff.
21322         (verilog-repair-open-comma): Fix non-insertion of comma when
21323         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
21324         (verilog-make-width-expression): Simplify [A-1:0] expression
21325         widths to just {A{1'b0}}.
21326         (verilog-mode): Cleanup checkdoc warnings.
21327         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21328         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21329         inputs/outputs or data type.  Suggested by Vasu Kandadi.
21330         (next-error-last-buffer): Fix byte-compiler warning.
21331         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21332         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21333         or shell command text during AUTO expansion.  Suggested by Tad Truex.
21334         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21335         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21336         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21337         in AUTOINOUT.  Reported by Matthew Lovell.
21338         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21339         causing use of <= assignments.  Reported by Alex Reed.
21340         (verilog-read-decls): Fix triand, trior, wand, wor to be
21341         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
21342         (verilog-extended-complete-re): Support import "DPI-C" functions.
21343         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21344         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
21345         (verilog-insert-date, verilog-insert-year)
21346         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21347         Windows systems.  Reported by Michael Potts.
21348         (verilog-read-module-name): Fix AUTOINST when the child module
21349         declaration's name is a tick define.  Reported by Elliot Mednick.
21350         (verilog-read-decls): Fix V2K parameter bit subscripts getting
21351         passed to next parameter's definition.  Reported by Bruce T.
21352         (verilog-read-decls): Fix detecting "parameter int" when using
21353         AUTOINSTPARAM.  Reported by Bruce T.
21354         (verilog-goto-defun): Fix goto not finding modules unless first
21355         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
21356         (verilog-mode): Expand -f flag arguments on entry to mode so
21357         verilog-goto-defun will work.  Reported by Lawrence Butcher.
21358         (verilog-getopt): Expand environment variables in -f file
21359         arguments.  Suggested by Lawrence Butcher.
21360         (verilog-set-define): Fix "Symbol's value as variable is void"
21361         when reading enumerations.
21362         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21363         Suggested by Stephen Peltan.
21364         (verilog-read-defines): Fix reading of enumerations in include
21365         files.  Reported by Steve Peltan.
21367 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21369         * files.el (trash-directory): Fix defcustom type.
21371 2009-06-28  Juri Linkov  <juri@jurta.org>
21373         * help-fns.el (describe-function-1): Correctly locate adviced
21374         functions in hyperlink (Bug#2438).
21376 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
21378         * files.el (trash-directory): Change default to nil.
21379         (move-file-to-trash): If trash-directory is nil and
21380         system-move-file-to-trash is unbound, perform freedesktop-style
21381         trashing.
21383 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21385         * files.el (move-file-to-trash): Add freedesktop trash
21386         support (Bug#973).
21388 2009-06-28  Glenn Morris  <rgm@gnu.org>
21390         * autorevert.el (global-auto-revert-non-file-buffers)
21391         (global-auto-revert-mode): Doc fixes.
21393 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
21395         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21397 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
21399         * faces.el (x-handle-named-frame-geometry): Ensure that we have
21400         opened an X connection before calling x-get-resource (Bug#3194).
21402         * play/doctor.el: Remove reference to obsolete website.
21403         (make-doctor-variables): Correct grammar mistake (Bug#2633).
21405 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
21407         Remove find-file-not-found-hook VC method.  (Bug#2757)
21408         * vc-hooks.el (vc-file-not-found-hook)
21409         (vc-default-find-file-not-found-hook): Remove functions.
21410         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21411         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21412         * vc.el:
21413         * vc-hg.el:
21414         * vc-git.el: Do not mention find-file-not-found-hook VC method.
21416 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
21418         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21419         compatibility function for `looking-back'.
21421         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21422         Use `ispell-looking-back'.
21424 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
21426         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21427         rather than `filename'.
21429 2009-06-23  Miles Bader  <miles@gnu.org>
21431         * face-remap.el (text-scale-set): New function.
21433 2009-06-23  Glenn Morris  <rgm@gnu.org>
21435         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21437         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21439         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21441         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21443         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21444         Simplify Persian conditionals.
21446         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21447         variable `filename'.
21449         * comint.el (comint-insert-input): Doc fix.
21451         * Makefile.in (ELCFILES): Fix typo in previous change.
21453 2009-06-23  Miles Bader  <miles@gnu.org>
21455         * cus-start.el: Add entry for `recenter-redisplay'.
21457 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21459         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21460         Add an optional argument for the backend, use it instead of
21461         calling vc-backend.
21462         (vc-mode-line): Add an optional argument for the backend.
21463         Pass the backend to vc-state and vc-working-revision.  Move code for
21464         special handling for vc-state being a buffer to ...
21466         * vc-rcs.el (vc-rcs-find-file-hook):
21467         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
21469         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21470         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21471         vc-stay-local-p and vc-mode-line calls.
21473         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21474         (vc-cvs-diff, vc-cvs-annotate-command)
21475         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21476         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21477         vc-mode-line calls.
21479         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21480         direct comparison.
21481         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21482         backend when calling vc-mode-line.
21483         (vc-register): Do not create a closure for calling the vc register
21484         function, call it directly.
21486 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21488         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21489         to make it obvious item can be clicked.
21491         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21493 2009-06-23  Kenichi Handa  <handa@m17n.org>
21495         * language/korea-util.el (korean-key-bindings): Change the binding
21496         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
21497         same command.
21499 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
21501         Sync with Tramp 2.1.16.
21503         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21505         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
21506         when a loading of a package fails.  Completion function for rsync
21507         is `tramp-completion-function-alist-ssh'.
21508         (all): Replace all calls of `split-string' and
21509         `tramp-split-string' by `tramp-compat-split-string'.
21510         (tramp-default-method): Use `tramp-compat-process-running-p'.
21511         (tramp-default-proxies-alist): Allow also Lisp forms.
21512         (tramp-remote-path): Add choice "Private Directories".
21513         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21514         (tramp-domain-regexp): Allow also "-", "_" and ".".
21515         (tramp-end-of-output): Remove newlines, and add "$" at the end.
21516         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21517         (tramp-debug-message): Insert header line in debug buffer.
21518         (tramp-handle-directory-files-and-attributes-with-stat):
21519         Care about filenames with spaces, or starting with "-".
21520         (tramp-handle-dired-uncache): New defun.
21521         (tramp-handle-insert-directory): Don't flush the directory from
21522         cache, this is handled by `dired-uncache' now.
21523         (tramp-handle-insert-file-contents): Improve error handling.
21524         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21525         Quote `tramp-end-of-output'.
21526         (tramp-action-password): Improve trace message.
21527         (tramp-check-for-regexp): Both echoes must be present, before removing.
21528         (tramp-open-connection-setup-interactive-shell): Trace coding system.
21529         (tramp-compute-multi-hops): Eval cons cells of
21530         `tramp-default-proxies-alist'.
21531         (tramp-maybe-open-connection): Use the same command pattern for
21532         first hop and further hops.
21533         (tramp-wait-for-output): Remove handling of newlines.
21534         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21535         (tramp-split-string): Remove function.  It is handled in
21536         tramp-compat now.
21538         * net/tramp-cmds.el (tramp-bug):
21539         Recommend `tramp-cleanup-all-connections' in the bug mail.
21541         * net/tramp-compat.el (tramp-compat-split-string)
21542         (tramp-compat-process-running-p): New defuns.
21544         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21545         for `dired-uncache'.
21547         * net/tramp-gvfs.el: New package.
21549         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21550         Add handler for `dired-uncache'.
21551         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21553         * net/trampver.el: Update release number.  Make version check fit
21554         for SXEmacs 22.
21556 2009-06-22  Jim Meyering  <meyering@redhat.com>
21558         Automatically handle .xz suffix (XZ-compressed files), too.
21559         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21560         XZ is the successor to LZMA: <http://tukaani.org/xz/>
21562 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
21563             Nick Roberts  <nickrob@snap.net.nz>
21565         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21566         repository (http://sphinx.net.ru/hg/gdb-mi/).
21568 2009-06-22  Glenn Morris  <rgm@gnu.org>
21570         * files.el (dir-locals-collect-mode-variables): Allow for any number of
21571         `mode' and `eval' entries.  (Bug#3430)
21573         * Makefile.in (ELCFILES): Add fadr.elc.
21575         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21576         differing behavior of \n and ^ in strings.  (Bug#3385)
21578         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21580         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21581         property.
21582         (lisp-indent-function): Make it a defcustom.
21584 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
21586         * progmodes/gdb-ui.el: Replace with ...
21587         * progmodes/gdb-mi.el: ... this file.
21588         * progmodes/gud.el: Modify for gdb-mi.el.
21590 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
21592         * fadr.el: New file.
21594 See ChangeLog.14 for earlier changes.
21596 ;; Local Variables:
21597 ;; coding: utf-8
21598 ;; End:
21600   Copyright (C) 2009-2011  Free Software Foundation, Inc.
21602   This file is part of GNU Emacs.
21604   GNU Emacs is free software: you can redistribute it and/or modify
21605   it under the terms of the GNU General Public License as published by
21606   the Free Software Foundation, either version 3 of the License, or
21607   (at your option) any later version.
21609   GNU Emacs is distributed in the hope that it will be useful,
21610   but WITHOUT ANY WARRANTY; without even the implied warranty of
21611   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21612   GNU General Public License for more details.
21614   You should have received a copy of the GNU General Public License
21615   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.