Minor idlwave change.
[emacs.git] / lisp / ChangeLog
blobaaab0c660c563544e1e2af39f6f3a133d586de2e
1 2010-11-06  Glenn Morris  <rgm@gnu.org>
3         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4         (idlwave-study-twins): Prefix dynamic local `class'.
5         (idlwave-routine-twin-compare): Update for above name change.
7         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
8         Use boundp tests to silence compiler.  Update for changed name of
9         bytecomp-filename variable.
11         * emulation/viper-cmd.el (viper-read-string-with-history):
12         Prefix dynamic local `initial'.
13         (viper-minibuffer-standard-hook): Update for above name change.
15         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
16         (elint-init-form): Update for above name change.
18         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
19         local variables `cbeg' and `cend' a prefix.
20         (mail-extr-voodoo): Update for above name change.
22         * textmodes/reftex-toc.el (reftex-toc-do-promote)
23         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
24         (reftex-toc-promote-action): Doc fix.
26         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
27         `prompt', `data' a prefix.
28         (reftex-select-post-command-hook, reftex-select-callback)
29         (reftex-select-mouse-accept, reftex-select-read-cite):
30         Update for above name changes.
32         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
33         `refstyle' to reftex-refstyle.
34         (reftex-offer-label-menu): Update for above name change.
35         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
36         `refstyle' name change.
38         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
39         with with-current-buffer.
40         (diff, template): Give dynamic local variables a prefix.
41         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
42         (emerge-line-number-in-buf): Update for above name change.
43         (emerge-combine-versions-internal): Rename local `template' to
44         emerge-combine-template.
45         (emerge-combine-versions-edit): Update for above name change.
47 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
49         * textmodes/reftex-cite.el
50         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
51         entries with whitespace after \bibitem.
52         (reftex-create-bibtex-file): Match entries containing numbers and
53         symbol constituents.  Make sure that entries with whitespace at
54         various places are found.
56 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
58         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
60 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
62         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
64 2010-11-05  Glenn Morris  <rgm@gnu.org>
66         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
67         (woman2-roff-buffer): Give local variable `request' a prefix.
68         (woman0-macro): Rename argument `request' in the same way.
69         (woman-request): New name for `request' dynamic variable.
70         (woman-unquote, woman-forward-arg): Update for above name change.
71         (woman1-roff-buffer): Give local variable `unquote' a prefix.
72         (woman1-unquote): New name for `unquote' dynamic variable.
73         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
74         (woman-translations): Rename from `translations'.  No longer global.
75         (woman2-tr, woman-translate): Update for above name change.
76         (woman-translate): Check for bound variable.
77         (woman2-roff-buffer): Give local variable `translations' a prefix.
79         * play/doctor.el: Give all local variables a prefix.  Update callers.
80         (doc$, doctor-put-meaning): Use backquote.
82         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
83         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
85         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
86         variables bytes, ptr, op a prefix.
87         (disassemble-offset): Update for above change.
89 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
91         * emacs-lisp/package.el (package-unpack): Remove no-op.
92         (package--builtins, package--dir): Doc fix.
93         (package-activate-1, package-activate, package-install)
94         (package-compute-transaction): Fix error message.
95         (package-delete): Use delete-directory.  Omit system packages.
96         (package-initialize): Set package-alist to nil first.
97         (package-menu-mark-delete, package-menu-mark-install): Don't add
98         symbols that are inconsistent with the package state.
99         (package-menu-execute): Perform deletions and installations as
100         single batch operations.
102 2010-11-03  Glenn Morris  <rgm@gnu.org>
104         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
105         (props): Remove unnecessary declaration.
107         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
108         set-process-query-on-exit-flag.
110         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
111         (reftex-toc-do-promote): Remove unused local `mpos'.
112         (reftex-toc-restore-region): Make `mpos' local to this function.
114         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
116         * play/landmark.el (lm-losing-threshold): Correct spelling.
117         (lm-human-plays): Use new name.
119         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
120         (gomoku-human-plays): Use new name.
122         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
123         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
124         (gomoku-score-trans-table, gomoku-winning-threshold)
125         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
127 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
129         * emacs-lisp/package.el: Don't put built-in packages in
130         package-alist, to avoid loading inefficiencies.
131         (package-built-in-p): Make VERSION optional, and treat it as a
132         minimum acceptable version.
133         (package-activate): Search separately for built-in packages.  Emit
134         a warning if a dependency fails.
135         (define-package): Handle most common case, where there is no
136         obsolete package, first.
137         (package-compute-transaction): Print required version in error.
138         (package--initialized): New variable.
139         (list-packages): Use it.
140         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
141         built-in packages in packages-alist; keep it separate.  Set
142         package--initialized.
143         (describe-package): Avoid activating packages as a side-effect.
144         Search separately for built-in packages.
145         (describe-package-1): Handle the case where an elpa package is
146         simultaneously built-in and available/installed.
147         (package-installed-p, package--generate-package-list): Search
148         separately for built-in packages.
149         (package-load-descriptor): Doc fix.
151 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
153         * progmodes/perl-mode.el (perl-syntax-propertize-function):
154         Handle __DATA__ and __END__.
156 2010-11-02  Noah Friedman  <friedman@splode.com>
158         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
159         nil, do not ask to recompile files that are not already compiled,
160         and do not recompile them.
162 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
164         * emacs-lisp/package.el (package-initialize): Ensure that
165         obsoleted built-in packages are not in package-activated-list
166         during activation.
167         (describe-package-1): Make the "installed" status override
168         "built-in".
170 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
172         * subr.el (version-separator, version-regexp-alist): Remove '*'
173         from docstring.
174         (version-list-<=, version<=, version=): Doc fix.
176 2010-11-01  Kenichi Handa  <handa@m17n.org>
178         * faces.el (glyphless-char): Inherit underline for tty.
180 2010-11-01  Kenichi Handa  <handa@m17n.org>
182         Implement various display methods for glyphless characters.
184         * international/characters.el (char-acronym-table): New variable.
185         (glyphless-char-control): New variable.
186         (update-glyphless-char-display): New funciton.
188         * faces.el (glyphless-char): New face.
190 2010-11-01  Glenn Morris  <rgm@gnu.org>
192         * calendar/holidays.el (general-holidays, oriental-holidays)
193         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
194         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
195         the definitions of their targets.
197         * emacs-lisp/smie.el (smie): New custom group.
198         (smie-blink-matching-inners, smie-indent-basic): Add :group.
200         * faces.el (xw-defined-colors, x-setup-function-keys):
201         * mouse-sel.el (x-select-text):
202         * term/w32console.el (x-setup-function-keys): Update declarations.
204         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
206         * textmodes/ispell.el (comment-add): Declare.
208         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
209         Declare.
211         * info.el (finder-keywords-hash, package-alist): Declare.
213 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
215         * finder.el (finder-compile-keywords): Don't use intern-soft,
216         since package names may not yet exist in the obarray.
218 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
220         * vc/vc-arch.el (vc-arch-checkin):
221         * vc/vc-cvs.el (vc-cvs-checkin):
222         * vc/vc-mtn.el (vc-mtn-checkin):
223         * vc/vc-rcs.el (vc-rcs-checkin):
224         * vc/vc-sccs.el (vc-sccs-checkin):
225         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
226         since 2010-04-21 commit by Stefan Monnier.
228 2010-11-01  Glenn Morris  <rgm@gnu.org>
230         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
232         * startup.el (package-enable-at-startup, package-initialize):
233         Silence compiler.
235         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
236         Silence compiler.
238 2010-10-31  Julien Danjou  <julien@danjou.info>
240         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
241         (byte-recompile-directory):
242         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
243         Use `byte-recompile-file'.
245 2010-10-31  Glenn Morris  <rgm@gnu.org>
247         * cus-start.el: Handle standard values via a keyword.
248         Only set version property if specified.
249         (cursor-in-non-selected-windows, menu-bar-mode)
250         (tool-bar-mode, show-trailing-whitespace):
251         Do not specify standard values.
252         (transient-mark-mode, temporary-file-directory): Use :standard.
254 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
256         * term/x-win.el (x-get-selection-value): New function that gets
257         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
259 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
261         * net/tramp.el (tramp-handle-insert-file-contents): For root,
262         preserve owner and group when editing files.  (Bug#7289)
264 2010-10-31  Glenn Morris  <rgm@gnu.org>
266         * speedbar.el (speedbar-mode):
267         * play/fortune.el (fortune-in-buffer, fortune):
268         * play/gomoku.el (gomoku-mode):
269         * play/landmark.el (lm-mode):
270         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
271         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
273         * select.el (x-selection): Mark it as an obsolete alias.
275 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
277         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
278         major-mode (bug#7284).
280 2010-10-31  Glenn Morris  <rgm@gnu.org>
282         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
283         rather than just an unused variable that inherits from the real one.
285 2010-10-31  Alan Mackenzie  <acm@muc.de>
287         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
288         This fixes bug #7185.
290 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
292         * startup.el (command-line): Search for package directories, and
293         don't load package.el if none are found.
295         * emacs-lisp/package.el (describe-package, list-packages): Call
296         package-initialize if it has not been called yet.
298 2010-10-30  Alan Mackenzie  <acm@muc.de>
300         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
301         which fontifies the tail of an enum.
302         (c-basic-matchers-after): Insert a call to the above new function.
303         This fixes bug #7264.
305 2010-10-30  Glenn Morris  <rgm@gnu.org>
307         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
308         tool-bar-mode, transient-mark-mode.  (Bug#7306)
309         Include the :set property in the dumped Emacs.
311 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
313         SMIE: change indent rules format, improve smie-setup.
314         * emacs-lisp/smie.el (smie-precs-precedence-table)
315         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
316         Mark them pure so the tables gets built at compile time.
317         (smie-bnf-precedence-table): Store the closer-alist in the table.
318         (smie-prec2-levels): Preserve the closer-alist.
319         (smie-blink-matching-open): Be more forgiving in case of indentation.
320         (smie-hanging-p): Rename from smie-indent--hanging-p.
321         (smie-bolp): Rename from smie-indent--bolp.
322         (smie--parent, smie--after): New dynamic vars.
323         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
324         (smie-indent-rules): Remove.
325         (smie-indent--offset-rule): Remove fun.
326         (smie-rules-function): New var.
327         (smie-indent--rule): New fun.
328         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
329         (smie-indent-exps): Use it.
330         (smie-setup): Setup paren blinking; add keyword args for token
331         functions; extract closer-alist from op-levels.
332         (smie-indent-debug-log): Remove var.
333         (smie-indent-debug): Remove fun.
334         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
335         (prolog-smie-rules): New fun to replace it.
336         (prolog-mode-variables): Simplify.
337         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
338         it's setup automatically.
339         (octave-smie-indent-rules): Remove.
340         (octave-smie-rules): New fun to replace it.
341         (octave-mode): Simplify.
343 2010-10-29  Glenn Morris  <rgm@gnu.org>
345         * files.el (temporary-file-directory): Remove (already defined in C).
346         * cus-start.el: Add temporary-file-directory.
348         * abbrev.el (abbrev-mode):
349         * composite.el (auto-composition-mode):
350         * menu-bar.el (menu-bar-mode):
351         * simple.el (transient-mark-mode):
352         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
353         that they do not define the associated variables twice.
354         * simple.el (transient-mark-mode): Remove defvar.
355         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
356         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
357         Handle multiple groups, and also custom-delayed-init-variables.
358         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
360 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
362         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
363         (pcase-if): Add one minor optimization.
364         (pcase-split-equal): Rename from pcase-split-eq.
365         (pcase-split-member): Rename from pcase-split-memq.
366         (pcase-u1): Add strings to the member optimization.
367         Add `guard' variant of predicates.
368         (pcase-q1): Add string patterns.
370 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
372         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
374 2010-10-28  Glenn Morris  <rgm@gnu.org>
376         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
377         Move menu-bar related settings to ../menu-bar.el.
378         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
379         Move ns-specific settings here from term/ns-win.el.
381         * simple.el (x-selection-owner-p): Remove unused declaration.
383 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
385         * minibuffer.el (completion-cycling): New var (bug#7266).
386         (minibuffer-complete, completion--do-completion):
387         Use completion--flush-all-sorted-completions.
388         (minibuffer-complete): Only cycle if completion-cycling is set.
389         (completion--flush-all-sorted-completions): Unset completion-cycling.
390         (minibuffer-force-complete): Set completion-cycling.
391         (completion-all-sorted-completions): Move declaration before first use.
393 2010-10-28  Leo  <sdl.web@gmail.com>
395         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
396         which changes the order of matches seen by users (bug#7231).
398 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
400         * progmodes/compile.el (compilation-mode-font-lock-keywords):
401         Don't confuse -omega as "-o mega".
403 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
405         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
406         (log-edit-author): New dynamic var.
407         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
408         to return the author if different from committer.
409         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
411         * play/landmark.el: Adjust commenting convention.
412         (lm-nil-score): Rename from nil-score.
413         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
414         (OOOOscore): Move into a let in lm-score-trans-table.
415         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
417         * electric.el (electric-indent-chars): Autoload.
418         * progmodes/octave-mod.el (octave-mode):
419         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
420         (ruby-mode-abbrev-table): Merge initialization and declaration.
422 2010-10-27  Glenn Morris  <rgm@gnu.org>
424         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
425         variable.
427         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
429         * term/ns-win.el: Restore require of cl when compiling.
430         (menu-bar-final-items): Remove non-existent `windows' menu.
431         (ns-handle-nxopen): Optionally handle the temp-case.
432         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
433         (ns-insert-file, ns-find-file): Use `pop'.
435 2010-10-26  Glenn Morris  <rgm@gnu.org>
437         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
439 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
441         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
442         global map.
443         * term/common-win.el (x-setup-function-keys): Remove most of the
444         keymappings.  Comment on the remaining ones.
446 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
448         * server.el (server-port): New option.  (Bug#854)
449         (server-start): Use server-port.
451 2010-10-26  Glenn Morris  <rgm@gnu.org>
453         * term/ns-win.el (ns-version-string): Remove unused declaration.
454         (ns-invocation-args): Change to x-invocation-args.
455         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
456         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
457         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
458         Use x-invocation-args instead of ns-invocation-args.
459         (ns-initialize-window-system, handle-args-function-alist):
460         Use x-handle-args instead of ns-handle-args.
461         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
462         * startup.el (command-line-ns-option-alist): Replace
463         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
464         ns-handle-iconic with the x- equivalents.
466         * term/common-win.el (x-select-enable-clipboard):
467         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
469         * term/ns-win.el: No need to require cl when compiling.
470         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
471         (xw-defined-colors): Use the common-win definitions.
472         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
473         (ns-handle-iconic): Make it an alias for x-handle-iconic.
474         * term/common-win.el (x-select-text, x-alternatives-map)
475         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
476         * loadup.el [ns]: Load common-win.
478 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
480         * epa-mail.el (epa-mail-encrypt): Handle local-part only
481         recipients; expand mail aliases (Bug#7280).
483 2010-10-25  Glenn Morris  <rgm@gnu.org>
485         * term/common-win.el (x-handle-switch): Simplify with pop.
486         Optionally handle numeric switches.
487         (x-handle-numeric-switch): Just call x-handle-switch.
488         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
489         (x-handle-name-switch, x-handle-display, x-handle-args):
490         Simplify with pop.
492         * term/ns-win.el: Do not require easymenu.
493         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
494         <spell>: Move adjustments to menu-bar.el.
495         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
496         <separator-undo, spell>: Move ns-win's adjustments here.
497         * loadup.el [ns]: Do not load easymenu.
499 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
501         * image.el (image-checkbox-checked, image-checkbox-unchecked):
502         Delete (Bug#7222).
504         * startup.el (fancy-startup-tail): Instead of using inline images,
505         refer to image files from etc/.
507         * wid-edit.el (checkbox): Likewise.
508         (widget-image-find): Center image specs.
510 2010-10-24  Glenn Morris  <rgm@gnu.org>
512         * term/ns-win.el (x-select-text): Doc fix.
513         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
514         (x-select-text): Move to term/common-win.
515         * term/w32-win.el (xw-defined-colors): Move to common-win.
516         * term/x-win.el (xw-defined-colors, x-alternatives-map)
517         (x-setup-function-keys, x-select-text): Move to common-win.
518         * term/common-win.el (x-select-text, x-alternatives-map)
519         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
520         definitions here.
522 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
524         * net/mairix.el (mairix-searches-mode-map):
525         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
527 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
529         * verilog-mode.el (verilog-directive-re): Make this variable
530         auto-built for efficiency of execution and updating.
531         (verilog-extended-complete-re): Support 'pure' fucntion & task
532         declarations (these have no bodies).
533         (verilog-beg-of-statement): General cleanup to enable support of
534         'pure' fucntion & task declarations (these have no bodies).
535         These efforts together fix Verilog bug210 from veripool; which was also
536         noticed by Steve Pearlmutter.
537         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
538         (verilog-directive-nest-re, verilog-set-auto-endcomments):
539         Support `elsif.  Reported by Shankar Giri.
540         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
541         attribute handling for lining up declarations and assignments.
542         (verilog-beg-of-statement-1): Fix issue where continued declaration
543         is indented differently if it is after a begin..end clock.
544         (verilog-in-attribute-p, verilog-skip-backward-comments)
545         (verilog-skip-forward-comment-p): Support proper treatment of
546         attributes by indent code. Reported by Jeff Steele.
547         (verilog-in-directive-p): Fix comment to correctly describe function.
548         (verilog-backward-up-list, verilog-in-struct-region-p)
549         (verilog-backward-token, verilog-in-struct-p)
550         (verilog-in-coverage-p, verilog-do-indent)
551         (verilog-pretty-declarations): Use verilog-backward-up-list as
552         wrapper around backward-up-list inorder to properly skip comments.
553         Reported by David Rogoff.
554         (verilog-property-re, verilog-endcomment-reason-re)
555         (verilog-beg-of-statement, verilog-set-auto-endcomments)
556         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
557         of if). Reported by Max Bjurling and
558         (verilog-calc-1): Fix for clocking block in modport
559         declaration. Reported by Brian Hunter.
561 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
563         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
564         (verilog-gate-keywords, verilog-read-sub-decls)
565         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
566         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
567         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
568         (verilog-read-decls): Fix spaces in V2K module parameters causing
569         mis-identification as interfaces, bug287.
570         (verilog-read-decls): Fix not treating "parameter string" as a
571         parameter in AUTOINSTPARAM.
572         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
573         treating `elsif similar to `endif inside AUTOSENSE.
574         (verilog-do-indent): Implement correct automatic or static task or
575         function end comment highlight. Reported by Steve Pearlmutter.
576         (verilog-font-lock-keywords-2): Fix highlighting of single
577         character pins, bug264.  Reported by Michael Laajanen.
578         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
579         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
580         (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
581         interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
582         (verilog-pretty-expr): Fix interactive arguments, bug272.
583         Reported by Mark Johnson.
584         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
585         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
586         bug269. Suggested by Gary Delp.
587         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
588         (verilog-preprocessor, verilog-set-compile-command):
589         Create verilog-preprocess and verilog-preprocessor to show
590         preprocessed output.
591         (verilog-get-beg-of-line, verilog-get-end-of-line)
592         (verilog-modi-file-or-buffer, verilog-modi-name)
593         (verilog-modi-point, verilog-within-string): Move defmacro's
594         before first use to avoid warning. Reported by Steve Pearlmutter.
595         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
596         (verilog-colorize-region, verilog-highlight-buffer)
597         (verilog-highlight-includes, verilog-highlight-modules)
598         (verilog-highlight-region, verilog-mode): Rename colorize to
599         highlight to match other packages.  Disable module highlighting,
600         as received speed complaints, reenable for experimentation only
601         using new verilog-highlight-modules.
602         (verilog-read-decls): Fix regexp stack overflow in very large
603         AUTO_TEMPLATEs, bug250.
604         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
605         (verilog-scan): Create verilog-save-buffer-state to standardize
606         making insignificant changes that shouldn't call hooks.
607         (verilog-save-no-change-functions, verilog-save-scan-cache)
608         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
609         Create verilog-save-no-change-functions to wrap verilog-scan
610         preservation, and fix to work with nested preserved calls.
611         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
612         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
613         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
614         (verilog-submit-bug-report): Update variable list to be complete.
615         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
616         breaking on-the-fly font-locking.
617         (verilog-colorize-buffer, verilog-colorize-include-files)
618         (verilog-colorize-include-files-buffer, verilog-colorize-region)
619         (verilog-load-file-at-mouse, verilog-load-file-at-point)
620         (verilog-mode, verilog-read-inst-module-matcher): With point on a
621         AUTOINST cell instance name, middle mouse button now finds-file on
622         it.  Suggested by Brad Dobbie.
623         (verilog-alw-get-temps, verilog-auto-reset)
624         (verilog-auto-sense-sigs, verilog-read-always-signals)
625         (verilog-read-always-signals-recurse): Fix loop indexes being
626         AUTORESET. AUTORESET now assumes any variables in the
627         initialization section of a for() should be ignored.  Reported by
628         Dan Dever.
629         (verilog-error-font-lock-keywords)
630         (verilog-error-regexp-emacs-alist)
631         (verilog-error-regexp-xemacs-alist): Fix error detection of
632         Cadence HAL, reported by David Asher.  Repair drift between the
633         three similar error variables.
634         (verilog-modi-lookup, verilog-modi-lookup-cache)
635         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
636         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
637         Fix slow verilog-auto expansion on very large files.
638         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
639         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
640         "{1*2{...".  Broke in last revision.
641         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
642         submodule connections with replications "{#{a},#{b}}".
644 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
646         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
647         Fix typo in docstring.
649 2010-10-24  Kenichi Handa  <handa@m17n.org>
651         * face-remap.el (text-scale-adjust): Call read-event with a proper
652         prompt.
654 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
656         * emacs-lisp/unsafep.el: Don't mark functions that display
657         messages as safe.  Suggested by Johan Bockgård.
659 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
661         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
662         Turn comments into docstrings.
664         * minibuffer.el (completion--replace): Move point where it belongs
665         when there's a common suffix (bug#7215).
667 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
669         Merge read-color and facemenu-read-color (Bug#7242).
671         * faces.el (read-color): Use the completion code from
672         facemenu-read-color.  Require match in completion.  Doc fix.
674         * facemenu.el (facemenu-read-color): Alias for read-color.
675         (facemenu-set-foreground, facemenu-set-background): Use
676         read-color.
678         * frame.el (set-background-color, set-foreground-color)
679         (set-cursor-color, set-mouse-color, set-border-color): Use
680         read-color.
682 2010-10-24  Leo  <sdl.web@gmail.com>
684         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
685         argument of delete-file and delete-directory (Bug#7011).
687 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
689         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
690         button-buffer-map.
692 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
694         * emacs-lisp/package.el (package--generate-package-list): Make the
695         *Packages* buffer read-only.
697 2010-10-24  Alan Mackenzie  <acm@muc.de>
699         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
700         result of `c-beginning-of-decl-1' between invocations of a lambda
701         function (Bug #7265).
703 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
705         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
706         executable is not available on the system (Bug#7268).
708 2010-10-24  Glenn Morris  <rgm@gnu.org>
710         * select.el (selection-coding-system, next-selection-coding-system):
711         Sync doc with C versions.
713         * w32-vars.el (x-select-enable-clipboard):
714         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
715         * term/common-win.el (x-select-enable-clipboard): Move here.
717         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
718         definition of C variable.
720         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
721         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
722         Don't redefine things that are defined in C.
723         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
724         (show-trailing-whitespace, auto-hscroll-mode)
725         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
726         Set up the appropriate custom properties.
728 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
730         Bind "C-c ]" to ...
731         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
732         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
733         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
734         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
736 2010-10-23  Glenn Morris  <rgm@gnu.org>
738         * textmodes/flyspell.el (flyspell-mode): If there was an error,
739         say what it was.
741         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
742         Sync docs with C version.
744         * term/ns-win.el (xw-defined-colors):
745         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
747         * term/pc-win.el (x-select-enable-clipboard):
748         * term/x-win.el (x-select-enable-clipboard):
749         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
751         * comint.el (comint-password-prompt-regexp): Make it less vague.
752         Bump version.
754         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
756         * help.el (finder-by-keyword): Remove unnecessary autoload.
758 2010-10-22  Glenn Morris  <rgm@gnu.org>
760         * loadup.el: Unconditionally load float-sup.
761         * paren.el (show-paren-delay):
762         * emacs-lisp/float-sup.el:
763         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
764         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
765         (lazy-lock-stealth-verbose): Assume float support.
766         * ps-print.el: Assume float support on Emacs.
767         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
768         Remove non-float branch.
770         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
771         src/Makefile no longer being pre-processed.
773 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
775         * emacs-lisp/find-func.el (find-library): Use test-completion.
777 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
779         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
781 010-10-21  Michael Albinus  <michael.albinus@gmx.de>
783         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
784         space in stat format string.
785         (tramp-send-command): Unset $PS1 when using here documents, in
786         order not to get several prompts.
787         (tramp-get-inline-coding): Return `nil' in case of errors.
789 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
791         * hexl.el (hexl-mode, hexl-mode-exit):
792         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
793         (hexl-revert-buffer-function): New function.
794         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
796 2010-10-19  Alan Mackenzie  <acm@muc.de>
798         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
799         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
800         that these keywords aren't wrongly matched as identifiers.
802         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
803         setting of c-new-BEG and c-new-END from c-before-change to
804         c-after-change.  (Bug#7181)
806 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
808         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
809         Don't mark as safe.
811         * custom.el (custom-theme-set-variables): Likewise.
812         (load-theme): Add custom-theme-set-faces and
813         custom-theme-set-variables to safe-functions while loading.
814         (custom-enabled-themes): Mark as risky.
816 2010-10-18  Julien Danjou  <julien@danjou.info>
818         * bindings.el: Remove end dashes in default mode-line-format.
820 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
822         * bindings.el (global-map): Bind C-d to delete-char and deletechar
823         to delete-forward-char.
825         * simple.el (normal-erase-is-backspace-mode): Remap delete to
826         deletechar, and hence delete-forward-char.
828 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
830         * repeat.el (repeat): Use read-key (bug#6256).
832 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
834         * emacs-lisp/unsafep.el: Don't mark functions that display
835         messages as safe.  Suggested by Johan Bockgård.
837 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
839         * minibuffer.el (completion--replace): Move point where it belongs
840         when there's a common suffix (bug#7215).
842 2010-10-19  Kenichi Handa  <handa@m17n.org>
844         * international/characters.el: Add category '|' (word breakable)
845         to fullwidth characters.
847 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
849         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
850         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
851         order to make stat results a float.  Patch by Andreas Schwab
852         <schwab@linux-m68k.org>.
854 2010-10-18  Julien Danjou  <julien@danjou.info>
856         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
857         hidden by `make-pointer-invisible'.
859 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
861         * files.el (locate-file-completion-table): Strip non-matching elements
862         before checking length of list (bug#7238).
864 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
866         * custom.el (custom-theme-set-variables): Mark as a safe function.
867         (load-theme): Check forms using unsafep.
869         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
871 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
873         * textmodes/ispell.el (ispell-aspell-find-dictionary):
874         Fix aspell data file searching (bug#7230).
876 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
878         * cus-theme.el (custom-theme--migrate-settings): New var.
879         (customize-create-theme): Allow editing the `user' theme.
880         (custom-theme-add-variable, custom-theme-add-var-1)
881         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
882         to the front of each variable or face widget.
883         (custom-theme-write): Save theme settings in the correct order.
884         Optionally, remove saved settings from user customizations.
885         (custom-theme-write-variables, custom-theme-write-faces):
886         Save only the checked widgets.
887         (customize-themes): Add a link for migrating custom settings.
889         * custom.el (custom-declare-theme, provide-theme):
890         Use custom-theme-name-valid-p.
891         (custom-theme-name-valid-p): Remove checks that are now
892         unnecessary since themes no longer obey load-path.
894         * cus-edit.el (custom-variable-value-create): For the simple
895         style, hide documentation string when hidden.
897 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
899         * cus-edit.el (custom-variable, custom-face): Combine the
900         :inhibit-magic and :display-style properties into a single
901         :custom-style property.
902         (custom-toggle-hide-variable, custom-toggle-hide-face):
903         New functions.  If hiding an edited value, save it to :shown-value.
904         (custom-variable-value-create, custom-face-value-create): Use them.
905         (custom-magic-reset): Allow magic property to be unset.
907         * custom.el: Custom themes no longer use load-path.
908         (custom-theme-load-path): New option.  Change built-in theme
909         directory to etc/.
910         (custom-enabled-themes): Add custom-theme-load-path dependency.
911         (custom-theme--load-path): New function.
912         (load-theme, custom-available-themes): Use it.
914         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
915         (customize-themes): Link to custom-theme-load-path variable.
916         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
917         :custom-style property.
919         * themes/*.el: Moved to etc/.
921 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
923         * textmodes/reftex-cite.el
924         (reftex-extract-bib-entries-from-thebibliography): Do not move
925         point when searching for \bibitem entries.  Match entries with
926         spaces or tabs in front of arguments.
928 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
930         * cus-theme.el (customize-create-theme): Delete overlays after
931         erasing.  If given a THEME arg, display only the faces of that arg
932         instead of custom-theme--listed-faces.
933         (custom-theme-variable-menu, custom-theme-variable-action)
934         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
935         (custom-theme-add-variable, custom-theme-add-face): Apply value
936         from the theme settings, instead of the current value.
937         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
938         (custom-theme-visit-theme): Allow calling outside theme buffers.
939         (custom-theme-merge-theme): Don't enable the theme when merging.
940         (custom-theme-write-variables, custom-theme-write-faces): Use the
941         :shown-value properties to save buffer values, not global ones.
942         (customize-themes): Display a warning about user customizations.
944         * cus-edit.el (custom-variable-value-create)
945         (custom-face-value-create): Obey new special properties
946         :shown-value and :inhibit-magic.
948 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
950         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
951         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
952         <dale@codefu.org>.
954 2010-10-14  Kenichi Handa  <handa@m17n.org>
956         * mail/rmail.el (rmail-show-message-1): Catch an error of
957         base64-decode-region and just show an error message (bug#7165).
959         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
960         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
961         a font-spec (bug#7197).
963 2010-10-14  Glenn Morris  <rgm@gnu.org>
965         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
967 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
969         * international/mule.el (define-coding-system):
970         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
971         * composite.el (compose-region): Fix typo in docstring.
973 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
975         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
976         only after checking the theme-face property.
978         * faces.el (face-spec-reset-face): Reset all attributes in one
979         single call to set-face-attribute.
980         (face-spec-match-p): Make it a defsubst.
981         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
982         (x-create-frame-with-faces, tty-create-frame-with-faces)
983         (tty-set-up-initial-frame-faces): Don't recompute face specs in
984         frame-set-background-mode, since they are recomputed immediately
985         afterwards in face-set-after-frame-default.
986         (face-set-after-frame-default): Minor optimization.
987         (cursor): Provide non-trivial defface spec.
989         * custom.el (custom-theme-recalc-face): Simplify.
991 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
993         * calc/calc-alg.el (math-var): Rename from `var'.
994         (math-is-polynomial, math-is-poly-rec): Replace `var'
995         with `math-var'.
997         * calc/calcalg2.el (math-var): Rename from `var'.
998         (calcFunc-table, math-scan-for-limits): Replace `var'
999         with `math-var'.
1001 2010-10-13  Glenn Morris  <rgm@gnu.org>
1003         * subr.el (last): Deal with dotted lists (reported in bug#7174).
1005 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
1007         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1009 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1011         * net/tls.el (tls-program): Remove spurious %s from openssl.
1012         (tls-starttls-switches): Remove starttls hack.
1013         (open-tls-stream): Ditto.
1014         (tls-find-starttls-argument): Ditto.
1016 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1018         * image.el (image-library-alist): Declare as obsolete alias.
1019         (image-type-available-p): Use `dynamic-library-alist'.
1021         * term/w32-win.el (dynamic-library-alist):
1022         Use instead of `image-library-alist'.
1024 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
1026         * subr.el (last): Make it faster.  (Bug#7174)
1028 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
1030         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
1032 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1034         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1035         (describe-theme-1): Extract doc from unloaded themes.
1037         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1039         * themes/tango-theme.el:
1040         * themes/tango-dark-theme.el:
1041         * themes/wheatgrass-theme.el: New files.
1043 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1045         * cus-theme.el (describe-theme, customize-themes)
1046         (custom-theme-save): New commands.
1047         (custom-new-theme-mode-map): Bind C-x C-s.
1048         (custom-new-theme-mode): Use custom--initialize-widget-variables.
1049         (customize-create-theme): New optional arg THEME.
1050         (custom-theme-revert): Use it.
1051         (custom-theme-visit-theme): Remove dead code.
1052         (custom-theme-merge-theme): Use custom-available-themes.
1053         (custom-theme-write): Make interactive.
1054         (custom-theme-write): Use custom-theme-name-valid-p.
1055         (describe-theme-1, custom-theme-choose-revert)
1056         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1057         New funs.
1058         (custom-theme-allow-multiple-selections): New option.
1059         (custom-theme-choose-mode): New major mode.
1061         * custom.el (custom-theme-set-variables): Remove dead code.
1062         Obey custom--inhibit-theme-enable.
1063         (custom--inhibit-theme-enable): New var.
1064         (provide-theme): Obey it.
1065         (load-theme): Replace load with manual read/eval, in order to
1066         check for correctness.  Use custom-theme-name-valid-p.
1067         (custom-theme-name-valid-p): New function.
1068         (custom-available-themes): Use it.
1070         * cus-edit.el (custom--initialize-widget-variables): New function.
1071         (Custom-mode): Use it.
1073         * cus-face.el (custom-theme-set-faces): Remove dead code.
1074         Obey custom--inhibit-theme-enable.
1076         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1078 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
1080         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1082 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
1084         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1085         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1086         (mac-right-option-modifier): New alias for ns-right-option-modifier.
1088         * cus-start.el (all): ns-right-alternate-modifier is new.
1090 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1092         * emacs-lisp/lisp.el (lisp-completion-at-point):
1093         Use emacs-lisp-mode-syntax-table for the whole function.
1095 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
1097         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1098         instead of font-lock-mode before adding keywords.
1099         Remove hi-lock-mode off code.  Remove inhibit hack.
1100         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1101         non-nil; removed hook inhibit hack.
1103 2010-10-12  Glenn Morris  <rgm@gnu.org>
1105         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1106         (load-path-shadows-find): ... to this.
1107         (list-load-path-shadows): Update for above change.
1109         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1111 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1113         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1114         Fix comment for declare-function.
1116 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
1118         * custom.el (custom-fix-face-spec): New function; code moved from
1119         custom-face-edit-fix-value.
1120         (custom-push-theme): Use it when checking if a face has been
1121         changed outside customize.
1122         (custom-available-themes): New function.
1123         (load-theme): Use it.
1125         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1127         * custom.el (custom-push-theme): Cleanup (use cond).
1128         (disable-theme): Recompute the saved-face property.
1129         (custom-theme-recalc-face): Follow face alias before setting prop.
1131         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1132         New variables, containing checkbox images.
1134         * startup.el (fancy-startup-tail):
1135         * wid-edit.el (checkbox): Use them.
1137 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
1139         * shell.el (shell-mode-map):
1140         * progmodes/modula2.el (m2-mode-map):
1141         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1142         * play/mpuz.el (mpuz-mode-map):
1143         * play/landmark.el (lm-mode-map):
1144         * play/decipher.el (decipher-mode-map):
1145         * play/5x5.el (5x5-mode-map):
1146         * net/telnet.el (telnet-mode-map):
1147         * net/quickurl.el (quickurl-list-mode-map):
1148         * net/mairix.el (mairix-searches-mode-map):
1149         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1150         * net/dig.el (dig-mode-map):
1151         * mail/mspools.el (mspools-mode-map):
1152         * hexl.el (hexl-mode-map):
1153         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1154         (wordstar-C-o-map, wordstar-C-q-map):
1155         * emacs-lisp/edebug.el (edebug-eval-mode-map):
1156         * emacs-lisp/chart.el (chart-map):
1157         * edmacro.el (edmacro-mode-map):
1158         * erc/erc-list.el (erc-list-menu-mode-map):
1159         * array.el (array-mode-map): Declare and define in one step.
1161         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1163 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
1165         * epa.el (epa-passphrase-callback-function): Display filename
1166         passed as the 3rd arg.
1167         * epa-file.el (epa-file-passphrase-callback-function):
1168         Pass filename to epa-passphrase-callback-function.
1170 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
1172         * cus-edit.el (custom-face-widget-to-spec)
1173         (custom-face-get-current-spec, custom-face-state): New functions.
1174         (custom-face-set, custom-face-mark-to-save)
1175         (custom-face-value-create, custom-face-state-set): Use them.
1177         * cus-theme.el (custom-theme--listed-faces): New var.
1178         (customize-create-theme): Use *Custom Theme* as the buffer name.
1179         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
1180         faces listed in custom-theme--listed-faces.
1181         (custom-theme-revert): New function.
1182         (custom-theme-add-variable, custom-theme-add-face): Insert at the
1183         bottom of the list.
1184         (custom-theme-write): Prompt for theme name if empty.
1185         (custom-theme-write-variables): Use dolist.
1186         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1188 2010-10-09  Alan Mackenzie  <acm@muc.de>
1190         Enhance fontification of declarators to take account of the
1191         presence/absence of "typedef".
1193         * cc-engine.el (c-forward-type): New &optional param
1194         "brace-block-too".
1195         (c-forward-decl-or-cast-1): cdr of return value now indicates the
1196         presence of either or both of a "struct"-like keyword and "typedef".
1198         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1199         fontification of declarators which follow a "}".
1200         (c-font-lock-declarations): Fontify declarators according to the
1201         presence/absence of "typedef".
1203         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1204         for "typedef".
1205         (c-typedef-decl-key): New lang variable built from
1206         c-typedef-decl-kwds.
1208 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1210         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1211         since that's too annoying.  Move the filter groups commands to
1212         TAB/backtab.
1214         * epa.el (epa-passphrase-callback-function): Say what we're
1215         querying the password for.
1217         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1218         behaviour, don't bury the ibuffer buffer when visiting other buffers.
1220 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1222         * cus-edit.el (custom-commands, custom-buffer-create-internal)
1223         (custom-magic-value-create): Pad button tags with spaces.
1224         (custom-face-edit): New variable.
1225         (custom-face-value-create): Determine whether to use the usual
1226         face editor here, instead of using custom-face-selected.
1227         Pass face defaults to custom-face-edit widget.
1228         (custom-face-selected, custom-display-unselected): Delete widgets.
1229         (custom-display-unselected-match): Function removed.
1230         (custom-face-set, custom-face-mark-to-save):
1231         Accept custom-face-edit widgets as the direct widget child.
1233         * wid-edit.el (widget--completing-widget): New var.
1234         (widget-default-complete): Bind it when doing completion.
1235         (widget-string-complete, widget-file-complete): Use it.
1237 2010-10-09  Glenn Morris  <rgm@gnu.org>
1239         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1240         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1241         (holiday-hebrew-misc): Small simplifications.
1243         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1245         * net/browse-url.el: Don't require thingatpt, term, dired,
1246         executable, or w3-auto when compiling.
1247         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1248         Declare.
1249         (browse-url-text-emacs): Require term.
1251 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1253         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1255 2010-10-08  Glenn Morris  <rgm@gnu.org>
1257         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1259         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1260         (shadows-compare-text-p): Make it an obsolete alias for...
1261         (load-path-shadows-compare-text): ... new name.
1262         (find-emacs-lisp-shadows): Update for above name change.
1263         (load-path-shadows-same-file-or-nonexistent): New name for the old
1264         shadow-same-file-or-nonexistent.
1266 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1268         * minibuffer.el (completion--some, completion--do-completion)
1269         (minibuffer-complete-and-exit, minibuffer-completion-help)
1270         (completion-basic-try-completion)
1271         (completion-basic-all-completions)
1272         (completion-pcm--find-all-completions): Use lexical-let to
1273         avoid some false matches in variable completion (Bug#7056)
1275 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
1277         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
1279 2010-10-08  Leo  <sdl.web@gmail.com>
1281         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1282         return non-nil if the file exists (Bug#7090).
1284 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1286         * minibuffer.el (completion--replace):
1287         Better preserve markers (bug#7138).
1289 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
1291         * server.el (server-process-filter): Doc fix.
1293 2010-10-08  Drew Adams  <drew.adams@oracle.com>
1295         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
1297 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1299         * Makefile.in (ELCFILES): Update.
1301 2010-10-08  Glenn Morris  <rgm@gnu.org>
1303         * vc/ediff-wind.el (ediff-setup-control-frame):
1304         * vc/ediff-ptch.el (ediff-default-backup-extension):
1305         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1306         (ediff-exec-process): Remove system-types emx, windows-95.
1308         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
1310 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
1312         * cus-edit.el (custom-variable, custom-face): Doc fix.
1313         (custom-face-edit): Add value-create attribute.
1314         (custom-face-edit-value-create)
1315         (custom-face-edit-value-visibility-action): New functions.
1316         Hide unused face attributes by default, and add a visibility toggle.
1317         (custom-face-edit-deactivate): Show empty values with shadow face.
1318         (custom-face-selected): Only use this for face specs with default
1319         attributes.
1320         (custom-face-value-create): Cleanup.
1322         * wid-edit.el (widget-checklist-value-create): Use dolist.
1323         (widget-checklist-match-find): Make second arg optional.
1325 2010-10-07  Glenn Morris  <rgm@gnu.org>
1327         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1328         Prefix things.
1330         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1331         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1332         load-path-shadows-mode, update references.
1333         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1334         Rename variable and button.
1335         (list-load-path-shadows): Update button caller.
1337 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1339         * emacs-lisp/smie.el (smie-bnf-classify): New function.
1340         (smie-bnf-precedence-table): Use it to remember the closers/openers.
1341         (smie-merge-prec2s): Handle those new entries.
1342         (smie-prec2-levels): Only set precedence to nil for actual
1343         openers/closers.
1344         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1345         that is now unnecessary.
1347 2010-10-07  Miles Bader  <miles@gnu.org>
1349         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1351 2010-10-07  Glenn Morris  <rgm@gnu.org>
1353         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1354         (mail-position-on-field): Remove declarations.
1355         (mail-position-on-field): Autoload it.
1356         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1357         and mail-header-end.  Don't require sendmail.
1359         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1360         (shadow-mode): New mode.
1361         (shadow-find-file): New button.
1362         (list-load-path-shadows): Use shadow-mode and buttons.
1364         * iimage.el (iimage-version): Remove.
1365         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1366         Turn into defcustoms.
1367         (iimage-mode-map): Give it a doc string.
1369         * calendar/appt.el (appt-activate): Give a warning rather than an error
1370         if there is no diary-file.
1372 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
1374         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1375         Use `tramp-handle-find-backup-file-name'.
1377 2010-10-06  Glenn Morris  <rgm@gnu.org>
1379         * font-core.el (font-lock-defaults-alist): Remove variable.
1380         (font-lock-mode): Doc fix.
1381         (font-lock-default-function): Do not consult font-lock-defaults-alist.
1382         * font-lock.el (font-lock-refresh-defaults): Doc fix.
1383         (font-lock-set-defaults): Doc fix.
1384         Do not consult font-lock-defaults-alist.
1386         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1388         * emacs-lisp/cl.el: No longer provide cl-19.
1390 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
1392         * net/tramp.el (tramp-handle-directory-files-and-attributes)
1393         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1394         New defuns, taken from tramp-smb.el.
1395         (tramp-coding-system-change-eol-conversion)
1396         (tramp-set-process-query-on-exit-flag): Remove.
1398         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1399         (tramp-compat-coding-system-change-eol-conversion)
1400         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1401         from tramp.el.
1403         * net/tramp-gvfs.el:
1404         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1405         by `tramp-compat-set-process-query-on-exit-flag'.
1407         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1408         Use `tramp-handle-directory-files-and-attributes',
1409         `tramp-handle-file-exists-p' and
1410         `tramp-handle-file-newer-than-file-p'.
1411         (tramp-imap-handle-file-exists-p)
1412         (tramp-imap-handle-file-executable-p)
1413         (tramp-imap-handle-file-readable-p)
1414         (tramp-imap-handle-directory-files-and-attributes)
1415         (tramp-imap-handle-file-newer-than-file-p): Remove.
1417         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1418         by `tramp-compat-set-process-query-on-exit-flag' and
1419         `tramp-coding-system-change-eol-conversion' by
1420         `tramp-compat-coding-system-change-eol-conversion'.
1422         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1423         Use `tramp-handle-directory-files-and-attributes',
1424         `tramp-handle-file-exists-p' and
1425         `tramp-handle-file-newer-than-file-p'.
1426         (tramp-smb-handle-directory-files-and-attributes)
1427         (tramp-smb-handle-file-exists-p)
1428         (tramp-smb-handle-file-newer-than-file-p): Remove.
1429         (tramp-smb-maybe-open-connection):
1430         Replace `tramp-set-process-query-on-exit-flag' by
1431         `tramp-compat-set-process-query-on-exit-flag'.
1433 2010-10-05  Glenn Morris  <rgm@gnu.org>
1435         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1437 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
1439         Continue reorganization of load dependencies.  (Bug#7156)
1441         * net/tramp.el (tramp-handle-file-local-copy-hook)
1442         (tramp-delete-temp-file-function): Move down.
1443         (tramp-exists-file-name-handler): Move up.
1444         (tramp-register-file-name-handlers): Simplify autoload.
1445         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1446         (tramp-handle-directory-files, tramp-handle-dired-uncache)
1447         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1448         (tramp-handle-file-name-completion)
1449         (tramp-handle-file-name-directory)
1450         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1451         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1452         (tramp-handle-find-backup-file-name)
1453         (tramp-handle-insert-file-contents, tramp-handle-load)
1454         (tramp-handle-substitute-in-file-name)
1455         (tramp-handle-unhandled-file-name-directory)
1456         (tramp-mode-string-to-int, tramp-local-host-p)
1457         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1459         * net/tramp-gvfs.el (top):
1460         * net/tramp-smb.el (top): Do not require 'tramp-sh.
1462         * net/tramp-sh.el (all): Move several objects to tramp.el, see
1463         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1465 2010-10-04  Glenn Morris  <rgm@gnu.org>
1467         * calendar/appt.el (appt-add): Ensure reminders are enabled.
1468         (appt-activate): Give status messages.
1470 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1472         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
1473         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1474         `gnutls-negotiate' (formerly `starttls-negotiate').
1475         Remove trivial wrapper `starttls-open-stream'.
1477 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
1479         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1480         log-outgoing commands.
1481         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1482         to create a buffer local revert-buffer-function variable.
1483         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1484         revert-buffer-function lambda.
1486 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1488         * net/gnutls.el (starttls-negotiate): Use the plist interface to
1489         `gnutls-boot'.  Make TYPE the only required parameter.
1490         Allow TRUSTFILES and KEYFILES to be lists.
1491         (open-ssl-stream): Use it.
1493 2010-10-03  Glenn Morris  <rgm@gnu.org>
1495         * subr.el (directory-sep-char): Remove obsolete variable.
1496         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1497         it is "necessary".
1499         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1500         * vc/vc.el (vc-static-header-alist): Doc fix.
1501         * vc/vc-cvs.el (vc-cvs-header):
1502         * vc/vc-rcs.el (vc-rcs-header):
1503         * vc/vc-sccs.el (vc-sccs-header):
1504         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1505         * obsolete/vc-mcvs.el (vc-mcvs-header):
1506         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1507         on XEmacs.
1509 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1511         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1512         Remove obsolete use of binary-overwrite-mode (Bug#7001).
1514 2010-10-03  Glenn Morris  <rgm@gnu.org>
1516         * obsolete/x-menu.el: Remove file, obsolete since 21.1
1518         * textmodes/rst.el (rst-font-lock-keywords-function):
1519         Drop Emacs 20 code.
1521         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1523         * printing.el: Drop Emacs 20 code.
1525         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1526         without having used appt.el already).
1528         * subr.el (make-local-hook): Remove function obsolete since 21.1.
1529         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1530         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1531         XEmacs.
1532         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1533         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1535         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1536         (charset-width, find-charset-region, chars-in-region, forward-point)
1537         (encode-coding-string, coding-system-p, ccl-execute-on-string)
1538         (define-ccl-program, multibyte-string-p, string-make-multibyte):
1539         Remove compatibility cruft (none of these are used by ps*.el).
1541 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
1543         * subr.el (booleanp): Return t instead of a list (Bug#7086).
1545 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1547         * server.el (server-process-filter, server-return-error):
1548         Give emacsclient time to shut down after receiving an error string.
1550 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
1552         * files.el (remote-file-name-inhibit-cache): New defcustom.
1554         * time.el (display-time-file-nonempty-p):
1555         Use `remote-file-name-inhibit-cache'.
1557         * net/tramp.el (tramp-completion-reread-directory-timeout):
1558         Fix docstring.
1560         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1561         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1562         `remote-file-name-inhibit-cache'.  Check also for an integer
1563         value.  Add/increase counter when `tramp-verbose' >= 10.
1564         (tramp-set-file-property): Add/increase counter when
1565         `tramp-verbose' >= 10.
1567         * net/tramp-cmds.el (tramp-cleanup-all-connections)
1568         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1569         (tramp-bug): Set tramp-autoload cookie.  Report all interned
1570         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
1571         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
1572         characters only in strings.
1574         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1575         to backward compatibility.
1577         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1578         (tramp-handle-file-name-all-completions)
1579         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1580         (tramp-open-connection-setup-interactive-shell):
1581         Call `tramp-cleanup-connection' directly.
1583 2010-10-02  Glenn Morris  <rgm@gnu.org>
1585         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1587         * subr.el (char-bytes): Remove obsolete function.
1589         * isearch.el (isearch-return-char): Remove obsolete function.
1591         * mouse.el: No longer provide mldrag.
1592         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1593         Remove obsolete aliases.
1595         * comint.el (comint-kill-output): Remove obsolete alias.
1597         * composite.el (decompose-composite-char): Remove obsolete function.
1598         * ps-def.el (decompose-composite-char): Remove unused function.
1600         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1602         * outline.el (outline-visible): Remove obsolete function.
1604         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1605         * faces.el (internal-find-face, internal-get-face)
1606         (frame-update-faces, frame-update-face-colors)
1607         (x-frob-font-weight, x-frob-font-slant)
1608         (internal-frob-font-weight, internal-frob-font-slant)
1609         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1610         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1611         (x-make-font-bold-italic): Remove functions and aliases, obsolete
1612         since Emacs 21.1.
1613         * emulation/viper-util.el (viper-get-face):
1614         * obsolete/lucid.el (find-face, get-face): Use facep.
1615         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1616         Remove unused functions.
1617         * vc/ediff-util.el (ediff-submit-report): Doc fix.
1619         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1620         delete tempfile if interrupted during compilation.
1622 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1624         * net/tls.el (tls-starttls-switches): Give up on using starttls with
1625         gnutls-cli.
1626         (tls-program): Add --insecure to be consistent with the defaults from
1627         openssl s_client.  Now all three commands are insecure.
1629 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1631         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1632         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1633         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1635 2010-10-01  Glenn Morris  <rgm@gnu.org>
1637         * obsolete/sc.el: Remove file.
1639         * files.el (temporary-file-directory): On darwin, also try
1640         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1642 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
1644         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1645         Let's not break compatibility gratuitously, shall we?
1647 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1649         * net/tls.el (tls-starttls-switches): New variable.
1650         (tls-find-starttls-argument): Use it.
1651         (open-tls-stream): Ditto.
1653         * net/netrc.el (netrc-credentials): Return the value of the "default"
1654         entry.
1655         (netrc-machine): Ditto.
1657 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
1659         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
1661 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
1663         * server.el (server-start): Don't write pid to the authentication file.
1664         (server-create-tty-frame): Don't send pid.
1665         (server-process-filter): Send pid at the start of every connection.
1667 2010-09-30  Glenn Morris  <rgm@gnu.org>
1669         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
1670         (show-all-diary-entries): Remove obsolete function aliases.
1672         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
1673         Remove options, obsolete since 22.1.
1674         (appt-display-format, appt-display-message): Remove
1675         backwards-compatibility code.
1676         (appt-check): No longer check appt-issue-message.
1677         (appt-make-list): No longer autoload it.  Doc fix.  No longer
1678         activate the package.
1680 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1682         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
1683         (starttls-negotiate): Just call boot, and let the handshake be
1684         triggered from the read loop.
1686 2010-09-29  Glenn Morris  <rgm@gnu.org>
1688         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
1689         not displaying the diary.
1690         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
1691         * calendar/appt.el (appt-check): No longer need to kill diary.
1693         * calendar/diary-lib.el (diary-list-entries): Move the
1694         "Preparing..." message entirely here.
1695         (diary-simple-display, diary-fancy-display): Move "Preparing..."
1696         messages to diary-list-entries.
1697         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
1698         diary-display-function.
1700         * calendar/diary-lib.el (diary-include-other-diary-files):
1701         Trap some recursive includes.
1703         * calendar/appt.el (appt-activate): Check diary file.
1705 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
1707         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
1708         construction.
1710         * calendar/time-date.el: No need to require cl for Emacs 21.
1712 2010-09-28  Glenn Morris  <rgm@gnu.org>
1714         * calendar/appt.el (appt-check): Minor simplification.
1716 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
1718         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
1719         citation prefix.
1721 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
1723         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1724         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
1726 2010-09-27  Kenichi Handa  <handa@m17n.org>
1728         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
1729         "ustar" format.
1731 2010-09-27  Kenichi Handa  <handa@m17n.org>
1733         * international/mule.el (define-coding-system): Docstring fixed.
1735         * international/mule-diag.el (describe-character-set): Use princ
1736         with proper print-length and print-level instead of insert.
1738 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
1740         * window.el (walk-windows): Doc fix (bug#7105).
1742 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1744         * emacs-lisp/float-sup.el (e): Remove.
1746 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
1748         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1749         variable.
1750         (starttls-negotiate): Use it.
1752 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1754         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1755         back.
1757 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1759         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1761 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1763         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1765         * net/netrc.el (netrc-store-data): New function.
1767 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
1769         * net/gnutls.el: GnuTLS glue code to set up a connection.
1771 2010-09-25  Julien Danjou  <julien@danjou.info>
1773         * notifications.el: Call dbus-register-signal only if it is bound.
1775 2010-09-25  Glenn Morris  <rgm@gnu.org>
1777         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1778         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1779         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1780         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1781         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1782         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1783         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1784         * eshell/esh-util.el, eshell/esh-var.el:
1785         Remove leading `*' from docs of faces and defcustoms.
1787 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
1789         * eshell/em-ls.el (eshell-ls-archive-regexp):
1790         * eshell/esh-util.el (eshell-tar-regexp):
1791         * ibuffer.el (ibuffer-compressed-file-name-regexp):
1792         * info.el (Info-suffix-list):
1793         * international/mule.el (auto-coding-alist):
1794         * woman.el (woman-file-regexp, woman-file-compression-regexp):
1795         * progmodes/etags.el (tags-compression-info-list):
1796         Support xz compression.
1798 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
1800         * files.el (get-free-disk-space): Don't assume the "df" output
1801         columns line up (Bug#6995).
1803 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
1805         * finder.el (finder-unknown-keywords):
1806         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
1807         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
1809 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
1811         * server.el (server-start): Revert part of 2010-08-08 change.  Using
1812         address 127.0.0.1 for local host is now done in Fmake_network_process.
1814 2010-09-24  Glenn Morris  <rgm@gnu.org>
1816         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
1817         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
1818         * textmodes/css-mode.el, textmodes/dns-mode.el:
1819         Move autoloaded auto-mode-alist entries to files.el.
1820         * files.el (auto-mode-alist): Move entries here.
1822 2010-09-23  Glenn Morris  <rgm@gnu.org>
1824         * isearch.el (isearch-lazy-highlight-cleanup)
1825         (isearch-lazy-highlight-initial-delay)
1826         (isearch-lazy-highlight-interval)
1827         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
1828         * net/net-utils.el (ipconfig-program-options):
1829         Move aliases to options before the associated definitions.
1831 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1833         * newcomment.el (comment-normalize-vars): Better test validity of
1834         comment-end-skip.
1836 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1838         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
1839         (float-e): New name for `e'.
1840         (degrees-to-radians, radians-to-degrees):
1841         * calendar/solar.el (solar-longitude):
1842         * calculator.el (calculator-registers, calculator-funcall):
1843         * textmodes/artist.el (artist-spray-random-points):
1844         * play/bubbles.el (bubbles--initialize-images): Use new names.
1846 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
1848         Update to CEDET 1.0's version of EIEIO.
1850         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
1851         New function.
1852         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
1853         (eieio-default-eval-maybe): Eval val instead of unquoting only.
1854         (class-precedence-list): If class is nil, return nil.
1855         (eieio-generic-call): If class of first input arg is nil, don't
1856         look up static methods, and do check for primary methods.
1857         (initialize-instance): See if the default needs to be evaluated
1858         during the constructor.
1859         (eieio-perform-slot-validation-for-default): Don't do the check
1860         for values that will eventually be evaluated.
1861         (eieio-eval-default-p): New function.
1862         (eieio-default-eval-maybe): Use it.
1864 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1866         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1867         method-invocation-order.
1868         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1869         (eieio-class-precedence-dfs): Compute class precedence list using
1870         dfs algorithm.
1871         (eieio-class-precedence-bfs): Compute class precedence list using
1872         bfs algorithm.
1873         (eieio-class-precedence-c3): Compute class precedence list using
1874         c3 algorithm.
1875         (class-precedence-list): New function.
1876         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1877         (inconsistent-class-hierarchy): New error symbol.
1878         (call-next-method): Stow the replacement argument list for future
1879         call-next-method invocations.
1881 2010-09-23  Glenn Morris  <rgm@gnu.org>
1883         * calendar/appt.el (appt-check): If not displaying the diary,
1884         use (diary 1) to only get the entries we need.
1885         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1886         that it is in day order.  (Bug#7019)
1888         * calendar/appt.el (appt-check): Rather than showing the diary,
1889         just turn off invisible display, and only if needed.
1891         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
1893 2010-09-23  Glenn Morris  <rgm@gnu.org>
1895         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1896         (byte-compile-defvar, byte-compile-cl-warn):
1897         Start warnings with lower-case, like the majority.
1899         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1901         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
1903         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1904         * files.el (auto-mode-alist): Move ld-script entries here, further down
1905         the list.
1907         * vc/add-log.el: Don't require timezone when compiling.
1908         (timezone-make-date-sortable): Autoload it.
1909         (change-log-sortable-date-at): Don't require timezone.
1910         Use `ignore-errors'.
1912         * comint.el (comint-use-prompt-regexp-instead-of-fields):
1913         Move alias before definition, so it does not need autoloading.
1915         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1916         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1917         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1918         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1919         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1920         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1921         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1922         * textmodes/tex-mode.el, textmodes/two-column.el:
1923         Remove leading `*' from docs of defcustoms etc.
1925 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
1927         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1929 2010-09-22  Dan Christensen  <jdc@uwo.ca>
1931         * calendar/time-date.el (date-to-time): Try using parse-time-string
1932         first before using the slower timezone-make-date-arpa-standard.
1934 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
1936         * calendar/time-date.el (format-seconds): Comment fix.
1938 2010-09-22  Glenn Morris  <rgm@gnu.org>
1940         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1941         is not automatically buffer-local.
1943 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1945         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1946         (smie-indent-comment): Be more careful with comment-start-skip.
1947         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1948         (smie-indent-functions): Use them.
1950 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
1952         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1954 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
1956         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1957         tool-bar-position.  Don't modify frame parameters here.
1958         (menu-bar-options-save): Add tool-bar-position.
1960         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1962 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1964         * textmodes/reftex-parse.el (reftex-what-macro)
1965         (reftex-context-substring): Let-bind forward-sexp-function to nil
1966         since we don't need/want to treat \begin...\end as a block (bug#7053).
1968         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1970         * simple.el (blink-matching-open): Use syntax-class.
1972         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1973         Set invisibility spec for pascal's outline mode.
1974         (pascal-outline-change): Clean up calling convention.
1975         (pascal-show-all, pascal-hide-other-defuns): Update callers.
1977         * progmodes/prolog.el (prolog-smie-forward-token)
1978         (prolog-smie-backward-token): New functions.
1979         (prolog-mode-variables): Use them to parse "!," correctly.
1980         Set up smie-blink-matching for ".".
1982         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1983         and `end'.
1984         (ispell-region, ispell-process-line): Update users.
1986         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1987         point-min==1.
1989         * textmodes/ispell.el: Fix commenting convention.
1990         (ispell-parse-output): Simplify, use push.
1991         (ispell-region): Use match-string-no-properties.
1992         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1993         (ispell-minor-mode): Use define-minor-mode.
1994         (ispell-message): Remove unused var `skip-regexp'.
1995         (ispell-add-per-file-word-list): Use dynamic let-binding.
1996         Try and use the proper comment marker.
1998         * mail/sendmail.el: Fix commenting convention.
1999         (sendmail-send-it): Use line-beginning-position.
2001         * help-fns.el (describe-variable): Add original value, if applicable.
2003 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
2005         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2007         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2009 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2011         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2012         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2013         (smie-prec2-levels): Use them to better diagnose precedence cycles.
2014         (smie-blink-matching-check): Don't signal a mismatch if car is t.
2015         (smie-blink-matching-open): Rewrite to remove assumptions, so that
2016         something like "." can also be a closer.
2017         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2018         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2019         Rename internal functions to use "--".  Update callers.
2021         * frame.el (make-frame-names-alist): Don't list frames on other displays.
2023         * fringe.el (fringe-styles): New var.
2024         (fringe-mode, fringe-query-style): Use it.
2026 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
2028         * progmodes/sql.el: Version 2.8
2029         (sql-login-params): Update widget structure; changes still needed.
2030         (sql-product-alist): Add :list-all and :list-table features for
2031         SQLite, Postgres and MySQL products.
2032         (sql-redirect): Handle default value.
2033         (sql-execute, sql-execute-feature): New functions.
2034         (sql-read-table-name): New function.
2035         (sql-list-all, sql-list-table): New functions.  User API.
2036         (sql-mode-map, sql-interactive-mode-map): Add key definitions
2037         for above functions.
2038         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2039         for above functions.
2040         (sql-postgres-login-params): Add user and database defaults.
2041         (sql-buffer-live-p): Bug fix.
2042         (sql-product-history): New variable.
2043         (sql-read-product): New function. Use it.
2044         (sql-set-product, sql-product-interactive): Use it.
2045         (sql-connection-history): New variable.
2046         (sql-read-connection): New function.  Use it.
2047         (sql-connect): New function.
2048         (sql-for-each-login): Redesign function interface.
2049         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2050         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
2051         (sql-comint): Check for program.  Existing live buffer.
2052         (sql-comint-postgres): Add port parameter.
2054 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2056         * emacs-lisp/warnings.el: Fix commenting convention.
2057         (display-warning): Use special mode and make the buffer read-only.
2059 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
2061         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2062         empty string when it follows a repeated or optional pattern.
2064 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2066         * indent.el (indent-according-to-mode): Apply syntax-propertize.
2067         (indent-region): Use indent-according-to-mode.
2069 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
2071         * fringe.el (fringe-mode): Doc fix.
2073 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
2075         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2076         refreshing the preview buffer.
2078 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2080         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2081         (latex-syntax-propertize-rules): New consts; replace
2082         tex-font-lock-syntactic-keywords.
2083         (tex-env-mark, latex-env-before-change): New functions.
2084         (latex-electric-env-pair-mode): New minor mode.
2085         (tex-font-lock-verb): Change arguments; do move point.
2086         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2087         representation as a form of comment.
2088         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2089         (doctex-syntax-propertize-rules): New const; replaces
2090         doctex-font-lock-syntactic-keywords.
2091         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2093         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2094         (fortran-make-syntax-propertize-function): New function; replaces
2095         fortran-font-lock-syntactic-keywords.
2096         (fortran-mode): Use it.
2097         (fortran-line-length): Use it.  Improve interactive spec.
2099         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2100         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
2101         when adding surrounding \(..\).
2103         * progmodes/js.el (js-mode): Fix last change (bug#7054).
2105 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2107         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2108         Use with-current-buffer.
2110         * isearch.el (isearch-face): Rename from `isearch'.
2111         (isearch-highlight): Use new name.
2113 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
2115         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2116         5, for `half' width fringes.  (Bug#6933)
2118 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2120         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2121         (byte-compile-defvar): "foo/bar" does not lack a prefix.
2123         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2125 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
2127         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2128         in calculating new frame position.  Add more space between new and
2129         parent on the left (Bug#7048).
2131 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
2133         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2134         defmacro.
2136 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
2138         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2140         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2141         obsolete alias for x-selection-value.
2143         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2145 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
2147         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2148         cookie.
2150 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
2152         * net/tramp-compat.el (tramp-compat-with-temp-message)
2153         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2154         (tramp-compat-process-put): New defuns.
2156         * net/tramp.el (top):
2157         * net/tramp-gvfs.el (top):
2158         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2160         * net/tramp.el (tramp-progress-reporter-update):
2161         Use `tramp-compat-funcall'.
2163         * net/tramp.el (tramp-process-actions):
2164         * net/tramp-gvfs.el (tramp-handle-vc-registered):
2165         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2166         (tramp-get-remote-stat, tramp-get-remote-readlink):
2167         Use `tramp-compat-with-temp-message'.
2169         * net/tramp-sh.el (top): Require 'cl.
2170         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2171         (tramp-open-connection-setup-interactive-shell):
2172         Use `tramp-compat-process-put'.
2174 2010-09-15  Alan Mackenzie  <acm@muc.de>
2176         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2177         indentation.
2178         (c-forward-<>-arglist-recur): Fix an infinite recursion.
2180 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2182         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2183         `lexical' for warnings related to lexical scoping.
2184         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2185         global vars which don't have a prefix and could hence affect lexical
2186         scoping in unrelated files.
2188 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2190         * net/imap.el: Revert back to version
2191         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2192         seem problematic.
2194 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
2196         * obsolete/old-whitespace.el (whitespace-unload-function):
2197         Explicitly pass `obarray' to `unintern' to avoid a warning.
2199 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2201         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2202         Add `when' argument.  Update callers.
2204         * subr.el (unintern): Declare the obarray arg mandatory.
2206 2010-09-14  Glenn Morris  <rgm@gnu.org>
2208         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2209         Doc fixes.
2211         * calendar/diary-lib.el (diary-included-files): New variable.
2212         (diary-list-entries): Maybe initialize diary-included-files.
2213         (diary-include-other-diary-files): Append to diary-included-files.
2214         * calendar/appt.el (appt-update-list): Also check the members of
2215         diary-included-files.  (Bug#6999)
2216         (appt-check): Doc fix.
2218 2010-09-14  David Reitter  <david.reitter@gmail.com>
2220         * simple.el (line-move-visual): Do not truncate goal column to
2221         integer size.  (Bug#7020)
2223 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2225         * repeat.el (repeat): Allow repeating when the last event is a click.
2226         Suggested by Drew Adams (bug#6256).
2228 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
2230         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2231         Replace setting HGRCPATH to "" by some less invasive --config options.
2233 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2235         * font-lock.el (font-lock-beginning-of-syntax-function):
2236         Mark as obsolete.
2238 2010-09-14  Glenn Morris  <rgm@gnu.org>
2240         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2241         and tool-bar modes.  (Bug#6211)
2242         (menu-bar-mode): Move setting of standard-value after the
2243         minor-mode definition, otherwise it seems to have no effect.
2245 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
2247         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2248         Fix typo.  (Bug#6976)
2250 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2252         * whitespace.el: Allow cleaning up blanks without blank
2253         visualization (Bug#6651).  Adjust help window for
2254         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
2255         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
2256         (whitespace-style): Add new value 'face.  Adjust docstring.
2257         (whitespace-space, whitespace-hspace, whitespace-tab):
2258         Adjust foreground property face.
2259         (whitespace-line-column): Adjust docstring and type declaration.
2260         (whitespace-style-value-list, whitespace-toggle-option-alist)
2261         (whitespace-help-text): Adjust const initialization.
2262         (whitespace-toggle-options, global-whitespace-toggle-options):
2263         Adjust docstring.
2264         (whitespace-display-window, whitespace-interactive-char)
2265         (whitespace-style-face-p, whitespace-color-on): Adjust code.
2266         (whitespace-help-scroll): New fun.
2268 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2270         * calendar/time-date.el (format-seconds): Comment fix.
2272 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
2274         * progmodes/sql.el: Version 2.7.
2275         (sql-buffer-live-p): Improve detection.
2276         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2277         (sql-set-sqli-buffer): Use it.
2278         (sql-product-interactive): Run `sql-set-sqli-hook'.
2279         (sql-rename-buffer): Code cleanup.
2280         (sql-redirect, sql-redirect-value): New functions.  More to come.
2282 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
2284         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.
2285         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2286         (TRAMP_SRC): New macro.
2287         ($(lisp)/net/tramp-loaddefs.el): New target.
2289 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
2291         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
2293         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
2295         * net/tramp.el (top): Don't show loading message.  Require just
2296         'tramp-compat, everything else is required there.
2297         Use `ignore-errors' where appropriate.
2298         (tramp-inline-compress-start-size, tramp-copy-size-limit)
2299         (tramp-terminal-type, tramp-end-of-output)
2300         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2301         (tramp-completion-function-alist-ssh)
2302         (tramp-completion-function-alist-telnet)
2303         (tramp-completion-function-alist-su)
2304         (tramp-completion-function-alist-putty, tramp-remote-path)
2305         (tramp-remote-process-environment, tramp-sh-extra-args)
2306         (tramp-actions-before-shell, tramp-uudecode)
2307         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2308         (tramp-perl-file-attributes)
2309         (tramp-perl-directory-files-and-attributes)
2310         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2311         (tramp-perl-encode, tramp-perl-decode)
2312         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2313         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2314         (tramp-handle-make-symbolic-link, tramp-handle-load)
2315         (tramp-handle-file-name-as-directory)
2316         (tramp-handle-file-name-directory)
2317         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2318         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2319         (tramp-do-file-attributes-with-ls)
2320         (tramp-do-file-attributes-with-perl)
2321         (tramp-do-file-attributes-with-stat)
2322         (tramp-handle-set-visited-file-modtime)
2323         (tramp-handle-verify-visited-file-modtime)
2324         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2325         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2326         (tramp-handle-file-selinux-context)
2327         (tramp-handle-set-file-selinux-context)
2328         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2329         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2330         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2331         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2332         (tramp-handle-file-ownership-preserved-p)
2333         (tramp-handle-directory-file-name, tramp-handle-directory-files)
2334         (tramp-handle-directory-files-and-attributes)
2335         (tramp-do-directory-files-and-attributes-with-perl)
2336         (tramp-do-directory-files-and-attributes-with-stat)
2337         (tramp-handle-file-name-all-completions)
2338         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2339         (tramp-handle-copy-file, tramp-handle-copy-directory)
2340         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2341         (tramp-do-copy-or-rename-file-via-buffer)
2342         (tramp-do-copy-or-rename-file-directly)
2343         (tramp-do-copy-or-rename-file-out-of-band)
2344         (tramp-handle-make-directory, tramp-handle-delete-directory)
2345         (tramp-handle-delete-file)
2346         (tramp-handle-dired-recursive-delete-directory)
2347         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2348         (tramp-handle-insert-directory)
2349         (tramp-handle-unhandled-file-name-directory)
2350         (tramp-handle-expand-file-name)
2351         (tramp-handle-substitute-in-file-name)
2352         (tramp-handle-executable-find, tramp-process-sentinel)
2353         (tramp-handle-start-file-process, tramp-handle-process-file)
2354         (tramp-handle-call-process-region, tramp-handle-shell-command)
2355         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2356         (tramp-handle-insert-file-contents)
2357         (tramp-handle-insert-file-contents-literally)
2358         (tramp-handle-find-backup-file-name)
2359         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2360         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2361         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2362         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2363         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2364         (tramp-find-file-exists-command, tramp-open-shell)
2365         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2366         (tramp-open-connection-setup-interactive-shell)
2367         (tramp-local-coding-commands, tramp-remote-coding-commands)
2368         (tramp-find-inline-encoding, tramp-call-local-coding-command)
2369         (tramp-inline-compress-commands, tramp-find-inline-compress)
2370         (tramp-compute-multi-hops, tramp-maybe-open-connection)
2371         (tramp-send-command, tramp-wait-for-output)
2372         (tramp-send-command-and-check, tramp-barf-unless-okay)
2373         (tramp-send-command-and-read, tramp-mode-string-to-int)
2374         (tramp-convert-file-attributes, tramp-check-cached-permissions)
2375         (tramp-file-mode-from-int, tramp-file-mode-permissions)
2376         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2377         (tramp-method-out-of-band-p, tramp-local-host-p)
2378         (tramp-get-remote-path, tramp-get-remote-tmpdir)
2379         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2380         (tramp-get-test-command, tramp-get-test-nt-command)
2381         (tramp-get-file-exists-command, tramp-get-remote-ln)
2382         (tramp-get-remote-perl, tramp-get-remote-stat)
2383         (tramp-get-remote-readlink, tramp-get-remote-trash)
2384         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2385         (tramp-get-local-uid, tramp-get-local-gid)
2386         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2387         tramp-sh.el.
2388         (tramp-methods, tramp-default-method-alist)
2389         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2390         Move initialization to tramp-sh.el.
2391         (tramp-temp-name-prefix): Make it a defconst.
2392         (tramp-dissect-file-name): Don't check anymore for multi-hop
2393         methods.
2394         (tramp-debug-outline-regexp): Add a docstring.
2395         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2396         (tramp-get-debug-buffer): Use it.
2398         * net/tramp-cache.el (top): Set tramp-autoload cookie for
2399         initialization forms.
2400         (tramp-set-connection-property): Don't protect `tramp-message'
2401         call, it isn't necessary any longer.
2402         (tramp-dump-connection-properties): Use `ignore-errors'.
2404         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2405         'password-cache and 'auth-source.
2407         * net/tramp-gvfs.el (top):
2408         * net/tramp-smb.el (top): Require 'tramp-sh.
2410         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2412         * net/tramp-sh.el: New file, derived from tramp.el.
2413         (top): Initialize `tramp-methods', `tramp-default-method-alist',
2414         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2415         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2416         Use `ignore-errors' where appropriate.
2417         (tramp-sh-file-name-handler-alist): Rename from
2418         `tramp-file-name-handler-alist'.
2419         (tramp-send-command-and-check): Return t or nil.  Remove all
2420         `zerop' checks, where called.
2421         (tramp-handle-set-file-modes)
2422         (tramp-do-copy-or-rename-file-directly)
2423         (tramp-handle-delete-directory, tramp-handle-delete-file)
2424         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2425         (tramp-sh-file-name-handler, tramp-send-command-and-check)
2426         (tramp-get-remote-ln): Set tramp-autoload cookie.
2428         * net/tramp-fish.el: Remove file.
2430 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
2432         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2433         buffer-file-name to avoid file-locking.  (Bug#7026)
2435 2010-09-13  Julien Danjou  <julien@danjou.info>
2437         * notifications.el (notifications-notify): Add support for
2438         image-path and sound-name.
2439         (notifications-specification-version): Add this variable.
2441 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2443         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2445 2010-09-12  Leo  <sdl.web@gmail.com>
2447         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2448         (rcirc-completion-start): New variables.
2449         (rcirc-nick-completions): Rename to rcirc-completions.
2450         (rcirc-nick-completion-start-offset): Delete.
2451         (rcirc-completion-at-point): New function for constructing
2452         completion data for both nicks and irc commands.  Add to
2453         completion-at-point-functions in rcirc mode.
2454         (rcirc-complete): Rename from rcirc-nick-complete; use
2455         rcirc-completion-at-point.
2456         (defun-rcirc-command): Update rcirc-client-commands.
2458 2010-09-11  Glenn Morris  <rgm@gnu.org>
2460         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2461         atomically, to avoid parallel build errors.  (Bug#4196)
2463 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
2465         * progmodes/sql.el: Version 2.6
2466         (sql-dialect): Synonym for "sql-product".
2467         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2468         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2469         Set "sql-buffer" to buffer name not buffer object so multiple sql
2470         interactive buffers work properly.  Reverts misguided changes in
2471         earlier work.
2472         (sql-comint): Make sure different buffer name is used if "*SQL*"
2473         buffer is for a different product.
2474         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2475         login param.
2476         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2477         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2478         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2479         Accept new buffer name or prompt for one.
2480         (sql-port): Default to zero.
2481         (sql-comint-mysql): Handle "sql-port" as a numeric.
2482         (sql-port-history): Delete unused variable.
2483         (sql-get-login): Default "sql-port" to a number.
2484         (sql-product-alist): Correct Postgres prompt and terminator regexp.
2485         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2486         "sqlite3" executables.
2487         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2488         (sql-buffer-live-p): New function.
2489         (sql-mode-menu, sql-send-string): Use it.
2490         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2491         syntax pattern.
2492         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2493         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2495 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2497         * net/netrc.el (netrc-credentials): New convenience function.
2499 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2501         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2502         to replace texinfo-font-lock-syntactic-keywords.
2503         (texinfo-mode): Use it.
2505         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2506         Use syntax-propertize-function.
2508         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2509         replace sgml-font-lock-syntactic-keywords.
2510         (sgml-mode): Use it.
2512         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2513         since we don't use it.
2515         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2517         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2518         if available.
2519         (vhdl-fontify-buffer): Adjust.
2521         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2522         replace tcl-font-lock-syntactic-keywords.
2523         (tcl-mode): Use it.
2525         * progmodes/simula.el (simula-syntax-propertize-function): New var to
2526         replace simula-font-lock-syntactic-keywords.
2527         (simula-mode): Use it.
2529         * progmodes/sh-script.el (sh-st-symbol): Remove.
2530         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2531         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2532         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2533         (sh-font-lock-paren): Set syntax-multiline.
2534         (sh-font-lock-syntactic-keywords): Remove.
2535         (sh-syntax-propertize-function): New function to replace it.
2536         (sh-mode): Use it.
2538         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2539         Define while compiling.
2540         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2541         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2542         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2543         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2544         (ruby-here-doc-end-syntax): Only define when
2545         syntax-propertize is not available.
2546         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2547         New functions.
2548         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2549         (electric-indent-chars): Silence bytecompiler.
2550         (ruby-mode): Use prog-mode, syntax-propertize-function, and
2551         electric-indent-chars.
2553         * progmodes/python.el (python-syntax-propertize-function): New var to
2554         replace python-font-lock-syntactic-keywords.
2555         (python-mode): Use it.
2556         (python-quote-syntax): Simplify and adjust to new use.
2558         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2559         replace perl-font-lock-syntactic-keywords.
2560         (perl-syntax-propertize-special-constructs): New fun to replace
2561         perl-font-lock-special-syntactic-constructs.
2562         (perl-font-lock-syntactic-face-function): New fun.
2563         (perl-mode): Use it.
2565         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2566         to replace octave-font-lock-close-quotes.
2567         (octave-syntax-propertize-function): New function to replace
2568         octave-font-lock-syntactic-keywords.
2569         (octave-mode): Use it.
2571         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2572         replaces mixal-font-lock-syntactic-keywords.
2573         (mixal-mode): Use it.
2575         * progmodes/make-mode.el (makefile-syntax-propertize-function):
2576         New var; replaces makefile-font-lock-syntactic-keywords.
2577         (makefile-mode): Use it.
2578         (makefile-imake-mode): Adjust.
2580         * progmodes/js.el (js--regexp-literal): Define while compiling.
2581         (js-syntax-propertize-function): New var; replaces
2582         js-font-lock-syntactic-keywords.
2583         (js-mode): Use it.
2585         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2586         replaces gdb-script-font-lock-syntactic-keywords.
2587         (gdb-script-mode): Use it.
2589         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2590         (fortran--font-lock-syntactic-keywords): New var.
2591         (fortran-line-length): Update syntax-propertize-function and
2592         fortran--font-lock-syntactic-keywords.
2594         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2596         * progmodes/cfengine.el (cfengine-mode):
2597         Use syntax-propertize-function.
2598         (cfengine-font-lock-syntactic-keywords): Remove.
2600         * progmodes/autoconf.el (autoconf-mode):
2601         Use syntax-propertize-function.
2602         (autoconf-font-lock-syntactic-keywords): Remove.
2604         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2605         (ada-after-change-function, ada-initialize-syntax-table-properties)
2606         (ada-handle-syntax-table-properties): Only define when
2607         syntax-propertize is not available.
2608         (ada-mode): Use syntax-propertize-function.
2610         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2611         (font-lock-fontify-syntactic-keywords-region): Move handling of
2612         font-lock-syntactically-fontified to...
2613         (font-lock-default-fontify-region): ...here.
2614         Let syntax-propertize-function take precedence.
2615         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2617         * emacs-lisp/syntax.el (syntax-propertize-function)
2618         (syntax-propertize-chunk-size, syntax-propertize--done)
2619         (syntax-propertize-extend-region-functions): New vars.
2620         (syntax-propertize-wholelines, syntax-propertize-multiline)
2621         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2622         (syntax-propertize): New functions.
2623         (syntax-propertize-rules): New macro.
2624         (syntax-ppss-flush-cache): Set syntax-propertize--done.
2625         (syntax-ppss): Call syntax-propertize.
2627         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2629 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
2631         * textmodes/ispell.el (ispell-init-process): Improve comments.
2632         XEmacs compatibility changes regarding (add-hook) 'local option
2633         and (set-process-query-on-exit-flag).
2635 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
2637         * net/tramp-cache.el (tramp-parse-connection-properties):
2638         Set tramp-autoload cookie.
2640 2010-09-09  Glenn Morris  <rgm@gnu.org>
2642         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2643         (imagemagick-register-types): Doc fix.
2645 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2647         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2649         * progmodes/js.el (require): Require is already "eval-and-compile".
2650         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
2651         (js--re-search-backward): Use js--re-search-forward.
2653         * progmodes/fortran.el (fortran-line-length): Don't recompute
2654         syntactic keywords redundantly a second time.
2656         * progmodes/ada-mode.el: Replace "(set '" with setq.
2657         (ada-mode): Simplify.
2658         (ada-create-case-exception, ada-adjust-case-interactive)
2659         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2660         (ada-search-ignore-string-comment, ada-move-to-start)
2661         (ada-move-to-end): Use with-syntax-table.
2663         * font-lock.el (save-buffer-state): Remove `varlist' arg.
2664         (font-lock-unfontify-region, font-lock-default-fontify-region):
2665         Update usage correspondingly.
2666         (font-lock-fontify-syntactic-keywords-region):
2667         Set parse-sexp-lookup-properties buffer-locally here.
2668         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
2670         * simple.el (blink-matching-open): Don't burp if we can't find a match.
2672 2010-09-08  Glenn Morris  <rgm@gnu.org>
2674         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
2675         Error if not compiled with -DBYTE_CODE_METER.
2677         * emacs-lisp/bytecomp.el (byte-recompile-directory):
2678         Ignore dir-locals-file.
2680 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2682         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2683         Not a const.
2684         (compilation-error-regexp-alist-alist): Rule out ": " in file names
2685         for the `gnu' messages.
2686         (compilation-set-skip-threshold): New command.
2687         (compilation-start): Use \' rather than $.
2688         (compilation-forget-errors): Use clrhash.
2690 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
2692         * textmodes/ispell.el (ispell-valid-dictionary-list):
2693         Simplify logic.
2695 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
2697         Migrate to Tramp 2.2.  Rearrange load dependencies.
2698         (Bug#1529, Bug#5448, Bug#5705)
2700         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
2701         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
2702         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2704         * net/tramp.el (top): Remove all other tramp-* loads except
2705         tramp-compat.el.  Remove all changes to tramp-unload-hook for
2706         other tramp-* packages.  Rearrange defun order.  Change calls of
2707         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
2708         `tramp-compat-octal-to-decimal' to new function names.
2709         (tramp-terminal-type, tramp-initial-end-of-output)
2710         (tramp-methods, tramp-foreign-file-name-handler-alist)
2711         (tramp-tramp-file-p, tramp-completion-mode-p)
2712         (tramp-send-command-and-check, tramp-get-remote-path)
2713         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
2714         (tramp-shell-quote-argument): Set tramp-autoload cookie.
2715         (with-file-property, with-connection-property): Move to
2716         tramp-cache.el.
2717         (tramp-local-call-process, tramp-decimal-to-octal)
2718         (tramp-octal-to-decimal): Move to tramp-compat.el.
2719         (tramp-handle-shell-command): Do not require 'shell.
2720         (tramp-compute-multi-hops): No special handling for tramp-gw-*
2721         symbols.
2722         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
2724         * net/tramp-cache.el (top): Require 'tramp.  Add to
2725         `tramp-unload-hook'.
2726         (tramp-cache-data, tramp-get-file-property)
2727         (tramp-set-file-property, tramp-flush-file-property)
2728         (tramp-flush-directory-property, tramp-get-connection-property)
2729         (tramp-set-connection-property, tramp-flush-connection-property)
2730         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
2731         cookie.
2732         (with-file-property, with-connection-property): New defuns, moved
2733         from tramp.el.
2734         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2735         macro.
2737         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2738         (tramp-version): Set tramp-autoload cookie.
2740         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
2741         changes to tramp-unload-hook for other tramp-* packages.  Add to
2742         `tramp-unload-hook'.
2743         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2744         (tramp-compat-call-process): New defuns, moved from tramp.el.
2746         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
2747         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2748         to `tramp-unload-hook'.  Change call of
2749         `tramp-compat-decimal-to-octal' to new function name.
2750         (tramp-fish-method): Make it a defconst.
2751         (tramp-fish-file-name-p): Make it a defsubst.
2752         (tramp-fish-method, tramp-fish-file-name-handler)
2753         (tramp-fish-file-name-p): Set tramp-autoload cookie.
2755         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2756         `tramp-foreign-file-name-handler-alist'.  Add to
2757         `tramp-unload-hook'.
2758         (tramp-ftp-method): Make it a defconst.
2759         (tramp-ftp-file-name-p): Make it a defsubst.
2760         (tramp-ftp-method, tramp-ftp-file-name-handler)
2761         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2763         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2764         `tramp-foreign-file-name-handler-alist'.  Add to
2765         `tramp-unload-hook'.  Change checks, whether package can be
2766         loaded.
2767         (tramp-gvfs-file-name-p): Make it a defsubst.
2768         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2769         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2770         (tramp-gvfs-handle-file-directory-p): New defun.
2771         (tramp-gvfs-file-name-handler-alist): Use it.
2773         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2774         `tramp-foreign-file-name-handler-alist'.  Add to
2775         `tramp-unload-hook'.
2776         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2777         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2778         defconst.
2779         (tramp-gw-tunnel-method, tramp-gw-socks-method)
2780         (tramp-gw-open-connection): Set tramp-autoload cookie.
2782         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
2783         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2784         to `tramp-unload-hook'.  Change checks, whether package can be
2785         loaded.
2786         (tramp-imap-file-name-p): Make it a defsubst.
2787         (tramp-imap-method, tramp-imaps-method)
2788         (tramp-imap-file-name-handler)
2789         (tramp-imap-file-name-p): Set tramp-autoload cookie.
2791         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
2792         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2793         to `tramp-unload-hook'.  Change checks, whether package can be
2794         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
2795         function name.
2796         (tramp-smb-tunnel-method): Make it a defconst.
2797         (tramp-smb-file-name-p): Make it a defsubst.
2798         (tramp-smb-method, tramp-smb-file-name-handler)
2799         (tramp-smb-file-name-p): Set tramp-autoload cookie.
2801         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
2802         (tramp-uuencode-region): Set tramp-autoload cookie.
2804         * net/trampver.el (top) Add to `tramp-unload-hook'.
2805         (tramp-version, tramp-bug-report-address): Set tramp-autoload
2806         cookie.  Update release number.
2808 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
2810         * textmodes/ispell.el (ispell-start-process): Make sure original
2811         arg list is properly initialized (Bug#6993, Bug#6994).
2813 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
2815         * files.el (directory-abbrev-alist): Use \` as default regexp.
2817         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
2818         chars like - or ] (bug#6984).
2819         (rx-any-condense-range): Explode 2-char ranges.
2821 2010-09-06  Glenn Morris  <rgm@gnu.org>
2823         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
2825 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2827         * textmodes/bibtex.el:
2828         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
2830 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2832         * net/imap.el (imap-message-map): Remove optional buffer parameter,
2833         since no callers use it.
2834         (imap-message-get): Ditto.
2835         (imap-message-put): Ditto.
2836         (imap-mailbox-map): Ditto.
2837         (imap-mailbox-put): Ditto.
2838         (imap-mailbox-get): Ditto.
2839         (imap-mailbox-get): Revert last change for this function.
2841 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2843         * net/imap.el (imap-fetch-safe): Remove function, and alter all
2844         callers to use `imap-fetch' instead.  According to the comments, this
2845         should be safe, since all other IMAP clients use the 1:* syntax.
2846         (imap-enable-exchange-bug-workaround): Remove.
2847         (imap-debug): Remove -- doesn't seem very useful.
2849 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2851         * net/imap.el (imap-log): New convenience function used throughout
2852         instead of repeating the same code all over the place.
2854 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
2856         * mouse.el (mouse-save-then-kill): Save region to kill-ring
2857         when mouse-drag-copy-region is non-nil (Bug#6956).
2859 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
2861         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2862         Improve regexps (Bug#6987).
2863         (dired-sort-toggle): Search more robustly for -t flag.
2865         * files.el (get-free-disk-space): Search more robustly for
2866         "available" column.  Suggested by Ehud Karni
2867         <ehud@unix.mvs.co.il>.
2869 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
2871         * international/uni-bidi.el:
2872         * international/uni-category.el:
2873         * international/uni-combining.el:
2874         * international/uni-decimal.el:
2875         * international/uni-mirrored.el:
2876         * international/uni-name.el: Regenerate.
2878 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2880         * electric.el (electric-indent-post-self-insert-function):
2881         Don't reindent with a sloppy indentation function.
2883         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2884         border case in change-log-mode.
2886 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
2888         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2889         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2890         Recognize leading tab in gcc-include regexp.  Ignore names with
2891         leading "from" or "in" in gnu regexp (Bug#6937).
2893 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2895         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2896         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2897         (ispell-start-process): Avoid setq and simplify logic.
2898         (ispell-init-process): Setup kill-buffer-hook locally when needed.
2899         (kill-buffer-hook): Don't use it globally with code that uses
2900         expand-file-name since that may call kill-buffer via
2901         code_conversion_restore.
2903 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
2905         * emacs-lisp/package.el (package-directory-list): Only call
2906         file-name-nondirectory on a string.
2908 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
2910         * emacs-lisp/package.el (package--download-one-archive):
2911         Ensure that archive-contents is valid before saving it.
2912         (package-activate-1, package-mark-obsolete, define-package)
2913         (package-compute-transaction, package-list-maybe-add): Use push.
2915 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2917         Use SMIE's blink-paren for octave-mode.
2918         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2919         Backslashes do not escape single-quotes, single-quotes do.
2920         (octave-block-else-regexp, octave-block-end-regexp)
2921         (octave-block-match-alist): Remove.
2922         (octave-smie-bnf-table): New var, with old content.
2923         (octave-smie-op-levels): Use it.
2924         (octave-smie-closer-alist): New var.
2925         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
2926         (octave-blink-matching-block-open): Remove.
2927         (octave-reindent-then-newline-and-indent, octave-electric-semi)
2928         (octave-electric-space): Let self-insert-command run expand-abbrev and
2929         blink parens.
2931         * electric.el (electricity): New group.
2932         (electric-indent-chars): New var.
2933         (electric-indent-post-self-insert-function): New fun.
2934         (electric-indent-mode): New minor mode.
2935         (electric-pair-skip-self): New custom.
2936         (electric-pair-post-self-insert-function): New function.
2937         (electric-pair-mode): New minor mode.
2939         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2940         calcAlg-blink-matching-open.
2941         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2942         (calc-do-alg-entry): Only touch the part of the keymap that varies.
2943         Use the new blink-matching-check-function.
2945         Provide blink-matching support to SMIE.
2946         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2947         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2948         (smie-blink-matching-check, smie-blink-matching-open): New functions.
2950         * simple.el (newline): Fix last change to properly remove itself from
2951         the hook.
2953 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2955         * simple.el (newline): Eliminate optimization.
2956         Use post-self-insert-hook to set hard-newline and things before
2957         running post-self-insert-hook.
2958         (blink-matching-check-mismatch): New function.
2959         (blink-matching-check-function): New variable.
2960         (blink-matching-open): Use them.
2961         Skip back forward over prefix chars skipped by forward-sexp.
2962         Don't check if the parens are backslash escaped.
2963         (blink-paren-post-self-insert-function): Check backslash escaping here.
2965 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
2967         * emacs-lisp/package.el (package-menu-mode-map):
2968         Change package-menu-revert bindings to revert-buffer.
2969         (package-menu-mode): Set revert-buffer-function.
2970         (package-menu-revert): Doc fix.
2972 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
2974         * textmodes/ispell.el (ispell-init-process): Use "~/" as
2975         `default-directory' unless using Ispell per-directory personal
2976         dictionaries and not in a mini-buffer under XEmacs.
2977         (kill-buffer-hook): Do not kill ispell process on exit when
2978         `ispell-process-directory' is "~/".  (Bug#6143)
2980 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
2982         * simple.el (kill-new): Call interprogram-cut-function with only
2983         one argument.
2985         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2986         Remove cut buffer from error message.
2988         * term/x-win.el (x-select-text):
2989         * term/pc-win.el (x-selection-value):
2990         * term/ns-win.el (x-selection-value):
2991         * eshell/em-term.el:
2992         * w32-fns.el (x-get-selection-value):
2993         * mouse-sel.el (mouse-sel-set-selection-function):
2994         * frame.el (display-selections-p): Remove cut-buffer in documentation.
2996         * term/x-win.el: Update documentation for x-last-selected-text-*.
2997         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2998         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2999         (x-select-text): Remove argument PUSH, update documentation.  Remove
3000         cut-buffer code.
3001         (x-selection-value-internal): Was previously x-selection-value.
3002         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3003         Update documentation, remove cut-buffer code.  Call
3004         x-selection-value-internal.
3005         (x-clipboard-yank): Call x-selection-value-internal.
3006         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3008         * term/pc-win.el (x-last-selected-text):
3009         x-cut-buffer-or-selection-value renamed to x-selection-value
3010         (x-select-text): Remove argument PUSH, update documentation.
3012         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3013         x-cut-buffer-or-selection-value renamed to x-selection-value
3014         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3015         (x-select-text): Remove argument PUSH, update documentation.
3017         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3019         * w32-fns.el (x-last-selected-text):
3020         x-cut-buffer-or-selection-value renamed to x-selection-value.
3021         (x-cut-buffer-max): Remove.
3022         (x-select-text): Remove argument PUSH, update documentation.
3024         * simple.el (interprogram-cut-function): Remove mention of PUSH.
3026         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3028         * mouse-sel.el (mouse-sel-get-selection-function):
3029         x-cut-buffer-or-selection-value renamed to x-selection-value.
3030         (x-select-text): Remove optional push.
3032 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3034         * simple.el (blink-paren-function): Move from C to here.
3035         (blink-paren-post-self-insert-function): New function.
3036         (post-self-insert-hook): Use it.
3038         * emacs-lisp/pcase.el (pcase-split-memq):
3039         Fix overenthusiastic optimisation.
3040         (pcase-u1): Handle the case of a lambda pred.
3042 2010-08-31  Kenichi Handa  <handa@m17n.org>
3044         * international/mule-cmds.el (standard-display-european-internal):
3045         Setup standard-display-table for 8-bit characters by storing 8-bit
3046         characters in the element vector.
3048         * disp-table.el (standard-display-8bit):
3049         Setup standard-display-table for 8-bit characters by storing 8-bit
3050         characters in the element vector.
3051         (standard-display-european): Likewise.
3053 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
3055         * textmodes/nroff-mode.el (nroff-view): New command.
3056         (nroff-mode-map): Bind it to C-c C-c.
3058 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3060         * emacs-lisp/smie.el (smie-down-list): New command.
3062         Remove old indentation and navigation code on octave-mode.
3063         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3064         smie-down-list rather than add a binding for octave-down-block.
3065         (octave-mark-block, octave-blink-matching-block-open):
3066         Rely on forward-sexp-function.
3067         (octave-fill-paragraph): Don't narrow, so you can use
3068         indent-according-to-mode.
3069         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3070         (octave-in-block-p, octave-re-search-forward-kw)
3071         (octave-re-search-backward-kw, octave-indent-calculate)
3072         (octave-end-as-array-index-p, octave-block-end-offset)
3073         (octave-scan-blocks, octave-forward-block, octave-backward-block)
3074         (octave-down-block, octave-backward-up-block, octave-up-block)
3075         (octave-before-magic-comment-p, octave-indent-line): Remove.
3077 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
3079         * emacs-lisp/package.el (package--read-archive-file): Just use
3080         `read', to avoid copying an additional string.
3081         (package-menu-mode): Set header-line-format here.
3082         (package-menu-refresh, package-menu-revert): Signal an error if
3083         not in the Package Menu.
3084         (package-menu-package-list): New var.
3085         (package--generate-package-list): Operate on the current buffer;
3086         don't assume that it is *Packages*, since the user may rename it.
3087         Allow persistent package listings and sort keys using
3088         package-menu-package-list and package-menu-package-sort-key.
3089         (package-menu--version-predicate): Fix version calculation.
3090         (package-menu-sort-by-column): Don't select the window.
3091         (package--list-packages): Create the *Packages* buffer.
3092         Set package-menu-package-list-key.
3093         (list-packages): Sorting by status is now the default.
3094         (package-buffer-info): Use match-string-no-properties.
3095         (define-package): Add a &rest argument for future proofing, but
3096         don't use it yet.
3097         (package-install-from-buffer, package-install-buffer-internal):
3098         Merge into a single function, package-install-from-buffer.
3099         (package-install-file): Change caller.
3101         * finder.el: Load finder-inf using `require'.
3102         (finder-list-matches): Sorting by status is now the default.
3103         (finder-compile-keywords): Simpify printing.
3105 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3107         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3108         (octave-mode-map): Remove special bindings for forward/backward-block
3109         and octave-backward-up-block.  Use smie-close-block.
3110         (octave-continuation-marker-regexp): New var.
3111         (octave-continuation-regexp): Use it.
3112         (octave-operator-table, octave-smie-op-levels)
3113         (octave-operator-regexp, octave-smie-indent-rules): New vars.
3114         (octave-smie-backward-token, octave-smie-forward-token): New funs.
3115         (octave-mode): Use SMIE.
3116         (octave-close-block): Delete.
3118 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
3120         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3121         CLIPBOARD, not in PRIMARY.  (Bug#6944)
3123 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3125         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3126         a list of parents.
3127         (smie-indent-column): Allow indirection through variables.
3129         * composite.el (save-buffer-state): Delete, unused.
3130         * font-lock.el (save-buffer-state): Use with-silent-modifications.
3131         (font-lock-default-fontify-region): Use with-syntax-table.
3132         * jit-lock.el (with-buffer-unmodified): Remove.
3133         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3135         Use `declare' in defmacros.
3136         * window.el (save-selected-window):
3137         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3138         * progmodes/python.el (def-python-skeleton):
3139         * net/dbus.el (dbus-ignore-errors):
3140         * jka-cmpr-hook.el (with-auto-compression-mode):
3141         * international/mule.el (with-category-table):
3142         * emacs-lisp/timer.el (with-timeout):
3143         * emacs-lisp/lisp-mnt.el (lm-with-file):
3144         * emacs-lisp/eieio.el (with-slots):
3145         * emacs-lisp/easymenu.el (easy-menu-define):
3146         * emacs-lisp/debug.el (debugger-env-macro):
3147         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3148         (Multiple-value-call, Multiple-value-prog1):
3149         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3150         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3151         edebug rule to definition.
3152         * emacs-lisp/lisp-mode.el (save-selected-window)
3153         (with-current-buffer, combine-after-change-calls)
3154         (with-output-to-string, with-temp-file, with-temp-buffer)
3155         (with-temp-message, with-syntax-table, read-if, eval-after-load)
3156         (dolist, dotimes, when, unless):
3157         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3159 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3161         * finder.el: Require `package'.
3162         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
3163         (finder-package-info): Var deleted.
3164         (finder-keywords-hash, finder--builtins-alist): New vars.
3165         (finder-compile-keywords): Compute package--builtins and
3166         finder-keywords-hash instead of finder-keywords-hash, respecting
3167         the "Package" header.
3168         (finder-unknown-keywords, finder-list-matches):
3169         Use finder-keywords-hash and package--list-packages.
3170         (finder-mode): Don't set font-lock-defaults.
3171         (finder-exit): We don't use "*Finder-package*" and "*Finder
3172         Category*" buffers anymore.
3174         * emacs-lisp/package.el (package--builtins-base): Var deleted.
3175         (package--builtins): Set default value to nil.
3176         (package-initialize): Load precomputed value of package--builtins
3177         from finder-inf.el.
3178         (package-alist, package-compute-transaction)
3179         (package-download-transaction): Improve docstring.
3180         (package-read-all-archive-contents): Do not change
3181         package--builtins here.
3182         (list-packages): Make package-list-packages an alias for this.
3183         Sort by status by default.
3184         (package--list-packages): Add optional PACKAGES arg.
3185         (describe-package-1): Use font-lock-face property.  For built-in
3186         packages, insert file commentary.
3187         (package--generate-package-list): Rename from
3188         package-list-packages-internal; all callers changed.  Add optional
3189         PACKAGES arg.  Add alphabetical sort fallbacks.
3190         (package-menu--version-predicate, package-menu--status-predicate)
3191         (package-menu--description-predicate)
3192         (package-menu--name-predicate): New functions.
3194         * info.el (Info-finder-find-node): Search package-alist instead of
3195         finder-package-info.
3197 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3199         * subr.el (version-regexp-alist): Don't use "a" and "b" for
3200         "alpha" and "beta".
3201         (version-to-list): Handle versions like "10.3d".
3203 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3205         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3206         (macroexp-accumulate): Use `declare'.
3208 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3210         * whitespace.el (whitespace-style): Adjust type declaration.
3212 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
3214         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3215         empty argument to gvfs-copy.
3217 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3219         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3220         handle new TRASH arg of `delete-file'.
3222 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
3224         * net/tramp.el (tramp-handle-insert-directory): Don't use
3225         `forward-word', its default syntax could be changed.
3227 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
3228             Michael Albinus  <michael.albinus@gmx.de>
3230         Implement compression for inline methods.
3232         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3233         (tramp-copy-size-limit): Allow also nil.
3234         (tramp-inline-compress-commands): New defconst.
3235         (tramp-find-inline-compress, tramp-get-inline-compress)
3236         (tramp-get-inline-coding): New defuns.
3237         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3238         replaced by `tramp-get-inline-coding'.
3239         (tramp-handle-file-local-copy, tramp-handle-write-region)
3240         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3242 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
3244         Detect ssh 'ControlMaster' argument automatically in some cases.
3246         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3247         (tramp-default-method): Use it.
3249 2010-08-26  Karel Klíč  <kklic@redhat.com>
3251         * net/tramp.el (tramp-file-name-for-operation):
3252         Add file-selinux-context.
3254 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
3256         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3258 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3260         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3261         (Bug#6907).
3263 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
3265         * progmodes/js.el: Make indentation more customizable (Bug#6914).
3266         (js-paren-indent-offset, js-square-indent-offset)
3267         (js-curly-indent-offset): New options.
3268         (js--proper-indentation): Use them.
3270 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
3272         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3273         instead of inspecting font-lock properties (Bug#6916).
3275 2010-08-26  David Reitter  <david.reitter@gmail.com>
3277         * server.el (server-visit-files): Run pre-command-hook and
3278         post-command-hook for each buffer while it is current (Bug#6910).
3279         (server-execute): Do not run hooks here.
3281 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
3283         Sync with Tramp 2.1.19.
3285         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3286         (tramp-reporter-dump-variable, tramp-load-report-modules)
3287         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3288         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3290         * net/tramp-compat.el (top): Do not autoload
3291         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3292         only when `start-file-process' is not bound.
3293         (byte-compile-not-obsolete-vars): Define if not bound.
3294         (tramp-compat-funcall): New defmacro.
3295         (tramp-compat-line-beginning-position)
3296         (tramp-compat-line-end-position)
3297         (tramp-compat-temporary-file-directory)
3298         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3299         (tramp-compat-copy-file, tramp-compat-copy-directory)
3300         (tramp-compat-delete-file, tramp-compat-delete-directory)
3301         (tramp-compat-number-sequence, tramp-compat-process-running-p):
3302         Use it.
3303         (tramp-advice-file-expand-wildcards): Do not use
3304         `tramp-handle-file-remote-p'.
3305         (tramp-compat-make-temp-file): Simplify fallback implementation.
3306         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3307         (tramp-compat-copy-tree): Remove function.
3308         (tramp-compat-delete-file): New defun.
3309         (tramp-compat-delete-directory): Provide implementation for older
3310         Emacsen.
3311         (tramp-compat-file-attributes): Handle only
3312         `wrong-number-of-arguments' error.
3314         * net/tramp-fish.el (tramp-fish-handle-copy-file):
3315         Add PRESERVE_SELINUX_CONTEXT.
3316         (tramp-fish-handle-delete-file): Add TRASH arg.
3317         (tramp-fish-handle-directory-files-and-attributes):
3318         Do not use `tramp-fish-handle-file-attributes.
3319         (tramp-fish-handle-file-local-copy)
3320         (tramp-fish-handle-insert-file-contents)
3321         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3323         * net/tramp-gvfs.el (top): Require url-util.
3324         (tramp-gvfs-mount-point): Remove.
3325         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3326         and `set-file-selinux-context'.
3327         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3328         (tramp-gvfs-handle-file-selinux-context)
3329         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3330         (with-tramp-dbus-call-method): Format trace message.
3331         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3332         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3333         Implement backup call, when operation on local files fails.
3334         Use progress reporter.  Flush properties of changed files.
3335         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
3336         `tramp-compat-delete-file'.
3337         (tramp-gvfs-handle-expand-file-name): Expand "~/".
3338         (tramp-gvfs-handle-make-directory): Make more traces.
3339         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3340         (tramp-gvfs-url-file-name): Hexify file name in url.
3341         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3342         into account for the resulting file name.
3343         (tramp-gvfs-handler-askquestion): Preserve current message, in
3344         order to let progress reporter continue afterwards.  (Bug#6257)
3345         Return dummy mountpoint, when the answer is "no".
3346         See `tramp-gvfs-maybe-open-connection'.
3347         (tramp-gvfs-handler-mounted-unmounted)
3348         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3349         attribute "default_location".  Set "prefix" property.
3350         Handle default-location.
3351         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3352         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3353         exists.  Raise an error, if not (due to a corresponding answer
3354         "no" in interactive questions, for example).
3355         Use `tramp-compat-funcall'.
3357         * net/tramp-imap.el (top): Autoload `epg-make-context'.
3358         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3359         (tramp-imap-do-copy-or-rename-file)
3360         (tramp-imap-handle-insert-file-contents)
3361         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3362         (tramp-imap-handle-delete-file): Add TRASH arg.
3364         * net/tramp-smb.el (tramp-smb-handle-copy-file):
3365         Add PRESERVE-SELINUX-CONTEXT.
3366         (tramp-smb-handle-copy-file)
3367         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3368         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3369         Use `with-progress-reporter'.
3370         (tramp-smb-handle-delete-file): Add TRASH arg.
3372         * net/tramp.el (tramp-methods): Move hostname to the end in all
3373         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
3374         appropriate.
3375         (tramp-verbose): Describe verbose level 9.
3376         (tramp-completion-function-alist)
3377         (tramp-file-name-regexp, tramp-chunksize)
3378         (tramp-local-coding-commands, tramp-remote-coding-commands)
3379         (with-connection-property, tramp-completion-mode-p)
3380         (tramp-action-process-alive, tramp-action-out-of-band)
3381         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3382         (tramp-exists-file-name-handler): Fix docstring.
3383         (tramp-remote-process-environment): Use `format' instead of
3384         `concat'.  Protect version string by apostroph.
3385         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3386         XEmacs.
3387         (tramp-file-name-regexp-unified)
3388         (tramp-completion-file-name-regexp-unified): On W32 systems, do
3389         not regard the volume letter as remote filename.  (Bug#5447)
3390         (tramp-perl-file-attributes)
3391         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3392         (tramp-vc-registered-read-file-names): Read input as
3393         here-document, otherwise the command could exceed maximum length
3394         of command line.
3395         (tramp-file-name-handler-alist): Add `file-selinux-context' and
3396         `set-file-selinux-context'.
3397         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3398         backtrace functions.
3399         (tramp-error-with-buffer): Don't show the connection buffer when
3400         we are in completion mode.
3401         (tramp-progress-reporter-update, tramp-remote-selinux-p)
3402         (tramp-handle-file-selinux-context)
3403         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3404         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3405         New defuns.
3406         (with-progress-reporter): New defmacro.
3407         (tramp-debug-outline-regexp): New defconst.
3408         (top, tramp-rfn-eshadow-setup-minibuffer)
3409         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3410         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3411         (tramp-completion-mode-p, tramp-check-for-regexp)
3412         (tramp-open-connection-setup-interactive-shell)
3413         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3414         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3415         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3416         Use `tramp-compat-funcall'.
3417         (tramp-handle-make-symbolic-link): Flush file properties.
3418         (tramp-handle-load, tramp-handle-file-local-copy)
3419         (tramp-handle-insert-file-contents, tramp-handle-write-region)
3420         (tramp-handle-vc-registered, tramp-maybe-send-script)
3421         (tramp-find-shell): Use `with-progress-reporter'.
3422         (tramp-do-file-attributes-with-stat): Add space in format string,
3423         in order to work around a bug in pdksh.  Reported by Gilles Pion
3424         <gpion@lfdj.com>.
3425         (tramp-handle-verify-visited-file-modtime): Do not send a command
3426         when the connection is not established.
3427         (tramp-handle-set-file-times): Simplify the check for utc.
3428         (tramp-handle-directory-files-and-attributes)
3429         (tramp-get-remote-path): Use `copy-tree'.
3430         (tramp-completion-handle-file-name-all-completions): Ensure, that
3431         non remote files are still checked.  Oops.
3432         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3433         Handle PRESERVE-SELINUX-CONTEXT.
3434         (tramp-do-copy-or-rename-file): Add progress reporter.
3435         (tramp-do-copy-or-rename-file-directly): Do not use
3436         `tramp-handle-file-remote-p'.
3437         (tramp-do-copy-or-rename-file-out-of-band):
3438         Use `tramp-compat-delete-directory'.
3439         (tramp-do-copy-or-rename-file-out-of-band)
3440         (tramp-compute-multi-hops, tramp-maybe-open-connection):
3441         Use `format-spec-make'.
3442         (tramp-handle-delete-file): Add TRASH arg.
3443         (tramp-handle-dired-uncache): Flush directory cache, not only file
3444         cache.
3445         (tramp-handle-expand-file-name)
3446         (tramp-completion-handle-file-name-all-completions)
3447         (tramp-completion-handle-file-name-completion):
3448         Use `tramp-connectable-p'.
3449         (tramp-handle-start-file-process): Set connection property "vec".
3450         Use it, in order to invalidate file caches.  Check only for
3451         `remote-tty' process property.
3452         Implement tty setting.  (Bug#4604, Bug#6360)
3453         (tramp-file-name-for-operation): Add `call-process-region' and
3454         `set-file-selinux-context'.
3455         (tramp-find-foreign-file-name-handler)
3456         (tramp-advice-make-auto-save-file-name)
3457         (tramp-set-auto-save-file-modes): Remove superfluous check for
3458         `stringp'.  This is done inside `tramp-tramp-file-p'.
3459         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
3460         operations when we are in completion mode.  This gives the user
3461         the chance to correct the file name in the minibuffer.
3462         (tramp-completion-mode-p): Use `non-essential'.
3463         (tramp-handle-file-name-all-completions): Backward/ XEmacs
3464         compatibility: Use `completion-ignore-case' if
3465         `read-file-name-completion-ignore-case' does not exist.
3466         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3467         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3468         `tramp-open-shell'.
3469         (tramp-action-password): Hide password prompt before next run.
3470         (tramp-process-actions): Widen connection buffer for the trace.
3471         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3472         process property.  Trace stty settings if `tramp-verbose' >= 9.
3473         Apply workaround for IRIX64 bug.  Move argument of last
3474         `tramp-send-command' where it belongs to.
3475         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3476         front of `login-args'.
3477         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3478         on "/dev/null" instead of "/".
3479         (tramp-get-ls-command-with-dired): Make test for "--dired"
3480         stronger.
3481         (tramp-set-auto-save-file-modes): Adapt version check.
3482         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3483         (tramp-handle-process-file): Call the program in a subshell, in
3484         order to preserve working directory.
3485         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3486         `tramp-remote-sh' from `tramp-methods'.
3487         (tramp-get-ls-command): Make test for "--color=never" stronger.
3488         (tramp-check-for-regexp): Use (forward-line 1).
3490         * net/trampver.el: Update release number.
3492 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3494         * help.el (help-map): Bind `C-h P' to describe-package.
3496         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3498         * emacs-lisp/package.el (package-refresh-contents): Catch errors
3499         when downloading archives.
3500         (describe-package-1): Add package commentary.
3501         (package-install-button-action): New function.
3502         (package-menu-mode-map): Bind ? to package-menu-describe-package.
3503         (package-menu-view-commentary): Function removed.
3504         (package-list-packages-internal): Hide the `package' package too.
3506 2010-08-25  Kenichi Handa  <handa@m17n.org>
3508         * language/misc-lang.el ("Arabic"): New language environment.
3509         Setup composition-function-table for Arabic characters.
3511         * international/fontset.el (setup-default-fontset): Fix typo for
3512         arabic OTF spec (fini->fina).
3514 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
3516         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3517         on all frames.
3519 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3521         * whitespace.el: Allow cleaning up blanks without blank
3522         visualization (Bug#6651).  Adjust help window for
3523         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3524         instead of whitespace-line-column (from EmacsWiki).  New version
3525         13.1.
3526         (whitespace-style): Added new value 'face.  Adjust docstring.
3527         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3528         foreground property face.
3529         (whitespace-line-column): Adjust docstring and type declaration.
3530         (whitespace-style-value-list, whitespace-toggle-option-alist)
3531         (whitespace-help-text): Adjust const initialization.
3532         (whitespace-toggle-options, global-whitespace-toggle-options):
3533         Adjust docstring.
3534         (whitespace-display-window, whitespace-interactive-char)
3535         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3536         (whitespace-help-scroll): New fun.
3538 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3540         * emacs-lisp/package.el (list-packages): Alias for
3541         package-list-packages.
3543 2010-08-24  Kevin Ryde  <user42@zip.com.au>
3545         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3546         (Bug#5651).
3548         * progmodes/ruby-mode.el (ruby): Add defgroup.
3550 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3552         * progmodes/python.el: Add Ipython support (Bug#5390).
3553         (python-shell-prompt-alist)
3554         (python-shell-continuation-prompt-alist): New options.
3555         (python--set-prompt-regexp): New function.
3556         (inferior-python-mode, run-python, python-shell): Require
3557         ansi-color.  Use python--set-prompt-regexp to set the comint
3558         prompt based on the Python interpreter.
3559         (python--prompt-regexp): New var.
3560         (python-check-comint-prompt)
3561         (python-comint-output-filter-function): Use it.
3562         (run-python): Use a pipe (Bug#5694).
3564 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
3566         * progmodes/python.el (python-send-region): Send a different
3567         Python command if Ipython is in use.
3568         (python-check-version): Use a Python command to find the version.
3570 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3572         * mouse.el (mouse-yank-primary): Avoid setting primary when
3573         deactivating the mark (Bug#6872).
3575 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
3577         * progmodes/python.el (python-block-pairs): Allow use of "finally"
3578         with "else" (Bug#3991).
3580 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
3582         * net/dbus.el: Accept UNIX domain sockets as bus address.
3583         (top): Don't initialize `dbus-registered-objects-table' anymore,
3584         this is done in dbusbind,c.
3585         (dbus-check-event): Adapt test for bus.
3586         (dbus-return-values-table, dbus-unregister-service)
3587         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3588         Adapt doc string.
3590 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
3592         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3594 2010-08-22  Juri Linkov  <juri@jurta.org>
3596         * simple.el (read-extended-command): New function with the logic
3597         for `completing-read' moved to Elisp from `execute-extended-command'.
3598         Use `function-called-at-point' in `minibuffer-default-add-function'
3599         to get a command name for M-n (bug#5364, bug#5214).
3601 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3603         * startup.el (command-line-1): Issue warning for ignored arguments
3604         --unibyte, etc (Bug#6886).
3606 2010-08-22  Leo  <sdl.web@gmail.com>
3608         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3609         (ignore, bright, dim, keyword): Split list of nicknames before
3610         passing to rcirc-add-or-remove (Bug#6894).
3612 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3614         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3616 2010-08-22  Leo  <sdl.web@gmail.com>
3618         Fix buffer-list rename&refresh after killing a buffer in ido.
3619         * ido.el: Revert Óscar's.
3620         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3621         Remember the buffers at head, rather than their name.
3622         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3624 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
3625             Stefan Monnier  <monnier@iro.umontreal.ca>
3627         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3628         extra backslash added to each line (bug#6890).
3630 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3632         * subr.el (read-key): Don't echo keystrokes (bug#6883).
3634 2010-08-22  Glenn Morris  <rgm@gnu.org>
3636         * menu-bar.el (menu-bar-games-menu): Add landmark.
3638 2010-08-22  Glenn Morris  <rgm@gnu.org>
3640         * align.el (align-regexp): Make group and spacing arguments
3641         use the interactive defaults when non-interactive.  (Bug#6698)
3643         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3644         expansion, so as not to need sendmail.
3645         (mail-text-start): Remove declaration.
3646         (rmail-retry-failure): Require sendmail.
3648 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3650         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3652 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
3654         * progmodes/flymake.el (flymake-start-syntax-check-process):
3655         Use `start-file-process' in order to let it run also on remote hosts.
3657 2010-08-22  Kenichi Handa  <handa@m17n.org>
3659         * files.el: Add `word-wrap' as safe local variable.
3661 2010-08-22  Glenn Morris  <rgm@gnu.org>
3663         * woman.el (woman-translate): Case matters.  (Bug#6849)
3665 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3667         * simple.el (kill-region): Doc fix (Bug#6787).
3669 2010-08-22  Glenn Morris  <rgm@gnu.org>
3671         * calendar/diary-lib.el (diary-header-line-format):
3672         Fit it to the window, not the frame.
3674 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
3676         * subr.el (ignore-errors): Add debug declaration.
3678 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
3680         * whitespace.el (whitespace-color-off): Remove post-command-hook
3681         locally.
3683 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3685         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
3687 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
3689         * cus-edit.el (custom-group-value-create): Add extra newline
3690         before end line (Bug#6876).
3692 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
3694         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
3695         when extending it.  Before killing on the second click, check if
3696         the buffer is the correct one.  Doc fix.
3697         (mouse-secondary-save-then-kill): Allow usage without first
3698         calling mouse-start-secondary, by defaulting to point.  Don't save
3699         an empty secondary selection.  Doc fix.
3701 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3703         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
3704         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
3705         New version 13.0.
3706         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
3707         Adjust initialization.
3708         (whitespace-bob-marker, whitespace-eob-marker)
3709         (whitespace-buffer-changed): New vars.
3710         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
3711         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3712         (whitespace-post-command-hook, whitespace-display-char-on):
3713         Adjust code.
3714         (whitespace-looking-back, whitespace-buffer-changed): New funs.
3715         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
3717 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3719         * files.el (locate-file-completion-table): Only list the .el and .elc
3720         extensions if there's no other choice (bug#5955).
3722         * facemenu.el (facemenu-self-insert-data): New var.
3723         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
3724         New functions.
3725         (facemenu-add-face): Use them.
3727         * simple.el (blink-matching-open): Obey forward-sexp-function.
3729 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3731         * simple.el (prog-mode-map): New var.
3732         (prog-indent-sexp): New command.
3734         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3736         * progmodes/prolog.el (smie): Require.
3738         * emacs-lisp/smie.el (smie-default-backward-token)
3739         (smie-default-forward-token): Strip properties.
3740         (smie-next-sexp): Be more careful with associative operators.
3741         (smie-forward-sexp-command): Generalize.
3742         (smie-backward-sexp-command): Simplify.
3743         (smie-closer-alist): New var.
3744         (smie-close-block): New command.
3745         (smie-indent-debug-log): New var.
3746         (smie-indent-offset-rule): Add a few more cases.
3747         (smie-indent-column): New function.
3748         (smie-indent-after-keyword): Use it.
3749         (smie-indent-keyword): Use it.
3750         Fix up the opener code's point position.
3751         (smie-indent-comment): Only applies at BOL.
3752         (smie-indent-debug): New command.
3754         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3755         declarations that are useful before running the macro.
3757 2010-08-18  Joakim Verona  <joakim@verona.se>
3759         * image.el (imagemagick-types-inhibit): New variable.
3760         (imagemagick-register-types): New function.
3761         * image-mode.el (image-transform-properties): New function.
3762         (image-transform-set-scale, image-transform-fit-to-height)
3763         (image-transform-set-rotation, image-transform-set-resize)
3764         (image-transform-fit-to-width, image-transform-fit-to-height):
3765         New functions.
3766         (image-toggle-display-image): Support image transforms.
3768 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
3770         * image.el (create-animated-image): Don't add heuristic mask to image
3771         (Bug#6839).
3773 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
3775         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3776         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3778 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3780         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3782         Font-lock '...' strings, plus various simplifications and fixes.
3783         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3784         (octave-font-lock-close-quotes): New function.
3785         (octave-font-lock-syntactic-keywords): New var.
3786         (octave-mode): Use it.  Set beginning-of-defun-function.
3787         (octave-mode-map): Don't override the <foo>-defun commands.
3788         (octave-mode-menu): Pass it directly to easy-menu-define;
3789         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3790         (octave-block-match-alist): Fix up last change so that
3791         octave-close-block uses the more specific keyword.
3792         (info-lookup-mode): Silence byte-compiler.
3793         (octave-beginning-of-defun): Not interactive any more.
3794         Optimize slightly.
3795         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
3796         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
3797         (octave-completion-at-point-function): Make sure point is within
3798         beg..end.
3799         (octave-reindent-then-newline-and-indent):
3800         Use reindent-then-newline-and-indent.
3801         (octave-add-octave-menu): Remove.
3803 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
3805         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
3806         (report-emacs-bug-can-use-xdg-email): New functions.
3807         (report-emacs-bug): Set can-xdg-email to result of
3808         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
3809         \C-cm to report-emacs-bug-insert-to-mailer and add help text
3810         about it.
3812         * net/browse-url.el (browse-url-default-browser): Add cond
3813         for browse-url-xdg-open.
3814         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
3816 2010-08-17  Glenn Morris  <rgm@gnu.org>
3818         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
3819         (c-fontify-recorded-types-and-refs): Define for compiler.
3820         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
3821         before use.
3823         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
3824         Fix format call.
3826 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
3828         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
3829         properties.
3830         (tramp-handle-process-file): Call the program in a subshell, in
3831         order to preserve working directory.
3832         (tramp-action-password): Hide password prompt before next run.
3833         (tramp-process-actions): Widen connection buffer for the trace.
3835 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3837         * net/rcirc.el (rcirc-log-process-buffers): New option.
3838         (rcirc-print): Use it.
3839         (rcirc-generate-log-filename): New function.
3840         (rcirc-log-filename-function): Change default to
3841         rcirc-generate-log-filename (Bug#6828).
3843 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
3845         * simple.el (deactivate-mark): If select-active-regions is `only',
3846         only set selection for temporarily active regions.
3848         * cus-start.el: Change defcustom for select-active-regions.
3850 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
3852         * mouse.el (mouse--drag-set-mark-and-point): New function.
3853         (mouse-drag-track): Use LOCATION arg to push-mark.
3854         Use mouse--drag-set-mark-and-point to take click-count into
3855         consideration when updating point and mark (Bug#6840).
3857 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
3859         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3860         Give the Ruby rule a lower priority than Gnu (Bug#6778).
3862 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
3864         * font-lock.el (lisp-font-lock-keywords-2):
3865         Add combine-after-change-calls, condition-case-no-debug,
3866         with-demoted-errors, and with-silent-modifications (Bug#6025).
3868 2010-08-14  Kevin Ryde  <user42@zip.com.au>
3870         * emacs-lisp/copyright.el (copyright-update-year)
3871         (copyright-update): Temporary switch-to-buffer to ensure the
3872         buffer change being queried is visible (Bug#5394).
3874 2010-08-14  Tom Tromey  <tromey@redhat.com>
3876         * progmodes/etags.el (tags-file-name): Mark safe if stringp
3877         (Bug#6733).
3879 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
3881         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3882         MS-DOS.  (Bug#6689)
3884 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
3886         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3887         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3888         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3889         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3890         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3891         Call menu-bar-set-tool-bar-position.
3893 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3895         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3896         comment style (bug#6834).
3897         * progmodes/scheme.el (scheme-mode-syntax-table):
3898         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3899         "b" flag in "' 14b" syntax.
3901         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3902         for (un)commenting the region and performing completion.
3903         (octave-mode-menu): Use standard commands for help and completion.
3904         (octave-mode-syntax-table): Support %{..%} comments (sort of).
3905         (octave-mode): Use define-derived-mode.
3906         Set completion-at-point-functions and don't set columns.
3907         Don't disable adaptive-fill-regexp.
3908         (octave-describe-major-mode, octave-comment-region)
3909         (octave-uncomment-region, octave-comment-indent)
3910         (octave-indent-for-comment): Remove.
3911         (octave-indent-calculate): Rename from calculate-octave-indent.
3912         (octave-indent-line, octave-fill-paragraph): Update caller.
3913         (octave-initialize-completions): No need to make an alist.
3914         (octave-completion-at-point-function): New function.
3915         (octave-complete-symbol): Use it.
3916         (octave-insert-defun): Use define-skeleton.
3918         * progmodes/octave-mod.el (octave-mode): Set comment-add.
3919         (octave-mode-map): Use comment-dwim (bug#6829).
3921 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
3923         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3924         indentation of inserted comment.
3926 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
3928         * faces.el (region): Add type gtk that uses gtk colors.
3930         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3931         Handle theme-name change.
3933 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
3935         * progmodes/sql.el: Version 2.5
3936         (sql-product-alist): Add :prompt-cont-regexp property for several
3937         database products.
3938         (sql-prompt-cont-regexp): New variable.
3939         (sql-output-newline-count, sql-output-by-send):
3940         New variables.  Record number of newlines in input text.
3941         (sql-send-string): Handle multiple filters and count newlines.
3942         (sql-send-magic-terminator): Count terminator newline.
3943         (sql-interactive-remove-continuation-prompt): Filters output to
3944         remove continuation prompts; one for each newline.
3945         (sql-interactive-mode): Set up new variables, prompt regexp and
3946         output filter.
3947         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3948         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3950 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3952         * emacs-lisp/pcase.el: New file.
3954 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
3956         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3957         as here-document, otherwise the command could exceed maximum
3958         length of command line.
3959         (tramp-handle-vc-registered): Call script accordingly.
3960         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3962 2010-08-10  Kenichi Handa  <handa@m17n.org>
3964         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3965         composable pattern.
3967 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
3969         * emacs-lisp/package.el (package-version-split)
3970         (package--version-first-nonzero, package-version-compare):
3971         Functions removed.
3972         (package-directory-list, package-load-all-descriptors)
3973         (package--built-in, package-activate, define-package)
3974         (package-installed-p, package-compute-transaction)
3975         (package-read-all-archive-contents)
3976         (package--add-to-archive-contents, package-buffer-info)
3977         (package-tar-file-info, package-list-packages-internal):
3978         Use version-to-list and version-list-*.
3980         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3981         Use version-to-list.
3982         (package-upload-buffer-internal): Use version-list-<=.
3984 2010-08-09  Kenichi Handa  <handa@m17n.org>
3986         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3987         composable pattern.
3989 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
3991         * tutorial.el (tutorial--default-keys): C-d is now bound to
3992         delete-forward-char (Bug#6826).
3994         * mouse.el (mouse-drag-track): Remove accidentally-removed check
3995         for `double' value of mouse-1-click-follows-link (Bug#6807).
3997 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
3999         * replace.el (replace-highlight): Bind isearch-forward and
4000         isearch-error, ensuring that highlighting is updated if the user
4001         switches the search direction (Bug#6808).
4003         * isearch.el (isearch-lazy-highlight-forward): New var.
4004         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4005         (isearch-lazy-highlight-update): Use it.
4007 2010-08-08  Kenichi Handa  <handa@m17n.org>
4009         * international/mule.el (define-charset): Store NAME as :base property.
4010         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4011         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4012         current priority.  Force using the designation of the specific
4013         charset by adding `charset' text property.  Improve the whole algorithm.
4015 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4017         * emulation/pc-select.el (pc-selection-mode-hook)
4018         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4019         (pc-selection-mode): Fix typos in docstrings.
4021 2010-08-08  Kenichi Handa  <handa@m17n.org>
4023         * language/cyrillic.el: Don't add "microsoft-cp1251" to
4024         ctext-non-standard-encodings-alist here.
4026         * international/mule.el (ctext-non-standard-encodings-alist):
4027         Add "koi8-r" and "microsoft-cp1251".
4028         (ctext-standard-encodings): New variable.
4029         (ctext-non-standard-encodings-table): List only elements for
4030         non-standard encodings.
4031         (ctext-pre-write-conversion): Adjust for the above change.
4032         Check ctext-standard-encodings.
4034         * international/mule-conf.el (compound-text): Doc fix.
4035         (ctext-no-compositions): Doc fix.
4036         (compound-text-with-extensions): Doc fix.
4038 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4040         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4042 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4044         * progmodes/which-func.el (which-func-format): Split help-echo text
4045         into lines, like other mode-line tooltips.
4047         * server.el (server-start): When using TCP sockets, force IPv4
4048         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
4050 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4052         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4054 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4056         * term.el (term-delimiter-argument-list): Reflow docstring.
4057         (term-read-input-ring, term-write-input-ring, term-send-input)
4058         (term-bol, term-erase-in-display, serial-supported-or-barf):
4059         Fix typos in docstrings.
4061 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4063         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4065 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4067         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4069 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
4071         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4072         Fix typo in docstring (bug#6747).
4074 2010-08-08  Leo  <sdl.web@gmail.com>
4076         * eshell/esh-io.el (eshell-get-target): Better detection of
4077         read-only file (Bug#6762).
4079 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4081         * align.el (align-default-spacing): Doc fix.
4082         (align-region-heuristic, align-regexp): Fix typos in docstrings.
4084 2010-08-08  Stephen Peters  <speters@itasoftware.com>
4086         * calendar/icalendar.el
4087         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
4088         (icalendar--get-weekday-numbers): New.
4089         (icalendar--convert-recurring-to-diary): Handle multiple byday
4090         values in weekly rules.  (Bug#6766)
4092 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
4094         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4095         (icalendar--create-uid, icalendar-export-region)
4096         (icalendar--parse-summary-and-rest): Code formatting.
4098 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
4100         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4101         to italicize headers.
4102         (calc-highlight-selections-with-faces): New variable.
4103         (calc-selected-face, calc-nonselected-face): New faces.
4105         * calc/calccomp.el (math-comp-highlight-string): Use
4106         `calc-highlight-selections-with-faces' to determine how to highlight
4107         sub-formulas.
4109         * calc/calc-sel.el (calc-show-selections): Change message to when
4110         using faces to highlight selections.
4112 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
4114         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4115         Add SQLite 3 keywords, functions and datatypes.
4116         (sql-interactive-mode): Remove `comint-process-echoes' set to t
4117         (Bug#6686).
4119 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
4121         * simple.el (select-active-regions): Move to keyboard.c.
4122         (deactivate-mark): Used saved-region-selection.
4123         (select-active-region): Function removed.
4124         (activate-mark, set-mark, push-mark-command)
4125         (handle-shift-selection): Don't call it.
4126         (keyboard-quit): Avoid adding the region to the window selection.
4128         * mouse.el (mouse-drag-track): Remove hacks to deal with old
4129         select-active-regions implementation.
4130         (mouse-yank-at-click): Doc fix.
4132         * cus-start.el: Add custom declaration for select-active-regions.
4134 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
4136         * simple.el (delete-forward-char): Doc fix.
4138         * tutorial.el (help-with-tutorial): Hack safe file-local variables
4139         after reading the tutorial.
4141 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
4143         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4144         for the case that a C style comment has its delimiters alone on
4145         their respective lines.
4147 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
4149         * net/tramp.el (tramp-handle-start-file-process): Set connection
4150         property "vec".
4151         (tramp-process-sentinel): Use it for flushing the cache.  We
4152         cannot do it via the process buffer, the buffer could be deleted
4153         already when running the sentinel.
4155 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
4157         * comint.el (comint-mode): Make directory tracking functions
4158         functional on remote files.  (Bug#6764)
4160 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
4162         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4164 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
4166         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4167         unexec.c => unexcoff.c.
4169         * emacs-lisp/authors.el (authors-fixed-entries): Rename
4170         unexec.c => unexcoff.c.
4172 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
4174         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4175         cache, not only file cache.
4176         (tramp-process-sentinel): New defun.
4177         (tramp-handle-start-file-process): Use it, in order to invalidate
4178         file caches.
4180 2010-08-03  Leo  <sdl.web@gmail.com>
4182         * server.el (server-start): Simplify loop.
4184 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4186         * frame.el (screen-height, screen-width, set-screen-width)
4187         (set-screen-height): Remove ancient compatibility aliases.
4189         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4190         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
4192         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4193         that change current buffer.
4195 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4197         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4198         beginning of the string.  Use `string-match-p'.  (Bug#6765)
4200 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
4202         * cus-start.el (x-gtk-use-system-tooltips): New variable.
4204 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
4206         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4207         (package--builtins): Tweak descriptions.
4208         (package-print-package): Upcase descriptions if necessary.
4209         Show all built-in packages in font-lock-builtin-face.
4210         (package-list-packages-internal): Omit "emacs" package.
4211         Show status of built-in packages as "built-in".
4213 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
4215         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
4216         before killing to preserve the primary selection (Bug#6701).
4218         * term/x-win.el (x-select-text): Doc fix.
4220 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
4222         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4223         The following functions were modified or created:
4225         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4226         (objc-font-lock-extra-types):
4227         * progmodes/cc-mode.el (c-basic-common-init):
4228         * progmodes/cc-langs.el (c-make-mode-syntax-table)
4229         (c++-make-template-syntax-table)
4230         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4231         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4232         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4233         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4234         * progmodes/cc-fonts.el (c-make-inverse-face)
4235         (c-basic-matchers-after):
4236         * progmodes/cc-engine.el (c-forward-keyword-clause)
4237         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4238         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4239         (c-guess-continued-construct, c-guess-basic-syntax):
4241 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
4243         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4245 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
4247         * files.el (bidi-paragraph-direction): Define safe local values.
4249         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4250         language-info-alist.  Remove outdated FIXME in a comment.
4252 2010-07-31  Alan Mackenzie  <acm@muc.de>
4254         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4255         Auto-fill broken in C/C++ modes.
4257 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
4259         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4260         (menu-bar-showhide-tool-bar-menu-customize-disable)
4261         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4262         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4263         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4264         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4265         make a menu for Options => toolbar that can move it.
4267 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
4269         * emacs-lisp/package-x.el (package--make-rss-entry):
4270         (package-maint-add-news-item, package--update-news)
4271         (package-upload-buffer-internal): New arg ARCHIVE-URL.
4273         * emacs-lisp/package.el (package-archive-url): Rename from
4274         package-archive-id.
4275         (package-install): Doc fix.
4276         (package-download-single, package-download-tar, package-install)
4277         (package-menu-view-commentary): Callers changed.
4279 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
4281         * net/tramp.el (tramp-handle-start-file-process): Check only for
4282         `remote-tty' process property.
4283         (tramp-open-shell): Don't check for tty.
4284         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4285         process property.
4287         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4288         host.
4290 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
4292         * emacs-lisp/package.el (package-load-list, package-archives)
4293         (package-archive-contents, package-user-dir)
4294         (package-directory-list, package--builtins, package-alist)
4295         (package-activated-list, package-obsolete-alist): Mark as risky.
4297 2010-07-28  Phil Hagelberg  <phil@evri.com>
4299         Add support for non-default package repositories.
4300         * emacs-lisp/package.el (package-archive-base): Var deleted.
4301         (package-archives): New variable.
4302         (package-archive-contents): Doc fix.
4303         (package-load-descriptor): Do nothing if descriptor file is missing.
4304         (package--write-file-no-coding): New function.
4305         (package-unpack-single): Use it.
4306         (package-archive-id): New function.
4307         (package-download-single, package-download-tar)
4308         (package-menu-view-commentary): Use it.
4309         (package-installed-p): Make second argument optional.
4310         (package-read-all-archive-contents): New function.
4311         (package-initialize): Use it.
4312         (package-read-archive-contents): Add ARCHIVE argument.
4313         (package--add-to-archive-contents): New function.
4314         (package-install): Don't call package-read-archive-contents.
4315         (package--download-one-archive): Store archive file in a
4316         subdirectory of package-user-dir.
4317         (package-menu-execute): Remove spurious line movement.
4319 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
4321         * cus-start.el (tool-bar-style): Add text-image-horiz.
4323 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4325         * progmodes/gud.el (gud-common-init): Check for remoteness of
4326         `file', and not of `default-directory'.
4328 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4330         * net/tramp.el (tramp-methods): Move hostname to the end in all
4331         ssh `tramp-login-args'.
4332         (tramp-verbose): Describe verbose level 9.
4333         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4334         (tramp-open-connection-setup-interactive-shell): Trace stty
4335         settings if `tramp-verbose' >= 9.
4336         (tramp-handle-start-file-process): Implement tty setting.
4337         (Bug#4604, Bug#6360)
4339         * net/tramp-cmds.el (tramp-bug): Recommend setting of
4340         `tramp-verbose' to 9.
4342 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
4344         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4345         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4346         Remove references to package `lisp-re' (bug#4369).
4348 2010-07-27  Tom Tromey  <tromey@redhat.com>
4350         * progmodes/js.el (js-mode):
4351         * progmodes/make-mode.el (makefile-mode):
4352         * progmodes/simula.el (simula-mode):
4353         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4355 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
4357         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4359         * time.el (display-time-day-and-date): Remove spurious * in docstring.
4360         (display-time-world-buffer-name, display-time-world-mode-map):
4361         Fix typos in docstrings.
4363 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
4365         * image-mode.el (image-display-size): New function.
4366         (image-forward-hscroll, image-next-line, image-eol, image-eob)
4367         (image-mode-fit-frame): Use it (Bug#6639).
4369 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
4371         * dired.el (dired-buffers-for-dir): Handle list values of
4372         dired-directory (Bug#6636).
4374 2010-07-26  Sam Steingold  <sds@gnu.org>
4376         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4377         Do not call `x-get-selection' the second time, reuse the value.
4379 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
4381         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4382         which consist of control chars only.  Suggested by Richard Stallman.
4384 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
4386         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4387         exists before passing an error to find-file-not-found-functions
4388         (bug#6723).
4390 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
4392         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4393         Remove leading nil element, adjust values.
4394         (tetris-shapes, tetris-shape-scores):
4395         Change representation of shapes and remove some redundancy.
4396         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4397         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4398         Adjust for working with new representation of shapes.
4399         (tetris-shape-rotations): New function.
4400         (tetris-move-bottom, tetris-move-left, tetris-move-right)
4401         (tetris-rotate-prev, tetris-rotate-next):
4402         Adjust for working with the new version of tetris-test-shape.
4404 2010-07-23  Markus Triska  <markus.triska@gmx.at>
4406         * progmodes/ps-mode.el: Use comint (bug#5954).
4407         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4408         (ps-mode-other-newline): Simplify.
4409         (ps-run-mode): Derive from comint-mode instead of
4410         fundamental-mode, yielding input history etc.
4411         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4412         (ps-run-send-string): Adapt for comint-mode.
4413         (ps-run-newline): Remove now unneeded function.
4415 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4417         * net/tramp.el (tramp-methods): Move hostname to the end in all
4418         plink `tramp-login-args'.
4420 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4422         * net/tramp.el (tramp-open-shell): New defun.
4423         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4424         Use it.
4426 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4428         * net/tramp.el (tramp-file-name-regexp-unified)
4429         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4430         not regard the volume letter as remote filename.  (Bug#5447)
4432 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
4434         * custom.el (custom-declare-variable): Give a clearer error message
4435         when the docstring is missing (bug#6476).
4437 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
4439         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
4440         (sql-login-params): New widget definition.
4441         (sql-oracle-login-params, sql-mysql-login-params)
4442         (sql-solid-login-params, sql-sybase-login-params)
4443         (sql-informix-login-params, sql-ingres-login-params)
4444         (sql-ms-login-params, sql-postgres-login-params)
4445         (sql-interbase-login-params, sql-db2-login-params)
4446         (sql-linter-login-params): Use it.
4447         (sql-sqlite-login-params): Use it; Define "database" parameter as
4448         a file name.
4449         (sql-sqlite-program): Change to "sqlite3".
4450         (sql-comint-sqlite): Make sure database name is complete.
4451         (sql-for-each-login): New function.
4452         (sql-connect, sql-save-connection): Use it.
4453         (sql-get-login-ext): New function.
4454         (sql-get-login): Use it.
4455         (sql-make-alternate-buffer-name): Handle :file parameters.
4457 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
4459         * dired.el (dired-no-confirm): Document value t and fix defcustom to
4460         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
4462 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
4464         * dired.el (dired-mode-map): Use command remapping (bug#6632).
4466 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
4468         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4470 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
4472         * net/tramp.el (tramp-get-ls-command)
4473         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4474         instead of "/".
4476 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
4478         * progmodes/sql.el: Version 2.3.
4479         (sql-connection-alist): Changed keys from symbols to strings;
4480         enhanced the widget definition.
4481         (sql-mode-menu): Added submenu to select connections.
4482         (sql-interactive-mode-menu): Added "Save Connection" item.
4483         (sql-add-product): Fixed menu item.
4484         (sql-get-product-feature): Improved error handling.
4485         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4486         (sql-make-alternate-buffer-name): Simplified.
4487         (sql-product-interactive): Handle missing product.
4488         (sql-connect): Support string keys, minor improvements.
4489         (sql-save-connection): New function.
4490         (sql-connection-menu-filter): New function.
4492 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4494         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4495         (tramp-open-connection-setup-interactive-shell): Apply
4496         workaround for IRIX64 bug.  Move argument of last
4497         `tramp-send-command' where it belongs to.
4499 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4501         * net/tramp.el (tramp-perl-file-attributes)
4502         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4503         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4504         front of `login-args'.
4506 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
4508         * time.el (display-time-world-mode): Define with `define-derived-mode'.
4509         Set `show-trailing-whitespace' to nil.
4510         (display-time-world-display): Simplify.
4512 2010-07-18  Alan Mackenzie  <acm@muc.de>
4514         Enhance `c-file-style' in file/directory local variables.
4515         * progmodes/cc-mode.el (c-count-cfss): New function.
4516         (c-before-hack-hook): Call `c-set-style' differently according to
4517         whether c-file-style was set in file or directory local
4518         variables.
4520 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
4522         * progmodes/sql.el: Version 2.2.
4523         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4524         defcustom :safe keyword rather than putting safe-local-variable
4525         property.
4526         (sql-password): Use defcustom :risky keyword rather than putting
4527         risky-local-variable property.
4528         (sql-oracle-login-params, sql-sqlite-login-params)
4529         (sql-solid-login-params, sql-sybase-login-params)
4530         (sql-informix-login-params, sql-ingres-login-params)
4531         (sql-ms-login-params, sql-postgres-login-params)
4532         (sql-interbase-login-params, sql-db2-login-params)
4533         (sql-linter-login-params): Add `port' option.
4534         (sql-get-product-feature): Added NO-INDIRECT parameter.
4535         (sql-comint-oracle, sql-comint-sybase)
4536         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4537         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4538         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4539         (sql-comint-linter): Renamed sql-connect-* functions to
4540         sql-comint-*.
4541         (sql-product-alist, sql-mode-menu): Renamed as above and
4542         :sqli-connect-func to :sqli-comint-func.
4543         (sql-connection): New variable.
4544         (sql-interactive-mode): Set it.
4545         (sql-connection-alist): New variable.
4546         (sql-connect): New function.
4547         (sql--alt-buffer-part, sql--alt-if-not-empty)
4548         (sql-make-alternate-buffer-name): Improved alternative buffer name.
4550 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4552         * image-mode.el (image-bookmark-make-record): Do not set context
4553         in an image (Bug#6650).
4555 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
4557         * simple.el (select-active-region): New function.
4558         (push-mark-command, set-mark, activate-mark)
4559         (handle-shift-selection): Use it.
4560         (deactivate-mark): Don't check for size of region.
4562         * mouse.el (mouse-drag-track): Use select-active-region.
4564 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
4566         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4567         "--dired" stronger.
4569 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
4571         * term/x-win.el (x-select-enable-primary): Change default to nil.
4572         (x-select-enable-clipboard): Add :version keyword.
4574         * mouse.el (mouse-drag-copy-region):
4575         * simple.el (select-active-regions): Likewise.
4577 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
4579         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4580         (vc-coding-system-for-diff): Use it to decide whether to inherit
4581         from the file the EOL format for reading the diffs of that file.
4582         (Bug#4451)
4584 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
4586         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4587         unibyte, so compressed attachments are not compressed again.
4589 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
4591         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4592         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4593         (tramp-find-shell): Simplify setting connection property.
4594         (tramp-get-ls-command): Make test for "--color=never" stronger.
4596 2010-07-15  Simon South  <ssouth@member.fsf.org>
4598         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4599         blocks within record declarations (i.e. variant parts) correctly.
4601 2010-07-15  Simon South  <ssouth@member.fsf.org>
4603         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4604         over literal tokens when parsing so newlines aren't "absorbed" by
4605         single-line comments.  Corrects the indentation of case blocks
4606         that have a comment on the first line.
4608 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
4610         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4611         by Drew Adams (Bug#5504).
4613 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
4615         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4616         now that Unicode is used (Bug#6594).
4618 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
4620         * term/x-win.el (x-select-enable-clipboard): Default to t.
4621         (x-initialize-window-system): Don't overwrite Paste menu item.
4623         * simple.el (select-active-regions): Default to t.
4624         (push-mark-command): Don't overwrite primary with empty string.
4626         * mouse.el: Bind mouse-2 to mouse-yank-primary.
4627         (mouse-drag-copy-region): Default to nil.
4629         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4630         Cut/Copy/Paste menu bar items.
4632 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4634         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4635         Patch applied by Karl Fogel.
4637         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4638         and `bookmark-current-buffer' if they have been already set in
4639         another buffer (e.g gnus-art).
4641 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
4642             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4644         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4646         * bookmark.el (bookmark-make-record-default): Allow unneeded
4647         information to be omitted from the record.
4649         Adjust declarations and calls:
4651         * info.el (bookmark-make-record-default): Adjust declaration.
4652         (Info-bookmark-make-record): Adjust call.
4654         * woman.el (bookmark-make-record-default): Adjust declaration.
4655         (woman-bookmark-make-record): Adjust call.
4657         * man.el (bookmark-make-record-default): Adjust declaration.
4658         (Man-bookmark-make-record): Adjust call.
4660         * image-mode.el (bookmark-make-record-default): Adjust declaration.
4662         * doc-view.el (bookmark-make-record-default): Adjust declaration.
4664 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
4666         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
4667         This is also from Thierry Volpiatto's patch in bug #6444.  However,
4668         because it was extraneous to the functional change in that patch,
4669         and causes a re-indendation, I am committing it separately.
4671 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4673         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
4674         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
4675         Patch applied by Karl Fogel (Bug#6444).
4677 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
4679         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
4681 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
4683         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
4684         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
4685         (ns-alternatives-map): Change S-tab binding to backtab
4686         (bug#6616).
4688         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
4689         under ns.
4691 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
4693         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
4694         (Bug#5806)
4696         * language/tv-util.el (tai-viet-re): Remove format.
4698 2010-07-12  Kenichi Handa  <handa@m17n.org>
4700         * language/hebrew.el: Remove no-byte-compile declaration.
4701         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
4702         composition-function-table for 3-character looking back.
4703         (hebrew-font-get-precomposed): New function.
4704         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
4706 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
4708         * mouse.el (mouse-drag-track): Handle select-active-regions
4709         (Bug#6612).
4711 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
4713         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4714         empty argument to gvfs-copy.
4716 2010-07-10  Glenn Morris  <rgm@gnu.org>
4718         * calendar/calendar.el (calendar-week-end-day): New function.
4719         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
4720         Respect calendar-week-start-day.  (Bug#6606)
4721         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4722         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
4723         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
4724         respect calendar-week-start-day.
4726 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
4728         * simple.el (use-region-p): Doc fix (Bug#6607).
4730 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
4732         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
4733         regexps for cucumber and ruby.
4735 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
4737         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4738         (epa-file-insert-file-contents): Hack to prevent
4739         find-file from opening empty buffer when decryption failed
4740         (bug#6568).
4742 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
4744         * textmodes/ispell.el (ispell-alternate-dictionary):
4745         Use file-readable-p.
4746         Return nil if no word-list is found at default locations.
4747         (ispell-complete-word-dict): Default to nil.
4748         (ispell-command-loop): Use 'word-list' when using lookup-words.
4749         (lookup-words): Use ispell-complete-word-dict or
4750         ispell-alternate-dictionary.  Check for word-list availability
4751         and handle errors if needed with better messages (Bug#6539).
4752         (ispell-complete-word): Use ispell-complete-word-dict or
4753         ispell-alternate-dictionary.
4755 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
4757         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4758         builtins (BufferError, BytesWarning, WindowsError; callables
4759         bin, bytearray, bytes, format, memoryview, next, print; __package__).
4761 2010-07-07  Glenn Morris  <rgm@gnu.org>
4763         * play/zone.el (top-level): Do not require timer, tabify, or cl.
4764         (zone-shift-left): Ignore intangibility, and any errors from
4765         forward-char.
4766         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
4767         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4768         deleting, and copying text properties.
4769         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4770         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4771         to point-max is hard.
4772         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4773         (zone-fill-out-screen): Ignore intangibility.
4775 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
4777         * menu-bar.el (menu-bar-mode):
4778         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4779         if it has been set.
4781         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4782         word/line selection (Bug#6565).
4784 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
4786         * net/dbus.el (dbus-send-signal): Declare function.
4788 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
4790         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4791         (dbus-register-property): New optional argument EMITS-SIGNAL.
4792         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
4794 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
4796         * mouse.el (mouse-drag-overlay): Variable deleted.
4797         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
4798         (mouse--remap-link-click-p): New function.
4799         (mouse-drag-track): Handle dragging by using temporary Transient
4800         Mark mode, instead of a special overlay.
4801         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
4802         mouse-show-mark.
4804         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
4805         deleted.
4807 2010-07-02  Juri Linkov  <juri@jurta.org>
4809         * autoinsert.el (auto-insert-alist): Fix readability
4810         by using dotted pair notation for lambda.
4812 2010-07-02  Juri Linkov  <juri@jurta.org>
4814         * faces.el (read-face-name): Rename arg `string-describing-default'
4815         to `default'.  Doc fix.  Display the default value in quotes
4816         in the prompt.  With empty input, return the `default' arg,
4817         unless the default value is a string (in which case return nil).
4818         (describe-face): Replace the string `default' arg of `read-face-name'
4819         with the symbol `default'.
4821 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
4823         * emulation/viper-cmd.el (viper-delete-backward-char)
4824         (viper-del-backward-char-in-insert)
4825         (viper-del-backward-char-in-replace, viper-change)
4826         (viper-backward-indent): Replace delete-backward-char with
4827         delete-char (Bug#6552).
4829 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
4831         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
4833 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4835         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
4836         argument passed to frame-creation-function (Bug#5378).
4838         * faces.el (x-handle-named-frame-geometry)
4839         (x-handle-reverse-video, x-create-frame-with-faces)
4840         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
4841         separately consult default-frame-alist.  It is now passed as the
4842         PARAMETER argument.
4844 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
4846         * startup.el (command-line): Don't call tool-bar-setup in a
4847         tty-only build.
4849 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4851         * ruler-mode.el (ruler--save-header-line-format): New fun.
4852         (ruler-mode): Use it as a setter function, so as not to overwrite
4853         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
4855 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
4857         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
4858         (vc-root-diff, vc-print-root-log, vc-log-incoming)
4859         (vc-log-outgoing): Use it.
4860         (vc-diff-internal): Set diff-vc-backend.
4862         * vc/diff-mode.el (diff-vc-backend): New var.
4864 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
4866         * dynamic-setting.el (font-setting-change-default-font): Remove
4867         call to message.
4869 2010-06-28  Kenichi Handa  <handa@m17n.org>
4871         * international/quail.el (quail-insert-kbd-layout): Fix the
4872         showing of untranslated characters.
4874 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
4876         * simple.el (delete-active-region): New option.
4877         (delete-backward-char): Implement in Lisp.
4878         (delete-forward-char): New command.
4880         * mouse.el (mouse-region-delete-keys): Deleted.
4881         (mouse-show-mark): Simplify.
4883         * bindings.el (global-map): Bind delete and DEL, the former to
4884         delete-forward-char.
4886 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
4888         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4889         (ruby-mode): Bind indent-line-function (Bug#5119).
4891 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
4893         * startup.el (command-line): Recognize "0" X resource value.
4895 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
4897         * startup.el (command-line): Use X resources to set the value of
4898         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4900         * menu-bar.el (menu-bar-mode):
4901         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4902         Set init-value to t.
4904         * frame.el (frame-notice-user-settings): Don't change
4905         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4906         vice versa (Bug#2249).
4908 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
4910         * w32-fns.el (w32-convert-standard-filename): Doc fix.
4912 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
4914         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
4915         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
4917         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
4918         default directories are expanded (Bug#6143).
4920 2010-06-24  Juri Linkov  <juri@jurta.org>
4922         * minibuffer.el (completions-format): Change default from nil to
4923         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
4925 2010-06-24  Juri Linkov  <juri@jurta.org>
4927         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
4928         buffer-locally to lambda that re-runs the vc diff command.
4929         (Bug#6447)
4931 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
4933         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
4934         echo area is in use (Bug#3412).
4936 2010-06-22  Glenn Morris  <rgm@gnu.org>
4938         * textmodes/texinfmt.el (texinfo-format-region)
4939         (texinfo-raise-lower-sections, texinfo-format-separate-node)
4940         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
4941         (texinfo-format-option, texinfo-noindent):
4942         Use line-beginning-position and line-end-position.
4944         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
4945         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
4946         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
4947         utf-8 characters.
4949 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
4951         * play/zone.el (zone-fall-through-ws): Fix next-line ->
4952         forward-line fallout.
4954 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
4956         * mouse.el (mouse-appearance-menu): Add docstring.
4958         * help.el (describe-key): Print up-event using key-description.
4960 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
4962         * net/zeroconf.el (zeroconf-resolve-service)
4963         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
4964         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
4966 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
4968         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
4970 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
4972         Avoid displaying files with a nil state in vc-dir.
4973         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
4974         cases that cause insertion.
4975         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
4976         with a nil state.
4978 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4980         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
4982 2010-06-29  Leo  <sdl.web@gmail.com>
4984         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
4986 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
4988         * generic-x.el (bat-generic-mode): Fix regexp for command line
4989         switches (Bug#5719).
4991 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
4993         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
4994         of nconc to avoid pure storage error (Bug#6239).
4996 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
4998         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
4999         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5000         bindings of bookmark-automatically-show-annotations (Bug#6515).
5002 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
5004         * arc-mode.el (archive-zip-extract): Don't quote the file name on
5005         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
5007 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5009         * comint.el (make-comint, make-comint-in-buffer): Mention return
5010         value in the docstrings.  (Bug#6498)
5012 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
5014         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5015         since it is not present when using some non-default switches.
5017 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
5019         * simple.el (compose-mail): Fix doc string to refer to
5020         `compose-mail-user-agent-warnings', instead of to the
5021         nonexistent `compose-mail-check-user-agent'.
5023 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
5025         Fix an indentation bug:
5027         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5028         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5029         of existing values.
5031         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5032         (c-clear->-pair-props-if-match-before): now return t when they've
5033         cleared properties, nil otherwise.
5034         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5035         by taking account of the existing value.
5037         * progmodes/cc-defs.el
5038         (c-clear-char-property-with-value-function): Fix this to clear the
5039         property rather than overwriting it with nil.
5041 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
5043         * emacs-lisp/package.el (package-print-package): Add link to
5044         package description via describe-package.
5045         (describe-package-1): List package requirements.  Add button to
5046         perform installation.
5047         (package-menu-describe-package): New command.
5049         * help-mode.el (help-package): New button type.
5051 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
5053         * emacs-lisp/package.el: Move package-list-packages binding to
5054         menu-bar.el.
5055         (describe-package, describe-package-1, package--dir): New funs.
5056         (package-activate-1): Use package--dir.
5058         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5060         * help-mode.el (help-package-def): New button type.
5062         * menu-bar.el: Move package-list-packages binding here from
5063         package.el.
5065 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
5067         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
5069 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5071         * emacs-lisp/edebug.el (edebug-read-list):
5072         Phase out old-style backquotes.
5074 2010-06-17  Juri Linkov  <juri@jurta.org>
5076         * help-mode.el (help-mode): Set buffer-local variable
5077         revert-buffer-function to help-mode-revert-buffer.
5078         (help-mode-revert-buffer): New function.
5080         * info.el (Info-revert-find-node): Check for major-mode Info-mode
5081         before popping to "*info*" (like in other Info functions).
5082         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
5083         old-history-forward.  Pop to old-buffer-name or "*info*" to
5084         recreate the killed buffer.  Set Info-history-forward from
5085         old-history-forward.
5086         (Info-breadcrumbs-depth): Add :group and :version.
5088 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
5090         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5092 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
5094         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5095         for languages like Portuguese with pt_{BR,PT} and no plain pt.
5097 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
5099         * emacs-lisp/package.el (package-menu-mode-map):
5100         Move initialization into declaration.
5102         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5104 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
5106         * emacs-lisp/package.el (package-archive-base): Point to
5107         elpa.gnu.org.
5108         (package-enable, package-load-list): New defcustoms.
5109         (package-user-dir, package-directory-list): Turn into defcustoms.
5110         Don't include package-user-dir in package-directory-list.
5111         (package--builtins-base): Don't include Emacs as a "package".
5112         (package-subdirectory-regexp): New var.
5113         (package-load-all-descriptors, package-compute-transaction)
5114         (package-download-transaction): Obey package-load-list.
5115         (package-activate-1): Rename from package-do-activate.
5116         (package-list-packages-internal): Check package-load-list.
5117         (package-load-descriptor, package-generate-autoloads)
5118         (package-unpack, package-unpack-single)
5119         (package--read-archive-file, package-delete): Use
5120         expand-file-name.
5122         * emacs-lisp/package-x.el: New file.  Package uploading
5123         functionality split out from package.el.
5125         * startup.el (command-line): Load packages after reading init file.
5127 2010-06-17  Tom Tromey  <tromey@redhat.com>
5129         * emacs-lisp/package.el: New file.
5131 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5133         Fix vc-annotate for renamed files when using Git.
5134         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5135         ls-files.  Doe not pass the object as a file name to cat-file, it
5136         is not a file name.
5137         (vc-git-annotate-command): Pass the file name using -- to avoid
5138         ambiguity with the revision.
5139         (vc-git-previous-revision): Pass a relative file name.
5141 2010-06-22  Glenn Morris  <rgm@gnu.org>
5143         * progmodes/js.el (js-mode-map): Use standard capitalization and
5144         ellipses for menu entries.
5146         * wid-edit.el (widget-complete): Doc fix.
5148 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
5150         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5152 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5154         Fix annotating other revisions for renamed files in vc-annotate.
5155         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5156         VC backend.  Use it when non-nil.
5157         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5158         (Bug#6487)
5160         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5161         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5162         Do not pass the file name to the 'previous-revision call when we
5163         don't want a file diff.  (Bug#6489)
5165 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5167         Fix finding revisions for renamed files in vc-annotate.
5168         * vc/vc.el (vc-find-revision): Add an optional argument for
5169         the VC backend.  Use it when non-nil.
5170         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5171         backend to vc-find-revision.  (Bug#6487)
5173 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5175         Fix reading file names in Git annotate buffers.
5176         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5177         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
5179 2010-06-20  Alan Mackenzie  <acm@muc.de>
5181         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5182         in file local variables, set it first.
5184 2010-06-19  Glenn Morris  <rgm@gnu.org>
5186         * descr-text.el (describe-char-unicode-data): Insert separating
5187         space when needed.  (Bug#6422)
5189         * progmodes/idlwave.el (idlwave-action-and-binding):
5190         Fix typo in 2009-12-03 change.  (Bug#6450)
5192 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5194         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5195         handling for `lambda' (misunderstanding).
5197 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
5199         * calc/calc-poly.el (math-accum-factors): Make sure that
5200         constants aren't distributed after they are factored out.
5202 2010-06-16  Juri Linkov  <juri@jurta.org>
5204         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5205         `list-colors-print'.  (Bug#6332)
5207         * subr.el (read-quoted-char): Fix up last change (bug#6290).
5209 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5211         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5212         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
5214         * font-lock.el (font-lock-major-mode): Rename from
5215         font-lock-mode-major-mode to distinguish it from
5216         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5217         (font-lock-set-defaults):
5218         * font-core.el (font-lock-default-function): Adjust users.
5219         (font-lock-mode): Don't set it at all.
5221 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5223         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5225 2010-06-16  Glenn Morris  <rgm@gnu.org>
5227         * calendar/appt.el (appt-time-msg-list): Doc fix.
5228         (appt-check): Let-bind appt-warn-time.
5229         (appt-add): Make the 3rd argument optional.
5230         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
5231         Only add WARNTIME to the output list if non-nil.
5233 2010-06-16  Ivan Kanis  <apple@kanis.eu>
5235         * calendar/appt.el (appt-check): Let the 3rd element of
5236         appt-time-msg-list specify the warning time.
5237         (appt-add): Add new argument with the warning time.  (Bug#5176)
5239 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5241         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5242         older than version 1.6.  (Bug#6361)
5244 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
5246         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5247         used by cl-do-arglist.  (Bug#6408)
5249 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
5251         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5252         portuguese casechars/not-casechars for missing 'çÇ'.
5253         Suggested by Rolando Pereira (bug#6434).
5255 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
5257         * facemenu.el (list-colors-sort): Doc fix.
5259 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5261         * progmodes/sql.el (sql-connect-mysql): Fix typo.
5263 2010-06-14  Juri Linkov  <juri@jurta.org>
5265         Add sort option `list-colors-sort'.  (Bug#6332)
5266         * facemenu.el (color-rgb-to-hsv): New function.
5267         (list-colors-sort): New defcustom.
5268         (list-colors-sort-key): New function.
5269         (list-colors-display): Doc fix.  Sort list according to the option
5270         `list-colors-sort'.
5271         (list-colors-print): Add HSV values to `help-echo' property of
5272         RGB strings.
5274 2010-06-14  Juri Linkov  <juri@jurta.org>
5276         * compare-w.el: Move to the "vc" subdirectory.
5278 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5280         * image-mode.el (image-mode-map): Remap left-char and right-char.
5282         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5284 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
5286         * term/common-win.el (x-colors): Add all the color names defined
5287         in rgb.txt (Bug#6332).
5289         * facemenu.el (list-colors-print): Don't print extra names if it
5290         will overflow the window width.
5292         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5293         change (Bug#6343).
5295 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
5297         * files.el (make-directory): Doc fix (bug#6396).
5299 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
5301         * net/tramp.el (tramp-remote-process-environment): Protect version
5302         string by apostroph.
5303         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5304         XEmacs.
5305         (tramp-file-name-for-operation): Add `call-process-region'.
5306         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5308         * net/tramp-compat.el (top): Do not autoload
5309         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5310         only when `start-file-process' is not bound.
5311         (tramp-advice-file-expand-wildcards): Do not use
5312         `tramp-handle-file-remote-p'.
5313         (tramp-compat-make-temp-file): Handle the case, that
5314         `make-temp-file' has no third argument EXTENSION.
5316 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
5318         * makefile.w32-in (WINS_BASIC): Include new directory vc.
5320         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5322 2010-06-11  Juri Linkov  <juri@jurta.org>
5324         * finder.el (finder-known-keywords): Add keyword "vc"
5325         for version control.
5327         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5328         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5329         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5330         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5332 2010-06-11  Juri Linkov  <juri@jurta.org>
5334         Move version control related files to the "vc" subdirectory.
5335         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5336         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5337         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5338         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5339         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5340         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5341         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5342         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5343         Move files to the "vc" subdirectory.
5345 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
5347         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5348         (Bug#6367).
5350 2010-06-11  Stephen Eglen  <stephen@gnu.org>
5352         * shell.el: Bind `shell-resync-dirs' to M-RET.
5354 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
5356         * notifications.el: Move file from lisp/net, because it is
5357         supposed to talk locally to the user.
5359 2010-06-10  Julien Danjou  <julien@danjou.info>
5361         * net/notifications.el (notifications-on-action-signal)
5362         (notifications-on-closed-signal): Pass notification id as first
5363         argument to the callback functions.  Add docstrings.
5364         (notifications-notify): Fix docstring.
5366 2010-06-10  Glenn Morris  <rgm@gnu.org>
5368         * emacs-lisp/authors.el (authors-ignored-files)
5369         (authors-valid-file-names): Add some files.
5371 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5373         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5374         merge conflict, giving preference to the emacs-23 version of the code.
5376 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5378         * emacs-lisp/advice.el (ad-compile-function):
5379         Define warning-suppress-types before we let-bind it (bug#6275).
5381         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5382         declare it, make it buffer-local and permanent-local (bug#6324).
5383         (vc-resynch-window): Adjust name.
5384         * vc-hooks.el (vc-find-file-hook): Adjust name.
5386 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
5388         * net/notifications.el (notifications-notify): Fix docstring.
5390 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5392         Update to Unicode 6.0.0 beta.
5393         * international/charprop.el: Update copyright.
5394         * international/mule-cmds.el (ucs-names): Update character ranges.
5395         * international/uni-bidi.el:
5396         * international/uni-category.el:
5397         * international/uni-combining.el:
5398         * international/uni-comment.el:
5399         * international/uni-decimal.el:
5400         * international/uni-decomposition.el:
5401         * international/uni-digit.el:
5402         * international/uni-lowercase.el:
5403         * international/uni-mirrored.el:
5404         * international/uni-name.el:
5405         * international/uni-numeric.el:
5406         * international/uni-old-name.el:
5407         * international/uni-titlecase.el:
5408         * international/uni-uppercase.el: Regenerate.
5410 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5412         * emacs-lisp/smie.el (comment-string-strip): Declare function.
5413         (smie-precs-precedence-table): Fix typo in docstring.
5415         * vc-mtn.el (log-edit-extract-headers): Declare function.
5417         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5419         * net/notifications.el (dbus-register-signal): Declare function.
5420         (notifications-notify): Fix typos and reflow docstring.
5422 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5424         Improve VC create/retrieve tag/branch.
5425         * vc.el (vc-create-tag): Do not read the directory name for VCs
5426         with repository revision granularity.  Adjust the tag/branch
5427         prompt.  Reset VC properties.
5428         (vc-retrieve-tag): Do not read the directory name for VCs
5429         with repository revision granularity.  Reset VC properties.
5431 2010-06-09  Julien Danjou  <julien@danjou.info>
5433         * net/notifications.el: New file.
5435 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5437         Add optional support for resetting VC properties.
5438         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5439         call vc-file-clearprops when true.
5440         (vc-resynch-buffer): Add new optional argument, pass it down.
5441         (vc-resynch-buffers-in-directory): Likewise.
5443         Improve support for special markup in the VC commit message.
5444         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5445         * vc-hg.el (vc-hg-checkin): Add support for Date:.
5446         * vc-git.el (vc-git-checkin):
5447         * vc-bzr.el (vc-bzr-checkin): Likewise.
5449 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5451         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5452         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5454 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
5456         * iimage.el: Remove images as soon as the underlying text is modified.
5457         (iimage-modification-hook): New function.
5458         (iimage-mode-buffer): Use it.
5460 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5462         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5463         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
5464         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
5465         (smie-indent-keyword): Add handling of open-paren keywords.
5466         (smie-indent-comment-continue): Don't assume comment-continue.
5468 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
5470         * window.el (pop-to-buffer): Remove the conditional that
5471         compares new-window and old-window, so it will reselect
5472         the selected window unconditionally.
5473         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5475 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5477         * emacs-lisp/smie.el (smie-indent-offset-after)
5478         (smie-indent-forward-token, smie-indent-backward-token): New functions.
5479         (smie-indent-after-keyword): Use them.
5480         (smie-indent-fixindent): Only applies to the indentation of the BOL.
5481         (smie-indent-keyword): Tweak the black magic.
5482         (smie-indent-comment-continue): Strip comment-continue before use.
5483         (smie-indent-functions): Indent comments before keywords.
5485 2010-06-06  Juri Linkov  <juri@jurta.org>
5487         * isearch.el (isearch-lazy-highlight-search): Fix looping
5488         by checking for empty match.  This syncs this loop with the
5489         similar loop in `isearch-search'.  (Bug#6362)
5491 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
5493         * net/dbus.el (dbus-register-method): Declare function.
5494         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5495         (dbus-introspect): Doc fix.
5496         (dbus-event-bus-name, dbus-introspect-get-interface)
5497         (dbus-introspect-get-argument): Reflow docstrings.
5499 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
5501         vc-log-incoming/vc-log-outgoing fixes for Git.
5502         * vc-git.el (vc-git-log-view-mode): Fix font lock for
5503         incoming/outgoing logs.
5504         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5505         instead of vc-git-compute-remote.
5506         (vc-git-compute-remote): Remove.
5508 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
5510         * term/common-win.el (x-colors): Add "dark green" and "dark
5511         turquoise" (Bug#6332).
5513 2010-06-04  Juri Linkov  <juri@jurta.org>
5515         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5516         Instead of setting `replace' to t and replacing the same string
5517         with itself, don't do certain actions when
5518         kill-do-not-save-duplicates is non-nil and string is equal to car
5519         of kill-ring: don't call menu-bar-update-yank-menu, don't push
5520         interprogram-paste strings to kill-ring, and don't push the input
5521         argument `string' to kill-ring.
5522         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5524 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5526         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5528 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
5530         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5531         (tramp-gvfs-handler-mounted-unmounted)
5532         (tramp-gvfs-connection-mounted-p): Handle default-location.
5534         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5535         move files to trash.
5537 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5539         * international/mule-cmds.el (nonascii-insert-offset)
5540         (nonascii-translation-table): Add obsolescence information.
5542         * international/mule.el (make-translation-table-from-vector): Doc fix.
5544 2010-06-03  Glenn Morris  <rgm@gnu.org>
5546         * desktop.el (desktop-clear-preserve-buffers):
5547         Add "*Warnings*" buffer.  (Bug#6336)
5549 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
5551         vc-log-incoming/vc-log-outgoing improvements for Git.
5552         * vc-git.el (vc-git-log-outgoing): Use the same format as the
5553         short log.
5554         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
5556         Add bindings for vc-log-incoming and vc-log-outgoing.
5557         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5558         and vc-log-outgoing.
5559         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5560         and vc-log-outgoing.
5562 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
5564         * net/rcirc.el (rcirc-sort-nicknames): Remove.
5565         (rcirc-handler-366): Always sort nicknames.
5567 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
5569         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5571 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
5573         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5575 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5577         * net/rcirc.el (rcirc-sort-nicknames): Change default.
5578         (rcirc-sort-nicknames-join): Avoid setq.
5580 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5582         * net/rcirc.el (rcirc-sort-nicknames): New custom.
5583         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5584         (rcirc-handler-366): Use them.
5586 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5588         Split smie-indent-calculate into more manageable chunks.
5589         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5590         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5591         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5592         (smie-indent-exps): Extract from smie-indent-calculate.
5593         (smie-indent-functions): New var.
5594         (smie-indent-functions): Use them.
5596 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5598         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5599         (smie-indent-calculate): Simplify and cleanup.
5601 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
5603         * net/tramp-gvfs.el (top): Require url-util.
5604         (tramp-gvfs-mount-point): Remove.
5605         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5606         New defuns.
5607         (with-tramp-dbus-call-method): Format trace message.
5608         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5609         Implement backup call, when operation on local files fails.
5610         Use progress reporter.  Flush properties of changed files.
5611         (tramp-gvfs-handle-make-directory): Make more traces.
5612         (tramp-gvfs-url-file-name): Hexify file name in url.
5613         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5614         into account for the resulting file name.
5615         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5616         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
5617         (tramp-gvfs-handler-mounted-unmounted)
5618         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5619         attribute "default_location".  Set "prefix" property.
5620         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5621         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5622         exists.  Raise an error, if not (due to a corresponding answer
5623         "no" in interactive questions, for example).
5625 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
5627         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5629 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
5631         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5632         right-*.  (Bug#6265)
5634 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
5636         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5637         * vc-git.el (vc-git-compute-remote): New function.
5638         (vc-git-log-outgoing): Use it instead of hard coding a value.
5639         (vc-git-log-incoming): New function.
5641         Improve state updating for VC tag commands.
5642         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5643         to update the state of all buffers in the directory.
5645         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5647 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5649         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5650         `file-directory-p' to the filename part rather than to the whole text.
5652 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5654         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5656 2010-05-31  Drew Adams  <drew.adams@oracle.com>
5658         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5660 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
5662         * subr.el (momentary-string-display): Just use read-event to read
5663         the exit event (Bug#6238).
5665 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
5667         * international/mule.el (define-coding-system): Doc fix (bug#6313).
5669 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
5671         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
5672         Suggested by Eli Zaretskii <eliz@gnu.org>.
5674 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5676         * minibuffer.el (completion-file-name-table): Don't return a boundary
5677         past the end of `string' (bug#6299).
5678         (completion--file-name-table): Delegate to completion-file-name-table
5679         for the `boundaries' case.
5681 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
5683         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
5684         movement commands.
5686         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
5687         `path-separator', but maintain compatibility with Emacs 20.2.
5689 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
5691         * server.el (server-process-filter): Receive parent-id argument
5692         from emacsclient.
5693         (server-create-window-system-frame): New arg.  Pass parent-id as
5694         frame parameter.
5696 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
5698         Bidi-sensitive word movement with arrow keys.
5699         * subr.el (right-arrow-command, left-arrow-command): Move to
5700         bindings.el.
5702         * bindings.el (right-char, left-char): Move from subr.el and
5703         rename from right-arrow-command and left-arrow-command.
5704         (right-word, left-word): New functions.
5705         (global-map) <right>: Bind to right-char.
5706         (global-map) <left>: Bind to left-char.
5707         (global-map) <C-right>: Bind to right-word.
5708         (global-map) <C-left>: Bind to left-word.
5710         * ls-lisp.el (ls-lisp-classify-file): New function.
5711         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
5712         (ls-lisp-classify): Call ls-lisp-classify-file.
5713         (insert-directory): Remove blanks from switches.
5715 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
5717         * ansi-color.el: Delete unused escape sequences (Bug#6085).
5718         (ansi-color-drop-regexp): New constant.
5719         (ansi-color-apply, ansi-color-filter-region)
5720         (ansi-color-apply-on-region): Delete unrecognized control sequences.
5721         (ansi-color-apply): Build string list before calling concat.
5723 2010-05-28  Juri Linkov  <juri@jurta.org>
5725         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5726         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
5727         (Bug#5270)
5729 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
5731         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
5732         to ignored backtrace functions.
5733         (with-progress-reporter): Expand docstring.
5734         (tramp-handle-delete-file): Implement TRASH argument.
5735         (tramp-get-remote-trash): New defun.
5737 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
5739         * net/tramp-compat.el (tramp-compat-delete-file): Use
5740         `symbol-value' for backward compatibility.
5742         * net/tramp.el (tramp-handle-make-symbolic-link)
5743         (tramp-handle-load)
5744         (tramp-do-copy-or-rename-file-via-buffer)
5745         (tramp-do-copy-or-rename-file-directly)
5746         (tramp-do-copy-or-rename-file-out-of-band)
5747         (tramp-handle-process-file, tramp-handle-call-process-region)
5748         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5749         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5750         (tramp-delete-temp-file-function): Use `delete-file' instead
5751         of `tramp-compat-delete-file'.
5753         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5754         (tramp-fish-handle-make-symbolic-link)
5755         (tramp-fish-handle-process-file): Use `delete-file' instead
5756         of `tramp-compat-delete-file'.
5758         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5759         `delete-file' instead of `tramp-compat-delete-file'.
5761         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5762         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5763         `tramp-compat-delete-file'.
5765         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5766         `delete-file' instead of `tramp-compat-delete-file'.
5768         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5769         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5770         (tramp-smb-handle-write-region): Use `delete-file' instead of
5771         `tramp-compat-delete-file'.
5772         (tramp-smb-handle-delete-directory): Use 'trash as arg.
5774 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5776         * dired.el (dired-delete-file): New arg TRASH.
5777         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
5778         (dired-do-flagged-delete, dired-do-delete): Use trash.
5780         * speedbar.el (speedbar-item-delete): Allow trashing.
5782         * files.el (delete-directory): New arg TRASH.
5784         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5785         (ange-ftp-rename-remote-to-remote)
5786         (ange-ftp-rename-local-to-remote)
5787         (ange-ftp-rename-remote-to-local, ange-ftp-load)
5788         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5789         `delete-file'.
5790         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5791         allow trashing.
5793         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5794         handle new TRASH arg of `delete-file'.
5796         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
5797         (tramp-handle-make-symbolic-link, tramp-handle-load)
5798         (tramp-do-copy-or-rename-file-via-buffer)
5799         (tramp-do-copy-or-rename-file-directly)
5800         (tramp-do-copy-or-rename-file-out-of-band)
5801         (tramp-handle-process-file, tramp-handle-call-process-region)
5802         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5803         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5804         (tramp-delete-temp-file-function): Use null TRASH arg in
5805         tramp-compat-delete-file call.
5807         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5808         (tramp-fish-handle-delete-file)
5809         (tramp-fish-handle-make-symbolic-link)
5810         (tramp-fish-handle-process-file): Use null TRASH arg in
5811         `tramp-compat-delete-file' call.
5813         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
5814         arg in `tramp-compat-delete-file' call.
5816         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5817         (tramp-gvfs-handle-write-region): Use null TRASH arg in
5818         `tramp-compat-delete-file' call.
5820         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
5821         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
5822         `tramp-compat-delete-file' call.
5824         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5825         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5826         (tramp-smb-handle-write-region): Use null TRASH arg in
5827         tramp-compat-delete-file call.
5828         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
5829         (tramp-smb-handle-delete-file): Rename arg.
5831         * diff.el (diff-sentinel):
5832         * epg.el (epg--make-temp-file, epg-decrypt-string)
5833         (epg-verify-string, epg-sign-string, epg-encrypt-string):
5834         * jka-compr.el (jka-compr-partial-uncompress)
5835         (jka-compr-call-process, jka-compr-write-region):
5836         * server.el (server-sentinel): Remove optional arg from
5837         delete-file, reverting 2010-05-03 change.
5839 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5841         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
5842         font-lock-constant-face, not obsolete font-lock-reference-face.
5844 2010-05-27  Kenichi Handa  <handa@m17n.org>
5846         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
5847         element of GSTRING is nil.
5849 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5851         * emacs-lisp/smie.el (smie-forward-token-function)
5852         (smie-backward-token-function): New vars.
5853         (smie-backward-sexp, smie-forward-sexp)
5854         (smie-indent-hanging-p, smie-indent-calculate): Use them.
5855         (smie-default-backward-token): Rename from smie-backward-token and
5856         skip comments.
5857         (smie-default-forward-token): Rename from smie-forward-token and
5858         skip comments.
5859         (smie-next-sexp): Handle nil results from next-token.
5860         (smie-indent-calculate): Add a new case for special `fixindent' comments.
5862 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5864         * progmodes/verilog-mode.el (verilog-type-font-keywords):
5865         Use font-lock-constant-face, not obsolete font-lock-reference-face.
5867 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
5869         * htmlfontify.el (hfy-face-resolve-face): New function.
5870         (hfy-face-to-style): Use it (Bug#6279).
5872 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5874         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
5875         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
5877 2010-05-26  Glenn Morris  <rgm@gnu.org>
5879         * emulation/edt.el (edt-load-keys): Use locate-library.
5881 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
5883         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
5884         (log-edit-changelog-entries): Doc fix.
5885         (log-edit-changelog-insert-entries): Args changed.
5886         Rename relative filenames in ChangeLog entries.  Delete tabs.
5887         (log-edit-insert-changelog-entries): Reorganize return value of
5888         `log-edit-changelog-entries' to pass filenames to
5889         log-edit-changelog-insert-entries.
5891 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5893         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
5894         `image-dired-dired-insert-marked-thumbs' to
5895         `image-dired-dired-toggle-marked-thumbs'.
5897         * image-dired.el: Require cl when compiling.
5898         (image-dired-dired-toggle-marked-thumbs): Rename from
5899         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
5900         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
5901         to 'no-dir.  Skip files whose names don't match
5902         `image-file-name-regexp'.  When file has a thumbnail overlay,
5903         delete it.  (Bug#5270)
5905 2010-05-25  Juri Linkov  <juri@jurta.org>
5907         * image-mode.el (image-mode): Add image-after-revert-hook to
5908         after-revert-hook.
5909         (image-after-revert-hook): New function.  (Bug#5669)
5911 2010-05-25  Juri Linkov  <juri@jurta.org>
5913         * image.el (image-animated-p): When delay between animated images
5914         is 0, set it to 10 (0.1 sec).  (Bug#6258)
5916 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
5918         * net/tramp.el (tramp-handle-insert-directory): Don't use
5919         `forward-word', its default syntax could be changed.
5921 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
5923         * net/tramp.el (tramp-progress-reporter-update): New defun.
5924         (with-progress-reporter): Use it.
5925         (tramp-process-actions):
5926         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
5927         current message, in order to let progress reporter continue
5928         afterwards.  (Bug#6257)
5930 2010-05-25  Glenn Morris  <rgm@gnu.org>
5932         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
5933         Add :version.
5935 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
5937         * net/rcirc.el (rcirc-default-user-name): Change to "user".
5938         (rcirc-default-full-name): Change to "unknown".
5939         (rcirc-user-name-history): Add variable.
5941 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
5942             Jonathan Rockway  <jon@jrock.us>
5944         * net/rcirc.el (rcirc-server-alist): Add :pass.
5945         (rcirc): When prompting for connection parameters, also prompt for
5946         username and password.
5947         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
5948         value to server when connecting.
5950 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5952         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
5953         (smie-merge-prec2s): Pass the tables as separate args.
5954         (smie-bnf-precedence-table): Adjust call accordingly.
5955         (smie-prec2-levels): Set levels at the end.
5957         Replace Lisp calls to delete-backward-char by delete-char.
5958         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
5959         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
5960         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
5961         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
5962         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
5963         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
5964         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
5965         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
5966         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
5967         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
5968         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
5969         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
5970         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
5971         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
5972         delete-backward-char by calls to delete-char.
5974 2010-05-25  Kenichi Handa  <handa@m17n.org>
5976         * language/hebrew.el (hebrew-shape-gstring): New function.
5977         Register it in composition-function-table for all Hebrew combining
5978         characters.
5980 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5982         * epa.el (epa--select-keys): Don't explicitly delete the window since
5983         that can fail (e.g. sole window in frame).  Use dedication instead.
5985 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
5987         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
5989 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
5991         * image.el (image-refresh): Define as an alias for image-flush.
5993         * image-mode.el (image-toggle-display-image): Caller changed.
5995 2010-05-21  Juri Linkov  <juri@jurta.org>
5997         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
5998         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
5999         whitespace, call wildcard-to-regexp on substrings and concat them
6000         with "\\|".  (Bug#6114)
6002 2010-05-21  Alan Mackenzie  <acm@muc.de>
6004         * progmodes/cc-engine.el (c-parse-state-get-strategy):
6005         Replace parameter `here' with `here-' and `here-plus', which sandwich
6006         any pertinent CPP construct.
6007         (c-remove-stale-state-cache-backwards): Fix a bug which happens
6008         when doing (c-parse-state) in a CPP construct: Exclude any "new"
6009         CPP construct from taking part in the scanning.
6011 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
6013         * net/tramp.el (tramp-do-copy-or-rename-file)
6014         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6015         Tune `with-progress-reporter' messages.
6016         (tramp-handle-vc-registered):
6017         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6018         (tramp-fish-handle-insert-file-contents)
6019         (tramp-fish-maybe-open-connection):
6020         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6021         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6022         (tramp-imap-handle-insert-file-contents)
6023         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6025 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
6027         * add-log.el (change-log-font-lock-keywords):
6028         Highlight all authors in multi-author entries.
6030         * smerge-mode.el (smerge-refine-ignore-whitespace)
6031         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6032         Fix typos in docstrings.
6033         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6035 2010-05-21  Glenn Morris  <rgm@gnu.org>
6037         * progmodes/fortran.el (fortran-mode):
6038         * progmodes/f90.el (f90-mode): Derive from prog-mode.
6040         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6041         having a relative path in src/Makefile.in.
6043 2010-05-20  Kevin Ryde  <user42@zip.com.au>
6045         * help-mode.el (help-make-xrefs): For Info node links turn
6046         newlines into spaces.  Link node names with newlines are matched
6047         by help-xref-info-regexp and buttonized, this change ensures they
6048         can be followed successfully with RET.  (Bug#6206)
6050 2010-05-20  Juri Linkov  <juri@jurta.org>
6052         * locate.el (locate): Use pop-to-buffer instead of
6053         switch-to-buffer-other-window.  (Bug#6204)
6055 2010-05-20  Juri Linkov  <juri@jurta.org>
6057         * replace.el (replace-highlight): Fix lazy-highlighting
6058         for `M-s w str M-% str RET'.
6060 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
6062         * isearch.el (isearch-yank-word-or-char): Pull next subword
6063         when `subword-mode' is activated.  (Bug#6220)
6065 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
6067         * isearch.el (isearch-update-post-hook): New hook.
6068         (isearch-update): Use the new hook.  (Bug#6225)
6070 2010-05-20  Juri Linkov  <juri@jurta.org>
6072         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6073         [f1], [help], and (char-to-string help-char) instead of "\C-h".
6074         (Bug#6222)
6076 2010-05-20  Juri Linkov  <juri@jurta.org>
6078         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6079         (Bug#6223)
6081 2010-05-20  Juri Linkov  <juri@jurta.org>
6083         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6084         FILE-NAME to read from the minibuffer when called interactively
6085         with prefix argument instead of using buffer-file-name.
6086         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6088         * dired.el: Update autoloads.
6090 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
6092         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6093         nxml-finish-element, for consistency with SGML mode.
6095         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6096         octave-close-block.
6098 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
6100         * composite.el: Require cl when compiling.
6101         (reference-point-alist, compose-gstring-for-graphic)
6102         (compose-gstring-for-terminal): Fix typos in docstrings.
6104 2010-05-19  Juri Linkov  <juri@jurta.org>
6106         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6107         set-window-parameter.
6109 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6111         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6112         where appropriate.
6113         (tramp-maybe-open-connection): Use it.
6115 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
6117         * simple.el (move-end-of-line): Make sure we are at line beginning
6118         before backing up to end of previous line.
6120 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6122         * password-cache.el (password-cache-remove): Fix docstring.
6124         * net/secrets.el: Autoload the widget functions.
6125         (secrets-search-items, secrets-create-item)
6126         (secrets-get-attributes, secrets-expand-item): Attributes will be
6127         stored on the password database without leading ":", as all other
6128         clients do as well.
6129         (secrets-mode): Fix docstring.
6130         (secrets-show-secrets): Provide it as autoloaded command only when
6131         D-Bus support is available.  Check existence of Secret Service API.
6133 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6135         * indent.el (indent-region): Deactivate region (bug#6200).
6137 2010-05-19  Glenn Morris  <rgm@gnu.org>
6139         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
6141 2010-05-19  Kenichi Handa  <handa@m17n.org>
6143         * composite.el: Register compose-gstring-for-graphic in
6144         composition-function-table only for combining characters (Mn, Mc, Me).
6146 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
6148         * calc/calc-trail.el (calc-trail-isearch-forward)
6149         (calc-trail-isearch-backward): Ensure that the new window
6150         point is set correctly.
6152 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6154         * subr.el (read-quoted-char): Resolve modifiers after key
6155         remapping (bug#6212).
6157 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
6159         Add visualization code for secrets.
6160         * net/secrets.el (secrets-mode): New major mode.
6161         (secrets-show-secrets, secrets-show-collections)
6162         (secrets-expand-collection, secrets-expand-item)
6163         (secrets-tree-widget-after-toggle-function)
6164         (secrets-tree-widget-show-password): New defuns.
6166 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6168         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6169         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6170         handled in smie-next-sexp.
6171         (smie-indent-calculate): Provide a starting indentation (so the
6172         recursion is well-founded ;-).
6174         Fix handling of non-associative equal levels.
6175         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6176         when it's not needed.
6177         (smie-op-left, smie-op-right): New functions.
6178         (smie-next-sexp): New function, extracted from smie-backward-sexp.
6179         Better handle equal levels to distinguish the associative case from
6180         the "multi-keyword construct" case.
6181         (smie-backward-sexp, smie-forward-sexp): Use it.
6183 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
6185         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6187         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6188         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6190 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6192         Provide a simple generic indentation engine and use it for Prolog.
6193         * emacs-lisp/smie.el: New file.
6194         * progmodes/prolog.el (prolog-smie-op-levels)
6195         (prolog-smie-indent-rules): New var.
6196         (prolog-mode-variables): Use them to configure SMIE.
6197         (prolog-indent-line, prolog-indent-level): Remove.
6199 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
6201         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6202         order before computing the averages.
6204 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
6206         * calc/calc-vec.el (calc-histogram):
6207         (calcFunc-histogram): Allow vectors as inputs.
6208         (math-vector-avg): New function.
6210         * calc/calc-ext.el (math-group-float): Have the number of digits
6211         being grouped depend on the radix (Bug#6189).
6213 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
6215         * version.el (emacs-copyright, emacs-version): Don't define here,
6216         now that emacs.c defines it.
6218 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
6220         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6221         "Describe Language Environment" menu item.
6223         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6225         Bidi-sensitive movement with arrow keys.
6226         * subr.el (right-arrow-command, left-arrow-command): New functions.
6228         * bindings.el (global-map): Bind them to right and left arrow keys.
6230         Don't override standard definition of convert-standard-filename.
6231         * files.el (convert-standard-filename): Call
6232         w32-convert-standard-filename and dos-convert-standard-filename on
6233         the corresponding systems.
6235         * w32-fns.el (w32-convert-standard-filename): Rename from
6236         convert-standard-filename.  Doc fix.
6238         * dos-fns.el (dos-convert-standard-filename): Doc fix.
6239         (convert-standard-filename): Don't defalias.
6240         (register-name-alist, make-register, register-value)
6241         (set-register-value, intdos): Obsolete aliases for the
6242         corresponding dos-* functions and variables.
6243         (dos-intdos): Add a doc string.
6245 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
6247         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6248         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6249         (math-compose-tex-func):
6250         * calc/calccomp.el (math-compose-expr):
6251         * calc/calc-ext.el (math-format-flat-expr-fancy):
6252         * calc/calc-store.el (calc-read-var-name):
6253         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6255         * calc/calc.el (var-π, var-φ, var-γ): New variables.
6256         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6257         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6258         (math-standard-units): Add units.
6260 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6262         * progmodes/asm-mode.el (asm-mode):
6263         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6265         * pcomplete.el (pcomplete-completions-at-point): New function,
6266         extracted from pcomplete-std-complete.
6267         (pcomplete-std-complete): Use it.
6269 2010-05-15  Glenn Morris  <rgm@gnu.org>
6271         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6272         Remove references to CVS, RCS and Old directories.
6274 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
6276         * calc/calc-bin.el (math-format-twos-complement): Group digits when
6277         appropriate.
6279 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6281         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6282         (sh-mode-syntax-table): Give it a default value instead.
6283         (sh-header-marker): Make buffer-local.
6284         (sh-mode): Move make-local-variable to the corresponding setq.
6285         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6286         Use complete-with-action.
6288         * simple.el (prog-mode): New (abstract) major mode.
6289         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6290         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6292 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
6294         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6295         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6296         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6297         (sql-make-alternate-buffer-name, sql-placeholders-filter)
6298         (sql-escape-newlines-filter, sql-input-sender)
6299         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6301 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
6303         Add TeX open-block and close-block keybindings to SGML, and vice versa.
6305         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6306         latex-open-block and C-c / to latex-close-block.
6308         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6309         and C-c C-e to sgml-close-tag.
6311 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
6313         * net/tramp.el (with-progress-reporter): Create reporter object
6314         only when the message would be displayed.  Handle nested calls.
6315         (tramp-handle-load, tramp-handle-file-local-copy)
6316         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6317         (tramp-maybe-send-script, tramp-find-shell):
6318         Use `with-progress-reporter'.
6319         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6320         Fix message text.
6322         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6323         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6324         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6325         Use `with-progress-reporter'.
6327 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
6329         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6330         process everytime when spellchecking from the minibuffer (bug#6143).
6332 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6334         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6336         * dos-fns.el: Add "dos-" prefix for namespace control.
6337         (convert-standard-filename): Define as alias for
6338         dos-convert-standard-filename but only if applicable.
6340 2010-05-12  Alan Mackenzie  <acm@muc.de>
6342         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6343         Push the mark at the start of these functions when appropriate.
6345 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6347         * minibuffer.el (completion-cycle-threshold): New custom var.
6348         (completion--do-completion): Use it.
6349         (minibuffer-complete): Use cycling if appropriate.
6351 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
6353         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6354         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6356 2010-05-11  Juri Linkov  <juri@jurta.org>
6358         * scroll-all.el (scroll-all-check-to-scroll):
6359         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6361 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6363         * iimage.el (iimage-mode-map): Move initialization into declaration.
6364         (iimage-mode-buffer): Use with-silent-modifications.
6365         Simplify calling convention.  Adjust callers.
6366         (iimage-mode): Don't run hook redundantly.
6368         * minibuffer.el (completion-pcm--pattern->regex):
6369         Fix last change (bug#6160).
6371 2010-05-10  Juri Linkov  <juri@jurta.org>
6373         Remove nodes visited during Isearch from the Info history.
6374         * info.el (Info-isearch-initial-history)
6375         (Info-isearch-initial-history-list): New variables.
6376         (Info-isearch-start): Record initial values of
6377         Info-isearch-initial-history and Info-isearch-initial-history-list.
6378         Add Info-isearch-end to isearch-mode-end-hook.
6379         (Info-isearch-end): New function.
6381 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
6383         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6384         format string, in order to work around a bug in pdksh.
6385         Reported by Gilles Pion <gpion@lfdj.com>.
6386         (tramp-handle-verify-visited-file-modtime): Do not send a command
6387         when the connection is not established.
6388         (tramp-handle-set-file-times): Simplify the check for utc.
6390 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
6392         Fix use of `filter-buffer-substring' (rework previous change).
6393         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6394         (cua-repeat-replace-region):
6395         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6396         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6397         (cua-cut-region-to-global-mark): Use it.
6399 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
6401         * progmodes/sql.el: Version 2.1.
6402         (sql-product-alist): Redesign structure of product info.
6403         (sql-product, sql-user, sql-server, sql-database): Safe variables.
6404         (sql-port, sql-port-history): New variables.
6405         (sql-interactive-product): New variable.
6406         (sql-send-terminator): New variable.
6407         (sql-imenu-generic-expression): Add "Types" imenu entry.
6408         (sql-oracle-login-params, sql-sqlite-login-params)
6409         (sql-mysql-login-params, sql-solid-login-params)
6410         (sql-sybase-login-params, sql-informix-login-params)
6411         (sql-ingres-login-params, sql-ms-login-params)
6412         (sql-postgres-login-params, sql-interbase-login-params)
6413         (sql-db2-login-params, sql-linter-login-params)
6414         (sql-oracle-scan-on): New variables.
6415         (sql-mode-map): Add C-c C-i to start interactive mode.
6416         (sql-mode-menu): Update existing menu entries.
6417         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6418         (sql-mode-oracle-font-lock-keywords)
6419         (sql-mode-postgres-font-lock-keywords)
6420         (sql-mode-ms-font-lock-keywords)
6421         (sql-mode-sybase-font-lock-keywords)
6422         (sql-mode-informix-font-lock-keywords)
6423         (sql-mode-interbase-font-lock-keywords)
6424         (sql-mode-ingres-font-lock-keywords)
6425         (sql-mode-solid-font-lock-keywords)
6426         (sql-mode-mysql-font-lock-keywords)
6427         (sql-mode-sqlite-font-lock-keywords)
6428         (sql-mode-db2-font-lock-keywords)
6429         (sql-mode-linter-font-lock-keywords): Update initialization to
6430         reduce run-time complexity.
6431         (sql-add-product, sql-del-product): New functions.
6432         (sql-set-product-feature, sql-get-product-feature): New functions.
6433         (sql-product-font-lock): Update product API.
6434         (sql-add-product-keywords): New function.
6435         (sql-highlight-product): Update product API.
6436         (sql-help-list-products): New function.
6437         (sql-help): Dynamically lists free and non-free products.
6438         (sql-get-login): Correct bug in handling history and added
6439         prompt for port.
6440         (sql-copy-column): Copy without properties.
6441         (sqli-input-sender): Apply filters to SQLi input.
6442         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6443         Implement as a filter.
6444         (sql-escape-newlines-filter): Implement as a filter.
6445         (sql-remove-tabs-filter): New function.
6446         (sql-send-magic-terminator): New function.
6447         (sql-send-string): Implement magic terminator.
6448         (sql-send-region): Use `sql-send-string'.
6449         (sql-interactive-mode): Use product API.
6450         (sql-product-interactive): Use product API.
6451         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6452         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6453         (sql-db2, sql-linter): Use `sql-product-interactive'.
6454         (sql-connect): New function.
6455         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6456         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6457         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6458         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6459         Use `sql-connect'.
6461 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6463         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6464         New custom variable.
6465         (completion-pcm--string->pattern): Use it.
6466         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6467         Make it handle any symbol as `any'.
6468         (completion-pcm--merge-completions): Extract common suffix for the new
6469         `prefix' symbol as well.
6470         (completion-substring--all-completions): Use the new `prefix' symbol.
6472 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
6474         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6475         not bound.
6476         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6477         (tramp-compat-funcall): New defmacro.
6478         (tramp-compat-line-beginning-position)
6479         (tramp-compat-line-end-position)
6480         (tramp-compat-temporary-file-directory)
6481         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6482         (tramp-compat-copy-file, tramp-compat-copy-directory)
6483         (tramp-compat-delete-file, tramp-compat-delete-directory)
6484         (tramp-compat-number-sequence, tramp-compat-process-running-p)
6485         * net/tramp.el (top, with-progress-reporter)
6486         (tramp-rfn-eshadow-setup-minibuffer)
6487         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6488         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6489         (tramp-completion-mode-p, tramp-check-for-regexp)
6490         (tramp-open-connection-setup-interactive-shell)
6491         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6492         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6493         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6494         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6495         (tramp-reporter-dump-variable, tramp-load-report-modules)
6496         (tramp-append-tramp-buffers)
6497         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6499         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6501 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6503         * progmodes/compile.el (compilation-buffer-modtime): Rename from
6504         buffer-modtime.  Adjust users.
6506 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6508         * international/mule.el (auto-coding-alist): Only purecopy
6509         car of each item, not the whole list (Bug#6083).
6511 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6513         * progmodes/js.el (js-mode): Make paragraph variables local before
6514         calling c-setup-paragraph-variables (Bug#6071).
6516 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
6518         * composite.el (compose-region, reference-point-alist): Fix typos
6519         in the doc strings.
6521 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6523         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6524         gnuplot's "set" command.
6526 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6528         * abbrev.el (last-abbrev-text): Doc fix.
6529         (abbrev-prefix-mark): Don't escape parenthesis.
6531 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
6533         * composite.el (find-composition): Doc fix.
6535 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6537         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6538         (sql-oracle-program, sql-sqlite-options)
6539         (sql-query-placeholders-and-send): Doc fixes.
6540         (sql-set-product, sql-interactive-mode): Reflow docstrings.
6541         (sql-imenu-generic-expression, sql-buffer)
6542         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6543         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6544         (sql-mode-sybase-font-lock-keywords)
6545         (sql-mode-informix-font-lock-keywords)
6546         (sql-mode-interbase-font-lock-keywords)
6547         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6548         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6549         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6550         (sql-product-feature, sql-highlight-product)
6551         (comint-line-beginning-position, sql-rename-buffer)
6552         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6553         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6554         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6555         Fix typos in docstrings.
6557 2010-05-08  Juri Linkov  <juri@jurta.org>
6559         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6560         property instead of `invisible' and `after-string' (bug#5998).
6562 2010-05-08  Juri Linkov  <juri@jurta.org>
6564         * image-mode.el (image-mode-as-text): Fix typo in docstring.
6566 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6568         * filecache.el (file-cache-add-directory-list)
6569         (file-cache-add-directory-recursively): Fix typos in docstrings.
6571 2010-05-08  Kenichi Handa  <handa@m17n.org>
6573         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6574         (gujarati-composable-pattern): Fix typo.
6576 2010-05-08  Kenichi Handa  <handa@m17n.org>
6578         * language/indian.el (oriya-composable-pattern)
6579         (tamil-composable-pattern, malayalam-composable-pattern):
6580         Add two-part vowels to "v" (vowel sign).
6582 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6584         * files.el (copy-directory): Handle symlinks (Bug#5982).
6586 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
6588         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6589         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
6590         (Bug#5846).
6592 2010-05-08  Glenn Morris  <rgm@gnu.org>
6594         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6596         * minibuffer.el (completion-at-point): Doc fix.
6598 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6600         * electric.el (Electric-command-loop): Minor tweak.
6602         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6603         better with dedicated windows.
6605 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
6607         * Version 23.2 released.
6609 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
6610             Stefan Monnier  <monnier@iro.umontreal.ca>
6612         Highlight vendor specific properties.
6613         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6614         (css-proprietary-property): New face.
6615         (css-font-lock-keywords): Use them.
6617 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
6619         * cus-start.el (all): Add native condition for tool-bar-* symbols.
6621 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6623         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6624         * files.el (auto-mode-alist): Remove redundant entries.
6626         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6627         * simple.el (auto-save-mode): Move from files.el.
6628         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6630 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
6632         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6634 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
6636         * mail/binhex.el (binhex-decode-region-internal)
6637         * mail/uudecode.el (uudecode-decode-region-internal)
6638         * net/dns.el (dns-read-string-name, dns-write, dns-read)
6639         (dns-read-type, dns-query)
6640         * pgg-parse.el (pgg-parse-armor)
6641         * pgg.el (pgg-verify-region)
6642         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6643         XEmacs.
6645         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6647 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
6649         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6651         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6652         * emulation/cua-base.el (cua-repeat-replace-region):
6653         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6654         (cua-cut-region-to-global-mark):
6655         Remove text properties with `set-text-properties'.
6657 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
6659         * net/tramp.el (top, with-progress-reporter):
6660         Use `symbol-function' inside `funcall'.
6662         * net/tramp-compat.el (tramp-compat-file-attributes)
6663         (tramp-compat-delete-file, tramp-compat-delete-directory):
6664         Handle only `wrong-number-of-arguments' error.
6666         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
6667         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
6668         inside `funcall'.
6670 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6672         * minibuffer.el (completion--sreverse, completion--common-suffix):
6673         New functions.
6674         (completion-pcm--merge-completions): Extract common suffix when safe.
6676         * emacs-lisp/easy-mmode.el (define-minor-mode):
6677         Make :variable more flexible.
6678         * files.el (auto-save-mode): Use it to define using define-minor-mode.
6680 2010-05-05  Juri Linkov  <juri@jurta.org>
6682         Add `slow' and `history' tags to the desktop data.
6684         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
6685         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
6686         (Info-finder-find-node): Require `finder.el' to be able
6687         to restore node from the desktop.
6688         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
6689         data `Info-history' and `slow' tag in the assoc list.
6690         (Info-restore-desktop-buffer): Don't restore nodes with the
6691         `slow' tag.  Restore `Info-history'.
6693 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
6695         Add FORCE argument to `delete-file'.
6697         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6698         forcing to delete the temporary file.
6699         (ange-ftp-delete-file): Add FORCE arg.
6700         (ange-ftp-rename-remote-to-remote)
6701         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
6702         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
6703         Force file deletion.
6705         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
6707         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
6708         (tramp-handle-make-symbolic-link, tramp-handle-load)
6709         (tramp-do-copy-or-rename-file-via-buffer)
6710         (tramp-do-copy-or-rename-file-directly)
6711         (tramp-do-copy-or-rename-file-out-of-band)
6712         (tramp-handle-process-file, tramp-handle-call-process-region)
6713         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6714         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6715         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
6717         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
6718         (tramp-fish-handle-make-symbolic-link)
6719         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
6721         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6722         Use `tramp-compat-delete-file'.
6724         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
6725         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
6727         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
6728         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
6730         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
6731         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
6732         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
6733         `tramp-compat-delete-file'.
6735 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6737         Minor cleanups.
6738         * subr.el (add-minor-mode): Use push.
6739         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6740         * emulation/edt.el (edt-select-mode): Simplify.
6742         Use define-minor-mode in more cases.
6743         * term/tvi970.el (tvi970-set-keypad-mode):
6744         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6745         (normal-erase-is-backspace-mode):
6746         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6747         (set-scroll-bar-mode-1): (Re)move to its sole caller.
6748         (get-scroll-bar-mode): New function.
6749         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6751         Use define-minor-mode for less obvious cases.
6752         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6753         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6754         * international/iso-ascii.el (iso-ascii-mode):
6755         * frame.el (auto-raise-mode, auto-lower-mode):
6756         * composite.el (global-auto-composition-mode): Use define-minor-mode.
6758 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
6760         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6761         in order to see error messages for failed logins.
6763 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
6765         * diff.el (diff-sentinel):
6767         * epg.el (epg--make-temp-file, epg-decrypt-string)
6768         (epg-verify-string, epg-sign-string, epg-encrypt-string):
6770         * jka-compr.el (jka-compr-partial-uncompress)
6771         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6773         * server.el (server-sentinel): Use delete-file's new FORCE arg
6774         (Bug#6070).
6776 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6778         Use define-minor-mode where applicable.
6779         * view.el (view-mode):
6780         * type-break.el (type-break-query-mode)
6781         (type-break-mode-line-message-mode):
6782         * textmodes/reftex.el (reftex-mode):
6783         * term/vt100.el (vt100-wide-mode):
6784         * tar-mode.el (tar-subfile-mode):
6785         * savehist.el (savehist-mode):
6786         * ibuf-ext.el (ibuffer-auto-mode):
6787         * composite.el (auto-composition-mode):
6788         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6789         Use define-minor-mode.
6790         (vhdl-mode): Use static mode-line format.
6791         (vhdl-mode-line-update): Delete.
6792         (vhdl-create-mode-menu, vhdl-activate-customizations)
6793         (vhdl-hs-minor-mode): Don't bother calling it.
6795 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6797         * simple.el (with-wrapper-hook): Move.
6798         (buffer-substring-filters): Mark obsolete.
6799         (filter-buffer-substring-functions): New variable.
6800         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
6802 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
6803             Michael Albinus  <michael.albinus@gmx.de>
6805         Implement compression for inline methods.
6807         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6808         (tramp-copy-size-limit): Allow also nil.
6809         (tramp-inline-compress-commands): New defconst.
6810         (tramp-find-inline-compress, tramp-get-inline-compress)
6811         (tramp-get-inline-coding): New defuns.
6812         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6813         replaced by `tramp-get-inline-coding'.
6814         (tramp-handle-file-local-copy, tramp-handle-write-region)
6815         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6817 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6819         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
6820         Remove unused functions.
6822         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
6823         Set find-tag-default-function as a variable rather than a property.
6825         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
6826         * progmodes/etags.el (tags-completion-at-point-function):
6827         Remove left over interactive spec.  Add autoloading stub.
6828         (complete-tag): Use tags-completion-at-point-function.
6830 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
6832         * minibuffer.el (tags-completion-at-point-function): Fix return value.
6834 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
6836         * ido.el (ido-init-completion-maps): Remove C-v binding.
6837         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
6839 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
6841         * minibuffer.el (tags-completion-at-point-function): New function.
6842         (completion-at-point-functions): Use it.
6844         * progmodes/etags.el (complete-tag): Revert last change.
6846 2010-04-29  Alan Mackenzie  <acm@muc.de>
6848         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
6849         off-by-one error (in end of macro position).
6851 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6853         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
6854         firefox is absent.  Don't autoload.
6855         (browse-url-galeon-program): Don't autoload.
6857 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
6859         * bindings.el (complete-symbol): Move into minibuffer.el.
6861         * minibuffer.el (complete-tag): Move from etags.el.  If tags
6862         completion cannot be performed, return nil instead of signalling
6863         an error.
6864         (completion-at-point): Make it an alias for complete-symbol.
6865         (complete-symbol): Move from bindings.el, and replace with the
6866         body of completion-at-point.
6868         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
6870 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
6872         * net/tramp.el (tramp-remote-selinux-p): New defun.
6873         (tramp-handle-file-selinux-context)
6874         (tramp-handle-set-file-selinux-context): Use it.
6876 2010-04-28  Sam Steingold  <sds@gnu.org>
6878         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6879         `safe-local-variable' if the value is a string or a symbol with
6880         the property `bug-reference-url-format'.
6882 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
6884         * progmodes/bug-reference.el (bug-reference-url-format):
6885         Revert 2010-04-27 change due to security risk.
6887 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6889         Make it possible to locally disable a globally enabled mode.
6890         * simple.el (fundamental-mode): Run fundamental-mode-hook.
6891         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
6892         rather than kill-all-local-variables so it runs fundamental-mode-hook.
6893         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6894         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
6895         that subsequent hooks get a chance to disable it.
6897 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6899         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6900         Avoid re-enabling a minor mode after the user turned the minor mode
6901         off if MODE-enable-in-buffers is run twice (typically once from
6902         fundamental-mode's after-change-major-mode-hook and a second time from
6903         run-mode-hook's own after-change-major-mode-hook).
6905         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
6907 2010-04-27  Sam Steingold  <sds@gnu.org>
6909         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6910         `safe-local-variable' if the value is a string or a function, as
6911         documented and implemented on 2010-04-02.
6913 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
6915         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
6916         when method is 'kill.
6918 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
6920         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
6921         condition in default directory check.
6922         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
6923         Kill ispell process when killing its associated buffer.
6925 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
6927         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
6928         but we aren't using it.
6930 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
6932         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
6933         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
6935 2010-04-24  Glenn Morris  <rgm@gnu.org>
6937         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
6938         Ignore VCS-ignore files, and deleted nextstep preferences files.
6939         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
6940         (authors-ambiguous-files): New list.
6941         (authors-valid-file-names): Add some deleted files.
6942         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
6943         (authors-disambiguate-file-name): New function.  (Bug#5501)
6944         (authors-canonical-file-name): Doc fix.
6945         Don't warn about obsolete files.
6946         (authors-canonical-file-name, authors-scan-el):
6947         Use authors-disambiguate-file-name.
6949         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6950         Add autoload cookies.
6951         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
6952         (generated-autoload-file): Set file-local value to "htmlfontify.el".
6953         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
6954         They have definitions / compiler macros in cl.el.
6955         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6956         Replace manual autoloads with generated ones.
6957         (htmlfontify-unload-rgb-file): Remove autoload.
6958         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
6960 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6962         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
6963         (byte-compile-setq-default): Optimize for the
6964         single-var case and don't call byte-compile-form in this case to avoid
6965         inf-loop with byte-compile-set-default.
6967         * progmodes/compile.el (compilation-start): Abbreviate default directory.
6969 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
6971         Implement SELINUX backends.
6973         * net/tramp.el (tramp-file-name-handler-alist):
6974         Add `file-selinux-context' and `set-file-selinux-context'.
6975         (tramp-handle-file-selinux-context)
6976         (tramp-handle-set-file-selinux-context): New defuns.
6977         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6978         Handle PRESERVE-SELINUX-CONTEXT.
6980         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6981         Add `file-selinux-context' and `set-file-selinux-context'.
6982         (tramp-gvfs-handle-file-selinux-context)
6983         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6984         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6986         * net/ange-ftp.el (ange-ftp-copy-file):
6987         * net/tramp-fish.el (tramp-fish-handle-copy-file):
6988         * net/tramp-imap.el (tramp-imap-handle-copy-file):
6989         * net/tramp-smb.el (tramp-smb-handle-copy-file):
6990         Add PRESERVE-SELINUX-CONTEXT.
6992 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
6994         Synchronize with Tramp repository.
6996         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
6997         (tramp-action-process-alive, tramp-action-out-of-band)
6998         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6999         (tramp-exists-file-name-handler): Fix docstring.
7000         (with-progress-reporter): New defmacro.
7001         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7002         (tramp-maybe-open-connection): Use it.
7004 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
7006         Detect ssh 'ControlMaster' argument automatically in some cases.
7008         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7009         (tramp-default-method): Use it.
7011 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7013         * net/tramp.el (tramp-handle-copy-file): Add new optional
7014         parameter `preserve-selinux-context'.
7015         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7017 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7019         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7020         Ensure, that non remote files are still checked.  Oops.
7022 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
7024         Fix Bug#5840.
7026         * icomplete.el (icomplete-completions): Use `non-essential'.
7028         * net/tramp.el (tramp-connectable-p): New defun.
7029         (tramp-handle-expand-file-name)
7030         (tramp-completion-handle-file-name-all-completions)
7031         (tramp-completion-handle-file-name-completion): Use it.
7033 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7035         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7037 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
7039         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7041         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7043         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7044         is present.
7046         * info.el (info-tool-bar-map): Add labels.
7048         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7050         * cus-edit.el (custom-commands): Add labels for tool bar.
7051         (custom-buffer-create-internal, Custom-mode): Adjust for
7052         labels in custom-commands.
7054         * dynamic-setting.el: Renamed from font-setting.el.
7056 2010-04-21  John Wiegley  <jwiegley@gmail.com>
7058         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7059         toggles the use of virtual buffers.
7060         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7061         (ido-toggle-virtual-buffers): New function.
7063 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
7065         Use `define-derived-mode'; fix window selection; doc fixes.
7066         * play/tetris.el (tetris, tetris-update-speed-function)
7067         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7068         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7069         (tetris-rotate-next, tetris-end-game, tetris-start-game)
7070         (tetris-pause-game): Fix typos in docstrings.
7071         (tetris-mode-map, tetris-null-map):
7072         Move initialization into declaration.
7073         (tetris-mode): Define with `define-derived-mode';
7074         set show-trailing-whitespace to nil.
7075         (tetris): Prefer window already displaying the "*Tetris*" buffer.
7077 2010-04-21  Karel Klíč  <kklic@redhat.com>
7079         * files.el (backup-buffer): Handle SELinux context, and return it
7080         if a backup was made by renaming.
7081         (backup-buffer-copy): Set SELinux context to the target file.
7082         (basic-save-buffer): Set SELinux context of the newly written file.
7083         (basic-save-buffer-1): Now it also returns any SELinux context.
7084         (basic-save-buffer-2): Set SELinux context of the newly created file,
7085         and return it.
7086         * net/tramp.el (tramp-file-name-for-operation):
7087         Add file-selinux-context.
7089 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7091         Make the log-edit comments use RFC822 format throughout.
7093         * vc.el (vc-checkin, vc-modify-change-comment):
7094         Adjust to new vc-start/finish-logentry.
7095         (vc-find-conflicted-file): New command.
7096         (vc-transfer-file): Adjust to new vc-checkin.
7097         (vc-next-action): Improve scoping.
7099         * vc-hg.el (vc-hg-log-edit-mode): Remove.
7100         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
7102         * vc-git.el (vc-git-log-edit-mode): Remove.
7103         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
7104         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7106         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7107         (vc-start-logentry): Remove argument `extra'.
7108         (vc-finish-logentry): Remove extra args.
7110         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7111         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
7112         (vc-bzr-conflicted-files): New function.
7114         * log-edit.el (log-edit-extra-flags)
7115         (log-edit-before-checkin-process): Remove.
7116         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7117         (log-edit-headers-alist): New var.
7118         (log-edit-header-contents-regexp): New const.
7119         (log-edit-match-to-eoh): New function.
7120         (log-edit-font-lock-keywords): Use them.
7121         (log-edit): Insert a "Summary:" header as default.
7122         (log-edit-mode): Mark font-lock rules as case-insensitive.
7123         (log-edit-done): Cleanup headers.
7124         (log-view-process-buffer): Remove.
7125         (log-edit-extract-headers): New function to replace it.
7127 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
7129         * subr.el (default-direction-reversed): Remove obsolescence info.
7131 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7133         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7134         windows/frames.
7136         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7137         I.e. include text after point in the completion region.
7138         Also, return nil when we're not after/in a symbol.
7140         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7141         default enable-multibyte-characters.
7143 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7145         * international/mule.el: Help the user choose a valid coding-system.
7146         (read-buffer-file-coding-system): New function.
7147         (set-buffer-file-coding-system): Use it.  Prompt the user if the
7148         coding-system cannot encode all the chars.
7150         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7151         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7152         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7153         Don't use *vc-bzr-shelve*.
7155 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
7157         Fix the version number for added files.
7158         * vc-hg.el (vc-hg-working-revision): Check if the file is
7159         registered after hg parent fails (Bug#5961).
7161 2010-04-19  Glenn Morris  <rgm@gnu.org>
7163         * htmlfontify.el (htmlfontify-buffer)
7164         (htmlfontify-copy-and-link-dir): Autoload entry points.
7166 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
7168         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7169         name relative to the project root (Bug#5960).
7171 2010-04-19  Glenn Morris  <rgm@gnu.org>
7173         * vc-git.el (vc-git-print-log): Doc fix.
7175 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
7177         * ido.el (ido-file-internal): Fix 2009-12-02 change.
7179 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
7181         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7182         default settings (Bug#5928).
7184 2010-04-19  Glenn Morris  <rgm@gnu.org>
7186         * progmodes/fortran.el (fortran-match-and-skip-declaration):
7187         New function.
7188         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
7190 2010-04-19  Kenichi Handa  <handa@m17n.org>
7192         * language/indian.el (malayalam-composable-pattern): Fix previous
7193         change (add U+0D4D "SIGN VIRAMA").
7194         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7195         (tamil-composable-pattern): Fix typo in the regexp.
7196         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7197         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7198         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7200 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7202         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7203         paragraph-separate (Bug#5821).
7205 2010-04-19  Juri Linkov  <juri@jurta.org>
7207         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7209         * info.el (Info-find-node-2): Comment out code that skips
7210         breadcrumbs line.
7211         (Info-mouse-follow-link): New command.
7212         (Info-link-keymap): New keymap.
7213         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7214         Return a string with links instead of inserting breadcrumbs
7215         to the Info buffer.
7216         (Info-fontify-node): Comment out code that inserts breadcrumbs.
7217         Instead of putting the `invisible' text property over the Info
7218         header, make an overlay over the Info header with the `invisible'
7219         property and `after-string' set to the string returned by
7220         `Info-breadcrumbs'.
7222 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7224         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7225         Reported by monkey@sandpframing.com.
7227 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7229         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7230         (tmm-get-keymap): Add key-binding shortcuts now that they're not
7231         available in the "keyseq cache" any more.
7233         * custom.el (defcustom): Add edebug spec.
7235 2010-04-18  Juri Linkov  <juri@jurta.org>
7237         Test for special mode-class in view-buffer instead of view-file (bug#5513).
7239         * view.el (view-file, view-buffer): Move test for special mode-class
7240         from view-file to view-buffer.
7242         * tar-mode.el (tar-extract): Turn if's into one cond
7243         like in arc-mode.el.
7245 2010-04-18  Juri Linkov  <juri@jurta.org>
7247         Add 7z archive format support (bug#5475).
7249         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7250         (archive-7z-extract): New defcustom.
7251         (archive-find-type): Add magic string for 7z.
7252         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7253         If `stderr-file' is non-nil, use `(t stderr-file)' for the
7254         `buffer' arg of `call-process'.
7255         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7256         call the function `archive-7z-extract' with the variable
7257         `archive-7z-extract' let-bound to `archive-zip-extract'.
7258         (archive-7z-summarize, archive-7z-extract): New functions.
7260         * international/mule.el (auto-coding-alist):
7261         * files.el (auto-mode-alist): Add 7z file extension.
7263 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7265         * loadup.el: Setup hash-cons for pure data.
7267         Fix duplicate entries in cedet's loaddefs.el files.
7268         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7269         Should make most file-local generated-autoload-file unnecessary.
7270         (print-readably): Silence warnings.
7271         (autoload-find-destination): Take load-name as an arg to make sure
7272         it's the same as the one that will be in the file.
7273         (autoload-generate-file-autoloads): Adjust to above changes.
7274         Try to make the dataflow a bit simpler.
7276         * cvs-status.el (cvs-refontify): Remove unused.
7278 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
7280         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7282         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7283         twos-complement mode.
7285 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
7287         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7288         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
7289         (calc-inverse): Add "Option" to message, as appropriate.
7290         (calc-hyperbolic): Add "Option" to message, as appropriate.
7291         (calc-option, calc-is-option): New functions.
7293         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7294         (calc-option-prefix-help): New function.
7296         * calc/calc-misc.el (calc-help): Add "Option" entry.
7298         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7299         (calc-option-flag): New variable.
7300         (calc-do): Set `calc-option-flag to nil.
7301         (calc-set-mode-line): Add "Opt " as appropriate.
7303 2010-04-16  Juri Linkov  <juri@jurta.org>
7305         Move scrolling commands from simple.el to window.el
7306         because their primitives are implemented in window.c.
7308         * simple.el (scroll-error-top-bottom)
7309         (scroll-up-command, scroll-down-command, scroll-up-line)
7310         (scroll-down-line, scroll-other-window-down)
7311         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7312         * window.el (scroll-error-top-bottom)
7313         (scroll-up-command, scroll-down-command, scroll-up-line)
7314         (scroll-down-line, scroll-other-window-down)
7315         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7316         Move from simple.el to window.el because their primitives are
7317         implemented in window.c.
7319 2010-04-16  Juri Linkov  <juri@jurta.org>
7321         * isearch.el (isearch-lookup-scroll-key): Check both
7322         `isearch-scroll' and `scroll-command' properties.
7323         (scroll-up, scroll-down): Remove `isearch-scroll' property.
7325         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7327         * simple.el (scroll-up-command, scroll-down-command)
7328         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7330 2010-04-15  Juri Linkov  <juri@jurta.org>
7332         * simple.el (scroll-up-command, scroll-down-command)
7333         (scroll-up-line, scroll-down-line): Put `scroll-command'
7334         property on the these symbols.  Remove them from
7335         `scroll-preserve-screen-position-commands'.
7337         * mwheel.el (mwheel-scroll): Put `scroll-command' and
7338         `isearch-scroll' properties on the `mwheel-scroll' symbol.
7339         Remove it from `scroll-preserve-screen-position-commands'.
7341         * isearch.el (isearch-allow-scroll): Doc fix.
7343 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
7345         * net/tramp.el (tramp-error-with-buffer): Don't show the
7346         connection buffer when we are in completion mode.
7347         (tramp-file-name-handler): Catch the error for some operations
7348         when we are in completion mode.  This gives the user the chance to
7349         correct the file name in the minibuffer.
7351 2010-04-15  Glenn Morris  <rgm@gnu.org>
7353         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7355 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
7357         Simplify by using `define-derived-mode'.
7358         * info.el (Info-mode):
7359         * calendar/todo-mode.el (todo-mode):
7360         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7361         (gomoku-mode-map): Move initialization into declaration.
7363 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
7365         Fix Bug#5840.
7366         * ido.el (ido-file-name-all-completions-1):
7367         * minibuffer.el (minibuffer-completion-help):
7368         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7370 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7372         * simple.el (non-essential): New var.
7374         Add a new field `location' to bookmarks for non-file bookmarks.
7375         * bookmark.el (bookmark-location): Use the new field, if present.
7376         (bookmark-insert-location): Undo last change, not needed any more.
7377         * man.el (Man-bookmark-make-record):
7378         * woman.el (woman-bookmark-make-record): Add `location' field.
7380 2010-04-14  Juri Linkov  <juri@jurta.org>
7382         * simple.el (scroll-error-top-bottom): New defcustom.
7383         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
7385         * emulation/pc-select.el (pc-select-override-scroll-error):
7386         Obsolete in favor of `scroll-error-top-bottom'.
7388 2010-04-14  Juri Linkov  <juri@jurta.org>
7390         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7391         `scroll-up-command' and `M-v' to `scroll-down-command'.
7393         * emulation/cua-rect.el (cua--init-rectangles):
7394         * forms.el (forms--change-commands):
7395         * image-mode.el (image-mode-map):
7396         Remap scroll-down-command and scroll-up-command
7397         in addition to scroll-down and scroll-up.
7399 2010-04-14  Juri Linkov  <juri@jurta.org>
7401         * mwheel.el (scroll-preserve-screen-position-commands):
7402         Add mwheel-scroll to this list of commands.
7404         * simple.el (scroll-preserve-screen-position-commands):
7405         Add scroll-up-command, scroll-down-command, scroll-up-line,
7406         scroll-down-line to this list of commands.
7408 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7410         * obsolete/complete.el: Move from lisp/complete.el.
7412         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7414         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7415         to the minor mode function now turns the mode ON unconditionally.
7417 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7419         * vc-dir.el (vc-dir-kill-line): New command.
7420         (vc-dir-mode-map): Bind it to C-k.
7422         * bookmark.el (bookmark-insert-location): Handle a nil filename.
7424         * woman.el: Add bookmark declarations to silence the compiler.
7425         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7426         step to compatibility between man and woman bookmarks.
7427         Adjust for Man-default-bookmark-title renaming.
7428         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
7430         * man.el: Add bookmark declarations to silence the compiler.
7431         (Man-name-local-regexp): Make it match NAME as well.
7432         (Man-getpage-in-background): Return the buffer.
7433         (Man-notify-when-ready): Use `case'.
7434         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7435         Don't hardcode "NAME".  Simplify.
7436         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7437         Rename from Man-bookmark-make-record.
7438         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
7439         we have the actual man-args.  Use Man-getpage-in-background rather
7440         than `man' since the arg is already processed.  Let bookmark.el do the
7441         window handling.  Only wait for the relevant process.
7442         Don't forget to autoload.
7444         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7446 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7448         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7449         New functions.
7450         (woman-mode): Setup bookmark support.
7452         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7453         (man-bookmark-jump): New functions.
7454         (Man-mode): Setup bookmark support.
7456 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
7458         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7459         recognize ssh-keygen prompt (Bug#2817).
7461 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7463         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7465 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7467         Synchronize with Tramp repository.
7469         * net/tramp.el (tramp-completion-function-alist)
7470         (tramp-file-name-regexp, tramp-chunksize)
7471         (tramp-local-coding-commands, tramp-remote-coding-commands):
7472         Fix docstring.
7473         (tramp-remote-process-environment): Use `format' instead of `concat'.
7474         (tramp-handle-directory-files-and-attributes)
7475         (tramp-get-remote-path): Use `copy-tree'.
7476         (tramp-handle-file-name-all-completions): Backward/ XEmacs
7477         compatibility: Use `completion-ignore-case' if
7478         `read-file-name-completion-ignore-case' does not exist.
7479         (tramp-do-copy-or-rename-file-directly): Do not use
7480         `tramp-handle-file-remote-p'.
7481         (tramp-do-copy-or-rename-file-out-of-band):
7482         Use `tramp-compat-delete-directory'.
7483         (tramp-do-copy-or-rename-file-out-of-band)
7484         (tramp-compute-multi-hops, tramp-maybe-open-connection):
7485         Use `format-spec-make'.
7486         (tramp-find-foreign-file-name-handler)
7487         (tramp-advice-make-auto-save-file-name)
7488         (tramp-set-auto-save-file-modes): Remove superfluous check for
7489         `stringp'.  This is done inside `tramp-tramp-file-p'.
7490         (tramp-debug-outline-regexp): New defconst.
7491         (tramp-get-debug-buffer): Use it.
7492         (tramp-check-for-regexp): Use (forward-line 1).
7493         (tramp-set-auto-save-file-modes): Adapt version check.
7495         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7496         Wrap call of `featurep' for 2nd argument.
7497         (tramp-compat-make-temp-file): Simplify fallback implementation.
7498         (tramp-compat-copy-tree): Remove function.
7499         (tramp-compat-delete-directory): Provide implementation for older
7500         Emacsen.
7502         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7503         Do not use `tramp-fish-handle-file-attributes.
7505         * net/trampver.el: Update release number.
7507 2010-04-10  Glenn Morris  <rgm@gnu.org>
7509         * progmodes/compile.el (compilation-save-buffers-predicate):
7510         Add missing :version tag.
7512 2010-04-09  Sam Steingold  <sds@gnu.org>
7514         * progmodes/compile.el (compilation-save-buffers-predicate):
7515         Remove the "autoload" cookie.
7517         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7518         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7519         and `bug-reference-prog-mode' can be used in hooks directly.
7521 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
7523         Add --author support to git commit.
7524         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7525         (vc-git-log-edit-mode): New minor mode.
7526         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7527         New declarations.
7529 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
7531         * vc-hooks.el, vc-git.el: Improve documentation comments.
7533 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7535         Fix some of the problems in defsubst* (bug#5728).
7536         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7537         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7539 2010-04-07  Sam Steingold  <sds@gnu.org>
7541         * progmodes/compile.el (compilation-save-buffers-predicate):
7542         New custom variable.
7543         (compile, recompile): Pass it to `save-some-buffers'.
7545 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
7547         * wid-edit.el (widget-choose): Move cursor to the second line of
7548         the buffer (Bug#5695).
7550 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7552         Add new VC methods: vc-log-incoming and vc-log-outgoing.
7553         * vc.el (vc-print-log-setup-buttons): New function split out from
7554         vc-print-log-internal.
7555         (vc-log-internal-common): New function, a parametrized version of
7556         vc-print-log-internal.
7557         (vc-print-log-internal): Just call vc-log-internal-common with the
7558         right arguments.
7559         (vc-incoming-outgoing-internal):
7560         (vc-log-incoming, vc-log-outgoing): New functions.
7561         (vc-log-view-type): New permanent local variable.
7563         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7565         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7566         of the dynamic bound vc-short-log.
7567         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7569         * vc-git.el (vc-git-log-outgoing): New function.
7570         (vc-git-log-view-mode): Use vc-log-view-type instead
7571         of the dynamic bound vc-short-log.
7573         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7574         of the dynamic bound vc-short-log.  Highlight the tag.
7575         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7576         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7577         (vc-hg-incoming-mode): Remove.
7578         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7580 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7582         Fix default-directory for vc-root-diff.
7583         * vc.el (vc-root-diff): Bind default-directory to the root
7584         directory for the diff command.
7586 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
7588         * progmodes/verilog-mode.el (verilog-forward-sexp):
7589         (verilog-calc-1): Support "disable fork" and "fork wait" multi
7590         word keywords, suggested by Steve Pearlmutter.
7591         (verilog-pretty-declarations): Support lineup of declarations in
7592         port lists.
7593         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7594         fix bug for /* / comments.
7595         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7596         Speed up and simplfy as this is never called with a bound.
7597         (verilog-pretty-declarations): Enhance to line up declarations
7598         inside a parameter list, suggested by Alan Morgan.
7599         (verilog-pretty-expr): Tune assignment regular expression match
7600         string for corner cases; also use markers instead of character
7601         number as indent changes the later.
7603 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
7605         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7606         as missing keyword.
7607         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7608         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
7609         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7610         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
7611         Tennant.
7612         (verilog-keywords):
7613         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7614         1800-2009 keywords, including "global.".
7616 2010-04-06  John Wiegley  <jwiegley@gmail.com>
7618         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7619         appearing in buffer list (if a live buffer name matched a recentf
7620         file basename).  Should use uniquify to offer a real solution.
7622 2010-04-06  John Wiegley  <jwiegley@gmail.com>
7624         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7625         comment to code, and add a :version tag.
7626         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7628 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
7630         Enable recentf-mode if using virtual buffers.
7631         * ido.el (recentf-list): Declare for byte-compiler.
7632         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
7633         (ido-make-buffer-list): Simplify.
7634         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
7636 2010-04-05  Juri Linkov  <juri@jurta.org>
7638         Scrolling commands which scroll a line instead of full screen.
7639         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7641         * simple.el (scroll-up-line, scroll-down-line): New commands.
7642         Put property isearch-scroll=t on them.
7644         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7645         Remove commands.
7647 2010-04-05  Juri Linkov  <juri@jurta.org>
7649         Scrolling commands which do not signal errors at top/bottom.
7650         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7652         * simple.el (scroll-up-command, scroll-down-command): New commands.
7653         Put property isearch-scroll=t on them.
7655         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7656         `scroll-down-command' and [next] from `scroll-up' to
7657         `scroll-up-command'.
7659         * emulation/cua-base.el: Put property CUA=move on
7660         `scroll-up-command' and `scroll-down-command'.
7661         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
7662         and `scroll-down-command' to `cua-scroll-down'.
7664 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
7666         * help.el (describe-mode): Return nil.
7668 2010-04-04  John Wiegley  <jwiegley@gmail.com>
7670         * ido.el (ido-use-virtual-buffers): New variable to indicate
7671         whether "virtual buffer" support is enabled for IDO.
7672         (ido-virtual): Face used to indicate virtual buffers in the list.
7673         (ido-buffer-internal): If a buffer is chosen, and no such buffer
7674         exists, but a virtual buffer of that name does (which would be why
7675         it was in the list), recreate the buffer by reopening the file.
7676         (ido-make-buffer-list): If virtual buffers are being used, call
7677         `ido-add-virtual-buffers-to-list' before the make list hook.
7678         (ido-virtual-buffers): New variable which contains a copy of the
7679         current contents of the `recentf-list', albeit pared down for the
7680         sake of speed, and with proper faces applied.
7681         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
7682         create a list of "virtual buffers" to present to the user in
7683         addition to the currently open set.  Note that this logic could
7684         get rather slow if that list is too large.  With the default
7685         `recentf-max-saved-items' of 200, there is little speed penalty.
7687 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7689         * font-lock.el: Require CL when compiling.
7690         (font-lock-turn-on-thing-lock): Use `case'.
7692 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
7694         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
7695         Zaretskii.
7697 2010-04-02  Juri Linkov  <juri@jurta.org>
7699         * ehelp.el (electric-help-orig-major-mode):
7700         New buffer-local variable.
7701         (electric-help-mode): Set it to original major-mode.  Doc fix.
7702         (with-electric-help): Use `electric-help-orig-major-mode' instead
7703         of (default-value 'major-mode).  Doc fix.
7704         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
7706 2010-04-02  Sam Steingold  <sds@gnu.org>
7708         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
7709         `vc-hg-command' with a list of flags.
7711         * progmodes/bug-reference.el (bug-reference-bug-regexp):
7712         Also accept "patch" and "RFE".
7713         (bug-reference-fontify): `bug-reference-url-format' can also be a
7714         function to be able to handle the bug kind.
7715         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
7717 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
7719         * tmm.el (tmm-get-keymap): Check with symbolp before passing
7720         value to fboundp, it may not be a symbol.
7722 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7724         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
7726 2010-03-31  Juri Linkov  <juri@jurta.org>
7728         * simple.el (next-line, previous-line): Re-throw a signal
7729         with `signal' instead of using `ding'.
7730         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
7732 2010-03-31  Juri Linkov  <juri@jurta.org>
7734         * simple.el (keyboard-escape-quit): Raise deselecting the active
7735         region higher than exiting the minibuffer.
7736         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7738 2010-03-31  Juri Linkov  <juri@jurta.org>
7740         * image.el (image-animated-p): Use `image-metadata' instead of
7741         `image-extension-data'.  Get GIF extenstion data from metadata
7742         property `extension-data'.
7744 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7746         * simple.el (append-to-buffer): Simplify.
7748 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
7750         * textmodes/artist.el (artist-mode): Fix typo in docstring.
7751         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
7753 2010-03-31  Kenichi Handa  <handa@m17n.org>
7755         * language/sinhala.el (composition-function-table): Fix regexp for
7756         the new Unicode specification.
7758         * language/indian.el (devanagari-composable-pattern)
7759         (tamil-composable-pattern, kannada-composable-pattern)
7760         (malayalam-composable-pattern): Adjust for the new Unicode
7761         specification.
7762         (bengali-composable-pattern, gurmukhi-composable-pattern)
7763         (gujarati-composable-pattern, oriya-composable-pattern)
7764         (telugu-composable-pattern): New variables to cope with the new
7765         Unicode specification.  Use them in composition-function-table.
7767 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7769         Make tmm-menubar work for the Buffers menu again (bug#5726).
7770         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7771         vectors rather than cons cells, as used in menu-bar-update-buffers.
7773 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7775         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7776         (js-insert-and-indent): Revert 2009-08-15 change, restoring
7777         electric punctuation for "{}();,:" (Bug#5586).
7779         * mail/sendmail.el (mail-default-directory): Doc fix.
7781 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7783         * mail/sendmail.el (mail-default-directory): Doc fix.
7785 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
7787         * subr.el (version-regexp-alist, version-to-list)
7788         (version-list-<, version-list-=, version-list-<=)
7789         (version-list-not-zero, version<, version<=, version=): Doc fix.
7790         (Bug#5744).
7792 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
7794         * vc.el (vc-root-diff): Doc fix.
7796 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7798         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
7800         * simple.el (append-to-buffer): Fix last change.
7802 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7804         * simple.el (append-to-buffer): Ensure that point is preserved if
7805         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
7806         (Bug#5749)
7808 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7810         * files.el (auto-mode-case-fold): Change default to t.
7812 2010-03-30  Juri Linkov  <juri@jurta.org>
7814         * dired-x.el (dired-omit-mode): Doc fix.
7816 2010-03-30  Juri Linkov  <juri@jurta.org>
7818         * replace.el (occur-accumulate-lines): Move occur-engine related
7819         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
7820         to be located after `occur-engine'.
7822 2010-03-30  Juri Linkov  <juri@jurta.org>
7824         Make occur handle multi-line matches cleanly with context.
7825         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
7827         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
7828         (occur-engine): Add local variables `ret', `prev-after-lines',
7829         `prev-lines'.  Use more arguments for `occur-context-lines'.
7830         Set first elem of its returned list to `data', and the second elem
7831         to `prev-after-lines'.  Don't print the separator line.
7832         In the end, print remaining context after-lines.
7833         (occur-context-lines): Add new arguments `begpt', `endpt',
7834         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
7835         after-lines of the previous match with before-lines of the
7836         current match and not overlap them.  Return a list with two
7837         values: the output line and the list of context after-lines.
7839 2010-03-30  Juri Linkov  <juri@jurta.org>
7841         * replace.el (occur-accumulate-lines): Fix a bug where the first
7842         context line at the beginning of the buffer was missing.
7844 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
7846         * files.el: Make bidi-display-reordering safe variable for boolean
7847         values.
7849 2010-03-29  Phil Hagelberg  <phil@evri.com>
7850             Chong Yidong  <cyd@stupidchicken.com>
7852         * subr.el: Extend progress reporters to perform "spinning".
7853         (progress-reporter-update, progress-reporter-do-update):
7854         Handle non-numeric value arguments.
7855         (progress-reporter--pulse-characters): New var.
7857 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
7859         * progmodes/compile.el (compilation-start): Fix regexp detection
7860         of initial cd command (Bug#5771).
7862 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
7864         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
7866 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
7868         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
7869         * progmodes/gdb-mi.el: Restore.
7870         * progmodes/gdb-ui.el: Remove.
7871         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
7873 2010-03-25  Glenn Morris  <rgm@gnu.org>
7875         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
7876         all dired buffers, even tramp ones.  (Bug#5755)
7878 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7880         Add "union tags" in mpc.el.
7881         * mpc.el: Remove backward compatibility code.
7882         (mpc-browser-tags): Change default.
7883         (mpc--find-memoize-union-tags): New var.
7884         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
7885         (mpc-cmd-find): Handle the case where the playlist does not exist.
7886         Handle union-tags.
7887         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
7888         (mpc-cmd-add): Use mpc-cmd-flush.
7889         (mpc-tagbrowser-tag-name): New fun.
7890         (mpc-tagbrowser-buf): Use it.
7891         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
7893 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7895         Misc cleanup.
7896         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
7897         Use replace-regexp-in-string.
7898         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
7899         (makefile-imake-mode-syntax-table): Move init into defvar.
7900         (makefile-mode): Use define-derived-mode.
7902         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
7903         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
7904         not be present any more.
7906 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7908         * faces.el (set-face-attribute): Fix typo in docstring.
7909         (face-valid-attribute-values): Reflow docstring.
7911 2010-03-24  Glenn Morris  <rgm@gnu.org>
7913         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
7915 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
7917         * indent.el (indent-for-tab-command): Doc fix.
7919 2010-03-24  Alan Mackenzie  <acm@muc.de>
7921         * progmodes/cc-engine.el (c-remove-stale-state-cache):
7922         Fix off-by-one error.  Fixes bug #5747.
7924 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7926         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
7927         (image-dired-read-comment): Doc fix.
7929         * json.el (json-object-type, json-array-type, json-key-type)
7930         (json-false, json-null, json-read-number):
7931         * minibuffer.el (completion-in-region-functions):
7932         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
7933         (cal-tex-cursor-week):
7934         * emacs-lisp/trace.el (trace-function):
7935         * eshell/em-basic.el (eshell/printnl):
7936         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
7937         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
7938         * obsolete/levents.el (allocate-event, event-key, event-object)
7939         (event-point, event-process, event-timestamp, event-to-character)
7940         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
7941         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
7942         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
7943         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
7944         (reftex-highlight-selection): Fix typos in docstrings.
7946 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7948         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
7950 2010-03-24  Glenn Morris  <rgm@gnu.org>
7952         * mail/rmail.el (rmail-highlight-face): Restore option deleted
7953         2008-02-13 without comment; mark it obsolete.
7954         (rmail-highlight-headers): Use rmail-highlight-face once more.
7956 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
7958         * woman.el (woman2-process-escapes): Only consume the newline if
7959         the filler character is on a line by itself (Bug#5729).
7961 2010-03-24  Kenichi Handa  <handa@m17n.org>
7963         * language/indian.el (devanagari-composable-pattern): Add more
7964         consonants.
7966 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
7968         * net/trampver.el: Update release number.
7970 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
7972         * net/tramp.el (tramp-find-executable):
7973         Use `tramp-get-connection-buffer'.  Make the regexp for checking
7974         output of "wc -l" more robust.
7975         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
7976         (tramp-open-connection-setup-interactive-shell): Remove workaround
7977         for OpenSolaris bug, it is not needed anymore.
7979 2010-03-24  Glenn Morris  <rgm@gnu.org>
7981         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
7983 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
7985         * files.el (auto-mode-alist): Accept more verilog file patterns.
7987 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7989         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
7991 2010-03-24  Glenn Morris  <rgm@gnu.org>
7993         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
7994         log-edit-before-checkin-process.
7996         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
7998         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8000         * vc-dispatcher.el (vc-start-logentry): Doc fix.
8001         (log-view-process-buffer, log-edit-extra-flags): Declare.
8003         * log-edit.el (log-edit-before-checkin-process): Doc fix.
8005 2010-03-23  Sam Steingold  <sds@gnu.org>
8007         Fix bug#5620: recalculate all markers on compilation buffer
8008         modifications, not on file modifications.
8009         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8010         the buffer modification time, for buffers not associated with files.
8011         (compilation-mode): Create it.
8012         (compilation-filter): Update it.
8013         (compilation-next-error-function): Use it instead of
8014         `visited-file-modtime' for timestamp.
8016 2010-03-23  Juri Linkov  <juri@jurta.org>
8018         Implement Occur multi-line matches.
8019         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8021         * replace.el (occur): Doc fix.
8022         (occur-engine): Set `begpt' to the beginning of the first line.
8023         Set `endpt' to the end of the last match line.  At first, count
8024         line numbers between `origpt' and `begpt'.  Split out code from
8025         `out-line' variable to new let-bindings `match-prefix' and
8026         `match-str'.  In `out-line' add non-numeric prefix to all
8027         non-first lines of multi-line matches.  Finally, count lines
8028         between `begpt' and `endpt' and add to `lines'.
8030 2010-03-23  Juri Linkov  <juri@jurta.org>
8032         * replace.el (occur-accumulate-lines, occur-engine):
8033         Use `occur-engine-line' instead of duplicate code.
8034         (occur-engine-line): New function created from duplicate code
8035         in `occur-accumulate-lines' and `occur-engine'.
8037         * replace.el (occur-engine-line): Add optional arg `keep-props'.
8038         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8040 2010-03-23  Juri Linkov  <juri@jurta.org>
8042         * finder.el: Remove TODO tasks.
8044         * info.el (Info-finder-find-node): Add node "all"
8045         with all package info.  Handle a list of multiple keywords
8046         separated by comma.
8047         (info-finder): In interactive use with a prefix argument,
8048         use `completing-read-multiple' to read a list of keywords
8049         separated by comma.
8051 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8053         Add a new completion style `substring'.
8054         * minibuffer.el (completion-basic--pattern): New function.
8055         (completion-basic-try-completion, completion-basic-all-completions):
8056         Use it.
8057         (completion-substring--all-completions)
8058         (completion-substring-try-completion)
8059         (completion-substring-all-completions): New functions.
8060         (completion-styles-alist): New style `substring'.
8062 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8064         Get rid of .elc files after removal of the corresponding .el.
8065         * Makefile.in (compile-clean): New target.
8066         (compile-main): Use it.
8068 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
8070         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8071         don't do make there.  When compiling with separate object dir, there
8072         is no Makefile there.
8074 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8076         Get rid of the ELCFILES abomination, again.
8077         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8078         (all, compile): Don't call compile-last.
8079         (compile-main): Build the "elcfiles" list dynamically.
8080         (compile-targets): New (internal) target.
8082 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8084         * Makefile.in (top_srcdir): Define.
8085         (abs_top_builddir): Define.
8086         (srcdir): Don't append `/..'.
8087         (EMACS): Use ${abs_top_builddir}.
8088         (all, compile, compile-always, compile-last): Don't set emacswd.
8089         (update-subdirs, update-authors): Use $(top_srcdir) instead of
8090         $(srcdir).
8091         (lisp): Use $(srcdir) instead of @srcdir@.
8093 2010-03-21  Juri Linkov  <juri@jurta.org>
8095         Fix message of multi-line occur regexps and multi-buffer header lines.
8096         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8098         * replace.el (occur-1): Don't display regexp if it is longer
8099         than window-width.  Use `query-replace-descr' to display regexp.
8100         (occur-engine): Don't display regexp in the buffer header for
8101         multi-buffer occur.  Display a separate header line with total
8102         match count and regexp for multi-buffer occur.
8103         Use `query-replace-descr' to display regexp.
8105 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
8107         * net/secrets.el: Fix parenthesis.
8108         (secrets-enabled): Fix parenthesis.
8110 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8112         Use more relative file and directory names.
8113         * Makefile.in (EMACS): Arrange for it to work when we chdir.
8114         (setwins, setwins_almost, setwins_for_subdirs):
8115         Don't `cd'; output relative names.
8116         (all, compile, compile-always, compile-last): Set emacswd.
8117         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8118         Just cd to the lisp source dir so we can use relative file names.
8120         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8122 2010-03-20  Glenn Morris  <rgm@gnu.org>
8124         * textmodes/rst.el: Use faces for font-lock customization, and make the
8125         old -face variables obsolete.
8126         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8127         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8128         (rst-block-face, rst-external-face, rst-definition-face)
8129         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8130         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8131         Make obsolete.
8132         (rst-font-lock-keywords-function): Update for above changes.
8134 2010-03-20  Juri Linkov  <juri@jurta.org>
8136         * s-region.el:
8137         * obsolete/s-region.el: Move to obsolete.
8139 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
8141         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8143 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8145         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8147 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8149         Add special markup processing for commit logs.
8150         * log-edit.el (log-edit-extra-flags): New variable.
8151         (log-edit): Add new argument MODE.  Use that mode when non-nil
8152         instead of the log-view-mode.
8153         (log-view-process-buffer): New function.
8155         * vc.el: Document that the checkin method takes optional
8156         arguments.  Document new backend specific method: log-view-mode.
8157         (vc-default-log-edit-mode): New function.
8158         (vc-checkin): Use a backend specific log-view-mode.
8159         Pass extra arguments to the checkin method.
8160         (vc-modify-change-comment): Pass a dummy extra argument.
8162         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8163         log-edit.
8164         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8165         (vc-finish-logentry): Process the log buffer before passing it
8166         down.  Pass log-edit-extra-flags.
8168         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8169         command.
8170         (log-edit-extra-flags, log-edit-before-checkin-process):
8171         New declarations.
8173         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8174         command.
8175         (log-edit-extra-flags, log-edit-before-checkin-process):
8176         New declarations.
8177         (vc-hg-log-edit-mode): New derived mode.
8179         * vc-arch.el (vc-arch-checkin):
8180         * vc-cvs.el (vc-cvs-checkin):
8181         * vc-git.el (vc-git-checkin):
8182         * vc-mtn.el (vc-mtn-checkin):
8183         * vc-rcs.el (vc-rcs-checkin):
8184         * vc-sccs.el (vc-sccs-checkin):
8185         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8187 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8189         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8190         parent typo).
8192 2010-03-19  Glenn Morris  <rgm@gnu.org>
8194         * password-cache.el (password-cache, password-cache-expiry): Autoload.
8196 2010-03-18  Glenn Morris  <rgm@gnu.org>
8198         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8200         * replace.el (query-replace-history): Give it a doc string.
8201         (map-query-replace-regexp): Use query-replace-from-history-variable
8202         and query-replace-to-history-variable.
8204         * mail/hashcash.el (declare-function): Remove duplicate definition.
8206         * mail/emacsbug.el (report-emacs-bug-pretest-address):
8207         Make it an obsolete alias for report-emacs-bug-address.
8208         (message-strip-special-text-properties): Declare.
8209         (report-emacs-bug): Remove test for a pretest bug address.
8210         Combine message-mode-specific code.
8212         * mail/supercite.el: Don't require sendmail.
8213         (mh-in-header-p): Declare rather than using with-no-warnings.
8214         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8215         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
8217         * calendar/cal-french.el: Convert to utf-8.
8219         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8220         Emacs scripts.
8222 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
8224         * net/secrets.el (secrets-enabled): New variable.  Use it instead
8225         of a subfeature.
8227 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
8229         * net/secrets.el (top): Register the D-Bus signals only when the
8230         service "org.freedesktop.secrets" can be pinged.
8231         Provide subfeature `enabled'.
8233 2010-03-14  Juri Linkov  <juri@jurta.org>
8235         Add finder unknown keywords.
8237         * finder.el (finder-unknown-keywords): New function.
8239         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8240         to create a Finder node with unknown keywords.
8242 2010-03-14  Juri Linkov  <juri@jurta.org>
8244         * finder.el (finder-compile-keywords): Replace `princ' with
8245         `prin1' on a list of symbols interned from keyword strings.
8247         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8248         a comma, then split keywords using a comma and optional whitespace.
8249         Otherwise, split by whitespace.
8251         * complete.el:
8252         * face-remap.el:
8253         * log-view.el:
8254         * net/hmac-def.el:
8255         * net/hmac-md5.el:
8256         * net/netrc.el:
8257         * progmodes/mixal-mode.el: Fix keywords.
8259 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
8261         * Makefile.in (ELCFILES): Add net/secrets.elc.
8263         * net/secrets.el: New file.
8265 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8267         * facemenu.el (list-colors-display, list-colors-print): New arg
8268         callback.  Use it to allow selecting colors.
8270         * wid-edit.el (widget-image-insert): Insert image prop even if the
8271         current display is non-graphic.
8272         (widget-field-value-set): New fun.
8273         (editable-field): Use it.
8274         (widget-field-value-get): Clean up unused var.
8275         (widget-color-value-create, widget-color--choose-action):
8276         New funs.  Allow using list-colors-display to choose color.
8278 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8280         * cus-edit.el: Resort topmost custom groups.
8281         (custom-buffer-sort-alphabetically): Default to t.
8282         (customize-apropos): Use apropos-parse-pattern.
8283         (custom-search-field): New var.
8284         (custom-buffer-create-internal): Add custom-apropos search field.
8285         (custom-add-parent-links): Don't display parent doc.
8286         (custom-group-value-create): Don't sort top-level custom group.
8287         (custom-magic-value-create): Show visibility button before option name.
8289         (custom-variable-state): New fun, from custom-variable-state-set.
8290         (custom-variable-state-set): Use it.
8291         (custom-group-value-create): Hide options with standard values
8292         using the :hidden-states property.  Use progress reporter.
8294         (custom-show): Simplify.
8295         (custom-visibility): Disable images by default.
8296         (custom-variable): New property :hidden-states.
8297         (custom-variable-value-create): Enable images for
8298         custom-visibility widgets.  Use :hidden-states property to
8299         determine initial visibility.
8301         * wid-edit.el (widget-image-find): Give images center ascent.
8302         (visibility): Add :on-image and :off-image properties.
8303         (widget-visibility-value-create): Use them.
8305 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8307         * cus-edit.el (processes): Remove from development group.
8308         (oop, hypermedia): Delete group.
8309         (comm): Promote to top-level group.
8311         * net/browse-url.el (browse-url):
8312         * net/xesam.el (xesam):
8313         * net/tramp.el (tramp):
8314         * net/goto-addr.el (goto-address):
8315         * net/ange-ftp.el (ange-ftp): Put in comm group.
8317         * view.el (view): Remove from editing group.
8319         * uniquify.el (uniquify): Put in files group.
8321         * net/browse-url.el (browse-url):
8322         * ps-print.el (postscript): Put in external group.
8324         * cus-edit.el (outlines):
8325         * textmodes/text-mode.el (text-mode-hook):
8326         * textmodes/table.el (table):
8327         * textmodes/picture.el (picture):
8328         * outline.el (outlines): Put in wp group.
8330         * nxml/nxml-mode.el (nxml): Remove from wp group.
8332         * net/tramp-imap.el (tramp-imap): Put in tramp group.
8334         * mail/metamail.el (metamail): Remove from hypermedia group.
8336         * cus-edit.el (abbrev):
8337         * whitespace.el (whitespace):
8338         * vcursor.el (vcursor):
8339         * reveal.el (reveal):
8340         * hl-line.el (hl-line): Put in convenience group.
8342         * epg-config.el (epg): Put in data group.
8344         * emulation/pc-select.el (pc-select): Put in emulations group.
8346         * calculator.el (calculator): Put in applications group.
8348 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8350         Add .dir-locals.el support for file-less buffers.
8351         * files.el (hack-local-variables): Split out code to apply local
8352         variable settings ...
8353         (hack-local-variables-apply): ... here.  New function.
8354         (hack-dir-local-variables): Use the default directory for when the
8355         buffer does not have an associated file.
8356         (hack-dir-local-variables-non-file-buffer): New function.
8357         * diff-mode.el (diff-mode):
8358         * vc-annotate.el (vc-annotate-mode):
8359         * vc-dir.el (vc-dir-mode):
8360         * log-edit.el (log-edit-mode):
8361         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8363 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8365         Add support for shelving snapshots and for showing shelves.
8366         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8367         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8368         New functions.
8369         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8370         (vc-bzr-extra-menu-map): Map them.
8372 2010-03-11  Glenn Morris  <rgm@gnu.org>
8374         * cus-edit.el (customize-changed-options-previous-release):
8375         Bump to 23.1.
8377         * image.el (image-animate-max-time): Fix :version tag.
8379 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
8381         * Branch for 23.2.
8383 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8385         * vc-git.el (vc-git-revision-table): Include remote branches.
8387 2010-03-10  Kim F. Storm  <storm@cua.dk>
8389         Animated image API.
8390         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8392         * image.el (image-animate-max-time): New defcustom.
8393         (image-animated-types): New defconst.
8394         (create-animated-image, image-animate-timer)
8395         (image-animate-start, image-animate-stop, image-animate-timeout)
8396         (image-animated-p): New functions.
8398         * image-mode.el (image-toggle-display-image):
8399         Replace `create-image' with `create-animated-image'.
8401 2010-03-09  Miles Bader  <miles@gnu.org>
8403         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8404         instead of "format:"; this ensures that the output is
8405         newline-terminated.
8407 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
8409         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8410         that all errors are caught, and that the return value is always a
8411         list (Bug#5692).
8413 2010-03-08  Kenichi Handa  <handa@m17n.org>
8415         * language/misc-lang.el (windows-1256): New coding system.
8416         (cp1256): New alias of windows-1256 (bug#5690).
8418 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
8420         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8421         call to rfc822-bad-address.  (Bug#5692)
8423 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8425         * vc-git.el (vc-git-annotate-extract-revision-at-line):
8426         Use vc-git-root as default directory for revision path (Bug#5657).
8428 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
8430         * calculator.el (calculator): Don't bind split-window-keep-point
8431         (Bug#5674).
8433 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8435         * vc-git.el: Re-flow to fit into 80 columns.
8436         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8437         Remove spurious `quote' element in each case alternative.
8438         (vc-git-show-log-entry): Use prog1.
8439         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8441 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8443         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8445 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
8447         * macros.el (insert-kbd-macro): Look up keyboard macro using the
8448         definition, not the name (Bug#5481).
8450 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8452         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8453         argument with a local variable.  (Bug#5670)
8455 2010-03-02  Juri Linkov  <juri@jurta.org>
8457         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
8459 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
8461         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8462         error when FILENAME and NEWNAME are existing remote directories.
8464         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8465         parameter DIR-FLAG.
8467 2010-03-02  Glenn Morris  <rgm@gnu.org>
8469         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8470         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8472 2010-03-01  Kenichi Handa  <handa@m17n.org>
8474         * language/burmese.el (burmese-composable-pattern): Rename from
8475         myanmar-composable-pattern.
8477         * international/characters.el (script-list):
8478         * international/fontset.el (script-representative-chars):
8479         Change myanmar to burmese.
8480         (otf-script-alist): Likewise.
8481         (setup-default-fontset): Likewise.  Re-fix :otf spec.
8483 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
8485         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8487 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
8489         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8491 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8493         * net/tramp.el (tramp-handle-write-region): START can be a string.
8494         Take care in the checks.  Reported by Dan Davison
8495         <davison@stats.ox.ac.uk>.
8497 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8499         * net/dbus.el (dbus-introspect, dbus-get-property)
8500         (dbus-set-property, dbus-get-all-properties):
8501         Use `dbus-call-method' when noninteractive.  (Bug#5645)
8503 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
8505         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8506         * emacs-lisp/elint.el (elint-add-required-env):
8507         * calendar/icalendar.el (icalendar--add-diary-entry):
8508         * calc/calcalg2.el (math-tracing-integral):
8509         * files.el (recover-session-finish): Use with-current-buffer
8510         instead of save-excursion.
8512 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8514         Fix in-buffer completion when after-change-functions modify the buffer.
8515         * minibuffer.el (completion--replace): New function.
8516         (completion--do-completion): Use it and use relative movement.
8518 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
8520         * international/fontset.el (setup-default-fontset): Fix :otf spec.
8522 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
8524         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8525         Allow the characters _<> in the stack entry (Bug#5653).
8527 2010-02-26  Kenichi Handa  <handa@m17n.org>
8529         * language/burmese.el: Fix entries in composition-function-table.
8530         (myanmar-composable-pattern): New variable.
8532         * international/fontset.el (setup-default-fontset): Add an entry
8533         for myanmar.
8535         * international/characters.el (script-list): Add Myanmar
8536         Extended-A.
8538 2010-02-26  Glenn Morris  <rgm@gnu.org>
8540         * custom.el (custom-initialize-delay): Doc fix.
8542         * mail/sendmail.el (send-mail-function): Autoload the call
8543         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8545 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
8547         * files.el (hack-local-variables-filter): For eval forms, also
8548         check safe-local-variable-p (Bug#5636).
8550 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
8552         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8553         setting the modes by `ignore-errors'.  It might fail, for example
8554         if the file is not owned by the user but the group.
8555         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8557 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
8559         * files.el (directory-listing-before-filename-regexp): Use
8560         stricter matching for iso-style dates, to avoid false matches with
8561         date-like filenames (Bug#5597).
8563         * htmlfontify.el (htmlfontify): Doc fix.
8565         * eshell/eshell.el (eshell): Doc fix.
8567         * startup.el (fancy-about-screen): In mode-line, apply
8568         mode-line-buffer-id face only to the buffer name (Bug#5613).
8570 2010-02-20  Kevin Ryde  <user42@zip.com.au>
8572         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8573         In `watcom' anchor regexp to start of line, to avoid slowness
8574         (Bug#5599).
8576 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
8578         * subr.el (remove-yank-excluded-properties): Explain in a comment
8579         why `category' property is removed.
8581 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
8583         * isearch.el (isearch-update-post-hook, isearch-update): Revert
8584         2010-02-17 change.
8586 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
8588         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8589         (icalendar--convert-weekly-to-ical)
8590         (icalendar--convert-yearly-to-ical)
8591         (icalendar--convert-block-to-ical)
8592         (icalendar--convert-cyclic-to-ical)
8593         (icalendar--convert-anniversary-to-ical): Take care of time
8594         specifications where hour has 1-digit only (Bug#5549).
8596 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
8598         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8599         of disassemble output in GDB 7.1.
8601 2010-02-19  Glenn Morris  <rgm@gnu.org>
8603         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8604         property.  (Bug#5593)
8606 2010-02-18  Sam Steingold  <sds@gnu.org>
8608         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8610 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8612         Use abbreviated file names in bookmarks (bug#5591).
8613         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8614         calls to expand-file-name.
8615         (bookmark-relocate): Use abbreviated file names in bookmarks.
8616         (bookmark-load): Use abbreviated file names in messages.
8618 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
8620         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8621         expand "." and "..".  Reported by Thierry Volpiatto
8622         <thierry.volpiatto@gmail.com>.
8624 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
8626         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8627         permissions of the temporary file to "0600".  In case the remote
8628         file has no read permissions for the owner, there might be
8629         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
8631 22010-02-18  Glenn Morris  <rgm@gnu.org>
8633         * emacs-lisp/authors.el (authors-renamed-files-alist):
8634         Add entries for INSTALL.CVS.
8636 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
8638         * vc-bzr.el: Fix typo in Known Bugs section.
8640         * isearch.el (isearch-update-post-hook): New hook.
8641         (isearch-update): Use the new hook.
8643 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
8645         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8646         Fix errors in copying directories.
8647         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8648         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8649         (tramp-handle-delete-file)
8650         (tramp-handle-dired-recursive-delete-directory)
8651         (tramp-handle-write-region): Flush also the cache for the upper
8652         directory.
8654 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
8656         * simple.el (save-interprogram-paste-before-kill): Doc fix.
8658         * cus-edit.el (hardware): Doc fix.
8660         * man.el (man): Add to external custom group.
8662         * delim-col.el (columns): Move to wp custom group.
8664         * doc-view.el (doc-view): Add to data custom group.
8666         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
8668         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
8669         by ispell-parse-output (Bug#5575).
8671 2010-02-16  Kenichi Handa  <handa@m17n.org>
8673         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
8674         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
8675         (skkdic-convert): Use `euc-japan' coding system for writing.
8677 2010-02-16  Glenn Morris  <rgm@gnu.org>
8679         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
8680         tex-main-file before using it.  (Bug#5562)
8682 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8684         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
8685         warnings, since it is annoying for the user to see them each time he
8686         runs the code.
8688 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
8690         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
8691         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
8692         instead of PROC for caching "first-password-request".  Otherwise,
8693         new processes would not profit from passwords already entered.
8695         * net/tramp-cache.el (tramp-dump-connection-properties):
8696         Don't save "first-password-request" property.
8698 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
8700         * outline.el (outline-head-from-level):
8701         * simple.el (with-wrapper-hook):
8702         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
8703         (elint-defun, elint-buffer-env, elint-top-form-logged)
8704         (elint-unbound-variable):
8705         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
8706         Fix typos in docstrings.
8708 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
8710         * files.el (insert-directory): When WILDCARD-REGEXP and
8711         FULL-DIRECTORY-P are nil, insert the file entry instead of the
8712         whole directory.  (Bug#5551)
8714         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
8715         dired's alignment sanity.  (Bug#5516)
8717 2010-02-14  Juri Linkov  <juri@jurta.org>
8719         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
8720         Remove remaining ^H with their preceding chars.  (Bug#5566)
8722 2010-02-13  Glenn Morris  <rgm@gnu.org>
8724         * simple.el (transpose-subr): Give it a doc-string.
8726         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
8727         Doc fixes.
8729 2010-02-12  Juri Linkov  <juri@jurta.org>
8731         * arc-mode.el (archive-unique-fname): Make directories for nested
8732         archives.  (Bug#5540)
8734 2010-02-12  Juri Linkov  <juri@jurta.org>
8736         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
8738 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8740         * subr.el (copy-overlay): Handle deleted overlays.
8742         * man.el (Man-completion-table): Don't signal an error if we can't run
8743         manual-program (bug#4056).
8745 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
8747         * textmodes/artist.el (artist-mt): Fix typos in docstring.
8749 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8751         * info.el (Info-bookmark-jump): Simplify.
8753         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8754         (bookmark-default-handler): Accept new bookmark field `buffer'.
8756 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
8758         * iswitchb.el (iswitchb-completions): Revert last change.
8760 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
8762         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8763         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8764         This prevents file names like "~/" being listed literally.
8766 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
8768         * term/xterm.el (xterm-maybe-set-dark-background-mode):
8769         Remove dead code.  (Bug#5546)
8771 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
8773         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8774         correctly (Bug#5548).
8776 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
8778         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8779         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8781 2010-02-08  Kenichi Handa  <handa@m17n.org>
8783         * international/mule-util.el (with-coding-priority): Add autoload
8784         cookie for putting `lisp-indent-function'.
8786 2010-02-07  Glenn Morris  <rgm@gnu.org>
8788         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8789         Move F2003 named interfaces from keywords-2 to keywords-1, and
8790         use function-name-face rather than constant-face.
8791         Simplify "abstract interface" regexp.
8793 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
8795         * eshell/esh-util.el (eshell-file-attributes): New optional arg
8796         ID-FORMAT.  Pass it to `file-attributes'.
8798         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
8800 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
8802         * faces.el (set-face-attribute): Allow calling
8803         internal-set-lisp-face-attribute with 'unspecified family and
8804         foundry argument (Bug#5536).
8806 2010-02-07  Glenn Morris  <rgm@gnu.org>
8808         * progmodes/f90.el (f90-font-lock-keywords-2)
8809         (f90-looking-at-type-like, f90-looking-at-program-block-end):
8810         Handle F2003 named interfaces.
8812 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
8814         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
8815         beg and end before calling c-get-state-before-change-functions.
8817 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
8819         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
8821 2010-02-05  Juri Linkov  <juri@jurta.org>
8823         * doc-view.el (doc-view-mode):
8824         * image-mode.el (image-mode): Put property mode-class=special.
8825         (Bug#4896)
8827 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
8829         * vc-svn.el (vc-svn-revision-table): New function.
8831 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
8833         * net/ange-ftp.el (ange-ftp-insert-directory):
8834         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8835         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8836         Handle also directories.  (Bug#5478)
8838 2010-02-05  Glenn Morris  <rgm@gnu.org>
8840         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
8842 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
8844         * startup.el (command-line-1): Convert options beginning with a
8845         single dash as well (Bug#5519).
8847 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8849         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
8850         * minibuffer.el (completion-initials-expand): Only check the presence
8851         of delims *within* the boundaries, since otherwise the / delim is
8852         always found for files.
8854         Fix up various corner case problems.
8855         * doc-view.el (doc-view-last-page-number): New function.
8856         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
8857         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
8858         (doc-view-kill-proc): Avoid inf-loop in freak cases.
8859         (doc-view-reconvert-doc): Use the new recursive delete-directory.
8860         (doc-view-convert-current-doc): Don't create the resolution.el file
8861         here any more.
8862         (doc-view-pdf/ps->png): Do it here instead.
8863         (doc-view-already-converted-p): Check that resolution.el is present.
8864         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
8865         windows that are not yet showing images.
8867 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
8869         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
8870         `dired-uncache' for every elemnt which is an absolute file name.
8872         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
8873         directory, handle its directory component.
8874         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
8875         function is called permanently and creates noise, otherwise.
8877         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8878         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8879         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
8881 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
8883         * macros.el (apply-macro-to-region-lines):
8884         Minor simplification.  (Bug#5485)
8886 2010-02-04  Glenn Morris  <rgm@gnu.org>
8888         * mail/rmail.el (rmail-show-message-1): Handle malformed
8889         quoted-printable text.  (Bug#5441)
8891         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
8893         * simple.el (visual-line-mode): Capitalize lighter.
8895 2010-02-03  John Wiegley  <jwiegley@gmail.com>
8897         * iswitchb.el (iswitchb-completions): Add bookmark files to the
8898         list of files considered for "virtual buffer" completions.
8900 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
8902         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
8903         also in case of (and (not full) (not wildcard)).  This is needed
8904         when dired is called with a list of files, which are not in
8905         `default-directory'.  (Bug#5478)
8907 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8909         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
8911 2010-02-02  Juri Linkov  <juri@jurta.org>
8913         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
8914         from unidiff to allow function-line after @@.
8916 2010-02-02  Juri Linkov  <juri@jurta.org>
8918         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
8919         '(RCS SCCS) with inverted condition.
8921 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
8923         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
8924         messages.
8926 2010-02-01  Juri Linkov  <juri@jurta.org>
8928         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
8929         compare with "pkunzip" and "pkzip" instead of only "pkzip".
8930         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
8931         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
8933 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8935         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
8936         (doc-view-revert-buffer): New command.
8937         (doc-view-mode-map): Use it.
8939 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
8941         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
8942         pending merge is detected.
8944 2010-01-31  Juri Linkov  <juri@jurta.org>
8946         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
8947         beginning of interactive spec like all other grep commands do.
8948         Put "all" in front of "gz".  (Bug#5260)
8950 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
8952         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
8954 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
8956         * dirtrack.el (dirtrack): Warn instead of signalling error if the
8957         regexp is incorrect (Bug#5476).
8959 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
8961         * net/tramp.el (tramp-handle-insert-directory): Handle also
8962         symlinks, when FILENAME is not in `default-directory'.
8964 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
8966         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
8967         FILE is not in `default-directory'.  (Bug#5478)
8969         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
8970         of SWITCHES.  Handle the case, FILENAME is not in
8971         `default-directory'.  (Bug#5478)
8972         (tramp-register-file-name-handlers): Add safe-magic property.
8974 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
8976         * arc-mode.el (archive-zip-extract): Quote the argument passed to
8977         unzip (Bug#5475).
8979 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
8981         * progmodes/flymake.el (flymake-allowed-file-name-masks)
8982         (flymake-master-make-header-init): Add other C++ filename masks.
8983         (flymake-find-possible-master-files)
8984         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
8986 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
8988         Fix some busybox annoyances.
8990         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
8991         not responding." string.
8992         (tramp-open-connection-setup-interactive-shell): Dump stty
8993         settings.  Enable "neveropen" arg for all `tramp-send-command'
8994         calls.  Handle "=" in variable values properly.
8995         (tramp-find-inline-encoding): Raise an error, when no encoding is
8996         found.
8997         (tramp-wait-for-output): Check, whether PROC buffer is available.
8998         Remove spurious " ^H" sequences, sent by busybox.
8999         (tramp-get-ls-command): Suppress coloring, if possible.
9001 2010-01-28  Glenn Morris  <rgm@gnu.org>
9003         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
9005         * log-edit.el (log-edit-strip-single-file-name): Add missing
9006         :safe, :group, and :version tags.
9008 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
9010         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9011         buffers.  (Bug#5477)
9013 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
9015         * files.el (delete-directory): Handle moving to trash without
9016         first doing recursion (Bug#5436).
9018 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
9020         * vc-hooks.el (vc-path): Mark as obsolete.
9022 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
9024         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9025         names too.
9027         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9028         for the short log.
9029         (vc-bzr-log-view-mode): Adjust regexp for the above change.
9031 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
9033         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9035         * vc-bzr.el (vc-bzr-revision-table): New function.
9037 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
9039         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9040         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
9042 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
9044         Remove support for adding --signoff on commit.
9045         Future support will use an incompatible generic mechanism.
9046         * vc-git.el (vc-git-add-signoff): Remove variable.
9047         (vc-git-toggle-signoff): Remove function.
9048         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9050         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9051         from xterm-set-background-mode.  Return t if the background mode
9052         was set.
9053         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9054         earlier, call it again in case the background mode has changed.
9056 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
9058         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9059         (Bug#3541).
9061 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
9063         * emacs-lisp/assoc.el (aelement): Doc fix.
9064         (aput, adelete, amake): Use lexical-let (Bug#5450).
9066 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
9068         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9069         is the same as subprogram call, not declaration.  (Bug#5435).
9071 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
9073         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9074         (tramp-smb-maybe-open-connection): Use it.
9076 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
9078         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
9080 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9082         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9083         just because we see "encoding: 8bit".
9084         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9086 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
9088         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9090 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
9092         * jka-compr.el (jka-compr-load): If load-file is not in
9093         load-history, try its file-truename version.  (bug#5447)
9095 2010-01-21  Alan Mackenzie  <acm@muc.de>
9097         Fix a situation where deletion of a cpp construct throws an error.
9098         * progmodes/cc-engine.el (c-invalidate-state-cache):
9099         Before invoking c-with-all-but-one-cpps-commented-out, check that the
9100         special cpp construct is still in the buffer.
9101         (c-parse-state): Record the special cpp with markers, not numbers.
9103 2010-01-21  Kenichi Handa  <handa@m17n.org>
9105         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9106         process last-command-event, as it is now decoded first (Bug#5380).
9108 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
9110         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9112 2010-01-20  Glenn Morris  <rgm@gnu.org>
9114         * indent.el (tab-always-indent): Fix custom-type.
9116 2010-01-19  Alan Mackenzie  <acm@muc.de>
9118         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9119         buffer throws "args out of range".
9120         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9121         playing the role of delimiter.
9123 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
9125         * progmodes/ada-mode.el: Fix bug#5400.
9126         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9127         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9128         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
9129         Improve comments in "is" portion.  Handle null procedure declaration.
9130         (ada-move-to-end): Improve doc string.
9132 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
9134         * ido.el (ido-cur-list): Initialize to nil.
9135         Remove obsolete information from commentary.
9136         (ido-choice-list): Initialize to nil.
9137         (ido-get-bufname): Reject minibuffers.
9138         (ido-make-buffer-list): If "default" is a nonexistent
9139         buffer, ignore it, as per the function's comment.
9140         (ido-kill-buffer-internal): New function.
9141         (ido-kill-buffer-at-head): Use it.
9142         (ido-visit-buffer): Likewise.
9144 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
9146         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9148 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
9150         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9151         Fix typos in chart titles.
9153         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9154         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9155         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9156         (describe-class, eieio-describe-generic, describe-generic):
9157         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9158         (eieio-speedbar-expand):
9159         * emulation/viper-cmd.el (viper-exec-form-in-vi)
9160         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9161         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9162         (viper-del-backward-char-in-replace, viper-backward-indent)
9163         (viper-brac-function, viper-register-to-point, viper-submit-report):
9164         * net/tramp.el (tramp-remote-coding-commands):
9165         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9166         Fix typos in docstrings.
9168 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
9170         * mail/sendmail.el (mail-yank-original): Set the mark if the
9171         specified function for yanking does not do it.
9173 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
9175         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
9177         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9178         resyncing a directory.
9180 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
9182         * progmodes/ada-mode.el: Fix bug#1920.
9183         (ada-ident-re): Delete ., allow multibyte characters.
9184         (ada-goto-label-re): New; matches goto labels.
9185         (ada-block-label-re): New; matches block labels.
9186         (ada-label-re): New; matches both.
9187         (ada-named-block-re): Deleted; callers changed to use
9188         `ada-block-label-re' instead.
9189         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9190         Use `ada-block-label-re'.
9191         (ada-indent-on-previous-lines): Improve handling of goto labels.
9192         (ada-get-indent-block-start): Special-case block label.
9193         (ada-get-indent-label): Split into `ada-indent-block-label' and
9194         `ada-indent-goto-label'.
9195         (ada-goto-stmt-start, ada-goto-next-non-ws):
9196         Optionally ignore goto labels.
9197         (ada-goto-next-word): Simplify.
9198         (ada-indent-newline-indent-conditional): Insert newline before
9199         trying to fix indentation; doc fix.
9201 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
9203         * calc/calc.el (calc-command-flags): Give it an initial value.
9205 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
9207         * files.el (minibuffer-with-setup-hook):
9208         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9209         (artist-key-draw-continously, artist-key-do-continously-continously)
9210         (artist-key-set-point-continously, artist-mouse-draw-continously):
9211         Fix typos in docstrings.
9213 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
9215         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9216         return t (Bug#3898).
9218 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
9220         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9221         can parse the output of the external commands (Bug#5279).
9223 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
9225         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9227 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
9229         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9231         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9233         * startup.el (command-line): Remove unused --icon-type arg.
9234         Handle --display arg, passing it to command-line-1 (Bug#5392).
9236 2010-01-16  Mario Lang  <mlang@delysid.org>
9238         * emacs-lisp/chart.el (chart-translate-namezone):
9239         * textmodes/artist.el (artist-compute-popup-menu-table):
9240         Remove duplicated words in doc-strings.
9242 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
9244         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9245         to mairix-search to suppress threading (Bug#5342).
9247 2010-01-15  Kenichi Handa  <handa@m17n.org>
9249         * international/mule-cmds.el (canonicalize-coding-system-name):
9250         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9252 2010-01-15  Glenn Morris  <rgm@gnu.org>
9254         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
9256         * wid-edit.el (widget-keymap): Doc fix.
9258         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9259         former seems to be more widely accepted by various svn versions.
9261 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9263         * find-cmd.el (find-constituents):
9264         * vc-arch.el (vc-arch-root):
9265         * window.el (window-body-height, pop-up-frames):
9266         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9267         * progmodes/ada-stmt.el (ada-if):
9268         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9269         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9270         (ispell-encoding8-command, ispell-aspell-supports-utf8)
9271         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9273         * progmodes/flymake.el (flymake-post-syntax-check):
9274         Fix typo in error message.
9276 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9278         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9279         which is always a string.  (Bug#5313)
9281 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9283         * progmodes/ada-xref.el (ada-default-prj-properties):
9284         Simplify previous change.
9286 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9288         * progmodes/ada-xref.el (ada-default-prj-properties):
9289         Default ada_project_path to $ADA_PROJECT_PATH.
9291 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9293         * progmodes/ada-mode.el (ada-create-keymap):
9294         Override `narrow-to-defun' with `ada-narrow-to-defun'.
9296 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9298         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9299         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9300         (ada-get-current-indent, ada-imenu-generic-expression)
9301         (ada-which-function): Check for it.
9303 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9305         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9306         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9308 2010-01-14  Glenn Morris  <rgm@gnu.org>
9310         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
9312 2010-01-14  Kenichi Handa  <handa@m17n.org>
9314         * composite.el (auto-composition-mode): Make it a buffer local
9315         variable (permanent-local).
9316         (auto-composition-function): Set the default value to
9317         auto-compose-chars.
9318         (auto-composition-mode): Make it a simple function, not a minor mode.
9319         (global-auto-composition-mode): Likewise.
9320         (turn-on-auto-composition-if-enabled): Delete it.
9322 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
9324         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9326 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
9328         * files.el (copy-directory): Compute target for recursive
9329         directories with identical names.  (Bug#5343)
9331 2010-01-12  Glenn Morris  <rgm@gnu.org>
9333         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9334         it to bug-gnu-emacs rather than emacs-pretest-bug.
9336 2010-01-11  Sam Steingold  <sds@gnu.org>
9338         * imenu.el (imenu-default-create-index-function): Detect infinite
9339         loops caused by imenu-prev-index-position-function.
9341 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9343         * htmlfontify.el (htmlfontify-load-rgb-file)
9344         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9345         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9346         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9347         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9348         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9349         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9350         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9351         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9352         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9353         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9354         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9355         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9356         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9357         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9358         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9359         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9360         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9361         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9362         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9363         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9364         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9365         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9366         backslash-quoting from parentheses, etc.
9368 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
9370         * progmodes/js.el: Autoload javascript-mode alias.
9372 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9374         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9375         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9376         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9377         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9378         Fix typos in docstrings.
9379         (ffap-url-regexp): Doc fix.
9380         (ffap-at-mouse): Fix typo in message.
9382 2010-01-11  Glenn Morris  <rgm@gnu.org>
9384         * version.el (emacs-copyright): Set copyright year to 2010.
9386 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9388         * format.el (format-annotate-function): Only set
9389         write-region-post-annotation-function after running to-fn so as not to
9390         affect nested write-region calls (bug#5273).
9392 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
9394         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9395         wisent/python.el.
9397 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9399         * man.el (Man-goto-section): Signal error if the section is not
9400         found (Bug#5317).
9402 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
9404         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9405         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
9407 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9409         * progmodes/compile.el: Don't treat compile-command as safe if
9410         compilation-read-command might be nil (Bug#4218).
9412 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
9414         * startup.el (command-line-1): Use orig-argi to check for ignored X and
9415         NS options.
9417 2010-01-08  Kenichi Handa  <handa@m17n.org>
9419         * international/fontset.el (build-default-fontset-data):
9420         Exclude characters in scripts kana, hangul, han, or cjk-misc.
9422 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
9424         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9425         to `create-file-buffer' as it expects, not just a buffer name.
9426         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9427         to help uniquify.  (Bug#3224)
9429 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
9431         * font-setting.el (font-setting-change-default-font): Use user-spec
9432         instead of name.
9434 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
9436         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9438 2010-01-05  Tom Tromey  <tromey@redhat.com>
9440         * progmodes/python.el (python-font-lock-keywords):
9441         Handle qualified decorators (Bug#881).
9443 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9445         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9446         in a lightweight checkout.
9448 2010-01-05  Kenichi Handa  <handa@m17n.org>
9450         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9452 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9454         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9456 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
9458         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9459         checkouts.  (Bug#618)
9460         (vc-bzr-log-view-mode): Also highlight the author.
9461         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9462         (vc-bzr-shelve-menu-map):
9463         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9464         (vc-bzr-shelve-apply): Make prompt more explicit.
9466 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
9468         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9469         They are valid characters in URL paths (rfc3986), and at least
9470         Firefox does not understand the encoded version (Bug#3166).
9472 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
9474         * progmodes/octave-mod.el (octave-end-keywords)
9475         (octave-block-begin-or-end-regexp, octave-block-match-alist):
9476         Add "end" keyword (Bug#3061).
9477         (octave-end-as-array-index-p): New function.
9478         (calculate-octave-indent): Use it.
9480 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9482         * bookmark.el: Consistently put the text property on the bookmark name.
9483         (bookmark-bmenu-marks-width): Bump back to 2, to include
9484         annotation marks.
9485         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9486         property on the bookmark name, instead of not putting it at all.
9487         (bookmark-bmenu-list): Fix where we put the text property.
9489 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9491         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9492         for showing buffer modified state (as added in the previous change).
9494 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9496         * bookmark.el: Show modified state of bookmark buffer more accurately.
9497         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9498         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9499         (with-buffer-modified-unmodified): New macro.
9500         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9501         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9502         Use new macro to preserve the buffer modified state.
9504 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9506         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9507         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9508         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9509         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9510         (bookmark-bmenu-rename, bookmark-bmenu-locate)
9511         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9512         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9514 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9516         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9517         Make the lines in the generated doc string shorter.  (Bug#4668)
9519 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
9521         * net/rcirc.el: Add follow-link binding (Bug#4738).
9523 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9525         * Makefile.in (bzr-update): Rename from cvs-update.
9526         (cvs-update): New target for backward compatibility.
9528         * makefile.w32-in (bzr-update): Rename from cvs-update.
9529         (cvs-update): New target for backward compatibility.
9531 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9533         * bookmark.el: Remove gratuitous gratitude.
9535 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9537         * bookmark.el (bookmark-bmenu-any-marks): New function.
9538         (bookmark-bmenu-save): Clear buffer modification if no marks.
9540 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9542         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9543         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9544         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9545         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9547         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9548         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9549         To: emacs-devel {_AT_} gnu.org
9550         Subject: bookmark.el bug report
9551         Date: Mon, 28 Dec 2009 14:19:16 +0800
9552         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9554 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9556         * bookmark.el: Improvements suggested by Drew Adams:
9557         (bookmark-bmenu-ensure-position): New name for
9558         `bookmark-bmenu-check-position'.  Just ensure the position,
9559         don't return any meaningful value.
9560         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9561         New constants.
9563 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
9565         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9566         (bookmark-yank-point, bookmark-bmenu-check-position):
9567         Fix typos in docstrings.
9568         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9569         (bookmark-name-from-full-record, bookmark-get-position)
9570         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9571         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9572         Remove useless quoting of parenthesis, etc. in docstrings.
9574         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9575         (ediff-append-custom-diff): Fix typo in error message.
9576         (ediff-meta-mark-equal-files): Fix typos in messages.
9578         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9580         * net/imap-hash.el (imap-hash-make): Doc fix.
9581         (imap-hash-test): Fix typo in error message; reflow docstring.
9582         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9583         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9584         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9585         Fix typos in docstrings.
9586         (imap-hash-open-connection): Fix typo in error message.
9588         * play/gomoku.el (gomoku): Fix typos in docstring.
9590         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9591         (gdb-jsonify-buffer): Fix typos in docstring.
9592         (gdb-goto-breakpoint): Fix typo in error message.
9593         ("Display Other Windows"): Fix typo in help message.
9594         (gdb-speedbar-expand-node): Fix typo in question.
9596         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9597         (idlwave-html-system-help-location, idlwave-html-help-location)
9598         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9599         (idlwave-help-browser-generic-args, idlwave-help-directory)
9600         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9601         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9602         (idlwave-online-help, idlwave-help-html-link)
9603         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9604         Fix typos in docstrings.
9605         (idlwave-help-with-source, idlwave-help-find-routine-definition):
9606         Reflow docstrings.
9607         (idlwave-help-assistant-start): Fix typo in error message.
9609         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9610         (octave-electric-space): Fix typos in docstrings.
9612 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
9614         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9616 2010-01-01  Juri Linkov  <juri@jurta.org>
9618         * comint.el (comint-input-ring-size): Make it a defcustom and
9619         increase the default to 500 (Bug#5148).
9621 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
9623         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9624         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9625         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9627 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
9629         Show working revision correctly for mercurial.
9630         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9631         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9633 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
9635         Declare some functions for the byte-compiler.
9636         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9637         (speedbar-timer-fn, speedbar-change-expand-button-char)
9638         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9640 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
9642         This changeset reverts GDB Graphical Interface to use annotations.
9643         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9645 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
9647         Make vc-dir work on subdirectories of the bzr root.
9648         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
9649         file names relative to it.
9650         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9651         relative directory to vc-bzr-after-dir-status.
9653 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
9655         * font-lock.el (font-lock-refresh-defaults): New function, which
9656         can be used to let font-lock react to external changes in
9657         variables like font-lock-defaults and keywords.
9658         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9660 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
9662         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
9664         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
9666 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
9668         Supersede color.diff settings in git log (bug#5211).
9670         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
9671         escape chars in its output when the user has color.diff set to `always'.
9672         This fix works on git 1.4.2 and newer (released on 2006-08-13).
9674 2009-12-26  Kevin Ryde  <user42@zip.com.au>
9676         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
9677         node.  Keep previous "Index" name to work with past coreutils too.
9679         * man.el (man): Revise docstring a bit to show -a and -l as
9680         examples.  Add -k description since support for it has otherwise
9681         been a secret.  (Further to bug#3717.)
9682         (Man-bgproc-sentinel): When "-k foo" produces no output show error
9683         "no matches" rather than "Can't find manpage", as the latter reads
9684         like -k was interpreted as a page name, which is not so.  (Bug#5431)
9686 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
9688         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
9689         switches.  Check also for //SUBDIRED// line.
9691 2009-12-25  Kenichi Handa  <handa@m17n.org>
9693         * language/indian.el (devanagari-composable-pattern): Fixed to
9694         handle ZWNJ and ZWJ.  Use it in composition-function-table for
9695         Devanagari.
9696         (malayalam-composable-pattern): Fix previous change.
9698 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9700         * ps-print.el (ps-face-attributes): It was not returning the
9701         attribute face for faces specified as string.  Reported by harven
9702         <harven@free.fr>.  (Bug#5254)
9703         (ps-print-version): New version 7.3.5.
9705 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
9707         * calendar/icalendar.el (icalendar--convert-tz-offset):
9708         Fix timezone names.
9709         (icalendar--convert-tz-offset): Fix the "last-day-problem".
9710         (icalendar--add-diary-entry): Remove the trailing blank that
9711         diary-make-entry inserts.
9713 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
9715         Make `file-expand-wildcards' work for remote files.
9717         * files.el (file-expand-wildcards): In case of remote files, check
9718         only local file name part for wildcards.  Provide feature 'files
9719         and subfeature 'remote-wildcards.  (Bug#5198)
9721         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
9722         if there is already an established connection.
9723         (tramp-advice-file-expand-wildcards): Remove it.
9725         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
9726         (tramp-advice-file-expand-wildcards): Move from tramp.el.
9727         Activate advice for older GNU Emacs versions.  (Bug#5237)
9729 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
9731         Some doc fixes (more needed).
9733         * find-cmd.el (find-constituents): Reflow docstring.
9734         (find-cmd, find-prune, find-command): Fix typos in docstrings.
9735         (find-generic): Doc fix.
9737 2009-12-17  Juri Linkov  <juri@jurta.org>
9739         Fix regression from 23.1 to allow multiple modes in Local Variables.
9741         * files.el (hack-local-variables-filter): While ignoring duplicates,
9742         don't take `mode' into account.
9743         (hack-local-variables-filter, hack-dir-local-variables):
9744         Don't remove duplicate `mode' from local-variables-alist (like `eval').
9746 2009-12-17  Juri Linkov  <juri@jurta.org>
9748         Make `dired-diff' safer.  (Bug#5225)
9750         * dired-aux.el (dired-diff): Signal an error when `file' equals to
9751         `current' or when `file' is a directory of the `current' file.
9753 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
9755         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9756         unconditionally preloaded files.
9758 2009-12-16  Juri Linkov  <juri@jurta.org>
9760         Revert to old 23.1 logic of using the file at the mark as default.
9761         * dired-aux.el (dired-diff): Use the file at the mark as default
9762         if it's not the same as the current file, and the target dir is
9763         the current dir or the mark is active.  Add the current file
9764         as the arg of `dired-dwim-target-defaults'.  Use the default file
9765         in the prompt.  (Bug#5225)
9767 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
9769         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9770         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9771         (tramp-check-for-regexp): Check also, when an echoing shell stops
9772         to echo sent commands.
9774 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
9776         * Makefile.in: Revert last change (Bug#5191).
9778 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
9780         * vc-hg.el (vc-hg-print-log): Fix argument order.
9781         (vc-hg-working-revision): Make sure the command is executed in a
9782         known environment so that we can parse the output.  (Bug#4417)
9784 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
9786         * progmodes/python.el (python-symbol-completions): Remove text
9787         properties from symbol string before calling python-send-receive.
9789 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
9791         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9792         when there are values for both file and line.  (Bug#5060)
9794 2009-12-14  Juri Linkov  <juri@jurta.org>
9796         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
9797         whitespace after the file name of the first line of unified format,
9798         because git-diff doesn't output whitespace and file modification time
9799         after the file name.
9801 2009-12-14  David Kastrup  <dak@gnu.org>
9803         * info.el (Info-hide-cookies-node): Before hiding a cookie,
9804         check if it already has the `display' property added by
9805         `Info-display-images-node', and not put the `invisible' property
9806         in this case.
9808 2009-12-13  Glenn Morris  <rgm@gnu.org>
9810         * mail/emacsbug.el (message-sort-headers): Define for compiler.
9811         (report-emacs-bug): In message-mode, sort manually before storing
9812         original report text.  (Bug#5178)
9813         Remove superfluous save-excursion.
9815 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
9817         * net/dbus.el (dbus-property-handler): Filter lambda forms out
9818         when responding to "GetAll" properties.
9820 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
9822         * simple.el (compose-mail): Remove mail-setup-with-from from
9823         customization checks.
9825 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
9827         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
9828         RAR archives created on Unix systems.
9830 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9832         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
9833         the varalias that was accidentally removed by the 2009-11-19 change
9834         (bug#5186).
9836 2009-12-12  Kenichi Handa  <handa@m17n.org>
9838         * language/indian.el (indian-compose-regexp): New function.
9839         (malayalam-composable-pattern): Fix the pattern.
9840         (composition-function-table): Set malayalam-composable-pattern for
9841         Malayalam characters.
9843 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
9845         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
9846         rather than down-mouse-1, based on follow-link conventions.
9848         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
9849         are compiled.
9851 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
9853         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
9854         (verilog-vmm-statement-re, verilog-ovm-statement-re)
9855         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
9856         (verilog-leap-to-head, verilog-backward-token):
9857         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
9859 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
9861         * progmodes/verilog-mode.el (verilog-auto-lineup)
9862         (verilog-nameable-item-re): Cleanup user-visible spelling and
9863         documentation errors.  One reported by Gary Delp.
9864         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
9865         (verilog-read-decls): Fix AUTOWIRE with types declared in a
9866         package, bug195.  Reported by Pierre-David Pfister.
9868 2009-12-11  Glenn Morris  <rgm@gnu.org>
9870         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
9872         * mail/emacsbug.el: No longer require sendmail.
9873         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
9874         (report-emacs-bug-orig-text): Doc fix.
9875         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
9876         New local variables, to adapt to different mail-user-agents.
9877         (report-emacs-bug): Fix test for a gnu.org address.
9878         Use overlays for emphasis, since font-lock defeats 'face property.
9879         Pretest bugs also end up at the newsgroup these days.
9880         Stop message-mode stripping text properties.
9881         Set and use the new buffer-local variables.
9882         (report-emacs-bug-hook): Add doc-string.
9883         Remove some unnecessary save-excursions and simplify.
9884         Use the appropriate hook and send-command.
9886         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
9887         capitalization of some menu entries.
9889 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9891         * whitespace.el (whitespace-display-char-on):
9892         Ensure `buffer-display-table' is unique when two or more windows are
9893         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
9894         New version 12.1.
9896 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
9898         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
9899         characters in the Attribute field.
9901 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
9903         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
9905 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9907         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
9908         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9909         Disregard autoload-excludes.
9910         (update-directory-autoloads): Obey autoload-excludes here instead.
9911         But don't store its contents in no-autoloads and remove entries that
9912         refer to excludes files.
9914 2009-12-10  Glenn Morris  <rgm@gnu.org>
9916         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
9917         (expand-mail-aliases): Define for compiler.
9919         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
9920         Define for compiler.
9922         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
9923         appropriate for the mail-user-agent in use.
9925 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
9927         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
9929 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
9931         Fix short log parsing and fontification.
9932         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
9933         Fix fontification for the [merge] label.
9935 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
9937         Drop some properties to avoid surprises (bug#5002).
9938         * htmlfontify.el (hfy-ignored-properties): New defcustom.
9939         (hfy-fontify-buffer): Use it.
9941 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9943         Minor cleanup.
9944         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
9945         Adjust all callers.
9946         (ffap-locate-file): Remove unused arg `dir-ok' and make other
9947         args compulsory.  Adjust callers.
9948         (ffap-gopher-at-point): Remove unused var `name'.
9950         Get rid of the ELCFILES abomination.
9951         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9952         (compile-elcfiles): New phony target.
9953         (compile-main): Compute ELCFILES dynamically.
9954         (compile-clean): New target to remove left-over elc files.
9955         (compile, all): Use it.
9957 2009-12-09  Kenichi Handa  <handa@etlken>
9959         * international/mule-diag.el: Require help-mode instead of help-fns.
9961 2009-12-09  Kenichi Handa  <handa@m17n.org>
9963         * international/mule-cmds.el (ucs-names): Supply sufficiently
9964         fine ranges instead of pre-calculating accurate ranges.
9965         Iterate with bigger gc-cons-threshold.
9967 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
9969         Add support for stashing a snapshot of the current tree.
9970         * vc-git.el (vc-git-stash-snapshot): New function.
9971         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
9973 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
9975         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
9976         instead of `(beginning|end)-of-line'.
9978 2009-12-08  Glenn Morris  <rgm@gnu.org>
9980         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
9982         * Makefile.in (ELCFILES): Regenerate.
9984 2009-12-07  Juri Linkov  <juri@jurta.org>
9986         Don't lazy-highlight the comint output in history Isearch mode.
9988         * comint.el (comint-history-isearch-search): Instead of
9989         `comint-line-beginning-position', use `comint-after-pmark-p'
9990         to check if point if before the process mark, and go to
9991         `process-mark' in this case.
9993 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9995         * textmodes/tex-mode.el (latex-complete)
9996         (latex-indent-or-complete): Remove.
9997         (latex-mode): Set completion-at-point-functions instead.
9999         Provide a standard completion command and hook it into TAB.
10000         * minibuffer.el (completion-at-point-functions): New var.
10001         (completion-at-point): New command.
10002         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10003         * progmodes/python.el (python-mode-map): Use completion-at-point.
10004         (python-completion-at-point): Rename from python-partial-symbol and
10005         adjust for use in completion-at-point-functions.
10006         (python-mode): Setup completion-at-point for Python completion.
10007         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10008         extracted from lisp-complete-symbol.
10009         (lisp-complete-symbol): Use it.
10010         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10011         setup completion-at-point for Elisp completion.
10012         (emacs-lisp-mode-map, lisp-interaction-mode-map):
10013         Use completion-at-point.
10014         * ielm.el (ielm-map): Use completion-at-point.
10015         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10016         * progmodes/sym-comp.el: Move to...
10017         * obsolete/sym-comp.el: Move from progmodes.
10019 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
10021         Prevent save-buffer in Rmail buffers from using the coding-system
10022         of the current message, and from clobbering the encoding mnemonics
10023         in the mode line (Bug#4623).
10025         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10026         flag, too.
10027         (rmail-message-encoding): New variable.
10028         (rmail-write-region-annotate): Record the encoding of the current
10029         message in rmail-message-encoding.
10030         (rmail-after-save-hook): New function, restores the encoding of
10031         the current message after the message collection is saved.
10033 2009-12-07  Juri Linkov  <juri@jurta.org>
10035         * progmodes/grep.el (grep-read-files): Use `completing-read'
10036         instead of `read-string'.  Set its `collection' arg to
10037         `read-file-name-internal'.  (Bug#4301)
10039 2009-12-07  Juri Linkov  <juri@jurta.org>
10041         Correctly restore original Isearch point.  (Bug#4994)
10043         * isearch.el (isearch-mode): Move `isearch-push-state' after
10044         `(run-hooks 'isearch-mode-hook)'.
10045         (isearch-cancel): When `isearch-push-state-function' is defined,
10046         let-bind `isearch-cmds' to the first state (the last element of
10047         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10048         function and restores the original point).  Otherwise, move point
10049         to `isearch-opoint'.
10051 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10053         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10054         chars that don't have names, so the table can be built much faster at
10055         run-time.
10057 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
10059         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10060         change.  Suggested by David Kastrup.
10062         * simple.el (compose-mail): Check for incompatibilities and warn.
10063         (compose-mail-user-agent-warnings): New option.
10065 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10067         Support showing a single log entry from vc-annotate.
10068         * vc.el (print-log): Add a new argument: START-REVISION.
10069         (vc-print-log-internal): Add a new optional argument and
10070         pass it to the backend.
10071         (vc-print-log, vc-print-root-log): Adjust callers.
10072         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10073         buffer already displays the requested log entry, use it.
10074         Otherwise display only the log entry in question.
10075         * vc-svn.el (vc-svn-print-log):
10076         * vc-mtn.el (vc-mtn-print-log):
10077         * vc-hg.el (vc-hg-state):
10078         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10079         (vc-git-show-log-entry): Return t on success.
10080         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10081         (vc-bzr-show-log-entry): Return t on success.
10082         * vc-rcs.el (vc-rcs-print-log):
10083         * vc-sccs.el (vc-sccs-print-log):
10084         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10086 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10088         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10089         Add menus to the meta mode.  (Bug#5043)
10091 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
10093         * ediff-init.el (ediff-event-key): Use event-to-character instead of
10094         event-key.
10096         * ediff.el (ediff-buffers-internal): Add unwind-protect.
10098 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
10100         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
10101         Berbain <raphael.berbain@gmail.com>.
10103         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
10104         characters.
10105         (tramp-initial-end-of-output): New defconst.
10106         (tramp-methods, tramp-find-shell)
10107         (tramp-open-connection-setup-interactive-shell)
10108         (tramp-maybe-open-connection): Use it.
10109         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10110         existence of `#' and `$'.
10112         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10113         `tramp-initial-end-of-output'.
10115 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10117         Get the background mode from the terminal for xterm, and set
10118         faces accordingly.
10119         * term/xterm.el (xterm-set-background-mode): New function.
10120         (terminal-init-xterm): Use it in case xterm supports background
10121         color queries.  Recompute faces after getting the background
10122         color.
10124 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
10126         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10127         number comment back on its own line, for easier parsing.
10129 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10131         Make it work for non-file buffers (bug#5102).
10132         * doc-view.el (doc-view-current-cache-dir):
10133         Use doc-view-buffer-file-name rather than buffer-file-name.
10134         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10136 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
10138         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10139         author field is too short.
10141 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
10143         * vc-git.el (vc-git-print-log): Handle a limit argument.
10144         Display the short log in graph form and with labels.
10145         (vc-git-log-view-mode): Handle labels.
10147         Make vc-revert change VC state from 'added to 'unregistered.
10148         * vc-git.el (vc-git-revert): Call git reset first.
10150 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10152         * net/newst-backend.el, net/newst-plainview.el:
10153         * net/newst-reader.el, net/newst-ticker.el:
10154         * net/newst-treeview.el, net/newsticker.el:
10155         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
10157 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10159         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10161         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10162         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
10163         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10164         Update annotation regexp.
10166         * simple.el (beginning-of-visual-line): Constrain to field
10167         boundaries (Bug#5106).
10169 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10171         * xml.el (xml-substitute-numeric-entities): Move
10172         newsticker--decode-numeric-entities in newst-backend.el to
10173         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10174         * net/newst-backend.el (newsticker--parse-generic-feed)
10175         (newsticker--parse-generic-items)
10176         (newsticker--decode-numeric-entities): Move
10177         newsticker--decode-numeric-entities in newst-backend.el to
10178         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10180 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
10182         * progmodes/js.el (js--js-not): Add null to the list of values.
10184 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10186         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10188 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10190         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10191         delimiter if it is at the end of the current line.
10192         (bibtex-generate-url-list): Fix docstring.
10194 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10196         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10197         minibuffer's content with itself.
10198         Fold the confirm-after-completion case into the `confirm' case.
10199         (completion-pcm-word-delimiters): Add : and / to the delimiters.
10201 2009-12-06  Kevin Ryde  <user42@zip.com.au>
10203         * ffap.el (ffap-rfc-path): Make this a defcustom since
10204         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
10206         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10207         manuals, similar to existing setup for help-mode.  (Bug#3913.)
10209 2009-12-05  Juri Linkov  <juri@jurta.org>
10211         Save and restore dired buffer's point positions too.  (Bug#4880)
10213         * dired.el (dired-save-positions): Return in the first element
10214         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10215         Doc fix.
10216         (dired-restore-positions): First restore buffer's position.
10217         While restoring window's positions, check if window still displays
10218         the original buffer.
10220 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
10222         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10223         if possible.
10225         * shell.el (shell): Require ansi-color (Bug#5113).
10227         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10229         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10231 2009-12-05  Alan Mackenzie  <acm@muc.de>
10233         * progmodes/cc-mode.el (c-before-hack-hook)
10234         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10235         `c-file-style' to work again.  This reversion restores the current
10236         software to its state in Emacs 23.1.  (Bug#4146)
10238 2009-12-05  Kevin Ryde  <user42@zip.com.au>
10240         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10241         comment-start-skip to comment-end-skip as comment (Bug#4781).
10243 2009-12-05  Juri Linkov  <juri@jurta.org>
10245         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10246         for virtual nodes.  (Bug#4147)
10247         (Info-find-node-2): Set `Info-current-node-virtual' to nil
10248         when moving from a virtual node.
10249         (Info-mode-menu): Add `Info-virtual-index' to the menu.
10250         (Info-mode): Add `Info-virtual-index' to the docstring.
10252 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10254         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10255         track of the buffer position of the end of a BibTeX entry as this
10256         position may change during reformatting.
10257         (bibtex-format-entry): Remove whitespace before processing
10258         numerical fields so that we recognize the latter properly.
10259         (bibtex-reformat): Do not use push which changes the global value
10260         of bibtex-entry-format.
10261         (bibtex-field-braces-alist, bibtex-field-strings-alist)
10262         (bibtex-field-re-init): Replace only space characters by regexp
10263         for whitespace.
10264         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10265         (bibtex-initialize): Also update bibtex-strings.
10266         (bibtex-kill-field): Preserve white space at end of entry.
10267         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10268         Update bibtex-reference-keys.
10270 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10272         * minibuffer.el (completion-pcm--merge-try): Also consider placing
10273         point after a star, if that's the only place where modifications can
10274         make progress.
10276 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
10278         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10279         in docstrings.
10281 2009-12-04  Juri Linkov  <juri@jurta.org>
10283         * proced.el (proced): Call `(proced-update t)' to update process
10284         information instead of only running proced-post-display-hook.
10285         (proced-send-signal): Add a leading space to the buffer name
10286         " *Marked Processes*" to make this buffer ephemeral.
10288 2009-12-04  Juri Linkov  <juri@jurta.org>
10290         * dired.el (dired-auto-revert-buffer): New defcustom.
10291         (dired-internal-noselect): Use it.
10293 2009-12-04  Juri Linkov  <juri@jurta.org>
10295         Change roles of modes and functions in image-mode.el (Bug#5062).
10297         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10298         in `auto-mode-alist'.
10299         (image-mode-previous-major-mode): New variable.
10300         (image-minor-mode-map): Rename from `image-mode-text-map'.
10301         (image-mode): Move graceful error-handling code from
10302         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
10303         (image-minor-mode): Remove all image-handling code.
10304         Replace `image-mode-text-map' with `image-minor-mode-map'.
10305         Check for `image-type' in mode-line format string.
10306         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10307         (image-mode-as-text): New function with most code from
10308         `image-mode-maybe'.
10309         (image-toggle-display-text): Move code that removes image
10310         properties from `image-toggle-display' to here.
10311         (image-toggle-display-image): New function with code that adds
10312         image properties copied from `image-toggle-display'.
10313         (image-toggle-display): Remove most code with leaving only code
10314         that toggles between `image-mode-as-text' and `image-mode'.
10316 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
10318         * net/newst-treeview.el
10319         (newsticker--treeview-list-highlight-start): Restored call to
10320         save-excursion: Selected item was stuck.
10321         (newsticker--treeview-list-select): New.
10322         (newsticker--treeview-item-show-text)
10323         (newsticker--treeview-item-show)
10324         (newsticker--treeview-item-update): Use new
10325         newsticker-treeview-item-mode.
10326         (newsticker-treeview-update): Keep current item.
10327         (newsticker-treeview-next-new-or-immortal-item): Doc change.
10328         (newsticker--treeview-first-feed): Doc change.
10329         (newsticker-treeview-list-menu)
10330         (newsticker-treeview-item-menu): Added menu entries.
10331         (newsticker-treeview-item-mode): New.
10333         * net/newst-backend.el (newsticker-customize): Delete other
10334         windows.
10336 2009-12-04  Sam Steingold  <sds@gnu.org>
10338         * log-view.el (log-view-mode-map): "q" calls quit-window,
10339         like in all the other non-self-insert buffers.
10341 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10343         Minor cleanup.
10344         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10345         key decoding rather than do it manually via last-input-event +
10346         ascii-character.
10347         (term-exec): Use delete-and-extract-region.
10348         (term-handle-ansi-terminal-messages): Remove unused var `end'.
10349         (term-process-pager): Remove unused var `i'.
10350         (term-dynamic-simple-complete): Make obsolete.
10351         (serial-update-config-menu): Remove unused vars `y' and `str'.
10352         (term-update-mode-line): Remove unused var `temp'.
10354 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10356         Limit the number of log entries displayed by default.
10357         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10358         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10359         using a prefix argument.
10361 2009-12-03  Glenn Morris  <rgm@gnu.org>
10363         * progmodes/idlwave.el (class): Restore still useful declaration.
10365 2009-12-03  Alan Mackenzie  <acm@muc.de>
10367         Enhance `c-parse-state' to run efficiently in "brace deserts".
10369         * progmodes/cc-mode.el (c-basic-common-init):
10370         Call c-state-cache-init.
10371         (c-neutralize-syntax-in-and-mark-CPP): Rename from
10372         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
10373         placing `category' properties value 'c-cpp-delimiter at its boundaries.
10375         * progmodes/cc-langs.el (c-before-font-lock-function):
10376         c-extend-and-neutralize-syntax-in-CPP has been renamed
10377         c-neutralize-syntax-in-and-mark-CPP.
10379         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10380         with `category' properties now, not `syntax-table' ones.
10382         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10383         enhanced (but slower) version of c-end-of-macro that won't land
10384         inside a literal or on another awkward character.
10385         (c-state-cache-too-far, c-state-cache-start)
10386         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10387         (c-state-nonlit-pos-cache-limit, c-state-point-min)
10388         (c-state-point-min-lit-type, c-state-point-min-lit-start)
10389         (c-state-min-scan-pos, c-state-brace-pair-desert)
10390         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10391         buffer local variables.
10392         (c-state-literal-at, c-state-lit-beg)
10393         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10394         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10395         (c-state-cache-top-paren, c-state-cache-after-top-paren)
10396         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10397         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10398         (c-renarrow-state-cache)
10399         (c-append-lower-brace-pair-to-state-cache)
10400         (c-state-push-any-brace-pair, c-append-to-state-cache)
10401         (c-remove-stale-state-cache)
10402         (c-remove-stale-state-cache-backwards, c-state-cache-init)
10403         (c-invalidate-state-cache-1, c-parse-state-1)
10404         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10405         (c-parse-state): Enhance and refactor.
10406         (c-debug-parse-state): Amend to deal with all the new variables.
10408         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10409         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10410         modify to use category text properties rather than syntax-table ones.
10411         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10412         to switch off/on the syntactic paren property of C++ template
10413         delimiters using the category property.
10414         (c-with-<->-as-parens-suppressed): Macro to invoke code with
10415         template delims suppressed.
10416         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10417         New constant/macros which apply category properties to the start
10418         and end of preprocessor constructs.
10419         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10420         "comment out" the syntactic value of characters in preprocessor
10421         constructs.
10422         (c-with-cpps-commented-out)
10423         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10424         with characters in all or all but one preprocessor constructs
10425         "commented out".
10427 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10429         * proced.el (proced-filter-alist): Use regexp-quote.
10431 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
10433         Cleanup.
10434         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10435         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
10436         arguments.  Expand `default-directory'.
10438         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10439         the benefit of returning an expanded localname.
10440         (tramp-tramp-file-p): Handle the case NAME is not a string.
10442 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10444         Add support for bzr shelve/unshelve.
10445         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10446         (vc-bzr-extra-menu-map): New variables.
10447         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10448         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10449         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10450         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10451         (vc-bzr-dir-extra-headers): Display shelves.
10453         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10455 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10457         * textmodes/bibtex.el (bibtex-complete-internal):
10458         Use completion-in-region.
10459         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10461 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10463         Support applying stashes.  Improve UI.
10464         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10465         (vc-git-stash-apply, vc-git-stash-pop)
10466         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10467         (vc-git-stash-menu): New functions.
10468         (vc-git-stash-menu-map): New variable.
10469         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10471 2009-12-03  Glenn Morris  <rgm@gnu.org>
10473         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10474         (vc-print-log-internal): Fix previous change.
10475         (vc-revert): Correct pluralization.
10477 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10479         * progmodes/make-mode.el (makefile-special-targets-list): No need for
10480         it to be an alist any more.
10481         (makefile-complete): Use completion-in-region.
10483         * progmodes/octave-mod.el (octave-complete-symbol):
10484         Use completion-in-region.
10486         Misc cleanup.
10487         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10488         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10489         (idlwave-complete-class): Don't quote lambda.
10490         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10491         (idlwave-mode-map): Move initialization into declaration.
10492         (idlwave-action-and-binding): Use backquotes.
10493         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10494         Simplify.
10495         (idlwave-is-pointer-dereference): Remove unused var `pos'.
10496         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10497         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10498         `parts', and `all-parts'.
10499         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10500         (idlwave-convert-xml-system-routine-info): Remove unused string
10501         `version-string'.
10502         (idlwave-display-user-catalog-widget): Use dolist.
10503         (idlwave-scanning-lib): Declare dynamically-scoped var.
10504         (idlwave-scan-library-catalogs): Remove unused var `flags'.
10505         (completion-highlight-first-word-only): Declare to silence bytecomp.
10506         (idlwave-popup-select): Tighten scope of `resp'.
10507         (idlwave-find-struct-tag): Remove unused var `beg'.
10508         (idlwave-after-load-rinfo-hook): Declare.
10509         (idlwave-sintern-class-info): Remove unused var `taglist'.
10510         (idlwave-find-class-definition): Remove unused var `list'.
10511         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10512         (idlwave-what-module-find-class): Remove unused var `classes'.
10514 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
10516         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10518 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10520         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10521         buffers visited.  Remove redundant current-buffer-saving.
10523 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10525         Use completion-in-buffer and remove uses of dynamic scoping.
10526         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10527         (pascal-buffer-to-use, pascal-flag): Don't declare.
10528         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10529         (pascal-get-completion-decl, pascal-keyword-completion):
10530         Add `pascal-str' argument, save-excursion,
10531         return the found completions, and don't filter with pascal-pred.
10532         (pascal-completion-cache): New var.
10533         (pascal-completion): Don't switch buffer any more (it was never
10534         necessary).  Don't save-excursion any more (it's done by the called
10535         subroutines).  Use a cache to avoid redundant computations.
10536         Use complete-with-action rather than pascal-completion-response and
10537         let it apply the predicate as well.
10538         (pascal-complete-word): Use completion-in-buffer when
10539         pascal-toggle-completions is nil.
10540         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10541         not used any more.
10542         (pascal-comp-defun): Don't change buffer any more.
10543         Use complete-with-action rather than pascal-completion-response and
10544         let it apply the predicate as well.
10545         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10546         when neded.
10548 2009-12-02  Kenichi Handa  <handa@m17n.org>
10550         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10551         shape for all Indic scripts.
10553 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10555         Use completion-in-buffer.
10556         * wid-edit.el (widget-field-text-end): New function.
10557         (widget-field-value-get): Use it.
10558         (widget-string-complete, widget-file-complete)
10559         (widget-color-complete): Use it and completion-in-region.
10560         (widget-complete): Don't narrow the buffer.
10562 2009-12-02  Glenn Morris  <rgm@gnu.org>
10564         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
10565         (rmail-select-summary): Use rmail-pop-to-buffer.
10566         * mail/rmailsum.el: Replace all pop-to-buffer calls with
10567         rmail-pop-to-buffer, to prevent horizontal splits.
10569         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10570         save-excursion with save-current-buffer.
10571         Widen before searching.  (Bug#5093)
10572         (diary-list-sexp-entries): Remove superfluous save-excursion.
10574 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
10576         * woman.el (woman-make-bufname): Handle man-pages with "." in the
10577         name.  (Bug#5038)
10579 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
10581         * ido.el (ido-file-internal): Handle filenames at point that do
10582         not have a directory part.  (Bug#5049)
10584 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
10586         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10587         (mpc-songs-jump-to, mpc-resume): Doc fixes.
10589 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
10591         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10592         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10593         any more.
10595 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10597         * comint.el (comint-insert-input): Ignore clicks to the right of
10598         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10600         * vc.el (vc-print-log-internal): Don't wait for the process to
10601         terminate before setting up the major mode.
10603         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10604         in case.
10606         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10607         the last element.
10609         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10611 2009-12-01  Glenn Morris  <rgm@gnu.org>
10613         * window.el (window--display-buffer-2): Fix previous changes.
10615 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
10617         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10619 2009-12-01  Glenn Morris  <rgm@gnu.org>
10621         * Makefile.in (ELCFILES): Add mpc.elc.
10623 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10625         * mpc.el: New file.
10627 2009-12-01  Glenn Morris  <rgm@gnu.org>
10629         * window.el (window-to-use): Define for compiler.
10631         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10632         consistent with others (no final period).
10634         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10635         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
10637 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
10639         Make vc-print-log buttons work.
10640         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10642 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
10644         * savehist.el (savehist-autosave-interval): Allow setting to nil
10645         through customize.  (Bug#5056)
10647 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
10649         Fix references to jit-lock properties.
10650         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10651         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10652         (perl-font-lock-special-syntactic-constructs):
10653         Quote jit-lock-defer-multiline property.
10655 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
10657         * vc-git.el (vc-git-registered): Call vc-git-root only once.
10659 2009-11-30  Juri Linkov  <juri@jurta.org>
10661         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
10662         value `buffer' of `multi-isearch-next-buffer-current-function'.
10663         Use `(current-buffer)' when `buffer' is nil.
10664         (multi-isearch-next-buffer-from-list): Don't fallback to
10665         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
10667 2009-11-30  Juri Linkov  <juri@jurta.org>
10669         * misearch.el (multi-isearch-read-buffers): Move canonicalization
10670         of buffers with `get-buffer' to `multi-isearch-buffers'.
10671         (multi-isearch-buffers, multi-isearch-buffers-regexp):
10672         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
10673         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
10674         FILES with `expand-file-name' converting relative file names
10675         to absolute.  Doc fix.  (Bug#4727)
10677 2009-11-30  Juri Linkov  <juri@jurta.org>
10679         * misearch.el (multi-isearch-read-buffers)
10680         (multi-isearch-read-matching-buffers): New functions.
10681         (multi-isearch-buffers, multi-isearch-buffers-regexp):
10682         Use them in the `interactive' spec.  Doc fix.
10683         (multi-isearch-read-files, multi-isearch-read-matching-files):
10684         New functions.
10685         (multi-isearch-files, multi-isearch-files-regexp):
10686         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
10688 2009-11-30  Juri Linkov  <juri@jurta.org>
10690         * doc-view.el (doc-view-continuous):
10691         Rename from `doc-view-continuous-mode'.
10692         (doc-view-menu): Move "Toggle display" to the top.
10693         Add submenu "Continuous" with radio buttons "Off"/"On"
10694         and "Save as Default".
10695         (doc-view-scroll-up-or-next-page)
10696         (doc-view-scroll-down-or-previous-page)
10697         (doc-view-next-line-or-next-page)
10698         (doc-view-previous-line-or-previous-page): Rename
10699         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
10701 2009-11-30  Juri Linkov  <juri@jurta.org>
10703         * comint.el (comint-mode-map): Rebind `M-r' from
10704         `comint-previous-matching-input' to
10705         `comint-history-isearch-backward-regexp'.
10706         Unbind `M-s' to allow global key binding `M-s'.
10707         Add menu items for `comint-history-isearch-backward' and
10708         `comint-history-isearch-backward-regexp'.  (Bug#3746)
10710 2009-11-30  Juri Linkov  <juri@jurta.org>
10712         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
10713         For def=recenter, replace `recenter' with `recenter-top-bottom'
10714         that is called with `this-command' and `last-command' let-bound
10715         to `recenter-top-bottom'.  When the last `def' was not `recenter',
10716         set `recenter-last-op' to nil.  (Bug#4981)
10718 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10720         Minor cleanup and simplification.
10721         * filecache.el (file-cache-add-directory)
10722         (file-cache-add-directory-recursively)
10723         (file-cache-add-from-file-cache-buffer)
10724         (file-cache-delete-file-regexp, file-cache-delete-directory)
10725         (file-cache-files-matching-internal, file-cache-display): Use dolist.
10726         (file-cache-temp-minibuffer-message): Delete function.
10727         (file-cache-minibuffer-complete): Use minibuffer-message instead.
10729         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
10730         Don't signal an error when bumping into EOB in tr, s, or y.
10732 2009-11-29  Juri Linkov  <juri@jurta.org>
10734         * startup.el (fancy-about-text): Fix wording of Guided Tour.
10735         (Bug#4960)
10737         * descr-text.el (describe-char-unidata-list): Use lowercase name
10738         for "Unicode name" like in other tags.
10740 2009-11-29  Juri Linkov  <juri@jurta.org>
10742         * ediff-util.el (ediff-minibuffer-with-setup-hook):
10743         New compatibility macro.
10744         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10746 2009-11-29  Juri Linkov  <juri@jurta.org>
10748         Add defcustom to define the cycling order of `recenter-top-bottom'.
10749         (Bug#4981)
10751         * window.el (recenter-last-op): Doc fix.
10752         (recenter-positions): New defcustom.
10753         (recenter-top-bottom): Rewrite to use `recenter-positions'.
10754         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10756 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
10758         Improve integration of Tramp and ange-ftp in eshell.
10760         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10761         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
10762         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
10764         * eshell/esh-util.el (top): Require also Tramp when compiling.
10765         (eshell-directory-files-and-attributes): Check for FTP remote
10766         connection.
10767         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10768         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10769         (eshell-file-attributes): Handle ".".  Return `entry'.
10771         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10772         (ange-ftp-directory-files-and-attributes)
10773         (ange-ftp-real-directory-files-and-attributes): New defuns.
10775         * net/tramp.el (tramp-maybe-open-connection): Open the remote
10776         shell with "exec" when possible.  This prevents trailing prompts
10777         in `start-file-process'.
10779 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10781         Try and remove assumptions about point-min==1.
10782         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10783         (rng-compute-mode-line-string): Show the validation percentage in
10784         terms of the narrowed text, not the widened text.
10785         (rng-do-some-validation): Don't catch internal errors when debugging.
10786         (rng-first-error): Simplify.
10787         (rng-after-change-function): Remove work around.  AFAIK the bug has
10788         been fixed a while ago.
10790         * image-mode.el (image-minor-mode): Exit more gracefully when the image
10791         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10793         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
10795         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
10796         `cd' doesn't always do it for us (bug#5067).
10798         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
10799         on 2009-10-25 as part of some other change (bug#5067).
10801 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10803         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
10804         `suspicious'.
10805         (byte-compile-warnings): Use byte-compile-warning-types.
10806         (byte-compile-save-excursion): Warn about use of set-buffer right
10807         after save-excursion.
10809         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
10810         the excursion as well.
10812 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
10814         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
10815         providing a Tramp related implementation of "su" and "sudo".
10816         (eshell-unix-initialize): Add "su" and "sudo".
10818 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
10820         * net/socks.el (socks-send-command): Convert binary request to
10821         unibyte before sending.  This fixes mishandling of some port
10822         numbers such as 129.
10824 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10826         * help.el (describe-bindings-internal): Remove `interactive'.
10828         * man.el (Man-completion-table): Trim a terminating "(".
10829         Remove the space between name page a section.
10830         Add the command's description on the `help-echo' property.
10831         Remove `process-connection-type' binding since it's unused by
10832         call-process.
10833         Provide completion for the "<section> <name>" format as well.
10834         (Man-default-man-entry): Remove spurious var shadowing the argument.
10836 2009-11-26  Kevin Ryde  <user42@zip.com.au>
10838         * log-view.el: Add "Keywords: tools", since its other keywords
10839         aren't in finder-known-keywords, and following vc.el.
10841         * sha1.el (sha1-string-external): default-directory "/" in case
10842         otherwise non-existent.  process-connection-type pipe for touch of
10843         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
10845 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10847         Misc coding convention cleanups.
10848         * htmlfontify.el (hfy-init-kludge-hook): Rename from
10849         hfy-init-kludge-hooks.
10850         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
10851         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
10852         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
10853         and push.
10854         (hfy-slant, hfy-weight): Use tables rather than code.
10855         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
10856         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
10857         (hfy-face-attr-for-class): Initialize `face-spec' directly.
10858         (hfy-face-to-css): Remove `nconc' with single arg.
10859         (hfy-p-to-face-lennart): Use `or'.
10860         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
10861         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
10862         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
10863         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
10864         (hfy-force-fontification): Use run-hooks.
10866 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
10868         Various minor fixes.
10869         * htmlfontify.el (hfy-default-header): Add toggle_invis since
10870         Javascript belongs in the header, not the body.
10871         (hfy-javascript): Remove.
10872         (hfy-fontify-buffer): Don't insert it any more.
10873         (hfy-face-at): Handle (face0 face1 face2) style face properties.
10874         Fix bug in invis handling when there were no invis props in a chunk.
10876 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10878         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
10880 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
10882         * finder.el (finder-mode-map): Add a menu.
10884 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
10886         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
10887         "unsigned" structs.
10889         (verilog-leap-to-head, verilog-backward-token): Handle "disable
10890         fork" statement better.
10892 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
10894         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
10895         (verilog-delete-auto, verilog-delete-empty-auto-pair)
10896         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
10897         Reported by Clay Douglass.
10899         (verilog-auto-inst, verilog-auto-star-safe)
10900         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
10901         Fix removing "// Interfaces" when saving .* expansions.  Reported by
10902         Pierre-David Pfister.
10904 2009-11-26  Glenn Morris  <rgm@gnu.org>
10906         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
10907         the scope.
10909 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
10911         * vc-annotate.el (vc-annotate-revision-previous-to-line):
10912         Really use previous revision.
10914 2009-11-25  Kevin Ryde  <user42@zip.com.au>
10916         * man.el (Man-completion-table): default-directory "/" in case
10917         doesn't otherwise exist.  process-environment COLUMNS=999 so as
10918         not to truncate long names.  process-connection-type pipe to avoid
10919         any chance of hitting the pseudo-tty TIOCGWINSZ.
10920         (man): completion-ignore-case t for friendliness and since man
10921         itself is case-insensitive on the command line.
10922         Further to Bug#3717.
10924         * arc-mode.el: Add "Keywords: files", so the details in its
10925         commentary can be reached from finder-by-keyword.
10926         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
10927         editing mode, but it's comms related and sgml-mode.el has "comm"
10928         on that basis too.
10929         * textmodes/bibtex-style.el: Add "Keywords: tex".
10930         * international/isearch-x.el, international/ja-dic-cnv.el:
10931         * international/ja-dic-utl.el, international/kkc.el:
10932         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
10934 2009-11-25  Juri Linkov  <juri@jurta.org>
10936         * man.el (Man-completion-table): Modify regexp to include
10937         section names to completion strings.  (Bug#3717)
10939 2009-11-25  Juri Linkov  <juri@jurta.org>
10941         Search recursively in gzipped files.  (Bug#4982)
10943         * progmodes/grep.el (grep-highlight-matches): Add new options
10944         `always' and `auto'.  Doc fix.
10945         (grep-process-setup): Check `grep-highlight-matches' for
10946         `auto-detect' to determine the need to compute grep defaults.
10947         Move Windows/DOS specific --colors settings handling
10948         to `grep-compute-defaults'.  Check `grep-highlight-matches'
10949         to get the value of "--color=".
10950         (grep-compute-defaults): Compute `grep-highlight-matches' when it
10951         has the value `auto-detect'.  Move Windows/DOS specific settings
10952         from `grep-process-setup'.
10953         (zrgrep): New command with alias `rzgrep'.
10955 2009-11-25  Juri Linkov  <juri@jurta.org>
10957         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
10958         to nil instead of switching off view-mode.  (Bug#4896)
10960 2009-11-25  Juri Linkov  <juri@jurta.org>
10962         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
10964         * mwheel.el (mwheel-scroll-up-function)
10965         (mwheel-scroll-down-function): New defvars.
10966         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
10967         `scroll-up', and `mwheel-scroll-down-function' instead of
10968         `scroll-down'.
10970         * doc-view.el (doc-view-scroll-up-or-next-page)
10971         (doc-view-scroll-down-or-previous-page): Add optional ARG.
10972         Use this ARG in the call to image-scroll-up/image-scroll-down.
10973         Change `interactive' spec to "P".  Goto next/previous page only
10974         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
10975         SPC/DEL case).  Doc fix.
10976         (doc-view-next-line-or-next-page)
10977         (doc-view-previous-line-or-previous-page): Rename arg to ARG
10978         for consistency.
10979         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
10980         `doc-view-scroll-up-or-next-page', and buffer-local
10981         `mwheel-scroll-down-function' to
10982         `doc-view-scroll-down-or-previous-page'.
10984 2009-11-25  Juri Linkov  <juri@jurta.org>
10986         Provide additional default values (directories at other Dired
10987         windows) via M-n in the minibuffer of some Dired commands.
10989         * dired-aux.el (dired-diff, dired-compare-directories)
10990         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
10991         `minibuffer-default' in `minibuffer-with-setup-hook'.
10992         (dired-dwim-target-directory): Find a window that displays Dired
10993         buffer instead of failing when the next window is not Dired.
10994         Use `get-window-with-predicate' to find for the next Dired window.
10995         (dired-dwim-target-defaults): New function.
10997         * ediff-util.el (ediff-read-file-name):
10998         Use `dired-dwim-target-defaults' to set `minibuffer-default'
10999         in `minibuffer-with-setup-hook'.
11001 2009-11-25  Juri Linkov  <juri@jurta.org>
11003         Provide additional default values (file name at point or at the
11004         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
11006         * minibuffer.el (read-file-name-defaults): New function.
11007         (read-file-name): Reset `minibuffer-default' to nil when
11008         it duplicates initial input `insdef'.
11009         Bind `minibuffer-default-add-function' to lambda that
11010         calls `read-file-name-defaults' in `minibuffer-selected-window'.
11011         (minibuffer-insert-file-name-at-point): New command.
11013         * files.el (file-name-at-point-functions): New defcustom.
11014         (find-file-default): Remove defvar.
11015         (find-file-read-args): Don't use `find-file-default'.
11016         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11017         to `read-file-name'.
11018         (find-file-literally): Use `read-file-name' with
11019         `confirm-nonexistent-file-or-buffer'.
11021         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11023         * dired.el (dired-read-dir-and-switches):
11024         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11025         to `read-file-name'.
11026         (dired-file-name-at-point): New function.
11027         (dired-mode): Add hook `dired-file-name-at-point' to
11028         `file-name-at-point-functions'.
11030 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11032         Really make the *Completions* window soft-dedicated (bug#5030).
11033         * window.el (window--display-buffer-2): Add `dedicated' argument.
11034         (display-buffer): Pass it when needed so the dedicated flag is set
11035         after calling set-window-buffer, which would otherwise reset it.
11037 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11039         * progmodes/meta-mode.el (meta-complete-symbol):
11040         * progmodes/etags.el (complete-tag):
11041         * mail/mailabbrev.el (mail-abbrev-complete-alias):
11042         Use completion-in-region.
11044         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11045         (dabbrev-completion): Use completion-in-region.
11046         (dabbrev--abbrev-at-point): Simplify regexp.
11048         * abbrev.el (abbrev--before-point): Use word-motion functions
11049         if :regexp is not specified (bug#5031).
11051         * subr.el (string-prefix-p): New function.
11053         * man.el (Man-completion-cache): New var.
11054         (Man-completion-table): Use it.
11056         * vc.el (vc-print-log-internal): Make `limit' optional for better
11057         compatibility (e.g. with vc-annotate.el).
11059 2009-11-24  Kevin Ryde  <user42@zip.com.au>
11061         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11062         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
11064         * emacs-lisp/elint.el (elint-add-required-env): Better error message
11065         when .el source file not found or other error.
11067 2009-11-24  Markus Triska  <markus.triska@gmx.at>
11069         * linum.el (linum-update-window): Ignore intangible (bug#4996).
11071 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11073         Handle the [back] button properly (bug#4979).
11074         * descr-text.el (describe-text-properties): Add a `buffer' argument.
11075         Use help-setup-xref, help-buffer, and with-help-window.
11076         (describe-char): Add `buffer' argument.
11077         Pass proper command to help-setup-xref.  Don't meddle with
11078         help-xref-stack-item directly.
11079         (describe-text-category): Use with-help-window and help-buffer.
11081         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11082         for the displayed buffer (bug#4887).
11084         * man.el (Man-completion-table): New function.
11085         (man): Use it.
11087 2009-11-24  David Reitter  <david.reitter@gmail.com>
11089         * vc-git.el (vc-git-registered): Use checkout directory (where
11090         .git is) rather than the file's directory and a relative path spec
11091         to work around a bug in git.
11093 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
11095         Improve handling of processes on remote hosts.
11097         * eshell/esh-util.el (eshell-path-env): New defvar.
11098         (eshell-parse-colon-path): New defun.
11099         (eshell-file-attributes): Use `eshell-parse-colon-path'.
11101         * eshell/esh-ext.el (eshell-search-path):
11102         Use `eshell-parse-colon-path'.
11103         (eshell-remote-command): Remove argument HANDLER.
11104         (eshell-external-command): Check for FTP remote connection.
11106         * eshell/esh-proc.el (eshell-gather-process-output):
11107         Use `file-truename', in order to start also symlinked files.
11108         Apply `start-file-process' instead of `start-process'.
11109         Shorten `command' to the local file name part.
11111         * eshell/em-cmpl.el (eshell-complete-commands-list):
11112         Use `eshell-parse-colon-path'.
11114         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11116         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
11117         to `eshell-directory-change-hook'.
11119 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
11121         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11122         because it could be enabled automatically if view-read-only is non-nil.
11124 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
11126         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11127         made on 2009-11-22.
11129 2009-11-24  Glenn Morris  <rgm@gnu.org>
11131         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11132         deleted variable bookmark-bmenu-bookmark-column.
11134 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11136         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11138 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11140         * net/browse-url.el (browse-url-filename-alist): On Windows, add
11141         two slashes to the "file:" prefix.
11142         (browse-url-file-url): De-munge Cygwin filenames before passing
11143         them to Windows browser.
11144         (browse-url-default-windows-browser): Use call-process.
11146 2009-11-23  Juri Linkov  <juri@jurta.org>
11148         Implement DocView Continuous mode.  (Bug#4896)
11149         * doc-view.el (doc-view-continuous-mode): New defcustom.
11150         (doc-view-mode-map): Bind C-n/<down> to
11151         `doc-view-next-line-or-next-page', C-p/<up> to
11152         `doc-view-previous-line-or-previous-page'.
11153         (doc-view-next-line-or-next-page)
11154         (doc-view-previous-line-or-previous-page): New commands.
11156 2009-11-23  Juri Linkov  <juri@jurta.org>
11158         Implement Isearch in comint input history.  (Bug#3746)
11159         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11160         `isearch-mode-hook'.
11161         (comint-history-isearch): New defcustom.
11162         (comint-history-isearch-backward)
11163         (comint-history-isearch-backward-regexp): New commands.
11164         (comint-history-isearch-message-overlay): New buffer-local variable.
11165         (comint-history-isearch-setup, comint-history-isearch-end)
11166         (comint-goto-input, comint-history-isearch-search)
11167         (comint-history-isearch-message, comint-history-isearch-wrap)
11168         (comint-history-isearch-push-state)
11169         (comint-history-isearch-pop-state): New functions.
11171 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
11173         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11174         return.
11175         (tramp-handle-make-symbolic-link)
11176         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11177         Quote file names.
11178         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11179         (tramp-handle-process-file): Use it.
11181 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11183         * window.el (move-to-window-line-last-op): Remove.
11184         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11186 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11188         Make M-r mirror the new cycling behavior of C-l.
11189         * window.el (move-to-window-line-last-op): New var.
11190         (move-to-window-line-top-bottom): New command.
11191         (global-map): Bind M-r move-to-window-line-top-bottom.
11193 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
11195         * dired-x.el (dired-guess-shell-alist-default):
11196         Support xz format.  (Bug#4953)
11198 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
11200         * emulation/viper-cmd.el: Use viper-last-command-char instead of
11201         last-command-char/last-command-event.
11202         (viper-prefix-arg-value): Do correct conversion of event-char for
11203         XEmacs.
11205         * emulation/viper-util.el, emulation/viper.el:
11206         Use viper-last-command-char instead of
11207         last-command-char/last-command-event.
11209         * ediff-init.el, ediff-mult.el, ediff-util.el:
11210         Replace last-command-char and last-command-event
11211         with (ediff-last-command-char) everywhere.
11213         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11214         created in fundamental mode.
11216         * ediff.el (ediff-version): Revert the change of interactive-p to
11217         called-interactively-p.
11219 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
11221         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11222         generation from word-movement command names.
11224 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
11226         * cus-start.el (all): Add native condition for font-use-system-font.
11228 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
11230         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11231         Correct the patch from 2009-11-18.  (Bug#3910)
11233 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
11235         * progmodes/subword.el: Rename from lisp/subword.el.
11237         * subword.el: Rename to progmodes/subword.el.
11239         * Makefile.in (ELCFILES): Adapt to subword.el move.
11241 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11242             Stefan Monnier  <monnier@iro.umontreal.ca>
11244         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11245         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11246         (bookmark-bmenu-show-filenames): Use push.
11247         (bookmark-bmenu-hide-filenames): Use local var instead of
11248         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
11249         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11250         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11251         filenames now that the bookmark names are always available.
11253 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11255         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11256         (bookmark-search-pattern): Move and leave unbound.
11257         (bookmark-bmenu-mode-map): Change binding.
11258         (bookmark-read-search-input): Simplify.
11259         Don't use text-char-description.  Don't error on non-char events.
11260         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11261         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11262         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11263         Use a local var for the timer.
11264         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11265         (i.e. bookmark-bmenu-search).
11267 2009-11-21  Glenn Morris  <rgm@gnu.org>
11269         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
11271 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11273         * net/browse-url.el (browse-url-default-windows-browser):
11274         Use cygstart for cygwin.
11276 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
11278         * bookmark.el: Formatting and doc fixes only:
11279         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11280         (bookmark-bmenu-search): Wrap to fit within 80 columns.
11281         Minor grammar and punctuation fixes in doc string.
11282         (bookmark-read-search-input): Adjust to fit within 80 columns.
11284 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11286         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11287         (c-backward-into-nomenclature): Adapt to subword renaming.
11289         * subword.el (subword-forward, subword-backward, subword-mark)
11290         (subword-kill, subword-backward-kill, subword-transpose)
11291         (subword-downcase, subword-upcase, subword-capitalize)
11292         (subword-forward-internal, subword-backward-internal):
11293         Rename from forward-subword, backward-subword, mark-subword,
11294         kill-subword, backward-kill-subword, transpose-subwords,
11295         downcase-subword, upcase-subword, capitalize-subword,
11296         forward-subword-internal, backward-subword-internal.
11298 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11300         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11301         New options.
11302         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11303         New vars.
11304         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11305         (bookmark-bmenu-filter-alist-by-regexp)
11306         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11307         (bookmark-bmenu-search): New command.
11308         (bookmark-bmenu-mode-map): Bind it.
11310 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11312         * progmodes/cc-cmds.el: declare-functioned forward-subword and
11313         backward-subword to quit the byte-compiler.
11315         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11317         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11319         * progmodes/cc-cmds.el (c-update-modeline)
11320         (c-forward-into-nomenclature, c-backward-into-nomenclature):
11321         Refer to subword.el functions instead of cc-subword.el.
11323         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11324         subword.el functions instead of cc-subword.el.
11326         * progmodes/cc-subword.el: Rename to subword.el.
11327         * subword.el: Rename from progmodes/cc-subword.el.
11328         (subword-mode-map): Rename from c-subword-mode-map.
11329         (subword-mode): Rename from c-subword-mode.
11330         (global-subword-mode): New global minor mode.
11331         (forward-subword): Rename from c-forward-subword.
11332         (backward-subword): Rename from c-backward-subword.
11333         (mark-subword): Rename from c-mark-subword.
11334         (kill-subword): Rename from c-kill-subword.
11335         (backward-kill-subword): Rename from c-backward-kill-subword.
11336         (transpose-subwords): Rename from c-tranpose-subword.
11337         (downcase-subword): Rename from c-downcase-subword.
11338         (capitalize-subword): Rename from c-capitalize-subword.
11339         (forward-subword-internal): Rename from c-forward-subword-internal.
11340         (backward-subword-internal): Rename from c-backward-subword-internal.
11342 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
11344         * vc.el (vc-deduce-fileset): Allow non-state changing operations
11345         from a dired buffer.
11346         (vc-dired-deduce-fileset): New function.
11347         (vc-root-diff, vc-print-root-log): Use it.
11349         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11350         nil LIMIT argument to vc-print-log-internal.
11352 2009-11-20  Glenn Morris  <rgm@gnu.org>
11354         * Makefile.in (ELCFILES): Regenerate.
11356 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
11358         * calc/calc.el (calc-set-mode-line):
11359         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11360         (math-format-number): Rename `math-format-complement-signed' to
11361         `math-format-twos-complement'.
11363         * calc/calc-bin.el (math-format-twos-complement): Rename from
11364         math-format-complement-signed.
11365         (calc-radix): Rename `calc-complement-signed-mode' to
11366         `calc-twos-complement-mode'.
11367         (calc-octal-radix, calc-hex-radix): Add an argument for
11368         two's complement.
11370         * calc/calc-embed.el (calc-embedded-mode-vars):
11371         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11373         * calc/calc-ext.el (calc-init-extensions):
11374         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11375         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11377         * calc/calc-units.el (math-build-units-table-buffer):
11378         Let `calc-twos-complement-mode' be nil.
11380         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11381         entries.
11383         * calc/calc-vec.el (calcFunc-vunpack):
11384         * calc/calc-aent.el (calc-do-calc-eval):
11385         * calc/calc-forms.el (math-format-date):
11386         * calc/calc-graph.el (calc-graph-plot):
11387         * calc/calc-math.el (math-use-emacs-fn):
11388         * calc/calccomp.el (math-compose-expr):
11389         Let `calc-twos-complement-mode' be nil.
11391 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11393         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11394         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
11395         * minibuffer.el (completion-in-region-functions): New hook.
11396         (completion-in-region): New function.
11397         * emacs-lisp/lisp.el (lisp-complete-symbol):
11398         * pcomplete.el (pcomplete-std-complete): Use it.
11400 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11402         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11403         (latex-complete-alist): New vars.
11404         (latex-string-prefix-p, latex-complete-bibtex-keys)
11405         (latex-complete-envnames, latex-complete-refkeys)
11406         (latex-complete-data): New functions.
11407         (latex-complete, latex-indent-or-complete): New commands.
11409         * window.el (display-buffer-mark-dedicated): New var.
11410         (display-buffer): Obey it.
11411         * minibuffer.el (minibuffer-completion-help): Use it.
11413         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11415         * filecache.el (file-cache-add-file): Use push and cons.
11416         (file-cache-delete-file-regexp): Use push.
11417         (file-cache-complete): Use completion-in-region.
11419         * simple.el (with-wrapper-hook): Fix thinko.
11421         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11422         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11423         Use with-current-buffer and string-to-number.
11424         (hfy-fallback-colour-values): Use assoc-string.
11425         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11426         (hfy-face-at): Remove unused var `found-face'.
11427         (hfy-compile-stylesheet): Remove unused var `css'.
11428         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11429         and `orig-buffer'.
11430         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11431         Use with-current-buffer.
11432         (hfy-text-p): Use expand-file-name and fewer setq.
11434 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
11436         * htmlfontify.el, hfy-cmap.el: New files.
11438 2009-11-19  Juri Linkov  <juri@jurta.org>
11440         * minibuffer.el (completions-format): New defcustom.
11441         (completion--insert-strings): Implement vertical format.
11443         * simple.el (switch-to-completions): Move point to the first
11444         completion when point was at the beginning of the buffer.
11446 2009-11-19  Juri Linkov  <juri@jurta.org>
11448         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
11450         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11452 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
11454         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11455         (mail-signature): Change default to t.
11456         (mail-from-style): Deprecate `system-default' value.
11457         (mail-insert-from-field): For default value of mail-from-style,
11458         default to `angles' unless `angles' needs quoting and `parens'
11459         does not.
11460         (mail-citation-prefix-regexp): Use citation regexp from
11461         message-mode.
11463 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
11465         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11466         Set variables for computing the prompt for reading password.
11468 2009-11-19  Glenn Morris  <rgm@gnu.org>
11470         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
11472         * textmodes/flyspell.el (sgml-lexical-context): Declare.
11474         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11475         (newsticker-treeview-listwindow-height): Fix custom type.
11477 2009-11-19  Kenichi Handa  <handa@m17n.org>
11479         * descr-text.el (describe-char-padded-string): Compose with TAB
11480         only if there's a font for CH.
11481         (describe-char): Fix the condition for detecting a trivial composition.
11483 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
11485         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11486         more accurate version of the regexp.  (Bug#3910)
11488 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11490         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11492 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
11494         * font-setting.el (font-use-system-font): Declare for byte-compiler.
11495         (font-setting-change-default-font): Fix typo in docstring.
11497 2009-11-18  Alan Mackenzie  <acm@muc.de>
11499         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11501 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11503         * font-setting.el (font-use-system-font): Move ...
11505         * cus-start.el (all): ... to here.
11507 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
11509         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11510         Don't set `ad-return-value' if `ad-do-it' doesn't.
11512         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11513         modification time.
11515 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11517         * menu-bar.el: Put "Use system font" in Option-menu.
11518         (menu-bar-options-save): Add font-use-system-font.
11520         * loadup.el: If feature system-font-setting or font-render-setting is
11521         there, load font-setting.
11523         * Makefile.in (ELCFILES): Add font-settings.el.
11524         * font-setting.el: New file.
11526 2009-11-17  Glenn Morris  <rgm@gnu.org>
11528         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11530         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11531         Preserve point in the list buffer.  (Bug#4939)
11532         Use point-at-eol.
11533         (newsticker--treeview-list-update-highlight)
11534         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11536 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11538         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11539         Remove.
11541         * calc/calc-ext.el (calc-init-extensions): Remove references to
11542         symclip.
11544         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11546         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11547         * calc/calc-help.el (calc-b-prefix-help): Remove references to
11548         `calc-symclip'.
11550 2009-11-16  Kevin Ryde  <user42@zip.com.au>
11552         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11553         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11555         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11556         (lm-keywords-list): Allow comma-only separator like "foo,bar".
11557         Ignore trailing spaces by omit-nulls to split-string (fixing
11558         regression from Emacs 21 due to the incompatible split-string
11559         change).  (Bug #4928.)
11561 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
11563         * vc.el (vc-log-show-limit): Default to 2000.
11564         (vc-print-log-internal): Insert buttons to request more entries
11565         when limiting the output.
11567         * vc-sccs.el (vc-sccs-print-log):
11568         * vc-rcs.el (vc-rcs-print-log):
11569         * vc-cvs.el (vc-cvs-print-log):
11570         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11571         LIMIT is non-nil.
11573 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
11575         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11576         error when `tramp-gvfs-dbus-event-vector' is set.
11577         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11579 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11581         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11583 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
11585         * net/dbus.el (dbus-unregister-service): New defun.
11586         (dbus-register-property): Register the handlers of
11587         "org.freedesktop.DBus.Properties" for SERVICE.
11588         (dbus-property-handler): Fix docstring.
11590 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11592         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11593         Quote doc string reference in defvaralias as it is not in special form.
11594         (byte-compile-output-docform): Doc fix.
11596 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11598         * calc/calc.el (math-2-word-size, math-half-2-word-size)
11599         (calc-complement-signed-mode): New variables.
11600         (calc-set-mode-line): Add indicator for twos-complements.
11601         (math-format-number): Format twos-complement notation.
11603         * calc/calc-bin.el (calc-word-size): Reset the variables
11604         `math-2-word-size' and `math-half-2-word-size'.
11605         (math-format-complement-signed, math-symclip, calcFunc-symclip)
11606         (calc-symclip): New functions.
11608         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11610         * calc/calc-embed.el (calc-embedded-mode-vars):
11611         Add `calc-complement-signed-mode' to the list of modes.
11613         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11614         (calc-b-oper-keys): Add `calc-symclip' to list.
11616         * calc/calc-ext.el (math-read-number-fancy): Read complement
11617         signed numbers.
11618         (calc-init-extensions): Add binding for `calc-symclip'.
11619         Add autoload for `calcFunc-symclip' and `calc-symclip'.
11621         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11622         `calc-symclip'.
11623         (calc-modes-menu): Add item for twos complement mode.
11625         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11627 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
11629         * register.el (jump-to-register, insert-register): Handle Semantic
11630         tags.  From commented-out advice in semantic/senator.el.
11632 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
11634         * vc.el (vc-log-show-limit): New variable.
11635         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
11636         when using a prefix argument.
11637         (vc-print-log-internal): Add new argument LIMIT.
11639         * vc-svn.el (vc-svn-print-log):
11640         * vc-mtn.el (vc-mtn-print-log):
11641         * vc-hg.el (vc-hg-print-log):
11642         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11643         pass it to the log command when set.  Make the BUFFER argument
11644         non-optional.
11646         * vc-sccs.el (vc-sccs-print-log):
11647         * vc-rcs.el (vc-rcs-print-log):
11648         * vc-git.el (vc-git-print-log):
11649         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11650         ignore it.  Make the BUFFER argument non-optional
11652         * bindings.el (mode-line-buffer-identification): Do not purecopy.
11654 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
11656         * dired.el (dired-mode-map): Move encryption items to "Operate"
11657         menu (Bug#4703).
11659         * strokes.el (strokes-update-window-configuration): Make strokes
11660         buffer current before erasing (Bug#4906).
11662 2009-11-15  Juri Linkov  <juri@jurta.org>
11664         * simple.el (set-mark-default-inactive): Add :type, :group
11665         and :version.  (Bug#4876)
11667 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
11669         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
11670         (archive-unique-fname): ... here.  (Bug#4929)
11672 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11674         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
11675         with a real fix.
11677         * novice.el (disabled-command-function): Add useful args.
11678         Setup the help buffer so that [back] works.
11679         Remove redundant call to help-mode.
11680         (disabled-command-function): Use `case'.
11681         (en/disable-command): New function extracted from enable-command.
11682         (enable-command, disable-command): Use it.
11684 2009-11-14  Glenn Morris  <rgm@gnu.org>
11686         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
11687         constants.  (Bug#4913)
11689         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
11691 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
11693         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
11694         defined in C that have no doc-strings.  (Bug#1063)
11696 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
11698         * cus-edit.el (data, files):
11699         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
11701 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
11703         * simple.el (shell-command): Doc fix (Bug#4891).
11705         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
11707 2009-11-14  Glenn Morris  <rgm@gnu.org>
11709         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
11710         statements for vc-diff, emerge-quit, and rmail-cease-edit.
11711         If they are already loaded, eval-after-load will do the right thing.
11713         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
11714         compiling.
11716         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
11718         * simple.el (x-selection-owner-p): Declare.
11719         (read-mail-command): Use custom radio type rather than choice.
11720         (completion-no-auto-exit): Doc fix.
11722         * custom.el (defgroup):
11723         * epg-config.el (epg): Doc fixes.
11725 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
11727         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
11728         * international/ccl.el (define-ccl-program): Do not purecopy the
11729         docstring, defconst does it anyway.
11731 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11733         * add-log.el (add-change-log-entry): Avoid displaying the changelog
11734         a second time.
11736         * x-dnd.el (x-dnd-maybe-call-test-function):
11737         * window.el (split-window-vertically):
11738         * whitespace.el (whitespace-help-on):
11739         * vc-rcs.el (vc-rcs-consult-headers):
11740         * userlock.el (ask-user-about-lock-help)
11741         (ask-user-about-supersession-help):
11742         * type-break.el (type-break-force-mode-line-update):
11743         * time-stamp.el (time-stamp-conv-warn):
11744         * terminal.el (te-set-output-log, te-more-break, te-filter)
11745         (te-sentinel, terminal-emulator):
11746         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11747         (term-write-input-ring, term-check-source, term-start-output-log):
11748         (term-display-buffer-line, term-dynamic-list-completions):
11749         (term-ansi-make-term, serial-term):
11750         * subr.el (selective-display):
11751         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11752         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11753         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11754         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11755         (speedbar-remove-localized-speedbar-support)
11756         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11757         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11758         (speedbar-buffers-line-directory):
11759         * simple.el (shell-command-on-region, append-to-buffer)
11760         (prepend-to-buffer):
11761         * shadowfile.el (shadow-save-todo-file):
11762         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11763         (scroll-bar-maybe-set-window-start):
11764         * sb-image.el (speedbar-image-dump):
11765         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11766         (load-save-place-alist-from-file):
11767         * ps-samp.el (ps-print-message-from-summary):
11768         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11769         (ps-background-image, ps-begin-job, ps-do-despool):
11770         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11771         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11772         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11773         (pr-call-process, pr-file-list, pr-interface-save):
11774         * novice.el (disabled-command-function)
11775         (enable-command, disable-command):
11776         * mouse.el (mouse-buffer-menu-alist):
11777         * mouse-copy.el (mouse-kill-preserving-secondary):
11778         * macros.el (kbd-macro-query):
11779         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11780         * informat.el (batch-info-validate):
11781         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11782         * hippie-exp.el (try-expand-dabbrev-visible):
11783         * help-mode.el (help-make-xrefs):
11784         * help-fns.el (describe-variable):
11785         * generic-x.el (bat-generic-mode-run-as-comint):
11786         * finder.el (finder-mouse-select):
11787         * find-dired.el (find-dired-sentinel):
11788         * filesets.el (filesets-file-close):
11789         * files.el (list-directory):
11790         * faces.el (list-faces-display, describe-face):
11791         * facemenu.el (list-colors-display):
11792         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11793         * epg.el (epg--process-filter, epg-cancel):
11794         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
11795         (epa--read-signature-type):
11796         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
11797         (emerge-file-names):
11798         * ehelp.el (electric-helpify):
11799         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
11800         * ediff-vers.el (rcs-ediff-view-revision):
11801         * ediff-util.el (ediff-setup):
11802         * ediff-mult.el (ediff-append-custom-diff):
11803         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
11804         (ediff-wordify):
11805         * echistory.el (Electric-command-history-redo-expression):
11806         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
11807         * disp-table.el (describe-display-table):
11808         * dired.el (dired-find-buffer-nocreate):
11809         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
11810         * dabbrev.el (dabbrev--same-major-mode-p):
11811         * chistory.el (list-command-history):
11812         * apropos.el (apropos-documentation):
11813         * allout.el (allout-obtain-passphrase):
11814         (allout-copy-exposed-to-buffer):
11815         (allout-verify-passphrase): Use with-current-buffer.
11817 2009-11-13  Glenn Morris  <rgm@gnu.org>
11819         * Makefile.in (ELCFILES): Regenerate.
11821 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
11823         * net/dbus.el (dbus-registered-objects-table): Rename from
11824         `dbus-registered-functions-table', because it contains also properties.
11825         (dbus-unregister-object): Unregister also properties.
11826         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11827         Use a timeout of 500 msec, in order to not block.
11828         (dbus-register-property, dbus-property-handler): New defuns.
11830 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11832         * simple.el (minibuffer-default-add-completions): Drop deprecated
11833         4th arg.
11835 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
11837         * textmodes/artist.el (artist-mouse-choose-operation):
11838         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
11839         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
11840         (artist-compute-up-event-key): New function.
11841         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
11843 2009-11-13  Kenichi Handa  <handa@m17n.org>
11845         * language/japan-util.el: Make sure that the value of jisx0208
11846         property is jisx0208 character.
11848 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
11850         * international/mule.el (auto-coding-regexp-alist): Only purecopy
11851         car or each item, not the whole list.
11853 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11855         * minibuffer.el (minibuffer-completion-help):
11856         Use minibuffer-hide-completions.
11858 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
11860         * dired.el (dired-save-positions, dired-restore-positions): New funs.
11861         (dired-revert): Use them (bug#4880).
11863 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
11865         * tooltip.el (tooltip-frame-parameters): Undo previous change.
11867 2009-11-12  Juri Linkov  <juri@jurta.org>
11869         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
11870         New functions.
11871         (find-file-literally-at-point): Alias of `ffap-literally'.
11873 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
11875         * textmodes/ispell.el (ispell-skip-region-alist):
11876         * textmodes/css-mode.el (auto-mode-alist):
11877         * progmodes/compile.el (auto-mode-alist):
11878         * international/mule.el (ctext-non-standard-encodings-alist)
11879         (ctext-non-standard-encodings-regexp):
11880         * simple.el (shell-command-switch, text-read-only):
11881         * replace.el (occur-mode-map):
11882         * paths.el (rmail-file-name):
11883         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
11884         * find-file.el (ff-special-constructs):
11885         * files.el (file-name-handler-alist):
11886         * composite.el: Purecopy strings.
11888         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
11890 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
11892         * widget.el (define-widget): Purecopy the docstring.
11893         * international/mule-cmds.el (charset): Do not purecopy the
11894         docstring here, define-widget does it.
11896         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
11897         * textmodes/bibtex-style.el (auto-mode-alist):
11898         * progmodes/inf-lisp.el (inferior-lisp-prompt):
11899         * progmodes/compile.el (compile-command):
11900         * language/korea-util.el (default-korean-keyboard):
11901         * international/mule-conf.el (file-coding-system-alist):
11902         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
11903         * tooltip.el (tooltip-frame-parameters):
11904         * newcomment.el (comment-end, comment-padding):
11905         * dired.el (dired-trivial-filenames):
11906         * comint.el (comint-file-name-prefix): Purecopy initial values.
11908 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
11910         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
11911         (tramp-advice-minibuffer-electric-tilde): Unload advices via
11912         `tramp-unload'.
11913         (tramp-advice-make-auto-save-file-name)
11914         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
11915         after removing the advice.
11917 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
11919         * progmodes/grep.el (grep-regexp-alist):
11920         * international/mule-cmds.el (iso-2022-control-alist):
11921         * emacs-lisp/timer.el (timer-duration-words):
11922         * subr.el (version-separator, version-regexp-alist):
11923         * minibuffer.el (completion-styles-alist):
11924         * faces.el (face-attribute-name-alist, list-faces-sample-text):
11925         Change defvars to defconsts.
11927         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
11928         * loadup.el ("international/mule-conf"): Load the byte compiled version.
11929         * international/mule-conf.el: Allow to be byte compiled.
11931         * international/mule.el (define-charset): Purecopy props.
11932         (load-with-code-conversion): Purecopy doc string and file name.
11933         (put-charset-property): Purecopy strings.
11934         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
11936         * international/mule-cmds.el (register-input-method): Purecopy arguments.
11937         (define-char-code-property): Correctly purecopy the table.
11939         * international/ccl.el (define-ccl-program): Purecopy the docstring.
11941         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
11943         * subr.el (add-hook): Purecopy strings.
11944         (eval-after-load): Purecopy load-history-regexp and the form.
11946         * custom.el (custom-declare-group): Purecopy load-file-name.
11948         * subr.el (menu-bar-separator): New defconst.
11949         * net/eudc.el (eudc-tools-menu):
11950         * international/mule-cmds.el (set-coding-system-map)
11951         (mule-menu-keymap):
11952         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11953         * vc-hooks.el (vc-menu-map):
11954         * replace.el (occur-mode-map):
11955         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
11956         (menu-bar-edit-menu, menu-bar-goto-menu)
11957         (menu-bar-custom-menu, menu-bar-showhide-menu)
11958         (menu-bar-options-menu, menu-bar-tools-menu)
11959         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
11960         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
11961         (menu-bar-help-menu):
11962         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
11963         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
11965         * term/x-win.el (x-gtk-stock-map):
11966         * progmodes/vera-mode.el (auto-mode-alist):
11967         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
11968         (inferior-lisp-program, inferior-lisp-load-command):
11969         * progmodes/hideshow.el (hs-special-modes-alist):
11970         * progmodes/gud.el (same-window-regexps):
11971         * progmodes/grep.el (grep-program, find-program, xargs-program):
11972         * net/telnet.el (same-window-regexps):
11973         * net/rlogin.el (same-window-regexps):
11974         * language/ethiopic.el (font-ccl-encoder-alist):
11975         * vc-sccs.el (vc-sccs-master-templates):
11976         * vc-rcs.el (vc-rcs-master-templates):
11977         * subr.el (cl-assertion-failed):
11978         * simple.el (next-error-overlay-arrow-position):
11979         * lpr.el (lpr-command):
11980         * locate.el (locate-ls-subdir-switches):
11981         * info.el (same-window-regexps, info)
11982         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
11983         * image-mode.el (image-mode, auto-mode-alist):
11984         * hippie-exp.el (hippie-expand-ignore-buffers):
11985         * format.el (format-alist):
11986         * find-dired.el (find-ls-subdir-switches, find-grep-options)
11987         (find-name-arg):
11988         * facemenu.el (facemenu-keybindings):
11989         * dired.el (dired-listing-switches, dired-chown-program):
11990         * diff.el (diff-switches, diff-command):
11991         * cus-edit.el (same-window-regexps):
11992         * bindings.el (mode-line-mule-info)
11993         (mode-line-buffer-identification): Purecopy strings.
11995 2009-11-11  Juri Linkov  <juri@jurta.org>
11997         * simple.el (dired-get-filename) <declare-function>:
11998         Tell the byte-compiler about dired-get-filename.
11999         (shell-command): In Dired mode, get filename from the current line
12000         as the default value.
12002 2009-11-10  Glenn Morris  <rgm@gnu.org>
12004         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12005         * calendar/holidays.el, progmodes/cperl-mode.el:
12006         Update x-popup-menu declarations.
12008         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12009         (list-load-path-shadows): Use dolist.
12010         (list-load-path-shadows): Use with-current-buffer.
12012 2009-11-10  Juri Linkov  <juri@jurta.org>
12014         * minibuffer.el (read-file-name): Support a list of default values
12015         in `default-filename'.  Use the first file name where only one
12016         element is required.  Doc fix.
12018 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
12020         * net/dbus.el (dbus-unregister-object): Release service, if no
12021         other method is registered for it.
12023 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
12025         * bookmark.el (bookmark-completing-read): Sort bookmark names if
12026         bookmark-sort-flag is non-nil (Bug#4653).
12028 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12030         * emulation/cua-base.el: Add CUA property to some CC mode commands
12031         (Bug#4100).
12033 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12035         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12036         at end of sentence (Bug#4818).
12038 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
12040         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12041         Handle "see declaration of" MSFT statements (Bug#4100).
12043 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
12045         * net/tramp.el (tramp-advice-make-auto-save-file-name)
12046         (tramp-advice-file-expand-wildcards): Unload via
12047         `ad-remove-advice'.
12049         * net/trampver.el: Update release number.
12051 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12053         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12054         `ad-do-it'.
12056 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
12058         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12059         in order to keep context in SELinux.
12061 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12063         * dired-aux.el (dired-query): Place cursor in echo area and allow
12064         C-g.
12066         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12067         menu item if not on a directory (Bug#4701).
12069 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
12071         Sync with Tramp 2.1.17.
12073         * net/tramp.el (tramp-handle-copy-directory): Don't use
12074         `file-remote-p' (due to compatibility).
12076         * net/tramp-compat.el (tramp-compat-copy-directory)
12077         (tramp-compat-delete-directory): New defuns.
12079         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12080         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12081         `tramp-compat-delete-directory'.
12083         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12084         (tramp-smb-handle-delete-directory): Use
12085         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12087         * net/trampver.el: Update release number.
12089 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
12091         * tar-mode.el (tar-copy): Call write-region on the right buffer
12092         (Bug#4857).
12094         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12095         by hand, if necessary (Bug#4878).
12097 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
12099         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12100         align size column (Bug#4839).
12102         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12103         statement.
12105 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12107         * progmodes/ld-script.el (auto-mode-alist):
12108         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12110         * cus-face.el (custom-declare-face): Purecopy face spec.
12112 2009-11-06  Kenichi Handa  <handa@m17n.org>
12114         * international/uni-bidi.el: Re-generated.
12115         * international/uni-category.el: Re-generated.
12116         * international/uni-combining.el: Re-generated.
12117         * international/uni-mirrored.el: Re-generated.
12119 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12121         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12122         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12123         (tex-start-options, slitex-run-command, latex-run-command)
12124         (tex-run-command, tex-directory):
12125         * textmodes/ispell.el (ispell-html-skip-alists)
12126         (ispell-tex-skip-alists, ispell-tex-skip-alists):
12127         * textmodes/fill.el (adaptive-fill-first-line-regexp):
12128         (adaptive-fill-regexp):
12129         * textmodes/dns-mode.el (auto-mode-alist):
12130         * progmodes/python.el (interpreter-mode-alist):
12131         * progmodes/etags.el (tags-compression-info-list):
12132         * progmodes/etags.el (tags-file-name):
12133         * net/browse-url.el (browse-url-galeon-program)
12134         (browse-url-firefox-program):
12135         * mail/sendmail.el (mail-signature-file)
12136         (mail-citation-prefix-regexp):
12137         * international/mule-conf.el (eight-bit):
12138         * international/latexenc.el (latex-inputenc-coding-alist):
12139         * international/fontset.el (x-pixel-size-width-font-regexp):
12140         * emacs-lisp/warnings.el (warning-type-format):
12141         * emacs-lisp/trace.el (trace-buffer):
12142         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12143         (emacs-lisp-mode-map):
12144         * calendar/holidays.el (holiday-solar-holidays)
12145         (holiday-bahai-holidays, holiday-islamic-holidays)
12146         (holiday-christian-holidays, holiday-hebrew-holidays)
12147         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12148         (hebrew-holidays-1, holiday-oriental-holidays)
12149         (holiday-general-holidays):
12150         * x-dnd.el (x-dnd-known-types):
12151         * tool-bar.el (tool-bar):
12152         * startup.el (site-run-file):
12153         * shell.el (shell-dumb-shell-regexp):
12154         * rfn-eshadow.el (file-name-shadow-tty-properties)
12155         (file-name-shadow-properties):
12156         * paths.el (remote-shell-program, news-directory):
12157         * mouse.el ([C-down-mouse-3]):
12158         * menu-bar.el (menu-bar-tools-menu):
12159         * jka-cmpr-hook.el (jka-compr-load-suffixes)
12160         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12161         (jka-compr-compression-info-list):
12162         * isearch.el (search-whitespace-regexp):
12163         * image-file.el (image-file-name-extensions):
12164         * find-dired.el (find-ls-option):
12165         * files.el (directory-listing-before-filename-regexp)
12166         (directory-free-space-args, insert-directory-program)
12167         (list-directory-brief-switches, magic-fallback-mode-alist)
12168         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12169         (automount-dir-prefix):
12170         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12171         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12172         (face-font-registry-alternatives, face-font-registry-alternatives)
12173         (face-font-family-alternatives):
12174         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12175         (facemenu-foreground-menu, facemenu-face-menu):
12176         * epa-hook.el (epa-file-name-regexp):
12177         * dnd.el (dnd-protocol-alist):
12178         * textmodes/rst.el (auto-mode-alist):
12179         * button.el (default-button): Purecopy strings.
12181 2009-11-06  Glenn Morris  <rgm@gnu.org>
12183         * Makefile.in (ELCFILES): Update.
12185 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12187         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12188         * emacs-lisp/levents.el: Move to obsolete/levents.el.
12190         * nxml/xsd-regexp.el (xsdre-gen-categories):
12191         * nxml/xmltok.el (xmltok-parse-entity):
12192         * nxml/rng-parse.el (rng-parse-validate-file):
12193         * nxml/rng-maint.el (rng-format-manual)
12194         (rng-manual-output-force-new-line):
12195         * nxml/rng-loc.el (rng-save-schema-location-1):
12196         * nxml/rng-cmpct.el (rng-c-parse-file):
12197         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12198         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12200 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
12202         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12203         Remove extra save-excursions and make-variable-buffer-local's.
12204         Suggested by Stefan Monnier.
12206         (verilog-getopt-file, verilog-module-inside-filename-p)
12207         (verilog-set-define): Merge GNU 1.35 and repair changes from
12208         switching to using with-current-buffer.
12210         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12211         being treated as a number and confusing AUTORESET.
12212         Reported by Dan Dever.
12214         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12215         Add verilog-auto-ignore-concat to fix backward compatibility with
12216         older verilog-modes.  Reported by Dan Katz.
12218         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12219         containing closing anchors "...$".
12221         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12222         Reported by Wade Smith.
12224         (verilog-batch-execute-func): Comment on function usage.
12226 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
12228         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12229         for labels.
12231         (verilog-label-re, verilog-calc-1): Support proper indent of named
12232         asserts.
12234         (verilog-backward-token, verilog-basic-complete-re)
12235         (verilog-beg-of-statement, verilog-indent-re): Support proper
12236         indent of the assert statement at the beginning of a block of text.
12238         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12239         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12240         tokens as begins.
12242 2009-11-05  Glenn Morris  <rgm@gnu.org>
12244         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12245         Emacs 19.  (Bug#1531)
12246         (byte-compile-fix-header): Update for the above change.
12247         Drop test for epoch::version.
12249         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12250         * cus-dep.el (custom-make-dependencies):
12251         * finder.el (finder-compile-keywords):
12252         Use autoload-rubric's feature argument.
12254         * calendar/diary-lib.el (top-level): Make load behave more like require.
12256         * vc-git.el (vc-git-stash-map): Move definition before use.
12258 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
12260         * custom.el (custom-declare-group): Purecopy standard-value.
12261         (custom-declare-group): Purecopy custom-prefix.
12263         * international/mule.el (load-with-code-conversion):
12264         Call do-after-load-evaluation unconditionally.
12266         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12268 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12270         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12272 2009-11-04  Glenn Morris  <rgm@gnu.org>
12274         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12275         (byte-compile-compatibility): Remove option.
12276         (byte-compile-close-variables, byte-compile-fix-header)
12277         (byte-compile-insert-header, byte-compile-output-docform)
12278         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12279         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12280         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12281         (byte-compile-insert, byte-compile-defun):
12282         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
12283         (byte-defop-compiler19): Remove.
12284         Without byte-compile-compatibility, the 'emacs19-opcode property is not
12285         used by anything.  Replace all calls with byte-defop-compiler.
12287 2009-11-04  Juri Linkov  <juri@jurta.org>
12289         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12290         (menu-bar-options-menu): Don't quote the `prop' arg of
12291         `menu-bar-make-mm-toggle'.
12293 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
12295         * calendar/calendar.el (cal-loaddefs):
12296         * calendar/diary-lib.el (diary-loaddefs):
12297         * calendar/holidays.el (hol-loaddefs):
12298         * eshell/esh-module.el (esh-groups): Load rather than require.
12300 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12302         * calendar/todo-mode.el (todo-add-category): Don't hardcode
12303         point-min==1.
12304         (todo-top-priorities): Only display-buffer when called interactively.
12305         (todo-item-start): Don't save excursion point.
12306         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
12307         (todo-insert-item-here, todo-file-item, todo-remove-item):
12308         Adjust uses of todo-item-start and todo-item-end.
12310         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12311         (autoload-rubric): Don't use any more.
12313         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12314         and only put a prop if it is non-nil.
12316 2009-11-03  Juri Linkov  <juri@jurta.org>
12318         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12319         (menu-bar-options-menu): Fix list quoting (Bug#4429).
12321         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12322         and "Menu" to make top-level menu item visually one unit (like
12323         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12324         multi-word menu items).  Fix :help string for quit-window.
12326 2009-11-03  Glenn Morris  <rgm@gnu.org>
12328         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12329         (byte-compile-file-form-define-abbrev-table)
12330         (byte-compile-file-form-custom-declare-variable)
12331         (byte-compile-variable-ref, byte-compile-defvar):
12332         Whether or not a warning is enabled should only affect whether we issue
12333         the warning, not whether or not we collect the relevant data.
12334         Eg warnings can be turned on and off throughout the course of a file.
12336         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12337         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12339 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12341         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12342         * play/mpuz.el (mpuz-create-buffer):
12343         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12344         (lm-print-y,s,noise, lm-print-w0, lm-init):
12345         * play/gomoku.el (gomoku-prompt-for-move):
12346         * play/fortune.el (fortune-in-buffer):
12347         * play/dissociate.el (dissociated-press):
12348         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12349         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12350         * mail/supercite.el (sc-eref-show):
12351         * mail/smtpmail.el (smtpmail-send-it):
12352         * mail/rmailsum.el (rmail-summary-next-labeled-message)
12353         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12354         (rmail-summary-undelete-many, rmail-summary-rmail-update)
12355         (rmail-summary-goto-msg, rmail-summary-expunge)
12356         (rmail-summary-get-new-mail, rmail-summary-search-backward)
12357         (rmail-summary-add-label, rmail-summary-output-menu)
12358         (rmail-summary-output-body):
12359         * mail/rfc822.el (rfc822-addresses):
12360         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12361         * mail/mailpost.el (post-mail-send-it):
12362         * mail/hashcash.el (hashcash-generate-payment):
12363         * mail/feedmail.el (feedmail-run-the-queue)
12364         (feedmail-queue-send-edit-prompt-help-first)
12365         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12366         (feedmail-deduce-address-list):
12367         * eshell/esh-ext.el (eshell-remote-command):
12368         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12369         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12370         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12371         (viper-save-string-in-file, viper-valid-marker):
12372         * emulation/viper-keym.el (viper-toggle-key):
12373         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12374         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12375         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12376         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12377         (viper-exec-form-in-emacs, viper-brac-function):
12378         * emulation/viper.el (viper-delocalize-var):
12379         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12380         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12381         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12382         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12383         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12384         * emulation/edt.el (edt-electric-helpify):
12385         * emulation/cua-rect.el (cua--rectangle-aux-replace):
12386         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12387         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12388         (cua-indent-to-global-mark-column):
12389         * calendar/diary-lib.el (calendar-mark-1):
12390         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12391         Use with-current-buffer.
12392         * emulation/viper.el (viper-delocalize-var): Use dolist.
12394 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
12396         * comint.el (comint-replace-by-expanded-history-before-point):
12397         Replace !! with the previous input string literally (Bug#1795).
12399 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
12401         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12402         to be made up of whitespace.
12404 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
12406         * minibuffer.el (read-file-name): Don't use file dialogs for
12407         remote directories (Bug#99).
12409 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
12411         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12413 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12415         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12416         instead of deleting the window or frame.
12418 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12420         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12421         Support face colors.
12423         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12424         New function.  Support face colors (Bug#1168).
12425         (tex-common-initialization): Use it.
12427         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12428         mode allows it (Bug#1168).
12430 2009-10-31  Juri Linkov  <juri@jurta.org>
12432         * facemenu.el (list-colors-display): Don't mark buffer as
12433         modified (Bug#3948).
12435 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12437         * international/mule-diag.el (list-character-sets-1): Minor
12438         message fix (Bug#3526).
12440         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12441         face property (Bug#4834).
12442         (etags-list-tags, etags-tags-apropos-additional)
12443         (etags-tags-apropos, tags-select-tags-table): Add follow-link
12444         property.
12446         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12447         items.
12449 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12451         * textmodes/two-column.el (2C-split):
12452         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12453         * textmodes/tex-mode.el (tex-set-buffer-directory):
12454         * textmodes/spell.el (spell-region, spell-string):
12455         * textmodes/reftex.el (reftex-erase-buffer):
12456         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12457         * textmodes/reftex-toc.el (reftex-toc-promote-action):
12458         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12459         (reftex-select-item):
12460         * textmodes/reftex-ref.el (reftex-label-info-update)
12461         (reftex-offer-label-menu):
12462         * textmodes/reftex-index.el (reftex-index-change-entry)
12463         (reftex-index-phrases-info):
12464         * textmodes/reftex-global.el (reftex-create-tags-file)
12465         (reftex-save-all-document-buffers, reftex-ensure-write-access):
12466         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12467         (reftex-view-crossref-from-bibtex):
12468         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12469         (reftex-extract-bib-entries-from-thebibliography)
12470         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12471         * textmodes/refbib.el (r2b-capitalize-title):
12472         (r2b-convert-buffer, r2b-help):
12473         * textmodes/page-ext.el (pages-directory)
12474         (pages-directory-goto-with-mouse):
12475         * textmodes/bibtex.el (bibtex-validate-globally):
12476         * textmodes/bib-mode.el (bib-capitalize-title):
12477         * textmodes/artist.el (artist-clear-buffer, artist-system):
12478         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12479         (local-set-scheme-interaction-buffer, xscheme-process-filter)
12480         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12481         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12482         (xscheme-send-control-g-interrupt, xscheme-start-process)
12483         (xscheme-process-sentinel, xscheme-cd):
12484         * progmodes/verilog-mode.el (verilog-read-always-signals)
12485         (verilog-set-define, verilog-getopt-file)
12486         (verilog-module-inside-filename-p):
12487         * progmodes/sh-script.el:
12488         * progmodes/python.el (python-pdbtrack-get-source-buffer)
12489         (python-pdbtrack-grub-for-buffer, python-execute-file):
12490         * progmodes/octave-inf.el (inferior-octave):
12491         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12492         (idlwave-shell-compile-helper-routines, idlwave-set-local)
12493         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12494         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12495         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12496         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12497         (idlwave-shell-filter, idlwave-shell-examine-highlight)
12498         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12499         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12500         (idlwave-shell-examine-display, idlwave-shell-run-region)
12501         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12502         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12503         * progmodes/idlw-help.el (idlwave-help-get-special-help)
12504         (idlwave-help-get-help-buffer):
12505         * progmodes/gud.el (gud-basic-call, gud-find-class)
12506         (gud-tooltip-activate-mouse-motions-if-enabled):
12507         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12508         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12509         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12510         (ebrowse-tags-next-file):
12511         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12512         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12513         (ebnf-eps-finish-and-write):
12514         * progmodes/cpp.el (cpp-edit-save):
12515         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12516         * progmodes/cc-defs.el (c-emacs-features):
12517         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12518         (antlr-directory-dependencies):
12519         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12520         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12521         (ada-find-any-references, ada-make-filename-from-adaname)
12522         (ada-make-body-gnatstub):
12523         * obsolete/rnews.el (news-list-news-groups):
12524         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12525         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12526         * net/rcirc.el (rcirc-debug):
12527         * net/newst-treeview.el (newsticker--treeview-list-add-item)
12528         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12529         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12530         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12531         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12532         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12533         (newsticker--treeview-list-clear-highlight)
12534         (newsticker--treeview-list-update-highlight)
12535         (newsticker--treeview-list-highlight-start)
12536         (newsticker--treeview-tree-update-highlight)
12537         (newsticker--treeview-get-selected-item)
12538         (newsticker-treeview-mark-list-items-old)
12539         (newsticker--treeview-set-current-node):
12540         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12541         * net/newst-backend.el (newsticker--get-news-by-funcall)
12542         (newsticker--get-news-by-wget, newsticker--image-get)
12543         (newsticker--image-sentinel):
12544         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12545         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12546         (eudc-ph-close-session):
12547         * net/eudc.el (eudc-save-options):
12548         * language/thai-word.el (thai-update-word-table):
12549         * language/japan-util.el (japanese-string-conversion):
12550         * international/titdic-cnv.el (tsang-quick-converter)
12551         (ziranma-converter, ctlau-converter):
12552         * international/mule-cmds.el (describe-language-environment):
12553         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12554         (skkdic-convert-postfix, skkdic-convert-prefix):
12555         (skkdic-convert-okuri-nasi, skkdic-convert):
12556         * emacs-lisp/re-builder.el (reb-update-overlays):
12557         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12558         * emacs-lisp/gulp.el (gulp-send-requests):
12559         * emacs-lisp/find-gc.el (trace-call-tree):
12560         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12561         (eieio-describe-generic):
12562         * emacs-lisp/eieio-base.el (eieio-persistent-read):
12563         * emacs-lisp/edebug.el (edebug-outside-excursion):
12564         * emacs-lisp/debug.el (debugger-make-xrefs):
12565         * emacs-lisp/cust-print.el (custom-prin1-to-string):
12566         * emacs-lisp/chart.el (chart-new-buffer):
12567         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12568         Use with-current-buffer.
12569         * textmodes/artist.el (artist-system): Don't call
12570         copy-sequence on a fresh string.
12571         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12573 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
12575         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12576         is no item to edit.  (Bug#4820)
12577         (todo-top-priorities): Restore point and restore narrowing in Todo
12578         buffer.  (Bug#4820)
12580 2009-10-31  Glenn Morris  <rgm@gnu.org>
12582         * net/ange-ftp.el (top-level): Don't require dired when compiling.
12583         (comint-last-output-start, comint-last-input-start)
12584         (comint-last-input-end): Don't defvar when compiling.
12585         (ange-ftp-process-file): Use bound-and-true-p.
12587         * pcmpl-rpm.el (top-level): Move provide statement to end.
12588         (pcmpl-rpm): Remove unused custom group.
12590         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12592         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12594         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12595         (byte-compile-warnings): Add `constants' as an option.
12596         (byte-compile-callargs-warn, byte-compile-arglist-warn)
12597         (display-call-tree): Update for byte-compile-fdefinition possibly
12598         returning `(macro lambda ...)'.  (Bug#4778)
12599         (byte-compile-variable-ref, byte-compile-setq-default):
12600         Respect `constants' member of byte-compile-warnings.
12602 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12604         * vc-bzr.el (vc-bzr-revision-keywords): New var.
12605         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12606         to "submit:".
12608 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
12610         * textmodes/ispell.el (ispell-skip-region-alist):
12611         * international/mule-conf.el (eight-bit):
12612         * international/fontset.el (font-encoding-alist):
12613         * startup.el (pure-space-overflow-message):
12614         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12615         * paths.el (gnus-nntp-service, rmail-spool-directory)
12616         (term-file-prefix):
12617         * files.el (save-some-buffers-action-alist):
12618         * cmuscheme.el (same-window-buffer-names):
12619         * ielm.el (same-window-buffer-names):
12620         * shell.el (same-window-buffer-names):
12621         * mail/sendmail.el (same-window-buffer-names):
12622         * progmodes/inf-lisp.el (same-window-buffer-names):
12623         * bindings.el (mode-line-client)
12624         (mode-line-column-line-number-mode-map):
12625         * language/tibetan.el (tibetan-precomposition-rule-regexp)
12626         (tibetan-precomposed-regexp): Purecopy string arguments.
12628 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12630         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12631         (calcDigit-nondigit):
12632         * calc/calc-yank.el (calc-copy-to-buffer):
12633         * calc/calc-units.el (calc-invalidate-units-table):
12634         * calc/calc-trail.el (calc-trail-yank):
12635         * calc/calc-store.el (calc-insert-variables):
12636         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12637         * calc/calc-prog.el (calc-read-parse-table):
12638         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12639         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12640         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12641         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12642         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12643         (calc-graph-name, calc-graph-find-command, calc-graph-view)
12644         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12645         * calc/calc-ext.el (calc-realign):
12646         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12647         (calc-embedded-finish-edit, calc-embedded-make-info)
12648         (calc-embedded-finish-command, calc-embedded-stack-change):
12649         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12651         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12652         shell-dynamic-complete-filename in preference to
12653         comint-dynamic-complete-filename.
12655         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12656         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12657         Don't consider whether the display supports colors.
12658         (bookmark-import-new-list): Use dolist.
12659         (bookmark-bmenu-mode-map): Move initialization into declaration.
12660         (bookmark-bmenu-list): Use dolist, simplify.
12661         (bookmark-show-all-annotations): Use save-selected-window and dolist.
12662         (menu-bar-final-items): Use push.
12664 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
12666         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
12667         it works on remote files.
12668         (vc-hg-diff): Don't pass any `--cwd' argument.
12670 2009-10-27  Kevin Ryde  <user42@zip.com.au>
12672         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12673         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
12674         (Further to Bug#3921).
12676 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
12678         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
12679         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
12680         calling `tramp-imap-put-file'.  Add file size to the call.
12681         (tramp-imap-get-file-entries): Compute also user name, file size,
12682         and date.
12683         (tramp-imap-handle-insert-directory): Insert uid and gid.
12684         (tramp-imap-handle-file-attributes): Transform uid and gid
12685         according to `id-format'.
12686         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
12687         size in header X-Size.
12689 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
12691         * simple.el (transpose-subr): Give clearer error when the mark
12692         is not set.  (Bug#4807)
12694 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
12696         * net/tramp.el (tramp-perl-file-truename): New defconst.
12697         Perl code contributed by yary <not.com@gmail.com> (tiny change).
12698         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
12699         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
12700         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
12702         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
12703         Ignore `dired-call-process'.
12704         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
12706 2009-10-26  Julian Scheid  <julians37@gmail.com>
12708         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
12709         (tramp-get-remote-readlink): New defun.
12710         (tramp-handle-file-truename): Use it.
12711         (tramp-handle-file-exists-p): Check file-attributes cache, assume
12712         file exists if cache value present.
12713         (tramp-check-cached-permissions): New defun.
12714         (tramp-handle-file-readable-p): Use it.
12715         (tramp-handle-file-writable-p): Likewise.
12716         (tramp-handle-file-executable-p): Likewise.
12717         (tramp-handle-file-name-all-completions): Try using Perl to get
12718         partial completions.  When perl not available, combine `cd' and
12719         `ls' into single remote operation and use shell expansion to get
12720         partial remote directory contents.  Set `file-exists-p' cache for
12721         directory and any files returned by ls.  Change cache handling to
12722         support partial directory contents.  Use error message emitted by
12723         remote `cd' or Perl code for local tramp-error.
12724         (tramp-do-copy-or-rename-file-directly): Avoid separate
12725         tramp-send-command-and-check call.
12726         (tramp-handle-process-file): Merge three remote ops into one.
12727         Do not flush all caches when `process-file-side-effects' is set.
12728         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
12729         file-attributes shows uid/gid to be set already.
12731 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
12733         * textmodes/tex-mode.el (tex-dvi-view-command)
12734         (tex-show-queue-command, tex-open-quote):
12735         * progmodes/ruby-mode.el (auto-mode-alist)
12736         (interpreter-mode-alist): Purecopy strings.
12738         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12740         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12741         string for the hook, keymap and abbrev table.
12743         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12745         * x-dnd.el (x-dnd-xdnd-to-action):
12746         * startup.el (fancy-startup-text, fancy-about-text): Change to
12747         defconst from defvar.
12749         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12751         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12752         Purecopy initialization strings.
12754         * mail/sendmail.el (mail-header-separator)
12755         (mail-personal-alias-file):
12756         * mail/rmail.el (rmail-default-dont-reply-to-names)
12757         (rmail-ignored-headers, rmail-retry-ignored-headers)
12758         (rmail-highlighted-headers, rmail-secondary-file-directory)
12759         (rmail-secondary-file-regexp):
12760         * files.el (null-device, file-name-invalid-regexp)
12761         (locate-dominating-stop-dir-regexp)
12762         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12763         (interpreter-mode-alist): Use mapcar instead of mapc.
12765         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12767         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12768         (completion-ignored-extensions):
12769         (debug-ignored-errors): Purecopy strings.
12771 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12773         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12774         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12775         (pcomplete--here): Use push.
12777         * subr.el (all-completions): Declare the 4th arg obsolete.
12779 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12781         * pcomplete.el (pcomplete-unquote-argument-function): New var.
12782         (pcomplete-unquote-argument): New function.
12783         (pcomplete--common-suffix): Always pay attention to case.
12784         (pcomplete--table-subvert): Quote and unquote the text.
12785         (pcomplete--common-quoted-suffix): New function.
12786         (pcomplete-std-complete): Use it and pcomplete-begin.
12788         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12789         we're inside a dedicated or minibuffer window.
12791 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
12793         * bookmark.el: Update documentation, especially documentation
12794         of `bookmark-alist' and of the bookmark file format.
12795         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
12797 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
12799         * mail/emacsbug.el (report-emacs-bug): Clarify that the
12800         keybindings apply to the mail buffer (Bug#4003).  Shrink help
12801         window to buffer.
12803         * whitespace.el (whitespace-mode, whitespace-newline-mode)
12804         (global-whitespace-mode, global-whitespace-newline-mode)
12805         (whitespace-toggle-options, global-whitespace-toggle-options):
12806         Doc fix (Bug#3660).
12808         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
12809         of xmltok-start before the end tag was inserted (Bug#2840).
12811         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
12812         patterns that are preceded by an open-paren (Bug#1320).
12814 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
12816         * files.el (delete-directory): Delete symlinks to directories with
12817         delete-file (Bug#4739).
12819 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
12821         * vc.el (vc-backend-for-registration): Rename from
12822         vc-get-backend-for-registration.  Update callers.
12824         * international/mule-cmds.el (set-language-info-alist):
12825         Purecopy lang-env.
12826         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
12827         (charset): Purecopy the name.
12828         (define-char-code-property): Purecopy string arguments.
12830         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12831         Purecopy string arguments.
12833         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12834         * ediff-hook.el (menu-bar-ediff-menu):
12835         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
12836         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
12838 2009-10-24  Glenn Morris  <rgm@gnu.org>
12840         * comint.el (comint-dynamic-list-completions):
12841         * term.el (term-dynamic-list-completions): Use choose-completion rather
12842         than obsolete alias mouse-choose-completion.
12844         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
12845         file-cache-choose-completion.
12846         (file-cache-choose-completion): Handle an optional event argument.
12847         (file-cache-mouse-choose-completion): Make it an obsolete alias.
12849         * progmodes/octave-mod.el (octave-complete-symbol):
12850         Use choose-completion if mouse-choose-completion is ever removed.
12852         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
12853         use.
12855         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
12856         compiler.
12858         * vc-hooks.el (vc-responsible-backend): Fix declaration.
12860 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12862         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
12863         Ignore `pred' now that we receive one.
12864         Handle test-completion specially.
12866 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
12868         * vc.el (vc-responsible-backend): Throw an error if not backend is
12869         found.  Remove the REGISTER argument.  Move the code dealing with
12870         REGISTER ...
12871         (vc-get-backend-for-registration): ... here.  New function.
12872         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
12873         of vc-responsible-backend, pass the file name instead of the
12874         directory name.
12876 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12878         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
12879         New funs.
12880         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
12881         (pcomplete-comint-setup): Don't modify a global var via
12882         accidental side-effects.
12883         (pcomplete-shell-setup): Adjust call accordingly.
12884         (pcomplete-parse-comint-arguments): Use push.
12886 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
12888         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12889         Allow uncapitalized info node names (Bug#3921).
12891         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
12892         to the DEBUG file (Bug#3781).
12894 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
12896         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
12897         dictionary entry (Bug#4579).
12899 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
12901         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
12902         from `rfn-eshadow-update-overlay-hook' when unloading.
12903         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
12904         "rsyncc".  Adjust doc string.
12905         (tramp-temp-buffer-file-name): New buffer-local defvar.
12906         (tramp-handle-insert-file-contents, tramp-handle-write-region):
12907         Keep temporary file when indicated by method ("rsync" and
12908         "rsyncc").
12909         (tramp-handle-write-region): Handle APPEND.
12910         (tramp-delete-temp-file-function): New defun.  Added to
12911         `kill-buffer-hook'.
12913 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
12915         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
12917 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
12919         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
12920         (color-name-rgb-alist, tty-standard-colors)
12921         (tty-color-mode-alist): Change to defconst.
12923         * simple.el (mark-inactive): Purecopy message.
12925         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
12926         (global-map, yank-menu):
12927         * textmodes/ispell.el (ispell-menu-map):
12928         * net/eudc.el (eudc-tools-menu):
12929         * international/mule-cmds.el (describe-language-environment-map)
12930         (setup-language-environment-map, set-coding-system-map)
12931         (mule-menu-keymap):
12932         * vc-hooks.el (vc-menu-entry, vc-menu-map):
12933         * replace.el (occur-mode-map):
12934         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
12936 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
12938         * calc/calc.el (math-read-number, math-read-number-simple): Use
12939         `save-match-data'.
12941 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12943         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
12944         rather than fiddling with global-map bindings, since it should only
12945         affect per-terminal settings.
12946         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
12948         * minibuffer.el (completion-table-with-terminator): Allow to specify
12949         the terminator-regexp.
12951         * simple.el (switch-to-completions): Look for *Completions* in other
12952         frames as well.
12954         * pcomplete.el: Allow the use of completion-tables.
12955         (pcomplete-std-complete): New command.
12956         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
12957         (pcomplete--here): Use a function for `form' rather than an expression,
12958         so it can be byte-compiled.
12959         (pcomplete-here, pcomplete-here*): Adjust accordingly.
12960         Add edebug declaration.
12961         (pcomplete-show-completions): Remove unused var `curbuf'.
12962         (pcomplete-do-complete, pcomplete-stub):
12963         Don't assume `completions' is a list of strings any more.
12965 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
12967         * find-dired.el (find-name-arg): Fix typo in docstring.
12969 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12971         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
12972         (pcmpl-linux-fs-types): Same, and update to new modules layout.
12974         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
12975         pcomplete-entries.
12977         * comint.el (comint-read-input-ring, comint-write-input-ring)
12978         (comint-substitute-in-file-name)
12979         (comint-dynamic-complete-as-filename)
12980         (comint-dynamic-simple-complete)
12981         (comint-dynamic-list-filename-completions)
12982         (comint-dynamic-list-completions)
12983         (comint-redirect-results-list-from-process): Minor simplifications.
12985 2009-10-21  Kevin Ryde  <user42@zip.com.au>
12987         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
12988         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
12989         the first form.  And insert a blank line after ";;; Code" since
12990         that's usual style.  (Bug#4612)
12992         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
12994 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12996         * minibuffer.el (completion-table-with-terminator): Properly implement
12997         boundaries, in case `terminator' appears in the suffix.
12998         (completion--embedded-envvar-table): Don't return boundaries if
12999         there's no valid completion.  Simplify.
13000         (completion-file-name-table): New completion table extracted from
13001         completion--file-name-table.
13002         (completion--file-name-table): Use it.
13003         (read-file-name-predicate): Declare obsolete.
13004         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13005         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13006         completion-file-name-table, and use the `pred' argument.
13007         * files.el (locate-file-completion-table): Use the `pred' arg rather
13008         than read-file-name-predicate.
13009         (abbreviate-file-name): Use \` rather than ^ for BOS.
13011 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
13013         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13014         vc-responsible-backend to register, it causes problems.
13016 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13018         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13020 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
13022         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13023         (tramp-smb-handle-file-attributes): Use it.
13024         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13025         (tramp-smb-handle-insert-directory): Use `mapc' rather than
13026         `mapcar'.  Use `tramp-smb-get-stat-capability'.
13027         Add `dired-filename' text properties.
13028         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13029         (tramp-smb-maybe-open-connection): Simplify check for smbclient
13030         version.
13032 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13034         * subr.el (read-key-delay): Reduce to 0.01.
13035         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13036         (bug#4751).
13038 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13040         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13042         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13043         (Info-menu): Remove unused vars `last' and `completions'.
13044         (Info-index-nodes): Remove unused var `node'.
13046         * info.el (Info-complete-menu-item): Use complete-with-action.
13048 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
13050         Make vc-annotate work through copies and renames.
13051         * vc-annotate.el (vc-annotate-extract-revision-at-line):
13052         Return the file name too.
13053         (vc-annotate-revision-at-line)
13054         (vc-annotate-find-revision-at-line)
13055         (vc-annotate-revision-previous-to-line)
13056         (vc-annotate-show-log-revision-at-line): Update to get the file
13057         name from vc-annotate-extract-revision-at-line.
13058         (vc-annotate-show-diff-revision-at-line-internal): Change the
13059         argument to mean whether to show a file diff or not.  Get the file
13060         name from vc-annotate-extract-revision-at-line.
13061         (vc-annotate-show-diff-revision-at-line):
13062         Update vc-annotate-show-diff-revision-at-line call.
13063         (vc-annotate-warp-revision): Add an optional file argument.
13065         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13066         (vc-git-annotate-extract-revision-at-line): Also return the file
13067         name if found.
13069         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13070         command.  Remove unused code.
13071         (vc-hg-annotate-re): Update to match --follow output.
13072         (vc-hg-annotate-extract-revision-at-line): Also return the file
13073         name if found.
13075         * vc.el: Update annotate-extract-revision-at-line documentation.
13077 2009-10-18  Kevin Ryde  <user42@zip.com.au>
13079         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13080         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13082         * net/browse-url.el (browse-url): Identify alist with "consp and
13083         not functionp" and let all other things go down the `apply' leg,
13084         as suggested by Stefan.  (Further to bug#4531.)
13086 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
13088         * minibuffer.el (read-file-name): Check for repeat before putting
13089         a default argument in file-name-history (Bug#4657).
13091         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13092         read syntax (Bug#4737).
13094         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13096 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13098         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13099         (html-tag-alist, html-tag-help): Add descriptions for undocumented
13100         entries and make note of obsolete tags.
13102 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13104         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13106 2009-10-18  Glenn Morris  <rgm@gnu.org>
13108         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13109         grep, so that binary files (eg international/uni-bidi.el) can match.
13110         Remove test for "UnicodeData" files, since it is hopefully unnecessary
13111         now, and in any case the file header format has changed.
13113 2009-10-17  Glenn Morris  <rgm@gnu.org>
13115         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13116         (flyspell-get-word, flyspell-large-region)
13117         (flyspell-auto-correct-previous-word): Doc/error message fixes.
13119 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
13121         * Makefile.in (ELCFILES): Add ede/shell.
13123 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
13125         * term/common-win.el (x-colors): Purecopy it.
13127 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13129         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13130         permissive for when the buffer is empty.
13131         (tar-header-block-tokenize): Decode the username and groupname.
13132         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13134 2009-10-17  Eric Ludlam  <zappo@gnu.org>
13136         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13137         contains multibyte characters, choose first applicable coding
13138         system automatically.
13140 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13142         * international/mule-cmds.el (select-safe-coding-system): If the file
13143         has a coding cookie, use it regardless of any other setting (bug#4712).
13145 2009-10-17  Glenn Morris  <rgm@gnu.org>
13147         * foldout.el (foldout-mouse-swallow-events):
13148         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13150         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13151         (dired-keep-marker-copy, dired-keep-marker-hardlink)
13152         (dired-keep-marker-symlink, dired-dwim-target)
13153         (dired-copy-preserve-time): Do not autoload these defcustoms.
13155         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13156         messages from messing up the file coding.  (Bug#4623)
13158 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
13160         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13161         if no match is found for the current dictionary.  (Bug#4578)
13163         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13164         optional, since that is how it is documented, and this is often called
13165         with a nil argument.  (Bug#4577)
13166         (flyspell-external-point-words, flyspell-auto-correct-word)
13167         (flyspell-correct-word-before-point, flyspell-word-search-forward)
13168         (flyspell-word-search-backward): Remove nil argument in calls to
13169         flyspell-get-word, since it is not needed now.
13171 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
13173         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
13175 2009-10-16  Glenn Morris  <rgm@gnu.org>
13177         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13179 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
13181         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13182         (ange-ftp-file-size): New function.
13183         (ange-ftp-file-attributes): Use it.
13185 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
13187         * net/tramp-smb.el (tramp-smb-version): New defvar.
13188         (tramp-smb-maybe-open-connection): Use it, in order to avoid
13189         repeated checks.
13191 2009-10-16  Glenn Morris  <rgm@gnu.org>
13193         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13194         Maybe copy some custom properties from old to new name.  (Bug#4706)
13196 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
13198         * subr.el (error, sit-for, start-process-shell-command)
13199         (start-file-process-shell-command): Set the calling convention
13200         after the function definition.
13202 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13204         * subr.el (error, sit-for, start-process-shell-command)
13205         (start-file-process-shell-command): Use the new
13206         set-advertised-calling-convention feature.
13208 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
13210         * international/ucs-normalize.el (ucs-normalize-version):
13211         Change to 1.2.
13212         (check-range): Adjust for Unicode 5.2.
13214 2009-10-15  Juri Linkov  <juri@jurta.org>
13216         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13217         to the `menu-item' format.
13219 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
13221         * net/tramp.el (tramp-replace-environment-variables): Do not fail
13222         if the environment variable does not exist.
13224         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13225         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13226         parameter.
13227         (tramp-smb-handle-add-name-to-file)
13228         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13229         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13230         (tramp-smb-handle-file-attributes)
13231         (tramp-smb-do-file-attributes-with-stat)
13232         (tramp-smb-handle-file-local-copy)
13233         (tramp-smb-handle-insert-directory)
13234         (tramp-smb-handle-make-directory)
13235         (tramp-smb-handle-make-directory-internal)
13236         (tramp-smb-handle-make-symbolic-link)
13237         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13238         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13239         (tramp-smb-maybe-open-connection): Apply the changed parameters.
13240         (tramp-smb-read-file-entry): Read Disk names in compressed format.
13241         Handle long file names.
13242         (tramp-smb-get-cifs-capabilities): Check, whether the connection
13243         process is running.
13244         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13245         Read share names with "-g" option.
13247 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
13249         * net/rcirc.el (rcirc-view-log-file): New command.
13250         (rcirc-track-minor-mode-map): Remove C-c ` binding.
13251         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13252         specified.
13254 2009-10-15  Glenn Morris  <rgm@gnu.org>
13256         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13257         from the second command-line argument.
13258         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13259         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13260         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13261         w32-batch-update-autoloads.
13262         * emacs-lisp/autoload.el (autoload-make-program): New variable.
13263         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13265         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13266         the headers cannot be located.  Simplify, subtracting superflous
13267         save-excursions.
13269 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13271         Replace completion-base-size by completion-base-position to fix bugs
13272         such as (bug#4699).
13273         * simple.el (completion-base-position): New var.
13274         (completion-base-size): Mark as obsolete.
13275         (choose-completion): Make it work for mouse events as well.
13276         Pass the new base-position to choose-completion-string.
13277         (choose-completion-guess-base-position): New function, extracted from
13278         choose-completion-delete-max-match.
13279         (choose-completion-delete-max-match): Use it.  Make obsolete.
13280         (choose-completion-string): Use the new base-position info.
13281         (completion-root-regexp): Delete.
13282         (completion-setup-function): Preserve completion-base-position.
13283         Eliminate obsolete base-size manipulation.
13284         * minibuffer.el (display-completion-list): Don't mess with base-size.
13285         (minibuffer-completion-help): Set completion-base-position instead.
13286         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13287         choose-completion.
13288         * textmodes/bibtex.el (bibtex-complete):
13289         * emacs-lisp/crm.el (crm--choose-completion-string):
13290         Adjust to new calling convention.
13291         * complete.el (partial-completion-mode): Use minibufferp to avoid
13292         bumping into incompatible change to choose-completion-string-functions.
13293         * ido.el (ido-choose-completion-string): Make its calling convention
13294         more permissive.
13295         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13296         base-size manipulation.
13297         (comint-dynamic-list-input-ring): Use dotimes and push.
13298         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13299         fundamental-mode.  Use `or'.
13301 2009-10-14  Juri Linkov  <juri@jurta.org>
13303         * misearch.el (multi-isearch-next-buffer-from-list)
13304         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
13306 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13308         * Makefile.in (compile-onefile): Load `bytecomp' rather than
13309         `bytecomp.el'.
13311         * minibuffer.el (completion-pcm--merge-completions): Make sure the
13312         string we return is all made up of text from the completions rather
13313         than part from the completions and part from the input (bug#4219).
13315         * ido.el (ido-everywhere): Use define-minor-mode.
13317         * buff-menu.el (list-buffers, ctl-x-map):
13318         Mark the entry points with ;;;###autoload cookies.
13320 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
13322         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13323         correctly in the detached head case.
13324         (vc-git-print-log): Remove unused binding.
13326         * vc.el (vc-responsible-backend): When a directory is passed for
13327         for registration create a VC repository if no backend is
13328         responsible for the directory argument.
13329         (vc-deduce-fileset): Tell vc-responsible-backend to register.
13331         * vc.el: Move comments about RCS and SCCS ...
13332         * vc-rcs.el:
13333         * vc-sccs.el: ... here, respectively.
13335 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13337         * minibuffer.el (completion--file-name-table): Return nil if there's
13338         no file completion, even if substitute-in-file-name changed
13339         the string (bug#4708).
13341 2009-10-13  Juri Linkov  <juri@jurta.org>
13343         * files-x.el (read-file-local-variable-value): Don't filter out
13344         minor modes from mode name completion (bug#4664).
13346 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13348         * international/mule-cmds.el (ucs-names): Remove exclusion of
13349         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13351 2009-10-13  Kenichi Handa  <handa@m17n.org>
13353         * international/uni-name.el: Regenerated.
13355 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13357         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
13358         should be automatically buffer-local, but isn't.)
13360 2009-10-12  Sam Steingold  <sds@gnu.org>
13362         * progmodes/compile.el (compilation-next-error-function): Fix the
13363         timestamps if the buffer has been visited before.
13364         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13365         non-anchored patterns, like the perl one (bug#3928).
13367 2009-10-12  Glenn Morris  <rgm@gnu.org>
13369         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13370         Let-bind `size'.
13372 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
13374         * proced.el (proced-unload-function): New function.
13376         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13377         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13378         Doc fix.
13380         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13382 2009-10-11  Juri Linkov  <juri@jurta.org>
13384         * files-x.el (read-file-local-variable-value):
13385         Provide default value only for bound variables (bug#4664).
13387 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
13389         * net/tramp.el (tramp-local-host-p): Function shall return nil for
13390         connection methods like smb.
13392         * net/tramp-cache.el (tramp-flush-connection-property): The hash
13393         can be empty.
13395         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13396         (tramp-smb-file-name-handler-alist): Add handlers for
13397         `add-name-to-file', `make-symbolic-link'.
13398         (tramp-smb-handle-add-name-to-file)
13399         (tramp-smb-do-file-attributes-with-stat)
13400         (tramp-smb-handle-make-symbolic-link)
13401         (tramp-smb-get-cifs-capabilities): New defuns.
13402         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13403         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13404         (tramp-smb-handle-file-local-copy)
13405         (tramp-smb-handle-make-directory-internal)
13406         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13407         The file name syntax depends on cifs capabilities.
13408         (tramp-smb-handle-file-attributes):
13409         Call `tramp-smb-do-file-attributes-with-stat' if possible.
13410         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13411         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13413 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
13415         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13416         (eieio-defclass): Apply deftype handler and setf-method properties
13417         directly.
13418         (eieio-add-new-slot): Avoid union function from cl library.
13419         (eieio--typep): New function.
13420         (eieio-perform-slot-validation): Use it.
13422 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13424         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13425         Update documentation to refer to the variables documented in r1.135.
13426         (Bug#4188)
13428 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13430         * bookmark.el (Info-suffix-list): Remove this unused variable.
13431         (bookmark-current-point): Remove this obsolete variable.
13432         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13433         Adjust for removal of bookmark-current-point.
13435         (bookmarks-already-loaded, bookmark-current-buffer)
13436         (bookmark-yank-point): Document.  (Bug#4188)
13438 2009-10-10  Glenn Morris  <rgm@gnu.org>
13440         * frame.el (frame-height): Doc fix.
13442         * calendar/calendar.el (calendar-split-width-threshold): New option.
13443         (calendar-basic-setup): Use calendar-split-width-threshold.
13445 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
13447         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13448         Ideographic Supplement" range (U+1F200..U+1F2FF).
13450 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13452         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13453         since the list will have been rebuilt anyway.  (Bug#4349)
13455 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13457         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13458         (bookmark-bmenu-execute-deletions): Don't save here, as
13459         bookmark-delete will now do so if necessary.
13460         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13461         (Bug#4348)
13463 2009-10-09  Glenn Morris  <rgm@gnu.org>
13465         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13467 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13469         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13470         (bookmark-jump-other-window): Just invoke bookmark-jump with new
13471         argument now, so the two function's behaviors will match.  (Bug#3645)
13473 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
13475         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13476         (tramp-file-name-real-host, tramp-file-name-port):
13477         Apply `save-match-data'.
13479         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13480         case both directories are remote.
13481         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13482         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13484 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13486         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13488 2009-10-07  Glenn Morris  <rgm@gnu.org>
13490         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13491         of concat.
13493 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13495         * files-x.el (read-file-local-variable): Include some
13496         non-user-variables in the completion table (bug#4664).
13498 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
13500         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13501         message.
13503         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13504         (tramp-smb-file-name-handler-alist): Add handler for
13505         `copy-directory', `expand-file-name', `set-file-modes'.
13506         (tramp-smb-handle-copy-directory)
13507         (tramp-smb-handle-expand-file-name)
13508         (tramp-smb-handle-set-file-modes): New defuns.
13509         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13510         (tramp-smb-handle-file-attributes): Simplify check for retrieving
13511         entry.
13512         (tramp-smb-handle-insert-directory): Don't flush the cache.
13513         (tramp-smb-maybe-open-connection): Check for samba client and
13514         server versions.
13516 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
13518         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13519         to not error out of search for "^lisp=" fails.
13521 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13523         * makefile.w32-in (WINS_UPDATES): New macro.
13524         (custom-deps, finder-data, autoloads): Use it.
13526 2009-10-07  Glenn Morris  <rgm@gnu.org>
13528         * Makefile.in (autoloads): Revert previous change.
13529         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13530         the list of preloaded files passed on the command-line, get
13531         it from src/Makefile.
13533         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13534         show the original buffer rather than a random one.
13536 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
13538         * help.el (describe-no-warranty): Place point in a slightly better
13539         position in the GPLv3 text.
13541 2009-10-06  Sam Steingold  <sds@gnu.org>
13543         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13544         the comm attribute is present before calling regexp-quote.
13546 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
13548         * play/animate.el (animate-string): For good effect, make sure
13549         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13551         * play/animate.el (animate-sequence, animate-birthday-present):
13552         * misc.el (butterfly): Don't set `indent-tabs-mode'.
13554 2009-10-06  Glenn Morris  <rgm@gnu.org>
13556         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13558         * emacs-lisp/autoload.el (autoload-excludes): New variable.
13559         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13560         (batch-update-autoloads): Process a string value of autoload-excludes,
13561         set during the build process.
13562         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
13564         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13565         inside with-parsed...  macro so that `v' is defined.
13567         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13568         * progmodes/fortran.el (fortran-end-of-block)
13569         (fortran-beginning-of-block):
13570         Also push mark in the macro case.
13572         * emerge.el (emerge-show-file-name):
13573         * calc/calc.el (calc-quit):
13574         * calc/calc-misc.el (calc-big-or-small):
13575         * calc/calc-graph.el (calc-graph-view):
13576         * calc/calc-ext.el (calc-reset):
13577         * calendar/calendar.el (calendar-basic-setup):
13578         Use window-full-height-p.
13580         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13581         header we don't understand, don't insert another.  (Bug#4624)
13582         If changing mime charset, insert the new one in the right place.
13584 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
13586         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13587         (cal-tex-cursor-month): Correctly increment the end date for diary and
13588         holiday listing.  (Bug#4626)
13590 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13592         * help-fns.el (describe-function-1): Don't burp if the function is not
13593         a symbol.
13595 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
13597         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13598         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13599         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13600         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13602         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13603         (eieio-default-superclass): Reflow docstrings.
13604         (this, class-option-assoc, defclass, eieio-class-un-autoload)
13605         (eieio-unbind-method-implementations, defmethod)
13606         (eieio-validate-slot-value, eieio-validate-class-slot-value)
13607         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13608         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13609         (eieio-slot-originating-class-p, eieio-slot-name-index)
13610         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13611         (constructor, initialize-instance, no-next-method, object-print)
13612         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13613         Fix typos in docstrings.
13614         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13615         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13616         (next-method-p): Doc fixes.
13617         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13618         Fix typos in error messages.
13619         (eieio-defmethod): Fix typo in description of generic method.
13621         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13622         (eieio-persistent-save-interactive, slot-missing):
13623         Fix typos in docstrings.
13624         (eieio-instance-inheritor-slot-boundp): Doc fix.
13626         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13627         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13629         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13630         (eieio-custom-object-apply-reset):
13631         Fix typos in docstrings and error messages.
13633         * emacs-lisp/eieio-datadebug.el (data-debug-show):
13634         Fix typo in docstring.
13636         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13637         (eieio-browse-tree): Doc fix.
13638         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13639         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13640         Fix typos in docstrings.
13642         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13643         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13644         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13645         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13646         Reflow docstrings.
13648 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
13650         * vc-hg.el (log-view-vc-backend): Declare for compiler.
13651         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13652         Set log-view-vc-backend so that diff can work.
13654         * log-view.el (log-view-diff): Use vc-diff-internal instead of
13655         vc-version-diff.
13656         (vc-diff-internal): Autoload this instead of vc-version-diff.
13658 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
13660         * simple.el (eval-expression): Doc fix.
13662         * progmodes/cwarn.el (cwarn-mode): Doc fix.
13664 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
13666         * files.el (directory-files-no-dot-files-regexp): New defconst.
13667         (delete-directory): Use it.
13668         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
13670         * net/tramp.el (tramp-verbose): Fix docstring.
13671         (tramp-methods): Add recursive option to `tramp-copy-args'.
13672         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
13673         "scp1_old", "scp2_old", "rsync", "rsyncc".
13674         (tramp-default-method): Check also for `auth-source-user-or-password'.
13675         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
13676         Add handler for `copy-directory'.
13677         (tramp-handle-copy-directory): New defun.
13678         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
13679         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
13680         Optimize sent command.
13682 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13684         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
13685         window if necessary.
13687         * calendar/calendar.el (calendar-basic-setup): Don't call
13688         switch-to-buffer in a dedicated window.
13690 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
13692         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
13693         don't do anything related to relocating, just return nil.
13694         (bookmark-error-no-filename): New error.
13695         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
13696         bookmark has no file.  Don't even attempt to handle things that
13697         are not files; the whole point of custom handlers is to keep that
13698         knowledge elsewhere anyway.  Tighten some comments.
13699         (bookmark-file-or-variation-thereof): Remove now-unused function.
13700         (bookmark-location): Doc string fix.
13701         (Bug#4250)
13703 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13705         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
13706         don't use a file dialog, because they usually don't know how to read
13707         a directory target from the user.  (Bug#4230)
13708         Also, make sure the prompt can display directories as well as files.
13710 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13712         * bookmark.el (bookmark-set, bookmark-buffer-name):
13713         Improve doc strings.  (Bug#1193)
13715 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13717         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
13718         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
13719         (bookmark-get-annotation, bookmark-set-annotation)
13720         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
13721         (bookmark-set-position, bookmark-get-front-context-string)
13722         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
13723         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
13724         (bookmark-jump-other-window, bookmark-handle-bookmark)
13725         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
13726         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
13727         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
13728         Improve doc strings to say whether bookmark can be a string or
13729         a record or both, and make other consistency and clarity fixes.
13730         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
13731         (bookmark-default-annotation-text, bookmark-yank-word)
13732         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
13733         (bookmark-import-new-list, bookmark-maybe-rename)
13734         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13735         (bookmark-bmenu-bookmark): Give these doc strings.
13736         (bookmark-bmenu-check-position): Give this a doc string, but also
13737         add a FIXME comment about how the function may be pointless.
13738         (bookmark-default-handler): Rework doc string and change a
13739         parameter name, to clarify that this takes a bookmark record
13740         not a bookmark name.
13741         (bookmark-set): Change a parameter name to indicate its meaning,
13742         and improve the doc string a bit.
13743         (Bug#4188)
13745 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13747         * bookmark.el (bookmark-alist): Document the new `handler' element
13748         in the param alist.
13749         (bookmark-make-record-function): Adjust documentation for above.
13750         (Bug#4193)
13752 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13754         * info.el (Info-bookmark-make-record): Document this function.
13755         (Info-bookmark-jump): Document with a doc string, not just a comment.
13756         (Bug#4203)
13758 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
13760         * files.el (copy-directory): New defun.
13762         * dired-aux.el (dired-copy-file-recursive): Use it.
13764 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
13766         * files-x.el (modify-dir-local-variable)
13767         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13768         docstrings.
13770         * recentf.el (recentf-unload-function): New function.
13772 2009-10-04  Glenn Morris  <rgm@gnu.org>
13774         * window.el (window-full-height-p): Add doc string.
13776 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
13778         * window.el (window-full-height-p): New function.  (Bug#4543)
13780 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
13782         * vc.el: Remove commented out code.
13783         (vc-derived-from-dir-mode): Remove, unused.
13784         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13786 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
13788         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13789         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
13790         there could be recursive loading when `default-directory' is a
13791         remote file name.  (Bug#4614)
13793 2009-10-03  Glenn Morris  <rgm@gnu.org>
13795         * calendar/calendar.el (calendar-basic-setup): Handle the case where
13796         the frame is wide.
13797         (calendar-generate-window): Test for shrinkability rather than width.
13799         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
13800         reusing existing buffers, in case we happen to visit two files with the
13801         same basename.  (Bug#4593)
13803 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
13805         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
13806         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
13807         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
13808         subdirs of cedet as well.
13809         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
13811 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13813         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
13814         Obey advertised-signature-table.
13816         * help-fns.el (help-function-arglist): Don't check
13817         advertised-signature-table.
13818         (describe-function-1): Do it here instead so it also applies to subrs.
13820 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
13822         * simple.el (start-file-process): Say in the doc-string, that file
13823         handlers might not support pty association, if PROGRAM is nil.
13825         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
13826         HOST and USER are strings.  They are nil, when there are
13827         incomplete entries in ~/.netrc, for example.
13828         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
13829         root directory ("device busy" error otherwise).
13831         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
13832         Flush file properties of created directory.
13834 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
13836         * makefile.w32-in (WINS_BASIC): Remove cedet.
13837         (WINS_CEDET): Add cedet.
13838         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
13840 2009-10-02  Kevin Ryde  <user42@zip.com.au>
13842         * net/browse-url.el (browse-url): Pass any symbol in
13843         browse-url-browser-function to `apply', since if you've mistakenly put
13844         an unbound symbol then the error is clearer.  (Bug#4531)
13846 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
13848         * allout.el (allout-init, allout-back-to-current-heading)
13849         (allout-beginning-of-current-entry, allout-ascend-to-depth)
13850         (allout-ascend, allout-up-current-level, allout-end-of-level)
13851         (allout-previous-visible-heading, allout-forward-current-level)
13852         (allout-backward-current-level, allout-show-children):
13853         * apropos.el (apropos-describe-plist):
13854         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
13855         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
13856         * completion.el (add-completion, add-permanent-completion):
13857         * descr-text.el (describe-text-category, describe-char):
13858         * desktop.el (desktop-lazy-abort):
13859         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
13860         * dired.el (dired-build-subdir-alist):
13861         * ediff.el (ediff-version):
13862         * elide-head.el (elide-head, elide-head-show):
13863         * emerge.el (emerge-version):
13864         * env.el (getenv):
13865         * face-remap.el (variable-pitch-mode):
13866         * faces.el (describe-face):
13867         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
13868         (dired-at-point):
13869         * files.el (find-file-existing, auto-save-mode):
13870         * font-lock.el (font-lock-fontify-buffer):
13871         * help-fns.el (describe-function, describe-variable)
13872         (describe-syntax, describe-categories):
13873         * help.el (view-lossage, describe-bindings, describe-key)
13874         (describe-mode):
13875         * hexl.el (hexl-current-address):
13876         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
13877         * info.el (Info-goto-emacs-key-command-node):
13878         * log-edit.el (log-edit-insert-cvs-template)
13879         (log-edit-insert-cvs-rcstemplate):
13880         * menu-bar.el (menu-bar-mode):
13881         * mouse.el (mouse-appearance-menu):
13882         * newcomment.el (comment-indent-new-line):
13883         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
13884         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
13885         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
13886         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
13887         * recentf.el (recentf-mode):
13888         * savehist.el (savehist-mode, savehist-save):
13889         * shadowfile.el (shadow-copy-files):
13890         * simple.el (kill-ring-save, next-line, previous-line)
13891         (normal-erase-is-backspace-mode):
13892         * strokes.el (strokes-update-window-configuration)
13893         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
13894         (strokes-xpm-for-stroke):
13895         * time.el (emacs-uptime, emacs-init-time):
13896         * tutorial.el (tutorial--describe-nonstandard-key)
13897         (tutorial--detailed-help):
13898         * type-break.el (type-break-mode)
13899         (type-break-mode-line-message-mode, type-break-query-mode)
13900         (type-break-guesstimate-keystroke-threshold):
13901         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
13902         * version.el (emacs-version):
13903         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
13904         * winner.el (winner-mode):
13905         * calendar/timeclock.el (timeclock-in, timeclock-out)
13906         (timeclock-status-string, timeclock-change)
13907         (timeclock-workday-remaining-string)
13908         (timeclock-workday-elapsed-string)
13909         (timeclock-when-to-leave-string):
13910         * calendar/todo-mode.el (todo-add-category):
13911         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
13912         * emacs-lisp/autoload.el (update-file-autoloads):
13913         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
13914         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
13915         (checkdoc-message-text, checkdoc-defun):
13916         * emacs-lisp/debug.el (debugger-list-functions):
13917         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13918         * emacs-lisp/eieio-opt.el (eieio-describe-class)
13919         (eieio-describe-generic):
13920         * emacs-lisp/lisp-mnt.el (lm-synopsis):
13921         * emacs-lisp/shadow.el (list-load-path-shadows):
13922         * emulation/cua-base.el (cua-mode):
13923         * emulation/edt.el (edt-set-scroll-margins):
13924         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
13925         (tpu-toggle-regexp, tpu-toggle-search-direction)
13926         (tpu-toggle-rectangle, tpu-toggle-control-keys):
13927         * emulation/tpu-extras.el (tpu-set-scroll-margins):
13928         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13929         (viper-set-parsing-style-toggling-macro)
13930         (viper-set-emacs-state-searchstyle-macros):
13931         * emulation/viper.el (viper-set-hooks):
13932         * eshell/esh-mode.el (eshell-truncate-buffer):
13933         * international/mule-cmds.el (prefer-coding-system)
13934         (describe-input-method, describe-language-environment):
13935         * international/mule-diag.el (list-character-sets)
13936         (describe-character-set, describe-coding-system)
13937         (describe-fontset, list-fontsets, list-input-methods):
13938         * mail/sendmail.el (mail-signature):
13939         * net/ange-ftp.el (ange-ftp-copy-file):
13940         * net/browse-url.el (browse-url):
13941         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
13942         * net/quickurl.el (quickurl-add-url):
13943         * net/rcirc.el (names, topic):
13944         * net/xesam.el (xesam-mode):
13945         * play/5x5.el (5x5-new-game):
13946         * play/yow.el (apropos-zippy):
13947         * progmodes/ada-mode.el (ada-mode-version):
13948         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
13949         (f90-end-of-block)
13950         (f90-beginning-of-block):
13951         * progmodes/fortran.el (fortran-end-of-block)
13952         (fortran-beginning-of-block):
13953         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
13954         * progmodes/python.el (python-describe-symbol, python-shell):
13955         * term/ns-win.el (ns-print-buffer):
13956         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
13957         * textmodes/flyspell.el (flyspell-mode-on):
13958         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
13959         (pages-directory-for-addresses):
13960         * textmodes/table.el (table-recognize-cell)
13961         (table-query-dimension, table-generate-source)
13962         (table-insert-sequence, table--warn-incompatibility):
13963         * textmodes/tex-mode.el (tex-validate-buffer):
13964         * textmodes/texinfmt.el (texinfmt-version)
13965         (texinfo-format-buffer):
13966         Use `called-interactively-p' instead of `interactive-p'.
13968 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
13970         * image-mode.el (image-toggle-display):
13971         * emacs-lisp/elp.el (elp-instrument-function):
13972         * emacs-lisp/advice.el (ad-make-advised-definition):
13973         * emacs-lisp/easy-mmode.el (define-minor-mode):
13974         * net/browse-url.el (browse-url-maybe-new-window):
13975         * progmodes/sh-script.el (sh-learn-buffer-indent):
13976         Pass new argument 'any to `called-interactively-p'.
13978 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
13980         * international/uni-bidi.el:
13981         * international/uni-category.el:
13982         * international/uni-combining.el:
13983         * international/uni-comment.el:
13984         * international/uni-decimal.el:
13985         * international/uni-decomposition.el:
13986         * international/uni-digit.el:
13987         * international/uni-lowercase.el:
13988         * international/uni-mirrored.el:
13989         * international/uni-name.el:
13990         * international/uni-numeric.el:
13991         * international/uni-old-name.el:
13992         * international/uni-titlecase.el:
13993         * international/uni-uppercase.el:
13994         Regenerate from Unicode 5.2.0 data.
13996 2009-10-01  Glenn Morris  <rgm@gnu.org>
13998         * Makefile.in (ELCFILES): Regenerate.
14000 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14002         * subr.el (interactive-p): Mark obsolete.
14003         (called-interactively-p): Make the optional-ness of `kind' obsolete.
14004         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14005         advertised-signature-table for subroutines as well.
14007         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14008         (set-advertised-calling-convention): New function.
14009         (make-obsolete, define-obsolete-function-alias)
14010         (make-obsolete-variable, define-obsolete-variable-alias):
14011         Make the optional-ness of `when' obsolete.
14012         (define-obsolete-face-alias): Make `when' non-optional.
14013         * help-fns.el (help-function-arglist):
14014         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14015         Use advertised-signature-table.
14017 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
14019         * files.el (delete-directory): New defun.  The original function
14020         in fileio.c has been renamed to `delete-directory-internal'.
14022         * dired.el (dired-delete-file): Call `delete-directory' with
14023         RECURSIVE parameter.
14025         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14026         parameter RECURSIVE.  Implementation is missing.
14028         * net/tramp.el (tramp-handle-make-directory): Flush upper
14029         directory's file properties.
14030         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14031         (tramp-handle-dired-recursive-delete-directory): Flush directory
14032         properties after the remove command only.
14034         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14035         Handle optional parameter RECURSIVE.
14037         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14038         Handle optional parameter RECURSIVE.
14040         * net/tramp-smb.el (tramp-smb-errors): Add error message for
14041         connection timeout.
14042         (tramp-smb-handle-delete-directory): Handle optional parameter
14043         RECURSIVE.
14045 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14047         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14048         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14049         (byte-compile-defmacro): Use backquotes.
14051         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14053         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14054         has no associated file.
14055         (vc-resynch-buffer): Use vc-dir-buffers.
14057 2009-10-01  Glenn Morris  <rgm@gnu.org>
14059         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14060         (chart-file-count):
14061         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14062         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14063         * emacs-lisp/eieio-opt.el (eieio-describe-class):
14064         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14065         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14066         (eieio-copy-parents-into-subclass, make-instance, class-children)
14067         (eieio-generic-form):
14069         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14070         match-data.  (Bug#4555).
14072         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14073         rather than parsing it as a regexp.  This relaxes the layout
14074         requirements and makes errors easier to detect.
14075         (check-declare-verify): Check file is regular.
14076         (check-declare-directory): Doc fix.
14077         * subr.el (declare-function): Doc fix.
14079         * ibuffer.el (ibuffer-format-qualifier):
14080         * isearch.el (hi-lock-regexp-okay):
14081         * calc/calc.el (math-zerop):
14082         * mail/uce.el (rmail-msgbeg, rmail-msgend):
14083         * term/w32-win.el (setup-default-fontset, set-fontset-font):
14084         Remove unused declarations.
14086 2009-09-30  Eric Ludlam  <zappo@gnu.org>
14088         * emacs-lisp/eieio.el (boolean-p): Delete.
14090 2009-09-30  Glenn Morris  <rgm@gnu.org>
14092         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14094         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14095         filename is not a string.
14097 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
14099         * files.el (safe-local-eval-forms): Fix typo.
14101 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14103         * vc-hooks.el (vc-dir-buffers): New var.
14104         (vc-state-refresh): New function.
14105         (vc-state): Use it.
14106         (vc-after-save): Always ask the backend to recompute the new state.
14107         Always call vc-dir if necessary, using vc-dir-buffers.
14108         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14109         Use vc-dir-buffers.
14110         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14111         (vc-dir-prepare-status-buffer, vc-dir-update)
14112         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14113         Don't call expand-file-name on default-directory.
14115 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14117         * speedbar.el (speedbar-item-delete):
14118         * calc/calc-prog.el (calc-kbd-if):
14119         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14121         * epa.el (epa-key-list-mode-map):
14122         * hi-lock.el (hi-lock-menu): Fix typos in menus.
14124         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14125         (hs-show-hook): Fix typo in docstring.
14127 2009-09-29  Glenn Morris  <rgm@gnu.org>
14129         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14130         file-name-nondirectory call preventing location of cedet files.
14131         (check-declare-verify): Use literal search rather than re-search.
14132         Add basic defmethod and defclass, and define-overloadable-function.
14134         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14135         Use tramp-compat-file-attributes rather than nonexistent
14136         tramp-compat-handle-file-attributes.
14138         * Makefile.in (lisptagsfiles4): New.
14139         (AUTOGENEL): Add cedet loaddefs files.
14140         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14141         (update-elclist, compile-always, backup-compiled-files)
14142         (bootstrap-clean): Add yet another directory level.
14143         (update-elclist): Use LC_COLLATE rather than COLLATE.
14144         (ELCFILES): Update, via `make update-elclist'.
14146 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14148         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14149         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14150         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14152 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14154         * Makefile.in (lisptagsfiles3): Define.
14155         (TAGS, TAGS-LISP): Use it.
14156         (update-elclist): Add third directory level to look for elc files.
14157         (compile-always): Likewise.
14158         (backup-compiled-files): Likewise.
14159         (bootstrap-clean): Likewise.
14160         (ELCFILES): Update.
14162 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
14164         * Makefile.in (ELCFILES): Add CEDET files.
14166 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
14168         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14170         * net/tramp.el (top): Require tramp-imap.
14172         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14173         Use `tramp-compat-handle-file-attributes'.
14175 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
14177         * net/tramp-imap.el: New package.
14179 2009-09-28  Eric Ludlam  <zappo@gnu.org>
14181         * emacs-lisp/chart.el:
14182         * emacs-lisp/eieio-base.el:
14183         * emacs-lisp/eieio-comp.el:
14184         * emacs-lisp/eieio-custom.el:
14185         * emacs-lisp/eieio-datadebug.el:
14186         * emacs-lisp/eieio-opt.el:
14187         * emacs-lisp/eieio-speedbar.el:
14188         * emacs-lisp/eieio.el: New files.
14190 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14192         * whitespace.el (whitespace-trailing-regexp)
14193         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14194         Fix doc string.
14196 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
14198         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14199         menu.
14201         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14202         menu-bar-ediff-menu.
14204         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14205         define-overloadable-function.
14207         * progmodes/autoconf.el: Provide autoconf as well, so that this
14208         file can be `require'd.
14210         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14212         * emacs-lisp/autoload.el (generated-autoload-feature)
14213         (generated-autoload-load-name): New vars.
14214         (autoload-rubric, autoload-generate-file-autoloads): Use them.
14215         (make-autoload): Recognize define-overloadable-function and
14216         defclass forms (for EIEIO).
14218         * Makefile.in (update-subdirs): Exclude cedet directory.
14220 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
14222         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
14224         * faces.el: Default light-background background for region face to
14225         ns_selection_color under NS.
14227 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
14229         * net/imap-hash.el: New library, see NEWS.
14231         * Makefile.in (ELCFILES): Add imap-hash.el.
14233 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14235         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14236         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14237         * help-macro.el (make-help-screen): Avoid using an ambiguous function
14238         definition where the docstring could be taken for the return value.
14240 2009-09-26  Glenn Morris  <rgm@gnu.org>
14242         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14243         Add option to only show images below a certain size.
14244         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14245         save-excursion calls.
14247 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
14249         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14250         subdirectories) and eieio.
14252 2009-09-26  Alan Mackenzie  <acm@muc.de>
14254         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14255         buggy bracketing.  (Bug#4289)
14257         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14258         character constants (as case labels).  (Bug#4289)
14260 2009-09-25  Juri Linkov  <juri@jurta.org>
14262         * files.el (safe-local-eval-forms): Allow time-stamp in
14263         before-save-hook (Bug#4554).
14265 2009-09-25  Drew Adams  <drew.adams@oracle.com>
14267         * menu-bar.el (list-buffers-directory): Doc fix.
14269 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14271         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14272         Try and avoid copying twice the same paragraph.
14273         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14274         Remove save-excursion.
14275         (log-edit-changelog-entry): Do it here instead.
14277 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
14279         * bs.el (bs--get-file-name): Use `list-buffers-directory'
14280         when available, instead of hardcoding mode names.  Doc fix.
14282         * menu-bar.el (list-buffers-directory): Add docstring.
14283         Make automatically buffer-local.
14285         * dired.el (dired-mode):
14286         * files.el (cd-absolute):
14287         * pcvs.el (cvs-temp-buffer):
14288         * pcvs-util.el (cvs-get-buffer-create):
14289         * shell.el (shell-mode):
14290         * vc-dir.el (vc-dir-mode):
14291         Don't make `list-buffers-directory' buffer local.
14293 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
14295         * comint.el (comint-exec, comint-run, make-comint):
14296         Doc fixes (Bug#4542).
14298 2009-09-25  Glenn Morris  <rgm@gnu.org>
14300         * mail/rmailmm.el (rmail-mime): New custom group.
14301         Move all defcustoms in this file into this group.
14302         (rmail-mime-media-type-handlers-alist): Revert previous change.
14303         (rmail-mime-show-images): New option.
14304         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14305         references to it, since it wasn't actually used for anything.
14306         (rmail-mime-insert-image): New function.
14307         (rmail-mime-image): Use rmail-mime-insert-image.
14308         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14309         obey the value of `rmail-mime-show-images' option.  Print the size of
14310         attachments.
14312 2009-09-25  David Engster  <deng@randomsample.de>
14314         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
14316 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14318         * whitespace.el: Does not highlight trailing spaces While point is
14319         at end of line.  Does not highligt spaces at beginning of buffer
14320         while point is at beginning of buffer.  Does not highlight spaces
14321         at end of buffer while point is at end of buffer.  (Bug#4177)
14322         New version 12.0.
14323         (whitespace-display-mappings): Adjust initialization.
14324         (whitespace-point, whitespace-font-lock-refontify): New vars.
14325         (whitespace-color-on, whitespace-color-off): Adjust code.
14326         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14327         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14328         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14330 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
14332         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14334         * textmodes/sgml-mode.el: Remove xml-mode alias.
14336         * files.el (auto-mode-alist, conf-mode-maybe)
14337         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14339 2009-09-24  Alan Mackenzie  <acm@muc.de>
14341         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14342         c-forward-conditionals, but it doesn't move point and doesn't set
14343         the mark.
14344         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14345         (c-down-conditional-with-else, c-backward-conditional)
14346         (c-forward-conditional): Refactor to use c-scan-conditionals.
14348 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14350         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14351         (help-default-arg-highlight): Remove.
14352         (help-highlight-arg): New function.
14353         (help-do-arg-highlight): Use it.
14354         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
14356 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14358         * term.el (term-set-scroll-region, term-handle-ansi-escape):
14359         Undo last change, which didn't fix the problem and introduced others.
14361 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
14363         * progmodes/gdb-mi.el: Don't require speedbar.
14364         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14366 2009-09-24  Glenn Morris  <rgm@gnu.org>
14368         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14370         * term/ns-win.el (ns-reg-to-script): Define for compiler.
14372         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14373         there is no newline after the final mime boundary.  (Bug#4539)
14374         Move markers on insertion so that any buttons inserted don't end up in
14375         the next part of a multipart message.
14376         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
14377         (rmail-mime-bulk-handler): Optionally handle images.
14378         (rmail-mime-image): New button action.
14379         (rmail-mime-image-handler): New function.
14380         (rmail-mime-mode): New mode.
14381         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
14383 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14385         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14386         than just dropping elements from it (bug#4504).
14388         * term.el (term-set-scroll-region): Don't move cursor any more.
14389         (term-handle-ansi-escape): Call term-goto here instead.
14390         Suggested by Ivan Kanis <apple@kanis.eu>.
14392         * term.el: Require CL.
14393         (term-ansi-reset): New function.
14394         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14395         (term-handle-colors-array): Simplify.
14397 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14399         * allout.el (allout-overlay-interior-modification-handler)
14400         (allout-obtain-passphrase):
14401         * epa-file.el (epa-file-write-region):
14402         * ps-print.el (ps-begin-job):
14403         * vc-hooks.el (vc-toggle-read-only):
14404         * vc-rcs.el (vc-rcs-rollback):
14405         * vc-sccs.el (vc-sccs-rollback):
14406         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14407         (vc-version-diff, vc-revert, vc-rollback):
14408         * wdired.el (wdired-check-kill-buffer):
14409         * emacs-lisp/authors.el (authors):
14410         * net/socks.el (socks-open-connection):
14411         * net/zeroconf.el (zeroconf-service-add-hook):
14412         * obsolete/vc-mcvs.el (vc-mcvs-register):
14413         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14414         (gdb-select-frame):
14415         * progmodes/grep.el (lgrep, rgrep):
14416         * progmodes/idlw-help.el (idlwave-help-check-locations)
14417         (idlwave-help-html-link, idlwave-help-assistant-open-link):
14418         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14419         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14420         (reftex-toc-rename-label): Fix typos in error messages.
14422         * dired-aux.el (dired-do-shell-command): Reflow docstring.
14423         (dired-copy-how-to-fn): Doc fix.
14424         (dired-files-attributes, dired-read-shell-command):
14425         Fix typos in docstrings.
14427         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14428         (dired-x-find-file-other-window): Reflow docstrings.
14429         (dired-omit-marker-char, dired-read-shell-command)
14430         (dired-x-submit-report): Fix typos in docstrings.
14432         * shell.el (shell-mode-hook):
14433         * view.el (View-scroll-line-forward):
14434         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14435         Fix typos in docstrings.
14437         * net/dig.el (dig-invoke): Fix typo in docstring.
14438         (query-dig): Reflow docstring.
14440         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14441         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14442         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14443         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14444         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14445         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14446         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14447         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14448         (idlwave-completion-map, idlwave-current-indent)
14449         (idlwave-custom-ampersand-surround, idlwave-customize)
14450         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14451         (idlwave-define-abbrev, idlwave-determine-class-special)
14452         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14453         (idlwave-end-block-reg, idlwave-end-of-statement)
14454         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14455         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14456         (idlwave-explicit-class-listed, idlwave-file-header)
14457         (idlwave-fill-paragraph, idlwave-find-class-definition)
14458         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14459         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14460         (idlwave-in-quote, idlwave-indent-action-table)
14461         (idlwave-indent-expand-table, idlwave-indent-line)
14462         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14463         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14464         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14465         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14466         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14467         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14468         (idlwave-outlawed-buffers, idlwave-popup-select)
14469         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14470         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14471         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14472         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14473         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14474         (idlwave-statement-type, idlwave-struct-skip)
14475         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14476         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14477         (idlwave-what-module-find-class): Fix typos in docstrings.
14478         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14479         (idlwave-calculate-cont-indent, idlwave-expand-equal)
14480         (idlwave-find-module, idlwave-find-structure-definition)
14481         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14482         (idlwave-list-load-path-shadows, idlwave-next-statement)
14483         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14484         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14485         (idlwave-template): Reflow docstrings.
14487         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14488         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14489         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14490         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14491         (idlwave-shell-display-line, idlwave-shell-display-wframe)
14492         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14493         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14494         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14495         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14496         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14497         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14498         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14499         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14500         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14501         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14502         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14503         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14504         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14505         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14506         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14507         Fix typos in docstrings.
14508         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14509         (idlwave-shell-hide-output, idlwave-shell-mode)
14510         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14511         Reflow docstrings.
14513         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14515 2009-09-24  Ivan Kanis  <apple@kanis.eu>
14517         * term.el (term-bold-attribute): New var.
14518         (term-handle-colors-array): Use it.
14520 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
14522         * progmodes/gdb-mi.el (gdb-version): New variable.
14523         (gdb-non-stop-handler): Set gdb-version.
14524         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14525         Condition "--thread" option on gdb-version.
14526         (gdb-invalidate-threads): Remove unused argument.
14528 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14530         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14531         to looking-back to avoid ridiculous slow down in large files (bug#4511).
14533 2009-09-23  Glenn Morris  <rgm@gnu.org>
14535         * mail/rmail.el (rmail-reply): Don't try to add a References header when
14536         replying to mail without References or Message-Id.  (Bug#4525)
14538 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
14540         * term/ns-win.el (ns-reg-to-script): New variable.
14542 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
14544         * epg.el (epg-wait-for-status): Preserve existing 'error results.
14546 2009-09-22  Sam Steingold  <sds@gnu.org>
14548         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14549         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14550         to 1 because hg returns status 1 when nothing is found.
14551         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14553 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14555         * textmodes/fill.el: Convert to utf-8 encoding.
14556         (fill-french-nobreak-p): Remove redundant » and « inherited from our
14557         pre-Unicode days.
14559         * add-log.el (change-log-fill-forward-paragraph): New function.
14560         (change-log-mode): Use it so fill-region DTRT.
14561         Set fill-indent-according-to-mode here rather than in
14562         change-log-fill-paragraph.
14563         (change-log-fill-paragraph): Remove.
14565 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
14567         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14568         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
14570 2009-09-22  Glenn Morris  <rgm@gnu.org>
14572         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14573         the scroll-bar scroll the calendar window rather than the buffer.
14575         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14576         commands that move point (as opposed to scrolling).
14578         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14580         * emacs-lisp/elint.el (elint): New custom group.
14581         (elint-log-buffer): Make it a defcustom.
14582         (elint-scan-preloaded, elint-ignored-warnings)
14583         (elint-directory-skip-re): New options.
14584         (elint-builtin-variables): Doc fix.
14585         (elint-preloaded-env): New variable.
14586         (elint-unknown-builtin-args): Add an entry for encode-time.
14587         (elint-extra-errors): Make it a variable rather than a constant.
14588         (elint-preloaded-skip-re): New constant.
14589         (elint-directory): Skip files matching elint-directory-skip-re.
14590         (elint-features): New variable, local to linted buffers.
14591         (elint-update-env): Initialize elint-features.  Possibly add
14592         elint-preloaded-env to the buffer's environment.
14593         (elint-get-top-forms): Bind elint-current-pos, for log messages.
14594         Skip quoted forms.
14595         (elint-init-form): New function, extracted from elint-init-env.
14596         Make non-list forms a warning rather than an error.
14597         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
14598         easy-menu-define, put that adds an error-condition, and provide.
14599         When requiring cl, also require cl-macs.  Really require cl, to handle
14600         some cl macros.  Store required libraries in the list elint-features,
14601         so as not to re-load them.  Treat cc-require like require.
14602         (elint-init-env): Call elint-init-form to do the work.
14603         Handle eval-and-compile and such like.
14604         (elint-add-required-env): Do not clear messages.
14605         (elint-special-forms): Add handlers for function, defalias, if, when,
14606         unless, and, or.
14607         (elint-form): Add optional argument to ignore elint-special-forms,
14608         useful to prevent recursive calls from handlers.  Doc fix.
14609         Respect elint-ignored-warnings.
14610         (elint-form): Respect elint-ignored-warnings.
14611         (elint-bound-variable, elint-bound-function): New variables.
14612         (elint-unbound-variable): Respect elint-bound-variable.
14613         (elint-get-args): Respect elint-bound-function.
14614         (elint-check-cond-form): Add some simple handling for (f)boundp and
14615         featurep tests.
14616         (elint-check-defalias-form): New handler.
14617         (elint-check-let-form): Make an empty let a warning rather than an
14618         error.
14619         (elint-check-setq-form): Make an empty setq a warning rather than an
14620         error.  Respect elint-ignored-warnings.
14621         (elint-check-defvar-form): Accept null doc-strings.
14622         (elint-check-conditional-form): New handler.  Does some simple-minded
14623         checking of featurep and (f)boundp tests.
14624         (elint-put-function-args): New function.
14625         (elint-initialize): Use elint-scan-doc-file rather than
14626         elint-find-builtin-variables.  Use elint-put-function-args.
14627         Possibly scan preloaded-file-list.
14628         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14629         extend to handle functions as well.
14631 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
14633         * linum.el (linum-delete-overlays, linum-update-window):
14634         Do not modify the right margin.  (Bug#3971)
14636 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
14638         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14639         nxml-mode instead of xml-mode.
14641 2009-09-21  Kevin Ryde  <user42@zip.com.au>
14643         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
14645 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14647         * net/dig.el (dig-mode): Use define-derived-mode.
14649 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
14651         * vc-dispatcher.el (vc-do-command): Return the process object in
14652         the asynchronous case.  Use when instead of if.  Do not run
14653         vc-exec-after to display a message if not enabled.  (Bug#4463)
14655         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14656         properties to the stash strings.
14657         (vc-git-stash-list): Return a list of strings.
14658         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14659         (vc-git-stash-show-at-point): New functions.
14660         (vc-git-stash-map): New keymap.
14662         * register.el (ctl-x-r-map): Define the keys here instead of
14663         using autoload.
14665 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
14667         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
14668         list, to workaround performance problem (bug#4485).
14670 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
14672         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
14674 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
14676         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14677         Document that this option is not recommended to use.
14679 2009-09-19  Glenn Morris  <rgm@gnu.org>
14681         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
14682         variable `var'.
14684         * calc/calc-alg.el (var):
14685         * calc/calcalg2.el (var): Define for compiler.
14687 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
14689         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
14690         Doc fix (Bug#3932).
14692         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
14694         * time-stamp.el (time-stamp-month-dd-yyyy)
14695         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
14696         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
14697         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
14698         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
14699         Remove functions that have been obsolete since 1995 (Bug#4436).
14701         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
14702         indent buffer only if called interactively (Bug#4452).
14704 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
14705             Eli Zaretskii  <eliz@gnu.org>
14707         This fixes bug#4197 (merged to bug#865, though not identical).
14708         * server.el (server-auth-dir): Add docstring note about FAT32.
14709         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
14710         but warn against using them.
14712 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
14714         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
14715         older GDB where there is no has_more field.
14717 2009-09-19  Glenn Morris  <rgm@gnu.org>
14719         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
14721 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
14723         * files.el (auto-mode-alist): Change default for XML files to nXML
14724         mode (Bug#4169).
14726 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
14728         * server.el (server-ensure-safe-dir): Pass 'integer
14729         to `file-attributes', as suggested.
14731 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14733         * dired-aux.el (dired-query-alist): Remove spurious backslash.
14734         (dired-query): Use read-key.
14736 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
14738         * cus-start.el (ns-use-qd-smoothing): Remove.
14740 2009-09-18  Glenn Morris  <rgm@gnu.org>
14742         * allout.el (top-level): Remove unnecessary progn.
14744         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14746         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14747         definition of abbrev table.
14749         * speedbar.el (speedbar-track-mouse):
14750         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14751         * net/eudc.el (eudc-expand-inline):
14752         * net/newst-backend.el (newsticker--cache-read-feed):
14753         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14754         condition-case handlers.
14756 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
14758         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14759         (gdb-var-list): Add an element for has_more field.
14760         (gdb-non-stop-handler): Enable pretty printing for STL containers.
14761         (gdb-var-create-handler, gdb-var-list-children-handler-1)
14762         (gdb-var-update-handler-1): Parse output of dynamic variable
14763         objects (STL containers).
14764         (gdb-var-delete-1): Pass var1 as an explicit second argument.
14765         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
14767         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14768         gdb-var-list.
14769         (gud-speedbar-buttons): Make node expandable if expression "has more"
14770         children.
14772 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
14774         * startup.el (emacs-quick-startup): Remove variable and all uses.
14775         (command-line): Set `inhibit-x-resources' instead.
14776         (command-line-1): Use `inhibit-x-resources' instead.
14778 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
14780         * subr.el: Fix last change to avoid using the `unless' macro,
14781         which breaks bootstrapping.
14783 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14785         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14786         extended definitions, in case we reload subr.el after having
14787         loaded CL.
14788         (eval-next-after-load): Mark as obsolete.
14790 2009-09-17  Juri Linkov  <juri@jurta.org>
14792         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14793         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
14794         (menu-bar-showhide-menu, menu-bar-tools-menu)
14795         (menu-bar-describe-menu, menu-bar-help-menu)
14796         (minibuffer-local-completion-map, minibuffer-local-map):
14797         Fix list quoting.
14799 2009-09-17  Glenn Morris  <rgm@gnu.org>
14801         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
14802         arguments, whether or not it has a handler.
14804         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
14806         * simple.el (hard-newline): Give it a doc-string.
14808         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14809         (lisp-mode-syntax-table): Give them doc-strings.
14811 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
14813         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
14814         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
14815         (menu-bar-options-menu, menu-bar-showhide-menu)
14816         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
14817         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
14818         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
14819         (menu-bar-options-menu, menu-bar-tools-menu)
14820         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
14821         (menu-bar-help-menu):
14822         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
14823         string arguments.
14825         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
14826         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
14827         calls for the menu names and :help.
14829 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14831         * mouse.el (minor-mode-menu-from-indicator): Pay attention
14832         to :minor-mode-function (bug#4455).
14834 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14836         * startup.el (command-line): Initialize the window-system after
14837         processing the command-line.
14839         * textmodes/page.el (what-page): Make sure we don't inf-loop if
14840         page-delimiter matches the empty string.
14842 2009-09-16  Glenn Morris  <rgm@gnu.org>
14844         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
14845         byte-compile-not-obsolete-var.  It's a list now.
14846         (byte-compile-not-obsolete-funcs): New variable.
14847         (byte-compile-warn-obsolete): Don't warn about functions if they are in
14848         byte-compile-not-obsolete-funcs.
14849         (byte-compile-variable-ref, byte-compile-defvar): Update for
14850         byte-compile-not-obsolete-vars name-change and list nature.
14851         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
14852         and variables behind (f)boundp tests.
14853         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
14855 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
14857         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
14859 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14861         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
14862         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
14863         Don't autoload.
14865 2009-09-15  Stephen Eglen  <stephen@gnu.org>
14867         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
14868         the virtual-buffers, use the name of the buffer specified by
14869         find-file-noselect, as the match may be a symlink.  (This was a
14870         problem if the target and the symlink had different names.)
14872 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14874         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
14876         * desktop.el (desktop-path): Check user-emacs-directory.
14878         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
14880         * loadup.el: Use after-load-functions to GC after loading each file.
14881         Remove the explicit GC calls that used to be sprinkled around.
14883         * subr.el (after-load-functions): New hook.
14884         (do-after-load-evaluation): Run it.  Use string-match-p to detect
14885         `obsolete' packages, rather than painfully extracting the relevant
14886         directory name.
14888 2009-09-15  Glenn Morris  <rgm@gnu.org>
14890         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
14891         free variable `doc'.
14893         * dired.el (dired-mode-map): Add menu entry for async shell command.
14895         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
14896         variables, also consider the .elc files, since the .el files are
14897         normally gzipped (subsequent code locates the .el.gz from the .elc).
14899         * calc/calc-prog.el (arglist): Define for compiler.
14901         * calendar/diary-lib.el (diary-display-function): Change the default to
14902         fancy display.
14903         (body): Define for compiler.
14905         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
14906         (byte-compile-file-form, byte-compile-lambda)
14907         (byte-compile-top-level-body, byte-compile-form)
14908         (byte-compile-variable-ref, byte-compile-setq)
14909         (byte-compile-setq-default, byte-compile-body)
14910         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
14911         (batch-byte-compile): Give some more local variables with common names
14912         a "bytecomp-" prefix to avoid masking warnings about free variables.
14914         * startup.el (command-line-1): Give local variables with common names a
14915         distinguishing prefix, so as not to hide free variable warnings during
14916         bootstrap.
14918         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
14919         clever and add a suffix to make a unique name, just let the user decide
14920         whether or not to overwrite it.  If the input is a directory, write the
14921         default filename to that directory.  (Bug#4388)
14922         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
14923         is a filename-as-a-directory.
14925 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14927         * textmodes/page.el (what-page): Don't move to beginning of line.
14928         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
14930 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
14932         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
14934 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
14936         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
14937         * help.el (help-for-help-internal): Add purecopy calls for text.
14939         * vc.el (top): print-log method now takes an optional SHORTLOG
14940         argument.  Add a new method: root.
14941         (vc-root-diff, vc-print-root-log): New functions.
14942         (vc-log-short-style): New variable.
14943         (vc-print-log-internal): Add support for showing short logs.
14945         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
14946         vc-print-root-log and vc-print-root-diff.
14948         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
14949         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
14950         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
14951         short logs.
14953         * vc-cvs.el (vc-cvs-print-log):
14954         * vc-mtn.el (vc-mtn-print-log):
14955         * vc-rcs.el (vc-rcs-print-log):
14956         * vc-sccs.el (vc-sccs-print-log):
14957         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
14958         that is ignored for now.
14960         * vc-mtn.el (vc-mtn-annotate-command):
14961         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
14963 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14965         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
14966         to function-key-map, and give them ascii-character property.
14967         * term/x-win.el (x-alternatives-map):
14968         * term/ns-win.el (ns-alternatives-map):
14969         * term/internal.el (msdos-key-remapping-map):
14970         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
14972 2009-09-14  Glenn Morris  <rgm@gnu.org>
14974         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
14975         temp-buffers (2009-09-12).
14977 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14979         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
14980         the new read-key function.
14982 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
14984         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
14985         is defined (Bug#4405).
14987 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
14989         * recentf.el (recentf-cleanup): Use a hash table to find
14990         duplicates (Bug#4407).
14992 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
14994         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
14995         kp-0 to ascii equivalents (Bug#4325).
14997 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
14999         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15001         * eshell/em-hist.el:
15002         * eshell/em-dirs.el (eshell-complete-user-reference):
15003         Declare pcomplete functions and variables to avoid compiler warnings.
15005 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
15007         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15008         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15009         * eshell/em-alias.el (eshell-aliases-file):
15010         * eshell/em-hist.el (eshell-history-file-name):
15011         Use expand-file-name instead of concat to make file names (Bug#4308).
15013 2009-09-13  Glenn Morris  <rgm@gnu.org>
15015         * ediff-merg.el (ediff-do-merge):
15016         * filesets.el (filesets-run-cmd):
15017         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15018         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15019         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15020         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15021         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15022         Replace empty `let's with `progn'.
15024 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15026         * mail/sendmail.el (send-mail-function):
15027         * tooltip.el (tooltip-mode):
15028         * simple.el (transient-mark-mode):
15029         * rfn-eshadow.el (file-name-shadow-mode):
15030         * frame.el (blink-cursor-mode):
15031         * font-core.el (global-font-lock-mode):
15032         * files.el (temporary-file-directory)
15033         (small-temporary-file-directory, auto-save-file-name-transforms):
15034         * epa-hook.el (auto-encryption-mode):
15035         * composite.el (global-auto-composition-mode):
15036         Use custom-initialize-delay.
15037         * startup.el (command-line): Don't explicitly call
15038         custom-reevaluate-setting for all the above vars.
15039         * custom.el (custom-initialize-safe-set)
15040         (custom-initialize-safe-default): Delete.
15042 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15044         * term/x-win.el (x-initialize-window-system):
15045         * term/w32-win.el (w32-initialize-window-system):
15046         * term/ns-win.el (ns-initialize-window-system): Don't call
15047         mouse-wheel-mode since it's enabled globally by default already.
15049         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15050         actually define the variable, but only silences the byte-compiler.
15051         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15052         before looking it up.
15053         (mouse-wheel-scroll-amount): Also reset the bindings if this value
15054         is changed.
15056 2009-09-12  Glenn Morris  <rgm@gnu.org>
15058         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15059         1000.
15060         (elint-add-required-env): Don't beep on error.
15061         (elint-forms): In case of error, return ENV unchanged.
15062         (elint-init-env): Skip non-list forms.
15063         (elint-log): Handle unknown file positions.
15065 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
15067         * epg.el (epg-make-context): Add autoload cookie.
15068         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15069         (epg-decrypt-string, epg-start-verify, epg-verify-file)
15070         (epg-verify-string, epg-start-sign, epg-sign-file)
15071         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15072         (epg-encrypt-string, epg-start-export-keys)
15073         (epg-export-keys-to-file, epg-export-keys-to-string)
15074         (epg-start-import-keys, epg-import-keys-from-file)
15075         (epg-import-keys-from-string, epg-start-receive-keys)
15076         (epg-receive-keys, epg-import-keys-from-server)
15077         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15078         (epg-sign-keys, epg-start-generate-key)
15079         (epg-generate-key-from-file, epg-generate-key-from-string):
15080         Remove autoload cookie.
15082 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
15084         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15085         reevaluation of trash-directory.
15087         * mwheel.el: Fix last change.
15088         (mouse-wheel-mode): New defvar.
15089         (mouse-wheel-mode): Remove autoload cookie.
15091 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15093         * mwheel.el (mwheel-installed-bindings): New var.
15094         (mouse-wheel-mode): Use it, so as to make sure we really remove all
15095         the bindings we set last time.  Use custom-initialize-delay.
15096         * loadup.el: Load mwheel after term/*-win.el.
15097         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15098         and mouse-wheel-up-event now that their first evaluation is done
15099         sufficiently late to be correct.
15101         * startup.el (tutorial-directory): Make it a defcustom.
15102         Use custom-initialize-delay rather than eval-at-startup to set it.
15103         * image.el (image-load-path): Make it a defcustom.
15104         Use custom-initialize-delay rather than eval-at-startup to set it.
15105         * subr.el (eval-at-startup): Remove.
15106         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15108         * subr.el (do-after-load-evaluation): Warn the user after loading an
15109         obsolete package.
15111 2009-09-12  Glenn Morris  <rgm@gnu.org>
15113         * proced.el (proced-mark-alt): Remove alias.
15114         (proced-mode-map): Remove proced-mark-alt.
15116         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15117         Elint file and directory.  Remove initialization entry.
15119         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15120         commands.
15121         (elint-current-buffer): Set mode-line-process.
15122         (elint-init-env): Handle define-derived-mode.
15123         Fix declare-function with unspecified arglist.  Guard against odd
15124         defalias statements (eg iso-insert's 8859-1-map).
15125         (elint-add-required-env): Use a temp buffer.
15126         (elint-form): Just print the function/macro name, not the whole form.
15127         Return env unchanged if we fail to parse a macro.
15128         (elint-forms): Guard against parse errors.
15129         (elint-output): New function, to handle batch mode.
15130         (elint-log-message): Add optional argument.  Use elint-output.
15131         (elint-set-mode-line): New function.
15133 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15135         * emacs-lisp/elp.el (elp-not-profilable): Add more
15136         functions (Bug#4233).
15138 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
15140         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15141         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15143 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15145         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15146         (gdb-var-list-children): Use json parsing.
15148 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
15150         * progmodes/js.el (js--proper-indentation): Handle the case where
15151         char-before is null.  Reported by Deniz Dogan.
15153 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15155         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15157 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
15159         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15160         (epg-digest-algorithm-alist): Add SHA224.
15161         (epg-context-set-passphrase-callback)
15162         (epg-context-set-progress-callback): Add description about
15163         callback function.
15165 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15167         * custom.el (custom-delayed-init-variables): New var.
15168         (custom-initialize-delay): New function.
15169         * startup.el (command-line): "Re"evaluate all vars in
15170         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
15171         explicitly any more.
15172         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15173         to avoid creating a ~/.emacs.d at build-time (bug#4347).
15175         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15177 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15179         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15180         (gdb-var-update-handler): Use json parsing.
15182 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15184         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15185         decode annotated text, regardless of language environment.  (Bug#2741)
15187 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15189         * Makefile.in (autoloads): Make rmail.el writable as well.
15191 2009-09-11  Glenn Morris  <rgm@gnu.org>
15193         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15194         loaddefs.el.
15195         * dired.el: Regenerate with extracted autoloads.
15196         * Makefile.in (autoloads): Make dired.el writable.
15198         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15199         * ibuffer.el: Regenerate with extracted autoloads.
15200         * Makefile.in (autoloads): Make ibuffer.el writable.
15202         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15203         * version.el (emacs-copyright, emacs-major-version)
15204         (emacs-minor-version): Reformat doc-strings for make-docfile.
15206         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15207         functions and variables, since they must be stuff specific to some other
15208         platform.
15209         (apropos-print): Make mouse-click message less specific about button.
15211         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15212         that records where a macro was defined.
15213         * help-fns.el (describe-function-1): Mention if a function has a
15214         compiler-macro.
15215         * help-mode.el (help-function-cmacro): New button.
15217         * locate.el (top-level): Always require dired.
15218         (locate-mode-map): Initialize inside the defvar.
15220         * net/ange-ftp.el (dired-compress-file): Declare.
15221         (ange-ftp-dired-compress-file): Add doc string.
15223         * term/ns-win.el (x-display-name, x-setup-function-keys):
15224         Unify doc-strings with X versions.
15226 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15228         * emulation/crisp.el (crisp-mode-map): Move initialization
15229         into declaration.
15230         (crisp-mode): Use define-minor-mode.
15232         * progmodes/xscheme.el (xscheme-evaluation-commands):
15233         Put a :advertised-binding property rather than using
15234         advertised-xscheme-send-previous-expression.
15235         (advertised-xscheme-send-previous-expression): Declare obsolete.
15236         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15237         `advertised-undo'.
15238         (crisp-mode): Add corresponding bindings to
15239         undo's :advertised-binding instead.
15240         * dired.el (dired-mode-map): Put a :advertised-binding property rather
15241         than using dired-advertised-find-file.
15242         (dired-advertised-find-file):
15243         * simple.el (advertised-undo):
15244         * wid-edit.el (advertised-widget-backward): Declare obsolete.
15245         (widget-keymap): Put a :advertised-binding property rather
15246         than using advertised-widget-backward.
15247         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15248         than using advertised-undo.
15249         * tutorial.el (tutorial--default-keys): Adjust accordingly.
15251 2009-09-10  Simon South  <ssouth@slowcomputing.org>
15253         * progmodes/delphi.el (delphi-tab): Indent region when Transient
15254         Mark mode is enabled and region is active; otherwise indent or
15255         insert TAB as usual.
15256         (delphi-mode): Update description of TAB-key binding.
15258 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15260         * subr.el (define-key-rebound-commands): Mark obsolete.
15261         * startup.el (precompute-menubar-bindings): Remove.
15262         (normal-top-level): Remove obsolete code that tried to precompute
15263         menubar bindings.
15264         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15265         define-key-rebound-commands and precompute-menubar-bindings.
15267 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
15269         * net/imap.el (imap-interactive-login): Better messages.
15270         (imap-open): Fix bug with renamed buffer on reconnect.
15271         (imap-authenticate): Add buffer-local imap-last-authenticator variable
15272         for easier debugging and cleaner code.  On successful (guessed based on
15273         server capabilities) secondary authentication, set imap-state
15274         correctly.
15275         (imap-last-authenticator): Define imap-last-authenticator as a variable
15276         to avoid warnings.
15278 2009-09-10  Glenn Morris  <rgm@gnu.org>
15280         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15282         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15283         (byte-compile-file-form-autoload): Don't warn about unknown functions
15284         where the autoload statement comes after the use.
15285         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15286         that any handlers inside the body (eg require) are in turn respected.
15288         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15289         effects.
15291         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15292         and syntax and abbrev tables basic docs, if they don't have any.
15294         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15296         * international/mule-cmds.el (top-level): Require cl when compiling.
15297         (view-hello-file): Use default-value rather than
15298         default-enable-multibyte-characters.
15300         * progmodes/fortran.el: Move all safe and risky properties into the
15301         defcustoms.
15303         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15304         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15305         * mail/undigest.el:
15306         Put autoloads in rmail.el rather than loaddefs.el.
15307         * mail/rmail.el: Regenerate with extracted autoloads.
15309         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15310         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15312 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
15314         Reported in thread for Bug#4375.
15315         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15316         "-data-evaluate-expression" instead of print.
15317         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15318         (gdb-tooltip-print): Parse output from above MI command.
15319         (gdb): Revert 2009-08-11 change.  User should detach inferior
15320         manually.
15322         Remove the word "separate" from IO functions as inferior
15323         output is now never displayed in the GUD buffer.
15325 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
15327         * startup.el (command-line-normalize-file-name): On Windows and
15328         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15330 2009-09-10  Juri Linkov  <juri@jurta.org>
15332         * isearch.el (isearch-text-char-description): Propertize escape
15333         character sequences with the `escape-glyph' face.  (Bug#4344)
15335         * simple.el (shell-command): Set asynchronous process filter to
15336         `comint-output-filter'.  (Bug#4343)
15338         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15339         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
15340         the list.  Move "asm" to the bottom.
15341         (grep-find-ignored-directories): Add `choice' with nil value
15342         to empty the list easily.
15343         (grep-find-ignored-files): New option.
15344         (grep-files-history): Set to nil by default instead of '("ch" "el").
15345         (grep-compute-defaults): Add "<X>" to `grep-template'.
15346         (grep-read-files): Bind new local variables `default-alias' and
15347         `default-extension'.  Use a list of default values for the file prompt.
15348         (lgrep): Add `--exclude=' command line options composed from
15349         `grep-find-ignored-files'.
15350         (rgrep): Add `-name' command line options composed from
15351         `grep-find-ignored-files'.  (Bug#4301)
15353 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15355         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15356         (bug#4368).
15358 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
15360         * calendar/time-date.el (autoload):
15361         Expand define-obsolete-function-alias into defalias and make-obsolete
15362         for old Emacsen that Gnus supports.
15363         (with-no-warnings): Define it for old Emacsen.
15364         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15365         is available.
15366         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15367         float-time is available; suppress compile warning for time-to-seconds.
15369 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
15371         * net/imap.el (imap-message-map): Docstring fix.
15373 2009-09-09  Glenn Morris  <rgm@gnu.org>
15375         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15376         line numbers too.  (Bug#4374)
15378 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15380         * smerge-mode.el (smerge-remove-props, smerge-refine):
15381         Use with-silent-modifications (bug#4342).
15383         * subr.el (with-silent-modifications): New macro.
15385 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
15387         * files.el (top-level): Require `cl' when compiling.
15389 2009-09-07  Glenn Morris  <rgm@gnu.org>
15391         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15393         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15394         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
15396 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
15398         * vc-git.el (vc-git-annotate-command): Use separator to parse
15399         arguments correctly.
15401 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
15403         * proced.el (proced-mode): Doc fix.
15405 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
15407         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15408         lstat fails.
15409         (tramp-do-file-attributes-with-ls): Check for file existence at
15410         remote end.
15411         (tramp-do-file-attributes-with-stat): Likewise.
15412         (tramp-convert-file-attributes): Return nil when attr is nil.
15414 2009-09-05  Glenn Morris  <rgm@gnu.org>
15416         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15417         properties to this button.
15418         (diary-fancy-display): Don't extend the button to the final newline.
15419         (diary-fancy-display-mode): Continue to define "q" as a local key.
15421         * calendar/cal-china.el (holiday-chinese): Make it slightly more
15422         efficient.
15424         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15426         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15427         (byte-compile-dest-file-function): New option.
15428         (byte-compile-dest-file): Doc fix.
15429         Obey byte-compile-dest-file-function.
15430         (byte-compile-cl-file-p): New function.
15431         (byte-compile-eval): Only suppress noruntime warnings about cl functions
15432         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
15433         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15434         than for file being previously loaded.
15435         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15436         (byte-compile-file-form-require): Handle the case where requiring a file
15437         indirectly causes CL to be loaded.
15439 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15441         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15442         before killing the old buffer, since by the time `kill-buffer' is
15443         run so many buffer variables have been set to nil that it may not
15444         behave as expected.  (Bug#4061)
15446 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15448         * files.el (find-alternate-file): If the old buffer is modified
15449         and visiting a file, behave similarly to `kill-buffer' when
15450         killing it, thus reverting to the pre-1.878 behavior; see
15451         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15452         for discussion.  Also, consult `buffer-file-name' as a variable
15453         not as a function, for consistency with the rest of the code.
15455 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
15457         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15458         also when adding a new directory.
15460         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15461         defun.
15463 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15465         * files.el (locate-file-completion-table): Make it provide boundary
15466         information, so partial-completion works better.
15468 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
15470         * mail/footnote.el (Footnote-text-under-cursor):
15471         Check footnote-text-marker-alist before using it (bug#4324).
15473 2009-09-04  Glenn Morris  <rgm@gnu.org>
15475         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15476         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15477         * play/solitaire.el, play/tetris.el:
15478         Remove leading * from defcustom and defface docs.
15480         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15481         necessary.
15482         (diary-fancy-overriding-map): New variable.
15483         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15484         Use view-mode.
15486         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15487         goto-line.
15489 2009-09-03  Glenn Morris  <rgm@gnu.org>
15491         * arc-mode.el (archive-mode):
15492         * dos-fns.el (set-default-process-coding-system):
15493         * man.el (Man-getpage-in-background):
15494         * menu-bar.el (menu-bar-describe-menu):
15495         * server.el (server-process-filter):
15496         * startup.el (command-line):
15497         * tar-mode.el (tar-header-block-tokenize, tar-extract):
15498         * w32-fns.el (set-default-process-coding-system):
15499         * x-dnd.el (x-dnd-handle-file-name):
15500         * international/mule-cmds.el (mule-menu-keymap)
15501         (set-default-coding-systems, language-info-alist, set-language-info)
15502         (set-language-environment, standard-display-european-internal)
15503         (set-locale-environment):
15504         * international/mule-diag.el (mule-diag):
15505         * mail/emacsbug.el (report-emacs-bug):
15506         * mail/rmail.el (rmail-mode):
15507         * mail/sendmail.el (mail-setup):
15508         Use default-value rather than default-enable-multibyte-characters.
15510         * progmodes/f90.el: Move all safe properties into the defcustoms.
15511         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15513         * calendar/appt.el (appt-check):
15514         * calendar/diary-lib.el (diary-set-header, diary-live-p)
15515         (diary-check-diary-file, diary-list-entries)
15516         (diary-include-other-diary-files, diary-simple-display)
15517         (diary-fancy-display, diary-print-entries)
15518         (diary-mark-included-diary-files, diary-make-entry):
15519         Don't call substitute-in-file-name on diary-file.
15521 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
15522             Stefan Monnier  <monnier@iro.umontreal.ca>
15524         * mail/footnote.el (footnote-prefix): Make it a defcustom.
15525         (footnote-mode-map): Move initialization into the declaration.
15526         (footnote-minor-mode-map): Define it rather than changing global-map.
15527         (footnote-mode): Use define-minor-mode.
15529 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
15531         * net/tramp.el (tramp-handle-file-attributes-with-ls)
15532         (tramp-do-file-attributes-with-perl)
15533         (tramp-do-file-attributes-with-stat): Rename from
15534         `tramp-handle-file-attributes-with-*'.
15535         (tramp-handle-file-attributes): Use them.
15536         (tramp-do-directory-files-and-attributes-with-perl)
15537         (tramp-do-directory-files-and-attributes-with-stat): Rename from
15538         `tramp-handle-directory-files-and-attributes-with-*'.
15539         (tramp-handle-directory-files-and-attributes): Use them.
15540         (tramp-method-out-of-band-p): Additional parameter SIZE.
15541         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15542         (tramp-handle-write-region): Use it.
15543         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15544         (tramp-handle-vc-registered): Check, whether the first run did
15545         return files to be tested.
15546         (tramp-advice-make-auto-save-file-name): Do not call directly
15547         `tramp-handle-make-auto-save-file-name', because this would bypass
15548         the locking mechanism.
15550         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15551         (file-remote-p, process-file, start-file-process, set-file-times)
15552         (tramp-compat-file-attributes): Compatibility functions shall not
15553         call directly `tramp-handle-*', because this would bypass the
15554         locking mechanism.
15555         (tramp-compat-number-sequence): New defun.
15557 2009-09-02  Glenn Morris  <rgm@gnu.org>
15559         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15560         alias for float-time.
15561         (time-to-number-of-days): In Emacs, use float-time.
15562         * net/newst-backend.el (time-add): Suppress warnings from compat
15563         function.
15564         * time.el (emacs-uptime, emacs-init-time):
15565         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15566         Use float-time rather than time-to-seconds.
15568         * minibuffer.el (completion-initials-expand): Fix typo.
15570         * faces.el (modeline, modeline-inactive, modeline-highlight)
15571         (modeline-buffer-id):
15572         * info.el (info-menu-5): Mark these face aliases as obsolete.
15574 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
15576         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15577         space ...
15578         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15579         no "--thread" option.
15580         (gdb-stopped): Don't print "Switched to thread" message when it is
15581         unchanged.
15583 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15585         * minibuffer.el (completion-try-completion)
15586         (completion-all-completions): Remove ill-defined (and
15587         mistakenly installed and luckily never used nor documented)
15588         `completion-styles' property.
15589         (completion-initials-expand, completion-initials-all-completions)
15590         (completion-initials-try-completion): New functions.
15591         (completion-styles-alist): Add doc to each entry.
15592         Add new `initials' entry.
15594 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
15596         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15597         MI command -var-evaluate-expression.
15598         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15599         and tweak for case of string child.
15600         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15602 2009-09-01  Glenn Morris  <rgm@gnu.org>
15604         * add-log.el (change-log-date-face, change-log-name-face)
15605         (change-log-email-face, change-log-file-face, change-log-list-face)
15606         (change-log-conditionals-face, change-log-function-face)
15607         (change-log-acknowledgement-face):
15608         * cus-edit.el (custom-invalid-face, custom-rogue-face)
15609         (custom-modified-face, custom-set-face, custom-changed-face)
15610         (custom-saved-face, custom-button-face, custom-button-pressed-face)
15611         (custom-documentation-face, custom-state-face, custom-comment-face)
15612         (custom-comment-tag-face, custom-variable-tag-face)
15613         (custom-variable-button-face, custom-face-tag-face)
15614         (custom-group-tag-face-1, custom-group-tag-face):
15615         * diff-mode.el (diff-header-face, diff-file-header-face)
15616         (diff-index-face, diff-hunk-header-face, diff-removed-face)
15617         (diff-added-face, diff-changed-face, diff-function-face)
15618         (diff-context-face, diff-nonexistent-face):
15619         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15620         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15621         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15622         (Info-title-4-face):
15623         * isearch.el (isearch-lazy-highlight-face):
15624         * log-view.el (log-view-file-face, log-view-message-face):
15625         * paren.el (show-paren-match-face, show-paren-mismatch-face):
15626         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15627         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15628         (cvs-msg-face):
15629         * smerge-mode.el (smerge-mine-face, smerge-other-face)
15630         (smerge-base-face, smerge-markers-face):
15631         * wid-edit.el (widget-documentation-face, widget-button-face)
15632         (widget-field-face, widget-single-line-field-face)
15633         (widget-inactive-face, widget-button-pressed-face):
15634         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15635         (woman-addition-face):
15636         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15637         (eshell-ls-executable-face, eshell-ls-readonly-face)
15638         (eshell-ls-unreadable-face, eshell-ls-special-face)
15639         (eshell-ls-missing-face, eshell-ls-archive-face)
15640         (eshell-ls-backup-face, eshell-ls-product-face)
15641         (eshell-ls-clutter-face):
15642         * eshell/em-prompt.el (eshell-prompt-face):
15643         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15644         * obsolete/old-whitespace.el (whitespace-highlight-face):
15645         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15646         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15647         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15648         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15649         (antlr-font-lock-literal-face):
15650         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15651         (ebrowse-root-class-face, ebrowse-file-name-face)
15652         (ebrowse-default-face, ebrowse-member-attribute-face)
15653         (ebrowse-member-class-face, ebrowse-progress-face):
15654         * progmodes/make-mode.el (makefile-space-face):
15655         * progmodes/sh-script.el (sh-heredoc-face):
15656         * textmodes/flyspell.el (flyspell-incorrect-face)
15657         (flyspell-duplicate-face):
15658         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15659         * textmodes/texinfo.el (texinfo-heading-face):
15660         Mark face aliases with "-face" suffix as obsolete.
15662         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
15663         compiler.
15665         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
15666         (eudc-bob-sound-menu): Use defvar rather than defconst, since
15667         easy-menu-define wants to modify these.
15669         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
15671         * net/browse-url.el (browse-url-file-url):
15672         * term/internal.el (dos-codepage-setup):
15673         Use default-value rather than default-enable-multibyte-characters.
15675         * progmodes/etags.el (etags-goto-tag-location):
15676         * progmodes/flymake.el (flymake-highlight-line)
15677         (flymake-goto-file-and-line, flymake-goto-line):
15678         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
15679         (gdb-goto-breakpoint):
15680         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
15681         * progmodes/python.el (python-find-function)
15682         (python-pdbtrack-track-stack-file):
15683         * progmodes/verilog-mode.el (verilog-surelint-off):
15684         * term/ns-win.el (ns-open-file-select-line):
15685         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
15686         Use forward-line rather than goto-line.
15688         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
15689         * textmodes/reftex-index.el (reftex-display-index):
15690         * textmodes/reftex-ref.el (reftex-offer-label-menu):
15691         * textmodes/reftex-toc.el (reftex-toc):
15692         Remove unnecessary bindings of default-major-mode (all are followed by
15693         major-mode check and possible mode switch).
15695 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
15697         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15698         Handle watchpoints (bug#4282).
15699         (def-gdb-thread-buffer-command): Enable thread to be selected by
15700         clicking without selecting threads buffer first.
15701         (gdb-current-context-command): Use selected frame so that "up",
15702         "down" etc work in the GUD buffer.
15703         (gdb-update): Find selected frame before rendering stack buffer.
15704         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
15706 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15708         * progmodes/sym-comp.el (displayed-completions): Remove.
15709         (symbol-complete): Use minibuffer-complete.
15711 2009-08-31  Glenn Morris  <rgm@gnu.org>
15713         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
15715         * apropos.el (apropos-symbols-internal):
15716         Handle (obsolete) face aliases.
15718         * faces.el (describe-face): Adjust the output format to be more like
15719         describe-variable, and to mention (obsolete) face aliases.
15720         Adjust the whitespace so that help-setup-xref works.
15722         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
15723         * calendar/diary-lib.el (diary-button-face):
15724         Mark these face aliases as obsolete.
15726         * calendar/calendar.el (calendar-today): Doc fix.
15728 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
15730         * progmodes/gdb-mi.el (gdb-control-all-threads)
15731         (gdb-control-current-thread): Force tool bar update.
15732         (gdb-non-stop-handler): New function.
15733         (gdb-init-1): Use it to test if non-stop mode is supported.
15734         Remove unused gdbmi buffer type.
15736 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
15738         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15739         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
15741 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
15743         * comint.el (comint-exec-1): Check command is non-null first.
15744         Part of gdb-mi.el change (2009-08-28).
15746 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15748         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15750 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
15752         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15753         instead of `dolist' to avoid a recursive require when bootstrapping.
15755 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15757         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15759         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15761         * net/imap.el (imap-send-command): Simplify.
15762         (imap-wait-for-tag): point-max -> buffer-size.
15764         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15766         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15767         with constant argument.
15769         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15771         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15773         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15774         Change default, since most of our files don't have a history.
15775         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15776         the user.
15778         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15779         Add comint-run.
15781         * calc/calc.el: Improve commenting convention.
15782         (calc-digit-map, toplevel): Simplify.
15784         * comint.el (comint-insert-input): Be careful to only set point if we
15785         don't delegate to some other command.
15787         * proced.el (proced-signal-list): Make it an alist.
15788         (proced-grammar-alist): Capitalize names.
15789         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15790         Disable undo manually and make it read-only.
15791         Use completion-annotate-function.
15793         * minibuffer.el (minibuffer-message): If the current buffer is not
15794         a minibuffer, insert the message in the echo area rather than at the
15795         end of the buffer.
15796         (completion-annotate-function): New variable.
15797         (minibuffer-completion-help): Use it.
15798         (completion--embedded-envvar-table): Environment vars are
15799         always case-sensitive.
15801 2009-08-30  Glenn Morris  <rgm@gnu.org>
15803         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
15804         from fortran-current-defun.
15805         (fortran-beginning-of-subprogram): Be more precise about finding the
15806         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
15807         (fortran-end-of-subprogram): Simplify.
15808         (fortran-current-defun): Use fortran-start-prog-re.
15810 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
15812         * subr.el (do-after-load-evaluation): Simplify.
15814 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
15816         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
15818         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
15819         (vc-rcs-print-log): Use it.
15821         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
15823 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15825         * paths.el (abbrev-file-name): Move to abbrev.el.
15826         * abbrev.el (abbrev-file-name): Move from paths.el.
15827         Obey user-emacs-directory.
15828         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
15829         user-emacs-directory.
15830         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
15831         abbrev-file-name and calc-settings-file any more.
15832         * startup.el (command-line): Recompute abbrev-file-name and
15833         abbreviated-home-dir.
15834         (normal-no-mouse-startup-screen): Improve the generic code and get rid
15835         of the special code for when C-h bindings haven't been changed.
15836         (display-startup-echo-area-message): Use with-current-buffer.
15837         (command-line-1): Use a list of strings, rather than a list of lists
15838         of strings for longopts.
15840         * files.el (get-free-disk-space): Use / for default-directory.
15842         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
15843         Use with-current-buffer.
15845         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
15846         Recognize immutable variables like most-positive-fixnum.
15847         (byte-compile-setq-default): Check and warn if trying to assign
15848         to an immutable variable, or a non-variable.
15850         * progmodes/cc-vars.el (c-comment-continuation-stars):
15851         * progmodes/cc-engine.el (c-looking-at-bos):
15852         * progmodes/cc-cmds.el (c-toggle-auto-state)
15853         (c-forward-into-nomenclature, c-backward-into-nomenclature)
15854         (c-comment-line-break-function): Add version of obsolescence.
15856 2009-08-28  Juri Linkov  <juri@jurta.org>
15858         * files.el (magic-fallback-mode-alist): Add ZIP magic number
15859         associated with `archive-mode'.
15861         * image.el (image-type-header-regexps): Use only JPEG magic number
15862         to determine JPEG images, and don't use `image-jpeg-p' because
15863         Emacs can display non-JFIF non-Exif JPEG images.
15865 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
15867         * arc-mode.el (archive-mode):
15868         * emacs-lisp/re-builder.el (re-builder-unload-function):
15869         Protect against the default value of `major-mode' being nil.
15871 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
15873         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
15874         Fix typos in docstrings.
15876         * progmodes/js.el (js--macro-decl-re): Doc fix.
15877         (js--plain-method-re, js--split-name): Refloc docstring.
15878         (js--class-styles, js--make-merged-item, js--splice-into-items):
15879         Fix typos in docstrings; reflow docstrings.
15880         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
15881         (js--variable-decl-matcher, js--inside-pitem-p)
15882         (js--parse-state-at-point, js--get-all-known-symbols)
15883         (js--symbol-history, js-find-symbol, js--js-references)
15884         (js--moz-interactor, js--js-encode-value, js--read-tab):
15885         Fix typos in docstrings.
15887 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15889         * textmodes/reftex.el (reftex-get-file-buffer-force):
15890         * progmodes/verilog-mode.el (verilog-batch-execute-func):
15891         * emulation/viper.el (viper-go-away, viper-set-hooks):
15892         * emacs-lisp/re-builder.el (re-builder-unload-function):
15893         * emacs-lisp/bytecomp.el (byte-compile-file):
15894         * ses.el (ses-unload-function):
15895         * hexl.el (hexl-find-file):
15896         * files.el (normal-mode):
15897         * ehelp.el (with-electric-help):
15898         * autoinsert.el (auto-insert-alist):
15899         * arc-mode.el (archive-mode):
15900         Use (default-value 'major-mode) instead of default-major-mode.
15902         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
15903         * international/mule.el (load-with-code-conversion):
15904         * emacs-lisp/debug.el (debug):
15905         * ediff-vers.el (ediff-rcs-get-output-buffer):
15906         * dired.el (dired-internal-noselect): Don't let-bind
15907         default-major-mode around code that doesn't use it.
15908         E.g. buffer creation via get-buffer-create doesn't use it.
15910 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
15912         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
15913         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
15914         when writing the temp file.  Otherwise, epa-file gets confused.
15915         (tramp-register-file-name-handlers): Make it a defun.  Move also
15916         `epa-file-handler' to the front of `file-name-handler-alist'.
15918 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15920         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
15921         start right after a ^M.
15922         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
15923         (tramp-completion-file-name-regexp-separate)
15924         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
15925         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
15926         Don't modify last-coding-system-used by accident.
15927         (tramp-completion-file-name-handler): Apply the checks here,
15928         instead during registration.
15929         (tramp-register-file-name-handlers): Renamed from
15930         `tramp-register-file-name-handler'.  Register both
15931         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
15932         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
15934 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
15936         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
15937         Remove variable ...
15938         (gdb-init-1, gdb-display-separate-io-buffer)
15939         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
15940         references to it.
15941         (gdb-inferior-io-mode): Use make-comint-in-buffer.
15942         (gdb-inferior-filter): Use comint-output-filter to stop
15943         echoing and remove ^M characters.
15945 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15947         * emulation/viper-init.el (viper-restore-cursor-type):
15948         * emulation/cua-base.el (cua--update-indications):
15949         Replace default-cursor-type with (default-value 'cursor-type).
15951         * mail/sendmail.el (mail-recover-1):
15952         * international/mule-diag.el (describe-current-coding-system-briefly)
15953         (describe-current-coding-system):
15954         * international/mule-cmds.el (select-safe-coding-system)
15955         (select-message-coding-system)
15956         (set-language-environment-coding-systems, set-locale-environment):
15957         * hexl.el (hexl-insert-multibyte-char):
15958         * dos-w32.el (find-buffer-file-type-coding-system):
15959         * simple.el (what-cursor-position):
15960         Replace uses of default-buffer-file-coding-system
15961         with (default-value 'buffer-file-coding-system).
15963         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
15964         Replace uses of default-cursor-in-non-selected-windows
15965         with (default-value 'cursor-in-non-selected-windows).
15966         Use with-current-buffer.
15968         * mail/feedmail.el: Use CL macros.
15969         (feedmail-run-the-queue, feedmail-send-it-immediately):
15970         * dos-w32.el (find-buffer-file-type): Replace uses of
15971         default-buffer-file-type with (default-value 'buffer-file-type).
15973 2009-08-28  Glenn Morris  <rgm@gnu.org>
15975         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
15976         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
15977         Use default-value of major-mode rather than default-major-mode.
15979 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15981         * Makefile.in (update-elcfiles): Report left over elc files.
15983         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
15984         expand-file-name and with-current-buffer.
15985         (mail-get-names, mail-directory): Use with-current-buffer.
15987         * vc.el (vc-read-revision): New function.
15988         (vc-version-diff, vc-merge): Use it.
15990 2009-08-27  Sam Steingold  <sds@gnu.org>
15992         * simple.el (kill-do-not-save-duplicates): New user option.
15993         (kill-new): When it is non-nil, and the new string is the same as
15994         the latest kill, set replace to t to avoid duplicates in kill-ring.
15996 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
15998         * net/tramp.el (tramp-handle-process-file): Do not flush all
15999         caches when `process-file-side-effects' is set.
16000         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16001         instead of `tramp-find-file-exists-command'.
16002         Unset `process-file-side-effects'.
16004 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
16006         * net/tramp.el (tramp-methods): New method "rsyncc".
16007         (top): Add completion function for "rsyncc".
16008         (tramp-message-show-message): New defvar.
16009         (tramp-message, tramp-error): Use it.
16010         (tramp-do-copy-or-rename-file-directly): Extend check for direct
16011         remote copying.
16012         (tramp-do-copy-or-rename-file-out-of-band): Handle new
16013         `tramp-methods' entry `copy-env' of "rsyncc".
16014         (tramp-vc-registered-read-file-names): New defconst.
16015         (tramp-vc-registered-file-names): New defvar.
16016         (tramp-handle-vc-registered): Implement optimization strategy.
16017         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16018         (tramp-vc-file-name-handler): New defun.
16019         (tramp-get-ls-command, tramp-get-test-command)
16020         (tramp-get-file-exists-command, tramp-get-remote-ln)
16021         (tramp-get-remote-perl, tramp-get-remote-stat)
16022         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16024         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16025         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
16026         timestamps.
16027         (tramp-get-file-property): Check for timestamps in
16028         `tramp-cache-inhibit-cache'.
16029         (tramp-set-file-property): Write timestamp.
16031 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16033         * language/japan-util.el (japanese-symbol-table): Add entries for
16034         cp932-2-byte.
16036         * international/characters.el: Add category `j' to cp932-2-byte.
16038 2009-08-27  Kenichi Handa  <handa@m17n.org>
16040         * international/fontset.el (build-default-fontset-data): New macro.
16041         (setup-default-fontset): Use build-default-fontset-data for CJK,
16042         tibetan, ethiopic, and ipa.
16044 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16046         * cus-start.el (default-major-mode): Customize `major-mode' instead.
16047         (enable-multibyte-characters): Not customizable any more.
16049         * subr.el (default-mode-line-format, default-header-line-format)
16050         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16051         (default-direction-reversed, default-truncate-lines)
16052         (default-left-margin, default-tab-width, default-case-fold-search)
16053         (default-left-margin-width, default-right-margin-width)
16054         (default-left-fringe-width, default-right-fringe-width)
16055         (default-fringes-outside-margins, default-scroll-bar-width)
16056         (default-vertical-scroll-bar, default-indicate-empty-lines)
16057         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16058         (default-fringe-cursor-alist, default-scroll-up-aggressively)
16059         (default-scroll-down-aggressively, default-fill-column)
16060         (default-cursor-type, default-buffer-file-type)
16061         (default-cursor-in-non-selected-windows)
16062         (default-buffer-file-coding-system, default-major-mode)
16063         (default-enable-multibyte-characters): Mark as obsolete.
16065 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
16067         * vc-dir.el (vc-dir-update): Remove debug helper.
16069         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16071 2009-08-26  Sam Steingold  <sds@gnu.org>
16073         * simple.el (save-interprogram-paste-before-kill): New user option.
16074         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16075         save the interprogram-paste into kill-ring before overriding it
16076         with the Emacs kill.
16078 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16080         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16081         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16082         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16083         and move to vc-rcs.el.
16084         (vc-default-next-revision): Rename to vc-rcs-next-revision and
16085         move to vc-rcs.el.
16086         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16087         (vc-rcs-update-changelog): Remove.
16088         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16089         and move to vc-rcs.el.
16091         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16092         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16093         renaming.
16094         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16095         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16096         vc.el, renamed to be RCS specific.
16098         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16099         New functions.
16100         (vc-cvs-update-changelog): Move here from vc.el.
16102         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16103         New functions.
16105 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16107         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16109 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16111         * vc-git.el (vc-git-register): Use "git add" for directories.
16112         (vc-git-stash, vc-git-stash-show): New functions.
16113         (vc-git-extra-menu-map): Bind them.
16115         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16116         directory correctly in case the item is a directory itself.
16118         * vc.el: Document the desired behavior for reverted files in the
16119         `added' state.
16120         (vc-default-prettify-state-info): Remove function, unused.
16122         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16124 2009-08-26  Glenn Morris  <rgm@gnu.org>
16126         * bindings.el (standard-mode-line-format): Reposition dashes in
16127         which-func entry.  (Bug#4217)
16129         * files.el (enable-local-variables, enable-local-eval)
16130         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16131         the defcustoms.
16132         (auto-mode-alist, ignored-local-variables)
16133         (save-some-buffers-action-alist): Move risky declarations to the
16134         definitions.
16135         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16136         (font-lock-defaults, format-alist, imenu--index-alist)
16137         (imenu-generic-expression, input-method-alist, minor-mode-alist)
16138         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16139         (mode-line-modified, mode-line-mule-info, mode-line-position)
16140         (mode-line-process, mode-line-remote, outline-level)
16141         (parse-time-rules, rmail-output-file-alist)
16142         (special-display-buffer-names, vc-mode):
16143         Move risky declarations to the relevant files.
16144         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16145         (mode-line-modified, mode-line-process, mode-line-position)
16146         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16147         * font-core.el (font-lock-defaults):
16148         * format.el (format-alist):
16149         * vc-hooks.el (vc-mode):
16150         * window.el (special-display-buffer-names):
16151         * international/mule-cmds.el (input-method-alist):
16152         Define riskiness here (dumped file) rather than in files.el.
16153         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16154         * imenu.el (imenu-generic-expression, imenu--index-alist):
16155         * outline.el (outline-level):
16156         * time.el (display-time-string):
16157         * calendar/parse-time.el (parse-time-rules):
16158         * mail/rmailout.el (rmail-output-file-alist):
16159         Autoload riskiness here, rather than placing in files.el.
16161 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
16163         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16165 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
16167         * simple.el (process-file-side-effects): New defvar.
16169         * dired-aux.el (dired-show-file-type):
16170         * vc.el (vc-diff-internal):
16171         * vc-arch.el (vc-arch-diff):
16172         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16173         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16174         * vc-git.el (vc-git-registered, vc-git-working-revision)
16175         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16176         (vc-git--empty-db-p):
16177         * vc-hooks.el (vc-user-login-name):
16178         * vc-svn.el (vc-svn-registered, vc-svn-state)
16179         (vc-svn-dir-extra-headers, vc-svn-find-revision):
16180         * progmodes/grep.el (grep-probe): Let-bind
16181         `process-file-side-effects' with nil.
16183         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16185         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16186         daemon.  Replace ping by checking for running service for bluez
16187         and zeroconf.  (Bug#4239)
16189 2009-08-25  Kevin Ryde  <user42@zip.com.au>
16191         * net/dig.el (dig): Add autoload cookie.
16193 2009-08-25  Glenn Morris  <rgm@gnu.org>
16195         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16196         load-history for absolute file-names.
16197         (byte-compile-file-form-require): Warn about use of the cl package.
16199         * format.el (format-alist): Doc fix.
16201         * play/bubbles.el (top-level): Don't require cl at run-time.
16203         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16204         run-time cl).
16206 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
16208         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16209         from cl package.
16210         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16212 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
16214         * calc/calc-alg.el (math-trig-rewrite)
16215         (math-hyperbolic-trig-rewrite): New functions.
16216         (calc-simplify): Simplify trig functions when asked.
16218 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16220         * diff-mode.el (diff-find-source-location): Avoid goto-line.
16222 2009-08-24  Kenichi Handa  <handa@m17n.org>
16224         * language/ind-util.el (mapthread): Delete it.
16225         (combinatorial): New function.
16226         (indian--puthash-cv): Use combinatorial instead of mapthread.
16228 2009-08-22  Kevin Ryde  <user42@zip.com.au>
16230         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16231         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16232         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16233         Clarify docstring that the value is strings not symbols.
16234         (checkdoc-list-of-strings-p): New function.
16236 2009-08-22  Glenn Morris  <rgm@gnu.org>
16238         * files.el (auto-mode-alist):
16239         * hippie-exp.el (he-concat-directory-file-name):
16240         * lpr.el (lpr-windows-system, printer-name):
16241         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16242         * ps-print.el (ps-windows-system):
16243         * startup.el (command-line):
16244         * emulation/viper-ex.el (viper-glob-function):
16245         * international/mule-cmds.el (set-language-environment-coding-systems):
16246         * net/ange-ftp.el (ange-ftp-write-region):
16247         * obsolete/fast-lock.el (fast-lock-cache-name):
16248         Remove code for defunct system-types emx, macos, mswindows, next-mach,
16249         unisoft-unix, vax-vms, win32, w32.
16251         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16252         given name if the pattern is not more specific.
16254         * calendar/lunar.el (lunar-phase-names): New option.
16255         (lunar-phase): Doc fix.
16256         (lunar-cycles-per-year): New constant.
16257         (lunar-index): New function.
16258         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16259         (lunar-phase-name): Use lunar-phase-names.
16260         (calendar-lunar-phases): Use format.
16261         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16263         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16264         Copy imenu-example--name-and-position function here for own use.
16265         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16267         * bs.el (bs--redisplay):
16268         * cus-edit.el (custom-redraw):
16269         * ibuffer.el (ibuffer-bury-buffer):
16270         * server.el (server-goto-line-column):
16271         * startup.el (command-line-1):
16272         * strokes.el (strokes-xpm-for-stroke):
16273         * term.el (term-display-buffer-line):
16274         * view.el (View-goto-line):
16275         * calc/calc.el (calc-do, calc-trail-buffer):
16276         * play/gamegrid.el (gamegrid-add-score-insecure):
16277         * progmodes/ada-mode.el (ada-compile-goto-error):
16278         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16279         (ebrowse-select-1st-to-9nth):
16280         * progmodes/cperl-mode.el (cperl-time-fontification):
16281         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16282         * progmodes/gud.el (gud-display-line):
16283         (idlwave-shell-display-line):
16284         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16285         * progmodes/make-mode.el (makefile-browser-toggle):
16286         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16287         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16288         * textmodes/picture.el (picture-draw-rectangle):
16289         * textmodes/reftex-index.el (reftex-index-goto-letter):
16290         (reftex-select-jump-to-previous):
16291         * textmodes/reftex-sel.el (reftex-find-start-point)
16292         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16293         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16294         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16295         * textmodes/tex-mode.el (tex-compilation-parse-errors):
16296         * textmodes/two-column.el (2C-associated-buffer):
16297         Use forward-line rather than goto-line.
16299         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16300         goto-line.
16302         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16303         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16304         (quick-check-list-to-regexp): Declare.
16306         * progmodes/make-mode.el (makefile-browser-insert-selection):
16307         Use goto-char rather than goto-line.
16309         * progmodes/prolog.el (compilation-error-regexp-alist)
16310         (compilation-forget-errors): Declare.
16312 2009-08-22  Juri Linkov  <juri@jurta.org>
16314         * progmodes/grep.el (lgrep, rgrep): At the beginning
16315         set `dir' to `default-directory' unless `dir' is a non-nil
16316         readable directory.  (Bug#4052)
16317         (lgrep, rgrep): Change a weird way to report an error
16318         from using `read-string' to using `error'.
16319         Instead of using interactive arguments in the function body,
16320         add new argument `confirm'.
16322 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16324         * textmodes/remember.el (remember-buffer):
16325         * progmodes/cperl-mode.el (cperl-vc-header-alist):
16326         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16327         (icalendar-extract-ical-from-buffer):
16328         * net/newst-treeview.el (newsticker-groups-filename):
16329         * net/newst-backend.el (newsticker-cache-filename):
16330         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16331         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16332         (speedbar-add-ignored-path-regexp, speedbar-line-path)
16333         (speedbar-buffers-line-path, speedbar-path-line)
16334         (speedbar-buffers-line-path):
16335         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16336         (epg-sign-keys):
16337         * epa.el (epa-display-verify-result):
16338         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16340 2009-08-21  Glenn Morris  <rgm@gnu.org>
16342         * progmodes/js.el (inferior-moz-process): Fix declaration.
16344         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16346         * obsolete/rnewspost.el (news-mail-reply):
16347         Use goto-char rather than goto-line.
16349         * term/ns-win.el (ns-open-file-select-line):
16350         Use line-beginning-position rather than goto-line.
16352         * apropos.el (apropos-command):
16353         * ehelp.el (electric-helpify):
16354         * printing.el (pr-show-setup):
16355         * strokes.el (strokes-help):
16356         * tutorial.el (tutorial--describe-nonstandard-key)
16357         (tutorial--detailed-help):
16358         * woman.el (woman-mini-help, woman-display-extended-fonts):
16359         * calc/calc-help.el (calc-describe-key):
16360         * emulation/edt.el (edt-electric-helpify):
16361         * international/mule-diag.el (mule-diag):
16362         * play/yow.el (apropos-zippy):
16363         * progmodes/python.el (python-describe-symbol):
16364         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16365         * textmodes/table.el (*table--cell-describe-mode)
16366         (*table--cell-describe-bindings):
16367         Use help-print-return-message rather than the now obsolete alias.
16369         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16370         (calendar-cursor-to-visible-date):
16371         * play/5x5.el (5x5-position-cursor):
16372         * play/decipher.el (decipher):
16373         * play/gomoku.el (gomoku-goto-xy):
16374         * play/landmark.el (lm-goto-xy):
16375         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16376         (mpuz-paint-digit):
16377         Use forward-line, not goto-line.
16379         * mail/rmail.el (rmail-obsolete): Delete custom group.
16380         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16381         (rmail-remote-password, rmail-remote-password-required):
16382         Remove unneeded :set-after and :set properties.
16384 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
16386         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16388 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
16390         * loadup.el: Remove leftover macos code.
16392         * vc-git.el (vc-git-annotate-command): Run asynchronously.
16393         Explicitly pass the date format to git blame so that user local
16394         so that the output format can be parsed.
16396 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
16398         * net/dbus.el (top): Don't check for (getenv
16399         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
16401 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
16403         * log-edit.el (log-edit-strip-single-file-name): New var.
16404         (log-edit-insert-changelog): Use it.  Bug#3571
16406 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16408         * subr.el (read-passwd): Use read-key so keypad keys work as well.
16409         Bug#3287
16411         * help.el (help-print-return-message): Rename from
16412         print-help-return-message.
16414         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16415         cvs-mode-map parent hack.
16416         (log-view-mode): Derive from special-mode.
16418         * linum.el (linum-mode): window-size-change-functions is redundant.
16419         Adapt to new window-configuration-change-hook behavior.
16420         (linum-after-size, linum-after-config): Remove.
16422         * imenu.el (imenu-example--name-and-position)
16423         (imenu-example--lisp-extract-index-name)
16424         (imenu-example--create-lisp-index, imenu-example--create-c-index):
16425         Mark as obsolete.
16427         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16428         (inferior-prolog-mode): Use it.
16429         (inferior-prolog-load-file): Reset list of errors.
16431 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16433         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16435         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16437 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
16439         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16440         is running already.
16442 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16444         * subr.el (listify-key-sequence-1): Use normal syntax since those
16445         integers are nowadays always represented by the same (positive) number
16446         on all platforms.
16447         (read-key-empty-map): New const.
16448         (read-key-delay): New var.
16449         (read-key): New function.
16450         (force-mode-line-update): Use with-current-buffer.
16451         (locate-user-emacs-file): Don't forget to abbreviate the file name.
16452         (start-process-shell-command, start-file-process-shell-command):
16453         Discourage the use of command-args.
16455 2009-08-19  Glenn Morris  <rgm@gnu.org>
16457         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16459 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16461         * simple.el (choose-completion-string): Don't rely on
16462         minibuffer-completing-file-name and ad-hoc checks to decide whether
16463         to continue completion or not.
16465         * minibuffer.el (minibuffer-hide-completions): New function.
16466         (completion--do-completion): Use it.
16467         (completions-annotations): New face.
16468         (completion--insert-strings): Use it.
16469         (completion-pcm--delim-wild-regex): Add docstring.
16470         (completion-pcm--string->pattern): Add support for 0-width delimiters
16471         in completion-pcm--delim-wild-regex.
16473 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16475         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16476         Remove unused var `buffer-modified-p'.
16478         * minibuffer.el (completion--do-completion): Move point for the #b001
16479         case as well (bug#4176).
16480         (minibuffer-complete, minibuffer-complete-word): Don't move point.
16482 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
16484         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
16485         and :session buses.
16487 2009-08-18  Kenichi Handa  <handa@m17n.org>
16489         * international/ucs-normalize.el (ucs-normalize-version):
16490         Change to 1.1.
16491         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16492         (utf-8-hfs): Make it perform normalization on encoding too.
16494         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
16495         (sentence-end-without-space): Delete duplicated chars.
16496         (sentence-end-base): Likewise.
16498         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
16499         (html-mode): Delete duplicated chars from sentence-end-base.
16501         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
16502         (texinfo-mode): Delete duplicated chars from sentence-end-base.
16504 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
16506         * files.el (hack-one-local-variable): If the mode function is for
16507         a minor mode, pass it an argument (Bug#4148).
16509 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
16511         * net/tramp.el (tramp-register-completion-file-name-handler):
16512         Check also for (member 'partial-completion completion-styles).
16514 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16516         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16517         abbrev (Bug#3943).
16519 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
16521         * progmodes/cperl-mode.el: Merge upstream 6.2.
16522         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16523         (cperl-forward-re): Check cperl-brace-recursing.
16524         (cperl-highlight-charclass): New function.
16525         (cperl-find-pods-heres): Use it.
16526         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16527         (cperl-beautify-regexp-piece): Fix column calculation.
16528         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16529         (cperl-beautify-level): Don't process entire regexp.
16530         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16531         calling man.
16532         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16533         (cperl-init-faces): Build a list in the normal way.
16535 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16537         * calendar/parse-time.el (parse-time-string-chars): Save match
16538         data.
16540 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16542         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16543         (sql-product): Use it.
16544         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16545         (sql-set-product): Add completion.
16546         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16547         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16548         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16549         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16550         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16551         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16552         (sql-highlight-db2-keywords): Remove.
16553         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16554         (sql-highlight-product): Use derived-mode-p.
16555         (sql-set-sqli-buffer): Use with-current-buffer.
16556         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16557         Simplify.
16559         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16561         * term.el: Fix commenting convention, turn comments into docstrings.
16563 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
16565         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16567 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
16569         * calendar/parse-time.el (parse-time-string-chars): Compute using
16570         character classes, to handle non-ascii characters (Bug#3190).
16572 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16574         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16575         another heredoc if the user adds another < (Bug#3226).
16577         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16578         Don't initialize based on window-system (Bug#4124).
16580         * facemenu.el (facemenu-read-color): Use a completion function
16581         that accepts any defined color, such as RGB triplets (Bug#3677).
16583         * files.el (get-free-disk-space): Change fallback default
16584         directory to /.  Expand DIR argument before switching to fallback.
16585         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16587 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
16589         * files.el (load-library): Doc fix.
16591 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
16593         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16594         (viper-if-string): Redefine C-s in the minibuffer to insert the last
16595         incremental search string.
16597         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16598         XEmacs.
16600         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16601         (ediff-merge-region-is-non-clash)
16602         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16603         Also check if the job is really a merge job.
16605         * ediff.el (ediff-current-file): New function.
16607 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
16609         * progmodes/js.el: Edit docstrings throughout to follow Emacs
16610         conventions.
16611         (js-insert-and-indent): Delete function.
16612         (js-mode-map): Don't bind keys to js-insert-and-indent.
16613         (js-beginning-of-defun): Rename from js--beginning-of-defun.
16614         (js-end-of-defun): Rename from js--end-of-defun.
16615         (js-auto-indent-flag): Delete variable.
16617 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
16619         * progmodes/js.el: Remove proclaim statement.
16620         Defvar which-func-imenu-joiner-function to silence compiler.
16622         * files.el (auto-mode-alist): Use js-mode for .js files.
16624         * progmodes/js2-mode.el: Remove file.
16626         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16628         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16630         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16632 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
16633             Karl Landstrom  <karl.landstrom@brgeight.se>
16635         * progmodes/js.el: New file.
16637 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
16639         * timezone.el (timezone-parse-date): Add ability to understand ISO
16640         basic format (minimal separators) dates in addition to the
16641         already-supported extended format dates.
16643 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
16645         * international/ucs-normalize.el: Add a `coding' file variable.
16647         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16649 2009-08-14  Sam Steingold  <sds@gnu.org>
16651         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16653 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
16655         * faces.el (help-argument-name): Define it here instead of
16656         help-fns.el, because in daemon mode help-fns.el may be loaded when
16657         faces are still uninitialized (Bug#1078).
16659         * help-fns.el (help-argument-name): Move defface to faces.el.
16661 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
16663         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
16664         create buffer with a pty but no process so that GDB can make the
16665         inferior the controlling process.
16667 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
16669         * international/ucs-normalize.el: New file.
16671 2009-08-13  Richard Stallman  <rms@gnu.org>
16673         * mail/rmail.el (rmail-get-attr-names):
16674         Accept an attribute header that is too short.
16676         * mail/rmail.el (rmail-forget-messages):
16677         Ignore nil elt in rmail-message-vector.  Use dotimes.
16679         * progmodes/compile.el (compilation-goto-locus):
16680         Use next-error-move-function.
16682         * simple.el (next-error-move-function): New variable.
16684 2009-08-12  Juri Linkov  <juri@jurta.org>
16686         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
16687         always non-nil.  (Bug#4052)
16689         * replace.el (read-regexp): Return empty string when
16690         `default-value' is nil.
16691         (keep-lines-read-args): Don't use empty string as the
16692         default value for `read-regexp'.  (Bug#2495)
16694 2009-08-12  Juri Linkov  <juri@jurta.org>
16696         * international/mule-cmds.el (ucs-insert): Change arguments
16697         from `arg' to `character', `count', `inherit' to be the same
16698         as in `insert-char'.  Doc fix.  (Bug#4039)
16700         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
16702 2009-08-12  Juri Linkov  <juri@jurta.org>
16704         * files-x.el: New file.
16706         * files.el: Move code that deals with adding/deleting
16707         file/directory-local variables to files-x.el.
16709         * Makefile.in (ELCFILES): Add files-x.elc.
16711 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
16713         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
16714         to use `goto-line'.
16715         (gdb-place-breakpoints, gdb-get-location): Rewritten without
16716         `goto-line'.
16717         (gdb-invalidate-disassembly): Do not refresh upon receiving
16718         'update signal.  Instead, update all disassembly buffers only after
16719         threads list.
16720         (gdb): Send -target-detach when buffer is killed (Bug#3794).
16721         (gdb-starting): Moved -data-list-register-names...
16722         (gdb-stopped): ...here so it's sent when first thread stops.
16723         (gdb-registers-handler-custom): Do nothing if register names are
16724         unknown yet.
16726         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
16727         from `gdb-mi.el' to avoid extra tangling.
16729         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
16730         change which breaks `gud-def' definitions used in `gdb'.
16731         (gdb-update-gud-running): No extra fuss for updating frame number.
16733 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16735         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16736         (describe-language-environment-map, setup-language-environment-map)
16737         (set-coding-system-map): Move initialization into declaration.
16738         (set-language-info-alist): Last arg to define-key-after can be skipped.
16740         * international/quail.el (quail-completion-1): Simplify.
16741         (quail-define-rules): Use slightly more compact code.
16742         (quail-insert-decode-map): Propertize keys, compact columns.
16744         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16745         Add goto-line.
16747 2009-08-10  Miles Bader  <miles@gnu.org>
16749         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16750         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16751         (js2-instance-member, js2-private-member, js2-private-function-call)
16752         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16753         (js2-magic-paren, js2-external-variable):
16754         Remove "-face" suffix from face names.
16755         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16756         (js2-highlight-undeclared-vars, js2-peek-token)
16757         (js2-parse-function-params, js2-mode-show-errors)
16758         (js2-mode-show-warnings, js2-make-magic-delimiter)
16759         (js2-mode-highlight-magic-parens): Update to use new face names.
16761 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
16763         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16764         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
16766 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
16768         * subr.el: Provide hashtable-print-readable.
16770         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16771         hs-c-like-adjust-block-beginning.
16772         (hs-hide-block-at-point): Stop hiding at the beginning of
16773         hs-block-end-regexp (Bug#700).
16775 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
16777         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16778         a macro.
16779         (gdb-registers-handler-custom): Do not fail when register names
16780         are unavailable.
16782 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
16784         * progmodes/gdb-mi.el (gdb-control-all-threads)
16785         (gdb-control-current-thread): Interactive setters for
16786         `gdb-gud-control-all-threads' to use in menu.
16787         (gdb-show-run-p): Show «Go» when process is not active.
16788         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
16789         gud/thread.xpm and gud/all.xpm.
16791 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
16793         * net/net-utils.el (net-utils-font-lock-keywords): New var.
16794         (nslookup-font-lock-keywords): Make it a variable.
16795         (net-utils-mode): New mode for viewing diagnostic network output.
16796         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
16797         (net-utils-run-simple): New function.
16798         (ifconfig, iwconfig, netstat, arp, route): Use it.
16800 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
16802         * progmodes/gdb-mi.el (gdb-read-memory-custom)
16803         (gdb-memory-set-address, def-gdb-set-positive-number)
16804         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
16805         after changing settings.
16806         (gdb-invalidate-disassembly): Update when first shown.
16807         (gdb-edit-locals-value): Fixed.
16808         (gdb-registers-handler-custom): Print registers in right order and
16809         allow changing register values (only for current thread yet).
16810         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
16811         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
16812         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
16813         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
16814         info in mode name.
16815         (gdb-registers-mode-map): TAB to switch to locals.
16817 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
16819         * mail/rmail.el (rmail-add-mbox-headers)
16820         (rmail-set-message-counters-counter): Search for
16821         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
16823 2009-08-08  Glenn Morris  <rgm@gnu.org>
16825         * Makefile.in (ELCFILES): Update.
16827 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
16829         * mail/sendmail.el (mail-yank-original): Set
16830         buffer-file-coding-system from the one used by the message whose
16831         text is yanked.
16833         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
16834         to "windows" when "pgnuplot" is used.
16835         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
16836         call accept-process-output if "pgnuplot" is used.
16837         (calc-graph-init): Don't send -display and -geometry to
16838         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
16839         running "pgnuplot -V" with shell-command-to-string.
16841         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
16842         the default.
16844 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
16846         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
16847         org/org-latex.elc.
16849 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
16851         * vc-dispatcher.el (vc-resynch-window): Update comment.
16853         * term.el (term-handle-ansi-escape): Add comments with the
16854         terminfo capabilities implemented.
16856 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
16858         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
16859         (gdb-var-create-handler): Rewritten using JSON parser.
16860         (gdb-propertize-header): Moved earlier.
16861         (gdb-set-header): Removed to avoid duplication.
16862         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
16863         Refresh disassembly buffers only after threads list have been
16864         update.
16865         (gdb-threads-header, gdb-registers-header): Per-buffer header line
16866         variables.
16868 2009-08-04  Juri Linkov  <juri@jurta.org>
16870         * files.el: Commands to add/delete file/directory-local variables.
16871         (read-file-local-variable, read-file-local-variable-value)
16872         (read-file-local-variable-mode, modify-file-local-variable)
16873         (modify-file-local-variable-prop-line)
16874         (modify-dir-local-variable): New functions.
16875         (add-file-local-variable, delete-file-local-variable)
16876         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
16877         (add-dir-local-variable, delete-dir-local-variable)
16878         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
16879         (copy-dir-locals-to-file-locals-prop-line): New commands.
16881 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
16883         * abbrev.el (insert-abbrev-table-description): Prettify output.
16884         Suggested by Karl Chen.
16886 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
16888         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
16889         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
16890         (gdb-overlay-arrow-position, gdb-thread-position)
16891         (gdb-disassembly-position): Declare variables.
16892         (gdb-wait-for-pending): Function now.
16893         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
16894         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
16895         compilation goes smoothly.
16896         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
16897         (gdb-non-stop-setting): New customization setting which replaces
16898         `gdb-non-stop' so changing it doesn't break active GDB session.
16899         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
16900         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
16901         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
16902         (gdb-show-threads-by-default): New customization options.
16903         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
16904         routines.
16905         (gdb-get-buffer-create): Send buffers update signal when they are
16906         created.
16907         (gdb-invalidate-locals, gdb-invalidate-registers)
16908         (gdb-invalidate-breakpoints)
16909         (gdb-invalidate-threads, gdb-invalidate-disassembly)
16910         (gdb-invalidate-memory): Accept update signal.
16911         (gdb-current-context-command): Use --frame option.
16912         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
16913         Implement `gdb-frame-number' selection logic.
16914         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
16915         whether to show GUD toolbar buttons.
16916         (gdb-thread-exited): Unselect current thread when it exits.
16917         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
16918         (gdb-mark-line): Routine which sets overlay arrow or inverses
16919         video on fringeless displays.
16920         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
16921         to build aligned columns of data in GDB buffers and set text
16922         properties line-by-line.
16923         (gdb-invalidate-breakpoints)
16924         (gdb-breakpoints-list-handler-custom)
16925         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
16926         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
16927         (gdb-registers-handler-custom): Align data columns.
16928         (gdb-locals-handler-custom): Now prints data like in variable
16929         declarations.
16930         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
16931         Removed confusing buttons.
16932         (gdb-invalidate-threads): Append --frame.
16933         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
16934         between breakpoints/threads buffers.
16935         (gdb-set-window-buffer): Now can ignore dedicated windows.
16936         (gdb-propertize-header): Use `gdb-set-window-buffer'.
16937         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
16938         (def-gdb-thread-buffer-gud-command): Replaces
16939         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
16940         for fine thread control.
16941         (gdb-preempt-existing-or-display-buffer): New function used to
16942         display bound buffers without breaking window layout.
16943         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
16944         (gdb-select-frame): New version of `gdb-frames-select' which now
16945         sets `gdb-frame-number' so commands may use --frame option instead
16946         of inner debugger state.
16947         (gdb-frame-handler): Do not set `gdb-frame-number'.
16948         (gdb-threads-mode-map): Select threads with mouse.
16950         * progmodes/gud.el (gdb-gud-context-call): Declare function to
16951         avoid compilation warning.
16952         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
16953         `gdb-show-stop-p`.
16955         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
16956         Argument `key' renamed to `buffer-type'.
16957         (gdb-current-context-buffer-name): Do not add thread info to
16958         buffer name when no thread is selected.
16959         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
16960         command (bug 3794).
16961         (gdb-thread-selected): Handle `=thread-selected' notification.
16962         (gdb-wait-for-pending): New macro to deal with congestion problems.
16963         (gdb-breakpoints-list-handler-custom): Don't fail on pending
16964         breakpoints.
16965         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
16966         This fixes problem similar to one described in bug 3947.
16967         (gud-menu-map): More menu items.
16968         (gdb-init-1): Reset `gdb-thread-number' to nil.
16970         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
16971         non-stop settings.
16973         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
16974         (gdb-current-context-command): Do not append --thread if
16975         `gdb-thread-number' is nil.
16976         (gdb-running-threads-count, gdb-stopped-threads-count): New
16977         variables.
16978         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
16979         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
16980         customization options.
16981         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
16982         GUD commands.
16983         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
16984         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
16985         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
16986         set `gdb-thread-number' and update `gud-running' properly.
16987         (gdb-running): Update threads list when new threads appear.
16988         (gdb-stopped): Support non-stop operation and new thread switching
16989         logic.
16990         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
16991         (gdb-json-partial-output): New set of JSON routines.
16992         (def-gdb-auto-update-trigger): New `signal-list' optional
16993         argument.
16994         (gdb-thread-list-handler-custom): Update `gud-running',
16995         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
16996         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
16997         (gdb-continue-thread, gdb-step-thread): New commands for fine
16998         thread execution control.
16999         (gud-menu-map): New menu items to switch non-stop options.
17000         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17001         (gdb-send): Mimic RET properly (bug 3794).
17003         * progmodes/gdb-mi.el (gdb-rules-name-maker)
17004         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17005         gdb-buffer-rules.
17006         (def-gdb-auto-update-handler): New nopreserve optional argument.
17007         (gdb-stack-list-frames-custom): Print stack from top to bottom.
17009         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17010         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17011         (gdb-parent-mode): New mode to derive other GDB modes from.
17012         (gdb-display-disassembly-for-thread)
17013         (gdb-frame-disassembly-for-thread): New commands for threads
17014         buffer.
17016         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17017         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17018         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17019         (gdb-update): We now store all GDB buffers in a list so that they
17020         can be updated by traversing a list instead of calling invalidate
17021         triggers explicitly.
17022         (def-gdb-trigger-and-handler): New macro to define trigger-handler
17023         pair for GDB buffer.
17024         (gdb-stack-buffer-name): Add thread information.
17025         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17026         handle pending triggers.
17027         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17028         (def-gdb-thread-buffer-simple-command)
17029         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17030         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17031         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17032         New commands which show buffers bound to thread.
17033         (gdb-stack-list-locals-regexp): Removed unused regexp.
17035         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17036         (gdb-locals-buffer-name, gdb-registers-buffer-name)
17037         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17038         to (gud-comint-buffer) in *-buffer-name functions
17039         because (gdb-get-target-string) already does that.
17040         (gdb-locals-handler-custom, gdb-registers-handler-custom)
17041         (gdb-changed-registers-handler): Rewritten without regexps.
17043         * progmodes/gdb-mi.el: Basic thread selection support.
17044         (gdb-thread-number): New variable.
17045         (gdb-current-context-command): New macro which adds --thread
17046         option to command.
17047         (gdb-threads-mode-map): Select thread with SPC.
17048         (gdb-thread-list-handler-custom): Mark current thread with overlay
17049         arrow.  Synchronize GDB thread and Emacs thread.
17050         (gdb-select-thread): New command which selects current thread.
17051         (gdb-invalidate-frames, gdb-invalidate-locals)
17052         (gdb-invalidate-registers): Use --thread option.
17054 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
17056         * net/tramp.el (top): Make check for tramp-gvfs loading more
17057         robust.  (Bug#3977)
17058         (tramp-handle-insert-file-contents): `unwind-protect' must be
17059         inside `with-parsed-tramp-file-name'.
17061         * net/tramp-gvfs.el (top): Remove superfluous message when loading
17062         fails.
17064 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
17066         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17067         directory if CLASSPATH is not set.
17069 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
17071         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17072         New defconst.
17073         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
17075 2009-08-02  Kevin Ryde  <user42@zip.com.au>
17077         * net/newst-backend.el (newsticker--raw-url-list-defaults):
17078         Update freshmeat link.  Delete newsforge.com as it seems gone.
17080 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17082         * select.el (x-set-selection): Doc fix (Bug#4021).
17084         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17086         * help-fns.el (describe-variable): Treat list return values from
17087         dir-locals-find-file properly (Bug#4005).
17089 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
17091         * net/tramp.el (tramp-debug-message): Print also microseconds.
17093 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
17095         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17096         or END is non-nil.
17097         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17098         (tramp-get-debug-buffer): Change `outline-regexp' according to new
17099         format.
17101         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17102         (tramp-get-file-property): Use it.
17104         * autorevert.el (auto-revert-handler): Allow
17105         `auto-revert-tail-mode' for remote files.
17107 2009-08-02  Jason Rumney  <jasonr@gnu.org>
17109         * minibuffer.el (read-file-name): Treat confirm options to
17110         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
17112 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17114         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17115         (font-lock-variable-name-face, font-lock-constant-face): Darken
17116         the colors for light backgrounds.
17118 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
17120         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17121         month names.  (Bug#3987)
17123 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
17125         * simple.el (line-move-finish): Pass whole number to
17126         line-move-to-column.
17127         (line-move-visual): Perform hscroll to the recorded position.
17129 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
17131         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17133 2009-07-29  Alan Mackenzie  <acm@muc.de>
17135         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17137 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
17139         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17140         (gdb-place-breakpoints): Use full path when setting breakpoints.
17142 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
17144         * calc/calc.el (calc-mode-map): Add keybinding for
17145         `calc-transpose-lines'.
17147 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
17149         * calc/calc-misc.el (calc-transpose-lines): New function.
17151 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
17153         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17154         Simplify check for out-of-band methods.
17155         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17156         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
17158 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
17160         * vc-git.el (vc-git-checkin): Fix typo.
17162 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
17164         * progmodes/js2-mode.el: New file.
17166 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
17168         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17169         (gud-menu-map): Adjust tooltip accordingly.
17171 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
17173         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17174         (vc-bzr-log-view-mode): Adjust log-view-file-re.
17176         * add-log.el (change-log-mode-map): Add a menu.
17178 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
17180         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17181         function returns nil.
17182         (dbus-handle-event): Handle special return value :ignore.
17183         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17185 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
17187         * view.el (view-mode-enable): Don't define Helper-return-blurb if
17188         it's not needed.
17190 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
17192         Fix Bug#3888:
17194         * w32-vars.el (x-select-enable-clipboard): Doc fix.
17196         * term/pc-win.el (x-display-name, x-colors)
17197         (x-select-enable-clipboard, x-select-text): Doc fix.
17199         * term/common-win.el (x-display-name, x-colors): Doc fix.
17201         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17202         (xw-defined-colors): Doc fix.
17204         * w32-fns.el (x-select-text, x-setup-function-keys)
17205         (x-get-selection, x-set-selection): Doc fix.
17207         * term/x-win.el (x-select-text, x-setup-function-keys)
17208         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17210         * select.el (x-set-selection): Doc fix.
17212 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
17214         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17215         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
17216         "IsNSSSupportAvailable" method is not available.  Reported by
17217         Steve Youngs <steve@sxemacs.org>.
17219 2009-07-24  Kenichi Handa  <handa@m17n.org>
17221         * international/characters.el: Fix setting of category ?C, ?|, ?K,
17222         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
17223         (build-unicode-category-table): Fix range checks.
17225 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
17227         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17228         the buffer we try to sync is current when calling
17229         vc-resynch-buffer.
17231         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17232         not show up to date files.
17234 2009-07-24  Glenn Morris  <rgm@gnu.org>
17236         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17237         Add autoload cookies.  If necessary, initialize.
17238         (elint-log): Handle non-file buffers.
17239         (elint-initialize): Add optional argument to reinitialize.
17240         (elint-find-builtin-variables): Save excursion.
17242 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
17244         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17245         for Lint.
17247 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
17249         * vc.el (vc-print-log-internal): New function, split out from ...
17250         (vc-print-log): ... here.
17251         (vc-dir-move-to-goal-column): Declare.
17253         * vc-git.el (vc-git-add-signoff): New variable.
17254         (vc-git-checkin): Use it.
17255         (vc-git-toggle-signoff): New function.
17256         (vc-git-extra-menu-map): Bind it to menu.
17257         (vc-git--run-command-string): Accept a nil FILE argument.
17258         (vc-git-stash-list): New function.
17259         (vc-git-dir-extra-headers): Use it.
17261 2009-07-23  Glenn Morris  <rgm@gnu.org>
17263         * help-fns.el (describe-variable): Describe ignored and risky local
17264         variables in a similar way to that in which we describe safe ones.
17266         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17267         (byte-compile-output-file-form, byte-compile-output-docform)
17268         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17269         Give some more local variables with common names a "bytecomp-" prefix,
17270         so as not to shadow things during compilation.
17271         * emacs-lisp/cl-macs.el (load-time-value)
17272         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17273         `outbuffer' to `bytecomp-outbuffer'.
17275         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17276         since the next two variables cover them automatically now.
17277         (elint-builtin-variables, elint-autoloaded-variables): New.
17278         (elint-unknown-builtin-args): Remove all members, since they can be
17279         parsed automatically now.
17280         (elint-extra-errors): New.
17281         (elint-env-add-env, elint-env-add-macro): Use cadr.
17282         (elint-current-buffer): Use or.  Change final message.
17283         (elint-get-top-forms): Use line-end-position.
17284         (elint-init-env): Use cadr.  Handle autoload, declare-function,
17285         and defalias.
17286         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
17287         (regexp-assoc): Remove unused function.
17288         (elint-top-form): Set elint-current-pos, to record the start of the
17289         top-level form, for compilation-mode.
17290         (elint-form): Trap errors in macro expansion.  Use dolist.
17291         (elint-unbound-variable): Use elint-builtin-variables and
17292         elint-autoloaded-variables.
17293         (elint-get-args): Use cadr, or.
17294         (elint-check-cond-form): Use dolist, cadr.
17295         (elint-check-condition-case-form): Doc fix.  Use cadr.
17296         Use elint-extra-errors.
17297         (elint-log): New function.
17298         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17299         Distinguish errors and warnings.
17300         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
17301         Use a bytecomp-style format.
17302         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
17303         (elint-get-log-buffer): Use compilation mode.  Disable undo.
17304         Don't truncate lines.
17305         (elint-initialize): Set builtin and autoloaded variable lists.
17306         Only process elint-unknown-builtin-args if non-nil.
17307         (elint-find-builtin-variables, elint-find-autoloaded-variables):
17308         New functions.
17309         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
17311 2009-07-22  Kevin Ryde  <user42@zip.com.au>
17313         * net/newst-backend.el (newsticker--parse-atom-1.0)
17314         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17315         (newsticker--parse-rss-1.0):
17316         * progmodes/idlwave.el (idlwave-mode):
17317         * progmodes/idlw-shell.el (idlwave-shell-mode):
17318         * progmodes/vera-mode.el (vera-mode):
17319         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17320         * progmodes/vhdl-mode.el (vhdl-mode):
17321         * textmodes/table.el (table-generate-source)
17322         (table--warn-incompatibility):
17323         Hyperlink urls in docstrings with URL `...'.
17325 2009-07-22  Glenn Morris  <rgm@gnu.org>
17327         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17328         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17329         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17330         Remove leading * from defcustom docs.
17332         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
17334         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17335         defcustom doc.
17336         (list-load-path-shadows): Optionally, just return shadows as a string.
17338         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17340 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
17342         * mail/rmailedit.el (rmail-edit-mode): Use
17343         auto-save-include-big-deletions.
17345         * mail/rmail.el (rmail-variables): Use
17346         auto-save-include-big-deletions.
17348         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17349         changes.
17351 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
17353         * calc/calc.el (calc-undo-length): New variable.
17354         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17356 2009-07-21  Richard Stallman  <rms@gnu.org>
17358         * files.el (auto-save-mode): Handle buffer-save-size = -2
17359         for toggling mode.
17361 2009-07-21  Glenn Morris  <rgm@gnu.org>
17363         * textmodes/ispell.el (ispell-looking-back): Update declaration.
17365         * calendar/todo-mode.el (calendar-current-date): Update declaration.
17367         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17368         silence compiler.  Instead...
17369         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17370         (ps-print-ensure-fontified): Update for above function name changes.
17372         * printing.el (pr-mh-get-msg-num, pr-mh-show)
17373         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17374         silence compiler.  Instead...
17375         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17376         (mh-show-buffer): Only define for compiler.
17377         (pr-mh-current-message): Update for above function name changes.
17379         * files.el (abort-if-file-too-large): Explicitly pass `filename'
17380         as an argument.
17381         (find-file-noselect, insert-file-1): Update for above change.
17383         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17385         * mail/mailclient.el (mailclient-send-it): Fix message.
17387         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17388         (edebug-eval): Check cl-debug-env is bound.
17389         (print-level, print-circle): Don't redefine built-in variables.
17391         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17392         (custom-print-vectors): Remove old comments from doc.
17394         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17395         (emerge-version): Make the variable an obsolete alias for the
17396         emacs-version variable.  Make the function obsolete.
17397         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17398         Emerge options, rather than merging in into the main Options menu.
17399         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
17400         and auto advance modes.  Disable edit/fast items when not relevant.
17402 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
17404         * term/vt420.el (terminal-init-vt420): Fix typo.
17406 2009-07-20  Sam Steingold  <sds@gnu.org>
17408         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17409         variable (removed from compile.el on 2004-03-11).
17411 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
17413         * files.el (hack-local-variables-filter): Fix last change.
17415 2009-07-19  Juri Linkov  <juri@jurta.org>
17417         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17418         (dir-local-variables-alist): New buffer-local variable.
17419         (hack-local-variables-filter): If variable is not dir-local,
17420         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17421         because file-local overrides dir-local.
17422         (c-postprocess-file-styles) <declare-function>:
17423         Remove obsolete declaration.
17424         (hack-dir-local-variables): Add dir-local variable/value pair to
17425         `dir-local-variables-alist' and remove duplicates.  Doc fix.
17427         * help-fns.el (describe-variable): Add information about
17428         file-local and dir-local variables.
17430 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
17432         * files.el (hack-local-variables-filter): Rewrite.
17434 2009-07-19  Glenn Morris  <rgm@gnu.org>
17436         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17437         Silence compiler by only defining on XEmacs.
17439         * international/mule.el (auto-coding-regexp-alist): Only match
17440         BABYL... at the start of buffer, not of lines.  (Bug#3790)
17442         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17443         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
17444         (cal-menu-context-mouse-menu): Doc fix.
17446         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17448         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
17450 2009-07-18  Juri Linkov  <juri@jurta.org>
17452         * info.el: Virtual Info keyword finder.
17453         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17454         (Info-finder-file): New variable.
17455         (Info-finder-find-file): New function.
17456         (finder-known-keywords, finder-package-info)
17457         (find-library-name, lm-commentary): Use defvar and
17458         declare-function to silence compiler warnings.
17459         (Info-finder-find-node): New function.
17460         (info-finder): New command.
17462         * subr.el (process-kill-buffer-query-function): New function.
17463         (add-hook)<kill-buffer-query-functions>: Add hook
17464         `process-kill-buffer-query-function'.
17466 2009-07-18  Alan Mackenzie  <acm@muc.de>
17468         * progmodes/cc-mode.el (c-before-hack-hook)
17469         (c-postprocess-file-styles): Give invocation of `c-set-style'
17470         DONT-OVERRIDE parameter of t.  Already set style variables will
17471         thus not be overridden by style settings given by `c-file-syle'.
17473         * files.el (hack-local-variables-filter): Remove entries with
17474         duplicate keys from `file-local-variables-alist'.
17476 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17478         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17479         x-set-selection if display-selections-p returns nil for the
17480         current frame.
17482 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
17484         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17486 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17488         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17489         Accept nil in addition to a regexp.
17490         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17491         Accept nil in addition to a regexp.
17492         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17493         buffers that have an associated file.  Handle nil values of
17494         desktop-buffers-not-to-save and desktop-files-not-to-save.
17495         (Bug#3833)
17497         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17498         (x-disown-selection-internal): New functions.
17500 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
17502         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17503         warning.
17504         (gdb-breakpoints-header): Move forward to avoid compiler warning.
17505         (gdb-make-header-line-mouse-map): Remove duplicate definition.
17507 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
17509         * simple.el (set-mark): Revert last change.
17511 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
17513         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17514         rendering of pngs is not possible instead of messaging a long
17515         description.
17517 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
17519         * w32-fns.el (x-selection-owner-p): New function.
17521         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17522         (mouse-yank-at-click, mouse-yank-primary): If
17523         select-active-regions is non-nil, deactivate the mark before
17524         insertion.
17526         * simple.el (deactivate-mark, set-mark): Only save selection if we
17527         own it.
17529 2009-07-17  Kenichi Handa  <handa@m17n.org>
17531         * case-table.el (describe-buffer-case-table): Fix for the case
17532         that KEY is a cons.
17534 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
17536         * vc-rcs.el (vc-rcs-find-file-hook):
17537         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17539 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
17541         * net/tramp.el (tramp-wait-for-output): Handle the case when
17542         commands do not return a newline but a null byte before the shell
17543         prompt.  (Bug#3858)
17545 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
17547         * term/ns-win.el (ns-set-alpha): Don't declare.
17548         (ns-set-background-alpha): Remove function.
17550 2009-07-16  Kevin Ryde  <user42@zip.com.au>
17552         * emacs-lisp/copyright.el (copyright-update): Save match-data across
17553         y-or-n-p, for safety.
17555 2009-07-16  Richard Stallman  <rms@gnu.org>
17557         * files.el (auto-save-mode): If buffer-saved-size is -2,
17558         don't clobber it.
17560         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17561         (rmail-retry-ignored-headers): Add more uninteresting fields.
17563 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
17565         * net/rcirc.el (rcirc): Use history variables.
17566         (rcirc-server-name-history, rcirc-nick-name-history)
17567         (rcirc-server-port-history): New variables.
17569 2009-07-15  Kenichi Handa  <handa@m17n.org>
17571         * international/mule-cmds.el (set-language-environment-charset):
17572         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17573         ignore them.
17575         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17576         Delete unibyte-display.
17578 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
17580         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17582 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
17584         * simple.el (deactivate-mark): Optional argument FORCE.
17585         (set-mark): Use deactivate-mark.
17587         * info.el (Info-search): No need to check transient-mark-mode
17588         before calling deactivate-mark.
17590         * select.el (x-set-selection): Doc fix.
17591         (x-valid-simple-selection-p): Allow buffer values.
17592         (xselect--selection-bounds): Handle buffer values.  Suggested by
17593         David De La Harpe Golden.
17595         * mouse.el (mouse-set-region, mouse-drag-track): Call
17596         copy-region-as-kill before setting the mark, to let
17597         select-active-regions work.
17599 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
17601         * simple.el (deactivate-mark): If select-active-regions is
17602         non-nil, copy the selection data into a string.
17603         (activate-mark): If select-active-regions is non-nil, set the
17604         selection to the current buffer.
17605         (set-mark): Update selection if select-active-regions is non-nil.
17607         * select.el (x-valid-simple-selection-p): Allow buffer values.
17609 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17611         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17612         and more featureful message-mode.
17614 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
17616         * select.el (x-set-selection): Doc fix.
17617         (x-valid-simple-selection-p): Disallow selection data consisting
17618         of a list or cons of integers, since that is not used.
17619         (xselect--selection-bounds, xselect--int-to-cons): New functions.
17620         (xselect-convert-to-string, xselect-convert-to-length)
17621         (xselect-convert-to-filename, xselect-convert-to-charpos)
17622         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17624 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
17626         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17627         output in -break-info command (Emacs bug #3794).
17629 2009-07-14  Glenn Morris  <rgm@gnu.org>
17631         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17632         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17633         (edebug-print-length, edebug-print-level, edebug-print-circle)
17634         (edebug-sit-for-seconds, edebug-view-outside)
17635         (edebug-bounce-point, edebug-set-global-break-condition)
17636         (edebug-Go-nonstop-mode, edebug-trace-mode)
17637         (edebug-Trace-fast-mode, edebug-continue-mode)
17638         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17639         (edebug-visit-eval-list): Doc fixes.
17641         * subr.el (def-edebug-spec): Doc fix.
17643 2009-07-14  Kenichi Handa  <handa@m17n.org>
17645         * international/characters.el: Fix setting of category ?C.
17647 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
17649         * term/ns-win.el (x-select-font): defalias x-select-font to
17650         ns-popup-font-panel instead of generate-fontset-menu.
17652 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
17654         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
17656 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
17658         * arc-mode.el (archive-find-type): Allow for a PK00 string before
17659         the PK\003\004 header (Bug#3770).
17661 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
17663         * pcomplete.el (pcomplete-comint-setup): Check for
17664         shell-dynamic-complete-filename too.
17666 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
17668         * simple.el (temporary-goal-column): Change the value for
17669         line-move-visual to a cons cell.
17670         (line-move-visual): Record or set the window hscroll, if
17671         necessary (Bug#3494).
17672         (line-move-1): Handle cons value of temporary-goal-column.
17674 2009-07-11  Kenichi Handa  <handa@m17n.org>
17676         * international/mule-diag.el (describe-character-set): Don't show
17677         width.
17679 2009-07-10  Sam Steingold  <sds@gnu.org>
17681         * progmodes/compile.el (compilation-mode-font-lock-keywords):
17682         Omake sometimes indents the errors it prints, so allow all
17683         regexps to start with spaces.
17685 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
17687         * cus-edit.el (customize-changed-options-previous-release):
17688         Bump value to 22.1.  (Bug#3804)
17690 2009-07-08  Sam Steingold  <sds@gnu.org>
17692         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
17693         to be a cons cell (test . ignored-directory) to selectively ignore
17694         some directories depending on the location of the search.
17696 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
17698         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
17699         remote user is root, on the local host.
17700         (tramp-local-host-p): Either the local user or the remote user
17701         must be root.  (Bug#3771)
17703 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
17705         * progmodes/gdb-mi.el (gdb): Remove description of
17706         gdb-use-separate-io-buffer.
17707         (menu): Don't allow toggling of or enable
17708         gdb-use-separate-io-buffer from menubar.
17710 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
17712         * mail/unrmail.el (unrmail): Make sure the message ends with two
17713         newlines (Bug#3769).
17715 2009-07-08  Glenn Morris  <rgm@gnu.org>
17717         * calendar/calendar.el (calendar-current-date): Rework previous change.
17719 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
17721         * calendar/calendar.el (calendar-current-date):
17722         Add an optional argument giving an offset from today.
17724 2009-07-08  Glenn Morris  <rgm@gnu.org>
17726         * tutorial.el (tutorial--describe-nonstandard-key):
17727         Adjust the message for when a key has been unbound.
17728         (help-with-tutorial): Hide the arch-tag.
17730 2009-07-08  Kenichi Handa  <handa@m17n.org>
17732         * international/fontset.el (setup-default-fontset): For each
17733         script, append (not set) font-specs.
17735         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17736         docstring.
17738 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
17740         * progmodes/gdb-mi.el (gdb-init-1): Move sending
17741         -data-list-register-names to ...
17742         (gdb-starting): ... here because GDB 7.0 requires execution to
17743         have started when using this MI command.
17744         (gdb-set-header): New function to distinguish select and
17745         unselected tabs in gdb buffers.
17746         (gdb-propertize-header): New macro that uses gdb-set-header.
17747         (gdb-breakpoints-header, gdb-locals-header): Use it.
17748         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17750 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
17752         * Makefile.in (ELCFILES): Remove fadr.elc.
17754 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
17756         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17757         may contain frame information, so `string-match' should be used.
17758         (gdb-update): Disassembly is invalidated through
17759         `gdb-get-selected-frame'.
17760         (gdb-pad-string): New function to pad string with spaces.
17761         (gdb-invalidate-disassembly): Invalidate only if the buffer
17762         exists.
17763         (gdb-disassembly-handler-custom): Column alignment.
17764         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17765         placing new ones.
17766         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17767         end of line, too.
17768         (gdb-frame-handler): Match convention to for disassembly buffer
17769         mode name.
17770         (gdb-stack-list-frames-handler): Rewritten without regexps.
17771         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17772         not highlight breakpoints without line information.
17773         (gdb-input): Add trailing newline to command.
17775         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17776         buffer properly.
17777         (gdb-breakpoints-list-handler-custom): Replacement for
17778         `gdb-break-list-handler'.  Using real parser instead of regexps
17779         now.
17780         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17781         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17782         to place breakpoints.
17783         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17784         functions.
17785         (gdb-disassembly-handler-custom): Show overlay arrow.
17786         (gdb-disassembly-place-breakpoints): Show breakpoints in
17787         disassembly buffer.
17788         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17789         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17790         instead of parsing breakpoints buffer.  Fixed old menu references
17791         in `gud-menu-map'.
17793         * fadr.el: Remove.
17795         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
17796         (gdb-memory-address): New variable which holds top address of
17797         memory page shown in memory buffer.
17798         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
17799         customization variables.
17800         New functions:
17801         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
17802         display the memory buffer.
17803         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
17804         buffer display parameters.
17805         (def-gdb-memory-format, gdb-memory-format-binary)
17806         (gdb-memory-format-octal, gdb-memory-format-unsigned)
17807         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
17808         Functions for setting memory buffer format.
17809         (gdb-memory-unit-word, gdb-memory-unit-halfword)
17810         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
17811         unit size used in memory buffer.
17812         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
17813         to next/previous page of memory buffer.
17814         Now using (bindat-get-field) instead of fadr functions.
17816 2009-07-07  Sam Steingold  <sds@gnu.org>
17818         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
17819         non-top-level files.
17821 2009-07-07  Kenichi Handa  <handa@m17n.org>
17823         * international/mule-cmds.el (reset-language-environment): Put
17824         the highset priority to the charset iso-8859-1.
17826 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
17828         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
17829         to the end of the line when locating the block (Bug#700).
17831 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
17833         * net/tramp.el (tramp-handle-write-region): Flush file properties
17834         in case of short track.
17836 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
17838         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
17839         Coded custom representation of verilog error regular expressions
17840         to work with Emacs-22's new format.
17841         (verilog-error-regexp-xemacs-alist): Coded custom representation
17842         of verilog error regular expressions to work with XEmacs format.
17843         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
17844         error recognition into XEmacs.
17845         (verilog-error-regexp-add-emacs): Hook routine to install verilog
17846         error recognition into Emacs-22.
17848 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
17850         * woman.el: Remove stand-alone closing parentheses.
17851         (woman-file-name, woman2-format-paragraphs)
17852         (woman-leave-blank-lines): Code cleanup.
17853         (woman-use-own-frame): Change default to nil.
17854         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
17855         defaults to inherit from default faces.
17856         (woman2-process-escapes): Consume the newline after a stand-alone
17857         filler character (Bug#3651).
17859 2009-07-06  Glenn Morris  <rgm@gnu.org>
17861         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
17862         (top-level): Move provide to the end.
17863         (ffap): Remove defunct URL from custom group.
17865         * subr.el (eval-after-load): Doc fix.
17867 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
17869         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
17870         `calc-embedded-word' is called twice.
17872 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17874         * files.el (find-alternate-file-other-window, find-alternate-file):
17875         Obey confirm-nonexistent-file-or-buffer.
17877 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
17879         * dired-aux.el (dired-show-file-type): Handle remote files.
17881 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
17883         * desktop.el (desktop-globals-to-save):
17884         Add file-name-history (Bug#2750).
17886 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
17888         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
17890 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
17892         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
17893         property on entire argument since this is what eshell-lisp-command
17894         expects.
17896 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
17898         * net/tramp-gvfs.el (tramp-gvfs-methods)
17899         (tramp-gvfs-zeroconf-domain)
17900         (tramp-bluez-discover-devices-timeout): Add version flag.
17901         (tramp-gvfs-handler-mounted-unmounted)
17902         (tramp-gvfs-connection-mounted-p): Polish handling of
17903         incompatibilities between GVFS 0.2 and 1.0.
17905 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
17907         * cus-start.el (all): Add make-pointer-invisible.
17909 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
17911         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
17912         formatted correctly.
17914 2009-07-02  Juri Linkov  <juri@jurta.org>
17916         * info.el: Virtual Info files and nodes.
17917         (Info-virtual-files, Info-virtual-nodes): New variables.
17918         (Info-current-node-virtual): New variable.
17919         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
17920         New functions.
17921         (Info-file-supports-index-cookies): Use Info-virtual-file-p
17922         to check for a virtual file instead of checking a fixed list
17923         of node names.
17924         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
17925         instead of ad-hoc processing of "dir" and (apropos history toc).
17926         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
17927         instead of ad-hoc processing of "dir" and (apropos history toc).
17928         Reread a file when moving from a virtual node.
17929         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
17930         (Info-directory-toc-nodes, Info-directory-find-file)
17931         (Info-directory-find-node): New functions.
17932         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
17933         (Info-history): Move part of code to
17934         `Info-history-find-node'.
17935         (Info-history-toc-nodes, Info-history-find-file)
17936         (Info-history-find-node): New functions.
17937         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
17938         (Info-toc): Move part of code to `Info-toc-find-node'.
17939         (Info-toc-find-node): New function.
17940         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
17941         the current Info file name to references because now the node
17942         "*TOC*" belongs to the same Info manual.
17943         (Info-toc-build): Rename from `Info-build-toc'.
17944         (Info-toc-nodes): Rename input argument `file' to `filename'.
17945         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
17946         instead of ad-hoc processing of ("dir" apropos history toc).
17947         (Info-index-nodes): Use Info-virtual-file-p
17948         to check for a virtual file instead of checking a fixed list
17949         of node names.
17950         (Info-index-node): Add check for `Info-current-node-virtual'.
17951         Raise `save-match-data' higher up the tree to contain
17952         `search-forward' too (bug fix).
17953         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
17954         (Info-virtual-index-nodes): New variable.
17955         (Info-virtual-index-find-node, Info-virtual-index): New functions.
17956         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
17957         (Info-apropos-file, Info-apropos-nodes): New variables.
17958         (Info-apropos-toc-nodes, Info-apropos-find-file)
17959         (Info-apropos-find-node, Info-apropos-matches): New functions.
17960         (info-apropos): Move part of code to `Info-apropos-find-node' and
17961         `Info-apropos-matches'.
17962         (Info-mode-map): Bind "I" to `Info-virtual-index'.
17963         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
17964         for a virtual file instead of checking a fixed list of node names.
17966         * simple.el (async-shell-command): New command.
17968         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
17970         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
17971         instead of `mount-info'.
17973 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
17975         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
17976         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
17978 2009-07-02  Kenichi Handa  <handa@m17n.org>
17980         * international/mule.el (set-keyboard-coding-system): Force *-unix
17981         coding-system to avoid eol conversion.
17983 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
17985         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17986         Add handler for `process-file', `shell-command' and
17987         `start-file-process'.
17988         (tramp-gvfs-handle-shell-command)
17989         (tramp-gvfs-handle-start-file-process)
17990         (tramp-gvfs-handle-process-file): New defuns.
17991         (tramp-synce-list-devices): Simplify check for existence of property.
17993 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
17995         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
17997 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
17999         * language/korean.el (set-language-info-alist): Add korean-cp949,
18000         cp949 to spec.
18002 2009-07-01  Kenichi Handa  <handa@m17n.org>
18004         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18006         * international/encoded-kb.el: Deleted.
18008         * international/mule.el (set-keyboard-coding-system): Perform the
18009         necessary setup here instead of calling encoded-kbd-setup-display.
18011 2009-07-01  Glenn Morris  <rgm@gnu.org>
18013         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18015 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
18017         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
18019 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
18021         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18022         Handle also the 'rename case, when setting file modes.  (Bug#3712)
18023         (tramp-default-file-modes): Remove execute permissions.
18025         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18026         (top): Add a default for "synce" in `tramp-default-user-alist'.
18027         Add completion function for "synce" method.
18028         (tramp-hal-service, tramp-hal-path-manager)
18029         (tramp-hal-interface-manager, tramp-hal-interface-device):
18030         New defconst.
18031         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18032         (tramp-synce-list-devices, tramp-synce-parse-device-names):
18033         New defuns.
18035         * net/trampver.el: Update release number.
18037 2009-06-30  Kenichi Handa  <handa@m17n.org>
18039         * international/fontset.el (setup-default-fontset): Add CJK fonts
18040         for symbols and the other miscellaneous characters.
18042         * language/korea-util.el (setup-korean-environment-internal):
18043         Make char-width-table suitable for Korean environments.
18044         (exit-korean-environment): Cancel above.
18046         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18047         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18048         setup-function to make char-width-table suitable for respective
18049         environments, and an exit-function to cancel that.
18051         * language/japan-util.el (setup-japanese-environment-internal):
18052         Call use-cjk-char-width-table with arg `ja_JP'.
18054         * international/characters.el (cjk-char-width-table): Delete it.
18055         (cjk-char-width-table-list): New variable.
18056         (use-cjk-char-width-table): New arg local-name.
18057         (use-default-char-width-table): Fix for the case that Emacs is
18058         already using the default char-width-table.
18060 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
18062         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18063         modes mandatory.  (Bug#3712)
18065 2009-06-29  Alan Mackenzie  <acm@muc.de>
18067         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18068         correction between the visible width of TABs and their number of bytes.
18070 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
18072         * server.el (server-buffer-done): Prevent kill-buffer from
18073         prompting by clearing the buffer modification flag (Bug#3696).
18075 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
18077         * progmodes/verilog-mode.el (verilog-beg-of-statement)
18078         (verilog-endcomment-reason-re): Support unique case and priority case.
18079         (verilog-basic-complete-re): Support localparam lineup.
18080         (verilog-beg-of-statement-1): Fix for robustness, unique case.
18081         (verilog-set-auto-endcomments): Fix for unique case, always_comb
18082         commenting.
18083         (verilog-leap-to-case-head): Now support *nested* unique &
18084         priority case statements.
18085         (verilog-auto-lineup): Make just declarations the default (as it
18086         had been).
18087         (verilog-leap-to-case-head): Support priority/unique case statements.
18088         (verilog-auto-lineup): Rework to give users radio buttons to
18089         select the various styles of automatic lineup.
18090         (verilog-error-regexp-alist): Rework to support the XEmacs style
18091         of error regular expressions from compilers, lint tools &
18092         simulators.  Note that GNU Emacs has made it impossible for a mode
18093         to load such things.
18094         (electric-verilog-terminate-line, verilog-indent-declaration)
18095         (verilog-auto-wiure): Rework for radio button selection of
18096         auto-lineup selection of specification of auto lineup.
18097         (verilog-beg-of-statement-1): Redesign to support proper operation
18098         in additional code, based on testing with auto-lineup.
18099         (verilog-calculate-indent, assignments & declarations)
18100         (verilog-backward-token): Enhance to support auto-lineup of
18101         assignments & declarations.
18102         (verilog-in-directive-p, verilog-at-struct-p): New function for
18103         easy test of whether we are.
18104         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18105         to support safe execution at almost anyline.
18106         (verilog-calc-1): Properly support indenting deep inside generate
18107         blocks.
18108         (verilog-init-font): Remove definition & use of verilog-init-font,
18109         as it is redundant with font-lock-defaults.
18110         (verilog-mode): Alter the definition of verilog-font-lock-defaults
18111         to avoid circular calls if syntax-ppss is a function (as is the
18112         case now in 22.x GNU Emacs) as that function would sometimes call
18113         itself, leading to (nearly) infinite recursion.
18114         (verilog-ovm-begin-re, verilog-ovm-end-re)
18115         (verilog-ovm-statement-re, verilog-leap-to-head)
18116         (verilog-backward-token): Add support for OVM macros.  Some are
18117         complete statements, and others open and close scopes like begin
18118         and end.
18119         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18120         (verilog-defun-level-generate-only-re): Really fix the defun-list
18121         compilation issue.
18122         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18123         coverpoint, constraint and cross statements.
18124         (verilog-defun-level-list, verilog-generate-defun-level-list)
18125         (verilog-all-defun-level-list): Redo these specifications - it is
18126         too hard to support eval-when compile aggregation of lists also
18127         built at when-compile time.
18128         (verilog-defun-level-list): Place defconsts of variables used in
18129         building regular expressions which are built in eval-when-compile
18130         bodies in the same eval-when-compile body to facilitate compile
18131         without load.
18132         (verilog-beg-block-re-ordered): Support indenting
18133         virtual/protected tasks and functions.
18134         (verilog-defun-level-list, verilog-in-generate-region-p)
18135         (verilog-backward-ws&directives, verilog-calc-1): Speed up
18136         indentation of some module items (generate items).
18137         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18138         across virtual/protected tasks and functions.
18140 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
18142         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18143         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
18144         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18145         in concatenations.  Reported by Yishay Belkind.
18146         (verilog-auto-ascii-enum): Support one-hot state machines in
18147         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
18148         (verilog-auto-inst, verilog-auto-inst-port): Include interface
18149         modport in AUTOINST and add vl-modport for users.  Reported by
18150         David Rogoff.
18151         (verilog-auto-inout-module, verilog-auto-inst)
18152         (verilog-decls-get-interfaces, verilog-insert-definition)
18153         (verilog-insert-one-definition, verilog-read-decls)
18154         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18155         (verilog-sig-modport, verilog-signals-combine-bus)
18156         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18157         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18158         Suggested by David Rogoff.
18159         (verilog-repair-open-comma): Fix non-insertion of comma when
18160         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
18161         (verilog-make-width-expression): Simplify [A-1:0] expression
18162         widths to just {A{1'b0}}.
18163         (verilog-mode): Cleanup checkdoc warnings.
18164         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18165         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18166         inputs/outputs or data type.  Suggested by Vasu Kandadi.
18167         (next-error-last-buffer): Fix byte-compiler warning.
18168         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18169         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18170         or shell command text during AUTO expansion.  Suggested by Tad Truex.
18171         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18172         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18173         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18174         in AUTOINOUT.  Reported by Matthew Lovell.
18175         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18176         causing use of <= assignments.  Reported by Alex Reed.
18177         (verilog-read-decls): Fix triand, trior, wand, wor to be
18178         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
18179         (verilog-extended-complete-re): Support import "DPI-C" functions.
18180         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18181         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
18182         (verilog-insert-date, verilog-insert-year)
18183         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18184         Windows systems.  Reported by Michael Potts.
18185         (verilog-read-module-name): Fix AUTOINST when the child module
18186         declaration's name is a tick define.  Reported by Elliot Mednick.
18187         (verilog-read-decls): Fix V2K parameter bit subscripts getting
18188         passed to next parameter's definition.  Reported by Bruce T.
18189         (verilog-read-decls): Fix detecting "parameter int" when using
18190         AUTOINSTPARAM.  Reported by Bruce T.
18191         (verilog-goto-defun): Fix goto not finding modules unless first
18192         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
18193         (verilog-mode): Expand -f flag arguments on entry to mode so
18194         verilog-goto-defun will work.  Reported by Lawrence Butcher.
18195         (verilog-getopt): Expand environment variables in -f file
18196         arguments.  Suggested by Lawrence Butcher.
18197         (verilog-set-define): Fix "Symbol's value as variable is void"
18198         when reading enumerations.
18199         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18200         Suggested by Stephen Peltan.
18201         (verilog-read-defines): Fix reading of enumerations in include
18202         files.  Reported by Steve Peltan.
18204 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18206         * files.el (trash-directory): Fix defcustom type.
18208 2009-06-28  Juri Linkov  <juri@jurta.org>
18210         * help-fns.el (describe-function-1): Correctly locate adviced
18211         functions in hyperlink (Bug#2438).
18213 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
18215         * files.el (trash-directory): Change default to nil.
18216         (move-file-to-trash): If trash-directory is nil and
18217         system-move-file-to-trash is unbound, perform freedesktop-style
18218         trashing.
18220 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18222         * files.el (move-file-to-trash): Add freedesktop trash
18223         support (Bug#973).
18225 2009-06-28  Glenn Morris  <rgm@gnu.org>
18227         * autorevert.el (global-auto-revert-non-file-buffers)
18228         (global-auto-revert-mode): Doc fixes.
18230 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
18232         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18234 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
18236         * faces.el (x-handle-named-frame-geometry): Ensure that we have
18237         opened an X connection before calling x-get-resource (Bug#3194).
18239         * play/doctor.el: Remove reference to obsolete website.
18240         (make-doctor-variables): Correct grammar mistake (Bug#2633).
18242 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
18244         Remove find-file-not-found-hook VC method.  (Bug#2757)
18245         * vc-hooks.el (vc-file-not-found-hook)
18246         (vc-default-find-file-not-found-hook): Remove functions.
18247         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18248         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18249         * vc.el:
18250         * vc-hg.el:
18251         * vc-git.el: Do not mention find-file-not-found-hook VC method.
18253 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
18255         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18256         compatibility function for `looking-back'.
18258         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18259         Use `ispell-looking-back'.
18261 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
18263         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18264         rather than `filename'.
18266 2009-06-23  Miles Bader  <miles@gnu.org>
18268         * face-remap.el (text-scale-set): New function.
18270 2009-06-23  Glenn Morris  <rgm@gnu.org>
18272         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18274         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18276         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18278         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18280         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18281         Simplify Persian conditionals.
18283         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18284         variable `filename'.
18286         * comint.el (comint-insert-input): Doc fix.
18288         * Makefile.in (ELCFILES): Fix typo in previous change.
18290 2009-06-23  Miles Bader  <miles@gnu.org>
18292         * cus-start.el: Add entry for `recenter-redisplay'.
18294 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18296         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18297         Add an optional argument for the backend, use it instead of
18298         calling vc-backend.
18299         (vc-mode-line): Add an optional argument for the backend.
18300         Pass the backend to vc-state and vc-working-revision.  Move code for
18301         special handling for vc-state being a buffer to ...
18303         * vc-rcs.el (vc-rcs-find-file-hook):
18304         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
18306         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18307         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18308         vc-stay-local-p and vc-mode-line calls.
18310         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18311         (vc-cvs-diff, vc-cvs-annotate-command)
18312         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18313         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18314         vc-mode-line calls.
18316         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18317         direct comparison.
18318         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18319         backend when calling vc-mode-line.
18320         (vc-register): Do not create a closure for calling the vc register
18321         function, call it directly.
18323 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18325         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18326         to make it obvious item can be clicked.
18328         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18330 2009-06-23  Kenichi Handa  <handa@m17n.org>
18332         * language/korea-util.el (korean-key-bindings): Change the binding
18333         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
18334         same command.
18336 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
18338         Sync with Tramp 2.1.16.
18340         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18342         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
18343         when a loading of a package fails.  Completion function for rsync
18344         is `tramp-completion-function-alist-ssh'.
18345         (all): Replace all calls of `split-string' and
18346         `tramp-split-string' by `tramp-compat-split-string'.
18347         (tramp-default-method): Use `tramp-compat-process-running-p'.
18348         (tramp-default-proxies-alist): Allow also Lisp forms.
18349         (tramp-remote-path): Add choice "Private Directories".
18350         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18351         (tramp-domain-regexp): Allow also "-", "_" and ".".
18352         (tramp-end-of-output): Remove newlines, and add "$" at the end.
18353         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18354         (tramp-debug-message): Insert header line in debug buffer.
18355         (tramp-handle-directory-files-and-attributes-with-stat):
18356         Care about filenames with spaces, or starting with "-".
18357         (tramp-handle-dired-uncache): New defun.
18358         (tramp-handle-insert-directory): Don't flush the directory from
18359         cache, this is handled by `dired-uncache' now.
18360         (tramp-handle-insert-file-contents): Improve error handling.
18361         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18362         Quote `tramp-end-of-output'.
18363         (tramp-action-password): Improve trace message.
18364         (tramp-check-for-regexp): Both echoes must be present, before removing.
18365         (tramp-open-connection-setup-interactive-shell): Trace coding system.
18366         (tramp-compute-multi-hops): Eval cons cells of
18367         `tramp-default-proxies-alist'.
18368         (tramp-maybe-open-connection): Use the same command pattern for
18369         first hop and further hops.
18370         (tramp-wait-for-output): Remove handling of newlines.
18371         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18372         (tramp-split-string): Remove function.  It is handled in
18373         tramp-compat now.
18375         * net/tramp-cmds.el (tramp-bug):
18376         Recommend `tramp-cleanup-all-connections' in the bug mail.
18378         * net/tramp-compat.el (tramp-compat-split-string)
18379         (tramp-compat-process-running-p): New defuns.
18381         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18382         for `dired-uncache'.
18384         * net/tramp-gvfs.el: New package.
18386         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18387         Add handler for `dired-uncache'.
18388         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18390         * net/trampver.el: Update release number.  Make version check fit
18391         for SXEmacs 22.
18393 2009-06-22  Jim Meyering  <meyering@redhat.com>
18395         Automatically handle .xz suffix (XZ-compressed files), too.
18396         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18397         XZ is the successor to LZMA: <http://tukaani.org/xz/>
18399 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
18400             Nick Roberts  <nickrob@snap.net.nz>
18402         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18403         repository (http://sphinx.net.ru/hg/gdb-mi/).
18405 2009-06-22  Glenn Morris  <rgm@gnu.org>
18407         * files.el (dir-locals-collect-mode-variables): Allow for any number of
18408         `mode' and `eval' entries.  (Bug#3430)
18410         * Makefile.in (ELCFILES): Add fadr.elc.
18412         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18413         differing behavior of \n and ^ in strings.  (Bug#3385)
18415         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18417         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18418         property.
18419         (lisp-indent-function): Make it a defcustom.
18421 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
18423         * progmodes/gdb-ui.el: Replace with ...
18424         * progmodes/gdb-mi.el: ... this file.
18425         * progmodes/gud.el: Modify for gdb-mi.el.
18427 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
18429         * fadr.el: New file.
18431 See ChangeLog.14 for earlier changes.
18433 ;; Local Variables:
18434 ;; coding: utf-8
18435 ;; End:
18437   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
18439   This file is part of GNU Emacs.
18441   GNU Emacs is free software: you can redistribute it and/or modify
18442   it under the terms of the GNU General Public License as published by
18443   the Free Software Foundation, either version 3 of the License, or
18444   (at your option) any later version.
18446   GNU Emacs is distributed in the hope that it will be useful,
18447   but WITHOUT ANY WARRANTY; without even the implied warranty of
18448   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18449   GNU General Public License for more details.
18451   You should have received a copy of the GNU General Public License
18452   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.