Don't be so lax with spelling.
[emacs.git] / lisp / ChangeLog
blob4413266a18b6a2f419c5e686ea3df0007e0aaad1
1 2010-11-03  Glenn Morris  <rgm@gnu.org>
3         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5         * play/landmark.el (lm-losing-threshold): Correct spelling.
6         (lm-human-plays): Use new name.
8         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
9         (gomoku-human-plays): Use new name.
11         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
12         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
13         (gomoku-score-trans-table, gomoku-winning-threshold)
14         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
16 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
18         * emacs-lisp/package.el: Don't put built-in packages in
19         package-alist, to avoid loading inefficiencies.
20         (package-built-in-p): Make VERSION optional, and treat it as a
21         minimum acceptable version.
22         (package-activate): Search separately for built-in packages.  Emit
23         a warning if a dependency fails.
24         (define-package): Handle most common case, where there is no
25         obsolete package, first.
26         (package-compute-transaction): Print required version in error.
27         (package--initialized): New variable.
28         (list-packages): Use it.
29         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
30         built-in packages in packages-alist; keep it separate.  Set
31         package--initialized.
32         (describe-package): Avoid activating packages as a side-effect.
33         Search separately for built-in packages.
34         (describe-package-1): Handle the case where an elpa package is
35         simultaneously built-in and available/installed.
36         (package-installed-p, package--generate-package-list): Search
37         separately for built-in packages.
38         (package-load-descriptor): Doc fix.
40 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
42         * progmodes/perl-mode.el (perl-syntax-propertize-function):
43         Handle __DATA__ and __END__.
45 2010-11-02  Noah Friedman  <friedman@splode.com>
47         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
48         nil, do not ask to recompile files that are not already compiled,
49         and do not recompile them.
51 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
53         * emacs-lisp/package.el (package-initialize): Ensure that
54         obsoleted built-in packages are not in package-activated-list
55         during activation.
56         (describe-package-1): Make the "installed" status override
57         "built-in".
59 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
61         * subr.el (version-separator, version-regexp-alist): Remove '*'
62         from docstring.
63         (version-list-<=, version<=, version=): Doc fix.
65 2010-11-01  Kenichi Handa  <handa@m17n.org>
67         * faces.el (glyphless-char): Inherit underline for tty.
69 2010-11-01  Kenichi Handa  <handa@m17n.org>
71         Implement various display methods for glyphless characters.
73         * international/characters.el (char-acronym-table): New variable.
74         (glyphless-char-control): New variable.
75         (update-glyphless-char-display): New funciton.
77         * faces.el (glyphless-char): New face.
79 2010-11-01  Glenn Morris  <rgm@gnu.org>
81         * calendar/holidays.el (general-holidays, oriental-holidays)
82         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
83         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
84         the definitions of their targets.
86         * emacs-lisp/smie.el (smie): New custom group.
87         (smie-blink-matching-inners, smie-indent-basic): Add :group.
89         * faces.el (xw-defined-colors, x-setup-function-keys):
90         * mouse-sel.el (x-select-text):
91         * term/w32console.el (x-setup-function-keys): Update declarations.
93         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
95         * textmodes/ispell.el (comment-add): Declare.
97         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
98         Declare.
100         * info.el (finder-keywords-hash, package-alist): Declare.
102 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
104         * finder.el (finder-compile-keywords): Don't use intern-soft,
105         since package names may not yet exist in the obarray.
107 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
109         * vc/vc-arch.el (vc-arch-checkin):
110         * vc/vc-cvs.el (vc-cvs-checkin):
111         * vc/vc-mtn.el (vc-mtn-checkin):
112         * vc/vc-rcs.el (vc-rcs-checkin):
113         * vc/vc-sccs.el (vc-sccs-checkin):
114         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
115         since 2010-04-21 commit by Stefan Monnier.
117 2010-11-01  Glenn Morris  <rgm@gnu.org>
119         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
121         * startup.el (package-enable-at-startup, package-initialize):
122         Silence compiler.
124         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
125         Silence compiler.
127 2010-10-31  Julien Danjou  <julien@danjou.info>
129         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
130         (byte-recompile-directory):
131         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
132         Use `byte-recompile-file'.
134 2010-10-31  Glenn Morris  <rgm@gnu.org>
136         * cus-start.el: Handle standard values via a keyword.
137         Only set version property if specified.
138         (cursor-in-non-selected-windows, menu-bar-mode)
139         (tool-bar-mode, show-trailing-whitespace):
140         Do not specify standard values.
141         (transient-mark-mode, temporary-file-directory): Use :standard.
143 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
145         * term/x-win.el (x-get-selection-value): New function that gets
146         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
148 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
150         * net/tramp.el (tramp-handle-insert-file-contents): For root,
151         preserve owner and group when editing files.  (Bug#7289)
153 2010-10-31  Glenn Morris  <rgm@gnu.org>
155         * speedbar.el (speedbar-mode):
156         * play/fortune.el (fortune-in-buffer, fortune):
157         * play/gomoku.el (gomoku-mode):
158         * play/landmark.el (lm-mode):
159         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
160         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
162         * select.el (x-selection): Mark it as an obsolete alias.
164 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
166         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
167         major-mode (bug#7284).
169 2010-10-31  Glenn Morris  <rgm@gnu.org>
171         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
172         rather than just an unused variable that inherits from the real one.
174 2010-10-31  Alan Mackenzie  <acm@muc.de>
176         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
177         This fixes bug #7185.
179 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
181         * startup.el (command-line): Search for package directories, and
182         don't load package.el if none are found.
184         * emacs-lisp/package.el (describe-package, list-packages): Call
185         package-initialize if it has not been called yet.
187 2010-10-30  Alan Mackenzie  <acm@muc.de>
189         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
190         which fontifies the tail of an enum.
191         (c-basic-matchers-after): Insert a call to the above new function.
192         This fixes bug #7264.
194 2010-10-30  Glenn Morris  <rgm@gnu.org>
196         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
197         tool-bar-mode, transient-mark-mode.  (Bug#7306)
198         Include the :set property in the dumped Emacs.
200 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
202         SMIE: change indent rules format, improve smie-setup.
203         * emacs-lisp/smie.el (smie-precs-precedence-table)
204         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
205         Mark them pure so the tables gets built at compile time.
206         (smie-bnf-precedence-table): Store the closer-alist in the table.
207         (smie-prec2-levels): Preserve the closer-alist.
208         (smie-blink-matching-open): Be more forgiving in case of indentation.
209         (smie-hanging-p): Rename from smie-indent--hanging-p.
210         (smie-bolp): Rename from smie-indent--bolp.
211         (smie--parent, smie--after): New dynamic vars.
212         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
213         (smie-indent-rules): Remove.
214         (smie-indent--offset-rule): Remove fun.
215         (smie-rules-function): New var.
216         (smie-indent--rule): New fun.
217         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
218         (smie-indent-exps): Use it.
219         (smie-setup): Setup paren blinking; add keyword args for token
220         functions; extract closer-alist from op-levels.
221         (smie-indent-debug-log): Remove var.
222         (smie-indent-debug): Remove fun.
223         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
224         (prolog-smie-rules): New fun to replace it.
225         (prolog-mode-variables): Simplify.
226         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
227         it's setup automatically.
228         (octave-smie-indent-rules): Remove.
229         (octave-smie-rules): New fun to replace it.
230         (octave-mode): Simplify.
232 2010-10-29  Glenn Morris  <rgm@gnu.org>
234         * files.el (temporary-file-directory): Remove (already defined in C).
235         * cus-start.el: Add temporary-file-directory.
237         * abbrev.el (abbrev-mode):
238         * composite.el (auto-composition-mode):
239         * menu-bar.el (menu-bar-mode):
240         * simple.el (transient-mark-mode):
241         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
242         that they do not define the associated variables twice.
243         * simple.el (transient-mark-mode): Remove defvar.
244         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
245         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
246         Handle multiple groups, and also custom-delayed-init-variables.
247         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
249 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
251         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
252         (pcase-if): Add one minor optimization.
253         (pcase-split-equal): Rename from pcase-split-eq.
254         (pcase-split-member): Rename from pcase-split-memq.
255         (pcase-u1): Add strings to the member optimization.
256         Add `guard' variant of predicates.
257         (pcase-q1): Add string patterns.
259 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
261         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
263 2010-10-28  Glenn Morris  <rgm@gnu.org>
265         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
266         Move menu-bar related settings to ../menu-bar.el.
267         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
268         Move ns-specific settings here from term/ns-win.el.
270         * simple.el (x-selection-owner-p): Remove unused declaration.
272 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
274         * minibuffer.el (completion-cycling): New var (bug#7266).
275         (minibuffer-complete, completion--do-completion):
276         Use completion--flush-all-sorted-completions.
277         (minibuffer-complete): Only cycle if completion-cycling is set.
278         (completion--flush-all-sorted-completions): Unset completion-cycling.
279         (minibuffer-force-complete): Set completion-cycling.
280         (completion-all-sorted-completions): Move declaration before first use.
282 2010-10-28  Leo  <sdl.web@gmail.com>
284         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
285         which changes the order of matches seen by users (bug#7231).
287 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
289         * progmodes/compile.el (compilation-mode-font-lock-keywords):
290         Don't confuse -omega as "-o mega".
292 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
294         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
295         (log-edit-author): New dynamic var.
296         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
297         to return the author if different from committer.
298         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
300         * play/landmark.el: Adjust commenting convention.
301         (lm-nil-score): Rename from nil-score.
302         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
303         (OOOOscore): Move into a let in lm-score-trans-table.
304         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
306         * electric.el (electric-indent-chars): Autoload.
307         * progmodes/octave-mod.el (octave-mode):
308         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
309         (ruby-mode-abbrev-table): Merge initialization and declaration.
311 2010-10-27  Glenn Morris  <rgm@gnu.org>
313         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
314         variable.
316         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
318         * term/ns-win.el: Restore require of cl when compiling.
319         (menu-bar-final-items): Remove non-existent `windows' menu.
320         (ns-handle-nxopen): Optionally handle the temp-case.
321         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
322         (ns-insert-file, ns-find-file): Use `pop'.
324 2010-10-26  Glenn Morris  <rgm@gnu.org>
326         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
328 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
330         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
331         global map.
332         * term/common-win.el (x-setup-function-keys): Remove most of the
333         keymappings.  Comment on the remaining ones.
335 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
337         * server.el (server-port): New option.  (Bug#854)
338         (server-start): Use server-port.
340 2010-10-26  Glenn Morris  <rgm@gnu.org>
342         * term/ns-win.el (ns-version-string): Remove unused declaration.
343         (ns-invocation-args): Change to x-invocation-args.
344         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
345         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
346         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
347         Use x-invocation-args instead of ns-invocation-args.
348         (ns-initialize-window-system, handle-args-function-alist):
349         Use x-handle-args instead of ns-handle-args.
350         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
351         * startup.el (command-line-ns-option-alist): Replace
352         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
353         ns-handle-iconic with the x- equivalents.
355         * term/common-win.el (x-select-enable-clipboard):
356         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
358         * term/ns-win.el: No need to require cl when compiling.
359         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
360         (xw-defined-colors): Use the common-win definitions.
361         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
362         (ns-handle-iconic): Make it an alias for x-handle-iconic.
363         * term/common-win.el (x-select-text, x-alternatives-map)
364         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
365         * loadup.el [ns]: Load common-win.
367 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
369         * epa-mail.el (epa-mail-encrypt): Handle local-part only
370         recipients; expand mail aliases (Bug#7280).
372 2010-10-25  Glenn Morris  <rgm@gnu.org>
374         * term/common-win.el (x-handle-switch): Simplify with pop.
375         Optionally handle numeric switches.
376         (x-handle-numeric-switch): Just call x-handle-switch.
377         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
378         (x-handle-name-switch, x-handle-display, x-handle-args):
379         Simplify with pop.
381         * term/ns-win.el: Do not require easymenu.
382         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
383         <spell>: Move adjustments to menu-bar.el.
384         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
385         <separator-undo, spell>: Move ns-win's adjustments here.
386         * loadup.el [ns]: Do not load easymenu.
388 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
390         * image.el (image-checkbox-checked, image-checkbox-unchecked):
391         Delete (Bug#7222).
393         * startup.el (fancy-startup-tail): Instead of using inline images,
394         refer to image files from etc/.
396         * wid-edit.el (checkbox): Likewise.
397         (widget-image-find): Center image specs.
399 2010-10-24  Glenn Morris  <rgm@gnu.org>
401         * term/ns-win.el (x-select-text): Doc fix.
402         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
403         (x-select-text): Move to term/common-win.
404         * term/w32-win.el (xw-defined-colors): Move to common-win.
405         * term/x-win.el (xw-defined-colors, x-alternatives-map)
406         (x-setup-function-keys, x-select-text): Move to common-win.
407         * term/common-win.el (x-select-text, x-alternatives-map)
408         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
409         definitions here.
411 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
413         * net/mairix.el (mairix-searches-mode-map):
414         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
416 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
418         * verilog-mode.el (verilog-directive-re): Make this variable
419         auto-built for efficiency of execution and updating.
420         (verilog-extended-complete-re): Support 'pure' fucntion & task
421         declarations (these have no bodies).
422         (verilog-beg-of-statement): General cleanup to enable support of
423         'pure' fucntion & task declarations (these have no bodies).
424         These efforts together fix Verilog bug210 from veripool; which was also
425         noticed by Steve Pearlmutter.
426         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
427         (verilog-directive-nest-re, verilog-set-auto-endcomments):
428         Support `elsif.  Reported by Shankar Giri.
429         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
430         attribute handling for lining up declarations and assignments.
431         (verilog-beg-of-statement-1): Fix issue where continued declaration
432         is indented differently if it is after a begin..end clock.
433         (verilog-in-attribute-p, verilog-skip-backward-comments)
434         (verilog-skip-forward-comment-p): Support proper treatment of
435         attributes by indent code. Reported by Jeff Steele.
436         (verilog-in-directive-p): Fix comment to correctly describe function.
437         (verilog-backward-up-list, verilog-in-struct-region-p)
438         (verilog-backward-token, verilog-in-struct-p)
439         (verilog-in-coverage-p, verilog-do-indent)
440         (verilog-pretty-declarations): Use verilog-backward-up-list as
441         wrapper around backward-up-list inorder to properly skip comments.
442         Reported by David Rogoff.
443         (verilog-property-re, verilog-endcomment-reason-re)
444         (verilog-beg-of-statement, verilog-set-auto-endcomments)
445         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
446         of if). Reported by Max Bjurling and
447         (verilog-calc-1): Fix for clocking block in modport
448         declaration. Reported by Brian Hunter.
450 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
452         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
453         (verilog-gate-keywords, verilog-read-sub-decls)
454         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
455         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
456         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
457         (verilog-read-decls): Fix spaces in V2K module parameters causing
458         mis-identification as interfaces, bug287.
459         (verilog-read-decls): Fix not treating "parameter string" as a
460         parameter in AUTOINSTPARAM.
461         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
462         treating `elsif similar to `endif inside AUTOSENSE.
463         (verilog-do-indent): Implement correct automatic or static task or
464         function end comment highlight. Reported by Steve Pearlmutter.
465         (verilog-font-lock-keywords-2): Fix highlighting of single
466         character pins, bug264.  Reported by Michael Laajanen.
467         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
468         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
469         (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
470         interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
471         (verilog-pretty-expr): Fix interactive arguments, bug272.
472         Reported by Mark Johnson.
473         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
474         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
475         bug269. Suggested by Gary Delp.
476         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
477         (verilog-preprocessor, verilog-set-compile-command):
478         Create verilog-preprocess and verilog-preprocessor to show
479         preprocessed output.
480         (verilog-get-beg-of-line, verilog-get-end-of-line)
481         (verilog-modi-file-or-buffer, verilog-modi-name)
482         (verilog-modi-point, verilog-within-string): Move defmacro's
483         before first use to avoid warning. Reported by Steve Pearlmutter.
484         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
485         (verilog-colorize-region, verilog-highlight-buffer)
486         (verilog-highlight-includes, verilog-highlight-modules)
487         (verilog-highlight-region, verilog-mode): Rename colorize to
488         highlight to match other packages.  Disable module highlighting,
489         as received speed complaints, reenable for experimentation only
490         using new verilog-highlight-modules.
491         (verilog-read-decls): Fix regexp stack overflow in very large
492         AUTO_TEMPLATEs, bug250.
493         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
494         (verilog-scan): Create verilog-save-buffer-state to standardize
495         making insignificant changes that shouldn't call hooks.
496         (verilog-save-no-change-functions, verilog-save-scan-cache)
497         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
498         Create verilog-save-no-change-functions to wrap verilog-scan
499         preservation, and fix to work with nested preserved calls.
500         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
501         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
502         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
503         (verilog-submit-bug-report): Update variable list to be complete.
504         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
505         breaking on-the-fly font-locking.
506         (verilog-colorize-buffer, verilog-colorize-include-files)
507         (verilog-colorize-include-files-buffer, verilog-colorize-region)
508         (verilog-load-file-at-mouse, verilog-load-file-at-point)
509         (verilog-mode, verilog-read-inst-module-matcher): With point on a
510         AUTOINST cell instance name, middle mouse button now finds-file on
511         it.  Suggested by Brad Dobbie.
512         (verilog-alw-get-temps, verilog-auto-reset)
513         (verilog-auto-sense-sigs, verilog-read-always-signals)
514         (verilog-read-always-signals-recurse): Fix loop indexes being
515         AUTORESET. AUTORESET now assumes any variables in the
516         initialization section of a for() should be ignored.  Reported by
517         Dan Dever.
518         (verilog-error-font-lock-keywords)
519         (verilog-error-regexp-emacs-alist)
520         (verilog-error-regexp-xemacs-alist): Fix error detection of
521         Cadence HAL, reported by David Asher.  Repair drift between the
522         three similar error variables.
523         (verilog-modi-lookup, verilog-modi-lookup-cache)
524         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
525         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
526         Fix slow verilog-auto expansion on very large files.
527         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
528         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
529         "{1*2{...".  Broke in last revision.
530         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
531         submodule connections with replications "{#{a},#{b}}".
533 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
535         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
536         Fix typo in docstring.
538 2010-10-24  Kenichi Handa  <handa@m17n.org>
540         * face-remap.el (text-scale-adjust): Call read-event with a proper
541         prompt.
543 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
545         * emacs-lisp/unsafep.el: Don't mark functions that display
546         messages as safe.  Suggested by Johan Bockgård.
548 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
550         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
551         Turn comments into docstrings.
553         * minibuffer.el (completion--replace): Move point where it belongs
554         when there's a common suffix (bug#7215).
556 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
558         Merge read-color and facemenu-read-color (Bug#7242).
560         * faces.el (read-color): Use the completion code from
561         facemenu-read-color.  Require match in completion.  Doc fix.
563         * facemenu.el (facemenu-read-color): Alias for read-color.
564         (facemenu-set-foreground, facemenu-set-background): Use
565         read-color.
567         * frame.el (set-background-color, set-foreground-color)
568         (set-cursor-color, set-mouse-color, set-border-color): Use
569         read-color.
571 2010-10-24  Leo  <sdl.web@gmail.com>
573         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
574         argument of delete-file and delete-directory (Bug#7011).
576 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
578         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
579         button-buffer-map.
581 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
583         * emacs-lisp/package.el (package--generate-package-list): Make the
584         *Packages* buffer read-only.
586 2010-10-24  Alan Mackenzie  <acm@muc.de>
588         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
589         result of `c-beginning-of-decl-1' between invocations of a lambda
590         function (Bug #7265).
592 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
594         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
595         executable is not available on the system (Bug#7268).
597 2010-10-24  Glenn Morris  <rgm@gnu.org>
599         * select.el (selection-coding-system, next-selection-coding-system):
600         Sync doc with C versions.
602         * w32-vars.el (x-select-enable-clipboard):
603         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
604         * term/common-win.el (x-select-enable-clipboard): Move here.
606         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
607         definition of C variable.
609         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
610         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
611         Don't redefine things that are defined in C.
612         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
613         (show-trailing-whitespace, auto-hscroll-mode)
614         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
615         Set up the appropriate custom properties.
617 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
619         Bind "C-c ]" to ...
620         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
621         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
622         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
623         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
625 2010-10-23  Glenn Morris  <rgm@gnu.org>
627         * textmodes/flyspell.el (flyspell-mode): If there was an error,
628         say what it was.
630         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
631         Sync docs with C version.
633         * term/ns-win.el (xw-defined-colors):
634         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
636         * term/pc-win.el (x-select-enable-clipboard):
637         * term/x-win.el (x-select-enable-clipboard):
638         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
640         * comint.el (comint-password-prompt-regexp): Make it less vague.
641         Bump version.
643         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
645         * help.el (finder-by-keyword): Remove unnecessary autoload.
647 2010-10-22  Glenn Morris  <rgm@gnu.org>
649         * loadup.el: Unconditionally load float-sup.
650         * paren.el (show-paren-delay):
651         * emacs-lisp/float-sup.el:
652         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
653         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
654         (lazy-lock-stealth-verbose): Assume float support.
655         * ps-print.el: Assume float support on Emacs.
656         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
657         Remove non-float branch.
659         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
660         src/Makefile no longer being pre-processed.
662 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
664         * emacs-lisp/find-func.el (find-library): Use test-completion.
666 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
668         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
670 010-10-21  Michael Albinus  <michael.albinus@gmx.de>
672         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
673         space in stat format string.
674         (tramp-send-command): Unset $PS1 when using here documents, in
675         order not to get several prompts.
676         (tramp-get-inline-coding): Return `nil' in case of errors.
678 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
680         * hexl.el (hexl-mode, hexl-mode-exit):
681         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
682         (hexl-revert-buffer-function): New function.
683         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
685 2010-10-19  Alan Mackenzie  <acm@muc.de>
687         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
688         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
689         that these keywords aren't wrongly matched as identifiers.
691         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
692         setting of c-new-BEG and c-new-END from c-before-change to
693         c-after-change.  (Bug#7181)
695 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
697         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
698         Don't mark as safe.
700         * custom.el (custom-theme-set-variables): Likewise.
701         (load-theme): Add custom-theme-set-faces and
702         custom-theme-set-variables to safe-functions while loading.
703         (custom-enabled-themes): Mark as risky.
705 2010-10-18  Julien Danjou  <julien@danjou.info>
707         * bindings.el: Remove end dashes in default mode-line-format.
709 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
711         * bindings.el (global-map): Bind C-d to delete-char and deletechar
712         to delete-forward-char.
714         * simple.el (normal-erase-is-backspace-mode): Remap delete to
715         deletechar, and hence delete-forward-char.
717 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
719         * repeat.el (repeat): Use read-key (bug#6256).
721 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
723         * emacs-lisp/unsafep.el: Don't mark functions that display
724         messages as safe.  Suggested by Johan Bockgård.
726 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
728         * minibuffer.el (completion--replace): Move point where it belongs
729         when there's a common suffix (bug#7215).
731 2010-10-19  Kenichi Handa  <handa@m17n.org>
733         * international/characters.el: Add category '|' (word breakable)
734         to fullwidth characters.
736 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
738         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
739         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
740         order to make stat results a float.  Patch by Andreas Schwab
741         <schwab@linux-m68k.org>.
743 2010-10-18  Julien Danjou  <julien@danjou.info>
745         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
746         hidden by `make-pointer-invisible'.
748 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
750         * files.el (locate-file-completion-table): Strip non-matching elements
751         before checking length of list (bug#7238).
753 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
755         * custom.el (custom-theme-set-variables): Mark as a safe function.
756         (load-theme): Check forms using unsafep.
758         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
760 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
762         * textmodes/ispell.el (ispell-aspell-find-dictionary):
763         Fix aspell data file searching (bug#7230).
765 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
767         * cus-theme.el (custom-theme--migrate-settings): New var.
768         (customize-create-theme): Allow editing the `user' theme.
769         (custom-theme-add-variable, custom-theme-add-var-1)
770         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
771         to the front of each variable or face widget.
772         (custom-theme-write): Save theme settings in the correct order.
773         Optionally, remove saved settings from user customizations.
774         (custom-theme-write-variables, custom-theme-write-faces):
775         Save only the checked widgets.
776         (customize-themes): Add a link for migrating custom settings.
778         * custom.el (custom-declare-theme, provide-theme):
779         Use custom-theme-name-valid-p.
780         (custom-theme-name-valid-p): Remove checks that are now
781         unnecessary since themes no longer obey load-path.
783         * cus-edit.el (custom-variable-value-create): For the simple
784         style, hide documentation string when hidden.
786 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
788         * cus-edit.el (custom-variable, custom-face): Combine the
789         :inhibit-magic and :display-style properties into a single
790         :custom-style property.
791         (custom-toggle-hide-variable, custom-toggle-hide-face):
792         New functions.  If hiding an edited value, save it to :shown-value.
793         (custom-variable-value-create, custom-face-value-create): Use them.
794         (custom-magic-reset): Allow magic property to be unset.
796         * custom.el: Custom themes no longer use load-path.
797         (custom-theme-load-path): New option.  Change built-in theme
798         directory to etc/.
799         (custom-enabled-themes): Add custom-theme-load-path dependency.
800         (custom-theme--load-path): New function.
801         (load-theme, custom-available-themes): Use it.
803         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
804         (customize-themes): Link to custom-theme-load-path variable.
805         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
806         :custom-style property.
808         * themes/*.el: Moved to etc/.
810 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
812         * textmodes/reftex-cite.el
813         (reftex-extract-bib-entries-from-thebibliography): Do not move
814         point when searching for \bibitem entries.  Match entries with
815         spaces or tabs in front of arguments.
817 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
819         * cus-theme.el (customize-create-theme): Delete overlays after
820         erasing.  If given a THEME arg, display only the faces of that arg
821         instead of custom-theme--listed-faces.
822         (custom-theme-variable-menu, custom-theme-variable-action)
823         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
824         (custom-theme-add-variable, custom-theme-add-face): Apply value
825         from the theme settings, instead of the current value.
826         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
827         (custom-theme-visit-theme): Allow calling outside theme buffers.
828         (custom-theme-merge-theme): Don't enable the theme when merging.
829         (custom-theme-write-variables, custom-theme-write-faces): Use the
830         :shown-value properties to save buffer values, not global ones.
831         (customize-themes): Display a warning about user customizations.
833         * cus-edit.el (custom-variable-value-create)
834         (custom-face-value-create): Obey new special properties
835         :shown-value and :inhibit-magic.
837 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
839         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
840         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
841         <dale@codefu.org>.
843 2010-10-14  Kenichi Handa  <handa@m17n.org>
845         * mail/rmail.el (rmail-show-message-1): Catch an error of
846         base64-decode-region and just show an error message (bug#7165).
848         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
849         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
850         a font-spec (bug#7197).
852 2010-10-14  Glenn Morris  <rgm@gnu.org>
854         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
856 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
858         * international/mule.el (define-coding-system):
859         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
860         * composite.el (compose-region): Fix typo in docstring.
862 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
864         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
865         only after checking the theme-face property.
867         * faces.el (face-spec-reset-face): Reset all attributes in one
868         single call to set-face-attribute.
869         (face-spec-match-p): Make it a defsubst.
870         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
871         (x-create-frame-with-faces, tty-create-frame-with-faces)
872         (tty-set-up-initial-frame-faces): Don't recompute face specs in
873         frame-set-background-mode, since they are recomputed immediately
874         afterwards in face-set-after-frame-default.
875         (face-set-after-frame-default): Minor optimization.
876         (cursor): Provide non-trivial defface spec.
878         * custom.el (custom-theme-recalc-face): Simplify.
880 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
882         * calc/calc-alg.el (math-var): Rename from `var'.
883         (math-is-polynomial, math-is-poly-rec): Replace `var'
884         with `math-var'.
886         * calc/calcalg2.el (math-var): Rename from `var'.
887         (calcFunc-table, math-scan-for-limits): Replace `var'
888         with `math-var'.
890 2010-10-13  Glenn Morris  <rgm@gnu.org>
892         * subr.el (last): Deal with dotted lists (reported in bug#7174).
894 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
896         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
898 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
900         * net/tls.el (tls-program): Remove spurious %s from openssl.
901         (tls-starttls-switches): Remove starttls hack.
902         (open-tls-stream): Ditto.
903         (tls-find-starttls-argument): Ditto.
905 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
907         * image.el (image-library-alist): Declare as obsolete alias.
908         (image-type-available-p): Use `dynamic-library-alist'.
910         * term/w32-win.el (dynamic-library-alist):
911         Use instead of `image-library-alist'.
913 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
915         * subr.el (last): Make it faster.  (Bug#7174)
917 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
919         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
921 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
923         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
924         (describe-theme-1): Extract doc from unloaded themes.
926         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
928         * themes/tango-theme.el:
929         * themes/tango-dark-theme.el:
930         * themes/wheatgrass-theme.el: New files.
932 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
934         * cus-theme.el (describe-theme, customize-themes)
935         (custom-theme-save): New commands.
936         (custom-new-theme-mode-map): Bind C-x C-s.
937         (custom-new-theme-mode): Use custom--initialize-widget-variables.
938         (customize-create-theme): New optional arg THEME.
939         (custom-theme-revert): Use it.
940         (custom-theme-visit-theme): Remove dead code.
941         (custom-theme-merge-theme): Use custom-available-themes.
942         (custom-theme-write): Make interactive.
943         (custom-theme-write): Use custom-theme-name-valid-p.
944         (describe-theme-1, custom-theme-choose-revert)
945         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
946         New funs.
947         (custom-theme-allow-multiple-selections): New option.
948         (custom-theme-choose-mode): New major mode.
950         * custom.el (custom-theme-set-variables): Remove dead code.
951         Obey custom--inhibit-theme-enable.
952         (custom--inhibit-theme-enable): New var.
953         (provide-theme): Obey it.
954         (load-theme): Replace load with manual read/eval, in order to
955         check for correctness.  Use custom-theme-name-valid-p.
956         (custom-theme-name-valid-p): New function.
957         (custom-available-themes): Use it.
959         * cus-edit.el (custom--initialize-widget-variables): New function.
960         (Custom-mode): Use it.
962         * cus-face.el (custom-theme-set-faces): Remove dead code.
963         Obey custom--inhibit-theme-enable.
965         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
967 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
969         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
971 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
973         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
974         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
975         (mac-right-option-modifier): New alias for ns-right-option-modifier.
977         * cus-start.el (all): ns-right-alternate-modifier is new.
979 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
981         * emacs-lisp/lisp.el (lisp-completion-at-point):
982         Use emacs-lisp-mode-syntax-table for the whole function.
984 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
986         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
987         instead of font-lock-mode before adding keywords.
988         Remove hi-lock-mode off code.  Remove inhibit hack.
989         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
990         non-nil; removed hook inhibit hack.
992 2010-10-12  Glenn Morris  <rgm@gnu.org>
994         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
995         (load-path-shadows-find): ... to this.
996         (list-load-path-shadows): Update for above change.
998         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1000 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1002         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1003         Fix comment for declare-function.
1005 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
1007         * custom.el (custom-fix-face-spec): New function; code moved from
1008         custom-face-edit-fix-value.
1009         (custom-push-theme): Use it when checking if a face has been
1010         changed outside customize.
1011         (custom-available-themes): New function.
1012         (load-theme): Use it.
1014         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1016         * custom.el (custom-push-theme): Cleanup (use cond).
1017         (disable-theme): Recompute the saved-face property.
1018         (custom-theme-recalc-face): Follow face alias before setting prop.
1020         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1021         New variables, containing checkbox images.
1023         * startup.el (fancy-startup-tail):
1024         * wid-edit.el (checkbox): Use them.
1026 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
1028         * shell.el (shell-mode-map):
1029         * progmodes/modula2.el (m2-mode-map):
1030         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1031         * play/mpuz.el (mpuz-mode-map):
1032         * play/landmark.el (lm-mode-map):
1033         * play/decipher.el (decipher-mode-map):
1034         * play/5x5.el (5x5-mode-map):
1035         * net/telnet.el (telnet-mode-map):
1036         * net/quickurl.el (quickurl-list-mode-map):
1037         * net/mairix.el (mairix-searches-mode-map):
1038         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1039         * net/dig.el (dig-mode-map):
1040         * mail/mspools.el (mspools-mode-map):
1041         * hexl.el (hexl-mode-map):
1042         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1043         (wordstar-C-o-map, wordstar-C-q-map):
1044         * emacs-lisp/edebug.el (edebug-eval-mode-map):
1045         * emacs-lisp/chart.el (chart-map):
1046         * edmacro.el (edmacro-mode-map):
1047         * erc/erc-list.el (erc-list-menu-mode-map):
1048         * array.el (array-mode-map): Declare and define in one step.
1050         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1052 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
1054         * epa.el (epa-passphrase-callback-function): Display filename
1055         passed as the 3rd arg.
1056         * epa-file.el (epa-file-passphrase-callback-function):
1057         Pass filename to epa-passphrase-callback-function.
1059 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
1061         * cus-edit.el (custom-face-widget-to-spec)
1062         (custom-face-get-current-spec, custom-face-state): New functions.
1063         (custom-face-set, custom-face-mark-to-save)
1064         (custom-face-value-create, custom-face-state-set): Use them.
1066         * cus-theme.el (custom-theme--listed-faces): New var.
1067         (customize-create-theme): Use *Custom Theme* as the buffer name.
1068         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
1069         faces listed in custom-theme--listed-faces.
1070         (custom-theme-revert): New function.
1071         (custom-theme-add-variable, custom-theme-add-face): Insert at the
1072         bottom of the list.
1073         (custom-theme-write): Prompt for theme name if empty.
1074         (custom-theme-write-variables): Use dolist.
1075         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1077 2010-10-09  Alan Mackenzie  <acm@muc.de>
1079         Enhance fontification of declarators to take account of the
1080         presence/absence of "typedef".
1082         * cc-engine.el (c-forward-type): New &optional param
1083         "brace-block-too".
1084         (c-forward-decl-or-cast-1): cdr of return value now indicates the
1085         presence of either or both of a "struct"-like keyword and "typedef".
1087         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1088         fontification of declarators which follow a "}".
1089         (c-font-lock-declarations): Fontify declarators according to the
1090         presence/absence of "typedef".
1092         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1093         for "typedef".
1094         (c-typedef-decl-key): New lang variable built from
1095         c-typedef-decl-kwds.
1097 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1099         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1100         since that's too annoying.  Move the filter groups commands to
1101         TAB/backtab.
1103         * epa.el (epa-passphrase-callback-function): Say what we're
1104         querying the password for.
1106         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1107         behaviour, don't bury the ibuffer buffer when visiting other buffers.
1109 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1111         * cus-edit.el (custom-commands, custom-buffer-create-internal)
1112         (custom-magic-value-create): Pad button tags with spaces.
1113         (custom-face-edit): New variable.
1114         (custom-face-value-create): Determine whether to use the usual
1115         face editor here, instead of using custom-face-selected.
1116         Pass face defaults to custom-face-edit widget.
1117         (custom-face-selected, custom-display-unselected): Delete widgets.
1118         (custom-display-unselected-match): Function removed.
1119         (custom-face-set, custom-face-mark-to-save):
1120         Accept custom-face-edit widgets as the direct widget child.
1122         * wid-edit.el (widget--completing-widget): New var.
1123         (widget-default-complete): Bind it when doing completion.
1124         (widget-string-complete, widget-file-complete): Use it.
1126 2010-10-09  Glenn Morris  <rgm@gnu.org>
1128         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1129         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1130         (holiday-hebrew-misc): Small simplifications.
1132         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1134         * net/browse-url.el: Don't require thingatpt, term, dired,
1135         executable, or w3-auto when compiling.
1136         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1137         Declare.
1138         (browse-url-text-emacs): Require term.
1140 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1142         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1144 2010-10-08  Glenn Morris  <rgm@gnu.org>
1146         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1148         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1149         (shadows-compare-text-p): Make it an obsolete alias for...
1150         (load-path-shadows-compare-text): ... new name.
1151         (find-emacs-lisp-shadows): Update for above name change.
1152         (load-path-shadows-same-file-or-nonexistent): New name for the old
1153         shadow-same-file-or-nonexistent.
1155 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1157         * minibuffer.el (completion--some, completion--do-completion)
1158         (minibuffer-complete-and-exit, minibuffer-completion-help)
1159         (completion-basic-try-completion)
1160         (completion-basic-all-completions)
1161         (completion-pcm--find-all-completions): Use lexical-let to
1162         avoid some false matches in variable completion (Bug#7056)
1164 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
1166         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
1168 2010-10-08  Leo  <sdl.web@gmail.com>
1170         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1171         return non-nil if the file exists (Bug#7090).
1173 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1175         * minibuffer.el (completion--replace):
1176         Better preserve markers (bug#7138).
1178 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
1180         * server.el (server-process-filter): Doc fix.
1182 2010-10-08  Drew Adams  <drew.adams@oracle.com>
1184         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
1186 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1188         * Makefile.in (ELCFILES): Update.
1190 2010-10-08  Glenn Morris  <rgm@gnu.org>
1192         * vc/ediff-wind.el (ediff-setup-control-frame):
1193         * vc/ediff-ptch.el (ediff-default-backup-extension):
1194         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1195         (ediff-exec-process): Remove system-types emx, windows-95.
1197         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
1199 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
1201         * cus-edit.el (custom-variable, custom-face): Doc fix.
1202         (custom-face-edit): Add value-create attribute.
1203         (custom-face-edit-value-create)
1204         (custom-face-edit-value-visibility-action): New functions.
1205         Hide unused face attributes by default, and add a visibility toggle.
1206         (custom-face-edit-deactivate): Show empty values with shadow face.
1207         (custom-face-selected): Only use this for face specs with default
1208         attributes.
1209         (custom-face-value-create): Cleanup.
1211         * wid-edit.el (widget-checklist-value-create): Use dolist.
1212         (widget-checklist-match-find): Make second arg optional.
1214 2010-10-07  Glenn Morris  <rgm@gnu.org>
1216         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1217         Prefix things.
1219         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1220         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1221         load-path-shadows-mode, update references.
1222         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1223         Rename variable and button.
1224         (list-load-path-shadows): Update button caller.
1226 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1228         * emacs-lisp/smie.el (smie-bnf-classify): New function.
1229         (smie-bnf-precedence-table): Use it to remember the closers/openers.
1230         (smie-merge-prec2s): Handle those new entries.
1231         (smie-prec2-levels): Only set precedence to nil for actual
1232         openers/closers.
1233         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1234         that is now unnecessary.
1236 2010-10-07  Miles Bader  <miles@gnu.org>
1238         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1240 2010-10-07  Glenn Morris  <rgm@gnu.org>
1242         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1243         (mail-position-on-field): Remove declarations.
1244         (mail-position-on-field): Autoload it.
1245         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1246         and mail-header-end.  Don't require sendmail.
1248         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1249         (shadow-mode): New mode.
1250         (shadow-find-file): New button.
1251         (list-load-path-shadows): Use shadow-mode and buttons.
1253         * iimage.el (iimage-version): Remove.
1254         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1255         Turn into defcustoms.
1256         (iimage-mode-map): Give it a doc string.
1258         * calendar/appt.el (appt-activate): Give a warning rather than an error
1259         if there is no diary-file.
1261 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
1263         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1264         Use `tramp-handle-find-backup-file-name'.
1266 2010-10-06  Glenn Morris  <rgm@gnu.org>
1268         * font-core.el (font-lock-defaults-alist): Remove variable.
1269         (font-lock-mode): Doc fix.
1270         (font-lock-default-function): Do not consult font-lock-defaults-alist.
1271         * font-lock.el (font-lock-refresh-defaults): Doc fix.
1272         (font-lock-set-defaults): Doc fix.
1273         Do not consult font-lock-defaults-alist.
1275         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1277         * emacs-lisp/cl.el: No longer provide cl-19.
1279 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
1281         * net/tramp.el (tramp-handle-directory-files-and-attributes)
1282         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1283         New defuns, taken from tramp-smb.el.
1284         (tramp-coding-system-change-eol-conversion)
1285         (tramp-set-process-query-on-exit-flag): Remove.
1287         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1288         (tramp-compat-coding-system-change-eol-conversion)
1289         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1290         from tramp.el.
1292         * net/tramp-gvfs.el:
1293         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1294         by `tramp-compat-set-process-query-on-exit-flag'.
1296         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1297         Use `tramp-handle-directory-files-and-attributes',
1298         `tramp-handle-file-exists-p' and
1299         `tramp-handle-file-newer-than-file-p'.
1300         (tramp-imap-handle-file-exists-p)
1301         (tramp-imap-handle-file-executable-p)
1302         (tramp-imap-handle-file-readable-p)
1303         (tramp-imap-handle-directory-files-and-attributes)
1304         (tramp-imap-handle-file-newer-than-file-p): Remove.
1306         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1307         by `tramp-compat-set-process-query-on-exit-flag' and
1308         `tramp-coding-system-change-eol-conversion' by
1309         `tramp-compat-coding-system-change-eol-conversion'.
1311         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1312         Use `tramp-handle-directory-files-and-attributes',
1313         `tramp-handle-file-exists-p' and
1314         `tramp-handle-file-newer-than-file-p'.
1315         (tramp-smb-handle-directory-files-and-attributes)
1316         (tramp-smb-handle-file-exists-p)
1317         (tramp-smb-handle-file-newer-than-file-p): Remove.
1318         (tramp-smb-maybe-open-connection):
1319         Replace `tramp-set-process-query-on-exit-flag' by
1320         `tramp-compat-set-process-query-on-exit-flag'.
1322 2010-10-05  Glenn Morris  <rgm@gnu.org>
1324         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1326 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
1328         Continue reorganization of load dependencies.  (Bug#7156)
1330         * net/tramp.el (tramp-handle-file-local-copy-hook)
1331         (tramp-delete-temp-file-function): Move down.
1332         (tramp-exists-file-name-handler): Move up.
1333         (tramp-register-file-name-handlers): Simplify autoload.
1334         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1335         (tramp-handle-directory-files, tramp-handle-dired-uncache)
1336         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1337         (tramp-handle-file-name-completion)
1338         (tramp-handle-file-name-directory)
1339         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1340         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1341         (tramp-handle-find-backup-file-name)
1342         (tramp-handle-insert-file-contents, tramp-handle-load)
1343         (tramp-handle-substitute-in-file-name)
1344         (tramp-handle-unhandled-file-name-directory)
1345         (tramp-mode-string-to-int, tramp-local-host-p)
1346         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1348         * net/tramp-gvfs.el (top):
1349         * net/tramp-smb.el (top): Do not require 'tramp-sh.
1351         * net/tramp-sh.el (all): Move several objects to tramp.el, see
1352         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1354 2010-10-04  Glenn Morris  <rgm@gnu.org>
1356         * calendar/appt.el (appt-add): Ensure reminders are enabled.
1357         (appt-activate): Give status messages.
1359 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1361         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
1362         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1363         `gnutls-negotiate' (formerly `starttls-negotiate').
1364         Remove trivial wrapper `starttls-open-stream'.
1366 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
1368         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1369         log-outgoing commands.
1370         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1371         to create a buffer local revert-buffer-function variable.
1372         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1373         revert-buffer-function lambda.
1375 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1377         * net/gnutls.el (starttls-negotiate): Use the plist interface to
1378         `gnutls-boot'.  Make TYPE the only required parameter.
1379         Allow TRUSTFILES and KEYFILES to be lists.
1380         (open-ssl-stream): Use it.
1382 2010-10-03  Glenn Morris  <rgm@gnu.org>
1384         * subr.el (directory-sep-char): Remove obsolete variable.
1385         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1386         it is "necessary".
1388         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1389         * vc/vc.el (vc-static-header-alist): Doc fix.
1390         * vc/vc-cvs.el (vc-cvs-header):
1391         * vc/vc-rcs.el (vc-rcs-header):
1392         * vc/vc-sccs.el (vc-sccs-header):
1393         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1394         * obsolete/vc-mcvs.el (vc-mcvs-header):
1395         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1396         on XEmacs.
1398 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1400         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1401         Remove obsolete use of binary-overwrite-mode (Bug#7001).
1403 2010-10-03  Glenn Morris  <rgm@gnu.org>
1405         * obsolete/x-menu.el: Remove file, obsolete since 21.1
1407         * textmodes/rst.el (rst-font-lock-keywords-function):
1408         Drop Emacs 20 code.
1410         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1412         * printing.el: Drop Emacs 20 code.
1414         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1415         without having used appt.el already).
1417         * subr.el (make-local-hook): Remove function obsolete since 21.1.
1418         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1419         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1420         XEmacs.
1421         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1422         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1424         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1425         (charset-width, find-charset-region, chars-in-region, forward-point)
1426         (encode-coding-string, coding-system-p, ccl-execute-on-string)
1427         (define-ccl-program, multibyte-string-p, string-make-multibyte):
1428         Remove compatibility cruft (none of these are used by ps*.el).
1430 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
1432         * subr.el (booleanp): Return t instead of a list (Bug#7086).
1434 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1436         * server.el (server-process-filter, server-return-error):
1437         Give emacsclient time to shut down after receiving an error string.
1439 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
1441         * files.el (remote-file-name-inhibit-cache): New defcustom.
1443         * time.el (display-time-file-nonempty-p):
1444         Use `remote-file-name-inhibit-cache'.
1446         * net/tramp.el (tramp-completion-reread-directory-timeout):
1447         Fix docstring.
1449         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1450         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1451         `remote-file-name-inhibit-cache'.  Check also for an integer
1452         value.  Add/increase counter when `tramp-verbose' >= 10.
1453         (tramp-set-file-property): Add/increase counter when
1454         `tramp-verbose' >= 10.
1456         * net/tramp-cmds.el (tramp-cleanup-all-connections)
1457         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1458         (tramp-bug): Set tramp-autoload cookie.  Report all interned
1459         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
1460         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
1461         characters only in strings.
1463         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1464         to backward compatibility.
1466         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1467         (tramp-handle-file-name-all-completions)
1468         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1469         (tramp-open-connection-setup-interactive-shell):
1470         Call `tramp-cleanup-connection' directly.
1472 2010-10-02  Glenn Morris  <rgm@gnu.org>
1474         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1476         * subr.el (char-bytes): Remove obsolete function.
1478         * isearch.el (isearch-return-char): Remove obsolete function.
1480         * mouse.el: No longer provide mldrag.
1481         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1482         Remove obsolete aliases.
1484         * comint.el (comint-kill-output): Remove obsolete alias.
1486         * composite.el (decompose-composite-char): Remove obsolete function.
1487         * ps-def.el (decompose-composite-char): Remove unused function.
1489         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1491         * outline.el (outline-visible): Remove obsolete function.
1493         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1494         * faces.el (internal-find-face, internal-get-face)
1495         (frame-update-faces, frame-update-face-colors)
1496         (x-frob-font-weight, x-frob-font-slant)
1497         (internal-frob-font-weight, internal-frob-font-slant)
1498         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1499         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1500         (x-make-font-bold-italic): Remove functions and aliases, obsolete
1501         since Emacs 21.1.
1502         * emulation/viper-util.el (viper-get-face):
1503         * obsolete/lucid.el (find-face, get-face): Use facep.
1504         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1505         Remove unused functions.
1506         * vc/ediff-util.el (ediff-submit-report): Doc fix.
1508         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1509         delete tempfile if interrupted during compilation.
1511 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1513         * net/tls.el (tls-starttls-switches): Give up on using starttls with
1514         gnutls-cli.
1515         (tls-program): Add --insecure to be consistent with the defaults from
1516         openssl s_client.  Now all three commands are insecure.
1518 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1520         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1521         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1522         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1524 2010-10-01  Glenn Morris  <rgm@gnu.org>
1526         * obsolete/sc.el: Remove file.
1528         * files.el (temporary-file-directory): On darwin, also try
1529         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1531 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
1533         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1534         Let's not break compatibility gratuitously, shall we?
1536 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1538         * net/tls.el (tls-starttls-switches): New variable.
1539         (tls-find-starttls-argument): Use it.
1540         (open-tls-stream): Ditto.
1542         * net/netrc.el (netrc-credentials): Return the value of the "default"
1543         entry.
1544         (netrc-machine): Ditto.
1546 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
1548         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
1550 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
1552         * server.el (server-start): Don't write pid to the authentication file.
1553         (server-create-tty-frame): Don't send pid.
1554         (server-process-filter): Send pid at the start of every connection.
1556 2010-09-30  Glenn Morris  <rgm@gnu.org>
1558         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
1559         (show-all-diary-entries): Remove obsolete function aliases.
1561         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
1562         Remove options, obsolete since 22.1.
1563         (appt-display-format, appt-display-message): Remove
1564         backwards-compatibility code.
1565         (appt-check): No longer check appt-issue-message.
1566         (appt-make-list): No longer autoload it.  Doc fix.  No longer
1567         activate the package.
1569 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1571         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
1572         (starttls-negotiate): Just call boot, and let the handshake be
1573         triggered from the read loop.
1575 2010-09-29  Glenn Morris  <rgm@gnu.org>
1577         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
1578         not displaying the diary.
1579         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
1580         * calendar/appt.el (appt-check): No longer need to kill diary.
1582         * calendar/diary-lib.el (diary-list-entries): Move the
1583         "Preparing..." message entirely here.
1584         (diary-simple-display, diary-fancy-display): Move "Preparing..."
1585         messages to diary-list-entries.
1586         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
1587         diary-display-function.
1589         * calendar/diary-lib.el (diary-include-other-diary-files):
1590         Trap some recursive includes.
1592         * calendar/appt.el (appt-activate): Check diary file.
1594 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
1596         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
1597         construction.
1599         * calendar/time-date.el: No need to require cl for Emacs 21.
1601 2010-09-28  Glenn Morris  <rgm@gnu.org>
1603         * calendar/appt.el (appt-check): Minor simplification.
1605 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
1607         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
1608         citation prefix.
1610 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
1612         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1613         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
1615 2010-09-27  Kenichi Handa  <handa@m17n.org>
1617         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
1618         "ustar" format.
1620 2010-09-27  Kenichi Handa  <handa@m17n.org>
1622         * international/mule.el (define-coding-system): Docstring fixed.
1624         * international/mule-diag.el (describe-character-set): Use princ
1625         with proper print-length and print-level instead of insert.
1627 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
1629         * window.el (walk-windows): Doc fix (bug#7105).
1631 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1633         * emacs-lisp/float-sup.el (e): Remove.
1635 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
1637         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1638         variable.
1639         (starttls-negotiate): Use it.
1641 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1643         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1644         back.
1646 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1648         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1650 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1652         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1654         * net/netrc.el (netrc-store-data): New function.
1656 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
1658         * net/gnutls.el: GnuTLS glue code to set up a connection.
1660 2010-09-25  Julien Danjou  <julien@danjou.info>
1662         * notifications.el: Call dbus-register-signal only if it is bound.
1664 2010-09-25  Glenn Morris  <rgm@gnu.org>
1666         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1667         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1668         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1669         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1670         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1671         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1672         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1673         * eshell/esh-util.el, eshell/esh-var.el:
1674         Remove leading `*' from docs of faces and defcustoms.
1676 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
1678         * eshell/em-ls.el (eshell-ls-archive-regexp):
1679         * eshell/esh-util.el (eshell-tar-regexp):
1680         * ibuffer.el (ibuffer-compressed-file-name-regexp):
1681         * info.el (Info-suffix-list):
1682         * international/mule.el (auto-coding-alist):
1683         * woman.el (woman-file-regexp, woman-file-compression-regexp):
1684         * progmodes/etags.el (tags-compression-info-list):
1685         Support xz compression.
1687 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
1689         * files.el (get-free-disk-space): Don't assume the "df" output
1690         columns line up (Bug#6995).
1692 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
1694         * finder.el (finder-unknown-keywords):
1695         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
1696         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
1698 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
1700         * server.el (server-start): Revert part of 2010-08-08 change.  Using
1701         address 127.0.0.1 for local host is now done in Fmake_network_process.
1703 2010-09-24  Glenn Morris  <rgm@gnu.org>
1705         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
1706         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
1707         * textmodes/css-mode.el, textmodes/dns-mode.el:
1708         Move autoloaded auto-mode-alist entries to files.el.
1709         * files.el (auto-mode-alist): Move entries here.
1711 2010-09-23  Glenn Morris  <rgm@gnu.org>
1713         * isearch.el (isearch-lazy-highlight-cleanup)
1714         (isearch-lazy-highlight-initial-delay)
1715         (isearch-lazy-highlight-interval)
1716         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
1717         * net/net-utils.el (ipconfig-program-options):
1718         Move aliases to options before the associated definitions.
1720 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1722         * newcomment.el (comment-normalize-vars): Better test validity of
1723         comment-end-skip.
1725 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1727         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
1728         (float-e): New name for `e'.
1729         (degrees-to-radians, radians-to-degrees):
1730         * calendar/solar.el (solar-longitude):
1731         * calculator.el (calculator-registers, calculator-funcall):
1732         * textmodes/artist.el (artist-spray-random-points):
1733         * play/bubbles.el (bubbles--initialize-images): Use new names.
1735 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
1737         Update to CEDET 1.0's version of EIEIO.
1739         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
1740         New function.
1741         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
1742         (eieio-default-eval-maybe): Eval val instead of unquoting only.
1743         (class-precedence-list): If class is nil, return nil.
1744         (eieio-generic-call): If class of first input arg is nil, don't
1745         look up static methods, and do check for primary methods.
1746         (initialize-instance): See if the default needs to be evaluated
1747         during the constructor.
1748         (eieio-perform-slot-validation-for-default): Don't do the check
1749         for values that will eventually be evaluated.
1750         (eieio-eval-default-p): New function.
1751         (eieio-default-eval-maybe): Use it.
1753 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1755         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1756         method-invocation-order.
1757         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1758         (eieio-class-precedence-dfs): Compute class precedence list using
1759         dfs algorithm.
1760         (eieio-class-precedence-bfs): Compute class precedence list using
1761         bfs algorithm.
1762         (eieio-class-precedence-c3): Compute class precedence list using
1763         c3 algorithm.
1764         (class-precedence-list): New function.
1765         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1766         (inconsistent-class-hierarchy): New error symbol.
1767         (call-next-method): Stow the replacement argument list for future
1768         call-next-method invocations.
1770 2010-09-23  Glenn Morris  <rgm@gnu.org>
1772         * calendar/appt.el (appt-check): If not displaying the diary,
1773         use (diary 1) to only get the entries we need.
1774         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1775         that it is in day order.  (Bug#7019)
1777         * calendar/appt.el (appt-check): Rather than showing the diary,
1778         just turn off invisible display, and only if needed.
1780         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
1782 2010-09-23  Glenn Morris  <rgm@gnu.org>
1784         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1785         (byte-compile-defvar, byte-compile-cl-warn):
1786         Start warnings with lower-case, like the majority.
1788         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1790         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
1792         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1793         * files.el (auto-mode-alist): Move ld-script entries here, further down
1794         the list.
1796         * vc/add-log.el: Don't require timezone when compiling.
1797         (timezone-make-date-sortable): Autoload it.
1798         (change-log-sortable-date-at): Don't require timezone.
1799         Use `ignore-errors'.
1801         * comint.el (comint-use-prompt-regexp-instead-of-fields):
1802         Move alias before definition, so it does not need autoloading.
1804         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1805         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1806         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1807         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1808         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1809         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1810         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1811         * textmodes/tex-mode.el, textmodes/two-column.el:
1812         Remove leading `*' from docs of defcustoms etc.
1814 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
1816         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1818 2010-09-22  Dan Christensen  <jdc@uwo.ca>
1820         * calendar/time-date.el (date-to-time): Try using parse-time-string
1821         first before using the slower timezone-make-date-arpa-standard.
1823 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
1825         * calendar/time-date.el (format-seconds): Comment fix.
1827 2010-09-22  Glenn Morris  <rgm@gnu.org>
1829         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1830         is not automatically buffer-local.
1832 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1834         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1835         (smie-indent-comment): Be more careful with comment-start-skip.
1836         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1837         (smie-indent-functions): Use them.
1839 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
1841         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1843 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
1845         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1846         tool-bar-position.  Don't modify frame parameters here.
1847         (menu-bar-options-save): Add tool-bar-position.
1849         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1851 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1853         * textmodes/reftex-parse.el (reftex-what-macro)
1854         (reftex-context-substring): Let-bind forward-sexp-function to nil
1855         since we don't need/want to treat \begin...\end as a block (bug#7053).
1857         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1859         * simple.el (blink-matching-open): Use syntax-class.
1861         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1862         Set invisibility spec for pascal's outline mode.
1863         (pascal-outline-change): Clean up calling convention.
1864         (pascal-show-all, pascal-hide-other-defuns): Update callers.
1866         * progmodes/prolog.el (prolog-smie-forward-token)
1867         (prolog-smie-backward-token): New functions.
1868         (prolog-mode-variables): Use them to parse "!," correctly.
1869         Set up smie-blink-matching for ".".
1871         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1872         and `end'.
1873         (ispell-region, ispell-process-line): Update users.
1875         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1876         point-min==1.
1878         * textmodes/ispell.el: Fix commenting convention.
1879         (ispell-parse-output): Simplify, use push.
1880         (ispell-region): Use match-string-no-properties.
1881         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1882         (ispell-minor-mode): Use define-minor-mode.
1883         (ispell-message): Remove unused var `skip-regexp'.
1884         (ispell-add-per-file-word-list): Use dynamic let-binding.
1885         Try and use the proper comment marker.
1887         * mail/sendmail.el: Fix commenting convention.
1888         (sendmail-send-it): Use line-beginning-position.
1890         * help-fns.el (describe-variable): Add original value, if applicable.
1892 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
1894         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
1896         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
1898 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1900         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
1901         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
1902         (smie-prec2-levels): Use them to better diagnose precedence cycles.
1903         (smie-blink-matching-check): Don't signal a mismatch if car is t.
1904         (smie-blink-matching-open): Rewrite to remove assumptions, so that
1905         something like "." can also be a closer.
1906         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
1907         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
1908         Rename internal functions to use "--".  Update callers.
1910         * frame.el (make-frame-names-alist): Don't list frames on other displays.
1912         * fringe.el (fringe-styles): New var.
1913         (fringe-mode, fringe-query-style): Use it.
1915 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
1917         * progmodes/sql.el: Version 2.8
1918         (sql-login-params): Update widget structure; changes still needed.
1919         (sql-product-alist): Add :list-all and :list-table features for
1920         SQLite, Postgres and MySQL products.
1921         (sql-redirect): Handle default value.
1922         (sql-execute, sql-execute-feature): New functions.
1923         (sql-read-table-name): New function.
1924         (sql-list-all, sql-list-table): New functions.  User API.
1925         (sql-mode-map, sql-interactive-mode-map): Add key definitions
1926         for above functions.
1927         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
1928         for above functions.
1929         (sql-postgres-login-params): Add user and database defaults.
1930         (sql-buffer-live-p): Bug fix.
1931         (sql-product-history): New variable.
1932         (sql-read-product): New function. Use it.
1933         (sql-set-product, sql-product-interactive): Use it.
1934         (sql-connection-history): New variable.
1935         (sql-read-connection): New function.  Use it.
1936         (sql-connect): New function.
1937         (sql-for-each-login): Redesign function interface.
1938         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
1939         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
1940         (sql-comint): Check for program.  Existing live buffer.
1941         (sql-comint-postgres): Add port parameter.
1943 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1945         * emacs-lisp/warnings.el: Fix commenting convention.
1946         (display-warning): Use special mode and make the buffer read-only.
1948 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
1950         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
1951         empty string when it follows a repeated or optional pattern.
1953 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1955         * indent.el (indent-according-to-mode): Apply syntax-propertize.
1956         (indent-region): Use indent-according-to-mode.
1958 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
1960         * fringe.el (fringe-mode): Doc fix.
1962 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
1964         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
1965         refreshing the preview buffer.
1967 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1969         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
1970         (latex-syntax-propertize-rules): New consts; replace
1971         tex-font-lock-syntactic-keywords.
1972         (tex-env-mark, latex-env-before-change): New functions.
1973         (latex-electric-env-pair-mode): New minor mode.
1974         (tex-font-lock-verb): Change arguments; do move point.
1975         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
1976         representation as a form of comment.
1977         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
1978         (doctex-syntax-propertize-rules): New const; replaces
1979         doctex-font-lock-syntactic-keywords.
1980         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
1982         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
1983         (fortran-make-syntax-propertize-function): New function; replaces
1984         fortran-font-lock-syntactic-keywords.
1985         (fortran-mode): Use it.
1986         (fortran-line-length): Use it.  Improve interactive spec.
1988         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
1989         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
1990         when adding surrounding \(..\).
1992         * progmodes/js.el (js-mode): Fix last change (bug#7054).
1994 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1996         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
1997         Use with-current-buffer.
1999         * isearch.el (isearch-face): Rename from `isearch'.
2000         (isearch-highlight): Use new name.
2002 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
2004         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2005         5, for `half' width fringes.  (Bug#6933)
2007 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2009         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2010         (byte-compile-defvar): "foo/bar" does not lack a prefix.
2012         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2014 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
2016         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2017         in calculating new frame position.  Add more space between new and
2018         parent on the left (Bug#7048).
2020 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
2022         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2023         defmacro.
2025 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
2027         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2029         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2030         obsolete alias for x-selection-value.
2032         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2034 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
2036         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2037         cookie.
2039 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
2041         * net/tramp-compat.el (tramp-compat-with-temp-message)
2042         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2043         (tramp-compat-process-put): New defuns.
2045         * net/tramp.el (top):
2046         * net/tramp-gvfs.el (top):
2047         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2049         * net/tramp.el (tramp-progress-reporter-update):
2050         Use `tramp-compat-funcall'.
2052         * net/tramp.el (tramp-process-actions):
2053         * net/tramp-gvfs.el (tramp-handle-vc-registered):
2054         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2055         (tramp-get-remote-stat, tramp-get-remote-readlink):
2056         Use `tramp-compat-with-temp-message'.
2058         * net/tramp-sh.el (top): Require 'cl.
2059         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2060         (tramp-open-connection-setup-interactive-shell):
2061         Use `tramp-compat-process-put'.
2063 2010-09-15  Alan Mackenzie  <acm@muc.de>
2065         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2066         indentation.
2067         (c-forward-<>-arglist-recur): Fix an infinite recursion.
2069 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2071         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2072         `lexical' for warnings related to lexical scoping.
2073         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2074         global vars which don't have a prefix and could hence affect lexical
2075         scoping in unrelated files.
2077 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2079         * net/imap.el: Revert back to version
2080         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2081         seem problematic.
2083 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
2085         * obsolete/old-whitespace.el (whitespace-unload-function):
2086         Explicitly pass `obarray' to `unintern' to avoid a warning.
2088 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2090         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2091         Add `when' argument.  Update callers.
2093         * subr.el (unintern): Declare the obarray arg mandatory.
2095 2010-09-14  Glenn Morris  <rgm@gnu.org>
2097         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2098         Doc fixes.
2100         * calendar/diary-lib.el (diary-included-files): New variable.
2101         (diary-list-entries): Maybe initialize diary-included-files.
2102         (diary-include-other-diary-files): Append to diary-included-files.
2103         * calendar/appt.el (appt-update-list): Also check the members of
2104         diary-included-files.  (Bug#6999)
2105         (appt-check): Doc fix.
2107 2010-09-14  David Reitter  <david.reitter@gmail.com>
2109         * simple.el (line-move-visual): Do not truncate goal column to
2110         integer size.  (Bug#7020)
2112 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2114         * repeat.el (repeat): Allow repeating when the last event is a click.
2115         Suggested by Drew Adams (bug#6256).
2117 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
2119         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2120         Replace setting HGRCPATH to "" by some less invasive --config options.
2122 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2124         * font-lock.el (font-lock-beginning-of-syntax-function):
2125         Mark as obsolete.
2127 2010-09-14  Glenn Morris  <rgm@gnu.org>
2129         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2130         and tool-bar modes.  (Bug#6211)
2131         (menu-bar-mode): Move setting of standard-value after the
2132         minor-mode definition, otherwise it seems to have no effect.
2134 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
2136         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2137         Fix typo.  (Bug#6976)
2139 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2141         * whitespace.el: Allow cleaning up blanks without blank
2142         visualization (Bug#6651).  Adjust help window for
2143         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
2144         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
2145         (whitespace-style): Add new value 'face.  Adjust docstring.
2146         (whitespace-space, whitespace-hspace, whitespace-tab):
2147         Adjust foreground property face.
2148         (whitespace-line-column): Adjust docstring and type declaration.
2149         (whitespace-style-value-list, whitespace-toggle-option-alist)
2150         (whitespace-help-text): Adjust const initialization.
2151         (whitespace-toggle-options, global-whitespace-toggle-options):
2152         Adjust docstring.
2153         (whitespace-display-window, whitespace-interactive-char)
2154         (whitespace-style-face-p, whitespace-color-on): Adjust code.
2155         (whitespace-help-scroll): New fun.
2157 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2159         * calendar/time-date.el (format-seconds): Comment fix.
2161 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
2163         * progmodes/sql.el: Version 2.7.
2164         (sql-buffer-live-p): Improve detection.
2165         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2166         (sql-set-sqli-buffer): Use it.
2167         (sql-product-interactive): Run `sql-set-sqli-hook'.
2168         (sql-rename-buffer): Code cleanup.
2169         (sql-redirect, sql-redirect-value): New functions.  More to come.
2171 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
2173         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.
2174         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2175         (TRAMP_SRC): New macro.
2176         ($(lisp)/net/tramp-loaddefs.el): New target.
2178 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
2180         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
2182         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
2184         * net/tramp.el (top): Don't show loading message.  Require just
2185         'tramp-compat, everything else is required there.
2186         Use `ignore-errors' where appropriate.
2187         (tramp-inline-compress-start-size, tramp-copy-size-limit)
2188         (tramp-terminal-type, tramp-end-of-output)
2189         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2190         (tramp-completion-function-alist-ssh)
2191         (tramp-completion-function-alist-telnet)
2192         (tramp-completion-function-alist-su)
2193         (tramp-completion-function-alist-putty, tramp-remote-path)
2194         (tramp-remote-process-environment, tramp-sh-extra-args)
2195         (tramp-actions-before-shell, tramp-uudecode)
2196         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2197         (tramp-perl-file-attributes)
2198         (tramp-perl-directory-files-and-attributes)
2199         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2200         (tramp-perl-encode, tramp-perl-decode)
2201         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2202         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2203         (tramp-handle-make-symbolic-link, tramp-handle-load)
2204         (tramp-handle-file-name-as-directory)
2205         (tramp-handle-file-name-directory)
2206         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2207         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2208         (tramp-do-file-attributes-with-ls)
2209         (tramp-do-file-attributes-with-perl)
2210         (tramp-do-file-attributes-with-stat)
2211         (tramp-handle-set-visited-file-modtime)
2212         (tramp-handle-verify-visited-file-modtime)
2213         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2214         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2215         (tramp-handle-file-selinux-context)
2216         (tramp-handle-set-file-selinux-context)
2217         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2218         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2219         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2220         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2221         (tramp-handle-file-ownership-preserved-p)
2222         (tramp-handle-directory-file-name, tramp-handle-directory-files)
2223         (tramp-handle-directory-files-and-attributes)
2224         (tramp-do-directory-files-and-attributes-with-perl)
2225         (tramp-do-directory-files-and-attributes-with-stat)
2226         (tramp-handle-file-name-all-completions)
2227         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2228         (tramp-handle-copy-file, tramp-handle-copy-directory)
2229         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2230         (tramp-do-copy-or-rename-file-via-buffer)
2231         (tramp-do-copy-or-rename-file-directly)
2232         (tramp-do-copy-or-rename-file-out-of-band)
2233         (tramp-handle-make-directory, tramp-handle-delete-directory)
2234         (tramp-handle-delete-file)
2235         (tramp-handle-dired-recursive-delete-directory)
2236         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2237         (tramp-handle-insert-directory)
2238         (tramp-handle-unhandled-file-name-directory)
2239         (tramp-handle-expand-file-name)
2240         (tramp-handle-substitute-in-file-name)
2241         (tramp-handle-executable-find, tramp-process-sentinel)
2242         (tramp-handle-start-file-process, tramp-handle-process-file)
2243         (tramp-handle-call-process-region, tramp-handle-shell-command)
2244         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2245         (tramp-handle-insert-file-contents)
2246         (tramp-handle-insert-file-contents-literally)
2247         (tramp-handle-find-backup-file-name)
2248         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2249         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2250         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2251         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2252         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2253         (tramp-find-file-exists-command, tramp-open-shell)
2254         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2255         (tramp-open-connection-setup-interactive-shell)
2256         (tramp-local-coding-commands, tramp-remote-coding-commands)
2257         (tramp-find-inline-encoding, tramp-call-local-coding-command)
2258         (tramp-inline-compress-commands, tramp-find-inline-compress)
2259         (tramp-compute-multi-hops, tramp-maybe-open-connection)
2260         (tramp-send-command, tramp-wait-for-output)
2261         (tramp-send-command-and-check, tramp-barf-unless-okay)
2262         (tramp-send-command-and-read, tramp-mode-string-to-int)
2263         (tramp-convert-file-attributes, tramp-check-cached-permissions)
2264         (tramp-file-mode-from-int, tramp-file-mode-permissions)
2265         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2266         (tramp-method-out-of-band-p, tramp-local-host-p)
2267         (tramp-get-remote-path, tramp-get-remote-tmpdir)
2268         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2269         (tramp-get-test-command, tramp-get-test-nt-command)
2270         (tramp-get-file-exists-command, tramp-get-remote-ln)
2271         (tramp-get-remote-perl, tramp-get-remote-stat)
2272         (tramp-get-remote-readlink, tramp-get-remote-trash)
2273         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2274         (tramp-get-local-uid, tramp-get-local-gid)
2275         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2276         tramp-sh.el.
2277         (tramp-methods, tramp-default-method-alist)
2278         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2279         Move initialization to tramp-sh.el.
2280         (tramp-temp-name-prefix): Make it a defconst.
2281         (tramp-dissect-file-name): Don't check anymore for multi-hop
2282         methods.
2283         (tramp-debug-outline-regexp): Add a docstring.
2284         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2285         (tramp-get-debug-buffer): Use it.
2287         * net/tramp-cache.el (top): Set tramp-autoload cookie for
2288         initialization forms.
2289         (tramp-set-connection-property): Don't protect `tramp-message'
2290         call, it isn't necessary any longer.
2291         (tramp-dump-connection-properties): Use `ignore-errors'.
2293         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2294         'password-cache and 'auth-source.
2296         * net/tramp-gvfs.el (top):
2297         * net/tramp-smb.el (top): Require 'tramp-sh.
2299         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2301         * net/tramp-sh.el: New file, derived from tramp.el.
2302         (top): Initialize `tramp-methods', `tramp-default-method-alist',
2303         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2304         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2305         Use `ignore-errors' where appropriate.
2306         (tramp-sh-file-name-handler-alist): Rename from
2307         `tramp-file-name-handler-alist'.
2308         (tramp-send-command-and-check): Return t or nil.  Remove all
2309         `zerop' checks, where called.
2310         (tramp-handle-set-file-modes)
2311         (tramp-do-copy-or-rename-file-directly)
2312         (tramp-handle-delete-directory, tramp-handle-delete-file)
2313         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2314         (tramp-sh-file-name-handler, tramp-send-command-and-check)
2315         (tramp-get-remote-ln): Set tramp-autoload cookie.
2317         * net/tramp-fish.el: Remove file.
2319 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
2321         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2322         buffer-file-name to avoid file-locking.  (Bug#7026)
2324 2010-09-13  Julien Danjou  <julien@danjou.info>
2326         * notifications.el (notifications-notify): Add support for
2327         image-path and sound-name.
2328         (notifications-specification-version): Add this variable.
2330 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2332         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2334 2010-09-12  Leo  <sdl.web@gmail.com>
2336         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2337         (rcirc-completion-start): New variables.
2338         (rcirc-nick-completions): Rename to rcirc-completions.
2339         (rcirc-nick-completion-start-offset): Delete.
2340         (rcirc-completion-at-point): New function for constructing
2341         completion data for both nicks and irc commands.  Add to
2342         completion-at-point-functions in rcirc mode.
2343         (rcirc-complete): Rename from rcirc-nick-complete; use
2344         rcirc-completion-at-point.
2345         (defun-rcirc-command): Update rcirc-client-commands.
2347 2010-09-11  Glenn Morris  <rgm@gnu.org>
2349         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2350         atomically, to avoid parallel build errors.  (Bug#4196)
2352 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
2354         * progmodes/sql.el: Version 2.6
2355         (sql-dialect): Synonym for "sql-product".
2356         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2357         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2358         Set "sql-buffer" to buffer name not buffer object so multiple sql
2359         interactive buffers work properly.  Reverts misguided changes in
2360         earlier work.
2361         (sql-comint): Make sure different buffer name is used if "*SQL*"
2362         buffer is for a different product.
2363         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2364         login param.
2365         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2366         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2367         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2368         Accept new buffer name or prompt for one.
2369         (sql-port): Default to zero.
2370         (sql-comint-mysql): Handle "sql-port" as a numeric.
2371         (sql-port-history): Delete unused variable.
2372         (sql-get-login): Default "sql-port" to a number.
2373         (sql-product-alist): Correct Postgres prompt and terminator regexp.
2374         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2375         "sqlite3" executables.
2376         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2377         (sql-buffer-live-p): New function.
2378         (sql-mode-menu, sql-send-string): Use it.
2379         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2380         syntax pattern.
2381         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2382         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2384 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2386         * net/netrc.el (netrc-credentials): New convenience function.
2388 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2390         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2391         to replace texinfo-font-lock-syntactic-keywords.
2392         (texinfo-mode): Use it.
2394         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2395         Use syntax-propertize-function.
2397         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2398         replace sgml-font-lock-syntactic-keywords.
2399         (sgml-mode): Use it.
2401         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2402         since we don't use it.
2404         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2406         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2407         if available.
2408         (vhdl-fontify-buffer): Adjust.
2410         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2411         replace tcl-font-lock-syntactic-keywords.
2412         (tcl-mode): Use it.
2414         * progmodes/simula.el (simula-syntax-propertize-function): New var to
2415         replace simula-font-lock-syntactic-keywords.
2416         (simula-mode): Use it.
2418         * progmodes/sh-script.el (sh-st-symbol): Remove.
2419         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2420         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2421         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2422         (sh-font-lock-paren): Set syntax-multiline.
2423         (sh-font-lock-syntactic-keywords): Remove.
2424         (sh-syntax-propertize-function): New function to replace it.
2425         (sh-mode): Use it.
2427         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2428         Define while compiling.
2429         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2430         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2431         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2432         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2433         (ruby-here-doc-end-syntax): Only define when
2434         syntax-propertize is not available.
2435         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2436         New functions.
2437         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2438         (electric-indent-chars): Silence bytecompiler.
2439         (ruby-mode): Use prog-mode, syntax-propertize-function, and
2440         electric-indent-chars.
2442         * progmodes/python.el (python-syntax-propertize-function): New var to
2443         replace python-font-lock-syntactic-keywords.
2444         (python-mode): Use it.
2445         (python-quote-syntax): Simplify and adjust to new use.
2447         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2448         replace perl-font-lock-syntactic-keywords.
2449         (perl-syntax-propertize-special-constructs): New fun to replace
2450         perl-font-lock-special-syntactic-constructs.
2451         (perl-font-lock-syntactic-face-function): New fun.
2452         (perl-mode): Use it.
2454         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2455         to replace octave-font-lock-close-quotes.
2456         (octave-syntax-propertize-function): New function to replace
2457         octave-font-lock-syntactic-keywords.
2458         (octave-mode): Use it.
2460         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2461         replaces mixal-font-lock-syntactic-keywords.
2462         (mixal-mode): Use it.
2464         * progmodes/make-mode.el (makefile-syntax-propertize-function):
2465         New var; replaces makefile-font-lock-syntactic-keywords.
2466         (makefile-mode): Use it.
2467         (makefile-imake-mode): Adjust.
2469         * progmodes/js.el (js--regexp-literal): Define while compiling.
2470         (js-syntax-propertize-function): New var; replaces
2471         js-font-lock-syntactic-keywords.
2472         (js-mode): Use it.
2474         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2475         replaces gdb-script-font-lock-syntactic-keywords.
2476         (gdb-script-mode): Use it.
2478         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2479         (fortran--font-lock-syntactic-keywords): New var.
2480         (fortran-line-length): Update syntax-propertize-function and
2481         fortran--font-lock-syntactic-keywords.
2483         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2485         * progmodes/cfengine.el (cfengine-mode):
2486         Use syntax-propertize-function.
2487         (cfengine-font-lock-syntactic-keywords): Remove.
2489         * progmodes/autoconf.el (autoconf-mode):
2490         Use syntax-propertize-function.
2491         (autoconf-font-lock-syntactic-keywords): Remove.
2493         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2494         (ada-after-change-function, ada-initialize-syntax-table-properties)
2495         (ada-handle-syntax-table-properties): Only define when
2496         syntax-propertize is not available.
2497         (ada-mode): Use syntax-propertize-function.
2499         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2500         (font-lock-fontify-syntactic-keywords-region): Move handling of
2501         font-lock-syntactically-fontified to...
2502         (font-lock-default-fontify-region): ...here.
2503         Let syntax-propertize-function take precedence.
2504         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2506         * emacs-lisp/syntax.el (syntax-propertize-function)
2507         (syntax-propertize-chunk-size, syntax-propertize--done)
2508         (syntax-propertize-extend-region-functions): New vars.
2509         (syntax-propertize-wholelines, syntax-propertize-multiline)
2510         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2511         (syntax-propertize): New functions.
2512         (syntax-propertize-rules): New macro.
2513         (syntax-ppss-flush-cache): Set syntax-propertize--done.
2514         (syntax-ppss): Call syntax-propertize.
2516         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2518 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
2520         * textmodes/ispell.el (ispell-init-process): Improve comments.
2521         XEmacs compatibility changes regarding (add-hook) 'local option
2522         and (set-process-query-on-exit-flag).
2524 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
2526         * net/tramp-cache.el (tramp-parse-connection-properties):
2527         Set tramp-autoload cookie.
2529 2010-09-09  Glenn Morris  <rgm@gnu.org>
2531         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2532         (imagemagick-register-types): Doc fix.
2534 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2536         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2538         * progmodes/js.el (require): Require is already "eval-and-compile".
2539         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
2540         (js--re-search-backward): Use js--re-search-forward.
2542         * progmodes/fortran.el (fortran-line-length): Don't recompute
2543         syntactic keywords redundantly a second time.
2545         * progmodes/ada-mode.el: Replace "(set '" with setq.
2546         (ada-mode): Simplify.
2547         (ada-create-case-exception, ada-adjust-case-interactive)
2548         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2549         (ada-search-ignore-string-comment, ada-move-to-start)
2550         (ada-move-to-end): Use with-syntax-table.
2552         * font-lock.el (save-buffer-state): Remove `varlist' arg.
2553         (font-lock-unfontify-region, font-lock-default-fontify-region):
2554         Update usage correspondingly.
2555         (font-lock-fontify-syntactic-keywords-region):
2556         Set parse-sexp-lookup-properties buffer-locally here.
2557         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
2559         * simple.el (blink-matching-open): Don't burp if we can't find a match.
2561 2010-09-08  Glenn Morris  <rgm@gnu.org>
2563         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
2564         Error if not compiled with -DBYTE_CODE_METER.
2566         * emacs-lisp/bytecomp.el (byte-recompile-directory):
2567         Ignore dir-locals-file.
2569 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2571         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2572         Not a const.
2573         (compilation-error-regexp-alist-alist): Rule out ": " in file names
2574         for the `gnu' messages.
2575         (compilation-set-skip-threshold): New command.
2576         (compilation-start): Use \' rather than $.
2577         (compilation-forget-errors): Use clrhash.
2579 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
2581         * textmodes/ispell.el (ispell-valid-dictionary-list):
2582         Simplify logic.
2584 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
2586         Migrate to Tramp 2.2.  Rearrange load dependencies.
2587         (Bug#1529, Bug#5448, Bug#5705)
2589         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
2590         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
2591         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2593         * net/tramp.el (top): Remove all other tramp-* loads except
2594         tramp-compat.el.  Remove all changes to tramp-unload-hook for
2595         other tramp-* packages.  Rearrange defun order.  Change calls of
2596         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
2597         `tramp-compat-octal-to-decimal' to new function names.
2598         (tramp-terminal-type, tramp-initial-end-of-output)
2599         (tramp-methods, tramp-foreign-file-name-handler-alist)
2600         (tramp-tramp-file-p, tramp-completion-mode-p)
2601         (tramp-send-command-and-check, tramp-get-remote-path)
2602         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
2603         (tramp-shell-quote-argument): Set tramp-autoload cookie.
2604         (with-file-property, with-connection-property): Move to
2605         tramp-cache.el.
2606         (tramp-local-call-process, tramp-decimal-to-octal)
2607         (tramp-octal-to-decimal): Move to tramp-compat.el.
2608         (tramp-handle-shell-command): Do not require 'shell.
2609         (tramp-compute-multi-hops): No special handling for tramp-gw-*
2610         symbols.
2611         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
2613         * net/tramp-cache.el (top): Require 'tramp.  Add to
2614         `tramp-unload-hook'.
2615         (tramp-cache-data, tramp-get-file-property)
2616         (tramp-set-file-property, tramp-flush-file-property)
2617         (tramp-flush-directory-property, tramp-get-connection-property)
2618         (tramp-set-connection-property, tramp-flush-connection-property)
2619         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
2620         cookie.
2621         (with-file-property, with-connection-property): New defuns, moved
2622         from tramp.el.
2623         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2624         macro.
2626         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2627         (tramp-version): Set tramp-autoload cookie.
2629         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
2630         changes to tramp-unload-hook for other tramp-* packages.  Add to
2631         `tramp-unload-hook'.
2632         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2633         (tramp-compat-call-process): New defuns, moved from tramp.el.
2635         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
2636         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2637         to `tramp-unload-hook'.  Change call of
2638         `tramp-compat-decimal-to-octal' to new function name.
2639         (tramp-fish-method): Make it a defconst.
2640         (tramp-fish-file-name-p): Make it a defsubst.
2641         (tramp-fish-method, tramp-fish-file-name-handler)
2642         (tramp-fish-file-name-p): Set tramp-autoload cookie.
2644         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2645         `tramp-foreign-file-name-handler-alist'.  Add to
2646         `tramp-unload-hook'.
2647         (tramp-ftp-method): Make it a defconst.
2648         (tramp-ftp-file-name-p): Make it a defsubst.
2649         (tramp-ftp-method, tramp-ftp-file-name-handler)
2650         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2652         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2653         `tramp-foreign-file-name-handler-alist'.  Add to
2654         `tramp-unload-hook'.  Change checks, whether package can be
2655         loaded.
2656         (tramp-gvfs-file-name-p): Make it a defsubst.
2657         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2658         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2659         (tramp-gvfs-handle-file-directory-p): New defun.
2660         (tramp-gvfs-file-name-handler-alist): Use it.
2662         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2663         `tramp-foreign-file-name-handler-alist'.  Add to
2664         `tramp-unload-hook'.
2665         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2666         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2667         defconst.
2668         (tramp-gw-tunnel-method, tramp-gw-socks-method)
2669         (tramp-gw-open-connection): Set tramp-autoload cookie.
2671         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
2672         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2673         to `tramp-unload-hook'.  Change checks, whether package can be
2674         loaded.
2675         (tramp-imap-file-name-p): Make it a defsubst.
2676         (tramp-imap-method, tramp-imaps-method)
2677         (tramp-imap-file-name-handler)
2678         (tramp-imap-file-name-p): Set tramp-autoload cookie.
2680         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
2681         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2682         to `tramp-unload-hook'.  Change checks, whether package can be
2683         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
2684         function name.
2685         (tramp-smb-tunnel-method): Make it a defconst.
2686         (tramp-smb-file-name-p): Make it a defsubst.
2687         (tramp-smb-method, tramp-smb-file-name-handler)
2688         (tramp-smb-file-name-p): Set tramp-autoload cookie.
2690         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
2691         (tramp-uuencode-region): Set tramp-autoload cookie.
2693         * net/trampver.el (top) Add to `tramp-unload-hook'.
2694         (tramp-version, tramp-bug-report-address): Set tramp-autoload
2695         cookie.  Update release number.
2697 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
2699         * textmodes/ispell.el (ispell-start-process): Make sure original
2700         arg list is properly initialized (Bug#6993, Bug#6994).
2702 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
2704         * files.el (directory-abbrev-alist): Use \` as default regexp.
2706         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
2707         chars like - or ] (bug#6984).
2708         (rx-any-condense-range): Explode 2-char ranges.
2710 2010-09-06  Glenn Morris  <rgm@gnu.org>
2712         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
2714 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2716         * textmodes/bibtex.el:
2717         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
2719 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2721         * net/imap.el (imap-message-map): Remove optional buffer parameter,
2722         since no callers use it.
2723         (imap-message-get): Ditto.
2724         (imap-message-put): Ditto.
2725         (imap-mailbox-map): Ditto.
2726         (imap-mailbox-put): Ditto.
2727         (imap-mailbox-get): Ditto.
2728         (imap-mailbox-get): Revert last change for this function.
2730 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2732         * net/imap.el (imap-fetch-safe): Remove function, and alter all
2733         callers to use `imap-fetch' instead.  According to the comments, this
2734         should be safe, since all other IMAP clients use the 1:* syntax.
2735         (imap-enable-exchange-bug-workaround): Remove.
2736         (imap-debug): Remove -- doesn't seem very useful.
2738 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2740         * net/imap.el (imap-log): New convenience function used throughout
2741         instead of repeating the same code all over the place.
2743 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
2745         * mouse.el (mouse-save-then-kill): Save region to kill-ring
2746         when mouse-drag-copy-region is non-nil (Bug#6956).
2748 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
2750         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2751         Improve regexps (Bug#6987).
2752         (dired-sort-toggle): Search more robustly for -t flag.
2754         * files.el (get-free-disk-space): Search more robustly for
2755         "available" column.  Suggested by Ehud Karni
2756         <ehud@unix.mvs.co.il>.
2758 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
2760         * international/uni-bidi.el:
2761         * international/uni-category.el:
2762         * international/uni-combining.el:
2763         * international/uni-decimal.el:
2764         * international/uni-mirrored.el:
2765         * international/uni-name.el: Regenerate.
2767 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2769         * electric.el (electric-indent-post-self-insert-function):
2770         Don't reindent with a sloppy indentation function.
2772         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2773         border case in change-log-mode.
2775 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
2777         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2778         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2779         Recognize leading tab in gcc-include regexp.  Ignore names with
2780         leading "from" or "in" in gnu regexp (Bug#6937).
2782 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2784         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2785         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2786         (ispell-start-process): Avoid setq and simplify logic.
2787         (ispell-init-process): Setup kill-buffer-hook locally when needed.
2788         (kill-buffer-hook): Don't use it globally with code that uses
2789         expand-file-name since that may call kill-buffer via
2790         code_conversion_restore.
2792 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
2794         * emacs-lisp/package.el (package-directory-list): Only call
2795         file-name-nondirectory on a string.
2797 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
2799         * emacs-lisp/package.el (package--download-one-archive):
2800         Ensure that archive-contents is valid before saving it.
2801         (package-activate-1, package-mark-obsolete, define-package)
2802         (package-compute-transaction, package-list-maybe-add): Use push.
2804 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2806         Use SMIE's blink-paren for octave-mode.
2807         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2808         Backslashes do not escape single-quotes, single-quotes do.
2809         (octave-block-else-regexp, octave-block-end-regexp)
2810         (octave-block-match-alist): Remove.
2811         (octave-smie-bnf-table): New var, with old content.
2812         (octave-smie-op-levels): Use it.
2813         (octave-smie-closer-alist): New var.
2814         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
2815         (octave-blink-matching-block-open): Remove.
2816         (octave-reindent-then-newline-and-indent, octave-electric-semi)
2817         (octave-electric-space): Let self-insert-command run expand-abbrev and
2818         blink parens.
2820         * electric.el (electricity): New group.
2821         (electric-indent-chars): New var.
2822         (electric-indent-post-self-insert-function): New fun.
2823         (electric-indent-mode): New minor mode.
2824         (electric-pair-skip-self): New custom.
2825         (electric-pair-post-self-insert-function): New function.
2826         (electric-pair-mode): New minor mode.
2828         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2829         calcAlg-blink-matching-open.
2830         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2831         (calc-do-alg-entry): Only touch the part of the keymap that varies.
2832         Use the new blink-matching-check-function.
2834         Provide blink-matching support to SMIE.
2835         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2836         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2837         (smie-blink-matching-check, smie-blink-matching-open): New functions.
2839         * simple.el (newline): Fix last change to properly remove itself from
2840         the hook.
2842 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2844         * simple.el (newline): Eliminate optimization.
2845         Use post-self-insert-hook to set hard-newline and things before
2846         running post-self-insert-hook.
2847         (blink-matching-check-mismatch): New function.
2848         (blink-matching-check-function): New variable.
2849         (blink-matching-open): Use them.
2850         Skip back forward over prefix chars skipped by forward-sexp.
2851         Don't check if the parens are backslash escaped.
2852         (blink-paren-post-self-insert-function): Check backslash escaping here.
2854 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
2856         * emacs-lisp/package.el (package-menu-mode-map):
2857         Change package-menu-revert bindings to revert-buffer.
2858         (package-menu-mode): Set revert-buffer-function.
2859         (package-menu-revert): Doc fix.
2861 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
2863         * textmodes/ispell.el (ispell-init-process): Use "~/" as
2864         `default-directory' unless using Ispell per-directory personal
2865         dictionaries and not in a mini-buffer under XEmacs.
2866         (kill-buffer-hook): Do not kill ispell process on exit when
2867         `ispell-process-directory' is "~/".  (Bug#6143)
2869 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
2871         * simple.el (kill-new): Call interprogram-cut-function with only
2872         one argument.
2874         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2875         Remove cut buffer from error message.
2877         * term/x-win.el (x-select-text):
2878         * term/pc-win.el (x-selection-value):
2879         * term/ns-win.el (x-selection-value):
2880         * eshell/em-term.el:
2881         * w32-fns.el (x-get-selection-value):
2882         * mouse-sel.el (mouse-sel-set-selection-function):
2883         * frame.el (display-selections-p): Remove cut-buffer in documentation.
2885         * term/x-win.el: Update documentation for x-last-selected-text-*.
2886         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2887         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2888         (x-select-text): Remove argument PUSH, update documentation.  Remove
2889         cut-buffer code.
2890         (x-selection-value-internal): Was previously x-selection-value.
2891         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
2892         Update documentation, remove cut-buffer code.  Call
2893         x-selection-value-internal.
2894         (x-clipboard-yank): Call x-selection-value-internal.
2895         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
2897         * term/pc-win.el (x-last-selected-text):
2898         x-cut-buffer-or-selection-value renamed to x-selection-value
2899         (x-select-text): Remove argument PUSH, update documentation.
2901         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
2902         x-cut-buffer-or-selection-value renamed to x-selection-value
2903         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
2904         (x-select-text): Remove argument PUSH, update documentation.
2906         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
2908         * w32-fns.el (x-last-selected-text):
2909         x-cut-buffer-or-selection-value renamed to x-selection-value.
2910         (x-cut-buffer-max): Remove.
2911         (x-select-text): Remove argument PUSH, update documentation.
2913         * simple.el (interprogram-cut-function): Remove mention of PUSH.
2915         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
2917         * mouse-sel.el (mouse-sel-get-selection-function):
2918         x-cut-buffer-or-selection-value renamed to x-selection-value.
2919         (x-select-text): Remove optional push.
2921 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2923         * simple.el (blink-paren-function): Move from C to here.
2924         (blink-paren-post-self-insert-function): New function.
2925         (post-self-insert-hook): Use it.
2927         * emacs-lisp/pcase.el (pcase-split-memq):
2928         Fix overenthusiastic optimisation.
2929         (pcase-u1): Handle the case of a lambda pred.
2931 2010-08-31  Kenichi Handa  <handa@m17n.org>
2933         * international/mule-cmds.el (standard-display-european-internal):
2934         Setup standard-display-table for 8-bit characters by storing 8-bit
2935         characters in the element vector.
2937         * disp-table.el (standard-display-8bit):
2938         Setup standard-display-table for 8-bit characters by storing 8-bit
2939         characters in the element vector.
2940         (standard-display-european): Likewise.
2942 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
2944         * textmodes/nroff-mode.el (nroff-view): New command.
2945         (nroff-mode-map): Bind it to C-c C-c.
2947 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2949         * emacs-lisp/smie.el (smie-down-list): New command.
2951         Remove old indentation and navigation code on octave-mode.
2952         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
2953         smie-down-list rather than add a binding for octave-down-block.
2954         (octave-mark-block, octave-blink-matching-block-open):
2955         Rely on forward-sexp-function.
2956         (octave-fill-paragraph): Don't narrow, so you can use
2957         indent-according-to-mode.
2958         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
2959         (octave-in-block-p, octave-re-search-forward-kw)
2960         (octave-re-search-backward-kw, octave-indent-calculate)
2961         (octave-end-as-array-index-p, octave-block-end-offset)
2962         (octave-scan-blocks, octave-forward-block, octave-backward-block)
2963         (octave-down-block, octave-backward-up-block, octave-up-block)
2964         (octave-before-magic-comment-p, octave-indent-line): Remove.
2966 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
2968         * emacs-lisp/package.el (package--read-archive-file): Just use
2969         `read', to avoid copying an additional string.
2970         (package-menu-mode): Set header-line-format here.
2971         (package-menu-refresh, package-menu-revert): Signal an error if
2972         not in the Package Menu.
2973         (package-menu-package-list): New var.
2974         (package--generate-package-list): Operate on the current buffer;
2975         don't assume that it is *Packages*, since the user may rename it.
2976         Allow persistent package listings and sort keys using
2977         package-menu-package-list and package-menu-package-sort-key.
2978         (package-menu--version-predicate): Fix version calculation.
2979         (package-menu-sort-by-column): Don't select the window.
2980         (package--list-packages): Create the *Packages* buffer.
2981         Set package-menu-package-list-key.
2982         (list-packages): Sorting by status is now the default.
2983         (package-buffer-info): Use match-string-no-properties.
2984         (define-package): Add a &rest argument for future proofing, but
2985         don't use it yet.
2986         (package-install-from-buffer, package-install-buffer-internal):
2987         Merge into a single function, package-install-from-buffer.
2988         (package-install-file): Change caller.
2990         * finder.el: Load finder-inf using `require'.
2991         (finder-list-matches): Sorting by status is now the default.
2992         (finder-compile-keywords): Simpify printing.
2994 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2996         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2997         (octave-mode-map): Remove special bindings for forward/backward-block
2998         and octave-backward-up-block.  Use smie-close-block.
2999         (octave-continuation-marker-regexp): New var.
3000         (octave-continuation-regexp): Use it.
3001         (octave-operator-table, octave-smie-op-levels)
3002         (octave-operator-regexp, octave-smie-indent-rules): New vars.
3003         (octave-smie-backward-token, octave-smie-forward-token): New funs.
3004         (octave-mode): Use SMIE.
3005         (octave-close-block): Delete.
3007 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
3009         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3010         CLIPBOARD, not in PRIMARY.  (Bug#6944)
3012 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3014         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3015         a list of parents.
3016         (smie-indent-column): Allow indirection through variables.
3018         * composite.el (save-buffer-state): Delete, unused.
3019         * font-lock.el (save-buffer-state): Use with-silent-modifications.
3020         (font-lock-default-fontify-region): Use with-syntax-table.
3021         * jit-lock.el (with-buffer-unmodified): Remove.
3022         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3024         Use `declare' in defmacros.
3025         * window.el (save-selected-window):
3026         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3027         * progmodes/python.el (def-python-skeleton):
3028         * net/dbus.el (dbus-ignore-errors):
3029         * jka-cmpr-hook.el (with-auto-compression-mode):
3030         * international/mule.el (with-category-table):
3031         * emacs-lisp/timer.el (with-timeout):
3032         * emacs-lisp/lisp-mnt.el (lm-with-file):
3033         * emacs-lisp/eieio.el (with-slots):
3034         * emacs-lisp/easymenu.el (easy-menu-define):
3035         * emacs-lisp/debug.el (debugger-env-macro):
3036         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3037         (Multiple-value-call, Multiple-value-prog1):
3038         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3039         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3040         edebug rule to definition.
3041         * emacs-lisp/lisp-mode.el (save-selected-window)
3042         (with-current-buffer, combine-after-change-calls)
3043         (with-output-to-string, with-temp-file, with-temp-buffer)
3044         (with-temp-message, with-syntax-table, read-if, eval-after-load)
3045         (dolist, dotimes, when, unless):
3046         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3048 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3050         * finder.el: Require `package'.
3051         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
3052         (finder-package-info): Var deleted.
3053         (finder-keywords-hash, finder--builtins-alist): New vars.
3054         (finder-compile-keywords): Compute package--builtins and
3055         finder-keywords-hash instead of finder-keywords-hash, respecting
3056         the "Package" header.
3057         (finder-unknown-keywords, finder-list-matches):
3058         Use finder-keywords-hash and package--list-packages.
3059         (finder-mode): Don't set font-lock-defaults.
3060         (finder-exit): We don't use "*Finder-package*" and "*Finder
3061         Category*" buffers anymore.
3063         * emacs-lisp/package.el (package--builtins-base): Var deleted.
3064         (package--builtins): Set default value to nil.
3065         (package-initialize): Load precomputed value of package--builtins
3066         from finder-inf.el.
3067         (package-alist, package-compute-transaction)
3068         (package-download-transaction): Improve docstring.
3069         (package-read-all-archive-contents): Do not change
3070         package--builtins here.
3071         (list-packages): Make package-list-packages an alias for this.
3072         Sort by status by default.
3073         (package--list-packages): Add optional PACKAGES arg.
3074         (describe-package-1): Use font-lock-face property.  For built-in
3075         packages, insert file commentary.
3076         (package--generate-package-list): Rename from
3077         package-list-packages-internal; all callers changed.  Add optional
3078         PACKAGES arg.  Add alphabetical sort fallbacks.
3079         (package-menu--version-predicate, package-menu--status-predicate)
3080         (package-menu--description-predicate)
3081         (package-menu--name-predicate): New functions.
3083         * info.el (Info-finder-find-node): Search package-alist instead of
3084         finder-package-info.
3086 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3088         * subr.el (version-regexp-alist): Don't use "a" and "b" for
3089         "alpha" and "beta".
3090         (version-to-list): Handle versions like "10.3d".
3092 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3094         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3095         (macroexp-accumulate): Use `declare'.
3097 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3099         * whitespace.el (whitespace-style): Adjust type declaration.
3101 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
3103         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3104         empty argument to gvfs-copy.
3106 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3108         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3109         handle new TRASH arg of `delete-file'.
3111 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
3113         * net/tramp.el (tramp-handle-insert-directory): Don't use
3114         `forward-word', its default syntax could be changed.
3116 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
3117             Michael Albinus  <michael.albinus@gmx.de>
3119         Implement compression for inline methods.
3121         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3122         (tramp-copy-size-limit): Allow also nil.
3123         (tramp-inline-compress-commands): New defconst.
3124         (tramp-find-inline-compress, tramp-get-inline-compress)
3125         (tramp-get-inline-coding): New defuns.
3126         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3127         replaced by `tramp-get-inline-coding'.
3128         (tramp-handle-file-local-copy, tramp-handle-write-region)
3129         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3131 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
3133         Detect ssh 'ControlMaster' argument automatically in some cases.
3135         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3136         (tramp-default-method): Use it.
3138 2010-08-26  Karel Klíč  <kklic@redhat.com>
3140         * net/tramp.el (tramp-file-name-for-operation):
3141         Add file-selinux-context.
3143 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
3145         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3147 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3149         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3150         (Bug#6907).
3152 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
3154         * progmodes/js.el: Make indentation more customizable (Bug#6914).
3155         (js-paren-indent-offset, js-square-indent-offset)
3156         (js-curly-indent-offset): New options.
3157         (js--proper-indentation): Use them.
3159 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
3161         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3162         instead of inspecting font-lock properties (Bug#6916).
3164 2010-08-26  David Reitter  <david.reitter@gmail.com>
3166         * server.el (server-visit-files): Run pre-command-hook and
3167         post-command-hook for each buffer while it is current (Bug#6910).
3168         (server-execute): Do not run hooks here.
3170 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
3172         Sync with Tramp 2.1.19.
3174         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3175         (tramp-reporter-dump-variable, tramp-load-report-modules)
3176         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3177         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3179         * net/tramp-compat.el (top): Do not autoload
3180         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3181         only when `start-file-process' is not bound.
3182         (byte-compile-not-obsolete-vars): Define if not bound.
3183         (tramp-compat-funcall): New defmacro.
3184         (tramp-compat-line-beginning-position)
3185         (tramp-compat-line-end-position)
3186         (tramp-compat-temporary-file-directory)
3187         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3188         (tramp-compat-copy-file, tramp-compat-copy-directory)
3189         (tramp-compat-delete-file, tramp-compat-delete-directory)
3190         (tramp-compat-number-sequence, tramp-compat-process-running-p):
3191         Use it.
3192         (tramp-advice-file-expand-wildcards): Do not use
3193         `tramp-handle-file-remote-p'.
3194         (tramp-compat-make-temp-file): Simplify fallback implementation.
3195         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3196         (tramp-compat-copy-tree): Remove function.
3197         (tramp-compat-delete-file): New defun.
3198         (tramp-compat-delete-directory): Provide implementation for older
3199         Emacsen.
3200         (tramp-compat-file-attributes): Handle only
3201         `wrong-number-of-arguments' error.
3203         * net/tramp-fish.el (tramp-fish-handle-copy-file):
3204         Add PRESERVE_SELINUX_CONTEXT.
3205         (tramp-fish-handle-delete-file): Add TRASH arg.
3206         (tramp-fish-handle-directory-files-and-attributes):
3207         Do not use `tramp-fish-handle-file-attributes.
3208         (tramp-fish-handle-file-local-copy)
3209         (tramp-fish-handle-insert-file-contents)
3210         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3212         * net/tramp-gvfs.el (top): Require url-util.
3213         (tramp-gvfs-mount-point): Remove.
3214         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3215         and `set-file-selinux-context'.
3216         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3217         (tramp-gvfs-handle-file-selinux-context)
3218         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3219         (with-tramp-dbus-call-method): Format trace message.
3220         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3221         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3222         Implement backup call, when operation on local files fails.
3223         Use progress reporter.  Flush properties of changed files.
3224         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
3225         `tramp-compat-delete-file'.
3226         (tramp-gvfs-handle-expand-file-name): Expand "~/".
3227         (tramp-gvfs-handle-make-directory): Make more traces.
3228         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3229         (tramp-gvfs-url-file-name): Hexify file name in url.
3230         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3231         into account for the resulting file name.
3232         (tramp-gvfs-handler-askquestion): Preserve current message, in
3233         order to let progress reporter continue afterwards.  (Bug#6257)
3234         Return dummy mountpoint, when the answer is "no".
3235         See `tramp-gvfs-maybe-open-connection'.
3236         (tramp-gvfs-handler-mounted-unmounted)
3237         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3238         attribute "default_location".  Set "prefix" property.
3239         Handle default-location.
3240         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3241         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3242         exists.  Raise an error, if not (due to a corresponding answer
3243         "no" in interactive questions, for example).
3244         Use `tramp-compat-funcall'.
3246         * net/tramp-imap.el (top): Autoload `epg-make-context'.
3247         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3248         (tramp-imap-do-copy-or-rename-file)
3249         (tramp-imap-handle-insert-file-contents)
3250         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3251         (tramp-imap-handle-delete-file): Add TRASH arg.
3253         * net/tramp-smb.el (tramp-smb-handle-copy-file):
3254         Add PRESERVE-SELINUX-CONTEXT.
3255         (tramp-smb-handle-copy-file)
3256         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3257         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3258         Use `with-progress-reporter'.
3259         (tramp-smb-handle-delete-file): Add TRASH arg.
3261         * net/tramp.el (tramp-methods): Move hostname to the end in all
3262         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
3263         appropriate.
3264         (tramp-verbose): Describe verbose level 9.
3265         (tramp-completion-function-alist)
3266         (tramp-file-name-regexp, tramp-chunksize)
3267         (tramp-local-coding-commands, tramp-remote-coding-commands)
3268         (with-connection-property, tramp-completion-mode-p)
3269         (tramp-action-process-alive, tramp-action-out-of-band)
3270         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3271         (tramp-exists-file-name-handler): Fix docstring.
3272         (tramp-remote-process-environment): Use `format' instead of
3273         `concat'.  Protect version string by apostroph.
3274         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3275         XEmacs.
3276         (tramp-file-name-regexp-unified)
3277         (tramp-completion-file-name-regexp-unified): On W32 systems, do
3278         not regard the volume letter as remote filename.  (Bug#5447)
3279         (tramp-perl-file-attributes)
3280         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3281         (tramp-vc-registered-read-file-names): Read input as
3282         here-document, otherwise the command could exceed maximum length
3283         of command line.
3284         (tramp-file-name-handler-alist): Add `file-selinux-context' and
3285         `set-file-selinux-context'.
3286         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3287         backtrace functions.
3288         (tramp-error-with-buffer): Don't show the connection buffer when
3289         we are in completion mode.
3290         (tramp-progress-reporter-update, tramp-remote-selinux-p)
3291         (tramp-handle-file-selinux-context)
3292         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3293         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3294         New defuns.
3295         (with-progress-reporter): New defmacro.
3296         (tramp-debug-outline-regexp): New defconst.
3297         (top, tramp-rfn-eshadow-setup-minibuffer)
3298         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3299         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3300         (tramp-completion-mode-p, tramp-check-for-regexp)
3301         (tramp-open-connection-setup-interactive-shell)
3302         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3303         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3304         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3305         Use `tramp-compat-funcall'.
3306         (tramp-handle-make-symbolic-link): Flush file properties.
3307         (tramp-handle-load, tramp-handle-file-local-copy)
3308         (tramp-handle-insert-file-contents, tramp-handle-write-region)
3309         (tramp-handle-vc-registered, tramp-maybe-send-script)
3310         (tramp-find-shell): Use `with-progress-reporter'.
3311         (tramp-do-file-attributes-with-stat): Add space in format string,
3312         in order to work around a bug in pdksh.  Reported by Gilles Pion
3313         <gpion@lfdj.com>.
3314         (tramp-handle-verify-visited-file-modtime): Do not send a command
3315         when the connection is not established.
3316         (tramp-handle-set-file-times): Simplify the check for utc.
3317         (tramp-handle-directory-files-and-attributes)
3318         (tramp-get-remote-path): Use `copy-tree'.
3319         (tramp-completion-handle-file-name-all-completions): Ensure, that
3320         non remote files are still checked.  Oops.
3321         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3322         Handle PRESERVE-SELINUX-CONTEXT.
3323         (tramp-do-copy-or-rename-file): Add progress reporter.
3324         (tramp-do-copy-or-rename-file-directly): Do not use
3325         `tramp-handle-file-remote-p'.
3326         (tramp-do-copy-or-rename-file-out-of-band):
3327         Use `tramp-compat-delete-directory'.
3328         (tramp-do-copy-or-rename-file-out-of-band)
3329         (tramp-compute-multi-hops, tramp-maybe-open-connection):
3330         Use `format-spec-make'.
3331         (tramp-handle-delete-file): Add TRASH arg.
3332         (tramp-handle-dired-uncache): Flush directory cache, not only file
3333         cache.
3334         (tramp-handle-expand-file-name)
3335         (tramp-completion-handle-file-name-all-completions)
3336         (tramp-completion-handle-file-name-completion):
3337         Use `tramp-connectable-p'.
3338         (tramp-handle-start-file-process): Set connection property "vec".
3339         Use it, in order to invalidate file caches.  Check only for
3340         `remote-tty' process property.
3341         Implement tty setting.  (Bug#4604, Bug#6360)
3342         (tramp-file-name-for-operation): Add `call-process-region' and
3343         `set-file-selinux-context'.
3344         (tramp-find-foreign-file-name-handler)
3345         (tramp-advice-make-auto-save-file-name)
3346         (tramp-set-auto-save-file-modes): Remove superfluous check for
3347         `stringp'.  This is done inside `tramp-tramp-file-p'.
3348         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
3349         operations when we are in completion mode.  This gives the user
3350         the chance to correct the file name in the minibuffer.
3351         (tramp-completion-mode-p): Use `non-essential'.
3352         (tramp-handle-file-name-all-completions): Backward/ XEmacs
3353         compatibility: Use `completion-ignore-case' if
3354         `read-file-name-completion-ignore-case' does not exist.
3355         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3356         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3357         `tramp-open-shell'.
3358         (tramp-action-password): Hide password prompt before next run.
3359         (tramp-process-actions): Widen connection buffer for the trace.
3360         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3361         process property.  Trace stty settings if `tramp-verbose' >= 9.
3362         Apply workaround for IRIX64 bug.  Move argument of last
3363         `tramp-send-command' where it belongs to.
3364         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3365         front of `login-args'.
3366         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3367         on "/dev/null" instead of "/".
3368         (tramp-get-ls-command-with-dired): Make test for "--dired"
3369         stronger.
3370         (tramp-set-auto-save-file-modes): Adapt version check.
3371         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3372         (tramp-handle-process-file): Call the program in a subshell, in
3373         order to preserve working directory.
3374         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3375         `tramp-remote-sh' from `tramp-methods'.
3376         (tramp-get-ls-command): Make test for "--color=never" stronger.
3377         (tramp-check-for-regexp): Use (forward-line 1).
3379         * net/trampver.el: Update release number.
3381 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3383         * help.el (help-map): Bind `C-h P' to describe-package.
3385         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3387         * emacs-lisp/package.el (package-refresh-contents): Catch errors
3388         when downloading archives.
3389         (describe-package-1): Add package commentary.
3390         (package-install-button-action): New function.
3391         (package-menu-mode-map): Bind ? to package-menu-describe-package.
3392         (package-menu-view-commentary): Function removed.
3393         (package-list-packages-internal): Hide the `package' package too.
3395 2010-08-25  Kenichi Handa  <handa@m17n.org>
3397         * language/misc-lang.el ("Arabic"): New language environment.
3398         Setup composition-function-table for Arabic characters.
3400         * international/fontset.el (setup-default-fontset): Fix typo for
3401         arabic OTF spec (fini->fina).
3403 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
3405         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3406         on all frames.
3408 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3410         * whitespace.el: Allow cleaning up blanks without blank
3411         visualization (Bug#6651).  Adjust help window for
3412         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3413         instead of whitespace-line-column (from EmacsWiki).  New version
3414         13.1.
3415         (whitespace-style): Added new value 'face.  Adjust docstring.
3416         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3417         foreground property face.
3418         (whitespace-line-column): Adjust docstring and type declaration.
3419         (whitespace-style-value-list, whitespace-toggle-option-alist)
3420         (whitespace-help-text): Adjust const initialization.
3421         (whitespace-toggle-options, global-whitespace-toggle-options):
3422         Adjust docstring.
3423         (whitespace-display-window, whitespace-interactive-char)
3424         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3425         (whitespace-help-scroll): New fun.
3427 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3429         * emacs-lisp/package.el (list-packages): Alias for
3430         package-list-packages.
3432 2010-08-24  Kevin Ryde  <user42@zip.com.au>
3434         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3435         (Bug#5651).
3437         * progmodes/ruby-mode.el (ruby): Add defgroup.
3439 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3441         * progmodes/python.el: Add Ipython support (Bug#5390).
3442         (python-shell-prompt-alist)
3443         (python-shell-continuation-prompt-alist): New options.
3444         (python--set-prompt-regexp): New function.
3445         (inferior-python-mode, run-python, python-shell): Require
3446         ansi-color.  Use python--set-prompt-regexp to set the comint
3447         prompt based on the Python interpreter.
3448         (python--prompt-regexp): New var.
3449         (python-check-comint-prompt)
3450         (python-comint-output-filter-function): Use it.
3451         (run-python): Use a pipe (Bug#5694).
3453 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
3455         * progmodes/python.el (python-send-region): Send a different
3456         Python command if Ipython is in use.
3457         (python-check-version): Use a Python command to find the version.
3459 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3461         * mouse.el (mouse-yank-primary): Avoid setting primary when
3462         deactivating the mark (Bug#6872).
3464 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
3466         * progmodes/python.el (python-block-pairs): Allow use of "finally"
3467         with "else" (Bug#3991).
3469 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
3471         * net/dbus.el: Accept UNIX domain sockets as bus address.
3472         (top): Don't initialize `dbus-registered-objects-table' anymore,
3473         this is done in dbusbind,c.
3474         (dbus-check-event): Adapt test for bus.
3475         (dbus-return-values-table, dbus-unregister-service)
3476         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3477         Adapt doc string.
3479 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
3481         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3483 2010-08-22  Juri Linkov  <juri@jurta.org>
3485         * simple.el (read-extended-command): New function with the logic
3486         for `completing-read' moved to Elisp from `execute-extended-command'.
3487         Use `function-called-at-point' in `minibuffer-default-add-function'
3488         to get a command name for M-n (bug#5364, bug#5214).
3490 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3492         * startup.el (command-line-1): Issue warning for ignored arguments
3493         --unibyte, etc (Bug#6886).
3495 2010-08-22  Leo  <sdl.web@gmail.com>
3497         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3498         (ignore, bright, dim, keyword): Split list of nicknames before
3499         passing to rcirc-add-or-remove (Bug#6894).
3501 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3503         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3505 2010-08-22  Leo  <sdl.web@gmail.com>
3507         Fix buffer-list rename&refresh after killing a buffer in ido.
3508         * ido.el: Revert Óscar's.
3509         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3510         Remember the buffers at head, rather than their name.
3511         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3513 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
3514             Stefan Monnier  <monnier@iro.umontreal.ca>
3516         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3517         extra backslash added to each line (bug#6890).
3519 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3521         * subr.el (read-key): Don't echo keystrokes (bug#6883).
3523 2010-08-22  Glenn Morris  <rgm@gnu.org>
3525         * menu-bar.el (menu-bar-games-menu): Add landmark.
3527 2010-08-22  Glenn Morris  <rgm@gnu.org>
3529         * align.el (align-regexp): Make group and spacing arguments
3530         use the interactive defaults when non-interactive.  (Bug#6698)
3532         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3533         expansion, so as not to need sendmail.
3534         (mail-text-start): Remove declaration.
3535         (rmail-retry-failure): Require sendmail.
3537 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3539         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3541 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
3543         * progmodes/flymake.el (flymake-start-syntax-check-process):
3544         Use `start-file-process' in order to let it run also on remote hosts.
3546 2010-08-22  Kenichi Handa  <handa@m17n.org>
3548         * files.el: Add `word-wrap' as safe local variable.
3550 2010-08-22  Glenn Morris  <rgm@gnu.org>
3552         * woman.el (woman-translate): Case matters.  (Bug#6849)
3554 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3556         * simple.el (kill-region): Doc fix (Bug#6787).
3558 2010-08-22  Glenn Morris  <rgm@gnu.org>
3560         * calendar/diary-lib.el (diary-header-line-format):
3561         Fit it to the window, not the frame.
3563 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
3565         * subr.el (ignore-errors): Add debug declaration.
3567 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
3569         * whitespace.el (whitespace-color-off): Remove post-command-hook
3570         locally.
3572 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3574         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
3576 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
3578         * cus-edit.el (custom-group-value-create): Add extra newline
3579         before end line (Bug#6876).
3581 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
3583         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
3584         when extending it.  Before killing on the second click, check if
3585         the buffer is the correct one.  Doc fix.
3586         (mouse-secondary-save-then-kill): Allow usage without first
3587         calling mouse-start-secondary, by defaulting to point.  Don't save
3588         an empty secondary selection.  Doc fix.
3590 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3592         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
3593         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
3594         New version 13.0.
3595         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
3596         Adjust initialization.
3597         (whitespace-bob-marker, whitespace-eob-marker)
3598         (whitespace-buffer-changed): New vars.
3599         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
3600         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3601         (whitespace-post-command-hook, whitespace-display-char-on):
3602         Adjust code.
3603         (whitespace-looking-back, whitespace-buffer-changed): New funs.
3604         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
3606 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3608         * files.el (locate-file-completion-table): Only list the .el and .elc
3609         extensions if there's no other choice (bug#5955).
3611         * facemenu.el (facemenu-self-insert-data): New var.
3612         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
3613         New functions.
3614         (facemenu-add-face): Use them.
3616         * simple.el (blink-matching-open): Obey forward-sexp-function.
3618 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3620         * simple.el (prog-mode-map): New var.
3621         (prog-indent-sexp): New command.
3623         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3625         * progmodes/prolog.el (smie): Require.
3627         * emacs-lisp/smie.el (smie-default-backward-token)
3628         (smie-default-forward-token): Strip properties.
3629         (smie-next-sexp): Be more careful with associative operators.
3630         (smie-forward-sexp-command): Generalize.
3631         (smie-backward-sexp-command): Simplify.
3632         (smie-closer-alist): New var.
3633         (smie-close-block): New command.
3634         (smie-indent-debug-log): New var.
3635         (smie-indent-offset-rule): Add a few more cases.
3636         (smie-indent-column): New function.
3637         (smie-indent-after-keyword): Use it.
3638         (smie-indent-keyword): Use it.
3639         Fix up the opener code's point position.
3640         (smie-indent-comment): Only applies at BOL.
3641         (smie-indent-debug): New command.
3643         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3644         declarations that are useful before running the macro.
3646 2010-08-18  Joakim Verona  <joakim@verona.se>
3648         * image.el (imagemagick-types-inhibit): New variable.
3649         (imagemagick-register-types): New function.
3650         * image-mode.el (image-transform-properties): New function.
3651         (image-transform-set-scale, image-transform-fit-to-height)
3652         (image-transform-set-rotation, image-transform-set-resize)
3653         (image-transform-fit-to-width, image-transform-fit-to-height):
3654         New functions.
3655         (image-toggle-display-image): Support image transforms.
3657 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
3659         * image.el (create-animated-image): Don't add heuristic mask to image
3660         (Bug#6839).
3662 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
3664         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3665         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3667 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3669         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3671         Font-lock '...' strings, plus various simplifications and fixes.
3672         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3673         (octave-font-lock-close-quotes): New function.
3674         (octave-font-lock-syntactic-keywords): New var.
3675         (octave-mode): Use it.  Set beginning-of-defun-function.
3676         (octave-mode-map): Don't override the <foo>-defun commands.
3677         (octave-mode-menu): Pass it directly to easy-menu-define;
3678         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3679         (octave-block-match-alist): Fix up last change so that
3680         octave-close-block uses the more specific keyword.
3681         (info-lookup-mode): Silence byte-compiler.
3682         (octave-beginning-of-defun): Not interactive any more.
3683         Optimize slightly.
3684         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
3685         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
3686         (octave-completion-at-point-function): Make sure point is within
3687         beg..end.
3688         (octave-reindent-then-newline-and-indent):
3689         Use reindent-then-newline-and-indent.
3690         (octave-add-octave-menu): Remove.
3692 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
3694         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
3695         (report-emacs-bug-can-use-xdg-email): New functions.
3696         (report-emacs-bug): Set can-xdg-email to result of
3697         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
3698         \C-cm to report-emacs-bug-insert-to-mailer and add help text
3699         about it.
3701         * net/browse-url.el (browse-url-default-browser): Add cond
3702         for browse-url-xdg-open.
3703         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
3705 2010-08-17  Glenn Morris  <rgm@gnu.org>
3707         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
3708         (c-fontify-recorded-types-and-refs): Define for compiler.
3709         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
3710         before use.
3712         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
3713         Fix format call.
3715 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
3717         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
3718         properties.
3719         (tramp-handle-process-file): Call the program in a subshell, in
3720         order to preserve working directory.
3721         (tramp-action-password): Hide password prompt before next run.
3722         (tramp-process-actions): Widen connection buffer for the trace.
3724 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3726         * net/rcirc.el (rcirc-log-process-buffers): New option.
3727         (rcirc-print): Use it.
3728         (rcirc-generate-log-filename): New function.
3729         (rcirc-log-filename-function): Change default to
3730         rcirc-generate-log-filename (Bug#6828).
3732 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
3734         * simple.el (deactivate-mark): If select-active-regions is `only',
3735         only set selection for temporarily active regions.
3737         * cus-start.el: Change defcustom for select-active-regions.
3739 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
3741         * mouse.el (mouse--drag-set-mark-and-point): New function.
3742         (mouse-drag-track): Use LOCATION arg to push-mark.
3743         Use mouse--drag-set-mark-and-point to take click-count into
3744         consideration when updating point and mark (Bug#6840).
3746 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
3748         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3749         Give the Ruby rule a lower priority than Gnu (Bug#6778).
3751 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
3753         * font-lock.el (lisp-font-lock-keywords-2):
3754         Add combine-after-change-calls, condition-case-no-debug,
3755         with-demoted-errors, and with-silent-modifications (Bug#6025).
3757 2010-08-14  Kevin Ryde  <user42@zip.com.au>
3759         * emacs-lisp/copyright.el (copyright-update-year)
3760         (copyright-update): Temporary switch-to-buffer to ensure the
3761         buffer change being queried is visible (Bug#5394).
3763 2010-08-14  Tom Tromey  <tromey@redhat.com>
3765         * progmodes/etags.el (tags-file-name): Mark safe if stringp
3766         (Bug#6733).
3768 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
3770         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3771         MS-DOS.  (Bug#6689)
3773 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
3775         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3776         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3777         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3778         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3779         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3780         Call menu-bar-set-tool-bar-position.
3782 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3784         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3785         comment style (bug#6834).
3786         * progmodes/scheme.el (scheme-mode-syntax-table):
3787         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3788         "b" flag in "' 14b" syntax.
3790         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3791         for (un)commenting the region and performing completion.
3792         (octave-mode-menu): Use standard commands for help and completion.
3793         (octave-mode-syntax-table): Support %{..%} comments (sort of).
3794         (octave-mode): Use define-derived-mode.
3795         Set completion-at-point-functions and don't set columns.
3796         Don't disable adaptive-fill-regexp.
3797         (octave-describe-major-mode, octave-comment-region)
3798         (octave-uncomment-region, octave-comment-indent)
3799         (octave-indent-for-comment): Remove.
3800         (octave-indent-calculate): Rename from calculate-octave-indent.
3801         (octave-indent-line, octave-fill-paragraph): Update caller.
3802         (octave-initialize-completions): No need to make an alist.
3803         (octave-completion-at-point-function): New function.
3804         (octave-complete-symbol): Use it.
3805         (octave-insert-defun): Use define-skeleton.
3807         * progmodes/octave-mod.el (octave-mode): Set comment-add.
3808         (octave-mode-map): Use comment-dwim (bug#6829).
3810 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
3812         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3813         indentation of inserted comment.
3815 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
3817         * faces.el (region): Add type gtk that uses gtk colors.
3819         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3820         Handle theme-name change.
3822 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
3824         * progmodes/sql.el: Version 2.5
3825         (sql-product-alist): Add :prompt-cont-regexp property for several
3826         database products.
3827         (sql-prompt-cont-regexp): New variable.
3828         (sql-output-newline-count, sql-output-by-send):
3829         New variables.  Record number of newlines in input text.
3830         (sql-send-string): Handle multiple filters and count newlines.
3831         (sql-send-magic-terminator): Count terminator newline.
3832         (sql-interactive-remove-continuation-prompt): Filters output to
3833         remove continuation prompts; one for each newline.
3834         (sql-interactive-mode): Set up new variables, prompt regexp and
3835         output filter.
3836         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3837         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3839 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3841         * emacs-lisp/pcase.el: New file.
3843 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
3845         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3846         as here-document, otherwise the command could exceed maximum
3847         length of command line.
3848         (tramp-handle-vc-registered): Call script accordingly.
3849         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3851 2010-08-10  Kenichi Handa  <handa@m17n.org>
3853         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3854         composable pattern.
3856 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
3858         * emacs-lisp/package.el (package-version-split)
3859         (package--version-first-nonzero, package-version-compare):
3860         Functions removed.
3861         (package-directory-list, package-load-all-descriptors)
3862         (package--built-in, package-activate, define-package)
3863         (package-installed-p, package-compute-transaction)
3864         (package-read-all-archive-contents)
3865         (package--add-to-archive-contents, package-buffer-info)
3866         (package-tar-file-info, package-list-packages-internal):
3867         Use version-to-list and version-list-*.
3869         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3870         Use version-to-list.
3871         (package-upload-buffer-internal): Use version-list-<=.
3873 2010-08-09  Kenichi Handa  <handa@m17n.org>
3875         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3876         composable pattern.
3878 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
3880         * tutorial.el (tutorial--default-keys): C-d is now bound to
3881         delete-forward-char (Bug#6826).
3883         * mouse.el (mouse-drag-track): Remove accidentally-removed check
3884         for `double' value of mouse-1-click-follows-link (Bug#6807).
3886 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
3888         * replace.el (replace-highlight): Bind isearch-forward and
3889         isearch-error, ensuring that highlighting is updated if the user
3890         switches the search direction (Bug#6808).
3892         * isearch.el (isearch-lazy-highlight-forward): New var.
3893         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3894         (isearch-lazy-highlight-update): Use it.
3896 2010-08-08  Kenichi Handa  <handa@m17n.org>
3898         * international/mule.el (define-charset): Store NAME as :base property.
3899         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
3900         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
3901         current priority.  Force using the designation of the specific
3902         charset by adding `charset' text property.  Improve the whole algorithm.
3904 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3906         * emulation/pc-select.el (pc-selection-mode-hook)
3907         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
3908         (pc-selection-mode): Fix typos in docstrings.
3910 2010-08-08  Kenichi Handa  <handa@m17n.org>
3912         * language/cyrillic.el: Don't add "microsoft-cp1251" to
3913         ctext-non-standard-encodings-alist here.
3915         * international/mule.el (ctext-non-standard-encodings-alist):
3916         Add "koi8-r" and "microsoft-cp1251".
3917         (ctext-standard-encodings): New variable.
3918         (ctext-non-standard-encodings-table): List only elements for
3919         non-standard encodings.
3920         (ctext-pre-write-conversion): Adjust for the above change.
3921         Check ctext-standard-encodings.
3923         * international/mule-conf.el (compound-text): Doc fix.
3924         (ctext-no-compositions): Doc fix.
3925         (compound-text-with-extensions): Doc fix.
3927 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3929         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
3931 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3933         * progmodes/which-func.el (which-func-format): Split help-echo text
3934         into lines, like other mode-line tooltips.
3936         * server.el (server-start): When using TCP sockets, force IPv4
3937         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
3939 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3941         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
3943 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3945         * term.el (term-delimiter-argument-list): Reflow docstring.
3946         (term-read-input-ring, term-write-input-ring, term-send-input)
3947         (term-bol, term-erase-in-display, serial-supported-or-barf):
3948         Fix typos in docstrings.
3950 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3952         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
3954 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3956         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
3958 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
3960         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
3961         Fix typo in docstring (bug#6747).
3963 2010-08-08  Leo  <sdl.web@gmail.com>
3965         * eshell/esh-io.el (eshell-get-target): Better detection of
3966         read-only file (Bug#6762).
3968 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3970         * align.el (align-default-spacing): Doc fix.
3971         (align-region-heuristic, align-regexp): Fix typos in docstrings.
3973 2010-08-08  Stephen Peters  <speters@itasoftware.com>
3975         * calendar/icalendar.el
3976         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
3977         (icalendar--get-weekday-numbers): New.
3978         (icalendar--convert-recurring-to-diary): Handle multiple byday
3979         values in weekly rules.  (Bug#6766)
3981 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
3983         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
3984         (icalendar--create-uid, icalendar-export-region)
3985         (icalendar--parse-summary-and-rest): Code formatting.
3987 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
3989         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
3990         to italicize headers.
3991         (calc-highlight-selections-with-faces): New variable.
3992         (calc-selected-face, calc-nonselected-face): New faces.
3994         * calc/calccomp.el (math-comp-highlight-string): Use
3995         `calc-highlight-selections-with-faces' to determine how to highlight
3996         sub-formulas.
3998         * calc/calc-sel.el (calc-show-selections): Change message to when
3999         using faces to highlight selections.
4001 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
4003         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4004         Add SQLite 3 keywords, functions and datatypes.
4005         (sql-interactive-mode): Remove `comint-process-echoes' set to t
4006         (Bug#6686).
4008 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
4010         * simple.el (select-active-regions): Move to keyboard.c.
4011         (deactivate-mark): Used saved-region-selection.
4012         (select-active-region): Function removed.
4013         (activate-mark, set-mark, push-mark-command)
4014         (handle-shift-selection): Don't call it.
4015         (keyboard-quit): Avoid adding the region to the window selection.
4017         * mouse.el (mouse-drag-track): Remove hacks to deal with old
4018         select-active-regions implementation.
4019         (mouse-yank-at-click): Doc fix.
4021         * cus-start.el: Add custom declaration for select-active-regions.
4023 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
4025         * simple.el (delete-forward-char): Doc fix.
4027         * tutorial.el (help-with-tutorial): Hack safe file-local variables
4028         after reading the tutorial.
4030 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
4032         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4033         for the case that a C style comment has its delimiters alone on
4034         their respective lines.
4036 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
4038         * net/tramp.el (tramp-handle-start-file-process): Set connection
4039         property "vec".
4040         (tramp-process-sentinel): Use it for flushing the cache.  We
4041         cannot do it via the process buffer, the buffer could be deleted
4042         already when running the sentinel.
4044 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
4046         * comint.el (comint-mode): Make directory tracking functions
4047         functional on remote files.  (Bug#6764)
4049 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
4051         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4053 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
4055         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4056         unexec.c => unexcoff.c.
4058         * emacs-lisp/authors.el (authors-fixed-entries): Rename
4059         unexec.c => unexcoff.c.
4061 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
4063         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4064         cache, not only file cache.
4065         (tramp-process-sentinel): New defun.
4066         (tramp-handle-start-file-process): Use it, in order to invalidate
4067         file caches.
4069 2010-08-03  Leo  <sdl.web@gmail.com>
4071         * server.el (server-start): Simplify loop.
4073 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4075         * frame.el (screen-height, screen-width, set-screen-width)
4076         (set-screen-height): Remove ancient compatibility aliases.
4078         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4079         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
4081         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4082         that change current buffer.
4084 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4086         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4087         beginning of the string.  Use `string-match-p'.  (Bug#6765)
4089 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
4091         * cus-start.el (x-gtk-use-system-tooltips): New variable.
4093 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
4095         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4096         (package--builtins): Tweak descriptions.
4097         (package-print-package): Upcase descriptions if necessary.
4098         Show all built-in packages in font-lock-builtin-face.
4099         (package-list-packages-internal): Omit "emacs" package.
4100         Show status of built-in packages as "built-in".
4102 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
4104         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
4105         before killing to preserve the primary selection (Bug#6701).
4107         * term/x-win.el (x-select-text): Doc fix.
4109 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
4111         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4112         The following functions were modified or created:
4114         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4115         (objc-font-lock-extra-types):
4116         * progmodes/cc-mode.el (c-basic-common-init):
4117         * progmodes/cc-langs.el (c-make-mode-syntax-table)
4118         (c++-make-template-syntax-table)
4119         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4120         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4121         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4122         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4123         * progmodes/cc-fonts.el (c-make-inverse-face)
4124         (c-basic-matchers-after):
4125         * progmodes/cc-engine.el (c-forward-keyword-clause)
4126         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4127         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4128         (c-guess-continued-construct, c-guess-basic-syntax):
4130 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
4132         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4134 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
4136         * files.el (bidi-paragraph-direction): Define safe local values.
4138         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4139         language-info-alist.  Remove outdated FIXME in a comment.
4141 2010-07-31  Alan Mackenzie  <acm@muc.de>
4143         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4144         Auto-fill broken in C/C++ modes.
4146 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
4148         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4149         (menu-bar-showhide-tool-bar-menu-customize-disable)
4150         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4151         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4152         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4153         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4154         make a menu for Options => toolbar that can move it.
4156 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
4158         * emacs-lisp/package-x.el (package--make-rss-entry):
4159         (package-maint-add-news-item, package--update-news)
4160         (package-upload-buffer-internal): New arg ARCHIVE-URL.
4162         * emacs-lisp/package.el (package-archive-url): Rename from
4163         package-archive-id.
4164         (package-install): Doc fix.
4165         (package-download-single, package-download-tar, package-install)
4166         (package-menu-view-commentary): Callers changed.
4168 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
4170         * net/tramp.el (tramp-handle-start-file-process): Check only for
4171         `remote-tty' process property.
4172         (tramp-open-shell): Don't check for tty.
4173         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4174         process property.
4176         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4177         host.
4179 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
4181         * emacs-lisp/package.el (package-load-list, package-archives)
4182         (package-archive-contents, package-user-dir)
4183         (package-directory-list, package--builtins, package-alist)
4184         (package-activated-list, package-obsolete-alist): Mark as risky.
4186 2010-07-28  Phil Hagelberg  <phil@evri.com>
4188         Add support for non-default package repositories.
4189         * emacs-lisp/package.el (package-archive-base): Var deleted.
4190         (package-archives): New variable.
4191         (package-archive-contents): Doc fix.
4192         (package-load-descriptor): Do nothing if descriptor file is missing.
4193         (package--write-file-no-coding): New function.
4194         (package-unpack-single): Use it.
4195         (package-archive-id): New function.
4196         (package-download-single, package-download-tar)
4197         (package-menu-view-commentary): Use it.
4198         (package-installed-p): Make second argument optional.
4199         (package-read-all-archive-contents): New function.
4200         (package-initialize): Use it.
4201         (package-read-archive-contents): Add ARCHIVE argument.
4202         (package--add-to-archive-contents): New function.
4203         (package-install): Don't call package-read-archive-contents.
4204         (package--download-one-archive): Store archive file in a
4205         subdirectory of package-user-dir.
4206         (package-menu-execute): Remove spurious line movement.
4208 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
4210         * cus-start.el (tool-bar-style): Add text-image-horiz.
4212 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4214         * progmodes/gud.el (gud-common-init): Check for remoteness of
4215         `file', and not of `default-directory'.
4217 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4219         * net/tramp.el (tramp-methods): Move hostname to the end in all
4220         ssh `tramp-login-args'.
4221         (tramp-verbose): Describe verbose level 9.
4222         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4223         (tramp-open-connection-setup-interactive-shell): Trace stty
4224         settings if `tramp-verbose' >= 9.
4225         (tramp-handle-start-file-process): Implement tty setting.
4226         (Bug#4604, Bug#6360)
4228         * net/tramp-cmds.el (tramp-bug): Recommend setting of
4229         `tramp-verbose' to 9.
4231 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
4233         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4234         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4235         Remove references to package `lisp-re' (bug#4369).
4237 2010-07-27  Tom Tromey  <tromey@redhat.com>
4239         * progmodes/js.el (js-mode):
4240         * progmodes/make-mode.el (makefile-mode):
4241         * progmodes/simula.el (simula-mode):
4242         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4244 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
4246         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4248         * time.el (display-time-day-and-date): Remove spurious * in docstring.
4249         (display-time-world-buffer-name, display-time-world-mode-map):
4250         Fix typos in docstrings.
4252 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
4254         * image-mode.el (image-display-size): New function.
4255         (image-forward-hscroll, image-next-line, image-eol, image-eob)
4256         (image-mode-fit-frame): Use it (Bug#6639).
4258 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
4260         * dired.el (dired-buffers-for-dir): Handle list values of
4261         dired-directory (Bug#6636).
4263 2010-07-26  Sam Steingold  <sds@gnu.org>
4265         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4266         Do not call `x-get-selection' the second time, reuse the value.
4268 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
4270         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4271         which consist of control chars only.  Suggested by Richard Stallman.
4273 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
4275         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4276         exists before passing an error to find-file-not-found-functions
4277         (bug#6723).
4279 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
4281         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4282         Remove leading nil element, adjust values.
4283         (tetris-shapes, tetris-shape-scores):
4284         Change representation of shapes and remove some redundancy.
4285         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4286         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4287         Adjust for working with new representation of shapes.
4288         (tetris-shape-rotations): New function.
4289         (tetris-move-bottom, tetris-move-left, tetris-move-right)
4290         (tetris-rotate-prev, tetris-rotate-next):
4291         Adjust for working with the new version of tetris-test-shape.
4293 2010-07-23  Markus Triska  <markus.triska@gmx.at>
4295         * progmodes/ps-mode.el: Use comint (bug#5954).
4296         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4297         (ps-mode-other-newline): Simplify.
4298         (ps-run-mode): Derive from comint-mode instead of
4299         fundamental-mode, yielding input history etc.
4300         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4301         (ps-run-send-string): Adapt for comint-mode.
4302         (ps-run-newline): Remove now unneeded function.
4304 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4306         * net/tramp.el (tramp-methods): Move hostname to the end in all
4307         plink `tramp-login-args'.
4309 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4311         * net/tramp.el (tramp-open-shell): New defun.
4312         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4313         Use it.
4315 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4317         * net/tramp.el (tramp-file-name-regexp-unified)
4318         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4319         not regard the volume letter as remote filename.  (Bug#5447)
4321 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
4323         * custom.el (custom-declare-variable): Give a clearer error message
4324         when the docstring is missing (bug#6476).
4326 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
4328         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
4329         (sql-login-params): New widget definition.
4330         (sql-oracle-login-params, sql-mysql-login-params)
4331         (sql-solid-login-params, sql-sybase-login-params)
4332         (sql-informix-login-params, sql-ingres-login-params)
4333         (sql-ms-login-params, sql-postgres-login-params)
4334         (sql-interbase-login-params, sql-db2-login-params)
4335         (sql-linter-login-params): Use it.
4336         (sql-sqlite-login-params): Use it; Define "database" parameter as
4337         a file name.
4338         (sql-sqlite-program): Change to "sqlite3".
4339         (sql-comint-sqlite): Make sure database name is complete.
4340         (sql-for-each-login): New function.
4341         (sql-connect, sql-save-connection): Use it.
4342         (sql-get-login-ext): New function.
4343         (sql-get-login): Use it.
4344         (sql-make-alternate-buffer-name): Handle :file parameters.
4346 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
4348         * dired.el (dired-no-confirm): Document value t and fix defcustom to
4349         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
4351 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
4353         * dired.el (dired-mode-map): Use command remapping (bug#6632).
4355 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
4357         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4359 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
4361         * net/tramp.el (tramp-get-ls-command)
4362         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4363         instead of "/".
4365 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
4367         * progmodes/sql.el: Version 2.3.
4368         (sql-connection-alist): Changed keys from symbols to strings;
4369         enhanced the widget definition.
4370         (sql-mode-menu): Added submenu to select connections.
4371         (sql-interactive-mode-menu): Added "Save Connection" item.
4372         (sql-add-product): Fixed menu item.
4373         (sql-get-product-feature): Improved error handling.
4374         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4375         (sql-make-alternate-buffer-name): Simplified.
4376         (sql-product-interactive): Handle missing product.
4377         (sql-connect): Support string keys, minor improvements.
4378         (sql-save-connection): New function.
4379         (sql-connection-menu-filter): New function.
4381 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4383         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4384         (tramp-open-connection-setup-interactive-shell): Apply
4385         workaround for IRIX64 bug.  Move argument of last
4386         `tramp-send-command' where it belongs to.
4388 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4390         * net/tramp.el (tramp-perl-file-attributes)
4391         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4392         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4393         front of `login-args'.
4395 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
4397         * time.el (display-time-world-mode): Define with `define-derived-mode'.
4398         Set `show-trailing-whitespace' to nil.
4399         (display-time-world-display): Simplify.
4401 2010-07-18  Alan Mackenzie  <acm@muc.de>
4403         Enhance `c-file-style' in file/directory local variables.
4404         * progmodes/cc-mode.el (c-count-cfss): New function.
4405         (c-before-hack-hook): Call `c-set-style' differently according to
4406         whether c-file-style was set in file or directory local
4407         variables.
4409 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
4411         * progmodes/sql.el: Version 2.2.
4412         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4413         defcustom :safe keyword rather than putting safe-local-variable
4414         property.
4415         (sql-password): Use defcustom :risky keyword rather than putting
4416         risky-local-variable property.
4417         (sql-oracle-login-params, sql-sqlite-login-params)
4418         (sql-solid-login-params, sql-sybase-login-params)
4419         (sql-informix-login-params, sql-ingres-login-params)
4420         (sql-ms-login-params, sql-postgres-login-params)
4421         (sql-interbase-login-params, sql-db2-login-params)
4422         (sql-linter-login-params): Add `port' option.
4423         (sql-get-product-feature): Added NO-INDIRECT parameter.
4424         (sql-comint-oracle, sql-comint-sybase)
4425         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4426         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4427         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4428         (sql-comint-linter): Renamed sql-connect-* functions to
4429         sql-comint-*.
4430         (sql-product-alist, sql-mode-menu): Renamed as above and
4431         :sqli-connect-func to :sqli-comint-func.
4432         (sql-connection): New variable.
4433         (sql-interactive-mode): Set it.
4434         (sql-connection-alist): New variable.
4435         (sql-connect): New function.
4436         (sql--alt-buffer-part, sql--alt-if-not-empty)
4437         (sql-make-alternate-buffer-name): Improved alternative buffer name.
4439 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4441         * image-mode.el (image-bookmark-make-record): Do not set context
4442         in an image (Bug#6650).
4444 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
4446         * simple.el (select-active-region): New function.
4447         (push-mark-command, set-mark, activate-mark)
4448         (handle-shift-selection): Use it.
4449         (deactivate-mark): Don't check for size of region.
4451         * mouse.el (mouse-drag-track): Use select-active-region.
4453 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
4455         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4456         "--dired" stronger.
4458 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
4460         * term/x-win.el (x-select-enable-primary): Change default to nil.
4461         (x-select-enable-clipboard): Add :version keyword.
4463         * mouse.el (mouse-drag-copy-region):
4464         * simple.el (select-active-regions): Likewise.
4466 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
4468         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4469         (vc-coding-system-for-diff): Use it to decide whether to inherit
4470         from the file the EOL format for reading the diffs of that file.
4471         (Bug#4451)
4473 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
4475         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4476         unibyte, so compressed attachments are not compressed again.
4478 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
4480         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4481         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4482         (tramp-find-shell): Simplify setting connection property.
4483         (tramp-get-ls-command): Make test for "--color=never" stronger.
4485 2010-07-15  Simon South  <ssouth@member.fsf.org>
4487         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4488         blocks within record declarations (i.e. variant parts) correctly.
4490 2010-07-15  Simon South  <ssouth@member.fsf.org>
4492         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4493         over literal tokens when parsing so newlines aren't "absorbed" by
4494         single-line comments.  Corrects the indentation of case blocks
4495         that have a comment on the first line.
4497 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
4499         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4500         by Drew Adams (Bug#5504).
4502 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
4504         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4505         now that Unicode is used (Bug#6594).
4507 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
4509         * term/x-win.el (x-select-enable-clipboard): Default to t.
4510         (x-initialize-window-system): Don't overwrite Paste menu item.
4512         * simple.el (select-active-regions): Default to t.
4513         (push-mark-command): Don't overwrite primary with empty string.
4515         * mouse.el: Bind mouse-2 to mouse-yank-primary.
4516         (mouse-drag-copy-region): Default to nil.
4518         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4519         Cut/Copy/Paste menu bar items.
4521 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4523         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4524         Patch applied by Karl Fogel.
4526         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4527         and `bookmark-current-buffer' if they have been already set in
4528         another buffer (e.g gnus-art).
4530 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
4531             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4533         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4535         * bookmark.el (bookmark-make-record-default): Allow unneeded
4536         information to be omitted from the record.
4538         Adjust declarations and calls:
4540         * info.el (bookmark-make-record-default): Adjust declaration.
4541         (Info-bookmark-make-record): Adjust call.
4543         * woman.el (bookmark-make-record-default): Adjust declaration.
4544         (woman-bookmark-make-record): Adjust call.
4546         * man.el (bookmark-make-record-default): Adjust declaration.
4547         (Man-bookmark-make-record): Adjust call.
4549         * image-mode.el (bookmark-make-record-default): Adjust declaration.
4551         * doc-view.el (bookmark-make-record-default): Adjust declaration.
4553 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
4555         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
4556         This is also from Thierry Volpiatto's patch in bug #6444.  However,
4557         because it was extraneous to the functional change in that patch,
4558         and causes a re-indendation, I am committing it separately.
4560 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4562         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
4563         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
4564         Patch applied by Karl Fogel (Bug#6444).
4566 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
4568         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
4570 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
4572         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
4573         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
4574         (ns-alternatives-map): Change S-tab binding to backtab
4575         (bug#6616).
4577         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
4578         under ns.
4580 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
4582         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
4583         (Bug#5806)
4585         * language/tv-util.el (tai-viet-re): Remove format.
4587 2010-07-12  Kenichi Handa  <handa@m17n.org>
4589         * language/hebrew.el: Remove no-byte-compile declaration.
4590         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
4591         composition-function-table for 3-character looking back.
4592         (hebrew-font-get-precomposed): New function.
4593         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
4595 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
4597         * mouse.el (mouse-drag-track): Handle select-active-regions
4598         (Bug#6612).
4600 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
4602         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4603         empty argument to gvfs-copy.
4605 2010-07-10  Glenn Morris  <rgm@gnu.org>
4607         * calendar/calendar.el (calendar-week-end-day): New function.
4608         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
4609         Respect calendar-week-start-day.  (Bug#6606)
4610         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4611         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
4612         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
4613         respect calendar-week-start-day.
4615 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
4617         * simple.el (use-region-p): Doc fix (Bug#6607).
4619 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
4621         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
4622         regexps for cucumber and ruby.
4624 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
4626         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4627         (epa-file-insert-file-contents): Hack to prevent
4628         find-file from opening empty buffer when decryption failed
4629         (bug#6568).
4631 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
4633         * textmodes/ispell.el (ispell-alternate-dictionary):
4634         Use file-readable-p.
4635         Return nil if no word-list is found at default locations.
4636         (ispell-complete-word-dict): Default to nil.
4637         (ispell-command-loop): Use 'word-list' when using lookup-words.
4638         (lookup-words): Use ispell-complete-word-dict or
4639         ispell-alternate-dictionary.  Check for word-list availability
4640         and handle errors if needed with better messages (Bug#6539).
4641         (ispell-complete-word): Use ispell-complete-word-dict or
4642         ispell-alternate-dictionary.
4644 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
4646         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4647         builtins (BufferError, BytesWarning, WindowsError; callables
4648         bin, bytearray, bytes, format, memoryview, next, print; __package__).
4650 2010-07-07  Glenn Morris  <rgm@gnu.org>
4652         * play/zone.el (top-level): Do not require timer, tabify, or cl.
4653         (zone-shift-left): Ignore intangibility, and any errors from
4654         forward-char.
4655         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
4656         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4657         deleting, and copying text properties.
4658         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4659         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4660         to point-max is hard.
4661         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4662         (zone-fill-out-screen): Ignore intangibility.
4664 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
4666         * menu-bar.el (menu-bar-mode):
4667         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4668         if it has been set.
4670         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4671         word/line selection (Bug#6565).
4673 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
4675         * net/dbus.el (dbus-send-signal): Declare function.
4677 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
4679         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4680         (dbus-register-property): New optional argument EMITS-SIGNAL.
4681         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
4683 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
4685         * mouse.el (mouse-drag-overlay): Variable deleted.
4686         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
4687         (mouse--remap-link-click-p): New function.
4688         (mouse-drag-track): Handle dragging by using temporary Transient
4689         Mark mode, instead of a special overlay.
4690         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
4691         mouse-show-mark.
4693         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
4694         deleted.
4696 2010-07-02  Juri Linkov  <juri@jurta.org>
4698         * autoinsert.el (auto-insert-alist): Fix readability
4699         by using dotted pair notation for lambda.
4701 2010-07-02  Juri Linkov  <juri@jurta.org>
4703         * faces.el (read-face-name): Rename arg `string-describing-default'
4704         to `default'.  Doc fix.  Display the default value in quotes
4705         in the prompt.  With empty input, return the `default' arg,
4706         unless the default value is a string (in which case return nil).
4707         (describe-face): Replace the string `default' arg of `read-face-name'
4708         with the symbol `default'.
4710 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
4712         * emulation/viper-cmd.el (viper-delete-backward-char)
4713         (viper-del-backward-char-in-insert)
4714         (viper-del-backward-char-in-replace, viper-change)
4715         (viper-backward-indent): Replace delete-backward-char with
4716         delete-char (Bug#6552).
4718 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
4720         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
4722 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4724         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
4725         argument passed to frame-creation-function (Bug#5378).
4727         * faces.el (x-handle-named-frame-geometry)
4728         (x-handle-reverse-video, x-create-frame-with-faces)
4729         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
4730         separately consult default-frame-alist.  It is now passed as the
4731         PARAMETER argument.
4733 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
4735         * startup.el (command-line): Don't call tool-bar-setup in a
4736         tty-only build.
4738 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4740         * ruler-mode.el (ruler--save-header-line-format): New fun.
4741         (ruler-mode): Use it as a setter function, so as not to overwrite
4742         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
4744 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
4746         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
4747         (vc-root-diff, vc-print-root-log, vc-log-incoming)
4748         (vc-log-outgoing): Use it.
4749         (vc-diff-internal): Set diff-vc-backend.
4751         * vc/diff-mode.el (diff-vc-backend): New var.
4753 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
4755         * dynamic-setting.el (font-setting-change-default-font): Remove
4756         call to message.
4758 2010-06-28  Kenichi Handa  <handa@m17n.org>
4760         * international/quail.el (quail-insert-kbd-layout): Fix the
4761         showing of untranslated characters.
4763 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
4765         * simple.el (delete-active-region): New option.
4766         (delete-backward-char): Implement in Lisp.
4767         (delete-forward-char): New command.
4769         * mouse.el (mouse-region-delete-keys): Deleted.
4770         (mouse-show-mark): Simplify.
4772         * bindings.el (global-map): Bind delete and DEL, the former to
4773         delete-forward-char.
4775 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
4777         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4778         (ruby-mode): Bind indent-line-function (Bug#5119).
4780 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
4782         * startup.el (command-line): Recognize "0" X resource value.
4784 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
4786         * startup.el (command-line): Use X resources to set the value of
4787         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4789         * menu-bar.el (menu-bar-mode):
4790         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4791         Set init-value to t.
4793         * frame.el (frame-notice-user-settings): Don't change
4794         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4795         vice versa (Bug#2249).
4797 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
4799         * w32-fns.el (w32-convert-standard-filename): Doc fix.
4801 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
4803         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
4804         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
4806         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
4807         default directories are expanded (Bug#6143).
4809 2010-06-24  Juri Linkov  <juri@jurta.org>
4811         * minibuffer.el (completions-format): Change default from nil to
4812         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
4814 2010-06-24  Juri Linkov  <juri@jurta.org>
4816         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
4817         buffer-locally to lambda that re-runs the vc diff command.
4818         (Bug#6447)
4820 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
4822         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
4823         echo area is in use (Bug#3412).
4825 2010-06-22  Glenn Morris  <rgm@gnu.org>
4827         * textmodes/texinfmt.el (texinfo-format-region)
4828         (texinfo-raise-lower-sections, texinfo-format-separate-node)
4829         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
4830         (texinfo-format-option, texinfo-noindent):
4831         Use line-beginning-position and line-end-position.
4833         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
4834         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
4835         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
4836         utf-8 characters.
4838 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
4840         * play/zone.el (zone-fall-through-ws): Fix next-line ->
4841         forward-line fallout.
4843 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
4845         * mouse.el (mouse-appearance-menu): Add docstring.
4847         * help.el (describe-key): Print up-event using key-description.
4849 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
4851         * net/zeroconf.el (zeroconf-resolve-service)
4852         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
4853         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
4855 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
4857         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
4859 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
4861         Avoid displaying files with a nil state in vc-dir.
4862         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
4863         cases that cause insertion.
4864         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
4865         with a nil state.
4867 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4869         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
4871 2010-06-29  Leo  <sdl.web@gmail.com>
4873         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
4875 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
4877         * generic-x.el (bat-generic-mode): Fix regexp for command line
4878         switches (Bug#5719).
4880 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
4882         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
4883         of nconc to avoid pure storage error (Bug#6239).
4885 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
4887         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
4888         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
4889         bindings of bookmark-automatically-show-annotations (Bug#6515).
4891 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
4893         * arc-mode.el (archive-zip-extract): Don't quote the file name on
4894         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
4896 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
4898         * comint.el (make-comint, make-comint-in-buffer): Mention return
4899         value in the docstrings.  (Bug#6498)
4901 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
4903         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
4904         since it is not present when using some non-default switches.
4906 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
4908         * simple.el (compose-mail): Fix doc string to refer to
4909         `compose-mail-user-agent-warnings', instead of to the
4910         nonexistent `compose-mail-check-user-agent'.
4912 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
4914         Fix an indentation bug:
4916         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
4917         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
4918         of existing values.
4920         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
4921         (c-clear->-pair-props-if-match-before): now return t when they've
4922         cleared properties, nil otherwise.
4923         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
4924         by taking account of the existing value.
4926         * progmodes/cc-defs.el
4927         (c-clear-char-property-with-value-function): Fix this to clear the
4928         property rather than overwriting it with nil.
4930 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
4932         * emacs-lisp/package.el (package-print-package): Add link to
4933         package description via describe-package.
4934         (describe-package-1): List package requirements.  Add button to
4935         perform installation.
4936         (package-menu-describe-package): New command.
4938         * help-mode.el (help-package): New button type.
4940 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
4942         * emacs-lisp/package.el: Move package-list-packages binding to
4943         menu-bar.el.
4944         (describe-package, describe-package-1, package--dir): New funs.
4945         (package-activate-1): Use package--dir.
4947         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
4949         * help-mode.el (help-package-def): New button type.
4951         * menu-bar.el: Move package-list-packages binding here from
4952         package.el.
4954 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
4956         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
4958 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4960         * emacs-lisp/edebug.el (edebug-read-list):
4961         Phase out old-style backquotes.
4963 2010-06-17  Juri Linkov  <juri@jurta.org>
4965         * help-mode.el (help-mode): Set buffer-local variable
4966         revert-buffer-function to help-mode-revert-buffer.
4967         (help-mode-revert-buffer): New function.
4969         * info.el (Info-revert-find-node): Check for major-mode Info-mode
4970         before popping to "*info*" (like in other Info functions).
4971         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
4972         old-history-forward.  Pop to old-buffer-name or "*info*" to
4973         recreate the killed buffer.  Set Info-history-forward from
4974         old-history-forward.
4975         (Info-breadcrumbs-depth): Add :group and :version.
4977 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
4979         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
4981 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
4983         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
4984         for languages like Portuguese with pt_{BR,PT} and no plain pt.
4986 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
4988         * emacs-lisp/package.el (package-menu-mode-map):
4989         Move initialization into declaration.
4991         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
4993 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
4995         * emacs-lisp/package.el (package-archive-base): Point to
4996         elpa.gnu.org.
4997         (package-enable, package-load-list): New defcustoms.
4998         (package-user-dir, package-directory-list): Turn into defcustoms.
4999         Don't include package-user-dir in package-directory-list.
5000         (package--builtins-base): Don't include Emacs as a "package".
5001         (package-subdirectory-regexp): New var.
5002         (package-load-all-descriptors, package-compute-transaction)
5003         (package-download-transaction): Obey package-load-list.
5004         (package-activate-1): Rename from package-do-activate.
5005         (package-list-packages-internal): Check package-load-list.
5006         (package-load-descriptor, package-generate-autoloads)
5007         (package-unpack, package-unpack-single)
5008         (package--read-archive-file, package-delete): Use
5009         expand-file-name.
5011         * emacs-lisp/package-x.el: New file.  Package uploading
5012         functionality split out from package.el.
5014         * startup.el (command-line): Load packages after reading init file.
5016 2010-06-17  Tom Tromey  <tromey@redhat.com>
5018         * emacs-lisp/package.el: New file.
5020 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5022         Fix vc-annotate for renamed files when using Git.
5023         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5024         ls-files.  Doe not pass the object as a file name to cat-file, it
5025         is not a file name.
5026         (vc-git-annotate-command): Pass the file name using -- to avoid
5027         ambiguity with the revision.
5028         (vc-git-previous-revision): Pass a relative file name.
5030 2010-06-22  Glenn Morris  <rgm@gnu.org>
5032         * progmodes/js.el (js-mode-map): Use standard capitalization and
5033         ellipses for menu entries.
5035         * wid-edit.el (widget-complete): Doc fix.
5037 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
5039         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5041 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5043         Fix annotating other revisions for renamed files in vc-annotate.
5044         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5045         VC backend.  Use it when non-nil.
5046         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5047         (Bug#6487)
5049         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5050         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5051         Do not pass the file name to the 'previous-revision call when we
5052         don't want a file diff.  (Bug#6489)
5054 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5056         Fix finding revisions for renamed files in vc-annotate.
5057         * vc/vc.el (vc-find-revision): Add an optional argument for
5058         the VC backend.  Use it when non-nil.
5059         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5060         backend to vc-find-revision.  (Bug#6487)
5062 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5064         Fix reading file names in Git annotate buffers.
5065         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5066         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
5068 2010-06-20  Alan Mackenzie  <acm@muc.de>
5070         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5071         in file local variables, set it first.
5073 2010-06-19  Glenn Morris  <rgm@gnu.org>
5075         * descr-text.el (describe-char-unicode-data): Insert separating
5076         space when needed.  (Bug#6422)
5078         * progmodes/idlwave.el (idlwave-action-and-binding):
5079         Fix typo in 2009-12-03 change.  (Bug#6450)
5081 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5083         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5084         handling for `lambda' (misunderstanding).
5086 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
5088         * calc/calc-poly.el (math-accum-factors): Make sure that
5089         constants aren't distributed after they are factored out.
5091 2010-06-16  Juri Linkov  <juri@jurta.org>
5093         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5094         `list-colors-print'.  (Bug#6332)
5096         * subr.el (read-quoted-char): Fix up last change (bug#6290).
5098 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5100         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5101         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
5103         * font-lock.el (font-lock-major-mode): Rename from
5104         font-lock-mode-major-mode to distinguish it from
5105         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5106         (font-lock-set-defaults):
5107         * font-core.el (font-lock-default-function): Adjust users.
5108         (font-lock-mode): Don't set it at all.
5110 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5112         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5114 2010-06-16  Glenn Morris  <rgm@gnu.org>
5116         * calendar/appt.el (appt-time-msg-list): Doc fix.
5117         (appt-check): Let-bind appt-warn-time.
5118         (appt-add): Make the 3rd argument optional.
5119         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
5120         Only add WARNTIME to the output list if non-nil.
5122 2010-06-16  Ivan Kanis  <apple@kanis.eu>
5124         * calendar/appt.el (appt-check): Let the 3rd element of
5125         appt-time-msg-list specify the warning time.
5126         (appt-add): Add new argument with the warning time.  (Bug#5176)
5128 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5130         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5131         older than version 1.6.  (Bug#6361)
5133 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
5135         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5136         used by cl-do-arglist.  (Bug#6408)
5138 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
5140         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5141         portuguese casechars/not-casechars for missing 'çÇ'.
5142         Suggested by Rolando Pereira (bug#6434).
5144 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
5146         * facemenu.el (list-colors-sort): Doc fix.
5148 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5150         * progmodes/sql.el (sql-connect-mysql): Fix typo.
5152 2010-06-14  Juri Linkov  <juri@jurta.org>
5154         Add sort option `list-colors-sort'.  (Bug#6332)
5155         * facemenu.el (color-rgb-to-hsv): New function.
5156         (list-colors-sort): New defcustom.
5157         (list-colors-sort-key): New function.
5158         (list-colors-display): Doc fix.  Sort list according to the option
5159         `list-colors-sort'.
5160         (list-colors-print): Add HSV values to `help-echo' property of
5161         RGB strings.
5163 2010-06-14  Juri Linkov  <juri@jurta.org>
5165         * compare-w.el: Move to the "vc" subdirectory.
5167 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5169         * image-mode.el (image-mode-map): Remap left-char and right-char.
5171         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5173 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
5175         * term/common-win.el (x-colors): Add all the color names defined
5176         in rgb.txt (Bug#6332).
5178         * facemenu.el (list-colors-print): Don't print extra names if it
5179         will overflow the window width.
5181         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5182         change (Bug#6343).
5184 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
5186         * files.el (make-directory): Doc fix (bug#6396).
5188 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
5190         * net/tramp.el (tramp-remote-process-environment): Protect version
5191         string by apostroph.
5192         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5193         XEmacs.
5194         (tramp-file-name-for-operation): Add `call-process-region'.
5195         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5197         * net/tramp-compat.el (top): Do not autoload
5198         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5199         only when `start-file-process' is not bound.
5200         (tramp-advice-file-expand-wildcards): Do not use
5201         `tramp-handle-file-remote-p'.
5202         (tramp-compat-make-temp-file): Handle the case, that
5203         `make-temp-file' has no third argument EXTENSION.
5205 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
5207         * makefile.w32-in (WINS_BASIC): Include new directory vc.
5209         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5211 2010-06-11  Juri Linkov  <juri@jurta.org>
5213         * finder.el (finder-known-keywords): Add keyword "vc"
5214         for version control.
5216         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5217         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5218         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5219         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5221 2010-06-11  Juri Linkov  <juri@jurta.org>
5223         Move version control related files to the "vc" subdirectory.
5224         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5225         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5226         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5227         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5228         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5229         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5230         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5231         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5232         Move files to the "vc" subdirectory.
5234 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
5236         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5237         (Bug#6367).
5239 2010-06-11  Stephen Eglen  <stephen@gnu.org>
5241         * shell.el: Bind `shell-resync-dirs' to M-RET.
5243 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
5245         * notifications.el: Move file from lisp/net, because it is
5246         supposed to talk locally to the user.
5248 2010-06-10  Julien Danjou  <julien@danjou.info>
5250         * net/notifications.el (notifications-on-action-signal)
5251         (notifications-on-closed-signal): Pass notification id as first
5252         argument to the callback functions.  Add docstrings.
5253         (notifications-notify): Fix docstring.
5255 2010-06-10  Glenn Morris  <rgm@gnu.org>
5257         * emacs-lisp/authors.el (authors-ignored-files)
5258         (authors-valid-file-names): Add some files.
5260 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5262         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5263         merge conflict, giving preference to the emacs-23 version of the code.
5265 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5267         * emacs-lisp/advice.el (ad-compile-function):
5268         Define warning-suppress-types before we let-bind it (bug#6275).
5270         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5271         declare it, make it buffer-local and permanent-local (bug#6324).
5272         (vc-resynch-window): Adjust name.
5273         * vc-hooks.el (vc-find-file-hook): Adjust name.
5275 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
5277         * net/notifications.el (notifications-notify): Fix docstring.
5279 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5281         Update to Unicode 6.0.0 beta.
5282         * international/charprop.el: Update copyright.
5283         * international/mule-cmds.el (ucs-names): Update character ranges.
5284         * international/uni-bidi.el:
5285         * international/uni-category.el:
5286         * international/uni-combining.el:
5287         * international/uni-comment.el:
5288         * international/uni-decimal.el:
5289         * international/uni-decomposition.el:
5290         * international/uni-digit.el:
5291         * international/uni-lowercase.el:
5292         * international/uni-mirrored.el:
5293         * international/uni-name.el:
5294         * international/uni-numeric.el:
5295         * international/uni-old-name.el:
5296         * international/uni-titlecase.el:
5297         * international/uni-uppercase.el: Regenerate.
5299 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5301         * emacs-lisp/smie.el (comment-string-strip): Declare function.
5302         (smie-precs-precedence-table): Fix typo in docstring.
5304         * vc-mtn.el (log-edit-extract-headers): Declare function.
5306         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5308         * net/notifications.el (dbus-register-signal): Declare function.
5309         (notifications-notify): Fix typos and reflow docstring.
5311 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5313         Improve VC create/retrieve tag/branch.
5314         * vc.el (vc-create-tag): Do not read the directory name for VCs
5315         with repository revision granularity.  Adjust the tag/branch
5316         prompt.  Reset VC properties.
5317         (vc-retrieve-tag): Do not read the directory name for VCs
5318         with repository revision granularity.  Reset VC properties.
5320 2010-06-09  Julien Danjou  <julien@danjou.info>
5322         * net/notifications.el: New file.
5324 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5326         Add optional support for resetting VC properties.
5327         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5328         call vc-file-clearprops when true.
5329         (vc-resynch-buffer): Add new optional argument, pass it down.
5330         (vc-resynch-buffers-in-directory): Likewise.
5332         Improve support for special markup in the VC commit message.
5333         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5334         * vc-hg.el (vc-hg-checkin): Add support for Date:.
5335         * vc-git.el (vc-git-checkin):
5336         * vc-bzr.el (vc-bzr-checkin): Likewise.
5338 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5340         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5341         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5343 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
5345         * iimage.el: Remove images as soon as the underlying text is modified.
5346         (iimage-modification-hook): New function.
5347         (iimage-mode-buffer): Use it.
5349 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5351         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5352         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
5353         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
5354         (smie-indent-keyword): Add handling of open-paren keywords.
5355         (smie-indent-comment-continue): Don't assume comment-continue.
5357 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
5359         * window.el (pop-to-buffer): Remove the conditional that
5360         compares new-window and old-window, so it will reselect
5361         the selected window unconditionally.
5362         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5364 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5366         * emacs-lisp/smie.el (smie-indent-offset-after)
5367         (smie-indent-forward-token, smie-indent-backward-token): New functions.
5368         (smie-indent-after-keyword): Use them.
5369         (smie-indent-fixindent): Only applies to the indentation of the BOL.
5370         (smie-indent-keyword): Tweak the black magic.
5371         (smie-indent-comment-continue): Strip comment-continue before use.
5372         (smie-indent-functions): Indent comments before keywords.
5374 2010-06-06  Juri Linkov  <juri@jurta.org>
5376         * isearch.el (isearch-lazy-highlight-search): Fix looping
5377         by checking for empty match.  This syncs this loop with the
5378         similar loop in `isearch-search'.  (Bug#6362)
5380 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
5382         * net/dbus.el (dbus-register-method): Declare function.
5383         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5384         (dbus-introspect): Doc fix.
5385         (dbus-event-bus-name, dbus-introspect-get-interface)
5386         (dbus-introspect-get-argument): Reflow docstrings.
5388 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
5390         vc-log-incoming/vc-log-outgoing fixes for Git.
5391         * vc-git.el (vc-git-log-view-mode): Fix font lock for
5392         incoming/outgoing logs.
5393         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5394         instead of vc-git-compute-remote.
5395         (vc-git-compute-remote): Remove.
5397 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
5399         * term/common-win.el (x-colors): Add "dark green" and "dark
5400         turquoise" (Bug#6332).
5402 2010-06-04  Juri Linkov  <juri@jurta.org>
5404         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5405         Instead of setting `replace' to t and replacing the same string
5406         with itself, don't do certain actions when
5407         kill-do-not-save-duplicates is non-nil and string is equal to car
5408         of kill-ring: don't call menu-bar-update-yank-menu, don't push
5409         interprogram-paste strings to kill-ring, and don't push the input
5410         argument `string' to kill-ring.
5411         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5413 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5415         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5417 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
5419         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5420         (tramp-gvfs-handler-mounted-unmounted)
5421         (tramp-gvfs-connection-mounted-p): Handle default-location.
5423         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5424         move files to trash.
5426 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5428         * international/mule-cmds.el (nonascii-insert-offset)
5429         (nonascii-translation-table): Add obsolescence information.
5431         * international/mule.el (make-translation-table-from-vector): Doc fix.
5433 2010-06-03  Glenn Morris  <rgm@gnu.org>
5435         * desktop.el (desktop-clear-preserve-buffers):
5436         Add "*Warnings*" buffer.  (Bug#6336)
5438 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
5440         vc-log-incoming/vc-log-outgoing improvements for Git.
5441         * vc-git.el (vc-git-log-outgoing): Use the same format as the
5442         short log.
5443         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
5445         Add bindings for vc-log-incoming and vc-log-outgoing.
5446         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5447         and vc-log-outgoing.
5448         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5449         and vc-log-outgoing.
5451 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
5453         * net/rcirc.el (rcirc-sort-nicknames): Remove.
5454         (rcirc-handler-366): Always sort nicknames.
5456 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
5458         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5460 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
5462         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5464 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5466         * net/rcirc.el (rcirc-sort-nicknames): Change default.
5467         (rcirc-sort-nicknames-join): Avoid setq.
5469 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5471         * net/rcirc.el (rcirc-sort-nicknames): New custom.
5472         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5473         (rcirc-handler-366): Use them.
5475 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5477         Split smie-indent-calculate into more manageable chunks.
5478         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5479         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5480         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5481         (smie-indent-exps): Extract from smie-indent-calculate.
5482         (smie-indent-functions): New var.
5483         (smie-indent-functions): Use them.
5485 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5487         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5488         (smie-indent-calculate): Simplify and cleanup.
5490 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
5492         * net/tramp-gvfs.el (top): Require url-util.
5493         (tramp-gvfs-mount-point): Remove.
5494         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5495         New defuns.
5496         (with-tramp-dbus-call-method): Format trace message.
5497         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5498         Implement backup call, when operation on local files fails.
5499         Use progress reporter.  Flush properties of changed files.
5500         (tramp-gvfs-handle-make-directory): Make more traces.
5501         (tramp-gvfs-url-file-name): Hexify file name in url.
5502         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5503         into account for the resulting file name.
5504         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5505         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
5506         (tramp-gvfs-handler-mounted-unmounted)
5507         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5508         attribute "default_location".  Set "prefix" property.
5509         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5510         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5511         exists.  Raise an error, if not (due to a corresponding answer
5512         "no" in interactive questions, for example).
5514 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
5516         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5518 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
5520         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5521         right-*.  (Bug#6265)
5523 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
5525         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5526         * vc-git.el (vc-git-compute-remote): New function.
5527         (vc-git-log-outgoing): Use it instead of hard coding a value.
5528         (vc-git-log-incoming): New function.
5530         Improve state updating for VC tag commands.
5531         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5532         to update the state of all buffers in the directory.
5534         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5536 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5538         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5539         `file-directory-p' to the filename part rather than to the whole text.
5541 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5543         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5545 2010-05-31  Drew Adams  <drew.adams@oracle.com>
5547         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5549 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
5551         * subr.el (momentary-string-display): Just use read-event to read
5552         the exit event (Bug#6238).
5554 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
5556         * international/mule.el (define-coding-system): Doc fix (bug#6313).
5558 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
5560         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
5561         Suggested by Eli Zaretskii <eliz@gnu.org>.
5563 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5565         * minibuffer.el (completion-file-name-table): Don't return a boundary
5566         past the end of `string' (bug#6299).
5567         (completion--file-name-table): Delegate to completion-file-name-table
5568         for the `boundaries' case.
5570 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
5572         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
5573         movement commands.
5575         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
5576         `path-separator', but maintain compatibility with Emacs 20.2.
5578 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
5580         * server.el (server-process-filter): Receive parent-id argument
5581         from emacsclient.
5582         (server-create-window-system-frame): New arg.  Pass parent-id as
5583         frame parameter.
5585 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
5587         Bidi-sensitive word movement with arrow keys.
5588         * subr.el (right-arrow-command, left-arrow-command): Move to
5589         bindings.el.
5591         * bindings.el (right-char, left-char): Move from subr.el and
5592         rename from right-arrow-command and left-arrow-command.
5593         (right-word, left-word): New functions.
5594         (global-map) <right>: Bind to right-char.
5595         (global-map) <left>: Bind to left-char.
5596         (global-map) <C-right>: Bind to right-word.
5597         (global-map) <C-left>: Bind to left-word.
5599         * ls-lisp.el (ls-lisp-classify-file): New function.
5600         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
5601         (ls-lisp-classify): Call ls-lisp-classify-file.
5602         (insert-directory): Remove blanks from switches.
5604 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
5606         * ansi-color.el: Delete unused escape sequences (Bug#6085).
5607         (ansi-color-drop-regexp): New constant.
5608         (ansi-color-apply, ansi-color-filter-region)
5609         (ansi-color-apply-on-region): Delete unrecognized control sequences.
5610         (ansi-color-apply): Build string list before calling concat.
5612 2010-05-28  Juri Linkov  <juri@jurta.org>
5614         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5615         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
5616         (Bug#5270)
5618 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
5620         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
5621         to ignored backtrace functions.
5622         (with-progress-reporter): Expand docstring.
5623         (tramp-handle-delete-file): Implement TRASH argument.
5624         (tramp-get-remote-trash): New defun.
5626 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
5628         * net/tramp-compat.el (tramp-compat-delete-file): Use
5629         `symbol-value' for backward compatibility.
5631         * net/tramp.el (tramp-handle-make-symbolic-link)
5632         (tramp-handle-load)
5633         (tramp-do-copy-or-rename-file-via-buffer)
5634         (tramp-do-copy-or-rename-file-directly)
5635         (tramp-do-copy-or-rename-file-out-of-band)
5636         (tramp-handle-process-file, tramp-handle-call-process-region)
5637         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5638         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5639         (tramp-delete-temp-file-function): Use `delete-file' instead
5640         of `tramp-compat-delete-file'.
5642         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5643         (tramp-fish-handle-make-symbolic-link)
5644         (tramp-fish-handle-process-file): Use `delete-file' instead
5645         of `tramp-compat-delete-file'.
5647         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5648         `delete-file' instead of `tramp-compat-delete-file'.
5650         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5651         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5652         `tramp-compat-delete-file'.
5654         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5655         `delete-file' instead of `tramp-compat-delete-file'.
5657         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5658         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5659         (tramp-smb-handle-write-region): Use `delete-file' instead of
5660         `tramp-compat-delete-file'.
5661         (tramp-smb-handle-delete-directory): Use 'trash as arg.
5663 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5665         * dired.el (dired-delete-file): New arg TRASH.
5666         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
5667         (dired-do-flagged-delete, dired-do-delete): Use trash.
5669         * speedbar.el (speedbar-item-delete): Allow trashing.
5671         * files.el (delete-directory): New arg TRASH.
5673         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5674         (ange-ftp-rename-remote-to-remote)
5675         (ange-ftp-rename-local-to-remote)
5676         (ange-ftp-rename-remote-to-local, ange-ftp-load)
5677         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5678         `delete-file'.
5679         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5680         allow trashing.
5682         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5683         handle new TRASH arg of `delete-file'.
5685         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
5686         (tramp-handle-make-symbolic-link, tramp-handle-load)
5687         (tramp-do-copy-or-rename-file-via-buffer)
5688         (tramp-do-copy-or-rename-file-directly)
5689         (tramp-do-copy-or-rename-file-out-of-band)
5690         (tramp-handle-process-file, tramp-handle-call-process-region)
5691         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5692         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5693         (tramp-delete-temp-file-function): Use null TRASH arg in
5694         tramp-compat-delete-file call.
5696         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5697         (tramp-fish-handle-delete-file)
5698         (tramp-fish-handle-make-symbolic-link)
5699         (tramp-fish-handle-process-file): Use null TRASH arg in
5700         `tramp-compat-delete-file' call.
5702         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
5703         arg in `tramp-compat-delete-file' call.
5705         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5706         (tramp-gvfs-handle-write-region): Use null TRASH arg in
5707         `tramp-compat-delete-file' call.
5709         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
5710         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
5711         `tramp-compat-delete-file' call.
5713         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5714         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5715         (tramp-smb-handle-write-region): Use null TRASH arg in
5716         tramp-compat-delete-file call.
5717         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
5718         (tramp-smb-handle-delete-file): Rename arg.
5720         * diff.el (diff-sentinel):
5721         * epg.el (epg--make-temp-file, epg-decrypt-string)
5722         (epg-verify-string, epg-sign-string, epg-encrypt-string):
5723         * jka-compr.el (jka-compr-partial-uncompress)
5724         (jka-compr-call-process, jka-compr-write-region):
5725         * server.el (server-sentinel): Remove optional arg from
5726         delete-file, reverting 2010-05-03 change.
5728 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5730         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
5731         font-lock-constant-face, not obsolete font-lock-reference-face.
5733 2010-05-27  Kenichi Handa  <handa@m17n.org>
5735         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
5736         element of GSTRING is nil.
5738 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5740         * emacs-lisp/smie.el (smie-forward-token-function)
5741         (smie-backward-token-function): New vars.
5742         (smie-backward-sexp, smie-forward-sexp)
5743         (smie-indent-hanging-p, smie-indent-calculate): Use them.
5744         (smie-default-backward-token): Rename from smie-backward-token and
5745         skip comments.
5746         (smie-default-forward-token): Rename from smie-forward-token and
5747         skip comments.
5748         (smie-next-sexp): Handle nil results from next-token.
5749         (smie-indent-calculate): Add a new case for special `fixindent' comments.
5751 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5753         * progmodes/verilog-mode.el (verilog-type-font-keywords):
5754         Use font-lock-constant-face, not obsolete font-lock-reference-face.
5756 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
5758         * htmlfontify.el (hfy-face-resolve-face): New function.
5759         (hfy-face-to-style): Use it (Bug#6279).
5761 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5763         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
5764         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
5766 2010-05-26  Glenn Morris  <rgm@gnu.org>
5768         * emulation/edt.el (edt-load-keys): Use locate-library.
5770 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
5772         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
5773         (log-edit-changelog-entries): Doc fix.
5774         (log-edit-changelog-insert-entries): Args changed.
5775         Rename relative filenames in ChangeLog entries.  Delete tabs.
5776         (log-edit-insert-changelog-entries): Reorganize return value of
5777         `log-edit-changelog-entries' to pass filenames to
5778         log-edit-changelog-insert-entries.
5780 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5782         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
5783         `image-dired-dired-insert-marked-thumbs' to
5784         `image-dired-dired-toggle-marked-thumbs'.
5786         * image-dired.el: Require cl when compiling.
5787         (image-dired-dired-toggle-marked-thumbs): Rename from
5788         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
5789         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
5790         to 'no-dir.  Skip files whose names don't match
5791         `image-file-name-regexp'.  When file has a thumbnail overlay,
5792         delete it.  (Bug#5270)
5794 2010-05-25  Juri Linkov  <juri@jurta.org>
5796         * image-mode.el (image-mode): Add image-after-revert-hook to
5797         after-revert-hook.
5798         (image-after-revert-hook): New function.  (Bug#5669)
5800 2010-05-25  Juri Linkov  <juri@jurta.org>
5802         * image.el (image-animated-p): When delay between animated images
5803         is 0, set it to 10 (0.1 sec).  (Bug#6258)
5805 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
5807         * net/tramp.el (tramp-handle-insert-directory): Don't use
5808         `forward-word', its default syntax could be changed.
5810 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
5812         * net/tramp.el (tramp-progress-reporter-update): New defun.
5813         (with-progress-reporter): Use it.
5814         (tramp-process-actions):
5815         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
5816         current message, in order to let progress reporter continue
5817         afterwards.  (Bug#6257)
5819 2010-05-25  Glenn Morris  <rgm@gnu.org>
5821         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
5822         Add :version.
5824 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
5826         * net/rcirc.el (rcirc-default-user-name): Change to "user".
5827         (rcirc-default-full-name): Change to "unknown".
5828         (rcirc-user-name-history): Add variable.
5830 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
5831             Jonathan Rockway  <jon@jrock.us>
5833         * net/rcirc.el (rcirc-server-alist): Add :pass.
5834         (rcirc): When prompting for connection parameters, also prompt for
5835         username and password.
5836         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
5837         value to server when connecting.
5839 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5841         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
5842         (smie-merge-prec2s): Pass the tables as separate args.
5843         (smie-bnf-precedence-table): Adjust call accordingly.
5844         (smie-prec2-levels): Set levels at the end.
5846         Replace Lisp calls to delete-backward-char by delete-char.
5847         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
5848         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
5849         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
5850         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
5851         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
5852         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
5853         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
5854         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
5855         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
5856         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
5857         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
5858         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
5859         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
5860         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
5861         delete-backward-char by calls to delete-char.
5863 2010-05-25  Kenichi Handa  <handa@m17n.org>
5865         * language/hebrew.el (hebrew-shape-gstring): New function.
5866         Register it in composition-function-table for all Hebrew combining
5867         characters.
5869 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5871         * epa.el (epa--select-keys): Don't explicitly delete the window since
5872         that can fail (e.g. sole window in frame).  Use dedication instead.
5874 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
5876         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
5878 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
5880         * image.el (image-refresh): Define as an alias for image-flush.
5882         * image-mode.el (image-toggle-display-image): Caller changed.
5884 2010-05-21  Juri Linkov  <juri@jurta.org>
5886         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
5887         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
5888         whitespace, call wildcard-to-regexp on substrings and concat them
5889         with "\\|".  (Bug#6114)
5891 2010-05-21  Alan Mackenzie  <acm@muc.de>
5893         * progmodes/cc-engine.el (c-parse-state-get-strategy):
5894         Replace parameter `here' with `here-' and `here-plus', which sandwich
5895         any pertinent CPP construct.
5896         (c-remove-stale-state-cache-backwards): Fix a bug which happens
5897         when doing (c-parse-state) in a CPP construct: Exclude any "new"
5898         CPP construct from taking part in the scanning.
5900 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
5902         * net/tramp.el (tramp-do-copy-or-rename-file)
5903         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
5904         Tune `with-progress-reporter' messages.
5905         (tramp-handle-vc-registered):
5906         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
5907         (tramp-fish-handle-insert-file-contents)
5908         (tramp-fish-maybe-open-connection):
5909         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5910         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
5911         (tramp-imap-handle-insert-file-contents)
5912         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5914 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
5916         * add-log.el (change-log-font-lock-keywords):
5917         Highlight all authors in multi-author entries.
5919         * smerge-mode.el (smerge-refine-ignore-whitespace)
5920         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
5921         Fix typos in docstrings.
5922         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
5924 2010-05-21  Glenn Morris  <rgm@gnu.org>
5926         * progmodes/fortran.el (fortran-mode):
5927         * progmodes/f90.el (f90-mode): Derive from prog-mode.
5929         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
5930         having a relative path in src/Makefile.in.
5932 2010-05-20  Kevin Ryde  <user42@zip.com.au>
5934         * help-mode.el (help-make-xrefs): For Info node links turn
5935         newlines into spaces.  Link node names with newlines are matched
5936         by help-xref-info-regexp and buttonized, this change ensures they
5937         can be followed successfully with RET.  (Bug#6206)
5939 2010-05-20  Juri Linkov  <juri@jurta.org>
5941         * locate.el (locate): Use pop-to-buffer instead of
5942         switch-to-buffer-other-window.  (Bug#6204)
5944 2010-05-20  Juri Linkov  <juri@jurta.org>
5946         * replace.el (replace-highlight): Fix lazy-highlighting
5947         for `M-s w str M-% str RET'.
5949 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
5951         * isearch.el (isearch-yank-word-or-char): Pull next subword
5952         when `subword-mode' is activated.  (Bug#6220)
5954 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
5956         * isearch.el (isearch-update-post-hook): New hook.
5957         (isearch-update): Use the new hook.  (Bug#6225)
5959 2010-05-20  Juri Linkov  <juri@jurta.org>
5961         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
5962         [f1], [help], and (char-to-string help-char) instead of "\C-h".
5963         (Bug#6222)
5965 2010-05-20  Juri Linkov  <juri@jurta.org>
5967         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
5968         (Bug#6223)
5970 2010-05-20  Juri Linkov  <juri@jurta.org>
5972         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
5973         FILE-NAME to read from the minibuffer when called interactively
5974         with prefix argument instead of using buffer-file-name.
5975         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
5977         * dired.el: Update autoloads.
5979 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
5981         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
5982         nxml-finish-element, for consistency with SGML mode.
5984         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
5985         octave-close-block.
5987 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
5989         * composite.el: Require cl when compiling.
5990         (reference-point-alist, compose-gstring-for-graphic)
5991         (compose-gstring-for-terminal): Fix typos in docstrings.
5993 2010-05-19  Juri Linkov  <juri@jurta.org>
5995         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
5996         set-window-parameter.
5998 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6000         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6001         where appropriate.
6002         (tramp-maybe-open-connection): Use it.
6004 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
6006         * simple.el (move-end-of-line): Make sure we are at line beginning
6007         before backing up to end of previous line.
6009 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6011         * password-cache.el (password-cache-remove): Fix docstring.
6013         * net/secrets.el: Autoload the widget functions.
6014         (secrets-search-items, secrets-create-item)
6015         (secrets-get-attributes, secrets-expand-item): Attributes will be
6016         stored on the password database without leading ":", as all other
6017         clients do as well.
6018         (secrets-mode): Fix docstring.
6019         (secrets-show-secrets): Provide it as autoloaded command only when
6020         D-Bus support is available.  Check existence of Secret Service API.
6022 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6024         * indent.el (indent-region): Deactivate region (bug#6200).
6026 2010-05-19  Glenn Morris  <rgm@gnu.org>
6028         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
6030 2010-05-19  Kenichi Handa  <handa@m17n.org>
6032         * composite.el: Register compose-gstring-for-graphic in
6033         composition-function-table only for combining characters (Mn, Mc, Me).
6035 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
6037         * calc/calc-trail.el (calc-trail-isearch-forward)
6038         (calc-trail-isearch-backward): Ensure that the new window
6039         point is set correctly.
6041 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6043         * subr.el (read-quoted-char): Resolve modifiers after key
6044         remapping (bug#6212).
6046 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
6048         Add visualization code for secrets.
6049         * net/secrets.el (secrets-mode): New major mode.
6050         (secrets-show-secrets, secrets-show-collections)
6051         (secrets-expand-collection, secrets-expand-item)
6052         (secrets-tree-widget-after-toggle-function)
6053         (secrets-tree-widget-show-password): New defuns.
6055 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6057         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6058         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6059         handled in smie-next-sexp.
6060         (smie-indent-calculate): Provide a starting indentation (so the
6061         recursion is well-founded ;-).
6063         Fix handling of non-associative equal levels.
6064         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6065         when it's not needed.
6066         (smie-op-left, smie-op-right): New functions.
6067         (smie-next-sexp): New function, extracted from smie-backward-sexp.
6068         Better handle equal levels to distinguish the associative case from
6069         the "multi-keyword construct" case.
6070         (smie-backward-sexp, smie-forward-sexp): Use it.
6072 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
6074         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6076         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6077         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6079 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6081         Provide a simple generic indentation engine and use it for Prolog.
6082         * emacs-lisp/smie.el: New file.
6083         * progmodes/prolog.el (prolog-smie-op-levels)
6084         (prolog-smie-indent-rules): New var.
6085         (prolog-mode-variables): Use them to configure SMIE.
6086         (prolog-indent-line, prolog-indent-level): Remove.
6088 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
6090         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6091         order before computing the averages.
6093 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
6095         * calc/calc-vec.el (calc-histogram):
6096         (calcFunc-histogram): Allow vectors as inputs.
6097         (math-vector-avg): New function.
6099         * calc/calc-ext.el (math-group-float): Have the number of digits
6100         being grouped depend on the radix (Bug#6189).
6102 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
6104         * version.el (emacs-copyright, emacs-version): Don't define here,
6105         now that emacs.c defines it.
6107 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
6109         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6110         "Describe Language Environment" menu item.
6112         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6114         Bidi-sensitive movement with arrow keys.
6115         * subr.el (right-arrow-command, left-arrow-command): New functions.
6117         * bindings.el (global-map): Bind them to right and left arrow keys.
6119         Don't override standard definition of convert-standard-filename.
6120         * files.el (convert-standard-filename): Call
6121         w32-convert-standard-filename and dos-convert-standard-filename on
6122         the corresponding systems.
6124         * w32-fns.el (w32-convert-standard-filename): Rename from
6125         convert-standard-filename.  Doc fix.
6127         * dos-fns.el (dos-convert-standard-filename): Doc fix.
6128         (convert-standard-filename): Don't defalias.
6129         (register-name-alist, make-register, register-value)
6130         (set-register-value, intdos): Obsolete aliases for the
6131         corresponding dos-* functions and variables.
6132         (dos-intdos): Add a doc string.
6134 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
6136         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6137         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6138         (math-compose-tex-func):
6139         * calc/calccomp.el (math-compose-expr):
6140         * calc/calc-ext.el (math-format-flat-expr-fancy):
6141         * calc/calc-store.el (calc-read-var-name):
6142         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6144         * calc/calc.el (var-π, var-φ, var-γ): New variables.
6145         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6146         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6147         (math-standard-units): Add units.
6149 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6151         * progmodes/asm-mode.el (asm-mode):
6152         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6154         * pcomplete.el (pcomplete-completions-at-point): New function,
6155         extracted from pcomplete-std-complete.
6156         (pcomplete-std-complete): Use it.
6158 2010-05-15  Glenn Morris  <rgm@gnu.org>
6160         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6161         Remove references to CVS, RCS and Old directories.
6163 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
6165         * calc/calc-bin.el (math-format-twos-complement): Group digits when
6166         appropriate.
6168 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6170         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6171         (sh-mode-syntax-table): Give it a default value instead.
6172         (sh-header-marker): Make buffer-local.
6173         (sh-mode): Move make-local-variable to the corresponding setq.
6174         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6175         Use complete-with-action.
6177         * simple.el (prog-mode): New (abstract) major mode.
6178         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6179         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6181 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
6183         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6184         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6185         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6186         (sql-make-alternate-buffer-name, sql-placeholders-filter)
6187         (sql-escape-newlines-filter, sql-input-sender)
6188         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6190 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
6192         Add TeX open-block and close-block keybindings to SGML, and vice versa.
6194         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6195         latex-open-block and C-c / to latex-close-block.
6197         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6198         and C-c C-e to sgml-close-tag.
6200 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
6202         * net/tramp.el (with-progress-reporter): Create reporter object
6203         only when the message would be displayed.  Handle nested calls.
6204         (tramp-handle-load, tramp-handle-file-local-copy)
6205         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6206         (tramp-maybe-send-script, tramp-find-shell):
6207         Use `with-progress-reporter'.
6208         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6209         Fix message text.
6211         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6212         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6213         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6214         Use `with-progress-reporter'.
6216 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
6218         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6219         process everytime when spellchecking from the minibuffer (bug#6143).
6221 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6223         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6225         * dos-fns.el: Add "dos-" prefix for namespace control.
6226         (convert-standard-filename): Define as alias for
6227         dos-convert-standard-filename but only if applicable.
6229 2010-05-12  Alan Mackenzie  <acm@muc.de>
6231         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6232         Push the mark at the start of these functions when appropriate.
6234 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6236         * minibuffer.el (completion-cycle-threshold): New custom var.
6237         (completion--do-completion): Use it.
6238         (minibuffer-complete): Use cycling if appropriate.
6240 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
6242         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6243         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6245 2010-05-11  Juri Linkov  <juri@jurta.org>
6247         * scroll-all.el (scroll-all-check-to-scroll):
6248         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6250 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6252         * iimage.el (iimage-mode-map): Move initialization into declaration.
6253         (iimage-mode-buffer): Use with-silent-modifications.
6254         Simplify calling convention.  Adjust callers.
6255         (iimage-mode): Don't run hook redundantly.
6257         * minibuffer.el (completion-pcm--pattern->regex):
6258         Fix last change (bug#6160).
6260 2010-05-10  Juri Linkov  <juri@jurta.org>
6262         Remove nodes visited during Isearch from the Info history.
6263         * info.el (Info-isearch-initial-history)
6264         (Info-isearch-initial-history-list): New variables.
6265         (Info-isearch-start): Record initial values of
6266         Info-isearch-initial-history and Info-isearch-initial-history-list.
6267         Add Info-isearch-end to isearch-mode-end-hook.
6268         (Info-isearch-end): New function.
6270 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
6272         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6273         format string, in order to work around a bug in pdksh.
6274         Reported by Gilles Pion <gpion@lfdj.com>.
6275         (tramp-handle-verify-visited-file-modtime): Do not send a command
6276         when the connection is not established.
6277         (tramp-handle-set-file-times): Simplify the check for utc.
6279 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
6281         Fix use of `filter-buffer-substring' (rework previous change).
6282         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6283         (cua-repeat-replace-region):
6284         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6285         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6286         (cua-cut-region-to-global-mark): Use it.
6288 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
6290         * progmodes/sql.el: Version 2.1.
6291         (sql-product-alist): Redesign structure of product info.
6292         (sql-product, sql-user, sql-server, sql-database): Safe variables.
6293         (sql-port, sql-port-history): New variables.
6294         (sql-interactive-product): New variable.
6295         (sql-send-terminator): New variable.
6296         (sql-imenu-generic-expression): Add "Types" imenu entry.
6297         (sql-oracle-login-params, sql-sqlite-login-params)
6298         (sql-mysql-login-params, sql-solid-login-params)
6299         (sql-sybase-login-params, sql-informix-login-params)
6300         (sql-ingres-login-params, sql-ms-login-params)
6301         (sql-postgres-login-params, sql-interbase-login-params)
6302         (sql-db2-login-params, sql-linter-login-params)
6303         (sql-oracle-scan-on): New variables.
6304         (sql-mode-map): Add C-c C-i to start interactive mode.
6305         (sql-mode-menu): Update existing menu entries.
6306         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6307         (sql-mode-oracle-font-lock-keywords)
6308         (sql-mode-postgres-font-lock-keywords)
6309         (sql-mode-ms-font-lock-keywords)
6310         (sql-mode-sybase-font-lock-keywords)
6311         (sql-mode-informix-font-lock-keywords)
6312         (sql-mode-interbase-font-lock-keywords)
6313         (sql-mode-ingres-font-lock-keywords)
6314         (sql-mode-solid-font-lock-keywords)
6315         (sql-mode-mysql-font-lock-keywords)
6316         (sql-mode-sqlite-font-lock-keywords)
6317         (sql-mode-db2-font-lock-keywords)
6318         (sql-mode-linter-font-lock-keywords): Update initialization to
6319         reduce run-time complexity.
6320         (sql-add-product, sql-del-product): New functions.
6321         (sql-set-product-feature, sql-get-product-feature): New functions.
6322         (sql-product-font-lock): Update product API.
6323         (sql-add-product-keywords): New function.
6324         (sql-highlight-product): Update product API.
6325         (sql-help-list-products): New function.
6326         (sql-help): Dynamically lists free and non-free products.
6327         (sql-get-login): Correct bug in handling history and added
6328         prompt for port.
6329         (sql-copy-column): Copy without properties.
6330         (sqli-input-sender): Apply filters to SQLi input.
6331         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6332         Implement as a filter.
6333         (sql-escape-newlines-filter): Implement as a filter.
6334         (sql-remove-tabs-filter): New function.
6335         (sql-send-magic-terminator): New function.
6336         (sql-send-string): Implement magic terminator.
6337         (sql-send-region): Use `sql-send-string'.
6338         (sql-interactive-mode): Use product API.
6339         (sql-product-interactive): Use product API.
6340         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6341         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6342         (sql-db2, sql-linter): Use `sql-product-interactive'.
6343         (sql-connect): New function.
6344         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6345         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6346         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6347         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6348         Use `sql-connect'.
6350 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6352         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6353         New custom variable.
6354         (completion-pcm--string->pattern): Use it.
6355         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6356         Make it handle any symbol as `any'.
6357         (completion-pcm--merge-completions): Extract common suffix for the new
6358         `prefix' symbol as well.
6359         (completion-substring--all-completions): Use the new `prefix' symbol.
6361 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
6363         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6364         not bound.
6365         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6366         (tramp-compat-funcall): New defmacro.
6367         (tramp-compat-line-beginning-position)
6368         (tramp-compat-line-end-position)
6369         (tramp-compat-temporary-file-directory)
6370         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6371         (tramp-compat-copy-file, tramp-compat-copy-directory)
6372         (tramp-compat-delete-file, tramp-compat-delete-directory)
6373         (tramp-compat-number-sequence, tramp-compat-process-running-p)
6374         * net/tramp.el (top, with-progress-reporter)
6375         (tramp-rfn-eshadow-setup-minibuffer)
6376         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6377         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6378         (tramp-completion-mode-p, tramp-check-for-regexp)
6379         (tramp-open-connection-setup-interactive-shell)
6380         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6381         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6382         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6383         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6384         (tramp-reporter-dump-variable, tramp-load-report-modules)
6385         (tramp-append-tramp-buffers)
6386         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6388         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6390 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6392         * progmodes/compile.el (compilation-buffer-modtime): Rename from
6393         buffer-modtime.  Adjust users.
6395 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6397         * international/mule.el (auto-coding-alist): Only purecopy
6398         car of each item, not the whole list (Bug#6083).
6400 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6402         * progmodes/js.el (js-mode): Make paragraph variables local before
6403         calling c-setup-paragraph-variables (Bug#6071).
6405 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
6407         * composite.el (compose-region, reference-point-alist): Fix typos
6408         in the doc strings.
6410 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6412         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6413         gnuplot's "set" command.
6415 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6417         * abbrev.el (last-abbrev-text): Doc fix.
6418         (abbrev-prefix-mark): Don't escape parenthesis.
6420 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
6422         * composite.el (find-composition): Doc fix.
6424 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6426         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6427         (sql-oracle-program, sql-sqlite-options)
6428         (sql-query-placeholders-and-send): Doc fixes.
6429         (sql-set-product, sql-interactive-mode): Reflow docstrings.
6430         (sql-imenu-generic-expression, sql-buffer)
6431         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6432         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6433         (sql-mode-sybase-font-lock-keywords)
6434         (sql-mode-informix-font-lock-keywords)
6435         (sql-mode-interbase-font-lock-keywords)
6436         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6437         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6438         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6439         (sql-product-feature, sql-highlight-product)
6440         (comint-line-beginning-position, sql-rename-buffer)
6441         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6442         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6443         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6444         Fix typos in docstrings.
6446 2010-05-08  Juri Linkov  <juri@jurta.org>
6448         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6449         property instead of `invisible' and `after-string' (bug#5998).
6451 2010-05-08  Juri Linkov  <juri@jurta.org>
6453         * image-mode.el (image-mode-as-text): Fix typo in docstring.
6455 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6457         * filecache.el (file-cache-add-directory-list)
6458         (file-cache-add-directory-recursively): Fix typos in docstrings.
6460 2010-05-08  Kenichi Handa  <handa@m17n.org>
6462         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6463         (gujarati-composable-pattern): Fix typo.
6465 2010-05-08  Kenichi Handa  <handa@m17n.org>
6467         * language/indian.el (oriya-composable-pattern)
6468         (tamil-composable-pattern, malayalam-composable-pattern):
6469         Add two-part vowels to "v" (vowel sign).
6471 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6473         * files.el (copy-directory): Handle symlinks (Bug#5982).
6475 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
6477         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6478         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
6479         (Bug#5846).
6481 2010-05-08  Glenn Morris  <rgm@gnu.org>
6483         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6485         * minibuffer.el (completion-at-point): Doc fix.
6487 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6489         * electric.el (Electric-command-loop): Minor tweak.
6491         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6492         better with dedicated windows.
6494 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
6496         * Version 23.2 released.
6498 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
6499             Stefan Monnier  <monnier@iro.umontreal.ca>
6501         Highlight vendor specific properties.
6502         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6503         (css-proprietary-property): New face.
6504         (css-font-lock-keywords): Use them.
6506 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
6508         * cus-start.el (all): Add native condition for tool-bar-* symbols.
6510 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6512         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6513         * files.el (auto-mode-alist): Remove redundant entries.
6515         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6516         * simple.el (auto-save-mode): Move from files.el.
6517         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6519 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
6521         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6523 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
6525         * mail/binhex.el (binhex-decode-region-internal)
6526         * mail/uudecode.el (uudecode-decode-region-internal)
6527         * net/dns.el (dns-read-string-name, dns-write, dns-read)
6528         (dns-read-type, dns-query)
6529         * pgg-parse.el (pgg-parse-armor)
6530         * pgg.el (pgg-verify-region)
6531         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6532         XEmacs.
6534         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6536 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
6538         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6540         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6541         * emulation/cua-base.el (cua-repeat-replace-region):
6542         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6543         (cua-cut-region-to-global-mark):
6544         Remove text properties with `set-text-properties'.
6546 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
6548         * net/tramp.el (top, with-progress-reporter):
6549         Use `symbol-function' inside `funcall'.
6551         * net/tramp-compat.el (tramp-compat-file-attributes)
6552         (tramp-compat-delete-file, tramp-compat-delete-directory):
6553         Handle only `wrong-number-of-arguments' error.
6555         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
6556         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
6557         inside `funcall'.
6559 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6561         * minibuffer.el (completion--sreverse, completion--common-suffix):
6562         New functions.
6563         (completion-pcm--merge-completions): Extract common suffix when safe.
6565         * emacs-lisp/easy-mmode.el (define-minor-mode):
6566         Make :variable more flexible.
6567         * files.el (auto-save-mode): Use it to define using define-minor-mode.
6569 2010-05-05  Juri Linkov  <juri@jurta.org>
6571         Add `slow' and `history' tags to the desktop data.
6573         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
6574         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
6575         (Info-finder-find-node): Require `finder.el' to be able
6576         to restore node from the desktop.
6577         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
6578         data `Info-history' and `slow' tag in the assoc list.
6579         (Info-restore-desktop-buffer): Don't restore nodes with the
6580         `slow' tag.  Restore `Info-history'.
6582 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
6584         Add FORCE argument to `delete-file'.
6586         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6587         forcing to delete the temporary file.
6588         (ange-ftp-delete-file): Add FORCE arg.
6589         (ange-ftp-rename-remote-to-remote)
6590         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
6591         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
6592         Force file deletion.
6594         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
6596         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
6597         (tramp-handle-make-symbolic-link, tramp-handle-load)
6598         (tramp-do-copy-or-rename-file-via-buffer)
6599         (tramp-do-copy-or-rename-file-directly)
6600         (tramp-do-copy-or-rename-file-out-of-band)
6601         (tramp-handle-process-file, tramp-handle-call-process-region)
6602         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6603         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6604         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
6606         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
6607         (tramp-fish-handle-make-symbolic-link)
6608         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
6610         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6611         Use `tramp-compat-delete-file'.
6613         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
6614         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
6616         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
6617         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
6619         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
6620         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
6621         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
6622         `tramp-compat-delete-file'.
6624 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6626         Minor cleanups.
6627         * subr.el (add-minor-mode): Use push.
6628         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6629         * emulation/edt.el (edt-select-mode): Simplify.
6631         Use define-minor-mode in more cases.
6632         * term/tvi970.el (tvi970-set-keypad-mode):
6633         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6634         (normal-erase-is-backspace-mode):
6635         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6636         (set-scroll-bar-mode-1): (Re)move to its sole caller.
6637         (get-scroll-bar-mode): New function.
6638         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6640         Use define-minor-mode for less obvious cases.
6641         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6642         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6643         * international/iso-ascii.el (iso-ascii-mode):
6644         * frame.el (auto-raise-mode, auto-lower-mode):
6645         * composite.el (global-auto-composition-mode): Use define-minor-mode.
6647 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
6649         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6650         in order to see error messages for failed logins.
6652 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
6654         * diff.el (diff-sentinel):
6656         * epg.el (epg--make-temp-file, epg-decrypt-string)
6657         (epg-verify-string, epg-sign-string, epg-encrypt-string):
6659         * jka-compr.el (jka-compr-partial-uncompress)
6660         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6662         * server.el (server-sentinel): Use delete-file's new FORCE arg
6663         (Bug#6070).
6665 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6667         Use define-minor-mode where applicable.
6668         * view.el (view-mode):
6669         * type-break.el (type-break-query-mode)
6670         (type-break-mode-line-message-mode):
6671         * textmodes/reftex.el (reftex-mode):
6672         * term/vt100.el (vt100-wide-mode):
6673         * tar-mode.el (tar-subfile-mode):
6674         * savehist.el (savehist-mode):
6675         * ibuf-ext.el (ibuffer-auto-mode):
6676         * composite.el (auto-composition-mode):
6677         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6678         Use define-minor-mode.
6679         (vhdl-mode): Use static mode-line format.
6680         (vhdl-mode-line-update): Delete.
6681         (vhdl-create-mode-menu, vhdl-activate-customizations)
6682         (vhdl-hs-minor-mode): Don't bother calling it.
6684 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6686         * simple.el (with-wrapper-hook): Move.
6687         (buffer-substring-filters): Mark obsolete.
6688         (filter-buffer-substring-functions): New variable.
6689         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
6691 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
6692             Michael Albinus  <michael.albinus@gmx.de>
6694         Implement compression for inline methods.
6696         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6697         (tramp-copy-size-limit): Allow also nil.
6698         (tramp-inline-compress-commands): New defconst.
6699         (tramp-find-inline-compress, tramp-get-inline-compress)
6700         (tramp-get-inline-coding): New defuns.
6701         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6702         replaced by `tramp-get-inline-coding'.
6703         (tramp-handle-file-local-copy, tramp-handle-write-region)
6704         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6706 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6708         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
6709         Remove unused functions.
6711         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
6712         Set find-tag-default-function as a variable rather than a property.
6714         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
6715         * progmodes/etags.el (tags-completion-at-point-function):
6716         Remove left over interactive spec.  Add autoloading stub.
6717         (complete-tag): Use tags-completion-at-point-function.
6719 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
6721         * minibuffer.el (tags-completion-at-point-function): Fix return value.
6723 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
6725         * ido.el (ido-init-completion-maps): Remove C-v binding.
6726         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
6728 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
6730         * minibuffer.el (tags-completion-at-point-function): New function.
6731         (completion-at-point-functions): Use it.
6733         * progmodes/etags.el (complete-tag): Revert last change.
6735 2010-04-29  Alan Mackenzie  <acm@muc.de>
6737         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
6738         off-by-one error (in end of macro position).
6740 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6742         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
6743         firefox is absent.  Don't autoload.
6744         (browse-url-galeon-program): Don't autoload.
6746 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
6748         * bindings.el (complete-symbol): Move into minibuffer.el.
6750         * minibuffer.el (complete-tag): Move from etags.el.  If tags
6751         completion cannot be performed, return nil instead of signalling
6752         an error.
6753         (completion-at-point): Make it an alias for complete-symbol.
6754         (complete-symbol): Move from bindings.el, and replace with the
6755         body of completion-at-point.
6757         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
6759 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
6761         * net/tramp.el (tramp-remote-selinux-p): New defun.
6762         (tramp-handle-file-selinux-context)
6763         (tramp-handle-set-file-selinux-context): Use it.
6765 2010-04-28  Sam Steingold  <sds@gnu.org>
6767         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6768         `safe-local-variable' if the value is a string or a symbol with
6769         the property `bug-reference-url-format'.
6771 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
6773         * progmodes/bug-reference.el (bug-reference-url-format):
6774         Revert 2010-04-27 change due to security risk.
6776 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6778         Make it possible to locally disable a globally enabled mode.
6779         * simple.el (fundamental-mode): Run fundamental-mode-hook.
6780         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
6781         rather than kill-all-local-variables so it runs fundamental-mode-hook.
6782         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6783         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
6784         that subsequent hooks get a chance to disable it.
6786 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6788         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6789         Avoid re-enabling a minor mode after the user turned the minor mode
6790         off if MODE-enable-in-buffers is run twice (typically once from
6791         fundamental-mode's after-change-major-mode-hook and a second time from
6792         run-mode-hook's own after-change-major-mode-hook).
6794         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
6796 2010-04-27  Sam Steingold  <sds@gnu.org>
6798         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6799         `safe-local-variable' if the value is a string or a function, as
6800         documented and implemented on 2010-04-02.
6802 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
6804         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
6805         when method is 'kill.
6807 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
6809         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
6810         condition in default directory check.
6811         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
6812         Kill ispell process when killing its associated buffer.
6814 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
6816         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
6817         but we aren't using it.
6819 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
6821         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
6822         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
6824 2010-04-24  Glenn Morris  <rgm@gnu.org>
6826         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
6827         Ignore VCS-ignore files, and deleted nextstep preferences files.
6828         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
6829         (authors-ambiguous-files): New list.
6830         (authors-valid-file-names): Add some deleted files.
6831         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
6832         (authors-disambiguate-file-name): New function.  (Bug#5501)
6833         (authors-canonical-file-name): Doc fix.
6834         Don't warn about obsolete files.
6835         (authors-canonical-file-name, authors-scan-el):
6836         Use authors-disambiguate-file-name.
6838         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6839         Add autoload cookies.
6840         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
6841         (generated-autoload-file): Set file-local value to "htmlfontify.el".
6842         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
6843         They have definitions / compiler macros in cl.el.
6844         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6845         Replace manual autoloads with generated ones.
6846         (htmlfontify-unload-rgb-file): Remove autoload.
6847         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
6849 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6851         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
6852         (byte-compile-setq-default): Optimize for the
6853         single-var case and don't call byte-compile-form in this case to avoid
6854         inf-loop with byte-compile-set-default.
6856         * progmodes/compile.el (compilation-start): Abbreviate default directory.
6858 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
6860         Implement SELINUX backends.
6862         * net/tramp.el (tramp-file-name-handler-alist):
6863         Add `file-selinux-context' and `set-file-selinux-context'.
6864         (tramp-handle-file-selinux-context)
6865         (tramp-handle-set-file-selinux-context): New defuns.
6866         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6867         Handle PRESERVE-SELINUX-CONTEXT.
6869         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6870         Add `file-selinux-context' and `set-file-selinux-context'.
6871         (tramp-gvfs-handle-file-selinux-context)
6872         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6873         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6875         * net/ange-ftp.el (ange-ftp-copy-file):
6876         * net/tramp-fish.el (tramp-fish-handle-copy-file):
6877         * net/tramp-imap.el (tramp-imap-handle-copy-file):
6878         * net/tramp-smb.el (tramp-smb-handle-copy-file):
6879         Add PRESERVE-SELINUX-CONTEXT.
6881 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
6883         Synchronize with Tramp repository.
6885         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
6886         (tramp-action-process-alive, tramp-action-out-of-band)
6887         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6888         (tramp-exists-file-name-handler): Fix docstring.
6889         (with-progress-reporter): New defmacro.
6890         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
6891         (tramp-maybe-open-connection): Use it.
6893 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
6895         Detect ssh 'ControlMaster' argument automatically in some cases.
6897         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6898         (tramp-default-method): Use it.
6900 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
6902         * net/tramp.el (tramp-handle-copy-file): Add new optional
6903         parameter `preserve-selinux-context'.
6904         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
6906 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
6908         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
6909         Ensure, that non remote files are still checked.  Oops.
6911 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
6913         Fix Bug#5840.
6915         * icomplete.el (icomplete-completions): Use `non-essential'.
6917         * net/tramp.el (tramp-connectable-p): New defun.
6918         (tramp-handle-expand-file-name)
6919         (tramp-completion-handle-file-name-all-completions)
6920         (tramp-completion-handle-file-name-completion): Use it.
6922 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6924         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
6926 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
6928         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
6930         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
6932         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
6933         is present.
6935         * info.el (info-tool-bar-map): Add labels.
6937         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
6939         * cus-edit.el (custom-commands): Add labels for tool bar.
6940         (custom-buffer-create-internal, Custom-mode): Adjust for
6941         labels in custom-commands.
6943         * dynamic-setting.el: Renamed from font-setting.el.
6945 2010-04-21  John Wiegley  <jwiegley@gmail.com>
6947         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
6948         toggles the use of virtual buffers.
6949         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
6950         (ido-toggle-virtual-buffers): New function.
6952 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
6954         Use `define-derived-mode'; fix window selection; doc fixes.
6955         * play/tetris.el (tetris, tetris-update-speed-function)
6956         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
6957         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
6958         (tetris-rotate-next, tetris-end-game, tetris-start-game)
6959         (tetris-pause-game): Fix typos in docstrings.
6960         (tetris-mode-map, tetris-null-map):
6961         Move initialization into declaration.
6962         (tetris-mode): Define with `define-derived-mode';
6963         set show-trailing-whitespace to nil.
6964         (tetris): Prefer window already displaying the "*Tetris*" buffer.
6966 2010-04-21  Karel Klíč  <kklic@redhat.com>
6968         * files.el (backup-buffer): Handle SELinux context, and return it
6969         if a backup was made by renaming.
6970         (backup-buffer-copy): Set SELinux context to the target file.
6971         (basic-save-buffer): Set SELinux context of the newly written file.
6972         (basic-save-buffer-1): Now it also returns any SELinux context.
6973         (basic-save-buffer-2): Set SELinux context of the newly created file,
6974         and return it.
6975         * net/tramp.el (tramp-file-name-for-operation):
6976         Add file-selinux-context.
6978 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6980         Make the log-edit comments use RFC822 format throughout.
6982         * vc.el (vc-checkin, vc-modify-change-comment):
6983         Adjust to new vc-start/finish-logentry.
6984         (vc-find-conflicted-file): New command.
6985         (vc-transfer-file): Adjust to new vc-checkin.
6986         (vc-next-action): Improve scoping.
6988         * vc-hg.el (vc-hg-log-edit-mode): Remove.
6989         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
6991         * vc-git.el (vc-git-log-edit-mode): Remove.
6992         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
6993         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
6995         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
6996         (vc-start-logentry): Remove argument `extra'.
6997         (vc-finish-logentry): Remove extra args.
6999         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7000         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
7001         (vc-bzr-conflicted-files): New function.
7003         * log-edit.el (log-edit-extra-flags)
7004         (log-edit-before-checkin-process): Remove.
7005         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7006         (log-edit-headers-alist): New var.
7007         (log-edit-header-contents-regexp): New const.
7008         (log-edit-match-to-eoh): New function.
7009         (log-edit-font-lock-keywords): Use them.
7010         (log-edit): Insert a "Summary:" header as default.
7011         (log-edit-mode): Mark font-lock rules as case-insensitive.
7012         (log-edit-done): Cleanup headers.
7013         (log-view-process-buffer): Remove.
7014         (log-edit-extract-headers): New function to replace it.
7016 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
7018         * subr.el (default-direction-reversed): Remove obsolescence info.
7020 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7022         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7023         windows/frames.
7025         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7026         I.e. include text after point in the completion region.
7027         Also, return nil when we're not after/in a symbol.
7029         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7030         default enable-multibyte-characters.
7032 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7034         * international/mule.el: Help the user choose a valid coding-system.
7035         (read-buffer-file-coding-system): New function.
7036         (set-buffer-file-coding-system): Use it.  Prompt the user if the
7037         coding-system cannot encode all the chars.
7039         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7040         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7041         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7042         Don't use *vc-bzr-shelve*.
7044 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
7046         Fix the version number for added files.
7047         * vc-hg.el (vc-hg-working-revision): Check if the file is
7048         registered after hg parent fails (Bug#5961).
7050 2010-04-19  Glenn Morris  <rgm@gnu.org>
7052         * htmlfontify.el (htmlfontify-buffer)
7053         (htmlfontify-copy-and-link-dir): Autoload entry points.
7055 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
7057         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7058         name relative to the project root (Bug#5960).
7060 2010-04-19  Glenn Morris  <rgm@gnu.org>
7062         * vc-git.el (vc-git-print-log): Doc fix.
7064 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
7066         * ido.el (ido-file-internal): Fix 2009-12-02 change.
7068 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
7070         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7071         default settings (Bug#5928).
7073 2010-04-19  Glenn Morris  <rgm@gnu.org>
7075         * progmodes/fortran.el (fortran-match-and-skip-declaration):
7076         New function.
7077         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
7079 2010-04-19  Kenichi Handa  <handa@m17n.org>
7081         * language/indian.el (malayalam-composable-pattern): Fix previous
7082         change (add U+0D4D "SIGN VIRAMA").
7083         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7084         (tamil-composable-pattern): Fix typo in the regexp.
7085         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7086         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7087         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7089 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7091         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7092         paragraph-separate (Bug#5821).
7094 2010-04-19  Juri Linkov  <juri@jurta.org>
7096         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7098         * info.el (Info-find-node-2): Comment out code that skips
7099         breadcrumbs line.
7100         (Info-mouse-follow-link): New command.
7101         (Info-link-keymap): New keymap.
7102         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7103         Return a string with links instead of inserting breadcrumbs
7104         to the Info buffer.
7105         (Info-fontify-node): Comment out code that inserts breadcrumbs.
7106         Instead of putting the `invisible' text property over the Info
7107         header, make an overlay over the Info header with the `invisible'
7108         property and `after-string' set to the string returned by
7109         `Info-breadcrumbs'.
7111 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7113         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7114         Reported by monkey@sandpframing.com.
7116 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7118         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7119         (tmm-get-keymap): Add key-binding shortcuts now that they're not
7120         available in the "keyseq cache" any more.
7122         * custom.el (defcustom): Add edebug spec.
7124 2010-04-18  Juri Linkov  <juri@jurta.org>
7126         Test for special mode-class in view-buffer instead of view-file (bug#5513).
7128         * view.el (view-file, view-buffer): Move test for special mode-class
7129         from view-file to view-buffer.
7131         * tar-mode.el (tar-extract): Turn if's into one cond
7132         like in arc-mode.el.
7134 2010-04-18  Juri Linkov  <juri@jurta.org>
7136         Add 7z archive format support (bug#5475).
7138         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7139         (archive-7z-extract): New defcustom.
7140         (archive-find-type): Add magic string for 7z.
7141         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7142         If `stderr-file' is non-nil, use `(t stderr-file)' for the
7143         `buffer' arg of `call-process'.
7144         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7145         call the function `archive-7z-extract' with the variable
7146         `archive-7z-extract' let-bound to `archive-zip-extract'.
7147         (archive-7z-summarize, archive-7z-extract): New functions.
7149         * international/mule.el (auto-coding-alist):
7150         * files.el (auto-mode-alist): Add 7z file extension.
7152 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7154         * loadup.el: Setup hash-cons for pure data.
7156         Fix duplicate entries in cedet's loaddefs.el files.
7157         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7158         Should make most file-local generated-autoload-file unnecessary.
7159         (print-readably): Silence warnings.
7160         (autoload-find-destination): Take load-name as an arg to make sure
7161         it's the same as the one that will be in the file.
7162         (autoload-generate-file-autoloads): Adjust to above changes.
7163         Try to make the dataflow a bit simpler.
7165         * cvs-status.el (cvs-refontify): Remove unused.
7167 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
7169         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7171         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7172         twos-complement mode.
7174 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
7176         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7177         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
7178         (calc-inverse): Add "Option" to message, as appropriate.
7179         (calc-hyperbolic): Add "Option" to message, as appropriate.
7180         (calc-option, calc-is-option): New functions.
7182         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7183         (calc-option-prefix-help): New function.
7185         * calc/calc-misc.el (calc-help): Add "Option" entry.
7187         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7188         (calc-option-flag): New variable.
7189         (calc-do): Set `calc-option-flag to nil.
7190         (calc-set-mode-line): Add "Opt " as appropriate.
7192 2010-04-16  Juri Linkov  <juri@jurta.org>
7194         Move scrolling commands from simple.el to window.el
7195         because their primitives are implemented in window.c.
7197         * simple.el (scroll-error-top-bottom)
7198         (scroll-up-command, scroll-down-command, scroll-up-line)
7199         (scroll-down-line, scroll-other-window-down)
7200         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7201         * window.el (scroll-error-top-bottom)
7202         (scroll-up-command, scroll-down-command, scroll-up-line)
7203         (scroll-down-line, scroll-other-window-down)
7204         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7205         Move from simple.el to window.el because their primitives are
7206         implemented in window.c.
7208 2010-04-16  Juri Linkov  <juri@jurta.org>
7210         * isearch.el (isearch-lookup-scroll-key): Check both
7211         `isearch-scroll' and `scroll-command' properties.
7212         (scroll-up, scroll-down): Remove `isearch-scroll' property.
7214         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7216         * simple.el (scroll-up-command, scroll-down-command)
7217         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7219 2010-04-15  Juri Linkov  <juri@jurta.org>
7221         * simple.el (scroll-up-command, scroll-down-command)
7222         (scroll-up-line, scroll-down-line): Put `scroll-command'
7223         property on the these symbols.  Remove them from
7224         `scroll-preserve-screen-position-commands'.
7226         * mwheel.el (mwheel-scroll): Put `scroll-command' and
7227         `isearch-scroll' properties on the `mwheel-scroll' symbol.
7228         Remove it from `scroll-preserve-screen-position-commands'.
7230         * isearch.el (isearch-allow-scroll): Doc fix.
7232 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
7234         * net/tramp.el (tramp-error-with-buffer): Don't show the
7235         connection buffer when we are in completion mode.
7236         (tramp-file-name-handler): Catch the error for some operations
7237         when we are in completion mode.  This gives the user the chance to
7238         correct the file name in the minibuffer.
7240 2010-04-15  Glenn Morris  <rgm@gnu.org>
7242         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7244 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
7246         Simplify by using `define-derived-mode'.
7247         * info.el (Info-mode):
7248         * calendar/todo-mode.el (todo-mode):
7249         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7250         (gomoku-mode-map): Move initialization into declaration.
7252 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
7254         Fix Bug#5840.
7255         * ido.el (ido-file-name-all-completions-1):
7256         * minibuffer.el (minibuffer-completion-help):
7257         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7259 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7261         * simple.el (non-essential): New var.
7263         Add a new field `location' to bookmarks for non-file bookmarks.
7264         * bookmark.el (bookmark-location): Use the new field, if present.
7265         (bookmark-insert-location): Undo last change, not needed any more.
7266         * man.el (Man-bookmark-make-record):
7267         * woman.el (woman-bookmark-make-record): Add `location' field.
7269 2010-04-14  Juri Linkov  <juri@jurta.org>
7271         * simple.el (scroll-error-top-bottom): New defcustom.
7272         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
7274         * emulation/pc-select.el (pc-select-override-scroll-error):
7275         Obsolete in favor of `scroll-error-top-bottom'.
7277 2010-04-14  Juri Linkov  <juri@jurta.org>
7279         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7280         `scroll-up-command' and `M-v' to `scroll-down-command'.
7282         * emulation/cua-rect.el (cua--init-rectangles):
7283         * forms.el (forms--change-commands):
7284         * image-mode.el (image-mode-map):
7285         Remap scroll-down-command and scroll-up-command
7286         in addition to scroll-down and scroll-up.
7288 2010-04-14  Juri Linkov  <juri@jurta.org>
7290         * mwheel.el (scroll-preserve-screen-position-commands):
7291         Add mwheel-scroll to this list of commands.
7293         * simple.el (scroll-preserve-screen-position-commands):
7294         Add scroll-up-command, scroll-down-command, scroll-up-line,
7295         scroll-down-line to this list of commands.
7297 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7299         * obsolete/complete.el: Move from lisp/complete.el.
7301         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7303         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7304         to the minor mode function now turns the mode ON unconditionally.
7306 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7308         * vc-dir.el (vc-dir-kill-line): New command.
7309         (vc-dir-mode-map): Bind it to C-k.
7311         * bookmark.el (bookmark-insert-location): Handle a nil filename.
7313         * woman.el: Add bookmark declarations to silence the compiler.
7314         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7315         step to compatibility between man and woman bookmarks.
7316         Adjust for Man-default-bookmark-title renaming.
7317         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
7319         * man.el: Add bookmark declarations to silence the compiler.
7320         (Man-name-local-regexp): Make it match NAME as well.
7321         (Man-getpage-in-background): Return the buffer.
7322         (Man-notify-when-ready): Use `case'.
7323         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7324         Don't hardcode "NAME".  Simplify.
7325         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7326         Rename from Man-bookmark-make-record.
7327         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
7328         we have the actual man-args.  Use Man-getpage-in-background rather
7329         than `man' since the arg is already processed.  Let bookmark.el do the
7330         window handling.  Only wait for the relevant process.
7331         Don't forget to autoload.
7333         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7335 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7337         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7338         New functions.
7339         (woman-mode): Setup bookmark support.
7341         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7342         (man-bookmark-jump): New functions.
7343         (Man-mode): Setup bookmark support.
7345 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
7347         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7348         recognize ssh-keygen prompt (Bug#2817).
7350 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7352         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7354 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7356         Synchronize with Tramp repository.
7358         * net/tramp.el (tramp-completion-function-alist)
7359         (tramp-file-name-regexp, tramp-chunksize)
7360         (tramp-local-coding-commands, tramp-remote-coding-commands):
7361         Fix docstring.
7362         (tramp-remote-process-environment): Use `format' instead of `concat'.
7363         (tramp-handle-directory-files-and-attributes)
7364         (tramp-get-remote-path): Use `copy-tree'.
7365         (tramp-handle-file-name-all-completions): Backward/ XEmacs
7366         compatibility: Use `completion-ignore-case' if
7367         `read-file-name-completion-ignore-case' does not exist.
7368         (tramp-do-copy-or-rename-file-directly): Do not use
7369         `tramp-handle-file-remote-p'.
7370         (tramp-do-copy-or-rename-file-out-of-band):
7371         Use `tramp-compat-delete-directory'.
7372         (tramp-do-copy-or-rename-file-out-of-band)
7373         (tramp-compute-multi-hops, tramp-maybe-open-connection):
7374         Use `format-spec-make'.
7375         (tramp-find-foreign-file-name-handler)
7376         (tramp-advice-make-auto-save-file-name)
7377         (tramp-set-auto-save-file-modes): Remove superfluous check for
7378         `stringp'.  This is done inside `tramp-tramp-file-p'.
7379         (tramp-debug-outline-regexp): New defconst.
7380         (tramp-get-debug-buffer): Use it.
7381         (tramp-check-for-regexp): Use (forward-line 1).
7382         (tramp-set-auto-save-file-modes): Adapt version check.
7384         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7385         Wrap call of `featurep' for 2nd argument.
7386         (tramp-compat-make-temp-file): Simplify fallback implementation.
7387         (tramp-compat-copy-tree): Remove function.
7388         (tramp-compat-delete-directory): Provide implementation for older
7389         Emacsen.
7391         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7392         Do not use `tramp-fish-handle-file-attributes.
7394         * net/trampver.el: Update release number.
7396 2010-04-10  Glenn Morris  <rgm@gnu.org>
7398         * progmodes/compile.el (compilation-save-buffers-predicate):
7399         Add missing :version tag.
7401 2010-04-09  Sam Steingold  <sds@gnu.org>
7403         * progmodes/compile.el (compilation-save-buffers-predicate):
7404         Remove the "autoload" cookie.
7406         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7407         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7408         and `bug-reference-prog-mode' can be used in hooks directly.
7410 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
7412         Add --author support to git commit.
7413         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7414         (vc-git-log-edit-mode): New minor mode.
7415         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7416         New declarations.
7418 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
7420         * vc-hooks.el, vc-git.el: Improve documentation comments.
7422 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7424         Fix some of the problems in defsubst* (bug#5728).
7425         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7426         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7428 2010-04-07  Sam Steingold  <sds@gnu.org>
7430         * progmodes/compile.el (compilation-save-buffers-predicate):
7431         New custom variable.
7432         (compile, recompile): Pass it to `save-some-buffers'.
7434 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
7436         * wid-edit.el (widget-choose): Move cursor to the second line of
7437         the buffer (Bug#5695).
7439 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7441         Add new VC methods: vc-log-incoming and vc-log-outgoing.
7442         * vc.el (vc-print-log-setup-buttons): New function split out from
7443         vc-print-log-internal.
7444         (vc-log-internal-common): New function, a parametrized version of
7445         vc-print-log-internal.
7446         (vc-print-log-internal): Just call vc-log-internal-common with the
7447         right arguments.
7448         (vc-incoming-outgoing-internal):
7449         (vc-log-incoming, vc-log-outgoing): New functions.
7450         (vc-log-view-type): New permanent local variable.
7452         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7454         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7455         of the dynamic bound vc-short-log.
7456         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7458         * vc-git.el (vc-git-log-outgoing): New function.
7459         (vc-git-log-view-mode): Use vc-log-view-type instead
7460         of the dynamic bound vc-short-log.
7462         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7463         of the dynamic bound vc-short-log.  Highlight the tag.
7464         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7465         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7466         (vc-hg-incoming-mode): Remove.
7467         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7469 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7471         Fix default-directory for vc-root-diff.
7472         * vc.el (vc-root-diff): Bind default-directory to the root
7473         directory for the diff command.
7475 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
7477         * progmodes/verilog-mode.el (verilog-forward-sexp):
7478         (verilog-calc-1): Support "disable fork" and "fork wait" multi
7479         word keywords, suggested by Steve Pearlmutter.
7480         (verilog-pretty-declarations): Support lineup of declarations in
7481         port lists.
7482         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7483         fix bug for /* / comments.
7484         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7485         Speed up and simplfy as this is never called with a bound.
7486         (verilog-pretty-declarations): Enhance to line up declarations
7487         inside a parameter list, suggested by Alan Morgan.
7488         (verilog-pretty-expr): Tune assignment regular expression match
7489         string for corner cases; also use markers instead of character
7490         number as indent changes the later.
7492 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
7494         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7495         as missing keyword.
7496         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7497         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
7498         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7499         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
7500         Tennant.
7501         (verilog-keywords):
7502         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7503         1800-2009 keywords, including "global.".
7505 2010-04-06  John Wiegley  <jwiegley@gmail.com>
7507         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7508         appearing in buffer list (if a live buffer name matched a recentf
7509         file basename).  Should use uniquify to offer a real solution.
7511 2010-04-06  John Wiegley  <jwiegley@gmail.com>
7513         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7514         comment to code, and add a :version tag.
7515         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7517 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
7519         Enable recentf-mode if using virtual buffers.
7520         * ido.el (recentf-list): Declare for byte-compiler.
7521         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
7522         (ido-make-buffer-list): Simplify.
7523         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
7525 2010-04-05  Juri Linkov  <juri@jurta.org>
7527         Scrolling commands which scroll a line instead of full screen.
7528         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7530         * simple.el (scroll-up-line, scroll-down-line): New commands.
7531         Put property isearch-scroll=t on them.
7533         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7534         Remove commands.
7536 2010-04-05  Juri Linkov  <juri@jurta.org>
7538         Scrolling commands which do not signal errors at top/bottom.
7539         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7541         * simple.el (scroll-up-command, scroll-down-command): New commands.
7542         Put property isearch-scroll=t on them.
7544         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7545         `scroll-down-command' and [next] from `scroll-up' to
7546         `scroll-up-command'.
7548         * emulation/cua-base.el: Put property CUA=move on
7549         `scroll-up-command' and `scroll-down-command'.
7550         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
7551         and `scroll-down-command' to `cua-scroll-down'.
7553 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
7555         * help.el (describe-mode): Return nil.
7557 2010-04-04  John Wiegley  <jwiegley@gmail.com>
7559         * ido.el (ido-use-virtual-buffers): New variable to indicate
7560         whether "virtual buffer" support is enabled for IDO.
7561         (ido-virtual): Face used to indicate virtual buffers in the list.
7562         (ido-buffer-internal): If a buffer is chosen, and no such buffer
7563         exists, but a virtual buffer of that name does (which would be why
7564         it was in the list), recreate the buffer by reopening the file.
7565         (ido-make-buffer-list): If virtual buffers are being used, call
7566         `ido-add-virtual-buffers-to-list' before the make list hook.
7567         (ido-virtual-buffers): New variable which contains a copy of the
7568         current contents of the `recentf-list', albeit pared down for the
7569         sake of speed, and with proper faces applied.
7570         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
7571         create a list of "virtual buffers" to present to the user in
7572         addition to the currently open set.  Note that this logic could
7573         get rather slow if that list is too large.  With the default
7574         `recentf-max-saved-items' of 200, there is little speed penalty.
7576 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7578         * font-lock.el: Require CL when compiling.
7579         (font-lock-turn-on-thing-lock): Use `case'.
7581 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
7583         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
7584         Zaretskii.
7586 2010-04-02  Juri Linkov  <juri@jurta.org>
7588         * ehelp.el (electric-help-orig-major-mode):
7589         New buffer-local variable.
7590         (electric-help-mode): Set it to original major-mode.  Doc fix.
7591         (with-electric-help): Use `electric-help-orig-major-mode' instead
7592         of (default-value 'major-mode).  Doc fix.
7593         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
7595 2010-04-02  Sam Steingold  <sds@gnu.org>
7597         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
7598         `vc-hg-command' with a list of flags.
7600         * progmodes/bug-reference.el (bug-reference-bug-regexp):
7601         Also accept "patch" and "RFE".
7602         (bug-reference-fontify): `bug-reference-url-format' can also be a
7603         function to be able to handle the bug kind.
7604         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
7606 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
7608         * tmm.el (tmm-get-keymap): Check with symbolp before passing
7609         value to fboundp, it may not be a symbol.
7611 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7613         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
7615 2010-03-31  Juri Linkov  <juri@jurta.org>
7617         * simple.el (next-line, previous-line): Re-throw a signal
7618         with `signal' instead of using `ding'.
7619         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
7621 2010-03-31  Juri Linkov  <juri@jurta.org>
7623         * simple.el (keyboard-escape-quit): Raise deselecting the active
7624         region higher than exiting the minibuffer.
7625         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7627 2010-03-31  Juri Linkov  <juri@jurta.org>
7629         * image.el (image-animated-p): Use `image-metadata' instead of
7630         `image-extension-data'.  Get GIF extenstion data from metadata
7631         property `extension-data'.
7633 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7635         * simple.el (append-to-buffer): Simplify.
7637 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
7639         * textmodes/artist.el (artist-mode): Fix typo in docstring.
7640         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
7642 2010-03-31  Kenichi Handa  <handa@m17n.org>
7644         * language/sinhala.el (composition-function-table): Fix regexp for
7645         the new Unicode specification.
7647         * language/indian.el (devanagari-composable-pattern)
7648         (tamil-composable-pattern, kannada-composable-pattern)
7649         (malayalam-composable-pattern): Adjust for the new Unicode
7650         specification.
7651         (bengali-composable-pattern, gurmukhi-composable-pattern)
7652         (gujarati-composable-pattern, oriya-composable-pattern)
7653         (telugu-composable-pattern): New variables to cope with the new
7654         Unicode specification.  Use them in composition-function-table.
7656 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7658         Make tmm-menubar work for the Buffers menu again (bug#5726).
7659         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7660         vectors rather than cons cells, as used in menu-bar-update-buffers.
7662 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7664         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7665         (js-insert-and-indent): Revert 2009-08-15 change, restoring
7666         electric punctuation for "{}();,:" (Bug#5586).
7668         * mail/sendmail.el (mail-default-directory): Doc fix.
7670 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7672         * mail/sendmail.el (mail-default-directory): Doc fix.
7674 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
7676         * subr.el (version-regexp-alist, version-to-list)
7677         (version-list-<, version-list-=, version-list-<=)
7678         (version-list-not-zero, version<, version<=, version=): Doc fix.
7679         (Bug#5744).
7681 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
7683         * vc.el (vc-root-diff): Doc fix.
7685 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7687         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
7689         * simple.el (append-to-buffer): Fix last change.
7691 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7693         * simple.el (append-to-buffer): Ensure that point is preserved if
7694         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
7695         (Bug#5749)
7697 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7699         * files.el (auto-mode-case-fold): Change default to t.
7701 2010-03-30  Juri Linkov  <juri@jurta.org>
7703         * dired-x.el (dired-omit-mode): Doc fix.
7705 2010-03-30  Juri Linkov  <juri@jurta.org>
7707         * replace.el (occur-accumulate-lines): Move occur-engine related
7708         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
7709         to be located after `occur-engine'.
7711 2010-03-30  Juri Linkov  <juri@jurta.org>
7713         Make occur handle multi-line matches cleanly with context.
7714         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
7716         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
7717         (occur-engine): Add local variables `ret', `prev-after-lines',
7718         `prev-lines'.  Use more arguments for `occur-context-lines'.
7719         Set first elem of its returned list to `data', and the second elem
7720         to `prev-after-lines'.  Don't print the separator line.
7721         In the end, print remaining context after-lines.
7722         (occur-context-lines): Add new arguments `begpt', `endpt',
7723         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
7724         after-lines of the previous match with before-lines of the
7725         current match and not overlap them.  Return a list with two
7726         values: the output line and the list of context after-lines.
7728 2010-03-30  Juri Linkov  <juri@jurta.org>
7730         * replace.el (occur-accumulate-lines): Fix a bug where the first
7731         context line at the beginning of the buffer was missing.
7733 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
7735         * files.el: Make bidi-display-reordering safe variable for boolean
7736         values.
7738 2010-03-29  Phil Hagelberg  <phil@evri.com>
7739             Chong Yidong  <cyd@stupidchicken.com>
7741         * subr.el: Extend progress reporters to perform "spinning".
7742         (progress-reporter-update, progress-reporter-do-update):
7743         Handle non-numeric value arguments.
7744         (progress-reporter--pulse-characters): New var.
7746 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
7748         * progmodes/compile.el (compilation-start): Fix regexp detection
7749         of initial cd command (Bug#5771).
7751 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
7753         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
7755 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
7757         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
7758         * progmodes/gdb-mi.el: Restore.
7759         * progmodes/gdb-ui.el: Remove.
7760         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
7762 2010-03-25  Glenn Morris  <rgm@gnu.org>
7764         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
7765         all dired buffers, even tramp ones.  (Bug#5755)
7767 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7769         Add "union tags" in mpc.el.
7770         * mpc.el: Remove backward compatibility code.
7771         (mpc-browser-tags): Change default.
7772         (mpc--find-memoize-union-tags): New var.
7773         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
7774         (mpc-cmd-find): Handle the case where the playlist does not exist.
7775         Handle union-tags.
7776         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
7777         (mpc-cmd-add): Use mpc-cmd-flush.
7778         (mpc-tagbrowser-tag-name): New fun.
7779         (mpc-tagbrowser-buf): Use it.
7780         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
7782 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7784         Misc cleanup.
7785         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
7786         Use replace-regexp-in-string.
7787         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
7788         (makefile-imake-mode-syntax-table): Move init into defvar.
7789         (makefile-mode): Use define-derived-mode.
7791         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
7792         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
7793         not be present any more.
7795 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7797         * faces.el (set-face-attribute): Fix typo in docstring.
7798         (face-valid-attribute-values): Reflow docstring.
7800 2010-03-24  Glenn Morris  <rgm@gnu.org>
7802         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
7804 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
7806         * indent.el (indent-for-tab-command): Doc fix.
7808 2010-03-24  Alan Mackenzie  <acm@muc.de>
7810         * progmodes/cc-engine.el (c-remove-stale-state-cache):
7811         Fix off-by-one error.  Fixes bug #5747.
7813 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7815         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
7816         (image-dired-read-comment): Doc fix.
7818         * json.el (json-object-type, json-array-type, json-key-type)
7819         (json-false, json-null, json-read-number):
7820         * minibuffer.el (completion-in-region-functions):
7821         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
7822         (cal-tex-cursor-week):
7823         * emacs-lisp/trace.el (trace-function):
7824         * eshell/em-basic.el (eshell/printnl):
7825         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
7826         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
7827         * obsolete/levents.el (allocate-event, event-key, event-object)
7828         (event-point, event-process, event-timestamp, event-to-character)
7829         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
7830         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
7831         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
7832         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
7833         (reftex-highlight-selection): Fix typos in docstrings.
7835 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7837         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
7839 2010-03-24  Glenn Morris  <rgm@gnu.org>
7841         * mail/rmail.el (rmail-highlight-face): Restore option deleted
7842         2008-02-13 without comment; mark it obsolete.
7843         (rmail-highlight-headers): Use rmail-highlight-face once more.
7845 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
7847         * woman.el (woman2-process-escapes): Only consume the newline if
7848         the filler character is on a line by itself (Bug#5729).
7850 2010-03-24  Kenichi Handa  <handa@m17n.org>
7852         * language/indian.el (devanagari-composable-pattern): Add more
7853         consonants.
7855 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
7857         * net/trampver.el: Update release number.
7859 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
7861         * net/tramp.el (tramp-find-executable):
7862         Use `tramp-get-connection-buffer'.  Make the regexp for checking
7863         output of "wc -l" more robust.
7864         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
7865         (tramp-open-connection-setup-interactive-shell): Remove workaround
7866         for OpenSolaris bug, it is not needed anymore.
7868 2010-03-24  Glenn Morris  <rgm@gnu.org>
7870         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
7872 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
7874         * files.el (auto-mode-alist): Accept more verilog file patterns.
7876 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7878         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
7880 2010-03-24  Glenn Morris  <rgm@gnu.org>
7882         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
7883         log-edit-before-checkin-process.
7885         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
7887         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
7889         * vc-dispatcher.el (vc-start-logentry): Doc fix.
7890         (log-view-process-buffer, log-edit-extra-flags): Declare.
7892         * log-edit.el (log-edit-before-checkin-process): Doc fix.
7894 2010-03-23  Sam Steingold  <sds@gnu.org>
7896         Fix bug#5620: recalculate all markers on compilation buffer
7897         modifications, not on file modifications.
7898         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
7899         the buffer modification time, for buffers not associated with files.
7900         (compilation-mode): Create it.
7901         (compilation-filter): Update it.
7902         (compilation-next-error-function): Use it instead of
7903         `visited-file-modtime' for timestamp.
7905 2010-03-23  Juri Linkov  <juri@jurta.org>
7907         Implement Occur multi-line matches.
7908         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
7910         * replace.el (occur): Doc fix.
7911         (occur-engine): Set `begpt' to the beginning of the first line.
7912         Set `endpt' to the end of the last match line.  At first, count
7913         line numbers between `origpt' and `begpt'.  Split out code from
7914         `out-line' variable to new let-bindings `match-prefix' and
7915         `match-str'.  In `out-line' add non-numeric prefix to all
7916         non-first lines of multi-line matches.  Finally, count lines
7917         between `begpt' and `endpt' and add to `lines'.
7919 2010-03-23  Juri Linkov  <juri@jurta.org>
7921         * replace.el (occur-accumulate-lines, occur-engine):
7922         Use `occur-engine-line' instead of duplicate code.
7923         (occur-engine-line): New function created from duplicate code
7924         in `occur-accumulate-lines' and `occur-engine'.
7926         * replace.el (occur-engine-line): Add optional arg `keep-props'.
7927         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
7929 2010-03-23  Juri Linkov  <juri@jurta.org>
7931         * finder.el: Remove TODO tasks.
7933         * info.el (Info-finder-find-node): Add node "all"
7934         with all package info.  Handle a list of multiple keywords
7935         separated by comma.
7936         (info-finder): In interactive use with a prefix argument,
7937         use `completing-read-multiple' to read a list of keywords
7938         separated by comma.
7940 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7942         Add a new completion style `substring'.
7943         * minibuffer.el (completion-basic--pattern): New function.
7944         (completion-basic-try-completion, completion-basic-all-completions):
7945         Use it.
7946         (completion-substring--all-completions)
7947         (completion-substring-try-completion)
7948         (completion-substring-all-completions): New functions.
7949         (completion-styles-alist): New style `substring'.
7951 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7953         Get rid of .elc files after removal of the corresponding .el.
7954         * Makefile.in (compile-clean): New target.
7955         (compile-main): Use it.
7957 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
7959         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
7960         don't do make there.  When compiling with separate object dir, there
7961         is no Makefile there.
7963 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7965         Get rid of the ELCFILES abomination, again.
7966         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7967         (all, compile): Don't call compile-last.
7968         (compile-main): Build the "elcfiles" list dynamically.
7969         (compile-targets): New (internal) target.
7971 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
7973         * Makefile.in (top_srcdir): Define.
7974         (abs_top_builddir): Define.
7975         (srcdir): Don't append `/..'.
7976         (EMACS): Use ${abs_top_builddir}.
7977         (all, compile, compile-always, compile-last): Don't set emacswd.
7978         (update-subdirs, update-authors): Use $(top_srcdir) instead of
7979         $(srcdir).
7980         (lisp): Use $(srcdir) instead of @srcdir@.
7982 2010-03-21  Juri Linkov  <juri@jurta.org>
7984         Fix message of multi-line occur regexps and multi-buffer header lines.
7985         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
7987         * replace.el (occur-1): Don't display regexp if it is longer
7988         than window-width.  Use `query-replace-descr' to display regexp.
7989         (occur-engine): Don't display regexp in the buffer header for
7990         multi-buffer occur.  Display a separate header line with total
7991         match count and regexp for multi-buffer occur.
7992         Use `query-replace-descr' to display regexp.
7994 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
7996         * net/secrets.el: Fix parenthesis.
7997         (secrets-enabled): Fix parenthesis.
7999 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8001         Use more relative file and directory names.
8002         * Makefile.in (EMACS): Arrange for it to work when we chdir.
8003         (setwins, setwins_almost, setwins_for_subdirs):
8004         Don't `cd'; output relative names.
8005         (all, compile, compile-always, compile-last): Set emacswd.
8006         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8007         Just cd to the lisp source dir so we can use relative file names.
8009         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8011 2010-03-20  Glenn Morris  <rgm@gnu.org>
8013         * textmodes/rst.el: Use faces for font-lock customization, and make the
8014         old -face variables obsolete.
8015         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8016         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8017         (rst-block-face, rst-external-face, rst-definition-face)
8018         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8019         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8020         Make obsolete.
8021         (rst-font-lock-keywords-function): Update for above changes.
8023 2010-03-20  Juri Linkov  <juri@jurta.org>
8025         * s-region.el:
8026         * obsolete/s-region.el: Move to obsolete.
8028 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
8030         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8032 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8034         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8036 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8038         Add special markup processing for commit logs.
8039         * log-edit.el (log-edit-extra-flags): New variable.
8040         (log-edit): Add new argument MODE.  Use that mode when non-nil
8041         instead of the log-view-mode.
8042         (log-view-process-buffer): New function.
8044         * vc.el: Document that the checkin method takes optional
8045         arguments.  Document new backend specific method: log-view-mode.
8046         (vc-default-log-edit-mode): New function.
8047         (vc-checkin): Use a backend specific log-view-mode.
8048         Pass extra arguments to the checkin method.
8049         (vc-modify-change-comment): Pass a dummy extra argument.
8051         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8052         log-edit.
8053         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8054         (vc-finish-logentry): Process the log buffer before passing it
8055         down.  Pass log-edit-extra-flags.
8057         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8058         command.
8059         (log-edit-extra-flags, log-edit-before-checkin-process):
8060         New declarations.
8062         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8063         command.
8064         (log-edit-extra-flags, log-edit-before-checkin-process):
8065         New declarations.
8066         (vc-hg-log-edit-mode): New derived mode.
8068         * vc-arch.el (vc-arch-checkin):
8069         * vc-cvs.el (vc-cvs-checkin):
8070         * vc-git.el (vc-git-checkin):
8071         * vc-mtn.el (vc-mtn-checkin):
8072         * vc-rcs.el (vc-rcs-checkin):
8073         * vc-sccs.el (vc-sccs-checkin):
8074         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8076 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8078         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8079         parent typo).
8081 2010-03-19  Glenn Morris  <rgm@gnu.org>
8083         * password-cache.el (password-cache, password-cache-expiry): Autoload.
8085 2010-03-18  Glenn Morris  <rgm@gnu.org>
8087         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8089         * replace.el (query-replace-history): Give it a doc string.
8090         (map-query-replace-regexp): Use query-replace-from-history-variable
8091         and query-replace-to-history-variable.
8093         * mail/hashcash.el (declare-function): Remove duplicate definition.
8095         * mail/emacsbug.el (report-emacs-bug-pretest-address):
8096         Make it an obsolete alias for report-emacs-bug-address.
8097         (message-strip-special-text-properties): Declare.
8098         (report-emacs-bug): Remove test for a pretest bug address.
8099         Combine message-mode-specific code.
8101         * mail/supercite.el: Don't require sendmail.
8102         (mh-in-header-p): Declare rather than using with-no-warnings.
8103         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8104         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
8106         * calendar/cal-french.el: Convert to utf-8.
8108         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8109         Emacs scripts.
8111 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
8113         * net/secrets.el (secrets-enabled): New variable.  Use it instead
8114         of a subfeature.
8116 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
8118         * net/secrets.el (top): Register the D-Bus signals only when the
8119         service "org.freedesktop.secrets" can be pinged.
8120         Provide subfeature `enabled'.
8122 2010-03-14  Juri Linkov  <juri@jurta.org>
8124         Add finder unknown keywords.
8126         * finder.el (finder-unknown-keywords): New function.
8128         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8129         to create a Finder node with unknown keywords.
8131 2010-03-14  Juri Linkov  <juri@jurta.org>
8133         * finder.el (finder-compile-keywords): Replace `princ' with
8134         `prin1' on a list of symbols interned from keyword strings.
8136         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8137         a comma, then split keywords using a comma and optional whitespace.
8138         Otherwise, split by whitespace.
8140         * complete.el:
8141         * face-remap.el:
8142         * log-view.el:
8143         * net/hmac-def.el:
8144         * net/hmac-md5.el:
8145         * net/netrc.el:
8146         * progmodes/mixal-mode.el: Fix keywords.
8148 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
8150         * Makefile.in (ELCFILES): Add net/secrets.elc.
8152         * net/secrets.el: New file.
8154 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8156         * facemenu.el (list-colors-display, list-colors-print): New arg
8157         callback.  Use it to allow selecting colors.
8159         * wid-edit.el (widget-image-insert): Insert image prop even if the
8160         current display is non-graphic.
8161         (widget-field-value-set): New fun.
8162         (editable-field): Use it.
8163         (widget-field-value-get): Clean up unused var.
8164         (widget-color-value-create, widget-color--choose-action):
8165         New funs.  Allow using list-colors-display to choose color.
8167 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8169         * cus-edit.el: Resort topmost custom groups.
8170         (custom-buffer-sort-alphabetically): Default to t.
8171         (customize-apropos): Use apropos-parse-pattern.
8172         (custom-search-field): New var.
8173         (custom-buffer-create-internal): Add custom-apropos search field.
8174         (custom-add-parent-links): Don't display parent doc.
8175         (custom-group-value-create): Don't sort top-level custom group.
8176         (custom-magic-value-create): Show visibility button before option name.
8178         (custom-variable-state): New fun, from custom-variable-state-set.
8179         (custom-variable-state-set): Use it.
8180         (custom-group-value-create): Hide options with standard values
8181         using the :hidden-states property.  Use progress reporter.
8183         (custom-show): Simplify.
8184         (custom-visibility): Disable images by default.
8185         (custom-variable): New property :hidden-states.
8186         (custom-variable-value-create): Enable images for
8187         custom-visibility widgets.  Use :hidden-states property to
8188         determine initial visibility.
8190         * wid-edit.el (widget-image-find): Give images center ascent.
8191         (visibility): Add :on-image and :off-image properties.
8192         (widget-visibility-value-create): Use them.
8194 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8196         * cus-edit.el (processes): Remove from development group.
8197         (oop, hypermedia): Delete group.
8198         (comm): Promote to top-level group.
8200         * net/browse-url.el (browse-url):
8201         * net/xesam.el (xesam):
8202         * net/tramp.el (tramp):
8203         * net/goto-addr.el (goto-address):
8204         * net/ange-ftp.el (ange-ftp): Put in comm group.
8206         * view.el (view): Remove from editing group.
8208         * uniquify.el (uniquify): Put in files group.
8210         * net/browse-url.el (browse-url):
8211         * ps-print.el (postscript): Put in external group.
8213         * cus-edit.el (outlines):
8214         * textmodes/text-mode.el (text-mode-hook):
8215         * textmodes/table.el (table):
8216         * textmodes/picture.el (picture):
8217         * outline.el (outlines): Put in wp group.
8219         * nxml/nxml-mode.el (nxml): Remove from wp group.
8221         * net/tramp-imap.el (tramp-imap): Put in tramp group.
8223         * mail/metamail.el (metamail): Remove from hypermedia group.
8225         * cus-edit.el (abbrev):
8226         * whitespace.el (whitespace):
8227         * vcursor.el (vcursor):
8228         * reveal.el (reveal):
8229         * hl-line.el (hl-line): Put in convenience group.
8231         * epg-config.el (epg): Put in data group.
8233         * emulation/pc-select.el (pc-select): Put in emulations group.
8235         * calculator.el (calculator): Put in applications group.
8237 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8239         Add .dir-locals.el support for file-less buffers.
8240         * files.el (hack-local-variables): Split out code to apply local
8241         variable settings ...
8242         (hack-local-variables-apply): ... here.  New function.
8243         (hack-dir-local-variables): Use the default directory for when the
8244         buffer does not have an associated file.
8245         (hack-dir-local-variables-non-file-buffer): New function.
8246         * diff-mode.el (diff-mode):
8247         * vc-annotate.el (vc-annotate-mode):
8248         * vc-dir.el (vc-dir-mode):
8249         * log-edit.el (log-edit-mode):
8250         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8252 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8254         Add support for shelving snapshots and for showing shelves.
8255         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8256         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8257         New functions.
8258         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8259         (vc-bzr-extra-menu-map): Map them.
8261 2010-03-11  Glenn Morris  <rgm@gnu.org>
8263         * cus-edit.el (customize-changed-options-previous-release):
8264         Bump to 23.1.
8266         * image.el (image-animate-max-time): Fix :version tag.
8268 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
8270         * Branch for 23.2.
8272 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8274         * vc-git.el (vc-git-revision-table): Include remote branches.
8276 2010-03-10  Kim F. Storm  <storm@cua.dk>
8278         Animated image API.
8279         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8281         * image.el (image-animate-max-time): New defcustom.
8282         (image-animated-types): New defconst.
8283         (create-animated-image, image-animate-timer)
8284         (image-animate-start, image-animate-stop, image-animate-timeout)
8285         (image-animated-p): New functions.
8287         * image-mode.el (image-toggle-display-image):
8288         Replace `create-image' with `create-animated-image'.
8290 2010-03-09  Miles Bader  <miles@gnu.org>
8292         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8293         instead of "format:"; this ensures that the output is
8294         newline-terminated.
8296 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
8298         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8299         that all errors are caught, and that the return value is always a
8300         list (Bug#5692).
8302 2010-03-08  Kenichi Handa  <handa@m17n.org>
8304         * language/misc-lang.el (windows-1256): New coding system.
8305         (cp1256): New alias of windows-1256 (bug#5690).
8307 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
8309         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8310         call to rfc822-bad-address.  (Bug#5692)
8312 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8314         * vc-git.el (vc-git-annotate-extract-revision-at-line):
8315         Use vc-git-root as default directory for revision path (Bug#5657).
8317 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
8319         * calculator.el (calculator): Don't bind split-window-keep-point
8320         (Bug#5674).
8322 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8324         * vc-git.el: Re-flow to fit into 80 columns.
8325         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8326         Remove spurious `quote' element in each case alternative.
8327         (vc-git-show-log-entry): Use prog1.
8328         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8330 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8332         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8334 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
8336         * macros.el (insert-kbd-macro): Look up keyboard macro using the
8337         definition, not the name (Bug#5481).
8339 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8341         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8342         argument with a local variable.  (Bug#5670)
8344 2010-03-02  Juri Linkov  <juri@jurta.org>
8346         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
8348 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
8350         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8351         error when FILENAME and NEWNAME are existing remote directories.
8353         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8354         parameter DIR-FLAG.
8356 2010-03-02  Glenn Morris  <rgm@gnu.org>
8358         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8359         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8361 2010-03-01  Kenichi Handa  <handa@m17n.org>
8363         * language/burmese.el (burmese-composable-pattern): Rename from
8364         myanmar-composable-pattern.
8366         * international/characters.el (script-list):
8367         * international/fontset.el (script-representative-chars):
8368         Change myanmar to burmese.
8369         (otf-script-alist): Likewise.
8370         (setup-default-fontset): Likewise.  Re-fix :otf spec.
8372 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
8374         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8376 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
8378         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8380 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8382         * net/tramp.el (tramp-handle-write-region): START can be a string.
8383         Take care in the checks.  Reported by Dan Davison
8384         <davison@stats.ox.ac.uk>.
8386 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8388         * net/dbus.el (dbus-introspect, dbus-get-property)
8389         (dbus-set-property, dbus-get-all-properties):
8390         Use `dbus-call-method' when noninteractive.  (Bug#5645)
8392 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
8394         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8395         * emacs-lisp/elint.el (elint-add-required-env):
8396         * calendar/icalendar.el (icalendar--add-diary-entry):
8397         * calc/calcalg2.el (math-tracing-integral):
8398         * files.el (recover-session-finish): Use with-current-buffer
8399         instead of save-excursion.
8401 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8403         Fix in-buffer completion when after-change-functions modify the buffer.
8404         * minibuffer.el (completion--replace): New function.
8405         (completion--do-completion): Use it and use relative movement.
8407 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
8409         * international/fontset.el (setup-default-fontset): Fix :otf spec.
8411 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
8413         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8414         Allow the characters _<> in the stack entry (Bug#5653).
8416 2010-02-26  Kenichi Handa  <handa@m17n.org>
8418         * language/burmese.el: Fix entries in composition-function-table.
8419         (myanmar-composable-pattern): New variable.
8421         * international/fontset.el (setup-default-fontset): Add an entry
8422         for myanmar.
8424         * international/characters.el (script-list): Add Myanmar
8425         Extended-A.
8427 2010-02-26  Glenn Morris  <rgm@gnu.org>
8429         * custom.el (custom-initialize-delay): Doc fix.
8431         * mail/sendmail.el (send-mail-function): Autoload the call
8432         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8434 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
8436         * files.el (hack-local-variables-filter): For eval forms, also
8437         check safe-local-variable-p (Bug#5636).
8439 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
8441         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8442         setting the modes by `ignore-errors'.  It might fail, for example
8443         if the file is not owned by the user but the group.
8444         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8446 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
8448         * files.el (directory-listing-before-filename-regexp): Use
8449         stricter matching for iso-style dates, to avoid false matches with
8450         date-like filenames (Bug#5597).
8452         * htmlfontify.el (htmlfontify): Doc fix.
8454         * eshell/eshell.el (eshell): Doc fix.
8456         * startup.el (fancy-about-screen): In mode-line, apply
8457         mode-line-buffer-id face only to the buffer name (Bug#5613).
8459 2010-02-20  Kevin Ryde  <user42@zip.com.au>
8461         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8462         In `watcom' anchor regexp to start of line, to avoid slowness
8463         (Bug#5599).
8465 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
8467         * subr.el (remove-yank-excluded-properties): Explain in a comment
8468         why `category' property is removed.
8470 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
8472         * isearch.el (isearch-update-post-hook, isearch-update): Revert
8473         2010-02-17 change.
8475 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
8477         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8478         (icalendar--convert-weekly-to-ical)
8479         (icalendar--convert-yearly-to-ical)
8480         (icalendar--convert-block-to-ical)
8481         (icalendar--convert-cyclic-to-ical)
8482         (icalendar--convert-anniversary-to-ical): Take care of time
8483         specifications where hour has 1-digit only (Bug#5549).
8485 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
8487         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8488         of disassemble output in GDB 7.1.
8490 2010-02-19  Glenn Morris  <rgm@gnu.org>
8492         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8493         property.  (Bug#5593)
8495 2010-02-18  Sam Steingold  <sds@gnu.org>
8497         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8499 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8501         Use abbreviated file names in bookmarks (bug#5591).
8502         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8503         calls to expand-file-name.
8504         (bookmark-relocate): Use abbreviated file names in bookmarks.
8505         (bookmark-load): Use abbreviated file names in messages.
8507 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
8509         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8510         expand "." and "..".  Reported by Thierry Volpiatto
8511         <thierry.volpiatto@gmail.com>.
8513 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
8515         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8516         permissions of the temporary file to "0600".  In case the remote
8517         file has no read permissions for the owner, there might be
8518         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
8520 22010-02-18  Glenn Morris  <rgm@gnu.org>
8522         * emacs-lisp/authors.el (authors-renamed-files-alist):
8523         Add entries for INSTALL.CVS.
8525 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
8527         * vc-bzr.el: Fix typo in Known Bugs section.
8529         * isearch.el (isearch-update-post-hook): New hook.
8530         (isearch-update): Use the new hook.
8532 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
8534         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8535         Fix errors in copying directories.
8536         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8537         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8538         (tramp-handle-delete-file)
8539         (tramp-handle-dired-recursive-delete-directory)
8540         (tramp-handle-write-region): Flush also the cache for the upper
8541         directory.
8543 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
8545         * simple.el (save-interprogram-paste-before-kill): Doc fix.
8547         * cus-edit.el (hardware): Doc fix.
8549         * man.el (man): Add to external custom group.
8551         * delim-col.el (columns): Move to wp custom group.
8553         * doc-view.el (doc-view): Add to data custom group.
8555         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
8557         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
8558         by ispell-parse-output (Bug#5575).
8560 2010-02-16  Kenichi Handa  <handa@m17n.org>
8562         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
8563         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
8564         (skkdic-convert): Use `euc-japan' coding system for writing.
8566 2010-02-16  Glenn Morris  <rgm@gnu.org>
8568         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
8569         tex-main-file before using it.  (Bug#5562)
8571 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8573         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
8574         warnings, since it is annoying for the user to see them each time he
8575         runs the code.
8577 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
8579         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
8580         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
8581         instead of PROC for caching "first-password-request".  Otherwise,
8582         new processes would not profit from passwords already entered.
8584         * net/tramp-cache.el (tramp-dump-connection-properties):
8585         Don't save "first-password-request" property.
8587 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
8589         * outline.el (outline-head-from-level):
8590         * simple.el (with-wrapper-hook):
8591         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
8592         (elint-defun, elint-buffer-env, elint-top-form-logged)
8593         (elint-unbound-variable):
8594         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
8595         Fix typos in docstrings.
8597 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
8599         * files.el (insert-directory): When WILDCARD-REGEXP and
8600         FULL-DIRECTORY-P are nil, insert the file entry instead of the
8601         whole directory.  (Bug#5551)
8603         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
8604         dired's alignment sanity.  (Bug#5516)
8606 2010-02-14  Juri Linkov  <juri@jurta.org>
8608         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
8609         Remove remaining ^H with their preceding chars.  (Bug#5566)
8611 2010-02-13  Glenn Morris  <rgm@gnu.org>
8613         * simple.el (transpose-subr): Give it a doc-string.
8615         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
8616         Doc fixes.
8618 2010-02-12  Juri Linkov  <juri@jurta.org>
8620         * arc-mode.el (archive-unique-fname): Make directories for nested
8621         archives.  (Bug#5540)
8623 2010-02-12  Juri Linkov  <juri@jurta.org>
8625         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
8627 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8629         * subr.el (copy-overlay): Handle deleted overlays.
8631         * man.el (Man-completion-table): Don't signal an error if we can't run
8632         manual-program (bug#4056).
8634 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
8636         * textmodes/artist.el (artist-mt): Fix typos in docstring.
8638 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8640         * info.el (Info-bookmark-jump): Simplify.
8642         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8643         (bookmark-default-handler): Accept new bookmark field `buffer'.
8645 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
8647         * iswitchb.el (iswitchb-completions): Revert last change.
8649 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
8651         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8652         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8653         This prevents file names like "~/" being listed literally.
8655 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
8657         * term/xterm.el (xterm-maybe-set-dark-background-mode):
8658         Remove dead code.  (Bug#5546)
8660 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
8662         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8663         correctly (Bug#5548).
8665 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
8667         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8668         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8670 2010-02-08  Kenichi Handa  <handa@m17n.org>
8672         * international/mule-util.el (with-coding-priority): Add autoload
8673         cookie for putting `lisp-indent-function'.
8675 2010-02-07  Glenn Morris  <rgm@gnu.org>
8677         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8678         Move F2003 named interfaces from keywords-2 to keywords-1, and
8679         use function-name-face rather than constant-face.
8680         Simplify "abstract interface" regexp.
8682 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
8684         * eshell/esh-util.el (eshell-file-attributes): New optional arg
8685         ID-FORMAT.  Pass it to `file-attributes'.
8687         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
8689 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
8691         * faces.el (set-face-attribute): Allow calling
8692         internal-set-lisp-face-attribute with 'unspecified family and
8693         foundry argument (Bug#5536).
8695 2010-02-07  Glenn Morris  <rgm@gnu.org>
8697         * progmodes/f90.el (f90-font-lock-keywords-2)
8698         (f90-looking-at-type-like, f90-looking-at-program-block-end):
8699         Handle F2003 named interfaces.
8701 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
8703         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
8704         beg and end before calling c-get-state-before-change-functions.
8706 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
8708         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
8710 2010-02-05  Juri Linkov  <juri@jurta.org>
8712         * doc-view.el (doc-view-mode):
8713         * image-mode.el (image-mode): Put property mode-class=special.
8714         (Bug#4896)
8716 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
8718         * vc-svn.el (vc-svn-revision-table): New function.
8720 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
8722         * net/ange-ftp.el (ange-ftp-insert-directory):
8723         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8724         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8725         Handle also directories.  (Bug#5478)
8727 2010-02-05  Glenn Morris  <rgm@gnu.org>
8729         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
8731 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
8733         * startup.el (command-line-1): Convert options beginning with a
8734         single dash as well (Bug#5519).
8736 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8738         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
8739         * minibuffer.el (completion-initials-expand): Only check the presence
8740         of delims *within* the boundaries, since otherwise the / delim is
8741         always found for files.
8743         Fix up various corner case problems.
8744         * doc-view.el (doc-view-last-page-number): New function.
8745         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
8746         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
8747         (doc-view-kill-proc): Avoid inf-loop in freak cases.
8748         (doc-view-reconvert-doc): Use the new recursive delete-directory.
8749         (doc-view-convert-current-doc): Don't create the resolution.el file
8750         here any more.
8751         (doc-view-pdf/ps->png): Do it here instead.
8752         (doc-view-already-converted-p): Check that resolution.el is present.
8753         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
8754         windows that are not yet showing images.
8756 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
8758         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
8759         `dired-uncache' for every elemnt which is an absolute file name.
8761         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
8762         directory, handle its directory component.
8763         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
8764         function is called permanently and creates noise, otherwise.
8766         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8767         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8768         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
8770 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
8772         * macros.el (apply-macro-to-region-lines):
8773         Minor simplification.  (Bug#5485)
8775 2010-02-04  Glenn Morris  <rgm@gnu.org>
8777         * mail/rmail.el (rmail-show-message-1): Handle malformed
8778         quoted-printable text.  (Bug#5441)
8780         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
8782         * simple.el (visual-line-mode): Capitalize lighter.
8784 2010-02-03  John Wiegley  <jwiegley@gmail.com>
8786         * iswitchb.el (iswitchb-completions): Add bookmark files to the
8787         list of files considered for "virtual buffer" completions.
8789 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
8791         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
8792         also in case of (and (not full) (not wildcard)).  This is needed
8793         when dired is called with a list of files, which are not in
8794         `default-directory'.  (Bug#5478)
8796 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8798         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
8800 2010-02-02  Juri Linkov  <juri@jurta.org>
8802         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
8803         from unidiff to allow function-line after @@.
8805 2010-02-02  Juri Linkov  <juri@jurta.org>
8807         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
8808         '(RCS SCCS) with inverted condition.
8810 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
8812         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
8813         messages.
8815 2010-02-01  Juri Linkov  <juri@jurta.org>
8817         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
8818         compare with "pkunzip" and "pkzip" instead of only "pkzip".
8819         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
8820         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
8822 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8824         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
8825         (doc-view-revert-buffer): New command.
8826         (doc-view-mode-map): Use it.
8828 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
8830         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
8831         pending merge is detected.
8833 2010-01-31  Juri Linkov  <juri@jurta.org>
8835         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
8836         beginning of interactive spec like all other grep commands do.
8837         Put "all" in front of "gz".  (Bug#5260)
8839 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
8841         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
8843 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
8845         * dirtrack.el (dirtrack): Warn instead of signalling error if the
8846         regexp is incorrect (Bug#5476).
8848 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
8850         * net/tramp.el (tramp-handle-insert-directory): Handle also
8851         symlinks, when FILENAME is not in `default-directory'.
8853 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
8855         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
8856         FILE is not in `default-directory'.  (Bug#5478)
8858         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
8859         of SWITCHES.  Handle the case, FILENAME is not in
8860         `default-directory'.  (Bug#5478)
8861         (tramp-register-file-name-handlers): Add safe-magic property.
8863 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
8865         * arc-mode.el (archive-zip-extract): Quote the argument passed to
8866         unzip (Bug#5475).
8868 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
8870         * progmodes/flymake.el (flymake-allowed-file-name-masks)
8871         (flymake-master-make-header-init): Add other C++ filename masks.
8872         (flymake-find-possible-master-files)
8873         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
8875 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
8877         Fix some busybox annoyances.
8879         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
8880         not responding." string.
8881         (tramp-open-connection-setup-interactive-shell): Dump stty
8882         settings.  Enable "neveropen" arg for all `tramp-send-command'
8883         calls.  Handle "=" in variable values properly.
8884         (tramp-find-inline-encoding): Raise an error, when no encoding is
8885         found.
8886         (tramp-wait-for-output): Check, whether PROC buffer is available.
8887         Remove spurious " ^H" sequences, sent by busybox.
8888         (tramp-get-ls-command): Suppress coloring, if possible.
8890 2010-01-28  Glenn Morris  <rgm@gnu.org>
8892         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
8894         * log-edit.el (log-edit-strip-single-file-name): Add missing
8895         :safe, :group, and :version tags.
8897 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
8899         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
8900         buffers.  (Bug#5477)
8902 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
8904         * files.el (delete-directory): Handle moving to trash without
8905         first doing recursion (Bug#5436).
8907 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
8909         * vc-hooks.el (vc-path): Mark as obsolete.
8911 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
8913         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
8914         names too.
8916         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
8917         for the short log.
8918         (vc-bzr-log-view-mode): Adjust regexp for the above change.
8920 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
8922         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
8924         * vc-bzr.el (vc-bzr-revision-table): New function.
8926 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
8928         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
8929         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
8931 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
8933         Remove support for adding --signoff on commit.
8934         Future support will use an incompatible generic mechanism.
8935         * vc-git.el (vc-git-add-signoff): Remove variable.
8936         (vc-git-toggle-signoff): Remove function.
8937         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
8939         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
8940         from xterm-set-background-mode.  Return t if the background mode
8941         was set.
8942         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
8943         earlier, call it again in case the background mode has changed.
8945 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
8947         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
8948         (Bug#3541).
8950 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
8952         * emacs-lisp/assoc.el (aelement): Doc fix.
8953         (aput, adelete, amake): Use lexical-let (Bug#5450).
8955 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
8957         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
8958         is the same as subprogram call, not declaration.  (Bug#5435).
8960 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
8962         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
8963         (tramp-smb-maybe-open-connection): Use it.
8965 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
8967         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
8969 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8971         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
8972         just because we see "encoding: 8bit".
8973         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
8975 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
8977         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
8979 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
8981         * jka-compr.el (jka-compr-load): If load-file is not in
8982         load-history, try its file-truename version.  (bug#5447)
8984 2010-01-21  Alan Mackenzie  <acm@muc.de>
8986         Fix a situation where deletion of a cpp construct throws an error.
8987         * progmodes/cc-engine.el (c-invalidate-state-cache):
8988         Before invoking c-with-all-but-one-cpps-commented-out, check that the
8989         special cpp construct is still in the buffer.
8990         (c-parse-state): Record the special cpp with markers, not numbers.
8992 2010-01-21  Kenichi Handa  <handa@m17n.org>
8994         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
8995         process last-command-event, as it is now decoded first (Bug#5380).
8997 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
8999         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9001 2010-01-20  Glenn Morris  <rgm@gnu.org>
9003         * indent.el (tab-always-indent): Fix custom-type.
9005 2010-01-19  Alan Mackenzie  <acm@muc.de>
9007         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9008         buffer throws "args out of range".
9009         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9010         playing the role of delimiter.
9012 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
9014         * progmodes/ada-mode.el: Fix bug#5400.
9015         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9016         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9017         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
9018         Improve comments in "is" portion.  Handle null procedure declaration.
9019         (ada-move-to-end): Improve doc string.
9021 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
9023         * ido.el (ido-cur-list): Initialize to nil.
9024         Remove obsolete information from commentary.
9025         (ido-choice-list): Initialize to nil.
9026         (ido-get-bufname): Reject minibuffers.
9027         (ido-make-buffer-list): If "default" is a nonexistent
9028         buffer, ignore it, as per the function's comment.
9029         (ido-kill-buffer-internal): New function.
9030         (ido-kill-buffer-at-head): Use it.
9031         (ido-visit-buffer): Likewise.
9033 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
9035         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9037 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
9039         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9040         Fix typos in chart titles.
9042         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9043         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9044         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9045         (describe-class, eieio-describe-generic, describe-generic):
9046         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9047         (eieio-speedbar-expand):
9048         * emulation/viper-cmd.el (viper-exec-form-in-vi)
9049         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9050         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9051         (viper-del-backward-char-in-replace, viper-backward-indent)
9052         (viper-brac-function, viper-register-to-point, viper-submit-report):
9053         * net/tramp.el (tramp-remote-coding-commands):
9054         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9055         Fix typos in docstrings.
9057 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
9059         * mail/sendmail.el (mail-yank-original): Set the mark if the
9060         specified function for yanking does not do it.
9062 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
9064         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
9066         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9067         resyncing a directory.
9069 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
9071         * progmodes/ada-mode.el: Fix bug#1920.
9072         (ada-ident-re): Delete ., allow multibyte characters.
9073         (ada-goto-label-re): New; matches goto labels.
9074         (ada-block-label-re): New; matches block labels.
9075         (ada-label-re): New; matches both.
9076         (ada-named-block-re): Deleted; callers changed to use
9077         `ada-block-label-re' instead.
9078         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9079         Use `ada-block-label-re'.
9080         (ada-indent-on-previous-lines): Improve handling of goto labels.
9081         (ada-get-indent-block-start): Special-case block label.
9082         (ada-get-indent-label): Split into `ada-indent-block-label' and
9083         `ada-indent-goto-label'.
9084         (ada-goto-stmt-start, ada-goto-next-non-ws):
9085         Optionally ignore goto labels.
9086         (ada-goto-next-word): Simplify.
9087         (ada-indent-newline-indent-conditional): Insert newline before
9088         trying to fix indentation; doc fix.
9090 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
9092         * calc/calc.el (calc-command-flags): Give it an initial value.
9094 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
9096         * files.el (minibuffer-with-setup-hook):
9097         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9098         (artist-key-draw-continously, artist-key-do-continously-continously)
9099         (artist-key-set-point-continously, artist-mouse-draw-continously):
9100         Fix typos in docstrings.
9102 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
9104         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9105         return t (Bug#3898).
9107 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
9109         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9110         can parse the output of the external commands (Bug#5279).
9112 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
9114         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9116 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
9118         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9120         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9122         * startup.el (command-line): Remove unused --icon-type arg.
9123         Handle --display arg, passing it to command-line-1 (Bug#5392).
9125 2010-01-16  Mario Lang  <mlang@delysid.org>
9127         * emacs-lisp/chart.el (chart-translate-namezone):
9128         * textmodes/artist.el (artist-compute-popup-menu-table):
9129         Remove duplicated words in doc-strings.
9131 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
9133         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9134         to mairix-search to suppress threading (Bug#5342).
9136 2010-01-15  Kenichi Handa  <handa@m17n.org>
9138         * international/mule-cmds.el (canonicalize-coding-system-name):
9139         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9141 2010-01-15  Glenn Morris  <rgm@gnu.org>
9143         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
9145         * wid-edit.el (widget-keymap): Doc fix.
9147         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9148         former seems to be more widely accepted by various svn versions.
9150 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9152         * find-cmd.el (find-constituents):
9153         * vc-arch.el (vc-arch-root):
9154         * window.el (window-body-height, pop-up-frames):
9155         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9156         * progmodes/ada-stmt.el (ada-if):
9157         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9158         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9159         (ispell-encoding8-command, ispell-aspell-supports-utf8)
9160         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9162         * progmodes/flymake.el (flymake-post-syntax-check):
9163         Fix typo in error message.
9165 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9167         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9168         which is always a string.  (Bug#5313)
9170 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9172         * progmodes/ada-xref.el (ada-default-prj-properties):
9173         Simplify previous change.
9175 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9177         * progmodes/ada-xref.el (ada-default-prj-properties):
9178         Default ada_project_path to $ADA_PROJECT_PATH.
9180 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9182         * progmodes/ada-mode.el (ada-create-keymap):
9183         Override `narrow-to-defun' with `ada-narrow-to-defun'.
9185 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9187         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9188         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9189         (ada-get-current-indent, ada-imenu-generic-expression)
9190         (ada-which-function): Check for it.
9192 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9194         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9195         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9197 2010-01-14  Glenn Morris  <rgm@gnu.org>
9199         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
9201 2010-01-14  Kenichi Handa  <handa@m17n.org>
9203         * composite.el (auto-composition-mode): Make it a buffer local
9204         variable (permanent-local).
9205         (auto-composition-function): Set the default value to
9206         auto-compose-chars.
9207         (auto-composition-mode): Make it a simple function, not a minor mode.
9208         (global-auto-composition-mode): Likewise.
9209         (turn-on-auto-composition-if-enabled): Delete it.
9211 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
9213         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9215 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
9217         * files.el (copy-directory): Compute target for recursive
9218         directories with identical names.  (Bug#5343)
9220 2010-01-12  Glenn Morris  <rgm@gnu.org>
9222         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9223         it to bug-gnu-emacs rather than emacs-pretest-bug.
9225 2010-01-11  Sam Steingold  <sds@gnu.org>
9227         * imenu.el (imenu-default-create-index-function): Detect infinite
9228         loops caused by imenu-prev-index-position-function.
9230 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9232         * htmlfontify.el (htmlfontify-load-rgb-file)
9233         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9234         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9235         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9236         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9237         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9238         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9239         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9240         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9241         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9242         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9243         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9244         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9245         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9246         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9247         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9248         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9249         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9250         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9251         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9252         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9253         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9254         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9255         backslash-quoting from parentheses, etc.
9257 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
9259         * progmodes/js.el: Autoload javascript-mode alias.
9261 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9263         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9264         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9265         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9266         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9267         Fix typos in docstrings.
9268         (ffap-url-regexp): Doc fix.
9269         (ffap-at-mouse): Fix typo in message.
9271 2010-01-11  Glenn Morris  <rgm@gnu.org>
9273         * version.el (emacs-copyright): Set copyright year to 2010.
9275 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9277         * format.el (format-annotate-function): Only set
9278         write-region-post-annotation-function after running to-fn so as not to
9279         affect nested write-region calls (bug#5273).
9281 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
9283         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9284         wisent/python.el.
9286 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9288         * man.el (Man-goto-section): Signal error if the section is not
9289         found (Bug#5317).
9291 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
9293         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9294         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
9296 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9298         * progmodes/compile.el: Don't treat compile-command as safe if
9299         compilation-read-command might be nil (Bug#4218).
9301 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
9303         * startup.el (command-line-1): Use orig-argi to check for ignored X and
9304         NS options.
9306 2010-01-08  Kenichi Handa  <handa@m17n.org>
9308         * international/fontset.el (build-default-fontset-data):
9309         Exclude characters in scripts kana, hangul, han, or cjk-misc.
9311 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
9313         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9314         to `create-file-buffer' as it expects, not just a buffer name.
9315         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9316         to help uniquify.  (Bug#3224)
9318 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
9320         * font-setting.el (font-setting-change-default-font): Use user-spec
9321         instead of name.
9323 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
9325         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9327 2010-01-05  Tom Tromey  <tromey@redhat.com>
9329         * progmodes/python.el (python-font-lock-keywords):
9330         Handle qualified decorators (Bug#881).
9332 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9334         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9335         in a lightweight checkout.
9337 2010-01-05  Kenichi Handa  <handa@m17n.org>
9339         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9341 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9343         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9345 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
9347         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9348         checkouts.  (Bug#618)
9349         (vc-bzr-log-view-mode): Also highlight the author.
9350         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9351         (vc-bzr-shelve-menu-map):
9352         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9353         (vc-bzr-shelve-apply): Make prompt more explicit.
9355 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
9357         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9358         They are valid characters in URL paths (rfc3986), and at least
9359         Firefox does not understand the encoded version (Bug#3166).
9361 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
9363         * progmodes/octave-mod.el (octave-end-keywords)
9364         (octave-block-begin-or-end-regexp, octave-block-match-alist):
9365         Add "end" keyword (Bug#3061).
9366         (octave-end-as-array-index-p): New function.
9367         (calculate-octave-indent): Use it.
9369 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9371         * bookmark.el: Consistently put the text property on the bookmark name.
9372         (bookmark-bmenu-marks-width): Bump back to 2, to include
9373         annotation marks.
9374         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9375         property on the bookmark name, instead of not putting it at all.
9376         (bookmark-bmenu-list): Fix where we put the text property.
9378 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9380         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9381         for showing buffer modified state (as added in the previous change).
9383 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9385         * bookmark.el: Show modified state of bookmark buffer more accurately.
9386         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9387         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9388         (with-buffer-modified-unmodified): New macro.
9389         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9390         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9391         Use new macro to preserve the buffer modified state.
9393 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9395         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9396         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9397         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9398         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9399         (bookmark-bmenu-rename, bookmark-bmenu-locate)
9400         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9401         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9403 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9405         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9406         Make the lines in the generated doc string shorter.  (Bug#4668)
9408 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
9410         * net/rcirc.el: Add follow-link binding (Bug#4738).
9412 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9414         * Makefile.in (bzr-update): Rename from cvs-update.
9415         (cvs-update): New target for backward compatibility.
9417         * makefile.w32-in (bzr-update): Rename from cvs-update.
9418         (cvs-update): New target for backward compatibility.
9420 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9422         * bookmark.el: Remove gratuitous gratitude.
9424 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9426         * bookmark.el (bookmark-bmenu-any-marks): New function.
9427         (bookmark-bmenu-save): Clear buffer modification if no marks.
9429 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9431         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9432         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9433         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9434         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9436         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9437         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9438         To: emacs-devel {_AT_} gnu.org
9439         Subject: bookmark.el bug report
9440         Date: Mon, 28 Dec 2009 14:19:16 +0800
9441         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9443 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9445         * bookmark.el: Improvements suggested by Drew Adams:
9446         (bookmark-bmenu-ensure-position): New name for
9447         `bookmark-bmenu-check-position'.  Just ensure the position,
9448         don't return any meaningful value.
9449         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9450         New constants.
9452 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
9454         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9455         (bookmark-yank-point, bookmark-bmenu-check-position):
9456         Fix typos in docstrings.
9457         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9458         (bookmark-name-from-full-record, bookmark-get-position)
9459         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9460         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9461         Remove useless quoting of parenthesis, etc. in docstrings.
9463         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9464         (ediff-append-custom-diff): Fix typo in error message.
9465         (ediff-meta-mark-equal-files): Fix typos in messages.
9467         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9469         * net/imap-hash.el (imap-hash-make): Doc fix.
9470         (imap-hash-test): Fix typo in error message; reflow docstring.
9471         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9472         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9473         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9474         Fix typos in docstrings.
9475         (imap-hash-open-connection): Fix typo in error message.
9477         * play/gomoku.el (gomoku): Fix typos in docstring.
9479         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9480         (gdb-jsonify-buffer): Fix typos in docstring.
9481         (gdb-goto-breakpoint): Fix typo in error message.
9482         ("Display Other Windows"): Fix typo in help message.
9483         (gdb-speedbar-expand-node): Fix typo in question.
9485         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9486         (idlwave-html-system-help-location, idlwave-html-help-location)
9487         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9488         (idlwave-help-browser-generic-args, idlwave-help-directory)
9489         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9490         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9491         (idlwave-online-help, idlwave-help-html-link)
9492         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9493         Fix typos in docstrings.
9494         (idlwave-help-with-source, idlwave-help-find-routine-definition):
9495         Reflow docstrings.
9496         (idlwave-help-assistant-start): Fix typo in error message.
9498         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9499         (octave-electric-space): Fix typos in docstrings.
9501 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
9503         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9505 2010-01-01  Juri Linkov  <juri@jurta.org>
9507         * comint.el (comint-input-ring-size): Make it a defcustom and
9508         increase the default to 500 (Bug#5148).
9510 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
9512         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9513         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9514         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9516 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
9518         Show working revision correctly for mercurial.
9519         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9520         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9522 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
9524         Declare some functions for the byte-compiler.
9525         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9526         (speedbar-timer-fn, speedbar-change-expand-button-char)
9527         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9529 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
9531         This changeset reverts GDB Graphical Interface to use annotations.
9532         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9534 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
9536         Make vc-dir work on subdirectories of the bzr root.
9537         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
9538         file names relative to it.
9539         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9540         relative directory to vc-bzr-after-dir-status.
9542 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
9544         * font-lock.el (font-lock-refresh-defaults): New function, which
9545         can be used to let font-lock react to external changes in
9546         variables like font-lock-defaults and keywords.
9547         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9549 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
9551         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
9553         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
9555 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
9557         Supersede color.diff settings in git log (bug#5211).
9559         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
9560         escape chars in its output when the user has color.diff set to `always'.
9561         This fix works on git 1.4.2 and newer (released on 2006-08-13).
9563 2009-12-26  Kevin Ryde  <user42@zip.com.au>
9565         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
9566         node.  Keep previous "Index" name to work with past coreutils too.
9568         * man.el (man): Revise docstring a bit to show -a and -l as
9569         examples.  Add -k description since support for it has otherwise
9570         been a secret.  (Further to bug#3717.)
9571         (Man-bgproc-sentinel): When "-k foo" produces no output show error
9572         "no matches" rather than "Can't find manpage", as the latter reads
9573         like -k was interpreted as a page name, which is not so.  (Bug#5431)
9575 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
9577         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
9578         switches.  Check also for //SUBDIRED// line.
9580 2009-12-25  Kenichi Handa  <handa@m17n.org>
9582         * language/indian.el (devanagari-composable-pattern): Fixed to
9583         handle ZWNJ and ZWJ.  Use it in composition-function-table for
9584         Devanagari.
9585         (malayalam-composable-pattern): Fix previous change.
9587 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9589         * ps-print.el (ps-face-attributes): It was not returning the
9590         attribute face for faces specified as string.  Reported by harven
9591         <harven@free.fr>.  (Bug#5254)
9592         (ps-print-version): New version 7.3.5.
9594 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
9596         * calendar/icalendar.el (icalendar--convert-tz-offset):
9597         Fix timezone names.
9598         (icalendar--convert-tz-offset): Fix the "last-day-problem".
9599         (icalendar--add-diary-entry): Remove the trailing blank that
9600         diary-make-entry inserts.
9602 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
9604         Make `file-expand-wildcards' work for remote files.
9606         * files.el (file-expand-wildcards): In case of remote files, check
9607         only local file name part for wildcards.  Provide feature 'files
9608         and subfeature 'remote-wildcards.  (Bug#5198)
9610         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
9611         if there is already an established connection.
9612         (tramp-advice-file-expand-wildcards): Remove it.
9614         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
9615         (tramp-advice-file-expand-wildcards): Move from tramp.el.
9616         Activate advice for older GNU Emacs versions.  (Bug#5237)
9618 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
9620         Some doc fixes (more needed).
9622         * find-cmd.el (find-constituents): Reflow docstring.
9623         (find-cmd, find-prune, find-command): Fix typos in docstrings.
9624         (find-generic): Doc fix.
9626 2009-12-17  Juri Linkov  <juri@jurta.org>
9628         Fix regression from 23.1 to allow multiple modes in Local Variables.
9630         * files.el (hack-local-variables-filter): While ignoring duplicates,
9631         don't take `mode' into account.
9632         (hack-local-variables-filter, hack-dir-local-variables):
9633         Don't remove duplicate `mode' from local-variables-alist (like `eval').
9635 2009-12-17  Juri Linkov  <juri@jurta.org>
9637         Make `dired-diff' safer.  (Bug#5225)
9639         * dired-aux.el (dired-diff): Signal an error when `file' equals to
9640         `current' or when `file' is a directory of the `current' file.
9642 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
9644         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9645         unconditionally preloaded files.
9647 2009-12-16  Juri Linkov  <juri@jurta.org>
9649         Revert to old 23.1 logic of using the file at the mark as default.
9650         * dired-aux.el (dired-diff): Use the file at the mark as default
9651         if it's not the same as the current file, and the target dir is
9652         the current dir or the mark is active.  Add the current file
9653         as the arg of `dired-dwim-target-defaults'.  Use the default file
9654         in the prompt.  (Bug#5225)
9656 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
9658         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9659         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9660         (tramp-check-for-regexp): Check also, when an echoing shell stops
9661         to echo sent commands.
9663 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
9665         * Makefile.in: Revert last change (Bug#5191).
9667 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
9669         * vc-hg.el (vc-hg-print-log): Fix argument order.
9670         (vc-hg-working-revision): Make sure the command is executed in a
9671         known environment so that we can parse the output.  (Bug#4417)
9673 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
9675         * progmodes/python.el (python-symbol-completions): Remove text
9676         properties from symbol string before calling python-send-receive.
9678 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
9680         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9681         when there are values for both file and line.  (Bug#5060)
9683 2009-12-14  Juri Linkov  <juri@jurta.org>
9685         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
9686         whitespace after the file name of the first line of unified format,
9687         because git-diff doesn't output whitespace and file modification time
9688         after the file name.
9690 2009-12-14  David Kastrup  <dak@gnu.org>
9692         * info.el (Info-hide-cookies-node): Before hiding a cookie,
9693         check if it already has the `display' property added by
9694         `Info-display-images-node', and not put the `invisible' property
9695         in this case.
9697 2009-12-13  Glenn Morris  <rgm@gnu.org>
9699         * mail/emacsbug.el (message-sort-headers): Define for compiler.
9700         (report-emacs-bug): In message-mode, sort manually before storing
9701         original report text.  (Bug#5178)
9702         Remove superfluous save-excursion.
9704 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
9706         * net/dbus.el (dbus-property-handler): Filter lambda forms out
9707         when responding to "GetAll" properties.
9709 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
9711         * simple.el (compose-mail): Remove mail-setup-with-from from
9712         customization checks.
9714 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
9716         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
9717         RAR archives created on Unix systems.
9719 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9721         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
9722         the varalias that was accidentally removed by the 2009-11-19 change
9723         (bug#5186).
9725 2009-12-12  Kenichi Handa  <handa@m17n.org>
9727         * language/indian.el (indian-compose-regexp): New function.
9728         (malayalam-composable-pattern): Fix the pattern.
9729         (composition-function-table): Set malayalam-composable-pattern for
9730         Malayalam characters.
9732 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
9734         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
9735         rather than down-mouse-1, based on follow-link conventions.
9737         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
9738         are compiled.
9740 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
9742         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
9743         (verilog-vmm-statement-re, verilog-ovm-statement-re)
9744         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
9745         (verilog-leap-to-head, verilog-backward-token):
9746         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
9748 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
9750         * progmodes/verilog-mode.el (verilog-auto-lineup)
9751         (verilog-nameable-item-re): Cleanup user-visible spelling and
9752         documentation errors.  One reported by Gary Delp.
9753         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
9754         (verilog-read-decls): Fix AUTOWIRE with types declared in a
9755         package, bug195.  Reported by Pierre-David Pfister.
9757 2009-12-11  Glenn Morris  <rgm@gnu.org>
9759         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
9761         * mail/emacsbug.el: No longer require sendmail.
9762         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
9763         (report-emacs-bug-orig-text): Doc fix.
9764         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
9765         New local variables, to adapt to different mail-user-agents.
9766         (report-emacs-bug): Fix test for a gnu.org address.
9767         Use overlays for emphasis, since font-lock defeats 'face property.
9768         Pretest bugs also end up at the newsgroup these days.
9769         Stop message-mode stripping text properties.
9770         Set and use the new buffer-local variables.
9771         (report-emacs-bug-hook): Add doc-string.
9772         Remove some unnecessary save-excursions and simplify.
9773         Use the appropriate hook and send-command.
9775         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
9776         capitalization of some menu entries.
9778 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9780         * whitespace.el (whitespace-display-char-on):
9781         Ensure `buffer-display-table' is unique when two or more windows are
9782         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
9783         New version 12.1.
9785 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
9787         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
9788         characters in the Attribute field.
9790 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
9792         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
9794 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9796         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
9797         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9798         Disregard autoload-excludes.
9799         (update-directory-autoloads): Obey autoload-excludes here instead.
9800         But don't store its contents in no-autoloads and remove entries that
9801         refer to excludes files.
9803 2009-12-10  Glenn Morris  <rgm@gnu.org>
9805         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
9806         (expand-mail-aliases): Define for compiler.
9808         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
9809         Define for compiler.
9811         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
9812         appropriate for the mail-user-agent in use.
9814 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
9816         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
9818 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
9820         Fix short log parsing and fontification.
9821         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
9822         Fix fontification for the [merge] label.
9824 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
9826         Drop some properties to avoid surprises (bug#5002).
9827         * htmlfontify.el (hfy-ignored-properties): New defcustom.
9828         (hfy-fontify-buffer): Use it.
9830 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9832         Minor cleanup.
9833         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
9834         Adjust all callers.
9835         (ffap-locate-file): Remove unused arg `dir-ok' and make other
9836         args compulsory.  Adjust callers.
9837         (ffap-gopher-at-point): Remove unused var `name'.
9839         Get rid of the ELCFILES abomination.
9840         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9841         (compile-elcfiles): New phony target.
9842         (compile-main): Compute ELCFILES dynamically.
9843         (compile-clean): New target to remove left-over elc files.
9844         (compile, all): Use it.
9846 2009-12-09  Kenichi Handa  <handa@etlken>
9848         * international/mule-diag.el: Require help-mode instead of help-fns.
9850 2009-12-09  Kenichi Handa  <handa@m17n.org>
9852         * international/mule-cmds.el (ucs-names): Supply sufficiently
9853         fine ranges instead of pre-calculating accurate ranges.
9854         Iterate with bigger gc-cons-threshold.
9856 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
9858         Add support for stashing a snapshot of the current tree.
9859         * vc-git.el (vc-git-stash-snapshot): New function.
9860         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
9862 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
9864         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
9865         instead of `(beginning|end)-of-line'.
9867 2009-12-08  Glenn Morris  <rgm@gnu.org>
9869         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
9871         * Makefile.in (ELCFILES): Regenerate.
9873 2009-12-07  Juri Linkov  <juri@jurta.org>
9875         Don't lazy-highlight the comint output in history Isearch mode.
9877         * comint.el (comint-history-isearch-search): Instead of
9878         `comint-line-beginning-position', use `comint-after-pmark-p'
9879         to check if point if before the process mark, and go to
9880         `process-mark' in this case.
9882 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9884         * textmodes/tex-mode.el (latex-complete)
9885         (latex-indent-or-complete): Remove.
9886         (latex-mode): Set completion-at-point-functions instead.
9888         Provide a standard completion command and hook it into TAB.
9889         * minibuffer.el (completion-at-point-functions): New var.
9890         (completion-at-point): New command.
9891         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
9892         * progmodes/python.el (python-mode-map): Use completion-at-point.
9893         (python-completion-at-point): Rename from python-partial-symbol and
9894         adjust for use in completion-at-point-functions.
9895         (python-mode): Setup completion-at-point for Python completion.
9896         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
9897         extracted from lisp-complete-symbol.
9898         (lisp-complete-symbol): Use it.
9899         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
9900         setup completion-at-point for Elisp completion.
9901         (emacs-lisp-mode-map, lisp-interaction-mode-map):
9902         Use completion-at-point.
9903         * ielm.el (ielm-map): Use completion-at-point.
9904         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
9905         * progmodes/sym-comp.el: Move to...
9906         * obsolete/sym-comp.el: Move from progmodes.
9908 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
9910         Prevent save-buffer in Rmail buffers from using the coding-system
9911         of the current message, and from clobbering the encoding mnemonics
9912         in the mode line (Bug#4623).
9914         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
9915         flag, too.
9916         (rmail-message-encoding): New variable.
9917         (rmail-write-region-annotate): Record the encoding of the current
9918         message in rmail-message-encoding.
9919         (rmail-after-save-hook): New function, restores the encoding of
9920         the current message after the message collection is saved.
9922 2009-12-07  Juri Linkov  <juri@jurta.org>
9924         * progmodes/grep.el (grep-read-files): Use `completing-read'
9925         instead of `read-string'.  Set its `collection' arg to
9926         `read-file-name-internal'.  (Bug#4301)
9928 2009-12-07  Juri Linkov  <juri@jurta.org>
9930         Correctly restore original Isearch point.  (Bug#4994)
9932         * isearch.el (isearch-mode): Move `isearch-push-state' after
9933         `(run-hooks 'isearch-mode-hook)'.
9934         (isearch-cancel): When `isearch-push-state-function' is defined,
9935         let-bind `isearch-cmds' to the first state (the last element of
9936         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
9937         function and restores the original point).  Otherwise, move point
9938         to `isearch-opoint'.
9940 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9942         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
9943         chars that don't have names, so the table can be built much faster at
9944         run-time.
9946 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
9948         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
9949         change.  Suggested by David Kastrup.
9951         * simple.el (compose-mail): Check for incompatibilities and warn.
9952         (compose-mail-user-agent-warnings): New option.
9954 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
9956         Support showing a single log entry from vc-annotate.
9957         * vc.el (print-log): Add a new argument: START-REVISION.
9958         (vc-print-log-internal): Add a new optional argument and
9959         pass it to the backend.
9960         (vc-print-log, vc-print-root-log): Adjust callers.
9961         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
9962         buffer already displays the requested log entry, use it.
9963         Otherwise display only the log entry in question.
9964         * vc-svn.el (vc-svn-print-log):
9965         * vc-mtn.el (vc-mtn-print-log):
9966         * vc-hg.el (vc-hg-state):
9967         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
9968         (vc-git-show-log-entry): Return t on success.
9969         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
9970         (vc-bzr-show-log-entry): Return t on success.
9971         * vc-rcs.el (vc-rcs-print-log):
9972         * vc-sccs.el (vc-sccs-print-log):
9973         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
9975 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
9977         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
9978         Add menus to the meta mode.  (Bug#5043)
9980 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
9982         * ediff-init.el (ediff-event-key): Use event-to-character instead of
9983         event-key.
9985         * ediff.el (ediff-buffers-internal): Add unwind-protect.
9987 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
9989         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
9990         Berbain <raphael.berbain@gmail.com>.
9992         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
9993         characters.
9994         (tramp-initial-end-of-output): New defconst.
9995         (tramp-methods, tramp-find-shell)
9996         (tramp-open-connection-setup-interactive-shell)
9997         (tramp-maybe-open-connection): Use it.
9998         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
9999         existence of `#' and `$'.
10001         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10002         `tramp-initial-end-of-output'.
10004 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10006         Get the background mode from the terminal for xterm, and set
10007         faces accordingly.
10008         * term/xterm.el (xterm-set-background-mode): New function.
10009         (terminal-init-xterm): Use it in case xterm supports background
10010         color queries.  Recompute faces after getting the background
10011         color.
10013 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
10015         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10016         number comment back on its own line, for easier parsing.
10018 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10020         Make it work for non-file buffers (bug#5102).
10021         * doc-view.el (doc-view-current-cache-dir):
10022         Use doc-view-buffer-file-name rather than buffer-file-name.
10023         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10025 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
10027         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10028         author field is too short.
10030 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
10032         * vc-git.el (vc-git-print-log): Handle a limit argument.
10033         Display the short log in graph form and with labels.
10034         (vc-git-log-view-mode): Handle labels.
10036         Make vc-revert change VC state from 'added to 'unregistered.
10037         * vc-git.el (vc-git-revert): Call git reset first.
10039 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10041         * net/newst-backend.el, net/newst-plainview.el:
10042         * net/newst-reader.el, net/newst-ticker.el:
10043         * net/newst-treeview.el, net/newsticker.el:
10044         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
10046 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10048         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10050         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10051         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
10052         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10053         Update annotation regexp.
10055         * simple.el (beginning-of-visual-line): Constrain to field
10056         boundaries (Bug#5106).
10058 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10060         * xml.el (xml-substitute-numeric-entities): Move
10061         newsticker--decode-numeric-entities in newst-backend.el to
10062         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10063         * net/newst-backend.el (newsticker--parse-generic-feed)
10064         (newsticker--parse-generic-items)
10065         (newsticker--decode-numeric-entities): Move
10066         newsticker--decode-numeric-entities in newst-backend.el to
10067         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10069 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
10071         * progmodes/js.el (js--js-not): Add null to the list of values.
10073 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10075         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10077 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10079         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10080         delimiter if it is at the end of the current line.
10081         (bibtex-generate-url-list): Fix docstring.
10083 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10085         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10086         minibuffer's content with itself.
10087         Fold the confirm-after-completion case into the `confirm' case.
10088         (completion-pcm-word-delimiters): Add : and / to the delimiters.
10090 2009-12-06  Kevin Ryde  <user42@zip.com.au>
10092         * ffap.el (ffap-rfc-path): Make this a defcustom since
10093         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
10095         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10096         manuals, similar to existing setup for help-mode.  (Bug#3913.)
10098 2009-12-05  Juri Linkov  <juri@jurta.org>
10100         Save and restore dired buffer's point positions too.  (Bug#4880)
10102         * dired.el (dired-save-positions): Return in the first element
10103         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10104         Doc fix.
10105         (dired-restore-positions): First restore buffer's position.
10106         While restoring window's positions, check if window still displays
10107         the original buffer.
10109 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
10111         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10112         if possible.
10114         * shell.el (shell): Require ansi-color (Bug#5113).
10116         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10118         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10120 2009-12-05  Alan Mackenzie  <acm@muc.de>
10122         * progmodes/cc-mode.el (c-before-hack-hook)
10123         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10124         `c-file-style' to work again.  This reversion restores the current
10125         software to its state in Emacs 23.1.  (Bug#4146)
10127 2009-12-05  Kevin Ryde  <user42@zip.com.au>
10129         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10130         comment-start-skip to comment-end-skip as comment (Bug#4781).
10132 2009-12-05  Juri Linkov  <juri@jurta.org>
10134         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10135         for virtual nodes.  (Bug#4147)
10136         (Info-find-node-2): Set `Info-current-node-virtual' to nil
10137         when moving from a virtual node.
10138         (Info-mode-menu): Add `Info-virtual-index' to the menu.
10139         (Info-mode): Add `Info-virtual-index' to the docstring.
10141 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10143         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10144         track of the buffer position of the end of a BibTeX entry as this
10145         position may change during reformatting.
10146         (bibtex-format-entry): Remove whitespace before processing
10147         numerical fields so that we recognize the latter properly.
10148         (bibtex-reformat): Do not use push which changes the global value
10149         of bibtex-entry-format.
10150         (bibtex-field-braces-alist, bibtex-field-strings-alist)
10151         (bibtex-field-re-init): Replace only space characters by regexp
10152         for whitespace.
10153         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10154         (bibtex-initialize): Also update bibtex-strings.
10155         (bibtex-kill-field): Preserve white space at end of entry.
10156         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10157         Update bibtex-reference-keys.
10159 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10161         * minibuffer.el (completion-pcm--merge-try): Also consider placing
10162         point after a star, if that's the only place where modifications can
10163         make progress.
10165 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
10167         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10168         in docstrings.
10170 2009-12-04  Juri Linkov  <juri@jurta.org>
10172         * proced.el (proced): Call `(proced-update t)' to update process
10173         information instead of only running proced-post-display-hook.
10174         (proced-send-signal): Add a leading space to the buffer name
10175         " *Marked Processes*" to make this buffer ephemeral.
10177 2009-12-04  Juri Linkov  <juri@jurta.org>
10179         * dired.el (dired-auto-revert-buffer): New defcustom.
10180         (dired-internal-noselect): Use it.
10182 2009-12-04  Juri Linkov  <juri@jurta.org>
10184         Change roles of modes and functions in image-mode.el (Bug#5062).
10186         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10187         in `auto-mode-alist'.
10188         (image-mode-previous-major-mode): New variable.
10189         (image-minor-mode-map): Rename from `image-mode-text-map'.
10190         (image-mode): Move graceful error-handling code from
10191         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
10192         (image-minor-mode): Remove all image-handling code.
10193         Replace `image-mode-text-map' with `image-minor-mode-map'.
10194         Check for `image-type' in mode-line format string.
10195         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10196         (image-mode-as-text): New function with most code from
10197         `image-mode-maybe'.
10198         (image-toggle-display-text): Move code that removes image
10199         properties from `image-toggle-display' to here.
10200         (image-toggle-display-image): New function with code that adds
10201         image properties copied from `image-toggle-display'.
10202         (image-toggle-display): Remove most code with leaving only code
10203         that toggles between `image-mode-as-text' and `image-mode'.
10205 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
10207         * net/newst-treeview.el
10208         (newsticker--treeview-list-highlight-start): Restored call to
10209         save-excursion: Selected item was stuck.
10210         (newsticker--treeview-list-select): New.
10211         (newsticker--treeview-item-show-text)
10212         (newsticker--treeview-item-show)
10213         (newsticker--treeview-item-update): Use new
10214         newsticker-treeview-item-mode.
10215         (newsticker-treeview-update): Keep current item.
10216         (newsticker-treeview-next-new-or-immortal-item): Doc change.
10217         (newsticker--treeview-first-feed): Doc change.
10218         (newsticker-treeview-list-menu)
10219         (newsticker-treeview-item-menu): Added menu entries.
10220         (newsticker-treeview-item-mode): New.
10222         * net/newst-backend.el (newsticker-customize): Delete other
10223         windows.
10225 2009-12-04  Sam Steingold  <sds@gnu.org>
10227         * log-view.el (log-view-mode-map): "q" calls quit-window,
10228         like in all the other non-self-insert buffers.
10230 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10232         Minor cleanup.
10233         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10234         key decoding rather than do it manually via last-input-event +
10235         ascii-character.
10236         (term-exec): Use delete-and-extract-region.
10237         (term-handle-ansi-terminal-messages): Remove unused var `end'.
10238         (term-process-pager): Remove unused var `i'.
10239         (term-dynamic-simple-complete): Make obsolete.
10240         (serial-update-config-menu): Remove unused vars `y' and `str'.
10241         (term-update-mode-line): Remove unused var `temp'.
10243 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10245         Limit the number of log entries displayed by default.
10246         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10247         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10248         using a prefix argument.
10250 2009-12-03  Glenn Morris  <rgm@gnu.org>
10252         * progmodes/idlwave.el (class): Restore still useful declaration.
10254 2009-12-03  Alan Mackenzie  <acm@muc.de>
10256         Enhance `c-parse-state' to run efficiently in "brace deserts".
10258         * progmodes/cc-mode.el (c-basic-common-init):
10259         Call c-state-cache-init.
10260         (c-neutralize-syntax-in-and-mark-CPP): Rename from
10261         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
10262         placing `category' properties value 'c-cpp-delimiter at its boundaries.
10264         * progmodes/cc-langs.el (c-before-font-lock-function):
10265         c-extend-and-neutralize-syntax-in-CPP has been renamed
10266         c-neutralize-syntax-in-and-mark-CPP.
10268         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10269         with `category' properties now, not `syntax-table' ones.
10271         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10272         enhanced (but slower) version of c-end-of-macro that won't land
10273         inside a literal or on another awkward character.
10274         (c-state-cache-too-far, c-state-cache-start)
10275         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10276         (c-state-nonlit-pos-cache-limit, c-state-point-min)
10277         (c-state-point-min-lit-type, c-state-point-min-lit-start)
10278         (c-state-min-scan-pos, c-state-brace-pair-desert)
10279         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10280         buffer local variables.
10281         (c-state-literal-at, c-state-lit-beg)
10282         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10283         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10284         (c-state-cache-top-paren, c-state-cache-after-top-paren)
10285         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10286         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10287         (c-renarrow-state-cache)
10288         (c-append-lower-brace-pair-to-state-cache)
10289         (c-state-push-any-brace-pair, c-append-to-state-cache)
10290         (c-remove-stale-state-cache)
10291         (c-remove-stale-state-cache-backwards, c-state-cache-init)
10292         (c-invalidate-state-cache-1, c-parse-state-1)
10293         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10294         (c-parse-state): Enhance and refactor.
10295         (c-debug-parse-state): Amend to deal with all the new variables.
10297         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10298         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10299         modify to use category text properties rather than syntax-table ones.
10300         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10301         to switch off/on the syntactic paren property of C++ template
10302         delimiters using the category property.
10303         (c-with-<->-as-parens-suppressed): Macro to invoke code with
10304         template delims suppressed.
10305         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10306         New constant/macros which apply category properties to the start
10307         and end of preprocessor constructs.
10308         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10309         "comment out" the syntactic value of characters in preprocessor
10310         constructs.
10311         (c-with-cpps-commented-out)
10312         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10313         with characters in all or all but one preprocessor constructs
10314         "commented out".
10316 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10318         * proced.el (proced-filter-alist): Use regexp-quote.
10320 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
10322         Cleanup.
10323         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10324         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
10325         arguments.  Expand `default-directory'.
10327         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10328         the benefit of returning an expanded localname.
10329         (tramp-tramp-file-p): Handle the case NAME is not a string.
10331 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10333         Add support for bzr shelve/unshelve.
10334         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10335         (vc-bzr-extra-menu-map): New variables.
10336         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10337         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10338         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10339         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10340         (vc-bzr-dir-extra-headers): Display shelves.
10342         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10344 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10346         * textmodes/bibtex.el (bibtex-complete-internal):
10347         Use completion-in-region.
10348         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10350 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10352         Support applying stashes.  Improve UI.
10353         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10354         (vc-git-stash-apply, vc-git-stash-pop)
10355         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10356         (vc-git-stash-menu): New functions.
10357         (vc-git-stash-menu-map): New variable.
10358         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10360 2009-12-03  Glenn Morris  <rgm@gnu.org>
10362         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10363         (vc-print-log-internal): Fix previous change.
10364         (vc-revert): Correct pluralization.
10366 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10368         * progmodes/make-mode.el (makefile-special-targets-list): No need for
10369         it to be an alist any more.
10370         (makefile-complete): Use completion-in-region.
10372         * progmodes/octave-mod.el (octave-complete-symbol):
10373         Use completion-in-region.
10375         Misc cleanup.
10376         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10377         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10378         (idlwave-complete-class): Don't quote lambda.
10379         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10380         (idlwave-mode-map): Move initialization into declaration.
10381         (idlwave-action-and-binding): Use backquotes.
10382         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10383         Simplify.
10384         (idlwave-is-pointer-dereference): Remove unused var `pos'.
10385         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10386         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10387         `parts', and `all-parts'.
10388         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10389         (idlwave-convert-xml-system-routine-info): Remove unused string
10390         `version-string'.
10391         (idlwave-display-user-catalog-widget): Use dolist.
10392         (idlwave-scanning-lib): Declare dynamically-scoped var.
10393         (idlwave-scan-library-catalogs): Remove unused var `flags'.
10394         (completion-highlight-first-word-only): Declare to silence bytecomp.
10395         (idlwave-popup-select): Tighten scope of `resp'.
10396         (idlwave-find-struct-tag): Remove unused var `beg'.
10397         (idlwave-after-load-rinfo-hook): Declare.
10398         (idlwave-sintern-class-info): Remove unused var `taglist'.
10399         (idlwave-find-class-definition): Remove unused var `list'.
10400         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10401         (idlwave-what-module-find-class): Remove unused var `classes'.
10403 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
10405         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10407 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10409         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10410         buffers visited.  Remove redundant current-buffer-saving.
10412 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10414         Use completion-in-buffer and remove uses of dynamic scoping.
10415         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10416         (pascal-buffer-to-use, pascal-flag): Don't declare.
10417         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10418         (pascal-get-completion-decl, pascal-keyword-completion):
10419         Add `pascal-str' argument, save-excursion,
10420         return the found completions, and don't filter with pascal-pred.
10421         (pascal-completion-cache): New var.
10422         (pascal-completion): Don't switch buffer any more (it was never
10423         necessary).  Don't save-excursion any more (it's done by the called
10424         subroutines).  Use a cache to avoid redundant computations.
10425         Use complete-with-action rather than pascal-completion-response and
10426         let it apply the predicate as well.
10427         (pascal-complete-word): Use completion-in-buffer when
10428         pascal-toggle-completions is nil.
10429         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10430         not used any more.
10431         (pascal-comp-defun): Don't change buffer any more.
10432         Use complete-with-action rather than pascal-completion-response and
10433         let it apply the predicate as well.
10434         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10435         when neded.
10437 2009-12-02  Kenichi Handa  <handa@m17n.org>
10439         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10440         shape for all Indic scripts.
10442 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10444         Use completion-in-buffer.
10445         * wid-edit.el (widget-field-text-end): New function.
10446         (widget-field-value-get): Use it.
10447         (widget-string-complete, widget-file-complete)
10448         (widget-color-complete): Use it and completion-in-region.
10449         (widget-complete): Don't narrow the buffer.
10451 2009-12-02  Glenn Morris  <rgm@gnu.org>
10453         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
10454         (rmail-select-summary): Use rmail-pop-to-buffer.
10455         * mail/rmailsum.el: Replace all pop-to-buffer calls with
10456         rmail-pop-to-buffer, to prevent horizontal splits.
10458         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10459         save-excursion with save-current-buffer.
10460         Widen before searching.  (Bug#5093)
10461         (diary-list-sexp-entries): Remove superfluous save-excursion.
10463 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
10465         * woman.el (woman-make-bufname): Handle man-pages with "." in the
10466         name.  (Bug#5038)
10468 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
10470         * ido.el (ido-file-internal): Handle filenames at point that do
10471         not have a directory part.  (Bug#5049)
10473 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
10475         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10476         (mpc-songs-jump-to, mpc-resume): Doc fixes.
10478 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
10480         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10481         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10482         any more.
10484 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10486         * comint.el (comint-insert-input): Ignore clicks to the right of
10487         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10489         * vc.el (vc-print-log-internal): Don't wait for the process to
10490         terminate before setting up the major mode.
10492         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10493         in case.
10495         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10496         the last element.
10498         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10500 2009-12-01  Glenn Morris  <rgm@gnu.org>
10502         * window.el (window--display-buffer-2): Fix previous changes.
10504 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
10506         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10508 2009-12-01  Glenn Morris  <rgm@gnu.org>
10510         * Makefile.in (ELCFILES): Add mpc.elc.
10512 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10514         * mpc.el: New file.
10516 2009-12-01  Glenn Morris  <rgm@gnu.org>
10518         * window.el (window-to-use): Define for compiler.
10520         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10521         consistent with others (no final period).
10523         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10524         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
10526 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
10528         Make vc-print-log buttons work.
10529         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10531 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
10533         * savehist.el (savehist-autosave-interval): Allow setting to nil
10534         through customize.  (Bug#5056)
10536 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
10538         Fix references to jit-lock properties.
10539         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10540         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10541         (perl-font-lock-special-syntactic-constructs):
10542         Quote jit-lock-defer-multiline property.
10544 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
10546         * vc-git.el (vc-git-registered): Call vc-git-root only once.
10548 2009-11-30  Juri Linkov  <juri@jurta.org>
10550         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
10551         value `buffer' of `multi-isearch-next-buffer-current-function'.
10552         Use `(current-buffer)' when `buffer' is nil.
10553         (multi-isearch-next-buffer-from-list): Don't fallback to
10554         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
10556 2009-11-30  Juri Linkov  <juri@jurta.org>
10558         * misearch.el (multi-isearch-read-buffers): Move canonicalization
10559         of buffers with `get-buffer' to `multi-isearch-buffers'.
10560         (multi-isearch-buffers, multi-isearch-buffers-regexp):
10561         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
10562         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
10563         FILES with `expand-file-name' converting relative file names
10564         to absolute.  Doc fix.  (Bug#4727)
10566 2009-11-30  Juri Linkov  <juri@jurta.org>
10568         * misearch.el (multi-isearch-read-buffers)
10569         (multi-isearch-read-matching-buffers): New functions.
10570         (multi-isearch-buffers, multi-isearch-buffers-regexp):
10571         Use them in the `interactive' spec.  Doc fix.
10572         (multi-isearch-read-files, multi-isearch-read-matching-files):
10573         New functions.
10574         (multi-isearch-files, multi-isearch-files-regexp):
10575         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
10577 2009-11-30  Juri Linkov  <juri@jurta.org>
10579         * doc-view.el (doc-view-continuous):
10580         Rename from `doc-view-continuous-mode'.
10581         (doc-view-menu): Move "Toggle display" to the top.
10582         Add submenu "Continuous" with radio buttons "Off"/"On"
10583         and "Save as Default".
10584         (doc-view-scroll-up-or-next-page)
10585         (doc-view-scroll-down-or-previous-page)
10586         (doc-view-next-line-or-next-page)
10587         (doc-view-previous-line-or-previous-page): Rename
10588         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
10590 2009-11-30  Juri Linkov  <juri@jurta.org>
10592         * comint.el (comint-mode-map): Rebind `M-r' from
10593         `comint-previous-matching-input' to
10594         `comint-history-isearch-backward-regexp'.
10595         Unbind `M-s' to allow global key binding `M-s'.
10596         Add menu items for `comint-history-isearch-backward' and
10597         `comint-history-isearch-backward-regexp'.  (Bug#3746)
10599 2009-11-30  Juri Linkov  <juri@jurta.org>
10601         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
10602         For def=recenter, replace `recenter' with `recenter-top-bottom'
10603         that is called with `this-command' and `last-command' let-bound
10604         to `recenter-top-bottom'.  When the last `def' was not `recenter',
10605         set `recenter-last-op' to nil.  (Bug#4981)
10607 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10609         Minor cleanup and simplification.
10610         * filecache.el (file-cache-add-directory)
10611         (file-cache-add-directory-recursively)
10612         (file-cache-add-from-file-cache-buffer)
10613         (file-cache-delete-file-regexp, file-cache-delete-directory)
10614         (file-cache-files-matching-internal, file-cache-display): Use dolist.
10615         (file-cache-temp-minibuffer-message): Delete function.
10616         (file-cache-minibuffer-complete): Use minibuffer-message instead.
10618         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
10619         Don't signal an error when bumping into EOB in tr, s, or y.
10621 2009-11-29  Juri Linkov  <juri@jurta.org>
10623         * startup.el (fancy-about-text): Fix wording of Guided Tour.
10624         (Bug#4960)
10626         * descr-text.el (describe-char-unidata-list): Use lowercase name
10627         for "Unicode name" like in other tags.
10629 2009-11-29  Juri Linkov  <juri@jurta.org>
10631         * ediff-util.el (ediff-minibuffer-with-setup-hook):
10632         New compatibility macro.
10633         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10635 2009-11-29  Juri Linkov  <juri@jurta.org>
10637         Add defcustom to define the cycling order of `recenter-top-bottom'.
10638         (Bug#4981)
10640         * window.el (recenter-last-op): Doc fix.
10641         (recenter-positions): New defcustom.
10642         (recenter-top-bottom): Rewrite to use `recenter-positions'.
10643         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10645 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
10647         Improve integration of Tramp and ange-ftp in eshell.
10649         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10650         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
10651         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
10653         * eshell/esh-util.el (top): Require also Tramp when compiling.
10654         (eshell-directory-files-and-attributes): Check for FTP remote
10655         connection.
10656         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10657         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10658         (eshell-file-attributes): Handle ".".  Return `entry'.
10660         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10661         (ange-ftp-directory-files-and-attributes)
10662         (ange-ftp-real-directory-files-and-attributes): New defuns.
10664         * net/tramp.el (tramp-maybe-open-connection): Open the remote
10665         shell with "exec" when possible.  This prevents trailing prompts
10666         in `start-file-process'.
10668 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10670         Try and remove assumptions about point-min==1.
10671         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10672         (rng-compute-mode-line-string): Show the validation percentage in
10673         terms of the narrowed text, not the widened text.
10674         (rng-do-some-validation): Don't catch internal errors when debugging.
10675         (rng-first-error): Simplify.
10676         (rng-after-change-function): Remove work around.  AFAIK the bug has
10677         been fixed a while ago.
10679         * image-mode.el (image-minor-mode): Exit more gracefully when the image
10680         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10682         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
10684         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
10685         `cd' doesn't always do it for us (bug#5067).
10687         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
10688         on 2009-10-25 as part of some other change (bug#5067).
10690 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10692         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
10693         `suspicious'.
10694         (byte-compile-warnings): Use byte-compile-warning-types.
10695         (byte-compile-save-excursion): Warn about use of set-buffer right
10696         after save-excursion.
10698         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
10699         the excursion as well.
10701 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
10703         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
10704         providing a Tramp related implementation of "su" and "sudo".
10705         (eshell-unix-initialize): Add "su" and "sudo".
10707 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
10709         * net/socks.el (socks-send-command): Convert binary request to
10710         unibyte before sending.  This fixes mishandling of some port
10711         numbers such as 129.
10713 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10715         * help.el (describe-bindings-internal): Remove `interactive'.
10717         * man.el (Man-completion-table): Trim a terminating "(".
10718         Remove the space between name page a section.
10719         Add the command's description on the `help-echo' property.
10720         Remove `process-connection-type' binding since it's unused by
10721         call-process.
10722         Provide completion for the "<section> <name>" format as well.
10723         (Man-default-man-entry): Remove spurious var shadowing the argument.
10725 2009-11-26  Kevin Ryde  <user42@zip.com.au>
10727         * log-view.el: Add "Keywords: tools", since its other keywords
10728         aren't in finder-known-keywords, and following vc.el.
10730         * sha1.el (sha1-string-external): default-directory "/" in case
10731         otherwise non-existent.  process-connection-type pipe for touch of
10732         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
10734 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10736         Misc coding convention cleanups.
10737         * htmlfontify.el (hfy-init-kludge-hook): Rename from
10738         hfy-init-kludge-hooks.
10739         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
10740         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
10741         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
10742         and push.
10743         (hfy-slant, hfy-weight): Use tables rather than code.
10744         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
10745         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
10746         (hfy-face-attr-for-class): Initialize `face-spec' directly.
10747         (hfy-face-to-css): Remove `nconc' with single arg.
10748         (hfy-p-to-face-lennart): Use `or'.
10749         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
10750         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
10751         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
10752         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
10753         (hfy-force-fontification): Use run-hooks.
10755 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
10757         Various minor fixes.
10758         * htmlfontify.el (hfy-default-header): Add toggle_invis since
10759         Javascript belongs in the header, not the body.
10760         (hfy-javascript): Remove.
10761         (hfy-fontify-buffer): Don't insert it any more.
10762         (hfy-face-at): Handle (face0 face1 face2) style face properties.
10763         Fix bug in invis handling when there were no invis props in a chunk.
10765 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10767         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
10769 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
10771         * finder.el (finder-mode-map): Add a menu.
10773 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
10775         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
10776         "unsigned" structs.
10778         (verilog-leap-to-head, verilog-backward-token): Handle "disable
10779         fork" statement better.
10781 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
10783         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
10784         (verilog-delete-auto, verilog-delete-empty-auto-pair)
10785         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
10786         Reported by Clay Douglass.
10788         (verilog-auto-inst, verilog-auto-star-safe)
10789         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
10790         Fix removing "// Interfaces" when saving .* expansions.  Reported by
10791         Pierre-David Pfister.
10793 2009-11-26  Glenn Morris  <rgm@gnu.org>
10795         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
10796         the scope.
10798 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
10800         * vc-annotate.el (vc-annotate-revision-previous-to-line):
10801         Really use previous revision.
10803 2009-11-25  Kevin Ryde  <user42@zip.com.au>
10805         * man.el (Man-completion-table): default-directory "/" in case
10806         doesn't otherwise exist.  process-environment COLUMNS=999 so as
10807         not to truncate long names.  process-connection-type pipe to avoid
10808         any chance of hitting the pseudo-tty TIOCGWINSZ.
10809         (man): completion-ignore-case t for friendliness and since man
10810         itself is case-insensitive on the command line.
10811         Further to Bug#3717.
10813         * arc-mode.el: Add "Keywords: files", so the details in its
10814         commentary can be reached from finder-by-keyword.
10815         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
10816         editing mode, but it's comms related and sgml-mode.el has "comm"
10817         on that basis too.
10818         * textmodes/bibtex-style.el: Add "Keywords: tex".
10819         * international/isearch-x.el, international/ja-dic-cnv.el:
10820         * international/ja-dic-utl.el, international/kkc.el:
10821         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
10823 2009-11-25  Juri Linkov  <juri@jurta.org>
10825         * man.el (Man-completion-table): Modify regexp to include
10826         section names to completion strings.  (Bug#3717)
10828 2009-11-25  Juri Linkov  <juri@jurta.org>
10830         Search recursively in gzipped files.  (Bug#4982)
10832         * progmodes/grep.el (grep-highlight-matches): Add new options
10833         `always' and `auto'.  Doc fix.
10834         (grep-process-setup): Check `grep-highlight-matches' for
10835         `auto-detect' to determine the need to compute grep defaults.
10836         Move Windows/DOS specific --colors settings handling
10837         to `grep-compute-defaults'.  Check `grep-highlight-matches'
10838         to get the value of "--color=".
10839         (grep-compute-defaults): Compute `grep-highlight-matches' when it
10840         has the value `auto-detect'.  Move Windows/DOS specific settings
10841         from `grep-process-setup'.
10842         (zrgrep): New command with alias `rzgrep'.
10844 2009-11-25  Juri Linkov  <juri@jurta.org>
10846         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
10847         to nil instead of switching off view-mode.  (Bug#4896)
10849 2009-11-25  Juri Linkov  <juri@jurta.org>
10851         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
10853         * mwheel.el (mwheel-scroll-up-function)
10854         (mwheel-scroll-down-function): New defvars.
10855         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
10856         `scroll-up', and `mwheel-scroll-down-function' instead of
10857         `scroll-down'.
10859         * doc-view.el (doc-view-scroll-up-or-next-page)
10860         (doc-view-scroll-down-or-previous-page): Add optional ARG.
10861         Use this ARG in the call to image-scroll-up/image-scroll-down.
10862         Change `interactive' spec to "P".  Goto next/previous page only
10863         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
10864         SPC/DEL case).  Doc fix.
10865         (doc-view-next-line-or-next-page)
10866         (doc-view-previous-line-or-previous-page): Rename arg to ARG
10867         for consistency.
10868         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
10869         `doc-view-scroll-up-or-next-page', and buffer-local
10870         `mwheel-scroll-down-function' to
10871         `doc-view-scroll-down-or-previous-page'.
10873 2009-11-25  Juri Linkov  <juri@jurta.org>
10875         Provide additional default values (directories at other Dired
10876         windows) via M-n in the minibuffer of some Dired commands.
10878         * dired-aux.el (dired-diff, dired-compare-directories)
10879         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
10880         `minibuffer-default' in `minibuffer-with-setup-hook'.
10881         (dired-dwim-target-directory): Find a window that displays Dired
10882         buffer instead of failing when the next window is not Dired.
10883         Use `get-window-with-predicate' to find for the next Dired window.
10884         (dired-dwim-target-defaults): New function.
10886         * ediff-util.el (ediff-read-file-name):
10887         Use `dired-dwim-target-defaults' to set `minibuffer-default'
10888         in `minibuffer-with-setup-hook'.
10890 2009-11-25  Juri Linkov  <juri@jurta.org>
10892         Provide additional default values (file name at point or at the
10893         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
10895         * minibuffer.el (read-file-name-defaults): New function.
10896         (read-file-name): Reset `minibuffer-default' to nil when
10897         it duplicates initial input `insdef'.
10898         Bind `minibuffer-default-add-function' to lambda that
10899         calls `read-file-name-defaults' in `minibuffer-selected-window'.
10900         (minibuffer-insert-file-name-at-point): New command.
10902         * files.el (file-name-at-point-functions): New defcustom.
10903         (find-file-default): Remove defvar.
10904         (find-file-read-args): Don't use `find-file-default'.
10905         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10906         to `read-file-name'.
10907         (find-file-literally): Use `read-file-name' with
10908         `confirm-nonexistent-file-or-buffer'.
10910         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
10912         * dired.el (dired-read-dir-and-switches):
10913         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10914         to `read-file-name'.
10915         (dired-file-name-at-point): New function.
10916         (dired-mode): Add hook `dired-file-name-at-point' to
10917         `file-name-at-point-functions'.
10919 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10921         Really make the *Completions* window soft-dedicated (bug#5030).
10922         * window.el (window--display-buffer-2): Add `dedicated' argument.
10923         (display-buffer): Pass it when needed so the dedicated flag is set
10924         after calling set-window-buffer, which would otherwise reset it.
10926 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10928         * progmodes/meta-mode.el (meta-complete-symbol):
10929         * progmodes/etags.el (complete-tag):
10930         * mail/mailabbrev.el (mail-abbrev-complete-alias):
10931         Use completion-in-region.
10933         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
10934         (dabbrev-completion): Use completion-in-region.
10935         (dabbrev--abbrev-at-point): Simplify regexp.
10937         * abbrev.el (abbrev--before-point): Use word-motion functions
10938         if :regexp is not specified (bug#5031).
10940         * subr.el (string-prefix-p): New function.
10942         * man.el (Man-completion-cache): New var.
10943         (Man-completion-table): Use it.
10945         * vc.el (vc-print-log-internal): Make `limit' optional for better
10946         compatibility (e.g. with vc-annotate.el).
10948 2009-11-24  Kevin Ryde  <user42@zip.com.au>
10950         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
10951         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
10953         * emacs-lisp/elint.el (elint-add-required-env): Better error message
10954         when .el source file not found or other error.
10956 2009-11-24  Markus Triska  <markus.triska@gmx.at>
10958         * linum.el (linum-update-window): Ignore intangible (bug#4996).
10960 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10962         Handle the [back] button properly (bug#4979).
10963         * descr-text.el (describe-text-properties): Add a `buffer' argument.
10964         Use help-setup-xref, help-buffer, and with-help-window.
10965         (describe-char): Add `buffer' argument.
10966         Pass proper command to help-setup-xref.  Don't meddle with
10967         help-xref-stack-item directly.
10968         (describe-text-category): Use with-help-window and help-buffer.
10970         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
10971         for the displayed buffer (bug#4887).
10973         * man.el (Man-completion-table): New function.
10974         (man): Use it.
10976 2009-11-24  David Reitter  <david.reitter@gmail.com>
10978         * vc-git.el (vc-git-registered): Use checkout directory (where
10979         .git is) rather than the file's directory and a relative path spec
10980         to work around a bug in git.
10982 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
10984         Improve handling of processes on remote hosts.
10986         * eshell/esh-util.el (eshell-path-env): New defvar.
10987         (eshell-parse-colon-path): New defun.
10988         (eshell-file-attributes): Use `eshell-parse-colon-path'.
10990         * eshell/esh-ext.el (eshell-search-path):
10991         Use `eshell-parse-colon-path'.
10992         (eshell-remote-command): Remove argument HANDLER.
10993         (eshell-external-command): Check for FTP remote connection.
10995         * eshell/esh-proc.el (eshell-gather-process-output):
10996         Use `file-truename', in order to start also symlinked files.
10997         Apply `start-file-process' instead of `start-process'.
10998         Shorten `command' to the local file name part.
11000         * eshell/em-cmpl.el (eshell-complete-commands-list):
11001         Use `eshell-parse-colon-path'.
11003         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11005         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
11006         to `eshell-directory-change-hook'.
11008 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
11010         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11011         because it could be enabled automatically if view-read-only is non-nil.
11013 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
11015         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11016         made on 2009-11-22.
11018 2009-11-24  Glenn Morris  <rgm@gnu.org>
11020         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11021         deleted variable bookmark-bmenu-bookmark-column.
11023 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11025         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11027 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11029         * net/browse-url.el (browse-url-filename-alist): On Windows, add
11030         two slashes to the "file:" prefix.
11031         (browse-url-file-url): De-munge Cygwin filenames before passing
11032         them to Windows browser.
11033         (browse-url-default-windows-browser): Use call-process.
11035 2009-11-23  Juri Linkov  <juri@jurta.org>
11037         Implement DocView Continuous mode.  (Bug#4896)
11038         * doc-view.el (doc-view-continuous-mode): New defcustom.
11039         (doc-view-mode-map): Bind C-n/<down> to
11040         `doc-view-next-line-or-next-page', C-p/<up> to
11041         `doc-view-previous-line-or-previous-page'.
11042         (doc-view-next-line-or-next-page)
11043         (doc-view-previous-line-or-previous-page): New commands.
11045 2009-11-23  Juri Linkov  <juri@jurta.org>
11047         Implement Isearch in comint input history.  (Bug#3746)
11048         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11049         `isearch-mode-hook'.
11050         (comint-history-isearch): New defcustom.
11051         (comint-history-isearch-backward)
11052         (comint-history-isearch-backward-regexp): New commands.
11053         (comint-history-isearch-message-overlay): New buffer-local variable.
11054         (comint-history-isearch-setup, comint-history-isearch-end)
11055         (comint-goto-input, comint-history-isearch-search)
11056         (comint-history-isearch-message, comint-history-isearch-wrap)
11057         (comint-history-isearch-push-state)
11058         (comint-history-isearch-pop-state): New functions.
11060 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
11062         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11063         return.
11064         (tramp-handle-make-symbolic-link)
11065         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11066         Quote file names.
11067         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11068         (tramp-handle-process-file): Use it.
11070 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11072         * window.el (move-to-window-line-last-op): Remove.
11073         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11075 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11077         Make M-r mirror the new cycling behavior of C-l.
11078         * window.el (move-to-window-line-last-op): New var.
11079         (move-to-window-line-top-bottom): New command.
11080         (global-map): Bind M-r move-to-window-line-top-bottom.
11082 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
11084         * dired-x.el (dired-guess-shell-alist-default):
11085         Support xz format.  (Bug#4953)
11087 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
11089         * emulation/viper-cmd.el: Use viper-last-command-char instead of
11090         last-command-char/last-command-event.
11091         (viper-prefix-arg-value): Do correct conversion of event-char for
11092         XEmacs.
11094         * emulation/viper-util.el, emulation/viper.el:
11095         Use viper-last-command-char instead of
11096         last-command-char/last-command-event.
11098         * ediff-init.el, ediff-mult.el, ediff-util.el:
11099         Replace last-command-char and last-command-event
11100         with (ediff-last-command-char) everywhere.
11102         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11103         created in fundamental mode.
11105         * ediff.el (ediff-version): Revert the change of interactive-p to
11106         called-interactively-p.
11108 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
11110         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11111         generation from word-movement command names.
11113 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
11115         * cus-start.el (all): Add native condition for font-use-system-font.
11117 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
11119         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11120         Correct the patch from 2009-11-18.  (Bug#3910)
11122 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
11124         * progmodes/subword.el: Rename from lisp/subword.el.
11126         * subword.el: Rename to progmodes/subword.el.
11128         * Makefile.in (ELCFILES): Adapt to subword.el move.
11130 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11131             Stefan Monnier  <monnier@iro.umontreal.ca>
11133         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11134         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11135         (bookmark-bmenu-show-filenames): Use push.
11136         (bookmark-bmenu-hide-filenames): Use local var instead of
11137         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
11138         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11139         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11140         filenames now that the bookmark names are always available.
11142 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11144         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11145         (bookmark-search-pattern): Move and leave unbound.
11146         (bookmark-bmenu-mode-map): Change binding.
11147         (bookmark-read-search-input): Simplify.
11148         Don't use text-char-description.  Don't error on non-char events.
11149         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11150         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11151         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11152         Use a local var for the timer.
11153         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11154         (i.e. bookmark-bmenu-search).
11156 2009-11-21  Glenn Morris  <rgm@gnu.org>
11158         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
11160 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11162         * net/browse-url.el (browse-url-default-windows-browser):
11163         Use cygstart for cygwin.
11165 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
11167         * bookmark.el: Formatting and doc fixes only:
11168         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11169         (bookmark-bmenu-search): Wrap to fit within 80 columns.
11170         Minor grammar and punctuation fixes in doc string.
11171         (bookmark-read-search-input): Adjust to fit within 80 columns.
11173 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11175         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11176         (c-backward-into-nomenclature): Adapt to subword renaming.
11178         * subword.el (subword-forward, subword-backward, subword-mark)
11179         (subword-kill, subword-backward-kill, subword-transpose)
11180         (subword-downcase, subword-upcase, subword-capitalize)
11181         (subword-forward-internal, subword-backward-internal):
11182         Rename from forward-subword, backward-subword, mark-subword,
11183         kill-subword, backward-kill-subword, transpose-subwords,
11184         downcase-subword, upcase-subword, capitalize-subword,
11185         forward-subword-internal, backward-subword-internal.
11187 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11189         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11190         New options.
11191         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11192         New vars.
11193         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11194         (bookmark-bmenu-filter-alist-by-regexp)
11195         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11196         (bookmark-bmenu-search): New command.
11197         (bookmark-bmenu-mode-map): Bind it.
11199 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11201         * progmodes/cc-cmds.el: declare-functioned forward-subword and
11202         backward-subword to quit the byte-compiler.
11204         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11206         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11208         * progmodes/cc-cmds.el (c-update-modeline)
11209         (c-forward-into-nomenclature, c-backward-into-nomenclature):
11210         Refer to subword.el functions instead of cc-subword.el.
11212         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11213         subword.el functions instead of cc-subword.el.
11215         * progmodes/cc-subword.el: Rename to subword.el.
11216         * subword.el: Rename from progmodes/cc-subword.el.
11217         (subword-mode-map): Rename from c-subword-mode-map.
11218         (subword-mode): Rename from c-subword-mode.
11219         (global-subword-mode): New global minor mode.
11220         (forward-subword): Rename from c-forward-subword.
11221         (backward-subword): Rename from c-backward-subword.
11222         (mark-subword): Rename from c-mark-subword.
11223         (kill-subword): Rename from c-kill-subword.
11224         (backward-kill-subword): Rename from c-backward-kill-subword.
11225         (transpose-subwords): Rename from c-tranpose-subword.
11226         (downcase-subword): Rename from c-downcase-subword.
11227         (capitalize-subword): Rename from c-capitalize-subword.
11228         (forward-subword-internal): Rename from c-forward-subword-internal.
11229         (backward-subword-internal): Rename from c-backward-subword-internal.
11231 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
11233         * vc.el (vc-deduce-fileset): Allow non-state changing operations
11234         from a dired buffer.
11235         (vc-dired-deduce-fileset): New function.
11236         (vc-root-diff, vc-print-root-log): Use it.
11238         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11239         nil LIMIT argument to vc-print-log-internal.
11241 2009-11-20  Glenn Morris  <rgm@gnu.org>
11243         * Makefile.in (ELCFILES): Regenerate.
11245 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
11247         * calc/calc.el (calc-set-mode-line):
11248         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11249         (math-format-number): Rename `math-format-complement-signed' to
11250         `math-format-twos-complement'.
11252         * calc/calc-bin.el (math-format-twos-complement): Rename from
11253         math-format-complement-signed.
11254         (calc-radix): Rename `calc-complement-signed-mode' to
11255         `calc-twos-complement-mode'.
11256         (calc-octal-radix, calc-hex-radix): Add an argument for
11257         two's complement.
11259         * calc/calc-embed.el (calc-embedded-mode-vars):
11260         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11262         * calc/calc-ext.el (calc-init-extensions):
11263         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11264         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11266         * calc/calc-units.el (math-build-units-table-buffer):
11267         Let `calc-twos-complement-mode' be nil.
11269         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11270         entries.
11272         * calc/calc-vec.el (calcFunc-vunpack):
11273         * calc/calc-aent.el (calc-do-calc-eval):
11274         * calc/calc-forms.el (math-format-date):
11275         * calc/calc-graph.el (calc-graph-plot):
11276         * calc/calc-math.el (math-use-emacs-fn):
11277         * calc/calccomp.el (math-compose-expr):
11278         Let `calc-twos-complement-mode' be nil.
11280 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11282         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11283         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
11284         * minibuffer.el (completion-in-region-functions): New hook.
11285         (completion-in-region): New function.
11286         * emacs-lisp/lisp.el (lisp-complete-symbol):
11287         * pcomplete.el (pcomplete-std-complete): Use it.
11289 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11291         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11292         (latex-complete-alist): New vars.
11293         (latex-string-prefix-p, latex-complete-bibtex-keys)
11294         (latex-complete-envnames, latex-complete-refkeys)
11295         (latex-complete-data): New functions.
11296         (latex-complete, latex-indent-or-complete): New commands.
11298         * window.el (display-buffer-mark-dedicated): New var.
11299         (display-buffer): Obey it.
11300         * minibuffer.el (minibuffer-completion-help): Use it.
11302         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11304         * filecache.el (file-cache-add-file): Use push and cons.
11305         (file-cache-delete-file-regexp): Use push.
11306         (file-cache-complete): Use completion-in-region.
11308         * simple.el (with-wrapper-hook): Fix thinko.
11310         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11311         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11312         Use with-current-buffer and string-to-number.
11313         (hfy-fallback-colour-values): Use assoc-string.
11314         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11315         (hfy-face-at): Remove unused var `found-face'.
11316         (hfy-compile-stylesheet): Remove unused var `css'.
11317         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11318         and `orig-buffer'.
11319         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11320         Use with-current-buffer.
11321         (hfy-text-p): Use expand-file-name and fewer setq.
11323 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
11325         * htmlfontify.el, hfy-cmap.el: New files.
11327 2009-11-19  Juri Linkov  <juri@jurta.org>
11329         * minibuffer.el (completions-format): New defcustom.
11330         (completion--insert-strings): Implement vertical format.
11332         * simple.el (switch-to-completions): Move point to the first
11333         completion when point was at the beginning of the buffer.
11335 2009-11-19  Juri Linkov  <juri@jurta.org>
11337         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
11339         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11341 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
11343         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11344         (mail-signature): Change default to t.
11345         (mail-from-style): Deprecate `system-default' value.
11346         (mail-insert-from-field): For default value of mail-from-style,
11347         default to `angles' unless `angles' needs quoting and `parens'
11348         does not.
11349         (mail-citation-prefix-regexp): Use citation regexp from
11350         message-mode.
11352 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
11354         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11355         Set variables for computing the prompt for reading password.
11357 2009-11-19  Glenn Morris  <rgm@gnu.org>
11359         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
11361         * textmodes/flyspell.el (sgml-lexical-context): Declare.
11363         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11364         (newsticker-treeview-listwindow-height): Fix custom type.
11366 2009-11-19  Kenichi Handa  <handa@m17n.org>
11368         * descr-text.el (describe-char-padded-string): Compose with TAB
11369         only if there's a font for CH.
11370         (describe-char): Fix the condition for detecting a trivial composition.
11372 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
11374         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11375         more accurate version of the regexp.  (Bug#3910)
11377 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11379         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11381 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
11383         * font-setting.el (font-use-system-font): Declare for byte-compiler.
11384         (font-setting-change-default-font): Fix typo in docstring.
11386 2009-11-18  Alan Mackenzie  <acm@muc.de>
11388         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11390 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11392         * font-setting.el (font-use-system-font): Move ...
11394         * cus-start.el (all): ... to here.
11396 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
11398         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11399         Don't set `ad-return-value' if `ad-do-it' doesn't.
11401         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11402         modification time.
11404 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11406         * menu-bar.el: Put "Use system font" in Option-menu.
11407         (menu-bar-options-save): Add font-use-system-font.
11409         * loadup.el: If feature system-font-setting or font-render-setting is
11410         there, load font-setting.
11412         * Makefile.in (ELCFILES): Add font-settings.el.
11413         * font-setting.el: New file.
11415 2009-11-17  Glenn Morris  <rgm@gnu.org>
11417         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11419         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11420         Preserve point in the list buffer.  (Bug#4939)
11421         Use point-at-eol.
11422         (newsticker--treeview-list-update-highlight)
11423         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11425 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11427         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11428         Remove.
11430         * calc/calc-ext.el (calc-init-extensions): Remove references to
11431         symclip.
11433         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11435         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11436         * calc/calc-help.el (calc-b-prefix-help): Remove references to
11437         `calc-symclip'.
11439 2009-11-16  Kevin Ryde  <user42@zip.com.au>
11441         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11442         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11444         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11445         (lm-keywords-list): Allow comma-only separator like "foo,bar".
11446         Ignore trailing spaces by omit-nulls to split-string (fixing
11447         regression from Emacs 21 due to the incompatible split-string
11448         change).  (Bug #4928.)
11450 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
11452         * vc.el (vc-log-show-limit): Default to 2000.
11453         (vc-print-log-internal): Insert buttons to request more entries
11454         when limiting the output.
11456         * vc-sccs.el (vc-sccs-print-log):
11457         * vc-rcs.el (vc-rcs-print-log):
11458         * vc-cvs.el (vc-cvs-print-log):
11459         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11460         LIMIT is non-nil.
11462 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
11464         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11465         error when `tramp-gvfs-dbus-event-vector' is set.
11466         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11468 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11470         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11472 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
11474         * net/dbus.el (dbus-unregister-service): New defun.
11475         (dbus-register-property): Register the handlers of
11476         "org.freedesktop.DBus.Properties" for SERVICE.
11477         (dbus-property-handler): Fix docstring.
11479 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11481         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11482         Quote doc string reference in defvaralias as it is not in special form.
11483         (byte-compile-output-docform): Doc fix.
11485 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11487         * calc/calc.el (math-2-word-size, math-half-2-word-size)
11488         (calc-complement-signed-mode): New variables.
11489         (calc-set-mode-line): Add indicator for twos-complements.
11490         (math-format-number): Format twos-complement notation.
11492         * calc/calc-bin.el (calc-word-size): Reset the variables
11493         `math-2-word-size' and `math-half-2-word-size'.
11494         (math-format-complement-signed, math-symclip, calcFunc-symclip)
11495         (calc-symclip): New functions.
11497         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11499         * calc/calc-embed.el (calc-embedded-mode-vars):
11500         Add `calc-complement-signed-mode' to the list of modes.
11502         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11503         (calc-b-oper-keys): Add `calc-symclip' to list.
11505         * calc/calc-ext.el (math-read-number-fancy): Read complement
11506         signed numbers.
11507         (calc-init-extensions): Add binding for `calc-symclip'.
11508         Add autoload for `calcFunc-symclip' and `calc-symclip'.
11510         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11511         `calc-symclip'.
11512         (calc-modes-menu): Add item for twos complement mode.
11514         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11516 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
11518         * register.el (jump-to-register, insert-register): Handle Semantic
11519         tags.  From commented-out advice in semantic/senator.el.
11521 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
11523         * vc.el (vc-log-show-limit): New variable.
11524         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
11525         when using a prefix argument.
11526         (vc-print-log-internal): Add new argument LIMIT.
11528         * vc-svn.el (vc-svn-print-log):
11529         * vc-mtn.el (vc-mtn-print-log):
11530         * vc-hg.el (vc-hg-print-log):
11531         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11532         pass it to the log command when set.  Make the BUFFER argument
11533         non-optional.
11535         * vc-sccs.el (vc-sccs-print-log):
11536         * vc-rcs.el (vc-rcs-print-log):
11537         * vc-git.el (vc-git-print-log):
11538         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11539         ignore it.  Make the BUFFER argument non-optional
11541         * bindings.el (mode-line-buffer-identification): Do not purecopy.
11543 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
11545         * dired.el (dired-mode-map): Move encryption items to "Operate"
11546         menu (Bug#4703).
11548         * strokes.el (strokes-update-window-configuration): Make strokes
11549         buffer current before erasing (Bug#4906).
11551 2009-11-15  Juri Linkov  <juri@jurta.org>
11553         * simple.el (set-mark-default-inactive): Add :type, :group
11554         and :version.  (Bug#4876)
11556 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
11558         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
11559         (archive-unique-fname): ... here.  (Bug#4929)
11561 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11563         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
11564         with a real fix.
11566         * novice.el (disabled-command-function): Add useful args.
11567         Setup the help buffer so that [back] works.
11568         Remove redundant call to help-mode.
11569         (disabled-command-function): Use `case'.
11570         (en/disable-command): New function extracted from enable-command.
11571         (enable-command, disable-command): Use it.
11573 2009-11-14  Glenn Morris  <rgm@gnu.org>
11575         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
11576         constants.  (Bug#4913)
11578         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
11580 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
11582         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
11583         defined in C that have no doc-strings.  (Bug#1063)
11585 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
11587         * cus-edit.el (data, files):
11588         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
11590 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
11592         * simple.el (shell-command): Doc fix (Bug#4891).
11594         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
11596 2009-11-14  Glenn Morris  <rgm@gnu.org>
11598         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
11599         statements for vc-diff, emerge-quit, and rmail-cease-edit.
11600         If they are already loaded, eval-after-load will do the right thing.
11602         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
11603         compiling.
11605         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
11607         * simple.el (x-selection-owner-p): Declare.
11608         (read-mail-command): Use custom radio type rather than choice.
11609         (completion-no-auto-exit): Doc fix.
11611         * custom.el (defgroup):
11612         * epg-config.el (epg): Doc fixes.
11614 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
11616         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
11617         * international/ccl.el (define-ccl-program): Do not purecopy the
11618         docstring, defconst does it anyway.
11620 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11622         * add-log.el (add-change-log-entry): Avoid displaying the changelog
11623         a second time.
11625         * x-dnd.el (x-dnd-maybe-call-test-function):
11626         * window.el (split-window-vertically):
11627         * whitespace.el (whitespace-help-on):
11628         * vc-rcs.el (vc-rcs-consult-headers):
11629         * userlock.el (ask-user-about-lock-help)
11630         (ask-user-about-supersession-help):
11631         * type-break.el (type-break-force-mode-line-update):
11632         * time-stamp.el (time-stamp-conv-warn):
11633         * terminal.el (te-set-output-log, te-more-break, te-filter)
11634         (te-sentinel, terminal-emulator):
11635         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11636         (term-write-input-ring, term-check-source, term-start-output-log):
11637         (term-display-buffer-line, term-dynamic-list-completions):
11638         (term-ansi-make-term, serial-term):
11639         * subr.el (selective-display):
11640         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11641         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11642         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11643         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11644         (speedbar-remove-localized-speedbar-support)
11645         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11646         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11647         (speedbar-buffers-line-directory):
11648         * simple.el (shell-command-on-region, append-to-buffer)
11649         (prepend-to-buffer):
11650         * shadowfile.el (shadow-save-todo-file):
11651         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11652         (scroll-bar-maybe-set-window-start):
11653         * sb-image.el (speedbar-image-dump):
11654         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11655         (load-save-place-alist-from-file):
11656         * ps-samp.el (ps-print-message-from-summary):
11657         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11658         (ps-background-image, ps-begin-job, ps-do-despool):
11659         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11660         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11661         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11662         (pr-call-process, pr-file-list, pr-interface-save):
11663         * novice.el (disabled-command-function)
11664         (enable-command, disable-command):
11665         * mouse.el (mouse-buffer-menu-alist):
11666         * mouse-copy.el (mouse-kill-preserving-secondary):
11667         * macros.el (kbd-macro-query):
11668         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11669         * informat.el (batch-info-validate):
11670         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11671         * hippie-exp.el (try-expand-dabbrev-visible):
11672         * help-mode.el (help-make-xrefs):
11673         * help-fns.el (describe-variable):
11674         * generic-x.el (bat-generic-mode-run-as-comint):
11675         * finder.el (finder-mouse-select):
11676         * find-dired.el (find-dired-sentinel):
11677         * filesets.el (filesets-file-close):
11678         * files.el (list-directory):
11679         * faces.el (list-faces-display, describe-face):
11680         * facemenu.el (list-colors-display):
11681         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11682         * epg.el (epg--process-filter, epg-cancel):
11683         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
11684         (epa--read-signature-type):
11685         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
11686         (emerge-file-names):
11687         * ehelp.el (electric-helpify):
11688         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
11689         * ediff-vers.el (rcs-ediff-view-revision):
11690         * ediff-util.el (ediff-setup):
11691         * ediff-mult.el (ediff-append-custom-diff):
11692         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
11693         (ediff-wordify):
11694         * echistory.el (Electric-command-history-redo-expression):
11695         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
11696         * disp-table.el (describe-display-table):
11697         * dired.el (dired-find-buffer-nocreate):
11698         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
11699         * dabbrev.el (dabbrev--same-major-mode-p):
11700         * chistory.el (list-command-history):
11701         * apropos.el (apropos-documentation):
11702         * allout.el (allout-obtain-passphrase):
11703         (allout-copy-exposed-to-buffer):
11704         (allout-verify-passphrase): Use with-current-buffer.
11706 2009-11-13  Glenn Morris  <rgm@gnu.org>
11708         * Makefile.in (ELCFILES): Regenerate.
11710 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
11712         * net/dbus.el (dbus-registered-objects-table): Rename from
11713         `dbus-registered-functions-table', because it contains also properties.
11714         (dbus-unregister-object): Unregister also properties.
11715         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11716         Use a timeout of 500 msec, in order to not block.
11717         (dbus-register-property, dbus-property-handler): New defuns.
11719 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11721         * simple.el (minibuffer-default-add-completions): Drop deprecated
11722         4th arg.
11724 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
11726         * textmodes/artist.el (artist-mouse-choose-operation):
11727         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
11728         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
11729         (artist-compute-up-event-key): New function.
11730         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
11732 2009-11-13  Kenichi Handa  <handa@m17n.org>
11734         * language/japan-util.el: Make sure that the value of jisx0208
11735         property is jisx0208 character.
11737 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
11739         * international/mule.el (auto-coding-regexp-alist): Only purecopy
11740         car or each item, not the whole list.
11742 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11744         * minibuffer.el (minibuffer-completion-help):
11745         Use minibuffer-hide-completions.
11747 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
11749         * dired.el (dired-save-positions, dired-restore-positions): New funs.
11750         (dired-revert): Use them (bug#4880).
11752 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
11754         * tooltip.el (tooltip-frame-parameters): Undo previous change.
11756 2009-11-12  Juri Linkov  <juri@jurta.org>
11758         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
11759         New functions.
11760         (find-file-literally-at-point): Alias of `ffap-literally'.
11762 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
11764         * textmodes/ispell.el (ispell-skip-region-alist):
11765         * textmodes/css-mode.el (auto-mode-alist):
11766         * progmodes/compile.el (auto-mode-alist):
11767         * international/mule.el (ctext-non-standard-encodings-alist)
11768         (ctext-non-standard-encodings-regexp):
11769         * simple.el (shell-command-switch, text-read-only):
11770         * replace.el (occur-mode-map):
11771         * paths.el (rmail-file-name):
11772         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
11773         * find-file.el (ff-special-constructs):
11774         * files.el (file-name-handler-alist):
11775         * composite.el: Purecopy strings.
11777         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
11779 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
11781         * widget.el (define-widget): Purecopy the docstring.
11782         * international/mule-cmds.el (charset): Do not purecopy the
11783         docstring here, define-widget does it.
11785         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
11786         * textmodes/bibtex-style.el (auto-mode-alist):
11787         * progmodes/inf-lisp.el (inferior-lisp-prompt):
11788         * progmodes/compile.el (compile-command):
11789         * language/korea-util.el (default-korean-keyboard):
11790         * international/mule-conf.el (file-coding-system-alist):
11791         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
11792         * tooltip.el (tooltip-frame-parameters):
11793         * newcomment.el (comment-end, comment-padding):
11794         * dired.el (dired-trivial-filenames):
11795         * comint.el (comint-file-name-prefix): Purecopy initial values.
11797 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
11799         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
11800         (tramp-advice-minibuffer-electric-tilde): Unload advices via
11801         `tramp-unload'.
11802         (tramp-advice-make-auto-save-file-name)
11803         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
11804         after removing the advice.
11806 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
11808         * progmodes/grep.el (grep-regexp-alist):
11809         * international/mule-cmds.el (iso-2022-control-alist):
11810         * emacs-lisp/timer.el (timer-duration-words):
11811         * subr.el (version-separator, version-regexp-alist):
11812         * minibuffer.el (completion-styles-alist):
11813         * faces.el (face-attribute-name-alist, list-faces-sample-text):
11814         Change defvars to defconsts.
11816         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
11817         * loadup.el ("international/mule-conf"): Load the byte compiled version.
11818         * international/mule-conf.el: Allow to be byte compiled.
11820         * international/mule.el (define-charset): Purecopy props.
11821         (load-with-code-conversion): Purecopy doc string and file name.
11822         (put-charset-property): Purecopy strings.
11823         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
11825         * international/mule-cmds.el (register-input-method): Purecopy arguments.
11826         (define-char-code-property): Correctly purecopy the table.
11828         * international/ccl.el (define-ccl-program): Purecopy the docstring.
11830         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
11832         * subr.el (add-hook): Purecopy strings.
11833         (eval-after-load): Purecopy load-history-regexp and the form.
11835         * custom.el (custom-declare-group): Purecopy load-file-name.
11837         * subr.el (menu-bar-separator): New defconst.
11838         * net/eudc.el (eudc-tools-menu):
11839         * international/mule-cmds.el (set-coding-system-map)
11840         (mule-menu-keymap):
11841         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11842         * vc-hooks.el (vc-menu-map):
11843         * replace.el (occur-mode-map):
11844         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
11845         (menu-bar-edit-menu, menu-bar-goto-menu)
11846         (menu-bar-custom-menu, menu-bar-showhide-menu)
11847         (menu-bar-options-menu, menu-bar-tools-menu)
11848         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
11849         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
11850         (menu-bar-help-menu):
11851         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
11852         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
11854         * term/x-win.el (x-gtk-stock-map):
11855         * progmodes/vera-mode.el (auto-mode-alist):
11856         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
11857         (inferior-lisp-program, inferior-lisp-load-command):
11858         * progmodes/hideshow.el (hs-special-modes-alist):
11859         * progmodes/gud.el (same-window-regexps):
11860         * progmodes/grep.el (grep-program, find-program, xargs-program):
11861         * net/telnet.el (same-window-regexps):
11862         * net/rlogin.el (same-window-regexps):
11863         * language/ethiopic.el (font-ccl-encoder-alist):
11864         * vc-sccs.el (vc-sccs-master-templates):
11865         * vc-rcs.el (vc-rcs-master-templates):
11866         * subr.el (cl-assertion-failed):
11867         * simple.el (next-error-overlay-arrow-position):
11868         * lpr.el (lpr-command):
11869         * locate.el (locate-ls-subdir-switches):
11870         * info.el (same-window-regexps, info)
11871         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
11872         * image-mode.el (image-mode, auto-mode-alist):
11873         * hippie-exp.el (hippie-expand-ignore-buffers):
11874         * format.el (format-alist):
11875         * find-dired.el (find-ls-subdir-switches, find-grep-options)
11876         (find-name-arg):
11877         * facemenu.el (facemenu-keybindings):
11878         * dired.el (dired-listing-switches, dired-chown-program):
11879         * diff.el (diff-switches, diff-command):
11880         * cus-edit.el (same-window-regexps):
11881         * bindings.el (mode-line-mule-info)
11882         (mode-line-buffer-identification): Purecopy strings.
11884 2009-11-11  Juri Linkov  <juri@jurta.org>
11886         * simple.el (dired-get-filename) <declare-function>:
11887         Tell the byte-compiler about dired-get-filename.
11888         (shell-command): In Dired mode, get filename from the current line
11889         as the default value.
11891 2009-11-10  Glenn Morris  <rgm@gnu.org>
11893         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
11894         * calendar/holidays.el, progmodes/cperl-mode.el:
11895         Update x-popup-menu declarations.
11897         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
11898         (list-load-path-shadows): Use dolist.
11899         (list-load-path-shadows): Use with-current-buffer.
11901 2009-11-10  Juri Linkov  <juri@jurta.org>
11903         * minibuffer.el (read-file-name): Support a list of default values
11904         in `default-filename'.  Use the first file name where only one
11905         element is required.  Doc fix.
11907 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
11909         * net/dbus.el (dbus-unregister-object): Release service, if no
11910         other method is registered for it.
11912 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
11914         * bookmark.el (bookmark-completing-read): Sort bookmark names if
11915         bookmark-sort-flag is non-nil (Bug#4653).
11917 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
11919         * emulation/cua-base.el: Add CUA property to some CC mode commands
11920         (Bug#4100).
11922 2009-11-08  Kevin Ryde  <user42@zip.com.au>
11924         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
11925         at end of sentence (Bug#4818).
11927 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
11929         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11930         Handle "see declaration of" MSFT statements (Bug#4100).
11932 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
11934         * net/tramp.el (tramp-advice-make-auto-save-file-name)
11935         (tramp-advice-file-expand-wildcards): Unload via
11936         `ad-remove-advice'.
11938         * net/trampver.el: Update release number.
11940 2009-11-08  Kevin Ryde  <user42@zip.com.au>
11942         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
11943         `ad-do-it'.
11945 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
11947         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
11948         in order to keep context in SELinux.
11950 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
11952         * dired-aux.el (dired-query): Place cursor in echo area and allow
11953         C-g.
11955         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
11956         menu item if not on a directory (Bug#4701).
11958 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
11960         Sync with Tramp 2.1.17.
11962         * net/tramp.el (tramp-handle-copy-directory): Don't use
11963         `file-remote-p' (due to compatibility).
11965         * net/tramp-compat.el (tramp-compat-copy-directory)
11966         (tramp-compat-delete-directory): New defuns.
11968         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
11969         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
11970         `tramp-compat-delete-directory'.
11972         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11973         (tramp-smb-handle-delete-directory): Use
11974         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
11976         * net/trampver.el: Update release number.
11978 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
11980         * tar-mode.el (tar-copy): Call write-region on the right buffer
11981         (Bug#4857).
11983         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
11984         by hand, if necessary (Bug#4878).
11986 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
11988         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
11989         align size column (Bug#4839).
11991         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
11992         statement.
11994 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
11996         * progmodes/ld-script.el (auto-mode-alist):
11997         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
11999         * cus-face.el (custom-declare-face): Purecopy face spec.
12001 2009-11-06  Kenichi Handa  <handa@m17n.org>
12003         * international/uni-bidi.el: Re-generated.
12004         * international/uni-category.el: Re-generated.
12005         * international/uni-combining.el: Re-generated.
12006         * international/uni-mirrored.el: Re-generated.
12008 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12010         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12011         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12012         (tex-start-options, slitex-run-command, latex-run-command)
12013         (tex-run-command, tex-directory):
12014         * textmodes/ispell.el (ispell-html-skip-alists)
12015         (ispell-tex-skip-alists, ispell-tex-skip-alists):
12016         * textmodes/fill.el (adaptive-fill-first-line-regexp):
12017         (adaptive-fill-regexp):
12018         * textmodes/dns-mode.el (auto-mode-alist):
12019         * progmodes/python.el (interpreter-mode-alist):
12020         * progmodes/etags.el (tags-compression-info-list):
12021         * progmodes/etags.el (tags-file-name):
12022         * net/browse-url.el (browse-url-galeon-program)
12023         (browse-url-firefox-program):
12024         * mail/sendmail.el (mail-signature-file)
12025         (mail-citation-prefix-regexp):
12026         * international/mule-conf.el (eight-bit):
12027         * international/latexenc.el (latex-inputenc-coding-alist):
12028         * international/fontset.el (x-pixel-size-width-font-regexp):
12029         * emacs-lisp/warnings.el (warning-type-format):
12030         * emacs-lisp/trace.el (trace-buffer):
12031         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12032         (emacs-lisp-mode-map):
12033         * calendar/holidays.el (holiday-solar-holidays)
12034         (holiday-bahai-holidays, holiday-islamic-holidays)
12035         (holiday-christian-holidays, holiday-hebrew-holidays)
12036         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12037         (hebrew-holidays-1, holiday-oriental-holidays)
12038         (holiday-general-holidays):
12039         * x-dnd.el (x-dnd-known-types):
12040         * tool-bar.el (tool-bar):
12041         * startup.el (site-run-file):
12042         * shell.el (shell-dumb-shell-regexp):
12043         * rfn-eshadow.el (file-name-shadow-tty-properties)
12044         (file-name-shadow-properties):
12045         * paths.el (remote-shell-program, news-directory):
12046         * mouse.el ([C-down-mouse-3]):
12047         * menu-bar.el (menu-bar-tools-menu):
12048         * jka-cmpr-hook.el (jka-compr-load-suffixes)
12049         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12050         (jka-compr-compression-info-list):
12051         * isearch.el (search-whitespace-regexp):
12052         * image-file.el (image-file-name-extensions):
12053         * find-dired.el (find-ls-option):
12054         * files.el (directory-listing-before-filename-regexp)
12055         (directory-free-space-args, insert-directory-program)
12056         (list-directory-brief-switches, magic-fallback-mode-alist)
12057         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12058         (automount-dir-prefix):
12059         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12060         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12061         (face-font-registry-alternatives, face-font-registry-alternatives)
12062         (face-font-family-alternatives):
12063         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12064         (facemenu-foreground-menu, facemenu-face-menu):
12065         * epa-hook.el (epa-file-name-regexp):
12066         * dnd.el (dnd-protocol-alist):
12067         * textmodes/rst.el (auto-mode-alist):
12068         * button.el (default-button): Purecopy strings.
12070 2009-11-06  Glenn Morris  <rgm@gnu.org>
12072         * Makefile.in (ELCFILES): Update.
12074 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12076         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12077         * emacs-lisp/levents.el: Move to obsolete/levents.el.
12079         * nxml/xsd-regexp.el (xsdre-gen-categories):
12080         * nxml/xmltok.el (xmltok-parse-entity):
12081         * nxml/rng-parse.el (rng-parse-validate-file):
12082         * nxml/rng-maint.el (rng-format-manual)
12083         (rng-manual-output-force-new-line):
12084         * nxml/rng-loc.el (rng-save-schema-location-1):
12085         * nxml/rng-cmpct.el (rng-c-parse-file):
12086         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12087         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12089 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
12091         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12092         Remove extra save-excursions and make-variable-buffer-local's.
12093         Suggested by Stefan Monnier.
12095         (verilog-getopt-file, verilog-module-inside-filename-p)
12096         (verilog-set-define): Merge GNU 1.35 and repair changes from
12097         switching to using with-current-buffer.
12099         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12100         being treated as a number and confusing AUTORESET.
12101         Reported by Dan Dever.
12103         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12104         Add verilog-auto-ignore-concat to fix backward compatibility with
12105         older verilog-modes.  Reported by Dan Katz.
12107         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12108         containing closing anchors "...$".
12110         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12111         Reported by Wade Smith.
12113         (verilog-batch-execute-func): Comment on function usage.
12115 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
12117         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12118         for labels.
12120         (verilog-label-re, verilog-calc-1): Support proper indent of named
12121         asserts.
12123         (verilog-backward-token, verilog-basic-complete-re)
12124         (verilog-beg-of-statement, verilog-indent-re): Support proper
12125         indent of the assert statement at the beginning of a block of text.
12127         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12128         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12129         tokens as begins.
12131 2009-11-05  Glenn Morris  <rgm@gnu.org>
12133         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12134         Emacs 19.  (Bug#1531)
12135         (byte-compile-fix-header): Update for the above change.
12136         Drop test for epoch::version.
12138         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12139         * cus-dep.el (custom-make-dependencies):
12140         * finder.el (finder-compile-keywords):
12141         Use autoload-rubric's feature argument.
12143         * calendar/diary-lib.el (top-level): Make load behave more like require.
12145         * vc-git.el (vc-git-stash-map): Move definition before use.
12147 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
12149         * custom.el (custom-declare-group): Purecopy standard-value.
12150         (custom-declare-group): Purecopy custom-prefix.
12152         * international/mule.el (load-with-code-conversion):
12153         Call do-after-load-evaluation unconditionally.
12155         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12157 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12159         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12161 2009-11-04  Glenn Morris  <rgm@gnu.org>
12163         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12164         (byte-compile-compatibility): Remove option.
12165         (byte-compile-close-variables, byte-compile-fix-header)
12166         (byte-compile-insert-header, byte-compile-output-docform)
12167         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12168         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12169         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12170         (byte-compile-insert, byte-compile-defun):
12171         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
12172         (byte-defop-compiler19): Remove.
12173         Without byte-compile-compatibility, the 'emacs19-opcode property is not
12174         used by anything.  Replace all calls with byte-defop-compiler.
12176 2009-11-04  Juri Linkov  <juri@jurta.org>
12178         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12179         (menu-bar-options-menu): Don't quote the `prop' arg of
12180         `menu-bar-make-mm-toggle'.
12182 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
12184         * calendar/calendar.el (cal-loaddefs):
12185         * calendar/diary-lib.el (diary-loaddefs):
12186         * calendar/holidays.el (hol-loaddefs):
12187         * eshell/esh-module.el (esh-groups): Load rather than require.
12189 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12191         * calendar/todo-mode.el (todo-add-category): Don't hardcode
12192         point-min==1.
12193         (todo-top-priorities): Only display-buffer when called interactively.
12194         (todo-item-start): Don't save excursion point.
12195         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
12196         (todo-insert-item-here, todo-file-item, todo-remove-item):
12197         Adjust uses of todo-item-start and todo-item-end.
12199         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12200         (autoload-rubric): Don't use any more.
12202         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12203         and only put a prop if it is non-nil.
12205 2009-11-03  Juri Linkov  <juri@jurta.org>
12207         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12208         (menu-bar-options-menu): Fix list quoting (Bug#4429).
12210         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12211         and "Menu" to make top-level menu item visually one unit (like
12212         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12213         multi-word menu items).  Fix :help string for quit-window.
12215 2009-11-03  Glenn Morris  <rgm@gnu.org>
12217         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12218         (byte-compile-file-form-define-abbrev-table)
12219         (byte-compile-file-form-custom-declare-variable)
12220         (byte-compile-variable-ref, byte-compile-defvar):
12221         Whether or not a warning is enabled should only affect whether we issue
12222         the warning, not whether or not we collect the relevant data.
12223         Eg warnings can be turned on and off throughout the course of a file.
12225         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12226         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12228 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12230         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12231         * play/mpuz.el (mpuz-create-buffer):
12232         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12233         (lm-print-y,s,noise, lm-print-w0, lm-init):
12234         * play/gomoku.el (gomoku-prompt-for-move):
12235         * play/fortune.el (fortune-in-buffer):
12236         * play/dissociate.el (dissociated-press):
12237         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12238         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12239         * mail/supercite.el (sc-eref-show):
12240         * mail/smtpmail.el (smtpmail-send-it):
12241         * mail/rmailsum.el (rmail-summary-next-labeled-message)
12242         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12243         (rmail-summary-undelete-many, rmail-summary-rmail-update)
12244         (rmail-summary-goto-msg, rmail-summary-expunge)
12245         (rmail-summary-get-new-mail, rmail-summary-search-backward)
12246         (rmail-summary-add-label, rmail-summary-output-menu)
12247         (rmail-summary-output-body):
12248         * mail/rfc822.el (rfc822-addresses):
12249         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12250         * mail/mailpost.el (post-mail-send-it):
12251         * mail/hashcash.el (hashcash-generate-payment):
12252         * mail/feedmail.el (feedmail-run-the-queue)
12253         (feedmail-queue-send-edit-prompt-help-first)
12254         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12255         (feedmail-deduce-address-list):
12256         * eshell/esh-ext.el (eshell-remote-command):
12257         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12258         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12259         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12260         (viper-save-string-in-file, viper-valid-marker):
12261         * emulation/viper-keym.el (viper-toggle-key):
12262         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12263         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12264         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12265         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12266         (viper-exec-form-in-emacs, viper-brac-function):
12267         * emulation/viper.el (viper-delocalize-var):
12268         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12269         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12270         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12271         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12272         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12273         * emulation/edt.el (edt-electric-helpify):
12274         * emulation/cua-rect.el (cua--rectangle-aux-replace):
12275         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12276         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12277         (cua-indent-to-global-mark-column):
12278         * calendar/diary-lib.el (calendar-mark-1):
12279         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12280         Use with-current-buffer.
12281         * emulation/viper.el (viper-delocalize-var): Use dolist.
12283 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
12285         * comint.el (comint-replace-by-expanded-history-before-point):
12286         Replace !! with the previous input string literally (Bug#1795).
12288 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
12290         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12291         to be made up of whitespace.
12293 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
12295         * minibuffer.el (read-file-name): Don't use file dialogs for
12296         remote directories (Bug#99).
12298 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
12300         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12302 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12304         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12305         instead of deleting the window or frame.
12307 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12309         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12310         Support face colors.
12312         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12313         New function.  Support face colors (Bug#1168).
12314         (tex-common-initialization): Use it.
12316         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12317         mode allows it (Bug#1168).
12319 2009-10-31  Juri Linkov  <juri@jurta.org>
12321         * facemenu.el (list-colors-display): Don't mark buffer as
12322         modified (Bug#3948).
12324 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12326         * international/mule-diag.el (list-character-sets-1): Minor
12327         message fix (Bug#3526).
12329         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12330         face property (Bug#4834).
12331         (etags-list-tags, etags-tags-apropos-additional)
12332         (etags-tags-apropos, tags-select-tags-table): Add follow-link
12333         property.
12335         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12336         items.
12338 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12340         * textmodes/two-column.el (2C-split):
12341         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12342         * textmodes/tex-mode.el (tex-set-buffer-directory):
12343         * textmodes/spell.el (spell-region, spell-string):
12344         * textmodes/reftex.el (reftex-erase-buffer):
12345         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12346         * textmodes/reftex-toc.el (reftex-toc-promote-action):
12347         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12348         (reftex-select-item):
12349         * textmodes/reftex-ref.el (reftex-label-info-update)
12350         (reftex-offer-label-menu):
12351         * textmodes/reftex-index.el (reftex-index-change-entry)
12352         (reftex-index-phrases-info):
12353         * textmodes/reftex-global.el (reftex-create-tags-file)
12354         (reftex-save-all-document-buffers, reftex-ensure-write-access):
12355         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12356         (reftex-view-crossref-from-bibtex):
12357         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12358         (reftex-extract-bib-entries-from-thebibliography)
12359         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12360         * textmodes/refbib.el (r2b-capitalize-title):
12361         (r2b-convert-buffer, r2b-help):
12362         * textmodes/page-ext.el (pages-directory)
12363         (pages-directory-goto-with-mouse):
12364         * textmodes/bibtex.el (bibtex-validate-globally):
12365         * textmodes/bib-mode.el (bib-capitalize-title):
12366         * textmodes/artist.el (artist-clear-buffer, artist-system):
12367         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12368         (local-set-scheme-interaction-buffer, xscheme-process-filter)
12369         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12370         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12371         (xscheme-send-control-g-interrupt, xscheme-start-process)
12372         (xscheme-process-sentinel, xscheme-cd):
12373         * progmodes/verilog-mode.el (verilog-read-always-signals)
12374         (verilog-set-define, verilog-getopt-file)
12375         (verilog-module-inside-filename-p):
12376         * progmodes/sh-script.el:
12377         * progmodes/python.el (python-pdbtrack-get-source-buffer)
12378         (python-pdbtrack-grub-for-buffer, python-execute-file):
12379         * progmodes/octave-inf.el (inferior-octave):
12380         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12381         (idlwave-shell-compile-helper-routines, idlwave-set-local)
12382         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12383         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12384         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12385         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12386         (idlwave-shell-filter, idlwave-shell-examine-highlight)
12387         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12388         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12389         (idlwave-shell-examine-display, idlwave-shell-run-region)
12390         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12391         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12392         * progmodes/idlw-help.el (idlwave-help-get-special-help)
12393         (idlwave-help-get-help-buffer):
12394         * progmodes/gud.el (gud-basic-call, gud-find-class)
12395         (gud-tooltip-activate-mouse-motions-if-enabled):
12396         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12397         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12398         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12399         (ebrowse-tags-next-file):
12400         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12401         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12402         (ebnf-eps-finish-and-write):
12403         * progmodes/cpp.el (cpp-edit-save):
12404         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12405         * progmodes/cc-defs.el (c-emacs-features):
12406         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12407         (antlr-directory-dependencies):
12408         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12409         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12410         (ada-find-any-references, ada-make-filename-from-adaname)
12411         (ada-make-body-gnatstub):
12412         * obsolete/rnews.el (news-list-news-groups):
12413         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12414         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12415         * net/rcirc.el (rcirc-debug):
12416         * net/newst-treeview.el (newsticker--treeview-list-add-item)
12417         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12418         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12419         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12420         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12421         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12422         (newsticker--treeview-list-clear-highlight)
12423         (newsticker--treeview-list-update-highlight)
12424         (newsticker--treeview-list-highlight-start)
12425         (newsticker--treeview-tree-update-highlight)
12426         (newsticker--treeview-get-selected-item)
12427         (newsticker-treeview-mark-list-items-old)
12428         (newsticker--treeview-set-current-node):
12429         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12430         * net/newst-backend.el (newsticker--get-news-by-funcall)
12431         (newsticker--get-news-by-wget, newsticker--image-get)
12432         (newsticker--image-sentinel):
12433         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12434         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12435         (eudc-ph-close-session):
12436         * net/eudc.el (eudc-save-options):
12437         * language/thai-word.el (thai-update-word-table):
12438         * language/japan-util.el (japanese-string-conversion):
12439         * international/titdic-cnv.el (tsang-quick-converter)
12440         (ziranma-converter, ctlau-converter):
12441         * international/mule-cmds.el (describe-language-environment):
12442         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12443         (skkdic-convert-postfix, skkdic-convert-prefix):
12444         (skkdic-convert-okuri-nasi, skkdic-convert):
12445         * emacs-lisp/re-builder.el (reb-update-overlays):
12446         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12447         * emacs-lisp/gulp.el (gulp-send-requests):
12448         * emacs-lisp/find-gc.el (trace-call-tree):
12449         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12450         (eieio-describe-generic):
12451         * emacs-lisp/eieio-base.el (eieio-persistent-read):
12452         * emacs-lisp/edebug.el (edebug-outside-excursion):
12453         * emacs-lisp/debug.el (debugger-make-xrefs):
12454         * emacs-lisp/cust-print.el (custom-prin1-to-string):
12455         * emacs-lisp/chart.el (chart-new-buffer):
12456         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12457         Use with-current-buffer.
12458         * textmodes/artist.el (artist-system): Don't call
12459         copy-sequence on a fresh string.
12460         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12462 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
12464         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12465         is no item to edit.  (Bug#4820)
12466         (todo-top-priorities): Restore point and restore narrowing in Todo
12467         buffer.  (Bug#4820)
12469 2009-10-31  Glenn Morris  <rgm@gnu.org>
12471         * net/ange-ftp.el (top-level): Don't require dired when compiling.
12472         (comint-last-output-start, comint-last-input-start)
12473         (comint-last-input-end): Don't defvar when compiling.
12474         (ange-ftp-process-file): Use bound-and-true-p.
12476         * pcmpl-rpm.el (top-level): Move provide statement to end.
12477         (pcmpl-rpm): Remove unused custom group.
12479         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12481         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12483         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12484         (byte-compile-warnings): Add `constants' as an option.
12485         (byte-compile-callargs-warn, byte-compile-arglist-warn)
12486         (display-call-tree): Update for byte-compile-fdefinition possibly
12487         returning `(macro lambda ...)'.  (Bug#4778)
12488         (byte-compile-variable-ref, byte-compile-setq-default):
12489         Respect `constants' member of byte-compile-warnings.
12491 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12493         * vc-bzr.el (vc-bzr-revision-keywords): New var.
12494         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12495         to "submit:".
12497 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
12499         * textmodes/ispell.el (ispell-skip-region-alist):
12500         * international/mule-conf.el (eight-bit):
12501         * international/fontset.el (font-encoding-alist):
12502         * startup.el (pure-space-overflow-message):
12503         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12504         * paths.el (gnus-nntp-service, rmail-spool-directory)
12505         (term-file-prefix):
12506         * files.el (save-some-buffers-action-alist):
12507         * cmuscheme.el (same-window-buffer-names):
12508         * ielm.el (same-window-buffer-names):
12509         * shell.el (same-window-buffer-names):
12510         * mail/sendmail.el (same-window-buffer-names):
12511         * progmodes/inf-lisp.el (same-window-buffer-names):
12512         * bindings.el (mode-line-client)
12513         (mode-line-column-line-number-mode-map):
12514         * language/tibetan.el (tibetan-precomposition-rule-regexp)
12515         (tibetan-precomposed-regexp): Purecopy string arguments.
12517 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12519         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12520         (calcDigit-nondigit):
12521         * calc/calc-yank.el (calc-copy-to-buffer):
12522         * calc/calc-units.el (calc-invalidate-units-table):
12523         * calc/calc-trail.el (calc-trail-yank):
12524         * calc/calc-store.el (calc-insert-variables):
12525         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12526         * calc/calc-prog.el (calc-read-parse-table):
12527         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12528         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12529         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12530         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12531         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12532         (calc-graph-name, calc-graph-find-command, calc-graph-view)
12533         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12534         * calc/calc-ext.el (calc-realign):
12535         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12536         (calc-embedded-finish-edit, calc-embedded-make-info)
12537         (calc-embedded-finish-command, calc-embedded-stack-change):
12538         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12540         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12541         shell-dynamic-complete-filename in preference to
12542         comint-dynamic-complete-filename.
12544         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12545         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12546         Don't consider whether the display supports colors.
12547         (bookmark-import-new-list): Use dolist.
12548         (bookmark-bmenu-mode-map): Move initialization into declaration.
12549         (bookmark-bmenu-list): Use dolist, simplify.
12550         (bookmark-show-all-annotations): Use save-selected-window and dolist.
12551         (menu-bar-final-items): Use push.
12553 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
12555         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
12556         it works on remote files.
12557         (vc-hg-diff): Don't pass any `--cwd' argument.
12559 2009-10-27  Kevin Ryde  <user42@zip.com.au>
12561         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12562         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
12563         (Further to Bug#3921).
12565 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
12567         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
12568         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
12569         calling `tramp-imap-put-file'.  Add file size to the call.
12570         (tramp-imap-get-file-entries): Compute also user name, file size,
12571         and date.
12572         (tramp-imap-handle-insert-directory): Insert uid and gid.
12573         (tramp-imap-handle-file-attributes): Transform uid and gid
12574         according to `id-format'.
12575         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
12576         size in header X-Size.
12578 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
12580         * simple.el (transpose-subr): Give clearer error when the mark
12581         is not set.  (Bug#4807)
12583 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
12585         * net/tramp.el (tramp-perl-file-truename): New defconst.
12586         Perl code contributed by yary <not.com@gmail.com> (tiny change).
12587         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
12588         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
12589         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
12591         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
12592         Ignore `dired-call-process'.
12593         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
12595 2009-10-26  Julian Scheid  <julians37@gmail.com>
12597         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
12598         (tramp-get-remote-readlink): New defun.
12599         (tramp-handle-file-truename): Use it.
12600         (tramp-handle-file-exists-p): Check file-attributes cache, assume
12601         file exists if cache value present.
12602         (tramp-check-cached-permissions): New defun.
12603         (tramp-handle-file-readable-p): Use it.
12604         (tramp-handle-file-writable-p): Likewise.
12605         (tramp-handle-file-executable-p): Likewise.
12606         (tramp-handle-file-name-all-completions): Try using Perl to get
12607         partial completions.  When perl not available, combine `cd' and
12608         `ls' into single remote operation and use shell expansion to get
12609         partial remote directory contents.  Set `file-exists-p' cache for
12610         directory and any files returned by ls.  Change cache handling to
12611         support partial directory contents.  Use error message emitted by
12612         remote `cd' or Perl code for local tramp-error.
12613         (tramp-do-copy-or-rename-file-directly): Avoid separate
12614         tramp-send-command-and-check call.
12615         (tramp-handle-process-file): Merge three remote ops into one.
12616         Do not flush all caches when `process-file-side-effects' is set.
12617         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
12618         file-attributes shows uid/gid to be set already.
12620 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
12622         * textmodes/tex-mode.el (tex-dvi-view-command)
12623         (tex-show-queue-command, tex-open-quote):
12624         * progmodes/ruby-mode.el (auto-mode-alist)
12625         (interpreter-mode-alist): Purecopy strings.
12627         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12629         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12630         string for the hook, keymap and abbrev table.
12632         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12634         * x-dnd.el (x-dnd-xdnd-to-action):
12635         * startup.el (fancy-startup-text, fancy-about-text): Change to
12636         defconst from defvar.
12638         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12640         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12641         Purecopy initialization strings.
12643         * mail/sendmail.el (mail-header-separator)
12644         (mail-personal-alias-file):
12645         * mail/rmail.el (rmail-default-dont-reply-to-names)
12646         (rmail-ignored-headers, rmail-retry-ignored-headers)
12647         (rmail-highlighted-headers, rmail-secondary-file-directory)
12648         (rmail-secondary-file-regexp):
12649         * files.el (null-device, file-name-invalid-regexp)
12650         (locate-dominating-stop-dir-regexp)
12651         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12652         (interpreter-mode-alist): Use mapcar instead of mapc.
12654         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12656         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12657         (completion-ignored-extensions):
12658         (debug-ignored-errors): Purecopy strings.
12660 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12662         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12663         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12664         (pcomplete--here): Use push.
12666         * subr.el (all-completions): Declare the 4th arg obsolete.
12668 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12670         * pcomplete.el (pcomplete-unquote-argument-function): New var.
12671         (pcomplete-unquote-argument): New function.
12672         (pcomplete--common-suffix): Always pay attention to case.
12673         (pcomplete--table-subvert): Quote and unquote the text.
12674         (pcomplete--common-quoted-suffix): New function.
12675         (pcomplete-std-complete): Use it and pcomplete-begin.
12677         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12678         we're inside a dedicated or minibuffer window.
12680 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
12682         * bookmark.el: Update documentation, especially documentation
12683         of `bookmark-alist' and of the bookmark file format.
12684         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
12686 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
12688         * mail/emacsbug.el (report-emacs-bug): Clarify that the
12689         keybindings apply to the mail buffer (Bug#4003).  Shrink help
12690         window to buffer.
12692         * whitespace.el (whitespace-mode, whitespace-newline-mode)
12693         (global-whitespace-mode, global-whitespace-newline-mode)
12694         (whitespace-toggle-options, global-whitespace-toggle-options):
12695         Doc fix (Bug#3660).
12697         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
12698         of xmltok-start before the end tag was inserted (Bug#2840).
12700         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
12701         patterns that are preceded by an open-paren (Bug#1320).
12703 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
12705         * files.el (delete-directory): Delete symlinks to directories with
12706         delete-file (Bug#4739).
12708 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
12710         * vc.el (vc-backend-for-registration): Rename from
12711         vc-get-backend-for-registration.  Update callers.
12713         * international/mule-cmds.el (set-language-info-alist):
12714         Purecopy lang-env.
12715         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
12716         (charset): Purecopy the name.
12717         (define-char-code-property): Purecopy string arguments.
12719         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12720         Purecopy string arguments.
12722         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12723         * ediff-hook.el (menu-bar-ediff-menu):
12724         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
12725         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
12727 2009-10-24  Glenn Morris  <rgm@gnu.org>
12729         * comint.el (comint-dynamic-list-completions):
12730         * term.el (term-dynamic-list-completions): Use choose-completion rather
12731         than obsolete alias mouse-choose-completion.
12733         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
12734         file-cache-choose-completion.
12735         (file-cache-choose-completion): Handle an optional event argument.
12736         (file-cache-mouse-choose-completion): Make it an obsolete alias.
12738         * progmodes/octave-mod.el (octave-complete-symbol):
12739         Use choose-completion if mouse-choose-completion is ever removed.
12741         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
12742         use.
12744         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
12745         compiler.
12747         * vc-hooks.el (vc-responsible-backend): Fix declaration.
12749 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12751         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
12752         Ignore `pred' now that we receive one.
12753         Handle test-completion specially.
12755 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
12757         * vc.el (vc-responsible-backend): Throw an error if not backend is
12758         found.  Remove the REGISTER argument.  Move the code dealing with
12759         REGISTER ...
12760         (vc-get-backend-for-registration): ... here.  New function.
12761         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
12762         of vc-responsible-backend, pass the file name instead of the
12763         directory name.
12765 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12767         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
12768         New funs.
12769         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
12770         (pcomplete-comint-setup): Don't modify a global var via
12771         accidental side-effects.
12772         (pcomplete-shell-setup): Adjust call accordingly.
12773         (pcomplete-parse-comint-arguments): Use push.
12775 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
12777         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12778         Allow uncapitalized info node names (Bug#3921).
12780         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
12781         to the DEBUG file (Bug#3781).
12783 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
12785         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
12786         dictionary entry (Bug#4579).
12788 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
12790         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
12791         from `rfn-eshadow-update-overlay-hook' when unloading.
12792         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
12793         "rsyncc".  Adjust doc string.
12794         (tramp-temp-buffer-file-name): New buffer-local defvar.
12795         (tramp-handle-insert-file-contents, tramp-handle-write-region):
12796         Keep temporary file when indicated by method ("rsync" and
12797         "rsyncc").
12798         (tramp-handle-write-region): Handle APPEND.
12799         (tramp-delete-temp-file-function): New defun.  Added to
12800         `kill-buffer-hook'.
12802 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
12804         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
12806 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
12808         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
12809         (color-name-rgb-alist, tty-standard-colors)
12810         (tty-color-mode-alist): Change to defconst.
12812         * simple.el (mark-inactive): Purecopy message.
12814         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
12815         (global-map, yank-menu):
12816         * textmodes/ispell.el (ispell-menu-map):
12817         * net/eudc.el (eudc-tools-menu):
12818         * international/mule-cmds.el (describe-language-environment-map)
12819         (setup-language-environment-map, set-coding-system-map)
12820         (mule-menu-keymap):
12821         * vc-hooks.el (vc-menu-entry, vc-menu-map):
12822         * replace.el (occur-mode-map):
12823         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
12825 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
12827         * calc/calc.el (math-read-number, math-read-number-simple): Use
12828         `save-match-data'.
12830 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12832         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
12833         rather than fiddling with global-map bindings, since it should only
12834         affect per-terminal settings.
12835         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
12837         * minibuffer.el (completion-table-with-terminator): Allow to specify
12838         the terminator-regexp.
12840         * simple.el (switch-to-completions): Look for *Completions* in other
12841         frames as well.
12843         * pcomplete.el: Allow the use of completion-tables.
12844         (pcomplete-std-complete): New command.
12845         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
12846         (pcomplete--here): Use a function for `form' rather than an expression,
12847         so it can be byte-compiled.
12848         (pcomplete-here, pcomplete-here*): Adjust accordingly.
12849         Add edebug declaration.
12850         (pcomplete-show-completions): Remove unused var `curbuf'.
12851         (pcomplete-do-complete, pcomplete-stub):
12852         Don't assume `completions' is a list of strings any more.
12854 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
12856         * find-dired.el (find-name-arg): Fix typo in docstring.
12858 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12860         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
12861         (pcmpl-linux-fs-types): Same, and update to new modules layout.
12863         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
12864         pcomplete-entries.
12866         * comint.el (comint-read-input-ring, comint-write-input-ring)
12867         (comint-substitute-in-file-name)
12868         (comint-dynamic-complete-as-filename)
12869         (comint-dynamic-simple-complete)
12870         (comint-dynamic-list-filename-completions)
12871         (comint-dynamic-list-completions)
12872         (comint-redirect-results-list-from-process): Minor simplifications.
12874 2009-10-21  Kevin Ryde  <user42@zip.com.au>
12876         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
12877         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
12878         the first form.  And insert a blank line after ";;; Code" since
12879         that's usual style.  (Bug#4612)
12881         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
12883 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12885         * minibuffer.el (completion-table-with-terminator): Properly implement
12886         boundaries, in case `terminator' appears in the suffix.
12887         (completion--embedded-envvar-table): Don't return boundaries if
12888         there's no valid completion.  Simplify.
12889         (completion-file-name-table): New completion table extracted from
12890         completion--file-name-table.
12891         (completion--file-name-table): Use it.
12892         (read-file-name-predicate): Declare obsolete.
12893         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
12894         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
12895         completion-file-name-table, and use the `pred' argument.
12896         * files.el (locate-file-completion-table): Use the `pred' arg rather
12897         than read-file-name-predicate.
12898         (abbreviate-file-name): Use \` rather than ^ for BOS.
12900 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
12902         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
12903         vc-responsible-backend to register, it causes problems.
12905 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12907         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
12909 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
12911         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
12912         (tramp-smb-handle-file-attributes): Use it.
12913         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
12914         (tramp-smb-handle-insert-directory): Use `mapc' rather than
12915         `mapcar'.  Use `tramp-smb-get-stat-capability'.
12916         Add `dired-filename' text properties.
12917         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
12918         (tramp-smb-maybe-open-connection): Simplify check for smbclient
12919         version.
12921 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12923         * subr.el (read-key-delay): Reduce to 0.01.
12924         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
12925         (bug#4751).
12927 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12929         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
12931         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
12932         (Info-menu): Remove unused vars `last' and `completions'.
12933         (Info-index-nodes): Remove unused var `node'.
12935         * info.el (Info-complete-menu-item): Use complete-with-action.
12937 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
12939         Make vc-annotate work through copies and renames.
12940         * vc-annotate.el (vc-annotate-extract-revision-at-line):
12941         Return the file name too.
12942         (vc-annotate-revision-at-line)
12943         (vc-annotate-find-revision-at-line)
12944         (vc-annotate-revision-previous-to-line)
12945         (vc-annotate-show-log-revision-at-line): Update to get the file
12946         name from vc-annotate-extract-revision-at-line.
12947         (vc-annotate-show-diff-revision-at-line-internal): Change the
12948         argument to mean whether to show a file diff or not.  Get the file
12949         name from vc-annotate-extract-revision-at-line.
12950         (vc-annotate-show-diff-revision-at-line):
12951         Update vc-annotate-show-diff-revision-at-line call.
12952         (vc-annotate-warp-revision): Add an optional file argument.
12954         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
12955         (vc-git-annotate-extract-revision-at-line): Also return the file
12956         name if found.
12958         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
12959         command.  Remove unused code.
12960         (vc-hg-annotate-re): Update to match --follow output.
12961         (vc-hg-annotate-extract-revision-at-line): Also return the file
12962         name if found.
12964         * vc.el: Update annotate-extract-revision-at-line documentation.
12966 2009-10-18  Kevin Ryde  <user42@zip.com.au>
12968         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
12969         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
12971         * net/browse-url.el (browse-url): Identify alist with "consp and
12972         not functionp" and let all other things go down the `apply' leg,
12973         as suggested by Stefan.  (Further to bug#4531.)
12975 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
12977         * minibuffer.el (read-file-name): Check for repeat before putting
12978         a default argument in file-name-history (Bug#4657).
12980         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
12981         read syntax (Bug#4737).
12983         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
12985 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12987         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
12988         (html-tag-alist, html-tag-help): Add descriptions for undocumented
12989         entries and make note of obsolete tags.
12991 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12993         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
12995 2009-10-18  Glenn Morris  <rgm@gnu.org>
12997         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
12998         grep, so that binary files (eg international/uni-bidi.el) can match.
12999         Remove test for "UnicodeData" files, since it is hopefully unnecessary
13000         now, and in any case the file header format has changed.
13002 2009-10-17  Glenn Morris  <rgm@gnu.org>
13004         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13005         (flyspell-get-word, flyspell-large-region)
13006         (flyspell-auto-correct-previous-word): Doc/error message fixes.
13008 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
13010         * Makefile.in (ELCFILES): Add ede/shell.
13012 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
13014         * term/common-win.el (x-colors): Purecopy it.
13016 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13018         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13019         permissive for when the buffer is empty.
13020         (tar-header-block-tokenize): Decode the username and groupname.
13021         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13023 2009-10-17  Eric Ludlam  <zappo@gnu.org>
13025         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13026         contains multibyte characters, choose first applicable coding
13027         system automatically.
13029 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13031         * international/mule-cmds.el (select-safe-coding-system): If the file
13032         has a coding cookie, use it regardless of any other setting (bug#4712).
13034 2009-10-17  Glenn Morris  <rgm@gnu.org>
13036         * foldout.el (foldout-mouse-swallow-events):
13037         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13039         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13040         (dired-keep-marker-copy, dired-keep-marker-hardlink)
13041         (dired-keep-marker-symlink, dired-dwim-target)
13042         (dired-copy-preserve-time): Do not autoload these defcustoms.
13044         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13045         messages from messing up the file coding.  (Bug#4623)
13047 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
13049         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13050         if no match is found for the current dictionary.  (Bug#4578)
13052         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13053         optional, since that is how it is documented, and this is often called
13054         with a nil argument.  (Bug#4577)
13055         (flyspell-external-point-words, flyspell-auto-correct-word)
13056         (flyspell-correct-word-before-point, flyspell-word-search-forward)
13057         (flyspell-word-search-backward): Remove nil argument in calls to
13058         flyspell-get-word, since it is not needed now.
13060 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
13062         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
13064 2009-10-16  Glenn Morris  <rgm@gnu.org>
13066         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13068 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
13070         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13071         (ange-ftp-file-size): New function.
13072         (ange-ftp-file-attributes): Use it.
13074 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
13076         * net/tramp-smb.el (tramp-smb-version): New defvar.
13077         (tramp-smb-maybe-open-connection): Use it, in order to avoid
13078         repeated checks.
13080 2009-10-16  Glenn Morris  <rgm@gnu.org>
13082         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13083         Maybe copy some custom properties from old to new name.  (Bug#4706)
13085 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
13087         * subr.el (error, sit-for, start-process-shell-command)
13088         (start-file-process-shell-command): Set the calling convention
13089         after the function definition.
13091 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13093         * subr.el (error, sit-for, start-process-shell-command)
13094         (start-file-process-shell-command): Use the new
13095         set-advertised-calling-convention feature.
13097 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
13099         * international/ucs-normalize.el (ucs-normalize-version):
13100         Change to 1.2.
13101         (check-range): Adjust for Unicode 5.2.
13103 2009-10-15  Juri Linkov  <juri@jurta.org>
13105         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13106         to the `menu-item' format.
13108 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
13110         * net/tramp.el (tramp-replace-environment-variables): Do not fail
13111         if the environment variable does not exist.
13113         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13114         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13115         parameter.
13116         (tramp-smb-handle-add-name-to-file)
13117         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13118         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13119         (tramp-smb-handle-file-attributes)
13120         (tramp-smb-do-file-attributes-with-stat)
13121         (tramp-smb-handle-file-local-copy)
13122         (tramp-smb-handle-insert-directory)
13123         (tramp-smb-handle-make-directory)
13124         (tramp-smb-handle-make-directory-internal)
13125         (tramp-smb-handle-make-symbolic-link)
13126         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13127         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13128         (tramp-smb-maybe-open-connection): Apply the changed parameters.
13129         (tramp-smb-read-file-entry): Read Disk names in compressed format.
13130         Handle long file names.
13131         (tramp-smb-get-cifs-capabilities): Check, whether the connection
13132         process is running.
13133         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13134         Read share names with "-g" option.
13136 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
13138         * net/rcirc.el (rcirc-view-log-file): New command.
13139         (rcirc-track-minor-mode-map): Remove C-c ` binding.
13140         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13141         specified.
13143 2009-10-15  Glenn Morris  <rgm@gnu.org>
13145         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13146         from the second command-line argument.
13147         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13148         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13149         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13150         w32-batch-update-autoloads.
13151         * emacs-lisp/autoload.el (autoload-make-program): New variable.
13152         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13154         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13155         the headers cannot be located.  Simplify, subtracting superflous
13156         save-excursions.
13158 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13160         Replace completion-base-size by completion-base-position to fix bugs
13161         such as (bug#4699).
13162         * simple.el (completion-base-position): New var.
13163         (completion-base-size): Mark as obsolete.
13164         (choose-completion): Make it work for mouse events as well.
13165         Pass the new base-position to choose-completion-string.
13166         (choose-completion-guess-base-position): New function, extracted from
13167         choose-completion-delete-max-match.
13168         (choose-completion-delete-max-match): Use it.  Make obsolete.
13169         (choose-completion-string): Use the new base-position info.
13170         (completion-root-regexp): Delete.
13171         (completion-setup-function): Preserve completion-base-position.
13172         Eliminate obsolete base-size manipulation.
13173         * minibuffer.el (display-completion-list): Don't mess with base-size.
13174         (minibuffer-completion-help): Set completion-base-position instead.
13175         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13176         choose-completion.
13177         * textmodes/bibtex.el (bibtex-complete):
13178         * emacs-lisp/crm.el (crm--choose-completion-string):
13179         Adjust to new calling convention.
13180         * complete.el (partial-completion-mode): Use minibufferp to avoid
13181         bumping into incompatible change to choose-completion-string-functions.
13182         * ido.el (ido-choose-completion-string): Make its calling convention
13183         more permissive.
13184         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13185         base-size manipulation.
13186         (comint-dynamic-list-input-ring): Use dotimes and push.
13187         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13188         fundamental-mode.  Use `or'.
13190 2009-10-14  Juri Linkov  <juri@jurta.org>
13192         * misearch.el (multi-isearch-next-buffer-from-list)
13193         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
13195 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13197         * Makefile.in (compile-onefile): Load `bytecomp' rather than
13198         `bytecomp.el'.
13200         * minibuffer.el (completion-pcm--merge-completions): Make sure the
13201         string we return is all made up of text from the completions rather
13202         than part from the completions and part from the input (bug#4219).
13204         * ido.el (ido-everywhere): Use define-minor-mode.
13206         * buff-menu.el (list-buffers, ctl-x-map):
13207         Mark the entry points with ;;;###autoload cookies.
13209 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
13211         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13212         correctly in the detached head case.
13213         (vc-git-print-log): Remove unused binding.
13215         * vc.el (vc-responsible-backend): When a directory is passed for
13216         for registration create a VC repository if no backend is
13217         responsible for the directory argument.
13218         (vc-deduce-fileset): Tell vc-responsible-backend to register.
13220         * vc.el: Move comments about RCS and SCCS ...
13221         * vc-rcs.el:
13222         * vc-sccs.el: ... here, respectively.
13224 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13226         * minibuffer.el (completion--file-name-table): Return nil if there's
13227         no file completion, even if substitute-in-file-name changed
13228         the string (bug#4708).
13230 2009-10-13  Juri Linkov  <juri@jurta.org>
13232         * files-x.el (read-file-local-variable-value): Don't filter out
13233         minor modes from mode name completion (bug#4664).
13235 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13237         * international/mule-cmds.el (ucs-names): Remove exclusion of
13238         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13240 2009-10-13  Kenichi Handa  <handa@m17n.org>
13242         * international/uni-name.el: Regenerated.
13244 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13246         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
13247         should be automatically buffer-local, but isn't.)
13249 2009-10-12  Sam Steingold  <sds@gnu.org>
13251         * progmodes/compile.el (compilation-next-error-function): Fix the
13252         timestamps if the buffer has been visited before.
13253         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13254         non-anchored patterns, like the perl one (bug#3928).
13256 2009-10-12  Glenn Morris  <rgm@gnu.org>
13258         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13259         Let-bind `size'.
13261 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
13263         * proced.el (proced-unload-function): New function.
13265         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13266         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13267         Doc fix.
13269         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13271 2009-10-11  Juri Linkov  <juri@jurta.org>
13273         * files-x.el (read-file-local-variable-value):
13274         Provide default value only for bound variables (bug#4664).
13276 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
13278         * net/tramp.el (tramp-local-host-p): Function shall return nil for
13279         connection methods like smb.
13281         * net/tramp-cache.el (tramp-flush-connection-property): The hash
13282         can be empty.
13284         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13285         (tramp-smb-file-name-handler-alist): Add handlers for
13286         `add-name-to-file', `make-symbolic-link'.
13287         (tramp-smb-handle-add-name-to-file)
13288         (tramp-smb-do-file-attributes-with-stat)
13289         (tramp-smb-handle-make-symbolic-link)
13290         (tramp-smb-get-cifs-capabilities): New defuns.
13291         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13292         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13293         (tramp-smb-handle-file-local-copy)
13294         (tramp-smb-handle-make-directory-internal)
13295         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13296         The file name syntax depends on cifs capabilities.
13297         (tramp-smb-handle-file-attributes):
13298         Call `tramp-smb-do-file-attributes-with-stat' if possible.
13299         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13300         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13302 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
13304         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13305         (eieio-defclass): Apply deftype handler and setf-method properties
13306         directly.
13307         (eieio-add-new-slot): Avoid union function from cl library.
13308         (eieio--typep): New function.
13309         (eieio-perform-slot-validation): Use it.
13311 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13313         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13314         Update documentation to refer to the variables documented in r1.135.
13315         (Bug#4188)
13317 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13319         * bookmark.el (Info-suffix-list): Remove this unused variable.
13320         (bookmark-current-point): Remove this obsolete variable.
13321         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13322         Adjust for removal of bookmark-current-point.
13324         (bookmarks-already-loaded, bookmark-current-buffer)
13325         (bookmark-yank-point): Document.  (Bug#4188)
13327 2009-10-10  Glenn Morris  <rgm@gnu.org>
13329         * frame.el (frame-height): Doc fix.
13331         * calendar/calendar.el (calendar-split-width-threshold): New option.
13332         (calendar-basic-setup): Use calendar-split-width-threshold.
13334 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
13336         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13337         Ideographic Supplement" range (U+1F200..U+1F2FF).
13339 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13341         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13342         since the list will have been rebuilt anyway.  (Bug#4349)
13344 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13346         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13347         (bookmark-bmenu-execute-deletions): Don't save here, as
13348         bookmark-delete will now do so if necessary.
13349         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13350         (Bug#4348)
13352 2009-10-09  Glenn Morris  <rgm@gnu.org>
13354         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13356 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13358         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13359         (bookmark-jump-other-window): Just invoke bookmark-jump with new
13360         argument now, so the two function's behaviors will match.  (Bug#3645)
13362 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
13364         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13365         (tramp-file-name-real-host, tramp-file-name-port):
13366         Apply `save-match-data'.
13368         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13369         case both directories are remote.
13370         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13371         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13373 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13375         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13377 2009-10-07  Glenn Morris  <rgm@gnu.org>
13379         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13380         of concat.
13382 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13384         * files-x.el (read-file-local-variable): Include some
13385         non-user-variables in the completion table (bug#4664).
13387 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
13389         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13390         message.
13392         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13393         (tramp-smb-file-name-handler-alist): Add handler for
13394         `copy-directory', `expand-file-name', `set-file-modes'.
13395         (tramp-smb-handle-copy-directory)
13396         (tramp-smb-handle-expand-file-name)
13397         (tramp-smb-handle-set-file-modes): New defuns.
13398         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13399         (tramp-smb-handle-file-attributes): Simplify check for retrieving
13400         entry.
13401         (tramp-smb-handle-insert-directory): Don't flush the cache.
13402         (tramp-smb-maybe-open-connection): Check for samba client and
13403         server versions.
13405 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
13407         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13408         to not error out of search for "^lisp=" fails.
13410 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13412         * makefile.w32-in (WINS_UPDATES): New macro.
13413         (custom-deps, finder-data, autoloads): Use it.
13415 2009-10-07  Glenn Morris  <rgm@gnu.org>
13417         * Makefile.in (autoloads): Revert previous change.
13418         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13419         the list of preloaded files passed on the command-line, get
13420         it from src/Makefile.
13422         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13423         show the original buffer rather than a random one.
13425 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
13427         * help.el (describe-no-warranty): Place point in a slightly better
13428         position in the GPLv3 text.
13430 2009-10-06  Sam Steingold  <sds@gnu.org>
13432         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13433         the comm attribute is present before calling regexp-quote.
13435 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
13437         * play/animate.el (animate-string): For good effect, make sure
13438         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13440         * play/animate.el (animate-sequence, animate-birthday-present):
13441         * misc.el (butterfly): Don't set `indent-tabs-mode'.
13443 2009-10-06  Glenn Morris  <rgm@gnu.org>
13445         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13447         * emacs-lisp/autoload.el (autoload-excludes): New variable.
13448         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13449         (batch-update-autoloads): Process a string value of autoload-excludes,
13450         set during the build process.
13451         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
13453         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13454         inside with-parsed...  macro so that `v' is defined.
13456         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13457         * progmodes/fortran.el (fortran-end-of-block)
13458         (fortran-beginning-of-block):
13459         Also push mark in the macro case.
13461         * emerge.el (emerge-show-file-name):
13462         * calc/calc.el (calc-quit):
13463         * calc/calc-misc.el (calc-big-or-small):
13464         * calc/calc-graph.el (calc-graph-view):
13465         * calc/calc-ext.el (calc-reset):
13466         * calendar/calendar.el (calendar-basic-setup):
13467         Use window-full-height-p.
13469         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13470         header we don't understand, don't insert another.  (Bug#4624)
13471         If changing mime charset, insert the new one in the right place.
13473 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
13475         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13476         (cal-tex-cursor-month): Correctly increment the end date for diary and
13477         holiday listing.  (Bug#4626)
13479 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13481         * help-fns.el (describe-function-1): Don't burp if the function is not
13482         a symbol.
13484 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
13486         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13487         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13488         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13489         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13491         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13492         (eieio-default-superclass): Reflow docstrings.
13493         (this, class-option-assoc, defclass, eieio-class-un-autoload)
13494         (eieio-unbind-method-implementations, defmethod)
13495         (eieio-validate-slot-value, eieio-validate-class-slot-value)
13496         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13497         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13498         (eieio-slot-originating-class-p, eieio-slot-name-index)
13499         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13500         (constructor, initialize-instance, no-next-method, object-print)
13501         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13502         Fix typos in docstrings.
13503         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13504         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13505         (next-method-p): Doc fixes.
13506         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13507         Fix typos in error messages.
13508         (eieio-defmethod): Fix typo in description of generic method.
13510         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13511         (eieio-persistent-save-interactive, slot-missing):
13512         Fix typos in docstrings.
13513         (eieio-instance-inheritor-slot-boundp): Doc fix.
13515         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13516         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13518         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13519         (eieio-custom-object-apply-reset):
13520         Fix typos in docstrings and error messages.
13522         * emacs-lisp/eieio-datadebug.el (data-debug-show):
13523         Fix typo in docstring.
13525         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13526         (eieio-browse-tree): Doc fix.
13527         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13528         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13529         Fix typos in docstrings.
13531         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13532         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13533         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13534         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13535         Reflow docstrings.
13537 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
13539         * vc-hg.el (log-view-vc-backend): Declare for compiler.
13540         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13541         Set log-view-vc-backend so that diff can work.
13543         * log-view.el (log-view-diff): Use vc-diff-internal instead of
13544         vc-version-diff.
13545         (vc-diff-internal): Autoload this instead of vc-version-diff.
13547 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
13549         * simple.el (eval-expression): Doc fix.
13551         * progmodes/cwarn.el (cwarn-mode): Doc fix.
13553 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
13555         * files.el (directory-files-no-dot-files-regexp): New defconst.
13556         (delete-directory): Use it.
13557         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
13559         * net/tramp.el (tramp-verbose): Fix docstring.
13560         (tramp-methods): Add recursive option to `tramp-copy-args'.
13561         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
13562         "scp1_old", "scp2_old", "rsync", "rsyncc".
13563         (tramp-default-method): Check also for `auth-source-user-or-password'.
13564         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
13565         Add handler for `copy-directory'.
13566         (tramp-handle-copy-directory): New defun.
13567         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
13568         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
13569         Optimize sent command.
13571 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13573         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
13574         window if necessary.
13576         * calendar/calendar.el (calendar-basic-setup): Don't call
13577         switch-to-buffer in a dedicated window.
13579 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
13581         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
13582         don't do anything related to relocating, just return nil.
13583         (bookmark-error-no-filename): New error.
13584         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
13585         bookmark has no file.  Don't even attempt to handle things that
13586         are not files; the whole point of custom handlers is to keep that
13587         knowledge elsewhere anyway.  Tighten some comments.
13588         (bookmark-file-or-variation-thereof): Remove now-unused function.
13589         (bookmark-location): Doc string fix.
13590         (Bug#4250)
13592 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13594         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
13595         don't use a file dialog, because they usually don't know how to read
13596         a directory target from the user.  (Bug#4230)
13597         Also, make sure the prompt can display directories as well as files.
13599 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13601         * bookmark.el (bookmark-set, bookmark-buffer-name):
13602         Improve doc strings.  (Bug#1193)
13604 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13606         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
13607         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
13608         (bookmark-get-annotation, bookmark-set-annotation)
13609         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
13610         (bookmark-set-position, bookmark-get-front-context-string)
13611         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
13612         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
13613         (bookmark-jump-other-window, bookmark-handle-bookmark)
13614         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
13615         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
13616         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
13617         Improve doc strings to say whether bookmark can be a string or
13618         a record or both, and make other consistency and clarity fixes.
13619         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
13620         (bookmark-default-annotation-text, bookmark-yank-word)
13621         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
13622         (bookmark-import-new-list, bookmark-maybe-rename)
13623         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13624         (bookmark-bmenu-bookmark): Give these doc strings.
13625         (bookmark-bmenu-check-position): Give this a doc string, but also
13626         add a FIXME comment about how the function may be pointless.
13627         (bookmark-default-handler): Rework doc string and change a
13628         parameter name, to clarify that this takes a bookmark record
13629         not a bookmark name.
13630         (bookmark-set): Change a parameter name to indicate its meaning,
13631         and improve the doc string a bit.
13632         (Bug#4188)
13634 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13636         * bookmark.el (bookmark-alist): Document the new `handler' element
13637         in the param alist.
13638         (bookmark-make-record-function): Adjust documentation for above.
13639         (Bug#4193)
13641 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13643         * info.el (Info-bookmark-make-record): Document this function.
13644         (Info-bookmark-jump): Document with a doc string, not just a comment.
13645         (Bug#4203)
13647 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
13649         * files.el (copy-directory): New defun.
13651         * dired-aux.el (dired-copy-file-recursive): Use it.
13653 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
13655         * files-x.el (modify-dir-local-variable)
13656         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13657         docstrings.
13659         * recentf.el (recentf-unload-function): New function.
13661 2009-10-04  Glenn Morris  <rgm@gnu.org>
13663         * window.el (window-full-height-p): Add doc string.
13665 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
13667         * window.el (window-full-height-p): New function.  (Bug#4543)
13669 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
13671         * vc.el: Remove commented out code.
13672         (vc-derived-from-dir-mode): Remove, unused.
13673         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13675 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
13677         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13678         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
13679         there could be recursive loading when `default-directory' is a
13680         remote file name.  (Bug#4614)
13682 2009-10-03  Glenn Morris  <rgm@gnu.org>
13684         * calendar/calendar.el (calendar-basic-setup): Handle the case where
13685         the frame is wide.
13686         (calendar-generate-window): Test for shrinkability rather than width.
13688         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
13689         reusing existing buffers, in case we happen to visit two files with the
13690         same basename.  (Bug#4593)
13692 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
13694         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
13695         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
13696         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
13697         subdirs of cedet as well.
13698         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
13700 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13702         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
13703         Obey advertised-signature-table.
13705         * help-fns.el (help-function-arglist): Don't check
13706         advertised-signature-table.
13707         (describe-function-1): Do it here instead so it also applies to subrs.
13709 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
13711         * simple.el (start-file-process): Say in the doc-string, that file
13712         handlers might not support pty association, if PROGRAM is nil.
13714         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
13715         HOST and USER are strings.  They are nil, when there are
13716         incomplete entries in ~/.netrc, for example.
13717         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
13718         root directory ("device busy" error otherwise).
13720         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
13721         Flush file properties of created directory.
13723 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
13725         * makefile.w32-in (WINS_BASIC): Remove cedet.
13726         (WINS_CEDET): Add cedet.
13727         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
13729 2009-10-02  Kevin Ryde  <user42@zip.com.au>
13731         * net/browse-url.el (browse-url): Pass any symbol in
13732         browse-url-browser-function to `apply', since if you've mistakenly put
13733         an unbound symbol then the error is clearer.  (Bug#4531)
13735 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
13737         * allout.el (allout-init, allout-back-to-current-heading)
13738         (allout-beginning-of-current-entry, allout-ascend-to-depth)
13739         (allout-ascend, allout-up-current-level, allout-end-of-level)
13740         (allout-previous-visible-heading, allout-forward-current-level)
13741         (allout-backward-current-level, allout-show-children):
13742         * apropos.el (apropos-describe-plist):
13743         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
13744         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
13745         * completion.el (add-completion, add-permanent-completion):
13746         * descr-text.el (describe-text-category, describe-char):
13747         * desktop.el (desktop-lazy-abort):
13748         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
13749         * dired.el (dired-build-subdir-alist):
13750         * ediff.el (ediff-version):
13751         * elide-head.el (elide-head, elide-head-show):
13752         * emerge.el (emerge-version):
13753         * env.el (getenv):
13754         * face-remap.el (variable-pitch-mode):
13755         * faces.el (describe-face):
13756         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
13757         (dired-at-point):
13758         * files.el (find-file-existing, auto-save-mode):
13759         * font-lock.el (font-lock-fontify-buffer):
13760         * help-fns.el (describe-function, describe-variable)
13761         (describe-syntax, describe-categories):
13762         * help.el (view-lossage, describe-bindings, describe-key)
13763         (describe-mode):
13764         * hexl.el (hexl-current-address):
13765         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
13766         * info.el (Info-goto-emacs-key-command-node):
13767         * log-edit.el (log-edit-insert-cvs-template)
13768         (log-edit-insert-cvs-rcstemplate):
13769         * menu-bar.el (menu-bar-mode):
13770         * mouse.el (mouse-appearance-menu):
13771         * newcomment.el (comment-indent-new-line):
13772         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
13773         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
13774         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
13775         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
13776         * recentf.el (recentf-mode):
13777         * savehist.el (savehist-mode, savehist-save):
13778         * shadowfile.el (shadow-copy-files):
13779         * simple.el (kill-ring-save, next-line, previous-line)
13780         (normal-erase-is-backspace-mode):
13781         * strokes.el (strokes-update-window-configuration)
13782         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
13783         (strokes-xpm-for-stroke):
13784         * time.el (emacs-uptime, emacs-init-time):
13785         * tutorial.el (tutorial--describe-nonstandard-key)
13786         (tutorial--detailed-help):
13787         * type-break.el (type-break-mode)
13788         (type-break-mode-line-message-mode, type-break-query-mode)
13789         (type-break-guesstimate-keystroke-threshold):
13790         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
13791         * version.el (emacs-version):
13792         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
13793         * winner.el (winner-mode):
13794         * calendar/timeclock.el (timeclock-in, timeclock-out)
13795         (timeclock-status-string, timeclock-change)
13796         (timeclock-workday-remaining-string)
13797         (timeclock-workday-elapsed-string)
13798         (timeclock-when-to-leave-string):
13799         * calendar/todo-mode.el (todo-add-category):
13800         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
13801         * emacs-lisp/autoload.el (update-file-autoloads):
13802         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
13803         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
13804         (checkdoc-message-text, checkdoc-defun):
13805         * emacs-lisp/debug.el (debugger-list-functions):
13806         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13807         * emacs-lisp/eieio-opt.el (eieio-describe-class)
13808         (eieio-describe-generic):
13809         * emacs-lisp/lisp-mnt.el (lm-synopsis):
13810         * emacs-lisp/shadow.el (list-load-path-shadows):
13811         * emulation/cua-base.el (cua-mode):
13812         * emulation/edt.el (edt-set-scroll-margins):
13813         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
13814         (tpu-toggle-regexp, tpu-toggle-search-direction)
13815         (tpu-toggle-rectangle, tpu-toggle-control-keys):
13816         * emulation/tpu-extras.el (tpu-set-scroll-margins):
13817         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13818         (viper-set-parsing-style-toggling-macro)
13819         (viper-set-emacs-state-searchstyle-macros):
13820         * emulation/viper.el (viper-set-hooks):
13821         * eshell/esh-mode.el (eshell-truncate-buffer):
13822         * international/mule-cmds.el (prefer-coding-system)
13823         (describe-input-method, describe-language-environment):
13824         * international/mule-diag.el (list-character-sets)
13825         (describe-character-set, describe-coding-system)
13826         (describe-fontset, list-fontsets, list-input-methods):
13827         * mail/sendmail.el (mail-signature):
13828         * net/ange-ftp.el (ange-ftp-copy-file):
13829         * net/browse-url.el (browse-url):
13830         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
13831         * net/quickurl.el (quickurl-add-url):
13832         * net/rcirc.el (names, topic):
13833         * net/xesam.el (xesam-mode):
13834         * play/5x5.el (5x5-new-game):
13835         * play/yow.el (apropos-zippy):
13836         * progmodes/ada-mode.el (ada-mode-version):
13837         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
13838         (f90-end-of-block)
13839         (f90-beginning-of-block):
13840         * progmodes/fortran.el (fortran-end-of-block)
13841         (fortran-beginning-of-block):
13842         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
13843         * progmodes/python.el (python-describe-symbol, python-shell):
13844         * term/ns-win.el (ns-print-buffer):
13845         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
13846         * textmodes/flyspell.el (flyspell-mode-on):
13847         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
13848         (pages-directory-for-addresses):
13849         * textmodes/table.el (table-recognize-cell)
13850         (table-query-dimension, table-generate-source)
13851         (table-insert-sequence, table--warn-incompatibility):
13852         * textmodes/tex-mode.el (tex-validate-buffer):
13853         * textmodes/texinfmt.el (texinfmt-version)
13854         (texinfo-format-buffer):
13855         Use `called-interactively-p' instead of `interactive-p'.
13857 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
13859         * image-mode.el (image-toggle-display):
13860         * emacs-lisp/elp.el (elp-instrument-function):
13861         * emacs-lisp/advice.el (ad-make-advised-definition):
13862         * emacs-lisp/easy-mmode.el (define-minor-mode):
13863         * net/browse-url.el (browse-url-maybe-new-window):
13864         * progmodes/sh-script.el (sh-learn-buffer-indent):
13865         Pass new argument 'any to `called-interactively-p'.
13867 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
13869         * international/uni-bidi.el:
13870         * international/uni-category.el:
13871         * international/uni-combining.el:
13872         * international/uni-comment.el:
13873         * international/uni-decimal.el:
13874         * international/uni-decomposition.el:
13875         * international/uni-digit.el:
13876         * international/uni-lowercase.el:
13877         * international/uni-mirrored.el:
13878         * international/uni-name.el:
13879         * international/uni-numeric.el:
13880         * international/uni-old-name.el:
13881         * international/uni-titlecase.el:
13882         * international/uni-uppercase.el:
13883         Regenerate from Unicode 5.2.0 data.
13885 2009-10-01  Glenn Morris  <rgm@gnu.org>
13887         * Makefile.in (ELCFILES): Regenerate.
13889 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13891         * subr.el (interactive-p): Mark obsolete.
13892         (called-interactively-p): Make the optional-ness of `kind' obsolete.
13893         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
13894         advertised-signature-table for subroutines as well.
13896         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
13897         (set-advertised-calling-convention): New function.
13898         (make-obsolete, define-obsolete-function-alias)
13899         (make-obsolete-variable, define-obsolete-variable-alias):
13900         Make the optional-ness of `when' obsolete.
13901         (define-obsolete-face-alias): Make `when' non-optional.
13902         * help-fns.el (help-function-arglist):
13903         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
13904         Use advertised-signature-table.
13906 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
13908         * files.el (delete-directory): New defun.  The original function
13909         in fileio.c has been renamed to `delete-directory-internal'.
13911         * dired.el (dired-delete-file): Call `delete-directory' with
13912         RECURSIVE parameter.
13914         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
13915         parameter RECURSIVE.  Implementation is missing.
13917         * net/tramp.el (tramp-handle-make-directory): Flush upper
13918         directory's file properties.
13919         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
13920         (tramp-handle-dired-recursive-delete-directory): Flush directory
13921         properties after the remove command only.
13923         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13924         Handle optional parameter RECURSIVE.
13926         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13927         Handle optional parameter RECURSIVE.
13929         * net/tramp-smb.el (tramp-smb-errors): Add error message for
13930         connection timeout.
13931         (tramp-smb-handle-delete-directory): Handle optional parameter
13932         RECURSIVE.
13934 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13936         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
13937         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
13938         (byte-compile-defmacro): Use backquotes.
13940         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
13942         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
13943         has no associated file.
13944         (vc-resynch-buffer): Use vc-dir-buffers.
13946 2009-10-01  Glenn Morris  <rgm@gnu.org>
13948         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
13949         (chart-file-count):
13950         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
13951         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
13952         * emacs-lisp/eieio-opt.el (eieio-describe-class):
13953         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
13954         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
13955         (eieio-copy-parents-into-subclass, make-instance, class-children)
13956         (eieio-generic-form):
13958         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
13959         match-data.  (Bug#4555).
13961         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
13962         rather than parsing it as a regexp.  This relaxes the layout
13963         requirements and makes errors easier to detect.
13964         (check-declare-verify): Check file is regular.
13965         (check-declare-directory): Doc fix.
13966         * subr.el (declare-function): Doc fix.
13968         * ibuffer.el (ibuffer-format-qualifier):
13969         * isearch.el (hi-lock-regexp-okay):
13970         * calc/calc.el (math-zerop):
13971         * mail/uce.el (rmail-msgbeg, rmail-msgend):
13972         * term/w32-win.el (setup-default-fontset, set-fontset-font):
13973         Remove unused declarations.
13975 2009-09-30  Eric Ludlam  <zappo@gnu.org>
13977         * emacs-lisp/eieio.el (boolean-p): Delete.
13979 2009-09-30  Glenn Morris  <rgm@gnu.org>
13981         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
13983         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
13984         filename is not a string.
13986 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
13988         * files.el (safe-local-eval-forms): Fix typo.
13990 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13992         * vc-hooks.el (vc-dir-buffers): New var.
13993         (vc-state-refresh): New function.
13994         (vc-state): Use it.
13995         (vc-after-save): Always ask the backend to recompute the new state.
13996         Always call vc-dir if necessary, using vc-dir-buffers.
13997         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
13998         Use vc-dir-buffers.
13999         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14000         (vc-dir-prepare-status-buffer, vc-dir-update)
14001         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14002         Don't call expand-file-name on default-directory.
14004 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14006         * speedbar.el (speedbar-item-delete):
14007         * calc/calc-prog.el (calc-kbd-if):
14008         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14010         * epa.el (epa-key-list-mode-map):
14011         * hi-lock.el (hi-lock-menu): Fix typos in menus.
14013         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14014         (hs-show-hook): Fix typo in docstring.
14016 2009-09-29  Glenn Morris  <rgm@gnu.org>
14018         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14019         file-name-nondirectory call preventing location of cedet files.
14020         (check-declare-verify): Use literal search rather than re-search.
14021         Add basic defmethod and defclass, and define-overloadable-function.
14023         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14024         Use tramp-compat-file-attributes rather than nonexistent
14025         tramp-compat-handle-file-attributes.
14027         * Makefile.in (lisptagsfiles4): New.
14028         (AUTOGENEL): Add cedet loaddefs files.
14029         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14030         (update-elclist, compile-always, backup-compiled-files)
14031         (bootstrap-clean): Add yet another directory level.
14032         (update-elclist): Use LC_COLLATE rather than COLLATE.
14033         (ELCFILES): Update, via `make update-elclist'.
14035 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14037         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14038         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14039         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14041 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14043         * Makefile.in (lisptagsfiles3): Define.
14044         (TAGS, TAGS-LISP): Use it.
14045         (update-elclist): Add third directory level to look for elc files.
14046         (compile-always): Likewise.
14047         (backup-compiled-files): Likewise.
14048         (bootstrap-clean): Likewise.
14049         (ELCFILES): Update.
14051 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
14053         * Makefile.in (ELCFILES): Add CEDET files.
14055 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
14057         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14059         * net/tramp.el (top): Require tramp-imap.
14061         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14062         Use `tramp-compat-handle-file-attributes'.
14064 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
14066         * net/tramp-imap.el: New package.
14068 2009-09-28  Eric Ludlam  <zappo@gnu.org>
14070         * emacs-lisp/chart.el:
14071         * emacs-lisp/eieio-base.el:
14072         * emacs-lisp/eieio-comp.el:
14073         * emacs-lisp/eieio-custom.el:
14074         * emacs-lisp/eieio-datadebug.el:
14075         * emacs-lisp/eieio-opt.el:
14076         * emacs-lisp/eieio-speedbar.el:
14077         * emacs-lisp/eieio.el: New files.
14079 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14081         * whitespace.el (whitespace-trailing-regexp)
14082         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14083         Fix doc string.
14085 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
14087         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14088         menu.
14090         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14091         menu-bar-ediff-menu.
14093         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14094         define-overloadable-function.
14096         * progmodes/autoconf.el: Provide autoconf as well, so that this
14097         file can be `require'd.
14099         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14101         * emacs-lisp/autoload.el (generated-autoload-feature)
14102         (generated-autoload-load-name): New vars.
14103         (autoload-rubric, autoload-generate-file-autoloads): Use them.
14104         (make-autoload): Recognize define-overloadable-function and
14105         defclass forms (for EIEIO).
14107         * Makefile.in (update-subdirs): Exclude cedet directory.
14109 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
14111         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
14113         * faces.el: Default light-background background for region face to
14114         ns_selection_color under NS.
14116 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
14118         * net/imap-hash.el: New library, see NEWS.
14120         * Makefile.in (ELCFILES): Add imap-hash.el.
14122 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14124         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14125         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14126         * help-macro.el (make-help-screen): Avoid using an ambiguous function
14127         definition where the docstring could be taken for the return value.
14129 2009-09-26  Glenn Morris  <rgm@gnu.org>
14131         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14132         Add option to only show images below a certain size.
14133         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14134         save-excursion calls.
14136 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
14138         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14139         subdirectories) and eieio.
14141 2009-09-26  Alan Mackenzie  <acm@muc.de>
14143         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14144         buggy bracketing.  (Bug#4289)
14146         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14147         character constants (as case labels).  (Bug#4289)
14149 2009-09-25  Juri Linkov  <juri@jurta.org>
14151         * files.el (safe-local-eval-forms): Allow time-stamp in
14152         before-save-hook (Bug#4554).
14154 2009-09-25  Drew Adams  <drew.adams@oracle.com>
14156         * menu-bar.el (list-buffers-directory): Doc fix.
14158 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14160         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14161         Try and avoid copying twice the same paragraph.
14162         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14163         Remove save-excursion.
14164         (log-edit-changelog-entry): Do it here instead.
14166 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
14168         * bs.el (bs--get-file-name): Use `list-buffers-directory'
14169         when available, instead of hardcoding mode names.  Doc fix.
14171         * menu-bar.el (list-buffers-directory): Add docstring.
14172         Make automatically buffer-local.
14174         * dired.el (dired-mode):
14175         * files.el (cd-absolute):
14176         * pcvs.el (cvs-temp-buffer):
14177         * pcvs-util.el (cvs-get-buffer-create):
14178         * shell.el (shell-mode):
14179         * vc-dir.el (vc-dir-mode):
14180         Don't make `list-buffers-directory' buffer local.
14182 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
14184         * comint.el (comint-exec, comint-run, make-comint):
14185         Doc fixes (Bug#4542).
14187 2009-09-25  Glenn Morris  <rgm@gnu.org>
14189         * mail/rmailmm.el (rmail-mime): New custom group.
14190         Move all defcustoms in this file into this group.
14191         (rmail-mime-media-type-handlers-alist): Revert previous change.
14192         (rmail-mime-show-images): New option.
14193         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14194         references to it, since it wasn't actually used for anything.
14195         (rmail-mime-insert-image): New function.
14196         (rmail-mime-image): Use rmail-mime-insert-image.
14197         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14198         obey the value of `rmail-mime-show-images' option.  Print the size of
14199         attachments.
14201 2009-09-25  David Engster  <deng@randomsample.de>
14203         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
14205 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14207         * whitespace.el: Does not highlight trailing spaces While point is
14208         at end of line.  Does not highligt spaces at beginning of buffer
14209         while point is at beginning of buffer.  Does not highlight spaces
14210         at end of buffer while point is at end of buffer.  (Bug#4177)
14211         New version 12.0.
14212         (whitespace-display-mappings): Adjust initialization.
14213         (whitespace-point, whitespace-font-lock-refontify): New vars.
14214         (whitespace-color-on, whitespace-color-off): Adjust code.
14215         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14216         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14217         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14219 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
14221         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14223         * textmodes/sgml-mode.el: Remove xml-mode alias.
14225         * files.el (auto-mode-alist, conf-mode-maybe)
14226         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14228 2009-09-24  Alan Mackenzie  <acm@muc.de>
14230         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14231         c-forward-conditionals, but it doesn't move point and doesn't set
14232         the mark.
14233         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14234         (c-down-conditional-with-else, c-backward-conditional)
14235         (c-forward-conditional): Refactor to use c-scan-conditionals.
14237 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14239         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14240         (help-default-arg-highlight): Remove.
14241         (help-highlight-arg): New function.
14242         (help-do-arg-highlight): Use it.
14243         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
14245 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14247         * term.el (term-set-scroll-region, term-handle-ansi-escape):
14248         Undo last change, which didn't fix the problem and introduced others.
14250 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
14252         * progmodes/gdb-mi.el: Don't require speedbar.
14253         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14255 2009-09-24  Glenn Morris  <rgm@gnu.org>
14257         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14259         * term/ns-win.el (ns-reg-to-script): Define for compiler.
14261         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14262         there is no newline after the final mime boundary.  (Bug#4539)
14263         Move markers on insertion so that any buttons inserted don't end up in
14264         the next part of a multipart message.
14265         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
14266         (rmail-mime-bulk-handler): Optionally handle images.
14267         (rmail-mime-image): New button action.
14268         (rmail-mime-image-handler): New function.
14269         (rmail-mime-mode): New mode.
14270         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
14272 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14274         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14275         than just dropping elements from it (bug#4504).
14277         * term.el (term-set-scroll-region): Don't move cursor any more.
14278         (term-handle-ansi-escape): Call term-goto here instead.
14279         Suggested by Ivan Kanis <apple@kanis.eu>.
14281         * term.el: Require CL.
14282         (term-ansi-reset): New function.
14283         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14284         (term-handle-colors-array): Simplify.
14286 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14288         * allout.el (allout-overlay-interior-modification-handler)
14289         (allout-obtain-passphrase):
14290         * epa-file.el (epa-file-write-region):
14291         * ps-print.el (ps-begin-job):
14292         * vc-hooks.el (vc-toggle-read-only):
14293         * vc-rcs.el (vc-rcs-rollback):
14294         * vc-sccs.el (vc-sccs-rollback):
14295         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14296         (vc-version-diff, vc-revert, vc-rollback):
14297         * wdired.el (wdired-check-kill-buffer):
14298         * emacs-lisp/authors.el (authors):
14299         * net/socks.el (socks-open-connection):
14300         * net/zeroconf.el (zeroconf-service-add-hook):
14301         * obsolete/vc-mcvs.el (vc-mcvs-register):
14302         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14303         (gdb-select-frame):
14304         * progmodes/grep.el (lgrep, rgrep):
14305         * progmodes/idlw-help.el (idlwave-help-check-locations)
14306         (idlwave-help-html-link, idlwave-help-assistant-open-link):
14307         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14308         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14309         (reftex-toc-rename-label): Fix typos in error messages.
14311         * dired-aux.el (dired-do-shell-command): Reflow docstring.
14312         (dired-copy-how-to-fn): Doc fix.
14313         (dired-files-attributes, dired-read-shell-command):
14314         Fix typos in docstrings.
14316         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14317         (dired-x-find-file-other-window): Reflow docstrings.
14318         (dired-omit-marker-char, dired-read-shell-command)
14319         (dired-x-submit-report): Fix typos in docstrings.
14321         * shell.el (shell-mode-hook):
14322         * view.el (View-scroll-line-forward):
14323         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14324         Fix typos in docstrings.
14326         * net/dig.el (dig-invoke): Fix typo in docstring.
14327         (query-dig): Reflow docstring.
14329         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14330         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14331         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14332         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14333         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14334         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14335         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14336         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14337         (idlwave-completion-map, idlwave-current-indent)
14338         (idlwave-custom-ampersand-surround, idlwave-customize)
14339         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14340         (idlwave-define-abbrev, idlwave-determine-class-special)
14341         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14342         (idlwave-end-block-reg, idlwave-end-of-statement)
14343         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14344         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14345         (idlwave-explicit-class-listed, idlwave-file-header)
14346         (idlwave-fill-paragraph, idlwave-find-class-definition)
14347         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14348         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14349         (idlwave-in-quote, idlwave-indent-action-table)
14350         (idlwave-indent-expand-table, idlwave-indent-line)
14351         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14352         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14353         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14354         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14355         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14356         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14357         (idlwave-outlawed-buffers, idlwave-popup-select)
14358         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14359         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14360         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14361         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14362         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14363         (idlwave-statement-type, idlwave-struct-skip)
14364         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14365         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14366         (idlwave-what-module-find-class): Fix typos in docstrings.
14367         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14368         (idlwave-calculate-cont-indent, idlwave-expand-equal)
14369         (idlwave-find-module, idlwave-find-structure-definition)
14370         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14371         (idlwave-list-load-path-shadows, idlwave-next-statement)
14372         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14373         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14374         (idlwave-template): Reflow docstrings.
14376         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14377         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14378         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14379         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14380         (idlwave-shell-display-line, idlwave-shell-display-wframe)
14381         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14382         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14383         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14384         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14385         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14386         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14387         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14388         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14389         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14390         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14391         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14392         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14393         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14394         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14395         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14396         Fix typos in docstrings.
14397         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14398         (idlwave-shell-hide-output, idlwave-shell-mode)
14399         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14400         Reflow docstrings.
14402         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14404 2009-09-24  Ivan Kanis  <apple@kanis.eu>
14406         * term.el (term-bold-attribute): New var.
14407         (term-handle-colors-array): Use it.
14409 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
14411         * progmodes/gdb-mi.el (gdb-version): New variable.
14412         (gdb-non-stop-handler): Set gdb-version.
14413         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14414         Condition "--thread" option on gdb-version.
14415         (gdb-invalidate-threads): Remove unused argument.
14417 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14419         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14420         to looking-back to avoid ridiculous slow down in large files (bug#4511).
14422 2009-09-23  Glenn Morris  <rgm@gnu.org>
14424         * mail/rmail.el (rmail-reply): Don't try to add a References header when
14425         replying to mail without References or Message-Id.  (Bug#4525)
14427 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
14429         * term/ns-win.el (ns-reg-to-script): New variable.
14431 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
14433         * epg.el (epg-wait-for-status): Preserve existing 'error results.
14435 2009-09-22  Sam Steingold  <sds@gnu.org>
14437         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14438         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14439         to 1 because hg returns status 1 when nothing is found.
14440         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14442 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14444         * textmodes/fill.el: Convert to utf-8 encoding.
14445         (fill-french-nobreak-p): Remove redundant » and « inherited from our
14446         pre-Unicode days.
14448         * add-log.el (change-log-fill-forward-paragraph): New function.
14449         (change-log-mode): Use it so fill-region DTRT.
14450         Set fill-indent-according-to-mode here rather than in
14451         change-log-fill-paragraph.
14452         (change-log-fill-paragraph): Remove.
14454 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
14456         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14457         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
14459 2009-09-22  Glenn Morris  <rgm@gnu.org>
14461         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14462         the scroll-bar scroll the calendar window rather than the buffer.
14464         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14465         commands that move point (as opposed to scrolling).
14467         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14469         * emacs-lisp/elint.el (elint): New custom group.
14470         (elint-log-buffer): Make it a defcustom.
14471         (elint-scan-preloaded, elint-ignored-warnings)
14472         (elint-directory-skip-re): New options.
14473         (elint-builtin-variables): Doc fix.
14474         (elint-preloaded-env): New variable.
14475         (elint-unknown-builtin-args): Add an entry for encode-time.
14476         (elint-extra-errors): Make it a variable rather than a constant.
14477         (elint-preloaded-skip-re): New constant.
14478         (elint-directory): Skip files matching elint-directory-skip-re.
14479         (elint-features): New variable, local to linted buffers.
14480         (elint-update-env): Initialize elint-features.  Possibly add
14481         elint-preloaded-env to the buffer's environment.
14482         (elint-get-top-forms): Bind elint-current-pos, for log messages.
14483         Skip quoted forms.
14484         (elint-init-form): New function, extracted from elint-init-env.
14485         Make non-list forms a warning rather than an error.
14486         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
14487         easy-menu-define, put that adds an error-condition, and provide.
14488         When requiring cl, also require cl-macs.  Really require cl, to handle
14489         some cl macros.  Store required libraries in the list elint-features,
14490         so as not to re-load them.  Treat cc-require like require.
14491         (elint-init-env): Call elint-init-form to do the work.
14492         Handle eval-and-compile and such like.
14493         (elint-add-required-env): Do not clear messages.
14494         (elint-special-forms): Add handlers for function, defalias, if, when,
14495         unless, and, or.
14496         (elint-form): Add optional argument to ignore elint-special-forms,
14497         useful to prevent recursive calls from handlers.  Doc fix.
14498         Respect elint-ignored-warnings.
14499         (elint-form): Respect elint-ignored-warnings.
14500         (elint-bound-variable, elint-bound-function): New variables.
14501         (elint-unbound-variable): Respect elint-bound-variable.
14502         (elint-get-args): Respect elint-bound-function.
14503         (elint-check-cond-form): Add some simple handling for (f)boundp and
14504         featurep tests.
14505         (elint-check-defalias-form): New handler.
14506         (elint-check-let-form): Make an empty let a warning rather than an
14507         error.
14508         (elint-check-setq-form): Make an empty setq a warning rather than an
14509         error.  Respect elint-ignored-warnings.
14510         (elint-check-defvar-form): Accept null doc-strings.
14511         (elint-check-conditional-form): New handler.  Does some simple-minded
14512         checking of featurep and (f)boundp tests.
14513         (elint-put-function-args): New function.
14514         (elint-initialize): Use elint-scan-doc-file rather than
14515         elint-find-builtin-variables.  Use elint-put-function-args.
14516         Possibly scan preloaded-file-list.
14517         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14518         extend to handle functions as well.
14520 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
14522         * linum.el (linum-delete-overlays, linum-update-window):
14523         Do not modify the right margin.  (Bug#3971)
14525 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
14527         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14528         nxml-mode instead of xml-mode.
14530 2009-09-21  Kevin Ryde  <user42@zip.com.au>
14532         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
14534 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14536         * net/dig.el (dig-mode): Use define-derived-mode.
14538 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
14540         * vc-dispatcher.el (vc-do-command): Return the process object in
14541         the asynchronous case.  Use when instead of if.  Do not run
14542         vc-exec-after to display a message if not enabled.  (Bug#4463)
14544         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14545         properties to the stash strings.
14546         (vc-git-stash-list): Return a list of strings.
14547         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14548         (vc-git-stash-show-at-point): New functions.
14549         (vc-git-stash-map): New keymap.
14551         * register.el (ctl-x-r-map): Define the keys here instead of
14552         using autoload.
14554 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
14556         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
14557         list, to workaround performance problem (bug#4485).
14559 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
14561         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
14563 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
14565         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14566         Document that this option is not recommended to use.
14568 2009-09-19  Glenn Morris  <rgm@gnu.org>
14570         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
14571         variable `var'.
14573         * calc/calc-alg.el (var):
14574         * calc/calcalg2.el (var): Define for compiler.
14576 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
14578         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
14579         Doc fix (Bug#3932).
14581         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
14583         * time-stamp.el (time-stamp-month-dd-yyyy)
14584         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
14585         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
14586         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
14587         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
14588         Remove functions that have been obsolete since 1995 (Bug#4436).
14590         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
14591         indent buffer only if called interactively (Bug#4452).
14593 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
14594             Eli Zaretskii  <eliz@gnu.org>
14596         This fixes bug#4197 (merged to bug#865, though not identical).
14597         * server.el (server-auth-dir): Add docstring note about FAT32.
14598         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
14599         but warn against using them.
14601 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
14603         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
14604         older GDB where there is no has_more field.
14606 2009-09-19  Glenn Morris  <rgm@gnu.org>
14608         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
14610 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
14612         * files.el (auto-mode-alist): Change default for XML files to nXML
14613         mode (Bug#4169).
14615 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
14617         * server.el (server-ensure-safe-dir): Pass 'integer
14618         to `file-attributes', as suggested.
14620 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14622         * dired-aux.el (dired-query-alist): Remove spurious backslash.
14623         (dired-query): Use read-key.
14625 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
14627         * cus-start.el (ns-use-qd-smoothing): Remove.
14629 2009-09-18  Glenn Morris  <rgm@gnu.org>
14631         * allout.el (top-level): Remove unnecessary progn.
14633         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14635         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14636         definition of abbrev table.
14638         * speedbar.el (speedbar-track-mouse):
14639         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14640         * net/eudc.el (eudc-expand-inline):
14641         * net/newst-backend.el (newsticker--cache-read-feed):
14642         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14643         condition-case handlers.
14645 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
14647         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14648         (gdb-var-list): Add an element for has_more field.
14649         (gdb-non-stop-handler): Enable pretty printing for STL containers.
14650         (gdb-var-create-handler, gdb-var-list-children-handler-1)
14651         (gdb-var-update-handler-1): Parse output of dynamic variable
14652         objects (STL containers).
14653         (gdb-var-delete-1): Pass var1 as an explicit second argument.
14654         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
14656         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14657         gdb-var-list.
14658         (gud-speedbar-buttons): Make node expandable if expression "has more"
14659         children.
14661 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
14663         * startup.el (emacs-quick-startup): Remove variable and all uses.
14664         (command-line): Set `inhibit-x-resources' instead.
14665         (command-line-1): Use `inhibit-x-resources' instead.
14667 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
14669         * subr.el: Fix last change to avoid using the `unless' macro,
14670         which breaks bootstrapping.
14672 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14674         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14675         extended definitions, in case we reload subr.el after having
14676         loaded CL.
14677         (eval-next-after-load): Mark as obsolete.
14679 2009-09-17  Juri Linkov  <juri@jurta.org>
14681         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14682         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
14683         (menu-bar-showhide-menu, menu-bar-tools-menu)
14684         (menu-bar-describe-menu, menu-bar-help-menu)
14685         (minibuffer-local-completion-map, minibuffer-local-map):
14686         Fix list quoting.
14688 2009-09-17  Glenn Morris  <rgm@gnu.org>
14690         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
14691         arguments, whether or not it has a handler.
14693         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
14695         * simple.el (hard-newline): Give it a doc-string.
14697         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14698         (lisp-mode-syntax-table): Give them doc-strings.
14700 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
14702         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
14703         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
14704         (menu-bar-options-menu, menu-bar-showhide-menu)
14705         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
14706         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
14707         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
14708         (menu-bar-options-menu, menu-bar-tools-menu)
14709         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
14710         (menu-bar-help-menu):
14711         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
14712         string arguments.
14714         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
14715         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
14716         calls for the menu names and :help.
14718 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14720         * mouse.el (minor-mode-menu-from-indicator): Pay attention
14721         to :minor-mode-function (bug#4455).
14723 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14725         * startup.el (command-line): Initialize the window-system after
14726         processing the command-line.
14728         * textmodes/page.el (what-page): Make sure we don't inf-loop if
14729         page-delimiter matches the empty string.
14731 2009-09-16  Glenn Morris  <rgm@gnu.org>
14733         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
14734         byte-compile-not-obsolete-var.  It's a list now.
14735         (byte-compile-not-obsolete-funcs): New variable.
14736         (byte-compile-warn-obsolete): Don't warn about functions if they are in
14737         byte-compile-not-obsolete-funcs.
14738         (byte-compile-variable-ref, byte-compile-defvar): Update for
14739         byte-compile-not-obsolete-vars name-change and list nature.
14740         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
14741         and variables behind (f)boundp tests.
14742         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
14744 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
14746         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
14748 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14750         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
14751         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
14752         Don't autoload.
14754 2009-09-15  Stephen Eglen  <stephen@gnu.org>
14756         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
14757         the virtual-buffers, use the name of the buffer specified by
14758         find-file-noselect, as the match may be a symlink.  (This was a
14759         problem if the target and the symlink had different names.)
14761 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14763         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
14765         * desktop.el (desktop-path): Check user-emacs-directory.
14767         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
14769         * loadup.el: Use after-load-functions to GC after loading each file.
14770         Remove the explicit GC calls that used to be sprinkled around.
14772         * subr.el (after-load-functions): New hook.
14773         (do-after-load-evaluation): Run it.  Use string-match-p to detect
14774         `obsolete' packages, rather than painfully extracting the relevant
14775         directory name.
14777 2009-09-15  Glenn Morris  <rgm@gnu.org>
14779         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
14780         free variable `doc'.
14782         * dired.el (dired-mode-map): Add menu entry for async shell command.
14784         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
14785         variables, also consider the .elc files, since the .el files are
14786         normally gzipped (subsequent code locates the .el.gz from the .elc).
14788         * calc/calc-prog.el (arglist): Define for compiler.
14790         * calendar/diary-lib.el (diary-display-function): Change the default to
14791         fancy display.
14792         (body): Define for compiler.
14794         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
14795         (byte-compile-file-form, byte-compile-lambda)
14796         (byte-compile-top-level-body, byte-compile-form)
14797         (byte-compile-variable-ref, byte-compile-setq)
14798         (byte-compile-setq-default, byte-compile-body)
14799         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
14800         (batch-byte-compile): Give some more local variables with common names
14801         a "bytecomp-" prefix to avoid masking warnings about free variables.
14803         * startup.el (command-line-1): Give local variables with common names a
14804         distinguishing prefix, so as not to hide free variable warnings during
14805         bootstrap.
14807         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
14808         clever and add a suffix to make a unique name, just let the user decide
14809         whether or not to overwrite it.  If the input is a directory, write the
14810         default filename to that directory.  (Bug#4388)
14811         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
14812         is a filename-as-a-directory.
14814 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14816         * textmodes/page.el (what-page): Don't move to beginning of line.
14817         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
14819 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
14821         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
14823 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
14825         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
14826         * help.el (help-for-help-internal): Add purecopy calls for text.
14828         * vc.el (top): print-log method now takes an optional SHORTLOG
14829         argument.  Add a new method: root.
14830         (vc-root-diff, vc-print-root-log): New functions.
14831         (vc-log-short-style): New variable.
14832         (vc-print-log-internal): Add support for showing short logs.
14834         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
14835         vc-print-root-log and vc-print-root-diff.
14837         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
14838         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
14839         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
14840         short logs.
14842         * vc-cvs.el (vc-cvs-print-log):
14843         * vc-mtn.el (vc-mtn-print-log):
14844         * vc-rcs.el (vc-rcs-print-log):
14845         * vc-sccs.el (vc-sccs-print-log):
14846         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
14847         that is ignored for now.
14849         * vc-mtn.el (vc-mtn-annotate-command):
14850         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
14852 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14854         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
14855         to function-key-map, and give them ascii-character property.
14856         * term/x-win.el (x-alternatives-map):
14857         * term/ns-win.el (ns-alternatives-map):
14858         * term/internal.el (msdos-key-remapping-map):
14859         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
14861 2009-09-14  Glenn Morris  <rgm@gnu.org>
14863         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
14864         temp-buffers (2009-09-12).
14866 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14868         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
14869         the new read-key function.
14871 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
14873         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
14874         is defined (Bug#4405).
14876 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
14878         * recentf.el (recentf-cleanup): Use a hash table to find
14879         duplicates (Bug#4407).
14881 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
14883         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
14884         kp-0 to ascii equivalents (Bug#4325).
14886 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
14888         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
14890         * eshell/em-hist.el:
14891         * eshell/em-dirs.el (eshell-complete-user-reference):
14892         Declare pcomplete functions and variables to avoid compiler warnings.
14894 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
14896         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
14897         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
14898         * eshell/em-alias.el (eshell-aliases-file):
14899         * eshell/em-hist.el (eshell-history-file-name):
14900         Use expand-file-name instead of concat to make file names (Bug#4308).
14902 2009-09-13  Glenn Morris  <rgm@gnu.org>
14904         * ediff-merg.el (ediff-do-merge):
14905         * filesets.el (filesets-run-cmd):
14906         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
14907         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
14908         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
14909         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
14910         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
14911         Replace empty `let's with `progn'.
14913 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14915         * mail/sendmail.el (send-mail-function):
14916         * tooltip.el (tooltip-mode):
14917         * simple.el (transient-mark-mode):
14918         * rfn-eshadow.el (file-name-shadow-mode):
14919         * frame.el (blink-cursor-mode):
14920         * font-core.el (global-font-lock-mode):
14921         * files.el (temporary-file-directory)
14922         (small-temporary-file-directory, auto-save-file-name-transforms):
14923         * epa-hook.el (auto-encryption-mode):
14924         * composite.el (global-auto-composition-mode):
14925         Use custom-initialize-delay.
14926         * startup.el (command-line): Don't explicitly call
14927         custom-reevaluate-setting for all the above vars.
14928         * custom.el (custom-initialize-safe-set)
14929         (custom-initialize-safe-default): Delete.
14931 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14933         * term/x-win.el (x-initialize-window-system):
14934         * term/w32-win.el (w32-initialize-window-system):
14935         * term/ns-win.el (ns-initialize-window-system): Don't call
14936         mouse-wheel-mode since it's enabled globally by default already.
14938         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
14939         actually define the variable, but only silences the byte-compiler.
14940         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
14941         before looking it up.
14942         (mouse-wheel-scroll-amount): Also reset the bindings if this value
14943         is changed.
14945 2009-09-12  Glenn Morris  <rgm@gnu.org>
14947         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
14948         1000.
14949         (elint-add-required-env): Don't beep on error.
14950         (elint-forms): In case of error, return ENV unchanged.
14951         (elint-init-env): Skip non-list forms.
14952         (elint-log): Handle unknown file positions.
14954 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
14956         * epg.el (epg-make-context): Add autoload cookie.
14957         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
14958         (epg-decrypt-string, epg-start-verify, epg-verify-file)
14959         (epg-verify-string, epg-start-sign, epg-sign-file)
14960         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
14961         (epg-encrypt-string, epg-start-export-keys)
14962         (epg-export-keys-to-file, epg-export-keys-to-string)
14963         (epg-start-import-keys, epg-import-keys-from-file)
14964         (epg-import-keys-from-string, epg-start-receive-keys)
14965         (epg-receive-keys, epg-import-keys-from-server)
14966         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
14967         (epg-sign-keys, epg-start-generate-key)
14968         (epg-generate-key-from-file, epg-generate-key-from-string):
14969         Remove autoload cookie.
14971 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
14973         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
14974         reevaluation of trash-directory.
14976         * mwheel.el: Fix last change.
14977         (mouse-wheel-mode): New defvar.
14978         (mouse-wheel-mode): Remove autoload cookie.
14980 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14982         * mwheel.el (mwheel-installed-bindings): New var.
14983         (mouse-wheel-mode): Use it, so as to make sure we really remove all
14984         the bindings we set last time.  Use custom-initialize-delay.
14985         * loadup.el: Load mwheel after term/*-win.el.
14986         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
14987         and mouse-wheel-up-event now that their first evaluation is done
14988         sufficiently late to be correct.
14990         * startup.el (tutorial-directory): Make it a defcustom.
14991         Use custom-initialize-delay rather than eval-at-startup to set it.
14992         * image.el (image-load-path): Make it a defcustom.
14993         Use custom-initialize-delay rather than eval-at-startup to set it.
14994         * subr.el (eval-at-startup): Remove.
14995         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
14997         * subr.el (do-after-load-evaluation): Warn the user after loading an
14998         obsolete package.
15000 2009-09-12  Glenn Morris  <rgm@gnu.org>
15002         * proced.el (proced-mark-alt): Remove alias.
15003         (proced-mode-map): Remove proced-mark-alt.
15005         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15006         Elint file and directory.  Remove initialization entry.
15008         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15009         commands.
15010         (elint-current-buffer): Set mode-line-process.
15011         (elint-init-env): Handle define-derived-mode.
15012         Fix declare-function with unspecified arglist.  Guard against odd
15013         defalias statements (eg iso-insert's 8859-1-map).
15014         (elint-add-required-env): Use a temp buffer.
15015         (elint-form): Just print the function/macro name, not the whole form.
15016         Return env unchanged if we fail to parse a macro.
15017         (elint-forms): Guard against parse errors.
15018         (elint-output): New function, to handle batch mode.
15019         (elint-log-message): Add optional argument.  Use elint-output.
15020         (elint-set-mode-line): New function.
15022 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15024         * emacs-lisp/elp.el (elp-not-profilable): Add more
15025         functions (Bug#4233).
15027 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
15029         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15030         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15032 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15034         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15035         (gdb-var-list-children): Use json parsing.
15037 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
15039         * progmodes/js.el (js--proper-indentation): Handle the case where
15040         char-before is null.  Reported by Deniz Dogan.
15042 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15044         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15046 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
15048         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15049         (epg-digest-algorithm-alist): Add SHA224.
15050         (epg-context-set-passphrase-callback)
15051         (epg-context-set-progress-callback): Add description about
15052         callback function.
15054 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15056         * custom.el (custom-delayed-init-variables): New var.
15057         (custom-initialize-delay): New function.
15058         * startup.el (command-line): "Re"evaluate all vars in
15059         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
15060         explicitly any more.
15061         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15062         to avoid creating a ~/.emacs.d at build-time (bug#4347).
15064         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15066 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15068         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15069         (gdb-var-update-handler): Use json parsing.
15071 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15073         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15074         decode annotated text, regardless of language environment.  (Bug#2741)
15076 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15078         * Makefile.in (autoloads): Make rmail.el writable as well.
15080 2009-09-11  Glenn Morris  <rgm@gnu.org>
15082         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15083         loaddefs.el.
15084         * dired.el: Regenerate with extracted autoloads.
15085         * Makefile.in (autoloads): Make dired.el writable.
15087         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15088         * ibuffer.el: Regenerate with extracted autoloads.
15089         * Makefile.in (autoloads): Make ibuffer.el writable.
15091         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15092         * version.el (emacs-copyright, emacs-major-version)
15093         (emacs-minor-version): Reformat doc-strings for make-docfile.
15095         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15096         functions and variables, since they must be stuff specific to some other
15097         platform.
15098         (apropos-print): Make mouse-click message less specific about button.
15100         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15101         that records where a macro was defined.
15102         * help-fns.el (describe-function-1): Mention if a function has a
15103         compiler-macro.
15104         * help-mode.el (help-function-cmacro): New button.
15106         * locate.el (top-level): Always require dired.
15107         (locate-mode-map): Initialize inside the defvar.
15109         * net/ange-ftp.el (dired-compress-file): Declare.
15110         (ange-ftp-dired-compress-file): Add doc string.
15112         * term/ns-win.el (x-display-name, x-setup-function-keys):
15113         Unify doc-strings with X versions.
15115 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15117         * emulation/crisp.el (crisp-mode-map): Move initialization
15118         into declaration.
15119         (crisp-mode): Use define-minor-mode.
15121         * progmodes/xscheme.el (xscheme-evaluation-commands):
15122         Put a :advertised-binding property rather than using
15123         advertised-xscheme-send-previous-expression.
15124         (advertised-xscheme-send-previous-expression): Declare obsolete.
15125         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15126         `advertised-undo'.
15127         (crisp-mode): Add corresponding bindings to
15128         undo's :advertised-binding instead.
15129         * dired.el (dired-mode-map): Put a :advertised-binding property rather
15130         than using dired-advertised-find-file.
15131         (dired-advertised-find-file):
15132         * simple.el (advertised-undo):
15133         * wid-edit.el (advertised-widget-backward): Declare obsolete.
15134         (widget-keymap): Put a :advertised-binding property rather
15135         than using advertised-widget-backward.
15136         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15137         than using advertised-undo.
15138         * tutorial.el (tutorial--default-keys): Adjust accordingly.
15140 2009-09-10  Simon South  <ssouth@slowcomputing.org>
15142         * progmodes/delphi.el (delphi-tab): Indent region when Transient
15143         Mark mode is enabled and region is active; otherwise indent or
15144         insert TAB as usual.
15145         (delphi-mode): Update description of TAB-key binding.
15147 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15149         * subr.el (define-key-rebound-commands): Mark obsolete.
15150         * startup.el (precompute-menubar-bindings): Remove.
15151         (normal-top-level): Remove obsolete code that tried to precompute
15152         menubar bindings.
15153         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15154         define-key-rebound-commands and precompute-menubar-bindings.
15156 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
15158         * net/imap.el (imap-interactive-login): Better messages.
15159         (imap-open): Fix bug with renamed buffer on reconnect.
15160         (imap-authenticate): Add buffer-local imap-last-authenticator variable
15161         for easier debugging and cleaner code.  On successful (guessed based on
15162         server capabilities) secondary authentication, set imap-state
15163         correctly.
15164         (imap-last-authenticator): Define imap-last-authenticator as a variable
15165         to avoid warnings.
15167 2009-09-10  Glenn Morris  <rgm@gnu.org>
15169         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15171         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15172         (byte-compile-file-form-autoload): Don't warn about unknown functions
15173         where the autoload statement comes after the use.
15174         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15175         that any handlers inside the body (eg require) are in turn respected.
15177         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15178         effects.
15180         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15181         and syntax and abbrev tables basic docs, if they don't have any.
15183         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15185         * international/mule-cmds.el (top-level): Require cl when compiling.
15186         (view-hello-file): Use default-value rather than
15187         default-enable-multibyte-characters.
15189         * progmodes/fortran.el: Move all safe and risky properties into the
15190         defcustoms.
15192         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15193         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15194         * mail/undigest.el:
15195         Put autoloads in rmail.el rather than loaddefs.el.
15196         * mail/rmail.el: Regenerate with extracted autoloads.
15198         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15199         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15201 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
15203         Reported in thread for Bug#4375.
15204         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15205         "-data-evaluate-expression" instead of print.
15206         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15207         (gdb-tooltip-print): Parse output from above MI command.
15208         (gdb): Revert 2009-08-11 change.  User should detach inferior
15209         manually.
15211         Remove the word "separate" from IO functions as inferior
15212         output is now never displayed in the GUD buffer.
15214 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
15216         * startup.el (command-line-normalize-file-name): On Windows and
15217         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15219 2009-09-10  Juri Linkov  <juri@jurta.org>
15221         * isearch.el (isearch-text-char-description): Propertize escape
15222         character sequences with the `escape-glyph' face.  (Bug#4344)
15224         * simple.el (shell-command): Set asynchronous process filter to
15225         `comint-output-filter'.  (Bug#4343)
15227         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15228         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
15229         the list.  Move "asm" to the bottom.
15230         (grep-find-ignored-directories): Add `choice' with nil value
15231         to empty the list easily.
15232         (grep-find-ignored-files): New option.
15233         (grep-files-history): Set to nil by default instead of '("ch" "el").
15234         (grep-compute-defaults): Add "<X>" to `grep-template'.
15235         (grep-read-files): Bind new local variables `default-alias' and
15236         `default-extension'.  Use a list of default values for the file prompt.
15237         (lgrep): Add `--exclude=' command line options composed from
15238         `grep-find-ignored-files'.
15239         (rgrep): Add `-name' command line options composed from
15240         `grep-find-ignored-files'.  (Bug#4301)
15242 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15244         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15245         (bug#4368).
15247 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
15249         * calendar/time-date.el (autoload):
15250         Expand define-obsolete-function-alias into defalias and make-obsolete
15251         for old Emacsen that Gnus supports.
15252         (with-no-warnings): Define it for old Emacsen.
15253         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15254         is available.
15255         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15256         float-time is available; suppress compile warning for time-to-seconds.
15258 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
15260         * net/imap.el (imap-message-map): Docstring fix.
15262 2009-09-09  Glenn Morris  <rgm@gnu.org>
15264         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15265         line numbers too.  (Bug#4374)
15267 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15269         * smerge-mode.el (smerge-remove-props, smerge-refine):
15270         Use with-silent-modifications (bug#4342).
15272         * subr.el (with-silent-modifications): New macro.
15274 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
15276         * files.el (top-level): Require `cl' when compiling.
15278 2009-09-07  Glenn Morris  <rgm@gnu.org>
15280         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15282         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15283         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
15285 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
15287         * vc-git.el (vc-git-annotate-command): Use separator to parse
15288         arguments correctly.
15290 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
15292         * proced.el (proced-mode): Doc fix.
15294 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
15296         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15297         lstat fails.
15298         (tramp-do-file-attributes-with-ls): Check for file existence at
15299         remote end.
15300         (tramp-do-file-attributes-with-stat): Likewise.
15301         (tramp-convert-file-attributes): Return nil when attr is nil.
15303 2009-09-05  Glenn Morris  <rgm@gnu.org>
15305         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15306         properties to this button.
15307         (diary-fancy-display): Don't extend the button to the final newline.
15308         (diary-fancy-display-mode): Continue to define "q" as a local key.
15310         * calendar/cal-china.el (holiday-chinese): Make it slightly more
15311         efficient.
15313         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15315         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15316         (byte-compile-dest-file-function): New option.
15317         (byte-compile-dest-file): Doc fix.
15318         Obey byte-compile-dest-file-function.
15319         (byte-compile-cl-file-p): New function.
15320         (byte-compile-eval): Only suppress noruntime warnings about cl functions
15321         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
15322         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15323         than for file being previously loaded.
15324         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15325         (byte-compile-file-form-require): Handle the case where requiring a file
15326         indirectly causes CL to be loaded.
15328 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15330         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15331         before killing the old buffer, since by the time `kill-buffer' is
15332         run so many buffer variables have been set to nil that it may not
15333         behave as expected.  (Bug#4061)
15335 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15337         * files.el (find-alternate-file): If the old buffer is modified
15338         and visiting a file, behave similarly to `kill-buffer' when
15339         killing it, thus reverting to the pre-1.878 behavior; see
15340         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15341         for discussion.  Also, consult `buffer-file-name' as a variable
15342         not as a function, for consistency with the rest of the code.
15344 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
15346         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15347         also when adding a new directory.
15349         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15350         defun.
15352 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15354         * files.el (locate-file-completion-table): Make it provide boundary
15355         information, so partial-completion works better.
15357 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
15359         * mail/footnote.el (Footnote-text-under-cursor):
15360         Check footnote-text-marker-alist before using it (bug#4324).
15362 2009-09-04  Glenn Morris  <rgm@gnu.org>
15364         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15365         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15366         * play/solitaire.el, play/tetris.el:
15367         Remove leading * from defcustom and defface docs.
15369         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15370         necessary.
15371         (diary-fancy-overriding-map): New variable.
15372         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15373         Use view-mode.
15375         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15376         goto-line.
15378 2009-09-03  Glenn Morris  <rgm@gnu.org>
15380         * arc-mode.el (archive-mode):
15381         * dos-fns.el (set-default-process-coding-system):
15382         * man.el (Man-getpage-in-background):
15383         * menu-bar.el (menu-bar-describe-menu):
15384         * server.el (server-process-filter):
15385         * startup.el (command-line):
15386         * tar-mode.el (tar-header-block-tokenize, tar-extract):
15387         * w32-fns.el (set-default-process-coding-system):
15388         * x-dnd.el (x-dnd-handle-file-name):
15389         * international/mule-cmds.el (mule-menu-keymap)
15390         (set-default-coding-systems, language-info-alist, set-language-info)
15391         (set-language-environment, standard-display-european-internal)
15392         (set-locale-environment):
15393         * international/mule-diag.el (mule-diag):
15394         * mail/emacsbug.el (report-emacs-bug):
15395         * mail/rmail.el (rmail-mode):
15396         * mail/sendmail.el (mail-setup):
15397         Use default-value rather than default-enable-multibyte-characters.
15399         * progmodes/f90.el: Move all safe properties into the defcustoms.
15400         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15402         * calendar/appt.el (appt-check):
15403         * calendar/diary-lib.el (diary-set-header, diary-live-p)
15404         (diary-check-diary-file, diary-list-entries)
15405         (diary-include-other-diary-files, diary-simple-display)
15406         (diary-fancy-display, diary-print-entries)
15407         (diary-mark-included-diary-files, diary-make-entry):
15408         Don't call substitute-in-file-name on diary-file.
15410 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
15411             Stefan Monnier  <monnier@iro.umontreal.ca>
15413         * mail/footnote.el (footnote-prefix): Make it a defcustom.
15414         (footnote-mode-map): Move initialization into the declaration.
15415         (footnote-minor-mode-map): Define it rather than changing global-map.
15416         (footnote-mode): Use define-minor-mode.
15418 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
15420         * net/tramp.el (tramp-handle-file-attributes-with-ls)
15421         (tramp-do-file-attributes-with-perl)
15422         (tramp-do-file-attributes-with-stat): Rename from
15423         `tramp-handle-file-attributes-with-*'.
15424         (tramp-handle-file-attributes): Use them.
15425         (tramp-do-directory-files-and-attributes-with-perl)
15426         (tramp-do-directory-files-and-attributes-with-stat): Rename from
15427         `tramp-handle-directory-files-and-attributes-with-*'.
15428         (tramp-handle-directory-files-and-attributes): Use them.
15429         (tramp-method-out-of-band-p): Additional parameter SIZE.
15430         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15431         (tramp-handle-write-region): Use it.
15432         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15433         (tramp-handle-vc-registered): Check, whether the first run did
15434         return files to be tested.
15435         (tramp-advice-make-auto-save-file-name): Do not call directly
15436         `tramp-handle-make-auto-save-file-name', because this would bypass
15437         the locking mechanism.
15439         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15440         (file-remote-p, process-file, start-file-process, set-file-times)
15441         (tramp-compat-file-attributes): Compatibility functions shall not
15442         call directly `tramp-handle-*', because this would bypass the
15443         locking mechanism.
15444         (tramp-compat-number-sequence): New defun.
15446 2009-09-02  Glenn Morris  <rgm@gnu.org>
15448         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15449         alias for float-time.
15450         (time-to-number-of-days): In Emacs, use float-time.
15451         * net/newst-backend.el (time-add): Suppress warnings from compat
15452         function.
15453         * time.el (emacs-uptime, emacs-init-time):
15454         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15455         Use float-time rather than time-to-seconds.
15457         * minibuffer.el (completion-initials-expand): Fix typo.
15459         * faces.el (modeline, modeline-inactive, modeline-highlight)
15460         (modeline-buffer-id):
15461         * info.el (info-menu-5): Mark these face aliases as obsolete.
15463 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
15465         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15466         space ...
15467         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15468         no "--thread" option.
15469         (gdb-stopped): Don't print "Switched to thread" message when it is
15470         unchanged.
15472 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15474         * minibuffer.el (completion-try-completion)
15475         (completion-all-completions): Remove ill-defined (and
15476         mistakenly installed and luckily never used nor documented)
15477         `completion-styles' property.
15478         (completion-initials-expand, completion-initials-all-completions)
15479         (completion-initials-try-completion): New functions.
15480         (completion-styles-alist): Add doc to each entry.
15481         Add new `initials' entry.
15483 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
15485         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15486         MI command -var-evaluate-expression.
15487         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15488         and tweak for case of string child.
15489         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15491 2009-09-01  Glenn Morris  <rgm@gnu.org>
15493         * add-log.el (change-log-date-face, change-log-name-face)
15494         (change-log-email-face, change-log-file-face, change-log-list-face)
15495         (change-log-conditionals-face, change-log-function-face)
15496         (change-log-acknowledgement-face):
15497         * cus-edit.el (custom-invalid-face, custom-rogue-face)
15498         (custom-modified-face, custom-set-face, custom-changed-face)
15499         (custom-saved-face, custom-button-face, custom-button-pressed-face)
15500         (custom-documentation-face, custom-state-face, custom-comment-face)
15501         (custom-comment-tag-face, custom-variable-tag-face)
15502         (custom-variable-button-face, custom-face-tag-face)
15503         (custom-group-tag-face-1, custom-group-tag-face):
15504         * diff-mode.el (diff-header-face, diff-file-header-face)
15505         (diff-index-face, diff-hunk-header-face, diff-removed-face)
15506         (diff-added-face, diff-changed-face, diff-function-face)
15507         (diff-context-face, diff-nonexistent-face):
15508         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15509         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15510         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15511         (Info-title-4-face):
15512         * isearch.el (isearch-lazy-highlight-face):
15513         * log-view.el (log-view-file-face, log-view-message-face):
15514         * paren.el (show-paren-match-face, show-paren-mismatch-face):
15515         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15516         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15517         (cvs-msg-face):
15518         * smerge-mode.el (smerge-mine-face, smerge-other-face)
15519         (smerge-base-face, smerge-markers-face):
15520         * wid-edit.el (widget-documentation-face, widget-button-face)
15521         (widget-field-face, widget-single-line-field-face)
15522         (widget-inactive-face, widget-button-pressed-face):
15523         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15524         (woman-addition-face):
15525         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15526         (eshell-ls-executable-face, eshell-ls-readonly-face)
15527         (eshell-ls-unreadable-face, eshell-ls-special-face)
15528         (eshell-ls-missing-face, eshell-ls-archive-face)
15529         (eshell-ls-backup-face, eshell-ls-product-face)
15530         (eshell-ls-clutter-face):
15531         * eshell/em-prompt.el (eshell-prompt-face):
15532         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15533         * obsolete/old-whitespace.el (whitespace-highlight-face):
15534         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15535         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15536         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15537         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15538         (antlr-font-lock-literal-face):
15539         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15540         (ebrowse-root-class-face, ebrowse-file-name-face)
15541         (ebrowse-default-face, ebrowse-member-attribute-face)
15542         (ebrowse-member-class-face, ebrowse-progress-face):
15543         * progmodes/make-mode.el (makefile-space-face):
15544         * progmodes/sh-script.el (sh-heredoc-face):
15545         * textmodes/flyspell.el (flyspell-incorrect-face)
15546         (flyspell-duplicate-face):
15547         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15548         * textmodes/texinfo.el (texinfo-heading-face):
15549         Mark face aliases with "-face" suffix as obsolete.
15551         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
15552         compiler.
15554         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
15555         (eudc-bob-sound-menu): Use defvar rather than defconst, since
15556         easy-menu-define wants to modify these.
15558         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
15560         * net/browse-url.el (browse-url-file-url):
15561         * term/internal.el (dos-codepage-setup):
15562         Use default-value rather than default-enable-multibyte-characters.
15564         * progmodes/etags.el (etags-goto-tag-location):
15565         * progmodes/flymake.el (flymake-highlight-line)
15566         (flymake-goto-file-and-line, flymake-goto-line):
15567         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
15568         (gdb-goto-breakpoint):
15569         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
15570         * progmodes/python.el (python-find-function)
15571         (python-pdbtrack-track-stack-file):
15572         * progmodes/verilog-mode.el (verilog-surelint-off):
15573         * term/ns-win.el (ns-open-file-select-line):
15574         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
15575         Use forward-line rather than goto-line.
15577         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
15578         * textmodes/reftex-index.el (reftex-display-index):
15579         * textmodes/reftex-ref.el (reftex-offer-label-menu):
15580         * textmodes/reftex-toc.el (reftex-toc):
15581         Remove unnecessary bindings of default-major-mode (all are followed by
15582         major-mode check and possible mode switch).
15584 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
15586         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15587         Handle watchpoints (bug#4282).
15588         (def-gdb-thread-buffer-command): Enable thread to be selected by
15589         clicking without selecting threads buffer first.
15590         (gdb-current-context-command): Use selected frame so that "up",
15591         "down" etc work in the GUD buffer.
15592         (gdb-update): Find selected frame before rendering stack buffer.
15593         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
15595 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15597         * progmodes/sym-comp.el (displayed-completions): Remove.
15598         (symbol-complete): Use minibuffer-complete.
15600 2009-08-31  Glenn Morris  <rgm@gnu.org>
15602         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
15604         * apropos.el (apropos-symbols-internal):
15605         Handle (obsolete) face aliases.
15607         * faces.el (describe-face): Adjust the output format to be more like
15608         describe-variable, and to mention (obsolete) face aliases.
15609         Adjust the whitespace so that help-setup-xref works.
15611         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
15612         * calendar/diary-lib.el (diary-button-face):
15613         Mark these face aliases as obsolete.
15615         * calendar/calendar.el (calendar-today): Doc fix.
15617 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
15619         * progmodes/gdb-mi.el (gdb-control-all-threads)
15620         (gdb-control-current-thread): Force tool bar update.
15621         (gdb-non-stop-handler): New function.
15622         (gdb-init-1): Use it to test if non-stop mode is supported.
15623         Remove unused gdbmi buffer type.
15625 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
15627         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15628         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
15630 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
15632         * comint.el (comint-exec-1): Check command is non-null first.
15633         Part of gdb-mi.el change (2009-08-28).
15635 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15637         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15639 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
15641         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15642         instead of `dolist' to avoid a recursive require when bootstrapping.
15644 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15646         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15648         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15650         * net/imap.el (imap-send-command): Simplify.
15651         (imap-wait-for-tag): point-max -> buffer-size.
15653         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15655         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15656         with constant argument.
15658         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15660         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15662         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15663         Change default, since most of our files don't have a history.
15664         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15665         the user.
15667         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15668         Add comint-run.
15670         * calc/calc.el: Improve commenting convention.
15671         (calc-digit-map, toplevel): Simplify.
15673         * comint.el (comint-insert-input): Be careful to only set point if we
15674         don't delegate to some other command.
15676         * proced.el (proced-signal-list): Make it an alist.
15677         (proced-grammar-alist): Capitalize names.
15678         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15679         Disable undo manually and make it read-only.
15680         Use completion-annotate-function.
15682         * minibuffer.el (minibuffer-message): If the current buffer is not
15683         a minibuffer, insert the message in the echo area rather than at the
15684         end of the buffer.
15685         (completion-annotate-function): New variable.
15686         (minibuffer-completion-help): Use it.
15687         (completion--embedded-envvar-table): Environment vars are
15688         always case-sensitive.
15690 2009-08-30  Glenn Morris  <rgm@gnu.org>
15692         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
15693         from fortran-current-defun.
15694         (fortran-beginning-of-subprogram): Be more precise about finding the
15695         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
15696         (fortran-end-of-subprogram): Simplify.
15697         (fortran-current-defun): Use fortran-start-prog-re.
15699 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
15701         * subr.el (do-after-load-evaluation): Simplify.
15703 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
15705         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
15707         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
15708         (vc-rcs-print-log): Use it.
15710         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
15712 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15714         * paths.el (abbrev-file-name): Move to abbrev.el.
15715         * abbrev.el (abbrev-file-name): Move from paths.el.
15716         Obey user-emacs-directory.
15717         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
15718         user-emacs-directory.
15719         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
15720         abbrev-file-name and calc-settings-file any more.
15721         * startup.el (command-line): Recompute abbrev-file-name and
15722         abbreviated-home-dir.
15723         (normal-no-mouse-startup-screen): Improve the generic code and get rid
15724         of the special code for when C-h bindings haven't been changed.
15725         (display-startup-echo-area-message): Use with-current-buffer.
15726         (command-line-1): Use a list of strings, rather than a list of lists
15727         of strings for longopts.
15729         * files.el (get-free-disk-space): Use / for default-directory.
15731         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
15732         Use with-current-buffer.
15734         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
15735         Recognize immutable variables like most-positive-fixnum.
15736         (byte-compile-setq-default): Check and warn if trying to assign
15737         to an immutable variable, or a non-variable.
15739         * progmodes/cc-vars.el (c-comment-continuation-stars):
15740         * progmodes/cc-engine.el (c-looking-at-bos):
15741         * progmodes/cc-cmds.el (c-toggle-auto-state)
15742         (c-forward-into-nomenclature, c-backward-into-nomenclature)
15743         (c-comment-line-break-function): Add version of obsolescence.
15745 2009-08-28  Juri Linkov  <juri@jurta.org>
15747         * files.el (magic-fallback-mode-alist): Add ZIP magic number
15748         associated with `archive-mode'.
15750         * image.el (image-type-header-regexps): Use only JPEG magic number
15751         to determine JPEG images, and don't use `image-jpeg-p' because
15752         Emacs can display non-JFIF non-Exif JPEG images.
15754 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
15756         * arc-mode.el (archive-mode):
15757         * emacs-lisp/re-builder.el (re-builder-unload-function):
15758         Protect against the default value of `major-mode' being nil.
15760 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
15762         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
15763         Fix typos in docstrings.
15765         * progmodes/js.el (js--macro-decl-re): Doc fix.
15766         (js--plain-method-re, js--split-name): Refloc docstring.
15767         (js--class-styles, js--make-merged-item, js--splice-into-items):
15768         Fix typos in docstrings; reflow docstrings.
15769         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
15770         (js--variable-decl-matcher, js--inside-pitem-p)
15771         (js--parse-state-at-point, js--get-all-known-symbols)
15772         (js--symbol-history, js-find-symbol, js--js-references)
15773         (js--moz-interactor, js--js-encode-value, js--read-tab):
15774         Fix typos in docstrings.
15776 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15778         * textmodes/reftex.el (reftex-get-file-buffer-force):
15779         * progmodes/verilog-mode.el (verilog-batch-execute-func):
15780         * emulation/viper.el (viper-go-away, viper-set-hooks):
15781         * emacs-lisp/re-builder.el (re-builder-unload-function):
15782         * emacs-lisp/bytecomp.el (byte-compile-file):
15783         * ses.el (ses-unload-function):
15784         * hexl.el (hexl-find-file):
15785         * files.el (normal-mode):
15786         * ehelp.el (with-electric-help):
15787         * autoinsert.el (auto-insert-alist):
15788         * arc-mode.el (archive-mode):
15789         Use (default-value 'major-mode) instead of default-major-mode.
15791         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
15792         * international/mule.el (load-with-code-conversion):
15793         * emacs-lisp/debug.el (debug):
15794         * ediff-vers.el (ediff-rcs-get-output-buffer):
15795         * dired.el (dired-internal-noselect): Don't let-bind
15796         default-major-mode around code that doesn't use it.
15797         E.g. buffer creation via get-buffer-create doesn't use it.
15799 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
15801         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
15802         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
15803         when writing the temp file.  Otherwise, epa-file gets confused.
15804         (tramp-register-file-name-handlers): Make it a defun.  Move also
15805         `epa-file-handler' to the front of `file-name-handler-alist'.
15807 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15809         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
15810         start right after a ^M.
15811         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
15812         (tramp-completion-file-name-regexp-separate)
15813         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
15814         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
15815         Don't modify last-coding-system-used by accident.
15816         (tramp-completion-file-name-handler): Apply the checks here,
15817         instead during registration.
15818         (tramp-register-file-name-handlers): Renamed from
15819         `tramp-register-file-name-handler'.  Register both
15820         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
15821         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
15823 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
15825         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
15826         Remove variable ...
15827         (gdb-init-1, gdb-display-separate-io-buffer)
15828         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
15829         references to it.
15830         (gdb-inferior-io-mode): Use make-comint-in-buffer.
15831         (gdb-inferior-filter): Use comint-output-filter to stop
15832         echoing and remove ^M characters.
15834 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15836         * emulation/viper-init.el (viper-restore-cursor-type):
15837         * emulation/cua-base.el (cua--update-indications):
15838         Replace default-cursor-type with (default-value 'cursor-type).
15840         * mail/sendmail.el (mail-recover-1):
15841         * international/mule-diag.el (describe-current-coding-system-briefly)
15842         (describe-current-coding-system):
15843         * international/mule-cmds.el (select-safe-coding-system)
15844         (select-message-coding-system)
15845         (set-language-environment-coding-systems, set-locale-environment):
15846         * hexl.el (hexl-insert-multibyte-char):
15847         * dos-w32.el (find-buffer-file-type-coding-system):
15848         * simple.el (what-cursor-position):
15849         Replace uses of default-buffer-file-coding-system
15850         with (default-value 'buffer-file-coding-system).
15852         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
15853         Replace uses of default-cursor-in-non-selected-windows
15854         with (default-value 'cursor-in-non-selected-windows).
15855         Use with-current-buffer.
15857         * mail/feedmail.el: Use CL macros.
15858         (feedmail-run-the-queue, feedmail-send-it-immediately):
15859         * dos-w32.el (find-buffer-file-type): Replace uses of
15860         default-buffer-file-type with (default-value 'buffer-file-type).
15862 2009-08-28  Glenn Morris  <rgm@gnu.org>
15864         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
15865         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
15866         Use default-value of major-mode rather than default-major-mode.
15868 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15870         * Makefile.in (update-elcfiles): Report left over elc files.
15872         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
15873         expand-file-name and with-current-buffer.
15874         (mail-get-names, mail-directory): Use with-current-buffer.
15876         * vc.el (vc-read-revision): New function.
15877         (vc-version-diff, vc-merge): Use it.
15879 2009-08-27  Sam Steingold  <sds@gnu.org>
15881         * simple.el (kill-do-not-save-duplicates): New user option.
15882         (kill-new): When it is non-nil, and the new string is the same as
15883         the latest kill, set replace to t to avoid duplicates in kill-ring.
15885 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
15887         * net/tramp.el (tramp-handle-process-file): Do not flush all
15888         caches when `process-file-side-effects' is set.
15889         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
15890         instead of `tramp-find-file-exists-command'.
15891         Unset `process-file-side-effects'.
15893 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
15895         * net/tramp.el (tramp-methods): New method "rsyncc".
15896         (top): Add completion function for "rsyncc".
15897         (tramp-message-show-message): New defvar.
15898         (tramp-message, tramp-error): Use it.
15899         (tramp-do-copy-or-rename-file-directly): Extend check for direct
15900         remote copying.
15901         (tramp-do-copy-or-rename-file-out-of-band): Handle new
15902         `tramp-methods' entry `copy-env' of "rsyncc".
15903         (tramp-vc-registered-read-file-names): New defconst.
15904         (tramp-vc-registered-file-names): New defvar.
15905         (tramp-handle-vc-registered): Implement optimization strategy.
15906         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
15907         (tramp-vc-file-name-handler): New defun.
15908         (tramp-get-ls-command, tramp-get-test-command)
15909         (tramp-get-file-exists-command, tramp-get-remote-ln)
15910         (tramp-get-remote-perl, tramp-get-remote-stat)
15911         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
15913         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
15914         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
15915         timestamps.
15916         (tramp-get-file-property): Check for timestamps in
15917         `tramp-cache-inhibit-cache'.
15918         (tramp-set-file-property): Write timestamp.
15920 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
15922         * language/japan-util.el (japanese-symbol-table): Add entries for
15923         cp932-2-byte.
15925         * international/characters.el: Add category `j' to cp932-2-byte.
15927 2009-08-27  Kenichi Handa  <handa@m17n.org>
15929         * international/fontset.el (build-default-fontset-data): New macro.
15930         (setup-default-fontset): Use build-default-fontset-data for CJK,
15931         tibetan, ethiopic, and ipa.
15933 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15935         * cus-start.el (default-major-mode): Customize `major-mode' instead.
15936         (enable-multibyte-characters): Not customizable any more.
15938         * subr.el (default-mode-line-format, default-header-line-format)
15939         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
15940         (default-direction-reversed, default-truncate-lines)
15941         (default-left-margin, default-tab-width, default-case-fold-search)
15942         (default-left-margin-width, default-right-margin-width)
15943         (default-left-fringe-width, default-right-fringe-width)
15944         (default-fringes-outside-margins, default-scroll-bar-width)
15945         (default-vertical-scroll-bar, default-indicate-empty-lines)
15946         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
15947         (default-fringe-cursor-alist, default-scroll-up-aggressively)
15948         (default-scroll-down-aggressively, default-fill-column)
15949         (default-cursor-type, default-buffer-file-type)
15950         (default-cursor-in-non-selected-windows)
15951         (default-buffer-file-coding-system, default-major-mode)
15952         (default-enable-multibyte-characters): Mark as obsolete.
15954 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
15956         * vc-dir.el (vc-dir-update): Remove debug helper.
15958         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
15960 2009-08-26  Sam Steingold  <sds@gnu.org>
15962         * simple.el (save-interprogram-paste-before-kill): New user option.
15963         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
15964         save the interprogram-paste into kill-ring before overriding it
15965         with the Emacs kill.
15967 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
15969         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
15970         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
15971         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
15972         and move to vc-rcs.el.
15973         (vc-default-next-revision): Rename to vc-rcs-next-revision and
15974         move to vc-rcs.el.
15975         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
15976         (vc-rcs-update-changelog): Remove.
15977         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
15978         and move to vc-rcs.el.
15980         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
15981         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
15982         renaming.
15983         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
15984         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
15985         vc.el, renamed to be RCS specific.
15987         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
15988         New functions.
15989         (vc-cvs-update-changelog): Move here from vc.el.
15991         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
15992         New functions.
15994 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15996         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
15998 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16000         * vc-git.el (vc-git-register): Use "git add" for directories.
16001         (vc-git-stash, vc-git-stash-show): New functions.
16002         (vc-git-extra-menu-map): Bind them.
16004         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16005         directory correctly in case the item is a directory itself.
16007         * vc.el: Document the desired behavior for reverted files in the
16008         `added' state.
16009         (vc-default-prettify-state-info): Remove function, unused.
16011         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16013 2009-08-26  Glenn Morris  <rgm@gnu.org>
16015         * bindings.el (standard-mode-line-format): Reposition dashes in
16016         which-func entry.  (Bug#4217)
16018         * files.el (enable-local-variables, enable-local-eval)
16019         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16020         the defcustoms.
16021         (auto-mode-alist, ignored-local-variables)
16022         (save-some-buffers-action-alist): Move risky declarations to the
16023         definitions.
16024         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16025         (font-lock-defaults, format-alist, imenu--index-alist)
16026         (imenu-generic-expression, input-method-alist, minor-mode-alist)
16027         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16028         (mode-line-modified, mode-line-mule-info, mode-line-position)
16029         (mode-line-process, mode-line-remote, outline-level)
16030         (parse-time-rules, rmail-output-file-alist)
16031         (special-display-buffer-names, vc-mode):
16032         Move risky declarations to the relevant files.
16033         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16034         (mode-line-modified, mode-line-process, mode-line-position)
16035         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16036         * font-core.el (font-lock-defaults):
16037         * format.el (format-alist):
16038         * vc-hooks.el (vc-mode):
16039         * window.el (special-display-buffer-names):
16040         * international/mule-cmds.el (input-method-alist):
16041         Define riskiness here (dumped file) rather than in files.el.
16042         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16043         * imenu.el (imenu-generic-expression, imenu--index-alist):
16044         * outline.el (outline-level):
16045         * time.el (display-time-string):
16046         * calendar/parse-time.el (parse-time-rules):
16047         * mail/rmailout.el (rmail-output-file-alist):
16048         Autoload riskiness here, rather than placing in files.el.
16050 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
16052         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16054 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
16056         * simple.el (process-file-side-effects): New defvar.
16058         * dired-aux.el (dired-show-file-type):
16059         * vc.el (vc-diff-internal):
16060         * vc-arch.el (vc-arch-diff):
16061         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16062         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16063         * vc-git.el (vc-git-registered, vc-git-working-revision)
16064         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16065         (vc-git--empty-db-p):
16066         * vc-hooks.el (vc-user-login-name):
16067         * vc-svn.el (vc-svn-registered, vc-svn-state)
16068         (vc-svn-dir-extra-headers, vc-svn-find-revision):
16069         * progmodes/grep.el (grep-probe): Let-bind
16070         `process-file-side-effects' with nil.
16072         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16074         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16075         daemon.  Replace ping by checking for running service for bluez
16076         and zeroconf.  (Bug#4239)
16078 2009-08-25  Kevin Ryde  <user42@zip.com.au>
16080         * net/dig.el (dig): Add autoload cookie.
16082 2009-08-25  Glenn Morris  <rgm@gnu.org>
16084         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16085         load-history for absolute file-names.
16086         (byte-compile-file-form-require): Warn about use of the cl package.
16088         * format.el (format-alist): Doc fix.
16090         * play/bubbles.el (top-level): Don't require cl at run-time.
16092         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16093         run-time cl).
16095 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
16097         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16098         from cl package.
16099         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16101 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
16103         * calc/calc-alg.el (math-trig-rewrite)
16104         (math-hyperbolic-trig-rewrite): New functions.
16105         (calc-simplify): Simplify trig functions when asked.
16107 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16109         * diff-mode.el (diff-find-source-location): Avoid goto-line.
16111 2009-08-24  Kenichi Handa  <handa@m17n.org>
16113         * language/ind-util.el (mapthread): Delete it.
16114         (combinatorial): New function.
16115         (indian--puthash-cv): Use combinatorial instead of mapthread.
16117 2009-08-22  Kevin Ryde  <user42@zip.com.au>
16119         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16120         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16121         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16122         Clarify docstring that the value is strings not symbols.
16123         (checkdoc-list-of-strings-p): New function.
16125 2009-08-22  Glenn Morris  <rgm@gnu.org>
16127         * files.el (auto-mode-alist):
16128         * hippie-exp.el (he-concat-directory-file-name):
16129         * lpr.el (lpr-windows-system, printer-name):
16130         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16131         * ps-print.el (ps-windows-system):
16132         * startup.el (command-line):
16133         * emulation/viper-ex.el (viper-glob-function):
16134         * international/mule-cmds.el (set-language-environment-coding-systems):
16135         * net/ange-ftp.el (ange-ftp-write-region):
16136         * obsolete/fast-lock.el (fast-lock-cache-name):
16137         Remove code for defunct system-types emx, macos, mswindows, next-mach,
16138         unisoft-unix, vax-vms, win32, w32.
16140         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16141         given name if the pattern is not more specific.
16143         * calendar/lunar.el (lunar-phase-names): New option.
16144         (lunar-phase): Doc fix.
16145         (lunar-cycles-per-year): New constant.
16146         (lunar-index): New function.
16147         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16148         (lunar-phase-name): Use lunar-phase-names.
16149         (calendar-lunar-phases): Use format.
16150         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16152         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16153         Copy imenu-example--name-and-position function here for own use.
16154         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16156         * bs.el (bs--redisplay):
16157         * cus-edit.el (custom-redraw):
16158         * ibuffer.el (ibuffer-bury-buffer):
16159         * server.el (server-goto-line-column):
16160         * startup.el (command-line-1):
16161         * strokes.el (strokes-xpm-for-stroke):
16162         * term.el (term-display-buffer-line):
16163         * view.el (View-goto-line):
16164         * calc/calc.el (calc-do, calc-trail-buffer):
16165         * play/gamegrid.el (gamegrid-add-score-insecure):
16166         * progmodes/ada-mode.el (ada-compile-goto-error):
16167         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16168         (ebrowse-select-1st-to-9nth):
16169         * progmodes/cperl-mode.el (cperl-time-fontification):
16170         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16171         * progmodes/gud.el (gud-display-line):
16172         (idlwave-shell-display-line):
16173         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16174         * progmodes/make-mode.el (makefile-browser-toggle):
16175         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16176         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16177         * textmodes/picture.el (picture-draw-rectangle):
16178         * textmodes/reftex-index.el (reftex-index-goto-letter):
16179         (reftex-select-jump-to-previous):
16180         * textmodes/reftex-sel.el (reftex-find-start-point)
16181         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16182         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16183         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16184         * textmodes/tex-mode.el (tex-compilation-parse-errors):
16185         * textmodes/two-column.el (2C-associated-buffer):
16186         Use forward-line rather than goto-line.
16188         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16189         goto-line.
16191         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16192         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16193         (quick-check-list-to-regexp): Declare.
16195         * progmodes/make-mode.el (makefile-browser-insert-selection):
16196         Use goto-char rather than goto-line.
16198         * progmodes/prolog.el (compilation-error-regexp-alist)
16199         (compilation-forget-errors): Declare.
16201 2009-08-22  Juri Linkov  <juri@jurta.org>
16203         * progmodes/grep.el (lgrep, rgrep): At the beginning
16204         set `dir' to `default-directory' unless `dir' is a non-nil
16205         readable directory.  (Bug#4052)
16206         (lgrep, rgrep): Change a weird way to report an error
16207         from using `read-string' to using `error'.
16208         Instead of using interactive arguments in the function body,
16209         add new argument `confirm'.
16211 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16213         * textmodes/remember.el (remember-buffer):
16214         * progmodes/cperl-mode.el (cperl-vc-header-alist):
16215         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16216         (icalendar-extract-ical-from-buffer):
16217         * net/newst-treeview.el (newsticker-groups-filename):
16218         * net/newst-backend.el (newsticker-cache-filename):
16219         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16220         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16221         (speedbar-add-ignored-path-regexp, speedbar-line-path)
16222         (speedbar-buffers-line-path, speedbar-path-line)
16223         (speedbar-buffers-line-path):
16224         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16225         (epg-sign-keys):
16226         * epa.el (epa-display-verify-result):
16227         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16229 2009-08-21  Glenn Morris  <rgm@gnu.org>
16231         * progmodes/js.el (inferior-moz-process): Fix declaration.
16233         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16235         * obsolete/rnewspost.el (news-mail-reply):
16236         Use goto-char rather than goto-line.
16238         * term/ns-win.el (ns-open-file-select-line):
16239         Use line-beginning-position rather than goto-line.
16241         * apropos.el (apropos-command):
16242         * ehelp.el (electric-helpify):
16243         * printing.el (pr-show-setup):
16244         * strokes.el (strokes-help):
16245         * tutorial.el (tutorial--describe-nonstandard-key)
16246         (tutorial--detailed-help):
16247         * woman.el (woman-mini-help, woman-display-extended-fonts):
16248         * calc/calc-help.el (calc-describe-key):
16249         * emulation/edt.el (edt-electric-helpify):
16250         * international/mule-diag.el (mule-diag):
16251         * play/yow.el (apropos-zippy):
16252         * progmodes/python.el (python-describe-symbol):
16253         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16254         * textmodes/table.el (*table--cell-describe-mode)
16255         (*table--cell-describe-bindings):
16256         Use help-print-return-message rather than the now obsolete alias.
16258         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16259         (calendar-cursor-to-visible-date):
16260         * play/5x5.el (5x5-position-cursor):
16261         * play/decipher.el (decipher):
16262         * play/gomoku.el (gomoku-goto-xy):
16263         * play/landmark.el (lm-goto-xy):
16264         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16265         (mpuz-paint-digit):
16266         Use forward-line, not goto-line.
16268         * mail/rmail.el (rmail-obsolete): Delete custom group.
16269         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16270         (rmail-remote-password, rmail-remote-password-required):
16271         Remove unneeded :set-after and :set properties.
16273 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
16275         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16277 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
16279         * loadup.el: Remove leftover macos code.
16281         * vc-git.el (vc-git-annotate-command): Run asynchronously.
16282         Explicitly pass the date format to git blame so that user local
16283         so that the output format can be parsed.
16285 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
16287         * net/dbus.el (top): Don't check for (getenv
16288         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
16290 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
16292         * log-edit.el (log-edit-strip-single-file-name): New var.
16293         (log-edit-insert-changelog): Use it.  Bug#3571
16295 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16297         * subr.el (read-passwd): Use read-key so keypad keys work as well.
16298         Bug#3287
16300         * help.el (help-print-return-message): Rename from
16301         print-help-return-message.
16303         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16304         cvs-mode-map parent hack.
16305         (log-view-mode): Derive from special-mode.
16307         * linum.el (linum-mode): window-size-change-functions is redundant.
16308         Adapt to new window-configuration-change-hook behavior.
16309         (linum-after-size, linum-after-config): Remove.
16311         * imenu.el (imenu-example--name-and-position)
16312         (imenu-example--lisp-extract-index-name)
16313         (imenu-example--create-lisp-index, imenu-example--create-c-index):
16314         Mark as obsolete.
16316         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16317         (inferior-prolog-mode): Use it.
16318         (inferior-prolog-load-file): Reset list of errors.
16320 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16322         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16324         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16326 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
16328         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16329         is running already.
16331 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16333         * subr.el (listify-key-sequence-1): Use normal syntax since those
16334         integers are nowadays always represented by the same (positive) number
16335         on all platforms.
16336         (read-key-empty-map): New const.
16337         (read-key-delay): New var.
16338         (read-key): New function.
16339         (force-mode-line-update): Use with-current-buffer.
16340         (locate-user-emacs-file): Don't forget to abbreviate the file name.
16341         (start-process-shell-command, start-file-process-shell-command):
16342         Discourage the use of command-args.
16344 2009-08-19  Glenn Morris  <rgm@gnu.org>
16346         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16348 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16350         * simple.el (choose-completion-string): Don't rely on
16351         minibuffer-completing-file-name and ad-hoc checks to decide whether
16352         to continue completion or not.
16354         * minibuffer.el (minibuffer-hide-completions): New function.
16355         (completion--do-completion): Use it.
16356         (completions-annotations): New face.
16357         (completion--insert-strings): Use it.
16358         (completion-pcm--delim-wild-regex): Add docstring.
16359         (completion-pcm--string->pattern): Add support for 0-width delimiters
16360         in completion-pcm--delim-wild-regex.
16362 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16364         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16365         Remove unused var `buffer-modified-p'.
16367         * minibuffer.el (completion--do-completion): Move point for the #b001
16368         case as well (bug#4176).
16369         (minibuffer-complete, minibuffer-complete-word): Don't move point.
16371 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
16373         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
16374         and :session buses.
16376 2009-08-18  Kenichi Handa  <handa@m17n.org>
16378         * international/ucs-normalize.el (ucs-normalize-version):
16379         Change to 1.1.
16380         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16381         (utf-8-hfs): Make it perform normalization on encoding too.
16383         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
16384         (sentence-end-without-space): Delete duplicated chars.
16385         (sentence-end-base): Likewise.
16387         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
16388         (html-mode): Delete duplicated chars from sentence-end-base.
16390         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
16391         (texinfo-mode): Delete duplicated chars from sentence-end-base.
16393 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
16395         * files.el (hack-one-local-variable): If the mode function is for
16396         a minor mode, pass it an argument (Bug#4148).
16398 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
16400         * net/tramp.el (tramp-register-completion-file-name-handler):
16401         Check also for (member 'partial-completion completion-styles).
16403 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16405         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16406         abbrev (Bug#3943).
16408 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
16410         * progmodes/cperl-mode.el: Merge upstream 6.2.
16411         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16412         (cperl-forward-re): Check cperl-brace-recursing.
16413         (cperl-highlight-charclass): New function.
16414         (cperl-find-pods-heres): Use it.
16415         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16416         (cperl-beautify-regexp-piece): Fix column calculation.
16417         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16418         (cperl-beautify-level): Don't process entire regexp.
16419         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16420         calling man.
16421         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16422         (cperl-init-faces): Build a list in the normal way.
16424 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16426         * calendar/parse-time.el (parse-time-string-chars): Save match
16427         data.
16429 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16431         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16432         (sql-product): Use it.
16433         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16434         (sql-set-product): Add completion.
16435         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16436         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16437         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16438         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16439         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16440         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16441         (sql-highlight-db2-keywords): Remove.
16442         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16443         (sql-highlight-product): Use derived-mode-p.
16444         (sql-set-sqli-buffer): Use with-current-buffer.
16445         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16446         Simplify.
16448         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16450         * term.el: Fix commenting convention, turn comments into docstrings.
16452 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
16454         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16456 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
16458         * calendar/parse-time.el (parse-time-string-chars): Compute using
16459         character classes, to handle non-ascii characters (Bug#3190).
16461 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16463         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16464         another heredoc if the user adds another < (Bug#3226).
16466         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16467         Don't initialize based on window-system (Bug#4124).
16469         * facemenu.el (facemenu-read-color): Use a completion function
16470         that accepts any defined color, such as RGB triplets (Bug#3677).
16472         * files.el (get-free-disk-space): Change fallback default
16473         directory to /.  Expand DIR argument before switching to fallback.
16474         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16476 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
16478         * files.el (load-library): Doc fix.
16480 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
16482         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16483         (viper-if-string): Redefine C-s in the minibuffer to insert the last
16484         incremental search string.
16486         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16487         XEmacs.
16489         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16490         (ediff-merge-region-is-non-clash)
16491         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16492         Also check if the job is really a merge job.
16494         * ediff.el (ediff-current-file): New function.
16496 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
16498         * progmodes/js.el: Edit docstrings throughout to follow Emacs
16499         conventions.
16500         (js-insert-and-indent): Delete function.
16501         (js-mode-map): Don't bind keys to js-insert-and-indent.
16502         (js-beginning-of-defun): Rename from js--beginning-of-defun.
16503         (js-end-of-defun): Rename from js--end-of-defun.
16504         (js-auto-indent-flag): Delete variable.
16506 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
16508         * progmodes/js.el: Remove proclaim statement.
16509         Defvar which-func-imenu-joiner-function to silence compiler.
16511         * files.el (auto-mode-alist): Use js-mode for .js files.
16513         * progmodes/js2-mode.el: Remove file.
16515         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16517         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16519         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16521 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
16522             Karl Landstrom  <karl.landstrom@brgeight.se>
16524         * progmodes/js.el: New file.
16526 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
16528         * timezone.el (timezone-parse-date): Add ability to understand ISO
16529         basic format (minimal separators) dates in addition to the
16530         already-supported extended format dates.
16532 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
16534         * international/ucs-normalize.el: Add a `coding' file variable.
16536         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16538 2009-08-14  Sam Steingold  <sds@gnu.org>
16540         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16542 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
16544         * faces.el (help-argument-name): Define it here instead of
16545         help-fns.el, because in daemon mode help-fns.el may be loaded when
16546         faces are still uninitialized (Bug#1078).
16548         * help-fns.el (help-argument-name): Move defface to faces.el.
16550 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
16552         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
16553         create buffer with a pty but no process so that GDB can make the
16554         inferior the controlling process.
16556 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
16558         * international/ucs-normalize.el: New file.
16560 2009-08-13  Richard Stallman  <rms@gnu.org>
16562         * mail/rmail.el (rmail-get-attr-names):
16563         Accept an attribute header that is too short.
16565         * mail/rmail.el (rmail-forget-messages):
16566         Ignore nil elt in rmail-message-vector.  Use dotimes.
16568         * progmodes/compile.el (compilation-goto-locus):
16569         Use next-error-move-function.
16571         * simple.el (next-error-move-function): New variable.
16573 2009-08-12  Juri Linkov  <juri@jurta.org>
16575         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
16576         always non-nil.  (Bug#4052)
16578         * replace.el (read-regexp): Return empty string when
16579         `default-value' is nil.
16580         (keep-lines-read-args): Don't use empty string as the
16581         default value for `read-regexp'.  (Bug#2495)
16583 2009-08-12  Juri Linkov  <juri@jurta.org>
16585         * international/mule-cmds.el (ucs-insert): Change arguments
16586         from `arg' to `character', `count', `inherit' to be the same
16587         as in `insert-char'.  Doc fix.  (Bug#4039)
16589         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
16591 2009-08-12  Juri Linkov  <juri@jurta.org>
16593         * files-x.el: New file.
16595         * files.el: Move code that deals with adding/deleting
16596         file/directory-local variables to files-x.el.
16598         * Makefile.in (ELCFILES): Add files-x.elc.
16600 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
16602         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
16603         to use `goto-line'.
16604         (gdb-place-breakpoints, gdb-get-location): Rewritten without
16605         `goto-line'.
16606         (gdb-invalidate-disassembly): Do not refresh upon receiving
16607         'update signal.  Instead, update all disassembly buffers only after
16608         threads list.
16609         (gdb): Send -target-detach when buffer is killed (Bug#3794).
16610         (gdb-starting): Moved -data-list-register-names...
16611         (gdb-stopped): ...here so it's sent when first thread stops.
16612         (gdb-registers-handler-custom): Do nothing if register names are
16613         unknown yet.
16615         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
16616         from `gdb-mi.el' to avoid extra tangling.
16618         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
16619         change which breaks `gud-def' definitions used in `gdb'.
16620         (gdb-update-gud-running): No extra fuss for updating frame number.
16622 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16624         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16625         (describe-language-environment-map, setup-language-environment-map)
16626         (set-coding-system-map): Move initialization into declaration.
16627         (set-language-info-alist): Last arg to define-key-after can be skipped.
16629         * international/quail.el (quail-completion-1): Simplify.
16630         (quail-define-rules): Use slightly more compact code.
16631         (quail-insert-decode-map): Propertize keys, compact columns.
16633         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16634         Add goto-line.
16636 2009-08-10  Miles Bader  <miles@gnu.org>
16638         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16639         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16640         (js2-instance-member, js2-private-member, js2-private-function-call)
16641         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16642         (js2-magic-paren, js2-external-variable):
16643         Remove "-face" suffix from face names.
16644         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16645         (js2-highlight-undeclared-vars, js2-peek-token)
16646         (js2-parse-function-params, js2-mode-show-errors)
16647         (js2-mode-show-warnings, js2-make-magic-delimiter)
16648         (js2-mode-highlight-magic-parens): Update to use new face names.
16650 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
16652         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16653         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
16655 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
16657         * subr.el: Provide hashtable-print-readable.
16659         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16660         hs-c-like-adjust-block-beginning.
16661         (hs-hide-block-at-point): Stop hiding at the beginning of
16662         hs-block-end-regexp (Bug#700).
16664 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
16666         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16667         a macro.
16668         (gdb-registers-handler-custom): Do not fail when register names
16669         are unavailable.
16671 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
16673         * progmodes/gdb-mi.el (gdb-control-all-threads)
16674         (gdb-control-current-thread): Interactive setters for
16675         `gdb-gud-control-all-threads' to use in menu.
16676         (gdb-show-run-p): Show «Go» when process is not active.
16677         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
16678         gud/thread.xpm and gud/all.xpm.
16680 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
16682         * net/net-utils.el (net-utils-font-lock-keywords): New var.
16683         (nslookup-font-lock-keywords): Make it a variable.
16684         (net-utils-mode): New mode for viewing diagnostic network output.
16685         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
16686         (net-utils-run-simple): New function.
16687         (ifconfig, iwconfig, netstat, arp, route): Use it.
16689 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
16691         * progmodes/gdb-mi.el (gdb-read-memory-custom)
16692         (gdb-memory-set-address, def-gdb-set-positive-number)
16693         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
16694         after changing settings.
16695         (gdb-invalidate-disassembly): Update when first shown.
16696         (gdb-edit-locals-value): Fixed.
16697         (gdb-registers-handler-custom): Print registers in right order and
16698         allow changing register values (only for current thread yet).
16699         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
16700         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
16701         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
16702         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
16703         info in mode name.
16704         (gdb-registers-mode-map): TAB to switch to locals.
16706 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
16708         * mail/rmail.el (rmail-add-mbox-headers)
16709         (rmail-set-message-counters-counter): Search for
16710         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
16712 2009-08-08  Glenn Morris  <rgm@gnu.org>
16714         * Makefile.in (ELCFILES): Update.
16716 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
16718         * mail/sendmail.el (mail-yank-original): Set
16719         buffer-file-coding-system from the one used by the message whose
16720         text is yanked.
16722         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
16723         to "windows" when "pgnuplot" is used.
16724         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
16725         call accept-process-output if "pgnuplot" is used.
16726         (calc-graph-init): Don't send -display and -geometry to
16727         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
16728         running "pgnuplot -V" with shell-command-to-string.
16730         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
16731         the default.
16733 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
16735         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
16736         org/org-latex.elc.
16738 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
16740         * vc-dispatcher.el (vc-resynch-window): Update comment.
16742         * term.el (term-handle-ansi-escape): Add comments with the
16743         terminfo capabilities implemented.
16745 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
16747         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
16748         (gdb-var-create-handler): Rewritten using JSON parser.
16749         (gdb-propertize-header): Moved earlier.
16750         (gdb-set-header): Removed to avoid duplication.
16751         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
16752         Refresh disassembly buffers only after threads list have been
16753         update.
16754         (gdb-threads-header, gdb-registers-header): Per-buffer header line
16755         variables.
16757 2009-08-04  Juri Linkov  <juri@jurta.org>
16759         * files.el: Commands to add/delete file/directory-local variables.
16760         (read-file-local-variable, read-file-local-variable-value)
16761         (read-file-local-variable-mode, modify-file-local-variable)
16762         (modify-file-local-variable-prop-line)
16763         (modify-dir-local-variable): New functions.
16764         (add-file-local-variable, delete-file-local-variable)
16765         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
16766         (add-dir-local-variable, delete-dir-local-variable)
16767         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
16768         (copy-dir-locals-to-file-locals-prop-line): New commands.
16770 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
16772         * abbrev.el (insert-abbrev-table-description): Prettify output.
16773         Suggested by Karl Chen.
16775 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
16777         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
16778         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
16779         (gdb-overlay-arrow-position, gdb-thread-position)
16780         (gdb-disassembly-position): Declare variables.
16781         (gdb-wait-for-pending): Function now.
16782         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
16783         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
16784         compilation goes smoothly.
16785         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
16786         (gdb-non-stop-setting): New customization setting which replaces
16787         `gdb-non-stop' so changing it doesn't break active GDB session.
16788         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
16789         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
16790         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
16791         (gdb-show-threads-by-default): New customization options.
16792         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
16793         routines.
16794         (gdb-get-buffer-create): Send buffers update signal when they are
16795         created.
16796         (gdb-invalidate-locals, gdb-invalidate-registers)
16797         (gdb-invalidate-breakpoints)
16798         (gdb-invalidate-threads, gdb-invalidate-disassembly)
16799         (gdb-invalidate-memory): Accept update signal.
16800         (gdb-current-context-command): Use --frame option.
16801         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
16802         Implement `gdb-frame-number' selection logic.
16803         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
16804         whether to show GUD toolbar buttons.
16805         (gdb-thread-exited): Unselect current thread when it exits.
16806         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
16807         (gdb-mark-line): Routine which sets overlay arrow or inverses
16808         video on fringeless displays.
16809         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
16810         to build aligned columns of data in GDB buffers and set text
16811         properties line-by-line.
16812         (gdb-invalidate-breakpoints)
16813         (gdb-breakpoints-list-handler-custom)
16814         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
16815         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
16816         (gdb-registers-handler-custom): Align data columns.
16817         (gdb-locals-handler-custom): Now prints data like in variable
16818         declarations.
16819         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
16820         Removed confusing buttons.
16821         (gdb-invalidate-threads): Append --frame.
16822         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
16823         between breakpoints/threads buffers.
16824         (gdb-set-window-buffer): Now can ignore dedicated windows.
16825         (gdb-propertize-header): Use `gdb-set-window-buffer'.
16826         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
16827         (def-gdb-thread-buffer-gud-command): Replaces
16828         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
16829         for fine thread control.
16830         (gdb-preempt-existing-or-display-buffer): New function used to
16831         display bound buffers without breaking window layout.
16832         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
16833         (gdb-select-frame): New version of `gdb-frames-select' which now
16834         sets `gdb-frame-number' so commands may use --frame option instead
16835         of inner debugger state.
16836         (gdb-frame-handler): Do not set `gdb-frame-number'.
16837         (gdb-threads-mode-map): Select threads with mouse.
16839         * progmodes/gud.el (gdb-gud-context-call): Declare function to
16840         avoid compilation warning.
16841         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
16842         `gdb-show-stop-p`.
16844         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
16845         Argument `key' renamed to `buffer-type'.
16846         (gdb-current-context-buffer-name): Do not add thread info to
16847         buffer name when no thread is selected.
16848         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
16849         command (bug 3794).
16850         (gdb-thread-selected): Handle `=thread-selected' notification.
16851         (gdb-wait-for-pending): New macro to deal with congestion problems.
16852         (gdb-breakpoints-list-handler-custom): Don't fail on pending
16853         breakpoints.
16854         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
16855         This fixes problem similar to one described in bug 3947.
16856         (gud-menu-map): More menu items.
16857         (gdb-init-1): Reset `gdb-thread-number' to nil.
16859         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
16860         non-stop settings.
16862         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
16863         (gdb-current-context-command): Do not append --thread if
16864         `gdb-thread-number' is nil.
16865         (gdb-running-threads-count, gdb-stopped-threads-count): New
16866         variables.
16867         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
16868         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
16869         customization options.
16870         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
16871         GUD commands.
16872         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
16873         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
16874         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
16875         set `gdb-thread-number' and update `gud-running' properly.
16876         (gdb-running): Update threads list when new threads appear.
16877         (gdb-stopped): Support non-stop operation and new thread switching
16878         logic.
16879         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
16880         (gdb-json-partial-output): New set of JSON routines.
16881         (def-gdb-auto-update-trigger): New `signal-list' optional
16882         argument.
16883         (gdb-thread-list-handler-custom): Update `gud-running',
16884         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
16885         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
16886         (gdb-continue-thread, gdb-step-thread): New commands for fine
16887         thread execution control.
16888         (gud-menu-map): New menu items to switch non-stop options.
16889         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
16890         (gdb-send): Mimic RET properly (bug 3794).
16892         * progmodes/gdb-mi.el (gdb-rules-name-maker)
16893         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
16894         gdb-buffer-rules.
16895         (def-gdb-auto-update-handler): New nopreserve optional argument.
16896         (gdb-stack-list-frames-custom): Print stack from top to bottom.
16898         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
16899         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
16900         (gdb-parent-mode): New mode to derive other GDB modes from.
16901         (gdb-display-disassembly-for-thread)
16902         (gdb-frame-disassembly-for-thread): New commands for threads
16903         buffer.
16905         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
16906         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
16907         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
16908         (gdb-update): We now store all GDB buffers in a list so that they
16909         can be updated by traversing a list instead of calling invalidate
16910         triggers explicitly.
16911         (def-gdb-trigger-and-handler): New macro to define trigger-handler
16912         pair for GDB buffer.
16913         (gdb-stack-buffer-name): Add thread information.
16914         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
16915         handle pending triggers.
16916         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
16917         (def-gdb-thread-buffer-simple-command)
16918         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
16919         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
16920         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
16921         New commands which show buffers bound to thread.
16922         (gdb-stack-list-locals-regexp): Removed unused regexp.
16924         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
16925         (gdb-locals-buffer-name, gdb-registers-buffer-name)
16926         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
16927         to (gud-comint-buffer) in *-buffer-name functions
16928         because (gdb-get-target-string) already does that.
16929         (gdb-locals-handler-custom, gdb-registers-handler-custom)
16930         (gdb-changed-registers-handler): Rewritten without regexps.
16932         * progmodes/gdb-mi.el: Basic thread selection support.
16933         (gdb-thread-number): New variable.
16934         (gdb-current-context-command): New macro which adds --thread
16935         option to command.
16936         (gdb-threads-mode-map): Select thread with SPC.
16937         (gdb-thread-list-handler-custom): Mark current thread with overlay
16938         arrow.  Synchronize GDB thread and Emacs thread.
16939         (gdb-select-thread): New command which selects current thread.
16940         (gdb-invalidate-frames, gdb-invalidate-locals)
16941         (gdb-invalidate-registers): Use --thread option.
16943 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
16945         * net/tramp.el (top): Make check for tramp-gvfs loading more
16946         robust.  (Bug#3977)
16947         (tramp-handle-insert-file-contents): `unwind-protect' must be
16948         inside `with-parsed-tramp-file-name'.
16950         * net/tramp-gvfs.el (top): Remove superfluous message when loading
16951         fails.
16953 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
16955         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
16956         directory if CLASSPATH is not set.
16958 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
16960         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
16961         New defconst.
16962         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
16964 2009-08-02  Kevin Ryde  <user42@zip.com.au>
16966         * net/newst-backend.el (newsticker--raw-url-list-defaults):
16967         Update freshmeat link.  Delete newsforge.com as it seems gone.
16969 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
16971         * select.el (x-set-selection): Doc fix (Bug#4021).
16973         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
16975         * help-fns.el (describe-variable): Treat list return values from
16976         dir-locals-find-file properly (Bug#4005).
16978 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
16980         * net/tramp.el (tramp-debug-message): Print also microseconds.
16982 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
16984         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
16985         or END is non-nil.
16986         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
16987         (tramp-get-debug-buffer): Change `outline-regexp' according to new
16988         format.
16990         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
16991         (tramp-get-file-property): Use it.
16993         * autorevert.el (auto-revert-handler): Allow
16994         `auto-revert-tail-mode' for remote files.
16996 2009-08-02  Jason Rumney  <jasonr@gnu.org>
16998         * minibuffer.el (read-file-name): Treat confirm options to
16999         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
17001 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17003         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17004         (font-lock-variable-name-face, font-lock-constant-face): Darken
17005         the colors for light backgrounds.
17007 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
17009         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17010         month names.  (Bug#3987)
17012 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
17014         * simple.el (line-move-finish): Pass whole number to
17015         line-move-to-column.
17016         (line-move-visual): Perform hscroll to the recorded position.
17018 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
17020         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17022 2009-07-29  Alan Mackenzie  <acm@muc.de>
17024         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17026 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
17028         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17029         (gdb-place-breakpoints): Use full path when setting breakpoints.
17031 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
17033         * calc/calc.el (calc-mode-map): Add keybinding for
17034         `calc-transpose-lines'.
17036 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
17038         * calc/calc-misc.el (calc-transpose-lines): New function.
17040 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
17042         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17043         Simplify check for out-of-band methods.
17044         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17045         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
17047 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
17049         * vc-git.el (vc-git-checkin): Fix typo.
17051 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
17053         * progmodes/js2-mode.el: New file.
17055 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
17057         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17058         (gud-menu-map): Adjust tooltip accordingly.
17060 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
17062         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17063         (vc-bzr-log-view-mode): Adjust log-view-file-re.
17065         * add-log.el (change-log-mode-map): Add a menu.
17067 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
17069         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17070         function returns nil.
17071         (dbus-handle-event): Handle special return value :ignore.
17072         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17074 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
17076         * view.el (view-mode-enable): Don't define Helper-return-blurb if
17077         it's not needed.
17079 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
17081         Fix Bug#3888:
17083         * w32-vars.el (x-select-enable-clipboard): Doc fix.
17085         * term/pc-win.el (x-display-name, x-colors)
17086         (x-select-enable-clipboard, x-select-text): Doc fix.
17088         * term/common-win.el (x-display-name, x-colors): Doc fix.
17090         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17091         (xw-defined-colors): Doc fix.
17093         * w32-fns.el (x-select-text, x-setup-function-keys)
17094         (x-get-selection, x-set-selection): Doc fix.
17096         * term/x-win.el (x-select-text, x-setup-function-keys)
17097         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17099         * select.el (x-set-selection): Doc fix.
17101 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
17103         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17104         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
17105         "IsNSSSupportAvailable" method is not available.  Reported by
17106         Steve Youngs <steve@sxemacs.org>.
17108 2009-07-24  Kenichi Handa  <handa@m17n.org>
17110         * international/characters.el: Fix setting of category ?C, ?|, ?K,
17111         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
17112         (build-unicode-category-table): Fix range checks.
17114 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
17116         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17117         the buffer we try to sync is current when calling
17118         vc-resynch-buffer.
17120         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17121         not show up to date files.
17123 2009-07-24  Glenn Morris  <rgm@gnu.org>
17125         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17126         Add autoload cookies.  If necessary, initialize.
17127         (elint-log): Handle non-file buffers.
17128         (elint-initialize): Add optional argument to reinitialize.
17129         (elint-find-builtin-variables): Save excursion.
17131 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
17133         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17134         for Lint.
17136 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
17138         * vc.el (vc-print-log-internal): New function, split out from ...
17139         (vc-print-log): ... here.
17140         (vc-dir-move-to-goal-column): Declare.
17142         * vc-git.el (vc-git-add-signoff): New variable.
17143         (vc-git-checkin): Use it.
17144         (vc-git-toggle-signoff): New function.
17145         (vc-git-extra-menu-map): Bind it to menu.
17146         (vc-git--run-command-string): Accept a nil FILE argument.
17147         (vc-git-stash-list): New function.
17148         (vc-git-dir-extra-headers): Use it.
17150 2009-07-23  Glenn Morris  <rgm@gnu.org>
17152         * help-fns.el (describe-variable): Describe ignored and risky local
17153         variables in a similar way to that in which we describe safe ones.
17155         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17156         (byte-compile-output-file-form, byte-compile-output-docform)
17157         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17158         Give some more local variables with common names a "bytecomp-" prefix,
17159         so as not to shadow things during compilation.
17160         * emacs-lisp/cl-macs.el (load-time-value)
17161         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17162         `outbuffer' to `bytecomp-outbuffer'.
17164         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17165         since the next two variables cover them automatically now.
17166         (elint-builtin-variables, elint-autoloaded-variables): New.
17167         (elint-unknown-builtin-args): Remove all members, since they can be
17168         parsed automatically now.
17169         (elint-extra-errors): New.
17170         (elint-env-add-env, elint-env-add-macro): Use cadr.
17171         (elint-current-buffer): Use or.  Change final message.
17172         (elint-get-top-forms): Use line-end-position.
17173         (elint-init-env): Use cadr.  Handle autoload, declare-function,
17174         and defalias.
17175         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
17176         (regexp-assoc): Remove unused function.
17177         (elint-top-form): Set elint-current-pos, to record the start of the
17178         top-level form, for compilation-mode.
17179         (elint-form): Trap errors in macro expansion.  Use dolist.
17180         (elint-unbound-variable): Use elint-builtin-variables and
17181         elint-autoloaded-variables.
17182         (elint-get-args): Use cadr, or.
17183         (elint-check-cond-form): Use dolist, cadr.
17184         (elint-check-condition-case-form): Doc fix.  Use cadr.
17185         Use elint-extra-errors.
17186         (elint-log): New function.
17187         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17188         Distinguish errors and warnings.
17189         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
17190         Use a bytecomp-style format.
17191         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
17192         (elint-get-log-buffer): Use compilation mode.  Disable undo.
17193         Don't truncate lines.
17194         (elint-initialize): Set builtin and autoloaded variable lists.
17195         Only process elint-unknown-builtin-args if non-nil.
17196         (elint-find-builtin-variables, elint-find-autoloaded-variables):
17197         New functions.
17198         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
17200 2009-07-22  Kevin Ryde  <user42@zip.com.au>
17202         * net/newst-backend.el (newsticker--parse-atom-1.0)
17203         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17204         (newsticker--parse-rss-1.0):
17205         * progmodes/idlwave.el (idlwave-mode):
17206         * progmodes/idlw-shell.el (idlwave-shell-mode):
17207         * progmodes/vera-mode.el (vera-mode):
17208         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17209         * progmodes/vhdl-mode.el (vhdl-mode):
17210         * textmodes/table.el (table-generate-source)
17211         (table--warn-incompatibility):
17212         Hyperlink urls in docstrings with URL `...'.
17214 2009-07-22  Glenn Morris  <rgm@gnu.org>
17216         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17217         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17218         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17219         Remove leading * from defcustom docs.
17221         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
17223         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17224         defcustom doc.
17225         (list-load-path-shadows): Optionally, just return shadows as a string.
17227         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17229 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
17231         * mail/rmailedit.el (rmail-edit-mode): Use
17232         auto-save-include-big-deletions.
17234         * mail/rmail.el (rmail-variables): Use
17235         auto-save-include-big-deletions.
17237         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17238         changes.
17240 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
17242         * calc/calc.el (calc-undo-length): New variable.
17243         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17245 2009-07-21  Richard Stallman  <rms@gnu.org>
17247         * files.el (auto-save-mode): Handle buffer-save-size = -2
17248         for toggling mode.
17250 2009-07-21  Glenn Morris  <rgm@gnu.org>
17252         * textmodes/ispell.el (ispell-looking-back): Update declaration.
17254         * calendar/todo-mode.el (calendar-current-date): Update declaration.
17256         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17257         silence compiler.  Instead...
17258         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17259         (ps-print-ensure-fontified): Update for above function name changes.
17261         * printing.el (pr-mh-get-msg-num, pr-mh-show)
17262         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17263         silence compiler.  Instead...
17264         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17265         (mh-show-buffer): Only define for compiler.
17266         (pr-mh-current-message): Update for above function name changes.
17268         * files.el (abort-if-file-too-large): Explicitly pass `filename'
17269         as an argument.
17270         (find-file-noselect, insert-file-1): Update for above change.
17272         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17274         * mail/mailclient.el (mailclient-send-it): Fix message.
17276         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17277         (edebug-eval): Check cl-debug-env is bound.
17278         (print-level, print-circle): Don't redefine built-in variables.
17280         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17281         (custom-print-vectors): Remove old comments from doc.
17283         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17284         (emerge-version): Make the variable an obsolete alias for the
17285         emacs-version variable.  Make the function obsolete.
17286         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17287         Emerge options, rather than merging in into the main Options menu.
17288         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
17289         and auto advance modes.  Disable edit/fast items when not relevant.
17291 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
17293         * term/vt420.el (terminal-init-vt420): Fix typo.
17295 2009-07-20  Sam Steingold  <sds@gnu.org>
17297         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17298         variable (removed from compile.el on 2004-03-11).
17300 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
17302         * files.el (hack-local-variables-filter): Fix last change.
17304 2009-07-19  Juri Linkov  <juri@jurta.org>
17306         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17307         (dir-local-variables-alist): New buffer-local variable.
17308         (hack-local-variables-filter): If variable is not dir-local,
17309         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17310         because file-local overrides dir-local.
17311         (c-postprocess-file-styles) <declare-function>:
17312         Remove obsolete declaration.
17313         (hack-dir-local-variables): Add dir-local variable/value pair to
17314         `dir-local-variables-alist' and remove duplicates.  Doc fix.
17316         * help-fns.el (describe-variable): Add information about
17317         file-local and dir-local variables.
17319 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
17321         * files.el (hack-local-variables-filter): Rewrite.
17323 2009-07-19  Glenn Morris  <rgm@gnu.org>
17325         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17326         Silence compiler by only defining on XEmacs.
17328         * international/mule.el (auto-coding-regexp-alist): Only match
17329         BABYL... at the start of buffer, not of lines.  (Bug#3790)
17331         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17332         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
17333         (cal-menu-context-mouse-menu): Doc fix.
17335         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17337         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
17339 2009-07-18  Juri Linkov  <juri@jurta.org>
17341         * info.el: Virtual Info keyword finder.
17342         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17343         (Info-finder-file): New variable.
17344         (Info-finder-find-file): New function.
17345         (finder-known-keywords, finder-package-info)
17346         (find-library-name, lm-commentary): Use defvar and
17347         declare-function to silence compiler warnings.
17348         (Info-finder-find-node): New function.
17349         (info-finder): New command.
17351         * subr.el (process-kill-buffer-query-function): New function.
17352         (add-hook)<kill-buffer-query-functions>: Add hook
17353         `process-kill-buffer-query-function'.
17355 2009-07-18  Alan Mackenzie  <acm@muc.de>
17357         * progmodes/cc-mode.el (c-before-hack-hook)
17358         (c-postprocess-file-styles): Give invocation of `c-set-style'
17359         DONT-OVERRIDE parameter of t.  Already set style variables will
17360         thus not be overridden by style settings given by `c-file-syle'.
17362         * files.el (hack-local-variables-filter): Remove entries with
17363         duplicate keys from `file-local-variables-alist'.
17365 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17367         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17368         x-set-selection if display-selections-p returns nil for the
17369         current frame.
17371 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
17373         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17375 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17377         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17378         Accept nil in addition to a regexp.
17379         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17380         Accept nil in addition to a regexp.
17381         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17382         buffers that have an associated file.  Handle nil values of
17383         desktop-buffers-not-to-save and desktop-files-not-to-save.
17384         (Bug#3833)
17386         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17387         (x-disown-selection-internal): New functions.
17389 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
17391         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17392         warning.
17393         (gdb-breakpoints-header): Move forward to avoid compiler warning.
17394         (gdb-make-header-line-mouse-map): Remove duplicate definition.
17396 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
17398         * simple.el (set-mark): Revert last change.
17400 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
17402         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17403         rendering of pngs is not possible instead of messaging a long
17404         description.
17406 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
17408         * w32-fns.el (x-selection-owner-p): New function.
17410         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17411         (mouse-yank-at-click, mouse-yank-primary): If
17412         select-active-regions is non-nil, deactivate the mark before
17413         insertion.
17415         * simple.el (deactivate-mark, set-mark): Only save selection if we
17416         own it.
17418 2009-07-17  Kenichi Handa  <handa@m17n.org>
17420         * case-table.el (describe-buffer-case-table): Fix for the case
17421         that KEY is a cons.
17423 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
17425         * vc-rcs.el (vc-rcs-find-file-hook):
17426         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17428 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
17430         * net/tramp.el (tramp-wait-for-output): Handle the case when
17431         commands do not return a newline but a null byte before the shell
17432         prompt.  (Bug#3858)
17434 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
17436         * term/ns-win.el (ns-set-alpha): Don't declare.
17437         (ns-set-background-alpha): Remove function.
17439 2009-07-16  Kevin Ryde  <user42@zip.com.au>
17441         * emacs-lisp/copyright.el (copyright-update): Save match-data across
17442         y-or-n-p, for safety.
17444 2009-07-16  Richard Stallman  <rms@gnu.org>
17446         * files.el (auto-save-mode): If buffer-saved-size is -2,
17447         don't clobber it.
17449         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17450         (rmail-retry-ignored-headers): Add more uninteresting fields.
17452 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
17454         * net/rcirc.el (rcirc): Use history variables.
17455         (rcirc-server-name-history, rcirc-nick-name-history)
17456         (rcirc-server-port-history): New variables.
17458 2009-07-15  Kenichi Handa  <handa@m17n.org>
17460         * international/mule-cmds.el (set-language-environment-charset):
17461         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17462         ignore them.
17464         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17465         Delete unibyte-display.
17467 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
17469         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17471 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
17473         * simple.el (deactivate-mark): Optional argument FORCE.
17474         (set-mark): Use deactivate-mark.
17476         * info.el (Info-search): No need to check transient-mark-mode
17477         before calling deactivate-mark.
17479         * select.el (x-set-selection): Doc fix.
17480         (x-valid-simple-selection-p): Allow buffer values.
17481         (xselect--selection-bounds): Handle buffer values.  Suggested by
17482         David De La Harpe Golden.
17484         * mouse.el (mouse-set-region, mouse-drag-track): Call
17485         copy-region-as-kill before setting the mark, to let
17486         select-active-regions work.
17488 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
17490         * simple.el (deactivate-mark): If select-active-regions is
17491         non-nil, copy the selection data into a string.
17492         (activate-mark): If select-active-regions is non-nil, set the
17493         selection to the current buffer.
17494         (set-mark): Update selection if select-active-regions is non-nil.
17496         * select.el (x-valid-simple-selection-p): Allow buffer values.
17498 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17500         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17501         and more featureful message-mode.
17503 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
17505         * select.el (x-set-selection): Doc fix.
17506         (x-valid-simple-selection-p): Disallow selection data consisting
17507         of a list or cons of integers, since that is not used.
17508         (xselect--selection-bounds, xselect--int-to-cons): New functions.
17509         (xselect-convert-to-string, xselect-convert-to-length)
17510         (xselect-convert-to-filename, xselect-convert-to-charpos)
17511         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17513 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
17515         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17516         output in -break-info command (Emacs bug #3794).
17518 2009-07-14  Glenn Morris  <rgm@gnu.org>
17520         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17521         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17522         (edebug-print-length, edebug-print-level, edebug-print-circle)
17523         (edebug-sit-for-seconds, edebug-view-outside)
17524         (edebug-bounce-point, edebug-set-global-break-condition)
17525         (edebug-Go-nonstop-mode, edebug-trace-mode)
17526         (edebug-Trace-fast-mode, edebug-continue-mode)
17527         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17528         (edebug-visit-eval-list): Doc fixes.
17530         * subr.el (def-edebug-spec): Doc fix.
17532 2009-07-14  Kenichi Handa  <handa@m17n.org>
17534         * international/characters.el: Fix setting of category ?C.
17536 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
17538         * term/ns-win.el (x-select-font): defalias x-select-font to
17539         ns-popup-font-panel instead of generate-fontset-menu.
17541 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
17543         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
17545 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
17547         * arc-mode.el (archive-find-type): Allow for a PK00 string before
17548         the PK\003\004 header (Bug#3770).
17550 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
17552         * pcomplete.el (pcomplete-comint-setup): Check for
17553         shell-dynamic-complete-filename too.
17555 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
17557         * simple.el (temporary-goal-column): Change the value for
17558         line-move-visual to a cons cell.
17559         (line-move-visual): Record or set the window hscroll, if
17560         necessary (Bug#3494).
17561         (line-move-1): Handle cons value of temporary-goal-column.
17563 2009-07-11  Kenichi Handa  <handa@m17n.org>
17565         * international/mule-diag.el (describe-character-set): Don't show
17566         width.
17568 2009-07-10  Sam Steingold  <sds@gnu.org>
17570         * progmodes/compile.el (compilation-mode-font-lock-keywords):
17571         Omake sometimes indents the errors it prints, so allow all
17572         regexps to start with spaces.
17574 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
17576         * cus-edit.el (customize-changed-options-previous-release):
17577         Bump value to 22.1.  (Bug#3804)
17579 2009-07-08  Sam Steingold  <sds@gnu.org>
17581         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
17582         to be a cons cell (test . ignored-directory) to selectively ignore
17583         some directories depending on the location of the search.
17585 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
17587         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
17588         remote user is root, on the local host.
17589         (tramp-local-host-p): Either the local user or the remote user
17590         must be root.  (Bug#3771)
17592 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
17594         * progmodes/gdb-mi.el (gdb): Remove description of
17595         gdb-use-separate-io-buffer.
17596         (menu): Don't allow toggling of or enable
17597         gdb-use-separate-io-buffer from menubar.
17599 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
17601         * mail/unrmail.el (unrmail): Make sure the message ends with two
17602         newlines (Bug#3769).
17604 2009-07-08  Glenn Morris  <rgm@gnu.org>
17606         * calendar/calendar.el (calendar-current-date): Rework previous change.
17608 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
17610         * calendar/calendar.el (calendar-current-date):
17611         Add an optional argument giving an offset from today.
17613 2009-07-08  Glenn Morris  <rgm@gnu.org>
17615         * tutorial.el (tutorial--describe-nonstandard-key):
17616         Adjust the message for when a key has been unbound.
17617         (help-with-tutorial): Hide the arch-tag.
17619 2009-07-08  Kenichi Handa  <handa@m17n.org>
17621         * international/fontset.el (setup-default-fontset): For each
17622         script, append (not set) font-specs.
17624         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17625         docstring.
17627 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
17629         * progmodes/gdb-mi.el (gdb-init-1): Move sending
17630         -data-list-register-names to ...
17631         (gdb-starting): ... here because GDB 7.0 requires execution to
17632         have started when using this MI command.
17633         (gdb-set-header): New function to distinguish select and
17634         unselected tabs in gdb buffers.
17635         (gdb-propertize-header): New macro that uses gdb-set-header.
17636         (gdb-breakpoints-header, gdb-locals-header): Use it.
17637         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17639 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
17641         * Makefile.in (ELCFILES): Remove fadr.elc.
17643 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
17645         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17646         may contain frame information, so `string-match' should be used.
17647         (gdb-update): Disassembly is invalidated through
17648         `gdb-get-selected-frame'.
17649         (gdb-pad-string): New function to pad string with spaces.
17650         (gdb-invalidate-disassembly): Invalidate only if the buffer
17651         exists.
17652         (gdb-disassembly-handler-custom): Column alignment.
17653         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17654         placing new ones.
17655         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17656         end of line, too.
17657         (gdb-frame-handler): Match convention to for disassembly buffer
17658         mode name.
17659         (gdb-stack-list-frames-handler): Rewritten without regexps.
17660         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17661         not highlight breakpoints without line information.
17662         (gdb-input): Add trailing newline to command.
17664         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17665         buffer properly.
17666         (gdb-breakpoints-list-handler-custom): Replacement for
17667         `gdb-break-list-handler'.  Using real parser instead of regexps
17668         now.
17669         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17670         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17671         to place breakpoints.
17672         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17673         functions.
17674         (gdb-disassembly-handler-custom): Show overlay arrow.
17675         (gdb-disassembly-place-breakpoints): Show breakpoints in
17676         disassembly buffer.
17677         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17678         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17679         instead of parsing breakpoints buffer.  Fixed old menu references
17680         in `gud-menu-map'.
17682         * fadr.el: Remove.
17684         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
17685         (gdb-memory-address): New variable which holds top address of
17686         memory page shown in memory buffer.
17687         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
17688         customization variables.
17689         New functions:
17690         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
17691         display the memory buffer.
17692         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
17693         buffer display parameters.
17694         (def-gdb-memory-format, gdb-memory-format-binary)
17695         (gdb-memory-format-octal, gdb-memory-format-unsigned)
17696         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
17697         Functions for setting memory buffer format.
17698         (gdb-memory-unit-word, gdb-memory-unit-halfword)
17699         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
17700         unit size used in memory buffer.
17701         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
17702         to next/previous page of memory buffer.
17703         Now using (bindat-get-field) instead of fadr functions.
17705 2009-07-07  Sam Steingold  <sds@gnu.org>
17707         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
17708         non-top-level files.
17710 2009-07-07  Kenichi Handa  <handa@m17n.org>
17712         * international/mule-cmds.el (reset-language-environment): Put
17713         the highset priority to the charset iso-8859-1.
17715 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
17717         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
17718         to the end of the line when locating the block (Bug#700).
17720 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
17722         * net/tramp.el (tramp-handle-write-region): Flush file properties
17723         in case of short track.
17725 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
17727         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
17728         Coded custom representation of verilog error regular expressions
17729         to work with Emacs-22's new format.
17730         (verilog-error-regexp-xemacs-alist): Coded custom representation
17731         of verilog error regular expressions to work with XEmacs format.
17732         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
17733         error recognition into XEmacs.
17734         (verilog-error-regexp-add-emacs): Hook routine to install verilog
17735         error recognition into Emacs-22.
17737 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
17739         * woman.el: Remove stand-alone closing parentheses.
17740         (woman-file-name, woman2-format-paragraphs)
17741         (woman-leave-blank-lines): Code cleanup.
17742         (woman-use-own-frame): Change default to nil.
17743         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
17744         defaults to inherit from default faces.
17745         (woman2-process-escapes): Consume the newline after a stand-alone
17746         filler character (Bug#3651).
17748 2009-07-06  Glenn Morris  <rgm@gnu.org>
17750         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
17751         (top-level): Move provide to the end.
17752         (ffap): Remove defunct URL from custom group.
17754         * subr.el (eval-after-load): Doc fix.
17756 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
17758         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
17759         `calc-embedded-word' is called twice.
17761 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17763         * files.el (find-alternate-file-other-window, find-alternate-file):
17764         Obey confirm-nonexistent-file-or-buffer.
17766 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
17768         * dired-aux.el (dired-show-file-type): Handle remote files.
17770 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
17772         * desktop.el (desktop-globals-to-save):
17773         Add file-name-history (Bug#2750).
17775 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
17777         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
17779 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
17781         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
17782         property on entire argument since this is what eshell-lisp-command
17783         expects.
17785 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
17787         * net/tramp-gvfs.el (tramp-gvfs-methods)
17788         (tramp-gvfs-zeroconf-domain)
17789         (tramp-bluez-discover-devices-timeout): Add version flag.
17790         (tramp-gvfs-handler-mounted-unmounted)
17791         (tramp-gvfs-connection-mounted-p): Polish handling of
17792         incompatibilities between GVFS 0.2 and 1.0.
17794 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
17796         * cus-start.el (all): Add make-pointer-invisible.
17798 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
17800         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
17801         formatted correctly.
17803 2009-07-02  Juri Linkov  <juri@jurta.org>
17805         * info.el: Virtual Info files and nodes.
17806         (Info-virtual-files, Info-virtual-nodes): New variables.
17807         (Info-current-node-virtual): New variable.
17808         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
17809         New functions.
17810         (Info-file-supports-index-cookies): Use Info-virtual-file-p
17811         to check for a virtual file instead of checking a fixed list
17812         of node names.
17813         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
17814         instead of ad-hoc processing of "dir" and (apropos history toc).
17815         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
17816         instead of ad-hoc processing of "dir" and (apropos history toc).
17817         Reread a file when moving from a virtual node.
17818         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
17819         (Info-directory-toc-nodes, Info-directory-find-file)
17820         (Info-directory-find-node): New functions.
17821         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
17822         (Info-history): Move part of code to
17823         `Info-history-find-node'.
17824         (Info-history-toc-nodes, Info-history-find-file)
17825         (Info-history-find-node): New functions.
17826         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
17827         (Info-toc): Move part of code to `Info-toc-find-node'.
17828         (Info-toc-find-node): New function.
17829         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
17830         the current Info file name to references because now the node
17831         "*TOC*" belongs to the same Info manual.
17832         (Info-toc-build): Rename from `Info-build-toc'.
17833         (Info-toc-nodes): Rename input argument `file' to `filename'.
17834         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
17835         instead of ad-hoc processing of ("dir" apropos history toc).
17836         (Info-index-nodes): Use Info-virtual-file-p
17837         to check for a virtual file instead of checking a fixed list
17838         of node names.
17839         (Info-index-node): Add check for `Info-current-node-virtual'.
17840         Raise `save-match-data' higher up the tree to contain
17841         `search-forward' too (bug fix).
17842         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
17843         (Info-virtual-index-nodes): New variable.
17844         (Info-virtual-index-find-node, Info-virtual-index): New functions.
17845         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
17846         (Info-apropos-file, Info-apropos-nodes): New variables.
17847         (Info-apropos-toc-nodes, Info-apropos-find-file)
17848         (Info-apropos-find-node, Info-apropos-matches): New functions.
17849         (info-apropos): Move part of code to `Info-apropos-find-node' and
17850         `Info-apropos-matches'.
17851         (Info-mode-map): Bind "I" to `Info-virtual-index'.
17852         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
17853         for a virtual file instead of checking a fixed list of node names.
17855         * simple.el (async-shell-command): New command.
17857         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
17859         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
17860         instead of `mount-info'.
17862 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
17864         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
17865         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
17867 2009-07-02  Kenichi Handa  <handa@m17n.org>
17869         * international/mule.el (set-keyboard-coding-system): Force *-unix
17870         coding-system to avoid eol conversion.
17872 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
17874         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17875         Add handler for `process-file', `shell-command' and
17876         `start-file-process'.
17877         (tramp-gvfs-handle-shell-command)
17878         (tramp-gvfs-handle-start-file-process)
17879         (tramp-gvfs-handle-process-file): New defuns.
17880         (tramp-synce-list-devices): Simplify check for existence of property.
17882 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
17884         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
17886 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
17888         * language/korean.el (set-language-info-alist): Add korean-cp949,
17889         cp949 to spec.
17891 2009-07-01  Kenichi Handa  <handa@m17n.org>
17893         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
17895         * international/encoded-kb.el: Deleted.
17897         * international/mule.el (set-keyboard-coding-system): Perform the
17898         necessary setup here instead of calling encoded-kbd-setup-display.
17900 2009-07-01  Glenn Morris  <rgm@gnu.org>
17902         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
17904 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
17906         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
17908 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
17910         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
17911         Handle also the 'rename case, when setting file modes.  (Bug#3712)
17912         (tramp-default-file-modes): Remove execute permissions.
17914         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
17915         (top): Add a default for "synce" in `tramp-default-user-alist'.
17916         Add completion function for "synce" method.
17917         (tramp-hal-service, tramp-hal-path-manager)
17918         (tramp-hal-interface-manager, tramp-hal-interface-device):
17919         New defconst.
17920         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
17921         (tramp-synce-list-devices, tramp-synce-parse-device-names):
17922         New defuns.
17924         * net/trampver.el: Update release number.
17926 2009-06-30  Kenichi Handa  <handa@m17n.org>
17928         * international/fontset.el (setup-default-fontset): Add CJK fonts
17929         for symbols and the other miscellaneous characters.
17931         * language/korea-util.el (setup-korean-environment-internal):
17932         Make char-width-table suitable for Korean environments.
17933         (exit-korean-environment): Cancel above.
17935         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
17936         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
17937         setup-function to make char-width-table suitable for respective
17938         environments, and an exit-function to cancel that.
17940         * language/japan-util.el (setup-japanese-environment-internal):
17941         Call use-cjk-char-width-table with arg `ja_JP'.
17943         * international/characters.el (cjk-char-width-table): Delete it.
17944         (cjk-char-width-table-list): New variable.
17945         (use-cjk-char-width-table): New arg local-name.
17946         (use-default-char-width-table): Fix for the case that Emacs is
17947         already using the default char-width-table.
17949 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
17951         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
17952         modes mandatory.  (Bug#3712)
17954 2009-06-29  Alan Mackenzie  <acm@muc.de>
17956         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
17957         correction between the visible width of TABs and their number of bytes.
17959 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
17961         * server.el (server-buffer-done): Prevent kill-buffer from
17962         prompting by clearing the buffer modification flag (Bug#3696).
17964 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
17966         * progmodes/verilog-mode.el (verilog-beg-of-statement)
17967         (verilog-endcomment-reason-re): Support unique case and priority case.
17968         (verilog-basic-complete-re): Support localparam lineup.
17969         (verilog-beg-of-statement-1): Fix for robustness, unique case.
17970         (verilog-set-auto-endcomments): Fix for unique case, always_comb
17971         commenting.
17972         (verilog-leap-to-case-head): Now support *nested* unique &
17973         priority case statements.
17974         (verilog-auto-lineup): Make just declarations the default (as it
17975         had been).
17976         (verilog-leap-to-case-head): Support priority/unique case statements.
17977         (verilog-auto-lineup): Rework to give users radio buttons to
17978         select the various styles of automatic lineup.
17979         (verilog-error-regexp-alist): Rework to support the XEmacs style
17980         of error regular expressions from compilers, lint tools &
17981         simulators.  Note that GNU Emacs has made it impossible for a mode
17982         to load such things.
17983         (electric-verilog-terminate-line, verilog-indent-declaration)
17984         (verilog-auto-wiure): Rework for radio button selection of
17985         auto-lineup selection of specification of auto lineup.
17986         (verilog-beg-of-statement-1): Redesign to support proper operation
17987         in additional code, based on testing with auto-lineup.
17988         (verilog-calculate-indent, assignments & declarations)
17989         (verilog-backward-token): Enhance to support auto-lineup of
17990         assignments & declarations.
17991         (verilog-in-directive-p, verilog-at-struct-p): New function for
17992         easy test of whether we are.
17993         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
17994         to support safe execution at almost anyline.
17995         (verilog-calc-1): Properly support indenting deep inside generate
17996         blocks.
17997         (verilog-init-font): Remove definition & use of verilog-init-font,
17998         as it is redundant with font-lock-defaults.
17999         (verilog-mode): Alter the definition of verilog-font-lock-defaults
18000         to avoid circular calls if syntax-ppss is a function (as is the
18001         case now in 22.x GNU Emacs) as that function would sometimes call
18002         itself, leading to (nearly) infinite recursion.
18003         (verilog-ovm-begin-re, verilog-ovm-end-re)
18004         (verilog-ovm-statement-re, verilog-leap-to-head)
18005         (verilog-backward-token): Add support for OVM macros.  Some are
18006         complete statements, and others open and close scopes like begin
18007         and end.
18008         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18009         (verilog-defun-level-generate-only-re): Really fix the defun-list
18010         compilation issue.
18011         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18012         coverpoint, constraint and cross statements.
18013         (verilog-defun-level-list, verilog-generate-defun-level-list)
18014         (verilog-all-defun-level-list): Redo these specifications - it is
18015         too hard to support eval-when compile aggregation of lists also
18016         built at when-compile time.
18017         (verilog-defun-level-list): Place defconsts of variables used in
18018         building regular expressions which are built in eval-when-compile
18019         bodies in the same eval-when-compile body to facilitate compile
18020         without load.
18021         (verilog-beg-block-re-ordered): Support indenting
18022         virtual/protected tasks and functions.
18023         (verilog-defun-level-list, verilog-in-generate-region-p)
18024         (verilog-backward-ws&directives, verilog-calc-1): Speed up
18025         indentation of some module items (generate items).
18026         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18027         across virtual/protected tasks and functions.
18029 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
18031         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18032         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
18033         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18034         in concatenations.  Reported by Yishay Belkind.
18035         (verilog-auto-ascii-enum): Support one-hot state machines in
18036         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
18037         (verilog-auto-inst, verilog-auto-inst-port): Include interface
18038         modport in AUTOINST and add vl-modport for users.  Reported by
18039         David Rogoff.
18040         (verilog-auto-inout-module, verilog-auto-inst)
18041         (verilog-decls-get-interfaces, verilog-insert-definition)
18042         (verilog-insert-one-definition, verilog-read-decls)
18043         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18044         (verilog-sig-modport, verilog-signals-combine-bus)
18045         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18046         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18047         Suggested by David Rogoff.
18048         (verilog-repair-open-comma): Fix non-insertion of comma when
18049         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
18050         (verilog-make-width-expression): Simplify [A-1:0] expression
18051         widths to just {A{1'b0}}.
18052         (verilog-mode): Cleanup checkdoc warnings.
18053         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18054         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18055         inputs/outputs or data type.  Suggested by Vasu Kandadi.
18056         (next-error-last-buffer): Fix byte-compiler warning.
18057         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18058         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18059         or shell command text during AUTO expansion.  Suggested by Tad Truex.
18060         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18061         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18062         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18063         in AUTOINOUT.  Reported by Matthew Lovell.
18064         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18065         causing use of <= assignments.  Reported by Alex Reed.
18066         (verilog-read-decls): Fix triand, trior, wand, wor to be
18067         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
18068         (verilog-extended-complete-re): Support import "DPI-C" functions.
18069         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18070         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
18071         (verilog-insert-date, verilog-insert-year)
18072         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18073         Windows systems.  Reported by Michael Potts.
18074         (verilog-read-module-name): Fix AUTOINST when the child module
18075         declaration's name is a tick define.  Reported by Elliot Mednick.
18076         (verilog-read-decls): Fix V2K parameter bit subscripts getting
18077         passed to next parameter's definition.  Reported by Bruce T.
18078         (verilog-read-decls): Fix detecting "parameter int" when using
18079         AUTOINSTPARAM.  Reported by Bruce T.
18080         (verilog-goto-defun): Fix goto not finding modules unless first
18081         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
18082         (verilog-mode): Expand -f flag arguments on entry to mode so
18083         verilog-goto-defun will work.  Reported by Lawrence Butcher.
18084         (verilog-getopt): Expand environment variables in -f file
18085         arguments.  Suggested by Lawrence Butcher.
18086         (verilog-set-define): Fix "Symbol's value as variable is void"
18087         when reading enumerations.
18088         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18089         Suggested by Stephen Peltan.
18090         (verilog-read-defines): Fix reading of enumerations in include
18091         files.  Reported by Steve Peltan.
18093 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18095         * files.el (trash-directory): Fix defcustom type.
18097 2009-06-28  Juri Linkov  <juri@jurta.org>
18099         * help-fns.el (describe-function-1): Correctly locate adviced
18100         functions in hyperlink (Bug#2438).
18102 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
18104         * files.el (trash-directory): Change default to nil.
18105         (move-file-to-trash): If trash-directory is nil and
18106         system-move-file-to-trash is unbound, perform freedesktop-style
18107         trashing.
18109 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18111         * files.el (move-file-to-trash): Add freedesktop trash
18112         support (Bug#973).
18114 2009-06-28  Glenn Morris  <rgm@gnu.org>
18116         * autorevert.el (global-auto-revert-non-file-buffers)
18117         (global-auto-revert-mode): Doc fixes.
18119 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
18121         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18123 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
18125         * faces.el (x-handle-named-frame-geometry): Ensure that we have
18126         opened an X connection before calling x-get-resource (Bug#3194).
18128         * play/doctor.el: Remove reference to obsolete website.
18129         (make-doctor-variables): Correct grammar mistake (Bug#2633).
18131 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
18133         Remove find-file-not-found-hook VC method.  (Bug#2757)
18134         * vc-hooks.el (vc-file-not-found-hook)
18135         (vc-default-find-file-not-found-hook): Remove functions.
18136         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18137         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18138         * vc.el:
18139         * vc-hg.el:
18140         * vc-git.el: Do not mention find-file-not-found-hook VC method.
18142 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
18144         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18145         compatibility function for `looking-back'.
18147         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18148         Use `ispell-looking-back'.
18150 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
18152         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18153         rather than `filename'.
18155 2009-06-23  Miles Bader  <miles@gnu.org>
18157         * face-remap.el (text-scale-set): New function.
18159 2009-06-23  Glenn Morris  <rgm@gnu.org>
18161         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18163         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18165         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18167         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18169         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18170         Simplify Persian conditionals.
18172         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18173         variable `filename'.
18175         * comint.el (comint-insert-input): Doc fix.
18177         * Makefile.in (ELCFILES): Fix typo in previous change.
18179 2009-06-23  Miles Bader  <miles@gnu.org>
18181         * cus-start.el: Add entry for `recenter-redisplay'.
18183 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18185         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18186         Add an optional argument for the backend, use it instead of
18187         calling vc-backend.
18188         (vc-mode-line): Add an optional argument for the backend.
18189         Pass the backend to vc-state and vc-working-revision.  Move code for
18190         special handling for vc-state being a buffer to ...
18192         * vc-rcs.el (vc-rcs-find-file-hook):
18193         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
18195         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18196         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18197         vc-stay-local-p and vc-mode-line calls.
18199         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18200         (vc-cvs-diff, vc-cvs-annotate-command)
18201         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18202         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18203         vc-mode-line calls.
18205         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18206         direct comparison.
18207         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18208         backend when calling vc-mode-line.
18209         (vc-register): Do not create a closure for calling the vc register
18210         function, call it directly.
18212 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18214         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18215         to make it obvious item can be clicked.
18217         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18219 2009-06-23  Kenichi Handa  <handa@m17n.org>
18221         * language/korea-util.el (korean-key-bindings): Change the binding
18222         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
18223         same command.
18225 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
18227         Sync with Tramp 2.1.16.
18229         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18231         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
18232         when a loading of a package fails.  Completion function for rsync
18233         is `tramp-completion-function-alist-ssh'.
18234         (all): Replace all calls of `split-string' and
18235         `tramp-split-string' by `tramp-compat-split-string'.
18236         (tramp-default-method): Use `tramp-compat-process-running-p'.
18237         (tramp-default-proxies-alist): Allow also Lisp forms.
18238         (tramp-remote-path): Add choice "Private Directories".
18239         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18240         (tramp-domain-regexp): Allow also "-", "_" and ".".
18241         (tramp-end-of-output): Remove newlines, and add "$" at the end.
18242         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18243         (tramp-debug-message): Insert header line in debug buffer.
18244         (tramp-handle-directory-files-and-attributes-with-stat):
18245         Care about filenames with spaces, or starting with "-".
18246         (tramp-handle-dired-uncache): New defun.
18247         (tramp-handle-insert-directory): Don't flush the directory from
18248         cache, this is handled by `dired-uncache' now.
18249         (tramp-handle-insert-file-contents): Improve error handling.
18250         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18251         Quote `tramp-end-of-output'.
18252         (tramp-action-password): Improve trace message.
18253         (tramp-check-for-regexp): Both echoes must be present, before removing.
18254         (tramp-open-connection-setup-interactive-shell): Trace coding system.
18255         (tramp-compute-multi-hops): Eval cons cells of
18256         `tramp-default-proxies-alist'.
18257         (tramp-maybe-open-connection): Use the same command pattern for
18258         first hop and further hops.
18259         (tramp-wait-for-output): Remove handling of newlines.
18260         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18261         (tramp-split-string): Remove function.  It is handled in
18262         tramp-compat now.
18264         * net/tramp-cmds.el (tramp-bug):
18265         Recommend `tramp-cleanup-all-connections' in the bug mail.
18267         * net/tramp-compat.el (tramp-compat-split-string)
18268         (tramp-compat-process-running-p): New defuns.
18270         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18271         for `dired-uncache'.
18273         * net/tramp-gvfs.el: New package.
18275         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18276         Add handler for `dired-uncache'.
18277         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18279         * net/trampver.el: Update release number.  Make version check fit
18280         for SXEmacs 22.
18282 2009-06-22  Jim Meyering  <meyering@redhat.com>
18284         Automatically handle .xz suffix (XZ-compressed files), too.
18285         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18286         XZ is the successor to LZMA: <http://tukaani.org/xz/>
18288 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
18289             Nick Roberts  <nickrob@snap.net.nz>
18291         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18292         repository (http://sphinx.net.ru/hg/gdb-mi/).
18294 2009-06-22  Glenn Morris  <rgm@gnu.org>
18296         * files.el (dir-locals-collect-mode-variables): Allow for any number of
18297         `mode' and `eval' entries.  (Bug#3430)
18299         * Makefile.in (ELCFILES): Add fadr.elc.
18301         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18302         differing behavior of \n and ^ in strings.  (Bug#3385)
18304         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18306         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18307         property.
18308         (lisp-indent-function): Make it a defcustom.
18310 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
18312         * progmodes/gdb-ui.el: Replace with ...
18313         * progmodes/gdb-mi.el: ... this file.
18314         * progmodes/gud.el: Modify for gdb-mi.el.
18316 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
18318         * fadr.el: New file.
18320 See ChangeLog.14 for earlier changes.
18322 ;; Local Variables:
18323 ;; coding: utf-8
18324 ;; End:
18326   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
18328   This file is part of GNU Emacs.
18330   GNU Emacs is free software: you can redistribute it and/or modify
18331   it under the terms of the GNU General Public License as published by
18332   the Free Software Foundation, either version 3 of the License, or
18333   (at your option) any later version.
18335   GNU Emacs is distributed in the hope that it will be useful,
18336   but WITHOUT ANY WARRANTY; without even the implied warranty of
18337   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18338   GNU General Public License for more details.
18340   You should have received a copy of the GNU General Public License
18341   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.